/* =========================================================================
   ONYX CREDIT — cinematic site
   ========================================================================= */
:root {
  --ink: #070707;
  --onyx: #0f0e0c;
  --char: #171512;
  --line: rgba(241, 235, 224, .1);
  --bone: #f1ebe0;
  --mute: rgba(241, 235, 224, .56);
  --gold: #c9a45c;
  --gold-hi: #f3d79a;
  --gold-lo: #7a5c26;
  --signal: #59d39a;
  --red: #e0574f;
  --g-gold: linear-gradient(135deg, #f6e2b0 0%, #d8b46c 38%, #a57d3a 70%, #f0d593 100%);
  --g-glass: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  --sh-gold: 0 10px 30px -8px rgba(201,164,92,.55), 0 2px 0 rgba(255,255,255,.35) inset, 0 -3px 8px rgba(80,55,15,.35) inset;
  --sh-deep: 0 40px 80px -30px rgba(0,0,0,.8), 0 12px 30px -12px rgba(0,0,0,.6);
  --f-display: 'Archivo', system-ui, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-press: 120ms; --t-hover: 200ms; --t-panel: 300ms; --t-reveal: 600ms; --t-sig: 1100ms;
  --paper: #efe8da; --paper-2: #e4dccb; --paper-ink: #191714; --paper-mute: #6e675b; --paper-rule: rgba(25,23,20,.12);
  --pad: clamp(18px, 4vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color: var(--bone); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--f-display); font-variation-settings: 'wdth' 100; background: var(--ink); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--gold); color: var(--ink); }
button, summary, label { cursor: pointer; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 400; padding: 12px 18px; border-radius: 999px; background: var(--bone); color: var(--ink); font-weight: 600; transform: translateY(-160%); transition: transform var(--t-panel) var(--ease); }
.skip:focus { transform: none; outline: 2px solid var(--gold-hi); outline-offset: 3px; }

/* ---------- atmosphere ---------- */
.stage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
/* the one key light: a warm desk lamp above and left of the card */
.lamp { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60vmax 46vmax at 72% 18%, rgba(243,215,154,.10), rgba(201,164,92,.04) 40%, transparent 70%),
              radial-gradient(120vmax 80vmax at 50% 120%, rgba(0,0,0,.6), transparent 60%); }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(0,0,0,.75) 100%); }
main, .foot { position: relative; z-index: 2; }

/* ---------- curtain (into the portal) ---------- */
.curtain { position: fixed; inset: 0; z-index: 310; pointer-events: none; visibility: hidden; }
.curtain__panel { position: absolute; inset: 0; background: var(--g-gold); transform: translateY(100%); border-radius: 50% 50% 0 0 / 12% 12% 0 0; }
.curtain__word { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; font-size: 18vw; font-variation-settings: 'wdth' 125; color: var(--ink); opacity: 0; letter-spacing: -.03em; }

/* ---------- pills (only pills, never boxes) ---------- */
.pill { --h: 46px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--h); padding: 0 24px;
  border-radius: 999px; border: 0; font: 600 14px/1 var(--f-display); letter-spacing: .01em; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease), background var(--t-hover); will-change: transform; cursor: pointer; }
.pill:active { transform: scale(.97); transition-duration: var(--t-press); }
.pill:disabled, .pill[aria-disabled=true] { opacity: .55; cursor: not-allowed; transform: none; }
.pill.is-loading .pill__arrow { animation: nudge .9s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateX(4px); opacity: .5; } }
.pill--lg { --h: 60px; padding: 0 32px; font-size: 16px; }
.pill--block { width: 100%; }
.pill--gold { color: #1a1206; background: var(--g-gold); background-size: 200% 200%; box-shadow: var(--sh-gold); }
.pill--gold::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.pill--gold:hover::before { transform: translateX(120%); }
.pill--gold:hover { box-shadow: 0 18px 44px -10px rgba(201,164,92,.75), 0 2px 0 rgba(255,255,255,.4) inset, 0 -3px 8px rgba(80,55,15,.35) inset; }
.pill--glass { color: var(--bone); background: var(--g-glass); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 1px 0 rgba(255,255,255,.18) inset, 0 20px 40px -20px rgba(0,0,0,.8); }
.pill--glass:hover { background: linear-gradient(135deg, rgba(243,215,154,.22), rgba(255,255,255,.05)); box-shadow: 0 0 0 1px rgba(243,215,154,.4) inset, 0 20px 40px -18px rgba(201,164,92,.35); }
.pill--ghost { color: var(--bone); background: transparent; box-shadow: 0 0 0 1px rgba(241,235,224,.22) inset; }
.pill--ghost:hover { box-shadow: 0 0 0 1px rgba(243,215,154,.6) inset; }
.pill__arrow { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.pill:hover .pill__arrow { transform: translateX(5px); }
.pill:focus-visible, .nav__burger:focus-visible, .faq summary:focus-visible, .nav__links a:focus-visible, .foot__grid a:focus-visible, .brand:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(7,7,7,.9); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px var(--pad);
  transition: transform .6s var(--ease), background .4s; }
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid { background: linear-gradient(180deg, rgba(7,7,7,.85), rgba(7,7,7,0)); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { font-weight: 800; font-size: 18px; letter-spacing: .14em; font-variation-settings: 'wdth' 118; }
.brand__word em { letter-spacing: 0; font-size: 19px; margin-left: 4px; color: var(--gold-hi); }
.nav__links { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--line) inset; backdrop-filter: blur(12px); }
.nav__links a { padding: 9px 16px; border-radius: 999px; font-size: 13px; color: var(--mute); transition: color .3s, background .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--bone); background: rgba(255,255,255,.08); }
.nav__cta { display: flex; gap: 10px; }
.nav__burger { display: none; width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--g-glass); box-shadow: 0 0 0 1px var(--line) inset; position: relative; }
.nav__burger i { position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--bone); transition: transform .5s var(--ease); }
.nav__burger i:first-child { top: 20px; } .nav__burger i:last-child { top: 27px; }
.menu-open .nav__burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu[hidden] { display: none; }
.menu { position: fixed; inset: 0; z-index: 95; background: rgba(7,7,7,.96); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; padding: var(--pad); gap: 6px;
  clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path .9s var(--ease); }
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 42px); }
.menu a { font-weight: 800; font-size: clamp(40px, 11vw, 80px); font-variation-settings: 'wdth' 70; letter-spacing: -.02em; line-height: 1.05; }
@media (max-width: 980px) { .nav__links { display: none; } .nav__cta .pill--ghost { display: none; } }
@media (max-width: 640px) { .nav__cta { display: none; } .nav__burger { display: block; } }

/* ---------- rail ---------- */
.rail { position: fixed; left: calc(var(--pad) * .45); top: 50%; z-index: 50; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; mix-blend-mode: difference; }
.rail__track { width: 1px; height: 26vh; background: rgba(255,255,255,.2); position: relative; }
.rail__fill { position: absolute; inset: 0; background: #fff; transform-origin: top; transform: scaleY(0); }
.rail__marks { list-style: none; margin: 0; padding: 0; display: none; }
.rail__tc { font: 400 9px/1 var(--f-mono); letter-spacing: .14em; writing-mode: vertical-rl; transform: rotate(180deg); color: rgba(255,255,255,.7); }
@media (max-width: 900px) { .rail { display: none; } }

/* ---------- type primitives ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; font: 400 11px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(201,164,92,.7); }
.h-display { margin: 0; font-weight: 800; font-size: clamp(44px, 7.4vw, 128px); line-height: .9; letter-spacing: -.035em; font-variation-settings: 'wdth' 78; }
.h-display--sm { font-size: clamp(40px, 5.6vw, 96px); }
.h-display em { font-size: 1.04em; color: var(--gold-hi); letter-spacing: -.01em; }
.mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mask > span { display: inline-block; will-change: transform; }
.lead { max-width: 52ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--mute); }
.fine { font: 400 11px/1.5 var(--f-mono); letter-spacing: .04em; color: rgba(241,235,224,.38); max-width: 70ch; }
.fine--c { text-align: center; margin: 60px auto 0; }

/* ---------- 01 hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--pad) 40px; }
.hero__inner { position: relative; z-index: 2; }
.hero__title { margin: 0; font-weight: 900; font-size: clamp(64px, 13.4vw, 250px); line-height: .82; letter-spacing: -.045em; font-variation-settings: 'wdth' 70; perspective: 900px; }
.hero__title .ln { display: block; overflow: hidden; padding: .04em 0 .06em; margin: -.04em 0 -.06em; }
.hero__title .ln__in { display: block; will-change: transform; }
.hero__title .ln__in--gold { width: max-content; background: var(--g-gold); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
/* before the script runs: hidden, with a fallback that reveals everything if it never does */
.js:not(.motion-ready) .hero__title .ln__in { transform: translateY(105%); animation: fallback-in .6s var(--ease) 1.5s forwards; }
.js:not(.motion-ready) .hero__serif > span, .js:not(.motion-ready) .hero__foot > *, .js:not(.motion-ready) .hero__eyebrow { opacity: 0; animation: fallback-in .6s var(--ease) 1.5s forwards; }
@keyframes fallback-in { to { transform: none; opacity: 1; } }
.hero__title .ln--indent { padding-left: 11vw; }
.kin { display: inline-block; will-change: transform; }
.kin .char { display: inline-block; transform-origin: 50% 100% -40px; will-change: transform, opacity; }
.kin--gold { color: var(--gold-hi); }
.kin--gold .char { color: transparent; background: var(--g-gold); background-size: 400% 100%; -webkit-background-clip: text; background-clip: text; padding-right: .02em; }
.kin--gold .char:nth-child(2) { background-position: 15% 0; } .kin--gold .char:nth-child(3) { background-position: 30% 0; } .kin--gold .char:nth-child(4) { background-position: 45% 0; }
.kin--gold .char:nth-child(5) { background-position: 60% 0; } .kin--gold .char:nth-child(6) { background-position: 75% 0; } .kin--gold .char:nth-child(n+7) { background-position: 95% 0; }
.hero__serif { display: flex; flex-wrap: wrap; gap: .3em .6em; margin: 34px 0 0; font-family: var(--f-serif); font-size: clamp(22px, 2.6vw, 42px); line-height: 1.15; color: var(--mute); max-width: 32ch; }
.hero__serif em { color: var(--bone); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.hero__foot { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: clamp(24px, 5vw, 80px); margin-top: auto; padding-top: 60px; }
.hero__stat b { display: block; font-weight: 800; font-size: clamp(30px, 3.2vw, 52px); letter-spacing: -.03em; font-variation-settings: 'wdth' 90; }
.hero__stat span { display: block; max-width: 22ch; margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--mute); }
.hero__scroll { margin-left: auto; display: flex; align-items: center; gap: 14px; font: 400 10px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.hero__scroll i { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s var(--ease) 3; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 420px) { .eb-scene { display: none; } }
.demo-tag { align-self: flex-end; margin: 0 0 4px; font: 400 10px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(241,235,224,.42); }
.demo-tag span { display: inline-block; margin-right: 8px; padding: 4px 9px; border-radius: 999px; color: var(--gold-hi); box-shadow: 0 0 0 1px rgba(243,215,154,.3) inset; }
@media (max-width: 700px) { .hero { padding-top: 230px; } .hero__scroll { display: none; } .hero__foot { flex-wrap: wrap; } .demo-tag { width: 100%; } .hero__foot { gap: 28px; } .hero__title .ln--indent { padding-left: 6vw; } }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; white-space: nowrap; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(7,7,7,.7); }
.marquee__row { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; will-change: transform; }
.marquee__row span { font-weight: 800; font-size: clamp(20px, 2.4vw, 34px); letter-spacing: .02em; font-variation-settings: 'wdth' 120; }
.marquee__row b { color: var(--gold); font-size: .9em; font-weight: 400; }
.marquee--big { border: 0; background: none; backdrop-filter: none; padding: 30px 0; }
.marquee--big .marquee__row span { font-size: clamp(60px, 11vw, 190px); font-variation-settings: 'wdth' 62; letter-spacing: -.03em; -webkit-text-stroke: 1px rgba(241,235,224,.35); color: transparent; }
.marquee--big .marquee__row b { font-size: 40px; }

/* ---------- 02 file ---------- */
.file { position: relative; }
.file__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--pad) 80px calc(var(--pad) + 4vw); }
.file__text { margin: 0; max-width: 20ch; font-weight: 700; font-size: clamp(34px, 5.1vw, 92px); line-height: 1.02; letter-spacing: -.03em; font-variation-settings: 'wdth' 82; }
.file__text .w { display: inline-block; opacity: .12; transition: none; }
.strike { position: relative; text-decoration: none; color: var(--gold-hi); }
.strike::after { content: ''; position: absolute; left: -2%; right: -2%; top: 54%; height: .09em; background: var(--red); transform: scaleX(var(--s, 0)); transform-origin: left; border-radius: 2px; box-shadow: 0 0 18px rgba(224,87,79,.6); }
.file__aside { margin: 48px 0 0 auto; max-width: 30ch; font-family: var(--f-serif); font-size: clamp(20px, 1.9vw, 30px); line-height: 1.25; color: var(--mute); }
.file__aside em { color: var(--bone); }

/* ---------- 03 the dispute: a bone-paper report under the lamp ---------- */
.report { position: relative; }
.report__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 4vh; padding: 96px var(--pad) 48px; }
.report__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.report__head .h-display { font-size: clamp(40px, 5.2vw, 92px); }
.report__counter { display: flex; align-items: center; gap: 14px; flex: none; }
.report__count { font-weight: 900; font-size: clamp(60px, 7vw, 124px); line-height: .8; font-variation-settings: 'wdth' 62; background: var(--g-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-feature-settings: 'tnum'; min-width: 2ch; text-align: right; }
.report__counter small { font: 400 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.sheet { position: relative; color: var(--paper-ink); border-radius: 6px 6px 18px 18px; padding: clamp(18px, 2.2vw, 34px) clamp(18px, 2.6vw, 40px) 22px;
  background: radial-gradient(120% 90% at 18% 0%, #f7f1e5 0%, var(--paper) 45%, var(--paper-2) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 50px 90px -40px rgba(0,0,0,.95), 0 18px 30px -18px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.25); }
.sheet::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(100deg, rgba(255,250,235,.35), transparent 40%, rgba(0,0,0,.06)); }
.sheet__meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--paper-ink); font: 600 10px/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; }
.sheet__head, .sheet__row { position: relative; display: grid; grid-template-columns: 34px 96px minmax(150px, 1.2fr) minmax(110px, .8fr) 80px minmax(190px, 1.6fr) 118px; align-items: center; gap: 0 16px; }
.sheet__head { padding: 12px 0 10px; border-bottom: 1px solid var(--paper-rule); font: 600 9.5px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-mute); }
.sheet__row { padding: 14px 0; border-bottom: 1px solid var(--paper-rule); font-size: 14px; line-height: 1.35; }
.c--n { font: 400 11px/1 var(--f-mono); color: var(--paper-mute); }
.c--b { font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.c--f b { display: block; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.c--f small { font: 400 11px/1.6 var(--f-mono); color: var(--paper-mute); }
.c--bal { font-family: var(--f-mono); font-size: 13px; font-feature-settings: 'tnum'; }
.c--i { color: #3c372f; }
.c--s { position: relative; height: 28px; }
.st { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font: 600 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: opacity var(--t-hover), transform var(--t-reveal) var(--ease); }
.st--open { color: #6b4d12; box-shadow: 0 0 0 1px rgba(122,92,38,.45) inset; }
.st--done { color: #f4fff9; background: linear-gradient(135deg, #2f9e6a, #1f7a50); box-shadow: 0 6px 14px -6px rgba(31,122,80,.7); opacity: 0; transform: translateY(6px); }
.sheet__row[data-result=updated] .st--done { color: #241703; background: var(--g-gold); box-shadow: 0 6px 14px -6px rgba(122,92,38,.6); }
.sheet__row.is-done .st--open { opacity: 0; }
.sheet__row.is-done .st--done { opacity: 1; transform: none; }
/* the gold rule: the brand's recurring stroke, drawn through the line it corrects */
.sheet__strike { position: absolute; left: 44px; right: 132px; top: 50%; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, #8f6a2c, #d4ae66 30%, #f0d593 60%, #b08a45); transform: scaleX(var(--k, 0)); transform-origin: left; box-shadow: 0 0 10px rgba(212,174,102,.55); }
.sheet__row[data-result=updated] .sheet__strike { opacity: .45; }
.sheet__row .c--f, .sheet__row .c--t, .sheet__row .c--bal, .sheet__row .c--i { transition: color var(--t-reveal) var(--ease), opacity var(--t-reveal); }
.sheet__row.is-done[data-result=deleted] .c--f, .sheet__row.is-done[data-result=deleted] .c--t, .sheet__row.is-done[data-result=deleted] .c--bal, .sheet__row.is-done[data-result=deleted] .c--i { opacity: .42; }
.sheet__more { margin: 16px 0 0; font-weight: 700; font-size: 15px; }
.sheet__more em { font-weight: 400; color: var(--paper-mute); }
@media (max-width: 1180px) { .sheet__head, .sheet__row { grid-template-columns: 28px 86px 1.1fr .8fr 70px 1.4fr 110px; gap: 0 12px; } .sheet__row { font-size: 13px; } }
@media (max-width: 899px) {
  .report__pin { min-height: 0; padding-top: 14vh; padding-bottom: 10vh; }
  .report__head { flex-direction: column; align-items: flex-start; }
  .sheet { border-radius: 6px 6px 22px 22px; }
  .sheet__head { display: none; }
  .sheet__meta { flex-direction: column; gap: 4px; }
  .sheet__row { grid-template-columns: 1fr auto; grid-template-areas: 'b s' 'f f' 'i i' 'm m'; gap: 6px 12px; padding: 18px 0; }
  .sheet__row .c--n { display: none; }
  .c--b { grid-area: b; } .c--s { grid-area: s; width: 110px; } .c--f { grid-area: f; } .c--i { grid-area: i; font-size: 14px; }
  .c--t, .c--bal { grid-row: 4; font: 400 11px/1.4 var(--f-mono); color: var(--paper-mute); }
  .c--t { grid-column: 1; } .c--bal { grid-column: 2; text-align: right; }
  .sheet__strike { left: 0; right: 0; top: 62px; }
}
.no-js .sheet__row .st--done, .no-webgl .x { opacity: 1; }

/* ---------- 04 numbers ---------- */
.numbers__pin { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 110px var(--pad) 60px; }
.numbers__title { margin: 0; line-height: .78; }
.stretch { display: inline-block; font-weight: 900; font-size: clamp(110px, 21vw, 380px); letter-spacing: -.05em; font-variation-settings: 'wdth' 62;
  background: linear-gradient(180deg, #fff6df 0%, #e6c27c 45%, #8a6528 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 30px 60px rgba(201,164,92,.25)); }
.numbers__sub { margin: 18px 0 0; font-size: clamp(16px, 1.6vw, 24px); color: var(--mute); }
.numbers__sub em { color: var(--bone); }
.gauges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); width: min(1080px, 100%); margin-top: 6vh; }
.gauge { margin: 0; padding: 26px 22px 22px; border-radius: 32px; background: linear-gradient(170deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); box-shadow: 0 0 0 1px var(--line) inset, var(--sh-deep); backdrop-filter: blur(10px); }
.gauge svg { width: 100%; max-width: 230px; display: block; margin: 0 auto; overflow: visible; }
.gauge__bg, .gauge__fg { fill: none; stroke-width: 12; stroke-linecap: round; }
.gauge__bg { stroke: rgba(255,255,255,.08); }
.gauge__knob { fill: #fff; filter: drop-shadow(0 0 8px rgba(255,255,255,.8)); }
.gauge figcaption { display: grid; justify-items: center; gap: 4px; margin-top: -42px; }
.gauge__name { font: 400 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.gauge__val { font-weight: 800; font-size: clamp(38px, 4.6vw, 70px); line-height: 1; letter-spacing: -.03em; font-variation-settings: 'wdth' 85; font-feature-settings: 'tnum'; }
.gauge__delta { padding: 6px 12px; border-radius: 999px; font: 600 13px/1 var(--f-mono); color: #0c1f15; background: linear-gradient(135deg, #8ff0c0, #3fb47e); box-shadow: 0 8px 20px -8px rgba(89,211,154,.7); }
.ledger { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(20px, 5vw, 80px); margin: 6vh 0 3vh; }
.ledger b { display: block; font-weight: 800; font-size: clamp(34px, 3.6vw, 60px); line-height: 1; font-variation-settings: 'wdth' 80; }
.ledger span { font: 400 10px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ledger div:first-child b { color: var(--signal); }
@media (max-width: 760px) { .gauges { grid-template-columns: 1fr; max-width: 340px; } .gauge { padding: 18px; } .ledger { grid-template-columns: repeat(2, auto); } }

/* ---------- 05 method ---------- */
.method { padding: 18vh var(--pad) 10vh; }
.method__head { margin-bottom: 10vh; }
.stack { display: grid; gap: 4vh; }
.card-step { position: sticky; top: calc(13vh + var(--i) * 26px); display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: clamp(20px, 4vw, 70px); align-items: start;
  min-height: 62vh; padding: clamp(28px, 4vw, 60px); border-radius: clamp(28px, 3vw, 48px);
  background: linear-gradient(155deg, #1d1a16 0%, #100f0d 60%), #100f0d; box-shadow: 0 0 0 1px var(--line) inset, 0 -30px 80px -20px rgba(0,0,0,.9); transform-origin: 50% 0; overflow: hidden; }
.card-step::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(201,164,92,.16), transparent 45%); pointer-events: none; }
.card-step::before { content: ''; position: absolute; inset: 0; z-index: 2; background: #050505; opacity: var(--dim, 0); pointer-events: none; border-radius: inherit; }
.card-step__num { font-weight: 900; font-size: clamp(110px, 17vw, 300px); line-height: .78; letter-spacing: -.06em; font-variation-settings: 'wdth' 62; color: transparent; -webkit-text-stroke: 1.5px rgba(243,215,154,.55);
  background: var(--g-gold); -webkit-background-clip: text; background-clip: text; background-size: 100% 0%; background-repeat: no-repeat; background-position: bottom; }
.card-step h3 { margin: 0 0 22px; font-weight: 800; font-size: clamp(44px, 5.4vw, 96px); line-height: .9; letter-spacing: -.035em; font-variation-settings: 'wdth' 90; }
.card-step p { margin: 0; max-width: 46ch; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.6; color: var(--mute); }
.card-step p em { color: var(--bone); }
.card-step ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.card-step li { padding: 10px 16px; border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px var(--line) inset; }
@media (max-width: 760px) { .card-step { grid-template-columns: 1fr; min-height: 0; } }

/* ---------- 06 opens ---------- */
.opens { overflow: hidden; }
.opens__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); }
.opens__line { font-weight: 800; font-size: clamp(44px, 8vw, 150px); line-height: .95; letter-spacing: -.04em; font-variation-settings: 'wdth' 72; }
.opens__lead { display: block; color: var(--mute); }
.opens__words { position: relative; display: block; height: 1.18em; overflow: hidden; perspective: 800px; }
.opens__w { position: absolute; left: 0; top: 0; white-space: nowrap; font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; transform-origin: 50% 50% -.4em; line-height: 1.1; }
.opens__w--gold { background: var(--g-gold); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }

/* ---------- 07 proof ---------- */
.proof { padding: 16vh var(--pad); }
.proof__head { text-align: center; margin-bottom: 10vh; }
.proof__head .mask > span { display: inline-block; }
.proof__wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.proof__col { display: grid; gap: 22px; will-change: transform; }
.proof__col:nth-child(2) { margin-top: 12vh; }
.chat, .scorecard, .quote { margin: 0; border-radius: 32px; box-shadow: 0 0 0 1px var(--line) inset, var(--sh-deep); overflow: hidden; }
.chat { padding: 26px; display: grid; gap: 8px; background: #f2f0ec; color: #111; }
.b { margin: 0; max-width: 85%; padding: 11px 16px; border-radius: 20px; font: 400 15px/1.35 -apple-system, 'Helvetica Neue', Arial, sans-serif; }
.b--me { justify-self: end; background: linear-gradient(180deg, #3a97ff, #1d7cf2); color: #fff; border-bottom-right-radius: 6px; }
.b--them { justify-self: start; background: #e3e1dd; border-bottom-left-radius: 6px; }
.chat figcaption { margin-top: 10px; font: 400 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #777; }
.scorecard { background: #fbfaf7; color: #121212; }
.scorecard header { display: flex; justify-content: space-between; padding: 16px 22px; background: linear-gradient(135deg, #1f3c9a, #11277a); color: #fff; font-size: 14px; }
.scorecard header span { font: 400 11px/1.6 var(--f-mono); opacity: .75; }
.scorecard__s { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 22px 10px; }
.scorecard__s small { display: block; font: 600 10px/1 var(--f-mono); letter-spacing: .2em; color: #8a1f3a; }
.scorecard__s b { display: block; margin: 8px 0 4px; font-weight: 600; font-size: 40px; letter-spacing: -.03em; }
.scorecard__s i { font-style: normal; font-size: 13px; color: #1d9a5b; font-weight: 600; }
.scorecard footer { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #e7e3dc; }
.scorecard footer span { padding: 14px 6px; text-align: center; font-size: 11px; color: #555; }
.scorecard footer b { display: block; font-size: 30px; color: #1d9a5b; font-weight: 600; }
.quote { padding: 34px 30px; background: linear-gradient(160deg, #1c1915, #0f0e0c); }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }
.quote figcaption { margin-top: 22px; font: 400 11px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.quote--gold { background: var(--g-gold); color: #1a1206; }
.quote--gold figcaption { color: rgba(26,18,6,.65); }
@media (max-width: 900px) { .proof__wall { grid-template-columns: 1fr; } .proof__col:nth-child(2) { margin-top: 0; } }

/* ---------- teaser ---------- */
.teaser { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 90px); align-items: center; padding: 14vh var(--pad); }
.teaser .h-display { font-size: clamp(40px, 5.2vw, 90px); margin-bottom: 26px; }
.teaser .pill { margin-top: 30px; }
.teaser__device { perspective: 1400px; }
.dev { border-radius: 30px; padding: 14px; background: linear-gradient(160deg, #24211c, #0e0d0b); box-shadow: 0 0 0 1px rgba(243,215,154,.18) inset, 0 60px 120px -40px rgba(0,0,0,.95), 0 0 80px -30px rgba(201,164,92,.35);
  transform: rotateY(-8deg) rotateX(5deg); transform-style: preserve-3d; transition: transform .8s var(--ease); }
.dev__bar { display: flex; align-items: center; gap: 7px; padding: 6px 10px 14px; }
.dev__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.dev__bar span { margin-left: 10px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.05); font: 400 11px/1 var(--f-mono); color: var(--mute); }
.dev__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dev__score { padding: 18px; border-radius: 22px; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--line) inset; }
.dev__score small { font: 400 10px/1 var(--f-mono); letter-spacing: .14em; color: var(--mute); text-transform: uppercase; }
.dev__score b { display: block; margin: 8px 0 4px; font-weight: 800; font-size: clamp(28px, 3vw, 46px); letter-spacing: -.03em; }
.dev__score em { font-family: var(--f-mono); font-style: normal; font-size: 11px; color: var(--signal); }
.dev__chart { grid-column: 1 / -1; height: 110px; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.03); box-shadow: 0 0 0 1px var(--line) inset; }
.dev__chart svg { width: 100%; height: 100%; }
.dev__rows { grid-column: 1 / -1; display: grid; gap: 6px; }
.dev__rows p { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 12px 16px; border-radius: 999px; background: rgba(255,255,255,.035); font-size: 13px; }
.dev__rows em { font-family: var(--f-mono); font-style: normal; font-size: 11px; padding: 5px 10px; border-radius: 999px; }
.dev__rows .ok { color: #0c1f15; background: linear-gradient(135deg, #8ff0c0, #3fb47e); }
.dev__rows .wait { color: var(--gold-hi); background: rgba(201,164,92,.14); }
@media (max-width: 900px) { .teaser { grid-template-columns: 1fr; } .dev { transform: none; } }

/* ---------- pricing ---------- */
.pricing { padding: 14vh var(--pad); }
.pricing__head { max-width: 900px; margin-bottom: 8vh; }
.pricing__head .lead { margin-top: 26px; }
.terms { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: t; }
.terms li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; counter-increment: t; }
.terms li::before { content: '0' counter(t); grid-row: span 2; font: 400 11px/1.9 var(--f-mono); color: var(--gold); }
.terms b { font-weight: 700; font-size: 15px; }
.terms span { font-size: 13px; color: var(--mute); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 38px 32px 32px; border-radius: 36px; background: linear-gradient(165deg, rgba(36,33,28,.94), rgba(14,13,11,.97));
  box-shadow: 0 0 0 1px var(--line) inset, var(--sh-deep); transition: transform var(--t-panel) var(--ease), box-shadow var(--t-panel); }
.plan:hover { transform: translateY(-4px); }
.plan h3 { margin: 0; font-weight: 700; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); font-variation-settings: 'wdth' 120; }
.plan__price { margin: 22px 0 8px; color: var(--mute); }
.plan__price b { font-weight: 800; font-size: clamp(60px, 6vw, 96px); letter-spacing: -.05em; color: var(--bone); font-variation-settings: 'wdth' 75; }
.plan__for { margin: 0 0 26px; line-height: 1.5; color: var(--mute); }
.plan ul { display: grid; gap: 12px; margin: 0 0 34px; padding: 0; list-style: none; }
.plan li { display: flex; gap: 12px; font-size: 15px; }
.plan li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--g-gold); box-shadow: 0 0 0 4px rgba(201,164,92,.12); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9'/%3E%3C/svg%3E"); }
.plan .pill { margin-top: auto; }
.plan--hero { background: linear-gradient(165deg, #2a2418, #120f0a); box-shadow: 0 0 0 1px rgba(243,215,154,.45) inset, 0 50px 100px -30px rgba(201,164,92,.35), var(--sh-deep); }
.plan__tag { position: absolute; top: 22px; right: 22px; padding: 7px 14px; border-radius: 999px; font: 600 10px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: #1a1206; background: var(--g-gold); box-shadow: var(--sh-gold); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6vw; padding: 12vh var(--pad); }
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: 30px; background: rgba(255,255,255,.035); box-shadow: 0 0 0 1px var(--line) inset; transition: background .4s; }
.faq details[open] { background: rgba(201,164,92,.07); box-shadow: 0 0 0 1px rgba(201,164,92,.3) inset; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; font-weight: 600; font-size: clamp(17px, 1.4vw, 21px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 34px; height: 34px; border-radius: 999px; background: var(--g-glass); box-shadow: 0 0 0 1px var(--line) inset; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 11px; right: 11px; top: 16.5px; height: 1.5px; background: var(--gold-hi); transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: 0; padding: 0 28px 26px; max-width: 62ch; line-height: 1.65; color: var(--mute); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* ---------- start ---------- */
.start { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center; padding: 14vh var(--pad) 16vh; }
.start__big { margin: 0; font-weight: 900; font-size: clamp(70px, 10.5vw, 200px); line-height: .82; letter-spacing: -.05em; font-variation-settings: 'wdth' 62; }
.start__serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--gold-hi); font-size: .78em; }
.start__title { align-self: stretch; display: flex; flex-direction: column; }
/* the surface the card lands on */
.start__ground { flex: 1; min-height: clamp(180px, 28vh, 320px); position: relative; }
.start__ground::after { content: ''; position: absolute; left: 4%; right: 4%; bottom: 22%; height: 1px; background: linear-gradient(90deg, transparent, rgba(243,215,154,.28), transparent); }
.lead-form { padding: clamp(26px, 3vw, 44px); border-radius: 40px; background: linear-gradient(165deg, rgba(36,33,28,.9), rgba(12,11,10,.94)); box-shadow: 0 0 0 1px rgba(243,215,154,.16) inset, var(--sh-deep); }
.lead-form__intro { margin: 0 0 26px; line-height: 1.55; color: var(--mute); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { position: relative; display: block; }
.field input, .field select, .field textarea { width: 100%; padding: 26px 22px 10px; border: 0; border-radius: 999px; font: 500 15px/1.3 var(--f-display); color: var(--bone);
  background: rgba(255,255,255,.045); box-shadow: 0 0 0 1px var(--line) inset, 0 2px 10px rgba(0,0,0,.25) inset; outline: none; transition: box-shadow .3s, background .3s; appearance: none; }
.field select { padding: 18px 22px; color: var(--mute); }
.field select:valid { color: var(--bone); }
.field select option { background: #15130f; color: var(--bone); }
.field--area { margin-top: 12px; }
.field textarea { border-radius: 28px; resize: vertical; min-height: 96px; padding-top: 30px; }
.field input:focus, .field select:focus, .field textarea:focus { background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px rgba(243,215,154,.6) inset, 0 0 0 5px rgba(201,164,92,.12); }
.field > span { position: absolute; left: 23px; top: 19px; font-size: 15px; color: var(--mute); pointer-events: none; transition: transform .35s var(--ease), font-size .35s var(--ease), color .3s; transform-origin: left; }
.field--area > span { top: 21px; }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-11px); font-size: 11px; color: var(--gold-hi); }
.field--select::after { content: '⌄'; position: absolute; right: 22px; top: 14px; color: var(--mute); pointer-events: none; }
.chips { border: 0; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 12px; font: 400 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 12px 18px; border-radius: 999px; font-size: 14px; background: rgba(255,255,255,.045); box-shadow: 0 0 0 1px var(--line) inset; transition: all .35s var(--ease); }
.chips input:checked + span { color: #1a1206; background: var(--g-gold); box-shadow: var(--sh-gold); }
.chips input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.lead-form .pill { margin-top: 22px; }
.form-msg { min-height: 1.4em; margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--gold-hi); }
.form-msg.is-err { color: #ff9a8f; }
@media (max-width: 900px) { .start { grid-template-columns: 1fr; } .fgrid { grid-template-columns: 1fr; } .start__ground { min-height: 34vw; } }

/* ---------- footer ---------- */
.foot { padding: 0 var(--pad) 40px; overflow: hidden; }
.foot__big { font-weight: 900; font-size: 34vw; line-height: .75; letter-spacing: -.07em; font-variation-settings: 'wdth' 125; text-align: center; color: transparent;
  background: linear-gradient(180deg, rgba(243,215,154,.4), rgba(243,215,154,0) 85%); -webkit-background-clip: text; background-clip: text; margin: 0 -2vw; user-select: none; }
.foot__grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 40px; padding-top: 40px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--mute); }
.foot__grid a { display: block; padding: 2px 0; transition: color .3s; }
.foot__grid a:hover { color: var(--gold-hi); }
.foot__h { margin: 0 0 12px; font: 400 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--bone); }
.foot__legal p:last-child { font-size: 12px; }
.foot__copy { margin: 40px 0 0; font: 400 11px/1.5 var(--f-mono); color: rgba(241,235,224,.35); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__scroll i { animation: none; }
  .file__text .w { opacity: 1 !important; }
  .strike { --s: 1; }
  .js:not(.motion-ready) .hero__title .ln__in, .js:not(.motion-ready) .hero__serif > span, .js:not(.motion-ready) .hero__foot > *, .js:not(.motion-ready) .hero__eyebrow { transform: none; opacity: 1; animation: none; }
  .pill, .plan, .st, .skip { transition: none; }
  .menu { transition: none; }
  .opens__w { position: static; transform: none; display: block; }
  .opens__words { height: auto; }
}
