/* Mzyana — "Nuit d'émeraude"
   Dark emerald canvas, cream light sections, one luminous argan-gold signal.
   One typeface weight; hierarchy from size and tracking only. */

:root {
  --ink: #0F1E1B;          /* dark canvas — emerald-black, green undertone */
  --ink-2: #142622;        /* raised dark surface */
  --void: #050908;         /* footer only */
  --bone: #FBF6EE;         /* light canvas — Mzyana cream */
  --paper: #FFFFFF;
  --tissue: #F1E9DC;
  --pearl: #F6F1E9;        /* text on dark */
  --sage: #8C9C96;         /* secondary text on dark */
  --graphite: #55625E;     /* secondary text on light */
  --line-dark: #2A3B37;    /* hairline on dark */
  --line-light: #DED6C7;   /* hairline on light */
  --gold: #E9C97F;         /* the signal — micro-surfaces only */
  --emerald: #0F473C;

  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: ui-serif, 'New York', 'Iowan Old Style', Palatino, Georgia, serif;

  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1320px;
  --frame: clamp(6px, 0.8vw, 12px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--pearl);
  font: 400 1.125rem/1.35 var(--sans);
  letter-spacing: -0.001em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── Type ───────── */
.mono { font: 400 0.8125rem/1.23 var(--mono); letter-spacing: -0.02em; text-transform: uppercase; }
.display {
  font-weight: 400; margin: 0;
  font-size: clamp(3.1rem, min(10.2vw, 16.5vh), 9.875rem); /* → 158px, but never taller than the screen allows */
  line-height: 0.98; letter-spacing: -0.035em;
}
.h-xl { font-weight: 400; margin: 0; font-size: clamp(2.6rem, 6.4vw, 6.9rem); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.h-lg { font-weight: 400; margin: 0; font-size: clamp(2.1rem, 4.4vw, 4.7rem); line-height: 1.04; letter-spacing: -0.024em; text-wrap: balance; }
.h-md { font-weight: 400; margin: 0; font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.12; letter-spacing: -0.012em; text-wrap: balance; }
.h-sm { font-weight: 400; margin: 0; font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.2; letter-spacing: -0.008em; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.3; letter-spacing: -0.006em; margin: 0; text-wrap: pretty; }
p { margin: 0; text-wrap: pretty; }

/* ───────── Small components ───────── */
.tag { display: inline-flex; align-items: center; gap: 10px; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.tag.boxed { padding: 7px 10px; border-radius: 6px; background: rgba(15, 30, 27, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.counter { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid currentColor; }
.counter .dim { opacity: 0.45; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 18px; border-radius: 8px; border: 0;
  font: 400 0.8125rem/1 var(--mono); letter-spacing: -0.02em; text-transform: uppercase;
  transition: transform 120ms ease-out, background-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--ink); color: var(--pearl); }
.btn-ink:hover { background: #1b302b; }
.btn-light { background: var(--pearl); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.arrow {
  width: 44px; height: 44px; flex: none; border-radius: 8px; border: 0; display: grid; place-items: center;
  background: var(--gold); color: var(--ink);
  transition: transform 160ms var(--ease-out);
}
.arrow svg { width: 18px; height: 18px; transition: transform 300ms var(--ease-out); }
.cta-pair { display: inline-flex; gap: 6px; align-items: center; }
.cta-pair:hover .arrow svg, .arrow:hover svg { transform: translateX(3px); }
.cta-pair:active .arrow, .cta-pair:active .btn { transform: scale(0.97); }

/* ───────── Navigation — floating glass bar ───────── */
.nav { position: fixed; z-index: 60; top: calc(var(--frame) + 8px); left: calc(var(--frame) + 8px); right: calc(var(--frame) + 8px); }
.nav-bar {
  display: flex; align-items: center; gap: 20px; height: 58px; padding: 0 8px 0 18px;
  border-radius: 12px; color: var(--ink);
  background: rgba(251, 246, 238, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1rem/1 var(--serif); letter-spacing: 0.22em; }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 9px 12px; border-radius: 8px; color: #33433F; transition: background-color 160ms ease, color 160ms ease; }
.nav-links a:hover { background: rgba(15, 30, 27, 0.07); color: var(--ink); }
.nav-links a.active { background: var(--ink); color: var(--pearl); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; padding: 3px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(15, 30, 27, 0.18); }
.lang button { border: 0; background: none; padding: 7px 9px; border-radius: 6px; color: #5d6b67; }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
@media (max-width: 960px) { .nav-links { display: none; } .nav-actions { margin-left: auto; } }
@media (max-width: 480px) { .nav-bar .btn { display: none; } .nav-bar { padding-left: 14px; } }

/* ───────── Cinema: hero + pinned story over one looping video ───────── */
.cinema { position: relative; }
.cinema-bg { position: sticky; top: 0; height: 100vh; height: 100svh; padding: var(--frame); z-index: 0; }
.frame { position: relative; height: 100%; border-radius: clamp(14px, 1.6vw, 24px); overflow: hidden; background: #0a1613; isolation: isolate; }
.frame .media { position: absolute; inset: -3%; will-change: transform; }
.frame video, .frame .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame video { opacity: 0; transition: opacity 900ms ease; }
.frame video.ready { opacity: 1; }
.frame .shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 22, 19, 0.35) 0%, rgba(10, 22, 19, 0) 30%, rgba(10, 22, 19, 0) 55%, rgba(10, 22, 19, 0.55) 100%); }
.frame .dim { position: absolute; inset: 0; background: #0a1613; opacity: 0; pointer-events: none; }
.frame .grain { position: absolute; inset: -50%; pointer-events: none; opacity: 0.09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.cinema-content { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; }

.hero { position: relative; height: 100vh; height: 100svh; padding: var(--frame); }
.hero-inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(100px, 15vh, 150px) calc(var(--gutter) + 8px) clamp(28px, 5vh, 52px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero h1 .line > span { display: inline-block; will-change: transform; }
.hero-foot { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .hero-foot { grid-template-columns: 1fr auto; } }
.hero-foot .lede { max-width: 30ch; color: var(--pearl); }
.hero-foot .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-meta { display: grid; gap: 8px; justify-items: end; color: rgba(246, 241, 233, 0.72); text-align: right; }
@media (max-width: 899px) { .hero-meta { justify-items: start; text-align: left; } }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { display: block; width: 1px; height: 28px; background: rgba(246, 241, 233, 0.35); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease-out) infinite; }
@keyframes cue { to { top: 110%; } }

.story { position: relative; height: 320vh; }
.story-panel { position: sticky; top: 0; height: 100vh; height: 100svh; padding: var(--frame); }
.story-inner { position: relative; height: 100%; padding: clamp(96px, 14vh, 130px) calc(var(--gutter) + 8px) 48px; display: grid; grid-template-rows: auto auto 1fr; }
.story-top { display: flex; align-items: center; gap: 14px; }
.progress { position: relative; height: 1px; margin: 22px calc(-1 * (var(--gutter) + 8px)) 26px; background: rgba(246, 241, 233, 0.16); }
.progress i { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--pearl); }
.statements { position: relative; }
.statement {
  position: absolute; left: 0; top: 0; max-width: 23ch; margin: 0;
  font-weight: 400; font-size: clamp(1.9rem, 4.3vw, 3.75rem); line-height: 1.1; letter-spacing: -0.018em;
  opacity: 0; transform: translateY(24px); transition: opacity 200ms ease, transform 0s linear 200ms;
}
/* The outgoing line clears first, then the next one rises in — never two at once. */
.statement.on { opacity: 1; transform: none; transition: opacity 600ms ease 220ms, transform 900ms var(--ease-out) 220ms; }
.statement .w { opacity: 0.2; transition: opacity 350ms ease; }
.statement .w.lit { opacity: 1; }

/* ───────── Light band ───────── */
.light { background: var(--bone); color: var(--ink); position: relative; z-index: 2; }
.light .muted { color: var(--graphite); }
.section { padding-block: clamp(96px, 12vw, 168px); }
.head { display: grid; gap: 28px; margin-bottom: clamp(48px, 6vw, 88px); }
@media (min-width: 960px) { .head.split { grid-template-columns: 1fr 1fr; align-items: end; } }
.head .lede { max-width: 36ch; }

.rituals { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .rituals { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .rituals { grid-template-columns: repeat(3, 1fr); } }
.ritual { display: flex; flex-direction: column; padding: 10px 10px 22px; border-radius: 20px; background: var(--paper); }
.ritual .img { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: #0f1e1b; }
.ritual .img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease-out); }
.ritual:hover .img img { transform: scale(1.04); }
.ritual .body { padding: 20px 10px 0; display: grid; gap: 10px; flex: 1; }
.ritual .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.ritual p { color: var(--graphite); font-size: 1rem; line-height: 1.35; }
.ritual .num { color: var(--graphite); }

.marquee { overflow: hidden; padding: clamp(48px, 7vw, 100px) 0 clamp(80px, 10vw, 140px); border-top: 1px solid var(--line-light); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span { font-size: clamp(4rem, 13vw, 13.5rem); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; padding-right: 0.35em; }
.marquee-track span em { font-style: normal; color: var(--gold); -webkit-text-stroke: 0; }

/* ───────── App section (dark) ───────── */
.app { position: relative; z-index: 2; background: var(--ink); }
.app-grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .app-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
.phone-col { position: relative; }
@media (min-width: 960px) { .phone-sticky { position: sticky; top: calc(50vh - 330px); } }
.phone {
  position: relative; width: min(320px, 82vw); aspect-ratio: 320 / 660; margin-inline: auto;
  border-radius: 54px; padding: 10px; background: #030605;
  box-shadow: inset 0 0 0 1.5px #2d3a37, 0 40px 120px -30px rgba(233, 201, 127, 0.18);
}
.phone::before { content: ""; position: absolute; z-index: 5; top: 20px; left: 50%; width: 30%; height: 26px; transform: translateX(-50%); border-radius: 99px; background: #000; }
.screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: #100E0C; color: #F6F1E9; font-size: 13px; line-height: 1.35; }
.scr { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity 180ms ease, transform 0s linear 180ms; padding: 56px 16px 20px; background: #100E0C; }
.scr.on { opacity: 1; transform: none; transition: opacity 500ms ease 160ms, transform 800ms var(--ease-out) 160ms; }
.scr .greet { font-size: 11.5px; color: #A8A096; }
.scr .title { font: 700 24px/1.08 var(--serif); letter-spacing: -0.02em; margin: 3px 0 12px; }
.scr .search { height: 36px; border-radius: 11px; background: rgba(246, 241, 233, 0.07); display: flex; align-items: center; padding: 0 12px; color: #A8A096; font-size: 12.5px; }
.scr .chips { display: flex; gap: 6px; margin: 12px 0; }
.scr .chip { height: 28px; padding: 0 11px; border-radius: 99px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px #2E2822; }
.scr .chip.on { background: #4FB39A; color: #0C1A16; box-shadow: none; }
.vcard { border-radius: 16px; overflow: hidden; background: #1A1714; margin-bottom: 10px; }
.vcard img { width: 100%; height: 108px; object-fit: cover; }
.vcard .b { padding: 9px 11px 11px; }
.vcard .n { display: flex; justify-content: space-between; font: 700 14.5px/1.2 var(--serif); }
.vcard .n span { font: 600 11.5px/1.2 var(--sans); color: #E3B96A; }
.vcard .m { font-size: 11px; color: #A8A096; margin-top: 2px; }
.vcard .p { font-size: 11.5px; font-weight: 600; color: #4FB39A; margin-top: 6px; }
.scr .hero-img { margin: -56px -16px 12px; height: 200px; position: relative; }
.scr .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.scr .hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, #100E0C); }
.svc { display: flex; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: 12px; background: #1A1714; margin-bottom: 6px; box-shadow: inset 0 0 0 1px #2E2822; }
.svc.on { box-shadow: inset 0 0 0 2px #4FB39A; }
.svc b { display: block; font-size: 12.5px; }
.svc small { color: #A8A096; font-size: 10.5px; }
.svc .pr { color: #4FB39A; font-weight: 700; font-size: 12px; white-space: nowrap; }
.mini-lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #A8A096; margin: 10px 0 6px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.slots span { height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: rgba(246, 241, 233, 0.06); }
.slots span.on { background: #4FB39A; color: #0C1A16; }
.slots span.off { opacity: 0.35; text-decoration: line-through; }
.done { display: grid; justify-items: center; text-align: center; padding-top: 70px; }
.done .ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #4FB39A; color: #0C1A16; }
.done .ok svg { width: 28px; height: 28px; }
.done h5 { font: 700 22px/1.1 var(--serif); margin: 14px 0 4px; }
.done p { color: #A8A096; font-size: 12px; max-width: 24ch; }
.recap { width: 100%; margin-top: 18px; border-radius: 14px; background: rgba(246, 241, 233, 0.05); text-align: left; }
.recap div { display: flex; justify-content: space-between; padding: 9px 12px; font-size: 11.5px; }
.recap div + div { border-top: 1px solid #2E2822; }
.recap span { color: #A8A096; }
.phone-cap { margin-top: 18px; text-align: center; color: var(--sage); }

.steps { display: grid; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 40px 0; border-top: 1px solid var(--line-dark); color: var(--sage); transition: color 500ms ease; }
.step:first-child { border-top: 0; }
.step.on { color: var(--pearl); }
.step .counter { color: var(--sage); align-self: flex-start; }
.step.on .counter { color: var(--gold); }
.step p { max-width: 38ch; font-size: 1.25rem; line-height: 1.35; color: var(--sage); }
@media (max-width: 959px) { .step { min-height: 0; padding: 36px 0; color: var(--pearl); } }

/* ───────── Partners ───────── */
.partner-card { display: grid; gap: 10px; padding: 10px; border-radius: 28px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-dark); }
@media (min-width: 960px) { .partner-card { grid-template-columns: 1.15fr 1fr; } }
.partner-card .img { border-radius: 20px; overflow: hidden; min-height: 320px; position: relative; }
.partner-card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.partner-card .body { padding: clamp(24px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 24px; }
.perks { list-style: none; margin: 8px 0 0; padding: 0; }
.perks li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-dark); color: rgba(246, 241, 233, 0.85); font-size: 1.0625rem; }
.perks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 9px; }

/* ───────── Waitlist ───────── */
.join-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .join-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.join-visual { margin-top: 40px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 11; background: #0f1e1b; }
.join-visual img { width: 100%; height: 100%; object-fit: cover; }
.form-card { padding: clamp(22px, 3vw, 40px); border-radius: 20px; background: var(--paper); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 10px; background: var(--tissue); }
.seg button { border: 0; background: none; height: 42px; border-radius: 7px; color: var(--graphite); transition: background-color 200ms ease, color 200ms ease; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--pearl); }
.field { margin-top: 18px; }
.field label { display: block; margin-bottom: 8px; color: var(--graphite); }
.field input { width: 100%; height: 56px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--bone); box-shadow: inset 0 0 0 1px var(--line-light); font-size: 1.125rem; color: var(--ink); transition: box-shadow 160ms ease; }
.field input::placeholder { color: #a39d92; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #AE4F30; }
.err { min-height: 1.4em; margin-top: 8px; font-size: 0.875rem; color: #AE4F30; }
.collapse { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 360ms var(--ease-out), opacity 240ms ease; }
.collapse > div { overflow: hidden; }
.collapse.open { grid-template-rows: 1fr; opacity: 1; }
.submit-row { display: flex; gap: 6px; margin-top: 8px; }
.submit-row .btn { flex: 1; height: 56px; }
.submit-row .arrow { width: 56px; height: 56px; }
.fine { margin-top: 16px; color: var(--graphite); font-size: 0.875rem; }
.success { display: none; padding: 28px 0 8px; }
.success.show { display: grid; gap: 14px; }
.success .ok { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.success .ok svg { width: 24px; height: 24px; }

/* FAQ */
.faq { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq { grid-template-columns: 1fr 1.4fr; } }
.faq details { border-top: 1px solid var(--line-light); }
.faq details:last-child { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -0.008em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 36px; height: 36px; flex: none; border-radius: 8px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-light); transition: background-color 200ms ease, transform 300ms var(--ease-out); }
.faq summary .pm svg { width: 14px; height: 14px; transition: transform 300ms var(--ease-out); }
.faq details[open] .pm { background: var(--gold); box-shadow: none; }
.faq details[open] .pm svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--graphite); max-width: 56ch; }

/* ───────── Footer ───────── */
.footer { position: relative; z-index: 2; background: var(--void); color: var(--pearl); padding: 72px 0 28px; overflow: hidden; }
.foot-top { display: grid; gap: 32px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-top nav { display: grid; gap: 12px; align-content: start; color: var(--sage); }
.foot-top nav a:hover { color: var(--pearl); }
.wordmark { display: flex; align-items: center; justify-content: space-between; gap: 0.18em; margin: 64px 0 28px; font: 700 clamp(3rem, 13.2vw, 14.5rem)/0.82 var(--serif); letter-spacing: 0.04em; color: var(--pearl); white-space: nowrap; }
.wordmark svg { width: 0.7em; height: 0.7em; flex: none; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 22px; border-top: 1px solid #1c2826; color: var(--sage); }

/* ───────── Motion states (only when JS + motion are available) ───────── */
.anim .rv { opacity: 0; transform: translateY(28px); }
.anim .rv.in { opacity: 1; transform: none; transition: opacity 900ms ease, transform 1100ms var(--ease-out); }
.anim .rv.in.d1 { transition-delay: 90ms; } .anim .rv.in.d2 { transition-delay: 180ms; } .anim .rv.in.d3 { transition-delay: 270ms; }
.anim .clip { clip-path: inset(100% 0 0 0 round 14px); }
.anim .clip.in { clip-path: inset(0 0 0 0 round 14px); transition: clip-path 1300ms var(--ease-out); }

/* Reduced motion & transparency */
@media (prefers-reduced-motion: reduce) {
  .frame .grain, .scroll-cue i::after { animation: none; }
  .statement { transition: opacity 300ms ease; transform: none; }
  .scr { transition: opacity 300ms ease; transform: none; }
  .ritual .img img { transform: none; transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-bar { background: var(--bone); backdrop-filter: none; }
  .tag.boxed { background: var(--ink); backdrop-filter: none; }
}
