/* ==========================================================================
   Kaashif Development Initiatives (KDI) — site stylesheet
   Accessibility target: WCAG 2.2 AA. Colours below are contrast-checked
   for text use; "accent" colours are for decoration/large elements only.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Brand */
  --navy: #0a2c64;
  --blue: #1a3da3;          /* logo blue — AA on white */
  --green: #26802a;         /* AA on white for text */
  --green-accent: #43a939;  /* logo green — decorative */
  --orange-accent: #f28c1b; /* decorative */
  --orange: #a85200;        /* AA on white for text */
  --sky: #eaf5fc;
  --sky-2: #cfe8f7;

  /* Neutrals */
  --ink: #18212f;
  --muted: #475467;
  --line: #dbe3ec;
  --surface: #f5f8fb;
  --bg: #ffffff;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(10, 44, 100, .06), 0 8px 24px rgba(10, 44, 100, .08);
  --header-h: 76px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy); color: #fff; padding: .7em 1.1em; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.site-header::before { /* tri-colour brand strip */
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--blue) 0 34%, var(--green-accent) 34% 67%, var(--orange-accent) 67%);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 176px; height: auto; }

.nav-toggle {
  display: none; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 14px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer;
  min-height: 44px;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .2s, background .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: block; padding: 10px 11px; border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 600; font-size: .93rem; text-decoration: none; white-space: nowrap;
}
.site-nav a:hover { background: var(--sky); color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--green-accent); border-radius: 0; }
.site-nav .nav-cta a { background: var(--blue); color: #fff; padding-inline: 18px; border-radius: 999px; margin-left: 8px; box-shadow: none; }
.site-nav .nav-cta a:hover { background: var(--navy); color: #fff; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 2px; }
  .site-nav a { padding: 14px 12px; font-size: 1rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green-accent); background: var(--sky); }
  .site-nav .nav-cta a { margin: 10px 0 0; text-align: center; }
  .brand img { width: 160px; }
}
/* No-JS fallback: show nav inline as a wrapped list */
.no-js .nav-toggle { display: none; }
.no-js .site-nav { position: static; display: block; box-shadow: none; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; font-family: inherit; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #1c6420; color: #fff; }
.btn-outline { border-color: currentColor; color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--navy); }
.btn-ghost-light { border-color: #fff; color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8, 30, 70, .94) 0%, rgba(8, 30, 70, .82) 42%, rgba(8, 30, 70, .35) 75%, rgba(8, 30, 70, .2) 100%);
}
.hero-inner { padding-block: clamp(72px, 12vw, 150px) clamp(80px, 12vw, 140px); max-width: 760px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .8rem; color: var(--green); margin-bottom: 14px;
}
.hero .eyebrow { color: #9be38f; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 span { color: #ffd19c; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #e3ecf7; max-width: 620px; margin-bottom: 32px; }
.hero-tagline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 600; color: #cfe0f3; font-size: .95rem; }
.hero-tagline li::before { content: ""; display: inline-block; width: 18px; height: 4px; border-radius: 4px; margin-right: 8px; vertical-align: middle; background: var(--green-accent); }
.hero-tagline li:nth-child(2)::before { background: #6ea8ff; }
.hero-tagline li:nth-child(3)::before { background: var(--orange-accent); }
@media (max-width: 720px) {
  .hero::after { background: linear-gradient(180deg, rgba(8, 30, 70, .78) 0%, rgba(8, 30, 70, .92) 100%); }
}

/* Inner page hero */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #12408e 100%); color: #fff; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .05);
}
.page-hero .wrap { padding-block: clamp(48px, 7vw, 88px); position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 820px; }
.page-hero p { color: #dbe7f5; font-size: 1.12rem; max-width: 720px; margin: 0; }
.page-hero .eyebrow { color: #9be38f; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .9rem; color: #bcd0ea; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #8aa6cc; }
.breadcrumb a { color: #fff; }
.breadcrumb [aria-current] { color: #bcd0ea; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -56px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  margin: 0; padding: 0;
}
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat dt { font-size: .92rem; color: var(--muted); font-weight: 600; order: 2; }
.stat dd { margin: 0 0 4px; font-family: var(--font-head); font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; color: var(--blue); line-height: 1.1; }
.stat { display: flex; flex-direction: column; }
.stat:nth-child(2) dd { color: var(--green); }
.stat:nth-child(3) dd { color: var(--orange); }
@media (max-width: 820px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-alt { background: var(--surface); }
.section-sky { background: var(--sky); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.rule { width: 72px; height: 4px; border-radius: 4px; background: var(--orange-accent); border: 0; margin: 0 0 20px; }
.center .rule { margin-inline: auto; }
.lead { font-size: 1.18rem; color: var(--ink); }
.muted { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.figure { margin: 0; position: relative; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.figure-accent::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-accent), var(--blue)); z-index: -1; opacity: .9;
}
.figure-accent { isolation: isolate; margin-right: 18px; margin-bottom: 18px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; position: relative; height: 100%;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); font-size: 1rem; }
.card-top { border-top: 4px solid var(--blue); }
.card-top.green { border-top-color: var(--green-accent); }
.card-top.orange { border-top-color: var(--orange-accent); }
a.card { text-decoration: none; color: inherit; display: block; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sky-2); }
a.card:hover h3 { color: var(--blue); }
.card .more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--blue); font-size: .95rem; }

.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sky); color: var(--blue); margin-bottom: 18px; flex-shrink: 0;
}
.icon svg { width: 28px; height: 28px; }
.icon.green { background: #e7f5e5; color: var(--green); }
.icon.orange { background: #fdf0e1; color: var(--orange); }

.num-badge {
  display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 10px;
  border-radius: 999px; background: var(--sky); color: var(--blue); font-weight: 800; font-size: .82rem;
  font-family: var(--font-head); margin-bottom: 14px;
}

/* Photo cards */
.photo-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; }
.photo-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.photo-card .body { padding: 22px 22px 24px; }
.photo-card h3 { font-size: 1.12rem; }
.photo-card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Mission / vision panel */
.mv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .mv { grid-template-columns: 1fr; } }
.mv-item { border-radius: var(--radius); padding: 30px 28px; color: #fff; }
.mv-item h3 { color: #fff; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; }
.mv-item p { margin: 0; font-size: 1.06rem; color: rgba(255, 255, 255, .95); }
.mv-item:nth-child(1) { background: var(--blue); }
.mv-item:nth-child(2) { background: var(--green); }
.mv-item:nth-child(3) { background: var(--navy); }

/* Definition-style list (principles, approach) */
.def-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0; }
.def-list > div { padding: 20px 0; border-top: 1px solid var(--line); }
.def-list dt { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.def-list dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .def-list { grid-template-columns: 1fr; } }

/* Steps (Inform/Listen/Respond/Adapt) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--sky-2); display: block; line-height: 1; margin-bottom: 10px;
}
.steps strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }
@media (max-width: 700px) { .check-list.cols-2 { grid-template-columns: 1fr; } }

.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .95rem; color: var(--navy); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline-offset: 2px; }
.data-table { min-width: 640px; font-size: .98rem; }
.data-table caption { text-align: left; padding: 16px 20px; font-weight: 700; color: var(--navy); font-family: var(--font-head); border-bottom: 1px solid var(--line); }
.data-table th, .data-table td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; }
.data-table tbody tr:nth-child(even) { background: var(--surface); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody th { font-weight: 700; color: var(--navy); }
.data-table td.num, .data-table th.num { width: 56px; color: var(--muted); font-variant-numeric: tabular-nums; }
.data-table thead th.num { color: #fff; }
@media (max-width: 640px) {
  .table-wrap { overflow: visible; border: 0; background: none; }
  .data-table { min-width: 0; }
  .data-table caption { padding: 0 0 12px; border: 0; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table tr { display: block; background: #fff !important; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; padding: 14px 16px; }
  .data-table th, .data-table td { display: block; padding: 4px 0; border: 0; width: auto; }
  .data-table tbody th { font-size: 1.02rem; margin-bottom: 4px; }
  .data-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--navy); }
  .data-table td.num { display: none; }
}
.data-table .tag { display: inline-block; background: var(--sky); color: var(--blue); border-radius: 999px; padding: 2px 10px; font-size: .85rem; font-weight: 600; white-space: nowrap; }

/* ---------- Programme blocks ---------- */
.prog-nav { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; }
.prog-nav h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.prog-nav ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.prog-nav a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; }
.prog-nav a:hover { color: var(--blue); border-left-color: var(--blue); }
.prog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; }
@media (max-width: 980px) { .prog-layout { grid-template-columns: 1fr; } .prog-nav { display: none; } }

.prog { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 32px 0; border-top: 1px solid var(--line); }
.prog:first-of-type { border-top: 0; padding-top: 0; }
.prog .icon { margin: 0; width: 64px; height: 64px; border-radius: 16px; }
.prog .icon svg { width: 32px; height: 32px; }
.prog h3 { font-size: 1.35rem; }
.prog h3 small { display: block; font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; color: var(--green); font-weight: 700; margin-bottom: 4px; }
.prog p { color: var(--muted); margin: 0; }
@media (max-width: 560px) { .prog { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Map ---------- */
.map-block { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.map-block figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.map-block figure img { margin-inline: auto; }
.legend { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; }
.legend .swatch { width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0; }
.legend small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .map-block { grid-template-columns: 1fr; } .map-block figure { max-width: 420px; } }

/* ---------- Sector totals (projects delivered) ---------- */
.sector-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.sector-bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: baseline; }
.sector-bars .label { font-weight: 600; color: var(--navy); }
.sector-bars .value { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 1.15rem; }
.sector-bars .bar { grid-column: 1 / -1; height: 10px; border-radius: 10px; background: var(--sky); overflow: hidden; }
.sector-bars .bar span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--blue), #3b6fd8); }
.sector-bars li:nth-child(2) .bar span { background: linear-gradient(90deg, #c46a00, var(--orange-accent)); }
.sector-bars li:nth-child(3) .bar span { background: linear-gradient(90deg, #127a7a, #1fb0a8); }
.sector-bars li:nth-child(4) .bar span { background: linear-gradient(90deg, var(--green), var(--green-accent)); }
.sector-bars li:nth-child(5) .bar span { background: linear-gradient(90deg, #5b3c9e, #8a66d1); }

/* ---------- Partners ---------- */
.partner-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.partner-grid li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px;
  display: flex; flex-direction: column; justify-content: center; min-height: 86px;
}
.partner-grid abbr { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 1.15rem; text-decoration: none; }
.partner-grid span { color: var(--muted); font-size: .9rem; line-height: 1.35; }

/* ---------- Org chart ---------- */
.org { --c-prog: #d8efe9; --c-prog-b: #6fb8a4; --c-sup: #fbe3d3; --c-sup-b: #e3a07a; text-align: center; }
.org-node { display: inline-block; padding: 14px 22px; border-radius: 10px; font-weight: 700; font-family: var(--font-head); font-size: .95rem; color: var(--navy); border: 1.5px solid var(--line); background: #fff; }
.org-node.board { background: #eef1f5; border-color: #b9c3d0; }
.org-node.ed { background: var(--blue); color: #fff; border-color: var(--blue); }
.org-line { width: 2px; height: 26px; background: #9aa9bc; margin: 0 auto; }
.org-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; padding-top: 26px; }
.org-branches::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 2px; background: #9aa9bc; }
.org-branches::after { content: ""; position: absolute; top: -26px; left: 50%; width: 2px; height: 26px; background: #9aa9bc; }
.org-col { border-radius: var(--radius); padding: 22px 18px; position: relative; }
.org-col::before { content: ""; position: absolute; top: -26px; left: 50%; width: 2px; height: 26px; background: #9aa9bc; }
.org-col.org-prog { background: #f1f9f6; border: 1px solid var(--c-prog); }
.org-col.org-sup { background: #fdf6f1; border: 1px solid var(--c-sup); }
.org-col h3 { font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.org-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.org-col li { background: #fff; border-radius: 8px; padding: 12px 14px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.org-col.org-prog li { border: 1.5px solid var(--c-prog-b); }
.org-col.org-sup li { border: 1.5px solid var(--c-sup-b); }
.org-col li small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.org-note { margin-top: 18px; font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) {
  .org-branches { grid-template-columns: 1fr; gap: 40px; }
  .org-branches::before { display: none; }
  .org-col::before { top: -40px; height: 40px; }
  .org-col.org-sup::before { display: none; }
}

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(67, 169, 57, .25); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #dbe7f5; margin: 0; max-width: 620px; }
.cta-band .btn-row { position: relative; z-index: 1; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Callouts ---------- */
.callout { border-left: 5px solid var(--orange-accent); background: #fff8ef; padding: 20px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout.blue { border-left-color: var(--blue); background: var(--sky); }
.callout.green { border-left-color: var(--green-accent); background: #eff8ee; }
.callout h3 { font-size: 1.08rem; margin-bottom: .35em; }
.callout p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { margin: 0; width: 44px; height: 44px; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--navy); font-family: var(--font-head); }
.contact-list a { word-break: break-word; }
address { font-style: normal; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field .req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #9aa9bc; border-radius: var(--radius-sm); background: #fff; min-height: 48px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(26, 61, 163, .25); border-color: var(--blue); outline-offset: 0; }
.field .hint { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.field [aria-invalid="true"] { border-color: #b42318; }
.form .error { color: #b42318; font-size: .9rem; margin-top: 6px; font-weight: 600; }
.check-field { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; font-size: .95rem; }
.check-field input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--blue); }
.form-status { margin-top: 14px; font-weight: 600; }

.office-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.office-card h3 { display: flex; align-items: center; gap: 10px; }
.office-card .tag { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; background: var(--sky); color: var(--blue); border-radius: 999px; padding: 3px 10px; font-family: var(--font-body); }

/* ---------- Prose (policy pages) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: #071f47; color: #c5d3e6; margin-top: 0; font-size: .97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 64px 44px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { width: 200px; background: #fff; border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; }
.site-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .9rem; color: #9fb3cf; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-safeguard { background: rgba(255, 255, 255, .06); border-radius: var(--radius-sm); padding: 16px; margin-top: 18px; font-size: .92rem; }
.footer-safeguard strong { color: #fff; display: block; margin-bottom: 4px; }

/* Back to top */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; text-decoration: none;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--navy); color: #fff; }
.to-top svg { width: 22px; height: 22px; }

/* Reveal on scroll (progressive enhancement; content visible without JS) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .to-top, .nav-toggle, .cta-band, .skip-link, form { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .hero, .page-hero { background: none !important; color: #000; }
  .hero h1, .page-hero h1, .page-hero p, .hero-lead { color: #000 !important; }
  .hero::after, .hero-media { display: none; }
  .section { padding-block: 16pt; }
  a { color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Stats directly after an inner-page hero sit below it rather than overlapping */
.page-hero + .stats { margin-top: 0; padding-top: clamp(28px, 4vw, 48px); }

/* Inquiry form: honeypot (hidden from people, visible to bots) and confirmation panel */
[hidden] { display: none !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-success { text-align: center; padding: 24px 8px; outline: none; }
.form-success .icon { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 50%; }
.form-success .icon svg { width: 32px; height: 32px; }
.form-success h2 { font-size: 1.5rem; }
.form-success .btn { margin-top: 8px; }
button[disabled] { opacity: .7; cursor: progress; }
