:root {
    --navy: #002147;
    --navy-deep: #001530;
    --steel: #4a7fa8;
    --steel-soft: #8b9dae;
    --gold: #c0a05a;
    --sand: #e8e4d8;
    --mist: #f0f2f4;
    --paper: #fbfaf5;
    --ink: #172033;
    --muted: #667085;
    --line: rgba(0, 33, 71, 0.14);
    --red: #c9152b;
    --shadow: 0 22px 70px rgba(0, 21, 48, 0.16);
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --sans: "Avenir Next", Avenir, "Gill Sans", "Trebuchet MS", sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

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

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

button {
    font: inherit;
}

::selection {
    color: white;
    background: var(--navy);
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999;
    transform: translateY(-140%);
    padding: 10px 14px;
    background: white;
    color: var(--navy);
    border: 1px solid var(--gold);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 16px 20px;
    transition: padding 240ms var(--ease), background 240ms var(--ease), border-color 240ms var(--ease);
}

.site-header.is-scrolled,
.site-header:focus-within {
    padding: 10px 20px;
    background: rgba(0, 21, 48, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.nav-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

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

.brand img {
    width: 46px;
    height: 28px;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
}

.brand span {
    min-width: 0;
}

.brand strong {
    font-family: var(--serif);
    font-size: 1.22rem;
    line-height: 1;
}

.brand small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.72rem;
}

.nav-menu {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.91rem;
}

.nav-menu a {
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms var(--ease);
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
    color: white;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.is-active::after {
    transform: scaleX(1);
}

.share-button,
.quiet-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    min-height: 42px;
    padding: 0 15px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.share-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.share-button:hover,
.quiet-share:hover,
.share-button:focus-visible,
.quiet-share:focus-visible {
    transform: translateY(-1px);
    background: rgba(192, 160, 90, 0.22);
    border-color: var(--gold);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms var(--ease);
}

.menu-toggle span:first-child {
    transform: translateY(-4px);
}

.menu-toggle span:last-child {
    transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 82svh;
    padding: 140px 24px 58px;
    color: white;
    overflow: hidden;
    background: var(--navy-deep);
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
    filter: saturate(0.78) contrast(1.08);
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(0, 21, 48, 0.96) 0%, rgba(0, 33, 71, 0.78) 42%, rgba(0, 21, 48, 0.34) 100%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
}

.hero-grid {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 0 auto;
    min-height: calc(82svh - 198px);
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(220px, 320px);
    align-items: end;
    gap: 48px;
}

.hero-copy,
.section-copy,
.section-heading,
.program-header,
.centenary-copy,
.profile-card > div {
    min-width: 0;
}

.eyebrow,
.section-kicker,
.role,
.program-index {
    margin: 0;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero h1 {
    margin: 18px 0 0;
    font-family: var(--serif);
    font-size: 4.65rem;
    line-height: 0.98;
    font-weight: 700;
    max-width: 780px;
    overflow-wrap: normal;
}

.hero h1 span {
    display: block;
    color: var(--gold);
}

.mobile-title-break {
    display: none !important;
}

.hero-claim {
    margin: 30px 0 0;
    font-family: var(--serif);
    font-size: 1.78rem;
    line-height: 1.18;
    max-width: 660px;
}

.hero-text {
    margin: 18px 0 0;
    max-width: 610px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.hero-panel {
    display: grid;
    gap: 10px;
    align-self: end;
    padding: 18px 0 0 24px;
    border-left: 2px solid var(--gold);
}

.hero-panel span {
    font-family: var(--serif);
    font-size: 1.28rem;
}

.section {
    padding: 96px 24px;
}

.section-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.bridge-section {
    background:
        linear-gradient(180deg, var(--paper), var(--mist)),
        repeating-linear-gradient(0deg, rgba(0, 33, 71, 0.04) 0 1px, transparent 1px 42px);
}

.bridge-grid,
.centenary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
    gap: 72px;
}

.bridge-grid {
    align-items: start;
}

.centenary-grid {
    align-items: center;
}

.section-copy h2,
.section-heading h2,
.program-header h2,
.centenary-copy h2,
.closing-inner h2 {
    margin: 12px 0 0;
    font-family: var(--serif);
    font-size: 3.1rem;
    line-height: 1.05;
    color: var(--navy);
}

.section-copy p,
.section-heading p,
.program-header p,
.centenary-copy p {
    color: var(--muted);
}

.lead {
    font-size: 1.26rem;
    line-height: 1.45;
    color: var(--ink) !important;
}

.principles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.principles span {
    border: 1px solid rgba(0, 33, 71, 0.18);
    background: rgba(255, 255, 255, 0.62);
    color: var(--navy);
    padding: 9px 12px;
    font-weight: 700;
}

.candidate-figure,
.team-photo,
.centenary-image {
    margin: 0;
    position: relative;
}

.candidate-figure img,
.team-photo img,
.centenary-image img {
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.candidate-figure img {
    aspect-ratio: 4 / 5;
}

.candidate-figure figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px 18px;
    background: rgba(0, 33, 71, 0.88);
    color: white;
    border-left: 4px solid var(--gold);
    backdrop-filter: blur(12px);
}

.candidate-figure strong,
.candidate-figure span {
    display: block;
}

.candidate-figure strong {
    font-family: var(--serif);
    font-size: 1.45rem;
}

.candidate-figure span {
    color: rgba(255, 255, 255, 0.74);
}

.team-section {
    color: white;
    background:
        linear-gradient(180deg, var(--navy), var(--navy-deep)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 32px);
}

.team-section .section-kicker,
.team-section .role {
    color: var(--gold);
}

.team-section .section-heading h2 {
    color: white;
}

.team-section .section-heading p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 720px;
}

.team-photo {
    margin-top: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.team-photo img {
    aspect-ratio: 16 / 7;
}

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

.area-grid article {
    min-height: 120px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.area-grid span {
    display: block;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.area-grid p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.76);
}

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

.profile-card {
    display: grid;
    grid-template-columns: 154px minmax(0, 1fr);
    gap: 18px;
    min-height: 218px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.profile-card img {
    width: 154px;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    border-radius: 6px;
}

.profile-card h3 {
    margin: 4px 0 0;
    font-family: var(--serif);
    font-size: 1.3rem;
    line-height: 1.1;
    color: var(--navy);
}

.profession {
    margin: 7px 0 0;
    color: var(--steel);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
}

blockquote {
    margin: 12px 0 0;
    color: #4c5667;
    font-family: var(--serif);
    font-size: 1rem;
    line-height: 1.35;
}

.program-section {
    background:
        linear-gradient(180deg, var(--mist), var(--paper)),
        repeating-linear-gradient(90deg, rgba(74, 127, 168, 0.08) 0 1px, transparent 1px 46px);
}

.program-header {
    display: grid;
    grid-template-columns: minmax(0, 760px) 1fr;
    gap: 32px;
    align-items: end;
}

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

.program-card {
    position: relative;
    padding: 30px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 38px rgba(0, 33, 71, 0.08);
}

.program-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--steel));
}

.program-index {
    color: var(--steel);
}

.program-card h3 {
    margin: 10px 0 0;
    font-family: var(--serif);
    color: var(--navy);
    font-size: 1.75rem;
}

.program-card p {
    color: var(--muted);
}

.program-card ul {
    display: grid;
    gap: 11px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.program-card li {
    position: relative;
    padding-left: 22px;
}

.program-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 9px;
    height: 2px;
    background: var(--gold);
}

.centenary-section {
    background: var(--sand);
}

.centenary-list {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.centenary-list article {
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.56);
    border-left: 4px solid var(--gold);
}

.centenary-list span {
    display: block;
    color: var(--navy);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.centenary-list p {
    margin: 6px 0 0;
}

.centenary-image img {
    aspect-ratio: 4 / 3;
}

.centenary-image figcaption {
    margin-top: 12px;
    color: rgba(0, 33, 71, 0.62);
    font-size: 0.9rem;
}

.closing-section {
    position: relative;
    padding: 92px 24px;
    color: white;
    background:
        linear-gradient(135deg, rgba(0, 21, 48, 0.98), rgba(0, 33, 71, 0.94)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 22px);
    overflow: hidden;
}

.closing-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 12px;
    background: var(--gold);
}

.closing-inner {
    width: min(900px, 100%);
    margin: 0 auto;
    text-align: center;
}

.closing-inner img {
    width: 96px;
    margin: 0 auto 24px;
}

.closing-inner h2 {
    color: white;
}

.closing-inner p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.18rem;
}

.quiet-share {
    margin-top: 18px;
    border-color: rgba(255, 255, 255, 0.28);
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 24px;
    color: rgba(255, 255, 255, 0.74);
    background: var(--navy-deep);
    font-size: 0.92rem;
}

.footer div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.footer strong {
    color: white;
}

.footer a {
    color: var(--gold);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 80;
    transform: translate(-50%, 18px);
    opacity: 0;
    pointer-events: none;
    padding: 10px 14px;
    color: white;
    background: rgba(0, 21, 48, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.profile-card:nth-child(2n),
.program-card:nth-child(2n),
.centenary-list article:nth-child(2n) {
    transition-delay: 80ms;
}

@media (max-width: 980px) {
    .site-header {
        padding: 12px 16px;
    }

    .nav-shell {
        grid-template-columns: auto auto auto;
    }

    .menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 16px;
        right: 16px;
        display: grid;
        gap: 0;
        padding: 10px;
        color: var(--navy);
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(0, 33, 71, 0.16);
        box-shadow: var(--shadow);
        transform: translateY(-14px);
        opacity: 0;
        pointer-events: none;
        backdrop-filter: blur(16px);
    }

    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu a {
        padding: 14px 12px;
        border-bottom: 1px solid var(--line);
    }

    .nav-menu a:last-child {
        border-bottom: 0;
    }

    .nav-menu a:hover,
    .nav-menu a:focus-visible,
    .nav-menu a.is-active {
        color: var(--navy);
    }

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

    .hero {
        min-height: 82svh;
        padding: 118px 20px 44px;
    }

    .hero-grid,
    .bridge-grid,
    .centenary-grid,
    .program-header {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: calc(82svh - 162px);
        gap: 28px;
    }

    .hero h1 {
        font-size: 3.35rem;
    }

    .hero-claim {
        font-size: 1.45rem;
    }

    .hero-panel {
        grid-template-columns: repeat(3, 1fr);
        border-left: 0;
        border-top: 2px solid var(--gold);
        padding: 16px 0 0;
    }

    .section {
        padding: 74px 20px;
    }

    .section-copy h2,
    .section-heading h2,
    .program-header h2,
    .centenary-copy h2,
    .closing-inner h2 {
        font-size: 2.55rem;
    }

    .bridge-grid,
    .centenary-grid {
        gap: 44px;
    }

    .area-grid,
    .program-grid,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .team-photo img {
        aspect-ratio: auto;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 640px) {
    .nav-shell {
        gap: 10px;
    }

    .brand small {
        display: none;
    }

    .brand img {
        width: 38px;
        height: 24px;
    }

    .share-button {
        width: 44px;
        padding: 0;
    }

    .share-button span {
        display: none;
    }

    .hero h1 {
        font-size: 2.34rem;
    }

    .mobile-title-break {
        display: block !important;
    }

    .hero-claim {
        font-size: 1.28rem;
    }

    .hero-text,
    .lead {
        font-size: 1.04rem;
    }

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

    .hero-panel span {
        font-size: 1.08rem;
    }

    .section-copy h2,
    .section-heading h2,
    .program-header h2,
    .centenary-copy h2,
    .closing-inner h2 {
        font-size: 2.08rem;
    }

    .profile-card {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
        min-height: 0;
    }

    .profile-card img {
        width: 104px;
        min-height: 168px;
    }

    .profile-card h3 {
        font-size: 1.08rem;
    }

    blockquote {
        font-size: 0.92rem;
    }

    .program-card {
        padding: 24px 20px;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
