/* ============================================================
   FFL250 — Celebrate Faith, Freedom & Liberty
   Refined Heritage design system
   ============================================================ */

:root {
  --navy-950: #071120;
  --navy-900: #0a1a31;
  --navy-800: #0e2240;
  --navy-700: #14315c;
  --cream: #f6f1e5;
  --paper: #fbf8f1;
  --cream-dark: #ece3cf;
  --gold: #c69a3e;
  --gold-bright: #e6bb58;
  --gold-pale: #e8d3a0;
  --ink: #1d2635;
  --muted: #5b6473;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --radius: 10px;
  --shadow-soft: 0 18px 50px rgba(7, 17, 32, 0.16);
  --shadow-card: 0 10px 34px rgba(7, 17, 32, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography helpers ---------- */
.overline {
  font-family: var(--font-caps);
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.overline::before, .overline::after {
  content: "";
  height: 1px;
  width: 42px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.overline::after { background: linear-gradient(90deg, var(--gold), transparent); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; }

.section-title {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.section-lead {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
}

.on-dark .section-lead { color: rgba(246, 241, 229, 0.78); }
.on-dark { color: var(--cream); }

.text-center { text-align: center; }

section { padding: 96px 0; position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, #d8ab4a, var(--gold) 55%, #a87f2c);
  color: var(--navy-950);
  box-shadow: 0 8px 24px rgba(198, 154, 62, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(198, 154, 62, 0.5);
  color: var(--navy-950);
}
.btn-outline-light {
  border-color: rgba(246, 241, 229, 0.55);
  color: var(--cream);
  background: rgba(246, 241, 229, 0.04);
  backdrop-filter: blur(2px);
}
.btn-outline-light:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-outline-dark {
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn-outline-dark:hover { background: var(--navy-800); color: var(--cream); }
.btn-navy {
  background: var(--navy-800);
  color: var(--cream);
}
.btn-navy:hover { background: var(--navy-700); color: var(--white); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(7, 17, 32, 0.85), rgba(7, 17, 32, 0));
}
.site-header.scrolled {
  background: rgba(7, 17, 32, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  padding: 10px 0;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}
.brand img { height: 44px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-text .brand-top {
  font-family: var(--font-caps);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  color: var(--cream);
}
.brand-text .brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-pale);
}
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a.nav-link {
  color: rgba(246, 241, 229, 0.85);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}
.main-nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.main-nav a.nav-link:hover { color: var(--gold-bright); }
.main-nav a.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-donate {
  padding: 11px 22px;
  font-size: 0.8rem;
}

/* language toggle */
.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(246, 241, 229, 0.35);
  border-radius: 4px;
  overflow: hidden;
}
.lang-toggle button {
  background: transparent;
  border: none;
  color: rgba(246, 241, 229, 0.7);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-toggle button.active {
  background: var(--gold);
  color: var(--navy-950);
}

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--cream);
  margin: 6px 0;
  transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(7, 17, 32, 0.9) 0%, rgba(7, 17, 32, 0.62) 45%, rgba(7, 17, 32, 0.78) 100%),
    url("../img/hero-banner.jpg") center right / cover no-repeat;
  padding: 150px 0 90px;
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero-date-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-caps);
  color: var(--gold-bright);
  font-size: clamp(0.72rem, 1.3vw, 0.86rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 30px;
  border: 1px solid rgba(198, 154, 62, 0.45);
  padding: 10px 22px;
  border-radius: 3px;
  background: rgba(7, 17, 32, 0.45);
  backdrop-filter: blur(3px);
}
.hero-lockup { width: min(560px, 88%); display: block; margin: 0 auto 8px; }
.hero-250 { width: min(300px, 60%); display: block; margin: 6px auto 22px; }
.hero-sub {
  color: rgba(246, 241, 229, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  max-width: 620px;
  margin: 0 auto 34px;
  font-weight: 400;
}
.hero-sub strong { color: var(--gold-bright); font-weight: 600; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
  justify-content: center;
}

/* countdown */
.countdown-wrap { margin-bottom: 10px; }
.countdown-label {
  font-family: var(--font-caps);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, 0.65);
  margin-bottom: 12px;
  text-align: center;
}
.countdown { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.count-cell {
  min-width: 78px;
  text-align: center;
  padding: 14px 10px 10px;
  border: 1px solid rgba(198, 154, 62, 0.4);
  border-radius: 6px;
  background: rgba(7, 17, 32, 0.55);
  backdrop-filter: blur(4px);
}
.count-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}
.count-word {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, 0.7);
  margin-top: 6px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(246, 241, 229, 0.55);
  font-size: 1.6rem;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ---------- Intro band ---------- */
.intro {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(198, 154, 62, 0.08), transparent 60%),
    var(--cream);
  text-align: center;
  border-bottom: 1px solid var(--cream-dark);
}
.intro .stars { color: var(--gold); letter-spacing: 0.6em; font-size: 0.9rem; margin: 26px 0 0; }

.intro-video {
  margin: 52px auto 0;
  max-width: 880px;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-950);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-soft);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
  text-align: left;
}
.event-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.event-card .card-tag {
  font-family: var(--font-caps);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.event-card h3 { font-size: 1.9rem; margin-bottom: 10px; }
.event-card p { font-size: 1rem; margin-bottom: 22px; opacity: 0.85; }
.event-card .card-link {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card-conference {
  background:
    linear-gradient(180deg, rgba(7, 17, 32, 0.35) 0%, rgba(7, 17, 32, 0.92) 72%),
    url("../img/phoenix-sunset.jpg") center / cover;
  color: var(--cream);
}
.card-conference .card-tag { color: var(--gold-bright); }
.card-clinic {
  background:
    linear-gradient(180deg, rgba(7, 17, 32, 0.42) 0%, rgba(7, 17, 32, 0.93) 72%),
    url("../img/pcc-exterior.jpg") center / cover;
  color: var(--cream);
}
.card-clinic .card-tag { color: var(--gold-bright); }

/* ---------- MegaClinic ---------- */
.megaclinic {
  background:
    radial-gradient(900px 400px at -10% 20%, rgba(198, 154, 62, 0.1), transparent 55%),
    var(--paper);
}
.mc-header { text-align: center; margin-bottom: 40px; }
.mc-lockup { width: min(430px, 82%); margin: 0 auto 4px; }
.mc-lockup-script { width: min(300px, 60%); margin: 8px auto 0; }
.mc-free { width: min(340px, 70%); margin: 0 auto 6px; }

.mc-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 36px 0 10px;
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  padding: 14px 24px;
  font-weight: 600;
  color: var(--navy-800);
  box-shadow: 0 4px 14px rgba(7, 17, 32, 0.06);
}
.meta-chip img { width: 26px; height: 26px; }
.meta-chip .chip-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); display: block; }
.meta-chip .chip-value { font-size: 1.02rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 54px;
}
.service-col {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 6px 20px rgba(7, 17, 32, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-col:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.service-col .svc-icon { margin-bottom: 18px; }
.service-col .svc-icon img { width: 54px; height: 54px; }
/* gold-circle SVG icon badge (matches the icon set) */
.icon-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg { width: 34px; height: 34px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-col h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.service-col ul { list-style: none; }
.service-col li {
  padding: 7px 0 7px 22px;
  position: relative;
  font-size: 0.97rem;
  color: var(--ink);
  border-bottom: 1px dashed var(--cream-dark);
}
.service-col li:last-child { border-bottom: none; }
.service-col li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 11px;
}

.mc-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 22px;
  margin-top: 52px;
}
.badge-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--navy-800);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 22px 30px;
  box-shadow: var(--shadow-card);
}
.badge-card img { width: 74px; height: 74px; }
.badge-card .badge-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--gold-bright);
  line-height: 1.2;
}
.badge-card .badge-small { font-size: 0.9rem; opacity: 0.85; }
.badge-emoji {
  width: 74px; height: 74px;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed rgba(246, 241, 229, 0.5);
  border-radius: 50%;
  font-size: 2rem;
}

/* ---------- Conference ---------- */
.conference {
  background:
    linear-gradient(180deg, rgba(7, 17, 32, 0.93), rgba(10, 26, 49, 0.96)),
    url("../img/phoenix-sunset.jpg") center / cover fixed;
  color: var(--cream);
}
.conf-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.conf-250 { width: min(420px, 90%); margin-bottom: 28px; }
.conf-text p { color: rgba(246, 241, 229, 0.82); margin-bottom: 18px; font-size: 1.08rem; }
.conf-highlights { list-style: none; margin: 28px 0; }
.conf-highlights li {
  padding: 12px 0 12px 34px;
  position: relative;
  border-bottom: 1px solid rgba(198, 154, 62, 0.2);
  color: rgba(246, 241, 229, 0.9);
}
.conf-highlights li::before {
  content: "★";
  position: absolute;
  left: 4px;
  color: var(--gold);
  font-size: 0.85rem;
}
.banquet-card {
  background: linear-gradient(145deg, rgba(198, 154, 62, 0.16), rgba(198, 154, 62, 0.05));
  border: 1px solid rgba(198, 154, 62, 0.45);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.banquet-card .banquet-icon { font-size: 2.4rem; margin-bottom: 14px; }
.banquet-card h3 {
  font-size: 1.9rem;
  color: var(--gold-bright);
  margin-bottom: 12px;
}
.banquet-card p { color: rgba(246, 241, 229, 0.85); margin-bottom: 8px; }
.banquet-time {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-caps);
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  color: var(--cream);
  border: 1px solid rgba(246, 241, 229, 0.4);
  padding: 10px 26px;
  border-radius: 3px;
}

/* ---------- Speakers ---------- */
.speakers { background: var(--navy-950); color: var(--cream); }
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.speaker-card {
  background: transparent;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.speaker-card:hover { transform: translateY(-8px); }
.speaker-photo {
  position: relative;
  aspect-ratio: 437 / 500;
  overflow: hidden;
}
/* gray panel starts below the top of the head, like the flyer;
   everything above it is transparent so heads float over the page */
.speaker-photo::before {
  content: "";
  position: absolute;
  inset: 22% 0 0 0;
  background: #939aa3;
  border-radius: 6px 6px 0 0;
}
.speaker-photo img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}
.speaker-info {
  padding: 20px 18px 24px;
  background: var(--navy-800);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  flex: 1;
}
.speaker-photo { flex-shrink: 0; }
.speaker-info h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-style: italic;
  font-size: 1.06rem;
  color: var(--gold-bright);
  margin-bottom: 8px;
}
.speaker-info p {
  font-size: 0.86rem;
  font-style: italic;
  color: rgba(246, 241, 229, 0.8);
  line-height: 1.45;
}

/* ---------- Schedule ---------- */
.schedule { background: var(--cream); }
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 56px;
}
.day-col {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--cream-dark);
  display: flex;
  flex-direction: column;
}
.day-head {
  background: var(--navy-800);
  color: var(--cream);
  padding: 22px 26px;
  text-align: center;
}
.day-head .day-name {
  font-family: var(--font-caps);
  letter-spacing: 0.18em;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.day-head .day-date {
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 700;
  margin-top: 4px;
}
.day-body { padding: 10px 26px 26px; flex: 1; }
.sched-item {
  padding: 16px 0;
  border-bottom: 1px dashed var(--cream-dark);
}
.sched-item:last-child { border-bottom: none; }
.sched-time {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sched-time .dot {
  width: 9px; height: 9px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}
.sched-title { font-weight: 600; color: var(--navy-800); font-size: 1rem; line-height: 1.4; }
.sched-title em { color: var(--muted); font-weight: 400; font-size: 0.9rem; }
.sched-speaker { font-size: 0.88rem; color: var(--muted); font-style: italic; }
.sched-item.clinic .sched-title { color: var(--ink); }
.sched-item.banquet { background: linear-gradient(90deg, rgba(198,154,62,0.12), transparent); border-radius: 6px; padding-left: 12px; padding-right: 8px; }
.schedule-note {
  text-align: center;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Location ---------- */
.location { background: var(--paper); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 56px;
  align-items: stretch;
}
.loc-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.loc-card .map-embed { width: 100%; flex: 1; min-height: 380px; border: 0; }
.loc-card img.static-map { width: 100%; height: auto; }
.loc-details { padding: 30px 32px; }
.loc-details h3 { font-size: 1.6rem; color: var(--navy-800); margin-bottom: 8px; }
.loc-line { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; color: var(--ink); }
.loc-line img { width: 22px; height: 22px; margin-top: 3px; }
.loc-actions { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.loc-actions .btn { padding: 12px 22px; font-size: 0.82rem; }

/* ---------- Flyers ---------- */
.flyers {
  background:
    linear-gradient(180deg, rgba(7, 17, 32, 0.95), rgba(10, 26, 49, 0.97)),
    url("../img/phoenix-night.jpg") center / cover;
  color: var(--cream);
}
.flyer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  justify-content: center;
  gap: 40px;
  margin-top: 56px;
}
.flyer-card {
  position: relative;
  background: var(--navy-800);
  border: 1px solid rgba(198, 154, 62, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
/* flyer image fills the entire card, running behind the text panel */
.flyer-thumb-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.flyer-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}
.flyer-card:hover .flyer-thumb-wrap img { transform: scale(1.03); }
/* semi-opaque navy panel — the flyer stays visible through it */
.flyer-body {
  position: relative;
  z-index: 1;
  margin-top: 420px;
  padding: 26px 28px 30px;
  text-align: center;
  background: rgba(14, 34, 64, 0.9);
}
/* fade back in above the panel's top edge */
.flyer-body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 120px;
  background: linear-gradient(180deg, rgba(14, 34, 64, 0) 0%, rgba(14, 34, 64, 0.9) 100%);
  pointer-events: none;
}
.flyer-body h3 { font-size: 1.5rem; color: var(--gold-bright); margin-bottom: 8px; }
.flyer-body p { font-size: 0.95rem; color: rgba(246, 241, 229, 0.78); margin-bottom: 20px; }
.flyer-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.flyer-actions .btn { padding: 12px 22px; font-size: 0.8rem; }

/* ---------- Get involved ---------- */
.involve { background: var(--cream); text-align: center; }
.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 56px;
}
.involve-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 44px 32px 40px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}
.involve-card:hover { transform: translateY(-6px); }
.involve-card .inv-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.involve-card h3 { font-size: 1.55rem; color: var(--navy-800); margin-bottom: 12px; }
.involve-card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(246, 241, 229, 0.75);
  padding: 70px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-brand img { width: 74px; }
.footer-brand .fb-name {
  font-family: var(--font-caps);
  color: var(--cream);
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.footer-brand p { font-size: 0.92rem; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-caps);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(246, 241, 229, 0.75); font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid rgba(246, 241, 229, 0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(246, 241, 229, 0.5);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .speakers-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 34px 40px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; z-index: 130; position: relative; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .conf-grid, .location-grid, .two-cards { grid-template-columns: 1fr; }
  .flyer-grid { grid-template-columns: minmax(0, 460px); }
  .involve-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .schedule-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .count-cell { min-width: 64px; padding: 10px 6px 8px; }
  .count-num { font-size: 1.6rem; }
  .hero { padding-top: 120px; }
  .hero-ctas .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .brand-text { display: none; }
  .brand img { height: 40px; }
  .header-actions { gap: 10px; }
  .btn-donate { padding: 10px 16px; font-size: 0.74rem; }
  .hero-date-row { letter-spacing: 0.12em; padding: 9px 16px; }
}
@media (max-width: 430px) {
  .speakers-grid { grid-template-columns: 1fr; }
}
