@font-face {
  font-family: "EB Garamond";
  src: url("/assets/fonts/eb-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("/assets/fonts/ibm-plex-sans-condensed-regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("/assets/fonts/ibm-plex-sans-condensed-semibold-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/ue-mono-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

:root {
  /* PLANES. The sheet is white. There is one recessed plane and one inverted plane. */
  --ground: #ffffff;
  --recessed: #f6f4f3;
  --inverted: #0b0d0c;
  --inverted-recessed: #171917;

  /* INK. Four tones of one ink, not unrelated greys. Ratios against --ground. */
  --ink: #0b0d0c;        /* 19.50:1 */
  --ink-80: #3c3d3d;     /* 10.86:1 */
  --ink-70: #4a4e49;     /*  8.48:1 */
  --ink-muted: #6f736d;  /*  4.83:1  text floor, nothing lighter carries text */
  --ink-inverted: #f4f2f0;      /* 17.46:1 on --inverted */
  --ink-inverted-soft: #a9a49f; /*  7.89:1 on --inverted */

  /* RULES. Two weights of line, four declarations total. See --rule usage notes. */
  --rule-ink: #0b0d0c;
  --rule-hair: #d6d1cd;  /* 1.52:1  warm, sits in the same family as the oxide */
  --rule-inverted: rgba(255, 255, 255, 0.18);

  /* ACCENT. One pigment, three jobs: caveat marker, inline link, one live variable. */
  --accent-base: #d8232a;      /* 5.01:1 on white */
  --accent-hover: #a8171d;     /* 7.49:1 on white */
  --accent-inverted: #e8555a;  /* 5.46:1 on --inverted, base oxide fails there */

  /* EPISTEMIC STATE. The not-claimed language is a palette citizen, not small print. */
  --state-unverified: #6f736d;
  --state-synthetic: #4a4e49;
  --state-withheld: #d6d1cd;

  /* Role aliases retained so component rules read by intent. */
  --bg-canvas: var(--ground);
  --bg-surface: var(--ground);
  --bg-sunken: var(--recessed);
  --bg-sunken-2: var(--recessed);
  --fg-primary: var(--ink);
  --fg-secondary: var(--ink-70);
  --line-default: var(--rule-hair);
  --line-strong: var(--rule-ink);
  --paper: var(--ink-inverted);
  --paper-deep: var(--recessed);
  --paper-light: var(--ground);
  --ink-soft: var(--ink-70);
  --rule: var(--rule-hair);
  --rule-dark: var(--ink-70);
  --oxide: var(--accent-base);
  --oxide-dark: var(--accent-hover);
  --slate: var(--accent-hover);
  --moss: #5a6b43;
  --black: var(--ink);
  --white: var(--ground);

  --display: "IBM Plex Sans Condensed", Arial Narrow, sans-serif;
  --body: "EB Garamond", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /*
   * A sheet margin that never collapses is what makes the page read as a drawing.
   * Stated in viewport units, not percentages: a percentage inside a custom
   * property re-resolves against whichever element substitutes it, which made
   * the bleed below overshoot by ~230px inside the hero grid.
   */
  --shell: clamp(320px, 100vw - 128px, 1280px);
  /* Distance from the shell edge out to the viewport edge, for full-bleed plates. */
  --bleed-end: calc(-0.5 * (100vw - var(--shell)));
  --measure-text: 68ch;
  --measure-caption: 45ch;
  --gutter: clamp(16px, 1.4vw, 24px);

  /*
   * 4px rhythm. The existing steps were already 4-aligned and are tuned to the
   * page, so they are kept; only the missing intermediate and outer steps are new.
   */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 20px;
  --space-5: 32px;
  --space-6: 52px;
  --space-7: 64px;
  --space-8: 108px;
  --space-9: 128px;

  --duration-snap: 160ms;
  --duration-default: 240ms;
  --duration-relaxed: 320ms;

  /*
   * MOTION. Four curves, fixed jobs. Productive curves are for controls the
   * visitor operates; editorial curves are for content arriving. Exits are
   * always faster than entrances.
   */
  --ease-productive: cubic-bezier(0.2, 0, 0.38, 0.9);
  --ease-entrance: cubic-bezier(0, 0, 0.3, 1);
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.2, 0, 1, 0.9);
  --duration-reveal: 680ms;
  --duration-line: 760ms;
  --stagger: 55ms;
}

/*
 * The inverted plane. Only the token values move, so every component inside
 * re-themes without its own dark-mode rules.
 */
.sheet--inverted {
  --ground: var(--inverted);
  --recessed: var(--inverted-recessed);
  --ink: var(--ink-inverted);
  --ink-70: var(--ink-inverted-soft);
  --ink-muted: var(--ink-inverted-soft);
  --rule-hair: var(--rule-inverted);
  --rule-ink: rgba(255, 255, 255, 0.55);
  --accent-base: var(--accent-inverted);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 28px;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "kern" 1, "liga" 1, "case" 1;
}

/*
 * The fixed registration watermark is deliberately gone. At 13% opacity on cream
 * it read as paper texture; on white it resolves to about #dedede and reads as a
 * rendering artefact. The drawing-sheet character is carried by the drawn corner
 * brackets and the ink plate rules instead, at full strength.
 */

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 4px;
}

::selection {
  background: var(--oxide);
  color: var(--white);
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

main > section {
  scroll-margin-top: 84px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--black);
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--oxide-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 16px;
  text-transform: uppercase;
}

/*
 * Was #d9d5ca, which measured 1.47:1 on the white contact plane and left an
 * apparently blank line above the primary conversion heading. On the inverted
 * plane the token set already supplies the light value, so this only needs to
 * step the eyebrow back from the oxide without dropping below the text floor.
 */
.eyebrow-light {
  color: var(--ink-70);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 2.2fr 1fr 4fr;
  align-items: center;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--ground) 94%, transparent);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
}

.header-context {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 32px);
}

.site-navigation a {
  position: relative;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
}

.site-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--ink);
  content: "";
  transition: transform var(--duration-snap) ease;
}

.site-navigation a:hover::after,
.site-navigation a[aria-current="location"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-navigation .nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--ink);
}

.site-navigation .nav-cta::after {
  display: none;
}

.site-navigation .nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.menu-button {
  display: none;
  align-items: center;
  justify-self: end;
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
  text-transform: uppercase;
}

.reading-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--oxide);
}

.hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding-block: 56px 32px;
}

.hero-copy {
  z-index: 2;
  grid-column: 1 / span 5;
  grid-row: 1;
  align-self: center;
  padding-block: 40px;
}

.hero h1,
.section-heading h2,
.section-plate-heading h2,
.practice-lead h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(54px, 5.2vw, 88px);
  line-height: 0.91;
}

.hero-standfirst {
  max-width: 36ch;
  margin: 32px 0 0;
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.42;
}

.hero-boundary {
  max-width: 50ch;
  margin: 24px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--oxide);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
  transition: background var(--duration-snap) ease, color var(--duration-snap) ease;
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--oxide);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  text-underline-offset: 5px;
}

/*
 * The section renders carry a warm paper tone in the pixels. Inline on white
 * they show a hard dirty rectangle at every edge, so they bleed to the sheet
 * edge instead: full bleed removes the adjacent white that makes the mismatch
 * legible. The plate still registers on the sheet via its ink edge rules.
 */
.hero-visual {
  position: relative;
  grid-column: 4 / -1;
  grid-row: 1;
  align-self: stretch;
  min-height: 650px;
  margin: 0 var(--bleed-end) 0 0;
  border-top: 1px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-ink);
  border-left: 1px solid var(--rule-ink);
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-top: 1px solid var(--rule-dark);
  border-left: 1px solid var(--rule-dark);
  content: "";
  pointer-events: none;
}

.hero-visual::before {
  top: 12px;
  left: 12px;
}

.hero-visual::after {
  right: 12px;
  bottom: 44px;
  transform: rotate(180deg);
}

.hero-visual figcaption,
.stage-frame {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-top: 1px solid var(--rule-hair);
  background: color-mix(in srgb, var(--recessed) 92%, transparent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

/*
 * Was rgba(248, 247, 242, 0.58): near-white text composited over a near-white
 * plate, measured at 1.04:1 and effectively invisible. It reads as a rendering
 * fault in the gap between the two legible labels either side of it.
 */
.stage-orientation {
  color: var(--ink-70);
  letter-spacing: 0;
}

.core-index {
  position: absolute;
  top: 80px;
  right: 18px;
  display: grid;
  gap: 7px;
  width: 140px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.core-index li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 7px;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(20, 25, 24, 0.25);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.core-index span {
  color: var(--oxide-dark);
}

.hero-register {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.hero-register div {
  min-height: 82px;
  padding: 14px;
  border-right: 1px solid var(--rule);
}

.hero-register div:last-child {
  border-right: 0;
}

.hero-register dt,
.record-panels dt {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-register dd,
.record-panels dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.delivery-section,
.record-section,
.service-section,
.practice-section {
  padding-block: var(--space-7);
}

.delivery-grid > li > span {
  color: var(--oxide-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  list-style: none;
}

.delivery-grid li {
  min-height: 310px;
  padding: 24px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.delivery-grid h3 {
  margin: 64px 0 24px;
  font-family: var(--display);
  font-size: 38px;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.delivery-grid p {
  max-width: 32ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.programme-grid {
  grid-template-columns: repeat(4, 1fr);
}

.programme-grid li {
  min-height: 270px;
}

.section-heading {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: start;
  margin-bottom: var(--space-7);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.section-heading h2 {
  grid-column: 1 / span 7;
  max-width: 15ch;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.96;
}

.section-heading > p:last-child {
  grid-column: 9 / -1;
  align-self: end;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.record-boundaries {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.record-boundaries span {
  padding: 12px 10px;
  border-right: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.record-boundaries span:last-child {
  border-right: 0;
}

.record-status {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-light);
}

.record-status span {
  min-width: 0;
  min-height: 64px;
  padding: 10px;
  border-right: 1px solid var(--rule);
}

.record-status span:last-child {
  border-right: 0;
}

/*
 * app.js makes this strip focusable at the widths where it overflows, because a
 * scroll container with nothing focusable inside it is unreachable from the
 * keyboard. The global focus ring sits 4px outside its element, which on a
 * full-width strip is pushed past the sheet edge and clipped by the body, so
 * the ring is drawn inside the border box instead.
 */
.record-status:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: -3px;
}

.record-status b,
.record-status em {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.record-status b {
  margin-bottom: 8px;
  color: var(--oxide-dark);
}

.record-status em {
  color: var(--ink-soft);
}

.record-demo {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(344px, 3fr);
  min-height: 760px;
  border-bottom: 1px solid var(--ink);
}

.record-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--recessed);
}

.record-stage.is-twin-ready .stage-frame {
  color: var(--ink-70);
}

.twin-map,
.twin-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.twin-map {
  z-index: 1;
}

.twin-fallback {
  object-fit: cover;
  object-position: 70% center;
  opacity: 1;
  transition: opacity var(--duration-default) ease;
}

.record-stage.is-twin-ready .twin-fallback {
  opacity: 0;
  pointer-events: none;
}

.stage-frame {
  position: absolute;
  z-index: 8;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  pointer-events: none;
  text-transform: uppercase;
}

.twin-status {
  position: absolute;
  z-index: 8;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 8px 10px;
  border: 1px solid rgba(20, 25, 24, 0.34);
  background: color-mix(in srgb, var(--recessed) 92%, transparent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.status-light {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--oxide);
}

.record-stage.is-twin-ready .status-light {
  background: var(--moss);
}

.twin-view-controls {
  position: absolute;
  z-index: 8;
  top: 44px;
  left: 16px;
  display: flex;
  border: 1px solid rgba(20, 25, 24, 0.42);
  background: color-mix(in srgb, var(--recessed) 92%, transparent);
}

.twin-view-controls button {
  min-height: 34px;
  padding: 8px 10px;
  border: 0;
  border-right: 1px solid rgba(20, 25, 24, 0.3);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.twin-view-controls button:last-child {
  border-right: 0;
}

.twin-view-controls button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper-light);
}

.record-stage[data-evidence-state="compare"] .twin-object,
.record-stage[data-evidence-state="compare"] .twin-status {
  display: none;
}

/*
 * Interaction affordance. The object inspector asks the visitor to select a
 * building, but nothing previously indicated the scene was draggable at all.
 * It fades once the visitor has actually interacted.
 */
/*
 * MapLibre gives its canvas tabindex=0 and writes an inline `outline: none` on
 * it, and .record-stage clips overflow, so the global :focus-visible ring is
 * both overridden and clipped. This was the one control on the site where
 * focus silently disappeared. The negative offset keeps the ring inside the
 * clip box; --slate is 7.49:1 on white and clears 3:1 on the recessed map.
 */
.twin-map .maplibregl-canvas:focus-visible {
  outline: 2px solid var(--slate) !important;
  outline-offset: -3px;
}

.twin-affordance {
  position: absolute;
  z-index: 8;
  top: 16px;
  right: 16px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--rule-hair);
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  color: var(--ink-70);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: opacity var(--duration-default) var(--ease-exit);
}

.record-stage.is-engaged .twin-affordance {
  opacity: 0;
  pointer-events: none;
}

.twin-object {
  position: absolute;
  z-index: 8;
  bottom: 16px;
  left: 16px;
  display: grid;
  width: min(310px, calc(100% - 32px));
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(20, 25, 24, 0.42);
  background: color-mix(in srgb, var(--recessed) 94%, transparent);
}

.twin-object p,
.twin-object strong,
.twin-object span {
  margin: 0;
}

.twin-object p {
  color: var(--oxide-dark);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.twin-object strong {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
}

.twin-object span {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  text-transform: uppercase;
}

.record-interface {
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-left: 1px solid var(--ink);
  background: var(--paper-light);
}

.record-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--ink);
}

.record-tabs button {
  min-height: 74px;
  padding: 10px 6px;
  border: 0;
  border-right: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.record-tabs button:last-child {
  border-right: 0;
}

.record-tabs button span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.record-tabs button[aria-selected="true"] {
  background: var(--ink-inverted);
  color: var(--inverted);
}

/*
 * The step number was a hardcoded #dbd9d0, which is a light tone chosen for a
 * dark tab. The selected tab on the inverted plane is light, so the number has
 * to darken with it rather than stay pale.
 */
.record-tabs button[aria-selected="true"] span {
  color: var(--inverted);
  opacity: 0.62;
}

.record-panels {
  position: relative;
  padding: clamp(24px, 2.2vw, 38px);
}

.record-panels article {
  max-width: 550px;
}

.record-panels h3 {
  max-width: 12ch;
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(36px, 2.8vw, 50px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.record-panels article > p:not(.eyebrow, .panel-warning) {
  max-width: 42ch;
  color: var(--ink-soft);
}

.record-panels dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 34px 0 0;
  border-top: 1px solid var(--rule);
}

.record-panels dl div {
  min-height: 78px;
  padding: 12px 10px 12px 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.record-panels dl div:nth-child(2n) {
  padding-left: 10px;
  border-right: 0;
}

.panel-warning {
  margin: 24px 0 0;
  padding: 14px;
  border-left: 3px solid var(--oxide);
  background: var(--recessed);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: uppercase;
}

.release-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.release-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}

.release-list {
  counter-reset: release;
}

.release-list li {
  counter-increment: release;
}

.release-list li::before {
  margin-right: 12px;
  color: var(--oxide-dark);
  content: "0" counter(release);
  font-family: var(--mono);
  font-size: 11px;
}

.record-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  border-top: 1px solid var(--ink);
}

.record-controls button {
  align-self: stretch;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.record-controls button:first-child {
  border-right: 1px solid var(--rule);
}

.record-controls button:last-child {
  border-left: 1px solid var(--rule);
}

.record-controls button:hover:not([aria-disabled="true"]) {
  background: var(--ink);
  color: var(--ink-inverted);
}

/*
 * These ends-of-range controls are aria-disabled rather than disabled so they
 * stay focusable: a real disabled attribute applied while the button held focus
 * dropped focus to <body> and ejected keyboard users from the widget.
 * --ink-muted is the 4.83:1 text floor, up from #9a9c97 at 2.77:1.
 */
.record-controls button[aria-disabled="true"] {
  color: var(--ink-muted);
  cursor: default;
}

.record-controls span {
  padding-inline: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.record-laws {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 32px;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.record-laws p {
  min-height: 90px;
  margin: 0;
  padding: 18px 14px;
  border-right: 1px solid var(--rule);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
}

.record-laws p:last-child {
  border-right: 0;
}

.decision-question {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: var(--gutter);
  margin: 0 0 var(--space-7);
  padding: 32px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.decision-question span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.decision-question p {
  max-width: 30ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.service-contract {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.service-contract article {
  padding: clamp(32px, 5vw, 72px);
}

.service-contract article + article {
  border-left: 1px solid var(--ink);
}

.service-contract article > span,
.product-notes span,
.practice-system span {
  color: var(--oxide-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-contract h3 {
  max-width: 14ch;
  margin: 28px 0 34px;
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.service-contract ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-contract li {
  padding: 12px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}

.product-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 32px;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.product-notes article {
  min-height: 170px;
  padding: 18px;
  border-right: 1px solid var(--rule);
}

.product-notes article:last-child {
  border-right: 0;
}

.product-notes p {
  margin: 32px 0 0;
  font-size: 14px;
}

.section-plate {
  padding-top: var(--space-8);
  background: var(--paper-light);
}

.section-plate-heading {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  margin-bottom: 64px;
}

.section-plate-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.section-plate-heading h2 {
  grid-column: 1 / span 7;
  max-width: 14ch;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.94;
}

.section-plate-heading > p:last-child {
  grid-column: 9 / -1;
  align-self: end;
  margin: 0;
  color: var(--ink-soft);
}

.section-plate figure {
  margin: 0;
}

.section-plate figure img {
  width: 100%;
  height: clamp(420px, 46vw, 640px);
  object-fit: cover;
  object-position: center 72%;
}

.section-plate figcaption {
  display: flex;
  justify-content: space-between;
  padding-block: 12px 28px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.boundary-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  padding-bottom: var(--space-8);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.boundary-summary article {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--ink);
}

.boundary-summary article:last-child {
  border-right: 0;
}

.boundary-summary span {
  color: var(--oxide-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.boundary-summary h3 {
  max-width: 12ch;
  margin: 56px 0 24px;
  font-family: var(--display);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.boundary-summary p {
  max-width: 34ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.practice-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  border-top: 1px solid var(--ink);
}

.practice-lead {
  grid-column: 1 / span 6;
}

.practice-lead h2 {
  max-width: 11ch;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.96;
}

.practice-lead > p:last-child {
  max-width: 38ch;
  margin: 42px 0 0;
  font-size: 19px;
}

.practice-system {
  grid-column: 8 / -1;
}

.practice-system article {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--rule-dark);
}

.practice-system p {
  margin: 0;
}

.name-note {
  grid-column: 8 / -1;
  margin-top: 58px;
  padding: 24px;
  border: 1px solid var(--rule-dark);
}

.name-note p {
  margin: 0 0 14px;
}

.name-note p:last-child {
  margin-bottom: 0;
}

.contact-section {
  padding-block: var(--space-7);
  border-top: 1px solid var(--ink);
  background: var(--paper-light);
  color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.contact-grid > div:first-child {
  grid-column: 1 / span 7;
}

.contact-grid > div:last-child {
  grid-column: 9 / -1;
  align-self: end;
}

.contact-section h2 {
  max-width: 11ch;
  font-size: clamp(50px, 6.5vw, 88px);
  line-height: 0.92;
}

.contact-grid > div:last-child p {
  margin: 0 0 20px;
}

.contact-grid > div:last-child a {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-grid small {
  display: block;
  max-width: 52ch;
  margin-top: 20px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--gutter);
  padding-block: 44px;
  border-top: 1px solid var(--ink);
}

.footer-brand {
  align-self: start;
}

.site-footer p {
  margin: 0 0 5px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: uppercase;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

/*
 * MOTION SYSTEM.
 *
 * Everything below is progressive enhancement and the default state is the
 * finished state. Content is only ever hidden under the .motion class, which
 * the inline head script adds solely when IntersectionObserver exists and the
 * visitor has not asked for reduced motion. If the stylesheet loads but the
 * script does not, or the observer never fires, the page is fully readable.
 * A page whose copy depends on JavaScript to become visible is a page that
 * sometimes ships a blank sheet, which this site in particular cannot afford.
 */
[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .motion [data-reveal] {
    transition:
      opacity var(--duration-reveal) var(--ease-entrance),
      transform var(--duration-reveal) var(--ease-entrance);
  }

  .motion [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(14px);
  }

  /* Figures are the emphasis tier: they travel slightly further, slightly slower. */
  .motion figure[data-reveal]:not(.is-visible) {
    transform: translateY(22px);
  }

  /*
   * Hero display lines. app.js wraps each rendered line in .line > .line-inner
   * after fonts settle; the clip container is what makes the line rise out of
   * nothing rather than fade in place.
   */
  .motion .line {
    display: block;
    overflow: clip;
  }

  .motion .line-inner {
    display: block;
    transform: translateY(105%);
    transition: transform var(--duration-line) var(--ease-editorial);
    transition-delay: calc(var(--line-index, 0) * var(--stagger));
  }

  .motion .lines-in .line-inner {
    transform: translateY(0);
  }

  /*
   * Mono evidence labels register in sequence, like a plotter laying down a
   * title block. Opacity plus a 4px shift only.
   */
  .motion [data-register] > * {
    opacity: 0;
    transform: translateY(4px);
    transition:
      opacity 180ms var(--ease-productive),
      transform 180ms var(--ease-productive);
    transition-delay: calc(var(--register-index, 0) * 32ms);
  }

  .motion [data-register].is-visible > * {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100vw - 40px, 1440px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 20px;
  }

  .header-context {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-navigation {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 14px 20px 20px;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
  }

  .site-navigation.is-open {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .site-navigation a {
    min-height: 48px;
    padding: 13px 10px;
    border: 1px solid var(--rule);
  }

  .site-navigation a::after {
    display: none;
  }

  .hero {
    align-items: end;
  }

  .hero-copy {
    grid-column: 1 / span 6;
  }

  .hero-visual {
    grid-column: 4 / -1;
  }

  .hero h1 {
    font-size: clamp(56px, 8.2vw, 86px);
  }

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

  .record-demo {
    grid-template-columns: 1fr;
  }

  .record-stage {
    min-height: 640px;
  }

  .record-interface {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .record-panels {
    min-height: 560px;
  }

}

@media (max-width: 760px) {
  :root {
    --shell: calc(100vw - 32px);
    --space-8: 88px;
    --space-7: 58px;
  }

  body {
    font-size: 16px;
  }

  .stage-orientation {
    display: none; /* space only; the readout is legible again at 11px/8.48:1 */
  }

  .site-navigation.is-open {
    grid-template-columns: 1fr;
  }

  .hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    padding-top: 34px;
  }

  .hero-copy {
    padding-block: 0;
  }

  .hero h1 {
    max-width: 10.5ch;
    font-size: clamp(52px, 15vw, 74px);
  }

  .hero-standfirst {
    max-width: 32ch;
    margin-top: 28px;
    font-size: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-visual {
    min-height: 0;
    margin-top: 34px;
  }

  .hero-visual > img {
    aspect-ratio: 4 / 5;
    object-position: 67% center;
  }

  .core-index {
    top: 52px;
    right: 8px;
    width: 116px;
  }

  .hero-visual figcaption {
    gap: 18px;
  }

  .hero-register {
    grid-template-columns: 1fr 1fr;
  }

  .hero-register div:nth-child(2) {
    border-right: 0;
  }

  .hero-register div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }

  .section-heading,
.section-plate-heading,
.contact-grid {
    display: block;
  }

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

  .boundary-summary {
    grid-template-columns: 1fr;
  }

  .boundary-summary article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .boundary-summary article:last-child {
    border-bottom: 0;
  }

  .delivery-grid li {
    min-height: 0;
  }

  .section-heading h2,
.section-plate-heading h2 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .section-heading > p:last-child,
.section-plate-heading > p:last-child {
    max-width: 38ch;
    margin-top: 34px;
  }

  .record-boundaries {
    grid-template-columns: 1fr 1fr;
  }

  .record-boundaries span {
    border-bottom: 1px solid var(--rule);
  }

  .record-boundaries span:nth-child(2n) {
    border-right: 0;
  }

  .record-boundaries span:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .record-status {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
  }

  .record-status span {
    min-width: 156px;
    scroll-snap-align: start;
  }

  .record-stage {
    position: sticky;
    top: 72px;
    z-index: 2;
    height: 46svh;
    min-height: 360px;
    max-height: 470px;
  }

  .twin-fallback {
    object-position: 65% center;
  }

  .record-tabs {
    grid-template-columns: repeat(5, minmax(76px, 1fr));
    overflow-x: auto;
  }

  .record-tabs button {
    min-height: 60px;
    border-bottom: 1px solid var(--rule);
  }

  .record-tabs button:last-child {
    border-right: 0;
  }

  .record-panels {
    min-height: 0;
    padding: 30px 20px 42px;
  }

  .record-panels h3 {
    font-size: 42px;
  }

  .record-panels dl {
    grid-template-columns: 1fr;
  }

  .record-panels dl div,
  .record-panels dl div:nth-child(2n) {
    min-height: 0;
    padding: 12px 0;
    border-right: 0;
  }

  .record-controls {
    grid-template-columns: 1fr 1fr;
  }

  .record-controls span {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 9px;
    border-bottom: 1px solid var(--rule);
  }

  .record-controls button {
    grid-row: 2;
    min-height: 50px;
  }

  .record-controls button:last-child {
    border-left: 1px solid var(--rule);
  }

  .record-laws {
    grid-template-columns: 1fr;
  }

  .record-laws p {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .record-laws p:last-child {
    border-bottom: 0;
  }

  .twin-view-controls {
    top: 40px;
    left: 10px;
    max-width: calc(100% - 20px);
  }

  .twin-view-controls button {
    padding-inline: 8px;
  }

  .twin-object {
    bottom: 10px;
    left: 10px;
    width: min(250px, calc(100% - 20px));
    padding: 9px;
  }

  .twin-object strong {
    font-size: 18px;
  }

  .twin-object span:nth-of-type(2) {
    display: none;
  }

  .twin-status {
    top: 86px;
    right: 10px;
    bottom: auto;
    max-width: 130px;
  }

  .record-stage[data-evidence-state="compare"] {
    height: 68svh;
    min-height: 500px;
    max-height: 620px;
  }

  .decision-question {
    grid-template-columns: 1fr;
  }

  .decision-question p {
    margin-top: 28px;
    font-size: 42px;
  }

  .service-contract,
.product-notes,
.practice-section,
.site-footer {
    grid-template-columns: 1fr;
  }

  .service-contract article {
    padding: 40px 20px;
  }

  .service-contract article + article {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .service-contract h3 {
    font-size: 44px;
  }

  .product-notes article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .product-notes article:last-child {
    border-bottom: 0;
  }

  .product-notes p {
    margin-top: 18px;
  }

  .section-plate figure img {
    min-height: 520px;
    object-fit: cover;
    object-position: center;
  }

  .section-plate figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .practice-section {
    display: grid;
  }

  .practice-lead,
.practice-system,
.name-note {
    grid-column: 1;
  }

  .practice-system {
    margin-top: 48px;
  }

  .practice-system article {
    grid-template-columns: 84px 1fr;
  }

  .contact-grid > div:first-child,
  .contact-grid > div:last-child {
    margin-top: 0;
  }

  .contact-grid > div:last-child {
    margin-top: 52px;
  }

  .contact-section h2 {
    font-size: 68px;
  }

  .site-footer {
    gap: 32px;
  }
}

@media (max-width: 380px) {
  :root {
    --shell: calc(100vw - 24px);
  }

  .site-header {
    padding-inline: 12px;
  }

  .brand {
    font-size: 18px;
  }

  .hero h1,
  .contact-section h2 {
    font-size: 50px;
  }

  .section-heading h2,
.section-plate-heading h2,
.practice-lead h2 {
    font-size: 44px;
  }

  .core-index {
    width: 104px;
  }

  .hero-register {
    grid-template-columns: 1fr;
  }

  .hero-register div {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .hero-register div:last-child {
    border-bottom: 0;
  }

  .record-tabs button {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/*
 * NOTICES. Privacy and accessibility, disclosed rather than hidden on a
 * separate page: this is a single-page site and a notice nobody can find is
 * not a notice. Native details/summary so it works without JavaScript, with
 * the exclusive `name` attribute so opening one closes the other.
 */
.notices-section {
  padding-block: var(--space-7) var(--space-8);
  border-top: 1px solid var(--rule-hair);
}

.notice {
  border-bottom: 1px solid var(--rule-hair);
}

.notice summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  list-style: none;
  text-transform: uppercase;
}

.notice summary::-webkit-details-marker {
  display: none;
}

.notice summary:hover {
  color: var(--oxide-dark);
}

.notice-mark {
  font-size: 14px;
  transition: transform var(--duration-default) var(--ease-productive);
}

.notice[open] .notice-mark {
  transform: rotate(45deg);
}

.notice-body {
  max-width: var(--measure-text);
  padding-bottom: var(--space-5);
}

.notice-body p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 17px;
  line-height: 26px;
}

.notice-body p:last-child {
  margin-bottom: 0;
}

.notice-body a {
  color: var(--oxide-dark);
  text-underline-offset: 3px;
}

.contact-address {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
}

.contact-address a {
  color: var(--oxide-dark);
  text-underline-offset: 3px;
}

/*
 * Keyboard route into the 3D model. deck.gl picking is pointer-only, so every
 * CityObject also gets a button. These are real controls, sized for touch and
 * carrying the same pressed state that a pointer selection sets.
 */
/*
 * .twin-object is a grid and used to lay out the readout lines directly. They
 * now sit inside a wrapper so the pick list can persist across selections, so
 * the wrapper has to carry the same grid or the lines run together inline.
 */
.twin-object-readout {
  display: grid;
  gap: 5px;
}

.twin-object-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 10px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--rule-hair);
  list-style: none;
}

.twin-object-picks-label {
  width: 100%;
  margin-bottom: 2px;
  color: var(--ink-70);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.twin-object-picks button {
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid var(--rule-hair);
  background: var(--ground);
  color: var(--ink-70);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  transition:
    background var(--duration-snap) var(--ease-productive),
    color var(--duration-snap) var(--ease-productive);
}

.twin-object-picks button:hover {
  border-color: var(--rule-ink);
  color: var(--ink);
}

.twin-object-picks button[aria-pressed="true"] {
  border-color: var(--rule-ink);
  background: var(--ink);
  color: var(--ink-inverted);
}


/*
 * THE INVERTED PLANE.
 *
 * One dark moment in the page, carrying the evidence record. Only the token
 * values move; every component inside re-themes without its own rules.
 */
.record-section {
  --ground: var(--inverted);
  --recessed: var(--inverted-recessed);
  --ink: var(--ink-inverted);
  --ink-70: var(--ink-inverted-soft);
  --ink-muted: var(--ink-inverted-soft);
  --rule-hair: var(--rule-inverted);
  --rule-ink: rgba(255, 255, 255, 0.55);
  --oxide: var(--accent-inverted);
  --oxide-dark: var(--accent-inverted);
  --paper-light: var(--inverted-recessed);
  --line-default: var(--rule-inverted);
  --line-strong: rgba(255, 255, 255, 0.55);
  --rule: var(--rule-inverted);
  --black: var(--inverted-recessed);
  --white: var(--ink-inverted);
  --paper: var(--inverted);

  /*
   * The role aliases have to be restated, not just the base tokens they point
   * at. `--fg-secondary: var(--ink-70)` is declared on :root, so it resolves
   * against :root's --ink-70 once and inherits down as a fixed value.
   * Redefining --ink-70 here does not reach it, which left eighteen strings at
   * dark-on-dark when this plane was first inverted.
   */
  --fg-primary: var(--ink-inverted);
  --fg-secondary: var(--ink-inverted-soft);
  --ink-soft: var(--ink-inverted-soft);
  --rule-dark: var(--ink-inverted-soft);
  --bg-canvas: var(--inverted);
  --bg-surface: var(--inverted);
  --bg-sunken: var(--inverted-recessed);
  --bg-sunken-2: var(--inverted-recessed);
  --state-unverified: var(--ink-inverted-soft);
  --state-synthetic: var(--ink-inverted-soft);

  margin-block: var(--space-7);
  padding-block: var(--space-7);
  background: var(--inverted);
  color: var(--ink-inverted);
}

/* The stage sits on the plane rather than punching a light hole in it. */
.record-section .record-stage {
  background: var(--inverted-recessed);
  border: 1px solid var(--rule-inverted);
}
