/* Next Great American Base · site styles. Created 2026-11-09 (PT) · Updated 2026-11-10 · Version 2.
   The dark room: one blue-black field, lit things in it. Brand colour and type kept (NGAB kit): the mark's four cool
   tones, gold only as light and on the one action, Archivo Expanded for the name and headings, Archivo for reading. */
:root {
  --bg: #070a10; --surface: #0e1b33; --ink: #e3e8ee; --muted: #aebaca; --dim: #7d8da4; --ridge: #52637c;
  --nose: #eef2f6; --accent: #e0ad4c; --hot: #ffd89a; --on-accent: #070a10;
  --m: 24px; --gap: 24px; --col: calc((100vw - 2 * var(--m) - 11 * var(--gap)) / 12);
  --t-body: 17px; --t-small: 15px; --t-h3: 28px; --t-h2: clamp(32px, 3.2vw, 46px);
  --arrive: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Archivo', system-ui, sans-serif; font-stretch: 100%; font-weight: 400; font-size: var(--t-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-stretch: 125%; font-weight: 400; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: var(--t-h2); line-height: 1.02; }
h3 { font-size: var(--t-h3); line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }

/* the world: fixed behind the page, seen only through the windows */
#world { position: fixed; inset: 0; width: 100vw; height: 100lvh; display: block; z-index: 0; }
main, .foot { position: relative; z-index: 1; }
/* the page's wrappers never catch the pointer over a window; the world behind them is what is there */
main, .hero { pointer-events: none; } main > section, .hero-band { pointer-events: auto; }
main > section:not(.taproot):not(.close) { background: var(--bg); }

.btn { display: inline-block; font-size: var(--t-small); font-weight: 500; text-decoration: none; color: var(--on-accent); background: var(--accent); padding: 15px 24px; border-radius: 0; white-space: nowrap;
  transition: background-color .3s, transform .4s var(--arrive); }
.btn:hover { background: var(--hot); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* ── hero: the world above, the name in the band below */
.hero { position: relative; z-index: 1; height: 100svh; min-height: 560px; display: grid; grid-template-rows: 58fr 42fr; grid-template-columns: minmax(0, 1fr); }
.hero-window { position: relative; pointer-events: none; } /* the world shows through: the canvas is the picture here */
.links { pointer-events: auto; }
.hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .hero-still { display: none; }
.js.no-gl .hero-still { display: block; }
.links { position: absolute; top: var(--m); right: var(--m); display: flex; gap: 28px; z-index: 2; }
.links a { font-size: var(--t-small); text-decoration: none; color: var(--muted); transition: color .25s; }
.links a:hover { color: var(--nose); }
.hero-band { background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: 24px var(--m) 28px; }
.hero-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.lede { max-width: calc(5 * var(--col) + 4 * var(--gap)); font-size: var(--t-body); color: var(--ink); }
.name { font-weight: 500; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.86; white-space: nowrap; color: var(--nose); font-size: 5.9vw; transform-origin: 0 100%; max-width: 100%; }

/* ── staircase statement: the mark's floors, lightest at the top, down to the core's gold */
.stair-sec { position: relative; min-height: 100svh; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gap); padding: 0 var(--m); align-items: center; }
.stair { grid-column: 1 / 10; }
.st { font-stretch: 125%; font-weight: 500; font-size: var(--t-h2); line-height: 1.06; letter-spacing: -0.01em; white-space: nowrap; }
.st1 { color: var(--nose); } .st2 { color: var(--muted); padding-left: 4vw; } .st3 { color: var(--dim); padding-left: 8vw; }
.st4 { color: #7489a8; padding-left: 12vw; } .st5 { color: var(--accent); padding-left: 16vw; }
.stair-pics { grid-column: 10 / 13; display: grid; gap: 16px; }
.stair-pics figure { margin: 0; } .stair-pics img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.stair-note { position: absolute; left: var(--m); bottom: 64px; max-width: 440px; font-size: var(--t-small); color: var(--muted); }

/* ── below the surface: three photographs down a diagonal */
.diag { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gap); padding: 160px var(--m) 160px; }
.diag-h { grid-column: 7 / 13; grid-row: 1; align-self: start; font-weight: 300; font-size: var(--t-h2); }
.stage { display: contents; }
.stage figure { margin: 0; } .stage img { width: 100%; object-fit: cover; }
.diag b { font-weight: 600; color: var(--nose); }
.s1 figure { grid-column: 1 / 6; grid-row: 1 / 3; } .s1 img { aspect-ratio: 3 / 4; }
.s1 p { grid-column: 6 / 9; grid-row: 2; align-self: start; max-width: 36ch; margin-top: 48px; }
.s2 figure { grid-column: 6 / 10; grid-row: 3; margin-top: -120px; } .s2 img { aspect-ratio: 1; }
.s2 p { grid-column: 10 / 13; grid-row: 3; align-self: start; margin-top: -120px; max-width: 36ch; }
.s3 figure { grid-column: 7 / 13; grid-row: 4; margin-top: 96px; } .s3 img { aspect-ratio: 16 / 10; }
.s3 p { grid-column: 3 / 7; grid-row: 4; align-self: start; margin-top: 96px; max-width: 36ch; justify-self: end; }

/* ── the taproot: the world, pinned for three screens; text in the left columns */
.taproot { position: relative; height: 300svh; }
.tap-mark { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; } /* taste-skill-ignore: invisible scroll marker, not a rule */
.tap-mark:nth-child(1) { top: 0; } .tap-mark:nth-child(2) { top: 100svh; } .tap-mark:nth-child(3) { top: 200svh; }
.taproot { pointer-events: none; } .tap-text { pointer-events: auto; }
.tap-stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gap); padding: 0 var(--m); align-items: center; }
.tap-text { grid-column: 1 / 5; }
.tap-text h2, .tap-text h3 { font-size: var(--t-h2); line-height: 1.02; margin-bottom: 28px; }
.tap-steps { display: grid; }
.tap-step { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .5s var(--arrive), transform .7s var(--arrive), visibility 0s .5s; }
.tap-step.on { opacity: 1; visibility: visible; transform: none; transition-delay: .15s, .15s, 0s; }
.tap-step > p { color: var(--ink); max-width: 40ch; }
.flows { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 16px; }
.flows button { font: inherit; font-size: var(--t-small); color: var(--ink); background: var(--surface); border: 0; border-radius: 0; padding: 10px 16px; cursor: pointer; transition: background-color .25s, color .25s, transform .3s var(--arrive); }
.flows button:hover { background: #1b2c4c; transform: translateY(-1px); }
.flows button[aria-pressed="true"] { background: var(--nose); color: var(--bg); }
.flow-line { color: var(--hot); font-size: var(--t-small); min-height: 3.2em; max-width: 40ch; }

/* ── off every grid: full-bleed close-ups, one solid card stepping right */
.frame { position: relative; height: 100svh; overflow: hidden; }
.frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card { position: absolute; top: 24svh; width: calc(3 * var(--col) + 2 * var(--gap)); min-height: 52svh; background: var(--nose); color: var(--bg); padding: 28px 24px 0; display: flex; flex-direction: column; gap: 12px; }
.c1 { left: calc(var(--m) + 3 * (var(--col) + var(--gap))); } .c2 { left: calc(var(--m) + 6 * (var(--col) + var(--gap))); } .c3 { left: calc(var(--m) + 9 * (var(--col) + var(--gap))); }
.card h2, .card h3 { font-size: var(--t-h3); color: var(--bg); }
.card p { font-size: var(--t-small); color: #1d2a40; } .card .fact { font-weight: 600; color: var(--bg); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-top: auto; }
.cardlink { display: block; margin: 0 -24px; padding: 15px 24px; background: var(--bg); color: var(--nose); text-decoration: none; font-size: var(--t-small); font-weight: 500; transition: background-color .25s, color .25s; }
.cardlink:hover { background: var(--accent); color: var(--bg); }

/* ── what the base runs on: one size, three columns, the description in the fourth */
.index { padding: 180px var(--m); }
.index h2 { font-size: var(--t-h3); margin-bottom: 96px; }
.cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gap); }
.col { list-style: none; margin: 0; padding: 0; grid-column: span 3; font-size: var(--t-body); line-height: 1.25; }
.col li { color: var(--muted); padding: 3px 0; cursor: default; transition: color .2s; }
.col li.group { color: var(--nose); font-weight: 600; margin-bottom: 1.25em; }
.col li:not(.group):hover, .col li:not(.group):focus, .col li.on { color: var(--nose); outline: none; }
.desc { grid-column: 10 / 13; grid-row: 1; color: var(--hot); font-size: var(--t-body); line-height: 1.5; min-height: 6em; }

/* ── defended: three sheets that slide up over each other */
.curtain { position: relative; }
.interlock { position: relative; z-index: 3; margin-left: calc(var(--m) + 7 * (var(--col) + var(--gap))); width: calc(4 * var(--col) + 3 * var(--gap)); padding: 140px 0 0; margin-bottom: -96px; }
.interlock h2 { font-size: var(--t-h3); margin-bottom: 16px; }
.interlock p { color: var(--ink); background: var(--bg); padding: 0 0 20px; }
.sheet { position: sticky; top: 0; height: 100svh; margin: 0; overflow: hidden; }
.sheet video { width: 100%; height: 100%; object-fit: cover; }
.sheet figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px var(--m) 28px; font-size: var(--t-small); color: var(--nose); background: linear-gradient(transparent, rgba(7, 10, 16, .78)); } /* taste-skill-ignore: neutral scrim under a caption on a photograph */

/* ── people keep the decision: an inset panel, the photograph cut to the mark's arrowhead */
.panel-sec { padding: 20px; }
.inset { position: relative; background: var(--surface); min-height: 110svh; overflow: hidden; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr; gap: 0 var(--gap); padding: 56px 36px 0; }
.inset-h { grid-column: 1 / 7; grid-row: 1; color: var(--nose); font-size: var(--t-h2); }
.shaped { grid-column: 1 / 8; grid-row: 2; margin: 48px 0 0; align-self: end; }
.shaped img { width: 100%; aspect-ratio: 156 / 100; object-fit: cover; clip-path: polygon(50% 0, 100% 100%, 78% 90%, 67% 95.5%, 50% 83%, 33% 95.5%, 22% 90%, 0 100%); transform: translateY(16%); }
.inset-text { grid-column: 9 / 13; grid-row: 1 / 3; display: grid; gap: 64px; align-content: start; }
.inset-text h3 { margin-bottom: 12px; color: var(--nose); }
.inset-text p { color: var(--ink); max-width: 38ch; }

/* ── a home for those who defend it: each chapter on its own picture's darkest ground */
.chapter { position: relative; height: 100svh; background: var(--bg); overflow: hidden; }
.chapter::before { content: ''; position: absolute; inset: 0; background: var(--field); clip-path: inset(20px); transition: clip-path .8s var(--arrive); }
.chapter.arrive::before { clip-path: inset(0); }
.chapter h2, .chapter h3 { position: absolute; top: 32px; left: 32px; font-size: var(--t-h3); color: var(--nose); max-width: 18ch; z-index: 1; }
.portrait { position: absolute; left: 50%; top: 112px; height: 75%; aspect-ratio: 3 / 4; transform: translateX(-50%) scale(.92); transition: transform .8s var(--arrive); }
.chapter.arrive .portrait { transform: translateX(-50%) scale(1); }
.portrait video { width: 100%; height: 100%; object-fit: cover; }
.ch-line { position: absolute; left: 32px; bottom: 32px; max-width: 32ch; color: var(--ink); }
.ch-link { position: absolute; right: 32px; bottom: 32px; font-size: var(--t-small); color: var(--nose); text-underline-offset: 4px; }
.ch-link:hover { color: var(--hot); }

/* ── the teaser */
.film { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gap); padding: 200px var(--m); align-items: end; }
.film-head { grid-column: 1 / 4; }
.film-head h2 { font-size: var(--t-h3); margin-bottom: 16px; }
.film-head p { color: var(--muted); }
.player { grid-column: 4 / 13; position: relative; background: #000; }
.player video { width: 100%; aspect-ratio: 16 / 9; }
.play { position: absolute; left: 24px; bottom: 72px; display: flex; align-items: center; justify-content: center; background: var(--accent); border: 0; border-radius: 0; width: 72px; height: 72px; cursor: pointer; transition: background-color .25s, transform .4s var(--arrive); }
.play svg { width: 26px; fill: var(--bg); }
.play:hover { background: var(--hot); transform: scale(1.05); }
.player.playing .play { opacity: 0; pointer-events: none; }

/* ── the close: the world on the left two thirds, a filled column of night on the right */
.close { position: relative; height: 92svh; min-height: 620px; display: grid; grid-template-columns: repeat(12, 1fr); }
.close-window { grid-column: 1 / 9; pointer-events: none; }
.close { pointer-events: none; } .close-text { pointer-events: auto; }
.close-text { grid-column: 9 / 13; background: var(--bg); padding: 0 var(--m) 0 calc(var(--col) + var(--gap)); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.close-text h2 { font-size: var(--t-h2); }
.close-text p { color: var(--ink); }
.close-text .fact { font-weight: 600; color: var(--nose); }
.close-text .btn { align-self: flex-start; margin-top: 8px; }

/* ── footer: the name across the last photograph */
.foot { height: 100svh; min-height: 560px; overflow: hidden; color: var(--nose); }
.foot-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
.foot-top { position: absolute; top: 32px; left: var(--m); right: var(--m); display: flex; justify-content: space-between; gap: 24px; }
.foot-top nav { display: flex; flex-direction: column; gap: 4px; }
.foot-top a { color: var(--nose); text-underline-offset: 4px; }
.foot-top a:hover { color: var(--hot); }
.foot-top p { max-width: 34ch; text-align: right; }
.foot-name { position: absolute; left: var(--m); right: var(--m); bottom: 72px; margin: 0; font-stretch: 125%; font-weight: 500; text-transform: uppercase; line-height: .86; white-space: nowrap; font-size: 5.9vw; transform-origin: 0 100%; }
.legal { position: absolute; left: var(--m); bottom: 32px; font-size: 13px; color: var(--muted); }

/* ── entrances: the parts of each section arrive in order; nothing stays hidden without script */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--arrive), transform 1s var(--arrive); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-rise].in { opacity: 1; transform: none; }

/* ── phone: its own composition */
@media (max-width: 900px) {
  @media (max-width: 560px) { .cols { grid-template-columns: 1fr; } }
  :root { --m: 16px; --gap: 12px; --t-h3: 24px; --t-h2: 30px; }
  .hero { grid-template-rows: 50fr 50fr; }
  .links a:not(:last-child) { display: none; }
  .hero-band { justify-content: flex-end; gap: 22px; padding-bottom: 16px; }
  .hero-row { flex-direction: column; align-items: flex-start; order: 2; }
  .lede { max-width: none; font-size: 16px; }
  .name { white-space: normal; }
  .name span { display: block; white-space: nowrap; }
  .stair-sec { display: block; padding: 120px var(--m); min-height: 0; }
  .st { font-size: 6.4vw; white-space: normal; }
  .st2 { padding-left: 4vw; } .st3 { padding-left: 8vw; } .st4 { padding-left: 12vw; } .st5 { padding-left: 16vw; }
  .stair-pics { margin-top: 40px; grid-template-columns: 1fr 1fr; }
  .stair-note { position: static; margin-top: 32px; }
  .diag { display: block; padding: 120px var(--m); }
  .diag-h { margin-bottom: 40px; }
  .stage { display: block; margin-bottom: 56px; }
  .diag .stage p { margin-top: 16px; font-size: 16px; max-width: none; }
  .s2 figure, .s2 p { margin-top: 0; }
  .s2 figure { width: 62%; margin: 0 0 0 auto; } .diag .s2 p { margin-left: 38%; }
  .s3 figure { width: 78%; margin: 0; }
  .tap-stage { align-items: end; padding-bottom: 0; }
  .tap-text { grid-column: 1 / -1; background: var(--bg); padding: 20px var(--m) 24px; margin: 0 calc(-1 * var(--m)); }
  .tap-text h2, .tap-text h3 { margin-bottom: 12px; }
  .flows button { padding: 10px 13px; }
  .card { left: 0 !important; right: 0; bottom: 0; top: auto; width: auto; min-height: 46svh; padding: 20px var(--m) 0; display: grid; grid-template-columns: 1fr 96px; align-content: start; column-gap: 16px; }
  .card > *:not(img) { grid-column: 1; } .card img { grid-column: 2; grid-row: 1 / 3; width: 96px; margin: 0; }
  .card .cardlink { grid-column: 1 / -1; margin: auto calc(-1 * var(--m)) 0; }
  .index { padding: 120px var(--m); } .index h2 { margin-bottom: 48px; }
  .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); } .col { grid-column: auto; margin-bottom: 40px; font-size: 18px; line-height: 1.4; }
  .desc { grid-column: 1 / -1; grid-row: auto; min-height: 0; margin-top: 8px; }
  .interlock { margin-left: var(--m); width: 70%; padding-top: 100px; margin-bottom: -72px; }
  .sheet { height: 88svh; }
  .panel-sec { padding: 10px; }
  .inset { display: flex; flex-direction: column; gap: 32px; padding: 32px 20px 0; min-height: 0; }
  .inset-h { font-size: var(--t-h2); }
  .inset-text { gap: 32px; }
  .shaped { width: 86vw; align-self: center; margin: 8px 0 0; }
  .chapter h2, .chapter h3 { left: var(--m); top: 24px; }
  .portrait { top: 50%; height: auto; width: 80%; transform: translate(-50%, -55%) scale(.92); }
  .chapter.arrive .portrait { transform: translate(-50%, -55%) scale(1); }
  .ch-line { left: var(--m); right: var(--m); bottom: 56px; font-size: 16px; } .ch-link { left: var(--m); right: auto; bottom: 24px; }
  .film { display: block; padding: 120px var(--m); } .film-head { margin-bottom: 24px; }
  .play { left: 12px; bottom: 56px; width: 56px; height: 56px; }
  .close { display: flex; flex-direction: column-reverse; height: auto; min-height: 0; }
  .close-window { height: 55svh; }
  .close-text { padding: 72px var(--m) 40px; }
  .foot { height: 88svh; }
  .foot-top { flex-direction: column; } .foot-top p { text-align: left; }
  .foot-name { white-space: normal; } .foot-name span { display: block; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .tap-step { transition: none; }
  .chapter::before, .portrait { transition: none; }
}
