/* Praxis Labs, round two, Annual Report family.
   A twelve-column sheet in the manner of an IBM report under Paul Rand: white paper, one blue,
   near-black ink, hairline rules opening every module, and a single pink point that stands for the finding.
   The signature is Fig. 1, a bank of six screens set in a white wall that plays the method in four acts. */
:root {
  --paper: #EEE7D9;
  --ink: #3A2318;
  --blue: #C8571B;
  --blue-ink: #A0410F;
  --mustard: #D9A228;
  --pink: #E0336F;
  --grey: #66503F;
  --mid: #8C7660;
  --rule-soft: #CDBFA8;
  --wash: #E5DBC9;
  --praxis-accent: var(--pink);

  --font-sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --t-label: 12px;
  --t-small: 15px;
  --t-text: 17px;
  --t-prose: 18px;
  --t-lead: 22px;
  --t-h2: 27px;
  --t-h1: clamp(30px, 3.9vw, 50px);
  --gap: 24px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 12px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
svg, canvas { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.page {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
  overflow-x: clip;
}
.sheet { width: min(1200px, 100%); margin-inline: auto; }
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.grid > * { min-width: 0; }

.label {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0;
}
.stop { color: var(--pink); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Masthead ---------- */
.mast {
  align-items: center;
  row-gap: 14px;
  padding-block: 24px 18px;
  border-bottom: 1px solid var(--ink);
}
.lockup { grid-column: 1 / 4; display: block; width: max-content; color: var(--ink); line-height: 0; }
.lockup svg { display: block; height: 40px; width: auto; }
.nav { grid-column: 5 / 13; justify-self: end; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 30px; row-gap: 6px; }
.nav a {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 6px 5px;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--blue-ink); border-bottom-color: var(--blue); }

/* ---------- Hero ---------- */
.hero { padding-block: 40px 0; }
.hero-text { row-gap: 18px; align-items: end; }
.kicker { grid-column: 1 / 9; color: var(--ink); }
.founded { grid-column: 9 / 13; }
.hero h1 {
  grid-column: 1 / 9;
  margin: 0;
  font-weight: 300;
  font-size: var(--t-h1);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.standfirst {
  grid-column: 9 / 13;
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--t-text);
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---------- Fig. 1, the screen bank ---------- */
.bank { margin: 44px 0 0; scroll-margin-top: 12px; }
.bank-head {
  border-top: 1px solid var(--ink);
  padding-block: 14px 20px;
  align-items: baseline;
  row-gap: 6px;
}
.bank-head .fig-no { grid-column: 1 / 2; color: var(--ink); }
.bank-head h2 { grid-column: 2 / 5; margin: 0; font-weight: 500; font-size: 22px; line-height: 1.2; }
.bank-intro { grid-column: 5 / 9; margin: 0; font-size: var(--t-small); line-height: 1.5; }
.bank-note { grid-column: 9 / 13; justify-self: end; text-align: right; }

.wall { position: relative; }
.wall canvas { display: none; width: 100%; height: auto; }
.bank.is-live .wall canvas { display: block; }
.bank.is-live .storyboard { display: none; }

.storyboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px var(--gap);
}
.sb { margin: 0; min-width: 0; }
.sb svg { display: block; width: 100%; height: auto; }
.sb svg .tm { font-family: var(--font-mono); }
.sb svg .ts { font-family: var(--font-sans); }
.sb figcaption { display: flex; gap: 10px; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--rule-soft); margin-top: 10px; color: var(--ink); }
.sb figcaption b { font-family: var(--font-sans); font-weight: 300; font-size: 22px; letter-spacing: 0; color: var(--blue-ink); line-height: 1; }
.sb.is-current figcaption { border-top-color: var(--blue); }

.bank-ctrl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 20px;
  row-gap: 10px;
  padding-block: 16px 14px;
  border-bottom: 1px solid var(--ink);
}
.bank-pause {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.bank-pause:hover { background: var(--ink); color: var(--paper); }
.bank-pause .ico { position: relative; width: 10px; height: 10px; }
.bank-pause .ico::before, .bank-pause .ico::after {
  content: ""; position: absolute; top: 0; width: 3px; height: 10px; background: currentColor;
}
.bank-pause .ico::before { left: 1px; }
.bank-pause .ico::after { right: 1px; }
.bank-pause[aria-pressed="true"] .ico::before {
  left: 1px; width: 0; height: 0; background: none;
  border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.bank-pause[aria-pressed="true"] .ico::after { display: none; }
.bank-status { display: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.bank-status .st-time { color: var(--grey); margin-left: 12px; text-transform: none; }
.bank.is-live .bank-pause { display: inline-flex; }
.bank.is-live .bank-status { display: block; }
.coda-note { margin-left: auto; display: flex; align-items: center; gap: 10px; transition: color 300ms ease; }
.coda-note .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); flex: none; }
.bank.in-coda .coda-note { color: var(--ink); }

.acts {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 22px;
}
.acts li { position: relative; min-width: 0; }
.act-bar { display: block; height: 3px; background: var(--wash); margin-bottom: 14px; overflow: hidden; }
.act-bar i { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.bank:not(.is-live) .act-bar { height: 1px; background: var(--ink); }
.act {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.act::after { content: ""; position: absolute; inset: -6px; }
.act:focus-visible { outline: none; }
.act:focus-visible::after { outline: 2px solid var(--blue); outline-offset: 0; }
.act-num { font-weight: 300; font-size: 34px; line-height: 0.85; color: var(--blue-ink); min-width: 1.6em; transition: color 250ms ease; }
.act-name { font-weight: 500; font-size: var(--t-text); }
.act-cap { margin: 10px 0 0; font-size: var(--t-small); line-height: 1.5; color: var(--ink); text-wrap: pretty; transition: color 250ms ease; }
.bank.is-live .acts li:not(.on) .act-cap { color: var(--grey); }
.bank.is-live .acts li:not(.on) .act-num { color: var(--mid); }
.acts li:hover .act-name { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Sections ---------- */
.section {
  border-top: 1px solid var(--ink);
  padding-block: 40px 88px;
  row-gap: 36px;
  scroll-margin-top: 12px;
}
.section .head { grid-column: 1 / 5; }
.section .body { grid-column: 5 / 13; }
.section .head .label { margin-bottom: 10px; color: var(--ink); }
.section h2 {
  margin: 0;
  font-weight: 500;
  font-size: var(--t-h2);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 12em;
}
.intro {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--t-prose);
  line-height: 1.6;
  max-width: 34em;
  text-wrap: pretty;
}
.hero + .section { margin-top: 72px; }

/* ---------- Fig. 2, Isotype filter ---------- */
.iso { grid-column: 1 / -1; border-top: 1px solid var(--ink); }
.iso-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: center;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule-soft);
}
.iso-row > * { min-width: 0; }
.iso-label { grid-column: 1 / 5; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.iso-num { font-weight: 300; font-size: 44px; line-height: 0.82; font-variant-numeric: tabular-nums; }
.iso-name { margin: 0; font-weight: 500; font-size: var(--t-text); line-height: 1.3; }
.iso-desc { margin: 3px 0 10px; font-size: var(--t-small); line-height: 1.45; color: var(--grey); }
.iso-cells { grid-column: 5 / 13; display: block; width: 100%; height: auto; }
.iso-cells.narrow { display: none; }
.iso use { transition: fill 350ms ease, stroke 350ms ease; }
.iso .pass { fill: var(--ink); }
.iso .fail { fill: var(--rule-soft); }
.iso .out { fill: var(--rule-soft); }
.iso .na { fill: none; stroke: var(--mid); stroke-width: 1.1px; }
.iso .mk { fill: var(--blue); transition: opacity 350ms ease; }
.iso .mk.off { opacity: 0; }
.iso .mk-base { fill: var(--rule-soft); }
.iso-result { border-bottom: 1px solid var(--ink); }
.iso-result .iso-num { color: var(--blue-ink); font-size: 30px; line-height: 1; }
.iso-result .iso-name { color: var(--blue-ink); }
.iso-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 6px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.iso-toggle .sw { position: relative; width: 24px; height: 12px; border: 1px solid var(--ink); flex: none; }
.iso-toggle .sw::after { content: ""; position: absolute; top: 1px; left: 1px; width: 8px; height: 8px; background: var(--ink); transition: transform 200ms ease; }
.iso-toggle[aria-checked="true"] .sw { background: var(--blue); border-color: var(--blue); }
.iso-toggle[aria-checked="true"] .sw::after { transform: translateX(12px); background: var(--paper); }
.iso-toggle:hover { border-color: var(--blue); color: var(--blue-ink); }
.iso-key {
  display: flex;
  flex-wrap: wrap;
  column-gap: 26px;
  row-gap: 10px;
  align-items: center;
  padding-top: 16px;
}
.iso-key span { display: inline-flex; align-items: center; gap: 8px; }
.iso-key svg { width: 18px; height: 18px; flex: none; }
.iso-key .label { color: var(--grey); }
.iso-key .note { margin-left: auto; }

/* ---------- Fig. 3, Reports ---------- */
.index-line { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 12px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule-soft); }
.index-line .label:first-child { color: var(--ink); }
.covers {
  grid-column: 1 / -1;
  display: grid;
  align-items: start;
  grid-template-rows: auto auto;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.cover {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  aspect-ratio: 180 / 250;
  overflow: hidden;
}
.cover.reserved { grid-column: span 2; }
.cv-block { position: relative; background: var(--wash); padding: 9px 10px 10px; flex: 0 0 35%; display: flex; flex-direction: column; }
.cv-series { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.cv-stripes { display: block; width: 100%; flex: 1 1 0; height: 0; min-height: 0; margin-top: 8px; color: var(--paper); }
.cv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin: 10px 10px 0; }
.cv-num { margin: 0; font-weight: 300; font-size: 26px; line-height: 1; letter-spacing: -0.01em; color: var(--mid); font-variant-numeric: tabular-nums; }
.cv-num span { font-size: 0.5em; letter-spacing: 0.04em; margin-right: 1px; vertical-align: 0.45em; }
.cv-fields { display: grid; gap: 6px; margin: 8px 10px 0; }
.cv-field { display: grid; gap: 2px; }
.cv-field i { display: block; height: 12px; border-bottom: 1px solid var(--rule-soft); }
.cv-field b { font-family: var(--font-mono); font-weight: 400; font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.cv-docs { margin: auto 10px 10px; display: grid; gap: 4px; }
.cv-docs span { border: 1px dashed var(--rule-soft); padding: 3px 6px; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--grey); line-height: 1.3; white-space: nowrap; overflow: hidden; }
.cv-state { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }

.cover.specimen { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: auto; border-color: var(--ink); }
.specimen .cv-block { background: var(--blue); flex: 0 0 112px; padding: 14px 18px 16px; }
.specimen .cv-top { display: flex; justify-content: space-between; gap: 8px; }
.specimen .cv-series, .specimen .cv-state { color: var(--paper); font-size: 11px; }
.specimen .cv-num { margin: 16px 18px 0; font-size: 48px; color: var(--ink); display: flex; align-items: baseline; gap: 2px; }
.specimen .cv-num span { font-size: 0.42em; vertical-align: 0; }
.sp-fields { margin: 14px 18px 0; display: grid; gap: 10px; }
.sp-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: end; border-bottom: 1px solid var(--rule-soft); padding-bottom: 6px; }
.sp-field .k { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.sp-field .v { font-size: var(--t-text); line-height: 1.3; color: var(--ink); }
.sp-status { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--grey); }
.sp-status span { display: inline-flex; align-items: center; gap: 6px; }
.sp-status i { width: 9px; height: 9px; border: 1px solid var(--ink); border-radius: 50%; }
.sp-status span:nth-child(2) i { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.sp-status span:nth-child(3) i { background: var(--ink); }
.sp-docs { margin: auto 18px 18px; padding-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sp-doc { position: relative; border: 1px solid var(--ink); padding: 10px 12px 11px; display: grid; gap: 4px; }
.sp-doc .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.sp-doc .v { font-weight: 500; font-size: var(--t-small); }
.sp-doc.tech { background: var(--ink); color: var(--paper); }
.sp-doc.tech .k { color: #C2B29A; }
.co {
  display: inline-grid;
  place-items: center;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  flex: none;
}
.cv-block .co { background: var(--paper); color: var(--blue-ink); }
.sp-doc .co { position: absolute; top: -10px; right: -8px; }
.cv-block .co.n1 { position: absolute; left: 18px; bottom: -10px; }
.specimen-wrap { grid-column: 1 / 5; grid-row: 1 / 3; position: relative; display: flex; flex-direction: column; min-width: 0; }
.specimen-wrap { align-self: stretch; }
.specimen-wrap .cover.specimen { flex: 1; }
.spec-tab { display: flex; justify-content: space-between; gap: 8px; padding: 0 0 8px; border-bottom: 3px solid var(--blue); }
.spec-tab .label { color: var(--blue-ink); }

.anatomy {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px var(--gap);
}
.anatomy li { display: grid; grid-template-columns: 19px minmax(0, 1fr); column-gap: 10px; font-size: var(--t-small); line-height: 1.4; }
.anatomy li .co { margin-top: 1px; }
.plain-note {
  grid-column: 5 / 13;
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--t-prose);
  line-height: 1.55;
  max-width: 34em;
}
.plain-note-label { grid-column: 1 / 5; align-self: start; padding-top: 6px; }

/* ---------- Fig. 4, Present position ---------- */
.stepper { grid-column: 1 / -1; position: relative; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gap);
}
.stepper::before {
  content: "";
  position: absolute;
  left: 0; right: calc(25% - var(--gap) * 0.75);
  top: 46px;
  height: 1px;
  background: var(--ink);
}
.stepper .ruler {
  position: absolute;
  left: 0; right: 0;
  top: 47px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--rule-soft) 0 1px, transparent 1px 12px);
}
.stepper .fill {
  position: absolute;
  left: 0;
  top: 45px;
  height: 3px;
  width: calc(25% + var(--gap) * 0.25);
  background: var(--blue);
}
.stepper .tail {
  position: absolute;
  right: 0;
  top: 46px;
  width: calc(25% - var(--gap) * 0.75);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 8px);
}
.stepper li { position: relative; min-width: 0; padding-top: 76px; }
.stepper .st-lab { position: absolute; top: 0; left: 0; display: flex; gap: 10px; color: var(--ink); }
.stepper .st-lab b { font-weight: 400; color: var(--grey); }
.stepper .node {
  position: absolute;
  top: 40px; left: -6px;
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.stepper .now .node { top: 38px; left: -8px; width: 17px; height: 17px; border: 0; background: var(--pink); }
.stepper .now .node::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--pink);
  animation: ping 2.8s cubic-bezier(.2, .6, .3, 1) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.8); opacity: 0; } }
.stepper .origin .node { top: 38px; left: 0; width: 1px; height: 17px; border: 0; border-radius: 0; background: var(--ink); }
.stepper p.st-desc { margin: 0; font-size: var(--t-text); line-height: 1.5; max-width: 17em; text-wrap: pretty; }
.stepper .origin p.st-desc { font-family: var(--font-mono); font-size: var(--t-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.stepper .now .st-lab { color: var(--pink); }
.stepper .now p.st-desc { font-weight: 500; }

/* ---------- Correspondence, long link ---------- */
.address { margin-top: 28px; max-width: 34em; border: 1px solid var(--ink); }
.address .label { padding: 10px 16px; border-bottom: 1px solid var(--ink); color: var(--ink); }
.address p.addr-note { margin: 0; padding: 18px 16px 20px; font-size: var(--t-text); line-height: 1.5; }
.lead-sans { margin: 0; font-weight: 300; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; letter-spacing: -0.01em; max-width: 24em; text-wrap: pretty; }

.long-link {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: center;
  padding-block: 30px 32px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
}
.long-link > * { min-width: 0; }
.long-link .label { grid-column: 1 / 5; color: var(--ink); }
.long-link .ll-text { grid-column: 5 / 12; font-weight: 300; font-size: clamp(26px, 3.3vw, 42px); line-height: 1.1; letter-spacing: -0.015em; }
.long-link .ll-arrow { grid-column: 12 / 13; justify-self: end; width: 46px; height: 24px; color: var(--blue-ink); transition: transform 200ms ease; }
.long-link:hover .ll-text { color: var(--blue-ink); }
.long-link:hover .ll-arrow { transform: translateX(6px); }

/* ---------- Fig. 5, closing plate ---------- */
.plate { margin: 64px 0 0; }
.band { --h: clamp(120px, 19vw, 230px); position: relative; height: var(--h); display: flex; justify-content: flex-end; }
.band .stripes { position: absolute; top: 0; bottom: 0; left: -100vw; right: calc(var(--h) * 0.654651); color: var(--blue-ink); }
.band .stripes svg { display: block; width: 100%; height: 100%; }
.band .band-mark { position: relative; z-index: 1; display: block; height: 100%; width: auto; aspect-ratio: 64 / 86; color: var(--ink); }
.plate figcaption {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-block: 16px 14px;
  border-bottom: 1px solid var(--ink);
}
.plate figcaption .label:first-child { grid-column: 1 / 5; color: var(--ink); }
.plate figcaption .label:last-child { grid-column: 5 / 13; text-transform: none; letter-spacing: 0.02em; }

/* ---------- Footer ---------- */
.colophon { padding-block: 28px 48px; }
.foot { row-gap: 24px; align-items: start; }
.foot-mark { grid-column: 1 / 3; color: var(--ink); }
.foot-mark svg { display: block; width: 64px; height: auto; }
.foot-name { grid-column: 3 / 7; }
.foot-name p { margin: 0; }
.foot-name .name { font-weight: 500; font-size: var(--t-text); }
.foot-name .label { margin-top: 6px; }
.foot-note { grid-column: 7 / 13; }
.foot-note p:not(.label) { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: var(--t-text); line-height: 1.55; max-width: 30em; }
.foot-note .label { margin-top: 14px; }

/* ---------- The Approach in Full ---------- */
.ap-top { padding-block: 32px 0; row-gap: 22px; }
.ap-back { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: var(--t-label); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; padding-block: 6px; border-bottom: 1px solid var(--ink); }
.ap-back:hover { color: var(--blue-ink); border-color: var(--blue); }
.ap-top .label.kind { grid-column: 1 / 5; color: var(--ink); }
.ap-top h1 { grid-column: 1 / 10; margin: 0 0 44px; font-weight: 300; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.prose > p {
  font-family: var(--font-serif);
  font-size: var(--t-prose);
  line-height: 1.62;
  max-width: 34em;
  margin: 0 0 1em;
  text-wrap: pretty;
}
.prose > p:last-child { margin-bottom: 0; }
.prose > p.lead { font-size: var(--t-lead); line-height: 1.5; max-width: 29em; }
.ap-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); max-width: 40em; }
.ap-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--rule-soft); }
.ap-list .n { font-weight: 300; font-size: 36px; line-height: 0.9; color: var(--blue-ink); }
.ap-list p { margin: 0; font-family: var(--font-serif); font-size: var(--t-prose); line-height: 1.6; text-wrap: pretty; }
.ap-list strong { font-family: var(--font-sans); font-weight: 600; }
.prose > .ap-list { margin-bottom: 1.2em; }
.ap-stages { margin-top: 8px; }
.ap-stages .n { font-family: var(--font-mono); font-size: var(--t-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); padding-top: 6px; line-height: 1.4; }
.ap-stages li:first-child .n { color: var(--pink); }
.prose > p.statement { margin: 0 0 28px; font-family: var(--font-sans); font-weight: 300; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.22; letter-spacing: -0.012em; max-width: 21em; text-wrap: balance; }
.ap-end { padding-block: 0 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero h1, .kicker { grid-column: 1 / -1; }
  .founded { grid-column: 1 / -1; }
  .standfirst { grid-column: 1 / 10; }
  .bank-head h2 { grid-column: 2 / 6; }
  .bank-intro { grid-column: 6 / 13; }
  .bank-note { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storyboard { grid-template-columns: minmax(0, 1fr); }
  .iso-label { grid-column: 1 / 6; }
  .iso-cells { grid-column: 6 / 13; }
  .cover.specimen, .specimen-wrap { grid-column: 1 / 7; }
  .cover.reserved { grid-column: span 3; }
  .cover.reserved:nth-of-type(n+5) { display: none; }
  .anatomy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --gap: 16px; --t-prose: 17px; --t-lead: 19px; --t-h2: 24px; --t-text: 16px; }
  .lockup { grid-column: 1 / -1; }
  .lockup svg { height: 36px; }
  .nav { grid-column: 1 / -1; justify-self: stretch; }
  .nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 0; }
  .nav a { font-size: 11px; }
  .hero { padding-block: 28px 0; }
  .standfirst { grid-column: 1 / -1; }
  .bank { margin-top: 32px; }
  .bank-head .fig-no { grid-column: 1 / 4; }
  .bank-head h2 { grid-column: 4 / -1; }
  .bank-intro { grid-column: 1 / -1; }
  .coda-note { margin-left: 0; width: 100%; }
  .acts { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .act-num { font-size: 28px; }
  .section { padding-block: 32px 64px; row-gap: 24px; }
  .section .head, .section .body { grid-column: 1 / -1; }
  .iso-row { padding-block: 14px; row-gap: 10px; }
  .iso-label, .iso-cells { grid-column: 1 / -1; }
  .iso-label { grid-template-columns: 34px minmax(0, 1fr); }
  .iso-num { font-size: 34px; }
  .iso-cells.wide { display: none; }
  .iso-cells.narrow { display: block; }
  .iso-key .note { margin-left: 0; }
  .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specimen-wrap { grid-column: 1 / -1; grid-row: auto; }
  .cover.specimen { grid-column: 1 / -1; min-height: 480px; }
  .cover.reserved { grid-column: span 1; }
  .cover.reserved:nth-of-type(n+5) { display: none; }
  .specimen .cv-num { font-size: 44px; }
  .anatomy { grid-template-columns: minmax(0, 1fr); }
  .plain-note-label, .plain-note { grid-column: 1 / -1; }
  .stepper { padding-left: 34px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .stepper::before { left: 8px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .stepper .ruler { left: 9px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; background: repeating-linear-gradient(180deg, var(--rule-soft) 0 1px, transparent 1px 12px); }
  .stepper .fill { left: 7px; top: 0; width: 3px; height: 92px; }
  .stepper .tail { display: none; }
  .stepper li { padding: 0 0 30px; }
  .stepper .st-lab { position: static; margin-bottom: 6px; }
  .stepper .node { top: 2px; left: -32px; }
  .stepper .now .node { top: 1px; left: -34px; }
  .stepper .origin .node { top: 6px; left: -34px; width: 17px; height: 1px; }
  .stepper li:last-child { padding-bottom: 0; }
  .long-link .label, .long-link .ll-text { grid-column: 1 / -1; }
  .long-link .ll-text { grid-column: 1 / 12; margin-top: 10px; }
  .long-link .ll-arrow { width: 30px; align-self: end; }
  .plate figcaption { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .plate figcaption .label:first-child, .plate figcaption .label:last-child { grid-column: 1 / -1; }
  .foot-mark { grid-column: 1 / 4; }
  .foot-name { grid-column: 4 / 13; }
  .foot-note { grid-column: 1 / -1; }
  .ap-top h1 { grid-column: 1 / -1; }
  .ap-list li { grid-template-columns: 44px minmax(0, 1fr); }
  .ap-list .n { font-size: 30px; }
}
html:not(.js) #approach:target { display: block !important; }
html:not(.js) body:has(#approach:target) #landing { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
