/* ============================================================
   Chine Drive Parent Council — shared site styles
   Built on the design-system tokens in /design/styles.css
   ============================================================ */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
}
a { color: inherit; }
html { scroll-behavior: smooth; }
.wrap { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
/* Offset in-page anchor targets so they clear the sticky header */
:target, [id] { scroll-margin-top: 88px; }

/* ---- Intro splash ("GO CHARGERS!") — homepage only ---- */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; overflow: hidden;
  background: var(--charger-red);
  animation: introOut 0.7s cubic-bezier(0.7, 0, 0.84, 0) 2s forwards;
}
.intro::before {
  /* Horizontal overflow must exceed the 92px stripe travel (introStripes) so
     the animated pattern never exposes a stripe-less gap on the left edge. */
  content: ""; position: absolute; inset: -40% -120px;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 46px,
    rgba(255, 255, 255, 0.10) 46px 92px
  );
  animation: introStripes 1.2s linear infinite;
}
.intro::after {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28), transparent 62%);
  animation: introGlow 2.4s ease-in-out infinite;
}
.intro .badge {
  position: relative; width: 240px; height: 240px; max-width: 60vw; max-height: 60vw;
  border-radius: 50%; background: var(--paper-white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 40px rgba(86, 10, 16, 0.4);
  animation: introPop 0.7s cubic-bezier(0.18, 1.5, 0.5, 1) 0.15s both;
}
.intro .badge img { width: 68%; height: auto; filter: drop-shadow(0 6px 12px rgba(86, 10, 16, 0.18)); }
.intro .rally {
  position: relative; margin: 0; text-align: center; color: #fff;
  font-family: var(--font-hand); font-weight: 700;
  font-size: clamp(3rem, 13vw, 7rem); line-height: 0.95;
  letter-spacing: 0.01em; text-shadow: 0 4px 0 var(--red-700), 0 10px 24px rgba(86,10,16,0.45);
  animation: introRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}
.intro .sub {
  position: relative; margin: 0; color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.85rem;
  animation: introRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both;
}
@keyframes introStripes { to { transform: translateX(92px); } }
@keyframes introGlow { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes introPop { 0% { transform: scale(0.2) rotate(-12deg); opacity: 0; } 100% { transform: scale(1) rotate(0deg); opacity: 1; } }
@keyframes introRise { from { transform: translateY(28px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes introOut { to { transform: scale(1.4); opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 248, 242, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  /* Promote to its own compositor layer so the blurred backdrop doesn't
     re-rasterize (and flicker) on every scroll frame. */
  transform: translateZ(0);
  will-change: transform;
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 56px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--text-strong); line-height: 1.1; white-space: nowrap; }
.brand-sub { font-size: 1rem; color: var(--text-muted); white-space: nowrap; }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  padding: 8px 14px; border-radius: var(--radius-pill); text-decoration: none;
  color: var(--text-body); transition: background .15s, color .15s;
}
.nav a:hover { background: var(--red-50); color: var(--color-primary); }
.nav a.active { background: var(--red-50); color: var(--color-primary); }
/* Button links in the nav keep their own colours (override .nav a). */
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--color-on-primary); background: var(--color-primary); }
.nav a.btn-primary:hover { background: var(--color-primary-hover); }

/* ---- Mobile navigation (hamburger + dropdown), built by /js/nav.js ---- */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; margin-left: 4px;
  background: none; border: 0; cursor: pointer; border-radius: var(--radius-md);
}
.nav-toggle:hover { background: var(--red-50); }
.nav-toggle span { display: block; height: 2px; width: 100%; border-radius: 2px; background: var(--text-strong); transition: transform .2s ease, opacity .2s ease; }
.mobile-menu { display: none; }
@media (max-width: 860px) {
  .brand img { height: 48px; }
  .brand-name { font-size: 1.35rem; }
  .brand-sub { font-size: 0.9rem; }
  .nav-toggle { display: flex; }
  /* The hamburger replaces the inline CTA on mobile. */
  .nav a.btn-primary { display: none; }
  .mobile-menu a.btn-primary { display: none; }
  .mobile-menu {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 8px; background: rgba(255, 248, 242, 0.98); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-subtle); box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .site-header.nav-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a {
    font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
    padding: 12px 14px; border-radius: var(--radius-md); text-decoration: none;
    color: var(--text-body);
  }
  .mobile-menu a:hover, .mobile-menu a.active { background: var(--red-50); color: var(--color-primary); }
  .mobile-menu a.btn-primary, .mobile-menu a.btn-primary:hover { color: var(--color-on-primary); background: var(--color-primary); text-align: center; margin-top: 4px; }
  /* Hamburger morphs into an X when open. */
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---- Sticker-pop buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 12px 22px; border-radius: var(--radius-pill); border: none; cursor: pointer;
  text-decoration: none; transition: transform .08s ease, box-shadow .08s ease, background .15s;
}
.btn-primary { background: var(--color-primary); color: var(--color-on-primary); box-shadow: var(--shadow-pop); }
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 0 0 var(--red-600); }
.btn-secondary { background: var(--surface-card); color: var(--color-primary); border: 2px solid var(--red-200); }
.btn-secondary:hover { background: var(--red-50); }
.btn-sky { background: var(--sky-500); color: #fff; box-shadow: var(--shadow-pop-sky); }
.btn-sky:active { transform: translateY(4px); box-shadow: 0 0 0 var(--sky-700); }
.btn-grass { background: var(--grass-500); color: #fff; box-shadow: var(--shadow-pop-grass); }
.btn-grass:active { transform: translateY(4px); box-shadow: 0 0 0 var(--grass-700); }
.btn-ghost { background: transparent; color: var(--color-primary); }
.btn-ghost:hover { background: var(--red-50); }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { padding: 15px 28px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ---- Feedback ribbon ---- */
.ribbon { background: var(--sunshine-500); color: var(--ink-900); }
.ribbon .wrap {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; text-align: center;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
}
.ribbon a {
  font-family: var(--font-display); font-weight: 600; text-decoration: none;
  color: var(--ink-900); border-bottom: 2px solid var(--ink-900);
}

/* ---- Hero (homepage) ---- */
.hero { background: linear-gradient(180deg, var(--red-50), var(--surface-page)); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.eyebrow { font: var(--text-eyebrow); letter-spacing: var(--eyebrow-tracking); text-transform: uppercase; color: var(--charger-red); margin-bottom: 12px; }
.hero h1 { font: var(--text-display); color: var(--text-strong); margin: 0 0 16px; text-wrap: balance; }
.hero p.lead { font: var(--text-lead); font-family: var(--font-body); color: var(--text-body); margin: 0 0 28px; max-width: 460px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.stage { display: flex; justify-content: center; align-items: center; position: relative; min-height: 400px; }
.stage .halo { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(30,157,224,0.18), transparent 68%); animation: cdPulse 6s ease-in-out infinite; }
.stage .ring { position: absolute; width: 372px; height: 372px; border-radius: 50%; border: 3px dashed var(--sky-300); opacity: .75; animation: cdSpin 34s linear infinite; }
.stage .disc { position: absolute; width: 304px; height: 304px; border-radius: 50%; background: var(--surface-card); box-shadow: var(--shadow-lg); }
.stage .mascot { width: 236px; max-width: 70%; position: relative; animation: cdBob 5s ease-in-out infinite; filter: drop-shadow(0 12px 24px rgba(86,10,16,0.18)); }
.dot { position: absolute; box-shadow: var(--shadow-sm); }
.dot.s1 { top: 24px; left: 17%; width: 22px; height: 22px; border-radius: 6px; background: var(--sunshine-500); animation: cdFloat 4.2s ease-in-out infinite; }
.dot.s2 { bottom: 44px; left: 22%; width: 16px; height: 16px; border-radius: 50%; background: var(--grass-500); animation: cdFloat 5s ease-in-out infinite .6s; }
.dot.s3 { top: 52px; right: 15%; width: 18px; height: 18px; border-radius: 50%; background: var(--red-400); animation: cdFloat 4.6s ease-in-out infinite .3s; }
.dot.s4 { bottom: 28px; right: 20%; width: 20px; height: 20px; border-radius: 6px; background: var(--sky-500); animation: cdFloat 5.4s ease-in-out infinite .9s; }
@keyframes cdSpin { to { transform: rotate(360deg); } }
@keyframes cdBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes cdFloat { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(8deg); } }
@keyframes cdPulse { 0%,100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.08); opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .halo, .ring, .disc, .mascot, .dot { animation: none !important; } }

/* ---- Inner-page header band ---- */
.page-head { background: linear-gradient(180deg, var(--red-50), var(--surface-page)); }
.page-head .wrap { padding-top: 48px; padding-bottom: 40px; }
.page-head h1 { font: var(--text-h1); color: var(--text-strong); margin: 0 0 10px; text-wrap: balance; }
.page-head p { font-family: var(--font-body); color: var(--text-body); margin: 0; max-width: 560px; }

/* ---- Sections & cards ---- */
.section { margin-top: var(--space-8); }
.section-head { max-width: 560px; }
.section-head .eyebrow { margin-bottom: 8px; }
.section-head h2 { font: var(--text-h2); color: var(--text-strong); margin: 0 0 8px; }
.section-head p { color: var(--text-muted); margin: 0; }

.card {
  background: var(--surface-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: var(--space-5); position: relative; overflow: hidden;
}
.card.pad { padding: var(--space-6); }
.card.accent::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.card.accent-red::before { background: var(--color-primary); }
.card.accent-grass::before { background: var(--grass-500); }
.card.accent-sunshine::before { background: var(--sunshine-500); }
.card.accent-sky::before { background: var(--sky-500); }

/* ---- Quick links ---- */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick {
  text-align: left; text-decoration: none; border: 1px solid var(--border-subtle);
  background: var(--surface-card); border-radius: var(--radius-lg); padding: var(--space-5);
  box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; display: block;
}
.quick:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quick .glyph { width: 48px; height: 48px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 12px; }
.quick strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--text-strong); display: block; }
.quick span { font-size: 0.9rem; color: var(--text-muted); }

/* ---- Events ---- */
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.events { display: grid; gap: 16px; margin-top: var(--space-5); }
.events-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: var(--space-5); }
.event {
  display: flex; align-items: center; gap: 18px; background: var(--surface-card);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-4) var(--space-5);
  position: relative; overflow: hidden;
}
.event::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 5px; }
.event.a-red::before { background: var(--color-primary); }
.event.a-sky::before { background: var(--sky-500); }
.event.a-grass::before { background: var(--grass-500); }
.event.a-sunshine::before { background: var(--sunshine-500); }
.date-chip {
  flex-shrink: 0; width: 64px; text-align: center; background: var(--color-primary);
  color: #fff; border-radius: var(--radius-md); padding: 8px 0; box-shadow: var(--shadow-pop);
}
.date-chip .m { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; display: block; }
.date-chip .d { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; display: block; }
/* TBD events show no day number, so shrink it to fit "TBD" in the chip. */
.date-chip-tbd .d { font-size: 1rem; letter-spacing: .04em; padding-top: 2px; }
.event-body { flex: 1; min-width: 0; }
.event-cat { font-family: var(--font-display); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.event-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text-strong); margin: 2px 0 4px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.event-meta { font-size: 0.9rem; color: var(--text-muted); }
.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.event-clickable { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.event-clickable:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.event-clickable:focus-visible { outline: none; box-shadow: var(--ring); }
.event-chevron { flex-shrink: 0; align-self: center; font-family: var(--font-display); font-weight: 700; color: var(--color-primary); opacity: .55; transition: transform .15s, opacity .15s; }
.event-clickable:hover .event-chevron { transform: translateX(3px); opacity: 1; }

/* ---- Event detail modal ---- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 9990; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(36, 31, 31, 0.55); backdrop-filter: blur(3px);
  animation: modalFade .15s ease;
}
.modal-backdrop.hidden { display: none; }
.modal {
  position: relative; width: 100%; max-width: 520px; max-height: 85vh; overflow-y: auto;
  background: var(--surface-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  padding: var(--space-6); animation: modalRise .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-close {
  position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: none; cursor: pointer;
  background: var(--surface-sunken); color: var(--text-muted); border-radius: 50%; font-size: 1.4rem; line-height: 1;
}
.modal-close:hover { background: var(--red-50); color: var(--color-primary); }
.modal-cat { font-family: var(--font-display); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-primary); }
.modal-title { font: var(--text-h3); color: var(--text-strong); margin: 4px 40px 8px 0; text-wrap: balance; }
.modal-meta { font-family: var(--font-body); color: var(--text-muted); margin-bottom: 16px; }
.modal-desc { font-family: var(--font-body); color: var(--text-body); line-height: 1.6; }
.modal-desc.muted { color: var(--text-muted); }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .modal-backdrop, .modal { animation: none; } }

/* ---- Filter chips ---- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 28px; }
.chip {
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  padding: 8px 18px; border-radius: var(--radius-pill); cursor: pointer;
  border: 2px solid var(--border-subtle); background: var(--surface-card); color: var(--text-body);
  text-decoration: none; transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--red-200); }
.chip.active { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }

/* ---- Side rail / thermometer ---- */
.rail { display: grid; gap: 20px; position: sticky; top: 90px; }
.rail h3 { font: var(--text-h4); margin: 0 0 6px; color: var(--text-strong); }
.rail p { color: var(--text-muted); margin: 0 0 14px; }
.thermo-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.thermo-head h3 { margin: 0; }
.pct-badge { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: #fff; background: var(--grass-500); padding: 4px 10px; border-radius: var(--radius-pill); }
.thermo-track { height: 22px; border-radius: var(--radius-pill); background: var(--surface-sunken); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,0.08); }
.thermo-fill { height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--grass-500), var(--grass-300)); }
.thermo-foot { display: flex; justify-content: space-between; margin-top: 10px; }
.thermo-foot strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--grass-700); }
.thermo-foot span { color: var(--text-muted); }

/* ---- Lunch days (dated, prominent) ---- */
.hidden { display: none; }
.lunch-event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.lunch-event-card .lunch-event-date { font-family: var(--font-body); font-weight: 700; color: var(--color-primary); font-size: 0.9375rem; margin: 2px 0 0; }
.lunch-event-card .btn { margin-top: 12px; }

/* ---- Volunteer / forms ---- */
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk .pemoji { font-size: 30px; line-height: 1; }
.perk strong { font-family: var(--font-display); color: var(--text-strong); }
.perk p { margin: 4px 0 0; color: var(--text-muted); }
.how-list { margin: 0; padding-left: 1.25rem; display: grid; gap: 12px; font-family: var(--font-body); color: var(--text-body); }
.how-list li strong { color: var(--text-strong); }
.how-list a { color: var(--color-primary); font-weight: 700; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-body); font-weight: 700; font-size: 0.875rem; color: var(--text-strong); }
.field input {
  font-family: var(--font-body); font-size: 1rem; padding: 11px 14px; color: var(--text-strong);
  background: var(--surface-card); border: 2px solid var(--border-subtle); border-radius: var(--radius-md);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--color-primary); box-shadow: var(--ring); }
.check { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); color: var(--text-body); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--color-primary); cursor: pointer; }
.form-grid { display: grid; gap: 14px; }
.form-success { text-align: center; padding: 20px 0; }
.form-error { background: var(--red-50); color: var(--color-primary); border-radius: var(--radius-md); padding: 10px 14px; font-size: 0.9rem; margin-bottom: 6px; }
.form-success .big { font-size: 56px; }
.form-success h3 { font: var(--text-h3); color: var(--text-strong); margin: 8px 0; }
.form-success p { font-family: var(--font-body); color: var(--text-muted); margin: 0 0 20px; }
.hidden { display: none; }

/* ---- News ---- */
.posts { display: grid; gap: 20px; margin-top: var(--space-6); }
.post { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.post-body { flex: 1; min-width: 280px; }
.badge {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: var(--radius-pill);
}
.badge-red { background: var(--red-50); color: var(--color-primary); }
.badge-sky { background: var(--sky-50); color: var(--sky-700); }
.badge-grass { background: var(--grass-50); color: var(--grass-700); }
.badge-sunshine { background: var(--sunshine-50); color: var(--sunshine-700); }
.post h3 { font: var(--text-h3); color: var(--text-strong); margin: 10px 0 8px; text-wrap: balance; }
.post-excerpt { font-family: var(--font-body); color: var(--text-body); margin: 0 0 16px; max-width: 560px; }
.byline { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--red-100); color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; }
.byline span { font-family: var(--font-body); font-size: 0.85rem; color: var(--text-muted); }

/* ---- CTA strip ---- */
.cta-strip { background: var(--charger-red); color: #fff; border-radius: var(--radius-xl); padding: var(--space-7); text-align: center; }
.cta-strip h2 { font: var(--text-h2); margin: 0 0 8px; color: #fff; }
.cta-strip p { margin: 0 0 22px; color: rgba(255,255,255,0.9); font-family: var(--font-body); }
.cta-strip .btn-secondary { background: #fff; border-color: #fff; }

/* ---- Footer ---- */
.site-footer { background: var(--ink-900); color: #fff; margin-top: var(--space-9); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 48px; padding-bottom: 28px; }
.foot-about { max-width: 320px; }
.foot-about .row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.foot-about img { height: 56px; filter: brightness(0) invert(1); }
.foot-about .name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.foot-about p { font-size: 0.9rem; color: rgba(255,244,240,0.78); margin: 0; }
.rally { font-family: var(--font-hand); font-weight: 700; font-size: 1.6rem; color: var(--sunshine-500); margin: 12px 0 0; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col strong { font-family: var(--font-display); font-size: 0.95rem; color: #fff; }
.foot-col a { font-size: 0.9rem; color: rgba(255,244,240,0.78); text-decoration: none; }
.foot-col a:hover { color: #fff; }
.foot-bar { border-top: 1px solid rgba(255,255,255,0.12); padding: 16px 24px; text-align: center; font-size: 0.82rem; color: rgba(255,244,240,0.6); }

@media (max-width: 860px) {
  /* Every multi-column layout collapses to a single column on mobile.
     !important overrides the per-page inline grid-template-columns on .two-col. */
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { min-height: 320px; order: -1; }
  .quick-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr !important; }
  .event-grid { grid-template-columns: 1fr; }
  .lunch-event-grid { grid-template-columns: 1fr; }
  .rail { position: static; }
  .nav .hide-sm { display: none; }
}
