/* codewinklabs.com - CodeWink Labs LLC
   Theme: architectural. Frosted glass, graphite, smoke, muted teal. The mark as a ghosted shadow on a wall,
   light passing through glass, technical rules, hard divisions, negative space. Typography does the work.
   The wall scene is procedural for now (CSS + the real mark); the photographed wallpaper drops into .scene__wall
   when it arrives, and the same scroll choreography applies: the light rises, the shadow fades, the room dims.
   Bricolage Grotesque + JetBrains Mono, self-hosted. Scroll progress comes from IntersectionObserver, never
   a scroll listener. */

@font-face { font-family: 'Bricolage'; font-weight: 200 800; font-display: swap; src: url(../fonts/bricolagegrotesque-200_800-latin.woff2) format('woff2'); }
@font-face { font-family: 'JBMono'; font-weight: 400 500; font-display: swap; src: url(../fonts/jetbrainsmono-400-latin.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --graphite: #14171A; --graphite-2: #1B1F23; --graphite-3: #23282D;
  --smoke: #8A949C; --smoke-2: #B8C1C7; --paper: #E8ECEE;
  --teal: #5E8A96; --teal-2: #7FA7B2; --teal-ink: #2E4A53;
  --wall: #C6D0D6; --wall-2: #A9B6BE;
  --hair: rgba(232,236,238,0.10); --hair-2: rgba(232,236,238,0.2);
  --font: 'Bricolage', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JBMono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(24px, 5vw, 80px);
  --max: 1320px;
  --p: 0; /* scene progress 0..1, set by JS */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--graphite); color: var(--paper); font-family: var(--font); font-optical-sizing: auto; font-size: 1.0625rem; line-height: 1.55; font-weight: 300; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 1px solid var(--teal-2); outline-offset: 4px; }
.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; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Labels: spaced caps, the voice of the mock */
.lab { font-family: var(--font); font-weight: 400; font-size: 0.6875rem; letter-spacing: 0.32em; text-transform: uppercase; line-height: 2; }
.lab--stack span { display: block; }
.lab::after { content: ""; display: block; width: 40px; height: 1px; background: currentColor; opacity: 0.5; margin-top: 0.9rem; }
.lab--norule::after { display: none; }
.mono { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--smoke); }
.link { color: var(--teal-2); text-decoration: none; border-bottom: 1px solid rgba(127,167,178,0.35); transition: border-color 300ms var(--ease); }
.link:hover { border-color: var(--teal-2); }

/* Technical rules: fixed vertical hairlines at the margins */
.rules { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.rules i { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(232,236,238,0.07); }
.rules i:nth-child(1) { left: var(--pad); } .rules i:nth-child(2) { right: var(--pad); } .rules i:nth-child(3) { left: 50%; opacity: 0.5; }

/* ─── Nav: minimal, sits on the rules ──────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; mix-blend-mode: difference; color: #fff; opacity: clamp(0, calc(var(--p) * 3 - 1.9), 1); pointer-events: none; transition: opacity 120ms linear; }
.nav.is-on, body.is-inner .nav { opacity: 1; pointer-events: auto; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__brand { display: flex; align-items: center; text-decoration: none; }
.nav__brand svg { height: 20px; width: auto; overflow: visible; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 400; text-decoration: none; opacity: 0.8; transition: opacity 250ms var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a, .footer__links a { transition: letter-spacing 500ms var(--ease), opacity 400ms var(--ease); }
.nav__links a.is-going, .footer__links a.is-going { letter-spacing: 0.55em; opacity: 0; }
.nav__toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.4); color: #fff; padding: 0.4rem 0.8rem; font: inherit; font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; cursor: pointer; }
.nav__sheet { display: none; }
@media (max-width: 800px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }
  .nav.is-sheet { mix-blend-mode: normal; background: rgba(20,23,26,0.96); border-bottom: 1px solid var(--hair); }
  .nav__sheet.is-open { display: block; padding: 0.5rem 0 1.25rem; }
  .nav__sheet a { display: block; padding: 0.6rem 0; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; text-decoration: none; }
}
/* The wink lives in the marks. Eyes open 3s, wink 1s. */
.cw .cw-wink, .cw .cw-open { transform-box: fill-box; transform-origin: center; transition: opacity 160ms var(--ease), transform 220ms var(--ease); }
.cw .cw-open { opacity: 0; transform: scaleY(0.35); }
.is-open .cw .cw-wink { opacity: 0; transform: scaleY(0.4); }
.is-open .cw .cw-open { opacity: 1; transform: scaleY(1); }

/* ─── Scene 1: the wall. Pinned; --p scrubs it. The photo is the lit room; a dusk frame crossfades in as you
   scroll; a synthetic beam aligned with the photo's light rises and fades; dust drifts inside it. ─── */
.journey { position: relative; height: 220vh; }
.scene { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; isolation: isolate; background: #8C9AA3; }
.scene__wall, .scene__dusk { position: absolute; inset: 0; background-size: cover; background-position: 42% 50%; }
.scene__wall { background-image: url(../images/wall.webp); }
.scene__dusk { background-image: url(../images/wall-dusk.webp); opacity: var(--p); transition: opacity 90ms linear; }
/* the beam: sits on the photo's own light at rest, then slides up and thins as the sun goes down */
.scene__light { position: absolute; left: -35%; top: -45%; width: 170%; height: 190%; pointer-events: none; mix-blend-mode: screen; opacity: calc(0.22 + var(--p) * 0.3 - var(--p) * var(--p) * 0.52); transform: translateY(calc(var(--p) * -34vh)) rotate(23deg); transform-origin: 50% 50%; background: linear-gradient(180deg, transparent 43.5%, rgba(255,250,240,0.55) 47%, rgba(255,252,245,0.75) 50%, rgba(255,250,240,0.55) 53%, transparent 56.5%); filter: blur(10px); transition: opacity 90ms linear, transform 90ms linear; }
.scene__dim { position: absolute; inset: 0; z-index: 2; background: var(--graphite); opacity: calc(var(--p) * var(--p) * 0.55); pointer-events: none; transition: opacity 90ms linear; }
.scene__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
/* one frosted pane: hard vertical division at 60%, glass to the right. It houses the menu, the claim, the meta. */
.scene__pane { position: absolute; z-index: 3; top: 0; bottom: 0; left: 60%; right: 0; background: linear-gradient(180deg, rgba(120,150,165,0.22), rgba(60,90,105,0.38)); backdrop-filter: blur(22px) saturate(1.1); -webkit-backdrop-filter: blur(22px) saturate(1.1); border-left: 1px solid rgba(255,255,255,0.55); box-shadow: inset 1px 0 0 rgba(255,255,255,0.25), inset 0 0 120px rgba(255,255,255,0.08); transform: translateX(calc(var(--p) * 4vw)); transition: transform 90ms linear; }
.scene__pane::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,0.18), transparent 35%, transparent 70%, rgba(255,255,255,0.08)); }
.scene__pane::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 7%; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 2px, rgba(120,150,165,0.12) 2px 9px, rgba(255,255,255,0.05) 9px 11px); border-left: 1px solid rgba(255,255,255,0.3); }
/* text placed on the architecture */
.scene__ui { position: absolute; inset: 0; z-index: 4; }
.scene__ui > * { position: absolute; }
.scene__brand { left: var(--pad); top: 10vh; color: #1C2226; }
.scene__brand svg { height: 30px; width: auto; overflow: visible; }
.scene__brand .lab { margin-top: 1.6rem; color: #2C363C; }
/* the headline floats over the floor and fades out with the light */
.scene__state { left: var(--pad); bottom: 8vh; max-width: min(34vw, 30rem); display: grid; gap: 1.6rem; opacity: calc(1 - var(--p) * 1.7); transform: translateY(calc(var(--p) * 3vh)); transition: opacity 90ms linear, transform 90ms linear; }
.scene__headline { font-size: clamp(1.1rem, 1.55vw, 1.5rem); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; color: #F4F7F8; text-shadow: 0 1px 12px rgba(0,0,0,0.25); }
.scene__foot { position: static; color: rgba(244,247,248,0.8); }
.scene__brand { color: color-mix(in srgb, #1C2226 calc((1 - var(--p)) * 100%), var(--paper)); }
.scene__brand .lab { color: color-mix(in srgb, #2C363C calc((1 - var(--p)) * 100%), var(--smoke-2)); }
.scene__hint { left: 30%; bottom: 3vh; translate: -50% 0; color: var(--smoke-2); opacity: calc(1 - var(--p) * 3); font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.3em; }
/* the pane's contents: a column with the menu at the top, the claim in the middle, the meta at the foot */
.scene__glass { left: calc(60% + 3vw); right: calc(7% + 3vw); top: 9vh; bottom: 8vh; display: grid; grid-template-rows: auto 1fr auto; color: #F4F7F8; transform: translateX(calc(var(--p) * 4vw)); transition: transform 90ms linear; }
.menu { display: grid; gap: 0.15rem; }
.menu a { position: relative; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); align-items: baseline; gap: 0.5rem; padding: 0.45rem 0; text-decoration: none; color: #F4F7F8; font-size: 0.75rem; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 400; transition: letter-spacing 500ms var(--ease), opacity 300ms var(--ease); }
.menu a .i { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.1em; color: rgba(244,247,248,0.55); transition: color 300ms var(--ease); }
.menu a .w { position: relative; display: inline-block; }
.menu a .w::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0; background: #F4F7F8; transition: width 500ms var(--ease); }
.menu a:hover .w::after, .menu a:focus-visible .w::after { width: 100%; }
.menu a:hover .i { color: #F4F7F8; }
.menu a.is-going { letter-spacing: 0.6em; opacity: 0; transition: letter-spacing 650ms var(--ease), opacity 650ms var(--ease) 150ms; }
.menu a.is-going .w::after { width: 100%; transition: width 400ms var(--ease); }
.scene__claim { align-self: center; color: #F4F7F8; }
.scene__claim .lab { font-size: clamp(0.85rem, 1.35vw, 1.3rem); letter-spacing: 0.34em; line-height: 1.9; font-weight: 300; }
.scene__claim .lab::after { width: 48px; opacity: 0.8; }
.scene__meta { display: flex; justify-content: space-between; align-items: end; gap: 2rem; color: #F4F7F8; }
.scene__meta .lab { font-size: 0.625rem; letter-spacing: 0.4em; }
.scene__meta .lab::after { display: none; }
/* the sun flares when a menu word is chosen: light passes through the glass before the page moves */
.scene.is-flare .scene__light { opacity: 0.95 !important; transition: opacity 260ms var(--ease); }
.scene.is-flare .scene__pane { box-shadow: inset 1px 0 0 rgba(255,255,255,0.6), inset 0 0 160px rgba(255,255,255,0.28); transition: box-shadow 300ms var(--ease); }

/* ─── Below the scene: the room continues. A fixed, blurred dusk wall sits behind everything so the glass
   sections have something to frost; sections alternate frosted glass and graphite; light moves with --vis. */
.backdrop { position: fixed; inset: -6%; z-index: 0; pointer-events: none; background: url(../images/wall-dusk.webp) center 40% / cover no-repeat; filter: blur(28px) saturate(1.15) brightness(1.25); opacity: 0.9; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,26,0.35), rgba(20,23,26,0.55)); }
.section { position: relative; z-index: 2; padding: clamp(6rem, 12vw, 11rem) 0; --vis: 0; }
.section + .section { border-top: 1px solid var(--hair); }
.section--glass { background: linear-gradient(180deg, rgba(232,236,238,0.06), rgba(232,236,238,0.03)); backdrop-filter: blur(26px) saturate(1.2); -webkit-backdrop-filter: blur(26px) saturate(1.2); border-top: 1px solid rgba(255,255,255,0.22) !important; border-bottom: 1px solid rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); overflow: hidden; }
/* a sheet of light slides across the glass as the section scrolls into view */
.section--glass::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 46%; left: 0; pointer-events: none; background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.10) 45%, rgba(255,255,255,0.16) 50%, rgba(255,255,255,0.10) 55%, transparent 100%); transform: translateX(calc(-60% + var(--vis) * 240%)) skewX(-14deg); transition: transform 120ms linear; }
.section--glass::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at calc(20% + var(--vis) * 60%) 0%, rgba(127,167,178,0.16), transparent 70%); transition: background-position 120ms linear; }
.section--graphite { background: linear-gradient(180deg, rgba(20,23,26,0.94), rgba(20,23,26,0.9)); }
/* graphite sections get a faint beam that rises as they pass, echoing the scene */
.section--graphite::before { content: ""; position: absolute; left: -20%; top: -30%; width: 140%; height: 160%; pointer-events: none; mix-blend-mode: screen; opacity: 0.16; transform: rotate(23deg) translateY(calc(30% - var(--vis) * 60%)); background: linear-gradient(180deg, transparent 46%, rgba(200,220,228,0.45) 50%, transparent 54%); filter: blur(22px); transition: transform 120ms linear; }
.section > .wrap { position: relative; z-index: 1; }
.ed { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ed__side { color: var(--smoke); position: sticky; top: 7rem; }
.ed__side .lab { color: var(--teal-2); }
.ed__side .mono { display: block; margin-top: 1rem; }
.ed h2 { font-size: clamp(2rem, 4.6vw, 4.2rem); font-weight: 200; letter-spacing: -0.03em; line-height: 1.05; max-width: 20ch; color: var(--paper); }
.ed h2 strong { font-weight: 500; }
.ed__text { margin-top: 2rem; display: grid; gap: 1.2rem; font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--smoke-2); max-width: 58ch; }
.ed__text em { font-style: normal; color: var(--teal-2); }

/* Glass card for the product */
.pane { position: relative; margin-top: 2.5rem; border: 1px solid var(--hair-2); background: linear-gradient(160deg, rgba(232,236,238,0.06), rgba(232,236,238,0.02)); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow: hidden; }
.pane::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(255,255,255,0.08), transparent 40%); pointer-events: none; }
.pane__ghost { position: absolute; right: -6%; top: -10%; width: 46%; color: var(--paper); opacity: 0.05; filter: blur(2px); pointer-events: none; }
.pane__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.pane__copy { padding: clamp(1.75rem, 4vw, 3rem); display: grid; gap: 1.1rem; align-content: center; border-right: 1px solid var(--hair); }
.pane__copy h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; letter-spacing: -0.03em; }
.pane__copy .desc { color: var(--smoke-2); max-width: 42ch; }
.pane__status { display: grid; gap: 0.2rem; }
.pane__status span { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--smoke); }
.pane__cta { display: inline-flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; text-decoration: none; font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--paper); }
.pane__cta i { width: 40px; height: 1px; background: var(--teal-2); transition: width 400ms var(--ease); }
.pane__cta:hover i { width: 64px; }
.pane__media { position: relative; min-height: 360px; overflow: hidden; background: rgba(0,0,0,0.25); }
.pane__media img { position: absolute; left: 8%; top: 10%; width: 100%; border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8); filter: saturate(0.85); transform: translateY(calc(var(--pp, 0) * -24px)); transition: transform 200ms linear; }
.pane__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(20,23,26,0.9)); pointer-events: none; }

/* Bench: the two earlier extensions, shown lightly. Posters in glass, muted, no links. */
.bench { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--hair); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 4rem); color: var(--smoke); }
.bench h3 { font-weight: 400; font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--teal-2); }
.bench h3::after { content: ""; display: block; width: 40px; height: 1px; background: currentColor; opacity: 0.5; margin-top: 0.9rem; }
.bench p { margin-top: 1.25rem; color: var(--smoke); max-width: 40ch; }
.bench__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.bench__card { display: grid; gap: 0.9rem; }
.bench__card figure { margin: 0; position: relative; height: clamp(220px, 26vw, 360px); overflow: hidden; border: 1px solid var(--hair-2); background: rgba(232,236,238,0.04); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.bench__card figure::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, rgba(255,255,255,0.10), transparent 40%), linear-gradient(180deg, transparent 55%, rgba(20,23,26,0.85)); pointer-events: none; }
.bench__card img { width: 100%; height: auto; filter: saturate(0.7) contrast(0.95); opacity: 0.82; transform: translateY(0); transition: transform 1200ms var(--ease), opacity 600ms var(--ease), filter 600ms var(--ease); }
.bench__card:hover img { transform: translateY(-14%); opacity: 1; filter: saturate(0.9) contrast(1); }
.bench__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 1rem; align-items: baseline; }
.bench__meta strong { font-weight: 500; color: var(--smoke-2); }
.bench__meta span:not(.tag) { grid-column: 1; font-size: 0.95rem; color: var(--smoke); }
.bench__meta .tag { grid-column: 2; grid-row: 1; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--hair-2); padding: 0.1em 0.5em; }

/* Standards: numbered editorial list with a light sweep as each row enters */
.std { margin-top: 2.5rem; border-top: 1px solid var(--hair-2); }
.std li { position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--hair); align-items: baseline; overflow: hidden; }
.std li::before { content: ""; position: absolute; left: -30%; top: 0; bottom: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(232,236,238,0.08), transparent); transform: translateX(0); }
.std li.is-in::before { animation: sweep 1100ms var(--ease) forwards; }
@keyframes sweep { to { transform: translateX(430%); } }
.std .n { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--teal-2); }
.std h3 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 400; letter-spacing: -0.02em; }
.std p { color: var(--smoke); }

/* Contact: the room, dark, a faint beam returns */
.contact { position: relative; overflow: hidden; }
.contact__beam { display: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__mark { width: 56px; color: var(--paper); margin-bottom: 1.5rem; opacity: 0.9; }
.contact__mark svg { width: 100%; height: auto; overflow: visible; }
.routes { display: grid; border-top: 1px solid var(--hair-2); }
.route { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--hair); align-items: center; }
.route .what { font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--smoke); }
.route a { font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 300; letter-spacing: -0.01em; text-decoration: none; color: var(--paper); word-break: break-all; transition: color 300ms var(--ease); }
.route a:hover { color: var(--teal-2); }

/* Footer */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--hair); padding: 2.5rem 0 3rem; background: rgba(20,23,26,0.96); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.footer__brand { display: flex; align-items: center; color: var(--paper); }
.footer__brand svg { height: 22px; width: auto; overflow: visible; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.75rem; }
.footer__links a { font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; text-decoration: none; color: var(--smoke); }
.footer__links a:hover { color: var(--paper); }
.footer__legal { width: 100%; margin-top: 0.5rem; }

/* Inner pages */
.page { position: relative; z-index: 2; padding: clamp(9rem, 16vw, 12rem) 0 clamp(4rem, 8vw, 6rem); }
body.is-inner main { background: rgba(20,23,26,0.6); }
.page h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 200; letter-spacing: -0.03em; }
.page__lead { margin-top: 1.25rem; font-size: 1.2rem; color: var(--smoke-2); max-width: 52ch; }
.prose { margin-top: 2.5rem; max-width: 64ch; display: grid; gap: 1rem; }
.prose h2 { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.02em; margin-top: 1.5rem; }
.prose p, .prose li { color: var(--smoke-2); }
.prose ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.prose strong { color: var(--paper); font-weight: 500; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .scene__dusk, .scene__light, .scene__dim, .scene__pane, .section--glass::before, .section--graphite::before { transition: none; }
  .std li.is-in::before { animation: none; }
  .cw .cw-wink, .cw .cw-open { transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .ed, .contact__grid, .pane__grid, .bench { grid-template-columns: 1fr; }
  .bench__card figure { height: 260px; }
  .ed__side { position: static; }
  .pane__copy { border-right: 0; border-bottom: 1px solid var(--hair); }
  .pane__media { min-height: 260px; }
  .std li { grid-template-columns: 3rem minmax(0, 1fr); }
  .std li p { grid-column: 2; }
  .rules i:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  .journey { height: 200vh; }
  .scene__pane { left: 54%; }
  .scene__brand svg { height: 18px; }
  .scene__brand .lab { margin-top: 1.1rem; }
  .scene__glass { left: calc(54% + 4vw); right: calc(7% + 3vw); top: 8vh; bottom: 6vh; }
  .scene__claim .lab { font-size: 0.72rem; letter-spacing: 0.28em; }
  .scene__meta { display: none; }
  .menu a { font-size: 0.66rem; letter-spacing: 0.26em; padding: 0.35rem 0; }
  .scene__hint { left: 26%; }
  .scene__state { max-width: 44vw; bottom: 6vh; }
  .scene__headline { font-size: 0.95rem; }
  .scene__wall, .scene__dusk { background-position: 30% 50%; }
  .scene__brand { top: 11vh; }
  .route { grid-template-columns: 1fr; }
  .bench__grid { grid-template-columns: 1fr; }
}
