/* Layout concept (revision 4): an exam record. A form grid with a label column, hairline rules at form spacing,
   chart white paper, one navy, duochrome red and green only where a value is in or out of the top three. */
:root {
  --paper: #ffffff;
  --chart: #fcfcfa;
  --mist: #eef2f5;
  --mist-2: #e3e9ee;
  --ink: #101317;
  --body: #2b3138;
  --slate: #56606b;
  --line: #d6dce2;
  --navy: #102a4c;
  --navy-2: #0b1f39;
  --navy-soft: #c9d6e6;
  --red: #c4302b;
  --green: #1d7a4e;
  --red-wash: #f6dcdb;
  --green-wash: #d8ece2;
  --on-navy: #ffffff;
  --on-navy-muted: #b9c7d9;

  --font-chart: "Optician Sans", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.125rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.45rem, 1.2rem + 0.9vw, 1.85rem);
  --step-3: clamp(1.9rem, 1.4rem + 1.9vw, 2.9rem);
  --step-4: clamp(2.45rem, 1.6rem + 3.4vw, 4.6rem);

  --radius: 4px;
  --header-h: 76px;
  --shadow-card: 0 1px 0 rgba(16, 19, 23, 0.04), 0 18px 40px -22px rgba(16, 42, 76, 0.35);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .85 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations"), url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-wght-italic.woff2") format("woff2-variations"), url("fonts/hanken-grotesk-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Optician Sans";
  src: url("fonts/optician-sans.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0; text-wrap: balance; font-weight: 750; letter-spacing: -0.018em; }
h1 { font-size: var(--step-4); letter-spacing: -0.028em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
strong { color: var(--ink); font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.band--navy :focus-visible, .footer :focus-visible, .cta-band :focus-visible { outline-color: #ffffff; }
::selection { background: var(--navy); color: #fff; }

.skip-link {
  position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); top: 12px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  transform: translateY(-160%); transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* One grade for every photo, so stock reads as one shoot: slightly cooler and calmer, with fine grain. */
.hero__media, .reveal-img, .gcard__img, .glist__img, .photo-band { position: relative; isolation: isolate; }
.ph, .cta-bg { isolation: isolate; }
.hero__media img, .ph img, .reveal-img img, .photo-band img, .cta-bg img, .gcard__img img, .glist__img img { filter: saturate(0.84) contrast(1.05) brightness(1.02); }
.hero__media::before, .reveal-img::before, .gcard__img::before, .glist__img::before, .photo-band::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 42, 76, 0.05), rgba(16, 42, 76, 0.13));
}
.hero__media::after, .ph::after, .reveal-img::after, .gcard__img::after, .glist__img::after, .photo-band::after, .cta-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: var(--grain); background-size: 160px 160px; opacity: 0.11; mix-blend-mode: overlay;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.band { padding-block: clamp(4rem, 3rem + 4vw, 7rem); position: relative; }
.band--tight { padding-block: clamp(3rem, 2.4rem + 2.5vw, 4.5rem); }
.band--mist { background: var(--mist); }
.band--navy { background: var(--navy); color: var(--on-navy-muted); }
.band--navy h2, .band--navy h3, .band--navy strong { color: var(--on-navy); }
.band--navy a { color: #fff; }

.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }
.section-head p { font-size: var(--step-1); line-height: 1.5; color: var(--slate); }
.band--navy .section-head p { color: var(--on-navy-muted); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--body); }
.muted { color: var(--slate); }
.small { font-size: var(--step--1); line-height: 1.5; }
.note { font-size: var(--step--1); color: var(--slate); line-height: 1.55; }
.band--navy .note { color: var(--on-navy-muted); }
.note a { color: inherit; }

.badge {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.78rem; font-weight: 650; letter-spacing: 0.01em;
  color: var(--navy); background: #fff; border: 1px solid var(--navy-soft);
  border-radius: 999px; padding: 0.2em 0.75em; line-height: 1.5; white-space: nowrap;
}

/* ---------- buttons and links ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-fill: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0.85em 1.5em;
  font: inherit; font-weight: 650; font-size: 1.02rem; line-height: 1.2; letter-spacing: 0.005em;
  color: var(--btn-fg); text-decoration: none; cursor: pointer;
  border: 0; border-radius: var(--radius);
  background: linear-gradient(var(--btn-fill), var(--btn-fill)) no-repeat 0 100% / 100% 0%, var(--btn-bg);
  transition: background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}
.btn:hover { background-size: 100% 100%, auto; color: var(--btn-fg); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-fill: var(--mist-2); }
.btn--small { min-height: 42px; padding: 0.55em 1.05em; font-size: 0.95rem; }

.textlink {
  color: var(--ink); font-weight: 650; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1.5px;
  padding-bottom: 3px;
  transition: background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.textlink:hover { background-size: 0% 1.5px; background-position: 100% 100%; color: var(--ink); }
.band--navy .textlink, .cta-band .textlink { color: #fff; }

.prose a:not(.btn):not(.textlink), .rich a:not(.btn):not(.textlink) {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  transition: background-size 0.3s ease;
  overflow-wrap: anywhere;
}
.prose a:not(.btn):not(.textlink):hover, .rich a:not(.btn):not(.textlink):hover { background-size: 0% 1px; background-position: 100% 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); transition: height 0.3s ease; }
.site-header.is-solid { background: rgba(255, 255, 255, 0.96); box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(16, 42, 76, 0.5); }
.site-header.is-solid .site-header__inner { height: 62px; }
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(10px); }
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__tile { fill: var(--navy); }
.brand__e { fill: #fff; }
/* The wordmark is the brand from site.json. It wraps after the first word or two; the first line is set large and bold. */
.brand__name { display: block; max-width: 8.6rem; font-weight: 500; font-size: 0.86rem; line-height: 1.22; color: var(--slate); letter-spacing: 0.01em; }
.brand__name::first-line { font-weight: 750; font-size: 1.02rem; color: var(--ink); letter-spacing: -0.01em; }
.brand--light { color: #fff; }
.brand--light:hover { color: #fff; }
.brand--light .brand__tile { fill: #fff; }
.brand--light .brand__e { fill: var(--navy); }
.brand--light .brand__name { color: var(--on-navy-muted); }
.brand--light .brand__name::first-line { color: #fff; }

.nav__list { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav__link {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1.5px;
  padding-bottom: 3px; transition: background-size 0.3s ease;
}
.nav__link:hover, .nav__link[aria-current="page"] { background-size: 100% 1.5px; color: var(--ink); }
.nav__cta { margin-left: 0.4rem; }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 650; color: var(--ink); padding: 0.55rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.menu summary::-webkit-details-marker { display: none; }
.menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.25s ease, opacity 0.2s ease; }
.menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
.menu__bars::before { top: -6px; }
.menu__bars::after { top: 6px; }
.menu[open] .menu__bars { background: transparent; }
.menu[open] .menu__bars::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu__bars::after { transform: translateY(-6px) rotate(-45deg); }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-card);
  padding: 1rem; display: grid; gap: 0.75rem;
}
.menu__panel ul { list-style: none; display: grid; }
.menu__panel li a { display: block; padding: 0.7rem 0.4rem; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--mist-2); }
.menu__panel .btn { width: 100%; }
@media (max-width: 919px) {
  .nav { display: none; }
  .menu { display: block; }
  .brand__name { font-size: 0.82rem; max-width: 8rem; }
  .brand__name::first-line { font-size: 0.97rem; }
}
/* The chart. Letter heights follow Snellen ratios: 20/200 is ten times 20/20. */
.chart { margin: 0; --e: clamp(68px, 20vw, 104px); }
.chart__card {
  position: relative; background: var(--chart);
  border: 1px solid var(--line); border-radius: 3px;
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line), 0 30px 60px -30px rgba(16, 42, 76, 0.45);
  padding: clamp(1rem, 0.7rem + 1vw, 1.5rem) clamp(0.9rem, 0.6rem + 1vw, 1.4rem) 0;
  width: 100%;
}
.chart__rows { list-style: none; display: grid; justify-items: stretch; }
.chart__row {
  display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) 3.4rem; align-items: center;
  column-gap: 0.4rem; line-height: 1; padding-block: calc(var(--e) * var(--r) * 0.16);
}
.chart__num, .chart__frac { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.chart__frac { text-align: right; }
.chart__letters {
  font-family: var(--font-chart); font-size: calc(var(--e) * var(--r)); color: var(--ink);
  text-align: center; letter-spacing: 0.32em; margin-right: -0.32em; white-space: nowrap; display: block;
}
.chart__row--1 { --r: 1; }
.chart__row--2 { --r: 0.5; }
.chart__row--3 { --r: 0.35; }
.chart__row--4 { --r: 0.25; }
.chart__row--5 { --r: 0.2; }
.chart__row--6 { --r: 0.15; }
.chart__row--7 { --r: 0.125; }
.chart__row--8 { --r: 0.1; }
.chart__row--1 .chart__letters { letter-spacing: 0; margin-right: 0; }
.chart__duo { display: grid; grid-template-columns: 1fr 1fr; margin: 0.9rem calc(-1 * clamp(0.9rem, 0.6rem + 1vw, 1.4rem)) 0; height: 46px; border-top: 1px solid var(--line); }
.chart__duo span { display: flex; align-items: center; justify-content: center; gap: 0.6rem; font-family: var(--font-chart); font-size: 0.95rem; letter-spacing: 0.3em; color: var(--ink); }
.chart__duo span:first-child { background: var(--red); }
.chart__duo span:last-child { background: var(--green); }
.chart figcaption { margin-top: 0.9rem; font-size: 0.82rem; color: var(--slate); line-height: 1.45; }


/* ---------- the form grid: label column, rule, content ---------- */
.form { display: grid; gap: 0.6rem 0; }
.form > * { min-width: 0; }
.form__label { font-size: 0.92rem; font-weight: 650; color: var(--slate); letter-spacing: 0.01em; line-height: 1.4; padding-top: 0.3rem; }
.form__label small { display: block; font-weight: 450; margin-top: 0.3rem; }
.form__body { max-width: 68ch; }
.form__body > * + * { margin-top: 1.1em; }
.form__body h2 { font-size: var(--step-3); line-height: 1.1; margin-bottom: 0.35em; }
.form__body h3 { font-size: 1.25rem; margin-top: 1.6em; }
.form__body p, .form__body li { font-size: 1.1rem; line-height: 1.68; }
.form__body ul, .form__body ol { padding-left: 1.3rem; display: grid; gap: 0.55em; }
.form__body .lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.form__body table { font-size: 0.98rem; }
.sect { padding-block: clamp(2.6rem, 2rem + 2.5vw, 4.5rem); border-top: 1px solid var(--line); }
.sect:first-of-type { border-top: 0; }
.sect--mist { background: var(--mist); border-top: 0; }
.sect--navy { background: var(--navy); color: var(--on-navy-muted); border-top: 0; }
.sect--navy h2, .sect--navy h3, .sect--navy strong, .sect--navy .lede { color: #fff; }
.sect--navy .form__label, .followup .form__label { color: var(--on-navy-muted); }
.sect--navy a { color: #fff; }
.sect--navy .form__rule, .followup .form__rule { background: rgba(255,255,255,0.18); }
.form__rule { display: none; }
.form__side { font-size: 0.95rem; color: var(--slate); line-height: 1.5; display: grid; gap: 1rem; align-content: start; }
.form__side img { border-radius: 3px; }
.form__side figcaption, .form__side .note { font-size: 0.85rem; }
@media (min-width: 1024px) {
  .form { grid-template-columns: 13rem 1px minmax(0, 1fr); gap: 0 2.4rem; }
  .form__rule { display: block; background: var(--line); align-self: stretch; }
  .form__label { padding-top: 0.55rem; }
  .form--side { grid-template-columns: 13rem 1px minmax(0, 1fr) 16rem; }
  .form__side { padding-top: 0.55rem; }
}
@media (max-width: 1023px) { .form--side .form__side { order: 4; max-width: 32rem; } }

/* ---------- the opening of the home page ---------- */
.opening { padding-top: calc(var(--header-h) + clamp(2.5rem, 2rem + 4vw, 6rem)); padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.opening h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.4rem); max-width: 22ch; letter-spacing: -0.03em; line-height: 1.04; }
.opening__lede { margin-top: 1.6rem; max-width: 60ch; font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); line-height: 1.5; color: var(--body); }
.opening__meta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; font-size: 0.95rem; color: var(--slate); align-items: center; }
.opening__actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: 0.9rem 1.5rem; align-items: center; }
.opening__fig, .snapshot__fig { margin: 2.6rem 0 0; max-width: 24rem; }
.snapshot__fig { margin-top: 1.6rem; }
.opening__fig svg, .snapshot__fig svg { width: 100%; height: auto; }
.opening__fig .lab, .snapshot__fig .lab { font-size: 12px; font-weight: 600; }
.opening__fig .fig__legend, .snapshot__fig .fig__legend { font-size: 0.85rem; gap: 0.35rem 1rem; }
.opening__record { margin-top: 2.4rem; }
.opening__figtitle { font-size: 0.9rem; font-weight: 650; color: var(--ink); margin: 0 0 0.8rem; }
.opening__fig figcaption { font-size: 0.82rem; }
.fig .cell.c-local { fill: var(--navy); }
.fig .cell.c-dir { fill: #8aa0b8; }
.fig .cell.c-chain { fill: var(--red); }
.fig .cell.c-hosp { fill: #c9d6e6; }
@media (min-width: 1024px) {
  .opening__grid { display: grid; grid-template-columns: minmax(0, 1fr) 30rem; gap: 0 4rem; align-items: end; }
  .opening__record { margin-top: 0; }
  .opening__fig { margin-top: 0; }
}

/* ---------- inner page head: text only ---------- */
.phead { padding-top: calc(var(--header-h) + clamp(2rem, 1.5rem + 3vw, 4.5rem)); padding-bottom: clamp(1.8rem, 1.4rem + 1.6vw, 3rem); }
.phead__kicker { font-size: 0.92rem; color: var(--slate); font-weight: 600; margin-bottom: 1rem; }
.phead h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); max-width: 24ch; letter-spacing: -0.028em; }
.phead .lede { margin-top: 1.3rem; max-width: 60ch; }
.phead__meta { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.92rem; color: var(--slate); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; font-size: 0.9rem; color: var(--slate); margin-bottom: 1rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.crumbs a { color: var(--slate); }

/* ---------- photo bands and side photos ---------- */
.photo-band { position: relative; margin: 0; isolation: isolate; }
.photo-band img { width: 100%; height: clamp(300px, 52vw, 640px); object-fit: cover; }
.photo-band--short img { height: clamp(220px, 34vw, 420px); }
.photo-band figcaption { position: absolute; right: 16px; bottom: 12px; z-index: 2; font-size: 0.78rem; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.photo-inline { margin: 0; }
.photo-inline img { width: 100%; height: auto; border-radius: 3px; }
.photo-inline figcaption { font-size: 0.85rem; color: var(--slate); margin-top: 0.6rem; }

/* ---------- the record (findings on the home page, the sample report) ---------- */
.record { background: #fff; border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow-card); padding: clamp(1.1rem, 0.9rem + 1vw, 1.8rem); }
.record__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--ink); padding-bottom: 0.6rem; margin-bottom: 0.9rem; }
.record__head h2, .record__head h3 { font-size: 1.15rem; margin: 0; }
.record__head h3 small { display: block; font-size: 0.8rem; font-weight: 500; color: var(--slate); margin-top: 0.2rem; }
.record__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.2rem; font-size: 0.9rem; margin-bottom: 1rem; }
.record__meta div { display: grid; gap: 0.1rem; border-bottom: 1px dotted var(--line); padding-bottom: 0.35rem; }
.record__meta span { color: var(--slate); font-size: 0.78rem; }
.record__meta b { color: var(--ink); font-weight: 650; }
@media (min-width: 640px) { .record__meta { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.record__label { font-size: 0.78rem; font-weight: 700; color: var(--slate); letter-spacing: 0.02em; margin: 1.2rem 0 0.4rem; }
.record__label:first-of-type { margin-top: 0; }
.record__text { font-size: 1rem; line-height: 1.6; color: var(--body); }
.record__text + .record__text { margin-top: 0.6rem; }
.record__text strong { color: var(--ink); }
.record ol, .record ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; font-size: 0.98rem; line-height: 1.55; }
.va-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.va { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.va th { text-align: left; font-weight: 650; color: var(--slate); font-size: 0.78rem; letter-spacing: 0.02em; padding: 0.45rem 0.6rem 0.45rem 0; border-bottom: 1px solid var(--ink); }
.va td { padding: 0.55rem 0.6rem 0.55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.4; }
.va td.acuity { font-family: var(--font-chart); font-size: 1.05rem; letter-spacing: 0.06em; white-space: nowrap; color: var(--ink); }
.va tr.is-good td.acuity { color: var(--green); }
.va tr.is-low td.acuity { color: var(--red); }
.va td.who { color: var(--slate); font-size: 0.88rem; }
@media (max-width: 639px) {
  .va thead { display: none; }
  .va, .va tbody { display: block; }
  .va tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.15rem 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  .va td { display: block; border: 0; padding: 0; }
  .va td:nth-child(1) { grid-column: 1; grid-row: 1; font-weight: 650; color: var(--ink); }
  .va td.acuity { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
  .va td:nth-child(2), .va td:nth-child(3) { grid-column: 1; font-size: 0.85rem; color: var(--slate); }
  .va td:nth-child(2) { grid-row: 2; }
  .va td:nth-child(3) { grid-row: 3; }
  .va td:nth-child(2)::before { content: "Map: "; }
  .va td:nth-child(3)::before { content: "Web: "; }
  .va td.who { grid-column: 1 / -1; grid-row: 4; margin-top: 0.2rem; }
}

.record__legend { font-size: 0.82rem; color: var(--slate); margin-top: 0.7rem; line-height: 1.5; }
.record__two { display: grid; gap: 1.2rem; margin-top: 1.2rem; }
@media (min-width: 760px) { .record__two { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.record--report { max-width: 58rem; margin-inline: auto; padding: clamp(1.2rem, 1rem + 2vw, 2.6rem); }
.record--report .record__head h2 { font-size: 1.3rem; }
.record--report h3 { font-size: 1.05rem; margin: 1.6rem 0 0.5rem; }
.record--report p, .record--report li { font-size: 1rem; line-height: 1.6; }
.record--report p + p { margin-top: 0.7rem; }
.record__stamp { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--red); border: 1.5px solid var(--red); padding: 0.15em 0.55em; border-radius: 2px; }
.record__foot { margin-top: 1.6rem; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--slate); line-height: 1.5; }
.rx { font-family: var(--font-chart); letter-spacing: 0.08em; }

/* ---------- tables (research, report) ---------- */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2rem 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.tbl th { text-align: left; font-weight: 650; color: var(--slate); font-size: 0.8rem; padding: 0.5rem 0.7rem 0.5rem 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.tbl td { padding: 0.5rem 0.7rem 0.5rem 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; font-variant-numeric: tabular-nums; }
.tbl td.n, .tbl th.n { text-align: right; padding-right: 0.9rem; }
.tbl tfoot td { font-weight: 650; color: var(--ink); border-bottom: 0; }
.tbl caption { text-align: left; font-size: 0.85rem; color: var(--slate); caption-side: bottom; padding-top: 0.6rem; line-height: 1.5; }

/* ---------- charts ---------- */
.fig { margin: 1.6rem 0; }
.fig svg { width: 100%; height: auto; display: block; max-width: none; }
.fig svg text { font-family: var(--font-sans); fill: var(--body); }
.fig figcaption { font-size: 0.85rem; color: var(--slate); margin-top: 0.75rem; line-height: 1.5; }
.fig .ax { font-size: 13px; fill: var(--slate); }
.fig .lab { font-size: 14px; font-weight: 600; fill: var(--ink); }
.fig .val { font-size: 13px; font-weight: 700; fill: var(--ink); }
.fig .t-white { fill: #fff; }
.fig .grid-line { stroke: var(--mist-2); stroke-width: 1; }
.fig .axis { stroke: var(--ink); stroke-width: 1; }
.fig .c-local { fill: var(--navy); }
.fig .c-dir { fill: #8aa0b8; }
.fig .c-chain { fill: var(--red); }
.fig .c-hosp { fill: #c9d6e6; }
.fig .c-on { fill: var(--navy); }
.fig .c-off { fill: #fff; stroke: var(--red); stroke-width: 2; }
.fig .sq-on { fill: var(--navy); }
.fig .sq-off { fill: #fff; stroke: var(--red); stroke-width: 2; stroke-dasharray: 4 3; }
.fig__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.9rem; color: var(--body); margin: 0.6rem 0 0; padding: 0; }
.fig__legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
.fig__legend i { width: 14px; height: 14px; border-radius: 2px; display: inline-block; }
.fig__legend .c-local { background: var(--navy); }
.fig__legend .c-dir { background: #8aa0b8; }
.fig__legend .c-chain { background: var(--red); }
.fig__legend .c-hosp { background: #c9d6e6; }
.fig--wide svg { max-width: none; }
.fig--squares svg { max-width: 360px; }
.fig--phone { display: none; }
@media (max-width: 639px) { .fig--desktop { display: none; } .fig--phone { display: block; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- questions page ---------- */
.qa { display: grid; gap: 0; }
.qa__item { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.qa__item h2 { font-size: 1.35rem; line-height: 1.3; margin-bottom: 0.7rem; }
.qa__item p + p { margin-top: 0.8em; }
.qa__item p { max-width: 64ch; }

/* ---------- opinions (about) ---------- */
.opinions { list-style: none; display: grid; gap: 0; counter-reset: op; padding: 0; }
.opinions li { counter-increment: op; padding: 1.3rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.6rem 1rem; }
.opinions li::before { grid-row: 1 / span 2; content: counter(op); font-family: var(--font-chart); font-size: 1.4rem; color: var(--slate); line-height: 1.2; }
.opinions h3 { grid-column: 2; font-size: 1.15rem; margin: 0 0 0.4rem; line-height: 1.3; }
.opinions p { grid-column: 2; margin: 0; font-size: 1.02rem; line-height: 1.6; }

/* ---------- guides index rows ---------- */
.glist { list-style: none; display: grid; }
.glist li { border-top: 1px solid var(--line); }
.glist a.glist__link { display: grid; gap: 0.5rem; padding: 1.4rem 0; text-decoration: none; color: inherit; }
.glist__meta { font-size: 0.85rem; color: var(--slate); }
.glist h2 { font-size: 1.35rem; line-height: 1.3; }
.glist a:hover h2 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.15em; }
.glist p { color: var(--body); max-width: 60ch; }
.glist__num { font-family: var(--font-chart); color: var(--slate); font-size: 1.1rem; letter-spacing: 0.06em; }
@media (min-width: 800px) { .glist a.glist__link { grid-template-columns: 4rem minmax(0, 1fr); gap: 0.5rem 1.5rem; } .glist__num { grid-row: 1 / span 3; } }

/* ---------- guide articles ---------- */
.article { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
@media (min-width: 1024px) { .article { grid-template-columns: 13rem minmax(0, 1fr); gap: 0 3rem; } .article .aside { order: -1; } }
.prose { max-width: 66ch; font-size: 1.1rem; line-height: 1.7; min-width: 0; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.55rem, 1.3rem + 1vw, 2rem); margin-top: 2em; line-height: 1.2; }
.prose h3 { margin-top: 1.6em; font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: 0.5em; }
.prose li::marker { color: var(--slate); }
.prose .answer { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.prose .fig { margin: 2em 0; }
.prose .tbl-wrap { margin: 1.6em 0; }
.prose .photo-inline { margin: 2em 0; }
.sources { font-size: 0.9rem; color: var(--slate); margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.sources h2 { font-size: 1.05rem; margin: 0 0 0.6em; }
.sources ol { padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.sources a { overflow-wrap: anywhere; }
.disclaimer { font-size: 0.9rem; color: var(--slate); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2em; }
.aside { display: grid; gap: 1.5rem; align-content: start; font-size: 0.92rem; color: var(--slate); }
@media (min-width: 1024px) { .aside { position: sticky; top: 90px; } }
.aside h2 { font-size: 0.85rem; letter-spacing: 0.02em; color: var(--slate); margin-bottom: 0.5rem; }
.toc ol { list-style: none; display: grid; gap: 0.45rem; }
.toc a { color: var(--body); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 1023px) { .aside .toc { display: none; } }
.byline { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.92rem; color: var(--slate); }
.step-list { counter-reset: st; list-style: none; padding: 0 !important; display: grid; gap: 1rem !important; }
.step-list li { counter-increment: st; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.8rem; }
.step-list li::before { content: counter(st); font-family: var(--font-chart); color: var(--slate); font-size: 1.2rem; letter-spacing: 0.05em; }
.do-dont { display: grid; gap: 1rem; margin: 1.5em 0; }
.do-dont > div { border: 1px solid var(--line); border-radius: 3px; padding: 1rem 1.1rem; }
.do-dont h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.do-dont .no h3 { color: var(--red); }
.do-dont .yes h3 { color: var(--green); }
.do-dont p { font-size: 0.98rem; line-height: 1.5; margin: 0; }
@media (min-width: 640px) { .do-dont { grid-template-columns: 1fr 1fr; } }
.dd-table th, .dd-table td { width: 50%; vertical-align: top; white-space: normal; font-size: 0.95rem; line-height: 1.5; padding: 0.7rem 0.9rem 0.7rem 0; }
.dd-table th.dd-no { color: var(--red); }
.dd-table th.dd-yes { color: var(--green); }
.dd-table td.dd-no { color: var(--body); border-left: 3px solid var(--red); padding-left: 0.7rem; }
.dd-table td.dd-yes { border-left: 3px solid var(--green); padding-left: 0.7rem; }
.tbl-wrap--cue { position: relative; }
.tbl-note { font-size: 0.85rem; color: var(--slate); line-height: 1.5; margin: 0.6rem 0 0; }
.tbl-scroll-note { display: none; font-size: 0.82rem; color: var(--slate); margin: 0 0 0.5rem; }
@media (max-width: 639px) {
  .tbl-scroll-note { display: block; }
  .tbl-wrap--cue { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}
.related { list-style: none; display: grid; gap: 0.6rem; }
.related a { color: var(--ink); }

/* ---------- email box ---------- */
.email-box { border: 1px solid var(--line); border-radius: 3px; padding: 1.2rem 1.3rem; background: #fff; display: grid; gap: 0.9rem; max-width: 36rem; }
.email-box__addr { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }
.email-box__addr code { font-family: inherit; font-size: 1rem; font-weight: 650; color: var(--ink); background: var(--mist); padding: 0.5rem 0.8rem; border-radius: 3px; overflow-wrap: anywhere; }
.email-box .btn--small { min-height: 40px; }
@media (max-width: 420px) { .email-box__addr code { font-size: 0.88rem; padding: 0.45rem 0.6rem; } }

/* ---------- follow-up (closing) ---------- */
.followup { padding-block: clamp(3rem, 2.4rem + 3vw, 5.5rem); background: var(--navy); color: var(--on-navy-muted); }
.followup h2 { color: #fff; max-width: 22ch; }
.followup p { max-width: 58ch; margin-top: 1rem; font-size: 1.1rem; line-height: 1.6; }
.followup a:not(.btn) { color: #fff; }
.followup__actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.9rem 1.5rem; align-items: center; }
.followup__actions a, .lede a { overflow-wrap: anywhere; min-width: 0; }
.followup :focus-visible { outline-color: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--navy-2); color: var(--on-navy-muted); padding-block: clamp(3.5rem, 2.8rem + 3vw, 5.5rem) 2rem; font-size: 0.98rem; }
.footer a { color: #fff; }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer__brand { display: grid; gap: 1rem; max-width: 26rem; }
.footer h2 { color: #fff; font-size: 1rem; margin-bottom: 0.9rem; letter-spacing: 0; }
.footer ul { list-style: none; display: grid; gap: 0.55rem; }
.footer ul a { text-decoration: none; }
.footer ul a:hover { text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: 0.88rem; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); } }

/* ---------- 404 ---------- */
.notfound { padding-top: calc(var(--header-h) + clamp(2rem, 1.5rem + 3vw, 4rem)); padding-bottom: 4rem; }
.notfound__grid { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; }
.notfound__copy { display: grid; gap: 1.25rem; max-width: 34rem; }
.notfound__links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; align-items: center; }
.notfound .chart { --e: clamp(60px, 16vw, 84px); max-width: 360px; }
@media (min-width: 900px) { .notfound__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); } }

/* ---------- motion helpers (only when scripted, never when reduced) ---------- */
.js:not(.reveal-all) .opening h1 { visibility: hidden; }
.js:not(.reveal-all) .opening [data-in] { opacity: 0; }
.reveal-all .opening h1 { visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .opening h1 { visibility: visible !important; }
  .js .opening [data-in] { opacity: 1 !important; }
}

/* ---------- print: the sample report ---------- */
@media print {
  .site-header, .footer, .followup, .skip-link, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .phead { padding-top: 0; }
  .record { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
  .record--report { max-width: none; }
  a { color: #000; text-decoration: none; }
  .va td.acuity { color: #000 !important; }
}

/* ---------- v5: plain lists, hero terms, case study ---------- */
.opening__terms { margin-top: 1.1rem; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.form__body ul.lines { list-style: none; padding: 0; gap: 0; border-top: 1px solid var(--line); }
.form__body ul.lines li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.sect--mist .form__body ul.lines, .sect--mist .form__body ul.lines li { border-color: #d6dde5; }
.record__legend a { color: var(--ink); }
.cs-shot { margin: 1.4rem 0 0; }
.cs-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.cs-shot--small { max-width: 500px; }
.cs-shot figcaption { font-size: 0.85rem; color: var(--slate); margin-top: 0.6rem; line-height: 1.5; max-width: 68ch; }
.footer__credit { font-size: 0.8rem; opacity: 0.75; }
.sect--tight { padding-block: 0 clamp(1.5rem, 1rem + 2vw, 3rem); border-top: 0; }
.cs-shot--wide { margin: 0; max-width: 1400px; }

/* ranking check lead form */
.lf { margin: 1.25rem 0 2rem; }
.lf__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.lf__grid { display: grid; grid-template-columns: 1fr; gap: 1rem 1.25rem; }
@media (min-width: 640px) { .lf__grid { grid-template-columns: 1fr 1fr; } .lf__wide { grid-column: 1 / -1; } }
.lf__field { display: block; margin: 0; }
.lf__label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.lf__label small { font-weight: 400; opacity: .75; }
.lf input:not([type=hidden]):not([type=checkbox]), .lf textarea {
  display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; line-height: 1.4;
  color: #16191d; background: #fff; border: 1px solid rgba(20, 25, 30, .28); border-radius: 4px; padding: .7rem .8rem; }
.lf textarea { resize: vertical; min-height: 5.5rem; }
.lf input:focus-visible, .lf textarea:focus-visible { outline: 3px solid rgba(30, 90, 200, .35); outline-offset: 1px; border-color: rgba(20, 25, 30, .55); }
.lf__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.25rem; }
.lf__actions .btn { cursor: pointer; }
.lf__actions .btn[disabled] { opacity: .6; cursor: progress; }
.lf__note { margin: 0; font-size: .92rem; opacity: .8; max-width: 34rem; }
.lf__status { margin: 1rem 0 0; font-weight: 600; }
.lf__status:empty { display: none; }
