/* =========================================================================
   SSDC Information Center — design system
   Tokens first, then base, layout, components, sections, responsive.
   ========================================================================= */

/* ---------- tokens ------------------------------------------------------ */
:root {
    /* brand greens */
    --green-900: #0b3d22;
    --green-800: #14532d;
    --green-700: #2e7d32;
    --green-600: #3a8a3f;
    --green-500: #34a853;
    --lime-500: #8cc63f;
    --lime-200: #bce595;
    --lime-600: #7ab52f;
    --green-050: #eef6ef;

    /* accents */
    --gold-500: #dda218;
    --gold-600: #c68f10;
    --blue-800: #17527c;
    --blue-500: #1a73e8;
    --blue-050: #e8f0fe;

    /* neutrals */
    --ink-900: #111827;
    --ink-800: #1f2937;
    --ink-600: #4b5563;
    --ink-500: #6b7280;
    --ink-400: #9ca3af;
    --border: #e5e7eb;
    --surface: #ffffff;
    --surface-alt: #f5f6f5;
    --surface-tint: #f8f9f8;

    /* typography */
    --font-heading: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    /* The MD's own words; a system serif, so no extra font download. */
    --font-quote: Georgia, "Times New Roman", serif;

    --text-xs: 0.75rem;      /* 12 */
    --text-sm: 0.875rem;     /* 14 */
    --text-base: 1rem;       /* 16 */
    --text-lg: 1.125rem;     /* 18 */
    --text-xl: 1.25rem;      /* 20 */
    --text-2xl: 1.5rem;      /* 24 */
    --text-3xl: 2rem;        /* 32 */
    --text-4xl: 2.5rem;      /* 40 */
    --text-5xl: 3rem;        /* 48 */

    /* layout */
    --container: 1300px;
    --gutter: 24px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
    --shadow-raised: 0 12px 32px rgba(16, 24, 40, 0.12);

    --section-y: 96px;

    --header-utility-h: 48px;
    --header-nav-h: 84px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    /* Keep in-page anchors (skip link, #sections) clear of the sticky header. */
    scroll-padding-top: calc(var(--header-utility-h) + var(--header-nav-h));
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--ink-600);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em;
    font-family: var(--font-heading);
    color: var(--ink-900);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1em;
}

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

a {
    color: var(--green-800);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

ul, ol {
    margin: 0 0 1em;
    padding-left: 1.25em;
}

button {
    font: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--green-800);
    color: #fff;
    padding: 12px 20px;
}

.skip-link:focus {
    left: 0;
}

/* ---------- layout ------------------------------------------------------ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-y);
}

.section--tight {
    padding-block: 64px;
}

.section--alt {
    background: var(--surface-alt);
}

.section--tint {
    background: var(--surface-tint);
}

/* ---------- section heading pattern ------------------------------------- */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-600);
}

.eyebrow::before {
    content: "";
    width: 44px;
    height: 3px;
    border-radius: 2px;
    background: var(--gold-500);
    flex: none;
}

.eyebrow--centered {
    justify-content: center;
}

.section-heading {
    font-size: clamp(1.75rem, 3vw, var(--text-4xl));
    margin-bottom: 16px;
    max-width: 18ch;
}

.section-heading--wide {
    max-width: 24ch;
}

.section-heading .highlight {
    color: var(--green-500);
}

.section-lead {
    max-width: 58ch;
    color: var(--ink-600);
}

.section-head--centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-head--centered .section-heading,
.section-head--centered .section-lead {
    max-width: 60ch;
    margin-inline: auto;
}

.section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 48px;
}

/* ---------- buttons ----------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--green-800);
    color: #fff;
}

.btn--primary:hover {
    background: var(--green-900);
    color: #fff;
}

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

.btn--light:hover {
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink-900);
}

.btn--outline {
    background: transparent;
    border-color: currentColor;
    color: var(--green-800);
}

.btn--outline:hover {
    background: var(--green-800);
    color: #fff;
}

.btn--gold {
    background: var(--gold-500);
    color: #fff;
}

.btn--gold:hover {
    background: var(--gold-600);
    color: #fff;
}

.btn--block {
    width: 100%;
}

/* small inline "See More ↗" link */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink-900);
}

.link-arrow svg {
    width: 12px;
    height: 12px;
}

.link-arrow:hover {
    color: var(--green-700);
    text-decoration: none;
}

/* ---------- chips / tags ------------------------------------------------ */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 500;
    line-height: 1.5;
}

.chip--status {
    background: var(--blue-050);
    color: var(--blue-500);
    border: 1px solid rgba(26, 115, 232, 0.25);
}

.chip--category {
    background: #fff;
    color: var(--ink-800);
    box-shadow: var(--shadow-card);
}

.chip--gold {
    background: var(--gold-500);
    color: #fff;
}

/* pill filter row */
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: #fff;
    font-size: var(--text-sm);
    color: var(--ink-600);
    transition: all 0.18s ease;
}

.pill:hover {
    border-color: var(--green-600);
    color: var(--green-800);
    text-decoration: none;
}

.pill.is-active {
    background: var(--green-800);
    border-color: var(--green-800);
    color: #fff;
}

.pill-row--gold .pill.is-active {
    background: var(--gold-500);
    border-color: var(--gold-500);
}

/* ---------- cards ------------------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

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

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

.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #dde6dd 0%, #eef2ee 55%, #e4ebe4 100%);
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__media .chip {
    position: absolute;
    left: 16px;
    bottom: 16px;
}

.card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 22px 24px;
    flex: 1;
}

.card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: var(--text-xs);
    color: var(--ink-500);
}

.card__title {
    font-size: var(--text-lg);
    margin: 0;
}

.card__title a {
    color: inherit;
}

.card__text {
    font-size: var(--text-sm);
    color: var(--ink-600);
    margin: 0;
}

.card__footer {
    margin-top: auto;
    padding-top: 8px;
}

.card__date {
    font-size: var(--text-xs);
    color: var(--gold-600);
}

/* ---------- header ------------------------------------------------------ */
/* Sticky: the page scrolls underneath it. ssdc.js adds .is-stuck once the page has
   moved, which lifts the header off the content with a shadow. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    transition: box-shadow 0.2s ease;
}

.site-header.is-stuck {
    box-shadow: var(--shadow-raised);
}

.utility-bar {
    background: var(--green-700);
    color: #fff;
}

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

.utility-bar__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-base);
}

.utility-bar__tools {
    display: flex;
    align-items: center;
    gap: 20px;
}

.utility-bar__tools .divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
}

.lang-select {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 0;
    color: #fff;
    font-size: var(--text-sm);
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
}

.icon-button:hover {
    background: rgba(255, 255, 255, 0.14);
}

.nav-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.nav-bar__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: var(--header-nav-h);
}

.site-logo img {
    height: 52px;
    width: auto;
}

.site-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--green-800);
}

.main-nav {
    flex: 1;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    display: inline-block;
    padding: 6px 0;
    font-size: var(--text-sm);
    color: var(--ink-600);
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: var(--green-800);
    text-decoration: none;
}

.main-nav a.is-active {
    color: var(--green-800);
    font-weight: 600;
    border-bottom-color: var(--green-700);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    align-items: center;
    justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink-900);
    border-radius: 2px;
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
}

.nav-toggle span::before {
    top: -6px;
}

.nav-toggle span::after {
    top: 6px;
}

/* ---------- hero -------------------------------------------------------- */
/* Sections fall back to brand gradients when no image has been uploaded yet,
   so a freshly seeded site still looks deliberate. */
.hero {
    position: relative;
    background: linear-gradient(120deg, var(--green-900) 0%, var(--green-700) 55%, var(--green-600) 100%);
    min-height: 720px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    border-bottom: 16px solid var(--green-600);
}

.hero__slides {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 20, 12, 0.78) 0%, rgba(8, 20, 12, 0.55) 45%, rgba(8, 20, 12, 0.25) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-block: 80px;
}

.hero__content {
    max-width: 720px;
}

.hero__title {
    color: #fff;
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    margin-bottom: 20px;
    /* Editors control the line break in the heading field. */
    white-space: pre-line;
}

.hero__text {
    max-width: 52ch;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 32px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero__controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--lime-500);
    color: #fff;
    transition: background-color 0.18s ease;
}

.carousel-btn:hover {
    background: var(--lime-600);
}

.carousel-btn svg {
    width: 16px;
    height: 16px;
}

.hero__dots {
    position: absolute;
    right: var(--gutter);
    bottom: 56px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.dot {
    width: 26px;
    height: 5px;
    border: 0;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.55);
    padding: 0;
}

.dot.is-active {
    background: var(--lime-500);
}

/* ---------- ticker ------------------------------------------------------ */
.ticker {
    background: var(--green-700);
    color: #fff;
    overflow: hidden;
}

.ticker__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 116px;
}

.ticker__label {
    flex: none;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
}

.ticker__viewport {
    overflow: hidden;
    flex: 1;
}

.ticker__track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker-scroll 38s linear infinite;
}

.ticker:hover .ticker__track {
    animation-play-state: paused;
}

/* Each item carries the gold rule that follows it, so the duplicated track
   keeps an even rhythm across the loop point. */
.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding-right: 16px;
    color: #fff;
    font-size: var(--text-lg);
}

.ticker__item::after {
    content: "";
    flex: none;
    width: 2px;
    height: 22px;
    background: var(--gold-500);
}

.ticker__item:hover {
    color: #fff;
    text-decoration: underline;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

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

/* ---------- about collage ---------------------------------------------- */
.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}

.collage {
    position: relative;
    min-height: 520px;
}

/* Positions come from explicit --1/--2/--3 modifiers rather than :nth-child,
   because the decorative blobs share the same parent and would shift the count. */
.collage__img {
    position: absolute;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.collage__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage__img--1 {
    width: 24%;
    top: 20%;
    left: 8%;
    z-index: 2;
}

.collage__img--2 {
    width: 84%;
    top: 22%;
    right: 0;
    z-index: 1;
}

.collage__img--3 {
    width: 32%;
    bottom: 2%;
    left: 2%;
    z-index: 3;
}

/* One or two images still need to fill the column convincingly. */
.collage--1 .collage__img--1 {
    width: 78%;
    top: 8%;
    left: 11%;
}

.collage--2 .collage__img--1 {
    width: 46%;
    top: 0;
    left: 2%;
}

.collage--2 .collage__img--2 {
    width: 58%;
    top: auto;
    bottom: 0;
    right: 0;
}

.collage__blob {
    position: absolute;
    border-radius: 50%;
}

.collage__blob--lime {
    width: 96px;
    height: 96px;
    background: var(--lime-500);
    top: 8%;
    left: 0;
}

.collage__blob--green {
    width: 72px;
    height: 72px;
    background: var(--green-700);
    bottom: 18%;
    right: 0;
}

.collage__blob--blue {
    width: 30px;
    height: 30px;
    background: var(--blue-800);
    bottom: 8%;
    left: 42%;
}

/* ---------- data / statistics ------------------------------------------ */
.data {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(120deg, #174f29 0%, var(--green-700) 100%);
}

.data__bg {
    position: absolute;
    inset: 0;
}

.data__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tint the photo enough to keep the white heading readable on the left, while
   still letting the image read through behind the cards. A flat 90% wash hid it. */
.data__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(20, 71, 37, 0.92) 0%,
        rgba(23, 79, 41, 0.82) 38%,
        rgba(23, 79, 41, 0.62) 100%
    );
}

.data__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: center;
}

.data__intro .section-heading,
.data__intro .eyebrow {
    color: #fff;
}

.data__intro .section-heading {
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    max-width: 11ch;
}

.data__intro .section-lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
    max-width: 40ch;
    margin-bottom: 28px;
}

/* White pill with green label, as in the design. */
.data .btn--light {
    color: var(--green-800);
}

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

/* Near-square cards: icon and label at the top, the number anchored low. */
.stat {
    display: flex;
    flex-direction: column;
    aspect-ratio: 7 / 6;
    padding: 34px 34px 38px;
    background: #fff;
    border-radius: 20px;
    color: var(--ink-900);
    box-shadow: var(--shadow-card);
}

.stat__icon {
    display: block;
    width: 26px;
    height: 26px;
    margin-bottom: 26px;
    color: var(--ink-900);
}

.stat__icon svg,
.stat__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stat__label {
    font-size: var(--text-lg);
    color: var(--ink-800);
    margin: 0;
}

.stat__value {
    margin: auto 0 0;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 3.6vw, 4rem);
    font-weight: 700;
    color: var(--green-700);
    line-height: 1;
    /* Digits keep a constant width so the count-up doesn't jitter. */
    font-variant-numeric: tabular-nums;
}

/* ---------- region map -------------------------------------------------- */
.region {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.region__tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.region__tabs .pill {
    justify-content: center;
    width: 100%;
}

/* The brand gradient belongs to the empty-state panel, not the viewport itself:
   artwork exported with transparent margins would otherwise show a green stripe
   down the side. A dark neutral reads as an intentional letterbox instead. */
.region__viewport {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #101a13;
}

.region__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 40px;
    text-align: center;
    color: #fff;
    background: linear-gradient(120deg, var(--green-900) 0%, var(--green-700) 100%);
}

/* Over a photograph, swap the solid brand panel for a scrim that keeps the copy
   readable without hiding the image. */
.region__placeholder--over {
    background: linear-gradient(
        180deg,
        rgba(8, 20, 12, 0.15) 0%,
        rgba(8, 20, 12, 0.45) 45%,
        rgba(8, 20, 12, 0.78) 100%
    );
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.region__placeholder h3 {
    color: #fff;
    font-size: var(--text-3xl);
    margin: 0;
}

.region__placeholder p {
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.region__panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.region__panel.is-active {
    opacity: 1;
    pointer-events: auto;
}

.region__panel img,
.region__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.region__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.region__slide.is-active {
    opacity: 1;
}

.region__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: var(--green-800);
}

.region__nav:hover {
    background: var(--green-900);
}

.region__nav--prev { left: 16px; }
.region__nav--next { right: 16px; }

.region__dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

/* ---------- pillars ----------------------------------------------------- */
.pillars {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.pillar {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 420px;
    border-radius: var(--radius-md);
    overflow: hidden;
    color: #fff;
    background: var(--green-800);
    transition: flex-grow 0.4s ease;
}

.pillar.is-open {
    flex-grow: 2.2;
}

.pillar__bg {
    position: absolute;
    inset: 0;
}

.pillar__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pillar__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 61, 34, 0.1) 0%, rgba(11, 61, 34, 0.88) 62%);
}

.pillar__content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.pillar__title {
    color: #fff;
    font-size: var(--text-base);
    margin: 0;
    max-width: 14ch;
}

.pillar__toggle {
    flex: none;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--green-800);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pillar.is-open .pillar__toggle {
    background: var(--blue-500);
    color: #fff;
}

.pillar__detail {
    display: none;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.85);
}

.pillar.is-open .pillar__detail {
    display: block;
}

/* ---------- regional developments -------------------------------------- */
.developments__head {
    border-bottom: 1px solid var(--gold-500);
    padding-bottom: 28px;
    margin-bottom: 40px;
}

.developments__state {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* No governor portrait uploaded yet — give the cards the full width. */
.developments__state--single {
    grid-template-columns: minmax(0, 1fr);
}

.governor-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: #fff;
}

.governor-card__name {
    background: var(--gold-500);
    color: #fff;
    text-align: center;
    padding: 12px 16px;
}

.governor-card__name strong {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    letter-spacing: 0.04em;
}

.governor-card__name span {
    font-size: var(--text-xs);
    opacity: 0.9;
}

.development-card .card__media {
    aspect-ratio: 16 / 10;
}

.development-card .chip--gold {
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 0 var(--radius-sm) 0 0;
}

/* ---------- partners / agencies ---------------------------------------- */
.logo-strip {
    position: relative;
    overflow: hidden;
    margin-top: 48px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-strip__track {
    display: flex;
    align-items: center;
    gap: 56px;
    animation: ticker-scroll 34s linear infinite;
    width: max-content;
}

.logo-strip:hover .logo-strip__track {
    animation-play-state: paused;
}

.logo-strip img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.logo-strip img:hover {
    filter: none;
    opacity: 1;
}

.logo-strip__item,
.agency-grid__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.logo-strip__item:hover,
.agency-grid__item:hover {
    text-decoration: none;
}

/* Stand-in for a logo that has not been uploaded yet. */
.logo-strip__name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink-800);
    white-space: nowrap;
}

/* The agency grid has fixed columns, so long names must wrap rather than
   push the row wider than the viewport. */
.agency-grid .logo-strip__name {
    white-space: normal;
    text-align: center;
    max-width: 100%;
}

.agency-grid__item {
    max-width: 100%;
}

.agency-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 40px;
    margin-top: 48px;
    align-items: center;
    justify-items: center;
}

.agency-grid img {
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

/* ---------- partner CTA ------------------------------------------------- */
.partner-cta {
    position: relative;
    background: var(--blue-800);
    color: #fff;
    overflow: hidden;
}

.partner-cta::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(52, 168, 83, 0.25);
    pointer-events: none;
}

.partner-cta__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
    padding-block: 72px;
}

.partner-cta .eyebrow,
.partner-cta .section-heading {
    color: #fff;
}

.partner-cta .section-lead {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.partner-cta__media img {
    width: 100%;
    border-radius: var(--radius-md);
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* ---------- newsletter -------------------------------------------------- */
.newsletter {
    background: var(--surface-alt);
    padding-block: 72px;
}

.newsletter__card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 56px 32px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.newsletter__heading {
    font-size: clamp(1.5rem, 2.4vw, var(--text-3xl));
    max-width: 22ch;
    margin-inline: auto;
    margin-bottom: 32px;
}

.newsletter__form {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 560px;
    margin-inline: auto;
    padding: 6px 6px 6px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
}

.newsletter__form input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: var(--text-sm);
    color: var(--ink-900);
    padding-block: 12px;
}

.newsletter__form input:focus {
    outline: none;
}

/* ---------- footer ------------------------------------------------------ */
.site-footer {
    position: relative;
    background: var(--green-700);
    color: rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
}

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

.site-footer__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) auto;
    gap: 48px;
    padding-block: 64px;
}

.site-footer__logo {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 10px;
    display: inline-block;
    margin-bottom: 20px;
}

.site-footer__logo img {
    height: 48px;
    width: auto;
}

.site-footer__about {
    font-size: var(--text-sm);
    max-width: 34ch;
}

.footer-heading {
    color: #fff;
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-address {
    font-size: var(--text-sm);
    font-style: normal;
}

.social-links {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.social-links a {
    display: inline-flex;
    width: 22px;
    height: 22px;
}

.social-links svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.site-footer__bottom {
    position: relative;
    z-index: 2;
    background: var(--green-900);
    text-align: center;
    padding-block: 16px;
    font-size: var(--text-sm);
}

.site-footer__leaf {
    position: absolute;
    opacity: 0.14;
    pointer-events: none;
}

.site-footer__leaf--one {
    top: -20px;
    left: 12%;
    width: 180px;
}

.site-footer__leaf--two {
    right: 6%;
    bottom: 10%;
    width: 220px;
}

/* ---------- inner page shell ------------------------------------------- */
.page-head {
    background: var(--surface-alt);
    padding-block: 24px 28px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: var(--text-xs);
    color: var(--ink-500);
    list-style: none;
    padding: 0;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb li + li::before {
    content: "›";
    color: var(--ink-400);
}

.breadcrumb a {
    color: var(--ink-500);
}

.page-head__title {
    font-size: clamp(1.5rem, 2.6vw, var(--text-3xl));
    margin: 0;
}

.page-banner {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 8px;
    background: linear-gradient(120deg, var(--green-900) 0%, var(--green-700) 100%);
}

.page-banner__bg {
    position: absolute;
    inset: 0;
}

.page-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 15, 0.45);
}

.page-banner__text {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: clamp(1.25rem, 2.2vw, var(--text-2xl));
    max-width: 32ch;
    margin: 0 auto;
    padding: 24px;
}

/* Left-aligned banner variant used by Careers: heading, lead and a button. */
.page-banner--left {
    justify-content: flex-start;
    text-align: left;
    border-radius: 0;
    margin-top: 0;
    min-height: 420px;
}

.page-banner__content {
    position: relative;
    z-index: 2;
    padding-block: 56px;
}

.page-banner__heading {
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    max-width: 18ch;
    margin-bottom: 16px;
}

.page-banner__lead {
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.88);
    font-size: var(--text-sm);
    margin-bottom: 28px;
}

/* Full-width green statement between sections. */
.statement {
    max-width: 36ch;
    margin: 0 auto 88px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--green-800);
}

.why {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 72px;
    align-items: center;
}

/* No image uploaded yet — don't leave half the row empty. */
.why--single {
    grid-template-columns: minmax(0, 1fr);
}

.why__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

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

.value__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--green-700);
    color: #fff;
}

.value__icon img {
    width: 20px;
    height: 20px;
}

.value__title {
    font-size: var(--text-base);
    margin-bottom: 8px;
}

.value__text {
    font-size: var(--text-sm);
    margin: 0;
}

.office-map {
    margin-bottom: 48px;
}

.office-map img {
    width: 100%;
    height: auto;
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.office {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--green-800);
    color: #fff;
    box-shadow: var(--shadow-card);
}

.office__body {
    flex: 1;
    padding: 18px 20px;
}

.office__name {
    color: #fff;
    font-size: var(--text-base);
    margin-bottom: 4px;
}

.office__address {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 12px;
}

.office__link {
    font-size: var(--text-xs);
    color: #fff;
    text-decoration: underline;
}

.office__photo {
    width: 130px;
    object-fit: cover;
    flex: none;
}

.office-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
    font-size: var(--text-sm);
}

.office-legend__pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-700);
    color: #fff;
    font-size: var(--text-xs);
    line-height: 1;
}

/* Vacancy cards on the Careers page. */
.job-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 260px;
    padding: 22px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.chip--soft {
    align-self: flex-start;
    background: var(--surface-alt);
    color: var(--ink-600);
}

.job-card__title {
    font-size: var(--text-base);
    margin: 6px 0 0;
}

.job-card__title a {
    color: inherit;
}

.job-card__dept,
.job-card__location {
    font-size: var(--text-sm);
    color: var(--ink-500);
    margin: 0;
}

.job-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--green-700);
}

.job-card__footer {
    margin-top: auto;
    padding-top: 16px;
}

.prose {
    max-width: 72ch;
}

.prose h2 {
    font-size: var(--text-2xl);
    margin-top: 1.6em;
}

.prose h3 {
    font-size: var(--text-xl);
    margin-top: 1.4em;
}

.prose img {
    border-radius: var(--radius-md);
    margin-block: 1.5em;
}

/* ---------- pagination -------------------------------------------------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
    position: relative;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding-inline: 8px;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--ink-600);
}

.pagination a:hover {
    background: var(--surface-alt);
    text-decoration: none;
}

.pagination .is-current {
    background: var(--surface-alt);
    color: var(--ink-900);
    font-weight: 600;
}

.pagination__next {
    margin-left: auto;
    position: absolute;
    right: 0;
}

/* ---------- empty state ------------------------------------------------- */
.empty-state {
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 48px;
    text-align: center;
    color: var(--ink-500);
    background: var(--surface-tint);
}

/* ---------- leader message (MD's message page + homepage teaser) -------- */
.page-head--message .eyebrow {
    margin: 4px 0 12px;
}

.page-head--message .page-head__title {
    max-width: 28ch;
    font-size: clamp(1.75rem, 3.2vw, var(--text-4xl));
    line-height: 1.15;
}

.md-message {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 72px;
    align-items: start;
}

/* The portrait follows the reader down the speech on wide screens. */
.md-message__aside {
    position: sticky;
    top: calc(var(--header-utility-h) + var(--header-nav-h) + 32px);
}

.md-portrait {
    position: relative;
    margin: 0;
}

.md-portrait__frame {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(160deg, var(--green-800), var(--green-600));
    box-shadow: var(--shadow-card);
}

.md-portrait__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name-card {
    position: relative;
    margin: -48px 20px 0;
    padding: 20px 22px;
    background: #fff;
    border-radius: var(--radius-md);
    border-top: 4px solid var(--gold-500);
    box-shadow: var(--shadow-raised);
}

.name-card__name {
    margin: 0 0 6px;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink-900);
}

.name-card__role {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--ink-600);
}

.md-message__body {
    max-width: 70ch;
    font-size: var(--text-lg);
    line-height: 1.75;
}

.salutation {
    margin-bottom: 1.1em;
    font-weight: 600;
    color: var(--ink-900);
}

.lead-quote {
    margin: 0 0 28px;
    padding-left: 24px;
    border-left: 4px solid var(--gold-500);
    font-family: var(--font-quote);
    font-size: clamp(1.5rem, 2.6vw, 2.125rem);
    font-style: italic;
    line-height: 1.35;
    color: var(--green-800);
}

/* The speech is a Block List: one partial per block type under Views/Partials/blocklist/Components. */
.md-message__blocks {
    counter-reset: message-section;
}

.message-text p {
    margin-bottom: 1.1em;
}

.message-heading {
    counter-increment: message-section;
    margin: 56px 0 20px;
    font-size: clamp(1.375rem, 2.2vw, var(--text-3xl));
}

.message-heading::before {
    content: counter(message-section, decimal-leading-zero);
    display: block;
    margin-bottom: 8px;
    font-size: var(--text-sm);
    letter-spacing: 0.12em;
    color: var(--gold-600);
}

.tick-panel {
    margin: 28px 0;
    padding: 28px 32px;
    background: var(--green-050);
    border-radius: var(--radius-md);
}

.tick-panel__intro {
    margin-bottom: 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--green-800);
}

.tick-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tick-list li {
    position: relative;
    padding-left: 38px;
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--ink-800);
}

/* Tick drawn in CSS: a green disc with a white check. */
.tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.message-statement {
    margin-bottom: 1.1em;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink-900);
}

.sign-off {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.sign-off__thanks {
    margin-bottom: 20px;
}

.sign-off__name {
    margin: 0 0 4px;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--ink-900);
}

.sign-off__role {
    margin: 0;
    font-size: var(--text-base);
    color: var(--ink-600);
}

/* Full-width brand band that closes the message. */
.closing-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--green-900) 0%, var(--green-700) 100%);
    color: #fff;
    text-align: center;
}

.closing-band::before {
    content: "";
    position: absolute;
    left: -120px;
    top: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(140, 198, 63, 0.18);
    pointer-events: none;
}

.closing-band__inner {
    position: relative;
    z-index: 1;
    padding-block: 80px;
}

.closing-band__title {
    margin: 0 auto 32px;
    max-width: 22ch;
    font-size: clamp(1.75rem, 3.6vw, var(--text-5xl));
    letter-spacing: 0.01em;
    color: #fff;
}

.closing-band__title span {
    color: var(--lime-500);
}

.closing-band__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.md-teaser {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
    align-items: center;
}

.md-teaser .md-portrait {
    max-width: 420px;
}

.md-teaser__quote {
    position: relative;
    margin: 0 0 20px;
    padding-top: 40px;
    font-family: var(--font-quote);
    font-size: clamp(1.625rem, 3vw, 2.5rem);
    font-style: italic;
    line-height: 1.3;
    color: var(--green-800);
}

.md-teaser__quote::before {
    content: "\201C";
    position: absolute;
    left: -6px;
    top: -18px;
    font-family: var(--font-quote);
    font-size: 6rem;
    font-style: normal;
    line-height: 1;
    color: var(--gold-500);
}

.md-teaser__excerpt {
    max-width: 58ch;
    font-size: var(--text-lg);
    color: var(--ink-600);
}

.md-teaser__attribution {
    margin: 24px 0 28px;
}

.md-teaser__attribution strong {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--ink-900);
}

.md-teaser__attribution span {
    font-size: var(--text-sm);
    color: var(--ink-500);
}

/* ---------- nav dropdown ------------------------------------------------ */
.main-nav .has-submenu {
    position: relative;
}

.submenu-toggle {
    display: none;
    border: 0;
    background: none;
    padding: 4px;
    color: inherit;
    cursor: pointer;
}

.submenu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: -16px;
    z-index: 30;
    min-width: 248px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    /* Hidden without removing it from the layout, so the hover target stays stable. */
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s;
}

.main-nav .has-submenu:hover .submenu,
.main-nav .has-submenu:focus-within .submenu,
.main-nav .has-submenu.is-open .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.submenu a {
    display: block;
    padding: 9px 12px;
    border-bottom: 0;
    border-radius: var(--radius-sm);
    color: var(--ink-600);
    white-space: nowrap;
}

.submenu a:hover {
    background: var(--green-050);
    color: var(--green-800);
}

.submenu a.is-active {
    background: var(--green-050);
    color: var(--green-800);
    font-weight: 600;
}

/* ---------- leadership page --------------------------------------------- */
.page-head--leadership {
    background: linear-gradient(120deg, var(--green-900) 0%, var(--green-700) 100%);
    color: #fff;
    padding-block: 28px 56px;
}

.page-head--leadership .breadcrumb,
.page-head--leadership .breadcrumb a {
    color: rgba(255, 255, 255, 0.72);
}

.page-head--leadership .breadcrumb li + li::before {
    color: rgba(255, 255, 255, 0.5);
}

.page-head--leadership .eyebrow {
    color: var(--lime-500);
    margin: 8px 0 14px;
}

.page-head--leadership .page-head__title {
    max-width: 20ch;
    font-size: clamp(2rem, 4vw, var(--text-5xl));
    line-height: 1.12;
    color: #fff;
}

/* The emphasised half is a second line in paler green, not italics. */
.page-head--leadership .page-head__title em {
    display: block;
    font-style: normal;
    font-weight: 700;
    color: var(--lime-200);
}

.page-head__lead {
    max-width: 52ch;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.leadership-hero__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.leadership-hero__states {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.leadership-hero__states span[aria-hidden] {
    color: var(--lime-500);
}

.page-head--leadership .link-arrow {
    color: #fff;
}

.page-head--leadership .link-arrow::after {
    content: " ↓";
}

.page-head--leadership .link-arrow:hover {
    color: var(--lime-500);
}

/* "at a glance" — chairman and MD */
.leader-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.leader-feature {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.leader-feature__portrait {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(140deg, var(--green-800), var(--green-600));
}

.leader-feature__portrait img,
.leader-card__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.leader-feature__name {
    font-size: var(--text-xl);
    margin: 10px 0 6px;
}

/* directory */
.directory-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* The pill row carries its own bottom margin for listing pages; the directory
   puts the search beside it, so the gap is handled by .directory-tools. */
.directory-tools .pill-row {
    margin-bottom: 0 !important;
    flex: 1 1 auto;
}

.directory-search {
    flex: 0 1 300px;
}

.directory-search input {
    width: 100%;
    padding: 11px 16px;
    font: inherit;
    font-size: var(--text-sm);
    color: var(--ink-900);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
}

.directory-search input:focus-visible {
    outline: 2px solid var(--green-500);
    outline-offset: 1px;
}

.directory-count {
    margin: 22px 0 28px;
    font-size: var(--text-sm);
    color: var(--ink-500);
}

.leader-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.leader-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-raised);
}

.leader-card__portrait {
    aspect-ratio: 1;
    background: linear-gradient(140deg, var(--green-800), var(--green-600));
}

.leader-card__body {
    padding: 20px;
}

.leader-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    margin-bottom: 10px;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-800);
    background: var(--green-050);
    border-radius: var(--radius-pill);
}

.leader-card__name {
    font-size: var(--text-base);
    line-height: 1.3;
    margin: 0 0 6px;
}

.leader-card__role {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--ink-500);
}

.directory-empty,
.directory-note {
    margin-top: 28px;
    font-size: var(--text-sm);
    color: var(--ink-500);
}

.directory-note {
    max-width: 76ch;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

/* mandate band */
.mandate__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 56px;
    align-items: start;
}

.mandate__summary {
    margin: 0 0 32px;
    font-size: var(--text-lg);
    color: var(--ink-600);
}

.mandate__pillars {
    display: grid;
    gap: 22px;
}

.mandate__pillar {
    padding-left: 20px;
    border-left: 3px solid var(--lime-500);
}

.mandate__pillar strong {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
}

.mandate__pillar p {
    margin: 0;
    color: var(--ink-600);
}

.mandate__ref {
    display: block;
    margin-top: 4px;
    font-size: var(--text-xs);
    color: var(--ink-400);
}

/* ---------- responsive -------------------------------------------------- */
@media (max-width: 1200px) {
    :root {
        --section-y: 72px;
    }

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

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

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

@media (max-width: 1024px) {
    .main-nav > ul {
        gap: 14px;
    }

    .main-nav a {
        font-size: var(--text-xs);
    }

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

    .about,
    .data__inner,
    .partner-cta__inner,
    .section-head--split {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

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

    .why {
        gap: 40px;
    }

    .md-message,
    .md-teaser {
        gap: 48px;
    }

    .leader-feature-grid,
    .mandate__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .mandate__inner {
        gap: 32px;
    }

    .governor-card {
        max-width: 300px;
    }

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

    .region__tabs {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .region__tabs .pill {
        width: auto;
    }

    .pillars {
        flex-wrap: wrap;
    }

    .pillar {
        flex: 1 1 240px;
    }
}

@media (max-width: 860px) {
    html {
        scroll-padding-top: var(--header-nav-h);
    }

    /* Let the utility bar scroll away and pin just the nav bar, so the header does not
       eat a fifth of a phone screen. --utility-bar-h is measured by ssdc.js. */
    .site-header {
        top: calc(-1 * var(--utility-bar-h, var(--header-utility-h)));
    }

    .nav-toggle {
        display: inline-flex;
    }

    /* Portrait and name card stack above the text. */
    .md-message,
    .md-teaser {
        grid-template-columns: minmax(0, 1fr);
    }

    .md-message__aside {
        position: static;
    }

    .md-portrait,
    .md-teaser .md-portrait {
        max-width: 360px;
    }

    .md-message__body {
        font-size: var(--text-base);
    }

    .tick-panel {
        padding: 22px 20px;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-card);
        display: none;
        /* The header is pinned, so a long menu has to scroll inside itself. */
        max-height: calc(100vh - var(--header-utility-h) - var(--header-nav-h));
        overflow-y: auto;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px var(--gutter) 16px;
    }

    .main-nav a {
        display: block;
        padding: 12px 0;
        font-size: var(--text-sm);
        border-bottom: 1px solid var(--border);
    }

    /* No hover on a touch menu: the caret button opens the submenu in flow. */
    .main-nav .has-submenu {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
    }

    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid var(--border);
    }

    .submenu-toggle[aria-expanded="true"] svg {
        transform: rotate(180deg);
    }

    .submenu {
        grid-column: 1 / -1;
        position: static;
        min-width: 0;
        padding: 0 0 0 16px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        transition: none;
        display: none;
    }

    .main-nav .has-submenu:hover .submenu,
    .main-nav .has-submenu:focus-within .submenu {
        display: none;
    }

    .main-nav .has-submenu.is-open .submenu {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .submenu a {
        border-radius: 0;
        white-space: normal;
    }

    .directory-tools {
        flex-direction: column;
        align-items: stretch;
    }

    .directory-search {
        flex-basis: auto;
    }

    .leader-feature {
        grid-template-columns: 140px minmax(0, 1fr);
        gap: 20px;
    }

    .nav-bar__inner {
        position: relative;
        justify-content: space-between;
        gap: 16px;
    }

    .nav-bar .btn {
        display: none;
    }

    .hero {
        min-height: 560px;
    }

    .hero__dots {
        bottom: 24px;
    }

    .stat-grid,
    .card-grid,
    .card-grid--3,
    .card-grid--4,
    .value-grid,
    .office-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .collage {
        min-height: 340px;
    }

    .ticker__inner {
        min-height: 76px;
        gap: 14px;
    }

    .ticker__label {
        font-size: var(--text-base);
    }

    .ticker__item {
        font-size: var(--text-sm);
        gap: 12px;
        padding-right: 12px;
    }

    .utility-bar__title {
        font-size: var(--text-sm);
    }
}

@media (max-width: 560px) {
    :root {
        --section-y: 56px;
        --gutter: 18px;
    }

    .newsletter__card {
        padding: 36px 20px;
    }

    .newsletter__form {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 12px;
        gap: 12px;
    }

    .newsletter__form input {
        width: 100%;
        text-align: center;
    }

    .newsletter__form .btn {
        width: 100%;
    }

    .pagination__next {
        display: none;
    }
}
