/* Self-hosted, latin subset, OFL — see index/fonts/LICENSE.md. Three files,
   76KB total, on the same CDN as everything else: no third-party request on
   every page load, no privacy leak to the reader, no render-blocking round
   trip to a host this site does not control. */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Zero Index — presentation.
   No preprocessor, no build: this file ships exactly as written.

   Two shapes, and the split is the whole design:

     The list  — a scan. Mark, name, one neutral line, tags, save. Dense rows,
                 Product-Hunt-shaped, nothing to read closely.
     A company — a read. Hero, then panels, one idea per panel.

   Palette is white and grey (2026-08-15, was cream). Spacing is a scale, never
   a per-rule guess; every gap below is one of --s-*. */

:root {
  --paper:  #ffffff;
  --sink:   #f4f5f7;
  --card:   #ffffff;
  --ink:    #14161a;
  --soft:   #666e7a;
  --line:   #e4e7ec;
  --line-2: #c8ced7;
  --rule:   #14161a;
  --accent: #e03e13;
  --accent-ink: #ffffff;
  --accent-wash: #fdf0ec;
  --shadow: 0 1px 2px rgb(20 22 26 / 5%), 0 10px 30px rgb(20 22 26 / 8%);
  --shadow-sm: 0 1px 2px rgb(20 22 26 / 6%), 0 4px 12px rgb(20 22 26 / 6%);
  --swatch-s: 58%;
  --swatch-l: 48%;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* The editorial voice. Instrument Serif has real character at display sizes,
     which is what stops a list of companies reading like a spreadsheet. */
  --font-serif: 'Instrument Serif', ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --s-1: .375rem;
  --s-2: .625rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2.25rem;
  --s-6: 3.25rem;
  --s-7: clamp(3.5rem, 8vw, 6.5rem);

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 40rem;
  --radius: 10px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:  #0e1013;
    --sink:   #16191d;
    --card:   #16191d;
    --ink:    #eceef1;
    --soft:   #929aa5;
    --line:   #252a30;
    --line-2: #39404a;
    --rule:   #eceef1;
    --accent: #ff5c33;
    --accent-ink: #0e1013;
    --accent-wash: #23150f;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 10px 30px rgb(0 0 0 / 45%);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%), 0 4px 12px rgb(0 0 0 / 35%);
    --swatch-s: 55%;
    --swatch-l: 45%;
  }
}

:root[data-theme="dark"] {
  --paper: #0e1013; --sink: #16191d; --card: #16191d; --ink: #eceef1;
  --soft: #929aa5; --line: #252a30; --line-2: #39404a;
  --rule: #eceef1; --accent: #ff5c33; --accent-ink: #0e1013;
  --accent-wash: #23150f;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 10px 30px rgb(0 0 0 / 45%);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%), 0 4px 12px rgb(0 0 0 / 35%);
  --swatch-s: 55%; --swatch-l: 45%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv05' 1;
}

a { color: inherit; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }

/* Mono is for labels, never for sentences. */
.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.quiet { color: var(--soft); }

:where(a, button, input):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ------------------------------------------------------------------- topbar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 800;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-block: .7rem;
}
.topbar-mark {
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 1.05rem;
  text-decoration: none;
}
.topbar-mark em { font-style: normal; color: var(--accent); }
.topbar-nav { display: flex; gap: var(--s-3); font-size: .6rem; }
.topbar-nav a { color: var(--soft); text-decoration: none; }
.topbar-nav a:hover { color: var(--ink); }
.topbar-nav a[aria-current="page"] { color: var(--ink); }

/* ----------------------------------------------------------------- masthead */


h1 {
  margin: 0 0 var(--s-4);
  font-size: clamp(2.75rem, 11vw, 8.5rem);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
h1 em { font-style: normal; color: var(--accent); }


/* --------------------------------------------------------------------- hero */

.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }

.hero-eyebrow {
  margin: 0 0 var(--s-4);
  font-size: .58rem;
  color: var(--soft);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: .4rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sink);
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}


/* The serif carries the voice. A list of companies set entirely in a UI
   grotesk reads like a spreadsheet; one editorial line changes the whole
   register of the page. */
.hero-lead {
  margin: 0 0 var(--s-3);
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  max-width: 20ch;
}
.hero-sub {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  color: var(--soft);
  max-width: 44rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }

/* -------------------------------------------------------------------- stats */

/* Fixed tracks, not auto-fit: four stats, and auto-fit at three-across leaves an
   orphan cell whose empty track shows the rule colour as a grey slab. */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: var(--s-4) 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats > div { background: var(--sink); padding: var(--s-4) var(--s-3); }
.stats dt {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .56rem;
  color: var(--soft);
  margin-bottom: var(--s-2);
}
.stats dd {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.stats dd small { font-size: .48em; font-weight: 700; color: var(--soft); letter-spacing: 0; }

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------ filters */

.filters { margin-bottom: var(--s-4); }
.collections { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-3); }
.controls { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }

/* One row per axis, label on the left. A dropdown hides the vocabulary; with an
   index this small, showing every available value IS the summary of what is in
   it. */
.facets {
  display: grid;
  gap: var(--s-2);
  margin-top: var(--s-3);
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sink);
}
.facet { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.facet-label {
  font-size: .55rem;
  color: var(--soft);
  min-width: 4.5rem;
  flex: none;
}
.facet .chip { padding: .32rem .7rem; font-size: .58rem; background: var(--paper); }

.sort-wrap { display: flex; align-items: center; }
.sort {
  padding: .7rem 2rem .7rem .9rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.05rem) 55%, calc(100% - .8rem) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.linkish {
  margin-left: var(--s-2);
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: inherit;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
}

input[type="search"] {
  flex: 1 1 16rem;
  min-width: 0;
  padding: .7rem .9rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
input[type="search"]::placeholder { color: var(--soft); }

.chip {
  padding: .48rem .85rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper);
  color: var(--soft);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: background .12s, color .12s, border-color .12s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip.collection { border-color: var(--ink); color: var(--ink); }
.chip.collection[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.collection-blurb {
  margin: 0 0 var(--s-3);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--soft);
  max-width: 42rem;
  border-left: 3px solid var(--accent);
  padding-left: var(--s-3);
}
.count { font-size: .62rem; color: var(--soft); margin: var(--s-3) 0 0; }

/* -------------------------------------------------------------- the list row */

.edition {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  font-size: .62rem;
  font-weight: 700;
  margin: var(--s-5) 0 var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--line);
}
.edition::after { content: ""; flex: 1; }
.edition .n { color: var(--soft); font-weight: 400; }
.edition:first-of-type { margin-top: 0; }

.entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--s-3) var(--s-4);
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-3) var(--s-4);
  margin-bottom: var(--s-2);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.entry {
  position: relative;
  overflow: hidden;
}
.entry::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .15s;
}
.entry:hover::before { opacity: 1; }
.entry:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* Scroll reveal is an enhancement, never a prerequisite. The hidden state is
   applied only once JS has confirmed IntersectionObserver exists. */
.js-reveal .entry {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease, border-color .15s, box-shadow .15s;
}
.js-reveal .entry.in { opacity: 1; transform: none; }

/* The mark.
   `contain`, not `cover`: real logos arrive in two shapes — square app-icon
   marks and wide wordmarks — and cropping a wordmark to a square destroys it.
   The white chip is deliberate and stays white in dark mode, because a black
   wordmark on a transparent background disappears otherwise, and fetching each
   brand's light-mode variant is not a thing to maintain. */
.entry-mark {
  width: clamp(3.25rem, 7vw, 4.25rem);
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.entry-mark:has(img), .hero-mark:has(img) {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6%;
}
.entry-mark img, .hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.initial { font-size: 1.3rem; font-weight: 800; letter-spacing: -.05em; color: #fff; }

.entry-body { min-width: 0; }

.entry-name {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.entry-name a { color: inherit; text-decoration: none; }
.entry-name a:hover { color: var(--accent); }

.entry-line {
  margin: .15rem 0 0;
  font-size: .95rem;
  color: var(--soft);
  line-height: 1.45;
  max-width: 46rem;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-1) var(--s-2);
  margin-top: var(--s-2);
  font-size: .58rem;
}
.chip-num { color: var(--soft); font-weight: 700; }
/* Checkable numbers, so they read as data rather than as decoration. */
.chip-signal {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: .16rem .5rem;
  color: var(--soft);
  background: var(--paper);
}
.chip-signal b { color: var(--ink); font-weight: 700; }
.chip-move {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: .16rem .5rem;
  color: var(--ink);
  font-weight: 700;
}
.chip-quiet { color: var(--soft); }
.tag {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: .16rem .5rem;
  color: var(--soft);
}
/* Derived states. Colour-coded by what kind of claim each one is: an ask a
   reader can act on, proof somebody else vetted them, or the earliness claim
   this whole index rests on. */
.chip-flag {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: .16rem .5rem;
  color: var(--soft);
  white-space: nowrap;
}
.chip-flag.is-ask { border-color: var(--accent); color: var(--accent); }
.chip-flag.is-proof { border-color: var(--ink); color: var(--ink); }
.chip-flag.is-early { border-color: var(--line-2); color: var(--soft); }
.chip-flag.is-early::before { content: "◆ "; color: var(--accent); }

.entry-actions { display: flex; align-items: center; gap: var(--s-2); flex: none; }

.save-chip {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper);
  color: var(--soft);
  padding: .45rem .8rem;
  font-family: var(--font-mono);
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s, color .12s, border-color .12s;
}
.save-chip:hover { border-color: var(--accent); color: var(--accent); }
.save-chip.is-saved { background: var(--accent-wash); border-color: var(--accent); color: var(--accent); }

.open {
  font-family: var(--font-mono);
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.open:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .entry {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding: var(--s-3);
  }
  .entry-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ------------------------------------------------------------- company page */

.backlink {
  display: inline-block;
  margin: var(--s-4) 0 var(--s-4);
  font-size: .6rem;
  color: var(--soft);
  text-decoration: none;
}
.backlink:hover { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.hero-mark {
  width: clamp(4.5rem, 10vw, 6.5rem);
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mark .initial { font-size: clamp(1.6rem, 4vw, 2.4rem); }

.detail-num {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-3);
  font-size: .58rem;
  color: var(--soft);
  margin-bottom: var(--s-2);
}
.hero-name {
  margin: 0 0 var(--s-2);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  text-transform: none;
}
.hero-line {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--soft);
  line-height: 1.5;
  max-width: var(--measure);
}
.hero-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); font-size: .58rem; }

.detail-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

.action {
  display: inline-block;
  padding: .65rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s, color .12s, border-color .12s;
}
.action:hover { background: var(--ink); color: var(--paper); }
.action.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.action.primary:hover { filter: brightness(1.08); }
.action.quiet { border-color: var(--line-2); color: var(--soft); }
.action.quiet:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.action.save.is-saved { background: var(--accent-wash); border-color: var(--accent); color: var(--accent); }

.inline-link { color: var(--accent); }

.signal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: 0;
}
.signal-grid > div {
  flex: 0 1 auto;
  min-width: 8.5rem;
  padding: var(--s-3);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
}
.signal-grid dt {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .54rem;
  color: var(--soft);
  margin-bottom: var(--s-1);
}
.signal-grid dd {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.signal-date { display: block; margin-top: var(--s-1); font-size: .5rem; color: var(--soft); }
/* Movement is the rarer and more interesting fact, so it is marked. */
.signal-grid .is-move { border-color: var(--ink); }
.signal-grid .is-move dd { color: var(--accent); }

/* One idea per panel, so a long page stays navigable by eye. */
.panel {
  margin-top: var(--s-4);
  padding: var(--s-4) clamp(1.25rem, 3vw, 2rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel-title {
  margin: 0 0 var(--s-3);
  font-size: .58rem;
  font-weight: 700;
  color: var(--accent);
}
.panel-foot {
  margin: var(--s-3) 0 0;
  font-size: .55rem;
  color: var(--soft);
  line-height: 1.8;
}

.note-panel { background: var(--sink); }
.detail-why {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.45;
  max-width: 44rem;
}
blockquote {
  margin: var(--s-4) 0 0;
  padding-left: var(--s-3);
  border-left: 3px solid var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--soft);
  max-width: 38rem;
}

.ask-panel { border-color: var(--accent); background: var(--accent-wash); }
.ask-text { margin: 0; font-size: 1.15rem; font-weight: 600; max-width: 38rem; }

.asking { margin: var(--s-4) 0 0; padding: var(--s-3); border: 1px solid var(--accent); background: var(--accent-wash); font-size: .95rem; max-width: 38rem; }
.asking-label { display: block; font-size: .56rem; color: var(--accent); margin-bottom: var(--s-1); }

/* Wrapping cards, not a grid. The number of facts differs per company — one
   entry has five, another has none — so any fixed or auto-fit track count
   leaves orphan cells on somebody's page, and an empty cell in a bordered grid
   reads as missing data rather than as absent data. Cards just wrap. */
.track-grid, .detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: 0;
}
.track-grid > div, .detail-grid > div {
  /* Content-sized, not grown: a lone card on the last row stretching to full
     width next to a row of six reads as a different kind of thing. */
  flex: 0 1 auto;
  min-width: 8rem;
  background: var(--sink);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  padding: var(--s-3);
}
.track-grid dt, .detail-grid dt {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .54rem;
  color: var(--soft);
  margin-bottom: var(--s-1);
}
.track-grid dd { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.detail-grid dd { margin: 0; font-size: .95rem; font-weight: 600; }

.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}
.timeline li:first-child { border-top: 0; padding-top: 0; }
.update-date { font-size: .55rem; color: var(--soft); padding-top: .25rem; }

@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1fr; gap: var(--s-1); }
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.pager a {
  max-width: 48%;
  font-family: var(--font-mono);
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--soft);
  text-decoration: none;
}
.pager a:hover { color: var(--accent); }
.pager b {
  display: block;
  font-size: 1rem;
  font-family: var(--font-sans);
  letter-spacing: -.02em;
  color: var(--ink);
  text-transform: none;
  margin-top: var(--s-1);
}
.pager a:hover b { color: var(--accent); }
.pager .next { text-align: right; margin-left: auto; }

/* ---------------------------------------------------------------- portfolio */

.portfolio-head { padding: var(--s-6) 0 var(--s-4); }
.portfolio-title {
  margin: 0 0 var(--s-3);
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  text-transform: uppercase;
}
.portfolio-lead {
  margin: 0 0 var(--s-3);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--soft);
  max-width: var(--measure);
  line-height: 1.5;
}
.portfolio-note { font-size: .55rem; color: var(--soft); margin: 0; }

.held { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); font-size: .55rem; color: var(--soft); }
.since-label { margin: var(--s-3) 0 var(--s-2); font-size: .55rem; color: var(--accent); }
.since-label.quiet { color: var(--soft); }
.timeline.since li { padding: var(--s-2) 0; font-size: .9rem; }
.page-portfolio .entry { cursor: default; align-items: start; }

.empty {
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: var(--s-6) var(--s-4);
  text-align: center;
}
.empty-title { margin: 0 0 var(--s-2); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.empty-body { margin: 0 auto var(--s-4); color: var(--soft); max-width: 30rem; }

/* --------------------------------------------------------------------- misc */

.err { border: 1px solid var(--accent); border-radius: var(--radius); padding: var(--s-4); font-size: .9rem; line-height: 1.6; }
.err code { background: var(--sink); padding: .12rem .35rem; }
.note { color: var(--soft); font-size: .66rem; }

footer {
  margin: var(--s-7) 0 var(--s-6);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
  font-size: .58rem;
  color: var(--soft);
}
.foot-links { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.foot-links a { color: var(--soft); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.foot-links a:hover { color: var(--accent); border-color: var(--accent); }
.foot-rule { opacity: .75; }

/* -------------------------------------------------------------------- about */

.about { margin: var(--s-7) 0 0; padding-top: var(--s-5); border-top: 1px solid var(--ink); }
.about-title {
  margin: 0 0 var(--s-5);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  text-transform: uppercase;
  line-height: 1;
}
.about-body { max-width: 46rem; }
.about-lead {
  margin: 0 0 var(--s-5);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
}
.about-heading { margin: var(--s-5) 0 var(--s-3); font-size: .62rem; color: var(--accent); font-weight: 700; }
.about-para { margin: 0 0 var(--s-3); font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.6; color: var(--soft); }
.about-principles {
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.about-principles li { background: var(--sink); padding: var(--s-3); font-size: .62rem; }
.about-revised { margin: var(--s-4) 0 0; font-size: .6rem; color: var(--soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .entry { opacity: 1; transform: none; transition: none; }
  .entry:hover { transform: none; }
}

/* ------------------------------------------------------- data & badge pages */

.download-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }

.data-para { margin: 0 0 var(--s-3); color: var(--soft); max-width: 46rem; line-height: 1.65; }
.data-para:last-child { margin-bottom: 0; }
.data-para em { color: var(--ink); font-style: italic; }

.schema-list { display: grid; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.schema-list > div { background: var(--paper); padding: var(--s-3); display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: var(--s-3); }
.schema-list dt { font-family: var(--font-mono); font-size: .62rem; color: var(--accent); letter-spacing: .06em; }
.schema-list dd { margin: 0; font-size: .92rem; color: var(--soft); line-height: 1.55; }

@media (max-width: 640px) {
  .schema-list > div { grid-template-columns: 1fr; gap: var(--s-1); }
}

/* The badge a founder can take. Presented as a gift, not a requirement. */
.badge-panel { background: var(--sink); }
.badge-row { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: flex-start; }
/* The snippet must be allowed to shrink, or it forces the preview onto its own
   row at every width. */
.badge-row > div { flex: 1 1 22rem; min-width: 0; }
.badge-preview { border-radius: 8px; flex: none; }
.badge-copy { margin: 0 0 var(--s-3); color: var(--soft); font-size: .95rem; max-width: 32rem; }
.snippet {
  margin: 0;
  padding: var(--s-3);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: .72rem;
  line-height: 1.7;
  color: var(--soft);
}
.snippet code { white-space: pre; }

/* ------------------------------------------------------------ track page */

.track-lead { max-width: 24ch; margin-bottom: var(--s-3); }

/* A bar, not a chart. One number over time does not need axes, and a chart
   here would imply more precision than a hand-counted figure has. */
.meter {
  height: 10px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-top: var(--s-3);
}
.meter span { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
/* Ink, not accent. A full bar here means every company is still uncovered,
   which is the index working — an alarm colour would say the opposite. */

.table-scroll { overflow-x: auto; }
.track-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 44rem; }
.track-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: .54rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 400;
  padding: 0 var(--s-3) var(--s-2) 0;
  border-bottom: 1px solid var(--line);
}
.track-table td { padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--line); }
.track-table tr:last-child td { border-bottom: 0; }
.track-table td.mono { font-family: var(--font-mono); font-size: .68rem; color: var(--soft); }
.track-table td.num { font-variant-numeric: tabular-nums; }
.track-table td a { color: inherit; text-decoration: none; font-weight: 600; }
.track-table td a:hover { color: var(--accent); }
.track-table td.quiet { color: var(--soft); }
.track-table td.moved { color: var(--accent); font-weight: 700; }
