/* ==========================================================================
   CDCPDA v2  -  "Cinematic" design
   One stylesheet. Colours, fonts and spacing live in :root.
   Contents: 1 Tokens · 2 Base · 3 Buttons · 4 Header + menu · 5 Shutter images
   6 Page transition + intro · 7 Hero · 8 Page hero · 9 Home sections · 10 Inner pages
   11 Events/calendar · 12 Records/tables · 13 Forms/donate · 14 Dialogs · 15 Footer/consent
   16 Cursor + extras · 17 Motion preferences + print
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --forest: #173D35;
  --f800: #0f2b25;
  --f900: #0a1f1b;
  --gold: #D5A85B;
  --gold-300: #e6c288;
  --cream: #F5F2EA;
  --cream-2: #ebe6d8;
  --navy: #263746;
  --white: #fff;

  --ink: #10211e;
  --muted: #43524e;
  --line: #d6d0be;
  --on-dark: rgba(245, 242, 234, .86);
  --on-dark-2: rgba(245, 242, 234, .72);
  --control: #66756f;
  --danger: #9b1c1c;

  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --r: 6px;
  --wrap: 1320px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 9rem);
  --ease: cubic-bezier(.77, 0, .18, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --hdr: 84px;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 1rem); -webkit-text-size-adjust: 100%; background: var(--f900); }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
body:has(dialog[open]) { overflow: hidden; }
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 1rem; color: var(--forest); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2.1rem, 5vw, 4.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.18; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: var(--forest); text-underline-offset: .22em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
ul, ol { padding-left: 1.25rem; }
blockquote { margin: 0; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.dark :focus-visible, .hdr :focus-visible, .menu :focus-visible, .ftr :focus-visible, .consent :focus-visible, .hero :focus-visible, .phero :focus-visible { outline-color: var(--gold); }
::selection { background: var(--gold); color: var(--f900); }

.dark { color: var(--on-dark); background: var(--f900); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark a:not(.btn) { color: #fff; }
.dark .muted { color: var(--on-dark-2); }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 3000; background: var(--gold); color: var(--f900); font-weight: 700; padding: .9rem 1.3rem; text-decoration: none; }
.skip-link:focus { top: 0; }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--white { background: #fff; }
.section--cream2 { background: var(--cream-2); }
.section--forest { background: var(--forest); color: var(--on-dark); }
.section--forest h2, .section--forest h3 { color: #fff; }
.section--forest a:not(.btn) { color: #fff; }

/* small uppercase label with a number: "01  About" */
.kicker { display: inline-flex; align-items: center; gap: .8rem; margin: 0 0 1.25rem; font: 700 .75rem/1.2 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--forest); }
.kicker::before { content: ""; width: 2.6rem; height: 2px; background: var(--gold); }
.dark .kicker, .section--forest .kicker, .hero .kicker, .phero .kicker { color: var(--gold); }
.kicker b { font-weight: 700; color: inherit; }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.55; color: var(--muted); max-width: 46rem; }
.dark .lede, .section--forest .lede { color: var(--on-dark); }

.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head > div { max-width: 52rem; }
.sec-head h2 { margin-bottom: 0; }
.sec-head p:not(.kicker) { margin: 1.25rem 0 0; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split--top { align-items: start; }
@media (max-width: 880px) { .split, .split--wide { grid-template-columns: minmax(0, 1fr); } .split--rev > :first-child { order: 2; } }
.prose { max-width: 46rem; }
.prose h2:not([data-io]) { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 3rem; }
.prose li { margin-bottom: .5rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.checklist li { position: relative; padding-left: 2.2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 1.2rem; height: 2px; background: var(--gold); }
.checklist li::after { content: ""; position: absolute; left: .85rem; top: calc(.55em - 3px); width: 8px; height: 8px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg); }
.notice { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r); padding: 1.5rem; }
.notice > :last-child { margin-bottom: 0; }
.notice h2, .notice h3 { font-size: 1.4rem; }
.empty { text-align: center; padding: 3rem 1.5rem; background: #fff; border: 2px dashed var(--line); border-radius: var(--r); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.is-hidden { display: none !important; }

/* 3. BUTTONS ---------------------------------------------------------------
   Hover: a colour panel wipes up from the bottom (like a shutter closing). */
.btn {
  --fill: var(--forest); --fill-ink: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 52px; padding: .85rem 1.8rem; border: 1.5px solid currentColor; border-radius: 0;
  font: 700 .8125rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; text-align: center;
  background: transparent; color: var(--forest); transition: color .35s var(--ease), border-color .35s, transform .35s var(--ease-out);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.btn:hover { text-decoration: none; color: var(--fill-ink); border-color: var(--fill); }
.btn:hover::before { transform: scaleY(1); }
.btn--green { background: var(--forest); color: #fff; border-color: var(--forest); --fill: var(--gold); --fill-ink: var(--f900); }
.btn--gold { background: var(--gold); color: var(--f900); border-color: var(--gold); --fill: #fff; --fill-ink: var(--f900); }
.btn--outline { color: #fff; border-color: rgba(255, 255, 255, .8); --fill: #fff; --fill-ink: var(--f900); }
.btn--outline-dark { color: var(--forest); border-color: var(--forest); --fill: var(--forest); --fill-ink: #fff; }
.btn--ghost { background: #fff; color: var(--forest); border-color: var(--line); --fill: var(--forest); --fill-ink: #fff; }
.btn--sm { min-height: 44px; padding: .55rem 1.2rem; font-size: .75rem; }
.btn--lg { min-height: 64px; padding: 1.05rem 2.4rem; font-size: .875rem; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.arrow::after { content: ""; width: .7rem; height: .7rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg) translate(-2px, 2px); transition: transform .35s var(--ease-out); margin-left: -.2rem; }
.arrow:hover::after { transform: rotate(45deg) translate(2px, -2px); }
.link-arrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: inherit; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: .25rem; min-height: 44px; }

/* 4. HEADER + FULL-SCREEN MENU --------------------------------------------- */
.hdr { position: fixed; z-index: 500; inset: 0 0 auto 0; color: #fff; transition: transform .5s var(--ease), background-color .35s, backdrop-filter .35s; }
.hdr::before { content: ""; position: absolute; inset: 0 0 -2.5rem; z-index: -1; background: linear-gradient(rgba(5, 16, 14, .72), transparent); pointer-events: none; transition: opacity .35s; }
.hdr.is-solid { background: rgba(10, 31, 27, .92); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.hdr.is-solid::before { opacity: 0; }
.hdr.is-hidden-up { transform: translateY(-101%); }
.hdr__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--hdr); width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.hdr__logo { display: inline-flex; align-items: center; min-height: 48px; color: #fff; text-decoration: none; }
.hdr__logo img { height: 42px; width: auto; }
.wordmark { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; letter-spacing: .02em; }
.wordmark b { color: var(--gold); }
.hdr__nav { display: none; }
.hdr__nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.hdr__nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: .4rem .9rem; color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; }
.hdr__nav a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .55rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 1120px) { .hdr__nav { display: block; } }
html:not(.js) .hdr__nav { display: block; }
html:not(.js) .hdr__nav ul { flex-wrap: wrap; }
html:not(.js) .hdr__bar { flex-wrap: wrap; }
.hdr__actions { display: flex; align-items: center; gap: .75rem; }
.menu-btn { display: none; align-items: center; gap: .9rem; min-height: 48px; padding: 0 1.1rem; background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); cursor: pointer; font: 700 .78rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; transition: background-color .3s, color .3s; }
html.js .menu-btn { display: inline-flex; }
.menu-btn:hover { background: #fff; color: var(--f900); }
.menu-btn__bars { position: relative; width: 22px; height: 10px; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn__bars::before { top: 0; } .menu-btn__bars::after { bottom: 0; width: 70%; left: auto; }
.menu-btn:hover .menu-btn__bars::after { width: 100%; }
.progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold), #f6e1b0); pointer-events: none; }

dialog.menu {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--f900); color: #fff; overflow: auto; clip-path: inset(0 0 100% 0); transition: clip-path .75s var(--ease);
}
dialog.menu::backdrop { background: transparent; }
dialog.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 100%; }
.menu__main { padding: calc(var(--hdr) + 1rem) var(--pad) 2.5rem; display: flex; flex-direction: column; gap: 2rem; justify-content: space-between; }
.menu__top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; min-height: var(--hdr); padding-inline: var(--pad); z-index: 20; }
.menu__close { display: inline-flex; align-items: center; gap: .8rem; min-height: 48px; padding: 0 1.1rem; background: #fff; color: var(--f900); border: 1.5px solid #fff; cursor: pointer; font: 700 .78rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.menu__close:hover { background: var(--gold); border-color: var(--gold); }
.menu__list { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu__list li { counter-increment: m; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.menu__list a { display: flex; align-items: baseline; gap: 1.25rem; min-height: 56px; padding: .35rem 0; color: #fff; text-decoration: none; font: 700 clamp(1.5rem, 3vw, 2.6rem)/1.15 var(--font-head); letter-spacing: -.01em; transition: color .3s, padding-left .45s var(--ease-out), transform .9s var(--ease-out) calc(.2s + var(--i, 0) * .05s); }
html.js dialog.menu .menu__list a { transform: translateY(105%); }
html.js dialog.menu.is-open .menu__list a { transform: none; }
.menu__list a::before { content: counter(m, decimal-leading-zero); font: 600 .78rem var(--font-body); letter-spacing: .14em; color: var(--gold); min-width: 1.75rem; }
.menu__list a:hover, .menu__list a:focus-visible, .menu__list a[aria-current="page"] { color: var(--gold); padding-left: 1rem; }
.menu__foot { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; font-size: .95rem; color: var(--on-dark-2); }
.menu__foot a { color: #fff; }
.menu__media { position: relative; background: var(--f800); overflow: hidden; isolation: isolate; z-index: 0; }
.menu__img { position: absolute; inset: 0; --open: 0%; --max: 12.5%; -webkit-mask-image: repeating-linear-gradient(90deg, #000 0, #000 var(--open), transparent var(--open), transparent var(--max)); mask-image: repeating-linear-gradient(90deg, #000 0, #000 var(--open), transparent var(--open), transparent var(--max)); transition: --open .9s var(--ease); }
.menu__img.is-on { --open: 12.5%; }
.menu__img img { width: 100%; height: 100%; object-fit: cover; }
.menu__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 31, 27, .35), rgba(10, 31, 27, .1) 40%, rgba(10, 31, 27, .55)); pointer-events: none; z-index: 5; }
@media (max-width: 900px) { .menu__grid { grid-template-columns: minmax(0, 1fr); } .menu__media { display: none; } }
@media (min-width: 901px) { .menu__main { min-height: 100vh; } }

/* 5. SHUTTER IMAGES ---------------------------------------------------------
   Every picture sits in .shot. data-shutter="v|h|d|iris" picks how the blinds open
   when it scrolls into view (v = vertical slats, h = horizontal, d = diagonal). */
@property --open { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --cover { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.shot { position: relative; display: block; overflow: hidden; margin: 0; background: radial-gradient(circle at 25% 20%, rgba(213, 168, 91, .35), transparent 50%), linear-gradient(135deg, var(--f800), var(--forest) 55%, var(--navy)); }
.shot > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.shot:hover > img { transform: scale(1.05); }
.r-4x3 { aspect-ratio: 4 / 3; } .r-16x9 { aspect-ratio: 16 / 9; } .r-1x1 { aspect-ratio: 1 / 1; } .r-4x5 { aspect-ratio: 4 / 5; } .r-3x4 { aspect-ratio: 3 / 4; } .r-21x9 { aspect-ratio: 21 / 9; }
.shot figcaption, .shot__cap { position: absolute; left: 1rem; bottom: 1rem; z-index: 3; padding: .4rem .9rem; font: 600 .8rem var(--font-body); color: #fff; background: rgba(10, 31, 27, .82); border: 1px solid rgba(255, 255, 255, .2); border-radius: 3px; max-width: calc(100% - 2rem); }

[data-shutter="v"] { --max: 16.667%; --dir: 90deg; }
[data-shutter="h"] { --max: 12.5%; --dir: 180deg; }
[data-shutter="d"] { --max: 14.286%; --dir: 135deg; }
html.js [data-shutter="v"] > img, html.js [data-shutter="h"] > img, html.js [data-shutter="d"] > img {
  --open: 0%;
  -webkit-mask-image: repeating-linear-gradient(var(--dir), #000 0, #000 var(--open), transparent var(--open), transparent var(--max));
          mask-image: repeating-linear-gradient(var(--dir), #000 0, #000 var(--open), transparent var(--open), transparent var(--max));
  transition: transform 1.2s var(--ease-out), --open 1.25s var(--ease) var(--sd, 0s);
}
html.js [data-shutter="v"].is-in > img, html.js [data-shutter="h"].is-in > img, html.js [data-shutter="d"].is-in > img { --open: var(--max); }
html.js [data-shutter="iris"] > img { clip-path: circle(0% at 50% 50%); transition: transform 1.2s var(--ease-out), clip-path 1.3s var(--ease) var(--sd, 0s); }
html.js [data-shutter="iris"].is-in > img { clip-path: circle(80% at 50% 50%); }

/* generic scroll reveals (transform only, so text is always full contrast) */
html.js .reveal { transform: translateY(46px); transition: transform .9s var(--ease-out); transition-delay: var(--sd, 0s); }
html.js .reveal.is-in { transform: none; }
html.js .reveal.is-done { transition: transform .3s var(--ease-out), box-shadow .3s; transition-delay: 0s; }
.mask { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.mask > span { display: block; }
html.js .mask > span { transform: translateY(110%); transition: transform 1.1s var(--ease-out) var(--sd, 0s); }
html.js .is-in .mask > span, html.js .mask.is-in > span { transform: none; }

/* 6. PAGE TRANSITION + INTRO -------------------------------------------------
   Five vertical shutter columns slide across the screen between pages. */
html::after { content: ""; display: none; position: fixed; inset: 0; z-index: 2000; pointer-events: none; --cover: 0%;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(var(--cover) - 3px), var(--gold) calc(var(--cover) - 3px), var(--gold) var(--cover), transparent var(--cover), transparent 20%),
    repeating-linear-gradient(90deg, var(--f900) 0, var(--f900) var(--cover), transparent var(--cover), transparent 20%); }
html::before { content: "CDCPDA"; display: none; position: fixed; inset: 0; z-index: 2001; pointer-events: none; place-items: center; font: 700 clamp(2.5rem, 9vw, 7rem)/1 var(--font-head); letter-spacing: .04em; color: var(--gold); }
html.pt-in::after { display: block; animation: pt-open .9s var(--ease) .12s both; }
html.pt-in::before { display: grid; animation: pt-word .9s var(--ease) both; }
html.pt-out::after { display: block; animation: pt-close .5s var(--ease) both; }
html.pt-out::before { display: grid; animation: pt-word-in .5s var(--ease) .1s both; }
html.pt-intro::after { display: block; animation: pt-open 1.3s var(--ease) 1s both; }
html.pt-intro::before { display: grid; animation: pt-word 1.2s var(--ease) 1s both; }
@keyframes pt-open { from { --cover: 20%; } to { --cover: 0%; } }
@keyframes pt-close { from { --cover: 0%; } to { --cover: 20%; } }
@keyframes pt-word { 0%, 40% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-1.5rem); } }
@keyframes pt-word-in { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }

html.pt-in.js .mask > span, html.pt-in.js [data-shutter] > img { transition-delay: calc(.85s + var(--sd, 0s)); }
html.pt-in.js .hero__title .ln > span { animation-delay: calc(1s + var(--i, 0) * .14s); }
html.pt-in.js .hero .reveal-up { animation-delay: calc(1.3s + var(--i, 0) * .12s); }
html.pt-intro.js .hero__title .ln > span { animation-delay: calc(2s + var(--i, 0) * .14s); }
html.pt-intro.js .hero .reveal-up { animation-delay: calc(2.3s + var(--i, 0) * .12s); }
html.pt-intro.js .mask > span { transition-delay: calc(2s + var(--sd, 0s)); }

@media (max-width: 560px) {
  .hdr__bar { gap: .75rem; }
  .hdr__logo img { height: 32px; }
  .wordmark { font-size: 1.4rem; }
  .hdr__actions { gap: .5rem; }
  .hdr__actions .btn--sm { padding: .5rem .85rem; letter-spacing: .1em; }
  .menu-btn { padding: 0 .8rem; gap: .6rem; letter-spacing: .12em; }
}
@media (max-width: 400px) { .hdr__logo img { height: 27px; } .hdr__actions .btn--sm { padding: .5rem .7rem; } .menu-btn { padding: 0 .65rem; gap: .5rem; } }

/* 7. HOME HERO ------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; min-height: max(100svh, 640px); display: flex; align-items: flex-end; color: #fff; background: var(--f900); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; z-index: -3; transform: translate3d(0, var(--py, 0px), 0) scale(1.1); }
.hero__slide { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(135deg, var(--f800), var(--forest) 55%, var(--navy)); }
.hero__slide:not(.is-active) { visibility: hidden; }
.hero__slide.is-active, .hero__slide.is-next { visibility: visible; }
.hero__slide.is-next { z-index: 2; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero__slide.is-active img, .hero__slide.is-next img { animation: kb 14s linear both; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.14); } }
.hero__slide.sh-v, .hero__slide.sh-h, .hero__slide.sh-d { --open: 0%;
  -webkit-mask-image: repeating-linear-gradient(var(--dir), #000 0, #000 var(--open), transparent var(--open), transparent var(--max));
          mask-image: repeating-linear-gradient(var(--dir), #000 0, #000 var(--open), transparent var(--open), transparent var(--max)); }
.hero__slide.sh-v { --max: 16.667%; --dir: 90deg; } .hero__slide.sh-h { --max: 12.5%; --dir: 180deg; } .hero__slide.sh-d { --max: 14.286%; --dir: 135deg; }
.hero__slide.is-next.is-open { --open: var(--max); transition: --open 1.4s var(--ease); }
.hero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(5, 16, 14, .55) 0%, rgba(5, 16, 14, .15) 32%, rgba(5, 16, 14, .5) 62%, rgba(5, 16, 14, .94) 100%), linear-gradient(90deg, rgba(5, 16, 14, .7), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--hx, 75%) var(--hy, 30%), rgba(213, 168, 91, .16), transparent 62%); }
.hero__inner { padding-block: calc(var(--hdr) + 3rem) 0; width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.hero__title { color: #fff; font-size: clamp(2.7rem, 7.2vw, 7.2rem); line-height: .96; letter-spacing: -.035em; margin: 0 0 1.75rem; max-width: 18ch; text-wrap: initial; }
.hero__title em { font-style: italic; color: var(--gold); font-weight: 600; }
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--on-dark); max-width: 38rem; margin: 0; }
.hero__foot { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.5rem; align-items: center; margin-top: clamp(2rem, 5vw, 3.5rem); padding-block: 1.25rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .22); }
.hero__ctrl { display: flex; align-items: center; gap: .75rem; }
.hero__count { font: 600 .85rem var(--font-body); letter-spacing: .14em; min-width: 4.5rem; }
.hero__btn { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); cursor: pointer; transition: background-color .3s, color .3s; }
.hero__btn:hover { background: #fff; color: var(--f900); }
.hero__btn svg { width: 18px; height: 18px; }
.hero__bar { position: relative; height: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hero__bar i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero__bar.is-run i { animation: bar var(--dur, 7s) linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.hero__next { display: flex; align-items: center; gap: 1rem; font-size: .92rem; max-width: 24rem; }
.hero__next[hidden] { display: none; }
.hero__next .k { font: 700 .7rem var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .15rem; }
.hero__next a { color: #fff; font-weight: 600; text-decoration-color: var(--gold); }
.hero__next small { display: block; color: var(--on-dark-2); font-size: .85rem; }
.date-chip { flex: none; width: 3.6rem; text-align: center; background: var(--gold); color: var(--f900); padding: .45rem .2rem .5rem; line-height: 1; }
.date-chip b { display: block; font: 700 .65rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: .2rem; }
.date-chip span { font: 700 1.6rem var(--font-head); }
.hero__badge { position: absolute; right: var(--pad); top: calc(var(--hdr) + 2.5rem); width: clamp(96px, 11vw, 160px); aspect-ratio: 1; display: none; }
@media (min-width: 900px) { .hero__badge { display: block; } }
.hero__badge svg { width: 100%; height: 100%; }
.hero__badge .spin { transform-origin: 50% 50%; animation: spin 24s linear infinite; }
.hero__badge text { font: 600 11.5px var(--font-body); letter-spacing: .22em; text-transform: uppercase; fill: #fff; }
.hero__badge .dot { fill: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero .motion-toggle { position: absolute; right: var(--pad); bottom: 1.25rem; z-index: 3; }
@media (max-width: 860px) { .hero__foot { grid-template-columns: 1fr; } .hero__next { max-width: none; } }
@media (max-width: 860px) { .hero .motion-toggle { position: static; margin: 0 0 1rem; justify-self: start; } }

.hero__title .ln { display: block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.hero__title .ln > span { display: block; }
html.js .hero__title .ln > span { transform: translateY(112%); animation: rise 1.2s var(--ease-out) forwards; animation-delay: calc(.55s + var(--i, 0) * .14s); }
html.js .hero .reveal-up { transform: translateY(30px); animation: rise-s 1s var(--ease-out) forwards; animation-delay: calc(.9s + var(--i, 0) * .12s); }
@keyframes rise { to { transform: none; } }
@keyframes rise-s { to { transform: none; } }

.motion-toggle { min-height: 44px; padding: .4rem 1rem; cursor: pointer; background: rgba(10, 31, 27, .7); color: #fff; border: 1px solid rgba(255, 255, 255, .4); font: 600 .78rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.motion-toggle:hover, .motion-toggle[aria-pressed="true"] { background: var(--gold); color: var(--f900); border-color: var(--gold); }
html:not(.js) .motion-toggle, html:not(.js) .hero__ctrl { display: none; }

/* 8. SUB-PAGE HERO ----------------------------------------------------------- */
.phero { position: relative; isolation: isolate; overflow: hidden; background: var(--f900); color: #fff; padding-block: calc(var(--hdr) + clamp(3rem, 8vw, 6.5rem)) clamp(3rem, 7vw, 5.5rem); min-height: clamp(26rem, 58vh, 38rem); display: flex; align-items: flex-end; }
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 16, 14, .6), rgba(5, 16, 14, .35) 45%, rgba(5, 16, 14, .92)), linear-gradient(90deg, rgba(5, 16, 14, .75), transparent 75%); }
.phero::before { content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none; background: radial-gradient(38% 48% at 15% 25%, rgba(213, 168, 91, .26), transparent 70%), radial-gradient(34% 44% at 85% 65%, rgba(70, 140, 118, .3), transparent 70%); animation: aurora 26s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate3d(5%, -4%, 0) rotate(7deg) scale(1.1); } }
.phero__inner { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.phero h1 { color: #fff; font-size: clamp(2.8rem, 8vw, 7.5rem); line-height: .95; letter-spacing: -.035em; margin: 0 0 1.5rem; max-width: 16ch; }
.phero h1 em { font-style: italic; color: var(--gold); font-weight: 600; }
.phero .lede { color: var(--on-dark); margin: 0; max-width: 40rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; font-size: .85rem; letter-spacing: .06em; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .92); }
.phero--sm { min-height: 18rem; }
.phero__no::before { content: attr(data-n); }
.phero__no { position: absolute; right: var(--pad); bottom: clamp(1.5rem, 4vw, 3rem); font: 700 clamp(5rem, 16vw, 14rem)/.8 var(--font-head); color: rgba(213, 168, 91, .16); pointer-events: none; user-select: none; }

/* 9. HOME SECTIONS ----------------------------------------------------------- */
/* big scrolling words */
.marq { background: var(--forest); color: var(--cream); overflow: hidden; padding-block: clamp(1.2rem, 3vw, 2.2rem); border-block: 1px solid rgba(213, 168, 91, .35); }
.marq__track { display: flex; width: max-content; animation: marq 48s linear infinite; }
.marq__g { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.marq__g li { display: flex; align-items: center; white-space: nowrap; font: 700 clamp(2rem, 6vw, 5rem)/1.1 var(--font-head); letter-spacing: -.02em; padding-right: clamp(1.5rem, 3vw, 3rem); }
.marq__g li::after { content: ""; width: .5em; height: .5em; margin-left: clamp(1.5rem, 3vw, 3rem); background: var(--gold); transform: rotate(45deg) scale(.7); flex: none; }
.marq__g li:nth-child(even) { font-style: italic; color: var(--gold); }
@keyframes marq { to { transform: translate3d(-50%, 0, 0); } }
.marq--rev .marq__track { animation-direction: reverse; }

/* statement with scroll-highlighted words */
.statement { font: 600 clamp(1.55rem, 3.3vw, 2.9rem)/1.25 var(--font-head); letter-spacing: -.02em; color: var(--forest); margin: 0 0 2rem; }
.statement .w { background: linear-gradient(var(--gold), var(--gold)) 0 92% / var(--hl, 0%) .12em no-repeat; padding-bottom: .04em; }
html:not(.js) .statement .w { background: none; }
.intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.intro__imgs { position: relative; padding-bottom: 22%; }
.intro__imgs .shot:first-child { width: 78%; }
.intro__imgs .shot:last-child { position: absolute; right: 0; bottom: 0; width: 52%; border: 8px solid var(--cream); box-shadow: 0 30px 60px -20px rgba(10, 31, 27, .5); }
@media (max-width: 880px) { .intro { grid-template-columns: minmax(0, 1fr); } }
.mission-list { margin: 0 0 2rem; padding: 0; list-style: none; display: grid; gap: 0; counter-reset: ms; border-top: 1px solid var(--line); }
.mission-list li { counter-increment: ms; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.mission-list li::before { content: counter(ms, decimal-leading-zero); font: 700 .8rem var(--font-body); letter-spacing: .14em; color: var(--forest); padding-top: .3em; }

/* numbers */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.stat { padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem) clamp(1.5rem, 3vw, 2.5rem) 0; border-bottom: 1px solid rgba(255, 255, 255, .2); position: relative; }
.stat + .stat { padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid rgba(255, 255, 255, .2); }
.stat__num { display: block; font: 700 clamp(3rem, 7vw, 6.5rem)/1 var(--font-head); letter-spacing: -.04em; color: var(--gold); margin-bottom: .75rem; }
.stat__label { margin: 0; color: var(--on-dark); font-size: .98rem; max-width: 20rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 480px) { .stats { grid-template-columns: minmax(0, 1fr); } .stat + .stat { border-left: 0; padding-left: 0; } }

/* spaces: image accordion (hover or focus opens a panel) */
.acc { display: flex; gap: .75rem; list-style: none; margin: 0; padding: 0; height: clamp(26rem, 62vh, 36rem); }
.acc__item { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow .8s var(--ease); background: var(--f800); isolation: isolate; }
.acc__item.is-active, .acc__item:hover, .acc__item:focus-within { flex-grow: 4.2; }
.acc__item > a { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1rem, 2vw, 1.75rem); color: #fff; text-decoration: none; }
.acc__img { position: absolute; inset: 0; z-index: -2; }
.acc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.acc__item:hover .acc__img img, .acc__item:focus-within .acc__img img { transform: scale(1.06); }
.acc__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 16, 14, .1) 30%, rgba(5, 16, 14, .9)); }
.acc__n { font: 700 .75rem var(--font-body); letter-spacing: .2em; color: var(--gold); margin-bottom: .5rem; }
.acc__t { font: 700 clamp(1.05rem, 1.3vw, 1.3rem)/1.12 var(--font-head); margin: 0 0 .5rem; overflow-wrap: anywhere; transition: font-size .6s var(--ease); }
.acc__item.is-active .acc__t, .acc__item:hover .acc__t, .acc__item:focus-within .acc__t { font-size: clamp(1.4rem, 2.2vw, 2.1rem); }
.acc__s { display: block; max-width: 24rem; font-size: .98rem; color: var(--on-dark); max-height: 0; opacity: 0; transition: max-height .6s var(--ease), opacity .5s .15s; overflow: hidden; }
.acc__more { margin-top: .75rem; font: 700 .72rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s .2s; }
.acc__item.is-active .acc__s, .acc__item:hover .acc__s, .acc__item:focus-within .acc__s { max-height: 8rem; opacity: 1; }
.acc__item.is-active .acc__more, .acc__item:hover .acc__more, .acc__item:focus-within .acc__more { max-height: 3rem; opacity: 1; }
@media (max-width: 760px) {
  .acc { flex-direction: column; height: auto; }
  .acc__item, .acc__item.is-active, .acc__item:hover, .acc__item:focus-within { flex: none; min-height: 12rem; }
  .acc__s, .acc__more { max-height: none; opacity: 1; }
}

/* photo rails */
.rail { overflow: hidden; padding-block: .5rem; }
.rail__track { display: flex; width: max-content; gap: clamp(.6rem, 1.2vw, 1.1rem); animation: marq 70s linear infinite; padding-right: clamp(.6rem, 1.2vw, 1.1rem); }
.rail--rev .rail__track { animation-direction: reverse; animation-duration: 85s; }
.rail__g { display: flex; gap: clamp(.6rem, 1.2vw, 1.1rem); margin: 0; padding: 0; list-style: none; }
.rail .shot { height: clamp(13rem, 24vw, 20rem); flex: none; }
.rail .shot > img { width: auto; min-width: 100%; }
.rail .w43 { aspect-ratio: 4 / 3; } .rail .w169 { aspect-ratio: 16 / 9; } .rail .w34 { aspect-ratio: 3 / 4; } .rail .w11 { aspect-ratio: 1; }
.rail:hover .rail__track { animation-play-state: paused; }

/* big image break */
.band { position: relative; isolation: isolate; min-height: clamp(26rem, 80vh, 46rem); display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--f900); }
.band__bg { position: absolute; inset: 0; z-index: -2; }
.band__bg > img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; transform: translate3d(0, var(--py, 0px), 0); }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 16, 14, .15), rgba(5, 16, 14, .8)); }
.band__in { padding-block: clamp(2.5rem, 6vw, 5rem); }
.band h2 { color: #fff; max-width: 15ch; margin: 0; font-size: clamp(2.4rem, 7vw, 6.5rem); line-height: .98; }
.band h2 em { color: var(--gold); font-style: italic; font-weight: 600; }
.band p { max-width: 36rem; margin: 1.5rem 0 0; color: var(--on-dark); font-size: 1.15rem; }

/* upcoming events as rows (also used on the Events page list view) */
.rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rows > .empty { margin-top: 1.5rem; }
.event-row { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(1rem, 3vw, 3rem); align-items: center; padding: clamp(1.25rem, 2.6vw, 2rem) clamp(.5rem, 1.5vw, 1.25rem); border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); transition: color .45s var(--ease), padding-left .45s var(--ease-out); }
.event-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--forest); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.event-row:hover, .event-row:focus-within { color: #fff; padding-left: clamp(1rem, 2.5vw, 2rem); }
.event-row:hover::before, .event-row:focus-within::before { transform: scaleY(1); }
.event-row__date { width: 5.2rem; text-align: left; line-height: 1; }
.event-row__date b { display: block; font: 700 clamp(2.6rem, 5vw, 4rem)/1 var(--font-head); color: var(--forest); transition: color .45s; letter-spacing: -.03em; }
.event-row__date span { display: block; font: 700 .72rem var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; transition: color .45s; }
.event-row:hover .event-row__date b, .event-row:focus-within .event-row__date b { color: var(--gold); }
.event-row:hover .event-row__date span, .event-row:focus-within .event-row__date span { color: var(--on-dark); }
.event-row__body { min-width: 0; }
.event-row__title { margin: .35rem 0 .35rem; font: 700 clamp(1.25rem, 2.4vw, 2rem)/1.15 var(--font-head); letter-spacing: -.01em; }
.event-row__title a { color: inherit; text-decoration: none; }
.event-row__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.event-row__meta { margin: 0; font-size: .95rem; color: var(--muted); transition: color .45s; }
.event-row:hover .event-row__meta, .event-row:focus-within .event-row__meta { color: var(--on-dark); }
.event-row__go { width: 3.2rem; height: 3.2rem; border: 1.5px solid currentColor; border-radius: 50%; display: grid; place-items: center; transition: transform .45s var(--ease-out), background-color .3s, color .3s; }
.event-row__go::before { content: ""; width: .7rem; height: .7rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg) translate(-2px, 2px); }
.event-row:hover .event-row__go, .event-row:focus-within .event-row__go { transform: rotate(45deg); background: var(--gold); color: var(--f900); border-color: var(--gold); }
.event-row.is-past { opacity: 1; background: rgba(0, 0, 0, .025); }
.event-row .pill { margin-right: .4rem; }
@media (max-width: 640px) { .event-row { grid-template-columns: auto minmax(0, 1fr); } .event-row__go { display: none; } .event-row__date { width: 3.6rem; } }
.event-group .grid { display: block; border-top: 1px solid var(--line); }
.event-group .event-row { border-bottom: 1px solid var(--line); }
.grid .event-row { border-bottom: 1px solid var(--line); }

/* history teaser */
.hist { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.hist__stick { position: sticky; top: calc(var(--hdr) + 1.5rem); }
.hist__stick .shot { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.hist__years { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; }
.hist__years li { display: grid; grid-template-columns: minmax(5.5rem, 8rem) 1fr; gap: 1.5rem; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .2); align-items: baseline; }
.hist__years b { font: 700 clamp(2rem, 4.5vw, 3.6rem)/1 var(--font-head); color: var(--gold); letter-spacing: -.03em; }
.hist__years span { color: var(--on-dark); }
@media (max-width: 880px) { .hist { grid-template-columns: minmax(0, 1fr); } .hist__stick { position: static; } }

/* donate band */
.cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--f900); padding-block: clamp(5rem, 13vw, 11rem); text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(5, 16, 14, .55), rgba(5, 16, 14, .9)); }
.cta h2 { color: #fff; margin-inline: auto; max-width: 14ch; font-size: clamp(2.6rem, 8vw, 7.5rem); line-height: .96; }
.cta h2 em { font-style: italic; color: var(--gold); font-weight: 600; }
.cta p { max-width: 36rem; margin: 1.5rem auto 0; color: var(--on-dark); font-size: 1.15rem; }
.cta .btn-row { justify-content: center; }

/* news */
.ncard { position: relative; display: flex; flex-direction: column; height: 100%; padding: clamp(1.5rem, 2.5vw, 2.25rem); background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease-out), box-shadow .45s; }
.ncard::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.ncard:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(10, 31, 27, .55); }
.ncard:hover::before { transform: scaleX(1); }
.ncard h3 { font-size: 1.45rem; margin: .9rem 0 .5rem; }
.ncard time, .ncard .meta { font: 600 .82rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ncard p:not(.pill) { color: var(--muted); }
.ncard .btn-row { margin-top: auto; padding-top: 1rem; }

/* 10. INNER PAGES ------------------------------------------------------------ */
.card { position: relative; background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s; }
.card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(10, 31, 27, .55); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card--pad { padding: clamp(1.5rem, 3vw, 2.5rem); }
.card__num { display: block; font: 700 clamp(2.6rem, 5vw, 4rem)/1 var(--font-head); color: var(--forest); letter-spacing: -.03em; margin-bottom: 1.25rem; }
.card__num::after { content: ""; display: block; width: 2.75rem; height: 3px; margin-top: .75rem; background: var(--gold); }
.card h3 { margin-bottom: .75rem; }
.card > :last-child { margin-bottom: 0; }
.card--dark { background: var(--forest); color: var(--on-dark); border-color: transparent; }
.card--dark h3 { color: #fff; }
.card--dark .card__num { color: var(--gold); }
.card-body { padding: clamp(1.25rem, 2.5vw, 1.9rem); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { margin: .35rem 0 .25rem; font-size: 1.45rem; }
.card-body p:not(.pill) { margin: 0 0 .5rem; color: var(--muted); }
.card-body .btn-row { margin-top: auto; padding-top: .75rem; }
.card--space { display: flex; flex-direction: column; height: 100%; }
.card--space .shot { width: 100%; }

.pill { display: inline-flex; align-items: center; margin: 0; padding: .28rem .8rem; font: 700 .7rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; border: 1px solid currentColor; }
.pill--green { background: var(--forest); color: #fff; border-color: var(--forest); }
.pill--gold { background: var(--gold); color: var(--f900); border-color: var(--gold); }
.pill--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.pill--outline { background: transparent; color: var(--muted); border-color: var(--control); }
.pill--sample { background: #fdebc8; color: #5c3b00; border-color: #e0bf7d; }
.event-row:hover .pill--outline, .event-row:focus-within .pill--outline { color: var(--on-dark); border-color: var(--on-dark-2); }

.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.person { display: flex; gap: 1.1rem; align-items: center; background: #fff; border: 1px solid var(--line); padding: 1.25rem; transition: transform .4s var(--ease-out), box-shadow .4s; }
.person:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(10, 31, 27, .55); }
.avatar { flex: none; width: 4rem; height: 4rem; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold); font: 700 1.35rem var(--font-head); letter-spacing: .02em; }
.person--open .avatar { background: transparent; border: 2px dashed var(--control); color: var(--muted); }
.person__name { font: 700 1.1rem/1.25 var(--font-body); margin: 0 0 .2rem; color: var(--ink); letter-spacing: 0; }
.person__role { margin: 0 0 .35rem; font-size: .92rem; color: var(--muted); }
.person .pill { font-size: .62rem; }

.tenant-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.tenant-list li { padding: .9rem 1.5rem; background: #fff; border: 1.5px solid var(--forest); font: 600 1.05rem var(--font-head); color: var(--forest); transition: background-color .35s, color .35s, transform .35s var(--ease-out); }
.tenant-list li:hover { background: var(--forest); color: #fff; transform: translateY(-3px); }

.quote { margin: 0; padding: clamp(2rem, 5vw, 4rem); background: var(--forest); color: #fff; position: relative; }
.quote::before { content: "“"; position: absolute; left: clamp(1rem, 3vw, 2.5rem); top: -.2em; font: 700 9rem/1 var(--font-head); color: var(--gold); }
.quote blockquote { position: relative; font: 600 clamp(1.5rem, 3vw, 2.4rem)/1.25 var(--font-head); margin: 2rem 0 1.25rem; }
.quote figcaption { color: var(--gold); font-weight: 600; letter-spacing: .04em; }

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 17vw, 15rem); gap: clamp(.5rem, 1vw, .9rem); }
.gallery li { display: block; }
.gallery li:nth-child(1), .gallery li:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.gallery li:nth-child(7), .gallery li:nth-child(8) { grid-row: span 2; }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; position: relative; overflow: hidden; }
.gallery .shot { height: 100%; }
.gallery button::after { content: "View"; position: absolute; inset: auto 0 0 auto; z-index: 3; padding: .5rem 1rem; background: var(--gold); color: var(--f900); font: 700 .7rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; transform: translateY(101%); transition: transform .4s var(--ease-out); }
.gallery button:hover::after, .gallery button:focus-visible::after { transform: none; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery li:nth-child(n) { grid-column: auto; grid-row: auto; } .gallery li:nth-child(1), .gallery li:nth-child(6) { grid-column: span 2; } }

/* long timeline with sticky image + changing year */
.tl { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.tl__sticky { position: sticky; top: calc(var(--hdr) + 1.5rem); }
.tl__sticky .shot { aspect-ratio: 4 / 5; }
.tl__year { position: absolute; left: 1.25rem; bottom: .5rem; z-index: 4; font: 700 clamp(4rem, 10vw, 8rem)/1 var(--font-head); letter-spacing: -.04em; color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); pointer-events: none; }
.tl__sticky .shot::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 45%, rgba(5, 16, 14, .75)); }
.tl__list { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.tl__step { position: relative; padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(1.75rem, 4vw, 3rem) clamp(1.75rem, 3vw, 3rem); border-left: 2px solid var(--line); min-height: 14rem; }
.tl__step::before { content: ""; position: absolute; left: -9px; top: clamp(2.2rem, 4.6vw, 3.4rem); width: 16px; height: 16px; background: var(--cream); border: 3px solid var(--gold); border-radius: 50%; transition: background-color .35s, transform .35s var(--ease-out); }
.tl__step.is-on { border-left-color: var(--gold); }
.tl__step.is-on::before { background: var(--gold); transform: scale(1.25); }
.tl__yr { display: block; font: 700 clamp(2.4rem, 5vw, 4rem)/1 var(--font-head); color: var(--forest); letter-spacing: -.03em; margin-bottom: .5rem; }
.section--white .tl__step::before { background: #fff; }
.section--white .tl__step.is-on::before { background: var(--gold); }
@media (max-width: 880px) { .tl { grid-template-columns: minmax(0, 1fr); } .tl__sticky { display: none; } .tl__step { min-height: 0; } }

.map-frame { border: 0; width: 100%; height: clamp(18rem, 45vh, 28rem); background: var(--cream-2); filter: grayscale(.15); }
.contact-list { display: grid; gap: 1.5rem; }
.contact-list h3 { font: 700 .75rem var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--forest); margin-bottom: .35rem; }
.contact-list p { margin: 0; font-size: 1.1rem; }
.social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.social a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1.1rem; border: 1.5px solid currentColor; text-decoration: none; font: 700 .75rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.social a:hover { background: var(--gold); color: var(--f900); border-color: var(--gold); }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }

/* 11. EVENTS / CALENDAR ------------------------------------------------------ */
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: end; justify-content: space-between; margin-bottom: 1.75rem; }
.toolbar__group { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: end; }
.seg { display: inline-flex; border: 1.5px solid var(--forest); background: #fff; }
.seg button { min-height: 48px; padding: .4rem 1.4rem; border: 0; background: transparent; color: var(--forest); font: 700 .78rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background-color .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.cal-wrap { background: #fff; border: 1px solid var(--line); padding: clamp(1rem, 2.5vw, 2rem); }
.cal__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.cal__title { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.cal__nav { display: flex; gap: .5rem; }
.cal__nav button { min-width: 48px; min-height: 48px; padding: 0 1.1rem; border: 1.5px solid var(--forest); background: #fff; color: var(--forest); font: 700 .75rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color .3s, color .3s; }
.cal__nav button:hover { background: var(--forest); color: #fff; }
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal caption { text-align: left; }
.cal th { padding: .7rem .25rem; font: 700 .72rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: left; border-bottom: 2px solid var(--forest); }
.cal td { vertical-align: top; height: 8.5rem; padding: .4rem; border: 1px solid var(--line); background: #fff; }
.cal td.is-out { background: #f7f4ec; }
.cal td.is-out .cal__num { color: #55625d; }
.cal__num { display: inline-grid; place-items: center; min-width: 1.9rem; height: 1.9rem; font-weight: 600; font-size: .92rem; margin-bottom: .2rem; }
td.is-today .cal__num { background: var(--gold); color: var(--f900); font-weight: 800; }
.cal__event { display: block; width: 100%; min-height: 44px; margin-top: .25rem; padding: .3rem .5rem; border: 0; text-align: left; font-size: .78rem; line-height: 1.25; cursor: pointer; font-weight: 600; background: var(--forest); color: #fff; transition: transform .3s var(--ease-out), filter .3s; }
.cal__event:hover { transform: translateX(3px); filter: brightness(1.2); }
.cal__event--community { background: var(--gold); color: var(--f900); }
.cal__event--exhibit { background: var(--navy); color: #fff; }
.cal__time { display: block; font-weight: 500; }
.event-group { margin-bottom: 3rem; }
.event-group > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); padding-bottom: .6rem; border-bottom: 2px solid var(--gold); margin-bottom: 1.25rem; }
.cal-wrap, .list-wrap { display: block; }
@media (max-width: 759px) { .cal-wrap { display: none !important; } .list-wrap.is-hidden { display: block !important; } .seg { display: none; } }

/* 12. RECORDS / TABLES -------------------------------------------------------- */
.filters { background: #fff; border: 1px solid var(--line); padding: clamp(1rem, 2.5vw, 1.75rem); display: grid; gap: 1rem; grid-template-columns: 2fr repeat(4, 1fr); align-items: end; margin-bottom: 1.5rem; }
.filters--rentals { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
@media (max-width: 1000px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .filters .field--search { grid-column: 1 / -1; } }
@media (max-width: 560px) { .filters { grid-template-columns: minmax(0, 1fr); } }
.results-count { margin: 0 0 1rem; font-weight: 600; color: var(--muted); }
.record-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.record { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: transparent; border-bottom: 1px solid var(--line); padding: 1.5rem .75rem; transition: padding-left .4s var(--ease-out), background-color .3s; }
.record:hover { padding-left: 1.5rem; background: #fff; }
.record__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; font-size: .9rem; color: var(--muted); margin: 0 0 .5rem; }
.record__title { font: 700 clamp(1.15rem, 2vw, 1.5rem)/1.25 var(--font-head); margin: 0 0 .25rem; color: var(--ink); }
.record__summary { margin: 0; color: var(--muted); font-size: .98rem; }
.record__action { flex: none; }
@media (max-width: 700px) { .record { flex-direction: column; align-items: stretch; } .record__action .btn { width: 100%; } }
.pagination { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.pagination button { min-width: 48px; min-height: 48px; padding: 0 1rem; border: 1.5px solid var(--forest); background: #fff; color: var(--forest); font-weight: 700; cursor: pointer; transition: background-color .3s, color .3s; }
.pagination button:hover:not([disabled]) { background: var(--forest); color: #fff; }
.pagination button[aria-current="page"] { background: var(--forest); color: #fff; }
.pagination button[disabled] { opacity: .45; cursor: not-allowed; }
.table-wrap { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.data-table caption { text-align: left; padding: 1rem 1.5rem; font-weight: 600; color: var(--muted); }
.data-table th, .data-table td { padding: 1.1rem 1.5rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.data-table thead th { background: var(--forest); color: #fff; border-top: 0; font: 700 .72rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.data-table thead button { background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; padding: .4rem 0; min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; }
.data-table thead button:focus-visible { outline-color: var(--gold); }
.data-table tbody tr { transition: background-color .3s; }
.data-table tbody tr:hover { background: #faf8f1; }
.data-table tbody th { font-weight: 700; color: var(--ink); }
.data-table .sub-line { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.status { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .8rem; padding: .25rem .8rem; letter-spacing: .06em; text-transform: uppercase; }
.status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
.status--open { background: #dff1e8; color: #0d4a2c; }
.status--closed { background: #ececec; color: #3d3d3d; }
.status--soon { background: #fdebc8; color: #5c3b00; }
@media (max-width: 800px) {
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table, .data-table tbody, .data-table tr, .data-table td, .data-table tbody th { display: block; width: 100%; }
  .data-table tr { border-top: 8px solid var(--cream-2); padding: .5rem 0; }
  .data-table td, .data-table tbody th { border: 0; padding: .35rem 1.25rem; }
  .data-table td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
}

/* 13. FORMS + DONATE ----------------------------------------------------------- */
.form-grid { display: grid; gap: 1.25rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .45rem; align-content: start; }
.field label, .field legend { font: 700 .78rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); padding: 0; }
.req { color: var(--danger); font-weight: 700; }
.hint { font-size: .9rem; color: var(--muted); margin: 0; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: .75rem 1rem; border: 1.5px solid var(--control); border-radius: 0; background: #fff; color: var(--ink); font: inherit; line-height: 1.4; transition: border-color .25s, box-shadow .25s; }
.textarea { min-height: 9rem; resize: vertical; }
.select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23173D35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 1rem center / .8rem no-repeat; padding-right: 2.5rem; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--forest); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; border-color: var(--forest); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-weight: 600; font-size: .92rem; margin: 0; }
.error-summary { border: 3px solid var(--danger); background: #fdf1f1; padding: 1rem 1.5rem; margin-bottom: 1.5rem; color: #5f1010; }
.error-summary h3 { font: 700 1.1rem var(--font-body); color: #5f1010; margin-bottom: .5rem; letter-spacing: 0; }
.error-summary ul { margin: 0; padding-left: 1.2rem; }
.error-summary a { color: #5f1010; font-weight: 600; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status:not(:empty) { padding: 1rem 1.5rem; }
.form-status.is-success { background: #e6f1ec; color: #0d3a2c; border: 2px solid var(--forest); }
.form-status.is-error { background: #fbeaea; color: #6d1212; border: 2px solid var(--danger); }
.check { display: flex; gap: .75rem; align-items: flex-start; }
.check input { width: 1.4rem; height: 1.4rem; margin-top: .2rem; accent-color: var(--forest); flex: none; }
.check label { text-transform: none; letter-spacing: 0; font: 500 1rem var(--font-body); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.formcard { background: #fff; border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 3rem); }
.formcard h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.donate-box { background: #fff; padding: clamp(1.5rem, 4vw, 3rem); border-top: 6px solid var(--gold); box-shadow: 0 40px 70px -40px rgba(10, 31, 27, .55); }
@media (min-width: 881px) { .donate-box { position: sticky; top: calc(var(--hdr) + 1rem); } }
.donate-box h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.donate-box fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.donate-box legend { margin-bottom: .75rem; padding: 0; font: 700 .78rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.choice-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice label { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: 5.5rem; padding: .5rem 1.25rem; border: 1.5px solid var(--control); background: #fff; font: 700 1rem var(--font-body); letter-spacing: 0; text-transform: none; color: var(--forest); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.choice input:checked + label { background: var(--forest); border-color: var(--forest); color: #fff; }
.choice input:focus-visible + label { outline: 3px solid var(--forest); outline-offset: 3px; }
.choice input:hover + label { border-color: var(--forest); }
.choice--wide label { padding-inline: 2rem; }
.other-amount { max-width: 12rem; }

/* 14. DIALOGS --------------------------------------------------------------- */
dialog.dialog { border: 0; padding: 0; width: min(46rem, calc(100vw - 1.5rem)); max-height: calc(100vh - 2rem); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7); color: var(--ink); background: var(--cream); overflow: auto; }
dialog.dialog[open] { animation: dlg .55s var(--ease-out) both; }
@keyframes dlg { from { clip-path: inset(0 0 100% 0); transform: translateY(1.5rem); } to { clip-path: inset(0); transform: none; } }
dialog.dialog::backdrop { background: rgba(10, 31, 27, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog__inner { padding: clamp(1.5rem, 4vw, 3rem); }
.dialog__close { position: sticky; top: .75rem; float: right; margin: .75rem .75rem 0 0; z-index: 2; width: 48px; height: 48px; border: 1.5px solid var(--forest); background: #fff; color: var(--forest); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background-color .3s, color .3s, transform .4s var(--ease-out); }
.dialog__close:hover { background: var(--forest); color: #fff; transform: rotate(90deg); }
.dialog h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); padding-right: 3.5rem; }
.dialog dl { margin: 1.5rem 0; display: grid; gap: 1rem; }
.dialog dt { font: 700 .72rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dialog dd { margin: 0; }
dialog.lightbox { width: min(72rem, calc(100vw - 1.5rem)); background: #07130f; color: #fff; }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; background: #07130f; }
.lightbox figcaption { padding: 1rem 1.5rem 0; color: rgba(255, 255, 255, .9); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.5rem 1.5rem; }
.lightbox .dialog__close { background: #fff; }

/* 15. FOOTER + CONSENT ---------------------------------------------------------- */
.ftr { position: relative; overflow: hidden; background: var(--f900); color: var(--on-dark); }
.ftr a { color: #fff; }
.ftr__cta { display: block; padding-block: clamp(4rem, 10vw, 8rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid rgba(255, 255, 255, .16); }
.ftr__cta p { margin: 0 0 1rem; font: 700 .75rem var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.ftr__cta a { position: relative; display: inline-block; font: 700 clamp(2.6rem, 9vw, 9rem)/.98 var(--font-head); letter-spacing: -.035em; color: #fff; text-decoration: none; }
.ftr__cta a em { font-style: italic; color: var(--gold); font-weight: 600; }
.ftr__cta a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: .06em; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.ftr__cta a:hover::after, .ftr__cta a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 3rem clamp(1.5rem, 4vw, 4rem); padding-block: clamp(3rem, 6vw, 5rem); }
@media (max-width: 1000px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: minmax(0, 1fr); } }
.ftr h2 { font: 700 .75rem var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.ftr li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 78% / 0 2px no-repeat; transition: background-size .45s var(--ease); }
.ftr li a:hover, .ftr li a:focus-visible { background-size: 100% 2px; }
.ftr__brand p { max-width: 26rem; }
.ftr address p { margin: 0 0 .9rem; }
.ftr .social a { color: #fff; border-color: rgba(255, 255, 255, .4); }
.ftr .newsletter .input { background: #fff; }
.ftr .newsletter .field label { color: #fff; }
.ftr .newsletter .req { color: #ffc9c9; }
.ftr .newsletter .error-summary, .ftr .newsletter .error-summary h3, .ftr .newsletter .error-summary a { color: #5f1010; }
.ftr .newsletter .form-status.is-success { color: #0d3a2c; }
.ftr .newsletter .form-status.is-error { color: #6d1212; }
.ftr .newsletter .hint { color: var(--on-dark-2); }
.ftr .newsletter .field-error { color: #ffc9c9; }
.ftr__bottom { border-top: 1px solid rgba(255, 255, 255, .16); padding-block: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .92rem; color: var(--on-dark-2); }
.ftr__bottom ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.ftr__bottom button { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0; font: inherit; }
.ftr__mark { display: block; text-align: center; font: 700 clamp(5rem, 22vw, 22rem)/.78 var(--font-head); letter-spacing: -.02em; color: #0f2b25; padding-top: 1rem; margin-bottom: -.12em; user-select: none; pointer-events: none; }
.ftr__mark::before { content: "CD"; }
.ftr__mark::after { content: "CPDA"; color: #14352d; }

.consent { position: fixed; z-index: 1500; left: 1rem; right: 1rem; bottom: 1rem; max-width: 58rem; margin-inline: auto; background: var(--f900); border: 1px solid rgba(213, 168, 91, .55); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); padding: 1.25rem 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; animation: rise-s .7s var(--ease-out) both; }
.consent__title { font: 700 1.1rem var(--font-head); margin: 0 0 .25rem; color: #fff; }
.consent__text { flex: 1 1 22rem; }
.consent__text p { margin: 0; font-size: .95rem; color: var(--on-dark); }
.consent__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* 16. CURSOR + EXTRAS -------------------------------------------------------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 1900; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold); mix-blend-mode: normal; pointer-events: none; opacity: 0; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s, background-color .3s; display: grid; place-items: center; font: 700 .62rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--f900); }
.cursor.is-on { opacity: .95; }
.cursor.is-big { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(213, 168, 91, .92); }
.cursor.is-link { width: 38px; height: 38px; margin: -19px 0 0 -19px; background: transparent; border: 2px solid var(--gold); }
.totop { transition-property: transform, background-color, color, visibility; position: fixed; right: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.75rem); z-index: 450; width: 56px; height: 56px; border: 0; padding: 0; background: var(--forest); color: #fff; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transform: scale(0); transition: transform .45s var(--ease-out), background-color .3s, color .3s; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); }
.totop:not(.is-on) { visibility: hidden; }
.totop.is-on { transform: none; }
.totop:hover { background: var(--gold); color: var(--f900); }
.totop svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop circle { fill: none; stroke-width: 3; }
.totop .trk { stroke: rgba(255, 255, 255, .2); }
.totop .bar { stroke: var(--gold); stroke-dasharray: 163.4; stroke-dashoffset: calc(163.4 * (1 - var(--p, 0))); }
.totop:hover .bar { stroke: var(--f900); }
.totop span.ar { width: 12px; height: 12px; border-top: 2.5px solid currentColor; border-left: 2.5px solid currentColor; transform: rotate(45deg) translate(2px, 2px); }
.consent ~ .totop, body.has-consent .totop { bottom: 6.5rem; }
.magnetic { will-change: transform; }

/* 17. MOTION PREFERENCES + PRINT --------------------------------------------------- */
/* Pause button and reduced-motion both land here: everything decorative stops and images show fully. */
html.motion-paused *, html.motion-paused *::before, html.motion-paused *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
html.motion-paused .marq__track, html.motion-paused .rail__track, html.motion-paused .hero__badge .spin, html.motion-paused .phero::before { animation: none !important; }
html.motion-paused .reveal, html.motion-paused .mask > span, html.motion-paused .hero__title .ln > span, html.motion-paused .hero .reveal-up { transform: none !important; transition: none !important; animation: none !important; }
html.motion-paused [data-shutter] > img { -webkit-mask-image: none !important; mask-image: none !important; clip-path: none !important; transition: none !important; }
html.motion-paused .hero__slide { -webkit-mask-image: none !important; mask-image: none !important; }
html.motion-paused .hero__slide img, html.motion-paused .band__bg > img, html.motion-paused .hero__slides { animation: none !important; transform: none !important; }
html.motion-paused::after, html.motion-paused::before { display: none !important; }
html.motion-paused dialog.menu, html.motion-paused .menu__img { transition: none !important; }
html.motion-paused dialog.menu .menu__list a { transform: none !important; }
html.motion-paused .acc__item, html.motion-paused .acc__s, html.motion-paused .acc__more { transition: none !important; }
html.motion-paused .cursor { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marq__track, .rail__track, .hero__badge .spin, .phero::before { animation: none !important; }
  .reveal, .mask > span, .hero__title .ln > span, .hero .reveal-up { transform: none !important; animation: none !important; }
  [data-shutter] > img { -webkit-mask-image: none !important; mask-image: none !important; clip-path: none !important; }
  .hero__slide { -webkit-mask-image: none !important; mask-image: none !important; }
  .hero__slide img, .band__bg > img, .hero__slides { animation: none !important; transform: none !important; }
  html::after, html::before { display: none !important; }
  .cursor { display: none; }
  dialog.menu, .menu__img { transition: none !important; }
  dialog.menu .menu__list a { transform: none !important; }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media print {
  .hdr, .menu, .consent, .totop, .cursor, .hero__ctrl, .motion-toggle, .marq, .rail, html::after, html::before { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .phero, .band, .cta, .ftr, .section--forest, .dark { background: #fff !important; color: #000 !important; min-height: 0; padding-block: 1.5rem; }
  .hero h1, .phero h1, .band h2, .cta h2, .ftr a, .dark h2, .dark h3 { color: #000 !important; }
  .reveal, .mask > span { transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
  [data-shutter] > img { -webkit-mask-image: none !important; mask-image: none !important; clip-path: none !important; }
}
