/* Heather Janikowski Foundation
   Brand: teal #00637C / #009193, light #ECF6F4, Poppins + Aleo */

:root {
  --teal: #00637C; --teal-deep: #003F50; --teal-ink: #062A33; --sea: #009193; --mint: #8FE3DF;
  --light: #ECF6F4; --sand: #F7F4EE; --white: #fff;
  --ink: #12252B; --muted: #5B6D73; --line: #DCE8E7;
  --head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --body: "Aleo", Georgia, serif;
  --r: 28px; --r-sm: 18px; --pill: 999px;
  --shadow: 0 20px 50px -20px rgba(0, 63, 80, .35);
  --wrap: 1600px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.eyebrow { font-family: var(--head); font-weight: 500; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sea); display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sea); border-radius: 2px; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section.tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.6; }
.head { max-width: 960px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.head.center { margin-inline: auto; text-align: center; }
.head.center .eyebrow { justify-content: center; }
.head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.head.row h2 { margin: 0; max-width: 640px; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark p, .on-dark .lead { color: var(--white); }
.on-dark .lead { color: rgba(255,255,255,.8); }
.on-dark .eyebrow { color: var(--mint); } .on-dark .eyebrow::before { background: var(--mint); }
.bg-teal { background: var(--teal); } .bg-deep { background: var(--teal-deep); } .bg-light { background: var(--light); } .bg-sand { background: var(--sand); }
.rounded { border-radius: var(--r); overflow: hidden; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--head); font-weight: 500; font-size: .95rem; line-height: 1; padding: 1rem 1.6rem; border-radius: var(--pill); border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s, background .2s, color .2s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--sea); color: #fff; box-shadow: 0 10px 24px -8px rgba(0,145,147,.6); }
.btn-primary:hover { background: var(--teal); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; } .btn-teal:hover { background: var(--teal-deep); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; } .btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; } .btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--teal); } .btn-white:hover { background: var(--light); color: var(--teal-deep); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); } .btn-ghost:hover { background: #fff; color: var(--teal); }
.btn-lg { padding: 1.2rem 2.1rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.arrow-link { font-family: var(--head); font-weight: 500; font-size: .95rem; color: var(--teal); display: inline-flex; align-items: center; gap: .4rem; }
.arrow-link::after { content: "\2192"; transition: transform .2s; } .arrow-link:hover::after { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; padding: .9rem 0; transition: background .25s, box-shadow .25s; }
.site-header.overlay { position: fixed; left: 0; right: 0; }
.site-header.solid, .site-header.scrolled { background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 rgba(0,63,80,.08); }
.site-header .wrap { width: calc(100% - 2 * var(--gutter)); max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { height: 42px; width: auto; }
.brand .logo-light { display: none; }
.site-header.overlay:not(.scrolled) .brand .logo-dark { display: none; }
.site-header.overlay:not(.scrolled) .brand .logo-light { display: block; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav > a, .nav > .has-sub > a { font-family: var(--head); font-weight: 500; font-size: .88rem; color: var(--ink); padding: .6rem .95rem; border-radius: var(--pill); white-space: nowrap; display: inline-flex; align-items: center; gap: .3rem; transition: background .2s, color .2s; }
.nav > a:hover, .nav > .has-sub:hover > a { background: #fff; color: var(--teal); }
.nav > a[aria-current="page"], .nav > .has-sub.current > a { background: var(--teal); color: #fff; }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: .2rem; }
.sub { position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow); padding: .5rem; display: none; flex-direction: column; }
.sub a { font-family: var(--head); font-size: .88rem; font-weight: 500; color: var(--ink); padding: .6rem .85rem; border-radius: 12px; }
.sub a:hover { background: var(--light); color: var(--teal); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: flex; }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--light); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--teal); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero (home) */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: var(--teal-deep); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,42,51,.35) 0%, rgba(6,42,51,.25) 40%, rgba(6,42,51,.9) 100%); }
.hero .wrap { position: relative; padding: 9rem 0 3rem; display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: end; }
.hero h1 { color: #fff; max-width: 12ch; margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; font-family: var(--body); font-weight: 400; color: var(--mint); }
.hero .lead { color: rgba(255,255,255,.85); max-width: 52ch; }
.hero-aside { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); border-radius: var(--r); padding: 1.5rem; color: #fff; }
.hero-aside .label { font-family: var(--head); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin-bottom: .5rem; }
.hero-aside h3 { color: #fff; margin-bottom: .35rem; }
.hero-aside p { color: rgba(255,255,255,.8); font-size: .95rem; margin-bottom: 1rem; }
.hero-scroll { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); color: rgba(255,255,255,.6); font-family: var(--head); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }

/* Page hero (inner) */
.page-hero { position: relative; padding: 10rem 0 4rem; background: var(--teal-deep); overflow: hidden; min-height: 52vh; display: flex; align-items: flex-end; }
.page-hero .hero-media img { opacity: .55; }
.page-hero .hero-media::after { background: linear-gradient(180deg, rgba(6,42,51,.5), rgba(6,42,51,.92)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 26ch; }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 80ch; }
.page-hero.plain { min-height: 0; padding-top: 9rem; background: var(--teal); }
.page-hero.plain::before { content: ""; position: absolute; right: -10%; top: -40%; width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(0,145,147,.6), rgba(0,145,147,0) 70%); }
.crumbs { font-family: var(--head); font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; display: flex; gap: .5rem; }
.crumbs a { color: var(--mint); }

/* Marquee stats */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 1.1rem 0; }
.ticker-track { display: flex; gap: 3rem; white-space: nowrap; animation: ticker 40s linear infinite; width: max-content; }
.ticker span { font-family: var(--head); font-weight: 500; font-size: .9rem; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 3rem; }
.ticker span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sea); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Pillars / bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.tile { border-radius: var(--r); padding: 2.25rem; background: #fff; box-shadow: 0 1px 0 rgba(0,63,80,.06), 0 24px 40px -30px rgba(0,63,80,.3); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.tile.dark { background: var(--teal-deep); color: #fff; } .tile.dark h3, .tile.dark p { color: #fff; }
.tile.teal { background: var(--teal); color: #fff; } .tile.teal h3, .tile.teal p { color: #fff; }
.tile.photo { padding: 0; min-height: 320px; }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tile .num { font-family: var(--head); font-weight: 600; font-size: clamp(2.6rem, 4.5vw, 3.8rem); letter-spacing: -.03em; line-height: 1; margin-bottom: .4rem; }
.tile .icon { width: 56px; height: 56px; border-radius: 16px; background: var(--light); color: var(--teal); display: grid; place-items: center; margin-bottom: 1.4rem; }
.tile.dark .icon, .tile.teal .icon { background: rgba(255,255,255,.12); color: #fff; }
.tile .icon svg { width: 26px; height: 26px; }
.tile p:last-child { margin-bottom: 0; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.photo-stack { position: relative; }
.photo-stack .main { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.photo-stack .main img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .float { position: absolute; right: -8%; bottom: -8%; width: 46%; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
.photo-stack .float img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .badge { position: absolute; left: -6%; top: 8%; background: var(--sea); color: #fff; font-family: var(--head); font-weight: 600; padding: 1rem 1.2rem; border-radius: var(--r-sm); box-shadow: var(--shadow); line-height: 1.1; }
.photo-stack .badge small { display: block; font-weight: 400; font-family: var(--body); font-size: .8rem; opacity: .9; margin-top: .2rem; }
.prose { max-width: none; }
.prose p, .prose li { font-size: clamp(1.1rem, 1rem + .25vw, 1.25rem); }
.prose blockquote { margin: 2rem 0; padding: 1.5rem 1.75rem; border-left: 4px solid var(--sea); background: var(--light); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-style: italic; color: var(--teal-deep); font-size: 1.15rem; }
.prose blockquote cite { display: block; font-style: normal; font-family: var(--head); font-size: .82rem; margin-top: .6rem; color: var(--muted); }
.prose ul { padding-left: 1.2rem; } .prose li { margin-bottom: .4rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }

/* Event cards */
.cards { display: grid; gap: 1.5rem; }
.cards-2 { grid-template-columns: 1fr 1fr; } .cards-3 { grid-template-columns: repeat(3, 1fr); }
.ecard { border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(0,63,80,.06), 0 30px 50px -35px rgba(0,63,80,.4); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.ecard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ecard .media { aspect-ratio: 16/10; background: var(--light); position: relative; overflow: hidden; }
.ecard .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ecard:hover .media img { transform: scale(1.05); }
.ecard .body { padding: 1.6rem 1.75rem 1.9rem; display: flex; flex-direction: column; flex: 1; gap: .5rem; }
.ecard .body .btn-row { margin-top: auto; padding-top: 1rem; }
.ecard h3 { margin: 0; } .ecard h3 a { color: inherit; } .ecard h3 a:hover { color: var(--teal); }
.date-card { position: absolute; left: 1rem; top: 1rem; background: #fff; border-radius: 14px; padding: .5rem .75rem; text-align: center; font-family: var(--head); line-height: 1; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.date-card b { display: block; font-size: 1.5rem; font-weight: 600; color: var(--teal); }
.date-card small { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.meta { font-family: var(--head); font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.meta span { display: inline-flex; align-items: center; gap: .4rem; }
.meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sea); }
.chip { display: inline-block; font-family: var(--head); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: var(--light); color: var(--teal); padding: .35rem .7rem; border-radius: var(--pill); font-weight: 500; }
.chip.dark { background: rgba(255,255,255,.14); color: #fff; }

/* Recipients */
.rcard { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(0,63,80,.06), 0 30px 50px -35px rgba(0,63,80,.4); }
.rcard .media { min-height: 360px; background: var(--light); } .rcard .media img { width: 100%; height: 100%; object-fit: cover; }
.rcard .body { padding: 2.25rem; display: flex; flex-direction: column; justify-content: center; }
.rcard .amount { font-family: var(--head); font-weight: 600; font-size: 2.2rem; color: var(--sea); letter-spacing: -.02em; line-height: 1; margin-bottom: .5rem; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 110px 1fr 300px; gap: 2rem; align-items: start; padding: 2rem 0; border-top: 1px solid var(--line); }
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl .year { font-family: var(--head); font-weight: 600; font-size: 1.6rem; color: var(--teal); letter-spacing: -.02em; }
.tl h3 { margin-bottom: .3rem; } .tl h3 a { color: inherit; } .tl h3 a:hover { color: var(--teal); }
.tl .thumb { aspect-ratio: 3/2; border-radius: var(--r-sm); overflow: hidden; background: var(--light); }
.tl .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Gallery */
.gallery { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: .9rem; }
.gallery figure { margin: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--light); }
.gallery figure.tall { grid-row: span 2; } .gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; }
.strip figure { margin: 0; aspect-ratio: 3/4; border-radius: var(--r-sm); overflow: hidden; background: var(--light); }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* Give */
.give { position: relative; overflow: hidden; }
.give::before { content: ""; position: absolute; left: -15%; bottom: -70%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(0,145,147,.55), rgba(0,145,147,0) 70%); }
.give .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.give-box { background: #fff; color: var(--ink); border-radius: var(--r); padding: 2rem; box-shadow: var(--shadow); }
.give-box h3 { margin-bottom: .25rem; color: var(--ink); }
.freq { display: grid; grid-template-columns: 1fr 1fr; background: var(--light); border-radius: var(--pill); padding: .3rem; margin: 1rem 0; }
.freq label { text-align: center; font-family: var(--head); font-weight: 500; font-size: .9rem; padding: .6rem; border-radius: var(--pill); cursor: pointer; }
.freq input { display: none; } .freq input:checked + span { display: block; background: #fff; border-radius: var(--pill); padding: .6rem; margin: -.6rem; box-shadow: 0 2px 8px rgba(0,63,80,.12); color: var(--teal); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.amounts button { font-family: var(--head); font-weight: 600; font-size: 1.05rem; padding: .9rem .5rem; border-radius: 14px; background: var(--light); color: var(--teal); border: 2px solid transparent; cursor: pointer; text-align: center; transition: .15s; }
.amounts button small { display: block; font-family: var(--body); font-weight: 400; font-size: .72rem; color: var(--muted); margin-top: .15rem; }
.amounts button:hover { border-color: var(--sea); }
.amounts button.active { background: var(--teal); color: #fff; } .amounts button.active small { color: rgba(255,255,255,.8); }
.give-note { font-size: .82rem; color: var(--muted); text-align: center; margin: .8rem 0 0; }
.stripe-badge { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--head); font-size: .75rem; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-family: var(--head); font-weight: 500; font-size: .88rem; display: block; margin-bottom: .35rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select { width: 100%; font: inherit; padding: .9rem 1.1rem; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--sea); outline-offset: 1px; border-color: var(--sea); }
textarea { min-height: 160px; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--muted); font-family: var(--body); font-weight: 400; }
.check input { margin-top: .35rem; }
.side { display: grid; gap: 1rem; }
.side .tile { padding: 1.6rem; }
.ci { display: flex; gap: 1rem; align-items: flex-start; }
.ci .icon { width: 46px; height: 46px; border-radius: 13px; flex: none; margin: 0; }
.ci strong { font-family: var(--head); font-weight: 600; display: block; }

/* News */
.news-list { display: grid; gap: 1.25rem; }
.news { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: center; padding: 1.5rem; border-radius: var(--r); background: #fff; box-shadow: 0 1px 0 rgba(0,63,80,.06); }
.news .thumb { aspect-ratio: 4/3; border-radius: var(--r-sm); overflow: hidden; background: var(--light); }
.news .thumb img { width: 100%; height: 100%; object-fit: cover; }
.press { display: grid; gap: .6rem; }
.press a { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.25rem; background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line); font-family: var(--head); font-size: .92rem; font-weight: 500; color: var(--ink); }
.press a:hover { border-color: var(--sea); color: var(--teal); }
.press a span { color: var(--muted); font-weight: 400; font-size: .8rem; white-space: nowrap; }

/* Points table */
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.points div { background: #fff; border-radius: var(--r-sm); padding: 1.25rem; text-align: center; box-shadow: 0 1px 0 rgba(0,63,80,.06); }
.points b { display: block; font-family: var(--head); font-size: 2rem; color: var(--sea); line-height: 1; margin-bottom: .3rem; }
.points small { font-family: var(--head); font-size: .8rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--teal-ink); color: rgba(255,255,255,.78); padding: 5rem 0 2rem; position: relative; overflow: hidden; }
.site-footer .big { font-family: var(--head); font-weight: 600; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.03em; color: #fff; line-height: 1.05; max-width: 16ch; margin-bottom: 1.5rem; }
.site-footer a { color: rgba(255,255,255,.82); } .site-footer a:hover { color: #fff; }
.footer-top { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1rem 0 3.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .footer-top .big { max-width: none; margin-bottom: 1rem; text-wrap: balance; }
.footer-lead { max-width: 60ch; margin: 0 auto 2rem; font-size: 1.1rem; text-wrap: balance; }
.footer-cta { justify-content: center; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-top: 3rem; }
.site-footer img { height: 40px; width: auto; margin-bottom: 1rem; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-family: var(--head); font-size: .92rem; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; } .social a:hover { background: var(--sea); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: rgba(255,255,255,.55); font-family: var(--head); }
.mobile-give { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .span-4, .span-5, .span-7, .span-8 { grid-column: span 6; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .tl { grid-template-columns: 90px 1fr; } .tl .thumb { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; left: 1rem; right: 1rem; top: calc(100% + .25rem); flex-direction: column; align-items: stretch; background: #fff; padding: .75rem; border-radius: var(--r-sm); box-shadow: var(--shadow); border: 0; }
  .nav.open { display: flex; }
  .nav > a, .nav > .has-sub > a { padding: .85rem 1rem; }
  .sub { position: static; box-shadow: none; padding: 0 0 .5rem 1rem; }
  .has-sub > a::after { margin-left: auto; }
  .site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
  .site-header.overlay { position: sticky; }
  .site-header.overlay:not(.scrolled) .brand .logo-dark { display: block; }
  .site-header.overlay:not(.scrolled) .brand .logo-light { display: none; }
  .hero .wrap, .split, .cards-2, .give .wrap, .rcard, .news { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero { min-height: 92svh; }
  .form .row { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr 1fr; }
  .photo-stack .float { right: 0; bottom: -6%; width: 40%; }
  .photo-stack .badge { left: 0; }
}
@media (max-width: 600px) {
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 12; }
  .cards-3, .footer-grid, .strip { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .header-cta .btn { padding: .8rem 1.1rem; font-size: .85rem; }
  .brand img { height: 34px; }
  .btn-row .btn { width: 100%; }
  .mobile-give { display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50; }
  .mobile-give .btn { width: 100%; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
  body { padding-bottom: 5.5rem; }
  .tl { grid-template-columns: 1fr; } .tl .thumb { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- Event flyer: popup, event page, map ---------- */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.event-facts { margin: 0; display: grid; }
.event-facts > div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.event-facts > div:first-child { padding-top: 0; }
.event-facts dt { font-family: var(--head); font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sea); padding-top: .2rem; }
.event-facts dd { margin: 0; font-family: var(--head); font-weight: 500; color: var(--ink); line-height: 1.45; }
.event-facts dd a { font-weight: 400; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }

.event-hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.flyer-figure { margin: 0; position: sticky; top: 6rem; }
.flyer-figure > button { display: block; width: 100%; padding: 0; border: 0; background: #FBF3EA; cursor: zoom-in; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.flyer-figure > button:hover { transform: translateY(-3px); box-shadow: 0 28px 60px -24px rgba(0, 63, 80, .45); }
.flyer-figure img { width: 100%; height: auto; }
.flyer-figure figcaption { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1rem; }
.event-details { gap: 1.25rem; }
.event-details .chip { align-self: flex-start; }
.map-embed { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--light); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

html.modal-open { overflow: hidden; }
.flyer-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.25rem; }
.flyer-modal[hidden] { display: none; }
.flyer-modal__backdrop { position: absolute; inset: 0; background: rgba(6, 42, 51, .74); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s ease; }
.flyer-modal__panel { position: relative; width: min(940px, 100%); max-height: calc(100svh - 2.5rem); overflow: auto; overscroll-behavior: contain; background: #fff; border-radius: var(--r); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .55); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .3s ease, transform .3s ease; }
.flyer-modal.is-open .flyer-modal__backdrop { opacity: 1; }
.flyer-modal.is-open .flyer-modal__panel { opacity: 1; transform: none; }
.flyer-modal__art { display: flex; align-items: center; justify-content: center; background: #FBF3EA; cursor: zoom-in; }
.flyer-modal__art img { width: 100%; height: 100%; max-height: calc(100svh - 2.5rem); object-fit: contain; }
.flyer-modal__info { padding: 2.5rem 2.25rem 2.25rem; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; }
.flyer-modal__info .eyebrow { margin-bottom: 0; }
.flyer-modal__info h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0; }
.flyer-modal__cause { margin: 0; color: var(--muted); font-size: .98rem; }
.flyer-modal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.flyer-modal__actions .btn { padding: .95rem 1rem; }
.flyer-modal__more { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.flyer-modal__close { position: absolute; top: .8rem; right: .8rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: background .2s, transform .2s; }
.flyer-modal__close:hover { background: var(--light); transform: rotate(90deg); }
.flyer-modal__close svg { width: 20px; height: 20px; }
.flyer-modal :focus-visible, .flyer-figure :focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; }

@media (max-width: 900px) {
  .event-hero { grid-template-columns: 1fr; }
  .flyer-figure { position: static; max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (max-width: 720px) {
  .flyer-modal { padding: .75rem; }
  .flyer-modal__panel { grid-template-columns: 1fr; max-height: calc(100svh - 1.5rem); }
  .flyer-modal__art img { max-height: 36svh; width: auto; max-width: 100%; }
  .flyer-modal__info { padding: 1.4rem 1.25rem 0; gap: .9rem; }
  .flyer-modal__info h2 { font-size: 1.7rem; }
  /* keep Register + Directions on screen while the details scroll */
  .flyer-modal__actions { position: sticky; bottom: 0; z-index: 1; order: 9; margin: 0 -1.25rem; padding: .8rem 1.25rem calc(.8rem + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -12px 22px -14px rgba(6, 42, 51, .35); }
  .flyer-modal__more { order: 8; }
}

/* ---------- Donation checkout states ---------- */
.give-error { margin: .7rem 0 0; color: #B3261E; font-family: var(--head); font-size: .88rem; text-align: center; line-height: 1.4; }
.give-cta.is-busy { opacity: .75; cursor: progress; pointer-events: none; }

/* ---------- At a glance facts + donation FAQ ---------- */
.facts { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.facts__lead h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.facts__lead p { font-size: 1.08rem; max-width: 62ch; }
.facts__more { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.facts__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.facts__list > div { background: #fff; border-radius: var(--r-sm); padding: 1.1rem 1.25rem; box-shadow: 0 1px 0 rgba(0,63,80,.06); }
.facts__list dt { font-family: var(--head); font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sea); margin-bottom: .35rem; }
.facts__list dd { margin: 0; font-family: var(--head); font-weight: 500; color: var(--ink); line-height: 1.4; }

.faq__wrap { max-width: 860px; }
.faq__list { display: grid; gap: .75rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--sea); box-shadow: 0 14px 30px -22px rgba(0,63,80,.5); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; font-family: var(--head); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq__item summary:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; border-radius: var(--r-sm); }
.faq__item p { margin: 0; padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq__item p .arrow-link { margin-left: .35rem; }

@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts__list { grid-template-columns: 1fr; } }
.footer-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; }

/* Photo lightbox */
.gallery figure, .strip figure { cursor: zoom-in; }
.gallery figure:focus-visible, .strip figure:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; grid-template-rows: auto 1fr auto; background: rgba(6,42,51,.97); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; opacity: 0; transition: opacity .25s ease; touch-action: none; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem var(--gutter); font-family: var(--head); }
.lightbox__count { font-size: .9rem; font-weight: 500; letter-spacing: .08em; color: var(--mint); }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(4.5rem, 8vw, 7rem); }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-sm); box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); transition: opacity .25s ease, transform .25s ease; user-select: none; -webkit-user-drag: none; }
.lightbox__img.is-loading { opacity: .55; }
.lightbox__btn { appearance: none; border: 0; cursor: pointer; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; transition: background .2s, transform .2s, color .2s; }
.lightbox__btn:hover { background: #fff; color: var(--teal); }
.lightbox__btn:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { background: #fff; color: var(--teal); }
.lightbox__close:hover { background: var(--sea); color: #fff; transform: rotate(90deg); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 60px; }
.lightbox__prev { left: var(--gutter); } .lightbox__next { right: var(--gutter); }
.lightbox__prev:hover, .lightbox__next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox.single .lightbox__prev, .lightbox.single .lightbox__next, .lightbox.single .lightbox__count { visibility: hidden; }
.lightbox__foot { min-height: 3.5rem; padding: .9rem var(--gutter) 1.4rem; text-align: center; }
.lightbox__caption { margin: 0 auto; max-width: 70ch; font-size: 1rem; color: rgba(255,255,255,.85); }
.lightbox__hint { font-family: var(--head); font-size: .75rem; letter-spacing: .06em; color: rgba(255,255,255,.45); margin-top: .35rem; }
.lightbox__spinner { position: absolute; width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--mint); animation: lb-spin .8s linear infinite; opacity: 0; transition: opacity .2s; pointer-events: none; }
.lightbox.loading .lightbox__spinner { opacity: 1; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
@media (max-width: 720px) {
  .lightbox__stage { position: static; padding: 0 .75rem; }
  .lightbox__spinner { left: calc(50% - 19px); top: calc(50% - 19px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: max(1rem, env(safe-area-inset-bottom)); transform: none; width: 52px; height: 52px; background: rgba(255,255,255,.16); }
  .lightbox__foot { min-height: 5.5rem; display: flex; align-items: center; justify-content: center; }
  .lightbox__prev:hover, .lightbox__next:hover { transform: none; }
  .lightbox__foot { padding: 1rem 5rem 1.4rem; }
  .lightbox__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lightbox, .lightbox__img, .lightbox__btn { transition: none; } }
@media (max-width: 600px) { .footer-cta .btn { width: 100%; } }

/* Menu without the pill container: white links over photo heroes until the header turns solid */
.footer-logo { display: inline-block; }
@media (min-width: 901px) {
  .site-header.overlay:not(.scrolled) .nav > a, .site-header.overlay:not(.scrolled) .nav > .has-sub > a { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
  .site-header.overlay:not(.scrolled) .nav > a:hover, .site-header.overlay:not(.scrolled) .nav > .has-sub:hover > a { background: rgba(255,255,255,.16); color: #fff; }
  .site-header.overlay:not(.scrolled) .nav > a[aria-current="page"], .site-header.overlay:not(.scrolled) .nav > .has-sub.current > a { background: #fff; color: var(--teal); text-shadow: none; }
  .nav > a:hover, .nav > .has-sub:hover > a { background: var(--light); }
}

/* Homepage hero video: show the brand teal until the first frame is ready, then fade in */
.hero-video { transition: opacity .6s ease; }
.hero-video.is-waiting { opacity: 0; }
/* Footer buttons: keep button colors over the footer link colors */
.site-footer .btn-primary, .site-footer .btn-primary:hover, .site-footer .btn-ghost { color: #fff; }
.site-footer .btn-ghost:hover { background: #fff; color: var(--teal); }
