/* ══════════════════════════════════════════════════════════════════
   NavNex — landing page
   Committed dark. This is the company's face, not the product: the
   product ships light-first with a dark trading-desk sibling, but a
   landing page carrying full-bleed sea photography has one honest
   ground, and it is the sea at night. The ground sits a shade under
   the product's #101114 so the photographs' own blacks dissolve into
   the page instead of reading as pasted-on rectangles.
   ══════════════════════════════════════════════════════════════════ */

:root {
  --ground:   #0b0c0e;
  --ground-2: #0e1013;
  --ink:      #e8e6de;
  --dim:      #9a998f;
  --faint:    #7d8087;
  --line:     #21242a;
  --line-2:   #2e333a;
  --ember:    #ff4f26;

  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1360px;
  --gut: clamp(20px, 5vw, 72px);
  --air: clamp(88px, 12vw, 184px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* the masthead is fixed, so anchored sections must not land under it */
[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

::selection { background: var(--ember); color: #fff; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ember); color: #fff; padding: 12px 18px;
  font-family: var(--mono); font-size: 12px; text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

.mono { font-family: var(--mono); font-feature-settings: "liga" 0; }
.num  { font-variant-numeric: tabular-nums; }
.ta-r { text-align: right; }


/* ─────────────── TYPE SCALE — display at real size ─────────────── */

.eyebrow {
  font-family: var(--mono);
  font-size: clamp(10px, 1.05vw, 11.5px);
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 22px;
  line-height: 1.5;
}
.eyebrow--ember { color: var(--ember); }

.h-display {
  font-size: clamp(2.05rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.032em;
  margin: 0 0 32px;
  max-width: 20ch;
  text-wrap: balance;
}

.h-sub {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.25;
  margin: 72px 0 14px;
  max-width: 30ch;
}
.h-sub:first-child { margin-top: 0; }

.lead {
  font-size: clamp(1.06rem, 1.34vw, 1.3rem);
  line-height: 1.55;
  color: var(--dim);
  max-width: 60ch;
  margin: 0 0 34px;
  font-weight: 400;
}

.body {
  margin: 0 0 20px;
  max-width: 62ch;
  color: #cfcdc4;
}
.body--wide { max-width: 68ch; }
.body b, .body strong { color: var(--ink); font-weight: 600; }

.caption {
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--faint);
  max-width: 62ch;
  margin: 18px 0 0;
  line-height: 1.6;
}


/* ─────────────── CONTROLS — one ember rhythm ─────────────── */

.ctl {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 24px;
  border: 1px solid var(--line-2);
  color: var(--ink);
  background: transparent;
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
  white-space: nowrap;
}
.ctl:hover { border-color: var(--ink); }

.ctl--ember {
  border-color: var(--ember);
  color: var(--ember);
}
.ctl--ember:hover { background: var(--ember); color: #0b0c0e; }

.ctl--ghost { color: var(--dim); border-color: transparent; padding-left: 4px; padding-right: 4px; }
.ctl--ghost:hover { color: var(--ink); border-color: transparent; text-decoration: underline; text-underline-offset: 6px; }

.ctl--sm { padding: 8px 13px; font-size: 10.5px; letter-spacing: .09em; }
.ctl--wide { padding: 19px 34px; font-size: 12.5px; }

.acts {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  flex-wrap: wrap;
  margin: 0;
}


/* ─────────────── MASTHEAD ─────────────── */

.mast {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--gut);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Solid ground, not glass: no blur, no translucency, no saturation lift. */
.mast.is-ruled {
  background: var(--ground);
  border-bottom-color: var(--line);
}

.mast__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.mast__mark { width: 26px; height: 23px; flex: none; }
.mast__word {
  display: block;
  width: 96px;
  height: auto;
  flex: none;
}

.mast__nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.mast__nav a {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dim);
  transition: color .18s var(--ease);
}
.mast__nav a:hover { color: var(--ink); }
/* The masthead carries no ember. The hero's primary action is the one
   ember mark above the fold — the ember law allows exactly one. */


/* ═══════════════ HERO — beat one: the order ═══════════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 88px;
  isolation: isolate;
}

.hero__plate {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(46vw, 780px);
  z-index: -1;
  overflow: hidden;
}
.hero__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  /* Cold and slightly held back, so ember reads as the only live colour. */
  filter: saturate(.85) brightness(.9) contrast(1.05);
}
/* Two scrim layers, both structural: the sideways one dissolves the plate's
   inboard edge into the page, the vertical one is the legibility recipe. */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ground) 0%, rgba(11,12,14,.86) 16%, rgba(11,12,14,.12) 46%, rgba(11,12,14,0) 70%),
    linear-gradient(180deg, rgba(6,10,13,.88) 0%, rgba(6,10,13,.30) 45%, rgba(6,10,13,.92) 100%);
}

/* live blueprint annotation — the SVG slices exactly as the photo does */
.bp {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: #d6dde5;                 /* the drawn marks stay cold, like the water */
  pointer-events: none;
}
.bp-grid { opacity: .12; }
.bp-axis { opacity: .28; }
.bp-rule, .bp-lead { opacity: .45; }
.bp-node { opacity: .8; }
.bp-t {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  fill: var(--ink);               /* labels are paper, held at 70% */
  opacity: .7;
}
.bp-key { font-size: 11px; opacity: .95; }
.bp-fine { opacity: .55; }
.bp-stamp { font-size: 9px; opacity: .4; letter-spacing: .2em; }
.board__swipe { display: none; }

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.hero__inner > * { max-width: min(680px, 55%); }

.hero__h1 { margin: 0 0 30px; }
.hero__h1a {
  display: block;
  font-size: clamp(1.02rem, 1.45vw, 1.32rem);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: -.008em;
  color: var(--dim);
  margin-bottom: 15px;
  max-width: 26ch;
}
.hero__h1b {
  display: block;
  font-size: clamp(3.05rem, 8.4vw, 7.4rem);
  font-weight: 700;
  line-height: .89;
  letter-spacing: -.045em;
  color: var(--ink);
}

.hero__lead { margin-bottom: 32px; line-height: 1.5; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 34px);
  margin: 0 0 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.facts__i { min-width: 0; }
.facts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1.5;
  margin-bottom: 9px;
  /* two lines reserved, so all three figures sit on one baseline */
  min-height: 3em;
}
.facts dd {
  margin: 0;
  font-size: clamp(1.35rem, 2.35vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.028em;
  line-height: 1.05;
  color: var(--ink);
}
.facts__q {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1.55;
  margin-top: 8px;
}


/* ═══════════════ STAGE — beat two: the list assembles ═══════════════ */

.stage {
  position: relative;
  padding: var(--air) 0 calc(var(--air) * .85);
  isolation: isolate;
  overflow: hidden;
}
.stage__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
  filter: saturate(.85) brightness(.9) contrast(1.05);
  z-index: -2;
}
.stage__scrim {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--ground) 0%, rgba(11,12,14,.9) 22%, rgba(11,12,14,.9) 78%, var(--ground) 100%),
    linear-gradient(90deg, rgba(11,12,14,.62), rgba(11,12,14,.62));
}
.stage__lead { margin-bottom: 52px; }
.stage .h-display { max-width: 16ch; }

.board { margin: 0; }
.board__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px 30px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
  font-size: 11.5px;
  letter-spacing: .07em;
}
.board__cargo { color: var(--ink); text-transform: uppercase; letter-spacing: .1em; }
.board__tally { color: var(--faint); text-transform: uppercase; letter-spacing: .13em; }

.board__scroll { overflow-x: auto; }

.board__t {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 13px;
}
/* One hairline per row, drawn on the row — not one per cell. Same rule to
   the eye, a fraction of the borders on the page. */
.board__t thead tr, .board__t tbody tr { border-bottom: 1px solid var(--line); }
.board__t thead th {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: left;
  padding: 16px 14px 12px;
  white-space: nowrap;
}
.board__t thead th.ta-r { text-align: right; }
.board__t td, .board__t tbody th {
  padding: 17px 14px;
  vertical-align: top;
  text-align: left;
  font-weight: 400;
  color: var(--dim);
  white-space: nowrap;
}
.board__t .rk { width: 1%; color: var(--faint); letter-spacing: .08em; }
.board__r--top { border-bottom-color: var(--line-2); }

.vsl { min-width: 260px; white-space: normal !important; }
.vsl__n {
  display: block;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.014em;
  color: var(--ink);
  line-height: 1.25;
}
.board__r--top .vsl__n { font-size: 18px; }
.vsl__c {
  display: block;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 5px;
}
.chip {
  display: inline-block;
  margin-top: 9px;
  font-size: 9.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--dim);
  border-left: 2px solid var(--line-2);
  padding-left: 9px;
  line-height: 1.5;
}
.board__r--warn .vsl__n { color: var(--dim); }

.board__t .num { color: var(--ink); font-size: 13.5px; }
.board__r--top .num { font-size: 15px; }
.dir { color: var(--faint); font-size: 9px; vertical-align: 1px; }

.act { width: 1%; }
.act .ctl { cursor: default; }

.board__foot {
  margin: 18px 0 0;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1.7;
  max-width: 94ch;
}


/* ═══════════════ SCALE LINE ═══════════════ */

.scale { padding: calc(var(--air) * .8) 0; }
.scale__p {
  margin: 0 0 16px;
  max-width: 30ch;
  font-size: clamp(1.32rem, 2.5vw, 2.1rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.024em;
  color: var(--dim);
}
.scale__fig { color: var(--ink); font-weight: 700; letter-spacing: -.032em; }
.scale__txt { color: var(--dim); }
.scale__src {
  margin: 0;
  font-size: 10px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--faint);
}


/* ═══════════════ SECTIONS ═══════════════ */

.sec { padding: var(--air) 0; }
.sec--how { padding-bottom: calc(var(--air) * .5); }

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3.4vw, 56px);
  max-width: 1180px;
}
.cols .body { max-width: none; margin-bottom: 0; }


/* ═══════════════ FULL-BLEED BANDS ═══════════════ */

.band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(92svh, 820px);
  padding: clamp(88px, 12vw, 150px) 0;
  overflow: hidden;
}
.band__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.band--seats .band__photo { object-position: 50% 42%; filter: saturate(.55) brightness(.72) contrast(1.04); }
.band--cost  .band__photo { object-position: 50% 50%; filter: saturate(.42) brightness(.62) contrast(1.06); }
.band--cta   .band__photo { object-position: 50% 58%; filter: saturate(.34) brightness(.66) contrast(1.04); }

/* Darkening gradients here are structural, not decoration: without them
   the type would not clear contrast over a photograph. */
.band__scrim {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,12,14,.94) 0%, rgba(11,12,14,.78) 42%, rgba(11,12,14,.34) 100%),
    linear-gradient(180deg, rgba(11,12,14,.86) 0%, rgba(11,12,14,.28) 34%, rgba(11,12,14,.4) 72%, rgba(11,12,14,.9) 100%);
}
.band--cta .band__scrim {
  background:
    linear-gradient(90deg, rgba(11,12,14,.92) 0%, rgba(11,12,14,.74) 58%, rgba(11,12,14,.42) 100%),
    linear-gradient(180deg, rgba(11,12,14,.88) 0%, rgba(11,12,14,.5) 42%, rgba(11,12,14,.9) 100%);
}

.band__inner { position: relative; }

.band__line {
  margin: 0;
  font-size: clamp(2.15rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.038em;
  color: var(--ink);
  max-width: 22ch;
  text-wrap: balance;
}
.band__sub {
  margin: 30px 0 0;
  font-size: clamp(1.02rem, 1.3vw, 1.24rem);
  line-height: 1.55;
  color: var(--dim);
  max-width: 52ch;
}
.band__sub--sm { font-size: 14px; max-width: 56ch; color: var(--faint); margin-top: 26px; }


/* ═══════════════ STEPS ═══════════════ */

.steps {
  list-style: none;
  margin: clamp(48px, 6vw, 84px) 0 0;
  padding: 0;
}

.step {
  display: grid;
  grid-template-columns: minmax(190px, 236px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 76px);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) var(--gut);
  border-top: 1px solid var(--line);
}

.step__rail { align-self: start; }
@media (min-width: 900px) {
  .step__rail { position: sticky; top: 108px; }
}
/* A display numeral, not a mono label — mono stays at label size everywhere. */
.step__no {
  display: block;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--line-2);
  margin-bottom: 14px;
}
.step__nm {
  display: block;
  font-size: clamp(1.02rem, 1.4vw, 1.28rem);
  font-weight: 600;
  letter-spacing: -.014em;
  line-height: 1.24;
  color: var(--ink);
  margin-bottom: 16px;
  max-width: 15ch;
}
.step__note {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: var(--faint);
  margin-top: 14px;
  max-width: 26ch;
}

/* A hairline rule, not a boxed chip — the same device as .chip and .today. */
.badge {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  border-left: 2px solid var(--line-2);
  padding: 1px 0 1px 10px;
  line-height: 1.5;
}
.badge--live { color: var(--ink); border-left-color: var(--dim); }

.step__line {
  margin: 0 0 40px;
  font-size: clamp(1.36rem, 2.5vw, 2.05rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.028em;
  color: var(--ink);
  max-width: 26ch;
  text-wrap: balance;
}

.seats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(26px, 3.4vw, 54px);
  margin-bottom: 40px;
}
/* No rule under these: they repeat ten times down the page, and ten more
   hairlines is noise. The mono caps already read as a label. */
.seat__h {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  /* Not ember. Ember marks a place the reader acts, never a label. */
  color: var(--dim);
}
.seat .body { max-width: none; margin-bottom: 0; font-size: 16px; }

.today { margin-top: 8px; padding-left: clamp(16px, 2vw, 26px); border-left: 1px solid var(--line-2); }
.today__h {
  margin: 0 0 10px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}
.today .body { color: var(--dim); font-size: 15.5px; margin-bottom: 0; max-width: 66ch; }

.pull {
  margin: 48px 0;
  padding: 0;
  border: 0;
}
.pull p {
  margin: 0;
  font-size: clamp(1.35rem, 2.9vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--ink);
  max-width: 24ch;
  text-wrap: balance;
}
.pull--wide p { max-width: 30ch; }
.pull--wide { margin-top: 76px; }

.clocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0 0 32px;
}
.clock__n {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}
.clock .body { max-width: none; margin-bottom: 0; font-size: 15.5px; }


/* ═══════════════ THE MONEY ═══════════════ */

#cost,
#rails {
  padding: 0;
}
.cost__intro,
.rails__intro {
  min-height: calc(100svh - 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--air) 0;
}
#cost .h-display,
#rails .h-display {
  font-size: clamp(2.6rem, 7.4vw, 6.6rem);
  max-width: 18ch;
}
.cost__intro .lead {
  margin-bottom: 0;
  max-width: 45ch;
  font-size: clamp(1.22rem, 1.85vw, 1.8rem);
  line-height: 1.42;
}
.cost__detail {
  width: 100%;
  max-width: none;
  margin: 0;
}
.cost__panel,
.rail {
  min-height: calc(100svh - 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(88px, 10vw, 150px) 0;
  border-top: 1px solid var(--line);
}
#cost .cost__detail .h-sub {
  max-width: none;
  margin: 0 0 clamp(30px, 4vw, 58px);
  font-family: "Space Grotesk", var(--sans), system-ui, sans-serif;
  font-size: clamp(2.15rem, 5vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  text-wrap: balance;
}
#cost .cost__detail .body,
#cost .fee dd,
#cost .ledger__l {
  font-size: clamp(1.22rem, 1.85vw, 1.8rem);
  line-height: 1.42;
}
#cost .cost__detail .body {
  max-width: 48ch;
}

.fee { margin: 0; border-top: 1px solid var(--line); }
.fee__r {
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(24px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line);
}
.fee dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 4px;
}
.fee dd { margin: 0; color: #cfcdc4; max-width: 48ch; }

.ledger { margin: 22px 0 0; border-top: 1px solid var(--line); }
.ledger__r {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.ledger__l { margin: 0; color: var(--dim); max-width: 28ch; }
.ledger__v {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: .45em;
  white-space: nowrap;
}
.ledger__pre { font-family: var(--mono); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
/* Money is never coloured. Ink only, tabular, no arrows. */
.ledger__big {
  font-size: clamp(2.8rem, 7vw, 7rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--ink);
}
.ledger__u { font-size: 11px; letter-spacing: .14em; color: var(--faint); }


/* ═══════════════ RAILS ═══════════════ */

.rails {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}
.rail__h {
  margin: 0 0 clamp(30px, 4vw, 58px);
  font-family: "Space Grotesk", var(--sans), system-ui, sans-serif;
  font-size: clamp(2.15rem, 5vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink);
  max-width: none;
  text-wrap: balance;
}
.rail .body {
  max-width: 48ch;
  font-size: clamp(1.22rem, 1.85vw, 1.8rem);
  line-height: 1.42;
}
.rail .body:last-child { margin-bottom: 0; }


/* ═══════════════ WHAT'S LIVE ═══════════════ */

.status {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(30px, 3.6vw, 60px);
  margin-top: 20px;
}
.status__g--not { grid-column: 1 / -1; }
@media (min-width: 1080px) {
  .status { grid-template-columns: 1fr 1fr 1.35fr; }
  .status__g--not { grid-column: auto; }
}
.status__h {
  margin: 0 0 18px;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.status__g--not .status__h { color: var(--dim); }
/* Nineteen ruled rows and nineteen outlined bullets were nineteen borders
   each doing nothing. Space separates the items; the mark carries the
   meaning — a filled square is built, a dash is not. */
.status__l { list-style: none; margin: 0; padding: 0; }
.status__l li {
  position: relative;
  padding: 0 0 0 20px;
  margin-bottom: 19px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dim);
}
.status__l li:last-child { margin-bottom: 0; }
.status__l li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 7px;
  background: var(--dim);
}
.status__g--not .status__l li::before { height: 1px; top: .95em; background: var(--faint); }
.status__l b { color: var(--ink); font-weight: 600; }


/* ═══════════════ CTA ═══════════════ */

.band__inner--cta .band__line { max-width: 20ch; }
.ask {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 58px 0 52px auto;
  max-width: 1080px;
}
.ask__h {
  margin: 0 0 18px;
  font-family: "Space Grotesk", var(--sans), system-ui, sans-serif;
  font-size: clamp(1.35rem, 1.65vw, 1.65rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-transform: none;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}
.ask ul { list-style: none; margin: 0; padding: 0; }
.ask li { font-size: clamp(1.04rem, 1.18vw, 1.16rem); line-height: 1.58; color: var(--dim); margin-bottom: 15px; }
.ask li:last-child { margin-bottom: 0; }
.ask b { color: var(--ink); font-weight: 600; }

.acts--cta { margin-bottom: 16px; }
.undercta { margin: 0 0 6px; font-size: 12px; letter-spacing: .12em; }
.undercta a { color: var(--dim); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.undercta a:hover { color: var(--ink); border-bottom-color: var(--ink); }


/* ═══════════════ EMIL MARKERS — open decisions, left visible ═══════════════ */

.emil {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--ember);
  border-left: 2px solid var(--ember);
  padding: 4px 0 4px 12px;
  margin: 24px 0 0;
  max-width: 62ch;
  opacity: .78;
}
.emil--inline { margin-top: 12px; font-size: 10.5px; }


/* ═══════════════ FOOTER ═══════════════ */

.foot {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 76px) 0 60px;
  background: var(--ground-2);
}
.foot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(30px, 3.4vw, 54px);
}
.foot__line { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.018em; color: var(--ink); }
.foot__h {
  margin: 0 0 14px;
  font-size: 10px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--faint);
}
.foot__nav { display: flex; flex-direction: column; gap: 8px; }
.foot__nav a { font-size: 14px; color: var(--dim); text-decoration: none; }
.foot__nav a:hover { color: var(--ink); }
.foot__sm { margin: 0; font-size: 12.5px; line-height: 1.66; color: var(--faint); }
.foot__sm a { color: var(--dim); }


/* ═══════════════ MOTION — one signature beat, stillness elsewhere ═══════════════ */

/* The annotation draws itself onto the photograph once, on load: every line
   is normalised to a unit length and struck in over 600ms, each mark 60ms
   behind the one before. Nothing here exists without [data-motion="on"], so
   a reader who has asked for stillness gets the finished drawing outright. */
[data-motion="on"] path.bp-draw,
[data-motion="on"] .bp-draw path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: bp-strike 600ms var(--ease) forwards;
}
/* The cargo line is already dashed, so it cannot be struck in the same way;
   it arrives on the same beat instead. */
[data-motion="on"] .bp-dash,
[data-motion="on"] .bp-node,
[data-motion="on"] .bp-t {
  animation: bp-settle 600ms var(--ease) both;
}
[data-motion="on"] path.bp-axis      { animation-delay: 0ms; }
[data-motion="on"] .bp-rule path     { animation-delay: 60ms; }
[data-motion="on"] .bp-dash          { animation-delay: 120ms; }
[data-motion="on"] .bp-lead path     { animation-delay: 180ms; }
[data-motion="on"] .bp-node          { animation-delay: 240ms; }
[data-motion="on"] .bp-t             { animation-delay: 300ms; }
[data-motion="on"] .bp-key           { animation-delay: 360ms; }
[data-motion="on"] .bp-spec .bp-t    { animation-delay: 420ms; }
[data-motion="on"] .bp-stamp         { animation-delay: 480ms; }
@keyframes bp-strike { to { stroke-dashoffset: 0; } }
@keyframes bp-settle { from { opacity: 0; } }

/* The ranked list assembles: rows arrive in rank order, the top match
   lands last carrying the only action on the board. Once per session. */
[data-list="pre"] .board__r { opacity: 0; }
[data-list="pre"] .board__r--top .ctl--ember { opacity: 0; }

[data-list="on"] .board__r {
  animation: row-arrive .5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 105ms);
}
[data-list="on"] .board__r--top .ctl--ember {
  animation: row-arrive .42s var(--ease) both;
  animation-delay: 720ms;
}
@keyframes row-arrive {
  from { opacity: 0; transform: translateY(9px); }
  to   { opacity: 1; transform: none; }
}

/* Sections settle as they come into view. Nothing loops, nothing performs. */
[data-motion="on"] .reveal { opacity: 0; transform: translateY(14px); }
[data-motion="on"] .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .62s var(--ease), transform .62s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .board__r, .board__r--top .ctl--ember, .reveal { opacity: 1 !important; transform: none !important; }
  /* The drawing is simply already drawn. */
  .bp-draw, .bp-draw path { stroke-dashoffset: 0 !important; }
}


/* ═══════════════ RESPONSIVE ═══════════════ */

@media (max-width: 1080px) {
  .hero__plate { width: min(42vw, 520px); }
  .hero__inner > * { max-width: min(560px, 58%); }
}

@media (max-width: 860px) {
  body { font-size: 16px; }

  .cost__intro,
  .rails__intro,
  .cost__panel,
  .rail { min-height: calc(100svh - 64px); }

  .mast { padding: 14px var(--gut); }
  .mast__nav { display: none; }

  /* Hero: the photograph goes full-bleed behind the words. */
  .hero {
    min-height: 100svh;
    padding: 108px 0 80px;
    align-items: flex-end;
  }
  .hero__plate { inset: 0; width: 100%; }
  /* At this width the photograph cannot sit beside the words, so it sits
     above them: open water and the bow behind the headline, then solid
     ground from a third of the way down. Type never crosses the hull. */
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(6,10,13,.80) 0%, rgba(6,10,13,.34) 14%, rgba(6,10,13,.66) 26%, var(--ground) 36%, var(--ground) 100%);
  }
  .hero__inner > * { max-width: none; }
  .hero__h1a { max-width: 24ch; }
  .hero__lead { font-size: .97rem; line-height: 1.5; margin-bottom: 26px; }

  /* The plate crops hard at this width and the words sit right over it,
     so the annotation comes down to the centreline alone. The blueprint
     treatment is a desktop-scale pleasure; here the photograph carries it. */
  .bp-desk, .bp-grid { display: none; }
  .bp-axis { opacity: .34; }

  /* The board is a real trading table and stays one, so it scrolls
     sideways — with a cue and a soft edge so the cut looks meant. */
  .board__swipe { display: block; color: var(--faint); text-transform: uppercase; letter-spacing: .13em; }
  .board__scroll {
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
  }

  .facts { grid-template-columns: 1fr; gap: 14px; padding-top: 16px; margin-bottom: 28px; }
  .facts__i { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .facts dt { margin-bottom: 0; flex: 1 1 auto; min-height: 0; }
  .facts dd { font-size: 1.35rem; text-align: right; }
  .facts__q { text-align: right; }

  .acts { gap: 14px; }
  .ctl { width: 100%; justify-content: center; }
  .ctl--ghost { width: auto; }

  .step { grid-template-columns: 1fr; gap: 26px; }
  .step__rail { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 16px; }
  .step__no { font-size: 1.6rem; margin-bottom: 0; }
  .step__nm { margin-bottom: 0; max-width: none; font-size: 1.16rem; }
  .step__note { margin-top: 0; max-width: none; flex-basis: 100%; }

  .board__head { flex-direction: column; gap: 8px; align-items: flex-start; }

  .fee__r { grid-template-columns: 1fr; gap: 8px; }
  .ledger__r { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 420px) {
  :root { --gut: 20px; }
  .hero__h1b { letter-spacing: -.04em; }
  .band { min-height: auto; }
  .band__line { font-size: 2.15rem; }
  .ledger__big { font-size: 1.8rem; }
}
