/* ==========================================================================
   site.css — loaded on EVERY page
   1. Fonts  2. Tokens  3. Base  4. Header & nav  5. Components  6. Footer
   7. Responsive  8. Home page hero
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
    font-family: "TT Commons";
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/tt-commons/TTCommons-Light.woff2") format("woff2"), url("../fonts/tt-commons/TTCommons-Light.woff") format("woff");
}

@font-face {
    font-family: "TT Commons";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/tt-commons/TTCommons-Regular.woff2") format("woff2"), url("../fonts/tt-commons/TTCommons-Regular.woff") format("woff");
}

@font-face {
    font-family: "TT Commons";
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/tt-commons/TTCommons-Medium.woff2") format("woff2"), url("../fonts/tt-commons/TTCommons-Medium.woff") format("woff");
}

@font-face {
    font-family: "TT Commons";
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/tt-commons/TTCommons-DemiBold.woff2") format("woff2"), url("../fonts/tt-commons/TTCommons-DemiBold.woff") format("woff");
}

@font-face {
    font-family: "Signifier";
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/signifier/Signifier-Light.woff2") format("woff2"), url("../fonts/signifier/Signifier-Light.woff") format("woff");
}

@font-face {
    font-family: "Signifier";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/signifier/Signifier-Regular.woff2") format("woff2"), url("../fonts/signifier/Signifier-Regular.woff") format("woff");
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
    /* colour */
    --navy: #08225a;
    --brand: #144aa5;
    --blue: #0069ff;
    --sky: #0da5e9;
    --deep: #1c409b;
    --ink: #0a0a0a;
    --paper: #ffffff;
    --surface: #f6f6f6;
    --text: #3c4653;
    --muted: #68717a;
    --line: rgba(8, 34, 90, 0.15);
    --line-soft: rgba(8, 34, 90, 0.12);
    --on-dark: rgba(241, 241, 242, 0.88);

    /* type */
    --font-sans: "TT Commons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-serif: "Signifier", "Times New Roman", serif;

    /* layout */
    --nav-h: 120.8px;
    --edge: calc(100% / 24 + clamp(2rem, 3.5vw, 4rem));
    /* clears the empty white first column */
    --gutter: clamp(1.5rem, 4vw, 4rem);
    --section-y: clamp(64px, 7vw, 112px);
    --gap: clamp(1.5rem, 3vw, 3rem);

    /* home hero */
    --hero-h: clamp(600px, 44vw, 940px);
    --header-h: calc(var(--nav-h) + var(--hero-h));
    /* CTA starts at 75% of the header and reaches 70% into the intro section */
    --intro-h: clamp(260px, 22vw, 392px);
    --cta-h: calc(0.25 * var(--header-h) + 0.7 * var(--intro-h));

    /* effects */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --shadow-card: -14px 18px 36px rgba(8, 34, 90, 0.28);
}

/* 3. Base ----------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 16.4px/1.6 var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

body.nav-open {
    overflow: hidden;
}

/* Anchored sections stop below the sticky nav */
[id] {
    scroll-margin-top: calc(var(--nav-h) + 16px);
}

/* 4. Header & nav --------------------------------------------------------- */
/* Sticky bar holds only the nav; the hero lives in .site-hero below it */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    background: var(--paper);
}

/* Hero band: spacer row = nav height so .header-cta's 75% anchor
   lands exactly where it did when the hero lived inside .site-header */
.site-hero {
    position: relative;
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    /* grid-template-rows: var(--nav-h) minmax(0, 1fr); */
    background: var(--paper);
}

.site-nav {
    grid-column: 3 / 23;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: var(--nav-h);
}

.site-nav__logo {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.site-nav__logo img {
    width: clamp(105.6px, 9.6vw, 140.8px);
    height: auto;
}

.site-nav__links {
    display: flex;
    align-items: stretch;
    height: var(--nav-h);
    gap: clamp(20px, 2.4vw, 44px);
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 18px;
    font-weight: 500;
}

/* Full row height so hovering link → panel has no dead zone */
.site-nav__item {
    position: static;
    display: flex;
    align-items: center;
    height: 100%;
}

.site-nav__link {
    position: relative;
    display: inline-block;
    padding: 6px 0;
}

.site-nav__link::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
}

.site-nav__cta {
    flex: none;
    min-height: 50px;
    padding: 0 24px;
}

/* Dropdown panel */
.subnav {
    position: absolute;
    top: calc(var(--nav-h) - 1px);
    left: 0;
    right: 0;
    z-index: 30;
    height: 40vh;
    min-height: 360px;
    overflow: auto;
    background: var(--paper);
    border-top: 1px solid rgba(8, 34, 90, 0.1);
    box-shadow: 0 28px 60px rgba(8, 34, 90, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

.site-nav__item:hover .subnav,
.site-nav__item:focus-within .subnav {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.subnav__inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) 1px minmax(0, 7fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    height: 100%;
    padding: 1.5rem calc(100% / 12);
}

.subnav__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(1.25rem, 3vh, 2.5rem);
}

.subnav__title {
    color: var(--brand);
    font: 400 clamp(2rem, 3.1vw, 3rem)/1.05 var(--font-serif);
    letter-spacing: -0.02em;
}

.subnav__divider {
    width: 1px;
    height: 100%;
    background: var(--line-soft);
}

.subnav__list {
    display: grid;
    gap: clamp(0.5rem, 1.6vh, 1rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.subnav__list a {
    position: relative;
    display: inline-block;
    width: max-content;
    padding-bottom: 3px;
    color: var(--brand);
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    font-weight: 500;
}

.subnav__list a::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.subnav__list a:hover::after,
.subnav__list a:focus-visible::after {
    transform: scaleX(1);
}

/* Hamburger + mobile panel */
.site-nav__burger {
    display: none;
    position: relative;
    z-index: 41;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.site-nav__burger-line {
    position: absolute;
    left: 9px;
    width: 26px;
    height: 2px;
    background: var(--navy);
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}

.site-nav__burger-line:nth-child(1) {
    top: 15px;
}

.site-nav__burger-line:nth-child(2) {
    top: 21px;
}

.site-nav__burger-line:nth-child(3) {
    top: 27px;
}

.site-nav__burger[aria-expanded="true"] .site-nav__burger-line:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

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

.site-nav__burger[aria-expanded="true"] .site-nav__burger-line:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    z-index: 40;
    overflow: auto;
    padding: 1.25rem 1.25rem 3rem;
    background: var(--paper);
    border-top: 1px solid rgba(8, 34, 90, 0.1);
    animation: mobile-nav-in 0.35s var(--ease);
}

.mobile-nav[hidden] {
    display: none;
}

.mobile-nav nav {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

@keyframes mobile-nav-in {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

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

.mobile-nav__group,
.mobile-nav__donate {
    animation: mobile-nav-in 0.4s var(--ease) both;
}

.mobile-nav__group {
    border-bottom: 1px solid var(--line-soft);
}

.mobile-nav__group:nth-of-type(2) {
    animation-delay: 0.05s;
}

.mobile-nav__group:nth-of-type(3) {
    animation-delay: 0.1s;
}

.mobile-nav__group:nth-of-type(4) {
    animation-delay: 0.15s;
}

.mobile-nav__group:nth-of-type(5) {
    animation-delay: 0.2s;
}

.mobile-nav__toggle,
.mobile-nav__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.1rem 0;
    border: 0;
    background: transparent;
    color: var(--brand);
    font: 400 1.5rem/1.6 var(--font-serif);
    letter-spacing: -0.02em;
    text-align: left;
    cursor: pointer;
    transition: color 0.25s var(--ease);
}

.mobile-nav__toggle:hover,
.mobile-nav__toggle:focus-visible,
.mobile-nav__heading:hover,
.mobile-nav__heading:focus-visible {
    color: var(--navy);
}

.mobile-nav__toggle .icon,
.mobile-nav__toggle .mobile-nav__chevron {
    transition: transform 0.3s var(--ease);
}

.mobile-nav__toggle[aria-expanded="true"] .icon,
.mobile-nav__toggle[aria-expanded="true"] .mobile-nav__chevron {
    transform: rotate(180deg);
}

/* Collapsible submenu — animates grid rows 0fr → 1fr */
.mobile-nav__submenu {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows 0.35s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
}

.mobile-nav__submenu.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
}

.mobile-nav__submenu-inner {
    display: grid;
    min-height: 0;
    overflow: hidden;
    gap: 0.1rem;
    padding-bottom: 1.1rem;
}

.mobile-nav__submenu a {
    padding: 0.45rem 0.9rem;
    border-left: 2px solid transparent;
    color: var(--navy);
    font-weight: 500;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.mobile-nav__submenu a:hover,
.mobile-nav__submenu a:focus-visible {
    border-left-color: var(--brand);
    background: rgba(20, 74, 165, 0.06);
    color: var(--brand);
}

.mobile-nav__donate {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    margin-top: auto;
    min-height: 56px;
    padding: 0 24px;
    background: var(--navy);
    color: var(--paper);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.25s var(--ease);
}

.mobile-nav__donate:hover,
.mobile-nav__donate:focus-visible {
    background: var(--brand);
}

/* 5. Components ----------------------------------------------------------
   Use these on any page. Pattern: .block + .block--modifier              */

/* Icons (SVG sprite defined once at the top of <body>) */
.icon {
    width: 20px;
    height: 14px;
    flex: none;
    transition: transform 0.3s var(--ease);
}

.icon--chevron {
    width: 18px;
    height: 18px;
}

/* Section shell + inner container */
.section {
    padding-block: var(--section-y);
    background: var(--paper);
}

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

.section--navy {
    background: var(--navy);
    color: var(--paper);
}

.container {
    padding-inline: var(--edge) var(--gutter);
}

/* Eyebrow label */
.eyebrow {
    margin: 0;
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow--brand {
    color: var(--brand);
}

.eyebrow--muted {
    color: var(--muted);
}

.eyebrow--rule {
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
    border-bottom: 1px solid var(--line);
}

/* Headings (serif). Sizes: --lg, default, --xl. <em> = accent colour */
.heading {
    margin: 0;
    color: var(--navy);
    font: 400 clamp(2.4rem, 4.6vw, 4rem)/1.05 var(--font-serif);
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.heading--lg {
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.heading em {
    font-style: normal;
    color: var(--brand);
}

.section--navy .heading {
    color: inherit;
}

/* Body copy */
.lede {
    margin: 0;
    max-width: 56ch;
    color: var(--text);
    font-size: clamp(1.1rem, 1.25vw, 1.3rem);
    line-height: 1.65;
}

.section--navy .lede {
    color: var(--on-dark);
}

/* Buttons: .btn (solid brand) + --light / --ghost / --outline */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border: 1px solid var(--brand);
    background: var(--brand);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
    background: transparent;
    color: var(--brand);
}

.btn--light,
.btn--ghost,
.btn--outline {
    padding-block: 0;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn--light {
    border-color: rgba(241, 241, 242, 0.48);
    background: var(--paper);
    color: var(--navy);
}

.btn--light:hover,
.btn--light:focus-visible {
    background: transparent;
    color: var(--paper);
}

.btn--ghost {
    border-color: rgba(241, 241, 242, 0.48);
    background: transparent;
    color: var(--paper);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    background: var(--paper);
    color: var(--navy);
}

.btn--outline {
    border-color: var(--navy);
    background: transparent;
    color: var(--navy);
}

.btn--outline:hover,
.btn--outline:focus-visible {
    background: var(--navy);
    color: var(--paper);
}

.btn-row {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Arrow link: <a class="link-arrow">Text <svg class="icon">…</svg></a> */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--brand);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.link-arrow--caps {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.link-arrow:hover .icon,
.link-arrow:focus-visible .icon {
    transform: translateX(6px);
}

/* Grid: .grid--2 / .grid--3, collapses to 1 column ≤980px.
   --divided = hairlines between columns (stat bands) */
.grid {
    display: grid;
    gap: var(--gap);
}

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

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

.grid--divided {
    gap: 0;
}

.grid--divided>* {
    padding-inline: var(--gap);
}

.grid--divided> :first-child {
    padding-left: 0;
}

.grid--divided> :last-child {
    padding-right: 0;
}

.grid--divided>*+* {
    border-left: 1px solid var(--line-soft);
}

/* Split: two columns. Ratio via modifier. */
.split {
    display: grid;
    grid-template-columns: var(--split, minmax(0, 1fr) minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;
}

.split--5-7 {
    --split: minmax(0, 5fr) minmax(0, 7fr);
}

.split--7-6 {
    --split: minmax(0, 7fr) minmax(0, 6fr);
}

.split--7-5 {
    --split: minmax(0, 7fr) minmax(0, 5fr);
}

.split--end {
    align-items: end;
}

/* Section header: title left, copy right, hairline below */
.section__head {
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
    border-bottom: 1px solid var(--line);
}

/* Card: .card + .card__title; optional .meta row above */
.card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
    background: var(--surface);
    border-top: 3px solid var(--brand);
}

.card__title {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.5rem, 2.1vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.card__title a:hover,
.card__title a:focus-visible {
    color: var(--brand);
}

.card>.link-arrow {
    margin-top: auto;
}

/* Meta row: date · source / tag */
.meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.meta__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand);
}

.meta__tag {
    color: var(--brand);
}

/* Statement intro: eyebrow left, serif statement right with hairline */
.intro__inner {
    display: flex;
    align-items: flex-start;
    gap: clamp(2rem, 5vw, 6rem);
}

.intro__label {
    flex: none;
    width: 100%;
    max-width: 298px;
    padding-top: 0.375rem;
}

.intro__body {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 1.5rem;
}

.intro__body::before {
    content: "";
    position: absolute;
    top: 0.375rem;
    left: 0;
    height: 100%;
    border-left: 1px solid rgba(5, 20, 35, 0.23);
}

.intro__text {
    max-width: 56rem;
    margin: 0;
    color: var(--navy);
    font: 400 clamp(1.25rem, 2.2vw, 2.5rem)/1.25 var(--font-serif);
    text-wrap: pretty;
}

/* Stat column: big serif value + caption + skills list */
.stat__value {
    margin: 0;
    color: var(--brand);
    font: 400 clamp(3rem, 5.6vw, 4.75rem)/1 var(--font-serif);
    letter-spacing: -0.03em;
}

.stat__title {
    max-width: 26ch;
    margin: 0.9rem 0 0;
    color: var(--navy);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
}

.stat__note {
    max-width: 30ch;
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.stat__list {
    max-width: 34ch;
    margin: clamp(1.5rem, 2.5vw, 2.5rem) 0 0;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line-soft);
    color: var(--navy);
    font-size: 0.95rem;
}

.stat__list span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.stat .eyebrow {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* Figure with offset shadow; --tall = fixed 460px crop */
.figure {
    margin: 0;
}

.figure img {
    width: 100%;
    object-fit: cover;
    object-position: center top;
    box-shadow: var(--shadow-card);
}

.figure--tall img {
    height: 460px;
}

/* Video frame */
.video-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    object-fit: cover;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}

/* 6. Footer --------------------------------------------------------------- */
.site-footer {
    background: var(--navy);
    color: rgba(241, 241, 242, 0.9);
}

.site-footer__inner {
    padding: clamp(3.5rem, 6vw, 5.5rem) var(--edge) clamp(1.5rem, 2vw, 2.5rem);
}

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
    gap: clamp(2.5rem, 5vw, 6rem);
}

.site-footer__brand img {
    width: clamp(140px, 12vw, 180px);
    height: auto;
}

.site-footer__tagline {
    max-width: 30ch;
    margin: 1.25rem 0 0;
    color: rgba(241, 241, 242, 0.65);
    font-size: 1.2rem;
    line-height: 1.55;
}

.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.site-footer__col h2 {
    margin: 0 0 1.1rem;
    color: rgba(241, 241, 242, 0.6);
    font-size: 0.936rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-footer ul {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__col a {
    color: rgba(241, 241, 242, 0.95);
    font-size: 1.176rem;
    line-height: 1.45;
}

.site-footer__col a:hover,
.site-footer__col a:focus-visible {
    color: var(--sky);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-top: clamp(3rem, 5vw, 4.5rem);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(241, 241, 242, 0.18);
    font-size: 1.08rem;
}

.site-footer__copyright {
    margin: 0;
    color: rgba(241, 241, 242, 0.65);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.site-footer__legal a {
    color: rgba(241, 241, 242, 0.85);
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
    color: var(--paper);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer__social {
    display: flex;
    gap: 0.75rem;
}

.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(241, 241, 242, 0.35);
    border-radius: 50%;
    color: rgba(241, 241, 242, 0.9);
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
    background: var(--paper);
    border-color: var(--paper);
    color: var(--navy);
}

/* 7. Responsive ----------------------------------------------------------- */
@media (min-width: 981px) {
    .mobile-nav {
        display: none;
    }
}

@media (max-width: 980px) {
    :root {
        --nav-h: 86.4px;
    }

    .site-nav__links,
    .site-nav__cta {
        display: none;
    }

    .site-nav__logo img {
        width: clamp(95px, 8.64vw, 126.72px);
    }

    .site-nav__burger {
        display: inline-flex;
    }

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

    .grid--divided>* {
        padding-inline: 0;
    }

    .grid--divided>*+* {
        padding-top: var(--gap);
        border-top: 1px solid var(--line-soft);
        border-left: 0;
    }

    .split--end {
        align-items: start;
    }

    .intro__inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .intro__label {
        max-width: none;
        padding-top: 0;
    }

    .figure--tall img {
        height: auto;
    }

    .lede,
    .stat__title,
    .stat__note,
    .stat__list {
        max-width: 62ch;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 700px) {
    :root {
        --nav-h: 81.6px;
    }

    body {
        font-size: 19.2px;
    }

    .container {
        padding-inline: 1.25rem;
    }

    .section {
        padding-block: clamp(48px, 10vw, 72px);
    }

    .heading {
        font-size: clamp(2.1rem, 9.5vw, 3rem);
    }

    .stat__value {
        font-size: clamp(2.6rem, 13vw, 3.6rem);
    }

    .card {
        padding: 1.5rem;
    }

    .card__title {
        font-size: clamp(1.35rem, 6vw, 1.7rem);
    }

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

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__legal {
        gap: 1rem 1.25rem;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* 8. Home page hero --------------------------------------------------------
   Carousel hero, translucent CTA panel, white first-column overlay.
   Homepage-only selectors prefixed .header-* / .intro--overhang */

/* Carousel ---------------------------------------------------------------- */
.header-carousel {
    grid-column: 2 / -1;
    grid-row: 2;
    position: relative;
    z-index: 2;
    min-width: 0;
    height: var(--hero-h);
    overflow: hidden;
    background: var(--navy);
    isolation: isolate;
}

.header-carousel__track {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.header-carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s var(--ease);
}

.header-carousel__slide.is-active {
    opacity: 1;
}

.header-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.header-carousel__scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(rgba(10, 10, 10, 0.2), rgba(10, 10, 10, 0.2)),
        radial-gradient(ellipse 78% 88% at 28% 42%, rgba(10, 10, 10, 0.48) 0%, rgba(10, 10, 10, 0) 70%);
}

.header-carousel__content {
    position: absolute;
    top: 40%;
    right: clamp(24px, 4vw, 64px);
    left: clamp(24px, 4vw, 64px);
    z-index: 3;
    color: var(--paper);
    text-shadow: 0 2px 26px rgba(10, 10, 10, 0.45);
    transform: translateY(-50%);
}

.header-carousel__kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    color: rgba(241, 241, 242, 0.76);
    font-size: 13.2px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.header-carousel__kicker::before {
    content: "";
    width: 38px;
    height: 1px;
    background: var(--sky);
}

.header-carousel__title {
    max-width: 14ch;
    margin: 0;
    font: 400 clamp(2.8rem, 6vw, 5.5rem)/1.05 var(--font-serif);
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.header-carousel__title em {
    font-style: normal;
    color: var(--sky);
}

/* CTA panel --------------------------------------------------------------- */
.header-cta {
    position: absolute;
    top: 75%;
    right: 4%;
    left: 0;
    z-index: 3;
    height: var(--cta-h);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(28px, 4vw, 64px);
    padding: clamp(30px, 3.4vw, 52px) clamp(24px, 4vw, 64px);
    padding-left: var(--edge);
}

.header-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(20, 74, 165, 0.57);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.header-cta__statement {
    max-width: 54ch;
    margin: 0;
    color: var(--paper);
    font-size: 1.625rem;
    line-height: 1.45;
    text-wrap: pretty;
}

.header-cta .btn {
    flex: none;
    min-height: 52px;
    padding-inline: 26px;
}

/* Empty white scrim covering the CTA where it enters column 1 */
.header-column-one {
    position: absolute;
    top: 75%;
    left: 0;
    z-index: 5;
    width: calc(100% / 24);
    height: var(--cta-h);
    background: rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

/* Intro section sits above the CTA seam; extra top padding clears the overhang */
.intro--overhang {
    position: relative;
    z-index: 4;
    min-height: var(--intro-h);
    padding-top: 8.2rem;
}

@media (max-width: 980px) {
    .header-cta {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    :root {
        --hero-h: clamp(560px, 140vw, 760px);
    }

    .header-carousel__content {
        top: 38%;
        right: 22px;
        left: 22px;
    }

    .header-carousel__title {
        font-size: clamp(2.35rem, 10.5vw, 4.6rem);
    }

    .header-cta {
        justify-content: flex-start;
        gap: 28px;
        padding: 24px 18px 24px calc(100% / 24 + 16px);
    }

    .header-cta__statement {
        font-size: 1.15rem;
        line-height: 1.5;
    }

    .header-cta .btn {
        min-height: 46px;
        padding-inline: 18px;
        font-size: 20.4px;
    }
}