:root {
  --navy-950: #071a2b;
  --navy-900: #102a43;
  --navy-800: #173f5f;
  --navy-700: #24516f;
  --petrol-700: #147d78;
  --petrol-600: #1d918b;
  --petrol-300: #73d4c8;
  --petrol-100: #dff5f1;
  --blue-100: #e8f2f8;
  --ink: #142534;
  --muted: #536879;
  --line: #d5e1e7;
  --paper: #ffffff;
  --canvas: #f5f8fa;
  --warm: #f4eee3;
  --warning: #fff7dc;
  --warning-line: #d5a83d;
  --error: #9b2c2c;
  --success: #166b55;
  --shadow: 0 18px 50px rgba(10, 42, 65, 0.09);
  --radius-sm: 0.45rem;
  --radius: 0.9rem;
  --radius-lg: 1.4rem;
  --container: 76rem;
  --content: 45rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.68;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 0.22rem;
  background: linear-gradient(90deg, var(--petrol-300), var(--petrol-600), var(--navy-800));
  z-index: 1000;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--petrol-700); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--navy-800); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f2b84b; outline-offset: 3px; }
::selection { background: var(--petrol-100); color: var(--navy-950); }
h1, h2, h3, h4 { color: var(--navy-950); font-weight: 760; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 8.2vw, 4.6rem); margin: 0; }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.45rem); }
h3 { font-size: clamp(1.18rem, 3.6vw, 1.45rem); }
p, ul, ol { margin-top: 0; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.content-width { max-width: var(--content); }
.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-link { position: fixed; top: 0.75rem; left: 0.75rem; transform: translateY(-180%); padding: 0.75rem 1rem; color: white; background: var(--navy-950); z-index: 1100; border-radius: var(--radius-sm); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid rgba(213, 225, 231, 0.92); backdrop-filter: blur(12px); }
.header-inner { position: relative; width: min(100% - 1.5rem, var(--container)); min-height: 4.4rem; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.62rem; color: var(--navy-950); text-decoration: none; font-weight: 790; letter-spacing: -0.035em; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; color: white; background: var(--navy-900); border-radius: 0.68rem; box-shadow: inset 0 0 0 2px rgba(115, 212, 200, 0.5); }
.brand-mark span { font-size: 1.08rem; transform: translateY(-0.02rem); }
.brand-name { font-size: 1.02rem; white-space: nowrap; }
.brand-name span { color: var(--petrol-700); }
.menu-button { width: 2.75rem; height: 2.75rem; display: grid; place-content: center; gap: 0.3rem; border: 1px solid var(--line); border-radius: 0.7rem; background: var(--paper); color: var(--navy-900); cursor: pointer; }
.menu-button span:not(.sr-only) { width: 1.25rem; height: 2px; background: currentColor; border-radius: 2px; transition: transform 160ms ease, opacity 160ms ease; }
.menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(0.42rem) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(4) { transform: translateY(-0.42rem) rotate(-45deg); }
.main-navigation { position: absolute; display: none; top: calc(100% + 1px); right: -0.25rem; left: -0.25rem; padding: 0.8rem; background: var(--paper); border: 1px solid var(--line); border-top: 0; box-shadow: var(--shadow); }
.main-navigation.is-open { display: block; }
.main-navigation ul { list-style: none; padding: 0; margin: 0; }
.main-navigation li + li { border-top: 1px solid var(--line); }
.main-navigation a { display: flex; align-items: center; min-height: 2.9rem; padding: 0.5rem 0.65rem; color: var(--navy-900); font-size: 0.98rem; font-weight: 650; text-decoration: none; border-radius: var(--radius-sm); }
.main-navigation a[aria-current="page"] { color: var(--petrol-700); background: var(--petrol-100); }
.search-link { gap: 0.48rem; margin-top: 0.5rem; background: var(--navy-900); color: white !important; }
.search-link svg { fill: none; stroke: currentColor; stroke-width: 1.8; }

.eyebrow { margin: 0 0 0.7rem; color: var(--petrol-700); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; line-height: 1.3; text-transform: uppercase; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: 0.72rem 1.1rem; border: 0; border-radius: var(--radius-sm); color: white; background: var(--navy-900); font-weight: 750; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(16, 42, 67, 0.16); }
.button:hover { color: white; background: var(--petrol-700); }
.text-link { font-weight: 760; }
.section-heading { margin-bottom: 1.5rem; }
.section-heading h2 { margin: 0; }
.section-heading--split > p { color: var(--muted); max-width: 35rem; }

.home-hero { position: relative; overflow: hidden; background: var(--navy-950); color: white; }
.home-hero::before { content: ""; position: absolute; width: 26rem; height: 26rem; right: -13rem; top: -12rem; border: 1px solid rgba(115, 212, 200, 0.35); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(115, 212, 200, 0.035), 0 0 0 10rem rgba(115, 212, 200, 0.025); }
.home-hero-grid { position: relative; min-height: 35rem; display: grid; align-items: center; gap: 2.2rem; padding-block: clamp(3.2rem, 9vw, 6.7rem); }
.home-hero h1 { color: white; max-width: 13ch; }
.home-hero .eyebrow { color: var(--petrol-300); }
.home-lead { max-width: 40rem; margin: 1.4rem 0 1.75rem; color: #d6e4ec; font-size: clamp(1.08rem, 2.8vw, 1.32rem); line-height: 1.55; }
.home-hero .button { color: var(--navy-950); background: var(--petrol-300); box-shadow: none; }
.home-hero .button:hover { background: white; }
.calm-map { display: none; position: relative; width: min(27rem, 100%); aspect-ratio: 1; justify-self: end; }
.calm-map__core { position: absolute; inset: 34%; display: grid; place-items: center; background: var(--petrol-300); color: var(--navy-950); border-radius: 50%; font-weight: 800; }
.orbit { position: absolute; border: 1px solid rgba(115, 212, 200, 0.52); border-radius: 50%; }
.orbit--one { inset: 20%; }
.orbit--two { inset: 3%; border-style: dashed; opacity: 0.7; }
.map-label { position: absolute; padding: 0.45rem 0.7rem; color: #e5f2f5; background: rgba(23, 63, 95, 0.8); border: 1px solid rgba(115, 212, 200, 0.38); border-radius: 0.35rem; font-size: 0.78rem; letter-spacing: 0.06em; }
.map-label--one { top: 8%; left: 39%; }
.map-label--two { top: 48%; right: 0; }
.map-label--three { bottom: 10%; left: 8%; }

.decision-section { padding-block: clamp(3.2rem, 7vw, 5.5rem); background: var(--paper); }
.decision-grid { display: grid; gap: 0.85rem; }
.decision-card { position: relative; min-height: 17rem; padding: 1.3rem; overflow: hidden; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.decision-card:hover { transform: translateY(-3px); color: var(--ink); box-shadow: var(--shadow); }
.decision-card::after { content: ""; position: absolute; width: 7rem; height: 7rem; right: -2.5rem; bottom: -2.5rem; border: 1px solid currentColor; border-radius: 50%; opacity: 0.16; }
.decision-card--attack { color: white; background: var(--navy-900); border-color: var(--navy-900); }
.decision-card--attack h3, .decision-card--attack .card-link { color: white; }
.decision-card--attack p { color: #d8e5ec; }
.decision-card--symptom { background: var(--petrol-100); border-color: #b7e3dd; }
.decision-number { display: block; margin-bottom: 2.7rem; color: var(--petrol-600); font-size: 0.8rem; font-weight: 850; letter-spacing: 0.12em; }
.decision-card--attack .decision-number { color: var(--petrol-300); }
.decision-card h3 { max-width: 18rem; margin: 0 0 0.8rem; }
.decision-card p { max-width: 29rem; margin-bottom: 1.5rem; font-size: 0.98rem; }
.card-link { position: absolute; left: 1.3rem; bottom: 1.2rem; font-size: 0.9rem; font-weight: 790; }

.topic-section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.topic-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.topic-card { position: relative; min-height: 12.5rem; padding: 1.2rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); text-decoration: none; }
.topic-card:hover { color: var(--ink); border-color: var(--petrol-600); }
.topic-card h3 { margin: 1.8rem 2rem 0.5rem 0; }
.topic-card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.topic-index { color: var(--petrol-700); font-size: 0.75rem; font-weight: 820; letter-spacing: 0.12em; }
.topic-arrow { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--navy-900); background: var(--blue-100); border-radius: 50%; }
.topic-card--wide { background: var(--warm); }

.home-content-section { padding-block: clamp(3.2rem, 7vw, 5.7rem); background: var(--paper); border-top: 1px solid var(--line); }
.home-content-grid { display: grid; gap: 2.5rem; }
.principle-panel { align-self: start; padding: 1.3rem; color: var(--navy-950); background: var(--warning); border-left: 4px solid var(--warning-line); }
.principle-panel p:not(.eyebrow) { font-weight: 620; line-height: 1.55; }
.principle-panel a { font-size: 0.94rem; font-weight: 760; }

.breadcrumbs { padding-block: 1.05rem; font-size: 0.84rem; line-height: 1.4; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.32rem 0.55rem; align-items: center; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.55rem; color: #9aabb6; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { color: var(--navy-800); }
.article-header { position: relative; overflow: hidden; color: white; background: var(--navy-950); }
.article-header::after { content: ""; position: absolute; width: 18rem; height: 18rem; right: -7rem; bottom: -10rem; border: 1px solid rgba(115, 212, 200, 0.45); border-radius: 50%; box-shadow: 0 0 0 3.5rem rgba(115, 212, 200, 0.04); }
.article-header-inner { position: relative; z-index: 1; display: grid; align-items: center; gap: 2rem; padding-block: clamp(2.6rem, 7vw, 5.5rem); }
.article-header h1 { max-width: 17ch; color: white; font-size: clamp(2.15rem, 7vw, 4.15rem); line-height: 1.08; overflow-wrap: anywhere; }
.article-header .eyebrow { color: var(--petrol-300); }
.article-deck { max-width: 43rem; margin: 1.15rem 0 1.25rem; color: #d2e1e9; font-size: clamp(1.05rem, 2.7vw, 1.25rem); line-height: 1.58; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; color: #aac0cc; font-size: 0.82rem; }
.article-meta a { color: var(--petrol-300); }
.article-shell--trust .article-header { color: var(--ink); background: var(--paper); border-block: 1px solid var(--line); }
.article-shell--trust .article-header h1 { color: var(--navy-950); }
.article-shell--trust .article-header .eyebrow { color: var(--petrol-700); }
.article-shell--trust .article-deck { color: var(--muted); }
.article-shell--trust .article-meta { color: var(--muted); }
.article-shell--symptom .article-header { background: linear-gradient(115deg, var(--navy-950) 60%, #123f55); }
.article-shell--diagnosis .article-header { background: #173b50; }
.article-shell--treatment .article-header { background: linear-gradient(125deg, #0d293b, #145552); }
.article-shell--daily .article-header { background: linear-gradient(125deg, #183247, #36525f); }

.header-compass, .symptom-pulse, .diagnosis-mark, .treatment-path { display: none; }
.medical-note { display: grid; gap: 0.25rem; margin-top: 1rem; padding: 1rem 1.1rem; color: #4f451d; background: var(--warning); border: 1px solid #ead790; border-radius: var(--radius-sm); font-size: 0.92rem; line-height: 1.5; }
.cluster-overview { display: grid; gap: 1.2rem; padding-block: 2.2rem; border-bottom: 1px solid var(--line); }
.cluster-overview h2 { margin: 0; font-size: 1.55rem; }
.cluster-links { display: grid; gap: 0.45rem; }
.cluster-links a { display: flex; justify-content: space-between; gap: 0.8rem; min-height: 3.1rem; align-items: center; padding: 0.65rem 0.8rem; color: var(--navy-900); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 690; line-height: 1.35; text-decoration: none; }
.cluster-links a:hover { border-color: var(--petrol-600); }

.article-layout { display: grid; justify-content: center; padding-block: clamp(2.6rem, 7vw, 5.7rem); }
.article-layout .prose { width: min(100%, var(--content)); }
.toc-wrap { min-width: 0; }
.toc { margin-bottom: 2rem; padding: 0.9rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.toc summary { color: var(--navy-900); font-size: 0.95rem; line-height: 1.45; font-weight: 740; cursor: pointer; }
.toc ol { padding-left: 1.15rem; margin: 0.8rem 0 0; }
.toc li { margin: 0.38rem 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--petrol-700); text-decoration: underline; }

.prose {
  min-width: 0;
  max-width: 45rem;
  font-size: clamp(1.0625rem, 1.02rem + 0.2vw, 1.125rem);
  line-height: 1.72;
  font-weight: 400;
}
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.05em; }
.prose h2 {
  margin: 2.25em 0 0.55em;
  padding-top: 0.1rem;
  font-size: clamp(1.7rem, 1.35rem + 1.15vw, 2.2rem);
  line-height: 1.19;
  letter-spacing: -0.025em;
}
.prose h3 { margin: 2em 0 0.7em; font-size: clamp(1.2rem, 1.1rem + 0.3vw, 1.45rem); line-height: 1.25; }
.prose h2 + p { font-size: 1em; }
.prose ul, .prose ol { padding-left: 1.35em; margin: 0 0 1.35em; font-size: 1em; line-height: 1.68; }
.prose li { margin: 0; padding-left: 0.18rem; }
.prose li + li { margin-top: 0.35rem; }
.prose strong { color: var(--navy-950); }
.prose blockquote { margin: 1.7rem 0; padding: 1rem 1.2rem; color: var(--navy-800); background: var(--blue-100); border-left: 4px solid var(--petrol-600); }
.prose blockquote p { margin: 0; }
.prose code { padding: 0.1em 0.3em; background: var(--blue-100); border-radius: 0.2rem; font-size: 0.92em; }
.prose a { font-weight: 610; }
.external-link::after { content: " ↗"; font-size: 0.72em; text-decoration: none; }
.prose--home h2 { margin-top: 2.4rem; }
.source-note { margin-top: 3rem; padding: 1rem 1.1rem; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 0.88rem; }
.source-note summary { color: var(--navy-800); font-weight: 760; cursor: pointer; }
.source-note ul { margin: 0.85rem 0 0; padding-left: 1.15rem; }
.source-note li { margin: 0.35rem 0; }
.source-note a { font-weight: 600; }

.related-section { padding-block: clamp(3rem, 7vw, 5rem); background: var(--paper); border-top: 1px solid var(--line); }
.related-grid { display: grid; gap: 0.75rem; }
.related-card { position: relative; min-height: 12.5rem; padding: 1.15rem 1.15rem 2.6rem; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); text-decoration: none; }
.related-card > span { color: var(--petrol-700); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.related-card h3 { margin: 0.65rem 0 0.55rem; font-size: 1.17rem; }
.related-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.related-card b { position: absolute; right: 1rem; bottom: 0.9rem; color: var(--petrol-700); }
.related-card:hover { color: var(--ink); border-color: var(--petrol-600); }

.utility-hero { padding-block: clamp(3rem, 8vw, 5.8rem); color: white; background: var(--navy-950); }
.utility-hero h1 { color: white; font-size: clamp(2.2rem, 7vw, 4rem); }
.utility-hero > .container > p:not(.eyebrow) { margin-top: 1rem; color: #d2e1e9; }
.search-form { margin-top: 2rem; }
.search-form label { display: block; margin-bottom: 0.55rem; font-size: 0.94rem; font-weight: 760; }
.search-field { display: grid; gap: 0.55rem; }
.search-field input { width: 100%; min-height: 3.2rem; padding: 0.75rem 0.9rem; color: var(--ink); background: white; border: 2px solid transparent; border-radius: var(--radius-sm); }
.search-field button { min-height: 3.2rem; padding: 0.65rem 1.2rem; color: var(--navy-950); background: var(--petrol-300); border: 0; border-radius: var(--radius-sm); font-weight: 780; cursor: pointer; }
.search-status { min-height: 1.6rem; margin: 0.85rem 0 0 !important; font-size: 0.9rem; }
.search-results-wrap { padding-block: clamp(2.8rem, 7vw, 5rem); }
.search-results { display: grid; gap: 0.75rem; max-width: 52rem; margin-inline: auto; }
.search-result { padding: 1.1rem; background: var(--paper); border: 1px solid var(--line); }
.search-result > span { color: var(--petrol-700); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.search-result h2 { margin: 0.4rem 0; font-size: 1.25rem; }
.search-result p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.empty-state { padding: 1.4rem; background: var(--paper); border-left: 4px solid var(--petrol-600); }
.empty-state h2 { margin-top: 0; font-size: 1.45rem; }

.contact-panel { margin-top: 3rem; padding: clamp(1.2rem, 4vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-panel > h2 { margin-top: 0; }
.contact-panel > p { color: var(--muted); font-size: 0.9rem; }
.contact-form { display: grid; gap: 1rem; }
.form-field label { display: block; margin-bottom: 0.35rem; color: var(--navy-900); font-size: 0.92rem; font-weight: 730; }
.form-field label span { color: var(--muted); font-weight: 500; }
.form-field input, .form-field textarea { width: 100%; padding: 0.72rem 0.8rem; color: var(--ink); background: white; border: 1px solid #a9bbc6; border-radius: var(--radius-sm); }
.form-field textarea { resize: vertical; }
.form-field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field-error { display: block; margin-top: 0.3rem; color: var(--error); font-size: 0.82rem; font-weight: 650; }
.form-actions { display: grid; align-items: center; gap: 0.7rem; }
.form-actions p { margin: 0; color: var(--muted); font-size: 0.8rem; }
.form-message { padding: 0.8rem; border-radius: var(--radius-sm); font-weight: 650; }
.form-message--error { color: var(--error) !important; background: #fff0f0; border: 1px solid #e8bcbc; }
.form-message--success { color: var(--success) !important; background: #eaf8f2; border: 1px solid #9ed4c2; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.full-sitemap { margin-top: 3rem; }
.sitemap-columns { display: grid; gap: 1rem; }
.sitemap-columns section { padding: 1rem; background: var(--paper); border: 1px solid var(--line); break-inside: avoid; }
.sitemap-columns h3 { margin: 0 0 0.7rem; font-size: 1.1rem; }
.sitemap-columns ul { margin: 0; font-size: 0.92rem; }

.not-found { min-height: 68vh; display: grid; align-items: center; padding-block: 3rem; background: var(--paper); }
.not-found-inner { display: grid; gap: 1.5rem; align-items: center; max-width: 58rem; }
.error-number { margin: 0; color: var(--petrol-100); font-size: clamp(6rem, 30vw, 15rem); font-weight: 900; letter-spacing: -0.09em; line-height: 0.75; }
.not-found h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-block: 1.5rem; }
.quick-links { display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.92rem; }

.site-footer { color: #c6d6df; background: var(--navy-950); }
.footer-inner { width: min(100% - 2rem, var(--container)); margin-inline: auto; display: grid; gap: 2rem; padding-block: 3.5rem; }
.brand--footer { color: white; }
.footer-intro p { max-width: 25rem; margin: 1rem 0 0; color: #93aab7; font-size: 0.92rem; }
.footer-group { display: grid; align-content: start; gap: 0.38rem; }
.footer-group h2 { margin: 0 0 0.4rem; color: white; font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-group a { min-height: 2rem; color: #b6cbd6; font-size: 0.9rem; text-decoration: none; }
.footer-group a:hover { color: var(--petrol-300); text-decoration: underline; }
.footer-bottom { width: min(100% - 2rem, var(--container)); margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; padding-block: 1rem 1.4rem; color: #839eac; border-top: 1px solid rgba(213, 225, 231, 0.15); font-size: 0.76rem; }

@media (min-width: 35rem) {
  .container { width: min(100% - 3rem, var(--container)); }
  .header-inner { width: min(100% - 2.25rem, var(--container)); }
  .decision-card, .topic-card { padding: 1.5rem; }
  .card-link { left: 1.5rem; }
  .topic-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-field { grid-template-columns: minmax(0, 1fr) auto; }
  .search-field button { min-width: 7.5rem; }
  .form-actions { grid-template-columns: auto 1fr; }
  .sitemap-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 48rem) {
  .decision-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decision-card--attack { grid-row: span 2; min-height: 100%; }
  .decision-card--attack .decision-number { margin-bottom: 7rem; }
  .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topic-card--wide { grid-column: span 2; }
  .section-heading--split { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
  .section-heading--split > p { margin-bottom: 0; }
  .home-content-grid { grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.5fr); align-items: start; }
  .principle-panel { position: sticky; top: 6.5rem; }
  .article-header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .header-compass, .symptom-pulse, .diagnosis-mark, .treatment-path { display: block; position: relative; width: 13rem; height: 13rem; }
  .header-compass { display: grid; place-items: center; border: 1px solid rgba(115, 212, 200, 0.42); border-radius: 50%; box-shadow: 0 0 0 2.5rem rgba(115, 212, 200, 0.04), inset 0 0 0 2.3rem rgba(115, 212, 200, 0.05); }
  .header-compass::before, .header-compass::after { content: ""; position: absolute; background: var(--petrol-300); }
  .header-compass::before { width: 1px; height: 115%; }
  .header-compass::after { width: 115%; height: 1px; }
  .header-compass span { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; color: var(--navy-950); background: var(--petrol-300); border-radius: 50%; font-size: 1.5rem; font-weight: 850; }
  .symptom-pulse { display: flex; align-items: center; justify-content: center; gap: 0.9rem; }
  .symptom-pulse span { width: 1.25rem; border-radius: 1rem; background: var(--petrol-300); }
  .symptom-pulse span:nth-child(1) { height: 3rem; opacity: 0.5; }
  .symptom-pulse span:nth-child(2) { height: 7rem; }
  .symptom-pulse span:nth-child(3) { height: 4.6rem; opacity: 0.75; }
  .diagnosis-mark { border: 1px solid rgba(255,255,255,0.24); border-radius: var(--radius); transform: rotate(3deg); }
  .diagnosis-mark i { display: block; width: 65%; height: 0.55rem; margin: 2rem auto; background: var(--petrol-300); border-radius: 1rem; }
  .diagnosis-mark i:nth-child(2) { width: 42%; }
  .diagnosis-mark i:nth-child(3) { width: 55%; }
  .treatment-path { display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; }
  .treatment-path span { padding: 0.55rem 0.8rem; border: 1px solid rgba(115,212,200,0.45); color: #d6f2ef; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
  .treatment-path span:nth-child(2) { transform: translateX(1.6rem); background: rgba(115,212,200,0.12); }
  .medical-note { grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; }
  .cluster-overview { grid-template-columns: minmax(11rem, 0.5fr) minmax(0, 1.5fr); }
  .cluster-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-field--full, .form-actions, .honeypot { grid-column: 1 / -1; }
  .sitemap-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .not-found-inner { grid-template-columns: auto minmax(0, 1fr); }
  .footer-inner { grid-template-columns: 1.5fr repeat(4, 1fr); }
}

@media (min-width: 68rem) {
  .header-inner { min-height: 4.8rem; }
  .brand-name { font-size: 1.12rem; }
  .menu-button { display: none; }
  .main-navigation { position: static; display: flex; align-items: center; gap: 0.2rem; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .main-navigation ul { display: flex; align-items: center; gap: 0.05rem; }
  .main-navigation li + li { border: 0; }
  .main-navigation a { min-height: 2.6rem; padding-inline: 0.62rem; font-size: 0.86rem; }
  .main-navigation a[aria-current="page"] { background: transparent; box-shadow: inset 0 -2px var(--petrol-600); border-radius: 0; }
  .search-link { margin: 0 0 0 0.45rem; padding-inline: 0.75rem !important; }
  .search-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .home-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr); }
  .calm-map { display: block; }
  .decision-grid { grid-template-columns: 1.1fr 1fr 1fr; }
  .decision-card--attack { grid-row: auto; }
  .decision-card--attack .decision-number { margin-bottom: 2.7rem; }
  .topic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .article-layout--toc { grid-template-columns: 14rem minmax(0, var(--content)); gap: 4.5rem; justify-content: center; }
  .toc-wrap { grid-column: 1; }
  .toc { position: sticky; top: 6.3rem; max-height: calc(100vh - 8rem); margin: 0; padding: 0 0.45rem 0 1rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; background: transparent; border: 0; border-left: 1px solid var(--line); border-radius: 0; }
  .toc summary { pointer-events: none; list-style: none; }
  .toc summary::-webkit-details-marker { display: none; }
  .article-layout--toc .prose { grid-column: 2; }
  .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sitemap-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 82rem) {
  .main-navigation a { font-size: 0.91rem; padding-inline: 0.78rem; }
}

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

@media print {
  .site-header, .site-footer, .related-section, .toc-wrap, .button { display: none !important; }
  body { background: white; color: black; font-size: 11pt; }
  .article-header { color: black; background: white; }
  .article-header h1, .article-header .eyebrow, .article-deck, .article-meta { color: black; }
  .article-layout { display: block; padding: 1rem 0; }
  a { color: black; }
}
