/* ==========================================================================
   LOCOBA site styles. Shared by every page.
   Design notes are in docs/LOCOBA_VISUAL_DIRECTION.md
   ========================================================================== */

/* Tokens ------------------------------------------------------------------ */
:root {
    --maroon: #7E272F;
    --maroon-deep: #5B1C22;
    --oxblood: #3D1216;
    --gold: #C9A661;
    --gold-text: #7A5C24;
    --ink: #1E1A18;
    --ink-soft: #4A433E;
    --paper: #FAF7F1;
    --card: #FFFFFF;
    --line: #E2DACB;
    --on-dark: #F6EFE3;
    --on-dark-soft: #D9CDBD;

    --serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
    --display: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
    --sans: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;

    --page: 1240px;
    --gutter: clamp(20px, 4vw, 48px);
    --section: clamp(56px, 8vw, 104px);
    --header: 84px;
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.65; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--serif); font-weight: 400; line-height: 1.2; letter-spacing: -.005em; color: inherit; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-family: var(--display); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--maroon); text-underline-offset: 3px; }
a:hover { color: var(--maroon-deep); }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--maroon); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--gold); }

.wrap { width: 100%; max-width: calc(var(--page) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 42rem; }
.section { padding-block: var(--section); }
.section-white { background: var(--card); }
.dark { background: var(--oxblood); color: var(--on-dark); }
.dark a:not(.btn) { color: var(--on-dark); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; color: #fff; }

/* Small label above headings */
.eyebrow { display: block; margin-bottom: 14px; color: var(--gold-text); font-size: .875rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.2rem, 1.8vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); }
.dark .lead { color: var(--on-dark-soft); }
.muted { color: var(--ink-soft); }
.dark .muted { color: var(--on-dark-soft); }
.small { font-size: 1rem; }
.note { font-size: 1rem; color: var(--ink-soft); }

/* Section heading with a ruled top edge */
.head-rule { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding-top: 18px; margin-bottom: 40px; border-top: 2px solid var(--ink); }
.head-rule h2 { margin: 0; }
.dark .head-rule { border-top-color: var(--gold); }

/* Buttons ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 26px; border: 2px solid var(--maroon); border-radius: 2px; background: var(--maroon); color: #fff; font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { background: var(--maroon-deep); border-color: var(--maroon-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.btn-light { background: var(--on-dark); border-color: var(--on-dark); color: var(--oxblood); }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--oxblood); }
.btn-ghost { background: transparent; border-color: var(--on-dark); color: var(--on-dark); }
.btn-ghost:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--oxblood); }
.dark a.btn-light { color: var(--oxblood); }
.dark a.btn-ghost:hover { color: var(--oxblood); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.text-link { display: inline-block; font-weight: 600; color: var(--maroon); text-decoration: underline; text-decoration-thickness: 1px; }
.text-link::after { content: ' \2192'; }
.dark .text-link { color: var(--on-dark); }

/* Header ------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250, 247, 241, .97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 46px; height: auto; }
.brand-name { display: block; font-family: var(--serif); font-size: 1.5rem; letter-spacing: .06em; line-height: 1.1; color: var(--maroon); }
.brand-sub { display: block; max-width: 210px; font-size: .8125rem; line-height: 1.25; color: var(--ink-soft); }

.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 2px; background: none; color: var(--ink); font: 600 1.0625rem var(--sans); cursor: pointer; }
.nav-toggle-bars { position: relative; display: block; width: 20px; height: 2px; background: currentColor; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav ul { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); list-style: none; }
.site-nav a:not(.btn) { display: block; padding: 8px 0; border-bottom: 2px solid transparent; color: var(--ink); font-size: 1.0625rem; font-weight: 500; text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--maroon); }
.site-nav a[aria-current='page'] { border-bottom-color: var(--maroon); color: var(--maroon); }
.site-nav .btn { min-height: 44px; padding: 8px 20px; font-size: 1rem; }

/* Hero (homepage) --------------------------------------------------------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(84vh, 780px); padding-block: 64px; background: var(--oxblood); color: #fff; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 22%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38, 10, 13, .9) 0%, rgba(38, 10, 13, .72) 42%, rgba(38, 10, 13, .1) 78%), linear-gradient(0deg, rgba(38, 10, 13, .55) 0%, transparent 45%); }
.hero .wrap { position: relative; z-index: 1; }
.hero-text { max-width: 40rem; }
.hero h1 { margin-bottom: 8px; color: #fff; }
.hero-credit { margin-bottom: 22px; color: var(--on-dark-soft); font-size: 1rem; font-style: italic; }
.hero-lead { max-width: 35rem; color: #fff; font-size: clamp(1.15rem, 1.7vw, 1.3rem); line-height: 1.5; }

/* Page hero (inner pages) ------------------------------------------------- */
.page-hero { background: var(--oxblood); color: var(--on-dark); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; min-height: 340px; }
.page-hero-text { align-self: center; padding-block: 56px; padding-right: 48px; }
.page-hero h1 { margin-bottom: 16px; font-size: clamp(2.3rem, 4.6vw, 3.6rem); color: #fff; }
.page-hero p:last-child { margin-bottom: 0; }
.page-hero .lead { color: var(--on-dark-soft); }
.page-hero-photo { position: relative; margin-right: calc(-1 * var(--gutter) - max(0px, (100vw - var(--page) - 2 * var(--gutter)) / 2)); min-height: 240px; }
.page-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-plain .page-hero-grid { display: block; min-height: 0; }
.page-hero-plain .page-hero-text { max-width: 46rem; padding-right: 0; }

/* Fact strip -------------------------------------------------------------- */
.facts { background: var(--card); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.facts-grid li { padding: 30px 26px; border-left: 1px solid var(--line); }
.facts-grid li:first-child { border-left: 0; padding-left: 0; }
.fact-number { display: block; margin-bottom: 4px; font-family: var(--display); font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1.05; color: var(--maroon); }
.fact-label { display: block; font-size: 1rem; line-height: 1.4; color: var(--ink-soft); }

/* Two-column split -------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split-top { align-items: start; }
.split figcaption, .figure-note { margin-top: 10px; font-size: 1rem; color: var(--ink-soft); }
.dark figcaption { color: var(--on-dark-soft); }

/* Routes ------------------------------------------------------------------ */
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: var(--section); border-top: 2px solid var(--ink); list-style: none; }
.routes li { border-left: 1px solid var(--line); }
.routes li:first-child { border-left: 0; }
.routes a { display: block; height: 100%; padding: 26px 28px; color: var(--ink); text-decoration: none; transition: background-color .2s ease; }
.routes li:first-child a { padding-left: 0; }
.routes a:hover { background: var(--card); color: var(--ink); }
.routes h3 { color: var(--maroon); }
.routes p { margin: 0; color: var(--ink-soft); }

/* Story cards ------------------------------------------------------------- */
.story-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); margin-bottom: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--line); align-items: center; }
.story-feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 12%; }
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 56px); }
.story { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 22px; align-items: start; }
.story img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; }
.story h3 a, .story-feature h3 a { color: inherit; text-decoration: none; }
.story h3 a:hover, .story-feature h3 a:hover { color: var(--maroon); text-decoration: underline; }
.story-feature h3 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }

/* Endowment --------------------------------------------------------------- */
.amount { display: block; font-family: var(--display); font-size: clamp(3.4rem, 8vw, 6rem); line-height: 1; color: var(--gold); }
.fund-split { margin-block: 26px; }
.fund-bar { display: flex; height: 12px; margin-bottom: 12px; }
.fund-bar span:first-child { flex: 2; background: var(--gold); }
.fund-bar span:last-child { flex: 1; margin-left: 3px; background: var(--on-dark-soft); }
.section-white .fund-bar span:first-child, .plain-fund .fund-bar span:first-child { background: var(--maroon); }
.section-white .fund-bar span:last-child, .plain-fund .fund-bar span:last-child { background: var(--gold); }
.fund-keys { display: grid; grid-template-columns: 2fr 1fr; gap: 3px; list-style: none; }
.fund-keys strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.fund-keys span { display: block; font-size: 1rem; line-height: 1.35; }
blockquote { margin: 28px 0 0; padding-left: 22px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; }
blockquote cite { display: block; margin-top: 10px; font-family: var(--sans); font-size: 1rem; font-style: normal; color: var(--ink-soft); }
.dark blockquote cite { color: var(--on-dark-soft); }

/* Ruled lists ------------------------------------------------------------- */
.ruled { list-style: none; border-top: 1px solid var(--line); }
.ruled > li { padding-block: 16px; border-bottom: 1px solid var(--line); }
.ruled h3 { margin-bottom: 4px; font-size: 1.25rem; }
.ruled p { margin: 0; color: var(--ink-soft); }
.dark .ruled, .dark .ruled > li { border-color: rgba(246, 239, 227, .22); }
.dark .ruled p { color: var(--on-dark-soft); }
.col-2 { columns: 2; column-gap: 56px; }
.col-2 > li { break-inside: avoid; }

/* Notable alumni ---------------------------------------------------------- */
.alumni { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 44px); list-style: none; }
.alum { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 18px; align-items: start; }
.alum img { width: 116px; height: 145px; object-fit: cover; }
.alum h3 { margin-bottom: 2px; font-size: 1.25rem; }
.alum-class { display: block; margin-bottom: 8px; font-size: 1rem; color: var(--gold-text); font-weight: 600; }
.alum details { grid-column: 1 / -1; }
.alum p { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-soft); }
summary { color: var(--maroon); font-weight: 600; cursor: pointer; }
details[open] summary { margin-bottom: 8px; }

/* Closing band ------------------------------------------------------------ */
.closing { text-align: center; }
.closing-crest { width: 84px; margin: 0 auto 22px; }
.anthem { max-width: 36rem; margin: 0 auto 8px; font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.16; color: #fff; }
.closing .btn-row { justify-content: center; }

/* Sponsor ----------------------------------------------------------------- */
.sponsor { padding-block: 40px; border-top: 1px solid var(--line); text-align: center; }
.sponsor-label { display: block; margin-bottom: 12px; font-size: .9375rem; color: var(--ink-soft); }
.sponsor img { width: 260px; margin-inline: auto; border: 1px solid var(--line); }

/* Timeline ---------------------------------------------------------------- */
.timeline { list-style: none; border-top: 2px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: minmax(90px, 2fr) minmax(0, 10fr); gap: 24px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.timeline-year { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; color: var(--maroon); }
.timeline h3 { margin-bottom: 6px; font-size: 1.3rem; }
.timeline p { margin: 0; max-width: 44rem; color: var(--ink-soft); }

/* Values ------------------------------------------------------------------ */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 56px; list-style: none; }
.values li { padding-block: 20px; border-top: 1px solid var(--line); }
.values h3 { margin-bottom: 4px; }
.values p { margin: 0; color: var(--ink-soft); }

/* Leadership -------------------------------------------------------------- */
.leader-lead { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: 56px; }
.leader-lead img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.leader-lead h3 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-family: var(--display); margin-bottom: 6px; }
.role { display: block; color: var(--gold-text); font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
.dark .role { color: var(--gold); }
.leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 36px 28px; list-style: none; }
.leaders img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; margin-bottom: 12px; background: var(--line); }
.leaders h3 { margin-bottom: 2px; font-size: 1.2rem; }
.leaders .class { display: block; font-size: 1rem; color: var(--ink-soft); }
.dark .leaders .class { color: var(--on-dark-soft); }

.register { width: 100%; border-collapse: collapse; }
.register caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.register th, .register td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); text-align: left; }
.register thead th { border-bottom: 2px solid var(--ink); font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.register tbody th { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }

/* Steps ------------------------------------------------------------------- */
.steps { list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 0 0 26px 64px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border: 1px solid var(--maroon); border-radius: 50%; font-family: var(--serif); font-size: 1.3rem; line-height: 42px; text-align: center; color: var(--maroon); }
.steps li:last-child { padding-bottom: 0; }
.steps h3 { margin-bottom: 4px; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.tags li { padding: 6px 14px; border: 1px solid var(--line); background: var(--card); font-size: 1rem; }

/* Events ------------------------------------------------------------------ */
.notice { padding: clamp(24px, 3vw, 36px); border-left: 4px solid var(--maroon); background: var(--card); }
.notice h2, .notice h3 { margin-bottom: 8px; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter button { min-height: 44px; padding: 8px 18px; border: 1px solid var(--ink-soft); border-radius: 2px; background: transparent; color: var(--ink); font: 500 1.0625rem var(--sans); cursor: pointer; }
.filter button:hover { border-color: var(--maroon); color: var(--maroon); }
.filter button[aria-pressed='true'] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; list-style: none; }
.gallery li[hidden] { display: none; }
.gallery a { display: block; color: var(--ink); text-decoration: none; }
.gallery-photo { display: block; overflow: hidden; margin-bottom: 12px; background: var(--line); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery-poster img { object-fit: contain; }
.gallery h3 { margin-bottom: 2px; font-size: 1.2rem; }
.gallery a:hover h3 { color: var(--maroon); text-decoration: underline; }
.gallery-date { display: block; font-size: 1rem; color: var(--ink-soft); }

/* Donations --------------------------------------------------------------- */
.account { padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--line); border-top: 4px solid var(--maroon); background: var(--card); }
.account dl { margin: 0 0 8px; }
.account dt { font-size: 1rem; color: var(--ink-soft); }
.account dd { margin: 0 0 16px; font-weight: 600; overflow-wrap: anywhere; }
.account-number { display: block; font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 2.8rem); font-weight: 400; letter-spacing: .05em; line-height: 1.2; color: var(--maroon); }
.copy-status { margin-left: 12px; font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.video-frame { background: #000; }

/* Forms ------------------------------------------------------------------- */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 6px; font-weight: 600; }
.optional { font-weight: 400; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #8A8177; border-radius: 2px; background: #fff; color: var(--ink); font: 400 1.125rem var(--sans); }
.form-field textarea { min-height: 170px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid var(--maroon); outline-offset: 0; border-color: var(--maroon); }
.field-error { display: none; margin-top: 6px; color: #A1121E; font-size: 1rem; font-weight: 600; }
.form-field.invalid input, .form-field.invalid textarea { border: 2px solid #A1121E; }
.form-field.invalid .field-error { display: block; }
.gotcha { position: absolute; left: -9999px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-left: 4px solid; background: var(--paper); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { border-color: #2B6B3F; color: #1F5230; }
.form-status.fail { border-color: #A1121E; color: #8E101B; }
.contact-list { list-style: none; }
.contact-list li { padding-block: 16px; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list h3 { margin-bottom: 4px; font-size: 1.15rem; }
.contact-list p { margin: 0; }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }

/* News -------------------------------------------------------------------- */
.news-story { padding-block: var(--section); background: var(--card); }
.news-story-alt { background: var(--paper); }
.news-story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.news-story-photo img { width: 100%; }
.news-story-photo figcaption { margin-top: 10px; font-size: 1rem; color: var(--ink-soft); }
.news-tag { display: block; margin-bottom: 12px; color: var(--gold-text); font-size: .875rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.news-headline { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.news-amount { color: var(--maroon); }
.news-standfirst { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--ink-soft); }
.news-callout { padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--paper); font-weight: 600; }
.news-closing { font-weight: 600; }
.news-story-intro { max-width: 46rem; margin-bottom: 36px; }
.news-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 12px; }
.news-photo { display: block; overflow: hidden; background: var(--line); }
.news-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .5s ease; }
.news-photo:hover img { transform: scale(1.03); }
.news-photo-wide { grid-column: span 2; }
.news-photo-banner { grid-column: 1 / -1; grid-row: span 2; }
.news-photo-banner img { object-position: center 35%; }
.news-newsletter { padding-block: var(--section); background: var(--oxblood); color: var(--on-dark); }
.news-newsletter-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.news-newsletter-cover img { width: 100%; }
.news-newsletter-issue { margin-bottom: 4px; font-weight: 600; }
.news-newsletter-motto { font-family: var(--serif); font-style: italic; color: var(--on-dark-soft); }

/* Privacy ----------------------------------------------------------------- */
.policy-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.policy-nav { position: sticky; top: calc(var(--header) + 24px); }
.policy-nav h3 { font-size: 1.15rem; }
.policy-nav ul { list-style: none; }
.policy-nav li { padding-block: 6px; border-bottom: 1px solid var(--line); }
.policy-nav a { text-decoration: none; }
.policy-section { margin-bottom: 48px; padding-bottom: 12px; }
.policy-section h3 { margin-top: 1.3em; }
.policy-section ul { margin: 0 0 1em 1.2em; }
.policy-section li { margin-bottom: 6px; }
.highlight-box { margin-block: 20px; padding: 16px 20px; border-left: 3px solid var(--gold); background: var(--card); }
.contact-info { padding: 24px; border-top: 2px solid var(--ink); background: var(--card); }

/* Footer ------------------------------------------------------------------ */
.site-footer { padding-block: 64px 28px; background: #241013; color: var(--on-dark-soft); font-size: 1.0625rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 36px; padding-bottom: 40px; }
.footer-brand img { width: 62px; margin-bottom: 14px; }
.footer-brand p { max-width: 24rem; }
.footer-motto { font-family: var(--serif); font-style: italic; color: var(--on-dark); }
.footer-title { margin-bottom: 12px; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: underline; text-decoration-color: rgba(246, 239, 227, .35); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; padding-top: 20px; border-top: 1px solid rgba(246, 239, 227, .2); font-size: 1rem; }
.footer-bottom p { margin: 0; }

/* Reveal on scroll. Only hides content when JS is running ----------------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Lightbox ---------------------------------------------------------------- */
.sl-overlay { background: #120608 !important; opacity: .94 !important; }
.sl-wrapper .sl-close, .sl-wrapper .sl-navigation button, .sl-wrapper .sl-counter { color: #fff !important; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1180px) {
    .nav-toggle { display: inline-flex; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header)); overflow-y: auto; padding: 8px var(--gutter) 24px; background: var(--paper); border-bottom: 2px solid var(--maroon); box-shadow: 0 12px 24px rgba(30, 26, 24, .15); }
    .site-nav.open { display: block; }
    .site-nav ul { display: block; }
    .site-nav li { border-bottom: 1px solid var(--line); }
    .site-nav li:last-child { padding-top: 16px; border-bottom: 0; }
    .site-nav a:not(.btn) { padding: 13px 0; border-bottom: 0; font-size: 1.2rem; }
    .site-nav a[aria-current='page'] { font-weight: 600; }
    .site-nav .btn { width: 100%; min-height: 52px; }
    .header-inner { position: static; }
}

@media (max-width: 1000px) {
    .alumni { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stories { grid-template-columns: minmax(0, 1fr); }
    .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    :root { --header: 72px; }
    .hero { display: block; min-height: 0; padding-block: 0; }
    .hero-photo { position: static; height: 300px; object-position: 70% 20%; }
    .hero::after { display: none; }
    .hero .wrap { padding-block: 34px 42px; }
    .split, .split-5-7, .story-feature, .news-story-grid, .news-newsletter-grid, .policy-layout { grid-template-columns: minmax(0, 1fr); }
    .policy-nav { position: static; }
    .page-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .page-hero-text { padding-block: 40px; padding-right: 0; }
    .page-hero-photo { margin-inline: calc(-1 * var(--gutter)); height: 240px; order: -1; }
    .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts-grid li { padding: 22px 18px; }
    .facts-grid li:nth-child(odd) { border-left: 0; padding-left: 0; }
    .facts-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .routes { grid-template-columns: minmax(0, 1fr); }
    .routes li { border-left: 0; border-bottom: 1px solid var(--line); }
    .routes a, .routes li:first-child a { padding: 20px 0; }
    .col-2 { columns: 1; }
    .news-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 8px; }
    .news-photo-banner { grid-row: span 1; }
    .leader-lead { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 24px; }
    .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

@media (max-width: 640px) {
    body { font-size: 1.0625rem; }
    .brand-sub { display: none; }
    .alumni, .gallery, .values { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .btn-row .btn { width: 100%; }
    .head-rule { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .story { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
    .leader-lead { grid-template-columns: minmax(0, 1fr); }
    .leader-lead img { max-width: 240px; }
    .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
    .fund-keys { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header, .site-footer, .sponsor, .nav-toggle { display: none; }
    .js .reveal { opacity: 1; transform: none; }
}
