/* Prince Michael Forever 15 Foundation — site styles */
:root {
  --navy: #012939;
  --navy-2: #036186;
  --maroon: #492128;
  --red: #BE2A36;
  --red-dark: #851D26;
  --blue: #048ABF;
  --blush: #F9EAEB;
  --sky: #E6F3F9;
  --ink: #130405;
  --body: #4B4343;
  --off-white: #FBF9F8;
  --white: #FFFFFF;
  --gold: #c9a84c;
  --gold-light: #e8c987;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 45px -20px rgba(1, 41, 57, .35);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* sponsorship tiers stay hidden unless /api/config says HIDE_SPONSOR_TIER_LIST is off */
html:not(.sponsor-tiers-on) [data-sponsor-tiers] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; }
h2.section-title { font-size: clamp(1.8rem, 4vw, 2.75rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 14px; z-index: 1000; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  padding: 1em 1.8em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.btn:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy-2); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Header: frosted-glass bar split around a centered logo ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: grid; place-items: center; pointer-events: none; }
.site-header > * { pointer-events: auto; }
/* the glass: heavy blur + dim so anything scrolling underneath is hidden, with a circular gap that splits it around the logo */
.header-bar { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(4, 18, 28, .58), rgba(4, 18, 28, .42));
  -webkit-backdrop-filter: blur(22px) saturate(150%) brightness(.78); backdrop-filter: blur(22px) saturate(150%) brightness(.78);
  border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
  -webkit-mask: radial-gradient(circle 37px at 50% 50%, transparent 35px, #000 36px); mask: radial-gradient(circle 37px at 50% 50%, transparent 35px, #000 36px); }
.brand { position: relative; z-index: 2; display: block; width: 60px; height: 60px; border-radius: 50%; transition: transform .25s ease; }
.brand::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); }
.brand:hover { transform: scale(1.05); }
.brand img { width: 60px; height: 60px; border-radius: 50%; background: var(--white); object-fit: contain; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.nav-toggle { position: absolute; right: max(var(--gutter), env(safe-area-inset-right)); top: 50%; translate: 0 -50%; z-index: 3; background: none; border: 0; color: var(--white); padding: 10px; cursor: pointer; border-radius: 10px; }
.nav-toggle:hover { background: rgba(255,255,255,.1); }
.nav-toggle:focus-visible { outline: 3px solid var(--gold-light); }
.nav-toggle svg { width: 30px; height: 30px; display: block; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.nav-toggle .x { display: none; }
.nav-open .nav-toggle .bars { display: none; }
.nav-open .nav-toggle .x { display: block; }
/* menu: full-screen glass overlay */
.nav { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: rgba(4, 18, 28, .72); -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.nav.open { opacity: 1; visibility: visible; }
.nav a { color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.9rem); text-transform: uppercase; letter-spacing: .08em; padding: 10px 22px; border-radius: 12px; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease, background .2s ease; }
.nav.open a { opacity: 1; transform: none; }
.nav.open a:nth-child(2) { transition-delay: .04s; } .nav.open a:nth-child(3) { transition-delay: .08s; } .nav.open a:nth-child(4) { transition-delay: .12s; } .nav.open a:nth-child(5) { transition-delay: .16s; } .nav.open a:nth-child(6) { transition-delay: .2s; }
.nav a:hover { background: rgba(255,255,255,.1); }
.nav .btn { margin-top: 18px; font-size: 1rem; padding: 1em 2.4em; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between;
  color: var(--white); text-align: center; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 32px) var(--gutter) 64px;
}
/* two portraits crossfade: each holds ~6.4s, 1.6s dissolve, with a slow push-in while visible */
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #1b2740; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; background-position: center 22%; will-change: opacity, transform; animation: heroSlide 16s ease-in-out infinite; }
.hero-slide:nth-child(2) { background-position: center 38%; animation-delay: -8s; }
@keyframes heroSlide {
  0%     { opacity: 1; transform: scale(1.02); }
  40%    { opacity: 1; }
  50%    { opacity: 0; transform: scale(1.08); }
  50.01% { transform: scale(1); }
  90%    { opacity: 0; transform: scale(1); }
  100%   { opacity: 1; transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) { .hero-slide:nth-child(2) { display: none; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0,0,0,.15) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.85) 100%); }
.hero .eyebrow { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 3.6vw, 2.6rem); letter-spacing: .01em; color: var(--white); margin: 0; text-shadow: 0 2px 20px rgba(0,0,0,.45); }
.hero h1 { font-weight: 800; text-transform: uppercase; color: var(--white); font-size: clamp(2.2rem, 6vw, 4.6rem); margin: 0 0 .3em; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.hero .lede { font-family: var(--font-head); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.5; margin: 0 auto 1.8em; max-width: 520px; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.hero .lede em { display: block; opacity: .9; }
.scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--white); border-radius: 2px; animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* phones: like the original — photo fills the screen, title up top, compact copy + side-by-side buttons pinned to the bottom */
@media (max-width: 767px) {
  .hero { min-height: 100svh; padding: calc(var(--header-h) + 10px) 16px max(22px, env(safe-area-inset-bottom)); }
  .hero-slide { background-position: center 55%; }
  .hero-slide:nth-child(2) { background-position: center 50%; }
  .hero::after { background: linear-gradient(rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 62%, rgba(0,0,0,.8) 100%); }
  .hero .eyebrow { font-size: clamp(1.3rem, 6.2vw, 2.2rem); line-height: 1.12; letter-spacing: -.015em; }
  .hero h1 { font-size: clamp(1.15rem, 5.5vw, 1.9rem); margin-bottom: .45em; }
  .hero .lede { font-family: var(--font-body); font-size: .95rem; line-height: 1.45; max-width: 300px; margin-bottom: 1.1em; }
  .hero .btn-row { flex-wrap: nowrap; gap: 10px; }
  .hero .btn-row .btn { flex: 1 1 0; min-width: 0; padding: .95em .5em; font-size: clamp(.58rem, 2.75vw, .78rem); letter-spacing: .02em; white-space: nowrap; border-radius: 12px; }
  .scroll-cue { display: none; }
}

/* ---------- Generic sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-dark { background: var(--ink); color: rgba(255,255,255,.9); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-navy { background: var(--navy); color: var(--sky); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-sky { background: var(--sky); }
.section-blush { background: var(--blush); }
.section-off { background: var(--off-white); }
.pattern-bg { background-image: var(--pattern); background-attachment: fixed; background-size: cover; background-position: center; }
@media (hover: none) { .pattern-bg { background-attachment: scroll; } }

.date-divider { display: flex; align-items: center; gap: 18px; justify-content: center; font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; color: var(--red); margin-bottom: 18px; font-size: .95rem; }
.date-divider::before, .date-divider::after { content: ""; flex: 1; max-width: 120px; height: 2px; background: currentColor; opacity: .35; }
.kicker { display: block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--blue); margin-bottom: .6em; }

/* ---------- Crown / mission ---------- */
.crown { padding: clamp(48px, 7vw, 96px) 0; }
.crown-card { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); text-align: center; box-shadow: var(--shadow); max-width: 900px; margin: 0 auto 28px; }
.crown-card img { width: min(260px, 70%); margin: 0 auto 18px; }
.crown-card h2 { text-transform: uppercase; font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--maroon); margin-bottom: .25em; }
.crown-card .tagline { font-family: var(--font-head); font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.4em; }
.crown-card .tagline b { color: var(--red); font-size: 1.3em; display: block; letter-spacing: .14em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.pillar { background: var(--sky); border-radius: var(--radius-sm); padding: 18px 20px; border-top: 4px solid var(--blue); }
.pillar:nth-child(2) { background: var(--blush); border-color: var(--red); }
.pillar:nth-child(3) { background: #f4efe2; border-color: var(--gold); }
.pillar strong { display: block; font-family: var(--font-head); color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }
.statements { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 0 auto; }
.statement { border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); color: rgba(255,255,255,.92); display: flex; flex-direction: column; align-items: flex-start; box-shadow: var(--shadow); }
.statement h2 { color: var(--white); font-size: 1.4rem; text-transform: uppercase; font-weight: 800; letter-spacing: .04em; }
.statement p { flex: 1; }
.statement.maroon { background: var(--maroon); }
.statement.navy { background: var(--navy); }
@media (max-width: 720px) { .statements { grid-template-columns: 1fr; } }

/* ---------- Trust strip (Candid seal) ---------- */
.trust-strip { position: relative; overflow: hidden; background: linear-gradient(100deg, var(--navy) 0%, var(--navy) 55%, var(--navy-2) 100%); color: var(--sky); padding: clamp(32px, 4.5vw, 48px) 0; border-top: 4px solid var(--blue); }
.trust-strip::after { content: ""; position: absolute; right: -80px; top: 50%; width: 420px; height: 420px; translate: 0 -50%; border-radius: 50%; background: radial-gradient(circle, rgba(4,138,191,.22), rgba(4,138,191,0) 65%); pointer-events: none; }
.trust-inner { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3.5vw, 44px); }
.trust-seal { display: block; padding: 8px; background: var(--white); border-radius: 14px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); transition: transform .2s ease, box-shadow .2s ease; }
.trust-seal:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 20px 36px -14px rgba(0,0,0,.7); }
.trust-seal img { width: 76px; height: 76px; display: block; border-radius: 6px; }
.trust-text .kicker { color: #6ec4e8; margin-bottom: .35em; font-size: .74rem; }
.trust-text h2 { color: var(--white); font-size: clamp(1.15rem, 2.1vw, 1.5rem); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 .35em; }
.trust-text p { margin: 0; font-size: .95rem; line-height: 1.6; max-width: 620px; opacity: .92; }
.trust-text a { color: #6ec4e8; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(110,196,232,.4); }
.trust-text a:hover { color: var(--white); border-color: var(--white); }
.trust-cta { white-space: nowrap; }
@media (max-width: 860px) {
  .trust-inner { grid-template-columns: auto minmax(0, 1fr); }
  .trust-cta { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 560px) {
  .trust-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
  .trust-cta { justify-self: center; }
}
/* ---------- Update / statement ---------- */
.update-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.update-lead { background: var(--ink); color: rgba(255,255,255,.9); padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; border-left: 6px solid var(--red); }
.update-lead h2 { color: var(--white); text-transform: uppercase; font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.update-lead .big { font-family: var(--font-head); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--white); }
.update-quote { background: var(--white); color: var(--body); padding: clamp(32px, 5vw, 64px); position: relative; }
.update-quote h2 { text-transform: uppercase; color: var(--maroon); font-weight: 800; font-size: 1.4rem; letter-spacing: .06em; }
.update-quote .qmark { font-family: Georgia, serif; font-size: 6rem; line-height: .6; color: var(--red); opacity: .25; position: absolute; top: 40px; right: 36px; }
.update-quote .sig { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin: 0; }
@media (max-width: 860px) { .update-grid { grid-template-columns: 1fr; } }

/* ---------- Events ---------- */
.event-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.event-feature .flyer { border-radius: var(--radius); box-shadow: 0 30px 60px -25px rgba(1,41,57,.55); transform: rotate(1.2deg); transition: transform .3s ease; }
.event-feature .flyer:hover { transform: rotate(0) scale(1.01); }
.event-feature h2 { text-transform: uppercase; font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.6rem); color: var(--navy); }
.event-feature h2 small { display: block; font-size: .5em; color: var(--red); letter-spacing: .14em; margin-bottom: .4em; }
.event-meta { list-style: none; padding: 18px 20px; margin: 0 0 1.2em; background: var(--sky); border-radius: var(--radius-sm); border-left: 4px solid var(--blue); }
.event-meta li { margin: .25em 0; }
.event-meta strong { color: var(--ink); }
@media (max-width: 860px) { .event-feature { grid-template-columns: 1fr; } .event-feature .flyer { max-width: 460px; margin: 0 auto; } }

.recaps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px; }
@media (min-width: 1024px) { .recaps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
/* home page preview: first paragraph only; the full recap is on each event page */
#events .recap-body p:not(:first-of-type) { display: none; }
.recap { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.recap-img { aspect-ratio: 16/9; background-size: cover; background-position: center; }
.recap-img.recap-flyer { background-size: contain; background-repeat: no-repeat; background-color: var(--navy); }
.recap-body { padding: 28px clamp(22px, 3vw, 36px) 32px; display: flex; flex-direction: column; flex: 1; }
.recap-body .date-divider { justify-content: flex-start; }
.recap-body .date-divider::before { display: none; }
.recap h3 { text-transform: uppercase; font-weight: 800; color: var(--navy); font-size: 1.35rem; }
.recap h3 small { display: block; color: var(--red); font-size: .7em; letter-spacing: .1em; margin-top: .3em; }
.recap-body p { font-size: .98rem; }
.recap-body .btn { align-self: flex-start; margin-top: auto; }

/* ---------- CTA banners (packet / scholarship) ---------- */
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cta { border-radius: var(--radius); padding: clamp(32px, 4vw, 48px); color: rgba(255,255,255,.92); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; }
.cta h2 { color: var(--white); text-transform: uppercase; font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.cta h2 small { display: block; font-size: .62em; letter-spacing: .14em; color: var(--gold-light); margin-bottom: .4em; }
.cta.navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.cta.maroon { background: linear-gradient(135deg, var(--maroon) 0%, var(--red-dark) 100%); }
.cta p { flex: 1; }
@media (max-width: 860px) { .cta-pair { grid-template-columns: 1fr; } }

/* ---------- Sponsors ---------- */
.sponsor-wrap { background: var(--navy); border-radius: var(--radius); overflow: hidden; color: var(--sky); box-shadow: var(--shadow); }
.sponsor-head { background: var(--navy-2); padding: 40px var(--gutter); text-align: center; }
.sponsor-head h2 { color: var(--white); margin: 0; text-transform: uppercase; font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
.sponsor-body { padding: clamp(28px, 4vw, 56px); }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; margin: 32px 0; list-style: none; padding: 0; }
.sponsor { background: rgba(255,255,255,.04); border: 1px solid rgba(230,243,249,.12); border-radius: 14px; padding: 22px 16px; text-align: center; transition: transform .2s ease, background .2s ease; }
.sponsor:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.sponsor img { width: 110px; height: 110px; object-fit: contain; border-radius: 50%; background: var(--white); margin: 0 auto 14px; padding: 6px; }
.sponsor h3 { font-size: .98rem; color: var(--white); margin: 0 0 .3em; }
.sponsor p { font-size: .82rem; margin: 0; opacity: .85; }
.thanks { border-top: 1px solid rgba(230,243,249,.15); padding-top: 32px; }
.thanks h3 { color: var(--white); font-size: 1.4rem; text-transform: uppercase; }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 32px 0; }
.tier { background: var(--white); color: var(--body); border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; border-top: 5px solid var(--blue); box-shadow: 0 16px 30px -22px rgba(0,0,0,.6); }
.tier:nth-child(2) { border-color: var(--red); }
.tier:nth-child(3) { border-color: var(--maroon); }
.tier:nth-child(4) { border-color: var(--gold); background: linear-gradient(180deg, #fffaf0, var(--white)); }
.tier .stars { color: var(--gold); letter-spacing: .1em; font-size: 1.05rem; }
.tier h3 { font-size: 1.1rem; color: var(--navy); margin: .4em 0 .2em; }
.tier .price { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--red); margin-bottom: .4em; }
.tier p { font-size: .93rem; }
.tier ul { padding-left: 1.1em; margin: 0 0 1.2em; font-size: .92rem; }
.tier li { margin: .3em 0; }
.tier .btn { margin-top: auto; align-self: stretch; }

/* ---------- Story ---------- */
.story-hero { position: relative; min-height: 80vh; display: grid; place-items: end center; text-align: center; color: var(--white); padding: 120px var(--gutter) 80px; isolation: isolate; background: #000 var(--img) center 30% / cover no-repeat; overflow: hidden; }
.story-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0,0,0,0) 20%, rgba(0,0,0,.85)); }
.story-hero h2 { color: var(--white); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.6rem); }
.story-hero h2 span { color: #ff6b77; display: block; }
.story-hero blockquote { margin: 0 auto; max-width: 780px; font-family: var(--font-head); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.4rem); line-height: 1.55; position: relative; padding-top: 40px; }
.story-hero blockquote::before { content: "\201C"; font-family: Georgia, serif; font-size: 5rem; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); color: var(--red); line-height: 1; font-style: normal; }
/* Desktop: the whole (portrait) photo centered over a blurred copy of itself, like the timer sections */
.story-photo { display: none; }
@media (min-width: 1024px) {
  .story-hero { min-height: calc(100svh - var(--header-h)); background: #05080b; }
  .story-hero::before { content: ""; position: absolute; inset: -60px; z-index: -3; background: var(--img) center / cover no-repeat; filter: blur(38px) saturate(1.15) brightness(.42); transform: scale(1.08); }
  .story-photo { display: block; position: absolute; z-index: -2; top: 0; bottom: 0; left: 50%; translate: -50% 0; height: 100%; aspect-ratio: var(--ar, 4 / 5); background: var(--img) center top / contain no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%); }
  .story-hero::after { background: linear-gradient(rgba(0,0,0,0) 35%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.85) 100%); }
}

/* ---------- Story timeline (full-screen snap chapters) ---------- */
/* section settling is handled in JS (gentle, direction-aware) instead of CSS scroll-snap */
.timeline { --chapter-h: calc(100svh - var(--header-h)); position: relative; background: var(--white); }
/* track runs from the first bulb to the last bulb, always at the exact page center */
.tl-track { position: absolute; left: 50%; width: 3px; transform: translateX(-50%); top: calc(var(--chapter-h) / 2); bottom: calc(var(--chapter-h) / 2); background: rgba(4, 138, 191, .14); border-radius: 3px; pointer-events: none; }
/* fill + dot are driven per frame with transforms only (no layout): --tl-scale (0-1) and --tl-y (px) */
.tl-fill { position: absolute; inset: 0; border-radius: 3px; transform-origin: 50% 0; transform: scaleY(var(--tl-scale, 0)); will-change: transform; background: linear-gradient(to bottom, rgba(4,138,191,.25), var(--blue) 30%, var(--blue) 85%, var(--red)); box-shadow: 0 0 12px rgba(4,138,191,.45); }
.tl-tip { position: absolute; left: 50%; top: 0; width: 0; height: 0; transform: translate3d(0, var(--tl-y, 0px), 0); will-change: transform; opacity: var(--tl-on, 0); transition: opacity .4s ease; }
.tl-dot { position: absolute; left: -5.5px; top: -5.5px; width: 11px; height: 11px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 3px var(--red), 0 0 16px 4px rgba(190,42,54,.45);
  transition: transform .8s cubic-bezier(.22,.8,.25,1), background-color .8s ease, box-shadow .8s ease; }
/* docked: the dot softly widens into a halo hugging the bulb; releasing shrinks it back to a dot */
.tl-track.docked .tl-dot { transform: scale(2.9); background-color: rgba(255,255,255,0); box-shadow: 0 0 0 1.2px rgba(190,42,54,.55), 0 0 14px 3px rgba(190,42,54,.28); }

.chapter { min-height: var(--chapter-h); display: flex; align-items: center; padding: 32px 0; }
.chapter-inner { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); grid-template-areas: "media node text"; align-items: center; column-gap: clamp(12px, 3vw, 40px); }
.chapter:nth-child(even of .chapter) .chapter-inner { grid-template-areas: "text node media"; }
.chapter-media { grid-area: media; }
.chapter-text { grid-area: text; max-width: 520px; }
.chapter:nth-child(even of .chapter) .chapter-text { justify-self: end; text-align: right; }
.tl-node { grid-area: node; display: grid; place-items: center; position: relative; z-index: 1; }

.bulb { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 3px solid rgba(4,138,191,.35); transition: border-color .5s ease, background .5s ease, transform .5s cubic-bezier(.2,.8,.2,1.4); }
.bulb::before, .bulb::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; pointer-events: none; }
.chapter.reached .bulb { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px var(--white); }
/* the current chapter's bulb beats like a slow, soft heartbeat: lub-dub, then rest.
   bulb and ring share one duration and start together, so the ring always leaves on the "lub" */
.chapter { --beat: 1.6s; }
.chapter.current .bulb { animation: heartbeat var(--beat) ease-in-out infinite; }
.chapter.current .bulb::before { animation: beatRing var(--beat) cubic-bezier(.25,.6,.3,1) infinite; }
@keyframes heartbeat {
  0%   { transform: scale(1); }
  9%   { transform: scale(1.07); }   /* lub */
  18%  { transform: scale(1); }
  27%  { transform: scale(1.04); }   /* dub */
  40%  { transform: scale(1); }
  100% { transform: scale(1); }      /* rest */
}
@keyframes beatRing {
  0%   { transform: scale(1); opacity: 0; }
  9%   { transform: scale(1.15); opacity: .5; }
  55%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}
.chapter.radiate .tl-node::before { content: ""; position: absolute; width: 90px; height: 90px; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(4,138,191,.28), rgba(4,138,191,0) 70%); animation: glow 3.6s ease-out forwards; pointer-events: none; }
@keyframes glow { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }

.chapter .when { font-family: var(--font-head); font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin: 0; }
.chapter h3 { font-style: italic; color: var(--navy); font-size: clamp(1.1rem, 2vw, 1.45rem); margin: .2em 0 .8em; }
.chapter .lead { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.chapter-text p { font-size: 1rem; }
/* content eases in when its chapter is reached */
.chapter-text > *, .chapter-media { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.chapter-media { transform: scale(.97); }
.chapter.reached .chapter-text > *, .chapter.reached .chapter-media { opacity: 1; transform: none; }
.chapter.reached .chapter-text > :nth-child(2) { transition-delay: .1s; }
.chapter.reached .chapter-text > :nth-child(3) { transition-delay: .2s; }
.chapter.reached .chapter-text > :nth-child(n+4) { transition-delay: .3s; }
.no-js .chapter-text > *, .no-js .chapter-media { opacity: 1; transform: none; }

/* collage: always fits the screen; extra photos live behind a "+N" tile */
.collage { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: min(calc(var(--chapter-h) - 120px), 520px); }
.collage > *, .collage > .g-item { aspect-ratio: auto; width: 100%; height: 100%; min-height: 0; border-radius: 14px; box-shadow: 0 14px 30px -18px rgba(1,41,57,.55); }
.collage > :first-child { grid-row: 1 / 3; }
.collage.c4 > :nth-child(4) { grid-column: 2 / 4; }
.collage > :nth-child(n+6) { display: none; }
.collage .g-item img { object-position: center 25%; }
.more-tile::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(1,41,57,.62); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; transition: background .2s ease; }
.more-tile:hover::after { background: rgba(1,41,57,.45); }
.g-video { position: relative; overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer; }
.g-video img, .g-video video { width: 100%; height: 100%; object-fit: cover; }
.g-video .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 58px; height: 58px; border-radius: 50%; background: rgba(190,42,54,.9); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .2s ease; }
.g-video:hover .play { transform: scale(1.08); }
.g-video .play svg { width: 24px; height: 24px; fill: var(--white); margin-left: 3px; }

/* "Continue" prompt */
.tl-continue { position: fixed; left: 50%; bottom: 22px; z-index: 90; translate: -50% 16px; opacity: 0; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 0; line-height: 1; background: rgba(1,41,57,.88); color: var(--white); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 9px 20px 5px; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(6px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); transition: opacity .6s ease, translate .6s ease, background .2s ease; }
.tl-continue.show { opacity: 1; translate: -50% 0; pointer-events: auto; }
.tl-continue:hover { background: var(--navy-2); }
.tl-continue:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.tl-continue svg { width: 16px; height: 16px; margin-top: -1px; fill: currentColor; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); opacity: .7; } 50% { transform: translateY(4px); opacity: 1; } }

@media (max-width: 860px) {
  .timeline { --chapter-h: auto; }
  .tl-track { left: calc(var(--gutter) + 28px); top: 60px; bottom: 60px; }
  .chapter { min-height: 0; padding: 48px 0; }
  .chapter-inner, .chapter:nth-child(even of .chapter) .chapter-inner { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "node text" ". media"; row-gap: 20px; column-gap: 14px; align-items: start; padding-left: 8px; }
  .chapter:nth-child(even of .chapter) .chapter-text { justify-self: start; text-align: left; }
  .tl-node { padding-top: 10px; }
  .collage { height: 70vw; max-height: 420px; }
  .tl-continue { display: none; }
}

/* ---------- Gallery ---------- */
.g-item { display: block; position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 1; background: #ddd; cursor: zoom-in; padding: 0; border: 0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery-grid .g-item:nth-child(7n+1) { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(5, 10, 14, .95); display: none; touch-action: none; overscroll-behavior: contain; -webkit-user-select: none; user-select: none; }
.lightbox.open { display: block; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.6); will-change: transform, opacity; -webkit-user-drag: none; }
.lightbox button { position: absolute; z-index: 2; background: rgba(255,255,255,.1); color: var(--white); border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .85rem; font-family: var(--font-head); }
@media (max-width: 560px) { .lb-stage { padding: 64px 0 84px; } .lightbox img { border-radius: 0; } .lb-prev, .lb-next { top: auto; bottom: max(14px, env(safe-area-inset-bottom)); transform: none; } .lb-count { bottom: max(28px, calc(env(safe-area-inset-bottom) + 14px)); } }

/* ---------- Share ---------- */
.share { text-align: center; padding: 56px 0; background: var(--sky); }
.share h2 { text-transform: uppercase; font-weight: 800; color: var(--navy); font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.share-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .88rem; transition: transform .15s ease, opacity .15s ease; border: 0; cursor: pointer; }
.share-btn:hover { transform: translateY(-2px); opacity: .9; }
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-btn.facebook { background: #1877F2; }
.share-btn.x { background: #000; }
.share-btn.threads { background: #101010; }
.share-btn.telegram { background: #229ED9; }
.share-btn.email { background: var(--maroon); }
.share-btn.copy { background: var(--navy); }

/* ---------- Timers ---------- */
/* Mobile/tablet: photo fills the section. Desktop: full-height photo centered over a blurred copy of itself. */
.timer-section { position: relative; min-height: 90vh; display: grid; place-items: center; padding: 96px var(--gutter); isolation: isolate; overflow: hidden; background: #000 var(--img) center / cover no-repeat; }
.timer-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.75)); }
.timer-photo { display: none; }
@media (min-width: 1024px) {
  .timer-section { min-height: calc(100svh - var(--header-h)); background: #05080b; align-items: end; padding: 48px var(--gutter) 56px; }
  /* blurred backdrop: the same photo, enlarged + softened so it extends the scene to both sides */
  .timer-section::before { content: ""; position: absolute; inset: -60px; z-index: -3; background: var(--img) center / cover no-repeat; filter: blur(38px) saturate(1.15) brightness(.42); transform: scale(1.08); }
  /* the full photo, never cropped, edges feathered into the blur */
  .timer-photo { display: block; position: absolute; z-index: -2; top: 0; bottom: 0; left: 50%; translate: -50% 0; height: 100%; aspect-ratio: var(--ar, 3 / 4); background: var(--img) center top / contain no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%); }
  .timer-section::after { background: linear-gradient(rgba(0,0,0,0) 35%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.8) 100%); }
  .timer-card { width: min(100%, 980px); background: rgba(5, 8, 11, .72); border: 1px solid rgba(255,255,255,.1); }
}
.timer-card { background: rgba(0,0,0,.82); color: var(--white); border-radius: var(--radius); padding: 28px 32px 32px; box-shadow: 0 10px 30px rgba(0,0,0,.45); backdrop-filter: blur(6px); width: min(100%, 1080px); text-align: center; font-family: var(--font-head); }
.timer-heading { font-weight: 700; letter-spacing: .15em; opacity: .9; margin: 8px 0 18px; }
.timer-sub { letter-spacing: .12em; opacity: .9; margin-top: 24px; font-weight: 600; }
.timer-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.timer-item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 10px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.timer-value { font-weight: 800; font-size: clamp(22px, 3.8vw, 40px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.timer-label { margin-top: 6px; font-weight: 600; font-size: clamp(11px, 1.5vw, 13px); letter-spacing: .18em; opacity: .85; }
.timer-card .btn-row { justify-content: center; margin-top: 28px; }
.timer-card.live .timer-item:last-child .timer-value { color: #ff6b77; }
/* phones: 3 + 2 layout (no orphan tile), buttons side by side */
@media (max-width: 720px) {
  .timer-card { padding: 24px 16px 22px; }
  .timer-grid { grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .timer-item { grid-column: span 2; padding: 12px 6px; }
  .timer-item:nth-child(n+4) { grid-column: span 3; }
  .timer-label { letter-spacing: .12em; }
  .timer-sub { font-size: .85rem; }
  .timer-card .btn-row { flex-wrap: nowrap; gap: 10px; margin-top: 22px; }
  .timer-card .btn-row .btn { flex: 1 1 0; min-width: 0; padding: .95em .6em; font-size: .74rem; letter-spacing: .04em; }
}

/* ---------- Get involved ---------- */
.involve-card { background: var(--navy); color: var(--sky); border-radius: var(--radius); padding: clamp(32px, 5vw, 64px); max-width: 900px; margin: 0 auto; box-shadow: var(--shadow); }
.involve-card h2 { color: var(--white); text-transform: uppercase; font-weight: 800; }
.involve-list { list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 14px; }
.involve-list li { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.05); padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(230,243,249,.1); }
.involve-list .ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--white); }
.involve-list .ico svg { width: 20px; height: 20px; fill: currentColor; }
.involve-list strong { color: var(--white); font-family: var(--font-head); }

/* ---------- Donate + contact ---------- */
.give-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.give-info { background: var(--maroon); color: rgba(255,255,255,.92); padding: clamp(32px, 5vw, 64px); }
.give-info h2 { color: var(--white); text-transform: uppercase; font-weight: 800; }
.give-info ul { padding-left: 1.2em; }
.give-info li { margin: .45em 0; }
.give-info hr { border: 0; border-top: 1px solid rgba(255,255,255,.18); margin: 36px 0; }
.contact-line { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 600; margin-top: 18px; }
.contact-line svg { width: 20px; height: 20px; fill: currentColor; }
.give-form { background: var(--navy); color: var(--sky); padding: clamp(32px, 5vw, 64px); }
.give-form h2 { color: var(--white); text-transform: uppercase; font-weight: 800; }
@media (max-width: 960px) { .give-grid { grid-template-columns: 1fr; } }

/* forms */
.form { display: grid; gap: 18px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.step-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.05rem; margin: 0 0 16px; padding: 0; }
/* legends ignore grid gaps, so space the donate steps explicitly: 16px under each heading, 32px between steps */
#donation-form { gap: 22px; }
#donation-form fieldset + fieldset { margin-top: 10px; }
.step-title .num { width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; font-size: .95rem; flex-shrink: 0; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .02em; }
.req { color: #ff8a94; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 10px;
  border: 1px solid rgba(17,35,55,.18); background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(4,138,191,.45); border-color: var(--blue); }
.field textarea { min-height: 140px; resize: vertical; }
#d-note { min-height: 96px; }
.field .optional { font-weight: 400; opacity: .7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field .hint { font-size: .8rem; opacity: .75; }
.field.invalid input, .field.invalid textarea { border-color: #ff6b77; outline: 2px solid rgba(255,107,119,.4); }
.error-msg { color: #ffb3b9; font-size: .82rem; }
.amounts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.amounts label { position: relative; }
.amounts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.amounts span { display: block; text-align: center; padding: 14px 6px; border-radius: 10px; background: rgba(255,255,255,.07); border: 2px solid rgba(230,243,249,.2); font-family: var(--font-head); font-weight: 700; color: var(--white); transition: all .15s ease; }
.amounts input:checked + span { background: var(--red); border-color: var(--red); box-shadow: 0 8px 18px -8px rgba(190,42,54,.8); }
.amounts input:focus-visible + span { outline: 3px solid var(--gold-light); outline-offset: 2px; }
@media (max-width: 520px) { .amounts { grid-template-columns: repeat(3, 1fr); } }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--body); font-weight: 600; }
.money input { padding-left: 28px; }
.total-line { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px; border-radius: 10px; background: rgba(255,255,255,.06); font-family: var(--font-head); }
.total-line strong { font-size: 1.6rem; color: var(--white); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.identity { display: grid; gap: 14px; max-height: 420px; opacity: 1; overflow: hidden; padding: 3px; margin: -3px; transition: max-height .4s ease, opacity .3s ease, margin .4s ease; }
.identity.collapsed { max-height: 0; opacity: 0; }
.anon-note { margin: 0; font-size: .85rem; opacity: .8; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.06); border-left: 3px solid var(--gold); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.card-container { min-height: 90px; background: var(--white); border-radius: 10px; padding: 12px; color: var(--body); }
.card-placeholder { display: grid; place-items: center; min-height: 66px; font-size: .9rem; color: #6b6b6b; text-align: center; }
.form-status { padding: 12px 16px; border-radius: 10px; font-size: .92rem; display: none; }
.form-status.show { display: block; }
.form-status.error { background: rgba(190,42,54,.2); border: 1px solid rgba(255,107,119,.5); color: #ffd5d9; }
.form-status.ok { background: rgba(97,206,112,.15); border: 1px solid rgba(97,206,112,.5); color: #d9ffde; }
.secure-note { display: flex; align-items: center; gap: 8px; font-size: .8rem; opacity: .75; }
.secure-note svg { width: 14px; height: 14px; fill: currentColor; }
.turnstile-slot:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(230,243,249,.85); padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(230,243,249,.12); }
.footer-grid h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: rgba(230,243,249,.85); text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; background: var(--white); }
.footer-brand strong { color: var(--white); font-family: var(--font-head); line-height: 1.25; }
.copyright { text-align: center; padding-top: 24px; font-size: .82rem; opacity: .75; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sub pages ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--maroon) 100%); color: var(--white); padding: calc(var(--header-h) + 56px) 0 64px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--pattern, none) center/cover; opacity: .08; }
.page-hero > * { position: relative; }
.page-hero h1 { color: var(--white); text-transform: uppercase; font-weight: 800; font-size: clamp(1.9rem, 5vw, 3.4rem); margin: 0; }
.page-hero h1 small { display: block; font-size: .42em; color: var(--gold-light); letter-spacing: .16em; margin-top: .6em; }
.page-hero .date-divider { color: var(--gold-light); }
.notice { background: var(--blush); border-left: 5px solid var(--red); padding: 18px 22px; border-radius: 10px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose h3 { color: var(--navy); }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
/* ---------- Confirmation pages (donation / contact): soft entrance, no overshoot ---------- */
.confirm { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; background: linear-gradient(135deg, var(--navy), var(--maroon)); }
/* the sky behind the card: two glows shimmer slowly and out of sync, three groups of stars glisten in turn */
.confirm-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; animation: confirm-fade 1.8s ease both; }
.confirm-sky i { position: absolute; display: block; }
.confirm-sky .glow { width: 75vmax; height: 75vmax; border-radius: 50%; opacity: .8; will-change: transform, opacity; }
.confirm-sky .glow-blue { left: -22vmax; top: -26vmax; background: radial-gradient(closest-side, rgba(4,138,191,.48), rgba(4,138,191,.16) 55%, transparent);
  animation: confirm-shimmer-blue 9s ease-in-out infinite alternate; }
.confirm-sky .glow-red { right: -22vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(190,42,54,.5), rgba(190,42,54,.16) 55%, transparent);
  animation: confirm-shimmer-red 12s ease-in-out infinite alternate; }
.confirm-sky .stars { inset: 0; background-repeat: no-repeat; opacity: .7; }
.confirm-sky .s1 { animation: confirm-glisten 3.6s ease-in-out .4s infinite alternate both; }
.confirm-sky .s2 { animation: confirm-glisten 5.2s ease-in-out 1.6s infinite alternate both; }
.confirm-sky .s3 { animation: confirm-glisten 4.4s ease-in-out 2.8s infinite alternate both; }
.confirm-sky .s1 { background-image: radial-gradient(4.2px 4.2px at 8% 14%, rgba(255,255,255,.95), rgba(255,255,255,.35) 35%, transparent 70%), radial-gradient(1.8px 1.8px at 27% 38%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 57% 24%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 79% 13%, #fff 50%, transparent 51%), radial-gradient(4.2px 4.2px at 93% 33%, rgba(255,255,255,.95), rgba(255,255,255,.35) 35%, transparent 70%), radial-gradient(1.2px 1.2px at 36% 88%, #fff 50%, transparent 51%), radial-gradient(1.8px 1.8px at 64% 91%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 14% 62%, #fff 50%, transparent 51%); }
.confirm-sky .s2 { background-image: radial-gradient(1.2px 1.2px at 19% 72%, #fff 50%, transparent 51%), radial-gradient(3.6px 3.6px at 44% 9%, rgba(255,255,255,.95), rgba(255,255,255,.35) 35%, transparent 70%), radial-gradient(1.2px 1.2px at 71% 47%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 86% 66%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 4% 52%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 51% 63%, #fff 50%, transparent 51%), radial-gradient(3.9px 3.9px at 88% 86%, rgba(255,255,255,.95), rgba(255,255,255,.35) 35%, transparent 70%), radial-gradient(1.1px 1.1px at 31% 20%, #fff 50%, transparent 51%); }
.confirm-sky .s3 { background-image: radial-gradient(1.2px 1.2px at 14% 94%, #fff 50%, transparent 51%), radial-gradient(4.2px 4.2px at 66% 6%, rgba(255,255,255,.95), rgba(255,255,255,.35) 35%, transparent 70%), radial-gradient(1.2px 1.2px at 97% 74%, #fff 50%, transparent 51%), radial-gradient(1.1px 1.1px at 40% 52%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 75% 30%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 23% 5%, #fff 50%, transparent 51%), radial-gradient(3.6px 3.6px at 58% 79%, rgba(255,255,255,.95), rgba(255,255,255,.35) 35%, transparent 70%), radial-gradient(1.1px 1.1px at 9% 33%, #fff 50%, transparent 51%); }
.confirm-card { background: var(--white); border-radius: var(--radius); padding: clamp(32px, 6vw, 64px); max-width: 640px; text-align: center; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  animation: confirm-card 1.1s cubic-bezier(.16, 1, .3, 1) .15s both; }
.confirm-card .check-ico { position: relative; width: 72px; height: 72px; border-radius: 50%; background: #e3f6e6; color: #2f9e44; display: grid; place-items: center; margin: 0 auto 18px;
  animation: confirm-pop .8s cubic-bezier(.16, 1, .3, 1) .6s both; }
/* one soft ring that ripples out once the check is drawn */
.confirm-card .check-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(47,158,68,.55); opacity: 0;
  animation: confirm-ring 1.6s ease-out 1.35s both; }
.confirm-card .check-ico svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.confirm-card .check-ico polyline { stroke-dasharray: 22; stroke-dashoffset: 0; animation: confirm-draw .6s cubic-bezier(.65, 0, .35, 1) .95s both; }
.confirm-card h1 { text-transform: uppercase; font-weight: 800; color: var(--navy); font-size: clamp(1.4rem, 3.4vw, 2rem); }
.confirm-card .received { font-family: var(--font-head); font-weight: 600; color: var(--red); }
.confirm-card #donation-detail { font-variant-numeric: tabular-nums; }
/* text and button fade up one after another */
.confirm-card > :not(.check-ico) { animation: confirm-rise .9s cubic-bezier(.16, 1, .3, 1) both; }
.confirm-card > :nth-child(2) { animation-delay: 1.05s; }
.confirm-card > :nth-child(3) { animation-delay: 1.17s; }
.confirm-card > :nth-child(4) { animation-delay: 1.29s; }
.confirm-card > :nth-child(5) { animation-delay: 1.41s; }
.confirm-card > :nth-child(6) { animation-delay: 1.53s; }
@keyframes confirm-fade { from { opacity: 0; } }
@keyframes confirm-shimmer-blue { from { opacity: .55; transform: translate3d(0, 0, 0) scale(1); } to { opacity: 1; transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }
@keyframes confirm-shimmer-red { from { opacity: 1; transform: translate3d(0, 0, 0) scale(1.08); } to { opacity: .55; transform: translate3d(-5vmax, -4vmax, 0) scale(1); } }
@keyframes confirm-glisten { from { opacity: .12; } to { opacity: 1; } }
@keyframes confirm-card { from { opacity: 0; transform: translateY(32px) scale(.97); filter: blur(6px); } }
@keyframes confirm-pop { from { opacity: 0; transform: scale(.55); } }
@keyframes confirm-ring { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
@keyframes confirm-draw { from { stroke-dashoffset: 22; } }
@keyframes confirm-rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
/* ---------- One-Year Remembrance: original color treatments ---------- */
.ticket-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: start; background: var(--maroon); color: var(--blush); border-radius: 16px; padding: clamp(28px, 5vw, 64px); box-shadow: 0 30px 60px -30px rgba(73,33,40,.7); }
.ticket-card h2 { color: var(--white); text-transform: uppercase; font-weight: 700; font-size: clamp(2rem, 4.4vw, 2.85rem); }
.ticket-card p, .ticket-card li, .ticket-card strong { color: var(--blush); }
.ticket-card a { color: var(--blush); text-decoration: underline; text-underline-offset: 3px; }
.ticket-card a:hover { color: var(--white); }
.ticket-card hr, .vip-card hr { border: 0; border-top: 1px solid currentColor; opacity: .35; margin: 1.6em 0; }
.ticket-card .btn { margin-top: .6em; }
.ticket-flyer { aspect-ratio: auto; background: none; border-radius: 12px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); position: sticky; top: calc(var(--header-h) + 24px); }
.ticket-flyer img { height: auto; }
.vip-card { background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 48px); max-width: 980px; margin: 0 auto; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.vip-card h2 { color: var(--ink); text-transform: uppercase; font-weight: 700; font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
.vip-card p, .vip-card li { color: var(--ink); }
.vip-card ul { list-style: none; padding: 0; display: grid; gap: .55em; margin: 0 0 1.6em; }
.vip-card a { color: var(--red); }
.btn-ink { background: var(--ink); color: var(--white); }
@media (max-width: 860px) { .ticket-card { grid-template-columns: 1fr; } .ticket-flyer { position: static; max-width: 460px; } }