/* ═══════════════════════════════════════════════════════
   IAH — Israelite Apostolic Heritage
   Premium Heritage Landing Page — Main Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  /* Core Palette */
  --gold:        #C9A84C;
  --gold-light:  #E4C57A;
  --gold-pale:   #F5E9C8;
  --gold-dark:   #8B6914;
  --onyx:        #0A0A0A;
  --charcoal:    #141414;
  --slate-dark:  #1C1C1C;
  --slate:       #2A2A2A;
  --slate-mid:   #3A3A3A;
  --stone:       #888888;
  --stone-light: #AAAAAA;
  --ivory:       #F8F5EE;
  --ivory-dark:  #EDE8DC;
  --white:       #FFFFFF;

  /* Semantic */
  --bg-primary:   var(--charcoal);
  --bg-secondary: var(--slate-dark);
  --bg-accent:    var(--slate);
  --text-primary: var(--ivory);
  --text-secondary: var(--stone-light);
  --text-muted:   var(--stone);
  --accent:       var(--gold);
  --border:       rgba(201,168,76,0.18);
  --border-subtle: rgba(255,255,255,0.07);

  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad:  6rem;
  --container:    1200px;

  /* Transitions */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-gold:  0 0 40px rgba(201,168,76,0.15);
  --shadow-card:  0 8px 40px rgba(0,0,0,0.5);
  --shadow-deep:  0 20px 80px rgba(0,0,0,0.7);
}

/* ── LIGHT MODE THEME ──────────────────────────────────── */
body.light-mode {
  --onyx:        #F0EBE0;
  --charcoal:    #F7F3EC;
  --slate-dark:  #EDE8DE;
  --slate:       #E2DBD0;
  --slate-mid:   #D4CBBE;
  --stone:       #7A6E60;
  --stone-light: #5A5045;
  --ivory:       #1C1410;
  --ivory-dark:  #2A1F14;
  --border:       rgba(139,105,20,0.22);
  --border-subtle: rgba(0,0,0,0.08);
  --shadow-card:  0 8px 40px rgba(0,0,0,0.12);
  --shadow-deep:  0 20px 80px rgba(0,0,0,0.18);
}

body.light-mode {
  background-color: var(--charcoal);
  color: var(--ivory);
}

body.light-mode a { color: var(--gold-dark); }
body.light-mode a:hover { color: var(--gold); }

body.light-mode .navbar.scrolled {
  background: rgba(240,235,224,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

body.light-mode .nav-brand-main { color: var(--ivory); }
body.light-mode .nav-link { color: var(--stone-light); }
body.light-mode .nav-link:hover { color: var(--gold-dark); }

body.light-mode .hero-overlay {
  background: radial-gradient(ellipse at 50% 40%, rgba(240,225,190,0.4) 0%, rgba(240,235,224,0.82) 60%, rgba(240,235,224,0.97) 100%);
}

body.light-mode .hero-title { color: var(--ivory); }
body.light-mode .hero-subtext { color: var(--stone-light); }
body.light-mode .hero-tagline { color: var(--gold-dark); }

body.light-mode .scripture-band {
  background: linear-gradient(135deg, #6B4F10 0%, #8B6914 50%, #6B4F10 100%);
}

body.light-mode .about { background: var(--charcoal); }
body.light-mode .section-title { color: var(--ivory); }
body.light-mode .body-text { color: var(--stone-light); }

body.light-mode .mission { background: var(--slate-dark); }
body.light-mode .mission-card {
  background: var(--charcoal);
  border-color: var(--border);
}
body.light-mode .mission-card-title { color: var(--ivory); }
body.light-mode .mission-card-text { color: var(--stone-light); }
body.light-mode .vision-statement {
  background: linear-gradient(135deg, rgba(139,105,20,0.08) 0%, transparent 100%);
}
body.light-mode .vision-text { color: var(--stone-light); }

body.light-mode .pillars { background: var(--charcoal); }
body.light-mode .pillar-item {
  border-color: var(--border);
}
body.light-mode .pillar-title { color: var(--ivory); }
body.light-mode .pillar-text { color: var(--stone-light); }

body.light-mode .legacy-bg {
  background: linear-gradient(135deg, #D4C5A0 0%, #C8B888 50%, #D4C5A0 100%);
}
body.light-mode .legacy-quote { color: var(--ivory); }
body.light-mode .legacy-label { color: var(--gold-dark); }
body.light-mode .lp-item {
  background: rgba(139,105,20,0.06);
  border-color: var(--border);
}
body.light-mode .lp-item span { color: var(--stone-light); }

body.light-mode .support { background: var(--slate-dark); }
body.light-mode .giving-tiers,
body.light-mode .payment-methods {
  background: var(--charcoal);
  border-color: var(--border);
}
body.light-mode .tier-btn {
  background: var(--slate-dark);
  border-color: var(--border);
  color: var(--stone-light);
}
body.light-mode .tier-btn:hover { border-color: var(--gold-dark); color: var(--gold-dark); }
body.light-mode .payment-btn {
  background: var(--slate-dark);
  border-color: var(--border);
}
body.light-mode .payment-btn-label { color: var(--ivory); }
body.light-mode .custom-input-wrap { background: var(--slate-dark); }
body.light-mode .custom-input { color: var(--ivory); }
body.light-mode .impact-item {
  background: var(--charcoal);
  border-color: var(--border);
}
body.light-mode .impact-content span { color: var(--stone); }

body.light-mode .contact { background: var(--charcoal); }
body.light-mode .contact-info-content a,
body.light-mode .contact-info-content span { color: var(--stone-light); }
body.light-mode .form-input {
  background: var(--slate-dark);
  border-color: var(--border);
  color: var(--ivory);
}
body.light-mode .form-input:focus {
  background: var(--slate);
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(139,105,20,0.12);
}
body.light-mode .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238B6914' stroke-width='1.5'/%3E%3C/svg%3E");
}
body.light-mode .form-select option { background: #EDE8DE; }

body.light-mode .footer {
  background: #E8E0D0;
  border-color: var(--border);
}
body.light-mode .footer-brand-main { color: var(--ivory); }
body.light-mode .footer-tagline { color: var(--stone); }
body.light-mode .footer-links a { color: var(--stone); }
body.light-mode .footer-links a:hover { color: var(--gold-dark); }
body.light-mode .footer-donate-btn {
  background: var(--slate-dark);
  border-color: var(--border);
  color: var(--ivory);
}
body.light-mode .footer-copy,
body.light-mode .footer-legal { color: var(--stone); }
body.light-mode .footer-bottom { border-color: var(--border); }

body.light-mode .modal {
  background: var(--charcoal);
  border-color: var(--border);
}
body.light-mode .modal-title { color: var(--ivory); }
body.light-mode .modal-notice {
  background: rgba(139,105,20,0.07);
  border-color: rgba(139,105,20,0.18);
}
body.light-mode .modal-notice p { color: var(--stone-light); }
body.light-mode .bank-details {
  background: var(--slate-dark);
  border-color: var(--border);
}
body.light-mode .bank-value { color: var(--ivory); }
body.light-mode .modal-overlay { background: rgba(200,190,170,0.6); }

body.light-mode .back-to-top {
  box-shadow: 0 4px 20px rgba(139,105,20,0.25);
}

::selection { background: var(--gold-dark); color: var(--white); }
body.light-mode ::selection { background: var(--gold-dark); color: var(--white); }

/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--onyx);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::selection { background: var(--gold); color: var(--onyx); }

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--onyx); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────── */
.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
  font-size: 1.1em;
}

.section-intro {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 680px;
  margin: 1.5rem auto 0;
}

.body-text {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ── DIVIDERS ───────────────────────────────────────────── */
.divider-ornamental {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.divider-ornamental.centered { justify-content: center; margin: 1.25rem auto; }
.divider-ornamental::before,
.divider-ornamental::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.divider-ornamental.centered::before,
.divider-ornamental.centered::after { max-width: 60px; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding { padding: var(--section-pad) 0; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--onyx);
  border: 1px solid var(--gold);
  box-shadow: 0 4px 20px rgba(201,168,76,0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--onyx);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.1);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── ANNOUNCEMENT BAR ───────────────────────────────────── */
.announcement-bar {
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: var(--onyx);
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 200;
}

.announcement-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.announcement-icon { font-size: 0.55rem; opacity: 0.7; }

.announcement-close {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--onyx);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.25rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.announcement-close:hover { opacity: 1; }

/* ── NAVIGATION ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.nav-emblem {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.emblem-ring {
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.emblem-ring.small {
  width: 42px;
  height: 42px;
}

.emblem-ring::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 0.5px solid rgba(201,168,76,0.4);
  border-radius: 50%;
}

.emblem-text {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-main {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
}

.nav-brand-sub {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-light);
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.nav-link:hover { color: var(--gold); }

.nav-link-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--onyx) !important;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--gold);
  margin-left: 0.5rem;
}

.nav-link-cta:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--onyx) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(201,168,76,0.3);
}

/* ── THEME TOGGLE BUTTON ───────────────────────────────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  background: var(--slate-dark);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: background 0.35s var(--ease),
              border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease),
              transform 0.25s var(--ease);
  overflow: hidden;
}

body.light-mode .theme-toggle {
  background: var(--gold-pale);
  border-color: rgba(139,105,20,0.35);
}

.theme-toggle:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18), 0 0 14px rgba(201,168,76,0.22);
  transform: scale(1.08);
}

body.light-mode .theme-toggle:hover {
  box-shadow: 0 0 0 3px rgba(139,105,20,0.18), 0 0 14px rgba(245,162,35,0.28);
}

.theme-toggle:active { transform: scale(0.95); }

/* ── SVG ICONS ──────────────────────────────────────────── */
.theme-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: opacity 0.4s var(--ease),
              transform 0.45s var(--ease-out);
}

/* Dark mode → show moon, hide sun */
.theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.theme-icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* Light mode → show sun, hide moon */
body.light-mode .theme-icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
body.light-mode .theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Sun ray spin on hover */
body.light-mode .theme-toggle:hover .sun-rays {
  animation: rayPulse 0.7s var(--ease-out) forwards;
}

@keyframes rayPulse {
  0%   { transform: rotate(0deg)   scale(1);    }
  50%  { transform: rotate(22deg)  scale(1.12); }
  100% { transform: rotate(0deg)   scale(1);    }
}

/* Moon twinkle on hover */
.theme-toggle:not([data-light]):hover .theme-icon-moon,
body:not(.light-mode) .theme-toggle:hover .theme-icon-moon {
  animation: moonWobble 0.5s var(--ease-out) forwards;
}

@keyframes moonWobble {
  0%   { transform: rotate(0deg)   scale(1);   }
  40%  { transform: rotate(-12deg) scale(1.1); }
  100% { transform: rotate(0deg)   scale(1);   }
}

/* ── NAV TOGGLE (hamburger) ─────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.3s var(--ease);
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

/* ── Hero background image ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  /* Subtle ken-burns entrance */
  animation: heroPan 18s ease-in-out infinite alternate;
}

@keyframes heroPan {
  from { transform: scale(1.0) translateX(0); }
  to   { transform: scale(1.04) translateX(-1%); }
}

/* Directional overlay:
   - Left ~55%: near-solid dark  →  text is fully legible
   - Middle band: gradient fade
   - Right ~45%: semi-transparent →  family photo shows clearly   */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(10,10,10,0.97)  0%,
      rgba(10,10,10,0.92) 30%,
      rgba(10,10,10,0.72) 52%,
      rgba(10,10,10,0.28) 70%,
      rgba(10,10,10,0.08) 85%,
      rgba(10,10,10,0.04) 100%
    ),
    /* top & bottom vignette */
    linear-gradient(
      to bottom,
      rgba(10,10,10,0.55) 0%,
      transparent 18%,
      transparent 80%,
      rgba(10,10,10,0.75) 100%
    );
  z-index: 1;
}

body.light-mode .hero-overlay {
  background:
    linear-gradient(
      to right,
      rgba(240,235,224,0.96)  0%,
      rgba(240,235,224,0.90) 30%,
      rgba(240,235,224,0.65) 52%,
      rgba(240,235,224,0.20) 70%,
      rgba(240,235,224,0.05) 85%,
      rgba(240,235,224,0.00) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(240,235,224,0.45) 0%,
      transparent 18%,
      transparent 80%,
      rgba(240,235,224,0.65) 100%
    );
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(201,168,76,0.025) 79px,
      rgba(201,168,76,0.025) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(201,168,76,0.025) 79px,
      rgba(201,168,76,0.025) 80px
    );
  z-index: 2;
  pointer-events: none;
}

/* ── Hero inner two-column layout ── */
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 7rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  min-height: 100vh;
}

/* LEFT column — text */
.hero-content {
  position: relative;
  text-align: left;
  max-width: 580px;
}

/* RIGHT column — purely a spacer; the photo shows through the overlay */
.hero-spacer { display: block; }

.hero-badge {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-badge span {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

.badge-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.badge-line:last-child {
  background: linear-gradient(270deg, transparent, var(--gold));
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.04em;
  color: var(--ivory);
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.08em;
}

.hero-title-line { display: block; }

.hero-title-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  font-size: 1.15em;
  letter-spacing: 0.02em;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--gold-pale);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.hero-subtext {
  font-family: var(--font-serif);
  font-size: clamp(0.92rem, 1.5vw, 1.1rem);
  color: var(--stone-light);
  line-height: 1.8;
  margin-bottom: 2.25rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-scroll {
  display: flex;
  justify-content: flex-start;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--stone);
  font-size: 0.65rem;
  text-decoration: none;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--gold-dark));
}

.scroll-indicator i { color: var(--gold-dark); font-size: 0.7rem; }

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

.hero-ornament {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 4;
  pointer-events: none;
}
.hero-ornament-left { left: 3rem; }

.ornament-vertical {
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(201,168,76,0.18) 25%, rgba(201,168,76,0.18) 75%, transparent 100%);
}

/* ── SCRIPTURE BAND ─────────────────────────────────────── */
.scripture-band {
  background: linear-gradient(135deg, var(--gold-dark) 0%, #6B4F10 50%, var(--gold-dark) 100%);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.scripture-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.05) 10px,
    rgba(0,0,0,0.05) 11px
  );
}

.scripture-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.scripture-mark {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.scripture-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--ivory);
  line-height: 1.75;
  font-weight: 300;
}

.scripture-ref {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-style: normal;
}

/* ── ABOUT SECTION ──────────────────────────────────────── */
.about { background: var(--charcoal); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about-emblem-large {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emblem-outer-ring {
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: slowRotate 60s linear infinite;
}

.emblem-inner-ring {
  width: 78%;
  height: 78%;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emblem-core {
  width: 70%;
  height: 70%;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.emblem-acronym {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.emblem-founded {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.7rem;
  color: var(--stone);
  letter-spacing: 0.08em;
}

.emblem-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slowRotate 60s linear infinite reverse;
}

.emblem-ring-text span {
  position: absolute;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.45);
}

@keyframes slowRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Circular text positioning */
.emblem-ring-text span::before {
  content: attr(data-text);
}

.about-visual-lines {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  max-width: 200px;
}

.vis-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.vis-line:nth-child(2) { opacity: 0.2; }
.vis-line:nth-child(3) { opacity: 0.1; }

.about-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* ── MISSION SECTION ────────────────────────────────────── */
.mission {
  background: var(--slate-dark);
  position: relative;
  overflow: hidden;
}

.mission-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 50%, rgba(201,168,76,0.04) 0%, transparent 40%),
                    radial-gradient(circle at 90% 50%, rgba(201,168,76,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.mission-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(201,168,76,0.35);
}

.mission-card:hover::before { opacity: 1; }

.mission-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  background: rgba(201,168,76,0.05);
  transition: all 0.4s var(--ease);
}

.mission-card:hover .mission-card-icon {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  transform: scale(1.05);
}

.mission-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.mission-card-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--stone-light);
  line-height: 1.8;
}

.vision-statement {
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 100%);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2.5rem 3rem;
}

.vision-inner {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.vision-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(201,168,76,0.05);
}

.vision-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.vision-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* ── PILLARS SECTION ────────────────────────────────────── */
.pillars { background: var(--charcoal); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.pillar-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201,168,76,0.03);
  opacity: 0;
  transition: opacity 0.3s;
}

.pillar-item:hover::after { opacity: 1; }

.pillar-item:nth-child(3),
.pillar-item:nth-child(6) { border-right: none; }
.pillar-item:nth-child(4),
.pillar-item:nth-child(5),
.pillar-item:nth-child(6) { border-bottom: none; }

.pillar-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.3s;
}

.pillar-item:hover .pillar-number { color: rgba(201,168,76,0.45); }

.pillar-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}

.pillar-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--stone-light);
  line-height: 1.75;
}

/* ── LEGACY SECTION ─────────────────────────────────────── */
.legacy {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.legacy-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0D0800 0%, #1A1000 50%, #0D0800 100%);
}

.legacy-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
}

.legacy-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.legacy-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.legacy-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
}

.legacy-quote::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 6rem;
  color: rgba(201,168,76,0.15);
  position: absolute;
  top: -2rem;
  left: -2rem;
  line-height: 1;
}

.legacy-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.legacy-attribution span {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.attr-line {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.attr-line:last-child {
  background: linear-gradient(270deg, transparent, var(--gold));
}

.legacy-pillars-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.lp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2.5rem;
  border: 1px solid var(--border);
  background: rgba(201,168,76,0.03);
}

.lp-item i {
  font-size: 1.5rem;
  color: var(--gold);
}

.lp-item span {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.lp-connector {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--gold), var(--border));
}

/* ── SUPPORT SECTION ────────────────────────────────────── */
.support { background: var(--slate-dark); }

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.giving-tiers,
.payment-methods {
  background: var(--charcoal);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 2px;
}

.giving-title,
.payment-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.tier-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.tier-btn {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--stone-light);
  border: 1px solid var(--border);
  background: var(--slate-dark);
  padding: 0.85rem;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.tier-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.tier-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-color: var(--gold);
  color: var(--onyx);
}

.tier-custom {
  grid-column: span 3;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 0.9rem;
}

.custom-input-wrap {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--gold);
  background: var(--slate-dark);
  padding: 0.75rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.custom-input-wrap.active { display: flex; }

.currency-symbol {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
}

.custom-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1rem;
  outline: none;
}

.custom-input::placeholder { color: var(--stone); }

.giving-type {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.giving-type-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--stone-light);
  cursor: pointer;
}

.giving-type-label input[type="radio"] {
  accent-color: var(--gold);
  cursor: pointer;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.payment-btn {
  border: 1px solid var(--border);
  background: var(--slate-dark);
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}

.payment-btn:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: -3px 0 0 0 var(--gold);
}

.payment-btn-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.payment-btn i:first-child {
  font-size: 1.3rem;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.stripe-btn i:first-child { color: #635bff; }
.paypal-btn i:first-child { color: #0070ba; }
.bank-btn i:first-child { color: var(--gold); }

.payment-btn-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.payment-btn-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ivory);
}

.payment-btn-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--stone);
  margin-top: 0.15rem;
}

.payment-arrow {
  color: var(--stone);
  font-size: 0.7rem;
  transition: all 0.3s;
}

.payment-btn:hover .payment-arrow {
  color: var(--gold);
  transform: translateX(3px);
}

.payment-note {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.5;
}

.payment-note i { color: var(--gold); font-size: 0.7rem; }

.giving-impact {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2.5rem;
}

.impact-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 2rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.impact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.impact-item:hover {
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-2px);
}

.impact-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.impact-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.impact-content strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

.impact-content span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--stone);
  line-height: 1.5;
}

/* ── CONTACT SECTION ────────────────────────────────────── */
.contact {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.contact-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(201,168,76,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(201,168,76,0.05);
}

.contact-info-content h4 {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.contact-info-content a,
.contact-info-content span {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--stone-light);
  line-height: 1.5;
}

.contact-info-content a:hover { color: var(--gold); }

.contact-social { margin-top: 0.5rem; }

.social-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--stone-light);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrap { position: relative; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-input {
  background: var(--slate-dark);
  border: 1px solid var(--border);
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
  background: var(--slate);
}

.form-input::placeholder { color: var(--stone); }

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A84C' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--slate-dark);
  color: var(--ivory);
}

.form-textarea { resize: vertical; min-height: 130px; }

.form-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.04);
  border-radius: 2px;
}

.form-success.visible { display: block; }

.success-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.form-success p {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--stone-light);
  line-height: 1.7;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--onyx);
  border-top: 1px solid var(--border);
}

.footer-top {
  padding: 4rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-emblem { width: 42px; height: 42px; }

.footer-brand-main {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--stone);
  line-height: 2;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--stone);
  text-decoration: none;
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: '—';
  color: var(--gold-dark);
  font-size: 0.75rem;
  opacity: 0.5;
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-support-text {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-support-btns {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-donate-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid var(--border);
  background: var(--slate-dark);
  padding: 0.65rem 1rem;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  text-align: left;
}

.footer-donate-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.06);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--stone);
}

.footer-legal {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-dot { color: var(--gold); }

.footer-bottom-scripture {
  font-size: 0.7rem;
  color: rgba(201,168,76,0.3);
}

/* ── MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--slate-dark);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 3rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-deep);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--stone);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
  background: none;
}

.modal-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--gold);
  background: rgba(201,168,76,0.06);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--stone-light);
}

.modal-subtitle strong { color: var(--gold); }

.modal-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 1.25rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.modal-notice i {
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-notice p {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--stone-light);
  line-height: 1.7;
}

.bank-details {
  background: var(--charcoal);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.bank-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.bank-note {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--stone);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.bank-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.bank-detail-item:last-child { border-bottom: none; }

.bank-label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
}

.bank-value {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--ivory);
}

/* ── BACK TO TOP ────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--onyx);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s var(--ease);
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.45);
}

/* ── REVEAL ANIMATIONS ──────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease-out) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.85s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }

/* ── RESPONSIVE ─────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-pad: 5rem; }

  .nav-right { gap: 0.5rem; }

  /* Hero — tablet: stack to single column, text centred */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 7rem 2rem 4rem;
    min-height: 100vh;
    align-items: center;
  }
  .hero-spacer { display: none; }
  .hero-content {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
  }
  .hero-badge  { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-scroll  { justify-content: center; }
  .hero-subtext { margin: 0 auto 2.25rem; }
  /* On tablet the image still shows — overlay becomes more centred */
  .hero-overlay {
    background:
      linear-gradient(
        to right,
        rgba(10,10,10,0.94) 0%,
        rgba(10,10,10,0.82) 40%,
        rgba(10,10,10,0.55) 70%,
        rgba(10,10,10,0.18) 100%
      ),
      linear-gradient(
        to bottom,
        rgba(10,10,10,0.6) 0%,
        transparent 20%,
        transparent 78%,
        rgba(10,10,10,0.85) 100%
      );
  }
  body.light-mode .hero-overlay {
    background:
      linear-gradient(
        to right,
        rgba(240,235,224,0.94) 0%,
        rgba(240,235,224,0.82) 40%,
        rgba(240,235,224,0.55) 70%,
        rgba(240,235,224,0.18) 100%
      ),
      linear-gradient(
        to bottom,
        rgba(240,235,224,0.55) 0%,
        transparent 20%,
        transparent 78%,
        rgba(240,235,224,0.85) 100%
      );
  }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .about-emblem-large { width: 220px; height: 220px; }

  .mission-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-item:nth-child(2) { border-right: none; }
  .pillar-item:nth-child(3) { border-right: 1px solid var(--border); }
  .pillar-item:nth-child(4) { border-bottom: 1px solid var(--border); }
  .pillar-item:nth-child(4) { border-right: none; }
  .pillar-item:nth-child(5) { border-right: 1px solid var(--border); border-bottom: none; }

  .support-grid { grid-template-columns: 1fr; gap: 2rem; }

  .impact-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-col { grid-column: span 2; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 99;
  }

  .nav-links.open { display: flex; }

  .nav-link {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
  }

  .nav-link-cta { margin-left: 0; }

  .nav-toggle { display: flex; z-index: 101; }
  .theme-toggle { z-index: 101; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --section-pad: 4rem; }

  .container { padding: 0 1.25rem; }

  .hero-inner { padding: 6rem 1.25rem 3.5rem; }
  .hero-ornament { display: none; }
  /* On mobile, anchor image so the family is still partially visible on right */
  .hero-img { object-position: 70% center; }
  .hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(10,10,10,0.75) 0%,
        rgba(10,10,10,0.82) 40%,
        rgba(10,10,10,0.92) 100%
      );
  }
  body.light-mode .hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(240,235,224,0.78) 0%,
        rgba(240,235,224,0.88) 50%,
        rgba(240,235,224,0.96) 100%
      );
  }

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .about-emblem-large { width: 180px; height: 180px; }

  .about-stats { flex-wrap: wrap; gap: 1rem; }

  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-item { border-right: none !important; }
  .pillar-item:last-child { border-bottom: none; }

  .vision-inner { flex-direction: column; gap: 1rem; }

  .tier-options { grid-template-columns: repeat(2, 1fr); }
  .tier-custom { grid-column: span 2; }

  .impact-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-col { grid-column: span 1; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .legacy-pillars-visual { flex-direction: column; }
  .lp-connector { width: 1px; height: 30px; background: linear-gradient(180deg, var(--border), var(--gold), var(--border)); }

  .announcement-inner { flex-direction: column; gap: 0.25rem; }
  .announcement-icon:first-child { display: none; }

  .modal { padding: 2rem 1.5rem; }

  .scripture-band { padding: 2rem 1.25rem; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 2.5rem; }
  .tier-options { grid-template-columns: 1fr 1fr 1fr; }
  .tier-btn { font-size: 0.75rem; padding: 0.7rem 0.4rem; }
}

/* ═══════════════════════════════════════════════════════
   QUIZ INTEGRATION — v3
   ═══════════════════════════════════════════════════════ */

/* ── NAV: Heritage Quiz pill ───────────────────────────── */
.nav-link-quiz {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold) !important;
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  border: 1px solid rgba(201,168,76,0.3);
  transition: all 0.3s var(--ease);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-link-quiz:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  color: var(--gold-light) !important;
}
body.light-mode .nav-link-quiz {
  color: var(--gold-dark) !important;
  border-color: rgba(139,105,20,0.3);
}
body.light-mode .nav-link-quiz:hover {
  background: rgba(139,105,20,0.08);
  color: var(--gold-dark) !important;
}

/* ── HERO: quiz primary button ─────────────────────────── */
.btn-quiz-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-dark) 100%);
  color: var(--onyx) !important;
  border: 1px solid var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 24px rgba(201,168,76,0.35);
  position: relative;
  overflow: hidden;
}
.btn-quiz-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.55s var(--ease);
  pointer-events: none;
}
.btn-quiz-primary:hover::before { left: 160%; }
.btn-quiz-primary:hover {
  background: linear-gradient(135deg, #F5E9C8 0%, var(--gold-light) 60%, var(--gold) 100%);
  color: var(--onyx) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(201,168,76,0.5);
}

/* Hero support button — slightly muted so quiz stays primary */
.btn-support-hero {
  opacity: 0.85;
}
.btn-support-hero:hover { opacity: 1; }

/* Hero inline text link (Explore the Heritage Journey) */
.hero-cta-sublink {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero-cta-text-link {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-pale);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
  letter-spacing: 0.02em;
}
.hero-cta-text-link i {
  font-size: 0.7rem;
  transition: transform 0.3s var(--ease);
}
.hero-cta-text-link:hover {
  color: var(--gold-light);
  gap: 0.7rem;
}
.hero-cta-text-link:hover i { transform: translateX(3px); }
body.light-mode .hero-cta-text-link { color: var(--gold-dark); }
body.light-mode .hero-cta-text-link:hover { color: var(--gold); }

/* ── MID-PAGE QUIZ CTA SECTION ─────────────────────────── */
.quiz-cta-section {
  background: var(--slate-dark);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Subtle background shimmer */
.quiz-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(201,168,76,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(201,168,76,0.04) 0%, transparent 55%);
  pointer-events: none;
}

/* Top & bottom border lines */
.quiz-cta-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.35;
}

body.light-mode .quiz-cta-section { background: var(--slate-dark); }

.quiz-cta-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: center;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 3.5rem 3.5rem 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.quiz-cta-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-dark));
}
.quiz-cta-inner:hover {
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 12px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.1);
}

body.light-mode .quiz-cta-inner { background: var(--charcoal); }

/* Left icon column */
.quiz-cta-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(201,168,76,0.06);
  font-size: 1.75rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: all 0.4s var(--ease);
}
.quiz-cta-inner:hover .quiz-cta-icon {
  background: rgba(201,168,76,0.14);
  border-color: var(--gold);
  transform: rotate(-8deg) scale(1.06);
}

/* Body text */
.quiz-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 1rem;
}
body.light-mode .quiz-cta-heading { color: var(--ivory); }

.quiz-cta-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--stone-light);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  max-width: 620px;
}

.quiz-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.quiz-trust-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--stone);
  letter-spacing: 0.04em;
}
.quiz-trust-line i { color: var(--gold); font-size: 0.65rem; }

/* Right decorative motif */
.quiz-cta-motif {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz-motif-ring {
  width: 90px;
  height: 90px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slowRotate 40s linear infinite;
  position: relative;
}
.quiz-motif-ring::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 0.5px solid rgba(201,168,76,0.2);
  border-radius: 50%;
}
.quiz-motif-inner {
  font-size: 1.5rem;
  color: rgba(201,168,76,0.4);
}

/* ── STICKY MOBILE QUIZ BAR ────────────────────────────── */
.sticky-quiz-bar {
  display: none; /* hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.65rem 1rem;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
  transform: translateY(0);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.sticky-quiz-bar.hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
body.light-mode .sticky-quiz-bar {
  background: rgba(240,235,224,0.97);
  border-color: var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
}

.sticky-quiz-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-dark) 100%);
  color: var(--onyx);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 12px rgba(201,168,76,0.3);
}
.sticky-quiz-btn:hover, .sticky-quiz-btn:focus {
  background: linear-gradient(135deg, #F5E9C8 0%, var(--gold-light) 60%, var(--gold) 100%);
  color: var(--onyx);
  box-shadow: 0 4px 18px rgba(201,168,76,0.45);
}
.sticky-quiz-btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}
.sticky-arrow {
  font-size: 0.65rem;
  margin-left: auto;
  opacity: 0.7;
}

/* ── QUIZ RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  .quiz-cta-inner {
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 2.5rem 2rem 2.5rem 2rem;
  }
  .quiz-cta-motif { display: none; }

  /* Hero: tablet — keep 3 btns if they fit, else let flex-wrap handle */
  .hero-cta-sublink { justify-content: center; }
}

@media (max-width: 768px) {
  /* Sticky quiz bar — visible on mobile */
  .sticky-quiz-bar { display: block; }

  /* Push page content up so sticky bar doesn't overlap */
  body { padding-bottom: 68px; }

  /* Hero CTA: quiz + support full-width, Discover IAH becomes text link */
  .btn-support-hero { display: none; }
  .hero-cta-sublink { margin-top: 0.5rem; }
}

@media (max-width: 640px) {
  .quiz-cta-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .quiz-cta-icon { margin: 0 auto; }
  .quiz-cta-before { display: none; }
  .quiz-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .quiz-cta-actions .btn { width: 100%; justify-content: center; }
  .quiz-trust-line { justify-content: center; }
  .hero-cta-sublink { justify-content: center; }

  /* On very small screens suppress Discover IAH btn in hero, keep quiz + sublink */
  .hero-actions .btn-outline:not(.btn-support-hero) {
    display: none;
  }
}

@media (max-width: 400px) {
  .sticky-quiz-btn { font-size: 0.65rem; letter-spacing: 0.1em; }
}
