/* FrameForge AI
   Layout: a letterboxed "screening room". Wide editorial headings, one 2.39:1 hero screen,
   hairline-ruled grids instead of rounded cards, mono labels borrowed from camera slates and timecode. */
:root {
  --ink: #07070a;          /* page black */
  --coal: #0f0f15;         /* raised surface */
  --coal-2: #16151e;
  --line: rgba(232, 228, 255, 0.10);
  --line-strong: rgba(232, 228, 255, 0.22);
  --text: #ecebf3;
  --muted: #a19fb2;
  --dim: #6e6c80;
  --violet: #9a7bff;
  --blue: #5b8cff;
  --ember: #ffae6b;
  --ember-deep: #ff7a4a;
  --grad: linear-gradient(100deg, var(--violet) 0%, var(--blue) 45%, var(--ember) 100%);

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --step-4: clamp(2.6rem, 1.4rem + 5.4vw, 6.4rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--ink); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.site-header.scrolled { background: rgba(7, 7, 10, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-size: 1.3rem; letter-spacing: 0.01em; }
.logo em { font-style: italic; color: var(--ember); }
.logo-mark { width: 30px; height: 30px; color: var(--text); }

.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.site-nav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.site-nav ul a { text-decoration: none; font-size: 0.9375rem; color: var(--muted); position: relative; padding-block: 6px; transition: color .25s; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav ul a:hover, .site-nav ul a:focus-visible { color: var(--text); }
.site-nav ul a:hover::after, .site-nav ul a:focus-visible::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); width: 44px; height: 44px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; margin-inline: auto; transition: transform .3s var(--ease), opacity .2s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font: 500 0.9375rem/1 var(--f-body); letter-spacing: 0.01em; text-decoration: none;
  color: var(--ink); background: var(--text);
  border: 1px solid var(--text); border-radius: 2px;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .35s var(--ease); }
.btn:hover { transform: translateY(-1px); border-color: transparent; }
.btn:hover::before { opacity: 1; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost::before { opacity: 0; background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { border-color: var(--text); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 8vw, 96px) clamp(56px, 8vw, 110px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -20% 0 auto; height: 900px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(50% 40% at 18% 20%, rgba(154, 123, 255, 0.16), transparent 70%),
    radial-gradient(40% 35% at 85% 55%, rgba(255, 174, 107, 0.10), transparent 70%),
    radial-gradient(45% 40% at 60% 10%, rgba(91, 140, 255, 0.10), transparent 70%);
}
.eyebrow, .kicker, .tag, .sc {
  font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.hero-title {
  margin-top: 22px;
  font-family: var(--f-display); font-size: var(--step-4); line-height: 0.98; letter-spacing: -0.02em; font-weight: 500;
  max-width: 14ch;
}
.hero-title em, .big-quote em {
  font-style: italic; font-weight: 400;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.06em;
}
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-top: 32px; }
.lede { max-width: 54ch; color: var(--muted); font-size: var(--step-1); line-height: 1.55; min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }

.hero-title, .eyebrow, .hero-foot { animation: rise 1s var(--ease) both; }
.hero-title { animation-delay: .08s; }
.hero-foot { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* the screen */
.screen {
  margin: clamp(40px, 6vw, 72px) 0 0;
  position: relative; aspect-ratio: 2.39 / 1; max-width: 100%;
  background: #050508;
  border: 1px solid var(--line);
  overflow: hidden;
  animation: rise 1.2s var(--ease) .3s both;
  box-shadow: 0 40px 120px -40px rgba(154, 123, 255, 0.35), 0 30px 80px -50px rgba(255, 140, 80, 0.35);
}
.screen canvas { width: 100%; height: 100%; }
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .10; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hud { position: absolute; inset: clamp(10px, 2vw, 22px); pointer-events: none; font-family: var(--f-mono); font-size: clamp(9px, 1vw, 12px); letter-spacing: .12em; text-transform: uppercase; color: rgba(236, 235, 243, .78); }
.hud .c { position: absolute; width: clamp(12px, 2vw, 22px); height: clamp(12px, 2vw, 22px); border: 0 solid rgba(236, 235, 243, .6); }
.hud .tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud .tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud .bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud .br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hud-t, .hud-b { position: absolute; display: inline-flex; align-items: center; gap: 8px; }
.hud-t { top: clamp(4px, 1vw, 10px); } .hud-b { bottom: clamp(4px, 1vw, 10px); }
.hud .l { left: clamp(18px, 3vw, 34px); } .hud .r { right: clamp(18px, 3vw, 34px); }
.hud-b.l { font-variant-numeric: tabular-nums; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--ember-deep); animation: pulse 1.6s steps(2) infinite; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section + .section { border-top: 1px solid var(--line); }
section[id] { scroll-margin-top: 72px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .kicker { grid-column: 1 / -1; }
.section-head h2 { font-family: var(--f-display); font-size: var(--step-3); line-height: 1.05; letter-spacing: -0.015em; }
.section-lede { color: var(--muted); max-width: 52ch; font-size: 1.0625rem; }
.kicker { display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--grad); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(22px, 3vw, 40px);
  display: grid; gap: 28px; align-content: start;
  position: relative; transition: background .5s var(--ease);
}
.feature::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.feature:hover { background: var(--coal); }
.feature:hover::after { transform: scaleX(1); }
.feature-text { display: grid; gap: 10px; }
.feature h3 { font-family: var(--f-display); font-size: var(--step-2); line-height: 1.15; }
.feature-text p:last-child { color: var(--muted); max-width: 40ch; }
.tag { color: var(--dim); font-size: 0.75rem; }

.feature-art { aspect-ratio: 16 / 7; max-width: 100%; position: relative; overflow: hidden; background: #0a0a10; border: 1px solid var(--line); }

/* video: filmstrip */
.art-video { display: flex; align-items: center; }
.strip {
  display: flex; gap: 8px; padding: 18px 10px; width: max-content;
  background:
    repeating-linear-gradient(90deg, rgba(236,235,243,.35) 0 8px, transparent 8px 18px) top 5px left 0 / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, rgba(236,235,243,.35) 0 8px, transparent 8px 18px) bottom 5px left 0 / 100% 6px no-repeat,
    #050507;
  transition: transform 1.2s var(--ease);
}
.strip span { width: clamp(90px, 12vw, 150px); aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.strip span::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #1a1036 0%, #4a2a6e 45%, #ff9a5c 72%, #241430 73%, #0b0910 100%); }
.strip span::after { content: ""; position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; left: 60%; background: radial-gradient(circle, #ffd1a1, #ff8a4c 60%, transparent 70%); }
.strip span:nth-child(1)::after { top: 70%; } .strip span:nth-child(2)::after { top: 58%; } .strip span:nth-child(3)::after { top: 46%; }
.strip span:nth-child(4)::after { top: 36%; } .strip span:nth-child(5)::after { top: 28%; } .strip span:nth-child(6)::after { top: 22%; }
.strip span:nth-child(n+4)::before { filter: hue-rotate(-18deg) saturate(1.2); }
.feature:hover .strip { transform: translateX(-22%); }

/* storyboard panels */
.art-board { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 1px; background: var(--line); }
.panel { background: #0b0b11; position: relative; display: grid; place-items: center; padding: 10px; }
.panel svg { width: 80%; fill: none; stroke: rgba(236,235,243,.55); stroke-width: 1.4; transition: stroke .4s; }
.panel b { position: absolute; left: 8px; bottom: 6px; font: 500 10px/1 var(--f-mono); letter-spacing: .12em; color: var(--dim); }
.panel.move svg { stroke: var(--ember); }
.feature:hover .panel svg { stroke: rgba(236,235,243,.9); }
.feature:hover .panel.move svg { stroke: var(--ember); }

/* character turnaround */
.art-char { display: grid; align-content: center; padding: 10px 0 0; background: radial-gradient(60% 80% at 50% 100%, rgba(154,123,255,.18), transparent 70%), #0a0a10; }
.turn { width: 100%; height: auto; }
.turn ellipse, .turn path:not(.guide) { fill: rgba(236,235,243,.06); stroke: rgba(236,235,243,.7); stroke-width: 1.2; transition: fill .5s; }
.turn .guide { stroke: rgba(154,123,255,.45); stroke-dasharray: 3 5; stroke-width: 1; fill: none; }
.feature:hover .turn ellipse, .feature:hover .turn path:not(.guide) { fill: rgba(154,123,255,.22); }
.turn-labels { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font: 500 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 8px 0 12px; }

/* asset contact sheet */
.art-assets { padding: 12px; }
.sheet { height: 100%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 6px; }
.sheet span { position: relative; display: flex; align-items: flex-end; padding: 8px; font: 500 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(236,235,243,.85); transition: transform .5s var(--ease); }
.sheet .a1 { background: linear-gradient(180deg, #23183f, #b8613b); }
.sheet .a2 { background: radial-gradient(circle at 50% 40%, #6c5a8e 0 18%, transparent 19%), #15131d; }
.sheet .a3 { background: linear-gradient(120deg, #2b2240 0 50%, #3a2b55 50%); }
.sheet .a4 { background: radial-gradient(70% 90% at 80% 0%, #ffcf9a, #ff8a4c 30%, #1a1220 75%); }
.sheet .a5 { background: linear-gradient(90deg, #0f0b1e 0 20%, #3b2a78 20% 40%, #5b8cff 40% 60%, #ff9a5c 60% 80%, #ffd7a8 80%); }
.sheet .a6 { background: repeating-linear-gradient(45deg, #1c1a26 0 4px, #24212f 4px 8px); }
.feature:hover .sheet span:nth-child(odd) { transform: translateY(-3px); }
.feature:hover .sheet span:nth-child(even) { transform: translateY(3px); }

/* ---------- Workflow ---------- */
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; counter-reset: s; }
.flow::before, .flow::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.flow::before { background: var(--line-strong); }
.flow::after { background: var(--grad); transform: scaleX(var(--p, 1)); transform-origin: left; transition: transform 2.2s var(--ease); box-shadow: 0 0 14px rgba(154,123,255,.6); }
.flow.armed { --p: 0.04; }
.flow.armed.play { --p: 1; }
.flow li { padding: 30px 20px 0 0; position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; }
.flow li::before { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; background: var(--ink); border: 1px solid var(--muted); transform: rotate(45deg); transition: background .4s, border-color .4s; }
.flow li:hover::before, .flow.play li::before { background: var(--ember); border-color: var(--ember); }
.flow.play li:nth-child(1)::before { transition-delay: 0s; } .flow.play li:nth-child(2)::before { transition-delay: .35s; }
.flow.play li:nth-child(3)::before { transition-delay: .7s; } .flow.play li:nth-child(4)::before { transition-delay: 1.05s; }
.flow.play li:nth-child(5)::before { transition-delay: 1.4s; } .flow.play li:nth-child(6)::before { transition-delay: 1.75s; }
.flow .sc { color: var(--dim); font-size: 0.75rem; }
.flow h3 { font-family: var(--f-display); font-size: var(--step-2); line-height: 1.1; }
.flow p { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.flow h3::after { content: " →"; font-family: var(--f-body); color: var(--dim); font-size: .7em; }
.flow li:last-child h3::after { content: ""; }

/* ---------- Vision ---------- */
.vision { background: radial-gradient(60% 70% at 15% 50%, rgba(154,123,255,.08), transparent 70%), radial-gradient(40% 60% at 95% 80%, rgba(255,174,107,.07), transparent 70%); }
.vision-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px clamp(40px, 7vw, 110px); align-items: start; }
.big-quote { font-family: var(--f-display); font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.02em; margin-top: 24px; }
.vision-body { display: grid; gap: 20px; color: var(--muted); font-size: 1.0625rem; padding-top: 46px; min-width: 0; }
.vision-body > p:first-child { color: var(--text); }
.pillars { display: grid; margin-top: 16px; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pillars strong { color: var(--text); font-weight: 500; }
.pillars span { font-size: 0.9375rem; }

/* ---------- Building ---------- */
.building-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 7vw, 110px); align-items: center; }
.building-text { display: grid; gap: 18px; color: var(--muted); font-size: 1.0625rem; max-width: 58ch; }
.building-text h2 { font-family: var(--f-display); font-size: var(--step-3); line-height: 1.05; color: var(--text); margin-block: 6px 4px; }
.building-text p:nth-of-type(2) { color: var(--text); }

.slate { background: var(--coal); border: 1px solid var(--line-strong); transform: rotate(-1.2deg); transition: transform .6s var(--ease); max-width: 520px; width: 100%; justify-self: end; }
.slate:hover { transform: rotate(0); }
.slate-top { height: 38px; background: repeating-linear-gradient(-55deg, var(--text) 0 22px, var(--ink) 22px 44px); border-bottom: 1px solid var(--line-strong); transform-origin: 0 100%; transition: transform .5s var(--ease); }
.slate:hover .slate-top { transform: rotate(-7deg); }
.slate dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.slate dl > div { padding: 16px 20px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); min-width: 0; }
.slate dl > div:nth-child(2n) { border-right: 0; }
.slate dl > div.wide { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
.slate dt { font: 500 0.6875rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.slate dd { margin: 0; font-family: var(--f-display); font-size: 1.25rem; display: flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.slate .wide dd { font-family: var(--f-mono); font-size: 0.9375rem; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); animation: pulse 2s ease-in-out infinite; flex: none; }

/* ---------- CTA ---------- */
.cta { overflow: hidden; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, rgba(154,123,255,.22), transparent 70%), radial-gradient(30% 40% at 50% 100%, rgba(255,174,107,.18), transparent 70%); }
.cta-inner { display: grid; justify-items: center; gap: 22px; }
.cta h2 { font-family: var(--f-display); font-size: var(--step-4); line-height: 1; letter-spacing: -0.02em; max-width: 15ch; }
.cta-inner > p { color: var(--muted); font-size: var(--step-1); max-width: 44ch; }
.email-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; margin-top: 8px; }
.email { font-family: var(--f-mono); font-size: 0.9375rem; color: var(--text); user-select: all; overflow-wrap: anywhere; }
.copy { font: 500 0.75rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: none; border: 1px solid var(--line-strong); padding: 9px 12px; cursor: pointer; transition: color .25s, border-color .25s; }
.copy:hover { color: var(--text); border-color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.f-name { font-family: var(--f-display); font-size: 1.25rem; }
.f-tag, .f-copy { color: var(--dim); font-size: 0.875rem; }
.f-right { text-align: right; color: var(--muted); font-size: 0.9375rem; display: grid; gap: 6px; }
.f-right a { color: var(--text); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.f-right a:hover { text-decoration-color: var(--ember); }

/* ---------- Reveal (content stays readable without JS) ---------- */
.js .reveal { opacity: .25; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .flow::before, .flow::after { display: none; }
  .flow li { border-top: 1px solid var(--line-strong); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px var(--gutter) 28px; background: rgba(7,7,10,.97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { display: block; padding: 12px 0; font-size: 1.125rem; color: var(--text); }
  .site-header:has(.site-nav.open) { background: rgba(7,7,10,.97); }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: minmax(0, 1fr); }
  .vision-grid, .building-grid { grid-template-columns: minmax(0, 1fr); }
  .vision-body { padding-top: 0; }
  .slate { justify-self: start; }
}
@media (max-width: 600px) {
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-left: 22px; border-left: 1px solid var(--line-strong); }
  .flow li { border-top: 0; padding: 0 0 28px; }
  .flow li::before { left: -27px; top: 6px; }
  .flow h3::after { content: ""; }
  .screen { aspect-ratio: 16 / 10; }
  .hud-t.r, .hud-b.r { display: none; }
  .pillars li { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 auto; }
  .f-right { text-align: left; }
  .slate dl { grid-template-columns: minmax(0, 1fr); }
  .slate dl > div { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
