:root {
    --orange: #f05a22;
    --orange-deep: #bd3d10;
    --gold: #f7b267;
    --navy: #07162f;
    --navy-2: #0d2448;
    --teal: #10b7bd;
    --cyan: #79eef5;
    --charcoal: #121722;
    --bone: #f5efe3;
    --paper: #fff9ee;
    --white: #ffffff;
    --muted: #6e7788;
    --line: rgba(255, 255, 255, .16);
    --dark-line: rgba(7, 22, 47, .12);
    --shadow: 0 26px 80px rgba(7, 22, 47, .18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--navy);
    background: var(--bone);
    font-family: "Montserrat", system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section {
    padding: 110px 0;
    position: relative;
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    padding: 18px 0;
    transition: background .35s ease, padding .35s ease, border-color .35s ease;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled,
.site-header.open {
    padding: 11px 0;
    background: rgba(7, 22, 47, .84);
    border-bottom-color: rgba(255, 255, 255, .12);
}

/* backdrop-filter lives on a pseudo-element so it cannot trap
   the position:fixed primary-nav inside a shrunken containing block */
.site-header.scrolled::before,
.site-header.open::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .25));
}

.site-header .brand {
    position: relative;
    z-index: 2;
}

.home-page .site-header .brand {
    width: 182px;
    visibility: hidden;
}

.brand-copy {
    display: grid;
    gap: 2px;
    line-height: 1;
    text-transform: uppercase;
}

.brand-copy span {
    color: var(--white);
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    letter-spacing: .08em;
}

.brand-copy small {
    color: rgba(255, 255, 255, .76);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: .35em;
}

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

.primary-nav a,
.nav-group-toggle {
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
}

.primary-nav a::after,
.nav-group-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
}

.primary-nav a:hover::after,
.nav-group:hover .nav-group-toggle::after,
.nav-group:focus-within .nav-group-toggle::after {
    transform: scaleX(1);
}

.nav-group {
    position: relative;
}

.nav-group-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    cursor: default;
    background: transparent;
    font-family: inherit;
}

.nav-group-toggle::before {
    content: "";
    order: 2;
    width: 7px;
    height: 7px;
    border-right: 2px solid rgba(255, 255, 255, .7);
    border-bottom: 2px solid rgba(255, 255, 255, .7);
    transform: rotate(45deg) translateY(-1px);
}

.nav-submenu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 30;
    display: grid;
    min-width: 220px;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(7, 22, 47, .96);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .24);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity .22s ease, transform .22s ease;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-submenu a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .88);
    white-space: nowrap;
}

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

.nav-submenu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, .08);
}

.donate-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 18px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), #ff7a18);
    box-shadow: 0 16px 34px rgba(240, 90, 34, .26);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.donate-pill::before,
.donate-pill::after {
    content: "♡";
    font-size: 12px;
    line-height: 1;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    transition: transform .25s ease, opacity .25s ease;
}

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

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

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

.hero {
    min-height: 100vh;
    padding: 132px 0 86px;
    isolation: isolate;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-media,
.cta-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, var(--navy), var(--charcoal));
}

.hero-media img,
.cta-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.08);
}

.hero-media {
    transform: scale(1.02);
}

.hero-media::after,
.cta-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 22, 47, .96) 0%, rgba(7, 22, 47, .76) 43%, rgba(7, 22, 47, .25) 100%),
        linear-gradient(0deg, rgba(7, 22, 47, .82), rgba(7, 22, 47, .12) 52%, rgba(7, 22, 47, .66));
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 52% 42%, rgba(255, 185, 96, .48), transparent 22%),
        radial-gradient(circle at 73% 78%, rgba(16, 183, 189, .22), transparent 28%),
        linear-gradient(90deg, rgba(0, 94, 123, .34), transparent 35%, rgba(240, 90, 34, .14));
    mix-blend-mode: screen;
}

.hero-copy {
    position: relative;
}

.hero-copy::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 42px;
    bottom: 4px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--orange), rgba(16, 183, 189, .65), transparent);
}

.hero-noise,
.pattern {
    position: absolute;
    inset: 0;
    opacity: .16;
    pointer-events: none;
    background-image:
        linear-gradient(30deg, rgba(255,255,255,.16) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.16) 87.5%, rgba(255,255,255,.16)),
        linear-gradient(150deg, rgba(255,255,255,.16) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.16) 87.5%, rgba(255,255,255,.16));
    background-size: 64px 112px;
}

.track-rings {
    position: absolute;
    right: -280px;
    bottom: -280px;
    width: 780px;
    height: 780px;
    border: 2px solid rgba(240, 90, 34, .45);
    border-radius: 50%;
    box-shadow: inset 0 0 0 38px rgba(240, 90, 34, .08), inset 0 0 0 82px rgba(16, 183, 189, .08);
    z-index: 1;
}

.hero-track-lines {
    position: absolute;
    left: -16vw;
    bottom: -18vw;
    width: 80vw;
    height: 48vw;
    min-width: 720px;
    min-height: 430px;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    background:
        repeating-radial-gradient(ellipse at 44% 50%, transparent 0 22px, rgba(16, 183, 189, .42) 23px, transparent 24px),
        radial-gradient(ellipse at 40% 55%, transparent 48%, rgba(240, 90, 34, .78) 49%, rgba(240, 90, 34, .78) 51%, transparent 52%);
    opacity: .56;
    transform: rotate(-9deg);
}

.hero-logo-disc {
    position: absolute;
    left: -34px;
    top: -26px;
    z-index: 3;
    width: 178px;
    height: 178px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
}

.hero-logo-disc::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    border: 7px solid rgba(16, 183, 189, .9);
    border-left-color: rgba(240, 90, 34, .95);
}

.hero-logo-disc img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) 350px;
    gap: 86px;
    align-items: center;
}

.kicker,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--orange);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.kicker span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 8px rgba(240, 90, 34, .18);
}

.hero h1,
.section-heading h2,
.section-copy h2,
.programme-head h2,
.story-copy h2,
.gallery-head h2,
.final-cta h2 {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    line-height: .9;
    letter-spacing: .01em;
}

.hero h1 {
    max-width: 850px;
    margin-top: 28px;
    font-size: clamp(72px, 9vw, 124px);
    font-style: italic;
    text-shadow: 0 22px 60px rgba(0, 0, 0, .34);
}

.hero h1 em {
    color: var(--orange);
    font-style: normal;
}

.hero p {
    max-width: 560px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 18px;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 15px 24px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.btn::after {
    content: "→";
    margin-left: 10px;
    font-size: 17px;
    line-height: 1;
}

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

.btn-primary {
    color: var(--white);
    background: var(--orange);
    box-shadow: 0 18px 45px rgba(240, 90, 34, .32);
}

.btn-primary:hover {
    background: var(--orange-deep);
}

.btn-outline {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .08);
}

.btn-outline:hover {
    color: var(--navy);
    background: var(--white);
}

.btn-outline.light:hover {
    color: var(--navy);
}

.glass {
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .2);
    backdrop-filter: blur(20px);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
}

.hero-stats div {
    min-height: 96px;
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-areas:
        "icon num"
        "icon label";
    column-gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px 12px 12px 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), 0 18px 44px rgba(0, 0, 0, .2);
    backdrop-filter: blur(18px);
}

.hero-stats .stat-symbol {
    grid-area: icon;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0;
    border: 2px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    color: var(--cyan);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1;
    background: rgba(7, 22, 47, .42);
}

.hero-stats div:nth-child(even) .stat-symbol {
    color: var(--orange);
}

.hero-stats strong {
    grid-area: num;
    display: block;
    color: var(--white);
    font-family: "Bebas Neue", sans-serif;
    font-size: 44px;
    line-height: .9;
}

.hero-stats span {
    grid-area: label;
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .72);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 4;
    display: grid;
    justify-items: center;
    gap: 8px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .82);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.scroll-cue span {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, .68);
    border-radius: 999px;
    position: relative;
}

.scroll-cue span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 7px;
    width: 4px;
    height: 7px;
    border-radius: 999px;
    background: var(--white);
    transform: translateX(-50%);
}

.split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 76px;
    align-items: center;
}

.legacy {
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(16, 183, 189, .12), transparent 30%),
        linear-gradient(180deg, var(--paper), var(--bone));
}

.legacy .image-card img {
    filter: grayscale(1) contrast(1.12);
}

.legacy .image-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, transparent 40%, rgba(16, 183, 189, .42) 66%, rgba(240, 90, 34, .58)),
        radial-gradient(circle at 15% 92%, rgba(240, 90, 34, .7), transparent 30%);
    mix-blend-mode: screen;
}

.pledge-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(240, 90, 34, .12), transparent 26%),
        radial-gradient(circle at 85% 75%, rgba(16, 183, 189, .12), transparent 30%),
        linear-gradient(180deg, #fffaf1, var(--bone));
}

.pledge-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 44px;
    align-items: center;
}

.pledge-copy h2,
.conviction-inner h2 {
    margin: 20px 0 22px;
    color: var(--navy);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(48px, 6.4vw, 92px);
    line-height: .9;
}

.pledge-copy p {
    max-width: 560px;
    color: #3a4659;
    font-family: "Fraunces", serif;
    font-size: 22px;
    line-height: 1.55;
}

.pledge-cards {
    display: grid;
    gap: 14px;
}

.pledge-card {
    display: grid;
    grid-template-columns: 72px 120px 1fr;
    gap: 22px;
    align-items: center;
    border: 1px solid rgba(7, 22, 47, .1);
    border-radius: 8px;
    padding: 24px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 18px 45px rgba(7, 22, 47, .07);
}

.pledge-card span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: var(--orange);
    background: rgba(240, 90, 34, .1);
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
}

.pledge-card b {
    color: var(--navy);
    font-family: "Oswald", sans-serif;
    font-size: 19px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pledge-card p {
    margin: 0;
    color: #4b586b;
}

.legacy::after,
.programmes::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 34px solid rgba(240, 90, 34, .08);
    border-radius: 50%;
    pointer-events: none;
}

.legacy::after {
    left: -260px;
    bottom: -220px;
}

.image-card,
.story-frame {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: var(--navy);
}

.image-card {
    aspect-ratio: 4 / 5;
}

.image-card img,
.story-frame img,
.news-card img,
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 22, 47, .7), transparent 48%);
}

.photo-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 2;
    color: var(--white);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.section-copy h2,
.programme-head h2,
.section-heading h2 {
    margin-top: 18px;
    color: var(--navy);
    font-size: clamp(48px, 6.2vw, 92px);
}

.section-copy .lead {
    margin-top: 26px;
    color: var(--navy);
    font-family: "Fraunces", serif;
    font-size: 21px;
    line-height: 1.55;
}

.section-copy p,
.programme-head p,
.section-heading p {
    max-width: 620px;
    color: #344052;
    font-size: 16px;
}

.timeline {
    display: grid;
    gap: 0;
    margin-top: 34px;
    border-left: 2px solid rgba(240, 90, 34, .28);
}

.timeline div {
    position: relative;
    padding: 8px 0 24px 28px;
}

.timeline div::before {
    content: "";
    position: absolute;
    top: 14px;
    left: -7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
}

.timeline b {
    display: block;
    color: var(--navy);
    font-family: "Oswald", sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.timeline span {
    color: #4a5568;
}

.impact {
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(240, 90, 34, .22), transparent 28%),
        radial-gradient(circle at 90% 85%, rgba(16, 183, 189, .2), transparent 30%),
        var(--navy);
}

.impact::after,
.gallery::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background:
        linear-gradient(135deg, transparent 0 48%, rgba(16, 183, 189, .4) 49%, transparent 50%),
        repeating-linear-gradient(135deg, transparent 0 26px, rgba(255,255,255,.045) 27px, transparent 28px);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 58px;
    text-align: center;
}

.impact .section-heading h2,
.impact .section-heading p,
.gallery .gallery-head h2 {
    color: var(--white);
}

.impact .section-heading p {
    color: rgba(255, 255, 255, .72);
}

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

.impact-card {
    min-height: 238px;
    padding: 30px;
    border: 1px solid rgba(16, 183, 189, .48);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
    box-shadow: 0 20px 70px rgba(0, 0, 0, .18);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: "";
    position: absolute;
    inset: -60% -40% auto auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(240, 90, 34, .24);
    filter: blur(4px);
}

.impact-card:nth-child(even)::before {
    background: rgba(16, 183, 189, .22);
}

.impact-card:hover,
.programme-card:hover,
.news-card:hover {
    border-color: rgba(240, 90, 34, .65);
}

.impact-card strong {
    color: var(--white);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(58px, 7vw, 92px);
    line-height: .9;
}

.impact-card span {
    color: rgba(255, 255, 255, .72);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.programmes {
    background: var(--paper);
    overflow: hidden;
}

.programmes::before {
    right: -220px;
    top: 90px;
    border-color: rgba(16, 183, 189, .09);
}

.programme-head {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 50px;
    align-items: end;
    margin-bottom: 46px;
}

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

.programme-card {
    min-height: 280px;
    padding: 30px;
    border: 1px solid var(--dark-line);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.9), rgba(245,239,227,.78)),
        var(--paper);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
}

.programme-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(240, 90, 34, .28), rgba(16, 183, 189, .26), transparent);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.programme-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.programme-card:hover {
    transform: translateY(-5px);
    border-color: rgba(240, 90, 34, .34);
    box-shadow: 0 22px 55px rgba(7, 22, 47, .12);
}

.programme-card:hover::after {
    transform: scaleX(1);
}

.programme-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: var(--orange);
    background: rgba(240, 90, 34, .1);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.programme-card h3 {
    margin: 28px 0 14px;
    color: var(--navy);
    font-family: "Oswald", sans-serif;
    font-size: 24px;
    line-height: 1.1;
    text-transform: uppercase;
}

.programme-card p {
    margin: 0;
    color: #465267;
}

.story {
    padding: 110px 0;
    background:
        radial-gradient(circle at 30% 45%, rgba(240, 90, 34, .42), transparent 28%),
        linear-gradient(90deg, rgba(7, 22, 47, .88), rgba(7, 22, 47, .74)),
        var(--navy);
    overflow: hidden;
}

.story::before,
.conviction-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .09;
    pointer-events: none;
    background-image:
        linear-gradient(30deg, rgba(255,255,255,.18) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.18) 87.5%, rgba(255,255,255,.18)),
        linear-gradient(150deg, rgba(255,255,255,.18) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.18) 87.5%, rgba(255,255,255,.18));
    background-size: 72px 124px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 60px;
    align-items: center;
}

.story-frame {
    aspect-ratio: 16 / 10;
}

.story-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 22, 47, .5), transparent 60%);
}

.play-button {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 82px;
    height: 82px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    transform: translate(-50%, -50%);
    z-index: 3;
    backdrop-filter: blur(16px);
}

.play-button::before {
    content: "";
    position: absolute;
    left: 33px;
    top: 26px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 22px solid var(--white);
}

.story-copy h2 {
    margin-top: 20px;
    color: var(--white);
    font-size: clamp(48px, 6vw, 86px);
}

.story-copy blockquote {
    margin: 28px 0;
    color: var(--gold);
    font-family: "Fraunces", serif;
    font-size: clamp(26px, 3vw, 42px);
    font-style: italic;
    line-height: 1.25;
}

.story-copy p {
    color: rgba(255, 255, 255, .72);
    max-width: 560px;
}

.news {
    background: var(--bone);
}

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

.news-card {
    overflow: hidden;
    border: 1px solid var(--dark-line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 18px 50px rgba(7, 22, 47, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.news-card img {
    filter: saturate(1.05) contrast(1.04);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(7, 22, 47, .14);
}

.news-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
}

.news-card div {
    padding: 22px;
}

.news-card span {
    color: var(--orange);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 12px 0 10px;
    color: var(--navy);
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    line-height: 1.15;
    text-transform: uppercase;
}

.news-card p {
    margin: 0;
    color: #536074;
    font-size: 14px;
}

.gallery {
    padding: 96px 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(16, 183, 189, .18), transparent 28%),
        var(--charcoal);
}

.gallery-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 34px;
}

.gallery-head h2 {
    font-size: clamp(44px, 5.5vw, 76px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr 1.2fr;
    gap: 12px;
}

.gallery-grid img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
    border-radius: 8px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
}

.final-cta {
    min-height: 620px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.final-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(7, 22, 47, .9), rgba(7, 22, 47, .55), rgba(240, 90, 34, .24)),
        radial-gradient(circle at 80% 45%, rgba(240, 90, 34, .34), transparent 30%);
}

.final-cta-inner {
    max-width: 820px;
}

.final-cta h2 {
    margin-top: 22px;
    color: var(--white);
    font-size: clamp(58px, 8vw, 116px);
}

.page-hero {
    min-height: 560px;
    display: flex;
    align-items: end;
    padding: 150px 0 88px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.page-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.08);
}

.page-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 22, 47, .95), rgba(7, 22, 47, .58), rgba(7, 22, 47, .82)),
        linear-gradient(0deg, rgba(7, 22, 47, .92), rgba(7, 22, 47, .14));
}

.page-hero-inner {
    max-width: 880px;
}

.page-hero h1 {
    margin: 22px 0 0;
    color: var(--white);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(62px, 9vw, 128px);
    line-height: .9;
}

.page-hero p {
    max-width: 720px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
}

.page-band {
    background:
        radial-gradient(circle at 88% 8%, rgba(16, 183, 189, .12), transparent 28%),
        var(--paper);
}

.content-grid,
.legacy-source-grid,
.involvement-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.page-copy h2,
.bio-card h2 {
    margin: 18px 0 18px;
    color: var(--navy);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(42px, 5vw, 76px);
    line-height: .92;
}

.conviction-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 22%, rgba(240, 90, 34, .22), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(16, 183, 189, .18), transparent 32%),
        var(--navy);
}

.conviction-inner {
    max-width: 900px;
}

.conviction-inner h2 {
    color: var(--white);
}

.conviction-inner p {
    max-width: 760px;
    color: rgba(255, 255, 255, .78);
    font-family: "Fraunces", serif;
    font-size: 22px;
    line-height: 1.6;
}

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

.page-copy p,
.bio-card p {
    color: #3e4a5e;
    font-size: 16px;
}

.values-panel,
.bio-card,
.contact-form {
    border: 1px solid var(--dark-line);
    border-radius: 8px;
    background: rgba(255, 249, 238, .86);
    box-shadow: 0 20px 55px rgba(7, 22, 47, .08);
}

.values-panel {
    display: grid;
}

.values-panel article {
    padding: 26px;
    border-bottom: 1px solid var(--dark-line);
}

.values-panel article:last-child {
    border-bottom: 0;
}

.values-panel b,
.bio-card span {
    display: block;
    color: var(--orange);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.values-panel span {
    display: block;
    margin-top: 8px;
    color: #4b586b;
}

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

.bio-card {
    min-height: 330px;
    padding: 30px;
}

.bio-card p:last-child {
    margin-bottom: 0;
}

.sources-section {
    background: var(--bone);
    padding-top: 0;
}

.source-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.source-list a {
    border: 1px solid var(--dark-line);
    border-radius: 999px;
    padding: 12px 16px;
    color: var(--navy);
    background: var(--paper);
    font-size: 13px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.source-list a:hover {
    color: var(--white);
    background: var(--orange);
    transform: translateY(-2px);
}

.page-grid {
    margin-top: 0;
}

.programmes-page {
    background: var(--paper);
}

.gallery-page {
    background: var(--bone);
}

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

.gallery-tile {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--navy);
    box-shadow: 0 16px 45px rgba(7, 22, 47, .12);
}

.gallery-expand {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    cursor: zoom-in;
    background: transparent;
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease;
}

.gallery-lightbox {
    width: min(1180px, calc(100vw - 32px));
    max-width: none;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    padding: 0;
    color: var(--white);
    background: rgba(5, 17, 38, .96);
    box-shadow: 0 28px 100px rgba(0, 0, 0, .5);
}

.gallery-lightbox::backdrop {
    background: rgba(2, 9, 23, .86);
    backdrop-filter: blur(10px);
}

.gallery-lightbox-shell {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.gallery-lightbox-head,
.gallery-lightbox-stage {
    display: flex;
    align-items: center;
    gap: 18px;
}

.gallery-lightbox-head {
    justify-content: space-between;
}

.gallery-lightbox-head span {
    color: var(--orange);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.gallery-lightbox-head h2 {
    margin: 4px 0 0;
    color: var(--white);
    font-family: "Oswald", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1;
    text-transform: uppercase;
}

.gallery-lightbox-head b {
    color: var(--cyan);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.gallery-lightbox-close {
    min-width: 88px;
    padding: 12px 16px;
}

.gallery-lightbox-nav {
    flex: 0 0 auto;
    width: 82px;
    min-height: 82px;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    border-color: rgba(255, 255, 255, .38);
    background: rgba(240, 90, 34, .9);
    transform: translateY(-2px);
}

.gallery-lightbox-stage {
    min-height: min(76vh, 860px);
}

.gallery-lightbox-scroll {
    display: grid;
    place-items: center;
    width: 100%;
    max-height: min(76vh, 860px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(16, 183, 189, .14), rgba(7, 22, 47, .1)),
        rgba(255, 255, 255, .04);
    cursor: zoom-in;
    user-select: none;
    -webkit-user-select: none;
}

.gallery-lightbox-scroll img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin: auto;
    transform-origin: center center;
    transition: transform .2s ease;
    will-change: transform;
    pointer-events: none;
}

.gallery-lightbox-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gallery-zoom-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery-zoom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.gallery-zoom-btn:hover {
    background: rgba(240, 90, 34, .9);
    border-color: transparent;
}

.gallery-zoom-level {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .55);
    min-width: 40px;
    text-align: center;
}

.gallery-zoom-hint {
    text-align: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: .16em;
    color: rgba(255, 255, 255, .3);
    text-transform: uppercase;
    margin-top: 4px;
}

body.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-tile:hover img {
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.06);
}

.gallery-tile figcaption {
    position: absolute;
    left: 10px;
    bottom: 10px;
    border-radius: 999px;
    padding: 6px 9px;
    color: var(--white);
    background: rgba(7, 22, 47, .7);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: .16em;
}

.empty-state {
    border: 1px solid var(--dark-line);
    border-radius: 8px;
    padding: 34px;
    background: var(--paper);
}

.contact-form {
    display: grid;
    gap: 12px;
    padding: 28px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--dark-line);
    border-radius: 8px;
    padding: 14px 15px;
    color: var(--navy);
    background: rgba(255, 255, 255, .74);
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.footer {
    padding: 78px 0 26px;
    color: rgba(255, 255, 255, .76);
    background: #061126;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .7fr .85fr 1fr;
    gap: 46px;
}

.footer p {
    margin: 14px 0 0;
}

.footer-col {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer h2 {
    margin: 0 0 10px;
    color: var(--white);
    font-family: "Oswald", sans-serif;
    font-size: 15px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.footer-col a {
    color: rgba(255, 255, 255, .72);
}

.footer-col a:hover {
    color: var(--orange);
}

.socials {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    color: var(--white);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    transition: background .25s ease, transform .25s ease;
}

.socials a:hover {
    background: var(--orange);
    transform: translateY(-2px);
}

.newsletter form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 16px;
}

.newsletter input {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: 13px 15px;
    color: var(--white);
    background: rgba(255, 255, 255, .08);
}

.newsletter button {
    border: 0;
    border-radius: 999px;
    padding: 13px 16px;
    color: var(--white);
    background: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}

.partners-showcase {
    display: grid;
    gap: 24px;
    margin-top: 54px;
    padding: 34px clamp(18px, 4vw, 40px);
    border: 1px solid rgba(7, 22, 47, .08);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .16);
}

.partners-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.partners-heading span {
    color: var(--orange);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.partners-heading h2 {
    margin: 0;
    color: var(--navy);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(34px, 3.6vw, 54px);
    line-height: .95;
    letter-spacing: .02em;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.partner-logo {
    min-height: 122px;
    display: grid;
    place-items: center;
    padding: 22px;
    border: 1px solid rgba(7, 22, 47, .1);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(246, 248, 251, .96)),
        rgba(255, 255, 255, 1);
    box-shadow: inset 0 0 0 1px rgba(7, 22, 47, .02);
    transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.partner-logo:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 90, 34, .5);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(255, 244, 236, .98)),
        rgba(255, 255, 255, 1);
}

.partner-logo img {
    width: 100%;
    max-width: 190px;
    max-height: 72px;
    object-fit: contain;
}

.partner-logo:nth-child(2) img {
    max-height: 82px;
}

.partner-logo:nth-child(3) img {
    max-width: 150px;
}

.partner-logo:nth-child(4) img,
.partner-logo:nth-child(5) img {
    max-width: 210px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
}

.donation-section {
    background:
        radial-gradient(circle at top left, rgba(255, 111, 0, .14), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(240, 247, 250, .98));
}

.donation-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.donation-story,
.donation-card,
.donation-cta {
    border: 1px solid rgba(13, 43, 65, .12);
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 24px 80px rgba(5, 30, 48, .12);
    backdrop-filter: blur(18px);
}

.donation-story,
.donation-card {
    border-radius: 24px;
    padding: clamp(24px, 4vw, 40px);
}

.donation-story h2,
.donation-card h2,
.donation-cta h2 {
    margin: 12px 0 14px;
    color: var(--navy);
    font-family: "Oswald", sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: .98;
    text-transform: uppercase;
}

.donation-story p,
.donation-card p,
.donation-cta p {
    color: rgba(13, 43, 65, .84);
}

.donation-impact-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.donation-impact-list article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(13, 43, 65, .08);
    border-radius: 18px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, .72);
}

.donation-impact-list strong {
    color: var(--orange);
    font-family: "Oswald", sans-serif;
    font-size: 1.7rem;
}

.donation-form,
.payment-handoff {
    display: grid;
    gap: 18px;
}

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

.donation-form label,
.donation-form .full {
    display: grid;
    gap: 9px;
    color: var(--navy);
    font-weight: 700;
}

.donation-form input,
.donation-form select {
    width: 100%;
    border: 1px solid rgba(13, 43, 65, .16);
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    padding: 15px 16px;
    color: var(--charcoal);
    font: inherit;
}

.donation-form span[data-valmsg-for],
.validation-summary {
    color: #a12618;
    font-size: .92rem;
}

.donate-submit,
.payfast-redirect .btn {
    justify-self: start;
}

.payment-config-note {
    display: grid;
    gap: 6px;
    border: 1px solid rgba(255, 128, 0, .22);
    border-radius: 18px;
    background: rgba(255, 236, 214, .82);
    padding: 16px 18px;
    color: #7b3600;
}

.payment-handoff {
    min-height: 320px;
    align-content: center;
}

.donation-cta-band {
    background:
        radial-gradient(circle at right center, rgba(255, 128, 0, .2), transparent 28%),
        linear-gradient(135deg, #041621 0%, #07273c 58%, #0f5561 100%);
}

.donation-cta {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 40px);
}

.donation-cta h2,
.donation-cta p {
    color: #fff;
}

.image-fallback {
    background:
        linear-gradient(135deg, rgba(240, 90, 34, .24), rgba(16, 183, 189, .18)),
        var(--navy);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: .08s;
}

.delay-2 {
    transition-delay: .16s;
}

.delay-3 {
    transition-delay: .24s;
}

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

    .donation-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .primary-nav {
        gap: 13px;
    }

    .primary-nav a {
        font-size: 10px;
    }

    .nav-group-toggle {
        font-size: 10px;
    }

    .donate-pill {
        display: none;
    }

    .hero-logo-disc {
        width: 138px;
        height: 138px;
        left: -28px;
    }

    .hero-logo-disc img {
        width: 78px;
        height: 78px;
    }

    .hero-grid,
    .split,
    .story-grid,
    .pledge-grid,
    .programme-head {
        grid-template-columns: 1fr;
    }

    .impact-grid,
    .news-grid,
    .impact-pathway,
    .content-grid,
    .legacy-source-grid,
    .involvement-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

    .site-header {
        padding: 12px 0;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .brand-copy span {
        font-size: 20px;
    }

    .home-page .site-header .brand {
        width: auto;
        visibility: visible;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 55;
    }

    .primary-nav {
        position: fixed;
        inset: 0;
        z-index: 49;
        display: grid;
        align-content: start;
        justify-items: stretch;
        gap: 14px;
        overflow-y: auto;
        padding: 110px 24px 34px;
        background:
            radial-gradient(circle at 20% 20%, rgba(240, 90, 34, .22), transparent 32%),
            rgba(7, 22, 47, .96);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-100%);
        transition: transform .35s ease, opacity .35s ease, visibility 0s .35s;
        visibility: hidden;
    }

    .site-header.open .primary-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
        transition: transform .35s ease, opacity .35s ease, visibility 0s;
    }

    .primary-nav > a,
    .nav-group-toggle,
    .nav-submenu a {
        font-size: 14px;
    }

    .primary-nav > a,
    .nav-group-toggle {
        width: 100%;
        justify-content: flex-start;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 14px;
        padding: 16px 18px;
        background: rgba(255, 255, 255, .06);
    }

    .primary-nav > a::after,
    .nav-group-toggle::after {
        display: none;
    }

    .nav-group {
        display: grid;
        gap: 10px;
    }

    .nav-group-toggle {
        cursor: default;
    }

    .nav-submenu {
        position: static;
        min-width: 0;
        width: 100%;
        gap: 8px;
        padding: 0 0 0 14px;
        border: 0;
        border-left: 1px solid rgba(255, 255, 255, .18);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .nav-submenu a {
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 12px;
        padding: 14px 16px;
        background: rgba(255, 255, 255, .04);
    }

    .hero {
        min-height: auto;
        padding: 132px 0 72px;
    }

    .hero-media::after,
    .cta-media::after {
        background:
            linear-gradient(0deg, rgba(7, 22, 47, .9), rgba(7, 22, 47, .45)),
            linear-gradient(90deg, rgba(7, 22, 47, .94), rgba(7, 22, 47, .5));
    }

    .hero-grid {
        gap: 40px;
    }

    .hero h1 {
        font-size: clamp(64px, 18vw, 112px);
    }

    .hero-logo-disc {
        display: none;
    }

    .scroll-cue {
        display: none;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stats div {
        min-height: 116px;
        grid-template-columns: 1fr;
        grid-template-areas:
            "icon"
            "num"
            "label";
        border-radius: 8px;
        justify-items: start;
    }

    .hero-stats .stat-symbol {
        width: 42px;
        height: 42px;
        font-size: 9px;
    }

    .impact-grid,
    .programme-grid,
    .news-grid,
    .impact-pathway,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .partners-heading {
        display: grid;
    }

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

    .section {
        padding: 78px 0;
    }

    .page-hero {
        min-height: 480px;
        padding: 128px 0 66px;
    }

    .page-hero h1 {
        font-size: clamp(52px, 15vw, 82px);
    }

    .content-grid,
    .legacy-source-grid,
    .involvement-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .source-list {
        grid-template-columns: 1fr;
    }

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

    .section-copy h2,
    .pledge-copy h2,
    .programme-head h2,
    .section-heading h2,
    .story-copy h2,
    .gallery-head h2,
    .final-cta h2 {
        font-size: clamp(44px, 13vw, 72px);
    }

    .gallery-head,
    .footer-bottom {
        display: grid;
    }

    .gallery-grid img {
        height: 260px;
    }

    .newsletter form {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .shell {
        width: min(100% - 28px, 1180px);
    }

    .brand-copy small {
        letter-spacing: .22em;
    }

    .hero-actions,
    .cta-actions {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy::before {
        left: -12px;
    }

    .pledge-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .programme-card,
    .impact-card {
        min-height: auto;
    }

    .story-frame {
        aspect-ratio: 4 / 5;
    }

    .all-gallery-grid {
        grid-template-columns: 1fr;
    }

    .play-button {
        width: 66px;
        height: 66px;
    }

    .play-button::before {
        left: 27px;
        top: 21px;
        border-top-width: 12px;
        border-bottom-width: 12px;
        border-left-width: 18px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
    .gallery-lightbox {
        width: min(100vw - 18px, 1180px);
    }

    .gallery-lightbox-shell {
        gap: 14px;
        padding: 16px;
    }

    .gallery-lightbox-head,
    .gallery-lightbox-stage {
        align-items: stretch;
        flex-direction: column;
    }

    .gallery-lightbox-close {
        align-self: flex-end;
    }

    .gallery-lightbox-nav {
        width: 100%;
        min-height: 52px;
    }

    .gallery-lightbox-stage {
        min-height: auto;
    }

    .gallery-lightbox-scroll {
        max-height: 70vh;
    }
