@charset "UTF-8";
/* ==========================================================================
   CardiaCare Services — stylesheet
   Design system: Alden (parchment / ink / sky highlight / sage action)
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --parchment: #f3f1eb;
  --ink: #28262a;
  --graphite: #4a4a4c;
  --paper: #ffffff;
  --fog: #dddcdd;
  --silver: #cbcbcb;
  --sky: #97cde5;
  --sky-soft: #e8f3f8;
  --sage: #c8dfaa;
  --sage-deep: #7f9d58;
  --alert: #b3261e;
  --alert-bg: #fdf1f0;

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Source Serif 4', ui-serif, Georgia, Cambria, 'Times New Roman', serif;

  --max: 1200px;
  --narrow: 760px;
  --radius-card: 16px;
  --radius-img: 24px;
  --radius-pill: 100px;
  --hair: 1px solid var(--fog);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: 860px; }
.band { padding-block: 72px; }
.band--cream { background: var(--parchment); }
.band--tight { padding-block: 56px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 1002;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-pill);
  font-size: 14px; transition: top .15s ease;
}
.skip:focus { top: 12px; }

/* ---------- Disclaimer top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.16px;
  text-align: center;
  padding: 8px 16px;
}
.topbar strong { font-weight: 500; color: #fff; }
.topbar a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 60;
  background: var(--paper);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.4px;
  flex: 0 0 auto;
}
.brand svg { width: 30px; height: 30px; color: var(--ink); }
.brand span small {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--graphite);
  margin-top: 1px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14px;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--parchment); }
.nav a[aria-current='page'] { font-weight: 500; background: var(--parchment); }
.nav-cta { margin-left: 8px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  border: var(--hair);
}
.burger span, .burger span::before, .burger span::after {
  content: ''; display: block; width: 18px; height: 1.5px; background: var(--ink);
  position: relative; transition: transform .18s ease, opacity .18s ease;
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded='true'] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--sage); color: var(--ink); }
.btn--primary:hover { background: #bad19a; }
.btn--ghost { border: 1px solid var(--silver); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 30px;
  background: var(--parchment);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24px;
  text-transform: uppercase;
}
.badge--sky { background: var(--sky-soft); }

/* ---------- Hero ---------- */
.hero { padding-block: 64px 56px; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  max-width: 880px;
  margin: 22px auto 0;
  text-wrap: balance;
}
.hero .lede {
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.36px;
  color: var(--graphite);
  max-width: 620px;
  margin: 22px auto 0;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-top: 30px;
}
.hero-note {
  font-size: 13px;
  color: var(--graphite);
  margin-top: 22px;
  letter-spacing: -0.1px;
}
.mark { color: var(--sky); }

/* ---------- Section headings ---------- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.sec-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.sec-head p {
  font-size: 17px;
  color: var(--graphite);
  margin-top: 14px;
  letter-spacing: -0.3px;
  line-height: 1.6;
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--graphite);
  display: block;
  margin-bottom: 14px;
}

/* ---------- Category cards (cream stage) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: var(--paper);
  border-radius: var(--radius-card);
  border: var(--hair);
  transition: border-color .15s ease;
}
.cat-card:hover { border-color: var(--silver); }
.cat-card .ico {
  width: 40px; height: 40px; border-radius: var(--radius-pill);
  background: var(--parchment);
  display: grid; place-items: center;
  margin-bottom: 6px;
}
.cat-card .ico svg { width: 20px; height: 20px; color: var(--ink); }
.cat-card h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.36px; line-height: 1.3; }
.cat-card p { font-size: 14px; color: var(--graphite); line-height: 1.5; letter-spacing: -0.1px; }
.cat-card .more {
  font-size: 13px; font-weight: 500; color: var(--ink);
  margin-top: auto; padding-top: 10px;
}

/* ---------- Test cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  background: var(--paper);
  border: var(--hair);
  border-radius: var(--radius-card);
  transition: border-color .15s ease;
}
.card:hover { border-color: var(--silver); }
.card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.4px;
}
.card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.card p { font-size: 14.5px; color: var(--graphite); line-height: 1.55; letter-spacing: -0.15px; }
.card .card-meta {
  font-size: 12px;
  color: var(--graphite);
  letter-spacing: 0.2px;
  margin-top: auto;
  padding-top: 8px;
}
.card--on-cream { border: 0; }

/* ---------- List rows (guides) ---------- */
.rows { border-top: var(--hair); }
.rows a.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: var(--hair);
  transition: background-color .15s ease;
}
.rows a.row:hover { background: var(--parchment); }
.rows .row h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.34px; line-height: 1.35; }
.rows .row p { font-size: 14px; color: var(--graphite); margin-top: 4px; letter-spacing: -0.1px; }
.rows .row .arrow { color: var(--graphite); font-size: 18px; }

/* ---------- Quote / editorial band ---------- */
.quote-band { text-align: center; max-width: 800px; margin-inline: auto; }
.quote-band blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.32;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.quote-band .attrib {
  margin-top: 24px;
  font-size: 14px;
  color: var(--graphite);
}
.quote-band .attrib strong { color: var(--ink); font-weight: 500; }

/* ---------- Editorial trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: var(--hair);
  padding-top: 36px;
  margin-top: 8px;
}
.trust h3 { font-size: 15px; font-weight: 500; margin-bottom: 6px; letter-spacing: -0.2px; }
.trust p { font-size: 14px; color: var(--graphite); line-height: 1.55; letter-spacing: -0.1px; }
.trust a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--silver); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto;
  text-wrap: balance;
}
.cta-band p { color: var(--graphite); margin-top: 14px; font-size: 16.5px; letter-spacing: -0.3px; }
.cta-band .hero-actions { margin-top: 26px; }

/* ---------- Breadcrumbs ---------- */
.crumbs {
  font-size: 12.5px;
  color: var(--graphite);
  letter-spacing: 0.1px;
  padding-top: 22px;
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: '/'; color: var(--silver); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Article layout ---------- */
.article-head { padding-block: 26px 34px; }
.article-head h1 {
  font-size: clamp(29px, 4.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-top: 14px;
  max-width: 820px;
  text-wrap: balance;
}
.article-head .standfirst {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--graphite);
  letter-spacing: -0.36px;
  margin-top: 16px;
  max-width: 720px;
}
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--graphite);
  letter-spacing: -0.05px;
}
.byline .sep { color: var(--silver); }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 48px;
  align-items: start;
  padding-bottom: 72px;
}
.article-body { max-width: var(--narrow); }

/* Educational notice */
.notice {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: var(--hair);
  border-radius: 12px;
  background: var(--paper);
  margin-bottom: 30px;
}
.notice svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--ink); margin-top: 1px; }
.notice p { font-size: 13.5px; line-height: 1.55; color: var(--graphite); letter-spacing: -0.1px; }
.notice strong { color: var(--ink); font-weight: 500; }

/* Key takeaways */
.takeaways {
  background: var(--parchment);
  border-radius: var(--radius-card);
  padding: 28px 30px;
  margin-bottom: 36px;
}
.takeaways h2 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 14px;
}
.takeaways ul { list-style: none; display: grid; gap: 10px; }
.takeaways li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.55;
  letter-spacing: -0.2px;
}
.takeaways li::before {
  content: '';
  position: absolute;
  left: 2px; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage-deep);
}

/* Prose */
.prose { font-size: 18px; line-height: 1.72; letter-spacing: -0.34px; color: var(--ink); }
.prose > * + * { margin-top: 20px; }
.prose h2 {
  font-size: clamp(23px, 2.8vw, 29px);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.03em;
  margin-top: 48px;
  scroll-margin-top: 90px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-top: 34px;
}
.prose p { margin-top: 20px; }
.prose ul, .prose ol { margin-top: 18px; padding-left: 22px; }
.prose li { margin-top: 9px; padding-left: 4px; }
.prose li::marker { color: var(--graphite); }
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--sky);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 600; }
.prose blockquote {
  margin: 30px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--sky);
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.prose figure { margin: 34px 0 0; }
.prose figure img, .prose figure svg { border-radius: var(--radius-img); width: 100%; }
.prose figcaption {
  font-size: 13px;
  color: var(--graphite);
  margin-top: 10px;
  line-height: 1.5;
  letter-spacing: -0.05px;
}
.prose .callout {
  background: var(--sky-soft);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  font-size: 16.5px;
  line-height: 1.6;
  letter-spacing: -0.25px;
}
.prose .callout--alert {
  background: var(--alert-bg);
  border-left: 3px solid var(--alert);
  border-radius: 8px;
}
.prose .callout > * + * { margin-top: 10px; }
.prose .callout h3 { font-size: 16px; margin: 0; letter-spacing: -0.1px; }

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin-top: 26px;
  border: var(--hair);
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}
table.med { font-size: 15px; line-height: 1.45; min-width: 520px; letter-spacing: -0.15px; }
table.med caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--graphite);
  padding: 14px 16px 10px;
  letter-spacing: -0.05px;
}
table.med th, table.med td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--fog); vertical-align: top; }
table.med thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1px;
  white-space: nowrap;
  border-bottom: 0;
}
table.med tbody tr:nth-child(even) { background: #faf9f6; }
table.med tbody tr:last-child td { border-bottom: 0; }
table.med td strong { font-weight: 600; }

/* Sidebar */
.aside { position: sticky; top: 24px; display: grid; gap: 20px; }
.toc-box {
  border: var(--hair);
  border-radius: var(--radius-card);
  padding: 22px 24px;
}
.toc-box h2 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 12px;
}
.toc-box ol { list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.toc-box li { counter-increment: toc; }
.toc-box a {
  display: block;
  font-size: 13.5px;
  line-height: 1.4;
  padding: 6px 0 6px 20px;
  color: var(--graphite);
  position: relative;
  letter-spacing: -0.1px;
}
.toc-box a::before {
  content: counter(toc);
  position: absolute; left: 0; top: 6px;
  font-size: 11px;
  color: var(--silver);
  font-variant-numeric: tabular-nums;
}
.toc-box a:hover, .toc-box a.is-active { color: var(--ink); }
.toc-box a.is-active { font-weight: 500; }
.aside-card {
  background: var(--parchment);
  border-radius: var(--radius-card);
  padding: 24px;
}
.aside-card h2 { font-size: 15px; font-weight: 500; letter-spacing: -0.2px; margin-bottom: 10px; }
.aside-card ul { list-style: none; display: grid; gap: 8px; }
.aside-card li a {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--graphite);
  display: block;
  letter-spacing: -0.1px;
}
.aside-card li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* Mobile TOC */
.toc-mobile { display: none; margin-bottom: 30px; border: var(--hair); border-radius: 12px; }
.toc-mobile summary {
  cursor: pointer;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after { content: '+'; font-size: 18px; color: var(--graphite); line-height: 1; }
.toc-mobile[open] summary::after { content: '\2212'; }
.toc-mobile ol { list-style: none; padding: 0 18px 14px; display: grid; gap: 2px; }
.toc-mobile a { display: block; font-size: 14px; padding: 6px 0; color: var(--graphite); }

/* Ad slots */
.ad {
  margin: 30px 0;
  min-height: 280px;
  display: grid;
  place-items: center;
  background: #fbfaf8;
  border: 1px dashed #e6e4df;
  border-radius: 12px;
  overflow: hidden;
}
.ad::before {
  content: 'Advertisement';
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b9b6ae;
}
.ad--sidebar { min-height: 250px; margin: 0; }
.ad ins { display: block; }

/* FAQ */
.faq { margin-top: 52px; }
.faq h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.faq details { border-bottom: var(--hair); }
.faq details:first-of-type { border-top: var(--hair); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 34px 20px 0;
  position: relative;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.3px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 4px; top: 17px;
  font-size: 22px; font-weight: 400; color: var(--graphite); line-height: 1;
}
.faq details[open] summary::after { content: '\2212'; }
.faq .answer {
  padding: 0 40px 22px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--graphite);
  letter-spacing: -0.2px;
}
.faq .answer p + p { margin-top: 12px; }

/* References */
.refs { margin-top: 52px; padding-top: 26px; border-top: var(--hair); }
.refs h2 {
  font-size: 12px; font-weight: 500; letter-spacing: 0.7px; text-transform: uppercase; color: var(--graphite);
  margin-bottom: 14px;
}
.refs ol { padding-left: 20px; display: grid; gap: 8px; }
.refs li { font-size: 13.5px; line-height: 1.55; color: var(--graphite); letter-spacing: -0.1px; }
.refs a { text-decoration: underline; text-decoration-color: var(--silver); text-underline-offset: 2px; }
.refs a:hover { color: var(--ink); }

/* Related */
.related { margin-top: 56px; padding-top: 30px; border-top: var(--hair); }
.related h2 {
  font-size: 12px; font-weight: 500; letter-spacing: 0.7px; text-transform: uppercase; color: var(--graphite);
  margin-bottom: 18px;
}
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-grid a {
  padding: 18px 20px;
  border: var(--hair);
  border-radius: 12px;
  transition: border-color .15s ease;
}
.related-grid a:hover { border-color: var(--silver); }
.related-grid span {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 5px;
}
.related-grid strong { font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -0.2px; display: block; }

/* ---------- Hub pages ---------- */
.hub-head { padding-block: 56px 40px; text-align: center; }
.hub-head h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  max-width: 780px;
  margin: 0 auto;
  text-wrap: balance;
}
.hub-head .lede { color: var(--graphite); font-size: 17.5px; max-width: 640px; margin: 18px auto 0; line-height: 1.6; letter-spacing: -0.3px; }
.hub-group + .hub-group { margin-top: 56px; }
.hub-group > h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 6px;
}
.hub-group > p.group-note { font-size: 14.5px; color: var(--graphite); margin-bottom: 22px; letter-spacing: -0.15px; }

/* ---------- Legal / institutional ---------- */
.legal-body { max-width: 760px; margin-inline: auto; padding-bottom: 80px; }
.legal-body .prose { font-size: 17px; line-height: 1.7; }
.legal-body .prose h2 { font-size: 24px; margin-top: 42px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  padding-bottom: 80px;
  align-items: start;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.05px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: var(--hair);
  border-radius: 10px;
  letter-spacing: -0.2px;
}
.form-field textarea { min-height: 160px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.form-hint { font-size: 12.5px; color: var(--graphite); margin-top: 5px; }
.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 16px; }
.alert-box {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 22px;
  letter-spacing: -0.15px;
}
.alert-box--ok { background: #f0f6e9; border: 1px solid #d8e7c4; }
.alert-box--err { background: var(--alert-bg); border: 1px solid #f3d6d3; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--parchment);
  border-top: var(--hair);
  padding-top: 64px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: var(--graphite); line-height: 1.6; max-width: 300px; letter-spacing: -0.1px; }
.footer-col h2 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { font-size: 14px; color: var(--ink); letter-spacing: -0.15px; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 2px; }
.footer-disclaimer {
  background: var(--paper);
  border: var(--hair);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.footer-disclaimer h2 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-disclaimer p { font-size: 13px; line-height: 1.6; color: var(--graphite); letter-spacing: -0.05px; }
.footer-disclaimer p + p { margin-top: 8px; }
.footer-disclaimer strong { color: var(--ink); font-weight: 500; }
.footer-bottom {
  border-top: var(--hair);
  padding-block: 20px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--graphite);
  letter-spacing: -0.05px;
}
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding-block: 96px 110px; }
.nf .code {
  font-family: var(--font-serif);
  font-size: 88px;
  line-height: 1;
  color: var(--sky);
  letter-spacing: -0.04em;
}
.nf h1 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.035em; margin-top: 18px; }
.nf p { color: var(--graphite); margin-top: 14px; }
.nf .hero-actions { margin-top: 28px; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 32px; }
.nf-links a { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--silver); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-inner { min-height: 66px; gap: 12px; }
  .nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: var(--hair);
    padding: 12px 24px 20px;
  }
  .nav-open .nav a { padding: 12px 8px; font-size: 16px; border-radius: 10px; }
  .nav-open .nav-cta { margin: 10px 0 0; }
  .nav-open .nav-cta .btn { width: 100%; }
  .layout { grid-template-columns: 1fr; gap: 0; }
  .aside { display: none; }
  .toc-mobile { display: block; }
  .article-body { max-width: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .trust { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .band { padding-block: 52px; }
  .band--tight { padding-block: 44px; }
  .hero { padding-block: 40px 44px; }
  .hero h1 { font-size: 32px; letter-spacing: -0.035em; }
  .hero .lede { font-size: 16.5px; }
  .hero-actions .btn { width: 100%; }
  .sec-head { margin-bottom: 30px; }
  .cat-grid, .card-grid, .related-grid { grid-template-columns: 1fr; }
  .cat-card, .card { padding: 24px; }
  .prose { font-size: 17px; line-height: 1.7; letter-spacing: -0.2px; }
  .prose h2 { margin-top: 38px; }
  .article-head { padding-block: 18px 24px; }
  .article-head h1 { font-size: 27px; }
  .article-head .standfirst { font-size: 16.5px; }
  .takeaways { padding: 22px 20px; }
  .faq summary { font-size: 16px; padding-right: 28px; }
  .faq .answer { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-disclaimer { padding: 20px; }
  .ad { min-height: 250px; }
  .nf .code { font-size: 68px; }
  .topbar { font-size: 11px; padding: 7px 12px; }
  .brand { font-size: 16.5px; }
  .brand svg { width: 26px; height: 26px; }
  .footer-bottom { flex-direction: column; }
}

@media print {
  .topbar, .site-header, .site-footer, .aside, .ad, .related, .toc-mobile { display: none !important; }
  body { font-size: 11pt; }
  .layout { display: block; }
}

/* ---------- Photography ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  text-align: left;
}
.hero-grid .hero-copy { max-width: 620px; }
.hero-grid h1 { margin-inline: 0; }
.hero-grid .hero .lede,
.hero-grid .lede { margin-inline: 0; }
.hero-grid .hero-actions { justify-content: flex-start; }
.hero-figure {
  margin: 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--sky-soft);
  box-shadow: 0 1px 2px rgba(40,38,42,.06), 0 18px 40px -18px rgba(40,38,42,.28);
}
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.article-figure {
  margin: 34px 0 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--sky-soft);
  box-shadow: 0 1px 2px rgba(40,38,42,.06), 0 14px 32px -18px rgba(40,38,42,.24);
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.card-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  background: var(--sky-soft);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .hero-figure { order: -1; }
  .hero-figure img { aspect-ratio: 16 / 9; }
  .hero-grid h1 { font-size: clamp(30px, 7.4vw, 40px); }
}
@media print {
  .hero-figure, .article-figure, .card-thumb { display: none; }
}

.row--thumb {
  grid-template-columns: auto 1fr auto;
  gap: 20px;
}
.row-thumb {
  flex: 0 0 132px;
  width: 132px;
  height: 82px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--sky-soft);
}
@media (max-width: 640px) {
  .row-thumb { flex-basis: 92px; width: 92px; height: 60px; }
}

/* ---------- Contrast fixes (WCAG AA) ---------- */
:root { --sky-deep: #345f7c; }   /* 5.6:1 on #f3f1eb — used for text, never for fills */
.mark { color: var(--sky-deep); }
.badge--sky { color: var(--sky-deep); }
.card-meta, .byline { color: #5d5a63; }
.hero-grid { align-items: start; }
.hero-figure { margin-top: 6px; }
.hero-grid .hero-actions { gap: 14px; margin-top: 30px; }
.hero-grid .lede { margin-bottom: 0; }
.hero-note { margin-top: 20px; }
.btn--ghost { border-color: #b9b5ad; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--sky-deep);
  outline-offset: 3px;
}
