/* GC Website Pros — preview stylesheet, Phase 2 (Nov 15, 2026).
   Built on the Phase 0 design system (GLS-0222): palette, 6-step type
   scale, 8pt spacing, motion tokens, Rule OC. Concept: The Patient
   Chart. Copy and function unchanged from the tranche 1–5 build;
   this file owns presentation only. */

/* ---------- Fonts (self-hosted, OFL — proof in design-system/fonts/) ---------- */
@font-face { font-family: "Bricolage Grotesque"; src: url("assets/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/ibm-plex-mono-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens (DESIGN-SYSTEM.md) ---------- */
:root {
  --paper: #EDF2F1;        /* parchment — the page ground */
  --paper-warm: #DFE9E6;   /* sand — bands, panels, chart tabs */
  --ink: #0E2B33;          /* primary text (11.07:1 on parchment) */
  --ink-soft: #46616B;     /* secondary text */
  --ink-deep: #0A2029;     /* dark sections, footer */
  --teal: #0B6B5E;         /* primary brand */
  --teal-bright: #0B6B5E;  /* links on paper, hovers */
  --rust: #B33A12;         /* ACTION ONLY — buttons, critical */
  --rust-deep: #8F2C0E;    /* button hover, critical text */
  --brass: #E9B44C;        /* identity metal — never text on paper */
  --brass-bright: #E9B44C; /* brass on dark grounds */
  --brass-deep: #7A5410;   /* the text-safe brass (stamps, labels) */
  --line: rgba(14, 43, 51, .28);      /* hairline on paper */
  --line-soft: rgba(14, 43, 51, .16);
  --line-paper: rgba(237, 242, 241, .3);
  --t-caption: .8rem; --t-small: .9rem; --t-body: 1.0625rem;
  --t-lead: 1.3rem; --t-head: 1.9rem; --t-display: clamp(2.6rem, 6vw, 4.2rem);
  /* Spacing: the system's 8pt tokens (DESIGN-SYSTEM.md s.4 / system.css),
     added Nov 23, 2026 — the build previously carried no space tokens. */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 1rem; --space-4: 1.5rem;
  --space-5: 2rem; --space-6: 3rem; --space-7: 4rem; --space-8: 6rem; --space-9: 8rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 400ms;
  --shadow-1: 0 1px 2px rgba(10, 32, 41, .06), 0 4px 16px rgba(10, 32, 41, .07);
  --shadow-2: 0 2px 4px rgba(10, 32, 41, .07), 0 12px 32px rgba(10, 32, 41, .10);
  --wrap: 72rem;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: var(--t-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(233, 180, 76, .45); }
img { max-width: 100%; }
a { color: var(--teal-bright); text-underline-offset: 2px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 999px; box-shadow: 0 0 0 7px rgba(11, 107, 94, .22); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--space-4); }
h1, h2, h3 { font-family: "Bricolage Grotesque", Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0 0 var(--space-3); }
h2 { font-size: var(--t-head); }
h3 { font-size: var(--t-lead); }
p { margin: 0 0 var(--space-3); }
.lede, .lead { font-size: var(--t-lead); line-height: 1.45; }
.small { font-size: var(--t-small); }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 60;
  background: var(--ink-deep); color: var(--paper); padding: var(--space-3) var(--space-3); border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; color: var(--paper); }
.ic { width: 26px; height: 26px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.wa-header { background: var(--paper); border-bottom: 2px solid var(--ink); position: relative; z-index: 40; }
.wa-header .wrap { display: flex; align-items: center; gap: var(--space-3); min-height: 76px; }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.mark-img { width: 46px; height: 46px; border-radius: 10px; display: block; }
.lockup-img { height: 38px; width: auto; display: block; }
@media (max-width: 560px) { .lockup-img { height: 29px; } }
.wordmark { font-family: "Bricolage Grotesque", Georgia, serif; font-size: var(--t-lead); font-weight: 600; line-height: 1.05; display: block; }
.wordmark small {
  display: block; font-family: "Source Sans 3", sans-serif; font-size: var(--t-caption);
  font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
  margin-top: var(--space-1);
}
.wa-nav { display: flex; gap: var(--space-1); align-items: center; }
.wa-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--t-small);
  padding: var(--space-2) var(--space-3); border-radius: 4px; transition: background var(--dur-1) var(--ease);
}
.wa-nav a:hover { background: var(--paper-warm); color: var(--ink); }
.wa-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--teal); border-radius: 4px 4px 0 0; }
.nav-toggle {
  display: none; font: inherit; font-weight: 700; font-size: var(--t-small);
  background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink);
  border-radius: 4px; padding: var(--space-2) var(--space-3); min-height: 44px; cursor: pointer;
}
@media (max-width: 56rem) {
  .nav-toggle { display: block; }
  .wa-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 2px solid var(--ink);
    flex-direction: column; align-items: stretch; padding: var(--space-2) var(--space-3) var(--space-3); gap: var(--space-1);
  }
  .wa-nav.open { display: flex; }
  .wa-nav a { padding: var(--space-3) var(--space-2); font-size: var(--t-body); border-bottom: 1px solid var(--line-soft); }
  .wa-nav a:last-child { border-bottom: 0; }
  .wa-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); border-radius: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font: inherit; font-weight: 700; font-size: var(--t-body); text-decoration: none;
  background: var(--teal); color: var(--paper); border: 1.5px solid var(--teal);
  border-radius: 4px; padding: var(--space-3) var(--space-4); min-height: 50px; cursor: pointer;
  transition: background var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.btn:hover { background: var(--teal-bright); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn-rust { background: var(--rust); border-color: var(--rust); color: var(--paper); }
.btn-rust:hover { background: var(--rust-deep); border-color: var(--rust-deep); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--paper-warm); color: var(--ink); }
.btn-ghost-paper { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost-paper:hover { background: rgba(237, 242, 241, .14); color: var(--paper); }
.btn-small { padding: var(--space-2) var(--space-3); min-height: 44px; font-size: var(--t-small); }
.btn .ic { width: 20px; height: 20px; }
.btn-note { font-size: var(--t-small); color: var(--ink-soft); margin-top: var(--space-3); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin-top: var(--space-4); }

/* ---------- Sections & headings ---------- */
section { padding: var(--space-7) 0; }
.section-sand { background: var(--paper-warm); }
.section-teal { background: var(--ink-deep); color: var(--paper); }
.section-teal h2, .section-teal h3 { color: var(--paper); }
.section-teal a { color: var(--paper); }
.section-light { background: var(--paper); }
.eyebrow {
  font-size: var(--t-caption); font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 var(--space-3);
  display: flex; align-items: center; gap: var(--space-2);
}
.eyebrow::after { content: ""; height: 1px; width: 56px; background: var(--brass); }
.section-teal .eyebrow { color: var(--paper); }
.sec-head { max-width: 46rem; margin-bottom: var(--space-6); }
.sec-head p { color: var(--ink-soft); font-size: var(--t-lead); line-height: 1.45; }
.section-teal .sec-head p { color: rgba(237, 242, 241, .78); }

/* ---------- Hero + patient chart ---------- */
.hero { padding: var(--space-7) 0 var(--space-7); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-6); align-items: center; }
.hero h1 { font-size: var(--t-display); margin-bottom: var(--space-4); }
.hero h1 .alive { font-style: italic; color: var(--teal); }
.hero-sub { font-size: var(--t-lead); line-height: 1.45; color: var(--ink-soft); max-width: 34rem; }
.vet-badge {
  display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4);
  font-size: var(--t-caption); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  border: 1.5px solid var(--ink); border-radius: 3px; padding: var(--space-2) var(--space-3); color: var(--ink);
  transform: rotate(-1.2deg); background: rgba(255, 253, 246, .5);
}
.vet-badge .ic { width: 16px; height: 16px; }
.chart-card {
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px;
  box-shadow: var(--shadow-2); position: relative; padding: var(--space-4) var(--space-4) var(--space-3);
}
.chart-card::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 5px;
  background: var(--brass); border-radius: 0 3px 3px 0;
}
.chart-head { display: flex; align-items: center; gap: var(--space-2); border-bottom: 1px solid var(--line); padding-bottom: var(--space-3); flex-wrap: wrap; }
.chart-head img { width: 30px; height: 30px; border-radius: 7px; }
.chart-head .chart-title { font-size: var(--t-caption); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.chart-head .chart-no { margin-left: auto; font-size: var(--t-caption); color: var(--ink-soft); letter-spacing: .08em; }
.diag { display: block; width: 100%; height: auto; margin: var(--space-2) 0 var(--space-1); }
.diag .trace {
  fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 620; stroke-dashoffset: 0;
  animation: draw 2.6s var(--ease) .3s both;
}
.diag .trace-flat { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 3 5; }
.diag .ring { fill: var(--paper); stroke: var(--teal); stroke-width: 2.5; }
.diag .ring-dot { fill: var(--teal); }
.diag .tick { fill: none; stroke: var(--line); stroke-width: 1.5; }
.diag .ftag { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; fill: var(--ink-soft); }
.diag .cursor-glyph { fill: var(--teal); opacity: 0; animation: pop var(--dur-3) var(--ease) 2.2s both; }
@keyframes draw { from { stroke-dashoffset: 620; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.chart-rows { border-top: 1px solid var(--line-soft); }
.chart-row { display: flex; align-items: baseline; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--line-soft); font-size: var(--t-small); }
.chart-row:last-child { border-bottom: 0; }
.chart-row .k { color: var(--ink-soft); min-width: 7.2rem; font-size: var(--t-caption); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-top: var(--space-1); }
.chart-row .v { font-weight: 600; }
.chart-grade { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-3); flex-wrap: wrap; }
.chart-grade .grade-word { font-family: "Bricolage Grotesque", Georgia, serif; font-size: 1.55rem; font-weight: 700; color: var(--rust-deep); }

/* ---------- Stamps (finding-stamp motif: Flagged Finding brackets, GLS-0241) ---------- */
.stamp {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--t-caption); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: var(--space-1) var(--space-2); border: 1.5px solid currentColor; border-radius: 3px; transform: rotate(-2deg);
  background: rgba(255, 253, 246, .55); white-space: nowrap;
}
.stamp::before, .stamp::after { content: ""; width: 7px; height: 12px; border: 2px solid currentColor; flex: none; }
.stamp::before { border-right: 0; border-radius: 2px 0 0 2px; }
.stamp::after { border-left: 0; border-radius: 0 2px 2px 0; }
.stamp-confirmed { color: var(--teal); }
.stamp-likely { color: var(--brass-deep); }
.stamp-not { color: var(--ink-soft); }
.stamp-crit { color: var(--rust-deep); }
.section-teal .stamp { background: rgba(10, 32, 41, .35); }
.grade { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--t-caption); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: var(--space-1) var(--space-2); border: 1.5px solid currentColor; border-radius: 3px; white-space: nowrap; }
.grade::before, .grade::after { content: ""; width: 6px; height: 11px; border: 2px solid currentColor; flex: none; }
.grade::before { border-right: 0; border-radius: 2px 0 0 2px; }
.grade::after { border-left: 0; border-radius: 0 2px 2px 0; }
.g-confirmed { color: var(--teal); }
.g-likely { color: var(--brass-deep); }
.g-not { color: var(--ink-soft); }
.section-teal .g-confirmed { color: color-mix(in srgb, var(--teal-bright) 40%, white); }
.section-teal .g-likely { color: var(--paper); }
.section-teal .g-not { color: rgba(237, 242, 241, .65); }

/* ---------- Stat band / specimen panel ---------- */
.stat-band { background: var(--paper-warm); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: var(--space-6) 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.stat-grid.four { grid-template-columns: repeat(4, 1fr); }
.stat .num { font-family: "Bricolage Grotesque", Georgia, serif; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.stat .lbl { font-size: var(--t-small); color: var(--ink-soft); margin-top: var(--space-2); max-width: 17rem; }
.stat .bar { height: 6px; background: rgba(14, 43, 51, .14); border-radius: 3px; margin-top: var(--space-3); overflow: hidden; }
.stat .bar i { display: block; height: 100%; background: var(--rust); border-radius: 3px; }

/* ---------- Leaks (editorial entries) ---------- */
.leaks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-6); }
.leak { display: grid; grid-template-columns: auto 1fr; gap: var(--space-1) var(--space-3); padding: var(--space-4) var(--space-1) var(--space-4); border-top: 1px solid var(--line); }
.leak .leak-ic { grid-row: span 2; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--teal); background: var(--paper); }
.leak h3 { margin: var(--space-1) 0 var(--space-1); font-size: var(--t-lead); }
.leak p { color: var(--ink-soft); margin: 0; max-width: 30rem; }

/* ---------- Mechanic model (numbered editorial sequence) ---------- */
.mech { position: relative; margin-top: var(--space-2); }
.mech::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--teal), var(--teal-bright)); opacity: .45; }
.mech-step { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-4); padding: var(--space-4) 0; position: relative; }
.mech-step .n {
  font-family: "Bricolage Grotesque", Georgia, serif; font-size: var(--t-lead); font-weight: 700; color: var(--teal);
  background: var(--ink-deep); color: var(--paper); width: 56px; height: 56px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--brass); position: relative; z-index: 1;
}
.section-teal .mech-step .n { background: var(--teal); }
.mech-step h3 { margin: var(--space-1) 0 var(--space-1); }
.mech-step p { color: rgba(237, 242, 241, .8); margin: 0; max-width: 40rem; }
.on-paper .mech-step p { color: var(--ink-soft); }
.on-paper .mech-step .n { background: var(--paper); color: var(--teal); border-color: var(--teal); }
.on-paper.mech::before { background: var(--teal); }

/* ---------- Pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); align-items: stretch; }
.tiers.four { grid-template-columns: repeat(4, 1fr); }
.tiers.two { grid-template-columns: repeat(2, 1fr); }
.tier {
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px;
  padding: var(--space-5) var(--space-4) var(--space-5); display: flex; flex-direction: column; box-shadow: var(--shadow-1);
  border-top: 6px solid var(--teal);
}
.tier.featured { background: var(--ink-deep); color: var(--paper); border-color: var(--ink-deep); border-top-color: var(--brass); box-shadow: var(--shadow-2); }
.tier h3 { font-size: var(--t-lead); margin-bottom: var(--space-1); }
.tier .price { font-family: "Bricolage Grotesque", Georgia, serif; font-size: 2.6rem; font-weight: 700; line-height: 1.05; margin: var(--space-2) 0 var(--space-1); }
.tier .per { font-size: var(--t-small); color: var(--ink-soft); }
.tier.featured .per { color: rgba(237, 242, 241, .7); }
.tier .blurb { color: var(--ink-soft); margin: var(--space-3) 0 0; }
.tier.featured .blurb { color: rgba(237, 242, 241, .82); }
.tier ul { list-style: none; margin: var(--space-3) 0 var(--space-4); padding: var(--space-3) 0 0; border-top: 1px solid var(--line-soft); }
.tier.featured ul { border-top-color: var(--line-paper); }
.tier li { display: flex; gap: var(--space-2); padding: var(--space-1) 0; font-size: var(--t-small); line-height: 1.45; }
.tier li .ic { width: 18px; height: 18px; color: var(--teal); margin-top: var(--space-1); }
.tier.featured li .ic { color: var(--brass-bright); }
.tier .btn { margin-top: auto; }
.tier .tier-note { font-size: var(--t-small); color: var(--ink-soft); margin-top: var(--space-3); }
.tier.featured .tier-note { color: rgba(237, 242, 241, .7); }
.checkup-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.rules-band { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); align-items: center; margin-top: var(--space-5); font-size: var(--t-small); color: var(--ink-soft); }
.rules-band strong { color: var(--ink); }

/* ---------- Rules band / manifesto ---------- */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-6); counter-reset: rule; }
.rule { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-3); padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.rule .rn { font-family: "Bricolage Grotesque", Georgia, serif; font-size: var(--t-lead); font-weight: 700; color: var(--teal); }
.rule p { margin: 0; color: var(--ink-soft); }
.rule p strong { color: var(--ink); display: block; font-size: var(--t-body); margin-bottom: var(--space-1); }
.section-teal .rule { border-top-color: var(--line-paper); }
.section-teal .rule p { color: rgba(237, 242, 241, .8); }
.section-teal .rule p strong { color: var(--paper); }
.section-teal .rule .rn { color: var(--brass-bright); }

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: var(--space-3);
  font-family: "Bricolage Grotesque", Georgia, serif; font-size: var(--t-lead); font-weight: 600;
  padding: var(--space-3) var(--space-1); min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-family: "Source Sans 3", sans-serif; font-weight: 400; font-size: var(--t-lead); color: var(--teal); transition: transform var(--dur-2) var(--ease); }
.faq details[open ] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 var(--space-1) var(--space-4); color: var(--ink-soft); max-width: 44rem; margin: 0; }

/* ---------- Photo slots (fixed shape — Mike's originals swap in) ---------- */
.slot { position: relative; overflow: hidden; border-radius: 6px; border: 1.5px solid var(--ink); background: var(--paper-warm); }
.slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot-portrait { aspect-ratio: 4 / 5; }
.slot-32 { aspect-ratio: 3 / 2; }
.slot-43 { aspect-ratio: 4 / 3; }
.slot-wide { aspect-ratio: 16 / 9; }
.slot-frame { box-shadow: 10px 10px 0 var(--paper-warm), 10px 10px 0 1.5px var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: var(--space-8) 0; color: var(--paper); overflow: hidden; background: var(--ink-deep); }
.cta-band .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 32, 41, .88) 30%, rgba(10, 32, 41, .45)); }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: var(--paper); max-width: 36rem; }
.cta-band p { color: rgba(237, 242, 241, .85); max-width: 34rem; }
.cta-band .btn-note { color: rgba(237, 242, 241, .7); }

/* ---------- Operator block ---------- */
.operator { display: grid; grid-template-columns: 1.08fr .92fr; gap: var(--space-7); align-items: center; }
.operator .op-facts { list-style: none; margin: var(--space-4) 0 0; padding: var(--space-3) 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.operator .op-facts li { display: flex; gap: var(--space-2); align-items: center; font-size: var(--t-small); font-weight: 600; }
.operator .op-facts .ic { width: 19px; height: 19px; color: var(--teal); }
.section-teal .operator .op-facts { border-top-color: var(--line-paper); }
.section-teal .operator .op-facts .ic { color: var(--brass-bright); }

/* ---------- Services sub-nav ---------- */
.subnav {
  position: sticky; top: 0; z-index: 30; background: var(--paper);
  border-bottom: 1.5px solid var(--ink); margin: calc(var(--space-2) * -1) 0 0;
}
.subnav .wrap { display: flex; gap: var(--space-1); overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--t-small);
  padding: var(--space-3) var(--space-3); white-space: nowrap; border-bottom: 3px solid transparent;
}
.subnav a:hover { color: var(--teal); border-bottom-color: var(--teal); }

/* ---------- Timeline (How It Works) ---------- */
.timeline { position: relative; margin-top: var(--space-3); }
.timeline::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; background: var(--teal); opacity: .4; }
.station { display: grid; grid-template-columns: 32px 1fr; gap: var(--space-4); padding: var(--space-4) 0 var(--space-5); position: relative; }
.station .dot {
  width: 32px; height: 32px; border-radius: 6px; background: var(--paper);
  border: 2px solid var(--teal); display: flex; align-items: center; justify-content: center;
  font-family: "Bricolage Grotesque", Georgia, serif; font-weight: 700; font-size: var(--t-small); color: var(--teal);
  position: relative; z-index: 1;
}
.station h3 { margin: var(--space-1) 0 var(--space-1); }
.station p { color: var(--ink-soft); margin: 0; max-width: 42rem; }
.station .artifact { margin-top: var(--space-3); }
.artifact-chip {
  display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--t-small); font-weight: 600;
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: var(--space-2) var(--space-3); color: var(--ink);
}
.artifact-chip .ic { width: 18px; height: 18px; color: var(--teal); }

/* ---------- Cards (contact / generic) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.card {
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px;
  padding: var(--space-4) var(--space-4) var(--space-5); box-shadow: var(--shadow-1);
}
.card .card-ic { width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--teal); margin-bottom: var(--space-3); background: var(--paper); }
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--ink-soft); margin: 0 0 var(--space-3); }
.card p:last-child { margin-bottom: 0; }
.dark-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.dark-cards .card { background: var(--ink-deep); border-color: var(--line-paper); color: var(--paper); box-shadow: none; }
.dark-cards .card h3 { color: var(--paper); }
.dark-cards .card p { color: rgba(237, 242, 241, .78); }
.dark-cards .card .card-ic { background: transparent; border-color: var(--line-paper); color: var(--brass-bright); }

/* ---------- Map ---------- */
.map-frame { border: 1.5px solid var(--ink); border-radius: 6px; background: var(--paper-warm); overflow: hidden; box-shadow: var(--shadow-1); }
.map-frame svg { display: block; width: 100%; height: auto; }
.map-caption { font-size: var(--t-small); color: var(--ink-soft); margin-top: var(--space-2); }

/* ---------- Tables (grading reference) ---------- */
table.plain { width: 100%; border-collapse: collapse; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px; overflow: hidden; }
table.plain th, table.plain td { text-align: left; padding: var(--space-3) var(--space-3); border-bottom: 1px solid var(--line-soft); vertical-align: top; font-size: var(--t-small); }
table.plain th { font-size: var(--t-caption); letter-spacing: .14em; text-transform: uppercase; background: var(--paper-warm); color: var(--ink); }
table.plain tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; border-radius: 6px; }

/* ---------- Forms ---------- */
.wa-form { margin-top: var(--space-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-4); }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: var(--t-small); font-weight: 700; }
.field .hint { font-size: var(--t-small); color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--t-body); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--ink-soft); border-radius: 4px;
  padding: var(--space-3) var(--space-3); min-height: 50px; width: 100%;
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23, 96, 109, .25);
}
.field .err { display: none; font-size: var(--t-small); color: var(--rust-deep); font-weight: 600; }
.field .err.show { display: block; }
.wa-form fieldset { border: 0; padding: 0; margin: 0 0 var(--space-5); min-width: 0; }
.wa-form legend {
  font-family: "Bricolage Grotesque", Georgia, serif; font-size: var(--t-lead); font-weight: 600;
  padding: 0; margin-bottom: var(--space-3); display: flex; align-items: center; gap: var(--space-3); width: 100%;
}
.wa-form legend .lg-n {
  font-family: "Source Sans 3", sans-serif; font-size: var(--t-caption); font-weight: 700;
  letter-spacing: .1em; background: var(--teal); color: var(--paper); border-radius: 50%;
  width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent-line { font-size: var(--t-small); color: var(--ink-soft); line-height: 1.5; }
.consent-box {
  background: var(--paper-warm); border: 1.5px solid var(--ink); border-radius: 6px;
  padding: var(--space-4) var(--space-4) var(--space-4); margin: 0 0 var(--space-4);
}
.consent-box legend {
  font-family: "Source Sans 3", sans-serif; font-size: var(--t-caption); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; background: var(--paper-warm);
  padding: var(--space-1) var(--space-2); margin-left: calc(var(--space-2) * -1);
}
.check {
  display: flex; gap: var(--space-3); align-items: flex-start; cursor: pointer;
  padding: var(--space-3) var(--space-3); min-height: 52px; border-radius: 4px; margin: 0 calc(var(--space-3) * -1);
  font-size: var(--t-small); line-height: 1.5; color: var(--ink);
  transition: background var(--dur-1) var(--ease);
}
.check:hover { background: rgba(255, 253, 246, .6); }
.check input { width: 24px; height: 24px; flex: none; margin: var(--space-1) 0 0; accent-color: var(--teal); cursor: pointer; }
.check + .check { border-top: 1px solid var(--line-soft); }
.form-msg { display: none; margin-top: var(--space-3); padding: var(--space-3) var(--space-3); border-radius: 4px; font-size: var(--t-small); line-height: 1.5; }
.form-msg.show { display: block; }
.msg-ok { background: var(--paper-warm); border: 1.5px solid var(--teal); color: var(--ink); }
.msg-err { background: rgba(179, 58, 18, .08); border: 1.5px solid var(--rust); color: var(--ink); }
.form-msg strong { display: block; font-size: var(--t-body); margin-bottom: var(--space-1); }
.intake-banner {
  display: none; background: var(--paper-warm); border: 1.5px solid var(--brass-deep);
  border-left: 6px solid var(--brass); border-radius: 4px; padding: var(--space-3) var(--space-3);
  font-size: var(--t-small); margin-bottom: var(--space-4);
}
.intake-banner.show { display: block; }
.pause-panel {
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px;
  padding: var(--space-4); box-shadow: var(--shadow-1);
}
.pause-panel h3 { margin-bottom: var(--space-2); }
.pause-panel p { color: var(--ink-soft); }

/* ---------- Request layout ---------- */
.request-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: var(--space-6); align-items: start; }
.rail { position: sticky; top: 24px; display: flex; flex-direction: column; gap: var(--space-4); }
.rail-card { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px; padding: var(--space-4); box-shadow: var(--shadow-1); }
.rail-card h3 { font-size: var(--t-lead); margin-bottom: var(--space-2); }
.rail-card p { color: var(--ink-soft); font-size: var(--t-small); margin: 0 0 var(--space-2); }
.rail-card p:last-child { margin-bottom: 0; }
.rail .slot-portrait { max-width: 260px; }

/* ---------- Boxes ---------- */
.note-box { background: var(--paper-warm); border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 4px; padding: var(--space-3) var(--space-3); font-size: var(--t-small); line-height: 1.55; margin-bottom: var(--space-4); }
.note-box p { margin: 0 0 var(--space-2); } .note-box p:last-child { margin-bottom: 0; }
.warn-box { background: rgba(179, 58, 18, .08); border: 1px solid var(--rust); border-left: 5px solid var(--rust); border-radius: 4px; padding: var(--space-3) var(--space-3); font-size: var(--t-small); line-height: 1.55; margin-bottom: var(--space-4); }
.warn-box h3 { color: var(--rust-deep); font-size: var(--t-lead); margin-bottom: var(--space-1); }
.warn-box p { margin: 0; }
.type-box { background: var(--paper-warm); border: 1px solid var(--brass-deep); border-radius: 3px; padding: var(--space-1) var(--space-2); font-weight: 700; white-space: nowrap; }

/* ---------- Sample report (the chart, full size) ---------- */
.sample-banner { background: var(--ink-deep); color: var(--paper); padding: var(--space-3) 0; font-size: var(--t-small); }
.sample-banner .wrap { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.report-sheet {
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px;
  box-shadow: var(--shadow-2); padding: var(--space-6) var(--space-6); position: relative;
}
.report-sheet::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 5px; background: var(--brass); border-radius: 0 3px 3px 0; }
.report-sheet .doc-type { font-size: var(--t-caption); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin: 0 0 var(--space-1); }
.report-sheet h2 { margin-bottom: var(--space-1); }
.report-sheet .sub { color: var(--ink-soft); margin-bottom: 0; }
.report-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--space-3) 0; margin: var(--space-4) 0 var(--space-4); font-size: var(--t-small); }
.report-meta .k { color: var(--ink-soft); font-size: var(--t-caption); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; display: block; }
.report-meta .v { font-weight: 700; }
.verdict-band { display: flex; align-items: center; gap: var(--space-4); background: var(--ink-deep); color: var(--paper); border-radius: 4px; padding: var(--space-3) var(--space-4); margin-bottom: var(--space-5); flex-wrap: wrap; }
.verdict-band .verdict-grade { font-family: "Bricolage Grotesque", Georgia, serif; font-size: var(--t-head); font-weight: 700; color: var(--rust-deep); line-height: 1; }
.verdict-band p { margin: 0; color: rgba(237, 242, 241, .85); font-size: var(--t-small); max-width: 34rem; }
.finding { border-top: 1px solid var(--line); padding: var(--space-4) 0 var(--space-4); }
.finding:last-of-type { border-bottom: 1px solid var(--line); }
.finding .f-head { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-2); }
.finding h3 { margin: 0; font-size: var(--t-lead); flex: 1; }
.finding p { color: var(--ink-soft); margin: 0 0 var(--space-2); max-width: 44rem; }
.finding p:last-child { margin-bottom: 0; }
.finding .evidence { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 4px; padding: var(--space-2) var(--space-3); font-size: var(--t-small); color: var(--ink); }
.sev { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--t-caption); font-weight: 700; letter-spacing: .13em; text-transform: uppercase; padding: var(--space-1) var(--space-2); border: 1.5px solid currentColor; border-radius: 3px; transform: rotate(-2deg); white-space: nowrap; background: rgba(255, 253, 246, .6); }
.sev::before, .sev::after { content: ""; width: 6px; height: 11px; border: 2px solid currentColor; flex: none; }
.sev::before { border-right: 0; border-radius: 2px 0 0 2px; }
.sev::after { border-left: 0; border-radius: 0 2px 2px 0; }
.sev-crit { color: var(--rust-deep); }
.sev-high { color: var(--brass-deep); }
.sev-med { color: var(--ink-soft); }
.cost-box, .pkg-box { border-radius: 6px; padding: var(--space-4) var(--space-4); margin-top: var(--space-4); }
.cost-box { background: var(--paper); border: 1.5px solid var(--ink); }
.pkg-box { background: var(--paper-warm); border: 1.5px solid var(--teal); }
.cost-box h3, .pkg-box h3 { margin-bottom: var(--space-2); }
.cost-box p, .pkg-box p { color: var(--ink-soft); margin: 0 0 var(--space-2); }
.cost-box p:last-child, .pkg-box p:last-child { margin-bottom: 0; }
.cost-box .amt, .pkg-box .amt { font-family: "Bricolage Grotesque", Georgia, serif; font-size: var(--t-head); font-weight: 700; color: var(--ink); }
.fineprint { font-size: var(--t-caption); color: var(--ink-soft); line-height: 1.55; margin-top: var(--space-4); }

/* ---------- Prose (privacy / terms / access) ---------- */
.prose { max-width: 46rem; }
.prose h3 { margin-top: var(--space-5); }
.prose h3:first-of-type { margin-top: var(--space-2); }
.prose p, .prose li { color: var(--ink-soft); }
.prose p strong, .prose li strong { color: var(--ink); }
.prose ul { padding-left: var(--space-4); margin: 0 0 var(--space-3); }
.prose li { margin-bottom: var(--space-2); }
.stuck-panel { border: 1.5px solid var(--ink); border-radius: 6px; background: var(--paper); margin-top: var(--space-5); padding: 0 var(--space-4); }
.stuck-panel summary { cursor: pointer; font-family: "Bricolage Grotesque", Georgia, serif; font-size: var(--t-lead); font-weight: 600; padding: var(--space-3) 0; min-height: 54px; list-style: none; display: flex; align-items: center; }
.stuck-panel summary::-webkit-details-marker { display: none; }
.stuck-panel summary::after { content: "+"; margin-left: auto; font-family: "Source Sans 3", sans-serif; font-size: var(--t-lead); color: var(--teal); }
.stuck-panel[open ] summary::after { content: "–"; }
.stuck-panel .wa-form { padding-bottom: var(--space-2); }
.stuck-log-btn {
  font: inherit; font-size: var(--t-small); font-weight: 700; cursor: pointer;
  background: transparent; color: var(--teal); border: 1.5px solid var(--teal);
  border-radius: 4px; padding: var(--space-2) var(--space-3); min-height: 44px; margin-top: var(--space-2);
}
.stuck-log-btn:hover { background: var(--paper-warm); }

/* ---------- Footer ---------- */
.wa-footer { background: var(--ink-deep); color: var(--paper); padding: var(--space-7) 0 var(--space-6); }
.wa-footer .foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-6); margin-bottom: var(--space-5); }
.wa-footer .brand { color: var(--paper); }
.wa-footer .wordmark small { color: var(--paper); }
.wa-footer h4 { font-size: var(--t-caption); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(237, 242, 241, .85); margin: var(--space-1) 0 var(--space-3); }
.wa-footer nav { display: flex; flex-direction: column; gap: var(--space-2); }
.wa-footer nav a { color: var(--paper); text-decoration: none; font-size: var(--t-small); }
.wa-footer nav a:hover { color: var(--paper); text-decoration: underline; }
.wa-footer .foot-note { font-size: var(--t-small); color: rgba(237, 242, 241, .72); line-height: 1.55; }
.wa-footer .foot-bottom { border-top: 1px solid var(--line-paper); padding-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); align-items: center; font-size: var(--t-small); color: rgba(237, 242, 241, .72); }
.preview-note { border: 1.5px dashed rgba(237, 242, 241, .45); border-radius: 4px; padding: var(--space-2) var(--space-3); font-size: var(--t-caption); color: rgba(237, 242, 241, .75); margin-top: var(--space-4); line-height: 1.5; }

/* ---------- 404 ---------- */
.no-reading { padding: var(--space-8) 0 var(--space-8); text-align: left; }
.no-reading .chart-card { max-width: 40rem; }
.no-reading h1 { font-size: var(--t-display); margin-bottom: var(--space-3); }

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .tiers.four { grid-template-columns: 1fr 1fr; }
  .stat-grid.four { grid-template-columns: 1fr 1fr; }
  .operator { grid-template-columns: 320px 1fr; gap: var(--space-5); }
}
@media (max-width: 56rem) {
  section { padding: var(--space-7) 0; }
  .hero { padding: var(--space-6) 0 var(--space-7); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .tiers, .tiers.two { grid-template-columns: 1fr; }
  .checkup-cards { grid-template-columns: 1fr; }
  .leaks { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .cards, .dark-cards { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .stat-grid.four { grid-template-columns: 1fr 1fr; }
  .request-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .rail { position: static; order: -1; }
  .operator { grid-template-columns: 1fr; }
  .operator .slot-portrait { max-width: 400px; }
  .form-grid { grid-template-columns: 1fr; }
  .report-sheet { padding: var(--space-5) var(--space-4); }
  .wa-footer .foot-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .mech-step { grid-template-columns: 48px 1fr; gap: var(--space-3); }
  .mech::before { left: 23px; }
  .mech-step .n { width: 48px; height: 48px; font-size: var(--t-lead); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .diag .trace { animation: none; stroke-dashoffset: 0; }
  .diag .cursor-glyph { animation: none; opacity: 1; }
  * { transition: none !important; }
}

/* ---------- Phase 2 structural fix-ups (report dl/table, paused form) ---------- */
.sample-banner { background: var(--ink-deep); color: var(--paper); padding: var(--space-3) var(--space-3); font-size: var(--t-small); font-weight: 600; border-radius: 4px; letter-spacing: .02em; }
.sample-label { font-size: var(--t-small); color: var(--ink-soft); border-left: 3px solid var(--brass); padding-left: var(--space-3); margin: var(--space-3) 0 var(--space-4); max-width: 46rem; line-height: 1.55; }
.report-sheet h1 { font-family: "Bricolage Grotesque", Georgia, serif; font-size: var(--t-head); font-weight: 600; line-height: 1.15; margin: 0 0 var(--space-1); }
.report-meta { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
.report-meta div { min-width: 10rem; }
.report-meta dt { color: var(--ink-soft); font-size: var(--t-caption); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--space-1); }
.report-meta dd { margin: 0; font-weight: 700; font-size: var(--t-small); }
table.findings-table { width: 100%; border-collapse: collapse; margin-top: var(--space-1); }
table.findings-table th { text-align: left; font-size: var(--t-caption); letter-spacing: .14em; text-transform: uppercase; background: var(--paper-warm); color: var(--ink); padding: var(--space-2) var(--space-3); border: 1px solid var(--line-soft); }
table.findings-table td { padding: var(--space-3) var(--space-3); border: 1px solid var(--line-soft); vertical-align: top; font-size: var(--t-small); line-height: 1.55; color: var(--ink-soft); }
table.findings-table td.finding { color: var(--ink-soft); }
table.findings-table td.finding strong { display: block; color: var(--ink); font-size: var(--t-body); margin-bottom: var(--space-2); line-height: 1.35; }
table.findings-table .evidence { display: block; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 4px; padding: var(--space-2) var(--space-3); color: var(--ink); }
.scope-note { font-size: var(--t-small); color: var(--ink-soft); margin-top: var(--space-3); }
.pkg-box ul { padding-left: var(--space-4); margin: 0 0 var(--space-2); }
.pkg-box li { margin-bottom: var(--space-1); color: var(--ink-soft); }
.pkg-box li strong, .cost-box strong { color: var(--ink); }
.steps-list { margin: var(--space-1) 0 var(--space-1) var(--space-4); padding: 0; }
.steps-list li { margin-bottom: var(--space-2); color: var(--ink-soft); }
.steps-list li strong { color: var(--ink); }
#paused-notify-form { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-3); }
#paused-notify-form input {
  flex: 1 1 220px; font: inherit; font-size: var(--t-body); color: var(--ink);
  padding: var(--space-3) var(--space-3); min-height: 50px; background: var(--paper);
  border: 1.5px solid var(--ink-soft); border-radius: 4px;
}
#paused-notify-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23, 96, 109, .25); }
.specimen-link { text-decoration: none; color: inherit; display: block; }
.specimen-link:hover { color: inherit; }
.specimen-link .chart-card { transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.specimen-link:hover .chart-card { transform: translateY(-3px); }
.hiw-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: var(--space-6); align-items: start; }
.hiw-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: var(--space-4); }
@media (max-width: 56rem) { .hiw-grid { grid-template-columns: 1fr; } .hiw-side { position: static; } }

/* ---------- polish pass ---------- */
.step-tag { font-size: var(--t-caption); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 0 0 var(--space-1); }
.section-teal .btn-note { color: rgba(243,234,211,.72); }
.sample-label { max-width: 62rem; margin-left: auto; margin-right: auto; }
.report-sheet { margin-left: auto; margin-right: auto; }
.subnav .wrap { flex-wrap: wrap; }
details.stuck-panel summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.rail .slot-frame { box-shadow: 10px 10px 0 var(--paper-warm); }
@media (max-width: 40rem) { .rail .slot-frame { box-shadow: 6px 6px 0 var(--paper-warm); } }

/* ---------- matrix fixes (local verification round) ---------- */
@media (max-width: 40rem) {
  .tiers.four { grid-template-columns: 1fr; }
  .findings-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .findings-table, .findings-table tbody, .findings-table tr, .findings-table td { display: block; width: 100%; }
  .findings-table tr { padding: var(--space-3) 0 var(--space-3); border-bottom: 1px solid var(--line); }
  .findings-table td { border-bottom: none; padding: var(--space-1) 0; }
  .findings-table td:nth-child(2)::before, .findings-table td:nth-child(3)::before {
    content: attr(data-label); display: block; font-size: var(--t-caption); font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--space-1);
  }
}
.wa-footer nav a { padding-top: var(--space-1); padding-bottom: var(--space-1); }

/* ---------- Panel Round 1 fix round (Nov 15, 2026 — F-1…F-16) ---------- */
/* Grid tracks may never be sized past the viewport by a child's min-content
   (F-3 root cause: .chart-grade's nowrap stamp in fallback font metrics). */
.hero-grid > *, .request-grid > *, .hiw-grid > *, .operator > *, .stat-grid > * { min-width: 0; }
.chart-card { min-width: 0; max-width: 100%; color: var(--ink); }

/* F-1/F-9 — home hero: split composition on ink-deep teal. Tampa dusk field
   right, copy on the teal, chart card straddling the seam, lens-ring
   watermark as the depth layer. Other pages keep the parchment hero. */
.hero-home { position: relative; background: var(--ink-deep); color: var(--paper); padding: 0; overflow: hidden; }
.hero-home .wrap { position: relative; z-index: 2; padding-top: var(--space-6); padding-bottom: var(--space-6); }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-deep) 0%, rgba(10, 32, 41, .55) 32%, rgba(10, 32, 41, .06) 68%), linear-gradient(0deg, rgba(10, 32, 41, .38), rgba(10, 32, 41, 0) 42%); }
.hero-ring { position: absolute; left: -150px; bottom: -270px; width: 560px; height: auto; opacity: .16; z-index: 1; pointer-events: none; }
.hero-home .eyebrow { color: var(--paper); }
.hero-home h1 { color: var(--paper); }
.hero-home h1 .alive { color: var(--paper); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.hero-home .hero-sub { color: rgba(237, 242, 241, .87); }
.hero-home .btn-note { color: rgba(237, 242, 241, .72); }
.hero-home .vet-badge { border-color: rgba(237, 242, 241, .62); color: var(--paper); background: rgba(10, 32, 41, .38); }
.hero-home .vet-badge .ic { color: var(--brass-bright); }
.hero-home .chart-card { margin-left: calc(var(--space-6) * -1); transform: rotate(-.6deg); box-shadow: var(--shadow-2); }
@media (max-width: 56rem) {
  .hero-home { display: flex; flex-direction: column; }
  .hero-photo { position: relative; width: 100%; height: 208px; flex: none; }
  .hero-photo::after { background: linear-gradient(0deg, var(--ink-deep) 0%, rgba(10, 32, 41, 0) 46%); }
  .hero-home .wrap { padding-top: var(--space-5); padding-bottom: var(--space-7); }
  .hero-home .chart-card { margin-left: 0; transform: none; }
  .hero-ring { display: none; }
}

/* F-2 — motion system: scroll reveals + stat bar fills. Initial states exist
   only under html.js (set by the head script, removed again if gcwm.js does
   not run), so no-JS and failed-JS visitors see final states. */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease); transition-delay: var(--rd, 0ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }
.stat .bar i { width: var(--bar-w, 0); }
html.js .stat .bar i { width: 0; transition: width var(--dur-3) var(--ease) .25s; }
html.js .stat.in .bar i { width: var(--bar-w, 0); }

/* F-9 — depth: hover lifts and tactility on the card family. */
.tier { position: relative; overflow: hidden; transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tier.featured:hover { box-shadow: var(--shadow-2); }
.card { transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.btn { box-shadow: 0 1px 2px rgba(10, 32, 41, .18); }
.btn:hover { box-shadow: var(--shadow-1); }
.leak .leak-ic { transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.leak:hover .leak-ic { transform: translateY(-2px); box-shadow: var(--shadow-1); }
/* F-10 — featured care tier carries the lens ring inside the dark card. */
.tier-ring { position: absolute; right: -6px; bottom: 12px; width: 220px; height: auto; opacity: .26; pointer-events: none; }

/* F-8 — drawn glyph set (filled, duotone) replacing the outline sprite in
   leak/card icon boxes; the boxes gain the brass chart base. */
.glyph { width: 26px; height: 26px; display: block; }
.leak .leak-ic { border-bottom: 3px solid var(--brass); }
.card .card-ic { border-bottom: 3px solid var(--brass); }
.dark-cards .card .card-ic { border-bottom-color: var(--line-paper); }
/* Timelines sit on the ledger rule: square chart tabs + brass connector ticks. */
.mech-step::before { content: ""; position: absolute; left: 56px; top: 28px; width: 24px; height: 2px; background: var(--brass); opacity: .85; }
.station::before { content: ""; position: absolute; left: 32px; top: 16px; width: 22px; height: 2px; background: var(--brass); opacity: .85; }
@media (max-width: 56rem) { .mech-step::before { left: 48px; top: 24px; width: 18px; } }

/* F-7 — sample report: severity reads at a glance. Row accent by severity,
   stamp rotations vary like hand-stamped paper. */
table.findings-table tr.sev-crit { background: rgba(179, 58, 18, .045); }
table.findings-table tr.sev-crit td:first-child { box-shadow: inset 5px 0 0 var(--rust); }
table.findings-table tr.sev-high td:first-child { box-shadow: inset 5px 0 0 var(--brass); }
table.findings-table tr.sev-med td:first-child { box-shadow: inset 5px 0 0 var(--line); }
table.findings-table tbody tr:nth-child(1) .sev { transform: rotate(-2.6deg); }
table.findings-table tbody tr:nth-child(2) .sev { transform: rotate(1.4deg); }
table.findings-table tbody tr:nth-child(3) .sev { transform: rotate(-1.1deg); }
table.findings-table tbody tr:nth-child(4) .sev { transform: rotate(2deg); }
table.findings-table tbody tr:nth-child(5) .sev { transform: rotate(-1.7deg); }
table.findings-table tbody tr:nth-child(6) .sev { transform: rotate(1.1deg); }

/* Leak cells size to their own content — without this, the shorter cell of
   a pair stretches and its inner grid parks the extra height under the
   heading (seen in the fix-round captures, How It Works cell 2). */
.leaks { align-items: start; }

/* F-12 — grading legend cell rows (How It Works after-grid). */
.leak .legend-rows { display: flex; flex-direction: column; gap: var(--space-2); }
.leak .legend-row { display: flex; align-items: center; gap: var(--space-2); margin: 0; }

/* F-14 — the three grade chips wrap as one set; specimen rows stack on phones. */
.grade-set { display: inline-flex; flex-wrap: wrap; gap: var(--space-1); vertical-align: middle; }
@media (max-width: 40rem) {
  .chart-row { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
  .chart-row .k { min-width: 0; }
  .chart-row .sev, .chart-row .grade { margin-left: 0 !important; }
  table.findings-table td:first-child { box-shadow: none; }
  table.findings-table tr.sev-crit { border-top: 4px solid var(--rust); box-shadow: var(--shadow-1); }
  table.findings-table tr.sev-high { border-top: 4px solid var(--brass); }
  table.findings-table tr.sev-med { border-top: 4px solid var(--line); }
}

/* F-16 — request form progress cue (chips + progress fill, JS-driven). */
.form-progress { margin: var(--space-1) 0 var(--space-4); }
.fp-steps { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-2); }
.fp-step { font-size: var(--t-caption); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: var(--space-1) var(--space-2); border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink-soft); transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.fp-step.done { background: var(--teal); border-color: var(--teal); color: var(--paper); }
.fp-track { height: 4px; background: rgba(14, 43, 51, .14); border-radius: 2px; overflow: hidden; }
.fp-track i { display: block; height: 100%; width: 0; background: var(--teal); border-radius: 2px; transition: width var(--dur-3) var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .tier:hover, .card:hover, .leak:hover .leak-ic { transform: none; }
}

/* ---------- Panel Round 2 fix round (Nov 15, 2026 — R2-1…R2-7) ---------- */
/* R2-1 — step chips: three states a cold eye cannot confuse. The active
   step (JS-set: the first incomplete fieldset) is filled teal with a brass
   base — the tier-accent device; a completed step is an outlined chip
   carrying a check; untouched steps stay muted outlines. Round 2 split on
   whether the old done-only fill even read as advancement. */
.fp-step.done { background: var(--paper); border-color: var(--teal); color: var(--teal); }
.fp-step.done::before { content: "✓"; margin-right: var(--space-1); font-weight: 700; }
.fp-step.active { background: var(--teal); border-color: var(--teal); border-bottom: 3px solid var(--brass); color: var(--paper); box-shadow: var(--shadow-1); }

/* R2-2 — the finding-stamp brackets become the icon frame. Opposing brass
   corner brackets (the Flagged Finding annotation device, GLS-0241) outset
   the leak/card icon boxes; the box's own brass base from fix round 1 is
   retired so the brackets lead, and the glyphs sit inside the report's
   stamp language instead of beside it. */
.leak .leak-ic { border-bottom: 1.5px solid var(--ink); }
.card .card-ic { border-bottom: 1.5px solid var(--ink); }
.dark-cards .card .card-ic { border-bottom: 1.5px solid var(--line-paper); }
.leak .leak-ic, .card .card-ic { position: relative; }
.leak .leak-ic::before, .card .card-ic::before {
  content: ""; position: absolute; top: -4px; left: -4px; width: 13px; height: 13px;
  border-top: 2.5px solid var(--brass); border-left: 2.5px solid var(--brass);
  border-top-left-radius: 3px; pointer-events: none;
}
.leak .leak-ic::after, .card .card-ic::after {
  content: ""; position: absolute; bottom: -4px; right: -4px; width: 13px; height: 13px;
  border-bottom: 2.5px solid var(--brass); border-right: 2.5px solid var(--brass);
  border-bottom-right-radius: 3px; pointer-events: none;
}
.dark-cards .card .card-ic::before { border-top-color: var(--brass-bright); border-left-color: var(--brass-bright); }
.dark-cards .card .card-ic::after { border-bottom-color: var(--brass-bright); border-right-color: var(--brass-bright); }

/* R2-2 — the timelines run on a ledger rule: a plain vertical rule with
   a single ruler tick per tile, so the How It Works stations and the
   home mechanic sequence read as an instrument scale. (Tile redrawn
   Dec 1, 2026 in the CLEAR LIGHT medic-theme purge: the earlier
   repeating waveform tile is retired.) */
.mech::before, .timeline::before {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='200' viewBox='0 0 28 200'%3E%3Cpath d='M14 0 V200 M8 100 H20' fill='none' stroke='%2311434d' stroke-width='2.5'/%3E%3C/svg%3E");
  background-repeat: repeat-y; background-position: center top; background-size: 28px 200px;
}
.mech::before { left: 19px; width: 16px; opacity: .5; }
.timeline::before { left: 8px; width: 16px; opacity: .45; }
.on-paper.mech::before {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='200' viewBox='0 0 28 200'%3E%3Cpath d='M14 0 V200 M8 100 H20' fill='none' stroke='%2311434d' stroke-width='2.5'/%3E%3C/svg%3E");
  background-repeat: repeat-y; background-position: center top; background-size: 28px 200px;
}
@media (max-width: 56rem) { .mech::before { left: 15px; } }

/* R2-3 — one brass accent per pricing page. The brass top border leaves
   .tier.featured (darkness alone carries a featured card) and lives on
   .tier-accent, carried by exactly one card per page: Rebuild. Kept
   Growing keeps its dark ground and interior ring; the two featured
   cards no longer compete in the same metal. */
.tier.featured { border-top-color: var(--ink-deep); }
.tier.tier-accent { border-top-color: var(--brass); }

/* R2-4 — phone hero: the chart card straddles the hero/content seam as it
   does on desktop, instead of starting inside the band below. The hero
   stops clipping at this width (nothing at ≤56rem needs the clip: the
   ring watermark is display:none and the photo is in flow), the card
   pulls 32px across the seam, and the stat band gains the headroom. */
@media (max-width: 56rem) {
  .hero-home { overflow: visible; }
  .hero-home .chart-card { margin-bottom: calc(var(--space-8) * -1); z-index: 3; }
  .stat-band { padding-top: var(--space-7); }
}

/* R2-5 — uniform stat band (markup): every stat now carries the specimen
   bar track; the fill stays only where the label itself states the ratio
   (859 of 1,558, figures reconciled Nov 23, 2026). No CSS change — the track was already the band's rule. */

/* R2-6 — operator portrait slot: DECISION, made here deliberately (the
   round-2 record's coordinator note: a design-system call, not Mike's).
   The contained card becomes a flush editorial plate — square corners, no
   border, no offset shadow — with the chart card's own brass bar on the
   text-facing edge. The 4:5 aspect and the column are unchanged, so
   Mike's A1 portrait swaps in later with zero rework; the treatment is
   recorded in DESIGN-SYSTEM.md §10. */
.operator .slot-portrait { border: 0; border-radius: 0; box-shadow: none; }
.operator .slot-portrait::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 5px; background: var(--brass); }

/* R2-7a — REMOVED in the CLEAR LIGHT medic-theme purge (Dec 1, 2026):
   the hero readout's traveling brass segment (a monitor cycle) is
   retired with the rest of the old medic motif. The readout strip
   now carries Lens Rings and numbered Finding Tags only. */

/* R2-7b — stamp-press hover on the sample report's severity stamps: the
   stamp lands flat and bites, the way a real stamp presses. The table
   rule carries the same specificity as the per-row rotation rules and
   follows them, so the press wins on hover at every row. */
.sev { transition: transform var(--dur-1) var(--ease), background var(--dur-1) var(--ease); }
.sev:hover { transform: rotate(0deg) scale(.93); background: rgba(255, 253, 246, .95); }
table.findings-table tbody tr .sev:hover { transform: rotate(0deg) scale(.93); }

/* ---------- Panel Round 3 fix round (Nov 15, 2026 — R3-1…R3-5) ---------- */
/* R3-1 — the stamp press, deepened past the frame threshold. Round 3's
   only NOT ANSWERED sub-verdict: the 7% scale press existed in computed
   style but a frame-by-frame reader saw pixel-identical stamps across
   11s of dwell. The press now sinks 2px, shrinks 12%, doubles its ink
   edge (an inset ring in the stamp's own color — the ink spreading) and
   throws a soft halo: a delta that survives a 1000px frame sequence and
   a zoomed dwell crop. The table rule keeps the specificity twin so the
   press wins over the per-row rotations on hover at every row. */
.sev { transition: transform var(--dur-1) var(--ease), background var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease); }
.sev:hover { transform: rotate(0deg) translateY(2px) scale(.88); background: var(--paper); box-shadow: 0 0 0 3px rgba(14, 43, 51, .16), inset 0 0 0 1.5px currentColor; }
table.findings-table tbody tr .sev:hover { transform: rotate(0deg) translateY(2px) scale(.88); }

/* R3-2 — the spine is a ledger rule. One tile carries a plain vertical
   rule with a single ruler tick at its midpoint — an instrument scale,
   drawn vertically. Tile is 28px wide; lefts re-centered on the station
   squares (mech numeral 56px → center 28; timeline dot 32px → center 16;
   phone numeral 48px → center 24). (Tile redrawn Dec 1, 2026 in the
   CLEAR LIGHT medic-theme purge: the previous waveform tile is retired.) */
.mech::before, .timeline::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='200' viewBox='0 0 28 200'%3E%3Cpath d='M14 0 V200 M8 100 H20' fill='none' stroke='%2311434d' stroke-width='2.5'/%3E%3C/svg%3E");
  background-size: 28px 200px;
}
.mech::before { left: 14px; width: 28px; opacity: .6; }
.timeline::before { left: 2px; width: 28px; opacity: .55; }
.on-paper.mech::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='200' viewBox='0 0 28 200'%3E%3Cpath d='M14 0 V200 M8 100 H20' fill='none' stroke='%2311434d' stroke-width='2.5'/%3E%3C/svg%3E");
  background-size: 28px 200px;
}
@media (max-width: 56rem) { .mech::before { left: 10px; } }

/* R3-2 — the step squares join the bracket language. The finding-stamp
   corner brackets (the device that has framed the leak/card glyphs
   since R2-2) now frame the mechanic numerals and the timeline station
   dots, so spine, stations and stamps read as one graphic system. */
.mech-step .n::before, .station .dot::before {
  content: ""; position: absolute; top: -4px; left: -4px; width: 13px; height: 13px;
  border-top: 2.5px solid var(--brass); border-left: 2.5px solid var(--brass);
  border-top-left-radius: 3px; pointer-events: none;
}
.mech-step .n::after, .station .dot::after {
  content: ""; position: absolute; bottom: -4px; right: -4px; width: 13px; height: 13px;
  border-bottom: 2.5px solid var(--brass); border-right: 2.5px solid var(--brass);
  border-bottom-right-radius: 3px; pointer-events: none;
}
.station .dot::before { top: -3px; left: -3px; width: 10px; height: 10px; border-top-width: 2px; border-left-width: 2px; }
.station .dot::after { bottom: -3px; right: -3px; width: 10px; height: 10px; border-bottom-width: 2px; border-right-width: 2px; }

/* R3-3 — REMOVED in the CLEAR LIGHT medic-theme purge (Dec 1, 2026):
   the idle-segment amplitude step for the retired monitor cycle. */

/* R3-4 — leak-card hover at card scale. Round 3 split 3-visible /
   1-unproven on a 2px icon lift; the card itself now answers: the
   ground lifts to sheet white, a teal chart-rule insets the left edge,
   the heading takes the brand color, and the glyph box rises further
   on the deeper shadow. */
.leak { transition: background var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.leak h3 { transition: color var(--dur-2) var(--ease); }
.leak:hover { background: rgba(255, 253, 246, .72); box-shadow: inset 4px 0 0 var(--teal); }
.leak:hover h3 { color: var(--teal); }
.leak:hover .leak-ic { transform: translateY(-3px); box-shadow: var(--shadow-2); }
@media (prefers-reduced-motion: reduce) {
  .leak:hover .leak-ic { transform: none; }
}

/* R3-5 — featured-card motif symmetry is carried in markup: every
   .tier.featured (Home Rebuild; Services Rebuild + Kept Growing) now
   carries the same .tier-ring, recolored from brass-bright to pale
   teal so the motif can no longer be misread as the section's single
   brass accent (R2-3) — the brass lives only on Rebuild's top border.
   No CSS change; .tier-ring already positions and fades the motif. */

/* ---------- Panel Round 4 fix round (Nov 15, 2026 — R4-1, R4-2) ---------- */
/* R4-1 — the stamp press, ink-darkened per the holdout's own prescription.
   Round 4 conceded the mechanism, its firing on the stamp itself, and
   its zoom-crop proof (3/4 ANSWERED, "unmistakable at frame scale");
   the sole surviving objection (Claude, PARTLY) was amplitude in
   Recording C's unzoomed ~992px frames, where the stamp is ~60×18px:
   the delta "reads as a subtle ink-darkening." Claude's prescription,
   verbatim from the round-4 record: "darken/saturate the ink colour by
   15–20% on press in addition to the existing background lift" — its
   alternative, a scale(0.92) shrink, is already exceeded by the shipped
   scale(.88) press, so the ink is the actionable half. On press the
   stamp's ink now darkens 20% (the top of the prescribed band):
   rust-deep, brass-deep and ink-soft each darken to 80% of themselves
   (since Nov 23, 2026 expressed as color-mix derivations of the tokens,
   so no derivative hex is carried). Text, border, corner brackets and the
   ink-spread ring all ride currentColor, so the whole stamp inks
   harder at once; color joins the transition so the darkening lands
   with the press, not after it. */
.sev { transition: transform var(--dur-1) var(--ease), background var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
.sev-crit:hover { color: color-mix(in srgb, var(--rust-deep) 80%, black); }
.sev-high:hover { color: color-mix(in srgb, var(--brass-deep) 80%, black); }
.sev-med:hover { color: color-mix(in srgb, var(--ink-soft) 80%, black); }

/* R4-2 — REMOVED in the CLEAR LIGHT medic-theme purge (Dec 1, 2026):
   the idle segment's final amplitude step; the monitor cycle it tuned
   no longer exists, and its keyframes are deleted with it. */

/* ---------- Conformance pass (Nov 23, 2026 — GCWM-FIX) ----------
   F-2: every inline style= attribute on the 13 core pages was folded into
   the classes below; spacing/font/color values ride the tokens above.
   F-5: --white retired (the system of record names no sheet white) —
   sheet surfaces take var(--paper); the tint trio collapsed to
   var(--paper-warm); press-darkened stamp inks are color-mix derivations
   of their tokens (R4-1's 20% darkening, kept exact).
   F-8: --shadow-3 retired (the system defines two elevation tokens);
   its uses take var(--shadow-2); the two superseded @keyframes
   definitions were removed. (Dec 1, 2026: the last trace keyframes
   were deleted with the monitor cycle in the medic-theme purge.) */
.u-abs { position: absolute; }
.u-block { display: block; }
.u-mt-0 { margin-top: 0; }
.u-mt-2 { margin-top: var(--space-2); }
.u-mt-3 { margin-top: var(--space-3); }
.u-mt-4 { margin-top: var(--space-4); }
.u-mt-5 { margin-top: var(--space-5); }
.u-mt-7 { margin-top: var(--space-7); }
.u-mb-4 { margin-bottom: var(--space-4); }
.u-mb-5 { margin-bottom: var(--space-5); }
.u-mb-6 { margin-bottom: var(--space-6); }
.u-ml-auto { margin-left: auto; }
.u-m-0 { margin: 0; }
.u-m-003 { margin: 0 0 var(--space-3); }
.u-m-300 { margin: var(--space-3) 0 0; }
.u-m-206 { margin: var(--space-2) 0 var(--space-6); }
.u-pt-0 { padding-top: 0; }
.u-pt-2 { padding-top: var(--space-2); }
.u-pt-5 { padding-top: var(--space-5); }
.u-measure { max-width: 46rem; }
.u-bold { font-weight: 700; }
.u-teal { color: var(--teal); }
.u-ink { color: var(--ink); }
.u-brass-deep { color: var(--brass-deep); }
.u-note-70 { color: rgba(237, 242, 241, .7); }
.u-self-start { align-self: start; }
.u-col-full { grid-column: 1 / -1; }
.u-klabel { font-size: var(--t-caption); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.u-fs-head { font-size: var(--t-head); }
.u-fs-lead { font-size: var(--t-lead); }
.bar-55 { --bar-w: 55.1%; }

/* ================================================================
   CLEAR LIGHT components (Dec 1, 2026 loop) — the Lens Ring and the
   numbered Finding Tag are the site's only motif. Data faces are IBM
   Plex Mono; annotation gold is never text.
   ================================================================ */
.fig-stamp, .prov-line { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); letter-spacing: .01em; }
.fig-stamp { margin-top: var(--space-2); }
/* Finding tag: a numbered chip that always points at a real observation */
.f-tag { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-mono);
  font-size: .78rem; font-weight: 600; color: var(--ink); background: var(--paper);
  border: 2px solid var(--teal); border-radius: 999px; padding: .18rem .6rem .18rem .3rem; white-space: nowrap; }
.f-tag::before { content: ""; width: .62rem; height: .62rem; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--teal); margin-left: .25rem; }
.f-tag.open { border-color: var(--rust); }
.f-tag.open::before { background: var(--paper); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--rust); }
/* Held slot: a figure we refuse to print until its basis is ruled.
   Designed, labelled, explained — never a blank and never a guess. */
.held-slot { border: 2px dashed rgba(14, 43, 51, .45); border-radius: var(--radius);
  padding: var(--space-3); background: rgba(237, 242, 241, .5); }
.held-slot .held-k { font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--rust-deep); display: block; margin-bottom: .35rem; }
.held-slot p { margin: 0; font-size: var(--t-small); }
.ro-row.held .ro-v { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 600; color: var(--rust-deep); letter-spacing: .06em; }
/* Specimen plate + lens (the Examination Spread) */
.plate { position: relative; margin: 0; }
.plate img.shot { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--radius); }
.plate figcaption { margin-top: var(--space-2); }
.lens { position: absolute; width: 172px; height: 172px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--teal); box-shadow: 0 0 0 6px rgba(237, 242, 241, .85), 0 10px 30px rgba(10, 32, 41, .35);
  background: var(--paper); }
.lens img { position: absolute; max-width: none; }
.lens-tag { position: absolute; transform: translate(-50%, -140%); z-index: 3; }
.margin-notes { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.margin-notes li { padding: var(--space-2) 0; border-top: 1px solid var(--line-soft); font-size: var(--t-small); }
.margin-notes li:first-child { border-top: 0; }
.margin-notes .f-tag { margin-bottom: .3rem; }
/* Score medallion in a lens ring (paid-report artifacts) */
.medallion { width: 168px; height: 168px; border-radius: 50%; border: 3px solid var(--teal);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px rgba(11, 107, 94, .35), var(--shadow-1);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--paper); margin-inline: auto; padding: var(--space-2); }
.medallion .m-band { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.45rem; color: var(--ink); line-height: 1.05; }
.medallion .m-num { font-family: var(--font-mono); font-size: .95rem; color: var(--ink-soft); }
.medallion .m-ver { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-soft); margin-top: .3rem; }
/* The honesty fence: travels with the SRP name, full size, adjacent */
.fence { border: 2px solid var(--ink); border-radius: var(--radius); padding: var(--space-3) var(--space-4);
  background: var(--paper); font-size: var(--t-body); }
.fence p { margin: 0 0 var(--space-2); }
.fence p:last-child { margin-bottom: 0; }
.fence .fence-k { font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--rust-deep); display: block; margin-bottom: var(--space-2); }
/* SiteAutopsy tool */
.tool-form { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-3); }
.tool-form .tool-url { flex: 1 1 320px; font: inherit; font-size: 1.05rem; padding: .8rem 1rem;
  border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; color: var(--ink); }
.tool-form .btn { font-size: 1.05rem; }
.tool-alt { margin-top: var(--space-2); font-size: var(--t-small); }
.check-list { list-style: none; margin: var(--space-3) 0; padding: 0; }
.check-list li { display: flex; gap: var(--space-2); align-items: baseline; padding: .55rem 0; border-top: 1px solid var(--line-soft); }
.check-list li:first-child { border-top: 0; }
.chip { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  border-radius: 999px; padding: .14rem .55rem; white-space: nowrap; }
.chip.pass { background: rgba(11, 107, 94, .14); color: #084F44; }
.chip.fail { background: rgba(179, 58, 18, .13); color: var(--rust-deep); }
.chip.held { background: rgba(14, 43, 51, .1); color: var(--ink); }
.prov-block { font-family: var(--font-mono); font-size: .78rem; line-height: 1.65; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); background: rgba(237, 242, 241, .55); overflow-wrap: anywhere; }
.prov-block dt { font-weight: 600; color: var(--ink-soft); }
.prov-block dd { margin: 0 0 .3rem; }
.prov-block dl { margin: 0; }
/* Checks table (accessibility page) */
.checks-table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.checks-table th, .checks-table td { text-align: left; padding: .5rem .6rem; border-top: 1px solid var(--line-soft); vertical-align: top; }
.checks-table thead th { border-top: 0; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.checks-table .mono { font-family: var(--font-mono); font-size: .82rem; }
/* Footer performance strip */
.perf-strip { font-family: var(--font-mono); font-size: .75rem; color: rgba(237, 242, 241, .85);
  border-top: 1px solid var(--line-paper); padding-top: var(--space-3); margin-top: var(--space-4); overflow-wrap: anywhere; }
.perf-strip a { color: #9CC9BE; }
/* Acknowledgement scopes */
.ack-scope { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); margin-top: var(--space-3); }
.ack-scope h3 { margin-top: 0; }
/* Catalog covers */
.cat-cover { border-top: 3px solid var(--teal); }
.cat-cover .covers-n { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 760px) { .lens { display: none; } .lens-tag { display: none; } }

.ack-scope .ack-h { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--ink); margin: var(--space-3) 0 var(--space-1); }
.ack-scope .ack-h:first-child { margin-top: 0; }
.price-line { font-size: var(--t-lead); margin-top: var(--space-3); }
.split { display: grid; grid-template-columns: 1.12fr .88fr; gap: var(--space-5); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Round 3 (Dec 1, 2026): gold is annotation, never text (CLEAR LIGHT rule);
   links on the petrol hero take the light teal tint (AA on ink-deep). */
.hero-home a:not(.btn) { color: #9CC9BE; }
.nb { white-space: nowrap; }
.lens { cursor: zoom-in; }
.lens.zoomed { cursor: zoom-out; }
.margin-rail { border-left: 2px solid var(--teal); padding-left: var(--space-4); }
.margin-rail .rail-k { font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: var(--space-2); }
.hero .margin-notes li { border-top-color: rgba(14, 43, 51, .16); }
