/* Lone Star Wishes | built by Boost Creative Solutions */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/fraunces-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/fraunces-latin-500-italic.woff2") format("woff2"); }

:root {
  --navy: #0d2240;
  --navy-2: #163463;
  --blue: #1f5fae;
  --sky: #e8f1fb;
  --gold: #f2b632;
  --gold-deep: #d4951a;
  --cream: #fbf7ef;
  --ink: #1b2430;
  --muted: #5a6678;
  --line: #dfe5ee;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(13, 34, 64, .35);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #d9e3f2; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1rem;
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--gold); }
.eyebrow svg { width: 14px; height: 14px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.section--navy .lede { color: #b9c8de; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
  font-family: var(--body);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #ffc94d; color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.center .btn-row { justify-content: center; }

/* Header */
.topbar { background: var(--navy); color: #c9d6ea; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1; }
.brand-sub { display: block; font-family: var(--body); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { white-space: nowrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { padding: .75rem 1.25rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 1199px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem; display: none;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; border-bottom: 0; }
  .topbar .hide-sm { display: none; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #dbe5f3;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(242,182,50,.22), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(31,95,174,.55), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #0a1a33 100%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: clamp(4rem, 9vw, 7rem) 0; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero p { font-size: 1.2rem; color: #c3d1e6; max-width: 54ch; }
.hero .btn-row { margin-top: 2rem; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px; padding: 1.25rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  transform: rotate(1.5deg);
}
.hero-card img { border-radius: 16px; width: 100%; background: var(--white); }
.hero-card figcaption { font-size: .9rem; color: #b9c8de; padding: .9rem .4rem .2rem; }
.stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.stars span {
  position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .5;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .8; } }
@media (prefers-reduced-motion: reduce) { .stars span { animation: none; } .btn:hover { transform: none; } }

.page-hero { background: linear-gradient(160deg, var(--navy) 0%, #0a1a33 100%); color: #c3d1e6; position: relative; overflow: hidden; }
.page-hero .wrap { padding: clamp(3.5rem, 7vw, 5.5rem) 0; position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero p { font-size: 1.15rem; max-width: 60ch; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(242,182,50,.28), transparent 65%);
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: -3.5rem; position: relative; z-index: 5; }
.stat {
  background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow); border-top: 5px solid var(--gold);
}
.stat-num { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; color: var(--navy); line-height: 1; }
.stat-label { font-weight: 700; color: var(--ink); margin-top: .5rem; }
.stat-note { font-size: .9rem; color: var(--muted); margin: .25rem 0 0; }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
.photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--gold-deep); margin-top: .15rem; }
.quote {
  font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-style: italic; color: var(--navy);
  border-left: 4px solid var(--gold); padding-left: 1.25rem; margin: 2rem 0 0;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; display: flex; flex-direction: column; gap: .4rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { width: 54px; height: 54px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: .8rem; }
.card .icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); }
.card .btn, .card .link { margin-top: auto; align-self: flex-start; }
.link { font-weight: 700; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.link:hover { gap: .6rem; }

.event-card { background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.event-card .event-media { background: var(--sky); display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 1.5rem; }
.event-card .event-media img { max-height: 100%; width: auto; object-fit: contain; }
.event-card .event-body { padding: 1.8rem 2rem 2rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.event-card p { color: var(--muted); }
.event-card .btn { margin-top: auto; align-self: flex-start; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #fff4d6; color: #8a5a00; padding: .35rem .75rem; border-radius: 999px; margin-bottom: .6rem; align-self: flex-start; }
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }

/* Sponsors */
.sponsors { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.sponsor {
  display: flex; flex-direction: column; justify-content: center; gap: .2rem;
  min-height: 110px; padding: 1.25rem 1.4rem; border-radius: 14px; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); color: var(--navy);
  transition: border-color .2s ease, transform .2s ease;
}
.sponsor:hover { border-color: var(--gold); transform: translateY(-3px); color: var(--navy); }
.sponsor strong { font-family: var(--display); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.sponsor span { font-size: .85rem; color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--gold) 0%, #ffd36b 100%);
  border-radius: 28px; padding: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: #3d3420; font-size: 1.1rem; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }

/* Forms */
.form-card { background: var(--white); border-radius: 24px; padding: clamp(1.75rem, 4vw, 2.75rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .92rem; color: var(--navy); }
.req { color: #b3261e; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid #cdd6e3; background: #fbfcfe; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,95,174,.15); background: var(--white); }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 1rem; }
.form-card .btn { margin-top: 1.25rem; }
.hidden { display: none !important; }
.amounts { display: flex; flex-wrap: wrap; gap: .6rem; }
.amounts label {
  cursor: pointer; border: 1.5px solid #cdd6e3; border-radius: 999px; padding: .6rem 1.1rem; font-weight: 700; background: #fbfcfe;
  transition: all .15s ease;
}
.amounts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.amounts input:checked + span { color: var(--navy); }
.amounts label:has(input:checked) { background: var(--gold); border-color: var(--gold); }
.amounts label:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(31,95,174,.25); }

.info-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; }
.info-list .icon svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--navy); }
.info-list a { font-weight: 600; text-decoration: none; }

/* Status banner on event pages */
.notice {
  display: flex; gap: 1.2rem; align-items: flex-start; background: #fff8e6; border: 1px solid #f5dc9d;
  border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-bottom: 2.5rem;
}
.notice svg { flex: none; width: 30px; height: 30px; color: var(--gold-deep); }
.notice h3 { margin-bottom: .25rem; }
.notice p { margin: 0; color: #5a4a22; }

.steps { counter-reset: step; display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.15rem;
}
.step h3 { margin-bottom: .2rem; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { background: #091a31; color: #a9b8ce; padding: 4rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { font-family: var(--body); color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #d6e0ee; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer .brand-sub { color: #8496b0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .86rem; }

/* Thank you / 404 */
.simple { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 5rem 0; }
.simple .big-star { width: 84px; height: 84px; margin: 0 auto 1.5rem; color: var(--gold); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .split, .cta-band, .events-grid { grid-template-columns: 1fr; }
  .hero-card { transform: none; max-width: 520px; }
  .cta-band .btn-row { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .stats { grid-template-columns: 1fr; margin-top: -2.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 1rem; }
}

/* ---- Logo, sponsor logos, galleries ---- */
.brand-logo { height: 72px; width: auto; display: block; }
.brand-logo--footer { height: 74px; }
@media (max-width: 680px) { .brand-logo { height: 46px; } }

.sponsors { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.sponsor {
  min-height: 120px; padding: 1rem 1.25rem; align-items: center; justify-content: center;
  background: var(--white);
}
.sponsor img { max-height: 84px; max-width: 100%; width: auto; object-fit: contain; }
div.sponsor:hover { transform: none; border-color: var(--line); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.gallery-item { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery--2 { grid-template-columns: 1fr 1fr; margin-top: 1rem; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

.event-logo-box { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 2rem; display: grid; place-items: center; }
.event-logo-box img { max-height: 150px; width: auto; }
.event-card .event-media { background: var(--white); border-bottom: 1px solid var(--line); }

.benefiting { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.benefiting span { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.benefiting img { height: 44px; width: auto; }
.section--navy .gallery { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .section--navy .gallery { grid-template-columns: repeat(2, 1fr); } }
.sponsors { display: flex; flex-wrap: wrap; justify-content: center; }
.sponsors .sponsor { flex: 0 0 calc((100% - 5rem) / 6); }
@media (max-width: 960px) { .sponsors .sponsor { flex-basis: calc((100% - 3rem) / 4); } }
@media (max-width: 680px) { .sponsors .sponsor { flex-basis: calc((100% - 1rem) / 2); } }

/* Photo gallery grid + lightbox */
.gallery--grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .gallery--grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery--grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-link { display: block; cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 14, 28, .92);
  display: none; align-items: center; justify-content: center; padding: 3rem 1rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
}
.lightbox button:hover { background: var(--gold); color: var(--navy); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #c9d6ea; font-size: .95rem; }

/* ---- Hanging logo header that shrinks on scroll ---- */
.site-header { background: #fff; overflow: visible; transition: box-shadow .3s ease; }
.site-header .wrap { position: relative; min-height: 88px; justify-content: flex-end; padding: 0; transition: min-height .3s ease; }
.site-header .brand {
  position: absolute; left: 0; top: 0; z-index: 3;
  background: #fff; padding: 14px 18px 16px; border-radius: 0 0 22px 22px;
  box-shadow: 0 22px 34px -18px rgba(13, 34, 64, .55);
  transition: padding .3s ease, box-shadow .3s ease, border-radius .3s ease;
}
.site-header .brand-logo { height: 106px; width: auto; transition: height .3s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(13, 34, 64, .35); }
.site-header.is-scrolled .wrap { min-height: 72px; }
.site-header.is-scrolled .brand { padding: 8px 0; border-radius: 0; box-shadow: none; }
.site-header.is-scrolled .brand-logo { height: 58px; }
.nav { position: relative; z-index: 4; }

@media (max-width: 1199px) {
  .site-header .wrap { min-height: 76px; }
  .site-header .brand { padding: 10px 14px 12px; border-radius: 0 0 18px 18px; }
  .site-header .brand-logo { height: 90px; }
  .site-header.is-scrolled .wrap { min-height: 64px; }
  .site-header.is-scrolled .brand-logo { height: 48px; }
  .nav { position: absolute; left: -1.25rem; right: -1.25rem; top: 100%; z-index: 4; }
  .nav-toggle { position: relative; z-index: 5; }
}
@media (max-width: 680px) {
  .site-header .wrap { min-height: 64px; }
  .site-header .brand { padding: 8px 12px 10px; border-radius: 0 0 16px 16px; }
  .site-header .brand-logo { height: 70px; }
  .site-header.is-scrolled .wrap { min-height: 58px; }
  .site-header.is-scrolled .brand { padding: 6px 0; }
  .site-header.is-scrolled .brand-logo { height: 42px; }
  .topbar .wrap { justify-content: flex-end; font-size: .82rem; }
}
@media (max-width: 370px) {
  .topbar .email-link, .topbar .sep { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .wrap, .site-header .brand, .site-header .brand-logo { transition: none; }
}

/* ---- Back to top button ---- */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--navy); display: grid; place-items: center;
  box-shadow: 0 12px 26px -10px rgba(13, 34, 64, .6);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease;
}
.to-top svg { width: 24px; height: 24px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #ffc94d; }
.to-top:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 680px) { .to-top { right: 1rem; bottom: 1rem; width: 48px; height: 48px; } }

/* Header + logo tab background */
:root { --header-bg: #E3EEFB; }
.site-header, .site-header .brand { background: var(--header-bg); }
.site-header { border-bottom-color: #cddcf0; }
@media (max-width: 1199px) { .nav { background: var(--header-bg); } .nav a { border-bottom-color: #cddcf0; } }

/* ---- Round badge logo, floating with no container ---- */
.site-header .brand {
  background: transparent; box-shadow: none; border-radius: 0; padding: 10px 0 0;
  filter: drop-shadow(0 12px 16px rgba(13, 34, 64, .35));
}
.site-header .brand-logo { height: 140px; width: auto; }
.site-header.is-scrolled .brand { padding: 6px 0; filter: drop-shadow(0 4px 6px rgba(13, 34, 64, .2)); }
.site-header.is-scrolled .brand-logo { height: 60px; }
@media (max-width: 1199px) {
  .site-header .brand { padding: 8px 0 0; }
  .site-header .brand-logo { height: 112px; }
  .site-header.is-scrolled .brand-logo { height: 52px; }
}
@media (max-width: 680px) {
  .site-header .brand { padding: 6px 0 0; }
  .site-header .brand-logo { height: 92px; }
  .site-header.is-scrolled .brand { padding: 4px 0; }
  .site-header.is-scrolled .brand-logo { height: 48px; }
}

/* ---- Wish stories ---- */
.section--flag {
  color: #d9e3f2;
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(91,127,204,.35), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(178,34,52,.45), transparent 60%),
    linear-gradient(135deg, #0d2240 0%, #1b2f63 55%, #5a1830 100%);
}
.section--flag h2 { color: #fff; }
.section--flag .eyebrow { color: var(--gold); }
.section--flag .lede { color: #c3d1e6; }
.wish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 2.5rem; }
.wish-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); display: flex; flex-direction: column; }
.wish-media { aspect-ratio: 16 / 11; background: var(--sky); }
.wish-media img { width: 100%; height: 100%; object-fit: cover; }
.wish-body { padding: 1.5rem 1.6rem 1.8rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.wish-body .pill { align-self: center; }
.wish-body h3 { font-size: 1.6rem; margin-bottom: .2rem; }
.wish-quote { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--blue); margin: 0; }
@media (max-width: 900px) { .wish-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---- Quote band ---- */
.quote-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  background: radial-gradient(700px 380px at 50% 40%, rgba(242,182,50,.35), transparent 70%), linear-gradient(160deg, #3a2a10 0%, #0d2240 100%);
}
.quote-band .wrap { position: relative; z-index: 2; max-width: 900px; }
.quote-mark { font-family: var(--display); font-size: 5rem; line-height: .6; color: var(--gold); display: block; }
.quote-band blockquote {
  margin: 1rem 0 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.2;
}

/* ---- Thank you band ---- */
.thanks-band { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); border-radius: 28px; overflow: hidden; color: #c9d6ea; }
.thanks-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.thanks-body { padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.thanks-body h2 { color: #fff; }
.thanks-body p { font-size: 1.1rem; margin-bottom: 1.5rem; }
@media (max-width: 860px) { .thanks-band { grid-template-columns: 1fr; } .thanks-media img { min-height: 240px; max-height: 320px; } }
.wish-media { position: relative; overflow: hidden; }
.wish-media img { position: absolute; inset: 0; }

/* ---- Wish story pages ---- */
.story-meta { color: #b9c8de; font-size: 1rem; margin-top: .5rem; }
.story { max-width: 760px; }
.story-body p { font-size: 1.15rem; line-height: 1.8; color: #2c3644; }
.story-body > p:first-of-type::first-letter { font-family: var(--display); float: left; font-size: 3.6rem; line-height: .9; padding: .35rem .6rem 0 0; color: var(--red, #B22234); }
.story-figure { float: right; width: 42%; margin: .3rem 0 1.25rem 2rem; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.story-figure img { width: 100%; }
.story-figure--wide { float: none; width: 100%; max-width: 520px; margin: 2rem auto; }
.story-figure figcaption { font-size: .9rem; color: var(--muted); padding: .7rem 1rem; background: #fff; }
.story-cta { clear: both; margin-top: 3rem; padding: 2rem; border-radius: 22px; background: var(--cream); border: 1px solid #efe4cc; }
.story-cta p { font-size: 1.05rem; }
.wish-link { margin-top: .9rem; }
.wish-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
@media (max-width: 680px) {
  .story-figure { float: none; width: 100%; margin: 0 0 1.5rem; }
  .wish-grid--2 { grid-template-columns: 1fr; max-width: 460px; }
}

/* ---- Sponsor logo marquee ---- */
.sponsor-marquee { background: var(--cream); border-top: 1px solid #efe4cc; padding: 2.25rem 0 2.5rem; }
.marquee-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.marquee-head .eyebrow { margin: 0; }
.marquee { overflow: hidden; position: relative; outline: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee:focus-visible { box-shadow: inset 0 0 0 3px var(--blue); }
.marquee-track { display: flex; gap: 1.25rem; width: max-content; list-style: none; margin: 0; padding: .4rem 0; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee:focus .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; }
.marquee-logo { display: grid; place-items: center; width: 190px; height: 110px; padding: .9rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, transform .2s; }
a.marquee-logo:hover { border-color: var(--gold); transform: translateY(-3px); }
.marquee-logo img { max-width: 100%; max-height: 78px; width: auto; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 680px) { .marquee-logo { width: 150px; height: 90px; } .marquee-logo img { max-height: 62px; } .marquee-track { animation-duration: 55s; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee-track li:nth-child(n+26) { display: none; }
}
.hero--event h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
@media (max-width: 960px) { .hero .hero-card { width: 100%; max-width: 560px; justify-self: start; } }
.gallery-item img, .hero-card img, .photo img, .story-figure img, .thanks-media img { cursor: zoom-in; }
.gallery-item img:focus-visible, .hero-card img:focus-visible, .photo img:focus-visible, .story-figure img:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lightbox img { object-fit: contain; }

/* ---- Accessibility: readable eyebrow color on light backgrounds ---- */
.eyebrow { color: #8a5a00; }
.section--navy .eyebrow, .section--flag .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .thanks-band .eyebrow { color: var(--gold); }
.h-like-3 { font-size: 1.35rem; }
.footer-title { font-family: var(--body); color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; font-weight: 700; }

/* ---- Refer a child ---- */
.refer-band-wrap { padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: 0; }
.refer-band { display: grid; grid-template-columns: 1.5fr auto; gap: 2rem; align-items: center; background: var(--sky); border: 1px solid #cddcf0; border-radius: 24px; padding: clamp(1.75rem, 4vw, 2.75rem); }
.refer-band h2 { margin-bottom: .35em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.refer-band p { margin: 0; color: var(--muted); max-width: 60ch; }
.steps-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.75rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
@media (max-width: 760px) { .refer-band { grid-template-columns: 1fr; } }

/* ---- Sticky mobile action bar ---- */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom));
    background: rgba(13, 34, 64, .97); backdrop-filter: blur(8px);
    box-shadow: 0 -10px 24px -12px rgba(0,0,0,.5);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: .4rem;
    min-height: 48px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: .9rem;
    color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  }
  .mobile-cta a svg { width: 18px; height: 18px; flex: none; }
  .mobile-cta a.mobile-cta-donate { background: var(--gold); color: var(--navy); border-color: var(--gold); }
  .mobile-cta a:active { transform: scale(.97); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .to-top { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .lightbox { z-index: 220; }
}
@media (max-width: 360px) { .mobile-cta a { font-size: .8rem; gap: .3rem; } .mobile-cta a svg { width: 16px; height: 16px; } }

/* ---- Event date ---- */
.event-date { display: inline-flex; align-items: center; gap: .85rem; margin: 1.25rem 0 0; padding: .8rem 1.15rem; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.event-date svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.event-date strong { display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.event-date-time { display: block; font-size: .92rem; color: #c3d1e6; }
.notice--date { background: var(--sky); border-color: #cddcf0; }
.notice--date svg { color: var(--blue); }
.notice--date p { color: var(--muted); }
