/* Glenmuir Alumni: Apple-inspired typography, navigation and editorial panels. */
:root {
    --brand: #0066cc; --maroon: #0077ed; --glenmuir: #641c32; --gold: #d9b874; --gold-dark: #806128;
    --ink: #1d1d1f; --muted: #5c5c61; --line: #d2d2d7; --tint: #f5f5f7; --white: #fff;
    --action: #c62828; --action-hover: #a51f1f;
    --radius: 24px; --container: 1200px;
    --font: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 17px/1.47059 var(--font); letter-spacing: -.022em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
a { color: var(--brand); text-underline-offset: 4px; }
button { color: inherit; }
h1, h2, h3 { margin: 0 0 .6em; font-family: var(--font-display); font-weight: 600; line-height: 1.07143; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 4.8vw, 4.3rem); }
h2 { color: #c62828; font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.4rem; letter-spacing: .004em; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid #0071e3; outline-offset: 4px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 100px; }
.container { width: min(100% - 64px, var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: white; padding: 12px 20px; border-radius: 12px; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.eyebrow { color: var(--muted); font-size: .875rem; letter-spacing: .02em; text-transform: none; font-weight: 700; margin-bottom: 1.2rem; }
.lead { font-size: 1.1rem; line-height: 1.7; color: var(--muted); max-width: 620px; }
.meta, time, .form-hint { color: var(--muted); font-size: .875rem; }
.tag, .card-kicker { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 48px; padding: .8rem 1.45rem; border: 1px solid transparent; border-radius: 999px; font-size: 17px; font-weight: 400; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { cursor: wait; opacity: .65; transform: none; }
.btn-maroon, .btn-dark, .btn-primary { background: var(--action); color: white; }
.btn-primary:hover { background: var(--action-hover); }
.btn-outline { color: #0071e3; border-color: #0071e3; background: transparent; }
.btn-outline:hover { background: #0071e3; color: white; }
.btn-maroon:hover, .btn-dark:hover { background: var(--action-hover); }
.btn-gold { background: var(--action); color: white; }
.btn-gold:hover { background: var(--action-hover); }
.btn-light, .btn-outline-light { color: var(--ink); background: white; }
.btn-light:hover, .btn-outline-light:hover { background: #f2e9dc; }
.btn-ghost { border-color: #b7b6b2; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: #efefeb; }
.btn-sm { min-height: 40px; padding: .65rem 1.05rem; font-size: .875rem; }
.text-link, .link-arrow, .link-back { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; color: #0066cc; font-weight: 400; text-decoration: none; font-size: 17px; }
.text-link:hover, .link-arrow:hover, .link-back:hover { text-decoration: underline; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,250,252,.92); border-bottom: 0; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.header-inner { max-width: 1024px; height: 48px; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand img { width: 26px; height: 26px; object-fit: contain; }
.brand-name { font-size: 14px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.brand-name strong { color: var(--ink); font-weight: 600; }
.brand-name small { display: none; font-size: .65rem; font-weight: 400; color: var(--muted); letter-spacing: .01em; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex: 1; }
.main-nav { display: flex; flex: 1; justify-content: space-around; gap: .15rem; }
.main-nav a { padding: .7rem .65rem; color: #333336; font-size: 14px; font-weight: 400; text-decoration: none; white-space: nowrap; border-radius: 8px; }
.main-nav a:hover { color: #000; background: transparent; }
.main-nav a.is-active { color: #000; font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-actions .btn { min-height: 28px; padding: 6px 12px; font-size: 14px; }
.search-link { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--ink); }
.search-link svg { width: 20px; height: 20px; }
.mobile-label { display: none; }
.nav-toggle { display: none; background: transparent; border: 0; padding: 12px; min-width: 44px; min-height: 44px; margin-left: auto; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; width: 23px; background: var(--ink); margin: 6px 0; transition: transform .2s; }
.nav-toggle[aria-expanded=true] > span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded=true] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
/* Apple-style full-width editorial showcases */
.announcement { background: white; text-align: center; font-size: 14px; padding: 16px 24px; line-height: 1.5; }
.announcement a { margin-left: 6px; color: #0066cc; text-decoration: none; white-space: nowrap; }
.announcement a:hover { text-decoration: underline; }
.showcase { background: #f5f5f7; text-align: center; overflow: hidden; margin-bottom: 12px; }
.showcase-copy { padding: 45px 24px 32px; position: relative; z-index: 1; }
.showcase-copy h1, .showcase-copy h2 { font-size: 56px; line-height: 1.07143; letter-spacing: -.005em; margin: 0 0 10px; }
.showcase-copy > p { font-size: 28px; line-height: 1.14; margin: 0 0 20px; letter-spacing: .007em; }
.showcase .hero-actions, .promo-tile .hero-actions { justify-content: center; gap: 16px; }
.showcase .btn, .promo-tile .btn { min-height: 44px; padding: 11px 21px; }
.showcase-image { width: 100%; height: 440px; object-fit: cover; object-position: center 15%; }
.showcase-dark { background: #000; color: #f5f5f7; }
.showcase-dark .showcase-image { height: 420px; object-position: center 30%; }
.showcase-copy .showcase-label { font-size: 21px; font-weight: 600; letter-spacing: .011em; margin-bottom: 14px; }
.showcase-dark .btn-outline { color: #2997ff; border-color: #2997ff; }
.showcase-dark .btn-outline:hover { background: #0071e3; color: white; }
.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; padding: 0 12px 12px; }
.promo-tile { background: #f5f5f7; text-align: center; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.tile-copy { padding: 42px 24px 30px; }
.tile-copy h2 { font-size: 40px; line-height: 1.1; letter-spacing: 0; margin-bottom: 10px; }
.tile-copy > p { font-size: 21px; line-height: 1.24; letter-spacing: .016em; margin-bottom: 20px; }
.promo-tile .btn { font-size: 14px; min-height: 36px; padding: 9px 16px; }
.promo-tile > img { width: 100%; height: 320px; object-fit: cover; margin-top: auto; }
.tile-history { background: #000; color: white; }
.tile-membership { background: #f5f5f7; }
.muted-heading { color: #6e6e73; }
.section { padding: 88px 0; }
.section-tint, .section-cream { background: var(--tint); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2.5rem; margin-bottom: 34px; }
.section-head h2 { margin: 0; }
.section-intro { max-width: 360px; color: var(--muted); font-size: .95rem; margin: 0; }
.card-grid, .tradition-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.story-card { display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.story-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #25292b0b; }
.story-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.story-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.story-card h2, .story-card h3 { font-size: 1.25rem; line-height: 1.3; }
.story-card p { font-size: .85rem; color: var(--muted); }
.card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.card-bottom > span { color: var(--brand); }
.event-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.next-event { background: #f5f5f7; border-radius: var(--radius); padding: 32px; }
.event-highlight { display: flex; align-items: flex-start; gap: 24px; }
.event-highlight p { color: var(--muted); font-size: .85rem; }
.newsletter-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 64px 0; background: transparent; border-radius: 0; margin-bottom: 0; }
.newsletter-section { background: #f5f5f7; }
.newsletter-panel h2 { font-size: 2.5rem; }
.newsletter-panel p { color: var(--muted); font-size: .9rem; }
.subscribe-form label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 8px; }
.subscribe-controls { display: flex; gap: 8px; }
.subscribe-controls input { min-width: 0; flex: 1; }
.subscribe-controls .btn { white-space: nowrap; }
.subscribe-form .form-hint { font-size: .875rem; margin-top: 12px; }
/* Inner page hierarchy */
.page-hero { padding: 22px 0 48px; border-bottom: 1px solid var(--line); background: #f5f5f7; }
.breadcrumbs { display: flex; gap: 10px; font-size: .875rem; color: var(--muted); align-items: center; margin-bottom: 32px; }
.breadcrumbs a { color: var(--muted); min-height: 28px; display: inline-flex; align-items: center; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 280px; align-items: center; gap: 4rem; }
.page-hero-grid .eyebrow { margin-bottom: 14px; }
.page-hero-grid h1 { max-width: 780px; }
.page-hero-grid .lead { margin: 0; font-size: 1rem; }
.page-hero-image { width: 100%; height: 230px; object-fit: cover; border-radius: 20px; }
.section-nav { display: flex; flex-wrap: wrap; gap: 12px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.section-nav a { color: var(--muted); font-size: .875rem; text-decoration: none; padding: 8px 14px; border-radius: 99px; }
.section-nav a:hover { background: #e8e8ed; color: var(--brand); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-copy p { color: var(--muted); }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.subhead { margin-top: 48px; }
.cta-band { width: min(100% - 64px, var(--container)); margin: 0 auto 80px; background: #1d1d1f; color: white; border-radius: var(--radius); padding: 40px; }
.cta-band .container { width: 100%; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 2rem; margin-bottom: 0; }
.cta-band p { color: #eee0e4; margin: 10px 0 0; }
.cta-band .btn-ghost { color: white; border-color: #ffffff80; }
.cta-band .btn-ghost:hover { background: #ffffff1a; }
/* Browse controls */
.browse-toolbar { display: flex; gap: 16px; align-items: flex-end; padding: 22px; border: 1px solid var(--line); background: white; border-radius: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.browse-toolbar .field { flex: 1 1 190px; }
.browse-toolbar .search-field { flex-grow: 2; }
.results-status { margin-bottom: 24px; color: var(--muted); font-size: .875rem; }
.empty-state { text-align: center; padding: 56px 24px; border: 1px dashed #bebbb3; border-radius: var(--radius); background: var(--tint); }
.empty-state h2 { font-size: 1.6rem; }
.empty-state p { color: var(--muted); }
.notice { padding: 16px 20px; background: #f3eddf; border-radius: 12px; font-size: .85rem; color: #65502e; margin-bottom: 24px; }
.search-form { display: flex; gap: 12px; margin-bottom: 28px; }
.search-form .field { flex: 1; }
.search-form .btn { align-self: flex-end; }
.search-results { display: grid; gap: 12px; }
.search-result { display: block; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; }
.search-result:hover { border-color: var(--brand); }
.search-result h2 { font-size: 1.4rem; margin-bottom: 8px; }
.search-result p { margin: 0; color: var(--muted); }
.search-result .tag { margin-bottom: 8px; }
/* Chapters, events, about and giving */
.chapter-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.chapter-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; }
.chapter-media { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.chapter-media > img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.chapter-media-plain { background: var(--glenmuir); display: grid; place-items: center; }
.chapter-media-plain .chapter-crest { position: static; width: 96px; height: 96px; object-fit: contain; background: white; border-radius: 50%; padding: 10px; }
.chapter-region { position: absolute; left: 14px; bottom: 14px; background: white; border-radius: 99px; padding: 6px 12px; font-size: .68rem; color: var(--brand); }
.chapter-body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.chapter-body h2 { font-size: 1.8rem; margin-bottom: 6px; }
.chapter-body > p { color: var(--muted); font-size: .9rem; }
.chapter-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; }
.chapter-events { margin: 4px 0 16px; padding: 16px; border-radius: 14px; background: var(--tint); }
.chapter-events h3 { font-size: 15px; margin-bottom: 8px; }
.chapter-events ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.chapter-events a { display: flex; gap: 12px; text-decoration: none; font-size: 15px; }
.chapter-events a span { flex: none; min-width: 52px; color: var(--glenmuir); font-weight: 600; }
.chapter-events a:hover { text-decoration: underline; }
.event-host { display: inline-flex; align-items: center; gap: 6px; }
.event-flag { font-size: 16px; line-height: 1; }
a.event-host { text-decoration: none; }
a.event-host:hover { text-decoration: underline; }
.committee { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0; list-style: none; font-size: .85rem; }
.committee span { display: block; color: var(--muted); font-size: .875rem; }
details { border-block: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-size: .85rem; font-weight: 600; }
.events-heading { font-size: 32px; margin-bottom: 8px; }
.events-note { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.events-empty { padding: 32px 0; border-top: 1px solid var(--line); color: var(--muted); }
.event-list { list-style: none; padding: 0; margin: 0; }
.event-row { display: grid; grid-template-columns: 64px 1fr 200px; gap: 28px; align-items: start; padding: 32px 0; border-top: 1px solid var(--line); }
.date-block { flex-shrink: 0; min-width: 64px; text-align: center; background: var(--tint); color: var(--ink); border-radius: 14px; padding: 10px 8px; }
.date-block span { display: block; font-size: .65rem; text-transform: uppercase; font-weight: 600; letter-spacing: .06em; }
.date-block strong { display: block; font-size: 1.8rem; line-height: 1.2; }
.date-block .date-tbc { font-size: 1.1rem; line-height: 2.2rem; }
.event-row img { aspect-ratio: 4/3; width: 100%; object-fit: cover; border-radius: 14px; }
.event-row h3 { font-size: 1.4rem; margin-bottom: 6px; }
.event-row-body .meta { font-size: .875rem; margin-bottom: 12px; }
.event-row-body > p:not(.meta) { font-size: .95rem; color: var(--muted); margin-bottom: 4px; }
.form-card.tickets-form fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.form-card.tickets-form legend { font-size: 15px; font-weight: 600; margin-bottom: 12px; padding: 0; border: 0; }
.ticket-events { display: grid; gap: 10px; }
.ticket-event { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.ticket-event:hover { border-color: #0071e3; }
.ticket-event:has(input:checked) { border-color: #0071e3; background: #f5faff; box-shadow: inset 0 0 0 1px #0071e3; }
.ticket-event:has(input:focus-visible) { outline: 3px solid #0071e3; outline-offset: 2px; }
.ticket-event input { width: 20px; height: 20px; margin: 0; accent-color: #0071e3; }
.ticket-event-main strong { display: block; font-size: 16px; line-height: 1.3; }
.ticket-event-main span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.ticket-event-price { font-size: 16px; font-weight: 600; white-space: nowrap; }
.ticket-event.is-soon { cursor: not-allowed; opacity: .55; }
.ticket-event.is-soon .ticket-event-price { font-weight: 400; color: var(--muted); }
.ticket-qty { margin-bottom: 28px; }
.qty-stepper { display: flex; align-items: center; gap: 8px; max-width: 200px; }
.qty-stepper input { text-align: center; font-size: 18px; font-weight: 600; -moz-appearance: textfield; }
.qty-stepper input::-webkit-inner-spin-button, .qty-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper button { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: white; font-size: 22px; line-height: 1; }
.qty-stepper button:hover { border-color: #0071e3; color: #0071e3; }
.ticket-contact { display: grid; gap: 16px; }
.ticket-checkout { border-top: 1px solid #e8e8ed; padding-top: 4px; }
.tickets-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-size: 15px; }
.tickets-total strong { font-size: 22px; }
.tickets-submit { width: 100%; min-height: 52px; }
.tickets-note { text-align: center; margin: 12px 0 0; }
@media (max-width: 480px) {
    .tickets-form { padding: 20px; border-radius: 20px; }
    .ticket-event { padding: 14px; gap: 12px; }
    .ticket-checkout { position: sticky; bottom: 0; margin: 0 -20px -20px; padding: 2px 20px 14px; background: white; border-radius: 0 0 20px 20px; box-shadow: 0 -8px 20px #0000000d; }
    .ticket-checkout .tickets-total { padding: 10px 0; }
    .ticket-checkout .tickets-note { display: none; }
}
.event-soon { margin: 4px 0 0; }
.tradition-grid { margin-top: 30px; }
.tradition-grid figure { margin: 0; background: white; overflow: hidden; border-radius: 20px; }
.tradition-grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.tradition-grid figcaption { padding: 24px; color: var(--muted); font-size: .85rem; }
.tradition-grid strong { display: block; color: var(--ink); font-size: 1.15rem; margin-bottom: 8px; }
.mission-list { list-style: none; counter-reset: mission; padding: 0; margin: 0; }
.mission-list li { counter-increment: mission; position: relative; padding: 16px 0 16px 44px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.mission-list li::before { content: "0" counter(mission); position: absolute; left: 0; color: var(--brand); font-size: .875rem; }
.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.timeline li { background: white; border-radius: 20px; padding: 28px; }
.timeline-year { display: block; font-size: 1.8rem; color: var(--brand); margin-bottom: 20px; letter-spacing: -.04em; }
.timeline h3 { font-size: 1.1rem; }
.timeline p { color: var(--muted); font-size: .85rem; margin: 0; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 32px; }
.team-card { margin: 0; }
.team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 16px; margin-bottom: 16px; }
.team-card strong { display: block; font-size: .95rem; font-weight: 600; }
.team-card span { color: var(--muted); font-size: .875rem; }
.board-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; padding: 0; }
.board-list li { background: var(--tint); padding: 16px; border-radius: 12px; }
.board-list strong { display: block; font-size: .85rem; }
.board-list span { color: var(--muted); font-size: .875rem; }
.give-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.give-card { background: white; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; }
.give-card h3 { font-size: 1.25rem; }
.give-card p { font-size: .85rem; color: var(--muted); }
.give-card .text-link { margin-top: auto; }
.fact-row { display: flex; flex-wrap: wrap; gap: 24px; border-top: 1px solid var(--line); padding-top: 20px; margin: 24px 0 0; }
.fact-row dt { color: var(--muted); font-size: .875rem; }
.fact-row dd { color: var(--brand); font-size: 1.6rem; font-weight: 600; margin: 0; }
.contact-lines { font-size: .9rem; line-height: 2; overflow-wrap: anywhere; }
/* Gallery and article */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 10px 18px; min-height: 44px; font-size: .85rem; }
.filter.is-active, .filter:hover { background: var(--action); color: white; border-color: var(--action); }
.masonry { columns: 3; column-gap: 24px; }
.masonry-item { break-inside: avoid; margin: 0 0 24px; }
.lightbox-trigger { display: block; width: 100%; padding: 0; background: none; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; }
.lightbox-trigger img { width: 100%; transition: transform .3s; }
.lightbox-trigger:hover img { transform: scale(1.03); }
.masonry figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.lightbox { border: 0; background: #1e2023; color: white; border-radius: 18px; padding: 16px; max-width: min(1100px, 94vw); width: 94vw; max-height: 94dvh; }
.lightbox::backdrop { background: #0e1012e8; backdrop-filter: blur(8px); }
.lightbox img { width: 100%; height: 65dvh; object-fit: contain; }
.lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.lightbox button { min-width: 44px; min-height: 44px; border: 1px solid #ffffff50; background: #ffffff12; color: white; border-radius: 99px; font-size: 1.2rem; }
.lightbox button:hover { background: #ffffff30; }
.lightbox-caption { margin: 12px 0; text-align: center; font-size: .9rem; }
.lightbox-count { font-size: .875rem; color: #c4c5c6; }
.article-head { padding-top: 54px; }
.article-head h1 { margin: 12px 0 24px; }
.article-head .tag { margin-top: 20px; }
.article-figure { margin-block: 40px; }
.article-figure img { width: 100%; max-height: 580px; object-fit: cover; border-radius: 24px; }
.article-body { font-size: 1.15rem; padding-bottom: 50px; }
/* Forms */
.form-layout { display: grid; grid-template-columns: 310px 1fr; gap: 64px; align-items: start; }
.form-aside h2 { font-size: 1.8rem; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding: 10px 0 10px 26px; color: var(--muted); font-size: .9rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); }
.form-aside > img { width: 180px; border-radius: 12px; margin-top: 20px; }
.form-card { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 36px; }
.form-card h2 { font-size: 1.8rem; }
.form-card fieldset { margin: 24px 0; padding: 0; border: 0; min-width: 0; }
.form-card legend { display: block; width: 100%; border-bottom: 1px solid var(--line); padding-bottom: 10px; font-size: .85rem; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0 24px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { width: 100%; min-height: 48px; border: 1px solid #c9c9c5; border-radius: 10px; padding: 11px 13px; background: white; color: var(--ink); font-size: 1rem; }
textarea { resize: vertical; }
input::placeholder { color: #7b7d80; }
.checkbox { display: flex !important; align-items: flex-start; gap: 10px; font-size: .85rem; font-weight: 400 !important; cursor: pointer; padding-block: 8px; }
.checkbox input { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; accent-color: var(--brand); }
.field-error, .form-errors { color: #b42318; font-size: .875rem; }
.field-error:empty, .validation-summary-valid { display: none; }
.input-validation-error { border-color: #b42318 !important; }
.form-errors.validation-summary-errors { padding: 18px; background: #fff1ef; border-radius: 12px; margin-top: 16px; }
.form-errors ul { padding-left: 18px; margin: 0; }
.form-note { padding: 16px; background: #e3eddf; color: #2e5127 !important; border-radius: 12px; }
.form-note-error { background: #fff1ef; color: #b42318 !important; }
.success { border-color: #b1c6a7; background: #f3f8ef; }
.success-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #dce9d5; font-size: 1.5rem; color: #315c2b; margin-bottom: 20px; }
.mini-team { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 20px; }
.mini-team li { display: flex; align-items: center; gap: 12px; }
.mini-team img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.mini-team span { display: flex; flex-direction: column; font-size: .875rem; color: var(--muted); }
.mini-team strong { color: var(--ink); font-size: .875rem; }
/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #f5f5f7; }
.site-footer > .container { max-width: 980px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 48px; border-bottom: 1px solid var(--line); }
.footer-top h2 { font-size: 1.5rem; margin-bottom: 0; }
.footer-top .eyebrow { margin-bottom: 12px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.3fr; gap: 36px; padding-block: 40px; font-size: .875rem; }
.footer-inner h3 { font-size: .875rem; font-weight: 700; letter-spacing: 0; margin-bottom: 16px; }
.footer-inner ul { padding: 0; list-style: none; margin: 0; }
.footer-inner li { margin: 7px 0; }
.footer-inner a:not(.brand) { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.footer-inner address { font-style: normal; color: var(--muted); margin-bottom: 12px; }
.footer-motto { margin-top: 18px; font-size: .875rem; color: var(--muted); }
.social { display: flex; gap: 16px; margin-top: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 20px; font-size: .875rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.error-page { text-align: center; padding-block: 40px; }
.error-page img { margin: 0 auto 24px; }
@media (max-width: 1150px) {
    .header-inner { gap: 20px; }
    .main-nav a { padding-inline: 8px; font-size: .875rem; }
    .give-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 1000px) {
    .header-inner { height: 48px; }
    .nav-toggle { display: block; }
    .nav-wrap { display: none; position: absolute; top: 48px; left: 0; right: 0; background: #fafafc; padding: 20px 32px; max-height: calc(100dvh - 48px); overflow-y: auto; box-shadow: 0 20px 24px #0000000f; border-bottom: 1px solid var(--line); }
    .nav-wrap.is-open { display: block; }
    .main-nav { flex-direction: column; }
    .main-nav a { font-size: 1rem; padding: 12px; }
    .main-nav a.is-active { box-shadow: none; background: #e8e8ed; border-radius: 8px; }
    .nav-actions { justify-content: space-between; margin-top: 16px; }
    .mobile-label { display: inline; margin-left: 10px; font-size: .9rem; }
    .page-hero-grid { grid-template-columns: 1fr 240px; gap: 32px; }
    .page-hero-image { height: 210px; }
    .split, .form-layout { gap: 32px; }
    .form-layout { grid-template-columns: 240px 1fr; }
    .event-row { grid-template-columns: 64px 1fr; }
    .event-row > img { display: none; }
    .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .timeline { grid-template-columns: repeat(2,1fr); }
    .team-grid { gap: 16px; }
    .board-list { grid-template-columns: repeat(2,1fr); }
    .newsletter-panel { padding: 32px; gap: 24px; }
    .subscribe-controls { flex-direction: column; }
    .footer-inner { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
    .container { width: min(100% - 40px, var(--container)); }
    .section { padding: 56px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
    .section-intro { max-width: none; }
    .event-feature { gap: 24px; }
    .newsletter-panel { padding: 28px; margin-bottom: 56px; }
    .subscribe-controls { flex-direction: row; }
    .page-hero { padding-bottom: 32px; }
    .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .page-hero-image { height: 170px; }
    .page-hero h1 { max-width: 600px; font-size: 2.7rem; }
    .breadcrumbs { margin-bottom: 20px; }
    .chapter-grid { grid-template-columns: 1fr; }
    .chapter-body { padding: 22px; }
    .chapter-media > img { object-position: center 35%; }
    .team-grid { grid-template-columns: repeat(3,1fr); gap: 24px; }
    .form-aside > img { display: none; }
    .form-aside .mini-team { grid-template-columns: repeat(2,1fr); }
    .form-card { padding: 24px; }
    .cta-band { width: calc(100% - 40px); padding: 28px; margin-bottom: 56px; }
    .tradition-grid { grid-template-columns: 1fr; }
    .tradition-grid figure { display: grid; grid-template-columns: 140px 1fr; }
    .tradition-grid img { height: 100%; aspect-ratio: auto; }
    .masonry { columns: 2; column-gap: 16px; }
    .footer-top { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
    .eyebrow { font-size: .63rem; }
    .hero-actions { gap: 10px 20px; }
    .card-grid, .timeline, .give-grid, .form-grid { grid-template-columns: 1fr; }
    .event-row { padding: 24px 0; gap: 16px; grid-template-columns: 56px 1fr; }
    .date-block { min-width: 60px; padding: 10px 6px; }
    .event-row h3 { font-size: 1.2rem; }
    .event-highlight { gap: 16px; }
    .next-event { padding: 24px; }
    .subscribe-controls { flex-direction: column; }
    .newsletter-panel h2 { font-size: 2rem; }
    .team-grid { grid-template-columns: repeat(2,1fr); }
    .board-list, .form-aside .mini-team { grid-template-columns: 1fr; }
    .masonry { columns: 1; }
    .filter-bar { gap: 6px; }
    .filter { font-size: .875rem; padding-inline: 13px; }
    .footer-inner { gap: 24px 16px; }
    .footer-inner > :first-child, .footer-inner > :last-child { grid-column: 1 / -1; }
    .search-form { flex-direction: column; }
    .search-form .btn { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 760px) {
    .showcase-copy { padding-top: 36px; }
    .showcase-copy h1, .showcase-copy h2 { font-size: 40px; }
    .showcase-copy > p { font-size: 23px; }
    .showcase-image, .showcase-dark .showcase-image { height: 340px; }
    .promo-grid { grid-template-columns: 1fr; padding-inline: 0; }
    .tile-copy h2 { font-size: 32px; }
    .promo-tile > img { height: 300px; }
    .newsletter-panel { padding-block: 48px; }
    .event-feature, .newsletter-panel, .split, .form-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .showcase-copy h1, .showcase-copy h2 { font-size: 36px; }
    .showcase-copy > p { font-size: 21px; }
    .showcase-image, .showcase-dark .showcase-image { height: 280px; }
    .showcase .btn { font-size: 14px; padding: 11px 17px; }
}

/* Two primary journeys; community content stays secondary. */
.header-inner { gap: 28px; height: 56px; }
.nav-wrap { justify-content: flex-end; }
.main-nav { flex: initial; gap: 26px; align-items: center; justify-content: flex-end; }
.community-menu { position: relative; border: 0; padding: 0; }
.community-menu summary { font-size: 14px; font-weight: 400; list-style: none; min-height: 44px; display: flex; align-items: center; gap: 7px; }
.community-menu summary::-webkit-details-marker { display: none; }
.community-links { position: absolute; right: 0; top: 44px; width: 220px; display: grid; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 14px 40px #00000012; }
.community-links a { display: block; padding: 10px 14px; min-height: 40px; }
.community-links a:hover { background: var(--tint); }
.primary-actions { flex-shrink: 0; }
.nav-actions .btn { min-height: 36px; padding: 8px 15px; }
.action-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(600px, calc(100svh - 56px), 820px); margin-bottom: 0; background: #1d1d1f; color: white; text-align: left; isolation: isolate; }
.action-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #00000005 10%, #00000040 35%, #000000d1 60%, #000000f2 100%); pointer-events: none; }
.action-hero .showcase-copy { width: min(100% - 64px, var(--container)); margin-inline: auto; padding: 120px 0 56px; }
.action-hero .showcase-copy h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.03; margin-bottom: 20px; }
.action-hero .hero-actions { justify-content: flex-start; }
.action-hero .btn-outline { color: white; border-color: white; background: #ffffff0d; }
.action-hero .btn-outline:hover { background: white; color: #1d1d1f; }
.action-hero .showcase-copy > p:not(.showcase-label) { font-size: 24px; line-height: 1.3; }
.action-hero .showcase-label { font-size: 17px; font-weight: 500; color: #f5f5f7; }
.action-hero .showcase-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; z-index: -2; }
.centered-section-head { text-align: center; margin-bottom: 36px; }
.centered-section-head .lead { margin-inline: auto; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: auto; }
.action-card { background: var(--tint); border-radius: 24px; padding: 36px; display: flex; align-items: flex-start; flex-direction: column; }
.action-card h3 { font-size: 32px; }
.action-card > p:not(.eyebrow) { color: var(--muted); }
.action-card .check-list { flex: 1; margin-top: 0; margin-bottom: 24px; }
.action-card > p { flex: 1; margin-bottom: 24px; }

/* Home: at-a-glance figures, news and upcoming events. */
.home-stats { border-bottom: 1px solid var(--line); }
.stat-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 240px); justify-content: center; gap: 24px; margin-block: 0; padding-block: 40px; text-align: center; }
.stat-row div { display: flex; flex-direction: column-reverse; }
.stat-row dt { color: var(--muted); font-size: 14px; }
.stat-row dd { margin: 0 0 4px; font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -.01em; }
.initiatives-note { margin: 10px 0 0; }
.initiative-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.initiative { display: flex; flex-direction: column; background: white; border-radius: 20px; padding: 26px; }
.section:not(.section-tint) .initiative { background: var(--tint); }
.initiative h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.initiative p { flex: 1; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.initiative-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 12px; }
.initiative-figures dt { font-size: 14px; color: var(--muted); }
.initiative-figures dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.initiative-figures .tbc { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--muted); }
.initiative-bar { height: 6px; border-radius: 3px; background: var(--tint); overflow: hidden; margin-bottom: 10px; }
.initiative-bar span { display: block; height: 100%; background: #0071e3; }
.initiative-give { margin-top: 10px; min-height: 40px; padding: 8px 20px; font-size: 15px; align-self: flex-start; }
.event-host { align-self: flex-start; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: white; color: var(--glenmuir); font-size: 14px; font-weight: 600; }
.initiative .event-tile-date { flex: none; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #0066cc; margin-bottom: 10px; }
.initiative-figures .event-tile-detail { font-family: var(--font); font-size: 14px; font-weight: 500; line-height: 1.35; }
.event-tile-soon { margin-top: 10px; min-height: 40px; display: inline-flex; align-items: center; font-size: 14px; color: var(--muted); }
@media (min-width: 481px) and (max-width: 1000px) { .home-news > :nth-child(3) { display: none; } }
@media (min-width: 761px) and (max-width: 1000px) { .initiative-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.footer-top p { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.journey-header { padding-block: 22px 0; }
.journey-header h1 { font-size: clamp(32px, 4.5vw, 52px); }
.journey-header .lead { max-width: 680px; margin-bottom: 0; }
.journey-section { padding-top: 40px; }
.join-column { max-width: 680px; }
.join-column .form-errors + .form-grid { margin-top: 0; }
.join-column .form-errors.validation-summary-errors { margin: 0 0 20px; }
.optional-details { margin-bottom: 20px; }
.optional-details summary { padding-block: 6px; font-size: 14px; }
.optional-details summary span { color: var(--muted); font-weight: 400; }
.optional-details .form-grid { margin-bottom: 0; }
.consent-field { margin-block: 20px 12px; }
.join-submit { width: 100%; margin: 12px 0 0; }
.success-next { margin: 24px 0 0; font-size: 15px; }
.donation-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.donation-action > p { color: var(--muted); }
.donation-action .btn { margin: 12px 0; }
.donation-action .form-hint { font-size: 14px; }
.donation-alternative { padding-block: 8px; font-size: 15px; }
.payment-note { padding: 18px; background: var(--tint); border-radius: 12px; margin-top: 24px; font-size: 14px; }
.payment-note p { margin: 8px 0 0; color: var(--muted); }
.email-address { font-size: 14px; margin: 18px 0 0; overflow-wrap: anywhere; }
.donation-steps { padding-top: 20px; }
.donation-steps h2 { font-size: 26px; }
.next-step-list { counter-reset: step; list-style: none; padding: 0; margin: 24px 0 0; }
.next-step-list li { position: relative; padding: 0 0 28px 48px; counter-increment: step; }
.next-step-list li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); font-size: 14px; font-weight: 600; }
.next-step-list strong { display: block; font-size: 16px; margin-bottom: 6px; }
.next-step-list span { display: block; color: var(--muted); font-size: 14px; }
.centered-action { text-align: center; margin-top: 36px; }
.centered-action .form-hint { margin-top: 16px; }
.journey-help { padding-block: 28px; font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) {
    .header-inner { gap: 16px; }
    .primary-actions { margin-left: auto; }
    .nav-toggle { margin-left: 0; }
    .nav-wrap { top: 56px; max-height: calc(100dvh - 56px); }
    .main-nav { align-items: stretch; gap: 8px; }
    .community-menu summary { font-size: 16px; padding: 12px; }
    .community-links { position: static; width: 100%; border: 0; background: var(--tint); box-shadow: none; }
    .nav-actions { margin-top: 0; }
    .donation-layout { gap: 32px; }
}
@media (max-width: 760px) {
    .action-grid, .donation-layout { grid-template-columns: 1fr; }
    .stat-row { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 28px; padding-block: 32px; }
    .stat-row dd { font-size: 32px; }
    .initiative-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .action-card { padding: 28px; }
    .action-hero { min-height: 640px; }
    .action-hero .showcase-copy { width: calc(100% - 40px); padding-bottom: 40px; }
    .action-hero .showcase-copy > p:not(.showcase-label) { font-size: 21px; }
    .journey-section { padding-top: 28px; }
    .donation-layout { gap: 16px; }
    .donation-action { padding: 24px; }
}
@media (max-width: 480px) {
    .header-inner { width: calc(100% - 24px); gap: 8px; }
    .header-inner .brand { gap: 6px; }
    .header-inner .brand-name { font-size: 14px; }
    .header-inner .brand img { width: 22px; height: 22px; }
    .nav-actions { gap: 6px; }
    .nav-actions .btn { padding: 8px 10px; font-size: 14px; }
    .nav-toggle { padding: 10px 4px; min-width: 32px; }
    .action-hero .showcase-label { font-size: 14px; }
    .action-hero .showcase-copy { padding-top: 180px; }
    .action-hero .showcase-copy > p:not(.showcase-label) { font-size: 19px; max-width: 290px; }
}
@media (max-width: 360px) {
    .header-inner { gap: 6px; }
    .header-inner .brand-name { font-size: 14px; }
}

/* Donation selection and request review. */
.giving-page { background: #f5f5f7; padding: 22px 0 72px; }
.giving-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); gap: 70px; align-items: start; }
.giving-story { padding-top: 40px; }
.giving-story h1 { font-size: clamp(36px, 4.3vw, 58px); letter-spacing: -.025em; margin-bottom: 20px; }
.giving-story .lead { font-size: 19px; line-height: 1.5; max-width: 510px; }
.giving-photo { margin: 32px 0 0; border-radius: 22px; overflow: hidden; position: relative; }
.giving-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 25%; }
.gift-panel { background: white; border-radius: 26px; padding: 36px; }
.gift-panel h2 { font-size: 30px; margin-bottom: 28px; }
.gift-frequency { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 24px; border: 0; border-radius: 12px; background: var(--tint); }
.gift-frequency label { position: relative; cursor: pointer; }
.gift-frequency input { position: absolute; opacity: 0; inset: 0; }
.gift-frequency span { display: grid; place-items: center; min-height: 44px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--muted); }
.gift-frequency input:checked + span { background: var(--action); color: white; box-shadow: none; }
.gift-frequency input:focus-visible + span { outline: 3px solid #0071e3; outline-offset: 2px; }
.gift-supporter-note { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #f8f0f2; color: var(--glenmuir); font-size: 14px; }
.gift-supporter-note a { color: var(--glenmuir); }
.gift-thanks h2:focus, .gift-thanks:focus { outline: none; }
.gift-thanks-amount { font-family: var(--font-display); font-size: 32px; font-weight: 600; margin-bottom: 8px; }
.gift-thanks-perks { padding: 12px 14px; border-radius: 10px; background: #f8f0f2; color: var(--glenmuir); }
.gift-amount-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 12px; }
.gift-amount-heading > label, .gift-cause label { font-size: 14px; font-weight: 600; }
.currency-field select { min-height: 38px; font-size: 14px; padding: 7px 28px 7px 10px; width: auto; border-color: #e1e1e6; }
.amount-presets { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; margin-bottom: 12px; }
.amount-presets button { min-height: 46px; font-size: 14px; font-weight: 500; padding: 8px 3px; border: 1px solid #d2d2d7; border-radius: 10px; background: white; }
.amount-presets button:hover { border-color: #0071e3; background: #f5faff; }
.amount-presets button[aria-pressed=true] { border-color: var(--action); color: white; background: var(--action); box-shadow: none; }
.gift-amount-input { position: relative; }
.gift-amount-input > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }
.gift-amount-input input { min-height: 60px !important; padding-left: 64px !important; font-size: 26px !important; font-weight: 500; }
.gift-form .form-hint { margin: 8px 0 0; font-size: 14px; }
.gift-cause { margin: 24px 0 28px; }
.gift-cause select { font-size: 15px; }
.gift-submit { width: 100%; min-height: 50px; gap: 12px; }
.gift-help { font-size: 14px; color: var(--muted); margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #e8e8ed; text-align: center; line-height: 1.6; }
.gift-help a { white-space: nowrap; }
.gift-impact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; margin-top: 44px; }
.impact-number { color: #0071e3; display: block; font-size: 15px; margin-bottom: 18px; }
.gift-impact-grid h3 { font-size: 24px; }
.gift-impact-grid p { font-size: 15px; color: var(--muted); }
.giving-faq { max-width: 800px; padding-bottom: 72px; }
.giving-faq h2 { font-size: 32px; margin-bottom: 28px; }
.giving-faq details { border-top: 0; padding-block: 18px; }
.giving-faq summary { font-size: 16px; }
.giving-faq details p { font-size: 14px; color: var(--muted); margin: 16px 0 0; line-height: 1.6; }
@media (max-width: 1000px) {
    .giving-grid { gap: 32px; grid-template-columns: minmax(0,1fr) minmax(350px,1fr); }
    .gift-panel { padding: 24px; }
}
@media (max-width: 760px) {
    .giving-grid { grid-template-columns: minmax(0,1fr); }
    .giving-story { padding-top: 0; }
    .giving-story h1 { font-size: 36px; }
    .giving-story .lead { font-size: 17px; }
    .giving-photo { display: none; }
    .giving-photo img { aspect-ratio: 2/1; }
    .gift-panel { max-width: 520px; width: 100%; margin: 0 auto; }
    .gift-impact-grid { grid-template-columns: 1fr; gap: 24px; }
    .gift-impact-grid article { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
    .giving-faq { padding-bottom: 48px; }
}
@media (max-width: 360px) {
    .gift-panel { padding: 20px; }
    .amount-presets { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) { .initiative-grid { grid-template-columns: 1fr; } }

/* Monthly supporter: warm neutrals, open space and simple dividers. */
.supporter-section { padding-top: 0; }
.supporter-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(40px, 5vw, 80px); background: #f4f3ee; color: #262824; border: 1px solid #e7e6df; border-radius: 12px; padding: clamp(32px, 4.5vw, 64px); }
.supporter-head { margin-bottom: 30px; }
.supporter-kicker, .supporter-benefits-label { color: #65685f; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 24px; }
.supporter-panel h2 { margin-bottom: 20px; font-size: clamp(34px, 3.5vw, 46px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.supporter-lead { color: #62655e; font-size: 16px; line-height: 1.65; max-width: 340px; margin: 0; }
.supporter-price { padding-top: 24px; border-top: 1px solid #d9dcd2; margin-bottom: 24px; }
.supporter-price p { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; }
.supporter-price strong { font-family: var(--font-display); font-size: 44px; font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
.supporter-price span { color: #62655e; font-size: 14px; }
.supporter-price .supporter-terms { font-size: 12px; }
.supporter-benefits-label { margin-bottom: 20px; }
.supporter-perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 28px; }
.supporter-perks li { border-top: 1px solid #d9dcd2; padding-top: 20px; }
.supporter-perks h3 { font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; margin: 0 0 10px; }
.supporter-perks p { color: #62655e; font-size: 14px; line-height: 1.65; margin: 0; }
.supporter-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.supporter-alt { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #454e40; font-size: 13px; text-underline-offset: 5px; }
.supporter-alt:hover { color: #171c14; }
.supporter-btn { min-height: 48px; padding: 12px 26px; background: var(--action); color: #fff; border-radius: 8px; font-size: 15px; font-weight: 500; }
.supporter-btn:hover { background: var(--action-hover); transform: none; }
.supporter-alert { margin-bottom: 20px; }
@media (max-width: 900px) {
    .supporter-panel { grid-template-columns: 1fr; gap: 40px; }
    .supporter-summary { max-width: 480px; }
    .supporter-lead { max-width: 420px; }
}
@media (max-width: 480px) {
    .supporter-panel { padding: 28px 24px; }
    .supporter-perks { grid-template-columns: 1fr; row-gap: 24px; }
    .supporter-btn { width: 100%; }
    .supporter-action { align-items: center; }
}
@media (max-width: 760px) { .action-hero::after { background: linear-gradient(180deg, #00000000 10%, #00000099 36%, #000000eb 52%, #000000f7 100%); } }

/* A single, interactive flame hero with primary actions at its base. */
.motto-hero { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-rows: 1fr; min-height: clamp(680px, calc(100svh - 56px), 960px); background: #fff; color: #292d25; }
.motto-sky, .motto-orbit { position: absolute; inset: 0; width: 100%; height: 100%; }
.motto-sky { z-index: -1; pointer-events: none; }
.motto-orbit { z-index: 0; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: grab; touch-action: pan-y pinch-zoom; }
.motto-orbit:active { cursor: grabbing; }
.motto-orbit:focus-visible { outline: 2px solid #d7b56d; outline-offset: -7px; }
.motto-intro { position: relative; align-self: end; display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 28px 100px; pointer-events: none; }
.motto-intro::before { content: ""; position: absolute; z-index: -1; inset: -64px calc((100% - 100vw) / 2) 0; background: linear-gradient(transparent, #ffffffbf 40%, #fffffff2); pointer-events: none; }
.motto-crest { position: relative; width: clamp(190px, 24vw, 250px); aspect-ratio: 1; }
.motto-crest img, .motto-crest canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
.motto-crest canvas { position: absolute; left: -40%; top: -100%; width: 180%; height: 200%; pointer-events: none; }
.motto-crest [hidden] { display: none; }
.motto-slogan { margin: 18px 20px 28px; color: #354331; font-family: "Helvetica Neue", var(--font-display); font-size: clamp(14px, 1.5vw, 17px); font-weight: 300; line-height: 1.7; letter-spacing: .14em; text-transform: uppercase; text-wrap: balance; }
.motto-meaning { display: block; margin-top: 10px; font-size: 13px; font-weight: 400; line-height: 1.6; letter-spacing: .04em; text-transform: none; }
.motto-hero .hero-actions { justify-content: center; gap: 14px; }
.motto-hero .hero-actions a { pointer-events: auto; }
.motto-hero .btn-outline { color: #354331; border-color: #b4b9ab; background: #ffffffd9; }
.motto-hero .btn-outline:hover { background: #e9ece2; color: #263323; }
.motto-toolbar { position: absolute; bottom: 20px; left: 32px; right: 24px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.motto-toolbar[hidden], .motto-orbit[hidden] { display: none; }
.motto-controls { display: flex; gap: 8px; }
.motto-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 30px; border: 1px solid #d9ddd2; background: #ffffffd9; color: #354331; font-size: 12px; backdrop-filter: blur(12px); cursor: pointer; }
.motto-controls button:hover { background: #e9ece2; }
.motto-controls button[hidden] { display: none; }
.motto-controls button > [aria-hidden] { font-size: 20px; line-height: 1; }
@media (max-width: 760px) {
    .motto-hero { min-height: max(720px, calc(100svh - 56px)); }
    .motto-intro { padding-block: 16px 92px; }
    .motto-toolbar { left: 20px; right: 16px; bottom: 16px; }
}

/* Homepage: an open, Scandinavian-inspired layout around the particle hero. */
:is(.home-page, .nordic-journey) { --brand: #354331; --muted: #686b62; --line: #dddfd6; --tint: #f2f1eb; background: #faf9f5; }
:is(.home-page, .nordic-journey) .site-header { background: #faf9f5f2; border-bottom: 1px solid #e6e6df; }
:is(.home-page, .nordic-journey) .header-inner { max-width: 1160px; }
:is(.home-page, .nordic-journey) .btn { border-radius: 50px; }
:is(.home-page, .nordic-journey) .btn-primary { background: var(--action); }
:is(.home-page, .nordic-journey) .btn-primary:hover { background: var(--action-hover); }
:is(.home-page, .nordic-journey) .primary-actions .btn-outline { border-color: #b4b9ab; color: #354331; }
:is(.home-page, .nordic-journey) .primary-actions .btn-outline:hover { background: #e9ece2; }
.home-page .motto-hero .btn-primary { background: var(--action); color: #fff; }
.home-page .motto-hero .btn-primary:hover { background: var(--action-hover); }
.home-page .motto-hero .btn-outline { border-color: #b4b9ab; }
.home-page .section { padding-block: 88px; }
.home-page .section-head { align-items: end; gap: 32px; margin-bottom: 44px; }
.home-page h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 500; line-height: 1.13; letter-spacing: -.025em; }
.home-kicker { margin: 0 0 16px; color: #686b62; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.home-page .initiatives-note { max-width: 480px; color: var(--muted); font-size: 14px; line-height: 1.65; margin: 14px 0 0; }
.home-page .link-arrow { color: #354331; font-size: 14px; gap: 16px; white-space: nowrap; }
.home-page .home-stats { background: #f2f1eb; border-bottom: 0; }
.home-page .stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row; text-align: left; padding-block: 40px; gap: 32px; }
.home-page .stat-row > div { padding-left: 24px; border-left: 1px solid #d3d7ca; }
.home-page .stat-row dd { font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; letter-spacing: -.03em; margin-bottom: 8px; }
.home-page .stat-row dt { font-size: 12px; }
.home-page .initiative-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.home-page .section .initiative { padding: 24px 0 0; background: transparent; border-radius: 0; border-top: 1px solid var(--line); }
.home-page .initiative h3 { font-size: 20px; font-weight: 500; margin-bottom: 12px; }
.home-page .initiative > p { line-height: 1.65; margin-bottom: 28px; }
.home-page .initiative-figures { margin-bottom: 16px; }
.home-page .initiative-figures dt { font-size: 12px; }
.home-page .initiative-figures dd { font-size: 21px; font-weight: 400; margin-top: 6px; }
.home-page .initiative-bar { height: 3px; border-radius: 0; background: #e5e7dd; }
.home-page .initiative-bar span { background: #718367; }
.home-page .initiative-give { margin-top: 10px; padding: 0; min-height: 44px; }
.home-more-giving { margin-top: 32px; border-bottom: 1px solid var(--line); }
.home-more-giving summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; cursor: pointer; list-style: none; color: #354331; font-size: 14px; }
.home-more-giving summary::-webkit-details-marker { display: none; }
.home-more-giving summary span { font-size: 24px; font-weight: 300; }
.home-more-giving[open] summary span { transform: rotate(45deg); }
.home-more-giving[open] > .initiative-grid { padding-block: 12px 32px; }
.home-page .supporter-section { padding-top: 0; }
.home-page .supporter-panel { background: #f0f0e8; border-color: #e2e4d9; }
.home-page .home-events { padding-top: 0; }
.home-event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.home-event { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; gap: 32px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.home-event-date { display: flex; flex-direction: column; gap: 4px; }
.home-event-date span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.home-event-date strong { font-size: 34px; font-weight: 400; letter-spacing: -.03em; }
.home-event-host { display: inline-block; font-size: 12px; margin-bottom: 8px; color: var(--muted); text-underline-offset: 3px; }
.home-event h3 { font-size: 20px; font-weight: 500; line-height: 1.3; margin: 0 0 8px; }
.home-event-copy p { font-size: 14px; color: var(--muted); margin: 0; }
.home-event-action { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; gap: 4px; }
.home-event-action small { color: var(--muted); font-size: 12px; }
.home-page .home-stories { background: #f2f1eb; }
.home-page .home-news { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.home-page .story-card { background: transparent; border: 0; border-radius: 0; }
.home-page .story-card:hover { transform: none; box-shadow: none; }
.home-page .story-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.home-page .story-card img { border-radius: 6px; aspect-ratio: 16 / 9; }
.home-page .story-card-body { padding: 24px 0 0; }
.home-page .story-card .tag { color: #686b62; font-weight: 500; font-size: 11px; margin-bottom: 12px; }
.home-page .story-card h3 { font-size: 24px; font-weight: 500; line-height: 1.25; max-width: 420px; }
.home-page .story-card time { font-size: 12px; }
:is(.home-page, .nordic-journey) .site-footer { background: #faf9f5; }
:is(.home-page, .nordic-journey) .site-footer > .container { max-width: 1200px; }
.home-page .footer-inner { padding-block: 56px; }
@media (max-width: 760px) {
    .home-page .section { padding-block: 56px; }
    .home-page .section-head { align-items: flex-start; gap: 16px; margin-bottom: 28px; }
    .home-page .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; padding-block: 32px; }
    .home-page .stat-row > div { padding-left: 16px; }
    .home-page .initiative-grid { grid-template-columns: 1fr; gap: 24px; }
    .home-page .initiative > p { margin-bottom: 20px; max-width: 480px; }
    .home-page .supporter-section, .home-page .home-events { padding-top: 0; }
    .home-event { grid-template-columns: 64px minmax(0, 1fr); gap: 12px 20px; align-items: start; }
    .home-event-action { grid-column: 2; flex-direction: row; align-items: center; gap: 20px; }
    .home-event h3 { font-size: 18px; }
    .home-page .home-news { gap: 28px; }
    .home-page .story-card h3 { font-size: 20px; }
}
@media (max-width: 480px) {
    .home-page .home-news { grid-template-columns: 1fr; gap: 36px; }
    .home-page .footer-inner { gap: 32px 20px; }
}

/* Join and give: the same quiet palette, with focused, accessible forms. */
.nordic-journey .breadcrumbs { margin-bottom: 40px; font-size: 13px; }
.nordic-journey .breadcrumbs a { color: #62695b; }
.nordic-journey h1 { font-size: clamp(36px, 4vw, 52px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; margin-bottom: 24px; }
.nordic-journey h2 { font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.journey-kicker { color: #686b62; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 20px; }
.nordic-journey .lead { color: #686b62; font-size: 17px; line-height: 1.7; max-width: 440px; }
.registration-page { padding-block: 32px 88px; }
.registration-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.registration-intro { padding-top: 32px; }
.registration-note { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: #686b62; font-size: 14px; line-height: 1.65; max-width: 400px; }
.nordic-journey .form-card, .nordic-journey .gift-panel { padding: 36px; border: 1px solid #e1e3d9; border-radius: 12px; background: #fffefa; box-shadow: none; }
.nordic-journey .form-card h2, .nordic-journey .gift-panel h2 { font-size: 28px; margin-bottom: 12px; }
.form-intro { color: #686b62; font-size: 14px; line-height: 1.6; margin-bottom: 28px; }
.nordic-journey .form-grid { gap: 24px 20px; }
.nordic-journey .field label { font-size: 13px; font-weight: 500; }
.nordic-journey input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .nordic-journey select { appearance:auto; min-height:48px; padding-right:14px; background-image:none; }
.nordic-journey select { appearance:auto; min-height:48px; padding-right:14px; background-image:none; }
.nordic-journey :focus-visible { outline-color: #566e49; }
.nordic-journey .optional-details { padding-block: 14px; border-color: #dddfd6; }
.nordic-journey .optional-details summary { font-size: 13px; font-weight: 500; line-height: 1.6; }
.nordic-journey .checkbox { font-size: 13px; line-height: 1.65; }
.nordic-journey .join-submit, .nordic-journey .gift-submit { font-size: 15px; font-weight: 500; min-height: 50px; }
.nordic-journey .btn:hover { transform: none; }
.nordic-journey .success { background: #f0f3e9; }
.nordic-journey .success-mark { background: #e2e8d9; color: #354331; }
.nordic-journey .text-link { color: #354331; font-size: 14px; }
.nordic-journey .giving-page { background: transparent; padding-block: 32px 72px; }
.nordic-journey .giving-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr); gap: clamp(40px, 6vw, 88px); }
.nordic-journey .giving-story { padding-top: 32px; }
.nordic-journey .giving-photo { border-radius: 8px; margin-top: 36px; }
.nordic-journey .giving-photo img { aspect-ratio: 5 / 4; }
.nordic-journey .gift-panel h2 { margin-bottom: 28px; }
.nordic-journey .gift-frequency { background: #eeefe7; border-radius: 8px; padding: 4px; gap: 4px; }
.nordic-journey .gift-frequency span { border-radius: 5px; font-size: 14px; font-weight: 400; }
.nordic-journey .gift-frequency input:checked + span { background: var(--action); color: white; box-shadow: none; }
.nordic-journey .gift-frequency input:focus-visible + span { outline-color: #566e49; }
.nordic-journey .gift-amount-heading > label, .nordic-journey .gift-cause label { font-size: 13px; font-weight: 500; }
.nordic-journey .currency-field select { min-height: 44px; font-size: 14px; }
.nordic-journey .amount-presets button { border-color: #cbd0c2; border-radius: 6px; background: #fffefa; font-size: 14px; font-weight: 400; }
.nordic-journey .amount-presets button:hover { background: #f0f3e9; border-color: #6a7d5d; }
.nordic-journey .amount-presets button[aria-pressed=true] { background: var(--action); color: white; border-color: var(--action); box-shadow: none; }
.nordic-journey .gift-supporter-note, .nordic-journey .gift-thanks-perks { background: #edf1e5; color: #45563c; border-radius: 6px; font-size: 13px; line-height: 1.6; }
.nordic-journey .gift-supporter-note a { color: #354331; }
.nordic-journey .gift-form .form-hint { font-size: 13px; line-height: 1.6; }
.nordic-journey .gift-help { border-color: var(--line); text-align: left; font-size: 12px; }
.nordic-journey .giving-impact { background: #f2f1eb; padding-block: 72px; }
.nordic-journey .centered-section-head { text-align: left; margin-bottom: 36px; }
.nordic-journey .giving-impact h2 { font-size: clamp(30px, 3vw, 40px); }
.nordic-journey .giving-impact .eyebrow { color: #686b62; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.nordic-journey .gift-impact-grid { gap: 36px; margin-top: 32px; }
.nordic-journey .gift-impact-grid article { border-top: 1px solid #d8dbd0; padding-top: 24px; }
.nordic-journey .impact-number { color: #7a856f; font-size: 12px; }
.nordic-journey .gift-impact-grid h3 { font-size: 20px; font-weight: 500; }
.nordic-journey .gift-impact-grid p { font-size: 14px; line-height: 1.65; }
.nordic-journey .giving-faq { max-width: 800px; padding-block: 72px; }
.nordic-journey .giving-faq h2 { font-size: 30px; }
.nordic-journey .giving-faq details { border-top: 1px solid var(--line); border-bottom: 0; padding-block: 20px; }
.nordic-journey .giving-faq details:last-child { border-bottom: 1px solid var(--line); }
.nordic-journey .giving-faq summary { font-size: 15px; font-weight: 500; }
.nordic-journey .journey-help { font-size: 13px; }
@media (max-width: 900px) {
    .registration-layout { grid-template-columns: 1fr; gap: 32px; max-width: 640px; margin-inline: auto; }
    .registration-intro { padding-top: 0; }
    .registration-note { display: none; }
    .nordic-journey .giving-grid { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); }
    .nordic-journey .form-card, .nordic-journey .gift-panel { padding: 28px; }
}
@media (max-width: 760px) {
    .registration-page, .nordic-journey .giving-page { padding-block: 24px 48px; }
    .nordic-journey .breadcrumbs { margin-bottom: 28px; }
    .nordic-journey .giving-grid { grid-template-columns: minmax(0, 1fr); }
    .nordic-journey .giving-story { padding-top: 0; }
    .nordic-journey .gift-panel { max-width: none; }
    .nordic-journey .giving-impact, .nordic-journey .giving-faq { padding-block: 48px; }
    .nordic-journey .gift-impact-grid { gap: 20px; }
    .nordic-journey .gift-impact-grid article { border-bottom: 0; }
}
@media (max-width: 480px) {
    .nordic-journey .form-card, .nordic-journey .gift-panel { padding: 24px 20px; border-radius: 10px; }
    .nordic-journey .form-grid { grid-template-columns: 1fr; gap: 20px; }
    .nordic-journey .form-card h2, .nordic-journey .gift-panel h2 { font-size: 26px; }
    .nordic-journey .gift-submit { font-size: 14px; }
}

/* Pressed animation controls use the same active red as primary actions. */
.motto-controls button[aria-pressed=true] { background: var(--action); border-color: var(--action); color: white; }
.motto-controls button[aria-pressed=true]:hover { background: var(--action-hover); border-color: var(--action-hover); }
