/* ───────────────────────────────────────────────────────────
   NORVALE — style.css
   Palette sampled from the film's frames (see §03 on the page).
   Two layouts: [data-mode=scrub] pinned stage / [data-mode=video]
   flowing sections. Chrome inverts on .is-light (film.js).
   ─────────────────────────────────────────────────────────── */

:root {
  --abyss: #0b1d27;
  --night: #184c65;
  --deep: #10333f;
  --teal: #4b9e99;
  --teal-2: #7cc3bc;
  --paper: #d9c9ab;
  --cloud: #f3ebdd;
  --bark: #412e22;
  --gold: #e5bd89;
  --amber: #cca666;
  --dusk: #8f6d65;
  --sun: #fcecdd;

  --fg: #f6efe2;
  --fg-2: rgba(246,239,226,.68);
  --fg-3: rgba(246,239,226,.42);
  --line: rgba(246,239,226,.22);
  --ink: #10242c;

  --glass: rgba(8,28,36,.64);
  --glass-2: rgba(9,27,36,.76);
  --glass-line: rgba(246,239,226,.15);

  --serif: "Fraunces", "Newsreader", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.19,1,.22,1);
  --snap: cubic-bezier(.7,0,.2,1);
  --gut: clamp(16px, 3vw, 40px);
  --scroll-length: 1150vh;
  --p: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--abyss); color: var(--fg); font: 400 16px/1.55 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--sun); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; }
::selection { background: var(--gold); color: var(--ink); }

/* ── loader ─────────────────────────────────────────────── */
.loader { position: fixed; inset: 0; z-index: 250; background: var(--abyss); display: grid; place-content: center; justify-items: center; gap: 18px; transition: opacity .9s var(--ease), visibility .9s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__ring { position: relative; width: 104px; height: 104px; display: grid; place-items: center; }
.loader__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.loader__ring circle { fill: none; stroke-width: 1.6; stroke: rgba(246,239,226,.14); }
.loader__fill { stroke: var(--gold) !important; stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: 132; transition: stroke-dashoffset .3s linear; }
.loader__sun { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle, var(--sun) 30%, var(--gold) 70%); box-shadow: 0 0 40px 10px rgba(229,189,137,.35); animation: breathe 2.4s ease-in-out infinite; }
.loader__mark { font-family: var(--serif); font-size: 34px; letter-spacing: .24em; font-weight: 400; padding-left: .24em; }
.loader__meta { color: var(--fg-3); }
@keyframes breathe { 50% { transform: scale(.82); opacity: .7; } }

/* ── film ───────────────────────────────────────────────── */
.film { position: fixed; inset: 0; z-index: 0; background: var(--deep); overflow: hidden; }
.film canvas, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[data-mode="scrub"] .film video { display: none; }
[data-mode="video"] .film canvas { display: none; }
.film__veil { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: linear-gradient(180deg, rgba(9,27,36,.35), rgba(9,27,36,.2) 40%, rgba(9,27,36,.5)); }
[data-mode="video"] .film__veil { opacity: 1; }
.film__grain { position: absolute; inset: -50%; pointer-events: none; opacity: .07;
  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%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 -.3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(5) 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)} }

/* ── halo (mode switch): the sun blooms, a lens ring spins ─ */
.halo { position: fixed; inset: 0; z-index: 180; pointer-events: none; display: grid; place-items: center; overflow: hidden; }
.halo__sun { position: absolute; width: 190vmax; height: 190vmax; border-radius: 50%;
  background: radial-gradient(circle, #fffaf1 0%, var(--sun) 18%, var(--gold) 38%, rgba(229,189,137,.55) 55%, rgba(75,158,153,0) 70%);
  transform: scale(0); opacity: 0; transition: transform .55s var(--snap), opacity .55s; }
.halo__ring { position: absolute; width: min(70vmin, 560px); aspect-ratio: 1; transform: scale(.4) rotate(-90deg); opacity: 0; transition: transform .55s var(--ease), opacity .4s; }
.halo__ring circle { fill: none; stroke: var(--ink); stroke-width: .5; stroke-dasharray: 2 3; }
.halo__ring text { font-family: var(--mono); font-size: 7.4px; letter-spacing: .2em; fill: var(--ink); }
:root.is-switching .halo__sun { transform: scale(1); opacity: 1; transition-duration: .26s; }
:root.is-switching .halo__ring { transform: scale(1) rotate(0deg); opacity: 1; transition-duration: .3s; }

/* ── HUD ────────────────────────────────────────────────── */
.hud { position: fixed; inset: 0; z-index: 15; pointer-events: none; color: var(--fg); transition: opacity .5s var(--ease), color .35s; }
:root.is-light .hud { color: var(--ink); }
:root.is-page .hud { opacity: 0; }
.hud__br { position: absolute; width: 20px; height: 20px; border: 0 solid currentColor; opacity: .5; }
.hud__br--tl { top: 78px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.hud__br--tr { top: 78px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.hud__br--bl { bottom: 16px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.hud__br--br { bottom: 16px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.hud__side { position: absolute; top: 50%; display: flex; gap: 26px; white-space: nowrap; opacity: .72; font-size: 10px; }
.hud__side--l { left: 0; transform: translate(calc(-50% + 26px), -50%) rotate(-90deg) translateX(calc(var(--p) * -80px)); }
.hud__side--r { right: 0; transform: translate(calc(50% - 26px), -50%) rotate(90deg) translateX(calc(var(--p) * 80px)); }
.hud__side b { font-weight: 500; }
.hud__fig { position: absolute; right: 44px; top: 80px; display: flex; align-items: baseline; gap: 6px; }
.hud__fig b { font-family: var(--serif); font-size: 30px; font-weight: 300; letter-spacing: 0; line-height: 1; }

/* ── header ─────────────────────────────────────────────── */
.chrome { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 18px;
  padding: 16px var(--gut); color: var(--fg); transition: color .35s, background .5s; }
:root.is-light .chrome { color: var(--ink); }
:root.is-page .chrome { color: var(--fg); background: linear-gradient(180deg, rgba(9,27,36,.8), rgba(9,27,36,0)); }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.mark__glyph { width: 30px; height: 30px; }
.mark__glyph circle { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .3; }
.mark__glyph .mark__arc { opacity: 1; stroke: var(--gold); stroke-dasharray: 81.7; stroke-dashoffset: calc(81.7 * (1 - var(--p))); transform: rotate(-90deg); transform-origin: 16px 16px; stroke-linecap: round; }
:root.is-light .mark__glyph .mark__arc { stroke: #a66f2d; }
.mark__glyph path { fill: currentColor; }
.mark__txt { font-family: var(--serif); font-size: 19px; letter-spacing: .26em; font-weight: 500; }
.chrome__nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.chrome__nav a { text-decoration: none; position: relative; opacity: .86; }
.chrome__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.chrome__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* switch: a sun knob that crosses a sky track */
.switch { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: 99px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent);
  background: rgba(9,27,36,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: var(--mag, none); transition: background .3s; }
:root.is-light .switch { background: rgba(246,239,226,.45); }
.switch__txt { font-size: 13px; font-weight: 600; }
.switch__track { position: relative; width: 50px; height: 26px; border-radius: 99px; overflow: hidden;
  background: linear-gradient(90deg, var(--night), var(--teal)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); transition: background .5s; }
.switch__track::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b1d27, #1d3444); opacity: 0; transition: opacity .5s; }
.switch__knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; transform: translateX(24px); transition: transform .6s var(--snap);
  background: radial-gradient(circle at 40% 38%, #fff8ec, var(--gold) 70%); box-shadow: 0 0 14px 3px rgba(252,236,221,.55); }
.switch__knob i { position: absolute; inset: -5px; border-radius: 50%; border: 1px dashed rgba(252,236,221,.7); animation: spin 8s linear infinite; }
[aria-checked="false"] .switch__knob { transform: translateX(0); background: radial-gradient(circle at 60% 40%, #d7dde0, #8fa0a8 70%); box-shadow: none; }
[aria-checked="false"] .switch__track::before { opacity: 1; }
[aria-checked="false"] .switch__knob i { opacity: 0; }
.switch__roll, .pill__roll { position: relative; height: 1.2em; overflow: hidden; display: inline-flex; flex-direction: column; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; width: 3.2ch; line-height: 1.2; }
.switch__roll span, .pill__roll span { display: block; transition: transform .55s var(--snap); }
[aria-checked="false"] :is(.switch__roll, .pill__roll) span { transform: translateY(-100%); }
@keyframes spin { to { transform: rotate(360deg); } }

.burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 22px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.navPanel { position: fixed; inset: 0; z-index: 95; background: rgba(9,27,36,.94); display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 28px;
  clip-path: circle(0 at calc(100% - 36px) 36px); transition: clip-path .8s var(--snap); }
.navPanel.is-open { clip-path: circle(150% at calc(100% - 36px) 36px); }
.navPanel a { font-family: var(--serif); font-size: 40px; text-decoration: none; font-weight: 300; }

/* ── buttons ─────────────────────────────────────────────── */
.btn { --mag: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 99px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transform: var(--mag); transition: background .3s, color .3s, box-shadow .4s; position: relative; overflow: hidden; }
.btn--sm { padding: 10px 16px; font-size: 13px; }
.btn--wide { width: 100%; }
.btn--sun { background: linear-gradient(180deg, var(--sun), var(--gold)); color: var(--ink); box-shadow: 0 8px 30px -8px rgba(229,189,137,.6); }
.btn--sun:hover { box-shadow: 0 10px 44px -6px rgba(252,236,221,.85); }
.btn--sun::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%); transform: translateX(-110%); transition: transform .8s var(--ease); }
.btn--sun:hover::after { transform: translateX(110%); }
.btn--line { border: 1px solid var(--line); color: var(--fg); background: rgba(246,239,226,.04); }
.btn--line:hover { background: rgba(246,239,226,.12); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 99px; font-size: 13px; font-weight: 500; border: 1px solid var(--line); background: rgba(246,239,226,.05); transition: background .25s, color .25s, border-color .25s; cursor: pointer; }
.chip:hover { border-color: var(--fg-2); }
.chip.is-on, .chip[aria-pressed="true"], .chip:has(input:checked) { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip--line { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

/* ── dock: ring + chapter + pill ─────────────────────────── */
.dock { position: fixed; left: var(--gut); right: var(--gut); bottom: 26px; z-index: 90; display: flex; align-items: center; gap: 14px; pointer-events: none; }
.dock > * { pointer-events: auto; }
.ring { position: relative; width: 58px; height: 58px; flex: none; border-radius: 50%; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--glass-line); }
.ring svg { position: absolute; inset: 3px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 2.2; }
.ring__bg { stroke: rgba(246,239,226,.14); }
.ring__fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 169.6; stroke-dashoffset: calc(169.6 * (1 - var(--ring, 0))); }
.ring__n { position: absolute; inset: 0; display: grid; place-content: center; grid-auto-flow: column; align-items: baseline; font-family: var(--serif); font-size: 17px; font-weight: 400; }
.ring__n small { font-size: 10px; margin-left: 1px; opacity: .7; }
.dock__meta { display: flex; flex-direction: column; gap: 3px; padding: 8px 14px; border-radius: 14px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--glass-line); transition: opacity .5s; }
.dock__sub { color: var(--fg-3); font-size: 9.5px; }
.chapter { display: block; overflow: hidden; }
.chapter.is-roll { animation: roll .6s var(--ease); }
@keyframes roll { 0% { transform: translateY(100%); opacity: 0; } 100% { transform: none; opacity: 1; } }
:root.is-page .dock__meta { opacity: 0; pointer-events: none; }
.pill { margin-left: auto; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 99px; color: var(--fg);
  background: var(--glass-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-line); box-shadow: 0 16px 40px -18px rgba(0,0,0,.6); transform: var(--mag, none); }
.pill__sun { position: relative; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, #fff8ec 20%, var(--gold) 70%); box-shadow: 0 0 16px 4px rgba(229,189,137,.5); transition: background .5s, box-shadow .5s; }
.pill__sun::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(229,189,137,.6); animation: pulse 2.2s ease-out infinite; }
.pill[aria-checked="false"] .pill__sun { background: radial-gradient(circle at 60% 40%, #d7dde0, #6f8791 70%); box-shadow: none; }
.pill[aria-checked="false"] .pill__sun::after { animation: none; opacity: 0; }
.pill__txt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }
.pill__roll { color: var(--gold); font-weight: 500; }
@keyframes pulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

.rail { position: fixed; left: 0; right: 0; bottom: 0; height: 3px; z-index: 91; background: rgba(246,239,226,.1); }
.rail__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal), var(--gold), var(--sun)); transform-origin: 0 50%; transform: scaleX(0); }
.rail__ticks i { position: absolute; top: -3px; width: 1px; height: 9px; background: var(--fg-2); }
[data-mode="video"] .rail__ticks { display: none; }

/* ── stage / modes ──────────────────────────────────────── */
.stage { position: relative; z-index: 20; }
[data-mode="scrub"] .stage__spacer { height: var(--scroll-length); }
[data-mode="video"] .stage__spacer { height: 0; }
[data-mode="scrub"] .beats { position: fixed; inset: 0; pointer-events: none; }
[data-mode="scrub"] .beat { position: absolute; inset: 0; opacity: 0; visibility: hidden; will-change: opacity; }
:root.is-page[data-mode="scrub"] .beats { visibility: hidden; }
[data-mode="scrub"] .lay { position: absolute; inset: 0; }
[data-mode="video"] .beats { position: relative; }
[data-mode="video"] .beat { position: relative; min-height: 100vh; min-height: 100svh; }
[data-mode="video"] .lay { position: relative; min-height: 100vh; min-height: 100svh; }

.lay { padding: 126px calc(var(--gut) + 34px) 112px; display: grid; gap: 18px 40px;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: auto 1fr auto;
  grid-template-areas: "tl tr" "ml mr" "bl br"; }
.z { min-width: 0; max-width: min(460px, 100%); pointer-events: auto; }
.z--tl { grid-area: tl; align-self: start; justify-self: start; }
.z--tr { grid-area: tr; align-self: start; justify-self: end; }
.z--bl { grid-area: bl; align-self: end; justify-self: start; }
.z--br { grid-area: br; align-self: end; justify-self: end; }
.z--top { grid-column: 1 / -1; grid-row: 1; justify-self: center; text-align: center; max-width: 100%; }
.beat--hero .z--bl, .beat--end .z--bl { max-width: min(620px, 100%); }

/* drift keyed to --t (film.js) */
[data-mode="scrub"] :is(.z--tl, .z--bl) { transform: translate3d(0, calc(var(--t, 0) * -18px), 0); }
[data-mode="scrub"] :is(.z--tr, .z--br) { transform: translate3d(0, calc(var(--t, 0) * 18px), 0); }
[data-mode="scrub"] .z--top { transform: translate3d(0, calc(var(--t, 0) * -26px), 0); }

/* ── glass cards ─────────────────────────────────────────── */
.glass { position: relative; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 24px; padding: 24px 26px;
  backdrop-filter: blur(16px) saturate(1.25); -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 60px -30px rgba(3,12,18,.6); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 0% 0%, rgba(252,236,221,.10), transparent 60%); }
.glass--hero { padding: 30px 32px; }

/* the reveal: cards unmask from the bottom, then contents stagger */
.beat .glass { clip-path: inset(100% 0 0 0 round 24px); transition: clip-path 1.1s var(--ease) .05s; }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) .glass { clip-path: inset(0 0 0 0 round 24px); }

/* split text */
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > i { display: block; font-style: inherit; transform: translate3d(0, 110%, 0); transition: transform 1.1s var(--ease) calc(var(--li, 0) * 100ms + 140ms); }
.ch { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin-bottom: -.1em; }
.ch > i { display: inline-block; font-style: inherit; transform: translate3d(0, 115%, 0) rotate(8deg); transform-origin: 0 100%; transition: transform 1s var(--ease) calc(var(--ci, 0) * 38ms + 120ms); }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wd > i { display: inline-block; font-style: inherit; opacity: 0; transition: transform .9s var(--ease) calc(var(--wi, 0) * 35ms + 260ms), opacity .6s calc(var(--wi, 0) * 35ms + 260ms); }
.wd:nth-child(3n+1) > i { transform: translate3d(0, 105%, 0); }
.wd:nth-child(3n+2) > i { transform: translate3d(-50%, 0, 0); }
.wd:nth-child(3n) > i   { transform: translate3d(0, -105%, 0); }
:is(.beat.is-live, [data-mode="video"] .beat.is-in, [data-reveal].is-in, .foot.is-in) :is(.ln, .ch, .wd) > i { transform: none; opacity: 1; }

/* small bits slide in after the card opens */
.beat :is(.tag, .lede, .row, .stats li, .steps li, .ticks li, .bars__row, .note, .chapters li, .week__days li, .book__cover, .book__txt, .bigring__n, .loopmark, .polaroid) {
  opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s var(--ease), transform 1s var(--ease); }
.beat .tag { transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease) .2s, opacity .3s .2s; }
.beat :is(.lede, .note) { transition-delay: .45s; }
.beat .row { transition-delay: .6s; }
.beat :is(.stats li, .steps li, .ticks li, .bars__row, .chapters li, .week__days li):nth-child(1) { transition-delay: .35s; }
.beat :is(.stats li, .steps li, .ticks li, .bars__row, .chapters li, .week__days li):nth-child(2) { transition-delay: .45s; }
.beat :is(.stats li, .steps li, .ticks li, .bars__row, .chapters li, .week__days li):nth-child(3) { transition-delay: .55s; }
.beat .week__days li:nth-child(4) { transition-delay: .65s; } .beat .week__days li:nth-child(5) { transition-delay: .72s; }
.beat .week__days li:nth-child(6) { transition-delay: .79s; } .beat .week__days li:nth-child(7) { transition-delay: .86s; }
.beat .polaroid { transform: translate3d(40px, 30px, 0) rotate(12deg); transition-delay: .2s; }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) :is(.tag, .lede, .row, .stats li, .steps li, .ticks li, .bars__row, .note, .chapters li, .week__days li, .book__cover, .book__txt, .bigring__n, .loopmark) { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) .polaroid { opacity: 1; transform: rotate(4deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* ── type ───────────────────────────────────────────────── */
.tag { display: inline-block; color: var(--gold); margin-bottom: 14px; }
.display { font-family: var(--serif); font-weight: 350; font-size: clamp(52px, 8.4vw, 132px); line-height: .92; letter-spacing: -.03em; margin: 0 0 16px; font-variation-settings: "opsz" 144; }
.h2 { font-family: var(--serif); font-weight: 350; font-size: clamp(36px, 4.4vw, 66px); line-height: .98; letter-spacing: -.02em; margin: 0 0 14px; font-variation-settings: "opsz" 120; }
.h2 em, .display em { color: var(--gold); }
.h2--xl { font-size: clamp(48px, 8.6vw, 150px); text-shadow: 0 4px 40px rgba(3,12,18,.35); }
.h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 0 0 8px; }
.lede { color: var(--fg-2); font-size: 16.5px; margin: 0 0 18px; max-width: 42ch; }
.lede:last-child { margin-bottom: 0; }
.note { color: var(--fg-3); margin: 14px 0 0; line-height: 1.6; }
.note b { color: var(--fg); font-weight: 500; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }

/* beat widgets */
.polaroid { margin: 0; width: 250px; padding: 10px 10px 14px; background: var(--cloud); color: var(--ink); border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(3,12,18,.55); transform-style: preserve-3d; }
.polaroid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }
.polaroid figcaption { margin-top: 10px; font-size: 9.5px; line-height: 1.5; letter-spacing: .05em; text-transform: none; }

.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.stats li { display: grid; grid-template-columns: 70px 1fr; align-items: baseline; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
.stats li:last-child { border: 0; padding: 0; }
.stats b { font-family: var(--serif); font-size: 46px; font-weight: 300; line-height: 1; color: var(--sun); }
.stats .mono { color: var(--fg-2); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { display: grid; gap: 4px; padding-left: 16px; border-left: 1px solid var(--gold); }
.steps .mono { color: var(--gold); }
.steps p { margin: 0; color: var(--fg-2); font-size: 15px; }

.bars { display: grid; gap: 12px; }
.bars__row { display: grid; grid-template-columns: 58px 1fr 58px; grid-template-rows: auto auto; column-gap: 12px; row-gap: 4px; align-items: center; font-size: 13px; }
.bars__row span { grid-row: 1 / 3; font-family: var(--serif); font-style: italic; font-size: 16px; }
.bars__row b { grid-row: 1 / 3; grid-column: 3; font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--fg-2); text-align: right; }
.bars__row i { grid-column: 2; height: 6px; border-radius: 6px; background: rgba(246,239,226,.3); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s var(--ease) .6s; }
.bars__row i.is-b { background: linear-gradient(90deg, var(--teal), var(--gold)); transition-delay: .8s; }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) .bars__row i { transform: scaleX(var(--w)); }

.chapters ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.chapters li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: 14px; background: rgba(246,239,226,.04); border: 1px solid transparent; }
.chapters li.is-open { border-color: rgba(229,189,137,.5); background: rgba(229,189,137,.08); }
.chapters img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.chapters .mono { color: var(--fg-3); font-size: 10px; }
.chapters li.is-open .mono { color: var(--gold); }
.chapters b { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; color: var(--fg-2); font-size: 15px; }
.ticks .mono { color: var(--gold); padding-top: 3px; }

.stamp { position: relative; width: 132px; height: 132px; color: var(--sun); display: grid; place-items: center; transform: rotate(-30deg) scale(.6); opacity: 0; transition: transform 1s var(--snap) .4s, opacity .5s .4s; }
.stamp svg { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.stamp circle { fill: none; stroke: currentColor; stroke-width: 1; }
.stamp text { font-family: var(--mono); font-size: 8.4px; letter-spacing: .18em; fill: currentColor; }
.stamp b { font-family: var(--mono); font-size: 12px; text-align: center; line-height: 1.2; letter-spacing: .12em; font-weight: 500; }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) .stamp { transform: rotate(-12deg) scale(1); opacity: .92; }

.bigring { display: flex; align-items: center; gap: 22px; padding: 22px 26px 22px 22px; }
.bigring svg { width: 132px; height: 132px; flex: none; transform: rotate(-90deg); }
.bigring circle { fill: none; stroke-width: 6; }
.bigring__bg { stroke: rgba(246,239,226,.12); }
.bigring__fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.8s var(--ease) .4s; }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) .bigring__fg { stroke-dashoffset: 261.4; }
.bigring__n b { display: block; font-family: var(--serif); font-size: 64px; line-height: 1; font-weight: 300; color: var(--sun); }
.bigring__n .mono { color: var(--fg-2); }

.week__days { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 8px; }
.week__days li { display: grid; justify-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.week__days i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); }
.week__days .is-on i { background: radial-gradient(circle, var(--sun), var(--gold)); border-color: transparent; }
.week__days .is-pause i { border-style: dashed; border-color: var(--teal-2); background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(124,195,188,.6) 9px 11px, transparent 11px 15px, rgba(124,195,188,.6) 15px 17px, transparent 17px); }
.week__days .is-today i { border: 1.5px solid var(--gold); animation: breathe 2s ease-in-out infinite; }

.book { display: flex; gap: 20px; align-items: center; }
.book__cover { flex: none; width: 104px; height: 140px; border-radius: 4px 10px 10px 4px; padding: 12px 10px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(90deg, #2c5f5c 0 8px, #3a7c77 8px); color: var(--sun); box-shadow: 0 20px 30px -14px rgba(0,0,0,.6), inset 2px 0 0 rgba(255,255,255,.18); }
.book__cover .mono { font-size: 8.5px; }
.book__cover b { font-family: var(--serif); font-size: 32px; font-weight: 300; }
.book__txt .lede { font-size: 15px; }
.barcode { display: block; height: 30px; width: 160px; }
.barcode svg { width: 100%; height: 100%; }
.barcode rect { fill: var(--fg); }

.loopmark { display: grid; justify-items: end; gap: 2px; color: var(--ink); text-align: right; }
.loopmark b { font-family: var(--serif); font-size: 56px; font-weight: 300; line-height: 1; letter-spacing: -.02em; }

/* callouts: dotted leader lines at the subject */
.callout { position: absolute; pointer-events: none; color: var(--fg); transition: color .35s; }
:root.is-light .callout { color: var(--ink); }
.callout svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.callout path { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.callout::after { content: ""; position: absolute; right: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; border: 1px solid currentColor; box-shadow: 0 0 0 4px rgba(246,239,226,.12); }
.callout span { position: absolute; left: 0; bottom: 8px; white-space: nowrap; font-size: 10px; }
.callout { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease) .5s; }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) .callout { clip-path: inset(-20px -20px -20px -20px); }
.callout--pine { left: 44%; top: 20%; width: 22%; height: 16%; }
.callout--cumulus { left: 26%; top: 29%; width: 21%; height: 24%; }
.callout--sun { left: 51.5%; top: 22%; width: 20%; height: 16%; }
.callout--sun::after { right: auto; top: auto; left: -5px; bottom: -5px; }
.callout--sun span { left: auto; right: 0; bottom: auto; top: -18px; }
[data-mode="video"] .callout { display: none; }

.cross { position: absolute; left: 50%; top: 42%; width: 120px; height: 120px; transform: translate(-50%, -50%) rotate(calc(var(--t, 0) * 90deg)); pointer-events: none; color: var(--ink); opacity: .7; }
.cross::before, .cross::after { content: ""; position: absolute; background: currentColor; }
.cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.cross i { position: absolute; inset: 30px; border: 1px solid currentColor; border-radius: 50%; }
.cross span { position: absolute; left: 70px; top: -4px; white-space: nowrap; font-size: 10px; transform: rotate(calc(var(--t, 0) * -90deg)); transform-origin: -70px 60px; }
[data-mode="video"] .cross { display: none; }

/* ── page (below film) ──────────────────────────────────── */
.page { position: relative; z-index: 30; padding-bottom: 20px;
  background: linear-gradient(180deg, rgba(9,27,36,0), rgba(9,27,36,.55) 60vh, rgba(9,27,36,.78) 140vh); }
.sec { padding: 120px calc(var(--gut) + 34px); max-width: 1360px; margin: 0 auto; }
.sec__head { display: grid; gap: 4px; margin-bottom: 44px; }
.sec__head .h2 { font-size: clamp(40px, 5.4vw, 84px); }
[data-reveal] .tag, [data-reveal] .lede, [data-reveal] .filters, [data-reveal] .bill, [data-reveal] .wcount { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease) .25s, transform 1s var(--ease) .25s; }
[data-reveal].is-in .tag, [data-reveal].is-in .lede, [data-reveal].is-in .filters, [data-reveal].is-in .bill, [data-reveal].is-in .wcount { opacity: 1; transform: none; }
.glass[data-reveal], .plan[data-reveal], .qa[data-reveal], .specimen[data-reveal] > * { opacity: 0; transform: translateY(50px); transition: opacity .9s var(--ease), transform 1.2s var(--ease); }
.glass[data-reveal].is-in, .plan[data-reveal].is-in, .qa[data-reveal].is-in, .specimen.is-in > * { opacity: 1; transform: none; }
.plan[data-reveal]:nth-child(2), .specimen > *:nth-child(2) { transition-delay: .12s; }
.plan[data-reveal]:nth-child(3), .specimen > *:nth-child(3) { transition-delay: .24s; }
.qa:nth-child(2) { transition-delay: .06s; } .qa:nth-child(3) { transition-delay: .12s; } .qa:nth-child(4) { transition-delay: .18s; } .qa:nth-child(5) { transition-delay: .24s; }

.marquee { overflow: hidden; padding: 30px 0; border-block: 1px solid var(--line); background: rgba(9,27,36,.3); }
.marquee__track { display: flex; gap: 40px; width: max-content; align-items: center; animation: marq 36s linear infinite; transform: skewX(var(--skew, 0deg)); }
.marquee__track span { font-family: var(--serif); font-size: clamp(40px, 6vw, 92px); font-weight: 300; font-style: italic; white-space: nowrap; }
.marquee__track span:nth-of-type(even) { font-style: normal; -webkit-text-stroke: 1px var(--fg); color: transparent; }
.marquee__track i { font-style: normal; color: var(--gold); font-size: 28px; }
.marquee { --dur: 1; }
@keyframes marq { to { translate: -50% 0; } }

/* features */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; }
.filters button { padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background .3s, color .3s; }
.filters button.is-on { background: var(--fg); color: var(--ink); }
.filters__n { margin-left: auto; color: var(--fg-2); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; border-radius: 22px; overflow: hidden; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), opacity .5s, border-color .3s; }
.card:hover { border-color: rgba(229,189,137,.5); }
.card.is-enter { animation: cardIn .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.card__art { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__art img { transform: scale(1.07); }
.card__art .mono { position: absolute; left: 12px; top: 12px; padding: 4px 8px; border-radius: 6px; background: rgba(9,27,36,.6); font-size: 9.5px; }
.card__body { padding: 18px 20px 20px; }
.card__body h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 6px; line-height: 1.1; }
.card__body p { margin: 0; color: var(--fg-2); font-size: 14.5px; }
.card__cat { display: inline-block; margin-top: 12px; color: var(--gold); font-size: 10px; }
.cards__empty { grid-column: 1 / -1; color: var(--fg-2); }

/* try */
.sec--split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: start; }
.sec--split .sec__head { position: sticky; top: 120px; }
.journal { padding: 26px; }
.journal__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--fg-2); }
.journal__prompt { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; font-weight: 350; margin: 20px 0 16px; min-height: 2.3em; }
.journal__prompt.is-swap { animation: swap .6s var(--ease); }
@keyframes swap { 0% { opacity: 0; transform: translateY(12px); filter: blur(4px); } }
.journal textarea { width: 100%; resize: vertical; min-height: 140px; border-radius: 16px; padding: 16px; background: rgba(246,239,226,.06); border: 1px solid var(--line); font-size: 16px; line-height: 1.6; }
.journal textarea:focus { outline: none; border-color: var(--gold); }
.journal__mood { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.journal__foot { display: flex; align-items: center; gap: 12px; }
.journal__foot .mono { color: var(--fg-2); }
.journal__foot .btn { margin-left: auto; }
.miniring svg { width: 40px; height: 40px; transform: rotate(-90deg); }
.miniring circle { fill: none; stroke-width: 3; stroke: rgba(246,239,226,.14); }
#jRing { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 100.5; stroke-dashoffset: 100.5; transition: stroke-dashoffset .5s var(--ease); }
.journal__err { color: #f0a58a; min-height: 1.4em; margin: 10px 0 0; }
.journal__saved { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.journal__saved li { padding: 12px 14px; border-radius: 12px; background: rgba(246,239,226,.05); border-left: 2px solid var(--gold); font-size: 14.5px; animation: cardIn .6s var(--ease); }
.journal__saved li .mono { display: block; color: var(--fg-3); font-size: 9.5px; margin-bottom: 4px; }

/* specimen */
.specimen { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.spec-card { padding: 22px 24px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), opacity .9s var(--ease); }
.spec-card__head { display: flex; justify-content: space-between; color: var(--fg-3); font-size: 10px; }
.spec-card__aa { font-family: var(--serif); font-size: clamp(120px, 14vw, 220px); line-height: .9; margin: 22px 0 6px; font-weight: 400; font-variation-settings: "opsz" 144; letter-spacing: -.04em; transition: font-weight .2s; background: linear-gradient(180deg, var(--sun), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spec-card__aa--sans { font-family: var(--sans); font-weight: 600; background: none; color: var(--fg); letter-spacing: -.05em; }
.spec-card__name { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.spec-card__name--sans { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; }
.spec-card__name small { display: block; color: var(--fg-3); margin-top: 6px; font-size: 10px; }
.spec-card__ctl { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; margin-top: 22px; }
.spec-card__ctl label { color: var(--fg-2); }
.spec-card__ctl .chip { justify-self: start; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--v, 25%), rgba(246,239,226,.2) var(--v, 25%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 12px rgba(252,236,221,.6); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--sun); border: 0; }
.spec-card__glyphs { margin: 18px 0 0; font-size: 14px; line-height: 1.7; color: var(--fg-2); word-break: break-all; }
.swatches { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.swatches li { display: grid; gap: 8px; }
.swatches i { height: 58px; border-radius: 12px; background: var(--c); border: 1px solid rgba(255,255,255,.12); transition: transform .5s var(--ease); }
.swatches li:hover i { transform: scale(1.05) rotate(-2deg); }
.swatches .mono { font-size: 9px; line-height: 1.5; color: var(--fg-2); }

/* pricing */
.bill { position: relative; display: inline-flex; margin-top: 20px; padding: 4px; border-radius: 99px; background: var(--glass); border: 1px solid var(--glass-line); justify-self: start; }
.bill__b { position: relative; z-index: 1; padding: 10px 18px; border-radius: 99px; font-weight: 600; font-size: 14px; transition: color .4s; }
.bill__b em { font-family: var(--mono); font-style: normal; font-size: 10px; color: var(--gold); margin-left: 4px; transition: color .4s; }
.bill__b.is-on { color: var(--ink); }
.bill__b.is-on em { color: var(--ink); }
.bill__knob { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 99px; background: linear-gradient(180deg, var(--sun), var(--gold)); width: var(--kw, 90px); transform: translateX(var(--kx, 0)); transition: transform .6s var(--snap), width .6s var(--snap); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 28px; }
.plan--pick { border-color: rgba(229,189,137,.55); background: linear-gradient(180deg, rgba(229,189,137,.14), var(--glass) 50%); }
.badge { position: absolute; top: 20px; right: 20px; padding: 5px 9px; border-radius: 99px; background: var(--gold); color: var(--ink); font-size: 9.5px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-family: var(--serif); font-weight: 300; font-size: 72px; line-height: 1; letter-spacing: -.03em; }
.plan__per { color: var(--fg-2); }
.plan ul { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; gap: 9px; flex: 1; }
.plan li { padding-left: 22px; position: relative; color: var(--fg-2); font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--gold); }
.plans__note { color: var(--fg-3); margin-top: 20px; }

/* waitlist form */
.wcount { color: var(--fg-2); margin-top: 8px; }
.wcount b { font-family: var(--serif); font-size: 38px; font-weight: 300; color: var(--sun); letter-spacing: 0; margin-right: 6px; text-transform: none; }
.form { padding: 30px; }
.form__body { display: grid; gap: 18px; }
.f { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.f label, .f legend { font-size: 14px; font-weight: 600; }
.f legend { margin-bottom: 8px; }
.f legend .mono { color: var(--fg-3); font-weight: 400; font-size: 10px; }
.f input, .f select { width: 100%; padding: 14px 16px; border-radius: 14px; background: rgba(246,239,226,.06); border: 1px solid var(--line); font-size: 16px; transition: border-color .3s; }
.f select option { color: var(--ink); }
.f input:focus, .f select:focus { outline: none; border-color: var(--gold); }
.f.is-bad input, .f.is-bad select { border-color: #f0a58a; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.f--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.f--chips legend { width: 100%; }
.f__err { color: #f0a58a; min-height: 1em; font-size: 10px; }
.f--chips .f__err { width: 100%; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--fg-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.form__done { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 20px 0; }
.form__done[hidden] { display: none; }
.done__ring { position: relative; width: 150px; height: 150px; display: grid; place-items: center; margin-bottom: 10px; }
.done__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.done__ring circle { fill: none; stroke-width: 3; stroke: rgba(246,239,226,.14); }
.done__ring .done__fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; animation: fillRing 1.6s var(--ease) .2s forwards; }
@keyframes fillRing { to { stroke-dashoffset: 0; } }
.done__ring b { font-family: var(--serif); font-size: 26px; font-weight: 400; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 900px; }
.qa { border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; text-align: left; font-family: var(--serif); font-size: 21px; font-weight: 400; }
.qa button i { position: relative; width: 16px; height: 16px; flex: none; }
.qa button i::before, .qa button i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--gold); transition: transform .5s var(--snap); }
.qa button i::after { transform: rotate(90deg); }
.qa button[aria-expanded="true"] i::after { transform: rotate(0); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.qa__a > p { overflow: hidden; margin: 0; padding: 0 24px; color: var(--fg-2); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a > p { padding-bottom: 22px; }

/* footer */
.foot { padding: 90px calc(var(--gut) + 34px) 110px; border-top: 1px solid var(--line); margin-top: 60px; background: rgba(9,27,36,.6); }
.foot__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot__line { font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); line-height: 1; margin: 6px 0 0; font-weight: 300; }
.foot__line em { color: var(--gold); }
.foot__cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot__cols div { display: grid; gap: 10px; align-content: start; }
.foot__cols .mono { color: var(--fg-3); }
.foot__cols a { text-decoration: none; color: var(--fg-2); }
.foot__cols a:hover { color: var(--fg); }
.foot__word { font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 19vw, 300px); line-height: .85; letter-spacing: -.02em; margin: 60px 0 30px; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, var(--sun), rgba(229,189,137,.2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot__word .ch > i { background: inherit; -webkit-background-clip: text; background-clip: text; }
.foot__word .ch > i { color: var(--sun); }
.foot__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--fg-3); }

.toast { position: fixed; left: 50%; bottom: 100px; z-index: 200; padding: 12px 18px; border-radius: 99px; background: var(--sun); color: var(--ink); transform: translate(-50%, 20px); opacity: 0; transition: transform .5s var(--snap), opacity .4s; pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* cursor */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input[type="range"], .has-cursor textarea, .has-cursor input:not([type]), .has-cursor input[type="email"] { cursor: auto !important; }
.cur { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; border-radius: 50%; }
.cur--dot { width: 8px; height: 8px; background: var(--sun); box-shadow: 0 0 12px 3px rgba(252,236,221,.6); mix-blend-mode: normal; }
.cur--ring { width: 38px; height: 38px; border: 1px dashed rgba(252,236,221,.8); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), background .3s, border-color .3s, opacity .3s; }
.cur--ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: spin 10s linear infinite; border-top: 1px solid var(--gold); }
.cur--ring.is-on { width: 56px; height: 56px; border-color: var(--gold); }
.cur--ring.is-lg { width: 76px; height: 76px; background: rgba(229,189,137,.92); border-color: transparent; }
.cur--ring.is-down { width: 30px; height: 30px; }
.cur--ring.is-out { opacity: 0; }
.cur__l { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
:root.is-light .cur--dot { background: var(--ink); box-shadow: none; }
:root.is-light .cur--ring { border-color: rgba(16,36,44,.7); }

/* ── light chrome over light frames ─────────────────────── */
:root.is-light .loopmark, :root.is-light .cross { color: var(--ink); }
.beat--end .loopmark { color: var(--ink); }
[data-mode="video"] .loopmark, [data-mode="video"] .beat--end .loopmark { color: var(--fg); }

/* ── video mode ─────────────────────────────────────────── */
[data-mode="video"] .beat + .beat { border-top: 1px dashed rgba(246,239,226,.14); }
[data-mode="video"] .beats { background: linear-gradient(180deg, transparent, rgba(9,27,36,.1)); }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specimen { grid-template-columns: 1fr 1fr; }
  .spec-card--pal { grid-column: 1 / -1; }
  .chrome__nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .hud__side, .hud__fig { display: none; }
  .chrome { gap: 10px; padding: 12px 16px; }
  .mark__txt { font-size: 16px; letter-spacing: .2em; }
  .switch { padding: 5px 6px 5px 10px; gap: 7px; }
  .switch__txt { font-size: 12px; }
  .switch__roll { display: none; }
  .lay { padding: 80px 16px 104px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
  .z { max-width: 100%; }
  .z--bl { margin-top: auto; }
  .z--top { text-align: left; justify-self: start; }
  .glass { padding: 18px 18px; border-radius: 20px; }
  .glass--hero { padding: 22px 20px; }
  .display { font-size: clamp(44px, 14vw, 64px); }
  .h2 { font-size: 34px; }
  .h2--xl { font-size: 46px; }
  .lede { font-size: 15px; }
  .stats b { font-size: 34px; }
  .stats li { grid-template-columns: 48px 1fr; }
  .bigring svg { width: 92px; height: 92px; }
  .bigring__n b { font-size: 46px; }
  .book__cover { width: 80px; height: 108px; }
  .dock { bottom: 16px; left: 16px; right: 16px; gap: 10px; }
  .dock__meta { display: none; }
  .ring { width: 50px; height: 50px; }
  .ring__n { font-size: 15px; }
  .pill { padding: 10px 14px 10px 10px; }
  .sec { padding: 80px 16px; }
  .sec--split { grid-template-columns: 1fr; gap: 10px; }
  .sec--split .sec__head { position: static; }
  .cards { grid-template-columns: 1fr; }
  .specimen { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .journal, .form { padding: 20px 16px; }
  .journal__foot { flex-wrap: wrap; }
  .foot { padding: 60px 16px 100px; }
  .foot__cols { gap: 30px; }
  .filters__n { width: 100%; margin-left: 0; }
  [data-mode="video"] .lay { justify-content: center; gap: 18px; }
  .beat--blue .z--top .h2 { text-shadow: 0 2px 20px rgba(3,12,18,.5); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
}
