/* Efficiency Signal — heat balance sheet.
   Blue = expected, design or modeled. Red = as-found or recorded. Neither is emphasis. */

:root {
  --film: #eef1f2;
  --film-deep: #e2e7e9;
  --sheet: #f8fafa;
  --ink: #14181c;
  --ink-2: #46505a;
  --hair: rgb(20 24 28 / 0.22);
  --design: #0349a6;
  --design-deep: #023a85;
  --on-design: #f3f7fc;
  --on-design-2: #c9dbf3;
  --found: #b3261e;

  --font-text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-data: var(--font-text); /* one family: values are set apart by case, weight and tabular figures */

  --text-base: 1.125rem;
  --text-small: 0.9375rem;
  --text-data: 0.875rem;
  --text-h1: clamp(2.5rem, 1.5rem + 3.8vw, 4.25rem);
  --text-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --text-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.4375rem);

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --space-section: clamp(4rem, 2.5rem + 6vw, 8rem);
  --line: 2px;
  --duration-fast: 150ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  background: var(--film);
  scrollbar-color: var(--ink-2) var(--film);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--film);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--text-base);
  line-height: 1.55;
  caret-color: var(--design);
}

::selection { background: var(--design); color: var(--on-design); }

:focus-visible { outline: var(--line) solid var(--ink); outline-offset: 3px; }

img, video, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; transition: color var(--duration-fast) var(--ease-out); }
a:hover { color: var(--design); }

h1, h2 { font-weight: 700; text-wrap: balance; }
h3 { font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--text-h1); line-height: 1.03; letter-spacing: -0.025em; }
h2 { font-size: var(--text-h2); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: var(--text-h3); line-height: 1.3; letter-spacing: -0.005em; }
p, li { text-wrap: pretty; }

.wrap { max-width: 82rem; margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 38rem; }
.lede { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem); line-height: 1.5; color: var(--ink-2); max-width: 36rem; }
.stack > * + * { margin-top: 1.25rem; }
[hidden] { display: none !important; }
.follow { margin-top: 2rem; }
.follow-wide { margin-top: clamp(3rem, 2rem + 4vw, 5rem); }
.muted { color: var(--ink-2); }
.lead-in { margin-block: 1.25rem 2rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Values, units and tags. */
.data {
  font-family: var(--font-data);
  font-size: var(--text-data);
  font-weight: 500;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
/* Labels are sentence case in the second ink; values and units keep their case (inHg, ppb, MWh). */
.expected { color: var(--design); }
.found { color: var(--found); }

.skip { position: absolute; left: var(--gutter); top: -4rem; padding: 0.5rem 0.9rem; background: var(--ink); color: var(--film); }
.skip:focus { top: 0.5rem; }
.skip:hover { color: var(--film); }

/* Header */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.25rem; }
.site-header .logo img { width: 10.3rem; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1.4rem; font-size: var(--text-small); font-weight: 500; }
.site-header nav a { text-decoration: none; padding-block: 0.3rem; border-bottom: var(--line) solid transparent; }
.site-header nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* Actions */
.action {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.35rem; border: 0; cursor: pointer;
  background: var(--design); color: var(--on-design);
  font: 600 1.125rem/1.3 var(--font-text); text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.action:hover { background: var(--design-deep); color: var(--on-design); }
.action:active { transform: translateY(1px); }
.action[disabled] { background: var(--ink-2); cursor: progress; }
.site-header nav .action { padding: 0.55rem 1rem; font-size: var(--text-small); border-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.more { font-weight: 500; }

/* Sections */
main > section { padding-block: calc(var(--space-section) / 2); }
main > section:first-child { padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.ruled > .wrap::before { content: ""; display: block; height: var(--line); background: var(--ink); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head { max-width: 50rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head p { margin-top: 1rem; color: var(--ink-2); max-width: 38rem; }

.split { display: grid; gap: clamp(2rem, 4vw, 4rem); }
/* Grid children hold scrolling tables; without this the table sets the track width. */
.split > *, .calc > * { min-width: 0; }
@media (min-width: 60rem) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .split > :first-child { grid-column: span 5; }
  .split > :last-child { grid-column: span 7; }
  .split.even > * { grid-column: span 6; }
  .split.wide-first > :first-child { grid-column: span 7; }
  .split.wide-first > :last-child { grid-column: span 5; }
}

/* Home opening */
.opening h1 + .lede { margin-top: 1.5rem; }
.opening .actions { margin-top: 2rem; }
.opening-plain h1 { max-width: 20ch; }

/* The condenser diagram */
.cycle { width: 100%; }
.cycle .l { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.cycle .t { fill: none; stroke: var(--ink); stroke-width: 1; }
.cycle text { font-family: var(--font-data); font-size: 15px; font-weight: 500; letter-spacing: 0.01em; fill: var(--ink); }
.cycle .pt circle { fill: var(--film); stroke: var(--ink); stroke-width: 2; }
.cycle .pt text { font-size: 15px; font-weight: 700; text-anchor: middle; letter-spacing: 0; }
/* The drawing shrinks with the column; its lettering must not. */
@media (max-width: 40rem) { .cycle text { font-size: 21px; } .cycle .pt text { font-size: 18px; } .cycle .flag { font-size: 20px; } }
.cycle .flag { fill: var(--found); font-weight: 600; letter-spacing: 0.01em; }
.cycle .fog { fill: var(--found); opacity: 0; transition: opacity var(--duration-fast) var(--ease-out); }

/* Ruled tables: state points, calc sheets, schedules. */
.sheet-table { width: 100%; border-collapse: collapse; border-top: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink); }
.sheet-table caption { text-align: left; padding-bottom: 0.6rem; color: var(--ink-2); }
.sheet-table th, .sheet-table td { padding: 0.6rem 0.75rem 0.6rem 0; text-align: left; vertical-align: top; border-top: 1px solid var(--hair); }
.sheet-table thead th { border-top: 0; color: var(--ink-2); font-weight: 400; }
.sheet-table tbody th { font-weight: 400; }
.sheet-table .num { text-align: right; padding-right: 0; white-space: nowrap; }
.sheet-table .total th, .sheet-table .total td { border-top: var(--line) solid var(--ink); font-weight: 700; }
.sheet-table .pt { width: 2.2rem; }
.table-scroll { overflow-x: auto; }
.calc-sheet td:nth-child(2) { color: var(--ink-2); }
/* On a phone each calc line is label and value, with its basis underneath. */
@media (max-width: 40rem) {
  .calc-sheet tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-top: 1px solid var(--hair); }
  .calc-sheet tr:first-child { border-top: 0; }
  .calc-sheet th, .calc-sheet td { border-top: 0; }
  .calc-sheet td:nth-child(2) { grid-area: 2 / 1 / 3 / -1; padding-top: 0; }
  .calc-sheet td:nth-child(2):empty { display: none; }
  .calc-sheet .total { border-top: var(--line) solid var(--ink); }
}

/* Scrubber */
.scrub { margin-block: 0.75rem 1rem; }
.scrub label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; color: var(--ink-2); }
.scrub output { color: var(--ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 1.75rem; margin: 0.4rem 0 0; background: transparent; cursor: ew-resize; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.125rem; height: 1.125rem; margin-top: -0.5rem; border: 2px solid var(--ink); border-radius: 50%; background: var(--film); transition: background-color var(--duration-fast) var(--ease-out); }
input[type="range"]::-moz-range-thumb { box-sizing: border-box; width: 1.125rem; height: 1.125rem; border: 2px solid var(--ink); border-radius: 50%; background: var(--film); transition: background-color var(--duration-fast) var(--ease-out); }
input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:active::-webkit-slider-thumb { background: var(--ink); }
input[type="range"]:hover::-moz-range-thumb { background: var(--ink); }
/* Stop ticks under the case scrubber: one per stage, labelled where a day matters. */
.ticks { display: flex; justify-content: space-between; margin: 0 0.5625rem; color: var(--ink-2); }
.ticks span { position: relative; width: 0; display: flex; justify-content: center; padding-top: 0.6rem; white-space: nowrap; }
.ticks span::before { content: ""; position: absolute; top: 0; width: 1px; height: 0.4rem; background: var(--ink); }
.scrub-event { min-height: 4.7em; margin-bottom: 0.9rem; font-size: var(--text-small); color: var(--ink-2); max-width: 44rem; }
.scrub-event strong { display: block; color: var(--ink); font-weight: 600; }

/* Drawing notes: where every label of basis lives. */
.notes { margin-top: 1.25rem; color: var(--ink-2); max-width: 46rem; }
.notes ol { padding-left: 1.6rem; }
.notes li + li { margin-top: 0.25rem; }
.notes p, .notes li { font-weight: 400; }

/* Partner strip */
.partners { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 2.25rem; padding: 0; list-style: none; font-size: 1.25rem; font-weight: 600; color: var(--ink-2); }
.strip { border-block: 1px solid var(--hair); padding-block: 1.25rem; display: grid; gap: 0.75rem; }
.strip p { color: var(--ink-2); }

/* Streams into one box */
.streams { display: grid; }
.streams ul { list-style: none; padding: 0; }
.streams li { padding: 0.7rem 0; border-bottom: var(--line) solid var(--ink); }
.streams .twin { border: var(--line) solid var(--ink); padding: 1.5rem; display: grid; align-content: center; gap: 0.75rem; background: var(--sheet); }
@media (min-width: 46rem) {
  .streams { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .streams .twin { border-left: var(--line) solid var(--ink); }
}
@media (max-width: 45.99rem) { .streams .twin { border-top: 0; } }

/* Numbered stations on one line: used only where order is real. */
.stations { list-style: none; padding: 0; display: grid; gap: 2rem; counter-reset: station; }
.stations > li { counter-increment: station; position: relative; padding-top: 2.4rem; border-top: var(--line) solid var(--ink); }
.stations > li::before {
  content: counter(station);
  position: absolute; top: -1rem; left: 0;
  width: 2rem; height: 2rem; display: grid; place-items: center;
  border: var(--line) solid var(--ink); border-radius: 50%; background: var(--film);
  font: 600 0.9375rem/1 var(--font-data);
}
.stations h3, .stations h2 { margin-block: 0.35rem 0.6rem; }
.stations h2 { font-size: var(--text-h3); line-height: 1.3; letter-spacing: -0.005em; }
.stations p { color: var(--ink-2); font-size: 1.125rem; }
.stations .formula { color: var(--ink); margin-bottom: 0.6rem; }
@media (min-width: 46rem) { .stations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 0; } .stations > li { padding-right: 2rem; } }
@media (min-width: 72rem) { .stations.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stations.five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Plain definition rows */
.rows { list-style: none; padding: 0; border-top: var(--line) solid var(--ink); }
.rows > li, .rows > div { display: grid; gap: 0.35rem 2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--hair); }
.rows p, .rows dd { color: var(--ink-2); }
.rows dt, .rows h3 { font-weight: 600; }
@media (min-width: 46rem) { .rows > li, .rows > div { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }

.rows.single > li { grid-template-columns: minmax(0, 1fr); }
.phase .rows { margin-top: 0; }

/* Impact layers */
.layers th, .layers td { padding-block: 1.25rem; }
.layers h3 { margin-bottom: 0.3rem; }
.layers .worth { font-size: clamp(1.25rem, 1.1rem + 0.9vw, 1.75rem); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.layers td:last-child { min-width: 16rem; max-width: 30rem; }
.layers th { min-width: 14rem; }
@media (max-width: 45.99rem) {
  .layers thead { display: none; }
  .layers tr { display: grid; gap: 0.4rem; padding: 1.1rem 0; border-top: 1px solid var(--hair); }
  .layers tr:first-child { border-top: 0; }
  .layers th, .layers td { border-top: 0; padding: 0; min-width: 0; }
  .layers td:last-child { min-width: 0; max-width: none; }
  .layers .worth { white-space: normal; }
}

/* As-found against expected, in words */
.pairs th { text-transform: none; letter-spacing: 0.01em; }
.pairs td { padding-top: 1rem; padding-bottom: 1rem; }
.pairs td:first-child { width: 40%; font-weight: 500; padding-right: 2rem; }
.pairs td:last-child { color: var(--ink-2); padding-right: 0; }
.pairs strong { display: block; color: var(--ink); font-weight: 600; }
.pairs thead th.found { color: var(--found); }
.pairs thead th.expected { color: var(--design); }
/* On a phone each row carries its own two column labels. */
@media (max-width: 40rem) {
  .pairs thead { display: none; }
  .pairs tr { display: grid; gap: 0.9rem; border-top: 1px solid var(--hair); padding: 1.1rem 0; }
  .pairs tr:first-child { border-top: 0; }
  .pairs td { border-top: 0; padding: 0; }
  .pairs td:first-child { width: auto; padding-right: 0; }
  .pairs td::before { content: attr(data-label); display: block; margin-bottom: 0.2rem; font-size: var(--text-data); font-weight: 500; letter-spacing: 0.01em; }
  .pairs td:first-child::before { color: var(--found); }
  .pairs td:last-child::before { color: var(--design); }
}

/* Testimony */
.quote blockquote, .quote blockquote p { font-size: var(--text-h3); line-height: 1.35; font-weight: 500; max-width: 34ch; text-wrap: balance; }
.quote figcaption { margin-top: 0.9rem; color: var(--ink-2); }
.quotes { display: grid; gap: 2.5rem; }
@media (min-width: 46rem) { .quotes { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); } }

/* Video frames (the footage is portrait 4:5) */
.reel { display: grid; gap: 1rem; align-content: start; }
.reel video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink); border: 1px solid var(--ink); }
.reels { display: grid; gap: 2.5rem; }
@media (min-width: 40rem) { .reels { grid-template-columns: repeat(2, minmax(0, 22rem)); } }
.phase .reel { max-width: 22rem; }

/* Calculator */
.calc { display: grid; gap: 2rem; }
.fields { display: grid; gap: 1.1rem; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; color: var(--ink-2); }
.field .unit { display: inline-flex; align-items: baseline; gap: 0.5rem; }
.field input[type="number"] {
  width: 6.5rem; padding: 0.35rem 0.5rem; text-align: right;
  font: 500 1.125rem/1.3 var(--font-data); font-variant-numeric: tabular-nums; color: var(--ink);
  background: var(--sheet); border: 1px solid var(--ink); border-radius: 0;
}
.reset { justify-self: start; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-2); text-decoration: underline; text-underline-offset: 0.22em; }
.reset:hover { color: var(--design); }
.figure-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; margin-bottom: 1rem; }
.figure-line output { font-size: clamp(2.5rem, 2rem + 2.4vw, 3.75rem); font-weight: 600; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.figure-line span { color: var(--ink-2); }
.warn { color: var(--found); min-height: 3em; margin-block: 0.75rem 1.25rem; }
@media (min-width: 60rem) { .calc { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; } }

/* Case chart */
.chart { width: 100%; }
.chart text { font-family: var(--font-data); font-size: 14px; font-weight: 500; fill: var(--ink-2); }
.chart .axis { stroke: var(--ink); stroke-width: 1; fill: none; }
.chart .grid { stroke: var(--hair); stroke-width: 1; }
.chart .s { fill: none; stroke-width: 2.5; stroke-linejoin: round; transition: opacity var(--duration-fast) var(--ease-out); }
.chart .s.found { stroke: var(--found); }
.chart .s.expected { stroke: var(--design); }
.chart text.found { fill: var(--found); }
.chart text.expected { fill: var(--design); }
.chart .mark { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .cursor { stroke: var(--ink); stroke-width: 2; transition: transform var(--duration-fast) var(--ease-out); }
.chart .window { fill: var(--design); opacity: 0.14; }
.chart[data-scenario="found"] .expected.s { opacity: 0.3; }
.chart[data-scenario="found"] .window { opacity: 0.06; }
/* On a phone the plot keeps its full 80 days; in-plot labels move to the notes below it. */
@media (max-width: 40rem) { .chart text { font-size: 28px; } .chart .anno { display: none; } }
.chart[data-scenario="expected"] .found.s { opacity: 0.3; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.scenario { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--ink); width: fit-content; margin-bottom: 1.5rem; }
.scenario label { flex: 1 1 auto; padding: 0.6rem 1rem; cursor: pointer; }
.scenario label + label { border-left: 1px solid var(--ink); }
.scenario input { position: absolute; opacity: 0; pointer-events: none; }
.scenario label:has(:checked) { background: var(--ink); color: var(--film); }
.scenario label:has(:focus-visible) { outline: var(--line) solid var(--ink); outline-offset: 3px; }

.events { list-style: none; padding: 0; }
.events > li { padding: 1.25rem 0; border-top: 1px solid var(--hair); display: grid; gap: 0.5rem 2rem; }
.events h3 { margin-bottom: 0.4rem; }
.events p { color: var(--ink-2); max-width: 44rem; }
.events .readings { color: var(--ink); margin-top: 0.6rem; }
@media (min-width: 46rem) { .events > li { grid-template-columns: 8rem minmax(0, 1fr); } }
.stepper { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.stepper .controls { display: flex; align-items: center; gap: 1rem; }
.stepper .controls button { display: grid; place-items: center; padding: 0; width: 2.75rem; height: 2.75rem; background: var(--sheet); border: 1px solid var(--ink); cursor: pointer; font: 400 1.1rem/1 var(--font-data); color: var(--ink); transition: background-color var(--duration-fast) var(--ease-out); }
.stepper .controls button:hover:not([disabled]) { background: var(--film-deep); }
.stepper .controls button[disabled] { opacity: 0.35; cursor: default; }
.stepping > li { display: none; border-top: 0; min-height: 13rem; align-content: start; }
.stepping > li.current { display: grid; }

details > summary { cursor: pointer; width: fit-content; padding-block: 0.5rem; text-decoration: underline; text-underline-offset: 0.22em; }
details > summary:hover { color: var(--design); }
details[open] > summary { margin-bottom: 1rem; }

/* Two-row comparison: recorded against modeled. */
.compare { width: 100%; border-collapse: collapse; border-block: var(--line) solid var(--ink); }
.compare th, .compare td { padding: 0.9rem 1rem 0.9rem 0; text-align: left; vertical-align: baseline; }
.compare tr + tr th, .compare tr + tr td { border-top: 1px solid var(--hair); }
.compare th { font-weight: 500; }
.compare td:last-child { text-align: right; padding-right: 0; white-space: nowrap; font-size: clamp(1.25rem, 1.1rem + 0.9vw, 1.75rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.compare .data { display: block; }

/* People */
.people { list-style: none; padding: 0; display: grid; gap: 2.5rem 2rem; }
.people li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.people img { width: 5.5rem; height: 5.5rem; object-fit: cover; filter: grayscale(1); }
.people p { color: var(--ink-2); font-size: 1.125rem; margin-top: 0.4rem; }
.people .data { color: var(--ink-2); display: block; margin-top: 0.2rem; }
@media (min-width: 52rem) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* News */
.post { display: grid; gap: 1.5rem 3rem; }
.post + .post { margin-top: var(--space-section); padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); border-top: var(--line) solid var(--ink); }
.post header .data { color: var(--ink-2); display: block; margin-top: 0.9rem; }
.post header p { margin-top: 0.9rem; color: var(--ink-2); max-width: 34rem; }
.post img { width: 100%; max-width: 30rem; border: 1px solid var(--ink); margin-bottom: 1.5rem; }
.post .body h3 { margin-top: 2rem; }
.post .body p, .post .body ul { margin-top: 0.75rem; max-width: 38rem; }
.post .body ul { padding-left: 1.2rem; }
@media (min-width: 60rem) { .post { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* Pilot schedule */
.schedule { display: grid; border-block: var(--line) solid var(--ink); }
.schedule > div { padding: 1rem 1rem 1rem 0; border-top: 1px solid var(--hair); }
.schedule > div:first-child { border-top: 0; }
.schedule strong { display: block; font-weight: 600; margin-top: 0.3rem; }
.schedule span:last-child { color: var(--ink-2); font-size: var(--text-small); }
@media (min-width: 52rem) {
  .schedule { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .schedule > div { border-top: 0; padding-left: 1rem; }
  .schedule > div + div { border-left: 1px solid var(--hair); }
  .schedule > div:first-child { padding-left: 0; }
  .schedule > div.contract { border-left: var(--line) solid var(--ink); }
}

.schedule-title { font-size: var(--text-h3); margin-block: clamp(3rem, 2rem + 4vw, 5rem) 1.25rem; }

/* Form */
.form-col { max-width: 46rem; }
.form { display: grid; gap: 1.15rem; }
.form .pair { display: grid; gap: 1.15rem; }
@media (min-width: 40rem) { .form .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form label { display: grid; gap: 0.35rem; color: var(--ink-2); }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.65rem 0.75rem;
  font: 400 1.125rem/1.4 var(--font-text); color: var(--ink);
  background: var(--sheet); border: 1px solid var(--ink); border-radius: 0;
  transition: background-color var(--duration-fast) var(--ease-out);
}
.form input:hover, .form select:hover, .form textarea:hover { background: var(--film); }
.form input:user-invalid, .form select:user-invalid { border-color: var(--found); border-width: 2px; }
.form textarea { min-height: 8rem; resize: vertical; }
.form .trap { position: absolute; left: -9999px; }
.form-status { min-height: 1.6em; }
.form-status.error { color: var(--found); }

/* Blueprint field: the one full-bleed block of color on each page. */
main > section.blueprint { background: var(--design); color: var(--on-design); padding: clamp(3.5rem, 2.5rem + 5vw, 6.5rem) 0; margin-top: calc(var(--space-section) / 2); }
.blueprint ::selection { background: var(--on-design); color: var(--design); }
.blueprint :focus-visible { outline-color: var(--on-design); }
.blueprint h2 { max-width: 22ch; }
.blueprint p { margin-top: 1rem; color: var(--on-design-2); max-width: 36rem; }
.blueprint .actions { margin-top: 2rem; }
.blueprint .action { background: var(--on-design); color: var(--design); }
.blueprint .action:hover { background: var(--sheet); color: var(--design-deep); }
.blueprint a:not(.action):hover { color: var(--sheet); }

/* Title block: the footer indexes the pages as sheets. */
.titleblock { padding-block: 3rem 2.5rem; }
.titleblock .wrap { display: grid; gap: 2.5rem; }
.titleblock .logo img { width: 11.5rem; }
.titleblock .about { display: grid; gap: 0.75rem; align-content: start; color: var(--ink-2); font-size: var(--text-small); }
.titleblock .about a { color: var(--ink); width: fit-content; }
.sheets { width: 100%; border-collapse: collapse; border: var(--line) solid var(--ink); }
.sheets th, .sheets td { border: 1px solid var(--ink); padding: 0.5rem 0.8rem; text-align: left; font-weight: 400; }
.sheets th { color: var(--ink-2); width: 6.5rem; }
.sheets ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; }
.sheets a { text-decoration: none; }
.sheets a:hover { text-decoration: underline; }
.sheets a[aria-current="page"] { font-weight: 700; text-decoration: underline; }
.titleblock small { color: var(--ink-2); display: block; }
@media (min-width: 60rem) {
  .titleblock .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .titleblock small { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
