/* v1.1 2026-10-30 07:55:29 - responsive audit: .table-scroll wrapper rule */
/* v1.0 2026-04-22 */
:root {
  --color-ink: #14325C;
  --color-ink-deep: #0c2242;
  --color-surface: #FFFFFF;
  --color-body: #F8F4EC;
  --color-muted: #F1ECE0;
  --color-wash: #E4E8EE;
  --color-accent: #A86B30;
  --color-accent-hover: #8a5524;
  --color-accent-soft: #F3E6D5;
  --color-line: #DED7C8;
  --color-text: #1d1a14;
  --color-text-muted: #5a5345;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --container: 76rem;
  --radius: 4px;
  --shadow-soft: 0 1px 0 rgba(20, 50, 92, 0.05);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-body);
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; vertical-align: middle; }

a { color: var(--color-accent); text-underline-offset: 0.15em; }
a:hover { color: var(--color-accent-hover); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--color-ink);
  color: #fff;
  z-index: 9999;
  border-radius: var(--radius);
}

.wrap {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

#main { outline: none; }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
}

.top-bar {
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-muted);
}
.top-bar-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  padding: 0.45rem 0;
}
.top-bar-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}
.top-bar-link:hover { color: var(--color-ink); }
.top-bar-sep { color: var(--color-line); user-select: none; }

.main-header-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-ink);
}
.brand-mark { color: var(--color-ink); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; gap: 0.1rem; }
.brand-main {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-sub {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--color-ink);
  border-radius: 1px;
}
@media (min-width: 1100px) {
  .menu-toggle { display: none; }
}

/* ----- Nav ----- */
.primary-nav {
  border-top: 1px solid var(--color-line);
  background: var(--color-surface);
}
.primary-nav-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  position: relative;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 0.65rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  border-radius: var(--radius);
}
.nav-list > li > a:hover { background: var(--color-muted); color: var(--color-accent); }
.nav-list a.is-current {
  color: var(--color-accent);
  font-weight: 600;
}
.nav-list a.is-ancestor {
  color: var(--color-accent);
}
.has-mega > a::after {
  content: "";
  display: inline-block;
  margin-left: 0.4rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.5;
  vertical-align: middle;
}
.nav-cta { margin-left: auto; }
.nav-cta .btn { padding: 0.45rem 0.85rem; font-size: 0.8125rem; }

/* Mega */
.mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-top: 0;
  padding: 1.5rem;
  z-index: 120;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  box-shadow: 0 12px 30px rgba(20, 50, 92, 0.08);
}
.has-mega.open > .mega { display: grid; }
.mega-col h4 {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  font-weight: 600;
}
.mega-col-subhead {
  margin-top: 1.25rem !important;
}
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li { margin-bottom: 0.2rem; }
.mega-col a {
  display: block;
  padding: 0.3rem 0;
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.92rem;
  border-radius: var(--radius);
}
.mega-col a:hover { color: var(--color-accent); }

@media (max-width: 1099px) {
  .primary-nav {
    display: none;
    position: fixed;
    inset: 0;
    top: auto;
    max-height: min(80vh, 640px);
    overflow-y: auto;
    background: var(--color-surface);
    border-top: 1px solid var(--color-line);
    box-shadow: 0 12px 40px rgba(20, 50, 92, 0.12);
  }
  .primary-nav.open { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 0 1.25rem;
  }
  .nav-list > li > a { padding: 0.75rem 0.25rem; }
  .has-mega > a::after { float: right; margin-top: 0.6rem; }
  .mega {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    padding: 0.5rem 0 0.75rem 0.75rem;
    border: 0;
    box-shadow: none;
  }
  .has-mega.open > .mega { display: grid; }
  .nav-cta { margin-left: 0; }
  .nav-cta .btn { width: 100%; text-align: center; }
  .top-bar-sep--hide-sm { display: none; }
  .top-bar-link--hide-sm { display: none; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--color-ink);
  color: #fff;
  border-color: var(--color-ink);
}
.btn-primary:hover { background: var(--color-ink-deep); color: #fff; border-color: var(--color-ink-deep); }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-accent:hover { background: var(--color-accent-hover); color: #fff; border-color: var(--color-accent-hover); }
.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-line);
}
.btn-ghost:hover { background: var(--color-muted); }
.btn-on-dark {
  background: #fff;
  color: var(--color-ink);
  border-color: #fff;
}
.btn-on-dark:hover { background: var(--color-accent-soft); border-color: var(--color-accent-soft); color: var(--color-ink); }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* ----- Hero ----- */
.hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--color-line);
  background: linear-gradient(180deg, var(--color-body) 0%, var(--color-surface) 80%);
}
.hero-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin: 0 0 1rem;
  font-weight: 500;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}
.lede {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  max-width: 38rem;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-media { position: relative; }
.hero-media img,
.hero-media svg {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}

/* ----- Sections ----- */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.section-surface { background: var(--color-surface); }
.section-muted { background: var(--color-muted); border-block: 1px solid var(--color-line); }
.section-wash { background: var(--color-wash); border-block: 1px solid var(--color-line); }
.section-header { margin-bottom: 2rem; max-width: 42rem; }
.section-header .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}
.section-header h2 { margin: 0 0 0.75rem; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 500; }
.section-header p { margin: 0; color: var(--color-text-muted); font-size: 1.05rem; }

.grid-2 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-4 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  background: var(--color-surface);
  height: 100%;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.2rem; font-weight: 600; }
.card p { margin: 0; color: var(--color-text-muted); font-size: 0.98rem; }
.card-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--color-accent);
}
.card-link:hover { text-decoration: underline; }
.card-mark {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  color: var(--color-accent);
}

.tile-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .tile-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .tile-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.tile {
  display: block;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: var(--color-surface);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.tile:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}
.tile h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--color-ink); font-weight: 600; }
.tile p { margin: 0; font-size: 0.92rem; color: var(--color-text-muted); }
.tile-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* ----- Track splits (home two-track) ----- */
.track-split {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 820px) {
  .track-split { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
.track {
  padding: 2rem 1.75rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
}
.track-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.track h3 { margin: 0 0 0.75rem; font-size: 1.6rem; font-weight: 500; }
.track p { margin: 0 0 1rem; color: var(--color-text-muted); }
.track ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.track ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.95rem;
}
.track ul li:last-child { border-bottom: 0; }
.track ul li a { color: var(--color-ink); text-decoration: none; font-weight: 500; }
.track ul li a:hover { color: var(--color-accent); }
.track-footer { margin-top: auto; }

/* ----- Page hero (inner) ----- */
.page-hero {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-wash);
}
.page-hero-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}
.page-hero h1 { margin: 0.25rem 0 0.5rem; font-size: clamp(1.8rem, 3vw, 2.35rem); font-weight: 500; }
.page-hero p { margin: 0; color: var(--color-text-muted); max-width: 44rem; }
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.breadcrumbs a { color: var(--color-text-muted); font-weight: 500; text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs span[aria-current] { color: var(--color-ink); font-weight: 600; }

/* ----- Prose ----- */
.prose { max-width: 44rem; }
.prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.65rem;
  font-size: 1.5rem;
  font-weight: 500;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-line);
}
.prose > h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.prose h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: 1.15rem; font-weight: 600; }
.prose p, .prose li { color: var(--color-text); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose ul li, .prose ol li { margin-bottom: 0.35rem; }
.prose strong { color: var(--color-ink); }

.note {
  border-left: 3px solid var(--color-accent);
  padding: 0.85rem 1rem;
  background: var(--color-accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--color-ink);
}
.note strong { color: var(--color-ink); }
.note p:first-child { margin-top: 0; }
.note p:last-child { margin-bottom: 0; }

.callout {
  padding: 1.25rem 1.35rem;
  background: var(--color-wash);
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-ink);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.75rem 0;
}
.callout h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.callout p:last-child { margin-bottom: 0; }

/* ----- Two column doc (with TOC) ----- */
.doc-layout {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (min-width: 960px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr) 240px; align-items: start; }
  .doc-layout .page-toc { position: sticky; top: 10rem; }
}
.page-toc {
  font-size: 0.875rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  background: var(--color-surface);
}
.page-toc h2 {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 600;
}
.page-toc ul { margin: 0; padding: 0; list-style: none; }
.page-toc a { color: var(--color-ink); text-decoration: none; font-weight: 500; }
.page-toc a:hover { color: var(--color-accent); }
.page-toc li + li { margin-top: 0.45rem; }

/* ----- Video ----- */
.video-wrap {
  max-width: 900px;
  margin: 1.5rem auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-ink);
}
.video-facade { width: 100%; height: 100%; position: relative; }
.video-facade__btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  cursor: pointer;
  position: relative;
  background: transparent;
}
.video-facade__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.35s ease;
}
.video-facade__btn:hover img { opacity: 1; transform: scale(1.02); }
.video-facade__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.video-facade__play::before {
  content: "";
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 28px rgba(20, 50, 92, 0.3);
}
.video-facade__play::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 16px solid var(--color-accent);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.video-facade.is-active .video-facade__btn { display: none; }
.video-facade.is-active iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ----- Resource cards ----- */
.resource-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .resource-grid { grid-template-columns: repeat(2, 1fr); } }
.resource-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: var(--color-surface);
}
.resource-card:hover { border-color: var(--color-accent); background: var(--color-accent-soft); }
.resource-card-icon {
  width: 52px;
  height: 68px;
  border-radius: 4px;
  border: 1px solid var(--color-line);
  background: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.resource-card-title { display: block; font-weight: 600; color: var(--color-ink); }
.resource-card-meta { font-size: 0.8rem; color: var(--color-text-muted); }
.resource-card-action { color: var(--color-accent); font-size: 1.1rem; font-weight: 700; }

/* ----- FAQs ----- */
.faq-list details {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 0 1.15rem;
  margin-bottom: 0.65rem;
  background: var(--color-surface);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: 1.25rem;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "-"; }
.faq-list .faq-body {
  padding: 0 0 1rem;
  color: var(--color-text);
  font-size: 0.98rem;
}
.faq-list .faq-body p:first-child { margin-top: 0; }
.faq-list .faq-body p:last-child { margin-bottom: 0; }

/* ----- Contact / locations ----- */
.contact-channels {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) { .contact-channels { grid-template-columns: repeat(3, 1fr); } }
.contact-channel {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.15rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: var(--color-surface);
}
.contact-channel:hover { border-color: var(--color-accent); background: var(--color-accent-soft); }
.contact-channel-label { display: block; font-size: 0.72rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); }
.contact-channel-value { font-weight: 600; color: var(--color-ink); font-size: 1.05rem; }

.location-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) { .location-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .location-grid { grid-template-columns: repeat(3, 1fr); } }
.location-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: var(--color-surface);
}
.location-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; font-weight: 600; }
.location-address { margin: 0 0 0.75rem; color: var(--color-text-muted); font-size: 0.95rem; }
.location-meta { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.location-meta li { margin-bottom: 0.35rem; }

.gp-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--color-muted);
}
.gp-card h3 { margin: 0 0 0.75rem; }
.gp-card-grid { display: grid; gap: 1rem; }
@media (min-width: 560px) { .gp-card-grid { grid-template-columns: repeat(2, 1fr); } }
.gp-card-item .label {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}
.gp-card-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

/* ----- References / evidence ----- */
.ref-list {
  counter-reset: ref;
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.ref-list li {
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 0.85rem;
  color: var(--color-text);
  font-size: 0.95rem;
}
.ref-list li::before {
  counter-increment: ref;
  content: counter(ref);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  padding-top: 0.15rem;
}
.ref-list li:target {
  background: var(--color-accent-soft);
  border-radius: var(--radius);
  padding: 0.5rem 0.5rem 0.5rem 2.6rem;
  margin-left: -0.5rem;
}
sup a { color: var(--color-accent); text-decoration: none; font-weight: 600; }
sup a:hover { text-decoration: underline; }

/* ----- Comparison table (treatment options) ----- */
.compare-wrap { overflow-x: auto; margin: 1.5rem 0; }
/* v1.1 2026-10-30 07:55:29 - responsive audit: treatment-options uses .table-scroll, which had no rule (page scrolled sideways on phones) */
.table-scroll { overflow-x: auto; margin: 1.5rem 0; -webkit-overflow-scrolling: touch; }
.table-scroll > table { margin: 0; }
.compare-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-table th,
.compare-table td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-line);
}
.compare-table thead th {
  background: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 600;
}
.compare-table tbody th {
  font-weight: 600;
  color: var(--color-ink);
  background: var(--color-body);
  white-space: nowrap;
}
.compare-table tr:last-child td,
.compare-table tr:last-child th { border-bottom: 0; }

/* ----- CTA band ----- */
.cta-band {
  background: var(--color-ink);
  color: #e8eef7;
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.cta-band-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band-title { margin: 0 0 0.35rem; font-size: 1.45rem; color: #fff; font-weight: 500; }
.cta-band-lede { margin: 0; max-width: 40rem; opacity: 0.9; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid var(--color-line);
  background: var(--color-muted);
  padding: 2.5rem 0 0;
}
.site-footer-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .site-footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-col h3 {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin: 0 0 0.85rem;
  font-weight: 600;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 0.4rem; }
.footer-list a { color: var(--color-ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.footer-list a:hover { color: var(--color-accent); }
.footer-blurb { font-size: 0.9rem; color: var(--color-text-muted); margin: 0.75rem 0 0; max-width: 22rem; }
.brand--footer .brand-main { font-size: 1.15rem; }

.site-footer-base {
  margin-top: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--color-line);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.site-footer-base p { margin: 0.35rem 0; }
.footer-ahpra { font-size: 0.8rem; }
.footer-disclaimer { max-width: 42rem; margin-inline: auto; }

/* ----- Portrait / about split ----- */
.portrait-inline {
  max-width: 240px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}
.about-split { display: grid; gap: 1.5rem; }
@media (min-width: 720px) {
  .about-split {
    grid-template-columns: 240px 1fr;
    gap: 2.25rem;
    align-items: start;
  }
}

/* ----- Pioneering firsts strip ----- */
.firsts-strip {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-accent-soft);
}
@media (min-width: 720px) { .firsts-strip { grid-template-columns: repeat(4, 1fr); } }
.firsts-strip .first-item {
  padding: 0 1rem;
  border-left: 2px solid var(--color-accent);
}
.firsts-strip .first-item:first-child { border-left: 0; padding-left: 0; }
.firsts-strip .first-item h4 {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  font-weight: 600;
}
.firsts-strip .first-item p { margin: 0; font-size: 0.95rem; color: var(--color-ink); font-weight: 500; }
.firsts-strip .first-item strong { font-family: var(--font-display); font-size: 1.4rem; display: block; font-weight: 500; }

/* ----- Stats band ----- */
.stats-band {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}
@media (min-width: 600px) { .stats-band { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 1.25rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  text-align: left;
}
.stat .stat-value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--color-ink);
  display: block;
  line-height: 1.1;
}
.stat .stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}

/* ----- Check list ----- */
.check-list { list-style: none; padding-left: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 1rem;
  height: 0.55rem;
  border-left: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg);
}

/* ----- Index list ----- */
.index-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.index-list li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 500;
}
.index-list li a:hover { background: var(--color-accent-soft); border-color: var(--color-accent); color: var(--color-ink); }
.index-list li a .index-desc {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  text-align: right;
  flex: 1;
}

/* ----- Not found ----- */
.notfound {
  text-align: center;
  padding: 5rem 1rem;
}
.notfound h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin: 0 0 0.75rem; }
.notfound p { max-width: 36rem; margin: 0 auto 1.5rem; color: var(--color-text-muted); }
