/* ============================================================
   ROCALDE — video.rocalde.com
   Premium dark cinematic landing — design system + styles
   ============================================================ */

/* ---------- Tokens ---------- */
:root{
  /* surfaces */
  --bg:        #07080B;
  --bg-1:      #0A0C11;
  --surface:   #0E1117;
  --surface-2: #141824;
  --surface-3: #1A2030;

  /* lines */
  --line:        rgba(255,255,255,.07);
  --line-2:      rgba(255,255,255,.12);
  --line-warm:   rgba(242,103,31,.22);

  /* ink */
  --ink:       #F4F2EE;
  --ink-dim:   #A7ADB7;
  --ink-faint: #646B77;
  --ink-ghost: #383E48;

  /* brand */
  --orange:        #F2671F;
  --orange-bright: #FF7E33;
  --amber:         #FDB913;
  --ember:         #E8412A;
  --steel:         #2C4A5E;
  --steel-2:       #3C5F76;
  --steel-ink:     #6F9BB6;

  /* effects (tweakable) */
  --accent: 1;                 /* accent/glow intensity multiplier */
  --glow:   rgba(242,103,31, calc(.5 * var(--accent)));
  --glow-soft: rgba(242,103,31, calc(.16 * var(--accent)));

  /* type */
  --f-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;
  --f-serif:   'Instrument Serif', Georgia, serif;

  /* rhythm */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(88px, 12vw, 176px);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--f-display);
  font-weight:400;
  line-height:1.5;
  letter-spacing:-.01em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:clip;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
::selection{ background:var(--orange); color:#0a0a0a; }

/* ---------- Layout helpers ---------- */
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.section{ position:relative; padding-block:var(--section-y); }
.eyebrow{
  font-family:var(--f-mono);
  font-size:12px; font-weight:500;
  letter-spacing:.28em; text-transform:uppercase;
  color:var(--ink-faint);
  display:inline-flex; align-items:center; gap:12px;
}
.eyebrow::before{
  content:""; width:26px; height:1px; background:var(--orange);
  box-shadow:0 0 12px var(--glow);
}
.eyebrow.no-tick::before{ display:none; }
.serif{ font-family:var(--f-serif); font-style:italic; font-weight:400; letter-spacing:0; }
.amber{ color:var(--amber); }
.org{ color:var(--orange); }

/* faceted hairline used as section divider */
.facet-rule{ height:1px; width:100%; background:
   linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent); }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in{ opacity:1; transform:none; }
.reveal[data-d="1"]{ transition-delay:.08s }
.reveal[data-d="2"]{ transition-delay:.16s }
.reveal[data-d="3"]{ transition-delay:.24s }
.reveal[data-d="4"]{ transition-delay:.32s }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1!important; transform:none!important; } }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:60;
  display:flex; align-items:center; justify-content:center;
  padding:14px var(--gutter);
  transition:padding .4s var(--ease), background .4s var(--ease);
}
.nav-inner{
  width:100%; max-width:var(--maxw);
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{ display:flex; align-items:center; }
.brand img{
  width:165px; height:auto;
}
.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{
  font-family:var(--f-mono); font-size:12.5px; letter-spacing:.04em; color:var(--ink-dim);
  transition:color .25s var(--ease); position:relative;
}
.nav-links a:hover{ color:var(--ink); }
.nav-cta{
  font-family:var(--f-display); font-weight:600; font-size:13.5px; letter-spacing:-.01em;
  color:#0b0b0b; background:var(--ink);
  padding:11px 20px; border-radius:999px; border:0;
  display:inline-flex; align-items:center; gap:8px;
  transition:transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav-cta:hover{ background:var(--orange); color:#0b0b0b; transform:translateY(-1px); box-shadow:0 8px 28px var(--glow); }
.nav-cta svg{ width:14px; height:14px; }
.nav.scrolled{
  background:rgba(7,8,11,.72);
  backdrop-filter:blur(16px) saturate(120%);
  -webkit-backdrop-filter:blur(16px) saturate(120%);
  border-bottom:1px solid var(--line);
}
.nav-burger{ display:none; background:none; border:1px solid var(--line-2); border-radius:8px; width:42px; height:38px; color:var(--ink); align-items:center; justify-content:center; }
.nav-burger svg{ width:18px; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative; min-height:100svh; display:flex; align-items:center;
  padding-top:120px; overflow:hidden; isolation:isolate;
}
.hero-canvas{ position:absolute; inset:0; z-index:-3; width:100%; height:100%; }
/* radial ground darkening */
.hero::after{
  content:""; position:absolute; inset:0; z-index:-2; pointer-events:none;
  background:
    radial-gradient(120% 90% at 78% 64%, transparent 0%, rgba(7,8,11,.18) 42%, var(--bg) 86%),
    linear-gradient(180deg, rgba(7,8,11,.55), transparent 22%, transparent 60%, var(--bg) 100%);
}
/* cursor-reveal schematic layer */
.hero-schematic{
  position:absolute; inset:0; z-index:-1; pointer-events:none;
  opacity:.9;
  -webkit-mask:radial-gradient(220px 220px at var(--mx,80%) var(--my,40%), #000 0%, rgba(0,0,0,.35) 45%, transparent 70%);
          mask:radial-gradient(220px 220px at var(--mx,80%) var(--my,40%), #000 0%, rgba(0,0,0,.35) 45%, transparent 70%);
  transition:opacity .5s var(--ease);
}
.hero-schematic svg{ width:100%; height:100%; }
.reduce-motion .hero-schematic{
  -webkit-mask:radial-gradient(280px 280px at 80% 42%, #000 0%, transparent 72%);
          mask:radial-gradient(280px 280px at 80% 42%, #000 0%, transparent 72%);
}

.hero-grid{ position:relative; z-index:2; display:grid; grid-template-columns:minmax(0,1fr); gap:40px; align-items:center; }
.hero-tag{ margin:0 0 26px; }
.hero h1{
  font-size:clamp(40px, 6.6vw, 92px);
  font-weight:600; line-height:.98; letter-spacing:-.03em; margin:0;
  max-width:16ch; text-wrap:balance;
}
.hero h1 .muted{ color:var(--ink-dim); }
.hero h1 em{ color:var(--orange); font-style:normal; }
.hero-sub{
  margin:30px 0 0; max-width:58ch;
  color:var(--ink-dim); font-size:clamp(15px,1.35vw,18.5px); line-height:1.62; letter-spacing:-.005em;
}
.hero-sub b{ color:var(--ink); font-weight:500; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; margin-top:40px; align-items:center; }

/* buttons */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:600; font-size:15px; letter-spacing:-.01em;
  padding:15px 26px; border-radius:999px; border:1px solid transparent;
  transition:transform .3s var(--ease), background .3s var(--ease), box-shadow .35s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn svg{ width:16px; height:16px; transition:transform .3s var(--ease); }
.btn-primary{ background:var(--orange); color:#0b0a08; box-shadow:0 10px 30px -8px var(--glow); }
.btn-primary:hover{ background:var(--orange-bright); transform:translateY(-2px); box-shadow:0 16px 42px -8px var(--glow); }
.btn-primary:hover svg{ transform:translate(3px,-3px); }
.btn-ghost{ background:rgba(255,255,255,.03); color:var(--ink); border-color:var(--line-2); backdrop-filter:blur(6px); }
.btn-ghost:hover{ border-color:var(--steel-ink); background:rgba(111,155,182,.08); transform:translateY(-2px); }
.btn-ghost .play{ width:22px;height:22px;border-radius:999px;background:var(--orange);display:inline-flex;align-items:center;justify-content:center; box-shadow:0 0 16px var(--glow); }
.btn-ghost .play svg{ width:9px;height:9px; color:#0b0a08; transform:translateX(.5px); }

.hero-meta{
  display:flex; flex-wrap:wrap; gap:30px 44px; margin-top:54px;
  padding-top:30px; border-top:1px solid var(--line);
  max-width:760px;
}
.hero-meta div{ display:flex; flex-direction:column; gap:6px; }
.hero-meta .k{ font-family:var(--f-mono); font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--ink-faint); }
.hero-meta .v{ font-size:15px; color:var(--ink-dim); letter-spacing:-.01em; }
.hero-meta .v b{ color:var(--ink); font-weight:600; }
.scroll-hint{
  position:absolute; left:var(--gutter); bottom:26px; z-index:3;
  font-family:var(--f-mono); font-size:10.5px; letter-spacing:.26em; text-transform:uppercase; color:var(--ink-faint);
  display:flex; align-items:center; gap:12px;
}
.scroll-hint .ln{ width:1px; height:34px; background:linear-gradient(var(--orange),transparent); display:block; }

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.s-head{ display:grid; grid-template-columns:1fr; gap:22px; max-width:var(--maxw); }
.s-head h2{
  font-size:clamp(28px,4.3vw,56px); font-weight:600; line-height:1.04; letter-spacing:-.025em; margin:0;
  max-width:20ch; text-wrap:balance;
}
.s-head h2 .muted{ color:var(--ink-dim); }
.s-head h2 em{ color:var(--orange); font-style:normal; }
.s-head p{ color:var(--ink-dim); font-size:clamp(15px,1.2vw,17px); line-height:1.6; max-width:52ch; margin:0; }
.s-head.split{ grid-template-columns:1.1fr .9fr; align-items:end; gap:40px; }
@media (max-width:860px){ .s-head.split{ grid-template-columns:1fr; align-items:start; } }

/* ============================================================
   2 — PROBLEM (interactive editorial list)
   ============================================================ */
.problem-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(28px,5vw,72px); margin-top:64px; align-items:start; }
@media (max-width:960px){ .problem-grid{ grid-template-columns:1fr; } }

.symptoms{ border-top:1px solid var(--line); }
.symptom{
  position:relative; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:22px;
  padding:26px 8px 26px 4px; border-bottom:1px solid var(--line);
  cursor:default; transition:padding-left .4s var(--ease), background .4s var(--ease);
}
.symptom::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:2px; background:var(--orange);
  transform:scaleY(0); transform-origin:top; transition:transform .45s var(--ease); box-shadow:0 0 14px var(--glow);
}
.symptom .num{ font-family:var(--f-mono); font-size:12px; color:var(--ink-faint); letter-spacing:.08em; transition:color .35s var(--ease); width:24px; }
.symptom .txt{ font-size:clamp(17px,2vw,23px); font-weight:500; letter-spacing:-.015em; color:var(--ink-dim); transition:color .35s var(--ease), transform .45s var(--ease); }
.symptom .chev{ width:20px; height:20px; color:var(--ink-ghost); transition:color .35s var(--ease), transform .35s var(--ease); }
.symptom.active{ background:linear-gradient(90deg, rgba(242,103,31,.05), transparent 60%); padding-left:22px; }
.symptom.active::before{ transform:scaleY(1); }
.symptom.active .num{ color:var(--orange); }
.symptom.active .txt{ color:var(--ink); }
.symptom.active .chev{ color:var(--orange); transform:rotate(45deg); }

/* side card */
.symptom-card-wrap{ position:sticky; top:120px; }
.symptom-card{
  position:relative; border:1px solid var(--line-2); border-radius:18px; padding:30px;
  background:linear-gradient(165deg, var(--surface-2), var(--surface));
  min-height:300px; overflow:hidden;
}
.symptom-card::before{
  content:""; position:absolute; right:-40%; top:-40%; width:80%; height:80%;
  background:radial-gradient(circle, var(--glow-soft), transparent 70%); pointer-events:none;
}
.symptom-card .scard{ display:none; }
.symptom-card .scard.show{ display:block; animation:fade .5s var(--ease-out); }
@keyframes fade{ from{ opacity:0; transform:translateY(10px);} to{ opacity:1; transform:none;} }
.scard .scard-num{ font-family:var(--f-mono); font-size:13px; letter-spacing:.2em; color:var(--orange); }
.scard h4{ font-size:22px; font-weight:600; letter-spacing:-.02em; margin:18px 0 14px; line-height:1.15; }
.scard p{ color:var(--ink-dim); font-size:15px; line-height:1.62; margin:0; }
.scard .scard-tag{ margin-top:26px; display:inline-flex; align-items:center; gap:9px; font-family:var(--f-mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-faint); padding-top:18px; border-top:1px solid var(--line); width:100%; }
.scard .scard-tag b{ color:var(--steel-ink); font-weight:500; }

.problem-kicker{
  margin-top:60px; padding:34px; border:1px solid var(--line-warm); border-radius:16px;
  background:linear-gradient(120deg, rgba(242,103,31,.06), transparent 70%);
  display:flex; gap:24px; align-items:center; flex-wrap:wrap; justify-content:space-between;
}
.problem-kicker p{ margin:0; font-size:clamp(16px,1.8vw,21px); font-weight:500; letter-spacing:-.015em; max-width:62ch; }
.problem-kicker p .org{ font-family:var(--f-serif); font-style:italic; }

/* ============================================================
   3 — REFRAME (route)
   ============================================================ */
.reframe{ background:linear-gradient(180deg, transparent, rgba(44,74,94,.06) 50%, transparent); }
.route{ margin-top:70px; display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; border:1px solid var(--line); border-radius:18px; overflow:hidden; background:var(--surface); }
@media (max-width:780px){ .route{ grid-template-columns:1fr 1fr; } }
.route-step{ position:relative; padding:38px 28px 44px; border-right:1px solid var(--line); transition:background .45s var(--ease); }
.route-step:last-child{ border-right:0; }
@media (max-width:780px){ .route-step:nth-child(2n){ border-right:0; } .route-step:nth-child(-n+2){ border-bottom:1px solid var(--line);} }
.route-step:hover{ background:var(--surface-2); }
.route-step .rnum{ font-family:var(--f-mono); font-size:11.5px; letter-spacing:.2em; color:var(--ink-faint); }
.route-step .ricon{ width:46px;height:46px;border-radius:12px;border:1px solid var(--line-2);display:flex;align-items:center;justify-content:center;margin:26px 0 22px; color:var(--steel-ink); transition:color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.route-step:hover .ricon{ color:var(--orange); border-color:var(--line-warm); box-shadow:0 0 0 1px var(--line-warm), 0 8px 24px -10px var(--glow); }
.route-step .ricon svg{ width:22px;height:22px; }
.route-step h4{ font-size:21px; font-weight:600; letter-spacing:-.02em; margin:0 0 10px; }
.route-step p{ margin:0; color:var(--ink-dim); font-size:14px; line-height:1.55; }
.route-step .arrow{ position:absolute; right:-11px; top:50%; transform:translateY(-50%); z-index:3; width:22px;height:22px;border-radius:999px;background:var(--bg);border:1px solid var(--line-2);display:flex;align-items:center;justify-content:center; color:var(--ink-faint); }
.route-step:last-child .arrow{ display:none; }
.route-step .arrow svg{ width:11px; }
@media (max-width:780px){ .route-step .arrow{ display:none; } }

/* ============================================================
   4 — VSL
   ============================================================ */
.vsl{ text-align:center; }
.vsl .s-head{ justify-items:center; text-align:center; }
.vsl .s-head h2{ margin-inline:auto; }
.vsl .s-head p{ margin-inline:auto; }
.vsl-stage{
  margin-top:58px; position:relative; border-radius:22px; padding:14px;
  background:linear-gradient(160deg, var(--surface-2), var(--surface));
  border:1px solid var(--line-2); box-shadow:0 40px 120px -40px rgba(0,0,0,.8);
}
.vsl-stage::before{
  content:""; position:absolute; inset:-1px; border-radius:22px; pointer-events:none;
  background:linear-gradient(120deg, transparent 30%, var(--line-warm), transparent 70%);
  -webkit-mask:linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite:xor; mask-composite:exclude; padding:1px; opacity:.8;
}
.vsl-player{ position:relative; aspect-ratio:16/9; border-radius:14px; overflow:hidden; }
.vsl-player image-slot{ position:absolute; inset:0; width:100%; height:100%; }
.vsl-frame{
  position:absolute; inset:0; z-index:2; display:flex; align-items:center; justify-content:center; pointer-events:none;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(242,103,31,.06), transparent 70%),
    linear-gradient(180deg, rgba(7,8,11,.1), rgba(7,8,11,.55));
}
.vsl-play{
  width:88px; height:88px; border-radius:999px; background:var(--orange); color:#0b0a08;
  display:flex; align-items:center; justify-content:center; pointer-events:auto; border:0;
  box-shadow:0 0 0 10px rgba(242,103,31,.12), 0 20px 60px -12px var(--glow);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.vsl-play:hover{ transform:scale(1.06); box-shadow:0 0 0 14px rgba(242,103,31,.14), 0 24px 70px -12px var(--glow); }
.vsl-play svg{ width:30px; height:30px; transform:translateX(2px); }
.vsl-ui{ position:absolute; left:0; right:0; bottom:0; z-index:3; display:flex; align-items:center; gap:14px; padding:18px 22px; pointer-events:none; }
.vsl-ui .bar{ flex:1; height:3px; border-radius:2px; background:rgba(255,255,255,.16); overflow:hidden; }
.vsl-ui .bar i{ display:block; width:22%; height:100%; background:var(--orange); box-shadow:0 0 10px var(--glow); }
.vsl-ui .t{ font-family:var(--f-mono); font-size:11px; color:var(--ink-dim); letter-spacing:.05em; }
.vsl-ui .badge{ font-family:var(--f-mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink); background:rgba(7,8,11,.6); border:1px solid var(--line-2); padding:5px 10px; border-radius:6px; }
.vsl-cap{ margin-top:26px; display:flex; gap:26px; justify-content:center; flex-wrap:wrap; }
.vsl-cap span{ font-family:var(--f-mono); font-size:12px; letter-spacing:.04em; color:var(--ink-faint); display:inline-flex; gap:9px; align-items:center; }
.vsl-cap span b{ color:var(--steel-ink); font-weight:500; }
.vsl-cap .dot{ width:5px;height:5px;border-radius:999px;background:var(--orange); box-shadow:0 0 8px var(--glow); }

/* ============================================================
   5 — HOW IT WORKS (blueprint stage cards)
   ============================================================ */
.stages{ margin-top:64px; display:flex; flex-direction:column; gap:22px; }
.stage{
  position:relative; display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); align-items:stretch;
  border:1px solid var(--line); border-radius:20px; overflow:hidden; background:var(--surface);
  transition:border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.stage:hover{ border-color:var(--line-warm); transform:translateY(-3px); box-shadow:0 30px 80px -50px rgba(0,0,0,.9); }
.stage:nth-child(even){ grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); }
.stage:nth-child(even) .stage-vis{ order:2; }
@media (max-width:820px){ .stage,.stage:nth-child(even){ grid-template-columns:1fr; } .stage:nth-child(even) .stage-vis{ order:0; } }

.stage-vis{
  position:relative; min-height:300px; display:flex; align-items:center; justify-content:center;
  background:
    radial-gradient(80% 80% at 50% 45%, rgba(44,74,94,.16), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 34px),
    var(--bg-1);
  border-right:1px solid var(--line);
  overflow:hidden;
}
.stage:nth-child(even) .stage-vis{ border-right:0; border-left:1px solid var(--line); }
@media (max-width:820px){ .stage-vis{ border-right:0!important; border-left:0!important; border-bottom:1px solid var(--line); min-height:240px; } }
.stage-vis::after{ /* corner crop marks */
  content:""; position:absolute; inset:18px; border:1px solid rgba(255,255,255,.05); pointer-events:none;
  -webkit-mask:
    linear-gradient(#000 0 0) left top/16px 1px no-repeat, linear-gradient(#000 0 0) left top/1px 16px no-repeat,
    linear-gradient(#000 0 0) right top/16px 1px no-repeat, linear-gradient(#000 0 0) right top/1px 16px no-repeat,
    linear-gradient(#000 0 0) left bottom/16px 1px no-repeat, linear-gradient(#000 0 0) left bottom/1px 16px no-repeat,
    linear-gradient(#000 0 0) right bottom/16px 1px no-repeat, linear-gradient(#000 0 0) right bottom/1px 16px no-repeat;
}
.stage-slot{ position:relative; z-index:2; width:min(74%, 280px); aspect-ratio:1/1; }
.stage-slot image-slot{ width:100%; height:100%; }
.blueprint-tag{ position:absolute; left:18px; bottom:14px; z-index:3; font-family:var(--f-mono); font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:var(--ink-faint); display:flex; align-items:center; gap:8px; }
.blueprint-tag .dot{ width:5px;height:5px;border-radius:999px;background:var(--steel-ink); }

.stage-body{ padding:clamp(28px,3.5vw,52px); display:flex; flex-direction:column; justify-content:center; }
.stage-body .sidx{ font-family:var(--f-mono); font-size:12px; letter-spacing:.18em; color:var(--orange); }
.stage-body h3{ font-size:clamp(24px,2.8vw,34px); font-weight:600; letter-spacing:-.025em; margin:20px 0 14px; line-height:1.05; }
.stage-body p{ margin:0; color:var(--ink-dim); font-size:15.5px; line-height:1.62; max-width:46ch; }
.stage-feats{ list-style:none; padding:0; margin:26px 0 0; display:flex; flex-wrap:wrap; gap:10px; }
.stage-feats li{ font-family:var(--f-mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-dim); border:1px solid var(--line-2); border-radius:999px; padding:7px 13px; }

/* ============================================================
   6 / 7 — FOR / NOT FOR
   ============================================================ */
.fit-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:60px; }
@media (max-width:860px){ .fit-grid{ grid-template-columns:1fr; } }
.fit-card{ border:1px solid var(--line); border-radius:20px; padding:clamp(28px,3vw,40px); background:var(--surface); position:relative; overflow:hidden; }
.fit-card.yes{ background:linear-gradient(165deg, rgba(242,103,31,.05), var(--surface) 55%); border-color:var(--line-warm); }
.fit-card .fit-head{ display:flex; align-items:center; gap:14px; margin-bottom:8px; }
.fit-card .fit-ic{ width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line-2); }
.fit-card.yes .fit-ic{ color:var(--orange); border-color:var(--line-warm); }
.fit-card.no .fit-ic{ color:var(--ink-faint); }
.fit-card .fit-ic svg{ width:18px; }
.fit-card h3{ font-size:13px; font-family:var(--f-mono); letter-spacing:.16em; text-transform:uppercase; font-weight:500; margin:0; color:var(--ink-dim); }
.fit-card .fit-lead{ font-size:clamp(18px,2vw,23px); font-weight:500; letter-spacing:-.02em; margin:18px 0 26px; line-height:1.25; }
.fit-list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; }
.fit-list li{ display:flex; gap:14px; align-items:flex-start; padding:15px 0; border-top:1px solid var(--line); color:var(--ink-dim); font-size:15px; line-height:1.45; }
.fit-list li .mk{ flex:none; margin-top:3px; width:16px; height:16px; }
.fit-card.yes .fit-list li .mk{ color:var(--orange); }
.fit-card.no .fit-list li .mk{ color:var(--ink-ghost); }
.fit-card.no .fit-list li{ color:var(--ink-faint); }

/* ============================================================
   8 — WHAT'S INCLUDED (stacked layers)
   ============================================================ */
.incl-head{ display:grid; grid-template-columns:1.2fr .8fr; gap:40px; align-items:end; }
@media (max-width:860px){ .incl-head{ grid-template-columns:1fr; } }
.incl-head h2 .serif{ color:var(--orange); }
.layers{ margin-top:60px; display:flex; flex-direction:column; gap:14px; }
.layer{
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:24px;
  padding:24px clamp(22px,2.5vw,34px); border:1px solid var(--line); border-radius:14px; background:var(--surface);
  transition:transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.layer:hover{ transform:translateX(6px); border-color:var(--line-warm); background:var(--surface-2); }
.layer .lnum{ font-family:var(--f-mono); font-size:12px; color:var(--ink-faint); letter-spacing:.1em; }
.layer .lbody{ display:flex; flex-direction:column; gap:5px; }
.layer .lbody b{ font-size:clamp(16px,1.8vw,20px); font-weight:600; letter-spacing:-.02em; }
.layer .lbody span{ color:var(--ink-dim); font-size:14px; }
.layer .ltag{ font-family:var(--f-mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--steel-ink); border:1px solid var(--line-2); border-radius:999px; padding:6px 12px; white-space:nowrap; }
.layer.opt{ border-style:dashed; background:transparent; }
.layer.opt .ltag{ color:var(--ink-faint); }
.layer.opt .lbody b{ color:var(--ink-dim); }
.layers-note{ margin-top:24px; font-family:var(--f-mono); font-size:12px; letter-spacing:.04em; color:var(--ink-faint); display:flex; align-items:center; gap:10px; }
.layers-note .dot{ width:6px;height:6px;border-radius:999px;background:var(--orange); box-shadow:0 0 8px var(--glow);}

/* ============================================================
   9 — FINAL CTA
   ============================================================ */
.final{ position:relative; overflow:hidden; }
.final-card{
  position:relative; border:1px solid var(--line-2); border-radius:26px; overflow:hidden;
  padding:clamp(40px,7vw,96px) clamp(28px,5vw,80px);
  background:linear-gradient(160deg, var(--surface-2), var(--surface));
  text-align:center;
}
.final-card::before{ content:""; position:absolute; left:50%; top:-30%; width:120%; height:120%; transform:translateX(-50%);
  background:radial-gradient(40% 40% at 50% 40%, var(--glow-soft), transparent 70%); pointer-events:none; }
.final-card .eyebrow{ margin-bottom:28px; }
.final-card h2{ font-size:clamp(30px,5vw,64px); font-weight:600; letter-spacing:-.03em; line-height:1.02; margin:0 auto; max-width:18ch; text-wrap:balance; position:relative; }
.final-card h2 em{ color:var(--orange); font-style:normal; }
.final-actions{ margin-top:42px; display:flex; gap:16px; justify-content:center; flex-wrap:wrap; position:relative; }
.final-micro{ margin-top:30px; color:var(--ink-faint); font-size:14px; max-width:54ch; margin-inline:auto; line-height:1.55; position:relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot{ border-top:1px solid var(--line); padding-block:64px 40px; }
.foot-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; }
@media (max-width:760px){ .foot-top{ grid-template-columns:1fr; gap:34px; } }
.foot-brand img{ width:110px; height:auto; margin-bottom:18px; }
.foot-brand p{ color:var(--ink-dim); font-size:14px; line-height:1.6; max-width:38ch; margin:0; }
.foot-brand p .serif{ color:var(--ink); }
.foot-col h5{ font-family:var(--f-mono); font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--ink-faint); margin:0 0 18px; font-weight:500; }
.foot-col a, .foot-col span{ display:block; color:var(--ink-dim); font-size:14.5px; margin-bottom:13px; transition:color .25s var(--ease); }
.foot-col a:hover{ color:var(--orange); }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-top:54px; padding-top:24px; border-top:1px solid var(--line); }
.foot-bottom small{ font-family:var(--f-mono); font-size:11px; letter-spacing:.08em; color:var(--ink-faint); }

/* ============================================================
   Mobile nav drawer
   ============================================================ */
@media (max-width:860px){
  .brand img{ width:120px; }
  .nav{ padding-block:10px; }
  .nav-links{ display:none; }
  .nav .nav-cta{ display:none; }
  .nav-burger{ display:flex; }
  .nav.open .nav-links{
    display:flex; position:fixed; inset:60px var(--gutter) auto var(--gutter); flex-direction:column; gap:0;
    background:rgba(10,12,17,.96); backdrop-filter:blur(18px); border:1px solid var(--line-2); border-radius:16px; padding:8px; z-index:70;
  }
  .nav.open .nav-links a{ padding:15px 16px; border-bottom:1px solid var(--line); font-size:15px; }
  .nav.open .nav-links a:last-child{ border-bottom:0; }
}

/* ============================================================
   Small mobile — ≤480px (360–480px phones)
   ============================================================ */
@media (max-width:480px){
  .brand img{ width:105px; }
  .hero h1{ font-size:32px; line-height:1.07; }
  .hero-tag{ margin-bottom:18px; }
  .hero-sub{ font-size:14.5px; margin-top:20px; }
  .hero-actions{ margin-top:28px; gap:12px; }
  .hero-actions .btn{ padding:12px 20px; font-size:14px; }
  .hero-meta{ margin-top:36px; padding-top:22px; gap:14px 22px; }
}

/* ============================================================
   Tweaks panel
   ============================================================ */
#tweaks{ position:fixed; right:18px; bottom:18px; z-index:90; font-family:var(--f-mono); }
#tweaks.hidden{ display:none; }
.tw-toggle{ width:46px;height:46px;border-radius:12px; background:var(--surface-2); border:1px solid var(--line-2); color:var(--ink); display:flex;align-items:center;justify-content:center; box-shadow:0 10px 30px -10px rgba(0,0,0,.8); }
.tw-toggle svg{ width:20px; }
.tw-panel{ position:absolute; right:0; bottom:58px; width:280px; background:rgba(12,14,20,.96); backdrop-filter:blur(20px); border:1px solid var(--line-2); border-radius:16px; padding:18px; box-shadow:0 30px 80px -30px rgba(0,0,0,.9); display:none; }
.tw-panel.open{ display:block; }
.tw-panel h6{ font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--ink-faint); margin:0 0 16px; font-weight:500; }
.tw-row{ margin-bottom:18px; }
.tw-row label{ font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-dim); display:block; margin-bottom:9px; }
.tw-seg{ display:flex; gap:5px; }
.tw-seg button{ flex:1; padding:8px 6px; font-size:11px; font-family:var(--f-mono); letter-spacing:.04em; background:var(--surface); border:1px solid var(--line-2); color:var(--ink-dim); border-radius:8px; transition:all .25s var(--ease); }
.tw-seg button.on{ background:var(--orange); border-color:var(--orange); color:#0b0a08; }
.tw-range{ width:100%; accent-color:var(--orange); }
.tw-swatches{ display:flex; gap:8px; }
.tw-swatches button{ width:30px;height:30px;border-radius:8px;border:2px solid transparent; }
.tw-swatches button.on{ border-color:var(--ink); }

/* ============================================================
   Blueprint motifs (How it works stage illustrations)
   ============================================================ */
.stage-bp{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.stage-bp svg{ width:100%; height:100%; overflow:visible; }
.bp-orbit{ transform-origin:120px 120px; animation:bpspin 30s linear infinite; }
.bp-orbit.rev{ animation-duration:46s; animation-direction:reverse; }
@keyframes bpspin{ to{ transform:rotate(360deg); } }
.reduce-motion .bp-orbit{ animation:none; }
.bp-glow{ filter:blur(14px); opacity:calc(.55 * var(--accent)); }
.bp-line{ stroke:var(--steel-2); }
.bp-faint{ stroke:rgba(111,155,182,.28); }
.bp-amber{ stroke:var(--orange); }
.bp-node{ fill:var(--orange); }
.bp-snode{ fill:var(--steel-ink); }
.bp-label{ fill:var(--ink-faint); font-family:var(--f-mono); font-size:9px; letter-spacing:2px; }
.stage:hover .stage-bp .bp-amber{ stroke:var(--orange-bright); }

/* image-slot empty state made legible on dark (VSL poster) */
image-slot::part(frame){ background:rgba(111,155,182,.04); }
image-slot::part(empty){ color:var(--steel-ink); }

/* ============================================================
   MOTION PASS — cinematic refinements (additive)
   ============================================================ */

/* reveal: add a soft blur on entry + stagger */
.reveal{ filter:blur(6px);
  transition:opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); }
.reveal.in{ filter:blur(0); }
@media (prefers-reduced-motion: reduce){ .reveal{ filter:none!important; } }
.reduce-motion .reveal{ filter:none!important; }

/* nav link underline microinteraction */
.nav-links a::after{ content:""; position:absolute; left:0; right:0; bottom:-5px; height:1px;
  background:var(--orange); transform:scaleX(0); transform-origin:left;
  transition:transform .32s var(--ease); box-shadow:0 0 8px var(--glow); }
.nav-links a:hover::after{ transform:scaleX(1); }
.nav-cta:active{ transform:translateY(0) scale(.98); }

/* hero cursor glow + parallax */
.hero-glow{ position:absolute; z-index:0; left:0; top:0; width:620px; height:620px;
  transform:translate(-50%,-50%); border-radius:50%; pointer-events:none; opacity:0;
  background:radial-gradient(circle, rgba(242,103,31,calc(.20*var(--accent))), transparent 62%);
  mix-blend-mode:screen; filter:blur(26px); transition:opacity .6s var(--ease); will-change:left,top; }
.hero:hover .hero-glow{ opacity:1; }
.hero-schematic{ transition:transform .3s var(--ease), opacity .5s var(--ease); will-change:transform; }
.hero-grid{ will-change:transform; }
.reduce-motion .hero-glow{ display:none; }

/* problem: richer hover */
.symptom .txt{ will-change:transform; }
.symptom:hover:not(.active){ background:rgba(255,255,255,.022); }
.symptom:hover:not(.active) .txt{ color:var(--ink); transform:translateX(5px); }
.symptom:hover:not(.active) .num{ color:var(--steel-ink); }
.symptom:hover:not(.active) .chev{ color:var(--steel-ink); transform:translateX(3px); }
.symptom.active .txt{ transform:translateX(2px); }
.symptom-card{ transition:transform .5s var(--ease), border-color .5s var(--ease); }
.scard .scard-num{ position:relative; padding-left:0; }

/* reframe: animated connector + traveling pulse + staggered build */
.route-step{ opacity:0; transform:translateY(20px);
  transition:opacity .7s var(--ease-out), transform .7s var(--ease-out), background .45s var(--ease); }
.route.in .route-step{ opacity:1; transform:none; }
.route.in .route-step:nth-child(1){ transition-delay:.05s,.05s,0s; }
.route.in .route-step:nth-child(2){ transition-delay:.16s,.16s,0s; }
.route.in .route-step:nth-child(3){ transition-delay:.27s,.27s,0s; }
.route.in .route-step:nth-child(4){ transition-delay:.38s,.38s,0s; }
.route-step .ricon{ will-change:transform; }
.route.in .route-step .ricon{ animation:routeLight .7s var(--ease) both; }
.route.in .route-step:nth-child(1) .ricon{ animation-delay:.5s; }
.route.in .route-step:nth-child(2) .ricon{ animation-delay:.75s; }
.route.in .route-step:nth-child(3) .ricon{ animation-delay:1.0s; }
.route.in .route-step:nth-child(4) .ricon{ animation-delay:1.25s; }
@keyframes routeLight{ 0%{ box-shadow:0 0 0 0 var(--glow); } 40%{ box-shadow:0 0 0 1px var(--line-warm),0 10px 26px -8px var(--glow); border-color:var(--line-warm); color:var(--orange); } 100%{ box-shadow:none; } }
.route-step .arrow{ opacity:0; transition:opacity .5s var(--ease), transform .5s var(--ease-out); }
.route.in .route-step .arrow{ opacity:1; transition-delay:.7s; }
.route::before{ content:""; position:absolute; top:101px; left:12.5%; right:12.5%; height:1px; z-index:1;
  background:linear-gradient(90deg, var(--steel-2), var(--orange), var(--steel-2));
  transform:scaleX(0); transform-origin:left; opacity:0; pointer-events:none;
  transition:transform 1.1s var(--ease-out) .25s, opacity .5s var(--ease) .25s; }
.route.in::before{ transform:scaleX(1); opacity:.45; }
.route::after{ content:""; position:absolute; top:98px; left:12.5%; width:6px; height:6px; border-radius:50%; z-index:2;
  background:var(--orange); box-shadow:0 0 12px 2px var(--glow); opacity:0; pointer-events:none; }
.route.in::after{ animation:routePulse 3.6s var(--ease) 1.3s infinite; }
@keyframes routePulse{ 0%{ left:12.5%; opacity:0; } 8%{ opacity:1; } 92%{ opacity:1; } 100%{ left:87.5%; opacity:0; } }
@media (max-width:780px){ .route::before, .route::after{ display:none; } }
.reduce-motion .route.in::after{ animation:none; }
.reduce-motion .route.in .route-step .ricon{ animation:none; }

/* VSL: breathing aura + scanlines + depth + play pulse */
.vsl .wrap{ position:relative; }
.vsl-aura{ position:absolute; left:50%; top:62%; width:72%; height:62%; transform:translate(-50%,-50%);
  background:radial-gradient(closest-side, var(--glow-soft), transparent 72%); filter:blur(46px);
  opacity:.6; pointer-events:none; z-index:0; animation:auraPulse 7.5s ease-in-out infinite; }
@keyframes auraPulse{ 0%,100%{ opacity:.4; transform:translate(-50%,-50%) scale(.94); } 50%{ opacity:.78; transform:translate(-50%,-50%) scale(1.05); } }
.vsl-stage{ position:relative; z-index:1; }
.vsl-frame::after{ content:""; position:absolute; inset:0; pointer-events:none; opacity:.4;
  background:repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px); mix-blend-mode:multiply; }
.vsl-play{ position:relative; }
.vsl-play::before, .vsl-play::after{ content:""; position:absolute; inset:0; border-radius:999px;
  border:1.5px solid var(--orange); pointer-events:none; animation:vslPing 2.8s var(--ease-out) infinite; }
.vsl-play::after{ animation-delay:1.4s; }
@keyframes vslPing{ 0%{ transform:scale(1); opacity:.55; } 80%,100%{ transform:scale(1.85); opacity:0; } }
.reduce-motion .vsl-aura, .reduce-motion .vsl-play::before, .reduce-motion .vsl-play::after{ animation:none; }
.reduce-motion .vsl-play::before, .reduce-motion .vsl-play::after{ display:none; }

/* stages: blueprint boot-in + vertical assembly connectors */
.stage-vis .stage-bp{ opacity:0; transform:scale(.84);
  transition:opacity 1s var(--ease-out) .15s, transform 1.1s var(--ease-out) .15s; }
.stage.in .stage-vis .stage-bp{ opacity:1; transform:none; }
.stage{ position:relative; }
.stage:not(:last-child)::after{ content:""; position:absolute; left:50%; bottom:-22px; width:1px; height:22px; z-index:2;
  background:linear-gradient(var(--steel-2), transparent); transform:translateX(-50%) scaleY(0); transform-origin:top;
  transition:transform .6s var(--ease-out) .35s; }
.stage.in:not(:last-child)::after{ transform:translateX(-50%) scaleY(1); }

/* generic card lift microinteractions already present; add active press */
.btn:active{ transform:translateY(0) scale(.98); }
.layer:active{ transform:translateX(6px) scale(.995); }
