.site-header {
  position: fixed; z-index: 100; inset: 0 0 auto; height: 4.75rem; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-bottom: 1px solid transparent; transition: background var(--fast), border-color var(--fast), transform var(--medium) var(--ease);
}
.site-header.is-scrolled { background: oklch(14% .012 145 / .88); border-color: var(--line-dark); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: .55rem; width: max-content; font-weight: 720; letter-spacing: -.03em; }
.brand svg { width: 2rem; height: 2rem; }
.brand svg path { fill: none; stroke: var(--acid); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.site-header nav { display: flex; gap: 2rem; color: var(--ink-soft); font-size: .76rem; }
.site-header nav a, footer nav a { transition: color var(--fast); }
.site-header nav a:hover, footer nav a:hover { color: var(--acid); }
.header-cta { justify-self: end; border-bottom: 1px solid var(--acid); padding-block: .35rem; color: var(--acid); font-size: .76rem; font-weight: 650; }

.hero { min-height: 69rem; padding: clamp(9rem, 14vh, 11rem) var(--gutter) 5rem; position: relative; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: -20% -10% auto 45%; height: 65rem; background: radial-gradient(circle, oklch(45% .09 145 / .2), transparent 63%); }
.hero-grid, .closing-grid { position: absolute; z-index: -1; inset: 0; opacity: .28; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 5rem 5rem; mask-image: linear-gradient(to bottom, transparent, black 28%, transparent 85%); }
.hero-copy { width: min(52rem, 100%); margin-inline: auto; text-align: center; }
.hero-copy .eyebrow { justify-content: center; }
.hero h1 { margin-top: 1.4rem; font-size: clamp(3.3rem, 8vw, 7.7rem); line-height: .91; letter-spacing: -.075em; font-weight: 440; }
.hero-lead { width: min(39rem, 100%); margin: 2rem auto 0; color: var(--ink-soft); font-size: clamp(1rem, 1.5vw, 1.22rem); font-weight: 330; }
.hero-actions { margin-top: 2rem; display: flex; justify-content: center; align-items: center; gap: 1.7rem; }
.hero-product { width: min(74rem, 96vw); margin: 5.2rem auto 0; perspective: 1200px; }
.window-frame { border: 1px solid var(--line-dark); background: var(--night-raised); box-shadow: var(--shadow-screen); overflow: hidden; transform: rotateX(1.5deg); }
.window-bar { height: 2rem; display: flex; align-items: center; gap: .35rem; padding-inline: .7rem; border-bottom: 1px solid var(--line-dark); color: var(--ink-muted); font-size: .58rem; }
.window-bar i { width: .42rem; height: .42rem; border-radius: 50%; background: var(--line-dark); }
.window-bar span { margin-left: auto; }
.window-frame img { width: 100%; }
.product-caption { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 1rem; color: var(--ink-muted); font-size: .72rem; }
.product-caption span { color: var(--acid); }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 3.6rem; display: flex; align-items: center; gap: .7rem; color: var(--ink-muted); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 2.5rem; background: var(--line-dark); }

.story { position: relative; min-height: 500vh; background: var(--night); }
.story-sticky { position: sticky; top: 0; height: 100vh; min-height: 40rem; overflow: hidden; isolation: isolate; }
.story-sticky::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 50% 45%, oklch(27% .045 145 / .65), transparent 48%); }
.story-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-heading { position: absolute; left: var(--gutter); top: clamp(6rem, 12vh, 9rem); width: min(34rem, 82vw); }
.story-heading h2 { margin-top: .8rem; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .98; letter-spacing: -.06em; font-weight: 430; }
.story-steps { position: absolute; left: var(--gutter); bottom: clamp(3rem, 8vh, 6rem); width: min(31rem, 84vw); margin: 0; padding: 0; list-style: none; }
.story-steps li { display: grid; grid-template-columns: 2.3rem 1fr; gap: .5rem; opacity: 0; transform: translateY(1rem); position: absolute; bottom: 0; transition: opacity var(--medium), transform var(--medium) var(--ease); pointer-events: none; }
.story-steps li.is-active { opacity: 1; transform: none; }
.story-steps li > span { color: var(--acid); font-size: .68rem; padding-top: .2rem; }
.story-steps strong { display: block; margin-bottom: .25rem; font-size: 1.2rem; font-weight: 560; }
.story-steps p { color: var(--ink-soft); font-size: .86rem; }
.story-status { position: absolute; right: var(--gutter); bottom: 3rem; color: var(--ink-muted); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.story-status span { color: var(--acid); }
.story-screen { position: absolute; inset: 50% auto auto 50%; width: min(68rem, 75vw); opacity: 0; transform: translate(-50%, -45%) scale(.88); box-shadow: var(--shadow-screen); clip-path: inset(48% 48% 48% 48%); }
.story-screen img { width: 100%; }

.journal, .analysis, .context, .trust { padding: var(--section) var(--gutter); }
.section-intro { display: grid; grid-template-columns: minmax(7rem, .4fr) minmax(20rem, 1.35fr) minmax(18rem, .7fr); gap: 3rem; align-items: end; max-width: var(--max); margin-inline: auto; }
.section-intro h2 { margin-top: 1rem; max-width: 50rem; font-size: clamp(2.6rem, 5.7vw, 6.3rem); line-height: .92; letter-spacing: -.068em; font-weight: 430; }
.section-intro > p:last-child { color: var(--ink-soft); font-size: .92rem; }
.section-light .section-intro > p:last-child { color: var(--paper-muted); }
.feature-stage { max-width: var(--max); margin: clamp(4rem, 8vw, 8rem) auto 0; display: grid; grid-template-columns: minmax(15rem, .31fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature-rail { border-top: 1px solid var(--line-dark); }
.feature-tab { width: 100%; display: grid; grid-template-columns: 2rem 1fr; gap: .3rem .8rem; padding: 1.4rem 0; border: 0; border-bottom: 1px solid var(--line-dark); background: transparent; color: var(--ink-muted); text-align: left; cursor: pointer; transition: color var(--fast); }
.feature-tab span { grid-row: 1 / 3; color: inherit; font-size: .65rem; padding-top: .2rem; }
.feature-tab strong { font-size: .95rem; font-weight: 530; }
.feature-tab small { font-size: .7rem; }
.feature-tab.is-active, .feature-tab:hover { color: var(--ink); }
.feature-tab.is-active span { color: var(--acid); }
.feature-visual { min-height: 34rem; display: grid; place-items: center; }
.feature-visual figure { margin: 0; width: 100%; box-shadow: var(--shadow-screen); border: 1px solid var(--line-dark); }
.feature-visual img { width: 100%; }

.analysis { padding-bottom: 0; }
.analysis-flow { max-width: var(--max); margin: clamp(5rem, 10vw, 10rem) auto 0; display: grid; grid-template-columns: minmax(18rem, .54fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 8rem); }
.analysis-copy { padding-bottom: 35vh; }
.analysis-point { min-height: 75vh; padding-top: 12vh; opacity: .32; transition: opacity var(--medium); }
.analysis-point.is-active { opacity: 1; }
.analysis-point > span { color: var(--acid-deep); font-size: .7rem; }
.analysis-point h3 { max-width: 28rem; margin-top: .9rem; font-size: clamp(1.8rem, 3.3vw, 3.4rem); line-height: 1; letter-spacing: -.05em; font-weight: 480; }
.analysis-point p { max-width: 26rem; margin-top: 1.2rem; color: var(--paper-muted); font-size: .9rem; }
.analysis-visual { position: sticky; top: 10vh; height: 80vh; display: flex; flex-direction: column; justify-content: center; align-self: start; }
.analysis-screen { border: 1px solid var(--line-light); box-shadow: 0 2rem 5rem oklch(35% .02 145 / .18); background: var(--paper-raised); }
.analysis-screen img { width: 100%; }
.screen-note { display: flex; justify-content: space-between; padding-top: .85rem; color: var(--paper-muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.screen-note span { color: var(--paper-ink); }

.context { display: grid; grid-template-columns: minmax(18rem, .42fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 9rem); align-items: center; min-height: 100vh; }
.context-copy { max-width: 34rem; }
.context-copy .eyebrow { margin-top: 4rem; }
.context-copy h2 { margin-top: 1rem; font-size: clamp(3rem, 6vw, 6.5rem); line-height: .9; letter-spacing: -.07em; font-weight: 430; }
.context-copy > p:not(.index,.eyebrow,.truth-note) { margin-top: 2rem; color: var(--ink-soft); }
.truth-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); color: var(--acid); font-size: .72rem; }
.context-visual { margin-right: calc(var(--gutter) * -1); overflow: hidden; box-shadow: var(--shadow-screen); }
.context-visual img { width: 100%; }

.themes { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: var(--section) var(--gutter); background: var(--night); color: var(--ink); isolation: isolate; }
.themes::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 50% 72%, oklch(30% .04 145 / .55), transparent 48%); }
.themes-copy { text-align: center; }
.themes-copy .eyebrow { justify-content: center; }
.themes-copy h2 { margin-top: 1rem; font-size: clamp(3rem, 7vw, 7rem); line-height: .9; letter-spacing: -.07em; font-weight: 430; }
.themes-copy > p:last-child { width: min(33rem, 86vw); margin: 1.3rem auto 0; color: oklch(66% .01 130); }
.theme-compare { --theme-split: 50%; position: relative; width: min(73rem, 90vw); margin-top: clamp(3rem, 6vw, 5.5rem); aspect-ratio: 1919 / 1050; border: 1px solid var(--line-dark); box-shadow: 0 3rem 8rem oklch(5% .02 145 / .4); overflow: hidden; }
.theme-shot { position: absolute; inset: 0; }
.theme-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.theme-shot-light { clip-path: inset(0 0 0 var(--theme-split)); }
.theme-divider { position: absolute; inset: 0 auto 0 var(--theme-split); width: 1px; background: var(--acid); transform: translateX(-1px); }
.theme-divider span { position: absolute; top: 50%; left: 50%; width: 2.4rem; height: 2.4rem; transform: translate(-50%, -50%); border: 1px solid var(--acid); border-radius: 50%; background: var(--night); }
.theme-divider span::before, .theme-divider span::after { content: ""; position: absolute; top: 50%; width: .35rem; height: .35rem; border-left: 1px solid var(--acid); border-bottom: 1px solid var(--acid); }
.theme-divider span::before { left: .55rem; transform: translateY(-50%) rotate(45deg); }
.theme-divider span::after { right: .55rem; transform: translateY(-50%) rotate(225deg); }
.theme-controls { width: min(42rem, 90vw); margin-top: 1.7rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; }
.theme-controls button { min-height: 2.75rem; padding: .5rem 0; border: 0; background: transparent; color: var(--ink-soft); font-size: .75rem; cursor: pointer; }
.theme-controls button:hover { color: var(--acid); }
.theme-controls input { width: 100%; accent-color: var(--acid); cursor: ew-resize; }
.theme-status { margin-top: .35rem; color: var(--ink-muted); font-size: .65rem; }

.trust { border-top: 1px solid var(--line-dark); }
.trust-heading { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: .25fr 1fr; column-gap: 3rem; }
.trust-heading .eyebrow { grid-column: 2; }
.trust-heading h2 { grid-column: 2; margin-top: 1rem; font-size: clamp(3rem, 6vw, 6.5rem); line-height: .91; letter-spacing: -.07em; font-weight: 430; }
.trust-lines { max-width: var(--max); margin: 6rem auto 0; border-top: 1px solid var(--line-dark); }
.trust-lines article { display: grid; grid-template-columns: .2fr .45fr 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.trust-lines span { color: var(--acid); font-size: .68rem; }
.trust-lines h3 { font-size: 1.2rem; font-weight: 500; }
.trust-lines p { color: var(--ink-soft); font-size: .84rem; }
.trust-links { max-width: var(--max); margin: 2rem auto 0; display: flex; gap: 2rem; color: var(--ink-muted); font-size: .72rem; text-decoration: underline; text-underline-offset: .25rem; }

.closing { min-height: 90vh; padding: var(--section) var(--gutter); position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.closing h2 { margin-top: 1rem; font-size: clamp(3.2rem, 8vw, 8rem); line-height: .9; letter-spacing: -.075em; font-weight: 430; }
.closing > p:not(.eyebrow) { width: min(40rem, 90vw); margin-top: 2rem; color: var(--ink-soft); }
.closing .button { margin-top: 2rem; }
.release-meta { margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: .65rem; color: var(--ink-muted); font-size: .7rem; }
.release-meta a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: .25rem; }
.release-meta a:hover { color: var(--acid); }
.closing small { margin-top: 1rem; color: var(--ink-muted); font-size: .65rem; }
footer { min-height: 9rem; padding: 2rem var(--gutter); border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 2rem; align-items: center; color: var(--ink-muted); font-size: .68rem; }
footer nav { display: flex; gap: 1.4rem; }

@media (max-width: 62rem) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .section-intro { grid-template-columns: 1fr; gap: 1.2rem; }
  .section-intro > p:last-child { max-width: 35rem; }
  .feature-stage { grid-template-columns: 1fr; }
  .feature-rail { display: grid; grid-template-columns: repeat(3, 1fr); }
  .feature-tab { border-right: 1px solid var(--line-dark); padding-right: .7rem; }
  .feature-visual { min-height: auto; }
  .context { grid-template-columns: 1fr; }
  .context-copy { max-width: 45rem; }
  .context-visual { margin-right: 0; }
  footer { grid-template-columns: 1fr auto; }
}

@media (max-width: 47.99rem) {
  .site-header { height: 4rem; }
  .header-cta { font-size: .68rem; }
  .hero { min-height: 54rem; padding-top: 8rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-actions { flex-direction: column; gap: 1rem; }
  .hero-product { margin-top: 4rem; width: 96vw; }
  .window-bar { height: 1.5rem; }
  .product-caption { padding-inline: 1rem; }
  .scroll-cue { display: none; }
  .story { min-height: 360vh; }
  .story-heading { top: 6rem; }
  .story-screen { width: 94vw; top: 47%; }
  .story-status { right: auto; left: var(--gutter); bottom: 2rem; }
  .story-steps { bottom: 5rem; }
  .feature-rail { display: block; }
  .feature-tab { border-right: 0; }
  .analysis-flow { display: block; }
  .analysis-copy { padding-bottom: 0; }
  .analysis-point { min-height: auto; padding: 4rem 0 2rem; opacity: 1; }
  .analysis-visual { position: relative; top: auto; height: auto; margin-bottom: 5rem; }
  .context { min-height: auto; }
  .theme-compare { width: 96vw; margin-top: 3rem; }
  .theme-controls { width: 96vw; gap: .65rem; }
  .trust-heading { grid-template-columns: 1fr; }
  .trust-heading .eyebrow, .trust-heading h2 { grid-column: 1; }
  .trust-heading .index { margin-bottom: 2rem; }
  .trust-lines article { grid-template-columns: 2rem 1fr; }
  .trust-lines p { grid-column: 2; }
  .trust-links { flex-direction: column; gap: .8rem; }
  footer { grid-template-columns: 1fr; gap: 1rem; }
}
