/* =========================================================
   landing.css — Full-color landing page styles
   Scoped to .top-callout, .lead-panel, .stat-strip, .body-panel,
   .callouts, .references, .share-panel. Intentionally does NOT
   touch bare tag selectors so it cannot break other pages.
   ========================================================= */

/* ---------- TOP CALLOUT (May 19 banner) ---------- */
.top-callout {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
  padding: 50px 0 0 0 !important;
  margin: 0;
}
.top-callout::before { display: none; }
.top-callout-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }

.urgent-strip {
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; padding: 0.35rem 1rem;
  border-bottom: 1px solid var(--gold);
  flex-wrap: wrap;
  margin: 0;
}
.urgent-date-block {
  display: flex; align-items: baseline; gap: 0.55rem;
  background: var(--white); color: var(--navy);
  padding: 0.15rem 0.7rem; border-radius: 3px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
  border: 1px solid var(--gold);
  margin: 0;
}
.urgent-day,
.urgent-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem; letter-spacing: 3px;
  color: var(--navy); line-height: 1;
}
.urgent-dateline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900; color: var(--red); line-height: 1;
  letter-spacing: -0.5px;
}
.urgent-msg {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  letter-spacing: 4px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  text-transform: uppercase;
}
.urgent-star {
  color: var(--gold); font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.primary-msg {
  background: transparent;
  padding: 0.2rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(200,151,58,0.15);
  margin: 0;
}
.primary-msg p {
  max-width: 1000px; margin: 0 auto;
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.78rem, 1.15vw, 0.92rem);
  font-style: italic; line-height: 1.35;
  color: rgba(255,255,255,0.92);
}
.primary-msg p strong { color: var(--gold); font-style: normal; font-weight: 700; }

.top-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.top-action {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.5rem 1.3rem;
  text-decoration: none;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background 0.18s, transform 0.18s;
  margin: 0;
}
.top-action:last-child { border-right: none; }
.top-action:hover {
  background: rgba(200,151,58,0.14);
  transform: translateY(-1px);
}
.top-action-icon {
  flex: 0 0 auto; width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--gold);
}
.top-action-text { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; flex: 1; }
.top-action-title {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2.5px; font-size: 1.3rem;
  color: var(--white); line-height: 1;
}
.top-action-sub {
  font-size: 0.92rem; font-weight: 300;
  color: rgba(255,255,255,0.82);
  line-height: 1.4;
}
.top-action-qr { display: none; }
.top-action-qr img { display: none; }

/* ---------- HERO BELOW CALLOUT ---------- */
.page-hero-below { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.landing-hero {
  display: flex; justify-content: space-between; align-items: center; gap: 3rem;
}
.page-hero-icon {
  flex: 0 0 auto; color: var(--gold); opacity: 0.85;
  filter: drop-shadow(0 4px 14px rgba(200,151,58,0.3));
}

/* ---------- LEAD PANEL ---------- */
.lead-panel {
  background: var(--cream);
  padding: 1.2rem 2rem;
  border-bottom: 3px solid var(--accent);
  position: relative; overflow: hidden;
}
.lead-panel-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.lead-mark { display: none; }
.lead-panel p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-style: italic; line-height: 1.4;
  color: var(--navy);
  max-width: 900px; margin: 0 auto; text-align: center;
}

/* ---------- STATS STRIP ---------- */
.stat-strip { background: var(--white); padding: 3rem 2rem; }
.stat-strip-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  padding: 1.85rem 1.5rem;
  border-radius: 2px; text-align: center;
  border-top: 4px solid var(--accent);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem; color: var(--navy);
  letter-spacing: 1.5px; line-height: 1;
}
.stat-label {
  font-size: 0.88rem; color: #555;
  margin-top: 0.6rem; font-weight: 300; line-height: 1.45;
}

/* ---------- BODY PANEL ---------- */
.body-panel { background: var(--white); padding: 5rem 2rem; }
.body-panel-inner { max-width: 820px; margin: 0 auto; }
.body-panel p {
  font-size: 1.05rem; line-height: 1.85;
  color: #2a2a2a; margin-bottom: 1.4rem; font-weight: 300;
}
.body-panel p strong { color: var(--red); font-weight: 600; }
.body-panel h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy); margin: 3rem 0 1.2rem; line-height: 1.2;
}
.body-panel h2:first-child { margin-top: 0; }
.body-panel h2 em { font-style: italic; color: var(--accent); }
.body-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; color: var(--navy);
  margin: 2.25rem 0 0.9rem; line-height: 1.25;
}
.body-panel ul, .body-panel ol { margin: 1rem 0 1.75rem 1.75rem; }
.body-panel ul li, .body-panel ol li {
  font-size: 1.02rem; line-height: 1.75;
  color: #2a2a2a; margin-bottom: 0.65rem; font-weight: 300;
}
.body-panel a {
  color: var(--red); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- NOTE + FLAG BOXES ---------- */
.note-box, .flag-box {
  padding: 1.6rem 1.85rem; margin: 2rem 0;
  border-radius: 2px;
}
.note-box {
  background: linear-gradient(135deg, rgba(26,39,68,0.05), rgba(200,151,58,0.09));
  border-left: 4px solid var(--gold);
}
.flag-box {
  background: rgba(178,34,34,0.06);
  border-left: 4px solid var(--red);
}
.note-label { color: var(--gold); }
.flag-label { color: var(--red); }
.note-label, .flag-label {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 3px; font-size: 0.8rem;
  display: block; margin-bottom: 0.5rem;
}

/* ---------- CALLOUT CARDS (navy) ---------- */
.callouts {
  background: var(--navy); color: var(--white);
  padding: 5rem 2rem;
  position: relative; overflow: hidden;
}
.callouts-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.callouts h2 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 2.5rem;
}
.callouts h2 em { color: var(--gold); font-style: italic; }
.callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.callout-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 2rem 1.75rem;
  border-radius: 2px;
}
.callout-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--gold);
  margin-bottom: 0.75rem; line-height: 1.25;
}
.callout-card p {
  font-size: 0.95rem; line-height: 1.65;
  color: rgba(255,255,255,0.8); font-weight: 300;
}

/* ---------- REFERENCES ---------- */
.references {
  background: var(--cream);
  padding: 4rem 2rem;
  border-top: 4px solid var(--accent);
}
.references-inner { max-width: 900px; margin: 0 auto; }
.references h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; color: var(--navy);
  margin-bottom: 1.5rem;
}
.references .intro {
  font-size: 1rem; line-height: 1.7;
  color: #444; font-weight: 300; margin-bottom: 2rem;
}
.ref-list { list-style: none; margin: 0; padding: 0; }
.ref-list li {
  background: var(--white);
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.8rem; border-radius: 2px;
  border-left: 3px solid var(--accent);
}
.ref-list li a {
  color: var(--navy); font-weight: 600;
  text-decoration: none; display: block;
  font-size: 1rem; line-height: 1.4;
}
.ref-list li .ref-note {
  font-size: 0.88rem; color: #666;
  margin-top: 0.35rem; line-height: 1.5;
}
.ref-list li .ref-url {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px; font-size: 0.75rem;
  color: #888; margin-top: 0.4rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 820px) {
  .landing-hero { flex-direction: column; gap: 2rem; }
  .top-actions { grid-template-columns: 1fr; }
  .top-action {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .top-action:last-child { border-bottom: none; }
}

/* ---------- ACTION TILE ACCENT COLORS ---------- */
.top-action.donate .top-action-icon {
  background: rgba(200,151,58,0.25);
  border-color: rgba(200,151,58,0.6);
}
.top-action.donate .top-action-title { color: var(--gold); }
.top-action.volunteer .top-action-icon {
  background: rgba(178,34,34,0.25);
  border-color: rgba(178,34,34,0.6);
  color: #ffb8b8;
}
.top-action.volunteer .top-action-title { color: #ffb8b8; }

/* ---------- REFERENCES HEADING ICON ---------- */
.references h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.references-icon {
  color: var(--accent);
  display: inline-flex;
  flex: 0 0 auto;
}
.references-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* ---------- NOTE + FLAG ICON BADGES ---------- */
.note-box { position: relative; padding-right: 4rem; }
.flag-box { position: relative; padding-right: 4rem; }
.note-box::before,
.flag-box::before {
  content: '';
  position: absolute;
  top: 1.3rem; right: 1.5rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
}
.note-box::before {
  content: 'i';
  background: var(--gold);
  font-style: italic;
}
.flag-box::before {
  content: '!';
  background: var(--red);
  font-family: 'Bebas Neue', sans-serif;
}

/* ---------- LOOSE PROSE TWEAKS ---------- */
.body-panel h3::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  margin-right: 0.75rem;
  vertical-align: middle;
}
.body-panel ul li strong,
.body-panel ol li strong {
  color: var(--navy);
  font-weight: 600;
}

/* ---------- BODY PANEL TOP ACCENT BAR ---------- */
.body-panel { position: relative; }
.body-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- STAT CARD HOVER + CALLOUT HOVER ---------- */
.stat-card { transition: transform 0.2s, box-shadow 0.2s; }
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.callout-card {
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.callout-card:hover {
  border-color: var(--gold);
  background: rgba(255,255,255,0.09);
  transform: translateY(-3px);
}
.ref-list li {
  transition: border-left-width 0.15s, transform 0.15s;
}
.ref-list li:hover {
  border-left-width: 6px;
  transform: translateX(2px);
}

/* === On This Page TOC === */
.page-toc {
  background: linear-gradient(180deg, #f8f4ec 0%, #f1ead9 100%);
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
  padding: 2.25rem 1.5rem;
}
.page-toc-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.page-toc-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}
.page-toc-label::before,
.page-toc-label::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin: 0 0.75rem;
}
.page-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.65rem;
}
.page-toc-list li { margin: 0; }
.page-toc-list a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1.5px solid rgba(26,39,68,0.12);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  text-decoration: none;
  color: var(--navy);
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.3;
  transition: transform 0.15s, border-left-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.page-toc-list a:hover {
  transform: translateX(3px);
  border-left-color: var(--gold);
  background: #fffdf6;
  box-shadow: 0 4px 12px rgba(178,34,34,0.12);
}
.page-toc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.4rem;
  background: var(--navy);
  color: var(--cream);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 3px;
  flex-shrink: 0;
}
.page-toc-text { flex: 1; }

/* Smooth scroll for anchor jumps; offset for fixed nav if any */
html { scroll-behavior: smooth; }
.body-panel h2[id], .body-panel h3[id] { scroll-margin-top: 90px; }

/* Hard-hitting subhead variant */
.page-hero .subhead-shock {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--cream);
  background: var(--red);
  padding: 0.7rem 1rem;
  margin: 0.85rem 0 0.5rem;
  border-left: 6px solid var(--gold);
  text-transform: uppercase;
}
