/* =========================================================================
   LightPRO — "The Planning Board"

   THESIS: A software partner is judged on whether it understands the
   operation, so the site IS the operation's own instrument — a shop-floor
   T-card planning board, the object an MRP system replaces. It refuses the
   dark-gradient agency page and the equal-thirds icon-card grid.
   OWN-WORLD: Light enamel steel (#EDEDE8) ruled into recessed channels by
   aluminium rails; die-cut card stock sitting proud, chamfered bottom-right,
   each with a 6px T-head bar; process black as a full-bleed field; one
   priority yellow that marks only what is current. Archivo plates, Martian
   Mono tickets.
   STORY: This company runs real operations, so it can run mine → these are
   real systems in real factories → the path in is one conversation.
   FIRST VIEWPORT: Board header rail; a maker's plate; one wide statement card
   in the top channel carrying the display line and both actions, the primary
   a yellow card; a priority column of the two real client jobs at right; a
   full-width channel of six solution T-heads beneath.
   FORM: Grounded candidate 3, the shop-floor planning board, staged as
   pierced density. Seed key c09a3a30.
   ========================================================================= */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-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;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url('../fonts/martianmono-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;
}
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url('../fonts/martianmono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- metrics-matched fallbacks ----------
   With font-display:swap the fallback is what paints first, so it has to occupy
   the same width or the text reflows when Archivo lands. Measured against Arial
   at the weights actually used: body 0.997x, display (800/110%) 1.137x, mono
   1.076x. Every line-height in this file is an explicit number, so only width
   needs correcting — ascent/descent overrides would change nothing. */
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
  size-adjust: 99.7%;
}
@font-face {
  font-family: 'Archivo Display Fallback';
  src: local('Arial Bold'), local('Arial'), local('Liberation Sans');
  size-adjust: 113.7%;
}
@font-face {
  font-family: 'Martian Fallback';
  src: local('Menlo'), local('Consolas'), local('DejaVu Sans Mono'), local('Courier New');
  size-adjust: 107.6%;
}

/* ---------- tokens ---------- */
:root {
  --board:        #EDEDE8;
  --board-recess: #E3E3DD;
  --card:         #FCFCFA;
  --ink:          #0B0B0D;
  --ink-2:        #55555A;
  --ink-3:        #5F5F65;
  --rail:         #C6C6BF;
  --rule:         #D6D6CF;
  --mark:         #FFCE1B;
  --mark-press:   #E8B400;
  --on-ink:       #EDEDE8;
  --on-ink-2:     #A5A5AA;

  /* dark-field surface ramp — the steel backing of the board */
  --band-recess:  #131316;
  --band-card:    #1B1B1F;
  --band-rule:    #2A2A2E;
  --band-edge:    #2E2E33;
  --band-dash:    #3A3A41;
  --band-lift:    #45454C;

  --sans: 'Archivo', 'Archivo Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans-display: 'Archivo', 'Archivo Display Fallback', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'Martian Mono', 'Martian Fallback', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r: 2px;
  --chamfer: 14px;
  --head: 6px;

  --s-hair: 4px;
  --s-tight: 8px;
  --s-snug: 12px;
  --s-base: 16px;
  --s-wide: 24px;
  --s-sect: 40px;
  --s-bay: 72px;

  --shadow-seated: 0 1px 2px rgba(11, 11, 13, .10), 0 2px 4px rgba(11, 11, 13, .07);
  --shadow-lift:   0 3px 6px rgba(11, 11, 13, .10), 0 14px 22px rgba(11, 11, 13, .16);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: 320ms;
  --dur-state: 180ms;
  --dur-travel: 620ms;

  --gutter: clamp(18px, 3.2vw, 34px);
  --max: 1320px;
  --rail-h: 62px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--rail-h) + 12px); }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--board);
  /* the screen-printed slot matrix on the enamel — structural, not a checkerboard:
     vertical slot divisions only, faint enough to read as printed rather than drawn */
  background-image: repeating-linear-gradient(to right, rgba(11, 11, 13, .045) 0 1px, transparent 1px 74px);
  background-position: center top;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--mark); color: var(--ink); }

:focus { outline: none; }
/* the focus ring is defined at the foot of this file, after the components,
   so a component's own box-shadow cannot swallow it. */

/* ---------- type ---------- */
.plate {
  font-family: var(--sans-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.display {
  font-family: var(--sans-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(2.25rem, 4.55vw, 4.05rem);
  line-height: .96;
  letter-spacing: -.033em;
  text-wrap: balance;
}
.ticket {
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: .6875rem;
  line-height: 1.15;
  letter-spacing: .055em;
  text-transform: uppercase;
  font-stretch: 87%;
}
.lede { font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); color: var(--ink-2); max-width: 62ch; }
.prose { color: var(--ink-2); max-width: 68ch; }
.prose strong { color: var(--ink); font-weight: 700; }

a { color: inherit; }

/* ---------- structure ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.bay { padding-block: clamp(52px, 7vw, var(--s-bay)); }

/* the printed legend strip screen-printed onto a channel's top rail */
.chan {
  border-top: 1px solid var(--rail);
  background: var(--board);
}
.chan__legend {
  display: flex;
  align-items: center;
  gap: var(--s-snug);
  padding: 7px var(--s-wide) 6px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: .625rem;
  letter-spacing: .07em;
}
.chan__legend b { color: var(--ink); font-weight: 600; }
/* the slot divisions, ticked off along the rail */
.chan__ticks {
  flex: 1;
  height: 7px;
  min-width: 60px;
  background-image: repeating-linear-gradient(to right, var(--rail) 0 1px, transparent 1px 28px);
  align-self: flex-end;
  margin-bottom: 2px;
}
.chan .channel { border-top: none; }
@media (max-width: 640px) { .chan__legend { padding-inline: var(--s-base); } .chan__ticks { display: none; } }

/* a recessed channel: a card sits IN it */
.channel {
  position: relative;
  background: var(--board-recess);
  border-top: 1px solid var(--rail);
  border-bottom: 1px solid var(--rail);
  box-shadow: inset 0 1px 2px rgba(11, 11, 13, .09);
  padding: var(--s-wide);
}
.channel + .channel { border-top: none; }

.slots {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s-wide);
}
.s3 { grid-column: span 3; }
.s4 { grid-column: span 4; }
.s5 { grid-column: span 5; }
.s6 { grid-column: span 6; }
.s7 { grid-column: span 7; }
.s8 { grid-column: span 8; }
.s12 { grid-column: span 12; }

/* the drop-shadow lives on the wrapper so it follows the chamfered
   silhouette; box-shadow on a clipped element gets clipped with it. */
.slot {
  position: relative;
  filter: drop-shadow(0 2px 3px rgba(11, 11, 13, .13));
  transition: filter var(--dur) var(--ease), transform var(--dur) var(--ease);
}

/* ---------- the job card: the signature object ---------- */
.card {
  position: relative;
  height: 100%;
  background: var(--card);
  border-radius: var(--r);
  padding: calc(var(--head) + 20px) 22px 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%);
  box-shadow: inset 0 0 0 1px var(--rule);
  transition: box-shadow var(--dur) var(--ease);
}
/* T-head — the card's status bar */
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--head);
  background: var(--ink);
  transition: background var(--dur) var(--ease);
}
/* the hairline across the die-cut corner */
.card::after {
  content: '';
  position: absolute;
  right: calc(var(--chamfer) * .707 - (var(--chamfer) * 1.42) / 2);
  bottom: calc(var(--chamfer) * .5 - 1px);
  width: calc(var(--chamfer) * 1.42);
  height: 1px;
  background: var(--rule);
  transform: rotate(-45deg);
}

.slot:hover, .slot:focus-within { filter: drop-shadow(0 12px 18px rgba(11, 11, 13, .22)); }
.slot:hover .card::before, .slot:focus-within .card::before { background: var(--mark); }

.card__ref {
  display: flex;
  gap: var(--s-tight);
  align-items: baseline;
  color: var(--ink-3);
  margin-bottom: var(--s-snug);
  padding-bottom: var(--s-tight);
  border-bottom: 1px solid var(--rule);
}
.card__ref b { color: var(--ink); font-weight: 600; }
.card__ref span { margin-left: auto; font-variant-numeric: tabular-nums; }
.band .card__ref { border-bottom-color: var(--band-edge); }
.band .card__ref b { color: var(--on-ink); }
.card__name + .card__body { margin-top: var(--s-tight); }
.card__name { font-size: 1.1875rem; font-weight: 700; line-height: 1.18; letter-spacing: -.012em; }
.card__body { margin-top: var(--s-snug); color: var(--ink-2); font-size: .9375rem; line-height: 1.58; }
.card__replaces {
  margin-top: var(--s-base);
  padding-top: var(--s-snug);
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: .875rem;
  line-height: 1.5;
}
.card__replaces b { color: var(--ink); font-weight: 700; }

/* ---------- section plate ---------- */
.plate-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--s-wide) clamp(24px, 4vw, 56px);
  margin-bottom: var(--s-sect);
  padding-bottom: var(--s-base);
  border-bottom: 1px solid var(--rail);
}
.band .plate-row { border-bottom-color: var(--band-rule); }
@media (max-width: 900px) { .plate-row { grid-template-columns: 1fr; } }
.plate-row .ticket { color: var(--ink-3); }
.plate-row__lead { max-width: 44ch; }
.plate-row .plate { margin-top: var(--s-snug); }

/* ---------- buttons: cards in a slot ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-stretch: 87%;
  text-decoration: none;
  padding: 18px 26px 16px;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  background: var(--mark);
  color: var(--ink);
  box-shadow: var(--shadow-seated);
  transition: background 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--head);
  background: var(--ink);
}
.btn:hover { background: var(--mark-press); }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
.btn--ghost { background: var(--card); box-shadow: inset 0 0 0 1px var(--ink), var(--shadow-seated); }
.btn--ghost:hover { background: var(--board); }
.btn--ghost::before { background: var(--ink); }
.btn__arrow { font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 0; transform: translateY(1px); }

/* ---------- wordmark ----------
   The supplied LightPRO mark, inlined once per page as a sprite and drawn via
   <use>. The letterforms inherit `currentColor`, so one asset serves the black
   header rail and any light ground; the rays follow --mark. */
.wm { display: block; width: auto; color: currentColor; }
.wm--rail { height: 20px; color: var(--on-ink); }
.wm--foot { height: 26px; color: var(--on-ink); }
.rail__mark { transition: opacity var(--dur-state) var(--ease); }
.rail__mark:hover { opacity: .82; }

/* ---------- header rail ---------- */
.rail {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--rail-h);
  background: var(--ink);
  color: var(--on-ink);
  border-bottom: 1px solid var(--band-rule);
}
.rail__in { display: flex; align-items: center; gap: var(--s-wide); height: 100%; }
.rail__mark { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.rail__mark svg { height: 21px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  position: relative;
  font-family: var(--mono);
  font-weight: 600;
  font-size: .6875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-stretch: 87%;
  color: var(--on-ink-2);
  text-decoration: none;
  padding: 21px 12px 20px;
  transition: color 180ms var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 13px;
  height: 3px;
  background: var(--mark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover { color: var(--on-ink); }
.nav a[aria-current='true'] { color: var(--on-ink); }
.nav a[aria-current='true']::after { transform: scaleX(1); }

.rail__cta { flex: 0 0 auto; margin-left: var(--s-base); padding: 13px 18px 11px; font-size: .6875rem; }
.rail__cta::before { display: none; }

.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--band-edge);
  color: var(--on-ink);
  padding: 10px 13px;
  border-radius: var(--r);
  cursor: pointer;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--mark);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 100;
  font-family: var(--mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
}
.skip:focus { left: 8px; }

/* ---------- hero: the board at density ---------- */
.hero { padding-top: calc(var(--rail-h) + clamp(24px, 3vw, 34px)); padding-bottom: clamp(18px, 2.2vw, 26px); }

.makerplate {
  display: flex;
  align-items: baseline;
  gap: var(--s-base);
  flex-wrap: wrap;
  padding-bottom: var(--s-snug);
  margin-bottom: -1px;
}
.makerplate .ticket { color: var(--ink-3); }
.makerplate__legal { color: var(--ink); font-weight: 700; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: var(--s-wide);
  align-items: stretch;
}

.statement {
  position: relative;
  background: var(--card);
  border-radius: var(--r);
  padding: clamp(26px, 2.9vw, 38px) clamp(24px, 2.8vw, 40px) clamp(26px, 2.9vw, 38px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  box-shadow: inset 0 0 0 1px var(--rule);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.statement::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 10px;
  background: var(--mark);
}
.statement__ref { color: var(--ink-3); margin-bottom: var(--s-base); display: block; }
.statement .lede { margin-top: var(--s-wide); }
.statement__actions { display: flex; flex-wrap: wrap; gap: var(--s-snug); margin-top: auto; padding-top: clamp(26px, 3vw, 38px); }
.statement-wrap { filter: drop-shadow(0 3px 5px rgba(11, 11, 13, .14)); }

/* priority column — the two real jobs, standing in their slots */
.priority { display: flex; flex-direction: column; gap: var(--s-snug); }
.priority__legend { color: var(--ink-3); padding-bottom: var(--s-hair); }
.pcard {
  position: relative;
  display: block;
  width: 100%;
  text-decoration: none;
  background: var(--card);
  border-radius: var(--r);
  padding: 19px 18px 21px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.pcard::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--ink); transition: background var(--dur) var(--ease); }
.pcard-wrap { filter: drop-shadow(0 2px 3px rgba(11, 11, 13, .12)); transition: filter var(--dur) var(--ease); display: flex; }
.pcard-wrap:hover { filter: drop-shadow(0 10px 16px rgba(11, 11, 13, .2)); }
.pcard-wrap:hover .pcard::before, .pcard-wrap:focus-within .pcard::before { background: var(--mark); }
.pcard .ticket { display: block; color: var(--ink-3); }
.pcard__co { font-family: var(--sans-display); display: block; font-weight: 800; font-stretch: 108%; font-size: 1.0625rem; letter-spacing: -.02em; margin-top: 8px; line-height: 1.15; }
.pcard__what { display: block; color: var(--ink-2); font-size: .875rem; line-height: 1.45; margin-top: 6px; }

/* the priority column pins its cards to the top of the channel; the empty
   board beneath them is the slot that is still open. */
.priority__rest {
  flex: 1;
  min-height: 54px;
  margin-top: var(--s-hair);
  border: 1px dashed var(--rail);
  border-radius: var(--r);
  background: repeating-linear-gradient(-45deg, transparent 0 9px, rgba(11, 11, 13, .028) 9px 18px);
  display: grid;
  place-items: center;
  padding: var(--s-base);
  text-align: center;
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.priority__rest .ticket { color: var(--ink-3); line-height: 1.6; transition: color var(--dur) var(--ease); }
.priority__rest:hover { border-color: var(--ink); border-style: solid; }
.priority__rest:hover .ticket { color: var(--ink); }

/* the six solution heads, previewed in a channel */
.heads { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.head {
  position: relative;
  display: block;
  text-decoration: none;
  background: var(--card);
  border-radius: var(--r);
  padding: 15px 13px 13px;
  box-shadow: inset 0 0 0 1px var(--rule), var(--shadow-seated);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.head::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ink); transition: background var(--dur) var(--ease); }
.head:hover, .head:focus-visible { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--rule), 0 10px 16px rgba(11, 11, 13, .18); }
.head:hover::before, .head:focus-visible::before { background: var(--mark); }
.head .ticket { color: var(--ink-3); font-size: .625rem; }
.head__t { display: block; font-weight: 700; font-size: .875rem; line-height: 1.25; letter-spacing: -.01em; margin-top: 7px; }

/* ---------- black band ---------- */
.band {
  background: var(--ink);
  color: var(--on-ink);
  background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, .05) 0 1px, transparent 1px 74px);
  background-position: center top;
}
.band .prose, .band .lede { color: var(--on-ink-2); }
.band .plate-row .ticket { color: var(--on-ink-2); }
.band .channel {
  background: var(--band-recess);
  border-color: var(--band-rule);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5);
}
.band .card { background: var(--band-card); box-shadow: inset 0 0 0 1px var(--band-edge); color: var(--on-ink); }
.band .card::before { background: var(--on-ink-2); }
.band .card::after { background: var(--band-edge); }
.band .card__ref, .band .card__replaces { color: var(--on-ink-2); }
.band .card__body { color: var(--on-ink-2); }
.band .card__replaces { border-top-color: var(--band-edge); }
.band .card__replaces b { color: var(--on-ink); }
.band .slot { filter: none; }
.band .slot:hover, .band .slot:focus-within { filter: none; }
.band .slot:hover .card, .band .slot:focus-within .card { box-shadow: inset 0 0 0 1px var(--band-lift); }

/* ---------- work ---------- */
.job { display: flex; flex-direction: column; }
.job__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-base); flex-wrap: wrap; }
.job__client { font-family: var(--sans-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.03em; line-height: 1.05; }
.job__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; margin-top: 10px; letter-spacing: -.012em; }
.job dl { margin-top: var(--s-wide); display: grid; gap: var(--s-base); }
.job dt {
  font-family: var(--mono);
  font-weight: 600;
  font-size: .625rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--mark);
  font-stretch: 87%;
  margin-bottom: 5px;
}
.job dd { margin: 0; color: var(--on-ink-2); font-size: .9375rem; line-height: 1.55; }
.job dd b { color: var(--on-ink); font-weight: 600; }

/* the open slot — a capability, not a placed job */
.openslot {
  position: relative;
  height: 100%;
  border: 1px dashed var(--band-dash);
  border-radius: var(--r);
  padding: calc(var(--head) + 20px) 22px 24px;
  background: repeating-linear-gradient(-45deg, transparent 0 9px, rgba(255, 255, 255, .022) 9px 18px);
}
.openslot::before { content: ''; position: absolute; inset: 0 0 auto 0; height: var(--head); background: repeating-linear-gradient(-45deg, var(--mark) 0 6px, var(--ink) 6px 12px); }
.openslot .ticket { color: var(--mark); }
.openslot__t { font-family: var(--sans-display); font-weight: 800; font-stretch: 108%; font-size: 1.25rem; letter-spacing: -.02em; margin-top: var(--s-base); }
.openslot p { color: var(--on-ink-2); font-size: .9375rem; line-height: 1.55; margin-top: var(--s-tight); }
.openslot__note { margin-top: var(--s-base); padding-top: var(--s-snug); border-top: 1px solid var(--band-edge); font-size: .8125rem; color: var(--on-ink-2); }

/* ---------- process: one job travelling the board ---------- */
.route { position: relative; margin-top: var(--s-sect); }
.route__rail {
  position: relative;
  height: 42px;
  background: var(--board-recess);
  border-top: 1px solid var(--rail);
  border-bottom: 1px solid var(--rail);
  box-shadow: inset 0 1px 2px rgba(11, 11, 13, .1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.route__tick { position: relative; border-right: 1px solid var(--rail); }
.route__tick:last-child { border-right: none; }
.route__tick span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
/* the travelling T-card */
.route__cursor {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 25%;
  padding-inline: 5px;
  transition: transform 620ms var(--ease);
  transform: translateX(calc(var(--stage, 0) * 100%));
  pointer-events: none;
}
.route__cursor i {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  background: var(--mark);
  border-radius: 0;
  box-shadow: 0 2px 5px rgba(11, 11, 13, .28);
  border-top: var(--head) solid var(--ink);
  font-family: var(--mono);
  font-style: normal;
  font-weight: 700;
  font-size: .6875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-stretch: 87%;
  color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.route__cursor i::before { content: attr(data-label); }

.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-wide); margin-top: var(--s-wide); }
.stage { padding-top: var(--s-base); border-top: 3px solid transparent; transition: border-color 420ms var(--ease); }
.stage[data-on='true'] { border-top-color: var(--mark); }
.stage__n { color: var(--ink-3); }
.stage[data-on='true'] .stage__n { color: var(--ink); }
.stage__t { font-family: var(--sans-display); font-weight: 800; font-stretch: 108%; font-size: 1.1875rem; letter-spacing: -.02em; margin-top: 14px; }
.stage p { color: var(--ink-2); font-size: .9375rem; line-height: 1.55; margin-top: 7px; }

/* ---------- about: an engraved plate ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.about p + p { margin-top: var(--s-base); }
.engraved {
  background: var(--board-recess);
  border: 1px solid var(--rail);
  border-radius: var(--r);
  padding: var(--s-wide);
  box-shadow: inset 0 1px 2px rgba(11, 11, 13, .08);
}
.engraved dl { display: grid; gap: var(--s-base); margin: 0; }
.engraved dt { color: var(--ink-3); margin-bottom: 4px; }
.engraved dd { margin: 0; font-weight: 700; font-size: .9375rem; line-height: 1.4; }
.engraved dd span { display: block; font-weight: 400; color: var(--ink-2); font-size: .875rem; margin-top: 2px; }

.req { text-decoration: none; color: var(--ink); font-weight: 700; padding-left: 2px; }
.opt { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-weight: 400; color: var(--ink-3); }

/* ---------- contact: the job ticket ---------- */
.ticketform { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }

/* the form is a docket — card stock, printed fields, a die-cut corner */
.docket {
  position: relative;
  background: var(--card);
  color: var(--ink);
  border-radius: var(--r);
  padding: calc(var(--head) + 26px) clamp(20px, 2.4vw, 32px) clamp(26px, 2.6vw, 34px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.docket::before { content: ''; position: absolute; inset: 0 0 auto 0; height: var(--head); background: var(--mark); }
.docket-wrap { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }
.docket__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-base);
  flex-wrap: wrap;
  padding-bottom: var(--s-base);
  margin-bottom: var(--s-wide);
  border-bottom: 1px solid var(--rule);
}
.docket__head .ticket { color: var(--ink-3); }
.docket__head b { font-family: var(--sans); font-weight: 800; font-stretch: 108%; font-size: 1.0625rem; letter-spacing: -.02em; color: var(--ink); }
.docket .field > label.ticket { color: var(--ink-3); }
.docket .field input, .docket .field textarea, .docket .field select { background: var(--board); }
.docket .field__err { color: var(--ink); border-left-color: var(--ink); }
.docket .formnote { color: var(--ink-2); }
.docket .formnote a { color: var(--ink); text-decoration-color: var(--mark-press); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.docket .formstatus { background: var(--board-recess); border-color: var(--rail); color: var(--ink); }
.docket .field--half .ticket, .docket label .ticket { color: var(--ink-3); }
/* 20px, not 16: the focus ring reaches 6px past the field and must not
   crowd the next field's printed legend. */
.field { margin-bottom: 20px; }
.field > label { display: block; margin-bottom: 6px; color: var(--ink-3); }
.band .field > label { color: var(--on-ink-2); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--r);
  padding: 13px 14px;
  font-size: 1rem;
  font-family: var(--sans);
  transition: box-shadow 180ms var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field--half .field { margin-bottom: 0; }
.field__hint { font-size: .8125rem; color: var(--on-ink-2); margin-top: 6px; }

/* a correction on a job ticket wears the same T-head bar as every card */
.field__err {
  display: none;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 3px solid var(--ink);
  font-size: .8125rem;
  line-height: 1.45;
  color: var(--on-ink);
}
.field[data-invalid='true'] .field__err { display: block; }
.field[data-invalid='true'] input, .field[data-invalid='true'] textarea { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 3px var(--board-recess); }

.formnote { font-size: .8125rem; color: var(--on-ink-2); margin-top: var(--s-base); line-height: 1.55; max-width: 56ch; }
.formnote a { color: var(--on-ink); }

.formstatus {
  display: none;
  margin-top: var(--s-base);
  padding: var(--s-base);
  position: relative;
  background: var(--band-card);
  border: 1px solid var(--band-edge);
  border-top: none;
  border-radius: var(--r);
  font-size: .9375rem;
  color: var(--on-ink);
}
.formstatus::before { content: ''; position: absolute; inset: 0 0 auto 0; height: var(--head); background: var(--mark); }
.formstatus[data-show='true'] { display: block; }
.formstatus[data-tone='bad']::before { background: var(--ink); }
.formstatus__link { color: inherit; font-weight: 600; text-decoration-color: var(--mark-press); text-underline-offset: 3px; text-decoration-thickness: 2px; }

.directline { border: 1px solid var(--band-edge); background: var(--band-recess); border-radius: var(--r); padding: var(--s-wide); }
.directline__t { font-family: var(--sans-display); font-weight: 800; font-stretch: 108%; font-size: 1.25rem; letter-spacing: -.02em; margin-top: var(--s-snug); }
.directline p { color: var(--on-ink-2); font-size: .9375rem; line-height: 1.55; margin-top: var(--s-tight); }
.mailto {
  display: block;
  width: fit-content;
  margin-top: var(--s-snug);
  font-family: var(--mono);
  font-size: .875rem;
  font-weight: 600;
  color: var(--mark);
  text-decoration: none;
  border-bottom: 2px solid var(--mark);
  padding-bottom: 2px;
  word-break: break-all;
}
.mailto:hover { color: var(--on-ink); border-color: var(--on-ink); }
.directline dl { margin-top: var(--s-wide); padding-top: var(--s-base); border-top: 1px solid var(--band-edge); display: grid; gap: var(--s-snug); }
.directline dt { color: var(--on-ink-2); margin-bottom: 3px; }
.directline dd { margin: 0; font-size: .9375rem; }

/* ---------- footer ---------- */
.foot { background: var(--band-recess); color: var(--on-ink); border-top: 1px solid var(--rail); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .55); padding-block: clamp(40px, 5vw, 56px) var(--s-wide); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: var(--s-sect); align-items: start; }
.foot__mark svg { height: 24px; width: auto; }
.foot__legal { color: var(--on-ink-2); font-size: .875rem; line-height: 1.6; margin-top: var(--s-base); max-width: 34ch; }
.foot__addr { font-style: normal; color: var(--on-ink-2); font-size: .875rem; line-height: 1.6; margin-top: var(--s-base); padding-top: var(--s-base); border-top: 1px solid var(--band-rule); max-width: 34ch; }
.foot h3 { font-family: var(--mono); font-weight: 600; font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--on-ink-2); margin-bottom: var(--s-base); font-stretch: 87%; }
.foot ul { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.foot a { color: var(--on-ink); text-decoration: none; font-size: .9375rem; border-bottom: 1px solid transparent; transition: border-color 180ms; }
.foot a:hover { border-bottom-color: var(--mark); }
.foot__bar { margin-top: clamp(36px, 4.5vw, 52px); padding-top: var(--s-base); border-top: 1px solid var(--band-rule); display: flex; justify-content: space-between; gap: var(--s-base); flex-wrap: wrap; color: var(--on-ink-2); }
.foot__bar .ticket { color: var(--on-ink-2); }

/* ---------- simple pages (privacy / 404) ---------- */
.doc { padding-top: calc(var(--rail-h) + 56px); padding-bottom: var(--s-bay); }
.doc__body { max-width: 68ch; }
.doc__body h2 { font-weight: 800; font-stretch: 108%; font-size: 1.375rem; letter-spacing: -.02em; margin-top: var(--s-sect); }
.doc__body p, .doc__body li { color: var(--ink-2); margin-top: var(--s-snug); }
.doc__body ul { list-style: square; padding-left: 1.15em; margin-top: var(--s-snug); }
.doc__body li::marker { color: var(--mark-press); }
.doc__body a { color: var(--ink); text-decoration-color: var(--mark-press); text-underline-offset: 3px; text-decoration-thickness: 2px; }

.e404 { display: grid; place-items: center; min-height: 74vh; text-align: center; padding-top: var(--rail-h); }
.e404 .ticket { color: var(--ink-3); }
.e404__slot {
  margin: var(--s-wide) auto 0;
  max-width: 520px;
  border: 1px dashed var(--rail);
  border-radius: var(--r);
  padding: var(--s-sect) var(--s-wide);
  background: repeating-linear-gradient(-45deg, transparent 0 9px, rgba(11, 11, 13, .028) 9px 18px);
}

/* ---------- focus: hazard marking ----------
   Yellow measures 1.3:1 on the enamel and cannot be seen alone, so the ring is
   always a yellow band bounded by black — literal hazard marking. Declared here,
   last, at equal specificity to the component rules, so it wins on source order
   instead of losing its ring to a component's own box-shadow. */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--mark);
}
/* components that carry a hairline in box-shadow keep it alongside the ring */
.head:focus-visible { box-shadow: inset 0 0 0 1px var(--rule), 0 0 0 3px var(--mark); }
.btn--ghost:focus-visible { box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 3px var(--mark); }

/* on a black field the pair inverts: yellow reads, black bounds it */
.band :focus-visible { outline-color: var(--mark); box-shadow: 0 0 0 3px var(--ink); }
/* …except inside the docket, which is card stock sitting on that black field */
.docket :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 3px var(--mark); }

/* a die-cut card clips its own outline away, so its ring is drawn inside the cut */
.pcard:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--mark), inset 0 0 0 5px var(--ink);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .priority { flex-direction: row; }
  .heads { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --rail-h: 58px; }
  .nav { display: none; }
  .nav[data-open='true'] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: var(--rail-h) 0 auto 0;
    background: var(--ink);
    border-bottom: 1px solid var(--band-rule);
    padding: var(--s-tight) var(--gutter) var(--s-wide);
    margin: 0;
    gap: 0;
  }
  .nav[data-open='true'] a { padding: 15px 0; border-bottom: 1px solid var(--band-rule); }
  .nav[data-open='true'] a::after { left: -22px; right: auto; bottom: auto; top: 50%; width: 14px; height: 3px; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
  .nav[data-open='true'] a[aria-current='true']::after { transform: scaleX(1); }
  .burger { display: block; }
  .rail__cta { display: none; }
  .slots { gap: var(--s-base); }
  .s3, .s4, .s5, .s6, .s7, .s8 { grid-column: span 12; }
  .about__grid, .ticketform { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr 1fr; }
  .route__tick span { left: 10px; font-size: .5625rem; }
  .route__cursor i { padding: 0 6px; font-size: .5625rem; }
  .stage { border-top-color: var(--rail); }
}

@media (max-width: 640px) {
  :root { --chamfer: 11px; }
  .priority { flex-direction: column; }
  .heads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages { grid-template-columns: 1fr; }
  .route__cursor i::before { content: ''; }
  .field--half { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; gap: var(--s-wide); }
  .foot { padding-block: var(--s-sect); }
  .foot__bar { margin-top: var(--s-sect); }
  .channel { padding: var(--s-base); }
  .statement__actions .btn { width: 100%; justify-content: center; }
}

/* ---------- touch: there is no hover, so state arrives on press ---------- */
@media (hover: none) {
  .slot:active .card::before,
  .pcard-wrap:active .pcard::before,
  .head:active::before { background: var(--mark); }
  .head:hover { transform: none; }
  .head:active { transform: translateY(-3px); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .route__cursor { transition: none; }
  .head:hover, .head:focus-visible { transform: none; }
}

/* ---------- print ---------- */
@media print {
  .rail, .burger, .route__rail { display: none; }
  body { background: #fff; color: #000; }
  .band { background: #fff; color: #000; }
}

/* the open slot's reference line is dashed like the slot itself */
.band .openslot__ref { border-bottom: 1px dashed var(--band-dash); }
.band .openslot__ref b { color: var(--mark); }
