:root {
  --paper: #f4f0e8;
  --paper-deep: #e9e2d5;
  --surface: rgba(255, 253, 248, 0.82);
  --surface-solid: #fffdf8;
  --ink: #101828;
  --ink-soft: #475467;
  --line: rgba(16, 24, 40, 0.15);
  --line-strong: rgba(16, 24, 40, 0.3);
  --blue: #3155e7;
  --blue-deep: #1f3dbf;
  --coral: #ff6b57;
  --lime: #d8f95f;
  --sky: #bce2ff;
  --dark-canvas: #101828;
  --on-dark: #f8f9ff;
  --on-dark-muted: #cbd4ea;
  --on-blue: #ffffff;
  --on-blue-muted: rgba(255, 255, 255, 0.8);
  --on-accent: #101828;
  --on-coral: #101828;
  --positive: #267653;
  --planned: #96542c;
  --shadow: 0 24px 80px rgba(28, 35, 58, 0.12);
  --shadow-small: 0 10px 30px rgba(28, 35, 58, 0.09);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max: 1280px;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Newsreader", Georgia, serif;
  --font-mono: "DM Mono", Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-theme="midnight"] {
  --paper: #0b1020;
  --paper-deep: #11182c;
  --surface: rgba(19, 28, 49, 0.84);
  --surface-solid: #131c31;
  --ink: #f4f7ff;
  --ink-soft: #b8c1d9;
  --line: rgba(222, 231, 255, 0.16);
  --line-strong: rgba(222, 231, 255, 0.34);
  --blue: #7892ff;
  --blue-deep: #a8b8ff;
  --coral: #ff8878;
  --lime: #d8f95f;
  --sky: #24476e;
  --dark-canvas: #060a14;
  --on-blue: #0b1020;
  --on-blue-muted: rgba(11, 16, 32, 0.76);
  --positive: #82d9b2;
  --planned: #ffc08f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --shadow-small: 0 10px 30px rgba(0, 0, 0, 0.28);
}

[data-theme="quiet"] {
  --paper: #efeee9;
  --paper-deep: #dfddd5;
  --surface: rgba(249, 248, 244, 0.9);
  --surface-solid: #f9f8f4;
  --ink: #242923;
  --ink-soft: #5f665f;
  --line: rgba(36, 41, 35, 0.15);
  --line-strong: rgba(36, 41, 35, 0.3);
  --blue: #4f6758;
  --blue-deep: #34473b;
  --coral: #c58f82;
  --lime: #ced9b8;
  --sky: #d6dfd7;
  --dark-canvas: #1d2520;
  --positive: #356b4f;
  --planned: #8b5a37;
}

/* An editorial fieldbook, progressively enhanced. No content waits for motion. */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 118px; }
html[data-theme="midnight"] { color-scheme: dark; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 4% 0%, color-mix(in srgb,var(--coral) 12%,transparent),transparent 40rem),var(--paper); font: 1rem/1.65 var(--font-body); }
body::before { content: ""; position: absolute; inset: 0 0 auto; height: 900px; z-index: -1; pointer-events: none; opacity: .3; background-image: linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(#000,transparent); }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button, a, summary, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; }
button, input, select { max-width: 100%; }
::selection { color: var(--on-accent); background: var(--lime); }
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 4px; }
.button-primary:focus-visible { outline-color: var(--ink); }
main:focus { outline: none; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 300; padding: 12px 18px; color: var(--on-blue); background: var(--blue); border-radius: 999px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-shell { width: min(calc(100% - 64px),var(--max)); margin-inline: auto; }
.site-header-wrap { position: sticky; top: 12px; z-index: 90; padding-top: 12px; }
.site-header { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; min-height: 76px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-solid); box-shadow: var(--shadow-small); }
.brand { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; text-decoration: none; }
.brand-mark { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; color: var(--on-accent); background: var(--lime); font: .8rem var(--font-mono); box-shadow: 3px 3px 0 var(--ink); }
.brand-copy { display: grid; line-height: 1.3; }
.brand-copy strong { font-size: 1rem; letter-spacing: -.035em; }
.brand-copy small { margin-top: 4px; color: var(--ink-soft); font-size: .75rem; }
.site-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 999px; font-size: .875rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--blue-deep); background: color-mix(in srgb,var(--blue) 9%,var(--surface-solid)); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-button, .menu-button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: transparent; font-size: .8125rem; font-weight: 700; }
.icon-button:hover, .menu-button:hover { border-color: var(--ink); background: var(--paper); }
.menu-button, .mobile-label { display: none; }
.mobile-navigation { display: none; margin: 0; border: 0; }
.menu-button { list-style: none; }
.menu-button::-webkit-details-marker { display: none; }
.account-button.is-signed-in { border-color: var(--positive); }
.section { padding-block: 76px; }
.home-hero { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(250px,.7fr); gap: 64px; align-items: center; padding-block: 80px 58px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
h1 { margin-bottom: 24px; font-size: clamp(3.5rem,6.8vw,6.3rem); max-width: 900px; }
h2 { margin-bottom: 18px; font-size: clamp(2.3rem,4.1vw,4rem); }
h3 { margin-bottom: 14px; font-size: 1.35rem; letter-spacing: -.025em; line-height: 1.2; }
h4 { margin-block: 24px 10px; font-size: 1rem; }
p { margin-bottom: 18px; }
.serif-italic { color: var(--blue); font-style: italic; }
.hero-lede, .page-lede { max-width: 780px; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.7; }
.eyebrow, .mono-label { color: var(--blue-deep); font: .8125rem/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { margin-bottom: 20px; }
.hero-index { padding: 32px; border-block: 1px solid var(--ink); }
.hero-index > p { margin-block: 28px; font: 500 clamp(2rem,3.4vw,3.2rem)/1.12 var(--font-display); letter-spacing: -.04em; }
.hero-index em { color: var(--blue); }
.hero-index > span { display: block; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 10px 20px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: var(--surface-solid); font-size: .875rem; font-weight: 800; text-decoration: none; }
a.button::after { content: "→"; font-family: var(--font-mono); }
a.button[href^="https:"]::after { content: "↗"; }
a.button[download]::after { content: "↓"; }
.button:hover { box-shadow: 3px 3px 0 var(--ink); }
.button-primary { color: var(--on-blue); background: var(--blue); }
.button-quiet { background: transparent; border-color: var(--line-strong); }
.button-small { min-height: 44px; padding: 9px 14px; }
.professional-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: var(--ink-soft); font-size: .875rem; align-items: center; }
.professional-links a { display: inline-flex; min-height: 44px; align-items: center; }
.section-header { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,.55fr); gap: 48px; align-items: end; margin-bottom: 32px; }
.section-header h2 { margin-bottom: 0; }
.section-intro { color: var(--ink-soft); margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.card-grid.two-up, .project-grid, .reflection-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.card-grid.four-up { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card, .panel { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); background: var(--surface-solid); }
.panel { padding: clamp(20px,4vw,44px); }
.card p { color: var(--ink-soft); }
.card h3 a { text-decoration-thickness: 1px; }
.project-card { display: flex; flex-direction: column; border-top: 3px solid var(--blue); padding: clamp(22px,3vw,36px); }
.project-content { display: flex; flex-direction: column; flex: 1; }
.project-card:nth-child(4n+2) { border-top-color: var(--coral); }
.project-card:nth-child(4n+3) { border-top-color: var(--positive); }
.project-card:nth-child(4n+4) { border-top-color: var(--ink); }
.project-card h3, .reflection-card h3 { font: 600 clamp(1.7rem,2.6vw,2.5rem)/1.1 var(--font-display); letter-spacing: -.035em; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-date { font: .8125rem/1.5 var(--font-mono); color: var(--ink-soft); }
.status-badge { display: inline-flex; padding: 5px 10px; border: 1px solid currentColor; border-radius: 999px; color: var(--blue-deep); font: .8125rem/1.5 var(--font-mono); }
.status-badge[data-status="Completed"] { color: var(--positive); }
.status-badge[data-status="Planned"] { color: var(--planned); }
.project-domain { margin-block: 20px 12px; }
.project-evidence { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 12px; margin: 2px 0 22px; font-size: .9375rem; }
.project-evidence dt { color: var(--blue-deep); font-weight: 800; }
.project-evidence dd { margin: 0; color: var(--ink-soft); }
.project-card .button-row { margin-top: auto; padding-top: 24px; }
.project-impact { padding-left: 15px; border-left: 3px solid var(--coral); }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag { display: inline-flex; padding: 4px 9px; border-radius: 999px; color: var(--ink-soft); background: color-mix(in srgb,var(--ink) 6%,transparent); font-size: .8125rem; }
.compass-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 70px; }
.compass-layout > div > p:not(.eyebrow) { max-width: 560px; color: var(--ink-soft); }
.hero-visual { display: grid; min-height: 400px; place-items: center; }
.orbit-stage { position: relative; width: min(100%,440px); aspect-ratio: 1; }
.orbit-stage::before, .orbit-stage::after { content: ""; position: absolute; inset: 10%; border: 1px dashed var(--line-strong); border-radius: 50%; }
.orbit-stage::before { animation: spin 40s linear infinite; }
.orbit-stage::after { inset: 23%; border-style: solid; }
.orbit-core { position: absolute; inset: 30%; display: grid; place-items: center; padding: 16px; border-radius: 50%; border: 1px solid var(--ink); background: var(--blue); color: var(--on-blue); box-shadow: 10px 10px 0 var(--coral); text-align: center; }
.orbit-core strong { font: 600 clamp(1.5rem,3vw,2rem)/1.1 var(--font-display); }
.orbit-label { position: absolute; display: grid; place-items: center; width: 90px; height: 90px; border: 1px solid var(--ink); border-radius: 50%; box-shadow: 4px 4px 0 var(--ink); font: .8125rem var(--font-mono); color: var(--ink); background: var(--surface-solid); }
.orbit-label:nth-child(2) { top: 0; left: 38%; color: var(--on-accent); background: var(--lime); }
.orbit-label:nth-child(3) { top: 37%; right: 0; background: var(--sky); }
.orbit-label:nth-child(4) { bottom: 0; left: 39%; background: var(--coral); color: var(--on-coral); }
.orbit-label:nth-child(5) { top: 37%; left: 0; }
.proof-strip { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-block: 20px; border-block: 1px solid var(--line-strong); font: .875rem var(--font-mono); }
.proof-strip a { min-height: 44px; display: inline-flex; align-items: center; }
.page-hero { padding-block: 74px 44px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 1000px; font-size: clamp(3.2rem,6vw,5.4rem); }
.project-group { margin-top: 46px; }
.project-group > h2 { font-size: clamp(2rem,3.5vw,3.2rem); }
.filter-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; padding-bottom: 20px; }
.filter-toolbar > .form-field { flex: 1 1 180px; }
.form-field { display: grid; gap: 6px; font-size: .875rem; font-weight: 700; }
.form-field input, .form-field select { min-width: 0; width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; color: var(--ink); background: var(--surface-solid); font-size: 1rem; }
.saved-filter { display: inline-flex; gap: 8px; align-items: center; min-height: 48px; font-size: .875rem; }
.saved-filter input { width: 24px; height: 24px; }
.save-button { min-width: 44px; min-height: 44px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface-solid); }
.save-button.is-saved { color: var(--on-accent); background: var(--lime); }
.empty-state { padding: 32px; border: 1px dashed var(--line-strong); border-radius: 16px; }
details { margin-block: 14px; border-top: 1px solid var(--line); }
summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: var(--blue-deep); font-size: .875rem; font-weight: 700; }
details p { font-size: .9375rem; }
.reflection-card .mono-label { font-size: .75rem; }
.reflection-card .button { margin-top: 22px; }
.evidence-links { padding-left: 20px; font-size: .875rem; }
.evidence-links li { margin-bottom: 12px; }
.signal-card h3 { font: 600 2rem var(--font-display); }
.signal-card .signal-evidence { margin-top: auto; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.portrait-monogram { display: grid; width: min(100%,340px); aspect-ratio: 1; place-items: center; margin-bottom: 40px; border: 1px solid var(--ink); border-radius: 48% 48% 22px 22px; color: var(--on-blue); background: repeating-radial-gradient(circle at 50% 110%,transparent 0 24px,rgba(255,255,255,.13) 25px 27px),var(--blue); box-shadow: 10px 10px 0 var(--coral); }
.portrait-monogram strong { font: 600 8rem var(--font-display); letter-spacing: -.1em; }
.professional-summary dl { margin-block: 18px; }
.professional-summary dt { font-weight: 800; margin-top: 14px; }
.professional-summary dd { margin: 0; color: var(--ink-soft); }
.story-copy p { font: 500 clamp(1.3rem,2.2vw,1.8rem)/1.5 var(--font-display); color: var(--ink-soft); }
.conduct-list { padding-left: 30px; max-width: 950px; }
.conduct-list li { padding: 16px 10px; border-bottom: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.value-card { padding: 32px; color: var(--ink); background: var(--surface-solid); }
.value-card:nth-child(3n+1) { color: var(--on-accent); background: var(--lime); }
.value-card strong { font: 500 1.65rem/1.2 var(--font-display); }
.roadmap { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.roadmap-step { padding: 26px; border-top: 3px solid var(--blue); background: var(--surface-solid); }
.roadmap-step h3 { font: 600 1.8rem/1.1 var(--font-display); }
.roadmap-step:nth-child(2) { border-color: var(--coral); }
.roadmap-step:nth-child(3) { border-color: var(--positive); }
.segmented-control { display: flex; gap: 10px; margin-bottom: 20px; }
.chip { min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface-solid); }
.chip.is-active { color: var(--on-blue); background: var(--blue); }
.chart-shell { display: flex; align-items: end; gap: 16px; min-height: 300px; padding-top: 35px; border-bottom: 1px solid var(--line); }
.chart-shell:empty { display: none; }
.chart-column { flex: 1; min-width: 0; text-align: center; font: .8125rem var(--font-mono); }
.chart-bar-wrap { height: 220px; display: flex; align-items: end; }
.chart-bar { width: 100%; height: var(--bar-height); position: relative; background: var(--blue); border: 1px solid var(--ink); border-radius: 8px 8px 0 0; }
.chart-column:nth-child(2n) .chart-bar { background: var(--coral); }
.chart-bar strong { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); color: var(--ink); white-space: nowrap; }
.chart-column > span { display: block; margin-top: 10px; overflow-wrap: anywhere; }
table { width: 100%; border-collapse: collapse; margin-block: 24px; font-size: .9375rem; }
caption { text-align: left; font-weight: 800; margin-bottom: 12px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
th { font-weight: 700; }
.habit-item { padding-block: 14px; border-bottom: 1px solid var(--line); }
.habit-item p { margin-bottom: 0; color: var(--ink-soft); }
.adoption-map { position: relative; aspect-ratio: 3/2; overflow: hidden; border-radius: 16px; background: #dceaf0; }
.adoption-map img { width: 100%; height: 100%; object-fit: cover; }
.map-region { position: absolute; display: grid; place-items: center; width: var(--dot-size,44px); height: var(--dot-size,44px); border-radius: 50%; border: 2px solid white; color: white; background: #243db4; font: .75rem var(--font-mono); transform: translate(-50%,-50%); }
.map-slider { width: 100%; min-height: 44px; margin: 10px 0; accent-color: var(--blue); }
#adoption-announcement { font-size: .875rem; color: var(--ink-soft); }
.source-link { display: inline-block; padding: 12px 16px 12px 0; }
.resource-link { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--line); text-decoration: none; }
.resource-link strong { display: block; margin-bottom: 8px; }
.resource-link::after { content: "↗"; }
.timeline { max-width: 980px; margin: 32px auto 0; }
.timeline-item { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 26px; padding-bottom: 42px; }
.timeline-date { font: .8125rem var(--font-mono); padding-top: 5px; }
.timeline-content { border-left: 3px solid var(--coral); padding-left: 26px; }
.timeline-content p { color: var(--ink-soft); }
.case-article { max-width: 840px; padding-block: 40px 70px; }
.case-article section { padding-block: 24px; }
.case-article h2 { font-size: 2.2rem; }
.case-photo { margin-block: 36px; }
.case-photo img { width: min(100%,960px); border: 1px solid var(--line); border-radius: 18px; }
.case-photo figcaption { padding-block: 14px; color: var(--ink-soft); font-size: .875rem; }
.site-footer { padding-block: 40px; border-top: 1px solid var(--line); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; color: var(--ink-soft); font-size: .875rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.is-locked { overflow: hidden; }
.dialog { width: min(680px,calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; overflow: auto; border: 1px solid var(--ink); border-radius: 24px; color: var(--ink); background: var(--surface-solid); box-shadow: 7px 7px 0 var(--ink); }
.dialog::backdrop { background: rgba(7,12,24,.65); }
.dialog-inner { padding: clamp(22px,4vw,40px); }
.dialog-header { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.dialog-header h2 { margin: 0; font-size: clamp(2rem,5vw,3rem); }
.dialog-close { width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; font-size: 1.3rem; }
.form-grid { display: grid; gap: 20px; margin-block: 26px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { font-weight: 700; margin-bottom: 10px; }
.theme-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.theme-option { display: grid; gap: 12px; min-height: 108px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); text-align: left; }
.theme-option small { color: var(--ink-soft); font-size: .8125rem; }
.theme-option.is-active { box-shadow: inset 0 0 0 2px var(--blue); border-color: var(--blue); }
.personal-greeting { font-weight: 800; }
.google-signin-host { min-height: 44px; margin-block: 24px; }
.auth-status { font-size: .9375rem; color: var(--ink-soft); }
.auth-status[data-tone="error"] { color: var(--planned); }
.auth-status[data-tone="success"] { color: var(--positive); }
.privacy-list { padding-left: 24px; }
.privacy-list li { margin-bottom: 12px; }
.signed-in-card { display: flex; align-items: center; gap: 20px; margin-block: 24px; }
.signed-in-avatar { width: 54px; height: 54px; border-radius: 50%; }
.search-results { display: grid; gap: 10px; margin-top: 24px; }
.search-result { display: grid; gap: 5px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.search-result span { font-size: .8125rem; color: var(--ink-soft); }
.search-result:hover { border-color: var(--blue); }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 150; max-width: min(360px,calc(100% - 40px)); padding: 16px; border: 1px solid var(--ink); border-radius: 12px; color: var(--on-accent); background: var(--lime); opacity: 0; pointer-events: none; }
.toast.is-visible { opacity: 1; }
/* Only the compass ring moves; it carries no unique information. */
@keyframes spin { to { transform: rotate(360deg); } }
.signal-strip:hover *, .signal-strip:focus-within * { animation-play-state: paused; }
@media (max-width: 1100px) {
 .site-header { grid-template-columns: auto auto; justify-content: space-between; }
 .site-nav { display: none; }
 .mobile-nav { display: flex; flex-direction: column; position: absolute; inset: calc(100% + 8px) 0 auto; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-solid); box-shadow: var(--shadow); }
 .mobile-nav a { min-height: 44px; padding: 10px 14px; text-decoration: none; }
 .mobile-navigation { display: block; }
 .menu-button { display: inline-flex; }
 .account-button { display: none; }
 .desktop-label { display: none; }
 .mobile-label:not(.visually-hidden) { display: inline; }
 .card-grid.four-up { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .home-hero { gap: 40px; }
 .hero-index { padding: 20px; }
 .compass-layout, .story-grid { gap: 40px; }
}
@media (max-width: 760px) {
 html { scroll-padding-top: 102px; }
 .site-shell { width: calc(100% - 32px); }
 .site-header-wrap { top: 6px; padding-top: 6px; }
 .site-header { padding: 9px; gap: 8px; min-height: 78px; border-radius: 17px; }
 .brand-copy small, .header-label { display: none; }
 .icon-button, .menu-button { padding: 8px 10px; font-size: .75rem; }
 .brand-copy strong { font-size: .875rem; }
 .home-hero { grid-template-columns: 1fr; padding-block: 36px 28px; gap: 0; }
 .home-hero h1, .page-hero h1 { font-size: clamp(2.7rem,13vw,4.4rem); line-height: 1.02; margin-bottom: 18px; }
 .hero-index { display: none; }
 .hero-lede, .page-lede { font-size: 1rem; line-height: 1.55; }
 .eyebrow { font-size: .75rem; margin-bottom: 18px; }
 .hero-copy .button-row { margin-top: 20px; }
 .hero-copy .button { font-size: .875rem; }
 .professional-links { margin-top: 12px; gap: 4px 18px; font-size: .8125rem; }
 .section { padding-block: 48px; }
 .section-header { grid-template-columns: 1fr; gap: 18px; margin-bottom: 24px; }
 .card-grid, .card-grid.two-up, .card-grid.four-up, .project-grid, .reflection-grid, .compass-layout, .story-grid, .roadmap, .values-grid { grid-template-columns: 1fr; }
 .card, .project-card { padding: 22px; }
 .project-evidence { grid-template-columns: 1fr; gap: 4px; }
 .project-evidence dd { margin-bottom: 12px; }
 .compass-layout { gap: 28px; }
 .hero-visual { min-height: 300px; }
 .orbit-stage { width: 300px; max-width: 100%; }
 .orbit-label { width: 72px; height: 72px; font-size: .75rem; }
 .orbit-core { padding: 10px; }
 .orbit-core strong { font-size: 1.35rem; }
 .page-hero { padding-block: 40px 28px; }
 .proof-strip { justify-content: start; gap: 8px 22px; }
 .proof-strip span { display: block; padding-block: 10px; }
 .chart-shell { gap: 8px; min-height: 230px; }
 .chart-bar-wrap { height: 165px; }
 .chart-column { font-size: .75rem; }
 .chart-bar strong { font-size: .6875rem; }
 .adoption-map { aspect-ratio: 3/2; }
 .map-region { font-size: .625rem; scale: .7; }
 th, td { padding: 8px 5px; }
 .theme-options { grid-template-columns: 1fr; }
 .theme-option { min-height: 76px; }
 .timeline-item { grid-template-columns: 1fr; gap: 12px; }
 .timeline-content { padding-left: 20px; }
 .footer-bottom { align-items: start; flex-direction: column; }
 .dialog { width: calc(100% - 24px); }
}
@media (max-width: 430px) {
 .brand-copy { display: none; }
 .header-actions { gap: 5px; }
 .settings-control { max-width: 122px; padding-inline: 8px; }
 .home-hero h1 { font-size: clamp(2.7rem,12vw,4.4rem); }
 .home-hero .button-primary { width: 100%; }
 .home-hero .button-quiet { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
 body, .card, .panel, .site-header, .dialog { background: Canvas; color: CanvasText; }
 .button, .icon-button, .menu-button, .save-button, .theme-option, .status-badge, .orbit-core, .orbit-label { border: 1px solid ButtonText; }
 :focus-visible { outline: 3px solid Highlight; }
 .chart-bar { background: Highlight; forced-color-adjust: none; }
 .brand-mark { border: 1px solid CanvasText; }
 body::before { display: none; }
}
@media print {
 .site-header-wrap, .js-only, .site-footer, .button-row, .save-button { display: none !important; }
 body, .card, .panel { color: #111; background: #fff; box-shadow: none; }
 .section { padding-block: 24px; }
 .timeline-item[hidden] { display: grid !important; }
}
