@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --canvas: #f3f4f1;
  --surface: #fafaf7;
  --ink: #07141d;
  --muted: #405660;
  --line: #c8cfcd;
  --deep: #0a2733;
  --deep-2: #07141d;
  --on-deep: #f3f4f1;
  --accent: #a85712;
  --accent-soft: #f0dfcf;
  --success: #2d6c47;
  --error: #9c2f2a;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 20px;
  --s5: 32px;
  --s6: 52px;
  --s7: 84px;
  --s8: 128px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, .94rem + .25vw, 1.125rem);
  line-height: 1.62;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .16em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip {
  position: absolute;
  left: var(--s4);
  top: -100px;
  background: var(--deep);
  color: var(--on-deep);
  padding: var(--s3) var(--s4);
  z-index: 100;
}
.skip:focus { top: var(--s3); }
.shell { width: min(100% - 64px, 1280px); margin-inline: auto; }
.prose { max-width: 720px; }
.kicker,
.label {
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kicker { color: var(--accent); }
.label { color: var(--muted); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.035em; text-wrap: balance; }
h1 {
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  line-height: .99;
  margin: var(--s3) 0 var(--s4);
  max-width: 13ch;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  margin: 0 0 var(--s4);
  max-width: 20ch;
}
h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.2;
  margin: 0 0 var(--s2);
}
p { margin: 0 0 var(--s4); max-width: 65ch; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }

.lab-header {
  height: 68px;
  border-bottom: 1px solid var(--line);
  background: rgb(243 244 241 / 96%);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-row { height: 100%; display: flex; align-items: center; gap: var(--s5); }
.brand {
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand span { color: var(--accent); }
.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--s5);
  font-family: var(--display);
  font-size: .92rem;
}
.desktop-nav a { text-decoration: none; border-bottom: 2px solid transparent; }
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] { border-color: var(--accent); color: var(--ink); }
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu summary {
  font-family: var(--display);
  font-weight: 700;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-links {
  position: absolute;
  right: 0;
  top: 50px;
  width: min(82vw, 300px);
  padding: var(--s4);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgb(7 20 29 / 15%);
  display: grid;
  gap: var(--s3);
}
.mobile-links a { padding: var(--s2); font-family: var(--display); }

.hero { padding: var(--s6) 0 var(--s5); }
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s6); align-items: center; }
.hero-copy > p { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); max-width: 34ch; }
.hero-actions { display: flex; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s5); }
.action { font-family: var(--display); font-weight: 700; }
.action.primary {
  background: var(--deep);
  color: var(--on-deep);
  padding: var(--s3) var(--s4);
  border-radius: 8px;
  text-decoration: none;
}
.action.primary:hover { background: var(--accent); color: var(--on-deep); }
.hero-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 260px;
  background: var(--deep);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: saturate(.72) contrast(1.08);
}
.hero-caption {
  position: absolute;
  left: var(--s4);
  bottom: var(--s4);
  background: rgb(7 20 29 / 90%);
  color: var(--on-deep);
  padding: var(--s2) var(--s3);
  font-size: .8rem;
  max-width: 34ch;
}
.baseline { border-block: 1px solid var(--line); }
.baseline-head { display: flex; justify-content: space-between; gap: var(--s5); align-items: end; padding-top: var(--s4); }
.baseline-head p { font-size: .9rem; color: var(--muted); margin-bottom: var(--s3); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: var(--s3) 0 var(--s4); }
.metric { padding: var(--s3) var(--s5); border-left: 1px solid var(--line); }
.metric:first-child { padding-left: 0; border-left: 0; }
.metric strong {
  font-family: var(--display);
  display: block;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.metric span { display: block; color: var(--muted); font-size: .86rem; margin-top: var(--s2); }
.experiment { padding: var(--s5) 0 var(--s6); }
.experiment-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s6); border-bottom: 1px solid var(--line); padding-bottom: var(--s6); }
.experiment h2 { margin-top: var(--s3); }
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  border: 1px solid var(--line);
  padding: var(--s2) var(--s3);
  border-radius: 8px;
  font-family: var(--display);
  font-size: .85rem;
  font-weight: 700;
}
.status::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.status[data-state="active"]::before { background: var(--success); }
.status[data-state="stopped"]::before { background: var(--error); }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); }
.facts dt,
.facts dd { margin: 0; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-size: .82rem; font-weight: 700; color: var(--muted); padding-right: var(--s4); }

section.content { padding: var(--s7) 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 4fr 8fr; gap: var(--s6); margin-bottom: var(--s6); }
.section-head p { color: var(--muted); }
.path-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.path { min-height: 200px; padding: var(--s5); border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.path:nth-child(odd) { border-right: 1px solid var(--line); }
.path small { display: block; color: var(--muted); font-size: .84rem; margin-bottom: var(--s5); }
.path h3 { font-size: clamp(1.45rem, 2.5vw, 2.3rem); max-width: 17ch; }
.path span { position: absolute; right: var(--s5); bottom: var(--s5); font-family: var(--display); font-size: 1.4rem; }
.path:hover { background: var(--surface); color: var(--ink); }
.evidence-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s5); }
.finding { border-top: 3px solid var(--ink); padding-top: var(--s4); }
.finding.featured { border-top-color: var(--accent); }
.finding strong { font-family: var(--display); display: block; font-size: clamp(2rem, 4vw, 4.2rem); line-height: 1; margin-bottom: var(--s3); }
.finding p { font-size: .95rem; color: var(--muted); }
.source-note { font-size: .82rem; color: var(--muted); margin-top: var(--s5); }
.method-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s7); }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 8rem 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.step b { font-family: var(--display); }
.policy { background: var(--deep); color: var(--on-deep); padding: var(--s5); align-self: start; }
.policy p { color: #cdd9d7; }
.policy a { color: var(--on-deep); }
.limits { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s7); }
.limit-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.limit-list li { padding: var(--s4) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); }
.limit-list li::before { content: "—"; color: var(--accent); font-weight: 700; }
.resources { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.resource { border-top: 1px solid var(--line); padding-top: var(--s4); }
.resource a { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.resource p { font-size: .9rem; color: var(--muted); margin-top: var(--s3); }
.corrections { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s7); align-items: start; }
.gate { border-left: 4px solid var(--accent); padding-left: var(--s4); }
.gate p:last-child { margin-bottom: 0; }

.page-hero { padding: clamp(4rem, 9vw, 8rem) 0 var(--s7); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s7); align-items: end; }
.page-hero h1 { max-width: 12ch; font-size: clamp(3rem, 7vw, 6.6rem); }
.page-lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.35rem); color: var(--muted); max-width: 46ch; }
.page-note { border-top: 1px solid var(--line); padding-top: var(--s4); color: var(--muted); font-size: .92rem; }
.page-note strong { display: block; color: var(--ink); font-family: var(--display); margin-bottom: var(--s2); }
.meta-row { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); color: var(--muted); font-size: .84rem; margin-top: var(--s5); }
.article-layout { display: grid; grid-template-columns: 3fr 9fr; gap: var(--s7); padding: var(--s7) 0; }
.toc { align-self: start; position: sticky; top: 100px; border-top: 1px solid var(--line); padding-top: var(--s3); }
.toc strong { font-family: var(--display); font-size: .84rem; }
.toc nav { display: grid; gap: var(--s2); margin-top: var(--s3); }
.toc a { color: var(--muted); font-size: .9rem; }
.article-layout > *,
.article-body { min-width: 0; }
.article-body { max-width: 820px; }
.article-body > section { padding-bottom: var(--s7); margin-bottom: var(--s7); border-bottom: 1px solid var(--line); }
.article-body > section:last-child { margin-bottom: 0; }
.article-body h2 { max-width: 24ch; }
.article-body p,
.article-body li { max-width: 68ch; }
.article-body ul { padding-left: 1.25rem; }
.article-body li { margin-bottom: var(--s2); }
.answer-first { border-left: 4px solid var(--accent); padding: var(--s4) var(--s5); background: var(--surface); margin-bottom: var(--s6); }
.answer-first p:last-child { margin-bottom: 0; }
.evidence-scale { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.evidence-class { padding: var(--s4); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.evidence-class:last-child { border-right: 0; }
.evidence-class b { display: block; font-family: var(--display); margin-bottom: var(--s2); }
.evidence-class p { color: var(--muted); font-size: .9rem; margin: 0; }
.table-scroll { overflow-x: auto; width: 100%; max-width: 100%; min-width: 0; margin: var(--s5) 0; }
.table-scroll table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.table-scroll caption { text-align: left; font-family: var(--display); font-weight: 700; padding-bottom: var(--s3); }
.table-scroll th,
.table-scroll td { text-align: left; vertical-align: top; padding: var(--s3); border-bottom: 1px solid var(--line); }
.table-scroll th { font-family: var(--display); font-size: .82rem; }

.registry-intro { padding: var(--s6) 0; border-bottom: 1px solid var(--line); }
.registry-intro-grid { display: grid; grid-template-columns: 4fr 8fr; gap: var(--s7); }
.registry-intro p { color: var(--muted); }
.experiment-list { padding: 0 0 var(--s7); }
.experiment-card { padding: var(--s7) 0; border-bottom: 1px solid var(--line); }
.experiment-top { display: grid; grid-template-columns: 3fr 6fr 3fr; gap: var(--s5); align-items: start; }
.experiment-id { font-family: var(--display); font-weight: 700; color: var(--muted); }
.experiment-card h2 { font-size: clamp(1.8rem, 3.2vw, 3.3rem); max-width: 22ch; }
.hypothesis { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }
.definition-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: var(--s5) 0 0 25%; border-top: 1px solid var(--line); }
.definition-grid > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.definition-grid > div:nth-child(odd) { margin-right: var(--s5); }
.definition-grid dt,
.definition-grid dd { margin: 0; }
.definition-grid dt { font-family: var(--display); font-size: .8rem; font-weight: 700; color: var(--muted); }
.definition-grid dd { font-size: .92rem; overflow-wrap: anywhere; }
.rule-set { margin: var(--s5) 0 0 25%; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.rule { border-top: 3px solid var(--ink); padding-top: var(--s3); }
.rule.fail { border-color: var(--error); }
.rule.reverse { border-color: var(--accent); }
.rule strong { font-family: var(--display); }
.rule p { color: var(--muted); font-size: .88rem; margin: var(--s2) 0 0; }

.lab-footer { padding: var(--s6) 0; color: var(--muted); font-size: .84rem; }
.footer-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s7); border-top: 1px solid var(--line); padding-top: var(--s5); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); }

@media (max-width: 1023px) {
  .shell { width: min(100% - 48px, 1280px); }
  .hero-grid,
  .experiment-grid,
  .method-grid,
  .limits,
  .corrections,
  .footer-grid,
  .page-hero-grid,
  .article-layout,
  .registry-intro-grid { gap: var(--s5); }
  .hero { padding-top: var(--s5); }
  .hero-visual { min-height: 230px; }
  .metric { padding-inline: var(--s4); }
  .article-layout { grid-template-columns: 2.5fr 9.5fr; }
  .definition-grid,
  .rule-set { margin-left: 16.666%; }
  .experiment-top { grid-template-columns: 2fr 7fr 3fr; }
}

@media (max-width: 767px) {
  .lab-header { height: 64px; }
  .shell { width: min(100% - 40px, 1280px); }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .hero-grid,
  .experiment-grid,
  .section-head,
  .method-grid,
  .limits,
  .corrections,
  .footer-grid,
  .page-hero-grid,
  .article-layout,
  .registry-intro-grid,
  .experiment-top { grid-template-columns: 1fr; }
  .hero { padding: var(--s5) 0; }
  .hero-visual { min-height: 220px; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.35rem); max-width: 11ch; }
  .page-hero { padding: var(--s7) 0 var(--s6); }
  .page-hero h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .baseline-head { display: block; }
  .metric-grid { grid-template-columns: 1fr; padding-top: 0; }
  .metric,
  .metric:first-child { padding: var(--s3) 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .experiment { padding-bottom: var(--s5); }
  .section-head { margin-bottom: var(--s5); }
  section.content { padding: var(--s6) 0; }
  .path-grid { grid-template-columns: 1fr; }
  .path:nth-child(odd) { border-right: 0; }
  .path { min-height: 160px; padding-inline: 0; }
  .evidence-grid,
  .resources,
  .evidence-scale,
  .definition-grid,
  .rule-set { grid-template-columns: 1fr; }
  .finding { padding-bottom: var(--s4); }
  .step { grid-template-columns: 6.5rem 1fr; }
  .article-layout { padding-top: var(--s5); }
  .toc { position: static; }
  .toc nav { grid-template-columns: repeat(2, 1fr); }
  .article-body > section { padding-bottom: var(--s6); margin-bottom: var(--s6); }
  .evidence-class { border-right: 0; }
  .experiment-card { padding: var(--s6) 0; }
  .definition-grid,
  .rule-set { margin-left: 0; }
  .definition-grid > div { grid-template-columns: 7.5rem 1fr; }
  .definition-grid > div:nth-child(odd) { margin-right: 0; }
}

@media (max-width: 479px) {
  .shell { width: min(100% - 32px, 1280px); }
  .brand { font-size: .9rem; }
  .hero-actions { display: grid; gap: var(--s3); }
  .action { width: 100%; }
  .action.primary { text-align: center; }
  .hero-visual,
  .hero-visual img { min-height: 190px; }
  .facts,
  .definition-grid > div { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: var(--s1); }
  .step { grid-template-columns: 1fr; gap: var(--s1); }
  .policy { padding: var(--s4); }
  .toc nav { grid-template-columns: 1fr; }
  .answer-first { padding: var(--s4); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* R1 template bridge -------------------------------------------------------
   The retained guides and measurement generators predate the shared shell.
   Their evidence/body styles stay local, while these scoped rules make the
   chrome and editorial rhythm identical without rewriting factual content. */
.lab-header nav {
  position: static;
  inset: auto;
  z-index: auto;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  padding: 0;
}
.lab-header .brand {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -.02em;
}
.lab-header .brand:hover { color: var(--ink); }
.lab-footer {
  border: 0;
  background: transparent;
  color: var(--muted);
}
.lab-footer a { color: inherit; }
.lab-footer p { max-width: 58ch; }
.lab-footer nav {
  position: static;
  inset: auto;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  padding: 0;
}

/* Guide collection: one visual lead, then calm text-first reader paths. */
.lab-guide-hub .head {
  background: var(--deep);
  color: var(--on-deep);
  padding: var(--s7) 0 var(--s6);
}
.lab-guide-hub .head h1 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 6.5vw, 5.6rem);
  line-height: .98;
}
.lab-guide-hub .head .crumb {
  position: static;
  margin: 0 0 var(--s4);
  border: 0;
  background: transparent;
  color: #cdd9d7;
  backdrop-filter: none;
}
.lab-guide-hub .head .crumb a { color: inherit; }
.lab-guide-hub .head p { color: #cdd9d7; }
.lab-guide-hub main { padding-block: 0 var(--s7); }
.lab-guide-hub main > .wrap { padding-top: var(--s6); }
.lab-guide-hub .featured {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: none;
}
.lab-guide-hub .featured:hover { box-shadow: none; transform: none; }
.lab-guide-hub .featured h2 { max-width: 19ch; }
.lab-guide-hub .group { margin-bottom: var(--s7); }
.lab-guide-hub .group > h2 {
  max-width: 24ch;
  border-bottom-color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.08;
  padding-bottom: var(--s4);
}
.lab-guide-hub .group > .meta { margin-bottom: var(--s3); }
.lab-guide-hub .row,
.lab-guide-hub .row.noimg {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: var(--s4) 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.lab-guide-hub .row:hover { background: transparent; box-shadow: none; transform: none; }
.lab-guide-hub .row h3 { font-size: clamp(1.12rem, 1.5vw, 1.38rem); }
.lab-guide-hub .row p { color: var(--muted); }
.lab-guide-hub .meta { color: var(--muted); }

/* Long-form guides keep their locked article bytes and receive shared chrome. */
.lab-article main { min-width: 0; }
.lab-article article { padding: var(--s6) 0 var(--s7); }
.lab-article article h1 {
  max-width: 18ch;
  font-size: clamp(2.35rem, 5.6vw, 4.8rem);
  line-height: 1.01;
  margin-bottom: var(--s3);
}
.lab-article article h2 {
  max-width: 26ch;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.1;
}
.lab-article article h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); }
.lab-article article .crumb {
  position: static;
  z-index: auto;
  margin-bottom: var(--s4);
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.lab-article article .meta,
.lab-article article .crumb,
.lab-article article .crumb a,
.lab-article article .fine { color: var(--muted); }
.lab-article article .databox .src { color: var(--ink); }
.lab-article article .related-reading { margin-top: var(--s6); }

/* Measurement pages retain their independent data-table rules and gain the
   common navigation plus an up-front scope/method/limits/correction strip. */
.lab-measurement article h1 {
  max-width: 18ch;
  font-size: clamp(2.35rem, 5.4vw, 4.7rem);
  line-height: 1.01;
  overflow-wrap: anywhere;
}
.lab-measurement article h2 {
  max-width: 27ch;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.1;
}
.lab-measurement article .meta,
.lab-measurement article .crumb,
.lab-measurement article .crumb a,
.lab-measurement article .fine,
.lab-measurement .row .meta,
.lab-measurement .cite .fine,
.lab-measurement .tablewrap td.rank { color: var(--muted); }
.lab-measurement article .crumb {
  position: static;
  z-index: auto;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.measurement-context {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  margin-bottom: var(--s6);
}
.measurement-context > div { padding: var(--s4); border-left: 1px solid var(--line); }
.measurement-context > div:first-child { border-left: 0; padding-left: 0; }
.measurement-context h2,
.measurement-context strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: var(--s2);
}
.measurement-context h2 { max-width: none; line-height: 1.2; }
.measurement-context p { color: var(--muted); font-size: .86rem; margin: 0; }
.measurement-context a { font-weight: 700; }
.measurement-scope {
  border-block: 1px solid var(--line);
  padding: var(--s3) 0;
  margin: 0 0 var(--s5);
  color: var(--muted);
  font-size: .84rem;
}
.measurement-scope a { font-weight: 700; }

/* Minimal legal/contact/error pages retain their content hierarchy. */
.lab-utility main { min-width: 0; }
.lab-utility .hero { padding-block: clamp(4rem, 9vw, 8rem); }
.lab-utility .error-grid h1 {
  max-width: 10ch;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1;
}

@media (max-width: 767px) {
  .lab-guide-hub .head { padding: var(--s6) 0 var(--s5); }
  .lab-guide-hub .featured { grid-template-columns: 1fr; }
  .lab-guide-hub .featured .txt { padding: var(--s4); }
  .lab-article article { padding-top: var(--s5); }
  .measurement-context { grid-template-columns: 1fr 1fr; }
  .measurement-context > div:nth-child(3) { border-left: 0; }
  .measurement-context > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 479px) {
  .measurement-context { grid-template-columns: 1fr; }
  .measurement-context > div,
  .measurement-context > div:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: var(--s4) 0;
  }
  .measurement-context > div:first-child { border-top: 0; }
}
