@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/barlow-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/barlow-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/barlow-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/barlow-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/barlow-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/barlow-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/barlow-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/barlow-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/barlow-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/barlow-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-800-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #d9dee0;
  --fg-light-base-body: #262c30;
  --fg-light-base-heading: #14191c;
  --fg-light-base-muted: #434b50;
  --fg-light-base-link: #006478;
  --fg-light-base-inverse: #14191c;
  --bg-light-card: #eaedee;
  --fg-light-card-body: #262c30;
  --fg-light-card-heading: #14191c;
  --fg-light-card-muted: #434b50;
  --fg-light-card-link: #006478;
  --fg-light-card-inverse: #14191c;
  --bg-light-elevated: #f7f8f8;
  --fg-light-elevated-body: #262c30;
  --fg-light-elevated-heading: #14191c;
  --fg-light-elevated-muted: #434b50;
  --fg-light-elevated-link: #006478;
  --fg-light-elevated-inverse: #14191c;
  --brand-light-accent: #006478;
  --brand-light-accent-hover: #003f4d;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #006478;
  --border-light-default: #5c676d;
  --border-light-subtle: #b9c2c6;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Precision device scorecard: aluminium-gray instrument panels framed in graphite, cyan-teal only where a value is read. */

:root {
  --graphite: #14191c;
  --graphite-2: #262c30;
  --teal: #006478;
  --teal-fill: #00809a;
  --volt: #12c4d6;
  --track: #c4cbcf;
  --line: var(--border-light-default);
  --line-soft: var(--border-light-subtle);
  --sans: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --measure: 40rem;
  --wide: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 3px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p, ul, ol, dl, dd, figure { margin: 0; }

a.text-role-link { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a.text-role-link:hover { text-decoration-thickness: 2px; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 30; background: #ffffff; padding: 0.5rem 0.75rem; }

/* ---------- chrome ---------- */

/* Header: one pinned spec panel. Desktop puts the brand in a cell beside one row of guide cells; below 64rem the row hides and the Guides toggle takes its cell. */
.rig-header { position: sticky; top: 0; z-index: 20; padding: clamp(0.6rem, 2vw, 1.1rem) var(--gutter) 0; }

.rig-frame {
  max-width: calc(var(--wide) - 2 * var(--gutter));
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  border: 2px solid var(--graphite);
  border-radius: 3px;
}

.rig-brand {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.005em;
}
.rig-brand .site-logo { width: 2.25rem; height: 2.25rem; display: block; flex: none; }
.rig-brand-name { max-width: 15rem; }
.rig-brand:hover .rig-brand-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; }

.rig-matrix { display: none; }

.rig-nav { display: flex; border-left: 2px solid var(--graphite); }

details.site-menu > summary {
  list-style: none;
  cursor: pointer;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0 1rem;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}
details.site-menu > summary::-webkit-details-marker { display: none; }
details.site-menu[open] > summary { background: var(--graphite); color: #ffffff; }

.menu-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-block;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 0.45rem 0.45rem no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 0.45rem 0.45rem no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 0.45rem 0.45rem no-repeat,
    linear-gradient(var(--volt), var(--volt)) 100% 100% / 0.45rem 0.45rem no-repeat;
}

details.site-menu > ul {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(100% - 2px);
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--bg-light-elevated);
  border: 2px solid var(--graphite);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 1rem 1.5rem -1rem rgba(20, 25, 28, 0.4);
}
details.site-menu > ul li { display: flex; border-bottom: 1px solid var(--graphite); }
details.site-menu > ul li:nth-child(odd) { border-right: 1px solid var(--graphite); }
details.site-menu > ul li:nth-last-child(-n + 2):nth-child(odd),
details.site-menu > ul li:last-child { border-bottom: 0; }
details.site-menu > ul a {
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 4.5rem;
  padding: 0.75rem 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
details.site-menu > ul a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
@media (max-width: 22rem) {
  details.site-menu > ul { grid-template-columns: 1fr; }
  details.site-menu > ul li:nth-child(odd) { border-right: 0; }
  details.site-menu > ul li:nth-last-child(-n + 2):nth-child(odd) { border-bottom: 1px solid var(--graphite); }
  details.site-menu > ul a { min-height: 3rem; }
}

@media (min-width: 64rem) {
  .rig-nav { display: none; }
  .rig-brand { flex: 0 0 auto; width: clamp(13rem, 24%, 20rem); padding: 0.85rem 1.1rem; font-size: 1.125rem; border-right: 2px solid var(--graphite); }
  .rig-brand .site-logo { width: 2.75rem; height: 2.75rem; }
  .rig-matrix { display: block; flex: 1 1 auto; }
  .rig-matrix .site-nav { height: 100%; }
  .rig-matrix .site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
  }
  .rig-matrix .site-nav li { display: flex; flex: 1 1 auto; }
  .rig-matrix .site-nav li + li { border-left: 1px solid var(--graphite); }
  .rig-matrix .site-nav a {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0 0.8rem;
    color: var(--graphite);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    white-space: nowrap;
  }
  .rig-matrix .site-nav a::before {
    content: "";
    flex: none;
    width: 0.55rem;
    height: 0.55rem;
    border: 2px solid var(--graphite);
    border-radius: 1px;
  }
  .rig-matrix .site-nav a:hover { background: var(--bg-light-elevated); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
  .rig-matrix .site-nav a:hover::before { background: var(--volt); border-color: var(--teal); }
}

.rig-page { flex: 1 0 auto; }

.breadcrumbs {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.9rem var(--gutter) 0;
  font-family: var(--mono);
  font-size: 0.8125rem;
}
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin: 0 0.5rem; color: var(--line); }

.rig-footer { border-top: 2px solid var(--graphite); margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.rig-footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem var(--gutter) 2.5rem;
  display: grid;
  gap: 1rem;
}
.rig-footer-line { font-size: 1.125rem; font-weight: 600; max-width: 36rem; }
.rig-footer-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.rig-footer-links a { display: inline-block; padding: 0.35rem 0; }
.rig-footer-note, .rig-footer-name { font-size: 0.9375rem; }
.rig-footer-name { font-family: var(--mono); font-size: 0.8125rem; }

/* ---------- shared prose ---------- */

.prose { line-height: 1.65; }
.prose > * + * { margin-top: 1rem; }
.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
  margin-top: 2.4rem;
  padding-top: 0.9rem;
  border-top: 2px solid var(--graphite);
  scroll-margin-top: 1rem;
}
.prose > h2:first-child, .prose > figure:first-child + h2 { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.75rem; scroll-margin-top: 1rem; }
.prose p, .prose li { max-width: var(--measure); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4rem; }
.prose blockquote {
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--teal);
  background: var(--bg-light-card);
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  max-width: 46rem;
}
.prose blockquote p { max-width: none; }
.prose code { font-family: var(--mono); font-size: 0.875em; }

.photo-hero { margin: 0 0 1.5rem; }
.photo-hero img, .prose img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 26rem;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}

section[data-section][style] { border-radius: var(--radius); padding: clamp(1rem, 4vw, 2.5rem); margin: 1.5rem 0; }
section[data-section][style] > .bg-surface-card { padding: clamp(1rem, 3vw, 1.75rem); border-radius: var(--radius); border-top: 3px solid var(--graphite); }

/* Data tables in bodies: aligned spec rows, mono units, teal on the leading row. */
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  display: block;
  overflow-x: auto;
}
.prose thead th {
  text-align: left;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 2px solid var(--graphite);
  white-space: nowrap;
}
.prose tbody td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.prose tbody td:nth-child(3) {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.prose thead th:nth-child(3) { text-align: right; }
.prose tbody td:nth-child(4) { font-family: var(--mono); font-size: 0.8125rem; }
.prose tbody tr:first-child td { box-shadow: inset 0 -2px 0 var(--teal); }
.prose tbody tr:first-child td:nth-child(3) { background: #d3eef2; font-weight: 700; }

/* ---------- page heads and grids ---------- */

.sheet-head-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.25rem) var(--gutter) clamp(1rem, 3vw, 1.5rem);
}
.sheet-title h1, .sheet-title {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  max-width: 24ch;
}

.chips { list-style: none; padding: 0; margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-family: var(--mono);
  font-size: 0.8125rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.sheet-grid {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 60rem) {
  .sheet-grid { grid-template-columns: minmax(0, 1fr) 20rem; }
}

.board, .review-body, .grid-sheet {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line-soft);
  border-top: 4px solid var(--graphite);
  border-radius: var(--radius);
}
.grid-sheet { max-width: calc(var(--wide) - 2 * var(--gutter)); margin: 0 var(--gutter); }
@media (min-width: 76rem) { .grid-sheet { margin: 0 auto; } }

.figures {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--graphite);
  border-radius: var(--radius);
}
@media (min-width: 60rem) {
  .figures { position: sticky; top: 1.5rem; }
}
.side-head { font-size: 1.05rem; margin-bottom: 0.9rem; }

/* Spec sheet rows: mono key, sans value, graphite hairline between rows. */
.spec { display: grid; gap: 0; }
.spec-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line-soft);
}
.spec-row dt { font-family: var(--mono); font-size: 0.75rem; padding-top: 0.15rem; }
.spec-row dd { font-size: 0.9375rem; font-weight: 500; }
.spec-tall .spec-row { grid-template-columns: 1fr; gap: 0.15rem; }

/* Leaderboard: the ranked list inside a topn body reads as a scored grid. */
.board ol {
  list-style: none;
  padding: 0;
  counter-reset: rank;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  border-top: 2px solid var(--graphite);
  max-width: none;
}
.board ol > li {
  counter-increment: rank;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.25rem;
  border-bottom: 1px solid var(--graphite-2);
  font-weight: 500;
}
.board ol > li + li { margin-top: 0; }
.board ol > li::before {
  content: counter(rank, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.8125rem;
  text-align: center;
  padding: 0.2rem 0;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.board ol > li:first-child::before { border: 2px solid var(--teal); font-weight: 700; }
.board h3 { padding-left: 0.75rem; border-left: 3px solid var(--teal-fill); }

/* ---------- home ---------- */

.dash-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) var(--gutter) clamp(1.75rem, 4vw, 2.75rem);
}
.dash-head {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 22ch;
  text-wrap: balance;
}
.dash-lines {
  list-style: none;
  padding: 0;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  gap: 0.75rem 1.5rem;
}
.dash-lines li { padding-top: 0.6rem; border-top: 2px solid var(--graphite); max-width: 30rem; }
@media (min-width: 48rem) { .dash-lines { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Instrument panel: a full-width band of three gauges on one rail. */
.panel { border-top: 2px solid var(--graphite); border-bottom: 2px solid var(--graphite); }
.panel-rail {
  height: 1.75rem;
  background: var(--graphite);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter)));
}
.led { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #4a5359; }
.led:first-child { background: var(--volt); box-shadow: 0 0 6px var(--volt); }
.panel-inner { max-width: var(--wide); margin: 0 auto; padding: clamp(1.25rem, 3vw, 2rem) var(--gutter) clamp(1.5rem, 4vw, 2.5rem); }
.panel-top { display: grid; gap: 0.5rem 2rem; align-items: end; }
@media (min-width: 56rem) { .panel-top { grid-template-columns: auto minmax(0, 32rem); justify-content: space-between; } }
.panel-head { font-size: 1.35rem; }
.panel-note { font-size: 0.9375rem; }

.gauges {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: grid;
  border-top: 1px solid var(--line-soft);
}
.gauge-cell {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 48rem) {
  .gauges { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-soft); }
  .gauge-cell { grid-template-columns: 8.5rem minmax(0, 1fr); padding: 1.25rem 1.25rem; border-bottom: 0; }
  .gauge-cell + .gauge-cell { border-left: 1px solid var(--line-soft); }
  .gauge-cell:first-child { padding-left: 0; }
}
.gauge { position: relative; width: 100%; aspect-ratio: 1; }
.gauge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 225deg,
    var(--teal-fill) 0 calc(var(--v) * 13.5deg),
    var(--track) 0 270deg,
    transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 0.6rem), #000 calc(100% - 0.6rem + 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 0.6rem), #000 calc(100% - 0.6rem + 1px));
}
.gauge-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.gauge-of { font-size: 0.55em; margin-left: 0.1em; }
.gauge-name { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }

/* Guide index: one spec table, not a card row. */
.index-inner { max-width: var(--wide); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--gutter); }
.index-head { font-size: 1.35rem; margin-bottom: 1rem; }
.index-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; border-top: 2px solid var(--graphite); }
.index-table thead th {
  text-align: left;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.55rem 0.75rem 0.55rem 0;
  border-bottom: 1px solid var(--graphite);
}
.index-table td { padding: 0.8rem 0.75rem 0.8rem 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.index-table td:first-child a { font-weight: 600; font-size: 1.0625rem; }
.index-table td:not(:first-child) { font-family: var(--mono); font-size: 0.8125rem; padding-top: 0.95rem; }
.i-num { font-variant-numeric: tabular-nums; }
@media (max-width: 44rem) {
  .index-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .index-table tr { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line-soft); }
  .index-table td { display: block; padding: 0; border: 0; }
  .index-table td:first-child { flex-basis: 100%; }
  .index-table td:not(:first-child) { padding-top: 0; }
}

.home-body { border-top: 2px solid var(--graphite); }
.home-body .prose { max-width: var(--wide); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--gutter); }

/* ---------- list, about and contact: single column under a full-width band ---------- */

.strip {
  margin-top: 1.25rem;
  display: grid;
  border-top: 2px solid var(--graphite);
  border-bottom: 1px solid var(--line);
}
.strip-cell { display: grid; gap: 0.2rem; padding: 0.6rem 0; }
.strip-cell + .strip-cell { border-top: 1px solid var(--line-soft); }
.strip dt { font-family: var(--mono); font-size: 0.75rem; }
.strip dd { font-weight: 600; font-size: 1rem; }
@media (min-width: 44rem) {
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip-cell { padding: 0.65rem 1rem; }
  .strip-cell:first-child { padding-left: 0; }
  .strip-cell + .strip-cell { border-top: 0; border-left: 1px solid var(--line); }
}

/* Single columns start on the page's left edge line, under the title. */
.column, .contact-stack {
  max-width: 52rem;
  margin: clamp(1.5rem, 4vw, 2.5rem) var(--gutter) 0;
  margin-left: max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter)));
}

.link-band, .meter-band { border-top: 2px solid var(--graphite); border-bottom: 1px solid var(--line); }
.link-band-inner, .meter-inner { max-width: var(--wide); margin: 0 auto; padding: 1.25rem var(--gutter) 1.4rem; }
.band-head { font-size: 1.05rem; margin-bottom: 0.85rem; }
.band-items ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.5rem;
}
.band-items li { display: flex; }
.band-items a {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-light-elevated);
  border: 1px solid var(--line);
  border-left: 4px solid var(--graphite);
  border-radius: 2px;
  font-weight: 500;
  line-height: 1.3;
}

.meters { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--graphite); }
.meter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem 1rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.meter-name { font-weight: 500; }
.meter-track {
  grid-column: 1 / -1;
  grid-row: 2;
  height: 0.6rem;
  background: var(--track);
  border-radius: 1px;
  overflow: hidden;
}
.meter-fill { display: block; height: 100%; width: var(--w); background: var(--teal-fill); }
.meter-off { background: repeating-linear-gradient(135deg, var(--track) 0 6px, transparent 6px 10px); border: 1px solid var(--track); }
.meter-num { font-family: var(--mono); font-size: 0.875rem; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
@media (min-width: 56rem) {
  .meter-row { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr) 7rem; }
  .meter-track { grid-column: auto; grid-row: auto; }
}
.meter-note { margin-top: 0.85rem; font-size: 0.9375rem; }

.contact-stack {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.contact-body .photo-hero img { max-height: 18rem; }
.contact-note { font-size: 0.9375rem; }

.panel-form {
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-top: 4px solid var(--graphite);
  border-radius: var(--radius);
  display: grid;
  gap: 1.1rem;
}
.form-cols { display: grid; gap: 1rem; }
@media (min-width: 44rem) {
  .form-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
}
.field { display: grid; gap: 0.35rem; }
.field label { font-family: var(--mono); font-size: 0.8125rem; }
.field input, .field textarea {
  font: inherit;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  color: var(--fg-heading);
  background: var(--bg-light-elevated);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.field textarea { resize: vertical; }
.btn {
  justify-self: start;
  font: inherit;
  font-weight: 600;
  min-height: 2.75rem;
  padding: 0.6rem 1.2rem;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.btn:hover { background: var(--brand-light-accent-hover); }

/* ---------- status pages ---------- */

.rig-status { max-width: 46rem; width: 100%; margin: 0 auto; padding: clamp(1.5rem, 5vw, 3rem) var(--gutter) 0; display: grid; gap: 1.5rem; }
.status-panel {
  border: 1px solid var(--graphite);
  border-top: 2rem solid var(--graphite);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem 1.3rem;
}
.status-top { display: flex; align-items: center; gap: 0.85rem; }
.indicator {
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--teal-fill);
  box-shadow: 0 0 0 4px #c6ebf0;
}
.indicator-off { background: var(--line); box-shadow: 0 0 0 4px var(--track); }
.status-title h1, .status-title { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 600; }
.status-line { margin-top: 0.75rem; font-family: var(--mono); font-size: 0.875rem; }
.back-link { margin-top: 1.5rem; font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .led:first-child { animation: pulse 2.4s ease-in-out 1; }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
}

.board > h2:first-child, .review-body > h2:first-child, .about-body > h2:first-child, .grid-sheet > h2:first-child,
section[data-section][style] > .bg-surface-card > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
