/* ============================================================================
   firstm.work — home.css (the GTM engineering homepage, 2026-10-07)

   Homepage only. The About, 404 and /booked/ pages still load site.css.

   One family, Archivo, and its WIDTH axis is the voice: headlines are set
   condensed and heavy, reading text at normal width. No mono, no all-caps.

   The one loud element is the market field in #method. Everything else is
   kept quiet so it can be the thing people remember. Its four dot states are
   the page's colour vocabulary, reused elsewhere:
     hollow   → in the market        (fit: "not worth building when")
     steel    → found by your data
     paper    → identified as a buyer
     gold     → the gap, the advantage (fit: "worth building when", the period)
   ============================================================================ */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-var-latin.woff2) format('woff2');
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* colour */
  --paper: #EEF1EF;
  --tint: #E3E8E6;
  --ink: #0F1B2D;
  --ink-2: #33415A;
  --ink-soft: #5B6880;
  --steel: #8A9BB0;
  --gold: #E2A31B;
  --gold-deep: #9A6A00;          /* gold that holds 4.5:1 on paper, for text */
  --rule: #C9D1CF;
  --danger: #B3261E;

  --on-ink: #EEF1EF;
  --on-ink-2: #B9C3D1;
  --on-ink-soft: #8593A8;
  --on-ink-dim: #5A6A83;          /* 3.15:1 on ink: large text only */
  --ink-rule: #26344A;
  --ink-raised: #172539;

  /* type */
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Seven steps, each used many times. Every font-size on the page is one
     of these (the wordmark aside). No two steps sit closer than ~1.2x. */
  --t-display: clamp(50px, 8.6vw, 132px); /* the hero headline, nothing else */
  --t-h2: clamp(34px, 5vw, 64px);         /* section heads, the landing */
  --t-feature: clamp(24px, 2.8vw, 36px);  /* the brief (stages + questions), hero sub, pivot, closing statements */
  --t-h3: clamp(22px, 2.2vw, 28px);       /* every sub-head */
  --t-lede: clamp(20px, 1.6vw, 22px);     /* intros and lead-ins */
  --t-body: 18px;                         /* running text, buttons, form labels and inputs */
  --t-small: 15px;                        /* captions, legend, helper, nav, footer */

  /* space: section frame, movements inside it, items, binds */
  --s-bind: 12px;
  --s-item: 24px;
  --s-move: clamp(48px, 7vw, 80px);
  --s-band: clamp(80px, 11vw, 144px);

  /* shape: follow the type. Archivo's period (the wordmark's mark) is a sharp
     square, so small marks are sharp squares; controls and surfaces take a
     small radius — two steps, so corners still show hierarchy. */
  --r-control: 4px;   /* buttons, step badges, inputs, timeline bars */
  --r-surface: 6px;   /* the form panel, the field box, the portrait */

  --wrap: 1200px;
  --measure: 40rem;
  --gutter: clamp(16px, 4vw, 40px);
  --col-gap: clamp(32px, 6vw, 88px);   /* THE gutter between side-by-side columns, every section */
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  font-stretch: 100%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.band--ink :focus-visible, .site-header.on-ink :focus-visible { outline-color: var(--gold); }
.panel :focus-visible { outline-color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.p { color: var(--gold); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip {
  position: absolute; left: 12px; top: -100px; z-index: 50;
  background: var(--ink); color: var(--on-ink); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ── Headings ────────────────────────────────────────────────────────────── */

h1, h2 {
  color: var(--ink);
  font-weight: 800;
  font-stretch: 72%;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--t-display); line-height: 0.92; }
h2 { font-size: var(--t-h2); line-height: 0.98; }
h3 {
  color: var(--ink);
  font-size: var(--t-h3);
  line-height: 1.15;
  font-weight: 760;
  font-stretch: 84%;
  letter-spacing: -0.01em;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--ink); color: var(--on-ink);
  border: 2px solid var(--ink); border-radius: var(--r-control);
  font: inherit; font-size: var(--t-body); font-weight: 650; font-stretch: 100%;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: var(--t-small); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #F0B53A; border-color: #F0B53A; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ── Header ──────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header { transition: background-color .25s, border-color .25s; }
.site-header.on-ink { background: color-mix(in srgb, var(--ink) 90%, transparent); border-bottom-color: var(--ink-rule); }
.site-header.on-ink .fm { color: var(--on-ink); }
.site-header.on-ink .nav-link { color: var(--on-ink-2); }
.site-header.on-ink .nav-link:hover { color: var(--on-ink); }
.site-header.on-ink .btn { background: var(--on-ink); border-color: var(--on-ink); color: var(--ink); }
.site-header .fm, .site-header .nav-link, .site-header .btn { transition: color .25s, background-color .25s, border-color .25s; }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.fm {
  color: var(--ink); text-decoration: none;
  font-size: 24px; font-weight: 850; font-stretch: 72%; letter-spacing: -0.02em;
}
.site-header nav { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--ink-2); text-decoration: none; font-size: var(--t-small); font-weight: 550; }
.nav-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
@media (max-width: 560px) { .nav-link { display: none; } }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); }
.byline { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); font-size: var(--t-body); line-height: 1.3; }
.byline img { width: 56px; height: 56px; border-radius: var(--r-surface); object-fit: cover; }
.byline strong { display: block; color: var(--ink); font-weight: 680; }
.byline-role { display: block; color: var(--ink-soft); }
/* Hand-set breaks keep each phrase whole on wide screens; phones wrap freely. */
@media (min-width: 760px) { .hero h1 .l { display: block; } }
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 28px; border-top: 1px solid var(--rule);
}
.hero-sub { max-width: 30ch; font-size: var(--t-feature); line-height: 1.25; color: var(--ink); font-weight: 450; font-stretch: 92%; letter-spacing: -0.01em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 820px) {
  .hero-foot { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .actions .btn { flex: 1 1 100%; }
}

/* ── Bands ───────────────────────────────────────────────────────────────── */

.band { padding: var(--s-band) 0; }
.band--tint { background: var(--tint); }
.band--ink { background: var(--ink); color: var(--on-ink-2); }
.band--ink h2, .band--ink h3 { color: var(--on-ink); }
.band--ink .p { color: var(--gold); }

.head { max-width: 52rem; margin-bottom: var(--s-move); }
.lede { max-width: var(--measure); margin-top: var(--s-item); font-size: var(--t-lede); line-height: 1.5; }
/* A section's closing statement. Its rule spans the full content width, like
   every rule above it in the section (spec rows, fit lists); the text breaks
   into balanced lines beneath. Both uses are identical. */
.aside {
  margin-top: var(--s-move);
  padding-top: 28px; border-top: 2px solid var(--ink);
  color: var(--ink); font-size: var(--t-feature); line-height: 1.25;
  font-weight: 540; font-stretch: 92%; letter-spacing: -0.01em; text-wrap: balance;
}

/* ── Method ──────────────────────────────────────────────────────────────── */

/* The brief: a contrast of value, set in type, no diagram.
   Left: the questions, bright and large, the loudest text in the section.
   Right: the typical brief's stages as a dim, heavy condensed stack —
   familiar, interchangeable. It shares .measure's columns, so the left
   column runs as one thread in Anton's voice (questions → "Before I build
   anything" → the steps) and the stack sits on the field's edge.
   DOM order stays the copy's (typical brief first), and so do phones. */
.brief, .measure {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: var(--col-gap);
}
/* The brief takes its own split: on .measure's columns the four short words
   sat ~370px from the questions. A third / two thirds brings the pair
   together while both sides keep a clean left edge. */
.brief { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.brief-typical, .brief-earlier { display: contents; }
.brief-typical .brief-lead { grid-column: 1; grid-row: 1; }
.brief-stages { grid-column: 1; grid-row: 2; }
.brief-earlier .brief-lead { grid-column: 2; grid-row: 1; }
.brief-qs { grid-column: 2; grid-row: 2; }

.brief-lead { margin-bottom: 20px; font-size: var(--t-lede); line-height: 1.4; font-weight: 600; }
.brief-earlier .brief-lead { color: var(--gold); }

/* Both sides in one voice — the stages set like the questions — so the
   contrast is carried by colour alone: dim for what everyone does, bright
   for where the advantage is. The two columns are one block: the four
   stages spread over the full height of the two questions, first line level
   with first line, last with last. */
.brief-stages, .brief-qs .question {
  font-size: var(--t-feature); line-height: 1.15;
  font-weight: 600; font-stretch: 88%; letter-spacing: -0.012em;
}
.brief-stages {
  color: var(--on-ink-dim);
  font-weight: 680;   /* optical match: dim on dark reads thinner than bright at the same weight */
  display: flex; flex-direction: column; justify-content: space-between;
}
.brief-qs { display: grid; gap: calc(var(--t-feature) * 1.15); align-content: start; }
.brief-qs .question { max-width: 13.5em; color: var(--on-ink); text-wrap: balance; }   /* two lines each: keeps the block balanced */

/* Same breakpoint as .measure: the two share columns, so they fold together. */
@media (max-width: 860px) {
  .brief { grid-template-columns: 1fr; }
  .brief-typical .brief-lead { grid-column: 1; grid-row: 1; }
  .brief-stages { grid-column: 1; grid-row: 2; }
  .brief-earlier .brief-lead { grid-column: 1; grid-row: 3; margin-top: var(--s-move); }
  .brief-qs { grid-column: 1; grid-row: 4; }
  .brief-lead { margin-bottom: var(--s-bind); }
}

/* The answer to the brief's questions, and the head of the steps column:
   it sits level with the top of the field, in the questions' own voice. */
.pivot {
  grid-column: 1; grid-row: 1; align-self: start;
  color: var(--on-ink);
  font-size: var(--t-feature); line-height: 1.15;
  font-weight: 600; font-stretch: 88%; letter-spacing: -0.01em; text-wrap: balance;
}

.measure {
  grid-template-rows: auto 1fr;
  margin-top: var(--s-move);
}
.field-fig {
  grid-column: 2; grid-row: 1 / span 2;
  position: sticky; top: calc(var(--header-h) + 6vh);
  align-self: start;
}
.steps { grid-column: 1; grid-row: 2; counter-reset: step; margin-top: var(--s-move); }
.step {
  padding-bottom: clamp(40px, 6vh, 64px);
  padding-left: 52px; position: relative; counter-increment: step;
  opacity: .5; transition: opacity .35s;   /* all four are on screen at once: inactive must stay readable */
}
.step::before {
  content: counter(step);
  position: absolute; left: 0; top: 2px;   /* level with the h3's first line */
  width: 34px; height: 34px; border-radius: var(--r-control);
  display: grid; place-items: center;
  border: 1.5px solid var(--on-ink-soft); color: var(--on-ink);
  font-size: var(--t-small); font-weight: 700; font-variant-numeric: tabular-nums;
}
.step.is-active { opacity: 1; }
.step.is-active::before { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.step h3 { margin-bottom: var(--s-bind); }
.step p { max-width: 30rem; }
/* Steps sit at list spacing, not a screen each: the field still changes as
   each one crosses the trigger line, over a third of the old distance. The
   last step keeps a tail so the field stays pinned while step 4 is active. */
.step:last-child { padding-bottom: 30vh; }

.market-field {
  aspect-ratio: 24 / 15; width: 100%;
  border: 1px solid var(--ink-rule); border-radius: var(--r-surface); background: var(--ink-raised);
  padding: 4%;
}
.market-field svg { display: block; width: 100%; height: 100%; overflow: visible; }
.market-field rect {
  fill: transparent; stroke: var(--on-ink-soft); stroke-width: 1.2; opacity: .55;
  transition: fill .5s ease, stroke .5s ease, opacity .5s ease;
  transition-delay: calc(var(--d, 0) * 1ms);
}
.market-field[data-step="0"] rect { opacity: 0; }
.market-field:not([data-step="0"]):not([data-step="1"]) rect.f { fill: var(--steel); stroke: var(--steel); opacity: 1; }
.market-field[data-step="3"] rect.f:not(.b),
.market-field[data-step="4"] rect.f:not(.b) { opacity: .45; }
.market-field[data-step="3"] rect.f.b,
.market-field[data-step="4"] rect.f.b { fill: var(--on-ink); stroke: var(--on-ink); opacity: 1; }
.market-field[data-step="4"] rect.b:not(.f) { fill: var(--gold); stroke: var(--gold); opacity: 1; }
.market-field[data-step="4"] rect:not(.b):not(.f) { opacity: .3; }
/* The payoff: at step 4 everything else steps back so the gap is the loudest thing. */
.market-field[data-step="4"] rect.f:not(.b) { opacity: .28; }
.market-field[data-step="4"] rect:not(.b):not(.f) { opacity: .18; }
.market-field[data-step="4"] rect.f.b { opacity: .8; }
/* Every cell stays the same size: in a unit chart a bigger square reads as a
   bigger company. Colour alone carries the gap. */

.legend { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 28px; margin-top: 18px; font-size: var(--t-small); color: var(--on-ink-2); }
.legend li { display: flex; align-items: center; gap: 8px; transition: opacity .35s; }
.legend .k { width: 10px; height: 10px; display: inline-block; border: 1.5px solid; }   /* square, like the cells */
.k--all { border-color: var(--on-ink-soft); }
.k--found { background: var(--steel); border-color: var(--steel); }
.k--buyer { background: var(--on-ink); border-color: var(--on-ink); }
.k--gap { background: var(--gold); border-color: var(--gold); }
.field-fig[data-step="1"] .legend [data-from="2"],
.field-fig[data-step="1"] .legend [data-from="3"],
.field-fig[data-step="1"] .legend [data-from="4"],
.field-fig[data-step="2"] .legend [data-from="3"],
.field-fig[data-step="2"] .legend [data-from="4"],
.field-fig[data-step="3"] .legend [data-from="4"] { opacity: .25; }
figcaption { margin-top: 10px; font-size: var(--t-small); color: var(--on-ink-soft); }

.close { margin-top: var(--s-move); max-width: var(--measure); }
.close p:not(.landing) { font-size: var(--t-lede); line-height: 1.5; }
.landing {
  margin-top: 20px; color: var(--gold);
  font-size: var(--t-h2); line-height: 1; font-weight: 800; font-stretch: 72%; letter-spacing: -0.015em;
}

@media (max-width: 860px) {
  .measure { grid-template-columns: 1fr; grid-template-rows: auto; gap: 0; }
  .pivot { grid-row: 1; margin-bottom: var(--s-item); }
  .field-fig {
    grid-column: 1; grid-row: 2; z-index: 2;
    top: var(--header-h);
    background: var(--ink);
    margin: 0 calc(var(--gutter) * -1); padding: 12px var(--gutter) 14px;
    border-bottom: 1px solid var(--ink-rule);
  }
  .market-field { aspect-ratio: 16 / 9; max-height: 36vh; }   /* tablets: keep the steps room to scroll under it */
  .legend { gap: 4px 14px; margin-top: 10px; font-stretch: 88%; }   /* narrower, not smaller */
  figcaption { display: none; }
  .steps { grid-column: 1; grid-row: 3; margin-top: 0; }
  .step { padding-top: 24px; padding-bottom: 24px; }
  .step::before { top: 26px; }   /* the padding-top above, plus the desktop 2px */
  .step:last-child { padding-bottom: 28vh; }
}

/* The scroll-linked behaviour needs JS. Without it, show every step at full
   strength and the field in its final state (data-step="4" in the markup). */
html:not(.js) .step { opacity: 1; min-height: 0; padding-top: 20px; padding-bottom: 20px; }
html:not(.js) .field-fig { position: static; }

@media (prefers-reduced-motion: reduce) {
  .market-field rect, .step, .legend li { transition: none; }
}

/* ── The system: a spec ──────────────────────────────────────────────────── */

/* The system as a spec, not a flowchart: name | what it does. The name
   column is as wide as the longest name ("Discover + qualify") and no wider,
   so every description sits a gutter from its name; the rows share that one
   column through subgrid. Rules between rows only, full content width like
   the closing statement's rule below. */
.spec {
  margin: 0;
  display: grid; grid-template-columns: minmax(16rem, max-content) minmax(0, 1fr);
  column-gap: var(--col-gap);   /* the page's column gutter: 53px read too close, the one-third split too far */
}
.spec-row {
  display: grid; grid-column: 1 / -1; grid-template-columns: subgrid;
  align-items: baseline;   /* name and first line of the description share a baseline */
  padding: var(--s-item) 0;
}
@supports not (grid-template-columns: subgrid) {
  .spec-row { grid-template-columns: 15em minmax(0, 1fr); column-gap: inherit; }
}
.spec-row:first-child { padding-top: 0; }
.spec-row:last-child { padding-bottom: 0; }
.spec-row + .spec-row { border-top: 1px solid var(--rule); }
.spec dt {
  color: var(--ink); font-size: var(--t-h3); line-height: 1.15;
  font-weight: 760; font-stretch: 84%; letter-spacing: -0.01em;
}
.spec dd { margin: 0; max-width: var(--measure); font-size: var(--t-lede); line-height: 1.45; }

@media (max-width: 760px) {
  .spec { grid-template-columns: 1fr; }
  .spec-row { row-gap: var(--s-bind); }
}

/* ── Fit: worth / not worth ─────────────────────────────────────────────── */

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-move) var(--col-gap); }
/* No bullets: each column's heading already names it. The two sides differ
   by ink weight — full ink for "worth", soft ink for "not worth" — and the
   worth column's heading carries the gold rule. Rules between rows only. */
.fit-col h3 { padding-bottom: 16px; border-bottom: 2px solid var(--steel); }
.fit-col:first-child h3 { border-bottom-color: var(--gold); }
.marks li { padding: 16px 0; color: var(--ink); }
.marks li + li { border-top: 1px solid var(--rule); }
.marks--no li { color: var(--ink-soft); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* ── History: to-scale ruler + four entries ─────────────────────────────── */

.ruler { --span: 12; margin-bottom: 48px; }
.ruler-bars { position: relative; height: 44px; }
.bar {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--from) / var(--span) * 100%);
  width: calc((var(--to) - var(--from)) / var(--span) * 100% - 3px);
  background: var(--ink); color: var(--on-ink);
  display: flex; align-items: center; padding: 0 12px;
  font-size: var(--t-small); font-weight: 650; white-space: nowrap; overflow: hidden;
  border-radius: var(--r-control);
}
.bar--now {
  background: linear-gradient(90deg, var(--gold) 55%, color-mix(in srgb, var(--gold) 0%, transparent));
  color: var(--ink);
}
.ruler-ticks { position: relative; height: 28px; border-top: 1px solid var(--rule); margin-top: 10px; }
.ruler-ticks span {
  position: absolute; top: 6px; left: calc(var(--at) / var(--span) * 100%);
  font-size: var(--t-small); color: var(--ink-soft); font-variant-numeric: tabular-nums;
}
.ruler-ticks span::before { content: ''; position: absolute; left: 0; top: -11px; width: 1px; height: 8px; background: var(--ink-soft); }

.ventures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.years { margin: 2px 0 var(--s-bind); color: var(--ink-soft); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.ventures li:last-child .years { color: var(--gold-deep); font-weight: 600; }

@media (max-width: 900px) {
  .ventures { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 600px) {
  .ventures { grid-template-columns: 1fr; }
  .bar { font-size: 0; padding: 0; }      /* bars too short to label; the entries below carry the names */
  .ruler-bars { height: 18px; }
  .ruler-ticks span:nth-child(2) { color: transparent; }   /* 2016 sits too close to 2015 to label; its tick stays */
}

/* ── Work with me ────────────────────────────────────────────────────────── */

.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.modes > div { padding: 0 clamp(20px, 3vw, 40px); border-left: 1px solid var(--ink-rule); }
.modes > div:first-child { padding-left: 0; border-left: 0; }
.modes h3 { margin-bottom: var(--s-bind); }
@media (max-width: 820px) {
  .modes { grid-template-columns: 1fr; gap: 28px; }
  .modes > div { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--ink-rule); }
  .modes > div:first-child { padding-top: 0; border-top: 0; }
}

.offer {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--col-gap);
  margin-top: var(--s-move); padding-top: var(--s-move); border-top: 1px solid var(--ink-rule);
  align-items: start;
}
.offer-copy { grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + 32px); }
.offer-title { margin-bottom: 24px; }
.offer-lede { color: var(--on-ink); font-size: var(--t-lede); line-height: 1.5; }
.offer-lede + .offer-lede { margin-top: var(--s-item); }

/* The hiring path: a second audience, after the form, below a rule. */
.offer-hiring {
  grid-column: 2; margin-top: var(--s-move); padding-top: var(--s-item);
  border-top: 1px solid var(--ink-rule);
}
.offer-hiring h3 { margin-bottom: var(--s-bind); }
.offer-hiring p { max-width: var(--measure); }
.offer-hiring-link {
  display: inline-block; margin-top: var(--s-bind);
  color: var(--on-ink); font-weight: 650;
  text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px;
}
.offer-hiring-link:hover { color: var(--gold); }
@media (max-width: 860px) {
  .offer { grid-template-columns: 1fr; row-gap: 0; }
  /* Unwrap the copy so the hiring path follows the form, not before it. */
  .offer-copy { display: contents; }
  .panel { order: 1; margin-top: var(--s-move); }
  .offer-hiring { order: 2; grid-column: 1; }
}

/* The form sits on paper: the one light surface inside the ink band. */
.panel {
  background: var(--paper); color: var(--ink-2);
  border-radius: var(--r-surface); padding: clamp(24px, 3.5vw, 40px);
}
.panel .submitted h3 { margin-bottom: 16px; color: var(--ink); }   /* the panel is paper inside an ink band: .band--ink h3 would make this white-on-paper */
.panel .submitted p + p { margin-top: 12px; }
.panel .submitted a { color: var(--ink); }
.panel .submitted:focus { outline: none; }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.form label, .customers legend { color: var(--ink); font-size: var(--t-body); font-weight: 650; }
.form input[type="text"], .form input[type="email"] {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: var(--t-body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--rule); border-radius: var(--r-control);
  transition: border-color .15s, box-shadow .15s;
}
.form input:hover { border-color: var(--steel); }
.form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 45%, transparent); }
.form input[aria-invalid="true"] { border-color: var(--danger); }

.customers { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.customers legend { padding: 0; margin-bottom: 4px; }
.customers .helper { margin: -2px 0 4px; font-size: var(--t-small); color: var(--ink-soft); }
.field--inline { grid-template-columns: 104px minmax(0, 1fr); column-gap: 12px; align-items: center; }
.field--inline label { font-weight: 500; color: var(--ink-soft); }   /* never smaller than the input it labels */
.field--inline .field-error { grid-column: 2; }
@media (max-width: 420px) {
  .field--inline { grid-template-columns: 1fr; }
  .field--inline .field-error { grid-column: 1; }
}

.field-error { color: var(--danger); font-size: var(--t-small); font-weight: 550; }
.form-error {
  padding: 12px 14px; border-radius: var(--r-control);
  background: color-mix(in srgb, var(--danger) 9%, #fff); color: var(--danger);
  font-size: var(--t-small);
}
.form-error a { color: inherit; }
#turnstile-slot:empty { display: none; }
.noscript-note { margin-top: 16px; font-size: var(--t-small); }

/* ── About page (/anton-van-rhyn/) ────────────────────────────────────────
   The homepage's own patterns, nothing new: the name is the page's one
   display moment; then every section is the spec layout — a one-third rail
   (the heading, or the portrait) and a two-thirds column of text — on
   alternating bands (paper, tint, ink) with the homepage's band rhythm and
   column gutter. */
.about-hero { padding: clamp(56px, 9vw, 120px) 0 0; }
.about-role {
  margin-top: var(--s-item);
  color: var(--ink-soft); font-size: var(--t-feature); line-height: 1.2;
  font-weight: 450; font-stretch: 92%; letter-spacing: -0.01em;
}

.about-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: var(--col-gap); align-items: start;
}
.about-rail { position: sticky; top: calc(var(--header-h) + 32px); }
.about-rail h2 { font-size: var(--t-h2); }

/* The intro continues the hero, like the homepage's hero-foot: a rule, then
   the portrait in the rail and the opening text beside it. */
.about-band--intro { padding: clamp(32px, 5vw, 56px) 0 var(--s-band); }
.about-band--intro .about-grid { padding-top: var(--s-move); border-top: 1px solid var(--rule); }
.about-band--intro .about-rail { position: static; }
.about-portrait { width: 100%; max-width: 220px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-surface); }

.about-main p { max-width: var(--measure); font-size: var(--t-lede); line-height: 1.55; }
.about-main > p + p { margin-top: var(--s-item); }
.about-main strong { color: var(--ink); font-weight: 650; }
/* The page's one statement voice (the brief's): the opening line, the doc's
   two bold lines, and the history's two turns all share it. */
.about-main .about-lead, .about-main .about-callout, .about-main .about-pivot {
  color: var(--ink); font-size: var(--t-feature); line-height: 1.2;
  font-weight: 600; font-stretch: 88%; letter-spacing: -0.012em; text-wrap: balance;
}
/* A turn in the history: the movement gap above (the list rule already
   gives it), bound tight to what it leads into below. */
.about-main .about-pivot + .about-list, .about-main .about-pivot + p { margin-top: var(--s-item); }

/* Company rows: rules between rows only, full column width; text at the
   measure. A lead-in binds to the rows it introduces. */
.about-list li { padding: var(--s-item) 0; }
.about-list li:first-child { padding-top: 0; }
.about-list li + li { border-top: 1px solid var(--rule); }
.about-list li p + p { margin-top: var(--s-bind); }
.about-list + p { margin-top: var(--s-move); }

/* The doc's bold standalone lines: statements in the brief's voice, bound
   to their colon lead-ins above. */
/* Emphasis inside a run of thought, not a new movement: paragraph spacing
   on both sides. (The question's next paragraph is its answer; an 80px gap
   split them. The movement gap belongs to the pivots.) */
.about-main .about-callout { margin: var(--s-item) 0; }
.about-main .about-callout + p { margin-top: 0; }
.about-main .about-callout:last-child { margin-bottom: 0; }

/* On the ink band. */
.band--ink .about-main p { color: var(--on-ink-2); }
.band--ink .about-main .about-callout, .band--ink .about-main .about-pivot, .band--ink .about-main strong { color: var(--on-ink); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-rail { position: static; margin-bottom: var(--s-item); }
  .about-portrait { max-width: 120px; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer { padding: 48px 0 56px; }
.footer-inner { display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 8px 28px; flex-wrap: wrap; flex: 1; }
.foot-links a { color: var(--ink-2); font-size: var(--t-small); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.colophon { font-size: var(--t-small); color: var(--ink-soft); }
@media (max-width: 560px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
