/* ==========================================================================
   OUTPACED — global style system
   Style: premium-bento structure × brutalist material. Hard corners everywhere.
   Palette: mint #88f78a · ink #090909 · grey #8c8c8c · paper #fafafa.
   Type:    Geist Mono (display / headings / labels / data) + Open Sans (body).
   Rules:   radius 0. no shadows. 1px ink hairlines + 3px thick rules. one accent.
            motion = abrupt & structural (wipes, hard fades, inversion). no easing fog.
   ========================================================================== */

/* ---------- 0. fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2-variations"),
       url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/fonts/OpenSans-Variable-latin.woff2") format("woff2-variations"),
       url("/fonts/OpenSans-Variable-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
                 U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. tokens ---------- */
:root {
  /* brand */
  --ink:    #090909;
  --paper:  #fafafa;
  --grey:   #8c8c8c;
  --mint:   #88f78a;

  /* derived surfaces (one neutral family, cool-neutral, never mixed) */
  --paper-2: #f0f0f0;   /* tinted surface on paper */
  --ink-2:   #141414;   /* raised surface on ink   */
  --line:    var(--ink);
  --line-soft: #d4d4d4; /* hairline on paper when ink is too loud */
  --line-on-ink: #2a2a2a;

  /* semantic (roles, not decoration) */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-muted: var(--grey);
  --accent: var(--mint);
  --on-accent: var(--ink);
  --focus: var(--mint);
  --ok: var(--mint);
  --warn: #f7c788;
  --err:  #f78888;

  /* type */
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display:  clamp(3rem, 6.6vw, 7.5rem);        /* h1, poster (3 lines max in mono) */
  --fs-headline: clamp(2rem, 4.6vw, 4.5rem);        /* h2, section lead  */
  --fs-title:    clamp(1.125rem, 1.6vw, 1.5rem);    /* h3, module title  */
  --fs-body:     clamp(1rem, 1.05vw, 1.125rem);
  --fs-label:    0.75rem;
  --fs-micro:    0.6875rem;

  /* geometry — the brand is square. do not override. */
  --radius: 0;
  --rule: 1px;
  --rule-thick: 3px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1440px;
  --nav-h: 3.5rem;

  /* motion — abrupt, mechanical */
  --t-snap: 80ms linear;
  --t-cut:  160ms steps(4, end);
  --t-wipe: 420ms steps(9, end);

  color-scheme: light;
}

/* ---------- 2. reset (small, deliberate) ---------- */
*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ink); /* the stage: dark sections are transparent over #gl */
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. type roles ---------- */
.t-display, .t-headline, .t-title, .t-label, .t-data, .t-mono { font-family: var(--font-mono); }
.t-display  { font-size: var(--fs-display);  font-weight: 700; line-height: 0.92; letter-spacing: -0.045em; text-wrap: balance; }
.t-headline { font-size: var(--fs-headline); font-weight: 700; line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.t-title    { font-size: var(--fs-title);    font-weight: 500; line-height: 1.2;  letter-spacing: -0.02em; }
.t-label    { font-size: var(--fs-label);    font-weight: 400; line-height: 1;    letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted); }
.t-micro    { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.02em; color: var(--fg-muted); }
.t-data     { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.t-body     { max-width: 62ch; }
.t-body-lg  { font-size: calc(var(--fs-body) * 1.15); line-height: 1.5; max-width: 56ch; }
.t-thin     { font-weight: 200; }
.mint       { color: var(--mint); }
.grey       { color: var(--grey); }

/* ---------- 4. layout primitives ---------- */
br.lg { display: none; }
@media (min-width: 900px) { br.lg { display: inline; } }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { position: relative; display: flow-root; border-top: var(--rule) solid var(--line); background: var(--paper); }
.section--ink { background: transparent; color: var(--paper); --fg: var(--paper); --line: var(--line-on-ink); --fg-muted: var(--grey); --line-soft: var(--line-on-ink); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 900px) { .section-head { grid-template-columns: 10rem minmax(0, 1fr); align-items: start; } }
.chapter { white-space: nowrap; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted); padding-top: 0.6em; }
.chapter b { color: var(--fg); font-weight: 500; }
.rule-thick { height: var(--rule-thick); background: currentColor; }

/* ---------- 5. buttons & links — one system: block, hard, inversion on hover ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.75em;
  font-family: var(--font-mono); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.01em;
  padding: 0.95em 1.4em; line-height: 1;
  border: var(--rule) solid var(--ink); background: var(--ink); color: var(--paper);
  cursor: pointer; user-select: none; white-space: nowrap;
  transition: background var(--t-snap), color var(--t-snap), border-color var(--t-snap), transform var(--t-snap);
}
.btn:hover, .btn:focus-visible { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.btn:active { transform: translate(1px, 1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--mint { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.btn--mint:hover, .btn--mint:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper:hover, .btn--paper:focus-visible { background: var(--mint); border-color: var(--mint); }
.btn--lg { font-size: 1rem; padding: 1.1em 1.6em; }
.btn .arrow { transition: transform var(--t-snap); }
.btn:hover .arrow { transform: translateX(3px); }

.link { font-family: var(--font-mono); font-size: 0.875rem; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.link:hover { background: var(--mint); color: var(--ink); text-decoration: none; }
.section--ink .link:hover { background: var(--mint); color: var(--ink); }

/* ---------- 6. header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  height: var(--nav-h); background: var(--paper); color: var(--ink);
  border-bottom: var(--rule) solid var(--ink);
}
.site-header .wrap { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand svg { height: 1.4rem; width: auto; }
.brand .brand-word { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; letter-spacing: -0.02em; }
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; gap: 2rem; justify-content: center; }
  .nav a { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--grey); padding: 0.4em 0; border-bottom: 1px solid transparent; }
  .nav a i { font-style: normal; color: var(--ink); margin-right: 0.5em; font-size: 0.7em; vertical-align: 0.15em; }
  .nav a:hover, .nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); }
}
.header-right { display: flex; align-items: center; gap: 1.5rem; }
.status { display: none; font-family: var(--font-mono); font-size: 0.75rem; color: var(--grey); white-space: nowrap; }
.status .dot { display: inline-block; width: 0.5em; height: 0.5em; background: var(--mint); margin-right: 0.6em; vertical-align: 0.05em; animation: pulse 2s steps(2, end) infinite; }
@media (min-width: 640px) { .status { display: inline; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.site-header .btn { padding: 0.7em 1.1em; font-size: 0.8125rem; }

/* ---------- 7. hero — full-bleed stage; the type sits over the 3D (canvas #gl is on top, pointer-events none) ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }   /* behind all text; dark sections are transparent so it shows through */
main, .marquee, .site-footer { position: relative; z-index: 1; }
.hero { position: relative; min-height: calc(100dvh - var(--nav-h)); background: transparent; color: var(--paper); --fg: var(--paper); --fg-muted: var(--grey); display: grid; }
.hero-stage { position: absolute; inset: 0; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; max-width: var(--max); width: 100%; margin-inline: auto; padding: clamp(2rem, 5vw, 4.5rem) var(--gutter) clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; container-type: inline-size; }
.hero-eyebrow { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.hero h1 { margin-top: clamp(2rem, 6vh, 5rem); font-size: min(var(--fs-display), 13.4cqw); }   /* 12 mono chars ("to fill your") must fit the column: 12 × 0.6em ≈ 7.2em → 100cqw / 7.4 */
.hero h1 .line { display: block; white-space: nowrap; }
html.js .hero h1 .line > span { display: block; clip-path: inset(0 100% 0 0); }
html.js .hero h1 .line > span.in { clip-path: inset(0 -100% 0 0); transition: clip-path var(--t-wipe); }
html.js .hero h1 .line > span.done { clip-path: none; transition: none; }   /* after the reveal: no clip at all */
.hero h1 .line:nth-child(2) > span.in { transition-delay: 140ms; }
.hero h1 .line:nth-child(3) > span.in { transition-delay: 280ms; }
.hero-sub { margin-top: 2rem; display: grid; gap: 1.5rem; max-width: 60ch; }
.hero-sub .t-body-lg { color: #cfcfcf; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.hero .link { color: var(--paper); }
.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 1rem; font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--grey); }
.hero-foot .down { font-size: 1.5rem; color: var(--paper); animation: nudge 1.6s steps(2, end) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (min-width: 900px) { .hero-copy { padding-right: 26%; } }   /* the storm lives right; keep the type left */
.slab-fallback { position: absolute; inset: 0; display: none; place-items: center; pointer-events: none; }
.slab-fallback svg { width: 22%; max-width: 280px; color: var(--paper); opacity: .9; margin-left: 40%; }
html.no-gl .slab-fallback { display: grid; }
.gl-mode { position: absolute; right: var(--gutter); bottom: 1.25rem; z-index: 6; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); background: transparent; border: 1px solid var(--line-on-ink); padding: 0.55em 0.8em; cursor: pointer; }
.gl-mode:hover { color: var(--ink); background: var(--mint); border-color: var(--mint); }
html.no-gl .gl-mode { display: none; }

/* the plot — where the ordered stream lands (section 01, right column). invisible layout box. */
.plot { width: 100%; margin-bottom: 2rem; }
.plot-head, .plot-foot { display: flex; justify-content: space-between; color: var(--grey); }
.plot-head { padding-bottom: 0.6rem; border-bottom: 1px solid var(--line-on-ink); }
.plot-foot { padding-top: 0.6rem; }
.plot-area { aspect-ratio: 16 / 9; position: relative; border-bottom: 1px solid var(--grey);
  background-image: linear-gradient(var(--line-on-ink) 1px, transparent 1px); background-size: 100% 33.34%; background-position: 0 -1px; }
.plot-area .y { position: absolute; right: 0; transform: translateY(-50%); font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--grey); padding-left: .4em; background: var(--ink); }
.plot-area .y1 { top: 0; } .plot-area .y2 { top: 33.34%; } .plot-area .y3 { top: 66.67%; }
.one-number { justify-content: start; }

/* ---------- 8. marquee band ---------- */
.marquee { border-top: var(--rule) solid var(--line-on-ink); border-bottom: var(--rule) solid var(--line-on-ink); overflow: hidden; height: 2.75rem; display: flex; align-items: center; background: transparent; color: var(--paper); }
.marquee-track { display: flex; gap: 0; white-space: nowrap; will-change: transform; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; padding-inline: 1.5rem; }
.marquee span::after { content: "◼"; margin-left: 3rem; color: var(--mint); font-size: 0.6em; vertical-align: 0.15em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. section 01 — the goal (manifesto slab, ink) ---------- */
.goal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-bottom: clamp(3rem, 7vw, 6rem); }
@media (min-width: 1000px) { .goal-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); } }
.goal-list { border-top: 1px solid var(--line-on-ink); }
.goal-list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--line-on-ink); }
.goal-list .i { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--grey); }
.goal-list .h { font-family: var(--font-mono); font-size: var(--fs-title); font-weight: 500; letter-spacing: -0.02em; }
.goal-list .d { color: var(--grey); font-size: 0.9375rem; margin-top: 0.25rem; max-width: 52ch; }
.one-number { display: flex; flex-direction: column; justify-content: end; align-items: start; gap: 1rem; }
.one-number .word { font-family: var(--font-mono); font-weight: 700; font-size: clamp(3.5rem, 8vw, 8rem); line-height: 0.9; letter-spacing: -0.05em; }
.one-number .word b { color: var(--mint); font-weight: 700; }
.one-number .word .cur { display: none;  display: inline-block; width: 0.08em; height: 0.8em; background: var(--mint); vertical-align: -0.02em; margin-left: 0.06em; animation: blink 1s steps(2, end) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 10. section 02 — the bento (technical-drawing grid: 1px ink gaps) ---------- */
.bento {
  display: grid; gap: var(--rule); background: var(--ink); border: var(--rule) solid var(--ink);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(15rem, auto);
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.tile { background: var(--paper); color: var(--ink); padding: clamp(1.25rem, 2vw, 1.75rem); display: flex; flex-direction: column; gap: 1rem; min-width: 0; grid-column: span 12; position: relative; }
.tile:hover { background: var(--paper-2); }
.tile--ink { background: var(--ink); color: var(--paper); --fg-muted: var(--grey); }
.tile--ink:hover { background: var(--ink-2); }
.tile--mint { background: var(--mint); color: var(--ink); --fg-muted: #2f6b31; }
.tile--mint:hover { background: #7ce97e; }
.tile-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.tile-head .t-label { color: var(--fg-muted); }
.tile h3 { font-family: var(--font-mono); font-size: var(--fs-title); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.tile p { color: var(--fg-muted); font-size: 0.9375rem; line-height: 1.5; max-width: 46ch; }
.tile--ink p { color: #b5b5b5; }
.tile-obj { margin-top: auto; }
.tile--hero .tile-obj { display: grid; gap: 1.5rem clamp(1.25rem, 2vw, 2rem); align-items: end; }
@media (min-width: 900px) { .tile--hero .tile-obj { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); } .tile--hero .tile-obj .ranked { margin-top: 0 !important; } }
@media (min-width: 720px) {
  .tile--hero { grid-column: span 7; grid-row: span 2; }
  .tile--tall { grid-column: span 5; }
  .tile--std  { grid-column: span 5; }
  .tile--third { grid-column: span 4; }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .tile--third { grid-column: span 6; }
  .tile--third:last-child { grid-column: span 12; }
}

/* object: browser-frame preview (line drawn, monochrome, no chrome kitsch) */
.frame { border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-family: var(--font-mono); font-size: var(--fs-micro); }
.tile--ink .frame { border-color: var(--line-on-ink); }
.frame-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--ink); color: var(--grey); }
.frame-bar .url { flex: 1; border: 1px solid var(--line-soft); padding: 0.25rem 0.5rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-bar .url b { color: var(--mint); background: var(--ink); padding: 0.05em 0.35em; font-weight: 500; margin-right: 0.5em; }
.frame-body { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; gap: 1px; background: var(--ink); aspect-ratio: 16 / 9; }
.frame-body > div { background: var(--paper); padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.frame-body .fh { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
.frame-body .fh .btn-mini { background: var(--ink); color: var(--paper); padding: 0.3em 0.6em; }
.frame-body .fhero .lg { font-weight: 700; font-size: clamp(0.9rem, 1.4vw, 1.25rem); letter-spacing: -0.03em; line-height: 1; }
.frame-body .fhero .ln { height: 3px; background: var(--line-soft); width: 70%; }
.frame-body .fhero .ln:nth-child(3) { width: 45%; }
.frame-body .fimg { background: var(--ink) repeating-linear-gradient(135deg, transparent 0 6px, #1e1e1e 6px 7px); }
.frame-body .fimg i { display: block; margin: auto; width: 34%; aspect-ratio: 1; border: 1px solid var(--mint); }
.frame-body .ff { grid-column: 1 / -1; flex-direction: row; gap: 1.5rem; color: var(--grey); }
.frame-body .ff b { color: var(--ink); font-weight: 500; }
.frame-body .ff .slot { margin-left: auto; background: var(--mint); color: var(--ink); padding: 0.3em 0.6em; font-weight: 500; }

/* object: integrations rail (hard chips) */
.integrations { display: grid; gap: 0.6rem; margin-top: 0.25rem; }
.integrations ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.integrations li { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.02em; border: 1px solid var(--ink); padding: 0.35em 0.6em; }
.integrations li.more { border-style: dashed; color: var(--grey); }
.tile--ink .integrations li { border-color: var(--line-on-ink); }

/* object: routing flow (hard nodes, mono) */
.flow { display: grid; grid-template-columns: 1fr; gap: 0.5rem; margin: 1rem 0 0.5rem; font-family: var(--font-mono); font-size: var(--fs-micro); }
@media (min-width: 640px) { .flow { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; } }
.flow .node { border: 1px solid var(--ink); padding: 0.7rem 0.75rem; display: grid; gap: 0.25rem; }
.flow .node .k { color: var(--grey); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.flow .node b { font-weight: 500; }
.flow .node--ink { background: var(--ink); color: var(--paper); }
.flow .node--mint { background: var(--mint); }
.flow .node--mint .k { color: #2f6b31; }
.flow .arr { align-self: center; color: var(--grey); text-align: center; }
@media (max-width: 639px) { .flow .arr { transform: rotate(90deg); } }

/* object: booking week strip */
.week { display: grid; max-width: 22rem; grid-template-columns: repeat(7, 1fr); gap: 2px; font-family: var(--font-mono); font-size: var(--fs-micro); }
.week .d { color: var(--grey); text-align: center; padding-bottom: 0.25rem; }
.week .c { aspect-ratio: 1; border: 1px solid var(--line-soft); }
.week .c.on { background: var(--mint); border-color: var(--mint); }
.week .c.new { background: var(--ink); border-color: var(--ink); }
.tile--ink .week .c { border-color: var(--line-on-ink); }
.tile--ink .week .c.new { background: var(--paper); border-color: var(--paper); }
.legend { display: flex; gap: 1.25rem; font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--grey); }
.legend i { display: inline-block; width: 0.7em; height: 0.7em; margin-right: 0.5em; vertical-align: -0.05em; }

/* object: ranked lead list */
.ranked { font-family: var(--font-mono); font-size: 0.8125rem; border-top: 1px solid var(--ink); }
.ranked li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--ink); }
.ranked li:first-child { background: var(--ink); color: var(--paper); padding-inline: 0.6rem; margin-inline: -0.6rem; }
.ranked .i { color: var(--grey); font-size: var(--fs-micro); }
.ranked .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ranked .n small { color: var(--grey); margin-left: 0.6em; }
.ranked .$ { font-variant-numeric: tabular-nums; text-align: right; }
.ranked li:first-child .$ { color: var(--mint); }

/* object: command / typewriter */
.cmd { font-family: var(--font-mono); font-size: 0.8125rem; border: 1px solid var(--paper); padding: 0.9rem 1rem; display: grid; gap: 0.5rem; min-height: 6.5rem; }
.cmd .in { color: var(--paper); }
.cmd .in::before { content: "> "; color: var(--mint); }
.cmd .out { color: var(--grey); }
.cmd .out::before { content: "  "; }
.cmd .cur { display: inline-block; width: 0.55em; height: 1em; background: var(--mint); vertical-align: -0.15em; animation: blink 1s steps(2, end) infinite; }

/* object: search meter stack */
.meter { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; height: 6px; }
.meter i { background: var(--line-on-ink); }
.meter i.on { background: var(--mint); }
.meters { display: grid; gap: 0.6rem; font-family: var(--font-mono); font-size: var(--fs-micro); }
.meters .row { display: grid; grid-template-columns: 5.5rem 1fr 2.5rem; gap: 0.75rem; align-items: center; }
.meters .row .k { color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.meters .row .n { text-align: right; font-variant-numeric: tabular-nums; }
.meters .meter i { background: var(--paper); border: 1px solid var(--ink); }
.meters .meter i.on { background: var(--ink); }
.tile--mint .meters .meter i { background: transparent; }
.tile--mint .meters .meter i.on { background: var(--ink); }
.tile--mint .the-number .arr { color: var(--ink); }

/* object: the number */
.the-number { font-family: var(--font-mono); font-weight: 700; font-size: clamp(3rem, 5vw, 4.5rem); line-height: 0.9; letter-spacing: -0.05em; display: flex; align-items: baseline; gap: 0.15em; }
.the-number .arr { color: var(--mint); font-weight: 400; font-size: 0.6em; }
.tile--ink .the-number .arr { color: var(--mint); }

/* ---------- 11. section 03 — who + how (list + rail) ---------- */
.who-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-bottom: clamp(3rem, 7vw, 6rem); }
@media (min-width: 1000px) { .who-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gutter); } }
.verticals { border-top: var(--rule) solid var(--ink); }
.verticals li { border-bottom: var(--rule) solid var(--ink); }
.verticals a { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); align-items: baseline; gap: 1rem; padding: 1.1rem 0.5rem; font-family: var(--font-mono); transition: background var(--t-snap), color var(--t-snap); }
.verticals a:hover { background: var(--ink); color: var(--paper); }
.verticals a:hover .sub, .verticals a:hover .i { color: var(--mint); }
.verticals .i { font-size: var(--fs-micro); color: var(--grey); }
.verticals .h { font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.verticals .sub { display: block; font-size: var(--fs-micro); color: var(--grey); margin-top: 0.35rem; letter-spacing: 0.02em; }
.rail { border-top: var(--rule) solid var(--ink); counter-reset: step; }
.rail li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-bottom: var(--rule) solid var(--ink); }
.rail .n { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--grey); padding-top: 0.35em; }
.rail h3 { font-family: var(--font-mono); font-size: var(--fs-title); font-weight: 500; letter-spacing: -0.02em; }
.rail h3 q { quotes: "“" "”"; }
.rail p { color: var(--grey); font-size: 0.9375rem; margin-top: 0.35rem; max-width: 50ch; }
.rail li.now .n { color: var(--ink); }
.rail li.now .n::after { content: ""; display: inline-block; width: 0.5em; height: 0.5em; background: var(--mint); margin-left: 0.5em; }

/* ---------- 12. CTA banner ---------- */
.cta { padding-block: clamp(4rem, 10vw, 8rem); }
.cta-grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 1000px) { .cta-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gutter); } }
.cta h2 { font-size: clamp(2.5rem, 7vw, 7rem); }
.cta h2 b { color: var(--mint); font-weight: 700; }
.cta-actions { display: grid; gap: 1rem; justify-items: start; }
.cta-actions .t-micro { color: var(--grey); }

/* ---------- 13. footer — dark ground, paper plate, giant clipped wordmark ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: var(--gutter) var(--gutter) 1rem; }
.plate { background: var(--paper); color: var(--ink); max-width: var(--max); margin-inline: auto; padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 2rem) 0; overflow: hidden; display: flex; flex-direction: column; min-height: min(70vh, 640px); }
.plate-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--grey); }
.plate-top .brand svg { height: 1.25rem; }
.plate-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem var(--gutter); padding-block: clamp(2.5rem, 5vw, 4rem); font-family: var(--font-mono); font-size: 0.8125rem; }
@media (min-width: 800px) { .plate-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plate-cols h4 { font-size: var(--fs-micro); font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.9rem; }
.plate-cols li { margin-bottom: 0.45rem; }
.plate-cols a:hover { background: var(--ink); color: var(--paper); }
.plate-cols .tag { font-family: var(--font-body); color: var(--grey); font-size: 0.875rem; max-width: 30ch; line-height: 1.5; }
.wordmark { margin-top: auto; font-family: var(--font-mono); font-weight: 700; font-size: clamp(5rem, 19.2vw, 20rem); line-height: 0.78; letter-spacing: -0.06em; white-space: nowrap; margin-left: -0.06em; margin-bottom: -0.12em; user-select: none; }
.wordmark b { font-weight: 700; color: var(--mint); }
.colophon { max-width: var(--max); margin: 1rem auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--grey); }
.colophon a:hover { color: var(--mint); }

/* ---------- 14. reveal (hard fade, sectional — not on every element) ---------- */
.reveal { opacity: 0; }
.reveal.in { opacity: 1; transition: opacity var(--t-cut); }
.reveal[data-delay="1"].in { transition-delay: 90ms; }
.reveal[data-delay="2"].in { transition-delay: 180ms; }
.reveal[data-delay="3"].in { transition-delay: 270ms; }

/* ---------- 15. reduced motion — everything still reads ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .line > span, .reveal { clip-path: none !important; opacity: 1 !important; }
  .marquee-track { animation: none; }
}
