/* ============================================================
   Alt Ordo · altordo.com — AltOrdo Atlas (brand kit v1, Oct 2026)
   Warm paper (never pure white), dark green-black ink, one red marker.
   Source Serif 4 for headings and reading, IBM Plex Sans Condensed for
   caps labels and numbers, IBM Plex Mono for sources.
   Tokens match the desktop app (altordo_desktop/app/ui/src/styles.css).
   ============================================================ */

:root {
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-cond: "IBM Plex Sans Condensed", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* brand palette (kit v1, AT.STYLE) */
  --paper: #efe9dc; --paper-dk: #e2d9c6; --card: #fbf8f1; --cream: #f6f3ea;
  --ink: #1d2a22; --ink-soft: #4a5a4e; --muted: #5c695e; /* was #8b958a (2.6:1); 4.8:1 on paper, WCAG AA */
  --marker: #a3442f; /* was #c8553d (3.6:1 as text); 5.1:1 on paper, 6.1:1 under white text */ --gold: #d9a441; --forest: #1f3b2a; --green: #2f5d3a;
  --sage: #9aa98a; --moss: #5b6b3a; --sand: #d9c39a; --clay: #b5764a; --water: #6e9fb5;

  --ink-2: #3c4b40;
  --line: rgba(29, 42, 34, .12);
  --line-2: rgba(29, 42, 34, .2);
  --line-3: rgba(29, 42, 34, .34);
  --plate: rgba(29, 42, 34, .94);
  --hl: rgba(217, 164, 65, .4);
  --shadow-card: 0 0 0 .5px rgba(29, 42, 34, .16), 0 4px 12px rgba(15, 20, 15, .1);
  --shadow-print: 0 0 0 .5px rgba(29, 42, 34, .14), 0 18px 36px -16px rgba(15, 20, 15, .38), 0 3px 8px rgba(15, 20, 15, .12);

  --r-sm: 2px; --r: 3px; --r-lg: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-serif); font-weight: 700; line-height: 1.06; margin: 0; letter-spacing: -.012em; text-wrap: balance; color: var(--ink); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
p { margin: 0; }
strong { font-weight: 600; }
::selection { background: var(--hl); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); border-top: 1px solid var(--line); }
.lead { margin-top: 18px; font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); max-width: 58ch; }

/* caps label (Plex Sans Condensed, wide tracking) */
.label, .caption {
  font: 600 .74rem/1.3 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.source { font: 400 .7rem/1.4 var(--f-mono); color: var(--muted); letter-spacing: .02em; }

/* ticker: red block + ink bar (top-left of every "page") */
.ticker { display: inline-flex; align-items: stretch; margin-bottom: 22px; font: 700 .72rem/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; }
.ticker__block { background: var(--marker); color: var(--card); padding: 7px 10px 6px; white-space: nowrap; }
.ticker__bar { background: var(--plate); color: var(--card); padding: 7px 12px 6px; }

/* plates: text on solid ink, cream caps */
.plate { display: inline-block; font: 700 .7rem/1.25 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px 5px; border-radius: var(--r-sm); white-space: nowrap; }
.plate[hidden] { display: none; }
.plate--ink { background: var(--plate); color: var(--card); }
.plate--red { background: var(--marker); color: var(--card); }

/* wordmark (kit: Plex Sans Condensed Bold, +0.32em, the red slash as the marker) */
.wordmark { font: 700 1rem/1 var(--f-cond); letter-spacing: .32em; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; margin: 0 -.32em 0 0; }
.wordmark i { font-style: normal; color: var(--marker); }
.wordmark--light { color: var(--paper); }
/* the mark (same geometry as the app icon): circle, equilateral triangle and red dot on one centre */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin: 0; }
.brand__mark { width: 34px; height: 34px; flex: none; overflow: visible; }
.brand--light { color: var(--paper); }

/* buttons: solid plates or hairline outlines, square-ish */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 12px 20px 11px; border-radius: var(--r);
  font: 600 .8rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--sm { min-height: 38px; padding: 9px 14px 8px; font-size: .74rem; }
.btn--ink { background: var(--ink); color: var(--card); }
.btn--ink:hover { background: var(--forest); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-3); }
.btn--line:hover { border-color: var(--ink); background: rgba(29, 42, 34, .04); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--card); }
.btn--line-light { background: transparent; color: var(--paper); border-color: rgba(239, 233, 220, .4); }
.btn--line-light:hover { border-color: var(--paper); }

.text-link { display: inline-block; margin-top: 22px; font: 600 .8rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-3); padding-bottom: 4px; }
.text-link:hover { border-color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- announcement ticker ---------- */
.announce { display: flex; align-items: stretch; justify-content: center; background: var(--ink); color: var(--paper); text-decoration: none; font: 600 .74rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; }
.announce__tag { background: var(--marker); color: var(--card); padding: 10px 12px 9px; font-weight: 700; letter-spacing: .18em; white-space: nowrap; }
.announce__text { padding: 10px 14px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce__go { padding: 10px 0 9px; transition: transform .2s var(--ease); }
.announce:hover .announce__go { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(239, 233, 220, .96); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.nav.is-scrolled { border-bottom-color: var(--line-2); }
.nav__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); height: 66px; display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font: 600 .76rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav__links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav__cart { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: -10px; color: var(--ink); }
.nav__cart svg { width: 22px; height: 22px; }
.nav__cart:hover { color: var(--marker); }
.nav__burger { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px 8px; margin-left: auto; }
.nav__burger span { display: block; height: 1.5px; background: var(--ink); margin: 5px 0; }

/* ---------- hero ---------- */
.hero { padding-top: 0; padding-bottom: clamp(48px, 6vw, 80px); overflow: hidden; }
.hero__top { position: relative; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; min-height: clamp(600px, 78vh, 800px); padding-block: clamp(40px, 5vw, 64px) clamp(120px, 14vw, 200px); align-items: start; }
.hero__inner .atlas { width: 100%; max-width: 560px; justify-self: end; align-self: start; }
/* over the landscape the copy sits on its own paper card, a twin of the map card */
.hero__copy { align-self: start; background: var(--card); box-shadow: var(--shadow-print); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 36px); }
.hero__copy .hero__title { font-size: clamp(2.4rem, 3.7vw, 3.4rem); }
.hero__copy .hero__sub { font-size: 1.1rem; margin-top: 18px; }
.hero__copy .hero__actions { margin-top: 24px; }
.hero__copy .hero__facts { margin-top: 28px; }
/* the low-poly homestead vignette (js/hero.js): full-bleed backdrop behind the copy and the map card */
.hero__stage { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.hero__stage canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); filter: contrast(1.04); }
.hero.has-3d .hero__stage canvas { opacity: 1; }
.hero.has-3d .hero__stage canvas.is-switching { opacity: 0; transition-duration: .45s; }
/* slide dots: which landscape and home is showing, bottom right of the banner */
.hero__slides { position: absolute; z-index: 2; right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); bottom: 22px; display: flex; align-items: center; gap: 14px; }
.hero__slides[hidden] { display: none; }
.hero__slide-caption { display: inline-flex; gap: 8px; margin: 0; }
.hero__slide-caption b { font-weight: 700; }
.hero__slide-caption span { color: var(--sand); }
.hero__dots { display: flex; gap: 6px; background: var(--plate); padding: 8px 10px; border-radius: var(--r-sm); }
.hero__dot { width: 10px; height: 10px; padding: 0; border: 1.5px solid var(--card); border-radius: 50%; background: transparent; cursor: pointer; }
.hero__dot[aria-current="true"] { background: var(--marker); border-color: var(--marker); }
.hero__dot:hover { background: rgba(251, 248, 241, .5); }
.hero__dot:focus-visible { outline: 2px solid var(--card); outline-offset: 2px; }
/* an even paper wash keeps the scene a quiet backdrop under the copy and the map card */
.hero__stage::after { content: ""; position: absolute; inset: 0; background: rgba(239, 233, 220, .06); }
.hero__title { font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -.02em; }
.hero__sub { margin-top: 22px; font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 40px 0 0; border-top: 1px solid var(--line-2); }
.hero__facts div { padding: 16px 16px 0 0; }
.hero__facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.hero__facts dt { font: 600 .68rem/1.2 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero__facts dd { margin: 8px 0 4px; font: 700 2rem/1 var(--f-cond); color: var(--ink); font-variant-numeric: tabular-nums; }
.hero__facts span { font-size: .86rem; color: var(--ink-soft); line-height: 1.35; display: block; }

/* the atlas map, shown as a print on a card */
.atlas { position: relative; margin: 0; background: var(--card); padding: clamp(12px, 1.6vw, 20px); border-radius: var(--r-lg); box-shadow: var(--shadow-print); }
.atlas__map { position: relative; aspect-ratio: 985 / 620; background: var(--paper); }
.atlas__map svg { width: 100%; height: 100%; }
.atlas__map .m-states path { transition: fill-opacity .15s var(--ease); cursor: pointer; }
.atlas__map .m-states path:hover, .atlas__map .m-states path:focus { fill-opacity: .75; outline: none; }
.atlas__map .m-states path:focus-visible { stroke: var(--ink); stroke-width: 2.5; }
.atlas__map .m-home { filter: drop-shadow(0 1px 1.5px rgba(15, 20, 15, .35)); pointer-events: none; }
.atlas__map .m-counties, .atlas__map .m-borders { pointer-events: none; }
.atlas__pin { position: absolute; z-index: 2; width: 0; height: 0; pointer-events: none; }
.atlas__pin .pin { position: absolute; left: -8px; top: -21px; }
.atlas__pin .plate { position: absolute; left: 0; top: 18px; transform: translateX(-50%); }
.atlas__pin .plate::before { content: ""; position: absolute; left: 50%; top: -16px; height: 14px; border-left: 1.5px dashed var(--marker); }
.pin { width: 16px; height: 16px; background: var(--marker); border: 2px solid var(--card); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 4px rgba(15, 20, 15, .35); }
.atlas__hover { position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); z-index: 3; }
.atlas figcaption { display: grid; gap: 6px; padding-top: 14px; }
.atlas figcaption .caption { color: var(--ink); letter-spacing: .08em; font-size: .72rem; }

.countries { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.countries__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.countries__all { font: 600 .68rem/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-3); padding-bottom: 2px; }
.countries__all:hover { border-color: var(--ink); }
.countries__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 4px 12px; }
.countries__list li { font: 500 .78rem/1.3 var(--f-cond); letter-spacing: .02em; padding: 5px 0; border-bottom: 1px solid var(--line); }
.countries__live { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 700; }
.countries__live .plate { font-size: .56rem; padding: 3px 5px 2px; background: var(--marker); }
.countries__live:hover { text-decoration: underline; text-underline-offset: 3px; }
.countries__soon { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); }
.countries__soon small { font: 600 .56rem/1.6 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* three paths, set as an index */
.paths { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.paths li + li { border-left: 1px solid var(--line-2); }
.path { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px 24px 26px; text-decoration: none; color: inherit; transition: background .2s var(--ease); }
.paths li:first-child .path { padding-left: 0; }
.path:hover { background: rgba(251, 248, 241, .6); }
.path__num { font: 700 .8rem/1 var(--f-cond); letter-spacing: .14em; color: var(--muted); }
.path__kicker { font: 600 .7rem/1.3 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.path__title { font: 700 1.6rem/1.1 var(--f-serif); letter-spacing: -.01em; }
.path__text { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.path__meta { margin-top: auto; padding-top: 10px; font: 600 .74rem/1.2 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); font-variant-numeric: tabular-nums; }
.path:hover .path__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* ---------- section head ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head > div { max-width: 720px; }

/* ---------- guides shelf: covers as prints ---------- */
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px clamp(24px, 4vw, 56px); }
.guide__cover { max-width: 300px; }
.guide { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; }
.guide__cover { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--card); padding: 8px; border-radius: var(--r-sm); box-shadow: var(--shadow-print); transition: transform .3s var(--ease); }
.guide__cover img { width: 100%; height: 100%; object-fit: cover; background: var(--paper-dk); }
.guide:hover .guide__cover { transform: translateY(-3px); }
.guide__tag { position: absolute; left: 0; top: 18px; }
.guide__cat { font: 600 .7rem/1.3 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.guide__title { font: 700 1.3rem/1.15 var(--f-serif); margin-top: -8px; }
.guide__blurb { font-size: .95rem; line-height: 1.5; color: var(--ink-2); margin-top: -6px; }
.guide__foot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line-2); margin-top: auto; }
.guide__price { font: 700 1.15rem/1 var(--f-cond); font-variant-numeric: tabular-nums; }
.guide__buy { font: 600 .72rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.guide:hover .guide__buy { color: var(--ink); }
.guide:hover .guide__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- location guides ---------- */
.places__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.picker { margin-top: 32px; }
.picker .label { display: block; margin-bottom: 10px; }
.picker__row { display: flex; gap: 10px; flex-wrap: wrap; }
.picker select {
  flex: 1 1 240px; min-height: 46px; padding: 10px 40px 10px 14px; border: 1px solid var(--line-3); border-radius: var(--r); background: var(--card);
  font: 400 1.05rem/1.2 var(--f-serif); color: var(--ink); appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.picker select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.places__popular { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font: 600 .72rem/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 8px 10px 7px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--card); }
.chip:hover { border-color: var(--ink); }

.scorecard { background: var(--card); box-shadow: var(--shadow-card); border-radius: var(--r); padding: 26px 28px 22px; border-left: 5px solid var(--ink); }
.scorecard__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.scorecard__head span:first-child { font: 700 1.5rem/1 var(--f-serif); }
.scorecard__head span:last-child { font: 600 .7rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.scorecard__list { list-style: none; margin: 0; padding: 6px 0 14px; }
.scorecard__list li { display: grid; grid-template-columns: 9em 1fr 2.4em; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.scorecard__list i { height: 8px; background: var(--paper-dk); position: relative; }
.scorecard__list i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--gold); }
.scorecard__list b { font: 700 1.1rem/1 var(--f-cond); text-align: right; }

/* picker across the top, then the state card: mini map (left) beside the state's numbers (right) */
.places__pick { display: grid; gap: 16px; }
.places__pick .gp { margin: 0; }
.sc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--card); box-shadow: var(--shadow-card); border-left: 5px solid var(--ink); border-radius: var(--r-sm); padding: clamp(18px, 2.4vw, 28px); }
.sc__map { aspect-ratio: 985 / 620; background: var(--paper); }
.sc__map svg { width: 100%; height: 100%; display: block; }
.sc__map .m-states path { cursor: pointer; transition: fill .15s var(--ease), fill-opacity .15s var(--ease); }
.sc__map .m-states path:hover { fill-opacity: .7; }
.sc__map .m-states path.is-on { fill: var(--marker); fill-opacity: .9; }
.sc__map .m-home, .sc__map .m-counties { display: none; }
.sc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.sc__head h3 { font-size: 1.5rem; }
.sc__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 14px 0 6px; }
.sc__facts div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.sc__facts dt { font: 600 .66rem/1.2 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.sc__facts dd { margin: 6px 0 0; font: 700 1.8rem/1 var(--f-cond); font-variant-numeric: tabular-nums; }
.sc__facts small { font-size: .9rem; color: var(--muted); margin-left: 2px; }
.sc__sub { margin-top: 14px; }
.sc__top { list-style: none; margin: 8px 0 0; padding: 0; }
.sc__top li { display: grid; grid-template-columns: 9.5em 1fr 2.4em; gap: 12px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.sc__top a { color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc__top a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sc__top i { height: 7px; background: var(--paper-dk); position: relative; }
.sc__top i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--gold); }
.sc__top b { font: 700 1rem/1 var(--f-cond); text-align: right; font-variant-numeric: tabular-nums; }
.sc__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }
.sc__more { font: 600 .7rem/1.3 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.sc__hint { color: var(--ink-soft); }

/* ---------- launch ---------- */
.launch__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.launch__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.launch__live[hidden] { display: none; }
.btn__os { width: 17px; height: 17px; fill: currentColor; margin: -2px 8px 0 -2px; vertical-align: middle; flex: none; }
.launch__fine { margin: 18px 0 0; font: 500 .82rem/1.5 var(--f-cond); color: var(--ink-soft); max-width: 46ch; }
.launch__help { margin-top: 14px; font-size: .92rem; color: var(--ink-soft); max-width: 52ch; }
.launch__help summary { cursor: pointer; font: 700 .72rem/1.4 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.launch__help p { margin: 10px 0 0; }
.launch__help a { color: var(--ink); }
.launch__shot { margin: 0; }
.launch__shot img { display: block; width: 100%; height: auto; border-radius: var(--r-sm); box-shadow: 0 0 0 1px var(--line-2); }
.launch__shot figcaption { margin-top: 10px; font: 700 .68rem/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.launch__actions .btn.is-other { background: transparent; color: var(--ink); border-color: var(--line-3); }
.launch__actions .btn.is-other:hover { border-color: var(--ink); background: rgba(29, 42, 34, .04); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dial { display: flex; flex-direction: column; align-items: stretch; text-align: center; }
.dial__num { background: var(--plate); color: var(--card); font: 700 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--f-cond); font-variant-numeric: tabular-nums; padding: 18px 6px 16px; border-radius: var(--r-sm) var(--r-sm) 0 0; }
.dial--lead .dial__num { background: var(--marker); }
.dial__label { background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font: 700 .68rem/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; padding: 9px 4px 8px; color: var(--ink); border-radius: 0 0 var(--r-sm) var(--r-sm); }
.launch.is-live .dial__num { background: var(--green); }

.pillars { list-style: none; margin: clamp(56px, 7vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.pillar { border-top: 2px solid var(--ink); padding-top: 18px; }
.pillar__num { display: block; font: 400 italic 1rem/1 var(--f-serif); color: var(--muted); margin-bottom: 12px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 10px; }
.pillar p { font-size: .98rem; line-height: 1.55; color: var(--ink-2); }

/* ---------- movement ---------- */
.movement__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.movement__copy .btn { margin-top: 30px; }
.movement__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: var(--card); box-shadow: var(--shadow-card); border-left: 5px solid var(--ink); border-radius: var(--r-sm); padding: 22px 22px 20px; }
.stat:first-child { border-left-color: var(--marker); }
.stat strong { display: block; font: 700 clamp(2.4rem, 4vw, 3.1rem)/1 var(--f-cond); font-variant-numeric: tabular-nums; letter-spacing: -.005em; }
.stat span { display: block; margin-top: 10px; font: 600 .72rem/1.35 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- featured videos: thumbnails as prints ---------- */
.carousel__nav { display: flex; gap: 8px; }
.carousel__btn { width: 46px; height: 46px; border: 1px solid var(--line-3); border-radius: var(--r); background: transparent; font: 400 1.1rem/1 var(--f-cond); }
.carousel__btn:hover { border-color: var(--ink); }
.carousel {
  --pad: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px var(--pad) 24px; scroll-padding-inline: var(--pad);
}
.carousel::-webkit-scrollbar { display: none; }
.vid-card { flex: 0 0 clamp(260px, 30vw, 340px); scroll-snap-align: start; background: none; border: 0; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.vid-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--card); padding: 7px; border-radius: var(--r-sm); box-shadow: var(--shadow-print); transition: transform .3s var(--ease); }
.vid-card__thumb img { width: 100%; height: 100%; object-fit: cover; background: var(--paper-dk); filter: saturate(.85) sepia(.06); }
.vid-card:hover .vid-card__thumb { transform: translateY(-3px); }
.vid-card__play { position: absolute; left: 7px; bottom: 7px; }
.vid-card__title { font: 600 1.1rem/1.25 var(--f-serif); }
.vid-card:hover .vid-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.vid-card__meta { font: 600 .7rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-top: -4px; }
.featured__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.trailer { display: flex; align-items: center; gap: 16px; background: none; border: 0; padding: 0; text-align: left; }
.trailer__thumb { width: 120px; aspect-ratio: 16 / 9; background: var(--card); padding: 4px; box-shadow: var(--shadow-card); border-radius: var(--r-sm); }
.trailer__thumb img { width: 100%; height: 100%; object-fit: cover; }
.trailer__text { display: flex; flex-direction: column; gap: 6px; font: 600 1.05rem/1.2 var(--f-serif); }
.trailer:hover .trailer__text > span:last-child { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- about ---------- */
.about__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about__copy > p:not(.ticker) { margin-top: 18px; font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.about__copy h2 + p { margin-top: 24px; }
.quote { margin: 36px 0 0; background: var(--card); box-shadow: var(--shadow-card); border-left: 5px solid var(--ink); padding: 24px 26px; border-radius: var(--r-sm); }
.quote p { font: 400 1.35rem/1.4 var(--f-serif); color: var(--ink); }
.quote cite { display: block; margin-top: 14px; font: 600 normal .7rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.mission { border-top: 2px solid var(--ink); padding-top: 22px; }
.mission__text { margin-top: 14px; font: 400 1.3rem/1.45 var(--f-serif); }
.mission__list { list-style: none; counter-reset: m; margin: 24px 0 0; padding: 0; }
.mission__list li { counter-increment: m; display: grid; grid-template-columns: 2.2em 1fr; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 1.02rem; }
.mission__list li::before { content: counter(m, decimal-leading-zero); font: 700 .8rem/1.9 var(--f-cond); letter-spacing: .1em; color: var(--muted); }

/* ---------- substack (forest panel) ---------- */
.substack { background: var(--forest); color: var(--paper); padding-block: clamp(56px, 7vw, 88px); }
.substack__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: end; }
.substack .label { color: var(--sand); }
.substack h2 { color: var(--paper); margin-top: 14px; }
.substack p:not(.label) { margin-top: 16px; color: rgba(239, 233, 220, .78); max-width: 58ch; font-size: 1.1rem; }
.substack__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.socials { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; font: 600 .76rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); }
.socials a:hover { color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.contact__cards { display: grid; gap: 14px; }
.contact__card { display: block; background: var(--card); box-shadow: var(--shadow-card); border-radius: var(--r-sm); padding: 24px 26px; text-decoration: none; color: inherit; }
.contact__email { display: inline-block; margin-top: 10px; font: 600 clamp(1.3rem, 2.4vw, 1.7rem)/1.2 var(--f-serif); text-decoration: none; border-bottom: 1px solid var(--line-3); overflow-wrap: anywhere; }
.contact__email:hover { border-color: var(--ink); }
.contact__kit-title { display: block; margin-top: 10px; font: 600 1.35rem/1.2 var(--f-serif); }
.contact__card--kit:hover .contact__kit-title { text-decoration: underline; text-underline-offset: 4px; }
.contact__note { margin-top: 8px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- footer (ink) ---------- */
.footer { background: var(--ink); color: var(--paper); padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__tag { margin-top: 18px; color: rgba(239, 233, 220, .7); max-width: 34ch; }
.socials--footer { margin-top: 22px; gap: 16px; }
.socials--footer a { color: rgba(239, 233, 220, .7); }
.socials--footer a:hover { color: var(--paper); }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links p { font: 700 .7rem/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 6px; }
.footer__links a { color: rgba(239, 233, 220, .82); text-decoration: none; font-size: .98rem; }
.footer__links a, .footer__links .footer__btn { color: rgba(239, 233, 220, .82); text-decoration: none; font: 400 .98rem/1.6 var(--f-serif); text-align: left; }
.footer__links a:hover, .footer__links .footer__btn:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px 28px; border-top: 1px solid rgba(239, 233, 220, .14); font: 400 .74rem/1.4 var(--f-mono); color: rgba(239, 233, 220, .6); }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: rgba(239, 233, 220, .75); text-decoration: none; }
.footer__bottom a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 22, 18, .72); }
.modal__card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--card); border-radius: var(--r-lg); padding: 30px 28px 24px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.modal__head h3 { font-size: 1.6rem; margin-top: 10px; }
.modal__head p:not(.label) { margin-top: 8px; color: var(--ink-soft); }
.modal__substack { margin-top: 18px; }
.modal__iframe { width: 100%; height: 320px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; }
.modal__fallback { margin-top: 10px; font: 400 .9rem/1.4 var(--f-serif); color: var(--ink-soft); }
.modal__fallback a { color: var(--ink); text-underline-offset: 3px; }
.modal__close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 1rem; color: var(--ink-soft); z-index: 2; }
.modal__close:hover { color: var(--ink); }
.modal__video-card { position: relative; width: min(1000px, 100%); background: #000; border-radius: var(--r); }
.modal__video-card .modal__close { top: -44px; right: 0; color: var(--paper); }
.modal__video-wrap { aspect-ratio: 16 / 9; }
.modal__video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- motion (quiet) ---------- */
@keyframes pin-drop { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.atlas.is-ready .atlas__pin { animation: pin-drop .6s var(--ease) .2s both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 18px; }
  .pillars { grid-template-columns: 1fr 1fr; }
}
/* header: the logo never gets squeezed under the links, and the links fold into the
   menu button before they run out of room (wider fallback fonts, e.g. Firefox with web
   fonts blocked, need the tighter spacing below 1420px) */
.brand { flex: none; }
@media (max-width: 1420px) {
  .nav__inner { gap: 20px; }
  .nav__links { gap: 18px; }
  .nav__links a { letter-spacing: .1em; }
}
@media (max-width: 1180px) {
  .nav__links {
    display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line-2); padding: 8px var(--gutter) 16px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); letter-spacing: .14em; }
  .nav__burger { display: block; margin-left: 0; }
  .nav__cart { margin-left: auto; margin-right: 0; }
}
@media (max-width: 920px) {
  .sc { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: 1fr 1fr; }
  /* copy, then the vignette, then the map card */
  .hero__top { display: flex; flex-direction: column; }
  .hero__inner { display: contents; }
  .hero__copy { order: 1; padding: 32px var(--gutter) 8px; background: none; box-shadow: none; }
  .hero__stage { order: 2; position: relative; inset: auto; height: 62vw; min-height: 260px; margin-top: 8px; }
  .hero__slides { order: 2; position: relative; right: auto; bottom: auto; justify-content: flex-end; margin: -46px var(--gutter) 14px; }
  .hero__slide-caption { font-size: .6rem; }
  .hero__inner .atlas { order: 3; width: auto; max-width: none; margin: 4px var(--gutter) 0; }
  .hero__inner, .places__inner, .launch__inner, .movement__inner, .about__inner, .contact__inner, .substack__inner { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .paths li + li { border-left: 0; border-top: 1px solid var(--line-2); }
  .path, .paths li:first-child .path { padding-inline: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .shelf { grid-template-columns: 1fr; }
  body { font-size: 1rem; }
  .announce { justify-content: flex-start; }
  .nav__cta { display: none; }
  .nav__inner { gap: 14px; }
  .hero__facts dd { font-size: 1.6rem; }
  .hero__facts div { padding-right: 10px; }
  .hero__facts div + div { padding-left: 10px; }
  .atlas__pin .plate { font-size: .6rem; padding: 4px 6px 3px; transform: translateX(-78%); }
  .atlas__pin .plate::before { left: 78%; }
  .ticker { font-size: .66rem; letter-spacing: .14em; }
  .countdown { gap: 6px; }
  .dial__label { letter-spacing: .1em; font-size: .6rem; }
  .pillars { grid-template-columns: 1fr; }
  .movement__stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 16px 14px; }
  .scorecard { padding: 20px 18px 16px; }
  .scorecard__list li { grid-template-columns: 7.5em 1fr 2.2em; gap: 10px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}

/* ---------- nav: Quizzes dropdown (both quizzes; on phones the two links show as indented rows) ---------- */
.nav__drop { position: relative; display: flex; align-items: center; }
.nav__drop > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--marker); vertical-align: 2px; }
.nav__menu { position: absolute; top: 100%; left: -14px; z-index: 50; min-width: 250px; padding: 10px 0 0; display: none; }
.nav__menu > span { display: flex; flex-direction: column; background: var(--card); box-shadow: var(--shadow-card); border-radius: var(--r); padding: 6px; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { display: block; }
.nav__links .nav__menu a { display: block; padding: 10px 10px 9px; border: 0; border-radius: var(--r-sm); text-transform: none; letter-spacing: 0; }
.nav__links .nav__menu a:hover { background: var(--paper); }
.nav__menu b { display: block; font: 600 .76rem/1.2 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.nav__menu small { display: block; margin-top: 3px; font: 400 .88rem/1.3 var(--f-serif); color: var(--ink-soft); }
@media (max-width: 1180px) {
  .nav__drop { flex-direction: column; align-items: stretch; }
  .nav__menu { position: static; display: block; min-width: 0; padding: 0; }
  .nav__menu > span { background: none; box-shadow: none; padding: 0 0 0 16px; }
  .nav__links .nav__menu a { padding: 11px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__menu small { display: inline; margin: 0 0 0 6px; }
  .nav__menu b { display: inline; }
}
.nav__links a { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 1181px) { .nav__links { gap: 16px; } .nav__inner { gap: 20px; } }

/* Accessibility (2026-11): skip link and a visible focus ring everywhere */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 10px 14px; background: var(--ink); color: var(--paper); font: 600 .9rem var(--f-cond); text-decoration: none; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.globe-pause { position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 4px 10px; font: 600 .7rem/1.2 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--card); border: 1px solid var(--line-2, rgba(29,42,34,.2)); cursor: pointer; }
