/* ==========================================================================
   ASK Health Asia — design system
   Palette + type sampled from "Ask Health AI Coalition 2026" deck
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #041f3a;
  --navy-800: #062c52;
  --navy: #073763;
  --navy-600: #0b5394;
  --teal: #00c3b0;
  --teal-600: #00a897;
  --teal-800: #006f7e;
  --green: #4fb648;
  /* from ASK wordmark */
  --lime: #a6ce39;

  /* Neutrals */
  --ink: #0b2a33;
  --slate: #4a6068;
  --slate-400: #6f858d;
  --line: #dde7ea;
  --line-soft: #eaf1f3;
  --mist: #f4f7f7;
  --paper: #ffffff;

  /* Type */
  --font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    sans-serif;
  --font-editorial:
    "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;

  /* Space + shape */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm:
    0 1px 2px rgba(7, 55, 99, 0.06), 0 4px 12px rgba(7, 55, 99, 0.05);
  --shadow: 0 2px 6px rgba(7, 55, 99, 0.07), 0 14px 34px rgba(7, 55, 99, 0.08);
  --shadow-lg:
    0 8px 20px rgba(7, 55, 99, 0.1), 0 30px 60px rgba(7, 55, 99, 0.14);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--navy-600);
  text-decoration: none;
}

a:hover {
  color: var(--teal-800);
}

button {
  font: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin: 0 0 0.55em;
}

h1,
h2 {
  font-family: var(--font-editorial);
  font-weight: 600;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.5rem);
}

h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: top 0.18s var(--ease);
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ---------- Layout ---------- */
.wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(880px, calc(100% - 48px));
  margin-inline: auto;
}

@media (max-width: 640px) {

  .wrap,
  .wrap-narrow {
    width: calc(100% - 36px);
  }
}

section {
  position: relative;
}

.section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.section--tight {
  padding: clamp(48px, 5vw, 72px) 0;
}

.section--mist {
  background: var(--mist);
}

.section--line {
  border-top: 1px solid var(--line-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  font-size: 1.06rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-800);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--navy-600));
}

.section-head--center .eyebrow {
  justify-content: center;
}

.eyebrow--light {
  color: var(--teal);
}

.eyebrow--light::before {
  background: linear-gradient(90deg, var(--teal), rgba(255, 255, 255, 0.5));
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--slate);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn .arw {
  transition: transform 0.2s var(--ease);
}

.btn:hover .arw {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 22px rgba(7, 55, 99, 0.24);
}

.btn--primary:hover {
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 14px 30px rgba(7, 55, 99, 0.3);
}

.btn--teal {
  background: var(--teal);
  color: #06343a;
  box-shadow: 0 8px 22px rgba(0, 195, 176, 0.32);
}

.btn--teal:hover {
  background: #14d3c0;
  color: #06343a;
}

.btn--ghost {
  border-color: rgba(7, 55, 99, 0.24);
  color: var(--navy);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--navy);
  background: rgba(7, 55, 99, 0.05);
  color: var(--navy);
}

.btn--light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-600);
}

.link-arrow .arw {
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover .arw {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(7, 55, 99, 0.07);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex-shrink: 0;
}

.brand img {
  height: 30px;
  width: auto;
}

.brand__tag {
  font-size: 0.56rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--slate-400);
}

@media (max-width: 980px) {
  .brand__tag {
    display: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  transition:
    color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.nav a:hover {
  color: var(--navy);
  background: rgba(7, 55, 99, 0.045);
}

.nav a[aria-current="page"] {
  color: var(--navy);
}

.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav .nav__pill {
  margin-left: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--navy), var(--navy-600));
  color: #fff;
  box-shadow: 0 6px 16px rgba(7, 55, 99, 0.22);
}

.nav .nav__pill::after {
  display: none;
}

.nav .nav__pill:hover {
  color: #fff;
  background: linear-gradient(120deg, var(--navy-800), var(--navy));
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition:
    transform 0.24s var(--ease),
    opacity 0.18s var(--ease);
}

.burger span:nth-child(1) {
  top: 15px;
}

.burger span:nth-child(2) {
  top: 21px;
}

.burger span:nth-child(3) {
  top: 27px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 980px) {
  .burger {
    display: block;
  }

  .header__cta .btn {
    display: none;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    padding: 16px 20px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(7, 55, 99, 0.14);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.26s var(--ease),
      opacity 0.2s var(--ease);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 12px;
    font-size: 1.02rem;
    border-radius: 10px;
  }

  .nav a::after {
    display: none;
  }

  .nav a[aria-current="page"] {
    background: var(--mist);
  }

  .nav .nav__pill {
    margin: 10px 0 0;
    justify-content: center;
    display: flex;
  }

  html:not(.js) .header__inner {
    height: auto;
    flex-wrap: wrap;
    padding-block: 12px;
  }

  html:not(.js) .burger {
    display: none;
  }

  html:not(.js) .nav {
    position: static;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    max-height: none;
    overflow: visible;
  }

  html:not(.js) .nav .nav__pill {
    margin: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #eaf3f7;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  object-position: 62% center;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 80% at 84% 16%,
      rgba(0, 195, 176, 0.22),
      transparent 60%),
    linear-gradient(100deg,
      rgba(4, 31, 58, 0.97) 0%,
      rgba(5, 38, 68, 0.93) 40%,
      rgba(6, 48, 84, 0.7) 72%,
      rgba(7, 55, 99, 0.42) 100%);
}

/* brand block motif from deck cover — lives in the outer margin, never behind copy */
.hero__blocks {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 118px;
  z-index: -1;
  pointer-events: none;
}

.hero__blocks i {
  position: absolute;
  display: block;
  border-radius: 2px;
}

.hero__blocks i:nth-child(1) {
  left: 0;
  top: 0;
  width: 54px;
  height: 58%;
  background: linear-gradient(180deg,
      rgba(138, 186, 214, 0.4),
      rgba(138, 186, 214, 0.08));
}

.hero__blocks i:nth-child(2) {
  left: 34px;
  top: 36%;
  bottom: 0;
  width: 62px;
  background: linear-gradient(180deg,
      rgba(0, 195, 176, 0.52),
      rgba(0, 133, 140, 0.14));
}

@media (max-width: 1180px) {
  .hero__blocks {
    display: none;
  }
}

.hero__inner {
  padding: clamp(84px, 11vw, 152px) 0 clamp(64px, 8vw, 104px);
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  color: #fff;
  text-wrap: balance;
  margin-bottom: 0.5em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--teal) 10%, #9fe6dc 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  color: rgba(233, 244, 247, 0.86);
  max-width: 60ch;
  margin-bottom: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 26px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(240, 250, 252, 0.94);
  backdrop-filter: blur(4px);
}

.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* hero stat card */
.hero__card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px rgba(2, 16, 32, 0.34);
}

.hero__card h2 {
  color: #fff;
  font-size: 1.02rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hero__stats .stat__num {
  color: #fff;
}

.hero__stats .stat__label {
  color: rgba(224, 240, 244, 0.74);
}

.hero__note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  color: rgba(224, 240, 244, 0.72);
}

@media (max-width: 480px) {
  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }
}

.hero--sub .hero__inner {
  padding: clamp(64px, 8vw, 108px) 0 clamp(52px, 6vw, 80px);
}

.hero--sub h1 {
  font-size: clamp(1.95rem, 3.8vw, 3rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(226, 240, 244, 0.66);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(226, 240, 244, 0.86);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span[aria-hidden] {
  opacity: 0.5;
}

/* ---------- Stats ---------- */
.stat__num {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.stat__num .suffix {
  color: var(--teal);
}

.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--slate);
  font-weight: 600;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-band>div {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.stat-band>div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

@media (max-width: 880px) {
  .stat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .stat-band {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1020px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 28px;
  transition:
    transform 0.26s var(--ease),
    box-shadow 0.26s var(--ease),
    border-color 0.26s var(--ease);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #cfe0e5;
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  margin-bottom: 0.5em;
}

.card p {
  font-size: 0.95rem;
}

.card__num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--teal-800);
  margin-bottom: 12px;
}

.card--flat {
  box-shadow: none;
}

.card--flat:hover {
  transform: none;
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg,
      rgba(0, 195, 176, 0.16),
      rgba(11, 83, 148, 0.12));
  color: var(--navy);
  margin-bottom: 18px;
}

.icon-badge svg {
  width: 23px;
  height: 23px;
}

.tick-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 14px;
  height: 8px;
  border-left: 2.4px solid var(--teal);
  border-bottom: 2.4px solid var(--teal);
  transform: rotate(-45deg);
  border-radius: 1px;
}

.tick-list li:last-child {
  margin-bottom: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  font-size: 0.94rem;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- Tabs ---------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}

.tabs__btn {
  position: relative;
  background: none;
  border: 0;
  padding: 12px 18px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate);
  border-radius: 10px 10px 0 0;
  transition:
    color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.tabs__btn::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--teal), var(--navy-600));
  transform: scaleX(0);
  transition: transform 0.24s var(--ease);
}

.tabs__btn:hover {
  color: var(--navy);
  background: rgba(7, 55, 99, 0.04);
}

.tabs__btn[aria-selected="true"] {
  color: var(--navy);
}

.tabs__btn[aria-selected="true"]::after {
  transform: scaleX(1);
}

.tabs__panel[hidden] {
  display: none;
}

.tabs__panel {
  animation: fadeUp 0.38s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tabs__panel {
    animation: none;
  }
}

.panel-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

@media (max-width: 900px) {
  .panel-split {
    grid-template-columns: 1fr;
  }
}

.media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--mist);
}

.media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media--tall img {
  aspect-ratio: 4 / 3;
}

/* ---------- Accordion ---------- */
.acc {
  border-top: 1px solid var(--line);
}

.acc__item {
  border-bottom: 1px solid var(--line);
}

.acc__btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 8px;
  background: none;
  border: 0;
  text-align: left;
  color: var(--navy);
  transition: background-color 0.2s var(--ease);
}

.acc__btn:hover {
  background: rgba(7, 55, 99, 0.03);
}

.acc__idx {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--mist);
  color: var(--navy);
  border: 1px solid var(--line);
  transition:
    background-color 0.24s var(--ease),
    color 0.24s var(--ease),
    border-color 0.24s var(--ease);
}

.acc__btn[aria-expanded="true"] .acc__idx {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.acc__title {
  flex: 1;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 800;
  letter-spacing: -0.012em;
}

.acc__sign {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  position: relative;
  margin-top: 6px;
}

.acc__sign::before,
.acc__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--teal-800);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition:
    transform 0.26s var(--ease),
    opacity 0.2s var(--ease);
}

.acc__sign::before {
  width: 15px;
  height: 2.4px;
}

.acc__sign::after {
  width: 2.4px;
  height: 15px;
}

.acc__btn[aria-expanded="true"] .acc__sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.acc__panel {
  overflow: visible;
  height: auto;
  transition: none;
}

.js .acc__panel {
  overflow: hidden;
  height: 0;
  transition: height 0.3s var(--ease);
}

.acc__inner {
  padding: 0 8px 26px 74px;
  max-width: 78ch;
}

.acc__inner p {
  font-size: 0.98rem;
}

@media (max-width: 620px) {
  .acc__inner {
    padding-left: 8px;
  }
}

/* ---------- Stepper (access pathway) ---------- */
.stepper {
  display: grid;
  gap: 28px;
}

.stepper__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}

.stepper__nav::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 27px;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.stepper__nav::after {
  content: "";
  position: absolute;
  left: 6%;
  top: 27px;
  height: 2px;
  z-index: 0;
  width: calc((var(--step, 1) - 1) / 3 * 88%);
  background: linear-gradient(90deg, var(--teal), var(--navy-600));
  transition: width 0.38s var(--ease);
}

.step {
  position: relative;
  z-index: 1;
  background: none;
  border: 0;
  padding: 0;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.step__dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--line);
  color: var(--slate-400);
  font-weight: 800;
  font-size: 1rem;
  transition: all 0.28s var(--ease);
}

.step__label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-400);
  transition: color 0.24s var(--ease);
}

.step__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.step:hover .step__dot {
  border-color: var(--teal);
  color: var(--navy);
}

.step[aria-selected="true"] .step__dot {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(0, 195, 176, 0.18);
}

.step[aria-selected="true"] .step__label {
  color: var(--teal-800);
}

.stepper__panels {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 42px);
  box-shadow: var(--shadow-sm);
}

.stepper__panels [hidden] {
  display: none;
}

.stepper__panels h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
}

@media (max-width: 760px) {
  .stepper__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stepper__nav::before,
  .stepper__nav::after {
    display: none;
  }
}

/* ---------- Value chain diagram ---------- */
.chain {
  display: grid;
  gap: 18px;
}

.chain__row {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.chain__tier {
  border-right: 1px solid var(--line-soft);
  padding-right: 20px;
}

.chain__tier span {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--teal-800);
  margin-bottom: 10px;
}

.chain__row:nth-child(2) .chain__tier span {
  background: var(--navy-600);
}

.chain__row:nth-child(3) .chain__tier span {
  background: var(--navy);
}

.chain__tier p {
  font-size: 0.84rem;
  margin: 0;
}

.chain__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

.chain__pill {
  padding: 9px 15px;
  border-radius: 10px;
  background: var(--mist);
  border: 1px solid var(--line-soft);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.chain__pill:hover {
  transform: translateY(-2px);
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

@media (max-width: 720px) {
  .chain__row {
    grid-template-columns: 1fr;
  }

  .chain__tier {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 0 0 16px;
  }
}

/* ---------- Feature (image + text) ---------- */
.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.feature--reverse .feature__media {
  order: 2;
}

@media (max-width: 900px) {
  .feature {
    grid-template-columns: 1fr;
  }

  .feature--reverse .feature__media {
    order: 0;
  }
}

/* ---------- Highlight band ---------- */
.band {
  position: relative;
  overflow: hidden;
  color: #e9f4f7;
  background: linear-gradient(112deg,
      var(--navy-900),
      var(--navy) 58%,
      var(--teal-800) 130%);
}

.band::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -40%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 195, 176, 0.26), transparent 62%);
  pointer-events: none;
}

.band h2,
.band h3 {
  color: #fff;
}

.band p {
  color: rgba(233, 244, 247, 0.84);
}

.band .stat__num {
  color: #fff;
}

.band .stat__label {
  color: rgba(226, 240, 244, 0.74);
}

.band .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.band .card h3 {
  color: #fff;
}

.band .card p {
  color: rgba(233, 244, 247, 0.82);
}

.band .card:hover {
  border-color: rgba(255, 255, 255, 0.34);
}

.band .tick-list li {
  color: rgba(233, 244, 247, 0.85);
}

.quote {
  font-size: clamp(1.3rem, 2.6vw, 2.05rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.quote em {
  font-style: normal;
  color: var(--teal);
}

/* ---------- Coalition CTA promo ---------- */
.promo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(118deg,
      var(--navy-900),
      var(--navy) 62%,
      #0a6470);
  color: #eaf4f7;
  padding: clamp(32px, 4.4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.promo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--teal), var(--navy-600));
}

.promo::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 195, 176, 0.28), transparent 64%);
}

.promo h2 {
  color: #fff;
}

.promo p {
  color: rgba(233, 244, 247, 0.85);
}

.promo__side {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.promo__stat {
  padding: 16px 18px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.promo__stat b {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.promo__stat span {
  font-size: 0.8rem;
  color: rgba(226, 240, 244, 0.76);
}

@media (max-width: 860px) {
  .promo {
    grid-template-columns: 1fr;
  }
}

/* ---------- Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--slate);
  transition: all 0.2s var(--ease);
}

.filter:hover {
  border-color: var(--navy-600);
  color: var(--navy);
}

.filter[aria-pressed="true"],
.filter[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(7, 55, 99, 0.2);
}

/* ---------- Report cards ---------- */
.report {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition:
    transform 0.26s var(--ease),
    box-shadow 0.26s var(--ease);
}

.report:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.report__cover {
  position: relative;
  background: var(--mist);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.report__cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}

.report:hover .report__cover img {
  transform: scale(1.04);
}

.report__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  backdrop-filter: blur(4px);
}

.report__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.report__body h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}

.report__meta {
  font-size: 0.8rem;
  color: var(--slate-400);
  font-weight: 600;
}

.report__body .link-arrow {
  margin-top: auto;
  font-size: 0.85rem;
}

.is-hidden {
  display: none !important;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg,
      var(--teal),
      var(--navy-600) 70%,
      transparent);
}

.tl-item {
  position: relative;
  padding-bottom: 34px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 195, 176, 0.14);
}

.tl-item time {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-800);
  margin-bottom: 6px;
}

.tl-item h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35em;
}

.tl-item p {
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery button {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--mist);
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition:
    transform 0.5s var(--ease),
    filter 0.3s var(--ease);
}

.gallery button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 31, 58, 0.6));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.gallery button:hover img {
  transform: scale(1.06);
}

.gallery button:hover::after {
  opacity: 1;
}

.gallery figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.gallery button:hover figcaption {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 5vmin;
  background: rgba(4, 20, 34, 0.9);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  width: auto;
  border-radius: var(--r);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.lightbox__cap {
  margin: 16px auto 0;
  color: #dbeaf0;
  font-size: 0.92rem;
  text-align: center;
  max-width: 60ch;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.lightbox__close:hover {
  background: #fff;
  color: var(--navy);
}

/* ---------- Collaborators ---------- */
.marquee {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.marquee__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 640px) {
  .marquee {
    width: calc(100% - 36px);
  }
}

.org {
  flex-shrink: 0;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.band .org {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #eef7f9;
}

/* ---------- Partner category cards ---------- */
.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition:
    transform 0.26s var(--ease),
    box-shadow 0.26s var(--ease);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.partner-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 20px;
  background: linear-gradient(100deg, var(--navy), var(--navy-600));
  color: #fff;
}

.partner-card:nth-child(even) .partner-card__head {
  background: linear-gradient(100deg, var(--teal-800), var(--teal-600));
}

.partner-card__head h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0;
}

.partner-card__head span {
  font-size: 0.95rem;
  font-weight: 800;
  opacity: 0.6;
}

.partner-card__body {
  padding: 20px;
}

.partner-card__body p {
  font-size: 0.92rem;
  margin: 0 0 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--mist);
  border: 1px solid var(--line-soft);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Pillars ---------- */
.pillar {
  display: grid;
  gap: 18px;
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.26s var(--ease),
    box-shadow 0.26s var(--ease);
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.pillar__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pillar__idx {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background: linear-gradient(140deg, var(--teal), var(--navy-600));
}

.pillar__kind {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-800);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0, 195, 176, 0.1);
  border: 1px solid rgba(0, 195, 176, 0.24);
}

.pillar h3 {
  margin: 0;
}

.pillar__flow {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--slate-400);
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}

.pillar__init {
  display: grid;
  gap: 14px;
}

.pillar__init>div {
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.pillar__init h4 {
  font-size: 0.93rem;
  margin-bottom: 0.3em;
  color: var(--ink);
}

.pillar__init p {
  font-size: 0.88rem;
  margin: 0;
}

/* ---------- Theory of change ---------- */
.toc-flow {
  display: grid;
  gap: 18px;
}

.toc-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  align-items: start;
}

.toc-row>h3 {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-800);
  margin: 0;
  padding-top: 4px;
}

.toc-row ol,
.toc-row ul {
  display: grid;
  gap: 10px;
}

.toc-row li {
  font-size: 0.93rem;
}

.toc-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.toc-cols>div {
  padding: 16px;
  border-radius: var(--r-sm);
  background: var(--mist);
  border: 1px solid var(--line-soft);
}

.toc-cols b {
  display: block;
  color: var(--navy);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.toc-cols li {
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .toc-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .toc-row {
    grid-template-columns: 1fr;
  }

  .toc-cols {
    grid-template-columns: 1fr;
  }
}

/* ---------- Locations ---------- */
.loc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.loc-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 820px) {
  .loc-card {
    grid-template-columns: 1fr;
  }
}

.loc-card h3 {
  margin-bottom: 0.3em;
}

.loc-card address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Form ---------- */
.form {
  display: grid;
  gap: 18px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 640px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.field label .req {
  color: #c0392b;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition:
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 132px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 195, 176, 0.16);
}

.field .err {
  font-size: 0.78rem;
  color: #c0392b;
  font-weight: 600;
  min-height: 1em;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #c0392b;
}

.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.88rem;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal-800);
  flex-shrink: 0;
}

.form__note {
  font-size: 0.82rem;
  color: var(--slate-400);
}

.form-status {
  padding: 15px 18px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(0, 195, 176, 0.1);
  border: 1px solid rgba(0, 195, 176, 0.3);
  color: #0a5b53;
}

.form-status[hidden] {
  display: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(214, 232, 238, 0.78);
  padding: clamp(48px, 6vw, 76px) 0 26px;
  font-size: 0.92rem;
}

.footer a {
  color: rgba(214, 232, 238, 0.86);
}

.footer a:hover {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer h4 {
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__brand img {
  width: 188px;
  height: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer__brand p {
  max-width: 40ch;
  font-size: 0.9rem;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer__qr {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.footer__qr figure {
  margin: 0;
  width: 92px;
  text-align: center;
}

.footer__qr img {
  width: 92px;
  height: 92px;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
}

.footer__qr figcaption {
  font-size: 0.7rem;
  margin-top: 7px;
  line-height: 1.35;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(214, 232, 238, 0.6);
}

.footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(7, 55, 99, 0.34);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
  transition: all 0.28s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--teal-800);
  transform: translateY(-3px);
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  z-index: 120;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--navy-600));
  transition: width 0.1s linear;
}

/* ---------- Coordinated fixes ---------- */
.hero__grid--single {
  grid-template-columns: minmax(0, 70ch);
}

@media (max-width: 360px) {
  .hero:not(.hero--sub) .hero__grid>* {
    min-width: 0;
  }

  .hero:not(.hero--sub) .hero__grid .btn {
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;
    white-space: normal;
    text-align: center;
  }
}

main :is(p, li, .note)>a:not(.btn):not(.link-arrow):not(.tabs__btn) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.report[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover,
  .report:hover {
    transform: none;
  }
}

/* ---------- Utilities ---------- */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

.mb-0 {
  margin-bottom: 0;
}

.small {
  font-size: 0.84rem;
}

.muted {
  color: var(--slate-400);
}

.divider {
  height: 1px;
  background: var(--line-soft);
  border: 0;
  margin: 0;
}

.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;
}

.note {
  padding: 18px 22px;
  border-radius: var(--r);
  background: var(--mist);
  border-left: 3px solid var(--teal);
  font-size: 0.9rem;
}

.band .note {
  background: rgba(255, 255, 255, 0.07);
  border-left-color: var(--teal);
  color: rgba(233, 244, 247, 0.86);
}

.kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-800);
}

.band .kicker {
  color: var(--teal);
}

/* ---------- Health AI Coalition editorial page ---------- */
.coalition-page {
  --coalition-serif: var(--font-editorial);
  --coalition-rule: #cbd9dd;
}

.coalition-page :is(h1, h2) {
  font-family: var(--coalition-serif);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.coalition-page .section {
  padding-block: clamp(68px, 7vw, 104px);
}

.coalition-page .section-head {
  max-width: 680px;
  margin-bottom: clamp(32px, 4vw, 50px);
}

.coalition-page .eyebrow::before {
  border-radius: 0;
  background: currentColor;
}

.coalition-page .coalition-hero {
  min-height: min(680px, calc(100svh - var(--header-h)));
  display: grid;
  align-items: center;
}

.coalition-page .coalition-hero .hero__bg img {
  opacity: 0.34;
  object-position: center;
  filter: saturate(0.65) contrast(1.05);
}

.coalition-page .coalition-hero .hero__bg::after {
  background: rgba(4, 31, 58, 0.78);
}

.coalition-page .coalition-hero .hero__inner {
  padding-block: clamp(70px, 10vw, 126px);
}

.coalition-page .coalition-hero .hero__grid {
  grid-template-columns: minmax(0, 820px);
}

.coalition-page .coalition-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.7rem, 6.4vw, 5.25rem);
  line-height: 0.99;
  margin-bottom: 0.42em;
}

.coalition-page .coalition-hero h1 em {
  color: #9fe6dc;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.coalition-page .coalition-hero .hero__sub {
  max-width: 66ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.coalition-page .btn {
  border-radius: 4px;
  box-shadow: none;
}

.coalition-page .btn:hover,
.coalition-page .to-top:hover {
  transform: none;
  box-shadow: none;
}

.coalition-page .coalition-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 80;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--coalition-rule);
  backdrop-filter: blur(12px);
}

.coalition-page .coalition-nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.coalition-page .coalition-nav__inner::-webkit-scrollbar {
  display: none;
}

.coalition-page .coalition-nav a {
  position: relative;
  flex: 0 0 auto;
  padding-block: 15px 13px;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coalition-page .coalition-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--teal-800);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.coalition-page .coalition-nav a:is(:hover, .is-active, [aria-current="location"]) {
  color: var(--navy);
}

.coalition-page .coalition-nav a:is(.is-active, [aria-current="location"])::after {
  transform: scaleX(1);
}

html:not(.js) .coalition-page .coalition-nav {
  position: static;
}

.coalition-page :is(#overview, #barriers, #objectives, #pathway, #participation, #join) {
  scroll-margin-top: calc(var(--header-h) + 54px);
}

.coalition-page .coalition-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 7vw, 104px);
  align-items: start;
}

.coalition-page .coalition-intro .section-head {
  margin-bottom: 0;
}

.coalition-page .coalition-intro__copy {
  max-width: 66ch;
  padding-top: 35px;
}

.coalition-page .coalition-intro__copy .lead {
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.55;
}

.coalition-page .coalition-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 52px);
  margin-top: clamp(46px, 7vw, 86px);
}

.coalition-page .coalition-principles article {
  border-top: 2px solid var(--navy);
  padding-top: 20px;
}

.coalition-page .coalition-principles article>span,
.coalition-page .coalition-roles article>span {
  display: block;
  margin-bottom: 14px;
  color: var(--teal-800);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.coalition-page .coalition-principles h3 {
  margin-bottom: 0.4em;
}

.coalition-page .coalition-principles p {
  font-size: 0.93rem;
}

.coalition-page .acc {
  max-width: 960px;
  border-color: var(--coalition-rule);
}

.coalition-page .acc__item {
  border-color: var(--coalition-rule);
}

.coalition-page .acc__btn {
  padding-block: 26px;
}

.coalition-page .acc__idx {
  border-radius: 2px;
  box-shadow: none;
}

.coalition-page .acc__title {
  font-weight: 700;
}

.coalition-page .tabs__list {
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  border-color: var(--coalition-rule);
}

.coalition-page .tabs__list::-webkit-scrollbar {
  display: none;
}

.coalition-page .tabs__btn {
  flex: 0 0 auto;
  border-radius: 0;
  padding-inline: 2px;
}

.coalition-page .tabs__btn::after {
  right: 0;
  left: 0;
  border-radius: 0;
  background: var(--teal-800);
}

.coalition-page .tabs__btn:hover {
  background: transparent;
}

.coalition-page .coalition-objective-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  gap: clamp(36px, 7vw, 94px);
  align-items: start;
  padding-block: clamp(14px, 2vw, 26px);
}

.coalition-page .coalition-objective-grid>div {
  max-width: 680px;
}

.coalition-page .coalition-objective-grid h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.coalition-page .coalition-objective-note {
  border-top: 2px solid var(--navy);
  padding: 20px 0 0;
}

.coalition-page .coalition-objective-note span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal-800);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.coalition-page .coalition-objective-note strong {
  display: block;
  font-family: var(--coalition-serif);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.45;
}

.coalition-page .stepper__panels {
  border-radius: 0;
  border-color: var(--coalition-rule);
  border-inline: 0;
  box-shadow: none;
}

.coalition-page .stepper__panels>[role="tabpanel"] {
  max-width: 760px;
}

.coalition-page .step__dot {
  box-shadow: none;
}

.coalition-page .step[aria-selected="true"] .step__dot {
  box-shadow: 0 0 0 4px rgba(0, 195, 176, 0.18);
}

.coalition-page .coalition-participation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(42px, 7vw, 96px);
  align-items: start;
}

.coalition-page .coalition-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 52px);
}

.coalition-page .coalition-roles article {
  border-top: 1px solid var(--coalition-rule);
  padding: 22px 0 24px;
}

.coalition-page .coalition-roles article>span {
  margin-bottom: 10px;
}

.coalition-page .coalition-roles h3 {
  margin-bottom: 0.35em;
  font-size: 1.06rem;
}

.coalition-page .coalition-roles p {
  margin: 0;
  font-size: 0.9rem;
}

.coalition-page .coalition-participation__aside {
  border-top: 2px solid var(--navy);
  padding-top: 22px;
}

.coalition-page .coalition-participation__aside .small {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--coalition-rule);
}

.coalition-page .coalition-contact-section {
  padding-block: clamp(52px, 6vw, 80px);
  background: var(--paper);
}

.coalition-page .coalition-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  padding: clamp(34px, 5vw, 64px);
  background: var(--navy-900);
  color: rgba(233, 244, 247, 0.82);
}

.coalition-page .coalition-contact h2 {
  color: #fff;
}

.coalition-page .coalition-contact .eyebrow {
  color: #9fe6dc;
}

.coalition-page .coalition-contact>div:first-child {
  max-width: 720px;
}

.coalition-page .coalition-contact__action {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.coalition-page .coalition-contact__action .btn {
  background: var(--teal);
  color: #06343a;
}

.coalition-page .coalition-contact__action .btn:hover {
  background: #14d3c0;
  color: #06343a;
}

.coalition-page .coalition-contact__email {
  color: #fff;
  font-size: 0.84rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 980px) {

  .coalition-page .coalition-intro,
  .coalition-page .coalition-objective-grid,
  .coalition-page .coalition-participation,
  .coalition-page .coalition-contact {
    grid-template-columns: 1fr;
  }

  .coalition-page .coalition-intro__copy {
    padding-top: 0;
  }

  .coalition-page .coalition-objective-note,
  .coalition-page .coalition-participation__aside {
    max-width: 680px;
  }

  .coalition-page .coalition-contact__action {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .coalition-page .section {
    padding-block: 62px;
  }

  .coalition-page .coalition-hero {
    min-height: auto;
  }

  .coalition-page .coalition-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.7rem);
  }

  .coalition-page .coalition-nav__inner {
    gap: 22px;
  }

  .coalition-page .coalition-principles,
  .coalition-page .coalition-roles,
  .coalition-page .stepper__nav {
    grid-template-columns: 1fr;
  }

  .coalition-page .coalition-principles {
    gap: 28px;
  }

  .coalition-page .stepper__nav {
    gap: 0;
  }

  .coalition-page .step {
    grid-template-columns: auto 90px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 14px;
    padding-block: 13px;
    border-top: 1px solid var(--coalition-rule);
    text-align: left;
  }

  .coalition-page .step:last-child {
    border-bottom: 1px solid var(--coalition-rule);
  }

  .coalition-page .step__dot {
    width: 40px;
    height: 40px;
    font-size: 0.84rem;
  }

  .coalition-page .coalition-contact {
    margin-inline: -18px;
    padding-inline: 18px;
  }
}

@media (max-width: 420px) {

  .coalition-page .coalition-hero .btn-row,
  .coalition-page .coalition-hero .btn {
    width: 100%;
  }

  .coalition-page .coalition-hero .btn {
    white-space: normal;
    text-align: center;
  }

  .coalition-page .step {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .coalition-page .step__label {
    display: none;
  }
}

/* ---------- Shared editorial hero banner ---------- */
/* This banner treatment is for the plain, single-column `.hero` (home,
   coalition) -- a fixed height with the copy vertically centred. It must not
   reach `.hero--sub`: that variant holds the two-column layout with the
   `.hero__card` stat aside (insights, partners), which is sized by its own
   content via `.hero__inner` padding. A fixed 800px height with the grid
   forced to one narrow column was clipping the stat card and cutting the
   confidentiality note off entirely on those pages. */
.hero:not(.hero--sub) {
  height: 800px;
  min-height: 0;
  display: grid;
  align-items: center;
}

.hero:not(.hero--sub) .hero__bg img {
  opacity: 0.34;
  object-position: center;
  filter: saturate(0.65) contrast(1.05);
}

.hero:not(.hero--sub) .hero__bg::after {
  background: rgba(4, 31, 58, 0.78);
}

.hero:not(.hero--sub) .hero__blocks {
  display: none;
}

.hero:not(.hero--sub) .hero__inner {
  padding-block: clamp(70px, 7vw, 84px);
}

.hero:not(.hero--sub) .hero__grid {
  grid-template-columns: minmax(0, 820px);
}

.hero:not(.hero--sub) h1 {
  max-width: 16ch;
  font-size: clamp(2.7rem, 6.4vw, 5.25rem);
  line-height: 0.99;
  margin-bottom: 0.42em;
}

.hero:not(.hero--sub) h1 em {
  color: #9fe6dc;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero:not(.hero--sub) .eyebrow::before {
  border-radius: 0;
  background: currentColor;
}

.hero:not(.hero--sub) .btn,
.hero:not(.hero--sub) .chip {
  border-radius: 4px;
  box-shadow: none;
}

.hero:not(.hero--sub) .btn:hover {
  transform: none;
  box-shadow: none;
}

.home-impact {
  padding-block: clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.home-impact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
}

.home-impact__intro {
  max-width: 480px;
}

.home-impact__intro h2 {
  margin-bottom: 0.35em;
}

.home-impact__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 52px);
}

.home-impact__stats>div {
  padding-top: 18px;
  border-top: 2px solid var(--navy);
}

@media (max-width: 980px) {
  .hero:not(.hero--sub) {
    height: 820px;
  }

  .home-impact__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 680px) {
  .hero:not(.hero--sub) h1 {
    font-size: clamp(2.45rem, 13vw, 3.7rem);
  }
}

@media (max-width: 520px) {
  .home-impact__stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- Team ---------- */
.team-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.26s var(--ease),
    box-shadow 0.26s var(--ease),
    border-color 0.26s var(--ease);
}

.team-card:hover,
.team-card:focus-within {
  transform: translateY(-5px);
  border-color: #cfe0e5;
  box-shadow: var(--shadow);
}

.team-card__portrait {
  overflow: hidden;
  aspect-ratio: 1;
  background: #dfe7ea;
}

.team-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s var(--ease);
}

.team-card:hover .team-card__portrait img,
.team-card:focus-within .team-card__portrait img {
  transform: scale(1.025);
}

.team-card__body {
  min-height: 154px;
  padding: 26px 24px 28px;
  text-align: center;
}

.team-card__body h3 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2vw, 1.42rem);
}

.team-card__body p {
  margin: 0;
  color: var(--slate);
  line-height: 1.48;
}

.team-card__trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  background: transparent;
}

.team-card__trigger:focus-visible {
  outline-offset: -5px;
}

.team-card__cta {
  position: absolute;
  inset: 0 0 auto;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  color: #fff;
  background: rgba(4, 31, 58, 0.68);
  font-size: 1.02rem;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}

.team-card:hover .team-card__cta,
.team-card__trigger:focus-visible .team-card__cta {
  opacity: 1;
}

.team-dialog {
  width: min(920px, calc(100% - 36px));
  max-height: min(760px, calc(100dvh - 36px));
  padding: 0;
  overflow: hidden;
  color: var(--slate);
  background: #fff;
  border: 0;
  border-radius: var(--r);
  box-shadow: 0 32px 80px rgba(4, 31, 58, 0.32);
}

.team-dialog::backdrop {
  background: rgba(4, 20, 34, 0.82);
  backdrop-filter: blur(5px);
}

.team-dialog__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  max-height: inherit;
}

.team-dialog__portrait {
  min-height: 100%;
  background: #dfe7ea;
}

.team-dialog__portrait img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.team-dialog__content {
  position: relative;
  padding: clamp(34px, 5vw, 60px);
  overflow-y: auto;
}

.team-dialog__content h2 {
  padding-right: 34px;
  margin-bottom: 8px;
}

.team-dialog__role {
  padding-bottom: 22px;
  margin-bottom: 24px;
  color: var(--teal-800);
  border-bottom: 1px solid var(--line-soft);
  font-weight: 700;
  line-height: 1.45;
}

.team-dialog__bio p {
  font-size: 0.98rem;
}

.team-dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.55rem;
  line-height: 1;
}

.team-dialog__close:hover {
  color: #fff;
  background: var(--navy);
}

@media (hover: none) {
  .team-card__cta {
    place-items: end center;
    padding-bottom: 18px;
    background: linear-gradient(180deg, transparent 54%, rgba(4, 31, 58, 0.78));
    font-size: 0.9rem;
    opacity: 1;
  }
}

@media (max-width: 720px) {
  .team-dialog {
    overflow-y: auto;
  }

  .team-dialog__layout {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .team-dialog__portrait {
    min-height: 0;
    max-height: 300px;
  }

  .team-dialog__portrait img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-position: center 24%;
  }

  .team-dialog__content {
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {

  .team-card,
  .team-card__portrait img,
  .team-card__cta {
    transition: none;
  }

  .team-card:hover,
  .team-card:focus-within,
  .team-card:hover .team-card__portrait img,
  .team-card:focus-within .team-card__portrait img {
    transform: none;
  }
}

/* ==========================================================================
   Components carried over from the logo/maps draft
   Partner and client logo walls, real logos in the home marquee, office maps,
   and the header changes needed to fit a sixth nav item.
   ========================================================================== */

/* ---------- Logo chips (home marquee) ---------- */
/* Partner logos are transparent PNGs in their own brand colours, which are
   predominantly dark. On the navy band they need a light chip to stay legible,
   so the chip is the carrier and the logo keeps its real colour. */
.org-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 24px;
  background: var(--paper);
  border-radius: var(--r);
  border: 1px solid var(--line);
  transition:
    transform 0.26s var(--ease),
    box-shadow 0.26s var(--ease);
}

.org-logo img {
  display: block;
  width: auto;
  height: 36px;
  /* assets are 72px tall = 2x */
  max-width: none;
}

.band .org-logo {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 18px rgba(3, 18, 32, 0.18);
}

.marquee:hover .org-logo {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .org-logo {
    height: 54px;
    padding: 0 18px;
  }

  .org-logo img {
    height: 30px;
  }
}

/* ---------- Logo wall (partners.html) ---------- */
/* Unlike the marquee chips, these sit on light backgrounds, so the tile is a
   plain white plate. Each logo carries its own width/height attributes from
   work/pc/export.py -- the box is optically normalised per logo rather than set
   to one uniform height, because a round seal at wordmark height reads twice as
   heavy. So no sizing here beyond a safety clamp for narrow screens. */
.logo-set + .logo-set {
  margin-top: clamp(38px, 4.5vw, 62px);
}

.logo-set__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.logo-set__head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.logo-set__count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--slate-400);
  font-variant-numeric: tabular-nums;
}

.logo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
}

.logo-cell {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 20px 18px 14px;
  transition:
    transform 0.24s var(--ease),
    box-shadow 0.24s var(--ease),
    border-color 0.24s var(--ease);
}

.logo-cell:hover {
  transform: translateY(-2px);
  border-color: var(--line);
  box-shadow: 0 10px 24px rgba(7, 55, 99, 0.08);
}

/* Fixed 52px logo band (the tallest normalised logo is 48px) so logos line up
   across a row no matter how many lines the caption below them runs to. */
.logo-cell figure {
  margin: 0;
  display: grid;
  grid-template-rows: 52px auto;
  gap: 12px;
  justify-items: center;
}

.logo-cell img {
  align-self: center;
  max-width: 100%;
  height: auto;
}

.logo-cell figcaption {
  align-self: start;
  text-align: center;
  font-size: 0.74rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--slate-400);
}

.band .logo-cell {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 560px) {
  .logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
    gap: 10px;
  }

  .logo-cell {
    padding: 16px 12px 12px;
  }

  .logo-cell figcaption {
    font-size: 0.69rem;
  }
}

/* ---------- Office maps (about.html) ---------- */
/* Same plate as `.media` so the offices section keeps its shape, but an iframe
   cannot be given `aspect-ratio` reliably across browsers, so the ratio lives
   on the wrapper and the frame fills it. */
.loc-map {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--mist);
  border: 1px solid var(--line-soft);
}

/* The maps are live: pan, zoom and Street View all work inside the frame, and
   the frame is reachable by keyboard. Note that a wheel scroll with the cursor
   over a map zooms the map rather than scrolling the page -- that is how
   Google's embed behaves, with or without an API key. */
.loc-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 820px) {
  .loc-map {
    aspect-ratio: 3 / 2;
  }
}

/* ---------- Three-up stat band ---------- */
/* Modifier rather than an inline `grid-template-columns`, which overrode the
   responsive rules and pushed the page a few pixels wide on phones. */
.stat-band--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- Inline links on the navy band ---------- */
/* These inherit --navy-600 globally, which is unreadable on the band. Buttons
   and arrow links carry their own colour, so they are left alone. */
.band a:not(.btn):not(.link-arrow) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 195, 176, 0.8);
}

.band a:not(.btn):not(.link-arrow):hover {
  color: var(--teal);
}

/* ---------- Header with six nav items ---------- */
/* nowrap: allowing a wrap would drop half the nav onto a second row inside the
   sticky header. It stays on one line and space comes out of the link padding
   in two stages before the drawer takes over at 980px. */
.nav {
  flex-wrap: nowrap;
}

@media (max-width: 1180px) {
  .nav a {
    padding: 10px 11px;
    font-size: 0.9rem;
  }

  .nav .nav__pill {
    padding: 9px 15px;
  }
}

@media (max-width: 1040px) and (min-width: 981px) {
  .nav a {
    padding: 10px 8px;
    font-size: 0.87rem;
  }

  .nav .nav__pill {
    padding: 9px 13px;
  }
}

/* ---------- Hero photography ---------- */
/* The v2 pass dropped the photograph to opacity .34 behind a flat navy wash.
   That worked when every hero shared one stock deck cover, but this build gives
   each page a photograph chosen for its subject, and at .34 behind a flat wash
   none of them read. Lifted, with the diagonal gradient restored so the
   headline side stays dark enough for contrast while the right side of the
   frame -- where each crop places its subject -- comes through.
   To go back to the flatter v2 treatment, delete this block. */
.hero .hero__bg img {
  opacity: 0.62;
  object-position: 62% center;
  filter: saturate(0.86) contrast(1.03);
}

.hero .hero__bg::after {
  background:
    radial-gradient(110% 80% at 84% 16%,
      rgba(0, 195, 176, 0.18),
      transparent 60%),
    linear-gradient(100deg,
      rgba(4, 31, 58, 0.95) 0%,
      rgba(5, 38, 68, 0.88) 40%,
      rgba(6, 48, 84, 0.66) 72%,
      rgba(7, 55, 99, 0.44) 100%);
}
