/* ============================================================
   NEW WORLD VISIONS — SCENES (2026-08-22, clean pass)
   The page is a reel. Film runs full-bleed and dark; everything
   structural — leader, interludes, grid frames, the close, the foot —
   is paper and ink. Monochrome. No accent colour.
   Display: Archivo condensed 900 · Body: Archivo 400 · Labels: IBM Plex Mono.
   ============================================================ */

:root {
  --screen: #0a0a0a;
  --paper: #f3f3ef;
  --ink: #f4f4f2;
  --mute: #8f8f8a;
  --line: rgba(255, 255, 255, .14);
  --edge: rgba(255, 255, 255, .6);
  --sans: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --g: clamp(16px, 2.6vw, 44px);
  --rail: clamp(44px, 4.2vw, 64px);
  --row: clamp(26px, 3.4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--screen); color-scheme: light dark; overflow-x: clip; }
body { background: var(--screen); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: #0b0b0b; color: var(--paper); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--screen); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.mono { font-family: var(--mono); font-weight: 500; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; font-variant-numeric: tabular-nums; }
.mute { color: var(--mute); }

/* paper sections re-token themselves; every descendant rule below just follows */
.interlude, .grid, .close, .foot {
  --ink: #0b0b0b; --mute: #55534e; --line: rgba(11, 11, 11, .16); --edge: rgba(11, 11, 11, .5);
  background: var(--paper); color: var(--ink);
}

/* ---------- the control language: one bordered mono pill, one square ---------- */
.cta, .sound { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 1px solid var(--edge); color: #fff; background: rgba(0, 0, 0, .34); font-family: var(--mono); font-weight: 500; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.cta::before, .sound::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; background: currentColor; }
.cta:hover, .cta:focus-visible, .sound:hover, .sound:focus-visible, .sound[aria-pressed="true"] { background: #fff; color: var(--screen); border-color: #fff; }
.grid .label .cta { color: var(--ink); background: transparent; }
.grid .label .cta:hover, .grid .label .cta:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- chrome: mark, inquire, and the timecode rail ---------- */
.chrome { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--g) 16px calc(var(--rail) + var(--g)); mix-blend-mode: difference; color: #fff; pointer-events: none; }
.chrome a { pointer-events: auto; min-height: 44px; display: inline-flex; align-items: center; }
.chrome .mark svg { width: 128px; height: auto; display: block; }
.chrome a.mono { text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 1px; }
.chrome a.mono:hover, .chrome a.mono:focus-visible { text-decoration-color: transparent; }
.rail { position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail); z-index: 25; mix-blend-mode: difference; color: #fff; border-right: 1px solid rgba(255, 255, 255, .25); display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 18px 0; pointer-events: none; }
.rail .tc, .rail .sc { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.rail .tc { color: #fff; }
.rail .tc b { color: #fff; font-weight: 500; }
.rail .sc { color: rgba(255, 255, 255, .55); }
.rail .bar { position: absolute; left: 0; top: 0; width: 3px; height: 0%; background: #fff; }
@media (max-width: 820px) { :root { --rail: 28px; } .rail .sc { display: none; } .chrome .mark svg { width: 104px; } }

/* ---------- the reel ---------- */
.reel { padding-left: var(--rail); }
.scene { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--screen); }
.scene .media { position: absolute; inset: 0; }
.scene .media img, .scene .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene .media video { opacity: 0; transition: opacity 480ms var(--ease); }
.scene .media.is-live video { opacity: 1; }
/* the scrim: a held band at the top so the chrome and the slate always sit on a dark tone, a deep foot for the story */
.scene .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .7) 7%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .78) 100%); pointer-events: none; }
/* vertical films: the phone sits flush right under INQUIRE, the story owns the left */
.scene.vert .media { left: auto; right: var(--g); width: calc(100svh * 9 / 16); max-width: 100%; }
.scene.vert .bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(48px) brightness(.45); transform: scale(1.15); }
@media (min-width: 821px) { .scene.vert .media::after { display: none; } }
@media (max-width: 820px) { .scene.vert .media { left: 0; right: 0; width: 100%; } .scene.vert .bg { display: none; } }

/* the slate: top-left of every scene, under the chrome row */
.slate { position: absolute; left: var(--g); top: 96px; z-index: 3; max-width: calc(100% - 2 * var(--g)); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-items: center; font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); pointer-events: none; }
.slate .tape, .grid .label .tape { display: inline-block; width: 28px; height: 10px; background: currentColor; transform: rotate(-3deg); }
.grid .label .tape { margin-right: 14px; vertical-align: middle; }
.slate span { text-wrap: balance; text-shadow: 0 0 2px rgba(0, 0, 0, .9), 0 1px 12px rgba(0, 0, 0, .6); }
@media (max-width: 820px) { .slate { top: 76px; } }

/* the story: bottom-left; padding-top keeps a tall claim from ever running under the slate */
.story { position: relative; z-index: 3; padding: 170px var(--g) var(--row); display: grid; gap: 12px; max-width: 50rem; }
.scene.vert .story { max-width: calc(100% - (100svh * 9 / 16) - var(--g)); }
.story .claim { font-family: var(--sans); font-weight: 900; font-stretch: 66%; text-transform: uppercase; letter-spacing: -.02em; line-height: .88; font-size: clamp(2.1rem, 5.4vw, 5.6rem); text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.scene.vert .claim { font-size: clamp(2.1rem, 4vw, 4rem); }
.story .text { font-size: clamp(.95rem, 1.2vw, 1.1rem); line-height: 1.45; max-width: 52ch; color: var(--ink); text-shadow: 0 1px 14px rgba(0, 0, 0, .6); }
.story .row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 820px) { .scene.vert .story { max-width: none; } .scene:has(video[data-has-audio]) .story .row { padding-right: 96px; } }

/* the sound toggle: a player control in the corner of the frame, on the story's baseline */
.scene .sound { position: absolute; right: var(--g); bottom: var(--row); z-index: 3; display: none; }
.js .scene video[data-has-audio] ~ .sound { display: inline-flex; }

/* the opener */
.scene.open .media::after { background: linear-gradient(180deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .7) 7%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, .82) 100%); }
.scene.open .mast { position: relative; z-index: 3; padding: 0 0 0 var(--g); font-family: var(--sans); font-weight: 900; font-stretch: 62%; text-transform: uppercase; letter-spacing: -.03em; line-height: .8; font-size: clamp(3.4rem, 9.6vw, 11.5rem); color: #fff; white-space: nowrap; margin-left: -.04em; max-width: 100%; }
.scene.open .mast .w { display: inline-block; }
.scene.open .open-copy { position: relative; z-index: 3; padding: 14px var(--g) var(--row); display: grid; grid-template-columns: auto auto; justify-content: start; gap: var(--g); align-items: end; }
.scene.open .line { font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.5rem); line-height: 1.25; max-width: 34ch; letter-spacing: -.01em; text-shadow: 0 1px 16px rgba(0, 0, 0, .6); }
@media (max-width: 820px) { .scene.open { align-content: end; } .scene.open .mast { font-size: clamp(2.6rem, 15.5vw, 5rem); white-space: normal; line-height: .84; } .scene.open .open-copy { grid-template-columns: 1fr; } }
/* pre-hide for the page-load sequence; the animation is the safety net if the script never runs */
.pre .scene.open .mast .w, .pre .scene.open .open-copy > * { opacity: 0; animation: unhide 1ms 2.2s forwards; }
@keyframes unhide { to { opacity: 1; } }

/* interludes: type is the art — paper and ink, nothing else */
.interlude { position: relative; padding: clamp(64px, 10vw, 160px) var(--g) clamp(48px, 7vw, 110px); overflow: hidden; }
.interlude .giant { font-family: var(--sans); font-weight: 900; font-stretch: 62%; text-transform: uppercase; letter-spacing: -.03em; line-height: .82; font-size: clamp(3.4rem, 15.5vw, 19rem); white-space: nowrap; margin-left: -.04em; }
.interlude .giant em { font-style: normal; color: inherit; }
.interlude .giant .thin { font-weight: 400; font-stretch: 100%; letter-spacing: -.02em; }
.interlude .note { margin-top: 22px; max-width: 44ch; color: var(--mute); font: 400 .95rem/1.45 var(--sans); text-transform: none; letter-spacing: 0; }
@media (max-width: 820px) { .interlude .giant { white-space: normal; font-size: clamp(2.8rem, 14.5vw, 5.4rem); } }

/* grids between scenes: photographs framed on paper */
.grid { padding: 2px 0; }
.grid .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.grid .tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #e6e6e1; }
.grid .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.grid .tile:hover img { transform: scale(1.04); }
.grid .tile.wide { grid-column: span 2; aspect-ratio: auto; }
.grid .tile.wide img { object-position: 50% 12%; }
.grid .label { padding: 14px var(--g); color: var(--mute); display: flex; justify-content: space-between; align-items: center; gap: 14px var(--g); flex-wrap: wrap; }
@media (max-width: 820px) { .grid .tiles { grid-template-columns: repeat(2, 1fr); } .grid .tile.wide { grid-column: span 2; aspect-ratio: 16 / 10; } .grid .tile.wide ~ .tile:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 16 / 10; } }

/* the close: paper, ink, one black slab */
.close { padding: clamp(64px, 10vw, 160px) var(--g); display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--g); }
.close h2 { font-family: var(--sans); font-weight: 900; font-stretch: 62%; text-transform: uppercase; letter-spacing: -.03em; line-height: .85; font-size: clamp(2.4rem, 6.6vw, 7rem); }
.why-grid { display: grid; border-top: 1px solid var(--line); margin-top: 28px; }
.why-grid > div { display: grid; grid-template-columns: 2.6rem 1fr; gap: 10px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.why-grid .n { color: var(--mute); padding-top: .35em; }
.why-grid .t { font-weight: 800; font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.2; }
.why-grid .d { grid-column: 2; color: var(--mute); font-size: .95rem; line-height: 1.45; max-width: 52ch; }
.clients-label { margin-top: 28px; }
.clients { display: flex; flex-wrap: wrap; gap: .2em .5em; font-weight: 700; font-size: clamp(1.1rem, 1.7vw, 1.5rem); letter-spacing: -.015em; line-height: 1.2; margin-top: 10px; }
.clients span { white-space: nowrap; }
.clients span::after { content: "/"; margin-left: .5em; font-weight: 400; color: var(--mute); }
.clients span:last-child::after { content: ""; margin: 0; }
.proof { margin-top: 22px; max-width: 52ch; }
.lead { font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.45; max-width: 46ch; }
@media (max-width: 820px) { .close { grid-template-columns: 1fr; gap: 48px; } .close > div + div { border-top: 1px solid var(--line); padding-top: 36px; } }

/* form */
.form { display: grid; gap: 16px; max-width: 600px; }
.field { display: grid; gap: 6px; }
.field label, fieldset legend { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.field:focus-within label { color: var(--ink); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 12px 0; min-height: 52px; width: 100%; }
.field textarea { min-height: 90px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
fieldset { border: 0; display: grid; gap: 6px; }
.radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.radios label { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--edge); font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 6px 8px; cursor: pointer; }
.radios input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.radios span { position: relative; z-index: 1; }
.radios .bg { position: absolute; inset: 0; z-index: 0; }
.radios input:not(:checked):hover ~ .bg { background: rgba(11, 11, 11, .06); }
.radios input:checked ~ .bg { background: var(--ink); }
.radios input:checked ~ span { color: var(--paper); }
.radios input:focus-visible ~ .bg { outline: 2px solid var(--ink); outline-offset: -2px; }
@media (max-width: 480px) { .radios { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { min-height: 56px; width: 100%; background: var(--ink); color: var(--paper); font-family: var(--mono); font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; padding: 0 20px; }
.submit:hover, .submit:focus-visible { background: #2b2b28; }
.submit[disabled] { opacity: .6; cursor: progress; }
.form-status { min-height: 1.4em; font-size: .9rem; color: var(--mute); }
.form-status.is-error { color: #b3261e; }
.form-status a { color: var(--ink); text-decoration: underline; }
.form.is-sent .field, .form.is-sent fieldset, .form.is-sent .submit { display: none; }
.form.is-sent .form-status { color: var(--ink); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.05; }
.direct { margin-top: 22px; }
.direct a.big { font-weight: 800; font-size: clamp(1rem, 5vw, 2rem); letter-spacing: -.015em; line-height: 1.05; overflow-wrap: anywhere; }
.foot { padding: var(--g) var(--g) var(--g) calc(var(--rail) + var(--g)); border-top: 1px solid var(--line); color: var(--mute); display: flex; justify-content: space-between; gap: var(--g); flex-wrap: wrap; }
.foot a { text-decoration: underline; text-underline-offset: .3em; }

/* split lines (SplitText masks its own lines; this is only the no-JS / failure state) */
.story .claim .line { display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- opener variants ---------- */
.scene.open.v-foot { align-content: end; }
.scene.open.v-foot .mast { font-size: clamp(3.4rem, 8.6vw, 10.5rem); }
.scene.open.v-foot .open-copy { padding-top: 10px; }
.scene.open.v-lockup { align-content: end; grid-template-columns: auto 1fr; align-items: end; }
.scene.open.v-lockup .mast { white-space: normal; font-size: clamp(3.4rem, 6.4vw, 7.6rem); line-height: .84; padding-bottom: var(--row); }
.scene.open.v-lockup .open-copy { grid-template-columns: 1fr; justify-items: start; padding-left: 0; padding-bottom: calc(var(--row) + .2em); max-width: 36ch; }
@media (max-width: 820px) { .scene.open.v-lockup { grid-template-columns: 1fr; } .scene.open.v-lockup .mast { padding-bottom: 0; } .scene.open.v-lockup .open-copy { padding-left: var(--g); } }

/* ---------- FX: leader, cursor, rail ticks, flash, giant fill ---------- */
/* the leader: the paper card; JS-created so no-JS users never see it */
.leader { position: fixed; inset: 0; z-index: 60; background: var(--paper); color: #0b0b0b; display: grid; align-content: center; padding: 0 var(--g) 0 calc(var(--rail) + var(--g)); pointer-events: none; }
.leader .l1, .leader .l2 { display: block; overflow: hidden; }
.leader .l1 i, .leader .l2 i { display: block; font-style: normal; }
.leader .l1 { font-family: var(--sans); font-weight: 900; font-stretch: 62%; text-transform: uppercase; letter-spacing: -.03em; line-height: .9; font-size: clamp(2.6rem, 10.5vw, 11.5rem); }
.leader .l2 { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: -.025em; line-height: .98; font-size: clamp(2rem, 8vw, 8.6rem); }
.leader .ltc { position: absolute; right: var(--g); top: 22px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; color: #77756e; font-variant-numeric: tabular-nums; }
.leader .ltc b { color: #0b0b0b; font-weight: 500; }

/* the cursor: a viewfinder ring; REC over live film; desktop pointer only */
.cursor { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; display: none; transition: opacity 200ms var(--ease); }
.cursor .ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; mix-blend-mode: difference; display: flex; align-items: center; justify-content: center; transition: transform 200ms var(--ease); }
.cursor .ring i { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity 150ms var(--ease); }
.cursor.rec .ring i { opacity: 1; animation: recblink 1.1s steps(1) infinite; }
.cursor.rec .ring { transform: scale(1.35); }
.cursor.link .ring { transform: scale(1.8); }
.cursor.hide { opacity: 0; }
@keyframes recblink { 50% { opacity: .15; } }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor input, .has-cursor textarea, .has-cursor label { cursor: none; }

/* rail: one tick per scene, lit once passed; REC dot while any film is rolling */
.rail .ticks { position: absolute; inset: 0; pointer-events: none; }
.rail .ticks i { position: absolute; left: 0; width: 10px; height: 1px; background: rgba(255, 255, 255, .3); transition: background 300ms var(--ease), width 300ms var(--ease); }
.rail .ticks i.on { background: #fff; width: 16px; }
.rail .rec { position: absolute; left: 50%; transform: translateX(-50%); bottom: 64px; width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: 0; }
.is-rec .rail .rec { opacity: 1; animation: recblink 1.1s steps(1) infinite; }
@media (max-width: 820px) { .rail .rec { display: none; } }

/* grid flashbulb */
.grid .tile .flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 2; }
