/* ==========================================================================
   Symphony Biosciences — site styles
   Design system: Swiss-style minimalism · Lexend + Source Sans 3
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License — see CREDITS.md) ---------- */
@font-face {
  font-family: "Lexend";
  src: url("../fonts/lexend-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Colour */
  --navy: #0B1F3A;
  --navy-2: #13294B;
  --ink: #1E293B;
  --muted: #475569;
  --teal: #0F766E;
  --teal-hover: #0B5F58;
  --teal-tint: #E6F4F2;
  --teal-light: #5EEAD4;
  --violet: #5B4BC4;
  --violet-tint: #EEECFB;
  --bg: #FFFFFF;
  --bg-alt: #F4F8FB;
  --border: #D9E2EC;
  --on-dark: #FFFFFF;
  --on-dark-muted: #CBD5E1;

  /* Type */
  --font-head: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);     /* 40 → 64 */
  --fs-h1: clamp(2.25rem, 1.65rem + 2.4vw, 3.25rem);     /* 36 → 52 */
  --fs-h2: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem);      /* 30 → 40 */
  --fs-h3: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem);   /* 22 → 26 */
  --fs-lead: clamp(1.25rem, 1.19rem + 0.25vw, 1.375rem); /* 20 → 22 */
  --fs-body: clamp(1.125rem, 1.09rem + 0.15vw, 1.1875rem); /* 18 → 19 */
  --fs-small: 1rem;

  /* Space (8px scale) */
  --s-1: 0.5rem;  --s-2: 1rem;  --s-3: 1.5rem; --s-4: 2rem;
  --s-6: 3rem;    --s-8: 4rem;  --s-12: 6rem;  --s-16: 8rem;
  --section-y: clamp(4rem, 2rem + 6vw, 8rem);
  --gutter: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  --max: 75rem;     /* 1200px */
  --measure: 68ch;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 8px 24px rgba(11, 31, 58, 0.06);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 var(--s-3);
  text-wrap: balance;
  letter-spacing: -0.015em;
}
h1 { font-size: var(--fs-h1); line-height: 1.15; }
h2 { font-size: var(--fs-h2); line-height: 1.2; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 500; margin-bottom: var(--s-2); }
p { margin: 0 0 var(--s-3); max-width: var(--measure); text-wrap: pretty; }
ul, ol { margin: 0 0 var(--s-3); padding-left: 1.25em; }
li { margin-bottom: var(--s-1); }
a { color: var(--teal); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-hover); text-decoration-thickness: 2px; }
strong { font-weight: 600; color: var(--navy); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal-tint); color: var(--navy); }

.skip-link {
  position: absolute; left: var(--s-2); top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: var(--s-1) var(--s-2); border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--s-2); color: #fff; }
.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;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-top: 0; }
.section-head { max-width: 48rem; margin-bottom: var(--s-8); }
.section-head p { color: var(--muted); font-size: var(--fs-lead); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--s-2);
}
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); }
.grid { display: grid; gap: var(--s-4); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: var(--s-6); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.split { display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 64em) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.stack > * + * { margin-top: var(--s-3); }

/* ---------- 1. Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: var(--s-3); }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand img { width: 36px; height: 36px; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; line-height: 1.1; letter-spacing: -0.01em; }
.brand-name span { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.02em; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--s-1); }
.nav-list li { margin: 0; }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem;
  font-size: 1.0625rem; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-list a:hover { color: var(--teal); background: var(--teal-tint); }
.nav-list a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-list .btn { margin-left: var(--s-1); }
.nav-list .btn:hover { color: #fff; background: var(--teal-hover); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; color: var(--navy); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }

@media (max-width: 67.99em) {
  /* backdrop-filter would trap the fixed menu panel inside the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 4.5rem 0 0 0; background: #fff; padding: var(--s-4) var(--gutter);
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { min-height: 56px; font-size: 1.375rem; font-family: var(--font-head); border-bottom: 1px solid var(--border); border-radius: 0; padding: 0; }
  .nav-list a:hover { background: none; }
  .nav-list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--teal); padding-left: var(--s-2); }
  .nav-list .btn { margin: var(--s-4) 0 0; justify-content: center; border-bottom: 0; border-radius: var(--radius-sm); padding: 0 var(--s-3); }
}

/* ---------- 2. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.5rem;
  font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; line-height: 1;
  text-decoration: none; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 20px; height: 20px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-hover); color: #fff; text-decoration: none; }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: #fff; text-decoration: none; }
.on-dark .btn--secondary { color: #fff; border-color: rgba(255,255,255,0.7); }
.on-dark .btn--secondary:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.text-link { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 600; text-decoration: none; min-height: 44px; }
.text-link svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 1rem + 6vw, 6rem) 0 var(--section-y);
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(91, 75, 196, 0.08), transparent 60%),
    radial-gradient(50rem 30rem at 10% 90%, rgba(15, 118, 110, 0.08), transparent 60%),
    var(--bg);
}
.hero h1 { font-size: var(--fs-display); line-height: 1.08; letter-spacing: -0.025em; }
.hero .lead { margin-bottom: 0; }
.hero-art { position: relative; }
.hero-art img { width: 100%; max-width: 36rem; margin: 0 auto; }
.page-hero { padding: clamp(3rem, 1rem + 5vw, 5.5rem) 0 clamp(3rem, 1rem + 4vw, 4.5rem); background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 44rem; color: var(--muted); margin: 0; }

/* ---------- 3. Card ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s-4); height: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--radius-sm); margin-bottom: var(--s-3);
  background: var(--teal-tint); color: var(--teal);
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--violet { background: var(--violet-tint); color: var(--violet); }

/* ---------- 4. Numbered steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: var(--s-2); }
.step {
  counter-increment: step; display: grid; grid-template-columns: 3.5rem 1fr; gap: var(--s-3);
  padding: var(--s-4) 0; border-top: 1px solid var(--border); margin: 0;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; color: var(--teal); line-height: 1.3;
}
.step h3 { margin-bottom: var(--s-1); }
.step p { margin: 0; color: var(--muted); }

/* Mechanism sequence (Technology page) */
.moa { display: grid; gap: var(--s-12); }
.moa-step { display: grid; gap: var(--s-4); align-items: center; }
@media (min-width: 56em) {
  .moa-step { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); }
  .moa-step:nth-child(even) .moa-figure { order: 2; }
}
.moa-figure {
  background: linear-gradient(160deg, #fff 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-3);
}
.moa-num { font-family: var(--font-head); font-weight: 600; color: var(--teal); font-size: var(--fs-small); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--s-1); display: block; }
.moa-progress { position: sticky; top: 4.5rem; z-index: 10; background: rgba(255,255,255,0.95); border-bottom: 1px solid var(--border); }
.moa-progress ol { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); display: flex; gap: var(--s-1); overflow-x: auto; }
.moa-progress li { margin: 0; flex: 1 0 auto; }
.moa-progress a {
  display: flex; align-items: center; gap: 0.5rem; min-height: 52px; padding: 0 0.5rem;
  font-size: var(--fs-small); font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent; transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.moa-progress a span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; font-size: 0.8125rem; }
.moa-progress a.is-active { color: var(--teal); border-bottom-color: var(--teal); }

.legend { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); list-style: none; padding: 0; margin: var(--s-4) 0 0; font-size: var(--fs-small); color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; }
.legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

/* ---------- 5. Pipeline ---------- */
.pipeline { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.pipeline-head, .pipeline-row { display: grid; grid-template-columns: minmax(12rem, 1.3fr) 3fr; align-items: center; }
.pipeline-head { background: var(--navy); color: #fff; font-size: var(--fs-small); font-weight: 600; }
.pipeline-head > div { padding: var(--s-2) var(--s-3); }
.pipeline-stages { display: grid; grid-template-columns: repeat(5, 1fr); }
.pipeline-stages span { padding: var(--s-2) var(--s-1); border-left: 1px solid rgba(255,255,255,0.15); text-align: center; }
.pipeline-group { padding: var(--s-2) var(--s-3); background: var(--bg-alt); font-weight: 600; color: var(--navy); border-top: 1px solid var(--border); font-size: var(--fs-small); letter-spacing: 0.06em; text-transform: uppercase; }
.pipeline-row { border-top: 1px solid var(--border); }
.pipeline-row > div:first-child { padding: var(--s-3); }
.pipeline-name { font-family: var(--font-head); font-weight: 600; color: var(--navy); display: block; }
.pipeline-meta { color: var(--muted); font-size: var(--fs-small); display: block; }
.pipeline-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); height: 100%; min-height: 5rem; align-items: center; }
.pipeline-track::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to right, transparent 0, transparent calc(20% - 1px), var(--border) calc(20% - 1px), var(--border) 20%);
}
.pipeline-bar {
  position: relative; grid-column: 1 / span var(--span, 2); height: 2.25rem; margin-left: var(--s-2);
  border-radius: 0 999px 999px 0; display: flex; align-items: center; padding: 0 var(--s-2);
  font-size: var(--fs-small); font-weight: 600; color: #fff;
  background: linear-gradient(90deg, var(--teal) 0%, #14918A 100%);
}
.pipeline-bar--potential { background: repeating-linear-gradient(135deg, #fff 0 8px, var(--violet-tint) 8px 16px); border: 2px dashed var(--violet); color: var(--violet); }
.pipeline-note { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--muted); }
.status-chip { display: inline-block; padding: 0.125rem 0.625rem; border-radius: 999px; font-size: 0.9375rem; font-weight: 600; margin-top: 0.375rem; }
.status-chip--active { background: var(--teal-tint); color: var(--teal-hover); }
.status-chip--potential { background: var(--violet-tint); color: var(--violet); }
@media (max-width: 47.99em) {
  .pipeline-head { display: none; }
  .pipeline-row { grid-template-columns: 1fr; }
  .pipeline-row > div:first-child { padding-bottom: var(--s-1); }
  .pipeline-track { min-height: 3.5rem; margin: 0 var(--s-3) var(--s-3); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
  .pipeline-bar { margin-left: 0; font-size: 0.9375rem; }
}

/* ---------- 6. Callout band ---------- */
.band { background: var(--navy); color: var(--on-dark-muted); position: relative; overflow: hidden; }
.band::after {
  content: ""; position: absolute; inset: auto -10rem -14rem auto; width: 36rem; height: 36rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.14), transparent 65%); pointer-events: none;
}
.band h2, .band h3, .band strong { color: #fff; }
.band .eyebrow { color: var(--teal-light); }
.band p { color: var(--on-dark-muted); }
.band .lead { color: #fff; }
.band a:not(.btn) { color: var(--teal-light); }
.band .container { position: relative; z-index: 1; }
.quote { font-family: var(--font-head); font-size: var(--fs-h2); line-height: 1.25; color: #fff; font-weight: 500; max-width: 26ch; margin: 0; letter-spacing: -0.015em; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--s-4); margin-top: var(--s-8); }
.stat { border-top: 2px solid var(--teal-light); padding-top: var(--s-2); }
.stat strong { display: block; font-family: var(--font-head); font-size: var(--fs-h3); margin-bottom: 0.25rem; }
.stat p { margin: 0; }

/* ---------- 7. News / publication list ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-bottom: var(--s-4); }
.filter {
  min-height: 44px; padding: 0 1.125rem; border-radius: 999px; border: 1px solid var(--border); background: #fff;
  font: 600 var(--fs-small) var(--font-body); color: var(--ink); cursor: pointer; transition: all 0.2s var(--ease);
}
.filter:hover { border-color: var(--teal); color: var(--teal); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-item { display: grid; grid-template-columns: 3.25rem 1fr; gap: var(--s-3); padding: var(--s-4) 0; border-top: 1px solid var(--border); margin: 0; }
.news-item:last-child { border-bottom: 1px solid var(--border); }
.news-item[hidden] { display: none; }
.news-item .icon-badge { margin: 0; }
.news-meta { display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--fs-small); color: var(--muted); margin-bottom: 0.25rem; }
.news-meta .tag { font-weight: 600; color: var(--teal); }
.news-item h3 { margin-bottom: var(--s-1); }
.news-item p { margin: 0; color: var(--muted); }
.placeholder {
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(91, 75, 196, 0.05) 10px 20px);
  outline: 2px dashed rgba(91, 75, 196, 0.45); outline-offset: -2px; border-radius: var(--radius-sm);
}
.ph-label { display: inline-block; font-size: 0.875rem; font-weight: 600; color: var(--violet); background: var(--violet-tint); padding: 0.125rem 0.5rem; border-radius: 4px; margin-bottom: var(--s-1); }

/* People */
.person { text-align: left; }
.person-photo { aspect-ratio: 1; border-radius: var(--radius); margin-bottom: var(--s-2); display: grid; place-items: center; color: var(--violet); font-weight: 600; font-size: var(--fs-small); text-align: center; padding: var(--s-2); }
.person h3 { margin-bottom: 0.25rem; }
.person p { color: var(--muted); margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-3); }
.field { display: grid; gap: 0.375rem; }
.field label, .field legend { font-weight: 600; color: var(--navy); font-size: 1.0625rem; }
.field .hint { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.75rem 1rem; font: inherit; font-size: 1.125rem; color: var(--ink);
  background: #fff; border: 1.5px solid #94A3B8; border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.25); }
.field [aria-invalid="true"] { border-color: #B91C1C; }
.field .error { color: #B91C1C; font-size: var(--fs-small); font-weight: 600; margin: 0; }
.form-status { padding: var(--s-2) var(--s-3); border-radius: var(--radius-sm); background: var(--teal-tint); color: var(--teal-hover); font-weight: 600; }
.form-row { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* ---------- 8. Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: var(--s-12) 0 var(--s-6); font-size: var(--fs-small); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--teal-light); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.footer-grid .brand { color: #fff; }
.footer-grid .brand-name span { color: var(--on-dark-muted); }
.footer-grid h2 { font-size: 1rem; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--s-2); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0; }
.footer-grid li a { display: inline-flex; min-height: 40px; align-items: center; }
.footer-tagline { margin-top: var(--s-2); max-width: 22rem; }
.disclaimer { margin-top: var(--s-8); padding-top: var(--s-4); border-top: 1px solid rgba(255,255,255,0.15); display: grid; gap: var(--s-1); }
.disclaimer p { max-width: none; margin: 0; }

/* ---------- Misc ---------- */
.notice { border-left: 4px solid var(--violet); background: var(--violet-tint); padding: var(--s-3); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); }
.notice p { margin: 0; }
.check-list { list-style: none; padding: 0; }
.check-list li { display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.5rem; margin-bottom: var(--s-2); }
.check-list svg { width: 22px; height: 22px; color: var(--teal); margin-top: 0.2em; }
.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.problem-list li { padding: var(--s-3); background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--violet); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 0; }
.icon { width: 24px; height: 24px; flex: none; }
.center { text-align: center; }
.center p, .center .section-head { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Current-page state on the header button keeps button styling */
.nav-list .btn[aria-current="page"] { box-shadow: none; border-radius: var(--radius-sm); color: #fff; padding: 0 1.5rem; }
.pipeline-head > .pipeline-stages { padding: 0; align-self: stretch; }
.pipeline-stages span { display: flex; align-items: center; justify-content: center; }
.nav-list .btn--primary, .nav-list .btn--primary:hover { color: #fff; }
@media (max-width: 67.99em) { .nav-list a { display: flex; } }

/* ---------- Brand logo ---------- */
.brand { gap: 0.5rem; }
.brand .brand-mark { width: 44px; height: 44px; }
.brand .brand-word { width: 150px; height: auto; }
.brand--footer { background: #fff; padding: 0.75rem 1rem; border-radius: var(--radius); }
.brand--footer img { width: 160px; height: auto; }
@media (max-width: 22em) { .brand .brand-word { width: 124px; } }

/* ---------- Home hero (text + wide illustration) ---------- */
.hero-text { max-width: 54rem; }
.hero-text h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem); }
.hero-text .lead { max-width: 44rem; }
.hero-figure { margin: var(--s-8) 0 0; }
.hero-figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 2px 4px rgba(11,31,58,0.06), 0 24px 48px -12px rgba(11,31,58,0.22); }
.hero-figure figcaption, .figure-caption { margin-top: var(--s-2); font-size: var(--fs-small); color: var(--muted); }
.solution-figure { margin: 0 0 var(--s-6); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-3); }
.solution-figure img { width: 100%; height: auto; }
.solution-points { list-style: none; padding: 0; margin: 0; }
.solution-points li { margin: 0; }

/* People (team + advisors) */
.people { gap: var(--s-6) var(--s-4); }
.people .person { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s-3); align-items: start; }
.people .person-photo { width: 7.5rem; height: 7.5rem; aspect-ratio: 1; object-fit: cover; border-radius: 50%; padding: 0; margin: 0; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--border); }
.people .person h3 { margin: 0.25rem 0; }
.person-role { color: var(--navy) !important; font-weight: 600; margin: 0 0 0.25rem; }
.person-exp { color: var(--muted); margin: 0; }
@media (max-width: 30em) {
  .people .person { grid-template-columns: 5.5rem 1fr; gap: var(--s-2); }
  .people .person-photo { width: 5.5rem; height: 5.5rem; }
}
.footer-address { font-style: normal; line-height: 1.7; }
.footer-address a { display: inline-block; margin-bottom: 0.25rem; word-break: break-word; }

/* ---------- Supporter logos ---------- */
.supporter-group { margin-top: var(--s-6); }
.supporter-group h3 { margin-bottom: var(--s-3); }
.supporter-group h4 { font-size: 1.25rem; margin-bottom: var(--s-1); }
.logo-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.logo-card { margin: 0; }
.logo-card a {
  display: flex; align-items: center; justify-content: center; height: 7rem; padding: var(--s-3);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.logo-card a:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.logo-card img { max-height: 3rem; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.logo-card--dark a { background: var(--navy); border-color: var(--navy); }
.logo-strip { padding: var(--s-8) 0; border-bottom: 1px solid var(--border); }
.logo-strip-title { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: var(--s-4); }
.logo-grid--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); }
.logo-grid--compact .logo-card a { height: 5.5rem; padding: var(--s-2); }
.logo-grid--compact .logo-card img { max-height: 2.5rem; }
.logo-strip-note { text-align: center; margin: var(--s-4) auto 0; color: var(--muted); font-size: var(--fs-small); max-width: none; }
@media (max-width: 30em) { .logo-grid--compact { grid-template-columns: 1fr 1fr; } }
@media (min-width: 56em) { .moa-step { grid-template-columns: 1.7fr 1fr; gap: var(--s-6); } }
.moa-figure img { width: 100%; height: auto; }
@media (min-width: 56em) { .moa-step:nth-child(even) { grid-template-columns: 1fr 1.7fr; } }
.form-status--error { background: #FEF2F2; color: #991B1B; }
.form-status--error a { color: #991B1B; }
.btn:disabled { opacity: 0.6; cursor: progress; }
