/* ═══════════════════════════════════════════════════════════════════════
   ISARN — site stylesheet
   Homepage and product page. Alloy sheet, iron interaction states, one
   signal cell. No framework, no build step.
   ═══════════════════════════════════════════════════════════════════════ */

/* Fonts are served from this origin: no third-party request, no layout shift
   from a late stylesheet, and the file the reader gets is the file reviewed.
   Latin only; Irish fadas are in range. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-var.woff2) format("woff2");
}
@font-face {
  font-family: "Fragment Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/fragment-mono-latin.woff2) format("woff2");
}

:root {
  --dur: 140ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #0e0f0e;
  font-family: system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ink, #1e211c); outline-offset: 3px; }

/* Selection is iron with paper type on it. The browser default is a pale blue
   wash with white type, which on an alloy sheet reads as a rendering fault
   rather than as a mark the reader made. */
::selection { background: #1e211c; color: #f2f0e8; }

.skip {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  background: #d5d3c7;
  color: #1e211c;
  font: 500 11px/1 "Fragment Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skip:focus { top: 12px; }

/* ───────────────────────────────────────────────────────────────────────
   SHEET
   ─────────────────────────────────────────────────────────────────────── */

.sheet {
  --desk: #c4c2b6;
  --surface: #d5d3c7;
  --ink: #1e211c;
  --body-text: #3a3e35;
  --muted: #4e5248;
  --line: rgba(30, 33, 28, 0.3);
  --line-soft: rgba(30, 33, 28, 0.15);
  --signal: #d84f28;

  --font: "Archivo", system-ui, sans-serif;
  --mono: "Fragment Mono", ui-monospace, monospace;

  --gutter: clamp(10px, 1.4vw, 20px);
  --spec-pad: clamp(12px, 1.5vw, 19px);
  --spec-size: clamp(17px, 1.6vw, 22px);
  --peek: clamp(56px, 6.8vh, 76px);
  /* The shared cap height of the three pages' titles: the masthead's box. The
     word is fitted to this, not to its own length. */
  --word-h: clamp(36px, 12vw, 150px);

  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--gutter);
  background: var(--desk);
  color: var(--ink);
  font-family: var(--font);
  font-kerning: normal;
  font-synthesis: none;
}

.frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--ink);
  background: var(--surface);
}

/* The opening is measured against the viewport, not the sheet: the sheet's
   bottom gutter only exists at the end of the document. The extra 1px stops a
   rule showing at the fold.

   This height is the same on all three pages, and it is the only thing that
   decides where the title stands: the masthead sits at the field's foot, so a
   field of a different height puts its title somewhere else. Nothing else may
   share the field — the band, the register and the notes all start below it. */
.screen {
  display: flex;
  flex-direction: column;
  flex: none;
  height: max(calc(100svh - var(--gutter) + 1px), 400px);
}

/* ───────────────────────────────────────────────────────────────────────
   RUNNING HEAD
   ─────────────────────────────────────────────────────────────────────── */

.top {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  flex: none;
  height: clamp(46px, 4.2vw, 58px);
  padding: 0 clamp(14px, 2vw, 26px);
  border-bottom: 1px solid var(--ink);
}

.mark {
  font-weight: 800;
  font-stretch: 120%;
  font-size: 14px;
  letter-spacing: 0.2em;
  line-height: 1;
}

.nav { justify-self: end; display: flex; gap: clamp(12px, 1.8vw, 26px); }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 6px 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover::after,
.nav a:active::after,
.nav a:focus-visible::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Shared type -------------------------------------------------------- */
.label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.pending { color: var(--muted); border-bottom: 1px dashed var(--line); }

/* ───────────────────────────────────────────────────────────────────────
   HERO
   ─────────────────────────────────────────────────────────────────────── */

.hero {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  /* The title stands at the foot of the field on every page, with the air above
     it: the reader's eye finds the word in the same place each time. */
  justify-content: flex-end;
  padding: clamp(14px, 2vw, 28px) clamp(14px, 2vw, 26px) 0;
}

/* The masthead is the same module on all three pages, at the same offset under
   the running head: the reader meets the same weight in the same place, and
   only the word changes. */
.masthead {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* The gap under the word is part of the module, so the title's baseline sits
     the same distance above whatever follows it on each page — the band, the
     register — and not only at the same height in the field. */
  padding-bottom: clamp(10px, 1.4vw, 18px);
}

.masthead > .label { margin-bottom: clamp(8px, 1.1vw, 14px); }

/* A definite, shared height: the title's cap height is this box, not a
   function of how many letters the word happens to have. */
.word-box {
  height: var(--word-h);
  display: flex;
  align-items: flex-end;
  min-height: 0;
}

.word {
  margin: 0 0 0 -0.03em;
  width: max-content;
  font-size: calc(var(--word-h) / 0.72);
  font-weight: 800;
  font-stretch: 120%;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  text-box: trim-both cap alphabetic;
}

/* The schematic occupies the field above the title, so the page's only void
   becomes the drawing. */
.hero-schematic {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 16px);
  margin: 0;
  padding: 0;
  border: 0;
  /* A sizing context, so the drawing can be fitted to the field it is given
     rather than to the viewport width. */
  container-type: size;
}

/* The drawing takes the largest size the field allows, in both directions:
   whichever of width or height runs out first sets it. 1.45 is the drawing's
   own proportion — two pages, the arrow and the gap — per unit of height; the
   32px is the caption and the gap above it. */
.hero-schematic .diagram-body {
  flex: 0 1 auto;
  width: clamp(340px, 38vw, 580px);
  width: min(100cqw, calc((100cqh - 32px) * 1.45));
  max-width: none;
  justify-content: flex-start;
}

/* The caption sits under the drawing and runs its measure, rather than
   wrapping to 30 characters beside a field-wide plate. */
.hero--product .hero-schematic figcaption {
  width: clamp(340px, 38vw, 580px);
  width: min(100cqw, calc((100cqh - 32px) * 1.45));
  max-width: none;
}

.hero-schematic .sheet-ic {
  flex: 1 1 0;
  height: auto;
  /* Percentage padding would resolve against the field, not the page. */
  padding: clamp(10px, 1.2vw, 18px) clamp(12px, 1.4vw, 22px);
}

/* Continuous: no band of facts under the title, so the register's first rule
   arrives without a seam. The footer holds the facts. */

/* ───────────────────────────────────────────────────────────────────────
   BAND — statement, description, enquiry
   ─────────────────────────────────────────────────────────────────────── */

.band {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  padding: clamp(13px, 1.7vw, 22px) clamp(14px, 2vw, 26px) clamp(14px, 1.8vw, 22px);
}

.statement {
  grid-column: 1 / 7;
  margin: 0;
  padding-right: clamp(18px, 2.6vw, 36px);
  font-size: clamp(21px, 2.5vw, 37px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.028em;
}

.para {
  grid-column: 7 / 10;
  margin: 0;
  padding: 0 clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--line-soft);
  max-width: 40ch;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--body-text);
}

.band .enq {
  grid-column: 10 / 13;
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--line-soft);
}

.enq {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
}
.enq a {
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line);
}
/* The signal is a fill, never type on alloy (D12): the hover darkens the rule
   under the word and leaves the word in iron. */
.enq a:hover,
.enq a:active,
.enq a:focus-visible {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0;
}

/* ───────────────────────────────────────────────────────────────────────
   INDEX — the homepage's second panel
   Full-bleed: rules and the inverted plate run to the frame, while the
   content keeps the sheet's inset.
   ─────────────────────────────────────────────────────────────────────── */

.index { padding: 0; }

.index-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--peek);
  padding: 0 clamp(14px, 2vw, 26px);
  border-top: 1px solid var(--ink);
}

.index-line {
  margin: 0;
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--body-text);
}

.index-row {
  flex: 0 0 auto;
  align-content: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) clamp(40px, 4vw, 56px);
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  min-height: clamp(96px, 14vh, 148px);
  padding-left: clamp(14px, 2vw, 26px);
  border-top: 1px solid var(--line);
  color: var(--ink);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
/* The head supplies the rule above the first row. Keyed to the head rather
   than to :first-of-type, which would also match the first pending row. */
.index-head + .index-row { border-top: 0; }
.index .index-row:last-child { border-bottom: 0; }

.index-name {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.index-desc {
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.5;
  color: var(--body-text);
  transition: color var(--dur) var(--ease);
}

.index-go {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 18px;
  color: var(--muted);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

/* Only built entries invert. A pending row that lights up under the pointer
   promises a page that does not exist. */
.index-row:not(.index-row--pending):hover,
.index-row:not(.index-row--pending):active,
.index-row:not(.index-row--pending):focus-visible {
  background: #191a16;
  color: #f2f0e8;
}
.index-row:not(.index-row--pending):hover .index-desc,
.index-row:not(.index-row--pending):active .index-desc,
.index-row:not(.index-row--pending):focus-visible .index-desc { color: #c9c7bd; }
.index-row:not(.index-row--pending):hover .index-go,
.index-row:not(.index-row--pending):active .index-go,
.index-row:not(.index-row--pending):focus-visible .index-go {
  background: var(--signal);
  color: var(--ink);
}

/* Inside a hovered plate the default would be iron on iron, so the highlight
   inverts back to paper. */
.index-row:not(.index-row--pending):hover ::selection,
.index-row:not(.index-row--pending):focus-visible ::selection {
  background: #f2f0e8;
  color: #191a16;
}

/* The focus ring sits inside the plate rather than straddling the rules. */
.index-row:focus-visible { outline-offset: -4px; }

/* The arrow cell is part of the plate: full height, flush with the frame. */
.index-row .index-go {
  align-self: stretch;
  height: auto;
  border-left: 1px solid var(--line);
}

/* Entries that are not built yet. */
.index-row--pending { color: var(--muted); cursor: default; }
.index-row--pending .index-name,
.index-row--pending .index-desc { color: var(--muted); }

/* ───────────────────────────────────────────────────────────────────────
   SPECIFICATION
   ─────────────────────────────────────────────────────────────────────── */

.section {
  padding: clamp(18px, 2.6vw, 34px) clamp(14px, 2vw, 26px) clamp(24px, 3.2vw, 44px);
  border-top: 1px solid var(--ink);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(8px, 1.2vw, 14px);
}

.section-no {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.spec-list {
  margin: 0;
  padding: 0 clamp(14px, 2vw, 26px);
}

.section .spec-list { padding: 0; }

.spec-line {
  display: grid;
  grid-template-columns: minmax(88px, 14%) minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(14px, 2vw, 28px);
  padding: var(--spec-pad) 0;
  border-top: 1px solid var(--line);
}

.spec-list .spec-line:first-child { border-top: 1px solid var(--ink); }

.spec-line dt {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-line dd {
  margin: 0;
  font-size: var(--spec-size);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.3;
}

.spec-line dd.pending {
  color: var(--muted);
  border-bottom: 0;
}

/* The address is a link wherever it appears; the rule under it is the hover. */
.spec-line dd a {
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease);
}
.spec-line dd a:hover,
.spec-line dd a:active,
.spec-line dd a:focus-visible { border-bottom: 2px solid var(--ink); padding-bottom: 0; }

.spec-list--continuous { padding-bottom: clamp(10px, 1.6vw, 18px); }

/* ───────────────────────────────────────────────────────────────────────
   NOTES — disclosure rows
   The register format (D15) with a panel under each row. Nothing here opens on
   the scroll: the press is the only thing that moves a panel, so every step is
   one the reader took and stopping is simply not pressing (D21).
   ─────────────────────────────────────────────────────────────────────── */

.notes {
  --note-indent: clamp(44px, 4vw, 64px);
  --note-gap: clamp(10px, 1.6vw, 22px);
  margin: 0 clamp(14px, 2vw, 26px);
  border-top: 1px solid var(--ink);
}

.notes-head { display: flex; padding: clamp(10px, 1.4vw, 16px) 0 clamp(2px, 0.4vw, 5px); }

.note { border-top: 1px solid var(--line); }
.notes-head + .note { border-top: 0; }

/* <details>/<summary>: the disclosure is the browser's, so it opens before any
   script runs and cannot fail to open. The summary is a D15 register row, with
   the browser's marker removed and the page's two-rule mark in its place. */
.note-head {
  display: grid;
  grid-template-columns: var(--note-indent) minmax(0, 1fr) auto;
  align-items: baseline;
  gap: var(--note-gap);
  width: 100%;
  margin: 0;
  padding: var(--spec-pad) 0;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  list-style: none;
}
.note-head::-webkit-details-marker { display: none; }
.note-head::marker { content: ""; }
.note-head:focus-visible { outline-offset: -4px; }

.note-no {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.note-title {
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 500;
  letter-spacing: -0.015em;
}

/* Two rules; the upright one turns flat when the panel is open. */
.note-mark { position: relative; width: 11px; height: 11px; align-self: center; }
.note-mark::before,
.note-mark::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: var(--muted);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.note-mark::after { transform: rotate(90deg); }
.note[open] .note-mark::after { transform: rotate(0deg); }
.note[open] .note-mark::before,
.note[open] .note-mark::after { background: var(--ink); }

/* The panel opens and closes in one step: a press is a state, not a piece of
   theatre, and there is nothing here to ease. */
.note-panel > p {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  max-width: 62ch;
  padding: 0 0 var(--spec-pad) calc(var(--note-indent) + var(--note-gap));
  font-size: clamp(13.5px, 1.15vw, 15px);
  line-height: 1.62;
  color: var(--body-text);
}

/* ───────────────────────────────────────────────────────────────────────
   CLOSING — prose, with the schematic where there is room for it
   ─────────────────────────────────────────────────────────────────────── */

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding-top: clamp(20px, 2.8vw, 36px);
}

.closing .diagram {
  grid-column: auto;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
}

.closing--ruled {
  margin: 0 clamp(14px, 2vw, 26px);
  padding: clamp(20px, 2.8vw, 34px) 0 clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

.closing .diagram-body { max-width: 430px; }

/* On a landscape page the schematic belongs to the opening, so the closing
   is prose alone. */
@media (min-width: 901px) {
  .closing { grid-template-columns: minmax(0, 1fr); }
  .closing .closing-diagram { display: none; }
  .closing .prose p { max-width: 62ch; }
  .closing /* The product's one paragraph: the page's main statement, set at register size. */
.prose p.lede {
  max-width: 44ch;
  font-size: var(--spec-size);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.42;
  color: var(--ink);
}
.closing--lede { border-top-color: var(--ink); }
@media (min-width: 901px) { .closing .prose p.lede { max-width: 44ch; } }

.prose .pending-note { max-width: 52ch; }
}

.prose {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1.4vw, 16px);
}

.prose p {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(13.5px, 1.15vw, 15.5px);
  line-height: 1.62;
  color: var(--body-text);
}

.prose .pending-note {
  padding-top: clamp(8px, 1.2vw, 12px);
  border-top: 1px solid var(--line-soft);
  max-width: 40ch;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.prose .enq {
  align-self: stretch;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
  margin-top: clamp(6px, 1vw, 10px);
  padding: clamp(10px, 1.4vw, 14px) 0 0;
  border-top: 1px solid var(--line);
}

/* ───────────────────────────────────────────────────────────────────────
   SCHEMATIC
   ─────────────────────────────────────────────────────────────────────── */

.diagram {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  margin: 0;
}

.diagram-body {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
}

.arrow { font-size: 18px; color: var(--ink); }

.sheet-ic {
  flex: 1;
  aspect-ratio: 1 / 1.38;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 4px;
  padding: 10% 11%;
  border: 1px solid var(--ink);
  background: transparent;
}
.sheet-ic i {
  height: 1px;
  background: var(--line);
}
.sheet-ic i:nth-child(3n) { width: 62%; }
.sheet-ic i:nth-child(5n+1) { width: 84%; }

/* The output page is cleaner: fewer, longer, darker rules. */
.sheet-ic--out i {
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  height: 2px;
}
.sheet-ic--out i:nth-child(3n) { width: 100%; }
.sheet-ic--out i:nth-child(4n) { width: 46%; }

.diagram figcaption {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--muted);
  max-width: 30ch;
}

/* ───────────────────────────────────────────────────────────────────────
   FOOT — the title block
   ─────────────────────────────────────────────────────────────────────── */

.foot {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  flex: none;
  border-top: 1px solid var(--ink);
}

.foot-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: clamp(10px, 1.3vw, 16px) clamp(12px, 1.6vw, 20px);
  border-right: 1px solid var(--line);
}
.foot-cell:first-child { padding-left: clamp(14px, 2vw, 26px); }
.foot-cell:last-of-type { border-right: 0; }

.foot-name {
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.foot-value { font-size: 13px; font-weight: 500; }

/* A short page still ends on its title block. */
.frame > .foot { margin-top: auto; }

/* ───────────────────────────────────────────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  /* No field above the title on a narrow page: the schematic stays in the
     closing, where there is room for it. */
  .hero-schematic { display: none; }

  .band { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .statement { grid-column: 1 / 7; padding: 0 0 clamp(14px, 2vw, 20px); }
  .para {
    grid-column: 1 / 5;
    max-width: none;
    padding: clamp(12px, 1.8vw, 18px) clamp(16px, 2vw, 24px) 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }
  .band .enq {
    grid-column: 5 / 7;
    border-top: 1px solid var(--line-soft);
    padding-top: clamp(12px, 1.8vw, 18px);
  }

  .closing { grid-template-columns: 1fr; }
}

/* Tablets have the width for the two-part closing; only phones stack it. */
@media (min-width: 641px) and (max-width: 900px) {
  .closing { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 36px); }
  .closing .diagram-body { max-width: none; }
}

@media (max-width: 640px) {
  .sheet { --gutter: 8px; --peek: 84px; padding: var(--gutter); }

  /* On a phone the full-screen poster has no scale to work with: the wordmark
     is only 64px tall and the rest is air. Every page opens as a compact
     identity block instead — the same block, at the same height, on all
     three. */
  .screen { height: auto; }

  .notes { --note-indent: 30px; margin: 0 14px; }
  .note-title { font-size: 15px; }

  .top { grid-template-columns: auto 1fr; padding: 0 14px; height: 50px; }
  .mark { font-size: 12px; letter-spacing: 0.18em; }
  .nav { grid-column: 2; justify-self: end; gap: 12px; }
  .nav a { font-size: 10px; gap: 4px; }

  .hero { padding: 18px 14px 0; }
  .hero--product { padding-top: 18px; }

  .band { grid-template-columns: 1fr; }
  .statement,
  .para,
  .band .enq { grid-column: 1 / -1; }
  .statement { font-size: clamp(24px, 7vw, 32px); }
  .para { padding: 12px 0 0; }
  .band .enq {
    margin-top: 14px;
    padding: 12px 0 0;
    border-left: 0;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }

  .index-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    padding: 14px;
  }
  .index-line { max-width: none; text-align: left; }
  .index .index-row { min-height: 0; padding: 14px 0 14px 14px; }

  .section { padding: 18px 14px 26px; }
  .spec-list { padding: 0 14px; }
  .section .spec-list { padding: 0; }
  .sheet { --spec-pad: 13px; --spec-size: 16px; }
  .note-head { padding: var(--spec-pad) 0; }
  .spec-line {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
  }

  .index-name { line-height: 1.1; }

  .index-row .index-go { margin: -14px 0; }

  .foot-cell { padding: 10px 12px; }
  .foot-cell:first-child { padding-left: 12px; }

  .closing { gap: 22px; padding-top: 20px; }
  .closing .diagram-body { max-width: 300px; }
  .closing--ruled { margin: 0 14px; }
  .prose .enq { flex-direction: row; }
}

/* ───────────────────────────────────────────────────────────────────────
   SCROLL
   Motion that is the scroll itself (D25): every value is a pure function of
   scroll position, linear, with no easing, no thresholds and no snapping. It
   stops where the reader stops and runs backwards when they do. Native scroll
   timelines, so no script, and the page is unchanged where they are not
   supported or where reduced motion is asked for.
   ─────────────────────────────────────────────────────────────────────── */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    /* The title settles as the first screen leaves: narrower and a little
       smaller, from 120% on the width axis toward 108%. */
    .word {
      transform-origin: left bottom;
      animation: word-settle linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 85svh;
    }
    @keyframes word-settle {
      to { font-stretch: 108%; transform: scale(0.94); }
    }

    .hero-schematic .diagram-body {
      transform-origin: center top;
      animation: drawing-settle linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 85svh;
    }
    @keyframes drawing-settle {
      to { transform: scale(0.95); }
    }

    /* Rules are drawn as their row arrives, left to right: the transparent
       border keeps the row's height, the line over it is scrubbed. */
    .spec-line, .spec-list .spec-line:first-child,
    .index-row, .index-head, .section, .notes, .foot, .note {
      view-timeline: --row block;
      border-top-color: transparent;
    }
    .spec-line, .index-row, .index-head, .section, .notes, .foot { position: relative; }
    .note-head { position: relative; }

    .spec-line::before, .index-row::before, .index-head::before,
    .section::before, .notes::before, .foot::before, .note-head::before {
      content: "";
      position: absolute;
      top: -1px;
      left: 0;
      right: 0;
      height: 1px;
      background: var(--line);
      transform-origin: left center;
      animation: rule-draw linear both;
      animation-timeline: --row;
      animation-range: entry 0% cover 25%;
      pointer-events: none;
    }
    .spec-list .spec-line:first-child::before,
    .index-head::before, .section::before, .notes::before, .foot::before {
      background: var(--ink);
    }
    .index-head + .index-row::before { display: none; }
    .notes-head + .note .note-head::before { display: none; }
    @keyframes rule-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}

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

/* Print: the sheet is already a drawing, so it prints as one. Flat ground, no
   interaction chrome, the address spelled out beside its link. */
@media print {
  body, .sheet { background: #fff !important; }
  .skip { display: none; }
  .sheet { min-height: 0; padding: 0; }
  .enq a::after { content: " (mailto:" attr(href) ")"; }
}
