/* =========================================================
   Mustafa Anis website: styles
   Change colors and fonts here, in :root
   ========================================================= */
:root {
  --white: #ffffff;
  --ink: #0e1a15;          /* main text */
  --ink-2: #2b3a33;
  --muted: #5e6b65;        /* secondary text */
  --line: #e6ebe8;         /* borders */
  --soft: #f4f7f5;         /* light panels */
  --green: #1c6b4f;        /* brand accent */
  --amber: #b7791f;        /* Learn to Read Books */
  --blue: #2f5bea;         /* Learn Digital Marketing */
  --coral: #d9512c;        /* Learn E-commerce */
  --accent: var(--green);

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1200px;
  --radius: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}
body[data-accent="amber"] { --accent: var(--amber); }
body[data-accent="blue"]  { --accent: var(--blue); }
body[data-accent="coral"] { --accent: var(--coral); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, canvas, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ink); color: var(--white); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 560px) { .wrap { padding-inline: 18px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.eyebrow.no-rule::before { display: none; }

.serif { font-family: var(--serif); }
em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15px/1 var(--sans); letter-spacing: -.005em;
  padding: 15px 22px; border-radius: 999px; border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  will-change: transform;
}
.btn:hover { --bg: var(--accent); }
.btn-dark { --bg: var(--ink); --fg: var(--white); }
.btn-accent { --bg: var(--accent); --fg: var(--white); }
.btn-accent:hover { --bg: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); background: transparent; }
.btn-lg { padding: 19px 28px; font-size: 16px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent); }

/* ---------- Page curtain (transition) ---------- */
.curtain { display: none; }
.js .curtain {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 300; background: var(--ink); color: var(--white);
  transform: translateY(0); transition: transform .8s var(--ease);
  pointer-events: none;
}
.curtain span { font-family: var(--serif); font-size: clamp(32px, 6vw, 64px); opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .6s var(--ease); }
.js .curtain.show-name span { opacity: 1; transform: none; }
.js.loaded .curtain { transform: translateY(-100%); }
.js .curtain.leave { transform: translateY(0) !important; transition-duration: .55s; }
.js .curtain.leave-start { transform: translateY(100%) !important; transition: none !important; }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, transform .5s var(--ease);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.hide { transform: translateY(-100%); }
.bar { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; transition: transform .6s var(--ease), background .3s; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); background: var(--accent); }
.brand-name { font-family: var(--serif); font-size: 26px; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .has-menu > a { position: relative; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 10px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; transition: background .2s; }
.nav > a:hover, .has-menu > a:hover { background: var(--soft); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s; }
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 320px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 60px -20px rgba(14,26,21,.25);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-menu:hover .caret { transform: rotate(225deg) translateY(-2px); }
.menu a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.menu a:hover { background: var(--soft); }
.menu b { display: block; font-size: 15px; }
.menu small { color: var(--muted); font-size: 13px; }
.menu .menu-all { font-weight: 700; font-size: 14px; color: var(--green); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; }
.nav-cta { padding: 12px 18px; font-size: 14px; }

.cta-short { display: none; }

/* ---------- Mobile: plain headings row (no drawer) ---------- */
.mobile-nav { display: none; }
.mobile-nav nav {
  display: flex; align-items: center; gap: 22px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-block: 11px 10px;
}
.mobile-nav nav::-webkit-scrollbar { display: none; }
.mobile-nav a {
  flex: 0 0 auto; text-decoration: none; white-space: nowrap;
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--muted);
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.mobile-nav a:hover { color: var(--ink); }
.mobile-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.mobile-nav nav.is-scrollable { -webkit-mask-image: linear-gradient(to right, #000 86%, transparent 100%); mask-image: linear-gradient(to right, #000 86%, transparent 100%); }

@media (max-width: 960px) {
  .nav { display: none; }
  .mobile-nav { display: block; border-top: 1px solid var(--line); }
  :root { --header-h: 64px; }
  .bar { gap: 14px; }
  .nav-cta { padding: 10px 15px; font-size: 13px; }
}
@media (max-width: 560px) {
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .mobile-nav nav { gap: 18px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 16px; }
  .brand-name { font-size: 16px; }
}
@media (max-width: 380px) {
  .brand-name { display: none; }
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }

/* Split headline: each line rises into place */
.split .ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .ln > span { display: inline-block; }
.js .split .ln > span { transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * .06s + .2s); }
.js.loaded .split .ln > span { transform: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section.tight { padding-block: clamp(56px, 7vw, 88px); }
.section.soft { background: var(--soft); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2, .h2 { font-family: var(--serif); font-size: clamp(40px, 5.6vw, 72px); line-height: 1; letter-spacing: -.02em; margin-top: 14px; }
.section-head p { color: var(--muted); max-width: 46ch; font-size: 18px; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Home hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-family: var(--serif); font-size: clamp(54px, 8.6vw, 124px); line-height: .92; letter-spacing: -.03em; margin-top: 22px; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 48ch; margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-visual { position: relative; aspect-ratio: 1 / 1.02; max-width: 100%; border-radius: 28px; background: var(--white); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(14,26,21,.25); }
.hero-visual canvas { width: 100%; height: 100%; }
.float-card {
  position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 16px 40px -16px rgba(14,26,21,.25); font-size: 13px; display: flex; gap: 10px; align-items: center;
  animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 15px; }
.float-card small { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.float-card .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--white); font-weight: 800; font-size: 14px; }
.fc-1 { top: 20%; left: 6%; }
.fc-2 { bottom: 8%; right: 6%; animation-delay: -3s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { aspect-ratio: 4 / 3; }
}

.trust { border-block: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; padding-block: 28px; }
.stat { display: flex; flex-direction: column; }
.stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.4vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- Program cards ---------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.program {
  --c: var(--green);
  position: relative; display: flex; flex-direction: column; min-height: 460px; padding: 28px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), border-color .3s, box-shadow .6s var(--ease);
}
.program::before { content: ""; position: absolute; inset: 0; background: var(--c); transform: translateY(101%); transition: transform .7s var(--ease); z-index: -1; }
.program:hover { transform: translateY(-6px); border-color: var(--c); box-shadow: 0 30px 60px -30px rgba(14,26,21,.35); }
.program:hover::before { transform: translateY(0); }
.program:hover, .program:hover .program-meta, .program:hover p { color: var(--white); }
.program.amber { --c: var(--amber); } .program.blue { --c: var(--blue); } .program.coral { --c: var(--coral); }
.program-art { height: 170px; margin: -8px -8px 22px; border-radius: 14px; background: var(--soft); position: relative; overflow: hidden; transition: background .5s; }
.program:hover .program-art { background: rgba(255,255,255,.12); }
.program-art canvas { width: 100%; height: 100%; }
.program-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; transition: color .3s; }
.program h3 { font-family: var(--serif); font-size: 38px; line-height: 1; margin-top: 10px; }
.program p { color: var(--muted); margin-top: 12px; font-size: 16px; transition: color .3s; }
.program .go { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.circle-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: transform .6s var(--ease), background .3s, color .3s; }
.program:hover .circle-arrow { transform: rotate(-45deg); background: var(--white); color: var(--c); border-color: var(--white); }
@media (max-width: 960px) { .programs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .programs { grid-template-columns: 1fr; } .program { min-height: 0; } }

/* ---------- Sticky scroll steps ---------- */
.sticky-steps { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
.sticky-steps .pin { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.steps { display: grid; gap: 16px; }
.step { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); transition: border-color .4s, box-shadow .5s var(--ease), opacity .4s; opacity: .45; }
.no-js .step, .step.active { opacity: 1; border-color: var(--ink); box-shadow: 0 24px 50px -30px rgba(14,26,21,.35); }
.step-num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.step h3 { font-family: var(--serif); font-size: 34px; line-height: 1.05; margin-top: 8px; }
.step p { color: var(--muted); margin-top: 10px; }
.pin-count { font-family: var(--serif); font-size: clamp(120px, 16vw, 220px); line-height: .8; color: var(--accent); margin-top: 28px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .sticky-steps { grid-template-columns: 1fr; gap: 32px; } .sticky-steps .pin { position: static; } .pin-count { display: none; } .step { opacity: 1; } }

/* ---------- Quote ---------- */
.big-quote { font-family: var(--serif); font-size: clamp(34px, 5vw, 64px); line-height: 1.08; letter-spacing: -.015em; max-width: 20ch; }
.big-quote .w { opacity: .15; transition: opacity .3s; }
.big-quote .w.on { opacity: 1; }
.quote-by { margin-top: 28px; color: var(--muted); font-size: 15px; }

/* ---------- Testimonials ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 20px; background: var(--white); }
.testi p { font-size: 17px; }
.testi footer { margin-top: auto; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.testi footer small { display: block; color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--ink-2); border: 1px solid var(--line); }
.placeholder-note { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 16px; }
@media (max-width: 900px) { .testis { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--white); overflow: hidden; padding-top: clamp(72px, 10vw, 120px); }
.cta-band .eyebrow { color: rgba(255,255,255,.6); }
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-title { font-family: var(--serif); font-size: clamp(44px, 7vw, 96px); line-height: .98; letter-spacing: -.025em; margin-top: 18px; }
.cta-band em { color: #8fd3b4; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.cta-band .btn-dark { --bg: var(--white); --fg: var(--ink); }
.cta-band .btn-dark:hover { --bg: #8fd3b4; }
.cta-band .btn-line { color: var(--white); border-color: rgba(255,255,255,.3); }
.cta-band .btn-line:hover { border-color: var(--white); }
.marquee { margin-top: clamp(64px, 9vw, 110px); border-top: 1px solid rgba(255,255,255,.12); padding-block: 24px; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); color: rgba(255,255,255,.4); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "✦"; font-size: .5em; color: #8fd3b4; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(52px, 8vw, 112px); line-height: .94; letter-spacing: -.03em; margin-top: 20px; max-width: 14ch; }
.page-hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 56ch; margin-top: 24px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Course pages ---------- */
.course-hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.course-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.course-hero-grid > * { min-width: 0; }
.course-hero h1 { font-family: var(--serif); font-size: clamp(52px, 7.6vw, 104px); line-height: .94; letter-spacing: -.03em; margin-top: 20px; }
.course-hero .lede { color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); margin-top: 22px; max-width: 50ch; }
.course-visual { aspect-ratio: 1 / .9; max-width: 100%; border-radius: 28px; background: var(--soft); overflow: hidden; position: relative; }
.course-visual canvas { width: 100%; height: 100%; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, white); border: 1px solid color-mix(in srgb, var(--accent) 25%, white); padding: 6px 12px; border-radius: 999px; letter-spacing: .04em; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
@media (max-width: 900px) { .course-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .course-visual { aspect-ratio: 4 / 3; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.facts div { padding: 22px 24px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; margin-top: 4px; }
@media (max-width: 760px) { .facts b { font-size: 24px; } .facts div { padding: 18px; } .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.outcome { background: var(--white); padding: 32px 28px; transition: background .4s; }
.outcome:hover { background: color-mix(in srgb, var(--accent) 5%, white); }
.outcome .ico { width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent); display: grid; place-items: center; }
.outcome .ico svg { width: 22px; height: 22px; }
.outcome h3 { font-size: 20px; font-weight: 700; margin-top: 20px; letter-spacing: -.01em; }
.outcome p { color: var(--muted); margin-top: 8px; font-size: 16px; }
@media (max-width: 900px) { .outcomes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .outcomes { grid-template-columns: 1fr; } }

/* Curriculum accordion */
.modules { border-top: 1px solid var(--line); }
.module { border-bottom: 1px solid var(--line); }
.module summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 80px 1fr auto; gap: 20px; align-items: center; padding-block: 26px; }
.module summary::-webkit-details-marker { display: none; }
.module .mnum { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.module .mtitle { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.1; transition: transform .5s var(--ease); }
.module summary:hover .mtitle { transform: translateX(8px); }
.module .plus { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .5s var(--ease), background .3s; }
.module .plus::before, .module .plus::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; background: var(--ink); }
.module .plus::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.module[open] .plus { transform: rotate(180deg); background: var(--soft); }
.module[open] .plus::after { transform: rotate(0); }
.module-body { padding: 0 0 28px 100px; color: var(--muted); display: grid; gap: 10px; max-width: 760px; overflow: hidden; }
.module-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.module-body li::marker { color: var(--accent); }
.module small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .module summary { grid-template-columns: 44px 1fr auto; gap: 12px; } .module-body { padding-left: 56px; } }

.for-whom { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.list-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.list-card h3 { font-family: var(--serif); font-size: 32px; }
.list-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.list-card li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.list-card li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.list-card.no li::before { content: "–"; color: var(--muted); }
@media (max-width: 760px) { .for-whom { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 920px; margin-inline: auto; }
.plan { border: 1px solid var(--line); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 18px; background: var(--white); position: relative; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 30px 70px -40px color-mix(in srgb, var(--accent) 60%, transparent); }
.plan .badge { position: absolute; top: -13px; left: 32px; background: var(--accent); color: var(--white); font-family: var(--mono); font-size: 11px; padding: 5px 10px; border-radius: 999px; letter-spacing: .06em; }
.plan h3 { font-size: 20px; font-weight: 700; }
.price { font-family: var(--serif); font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--sans); font-size: 15px; color: var(--muted); margin-left: 6px; }
.price s { font-family: var(--sans); font-size: 16px; color: var(--muted); margin-left: 8px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 16px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-block: 22px; font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 28px; line-height: 1; transition: transform .4s var(--ease); color: var(--accent); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 68ch; }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 28px; background: var(--soft); border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }
.portrait .initials { font-family: var(--serif); font-size: clamp(120px, 16vw, 200px); line-height: 1; color: var(--green); }
.portrait small { position: absolute; left: 18px; bottom: 16px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; position: absolute; inset: 0; }
.prose p { font-size: 19px; line-height: 1.65; max-width: 62ch; }
.prose p + p { margin-top: 20px; }
.prose .lead { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.2; }
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; gap: 36px; } .portrait { aspect-ratio: 4 / 3; } }

.timeline { position: relative; display: grid; gap: 0; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline .fill { position: absolute; left: 8px; top: 6px; width: 2px; height: 0; background: var(--accent); }
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item::before { content: ""; position: absolute; left: -38px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--accent); }
.tl-item small { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .06em; }
.tl-item h3 { font-family: var(--serif); font-size: 32px; line-height: 1.1; margin-top: 4px; }
.tl-item p { color: var(--muted); margin-top: 6px; max-width: 60ch; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 32px; border-radius: var(--radius); background: var(--soft); }
.value h3 { font-family: var(--serif); font-size: 32px; }
.value p { color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- Booking ---------- */
.book-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.book-side { position: sticky; top: calc(var(--header-h) + 32px); }
.book-side h1 { font-family: var(--serif); font-size: clamp(48px, 6.4vw, 88px); line-height: .95; letter-spacing: -.03em; margin-top: 18px; }
.book-side .lede { color: var(--muted); margin-top: 20px; font-size: 18px; }
.expect { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.expect li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.expect .n { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; }
.expect b { display: block; }
.expect span { color: var(--muted); font-size: 15px; }
.form-card { border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 40px); background: var(--white); box-shadow: 0 40px 80px -50px rgba(14,26,21,.3); }
.form-card h2 { font-family: var(--serif); font-size: 34px; }
.form-step { display: grid; gap: 18px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-step:first-of-type { border-top: 0; padding-top: 0; }
.form-step > p { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; display: block; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; cursor: pointer; transition: border-color .2s, background .2s, transform .3s var(--ease); }
.choice:hover { border-color: var(--ink-2); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b { display: block; font-size: 16px; }
.choice small { color: var(--muted); font-size: 13px; }
.choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, white); }
.choice:has(input:checked)::after { content: "✓"; position: absolute; top: 14px; right: 16px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: 12px; display: grid; place-items: center; font-weight: 800; }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; }
.pill input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%; font: 16px var(--sans); color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.field textarea { min-height: 130px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.form-error { color: #b3261e; font-size: 14px; font-weight: 600; }
.form-success { text-align: center; padding: 40px 10px; display: grid; gap: 16px; justify-items: center; }
.form-success .check { width: 72px; height: 72px; }
.form-success .check circle { stroke: var(--accent); stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw .8s var(--ease) forwards; }
.form-success .check path { stroke: var(--accent); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h2 { font-family: var(--serif); font-size: 44px; }
.form-success p { color: var(--muted); max-width: 44ch; }
.alt-send { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (max-width: 900px) { .book-layout { grid-template-columns: 1fr; gap: 36px; } .book-side { position: static; } }
@media (max-width: 560px) { .choices, .row2 { grid-template-columns: 1fr; } }

/* ---------- Events ---------- */
.event-list { border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 110px 1fr auto; gap: 32px; align-items: center; padding-block: 30px; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.event:hover { padding-inline: 12px; }
.edate { text-align: center; }
.edate b { display: block; font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1; }
.edate small { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.event h3 { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.05; }
.event p { color: var(--muted); margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.chip.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
@media (max-width: 720px) { .event { grid-template-columns: 70px 1fr; gap: 18px; } .event .btn { grid-column: 1 / -1; } .edate b { font-size: 40px; } }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.nf h1 { font-family: var(--serif); font-size: clamp(120px, 22vw, 260px); line-height: .8; color: var(--accent); }
.nf p { color: var(--muted); margin-block: 20px 32px; font-size: 19px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid a { display: block; text-decoration: none; color: var(--muted); padding-block: 5px; transition: color .2s; font-size: 15px; }
.footer-grid a:hover { color: var(--ink); }
.footer-sig { font-family: var(--serif); font-size: 44px; line-height: 1; }
.footer-brand > p:not(.footer-sig) { color: var(--muted); margin-top: 10px; font-size: 15px; }
.footer-h { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.newsletter { margin-top: 28px; display: grid; gap: 10px; max-width: 420px; }
.newsletter label { font-weight: 700; font-size: 15px; }
.nl-row { display: flex; gap: 8px; }
.nl-row input { flex: 1; min-width: 0; font: 15px var(--sans); border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 18px; }
.nl-row input:focus { outline: none; border-color: var(--accent); }
.nl-row .btn { padding: 12px 18px; font-size: 14px; }
.nl-msg { font-size: 14px; color: var(--green); min-height: 1.2em; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 28px 36px; margin-top: 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.to-top { background: none; border: 0; font: inherit; color: var(--ink); cursor: pointer; font-weight: 700; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .nl-row { flex-direction: column; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .js .split .ln > span { opacity: 1; transform: none; }
}
