/* AAM — Alliance for Advanced Medicine */
:root {
  --blue: #0a66c2;      /* AA on white (5.7:1) and under white text (5.7:1); the logo keeps #1086f4 */
  --blue-deep: #084f9c;
  --navy: #0a2342;
  --navy-2: #123560;
  --ink: #12253f;
  --muted: #55657c;
  --line: #dbe5f1;
  --tint: #f0f6fe;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(7, 30, 61, .04);
  --font-head: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-brand: "Montserrat", "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.005em; }
h1, h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.015em; line-height: 1.12; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 48px); margin-inline: auto; }

.skip { position: absolute; inset-inline-start: 8px; top: 8px; transform: translateY(-400%); background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { transform: none; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-deep); margin-bottom: 14px; display: block;
}
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #8cc4ff; }

/* ---------- Announcement bar ---------- */
:root { --header: 72px; }
.announce { position: relative; z-index: 61; background: var(--navy); color: #a9c6e8; font-size: .82rem; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 12px; padding-block: 9px; }
.announce a { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.announce a:hover { text-decoration: underline; }
.announce .pulse { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #4aa3ff; animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,163,255,.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(74,163,255,0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header); color: #fff; background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
}
main { margin-top: calc(var(--header) * -1); }
/* The frosted background lives on a pseudo-element: a backdrop-filter on the header itself
   would make it the containing block of the fixed mobile drawer. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(7,30,61,.08), 0 14px 34px -16px rgba(7,30,61,.22);
  transition: opacity .3s ease;
}
.site-header.scrolled, .site-header.menu-open { color: var(--navy); }
.site-header.scrolled::before, .site-header.menu-open::before { opacity: 1; }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 24px; }

.brand { flex: none; white-space: nowrap; display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { height: 40px; width: auto; }
.brand .logo-b { display: none; }
.site-header.scrolled .logo-b, .site-header.menu-open .logo-b { display: block; }
.site-header.scrolled .logo-w, .site-header.menu-open .logo-w { display: none; }
.brand-text { font-family: var(--font-head); font-weight: 800; letter-spacing: .08em; font-size: 1.15rem; line-height: 1; }
.brand-text small { display: block; font-weight: 600; font-size: .56rem; letter-spacing: .14em; color: rgba(255,255,255,.72); margin-top: 4px; text-transform: uppercase; transition: color .3s; }
.site-header.scrolled .brand-text small, .site-header.menu-open .brand-text small { color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a:not(.btn) {
  position: relative; display: block; white-space: nowrap; padding: 10px 13px; border-radius: 10px;
  text-decoration: none; color: inherit; font-weight: 500; font-size: .95rem; opacity: .92;
  transition: background-color .2s, opacity .2s, color .2s;
}
.nav-links > li > a:not(.btn)::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; border-radius: 2px;
  background: #6db4ff; transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.site-header.scrolled .nav-links > li > a:not(.btn)::after, .site-header.menu-open .nav-links > li > a:not(.btn)::after { background: var(--blue); }
.nav-links > li > a:not(.btn):hover { background: rgba(255,255,255,.1); opacity: 1; }
.site-header.scrolled .nav-links > li > a:not(.btn):hover { background: var(--tint); color: var(--blue-deep); }
.nav-links > li > a:not(.btn):hover::after, .nav-links > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links > li > a[aria-current="page"] { opacity: 1; font-weight: 600; }
.has-sub > a:not(.btn) { padding-right: 4px; }
.has-sub > a:not(.btn)::after { right: 4px; }

.sub-toggle {
  display: grid; place-items: center; width: 24px; height: 24px; margin-left: 0; padding: 0; background: none; border: 0;
  border-radius: 6px; cursor: pointer; color: inherit; opacity: .75; transition: opacity .2s, background-color .2s;
}
.sub-toggle:hover { opacity: 1; background: rgba(255,255,255,.12); }
.site-header.scrolled .sub-toggle:hover { background: var(--tint); }
.sub-toggle svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }

.nav-cta { margin-left: 12px; }
.nav-cta .btn {
  gap: 8px; padding: 11px 20px; font-size: .88rem; color: #fff; border: 0;
  background: linear-gradient(135deg, #3aa0ff, #1086f4 55%, #0b6fd0);
  box-shadow: 0 8px 20px -8px rgba(16,134,244,.8), inset 0 1px 0 rgba(255,255,255,.28);
}
.nav-cta .btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nav-cta .btn:hover { background: linear-gradient(135deg, #1086f4, #0b6fd0 70%, #0a5ab0); transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(16,134,244,.85), inset 0 1px 0 rgba(255,255,255,.28); }
.nav-cta .btn:hover svg { transform: translateX(3px); }

.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer; color: inherit;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 12px; transition: background-color .2s, border-color .2s; }
.site-header.scrolled .nav-toggle, .site-header.menu-open .nav-toggle { background: var(--tint); border-color: var(--line); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative; content: ""; transition: transform .25s, top .25s, background-color .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Mega menus (desktop) ---------- */
.ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.go { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

@media (min-width: 1081px) {
  .nav-links > li { position: relative; height: var(--header); display: flex; align-items: center; }
  .sub {
    position: absolute; top: 100%; left: -16px; width: 620px; padding-top: 10px; z-index: 70; color: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(8px) scale(.985); transform-origin: top left;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .has-sub:nth-last-child(-n+5) .sub { left: auto; right: -16px; transform-origin: top right; }
  .sub-inner {
    display: grid; grid-template-columns: 210px 1fr; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 34px 70px -22px rgba(7,30,61,.38), 0 6px 18px rgba(7,30,61,.08);
  }
  .has-sub.open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
@media (min-width: 1081px) and (hover: hover) {
  .has-sub:hover .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .has-sub:hover .sub-toggle svg { transform: rotate(180deg); }
}
.sub-intro {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; color: #d3e2f5;
  background: linear-gradient(160deg, var(--navy), var(--navy-2) 70%, var(--blue-deep) 150%);
}
.sub-intro::after { content: ""; position: absolute; right: -56px; bottom: -56px; width: 200px; height: 200px; background: url("assets/mark-white.png") center / contain no-repeat; opacity: .1; pointer-events: none; }
.sub-eyebrow { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8cc4ff; }
.sub-intro p { margin: 0; font-size: .88rem; line-height: 1.55; }
.sub-all { position: relative; z-index: 1; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .86rem; text-decoration: none; }
.sub-all .go { transition: transform .2s; }
.sub-all:hover { color: #fff; } .sub-all:hover .go { transform: translateX(4px); }
.sub-list { list-style: none; margin: 0; padding: 10px; display: grid; gap: 2px; align-content: start; }
.sub-list a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background-color .15s; }
.sub-list .ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--tint); color: var(--blue); transition: background-color .15s, color .15s; }
.sub-list .t strong { display: block; font-family: var(--font-head); font-size: .9rem; line-height: 1.25; color: var(--navy); }
.sub-list .t > span { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.35; color: var(--muted); }
.sub-list .go { margin-left: auto; color: var(--blue); opacity: 0; transform: translateX(-6px); transition: opacity .15s, transform .15s; }
.sub-list a:hover { background: var(--tint); }
.sub-list a:hover .ic, .sub-list a[aria-current="page"] .ic { background: var(--blue); color: #fff; }
.sub-list a:hover .go { opacity: 1; transform: none; }
.sub-list a[aria-current="page"] .t strong { color: var(--blue-deep); }

@media (min-width: 1081px) and (max-width: 1340px) {
  .brand-text small { display: none; }
  .nav-links > li > a:not(.btn) { padding: 9px 10px; font-size: .9rem; }
  .nav-links > li > a:not(.btn)::after { left: 10px; right: 10px; }
  .has-sub > a:not(.btn)::after { right: 4px; }
  .nav-cta { margin-left: 6px; }
  .nav-cta .btn { padding: 10px 16px; font-size: .84rem; }
  .sub { width: 580px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  padding: 13px 24px; border-radius: 999px; border: 2px solid var(--blue);
  background: var(--blue); color: #fff; text-decoration: none; cursor: pointer; transition: .18s;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn.outline { background: transparent; color: var(--blue-deep); }
.btn.outline:hover { background: var(--tint); color: var(--blue-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 80% 20%, #0f4c91 0%, transparent 60%), var(--navy);
  padding: calc(clamp(72px, 12vw, 150px) + var(--header)) 0 clamp(72px, 10vw, 120px);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero .container { position: relative; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 em { font-style: normal; color: #6db4ff; }
.hero .lead { color: #c9dcf3; font-size: 1.25rem; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 36px;
  font-size: .85rem; color: #c9dcf3; border: 1px solid rgba(255,255,255,.2);
  padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.05);
}
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6db4ff; box-shadow: 0 0 0 4px rgba(109,180,255,.25); }

.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-deep) 130%);
  padding: calc(clamp(56px, 8vw, 104px) + var(--header)) 0 clamp(56px, 8vw, 104px);
}
.page-hero::after {
  content: ""; position: absolute; right: -90px; top: 50%; width: 460px; height: 460px; transform: translateY(-50%);
  background: url("assets/mark-white.png") center / contain no-repeat; opacity: .08; pointer-events: none;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 20ch; }
.page-hero .lead { color: #c9dcf3; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section.alt { background: var(--tint); }
.section.dark { background: var(--navy); color: #d3e2f5; }
.section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.dark .lead { color: #b3c8e3; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(7,30,61,.06), 0 16px 36px rgba(7,30,61,.1); }
.card .num {
  font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .14em;
  color: var(--blue); display: block; margin-bottom: 14px;
}
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }
.card ul { color: var(--muted); font-size: .96rem; padding-left: 1.1em; margin: 14px 0 0; }
.card li { margin-bottom: 6px; }
.card .tagline { color: var(--blue-deep); font-weight: 600; margin-bottom: 14px; font-size: 1rem; }
.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); box-shadow: none; }
.dark .card p, .dark .card ul { color: #b3c8e3; }
.dark .card .num { color: #6db4ff; }

.icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--tint); display: grid; place-items: center;
  margin-bottom: 18px; color: var(--blue);
}
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dark .icon { background: rgba(109,180,255,.14); color: #6db4ff; }

/* Principle band */
.principle {
  text-align: center; padding: clamp(56px, 8vw, 96px) 0;
  background: var(--blue); color: #fff; position: relative; overflow: hidden;
}
.principle::before, .principle::after {
  content: ""; position: absolute; width: 380px; height: 380px; background: url("assets/mark-white.png") center / contain no-repeat; opacity: .1;
}
.principle::before { left: -120px; top: -60px; }
.principle::after { right: -120px; bottom: -80px; }
.principle blockquote { margin: 0 auto; max-width: 24ch; position: relative; z-index: 1;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4.2vw, 3rem); line-height: 1.15; }
.principle p { position: relative; z-index: 1; margin: 18px 0 0; font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; opacity: .9; }
.principle.quiet { background: var(--tint); color: var(--navy); }
.principle.quiet::before, .principle.quiet::after { filter: invert(36%) sepia(95%) saturate(2400%) hue-rotate(196deg); opacity: .07; }
.principle.quiet blockquote { max-width: 30ch; font-size: clamp(1.5rem, 3.2vw, 2.3rem); }

/* Stat-like facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.fact { border-top: 3px solid var(--blue); padding-top: 16px; }
.fact strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); margin-bottom: 6px; }
.fact span { color: var(--muted); font-size: .96rem; }

/* Timeline / steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.steps li { position: relative; padding: 0 0 34px 72px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .85rem; box-shadow: 0 0 0 6px #fff;
}
.alt .steps li::before { box-shadow: 0 0 0 6px var(--tint); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
.steps ul { margin: 10px 0 0; padding-left: 1.1em; color: var(--muted); font-size: .96rem; }

/* Horizontal path (home) */
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: p; position: relative; }
.path li { list-style: none; position: relative; padding: 0 14px; text-align: center; counter-increment: p; }
.path li::before {
  content: counter(p); display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 800; position: relative; z-index: 1;
}
.path li::after { content: ""; position: absolute; top: 25px; left: calc(50% + 30px); width: calc(100% - 60px); height: 2px; background: rgba(255,255,255,.25); }
.path li:last-child::after { display: none; }
.path h3 { font-size: 1rem; margin-bottom: 6px; }
.path p { font-size: .9rem; color: #b3c8e3; margin: 0; }
.path { padding: 0; margin: 0; }

/* Phases */
.phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.phase { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 22px 20px; }
.phase:first-child { background: var(--navy); border-color: var(--navy); border-top-color: #6db4ff; }
.phase:first-child h3, .phase:first-child .num { color: #fff; }
.phase:first-child p { color: #b3c8e3; }
.phase .num { font-family: var(--font-head); font-size: .75rem; font-weight: 800; letter-spacing: .14em; color: var(--blue); display: block; margin-bottom: 10px; }
.phase h3 { font-size: 1.05rem; }
.phase p { font-size: .9rem; color: var(--muted); margin: 0; }
.phase .badge { display: inline-block; margin-top: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6db4ff; }

/* Criteria list */
.criteria { display: grid; gap: 16px; }
.criterion { display: grid; grid-template-columns: 64px 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.criterion .n { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--blue); line-height: 1; }
.criterion h3 { margin-bottom: 6px; }
.criterion p { color: var(--muted); margin-bottom: 8px; font-size: .98rem; }
.criterion ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .94rem; columns: 2; column-gap: 32px; }

.ranked { counter-reset: r; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.ranked li::before { content: counter(r); width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--blue-deep); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .85rem; }
.ranked strong { color: var(--navy); }
.ranked span { color: var(--muted); font-size: .95rem; }

.callout { border-left: 4px solid var(--blue); background: var(--tint); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; }
.callout h3 { margin-bottom: 6px; }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-color: #e0a63a; background: #fff8ea; }

.checklist, .crosslist { list-style: none; padding: 0; margin: 0; }
.checklist li, .crosslist li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg) translateY(-3px); }
.crosslist li::before, .crosslist li::after { content: ""; position: absolute; left: 3px; top: .8em; width: 14px; height: 3px; background: #c4513b; border-radius: 2px; transform: rotate(45deg); }
.crosslist li::after { transform: rotate(-45deg); }

/* Accordion */
.acc { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; }
.acc summary { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); line-height: 1; transition: transform .2s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc .body { padding: 0 22px 20px; color: var(--muted); font-size: .98rem; }
.acc .body p:last-child { margin: 0; }

/* Org chart */
.org { display: grid; gap: 16px; }
.org .row { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.org .box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.org .box.top { background: var(--navy); border-color: var(--navy); color: #b3c8e3; grid-column: 1 / -1; }
.org .box.top .h3 { color: #fff; }
.org .box .h3 { font-size: 1.05rem; margin-bottom: 8px; }
.org .box p, .org .box ul { font-size: .94rem; color: var(--muted); margin: 0; }
.org .box.top p { color: #b3c8e3; }
.org ul { padding-left: 1.1em; }

/* Funding */
.fund { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.fund .card { padding: 24px 20px; }
.fund h3 { font-size: 1rem; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span { font-size: .82rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--blue-deep); border: 1px solid #cfe2f9; }
.dark .tags span { background: rgba(109,180,255,.12); border-color: rgba(109,180,255,.3); color: #a9d2ff; }

/* Domains */
.domain { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.domain:last-child { border-bottom: 1px solid var(--line); }
.domain .n { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--blue); line-height: 1; opacity: .9; }
.domain p { color: var(--muted); max-width: 62ch; }

/* Form */
.form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid #c6d4e6; border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hint { font-size: .85rem; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checks { border: 1.5px solid #c6d4e6; border-radius: 10px; padding: 12px 16px 6px; margin: 0; min-width: 0; }
.checks legend { font-weight: 600; font-size: .92rem; color: var(--navy); padding: 0 6px; }
.checks label { display: flex; gap: 10px; align-items: center; font-weight: 400; font-size: .95rem; margin-bottom: 8px; color: var(--ink); }
.checks input { width: 18px; height: 18px; padding: 0; accent-color: var(--blue); flex: none; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #a9bdd8; padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #a9bdd8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; }
.footer-brand img { height: 44px; }
.footer-brand .brand-text small { color: #8aa3c4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: .85rem; }
.disclaimer { max-width: 70ch; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}


/* ---------- Multi-page additions ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; margin-bottom: 22px; color: #9fc3ec; }
.crumbs a { color: #cfe3fb; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.crumbs span:not([aria-current]) { opacity: .6; }

.subnav { position: sticky; top: var(--header); z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; white-space: nowrap; padding: 15px 14px; text-decoration: none; color: var(--muted);
  font-weight: 500; font-size: .92rem; border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.subnav a:hover { color: var(--blue-deep); }
.subnav a[aria-current="page"] { color: var(--blue-deep); font-weight: 700; border-bottom-color: var(--blue); }

.card.link { display: block; text-decoration: none; color: inherit; }
.card.link h3 { color: var(--navy); }
.card.link .more { display: inline-block; margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--blue-deep); }
.card.link:hover .more { color: var(--blue); }

.sticky { position: sticky; top: 140px; }
.split { align-items: start; }

.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-2) 60%, var(--blue-deep) 140%); color: #fff; padding: clamp(44px, 6vw, 72px) 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.8vw, 2rem); margin-bottom: 6px; }
.cta-band p { margin: 0; color: #c9dcf3; max-width: 52ch; }
.cta-band .btn-row { margin: 0; }

.pager { border-top: 1px solid var(--line); background: #fff; }
.pager-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 28px; }
.pager a { display: block; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: .18s; }
.pager a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.pager span { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.pager strong { font-family: var(--font-head); color: var(--navy); }
.pager .next { text-align: right; }

.toc { display: flex; flex-wrap: wrap; gap: 10px; }
.toc a { padding: 10px 18px; border-radius: 999px; border: 1px solid #cfe2f9; background: var(--tint); text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--blue-deep); }
.toc a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table th, .table td { text-align: left; padding: 16px 20px; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--tint); font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.table tbody th { font-weight: 600; color: var(--navy); width: 34%; }
.table td { color: var(--muted); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }

.pillar { padding: 48px 0; border-top: 1px solid var(--line); }
.pillar:first-child { border-top: 0; padding-top: 0; }
.pillar-head { max-width: 760px; margin-bottom: 24px; }
.pillar-head .num { display: block; font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: .16em; color: var(--blue); margin-bottom: 8px; }
.pillar-head h2 { margin-bottom: 8px; }
.pillar-body > p { max-width: 70ch; color: var(--muted); }
.pillar .split { margin-top: 24px; }
.pillar h4 { margin-bottom: 12px; }

.stage { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 36px 0; border-top: 1px solid var(--line); }
.stage:first-child { border-top: 0; padding-top: 0; }
.stage-n { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--blue); }
.stage p { color: var(--muted); max-width: 66ch; }
.stage .stage-note { margin-top: 14px; padding: 12px 16px; background: var(--tint); border-radius: 10px; color: var(--ink); font-size: .95rem; }
.stage ul { columns: 2; column-gap: 32px; max-width: 760px; }
.stage li { break-inside: avoid; }

.phase-block { display: grid; grid-template-columns: 140px 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); }
.phase-block:first-child { border-top: 0; padding-top: 0; }
.phase-num span { display: block; font-family: var(--font-head); font-size: .75rem; font-weight: 800; letter-spacing: .16em; color: var(--blue); }
.phase-num strong { display: block; font-family: var(--font-head); font-size: 3.4rem; line-height: 1; color: var(--navy); }
.badge-here { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.phase-block ul { columns: 2; column-gap: 32px; }
.phase-block li { break-inside: avoid; }
.phase-block.current .phase-num strong { color: var(--blue); }

.safeguards { display: grid; gap: 20px; }
.safeguard { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.safeguard .icon { margin: 0; }
.safeguard .num { display: block; font-family: var(--font-head); font-size: .75rem; font-weight: 800; letter-spacing: .14em; color: var(--blue); margin-bottom: 6px; }
.safeguard p { color: var(--muted); max-width: 70ch; }
.safeguard ul { columns: 2; column-gap: 32px; font-size: .96rem; }
.safeguard li { break-inside: avoid; }

.domain h4 { color: var(--navy); }
.domain .n { min-width: 70px; }

@media (max-width: 900px) {
  .sticky { position: static; }
  .stage ul, .phase-block ul, .safeguard ul { columns: 1; }
  .phase-block { grid-template-columns: 1fr; gap: 12px; }
  .phase-num strong { font-size: 2.4rem; display: inline-block; margin-left: 8px; }
  .phase-num span { display: inline-block; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .stage { grid-template-columns: 1fr; gap: 6px; }
  .safeguard { grid-template-columns: 1fr; padding: 22px; }
  .pager-grid { grid-template-columns: 1fr; }
  .pager .next { text-align: left; }
  .subnav a { padding: 13px 12px; font-size: .88rem; }
  .table th, .table td { padding: 12px 14px; }
  .table tbody th { width: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .phases, .fund { grid-template-columns: repeat(2, 1fr); }
  .path { grid-template-columns: 1fr; gap: 28px; }
  .path li { display: grid; grid-template-columns: 52px 1fr; text-align: left; column-gap: 18px; padding: 0; }
  .path li::before { margin: 0; grid-row: span 2; }
  .path li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--drawer-top, var(--header)); z-index: 59;
    flex-direction: column; align-items: stretch; gap: 0; display: none; overflow-y: auto; overscroll-behavior: contain;
    padding: 6px 24px calc(28px + env(safe-area-inset-bottom)); background: #fff; color: var(--navy);
  }
  .nav-links.open { display: flex; animation: drawer .25s ease; }
  @keyframes drawer { from { opacity: 0; transform: translateY(-8px); } }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links > li > a:not(.btn) {
    padding: 18px 4px; border-radius: 0; opacity: 1; color: var(--navy);
    font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  }
  .nav-links > li > a:not(.btn):hover { background: none; color: var(--blue); }
  .nav-links > li > a:not(.btn)::after { display: none; }
  .nav-links > li > a[aria-current="page"] { color: var(--blue); }
  .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .has-sub > a { flex: 1; }
  .sub-toggle { width: 44px; height: 44px; color: var(--navy); opacity: 1; }
  .sub-toggle svg { width: 18px; height: 18px; }
  .sub { display: none; flex-basis: 100%; }
  .has-sub.open .sub { display: block; }
  .sub-inner { display: block; }
  .sub-intro { display: none; }
  .sub-list { padding: 0 0 14px 4px; }
  .sub-list a { padding: 10px 6px; }
  .sub-list .go { display: none; }
  .nav-cta { border: 0; margin: 22px 0 0; }
  .nav-cta .btn { width: 100%; padding: 16px 24px; font-size: 1rem; }
}
@media (max-width: 640px) {
  .announce .long { display: none; }
}
@media (max-width: 440px) {
  .nav { gap: 8px; }
  .brand-text small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .announce .pulse { animation: none; }
  .nav-links.open { animation: none; }
}
@media (max-width: 900px) {
  .g3, .g2, .split { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .criterion ul { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  .org .row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .g4, .phases, .fund { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .domain { grid-template-columns: 1fr; gap: 8px; }
  .criterion { grid-template-columns: 1fr; gap: 8px; }
  .form { padding: 22px; }
  .page-hero::after { display: none; }
}

.phase-num .badge-here { display: inline-block; color: #fff; font-size: .7rem; letter-spacing: .08em; }

/* ---------- News ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button {
  font: inherit; font-weight: 600; font-size: .9rem; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid #cfe2f9; background: #fff; color: var(--blue-deep); transition: .15s;
}
.filters button:hover { background: var(--tint); }
.filters button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(7,30,61,.06), 0 16px 36px rgba(7,30,61,.1); }
.news-card[hidden] { display: none; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; font-size: .82rem; color: var(--muted); }
.news-meta .tag { padding: 3px 10px; border-radius: 999px; background: var(--tint); border: 1px solid #cfe2f9; color: var(--blue-deep); font-weight: 600; }
.news-card h3 { color: var(--navy); font-size: 1.15rem; }
.news-card p { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }
.news-card .more { margin-top: auto; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--blue-deep); }
.news-card.featured { grid-column: 1 / -1; padding: clamp(28px, 4vw, 48px); background: linear-gradient(135deg, var(--navy), var(--navy-2) 70%, var(--blue-deep) 150%); border-color: transparent; }
.news-card.featured h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 26ch; }
.news-card.featured p { color: #c9dcf3; font-size: 1.08rem; max-width: 62ch; }
.news-card.featured .news-meta { color: #9fc3ec; }
.news-card.featured .news-meta .tag { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.news-card.featured .more { color: #8cc4ff; }
.news-empty { color: var(--muted); }

.article { width: min(720px, 100%); margin-inline: auto; font-size: 1.06rem; }
.article h2 { font-size: 1.5rem; margin-top: 2em; }
.article p, .article li { color: #2c3e57; }
.article blockquote {
  margin: 28px 0; padding: 20px 26px; border-left: 4px solid var(--blue); background: var(--tint); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.35; color: var(--navy);
}
.article ul { padding-left: 1.2em; }
.article ul.checklist { padding-left: 0; }

@media (max-width: 1020px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } .news-card { padding: 22px; } }

.site-header.menu-open::before { background: #fff; }

/* keep the call-to-action on one line */
.nav-links > li { flex: none; }
.nav-cta .btn { white-space: nowrap; flex: none; }

.nav.container { width: min(1320px, 100% - 48px); }
@media (min-width: 1081px) and (max-width: 1599px) { .brand-text small { display: none; } }

@media (min-width: 1081px) and (max-width: 1190px) {
  .nav { gap: 12px; }
  .nav-links { gap: 0; }
  .nav-links > li > a:not(.btn) { padding: 9px 6px; font-size: .86rem; }
  .nav-links > li > a:not(.btn)::after { left: 6px; right: 6px; }
  .has-sub > a:not(.btn)::after { right: 2px; }
  .nav-cta { margin-left: 4px; }
  .nav-cta .btn { padding: 9px 13px; font-size: .8rem; }
}

/* adaptive forms */
.when { display: grid; gap: 18px; }
.when[hidden] { display: none; }
.role-note { margin: 0; padding: 12px 16px; border-radius: 10px; background: var(--tint); color: var(--ink); font-size: .92rem; }
.role-note a { font-weight: 600; }


/* ---------- Institutional tone ----------
   Flat colors, thin borders, small radii, no motion for its own sake. */
.brand-text { font-family: var(--font-brand); }
.eyebrow, .sub-eyebrow { font-weight: 600; letter-spacing: .14em; }

/* hero: solid, with the mark as a quiet watermark instead of an animated network */
.hero { background: var(--navy); }
.hero::after {
  content: ""; position: absolute; right: -80px; top: 50%; width: 560px; height: 560px; transform: translateY(-50%);
  background: url("assets/mark-white.png") center / contain no-repeat; opacity: .07; pointer-events: none;
}
.hero canvas { display: none; }
.hero h1 { max-width: 20ch; }
.hero h1 em { color: #a9d0f7; font-style: italic; }
.status-pill { border-radius: 4px; background: none; border-color: rgba(255,255,255,.22); }
.status-pill::before { box-shadow: none; }
.page-hero { background: var(--navy); }
.cta-band { background: var(--navy); }
.news-card.featured { background: var(--navy); }
.sub-intro { background: var(--navy); }
.principle { background: var(--navy); }
.principle blockquote { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.25; letter-spacing: -.01em; }
.principle.quiet { background: var(--tint); color: var(--navy); }
.principle p { font-weight: 500; letter-spacing: .12em; }
.principle::before, .principle::after { opacity: .06; }

/* controls */
.btn { border-radius: 6px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.btn:hover, .nav-cta .btn:hover { transform: none; }
.nav-cta .btn { background: var(--blue); box-shadow: none; padding: 11px 18px; }
.nav-cta .btn:hover { background: var(--blue-deep); box-shadow: none; }
.toc a, .filters button { border-radius: 6px; }
.tags span, .news-meta .tag, .badge-here { border-radius: 4px; }
.nav-toggle, .sub-toggle { border-radius: 8px; }
.announce .pulse { animation: none; }
.icon, .sub-list .ic { border-radius: 8px; }
.sub-inner { border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(7,30,61,.28); }

/* cards: borders only, no lift */
.card, .news-card, .safeguard, .criterion, .phase, .org .box, .acc, .form, .table-wrap { box-shadow: none; }
.card:hover, .news-card:hover { transform: none; box-shadow: none; border-color: #b9cde6; }
.card.link:hover h3, .news-card:hover h3 { color: var(--blue-deep); }
.callout { border-radius: 0 6px 6px 0; }

/* big numerals in serif */
.stage-n, .domain .n, .phase-num strong, .criterion .n, .steps li::before { font-family: var(--font-serif); font-weight: 600; }
.steps li::before { font-size: .95rem; }
.news-card.featured h3, .cta-band h2, .page-hero h1, .hero h1 { font-family: var(--font-serif); }
.cta-band h2 { font-weight: 600; }
.article blockquote { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; }
.sticky { top: 130px; }

/* ---------- Forms: intake channel ---------- */
.form-body { display: grid; gap: 18px; }
.form-body[hidden] { display: none; }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--ink); line-height: 1.5; }
.form .consent input { width: 18px; height: 18px; margin-top: 2px; padding: 0; flex: none; accent-color: var(--blue); }
.form-error { padding: 14px 18px; border-left: 4px solid #c4513b; background: #fdf0ec; border-radius: 0 6px 6px 0; color: #4a1f14; font-size: .95rem; }
.form-error p { margin: 0; }
.form-success { padding: 8px 0; }
.form-success h3 { margin-bottom: 10px; }
.form-success .ref { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--tint); padding: 2px 8px; border-radius: 4px; }
.form-error[hidden], .form-success[hidden] { display: none; }
.tbc { background: #fff8ea; border: 1px dashed #e0a63a; padding: 2px 8px; border-radius: 4px; color: #6b4a07; font-size: .95rem; }

/* ---------- Language menu ---------- */
.nav-lang { position: relative; margin-left: 4px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; background: none; border: 0; border-radius: 8px;
  color: inherit; cursor: pointer; font: inherit; font-size: .85rem; font-weight: 600; letter-spacing: .04em; opacity: .92;
}
.lang-toggle:hover { background: rgba(255,255,255,.1); opacity: 1; }
.site-header.scrolled .lang-toggle:hover { background: var(--tint); }
.lang-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lang-menu {
  list-style: none; margin: 0; padding: 8px; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(7,30,61,.28); display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 80; color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility 0s linear .15s;
}
.nav-lang.open .lang-menu, .nav-lang:focus-within .lang-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lang-menu a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: .92rem; white-space: nowrap; }
.lang-menu a:hover { background: var(--tint); color: var(--blue-deep); }
.lang-menu a[aria-current] { font-weight: 700; color: var(--blue-deep); background: var(--tint); }
@media (min-width: 1081px) { .nav-links > li.nav-lang { display: flex; align-items: center; height: var(--header); } }
@media (max-width: 1080px) {
  .nav-lang { margin: 0; }
  .nav-links > .nav-lang { border-bottom: 1px solid var(--line); }
  .lang-toggle { padding: 18px 4px; width: 100%; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; letter-spacing: 0; color: var(--navy); opacity: 1; }
  .lang-toggle:hover { background: none; }
  .lang-menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 14px 4px; opacity: 1; visibility: visible; transform: none; min-width: 0; }
  .nav-lang.open .lang-menu { display: grid; }
}

/* ---------- Languages: scripts, fonts, right-to-left ---------- */
.translation-note { flex-basis: 100%; font-size: .85rem; color: #8aa3c4; }
.translation-note a { color: #cfe3fb; }

/* Non-Latin scripts: use the matching Noto family, no italics, no tracking, sans headings */
html[lang="ar"] { --font-body: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
html[lang="hi"] { --font-body: "Noto Sans Devanagari", "Nirmala UI", "Segoe UI", sans-serif; }
html[lang="bn"] { --font-body: "Noto Sans Bengali", "Nirmala UI", "Segoe UI", sans-serif; }
html[lang="zh"] { --font-body: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif; }
html[lang="ja"] { --font-body: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", sans-serif; }
html[lang="ko"] { --font-body: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; }
html:is([lang="ar"], [lang="hi"], [lang="bn"], [lang="zh"], [lang="ja"], [lang="ko"]) {
  --font-head: var(--font-body);
  --font-serif: var(--font-body);
}
html:is([lang="ar"], [lang="hi"], [lang="bn"], [lang="zh"], [lang="ja"], [lang="ko"]) :is(h1, h2) { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
html:is([lang="ar"], [lang="hi"], [lang="bn"], [lang="zh"], [lang="ja"], [lang="ko"]) :is(h3, h4, .lead, p, li) { letter-spacing: 0; }
html:is([lang="ar"], [lang="hi"], [lang="bn"], [lang="zh"], [lang="ja"], [lang="ko"]) body { line-height: 1.8; }
html:is([lang="ar"], [lang="hi"], [lang="bn"], [lang="zh"], [lang="ja"], [lang="ko"]) .hero h1 em { font-style: normal; }
html:is([lang="ar"], [lang="hi"], [lang="bn"], [lang="zh"], [lang="ja"], [lang="ko"]) :is(.eyebrow, .sub-eyebrow, .card .num, .principle p, .stage-n) { letter-spacing: 0; text-transform: none; }
html:is([lang="ar"], [lang="hi"], [lang="bn"]) .brand-text, html:is([lang="ar"], [lang="hi"], [lang="bn"]) .brand-text small { font-family: var(--font-brand); }
html[lang="zh"] .lead, html[lang="ja"] .lead, html[lang="ko"] .lead { max-width: 36em; }

/* Right to left (Arabic) */
[dir="rtl"] .nav-links > li > a:not(.btn)::after { transform-origin: right; }
[dir="rtl"] .has-sub > a:not(.btn) { padding-right: 13px; padding-left: 4px; }
[dir="rtl"] .has-sub > a:not(.btn)::after { right: 13px; left: 4px; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .hero::after { right: auto; left: -80px; }
[dir="rtl"] .page-hero::after { right: auto; left: -90px; }
[dir="rtl"] .nav-cta .btn svg, [dir="rtl"] .sub-all .go, [dir="rtl"] .sub-list .go { transform: scaleX(-1); }
[dir="rtl"] .nav-cta .btn:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .sub-list .go { margin-left: 0; margin-right: auto; }
[dir="rtl"] .crumbs span:not([aria-current]) { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .callout { border-left: 0; border-right: 4px solid var(--blue); border-radius: 6px 0 0 6px; }
[dir="rtl"] .callout.warn { border-right-color: #e0a63a; }
[dir="rtl"] .checklist li, [dir="rtl"] .crosslist li { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .checklist li::before { left: auto; right: 0; }
[dir="rtl"] .card ul, [dir="rtl"] .article ul { padding-left: 0; padding-right: 1.1em; }
[dir="rtl"] .steps::before { left: auto; right: 22px; }
[dir="rtl"] .steps li { padding: 0 72px 34px 0; }
[dir="rtl"] .steps li:last-child { padding-bottom: 0; }
[dir="rtl"] .steps li::before { left: auto; right: 0; }
[dir="rtl"] .pager .next { text-align: left; }
[dir="rtl"] .pager .prev { text-align: right; }
[dir="rtl"] .form-error { border-left: 0; border-right: 4px solid #c4513b; border-radius: 6px 0 0 6px; }
@media (min-width: 1081px) {
  [dir="rtl"] .sub { left: auto; right: -16px; transform-origin: top right; }
  [dir="rtl"] .has-sub:nth-last-child(-n+5) .sub { right: auto; left: -16px; transform-origin: top left; }
}
@media (max-width: 1080px) {
  [dir="rtl"] .nav-links .sub ul { border-left: 0; border-right: 2px solid var(--tint); margin-left: 0; margin-right: 12px; padding: 0 12px 10px 0; }
  [dir="rtl"] .sub-list { padding: 0 4px 14px 0; }
}

/* ===== collapsed navigation (generated) ===== */
/* The same drawer as below 1080px, switched on by script.js when the menu does not fit (long labels in some languages). */
@keyframes drawer { from { opacity: 0; transform: translateY(-8px); } }
html.nav-collapsed .nav-links > li { height: auto; position: static; }
html.nav-collapsed .nav-links > li:not(.has-sub) { display: block; }
html.nav-collapsed .sub { position: static; width: auto; padding-top: 0; opacity: 1; visibility: visible; transform: none; transition: none; }
html.nav-collapsed .sub-inner { border: 0; box-shadow: none; border-radius: 0; }
html.nav-collapsed .nav-toggle { display: grid; }
html.nav-collapsed .nav-links {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--drawer-top, var(--header)); z-index: 59;
    flex-direction: column; align-items: stretch; gap: 0; display: none; overflow-y: auto; overscroll-behavior: contain;
    padding: 6px 24px calc(28px + env(safe-area-inset-bottom)); background: #fff; color: var(--navy);
  }
html.nav-collapsed .nav-links.open { display: flex; animation: drawer .25s ease; }
html.nav-collapsed .nav-links > li { border-bottom: 1px solid var(--line); }
html.nav-collapsed .nav-links > li > a:not(.btn) {
    padding: 18px 4px; border-radius: 0; opacity: 1; color: var(--navy);
    font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  }
html.nav-collapsed .nav-links > li > a:not(.btn):hover { background: none; color: var(--blue); }
html.nav-collapsed .nav-links > li > a:not(.btn)::after { display: none; }
html.nav-collapsed .nav-links > li > a[aria-current="page"] { color: var(--blue); }
html.nav-collapsed .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
html.nav-collapsed .has-sub > a { flex: 1; }
html.nav-collapsed .sub-toggle { width: 44px; height: 44px; color: var(--navy); opacity: 1; }
html.nav-collapsed .sub-toggle svg { width: 18px; height: 18px; }
html.nav-collapsed .sub { display: none; flex-basis: 100%; }
html.nav-collapsed .has-sub.open .sub { display: block; }
html.nav-collapsed .sub-inner { display: block; }
html.nav-collapsed .sub-intro { display: none; }
html.nav-collapsed .sub-list { padding: 0 0 14px 4px; }
html.nav-collapsed .sub-list a { padding: 10px 6px; }
html.nav-collapsed .sub-list .go { display: none; }
html.nav-collapsed .nav-cta { border: 0; margin: 22px 0 0; }
html.nav-collapsed .nav-cta .btn { width: 100%; padding: 16px 24px; font-size: 1rem; }
html.nav-collapsed .nav-lang { margin: 0; }
html.nav-collapsed .nav-links > .nav-lang { border-bottom: 1px solid var(--line); }
html.nav-collapsed .lang-toggle { padding: 18px 4px; width: 100%; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; letter-spacing: 0; color: var(--navy); opacity: 1; }
html.nav-collapsed .lang-toggle:hover { background: none; }
html.nav-collapsed .lang-menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 14px 4px; opacity: 1; visibility: visible; transform: none; min-width: 0; }
html.nav-collapsed .nav-lang.open .lang-menu { display: grid; }
html.nav-collapsed[dir="rtl"] .nav-links .sub ul { border-left: 0; border-right: 2px solid var(--tint); margin-left: 0; margin-right: 12px; padding: 0 12px 10px 0; }
html.nav-collapsed[dir="rtl"] .sub-list { padding: 0 4px 14px 0; }
html.nav-collapsed .nav-links > li.nav-lang { display: block; height: auto; }

/* long words in narrow columns */
h1, h2, h3, h4, p, li, td, th, summary, label, .lead, .card { overflow-wrap: break-word; hyphens: auto; }
.grid > *, .split > *, .news-grid > *, .pager-grid > *, .footer-grid > * { min-width: 0; }
h1, h2, h3, h4 { overflow-wrap: anywhere; }

/* notice shown on an untranslated English page to a visitor who chose another language */
.lang-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 9px 44px 9px 16px; position: relative; z-index: 61; background: #eaf3fe; color: var(--navy); font-size: .88rem; text-align: center; border-bottom: 1px solid #cfe2f9; }
.lang-notice a { font-weight: 700; color: var(--blue-deep); white-space: nowrap; }
.lang-notice button { position: absolute; inset-block: 0; inset-inline-end: 8px; width: 32px; background: none; border: 0; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; }
.lang-notice button:hover { color: var(--navy); }


/* ---------- Accessibility ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.primary-nav { display: contents; }
main:focus { outline: none; }
.h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.2; }
.h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.2; }
.callout-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--navy); line-height: 1.25; margin: 0 0 6px; }
.site-footer .footer-title { color: #fff; font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; line-height: 1.2; }
.site-footer li a, .footer-link { display: inline-block; padding: 3px 0; min-width: 24px; min-height: 24px; }
.crumbs a { display: inline-block; padding: 4px 2px; }
.crumbs span[aria-hidden] { opacity: 1; color: #b4cdea; }
.announce a { display: inline-block; padding: 3px 6px; }
.footer-bottom .footer-link { color: #cfe3fb; }
@media (forced-colors: active) {
  .btn, .nav-cta .btn { border: 2px solid ButtonText; }
  .card, .callout, .news-card { border: 1px solid CanvasText; }
}
@media (prefers-contrast: more) {
  :root { --muted: #3f4f66; --line: #9fb2ca; }
  .lead, .card p { color: #2c3e57; }
}

.dismissed .sub, .dismissed .lang-menu { opacity: 0 !important; visibility: hidden !important; transition: none !important; }

/* Focus ring: blue on light surfaces, white on the dark ones (WCAG 1.4.11, 3:1) */
.hero :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible, .principle:not(.quiet) :focus-visible,
.section.dark :focus-visible, .site-footer :focus-visible, .announce :focus-visible,
.site-header:not(.scrolled):not(.menu-open) :focus-visible { outline-color: #fff; }
.site-header .sub :focus-visible, .site-header .lang-menu :focus-visible { outline-color: var(--blue); }
.site-header .sub-intro :focus-visible { outline-color: #fff; }

/* links inside tables (e.g. the address list) keep a 24px-high target */
.table a { display: inline-block; min-height: 24px; line-height: 24px; }
