@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Open+Sans:wght@400;600&display=swap');

:root {
  --black:    #050505;
  --dark:     #0c0c0c;
  --panel:    #111111;
  --panel-2:  #161616;
  --red:      #b91c1c;
  --red-hot:  #ef4444;
  --gold:     #d4a017;
  --white:    #ebebeb;
  --muted:    rgba(235,235,235,0.55);
  --line:     rgba(255,255,255,0.07);
  --line-red: rgba(185,28,28,0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--white);
  background: var(--black);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* ── HEADER ─────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,5,5,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--red);
}

.header-inner {
  display: grid;
  /* auto, not a fixed 68px -- the brand mark is now fluid and shrinks on
     scroll, so a hardcoded column would clip it. */
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 10px 0;
}

.brand-logo {
  /* Large at rest so it reads as a logo, compact once scrolled. Fluid so it
     shrinks on a phone rather than crowding the nav toggle. */
  width: clamp(84px, 9vw, 124px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  transition: width .3s cubic-bezier(.2,.7,.3,1);
}

/* .scrolled is toggled by js/site.js past 40px. */
.site-header.scrolled .brand-logo { width: clamp(46px, 4.5vw, 58px); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--muted);
  padding: 6px 12px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  border-color: var(--red);
}

.header-cta .button { white-space: nowrap; }

/* ── HAMBURGER ────────────────────────────────── */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.22s, opacity 0.22s;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ────────────────────────── */

.mobile-nav-drawer {
  display: none;
}

/* ── BUTTONS ─────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.button-primary:hover { background: var(--red-hot); border-color: var(--red-hot); }

.button-gold {
  background: var(--gold);
  color: #050505;
  border-color: var(--gold);
}
.button-gold:hover { background: #e8b520; border-color: #e8b520; }

.button-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.button-outline:hover { border-color: var(--red); color: var(--red); }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ── HERO ─────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('./assets/hero-banner.png');
  background-size: cover;
  background-position: center top;
  filter: brightness(0.18) saturate(0.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5,5,5,0.9) 40%, transparent 100%);
}

.hero-overlay::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--red);
}

.hero-content {
  position: relative;
  padding: 110px 0;
  max-width: 700px;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.4rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--white);
}

.hero h1 span { color: var(--red-hot); }

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(235,235,235,0.72);
  max-width: 520px;
  margin-bottom: 36px;
  border-left: 3px solid var(--red);
  padding-left: 16px;
}

/* ── PAGE HERO ────────────────────────────────── */

.page-hero {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 64px; height: 3px;
  background: var(--red);
}

.page-kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-kicker::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--red);
}

.page-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--white);
  line-height: 1.0;
}

.page-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 680px;
}

/* ── SECTIONS ─────────────────────────────────── */

.section { padding: 72px 0; }

.section-dark {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-kicker::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--red);
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  color: var(--white);
  line-height: 1.0;
}

.section-body {
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--muted);
  max-width: 640px;
}

/* ── CARDS ────────────────────────────────────── */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 28px;
}

.card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  color: var(--white);
}

.card p { color: var(--muted); line-height: 1.75; }

/* ── GRIDS ────────────────────────────────────── */

.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.stack  { display: grid; gap: 2px; }

/* ── PROGRAM ROW LAYOUT ───────────────────────── */

.program-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
}

.program-row img { width: 100%; border-radius: 4px; }

/* ── FAQ LAYOUT ───────────────────────────────── */

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* ── PROMISE STRIP ────────────────────────────── */

.promise-strip {
  background: var(--red);
  padding: 42px 0;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
}

.promise-item {
  padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.promise-item:first-child { padding-left: 0; }
.promise-item:last-child  { border-right: none; }

.promise-item h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 4px;
}

.promise-item p {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── PROGRAM CARDS ────────────────────────────── */

.program-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  overflow: hidden;
  transition: transform 0.2s, border-top-color 0.2s;
}

.program-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--white);
}

.program-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.1);
}

.program-card-body { padding: 22px; }

.program-card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 10px;
}

.program-card-body p { color: var(--muted); line-height: 1.7; font-size: 0.95rem; }

/* ── TESTIMONIALS ─────────────────────────────── */

.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 26px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.testimonial-card p {
  color: rgba(235,235,235,0.82);
  line-height: 1.82;
  font-style: italic;
  margin-bottom: 14px;
}

.testimonial-card cite {
  font-style: normal;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-hot);
}

/* ── FAQ ──────────────────────────────────────── */

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-question {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 8px;
}

.faq-answer { color: var(--muted); line-height: 1.8; }

/* ── DONATE CTA ───────────────────────────────── */

.donate-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 42px;
  text-align: center;
}

.donate-card h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  color: var(--white);
  line-height: 1.05;
}

.donate-card p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 24px;
}

.donate-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── FORM ─────────────────────────────────────── */

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.15);
  padding: 12px 14px;
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  border-radius: 0;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
  background: rgba(255,255,255,0.05);
}

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

/* ── STAR RATING ──────────────────────────────── */

.star-rating {
  display: flex;
  gap: 8px;
  font-size: 1.8rem;
}

.star-rating label {
  cursor: pointer;
  color: rgba(255,255,255,0.15);
  transition: color 0.15s;
  display: flex;
  align-items: center;
}

.star-rating label:hover { color: var(--gold); }
.star-rating label:has(input:checked) { color: var(--gold); }
.star-rating input { display: none; }

/* ── ABOUT ────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  width: 100%;
  filter: grayscale(30%) contrast(1.1);
}

.about-copy h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.05;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.scripture {
  display: block;
  margin-top: 22px;
  padding: 14px 20px;
  border-left: 3px solid var(--red);
  background: rgba(185,28,28,0.08);
  color: rgba(235,235,235,0.75);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ── FOOTER ───────────────────────────────────── */

.site-footer {
  background: var(--dark);
  border-top: 3px solid var(--red);
  padding: 44px 0;
  text-align: center;
}

.footer-logo {
  width: 52px; height: 52px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.footer-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.footer-email { color: var(--red-hot); font-size: 0.95rem; margin-bottom: 12px; }
.footer-email a:hover { color: var(--white); }
.footer-copy { color: rgba(235,235,235,0.3); font-size: 0.85rem; }

/* ── RESPONSIVE: TABLET (≤980px) ─────────────── */

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 58px 1fr; }
  .header-cta { display: none; }

  .grid-3,
  .promise-grid { grid-template-columns: 1fr; }

  .promise-item {
    padding: 18px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  .promise-item:last-child { border-bottom: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; margin: 0 auto; }

  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .faq-sidebar { position: static !important; }

  .program-row {
    grid-template-columns: 1fr;
  }
  .program-row img { max-width: 380px; }
}

/* ── RESPONSIVE: MOBILE (≤768px) ─────────────── */

@media (max-width: 768px) {
  /* Header — always sticky on mobile */
  .site-header { position: sticky; }

  .header-inner {
    grid-template-columns: 50px 1fr 44px;
    gap: 12px;
    position: relative;
  }

  /* Hide desktop nav and CTA, show hamburger */
  .site-nav    { display: none; }
  .header-cta  { display: none; }
  .nav-toggle  { display: flex; }

  /* Mobile nav drawer */
  .mobile-nav-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5,5,5,0.99);
    border-bottom: 3px solid var(--red);
    z-index: 99;
  }

  body.nav-open .mobile-nav-drawer {
    display: block;
  }

  .mobile-nav-drawer nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-drawer nav a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
  }

  .mobile-nav-drawer nav a:last-child {
    border-bottom: none;
  }

  .mobile-nav-drawer nav a:hover,
  .mobile-nav-drawer nav a.active {
    color: var(--white);
    background: rgba(185,28,28,0.1);
    border-left-color: var(--red);
    padding-left: 21px;
  }

  /* Layout */
  .grid-2 { grid-template-columns: 1fr; }
  .hero { min-height: 480px; }
  .hero-content { padding: 72px 0; }
  .hero-sub { font-size: 0.97rem; }
  .section { padding: 48px 0; }
  .page-hero { padding: 36px 0 22px; }

  /* Cards */
  .donate-card { padding: 28px 18px; }
  .donate-options { flex-direction: column; align-items: stretch; }
  .donate-options .button { width: 100%; justify-content: center; }

  /* Buttons */
  .button-row { gap: 10px; }
  .button { min-height: 52px; } /* bigger touch target */

  /* Programs */
  .program-row { grid-template-columns: 1fr; }
  .program-row img { max-width: 100%; }
  .program-card img { aspect-ratio: 16/9; }

  /* FAQ */
  .faq-layout { grid-template-columns: 1fr; }

  /* About */
  .about-grid { gap: 28px; }
  .about-photo { max-width: 260px; }
}

/* ── RESPONSIVE: SMALL MOBILE (≤480px) ───────── */

@media (max-width: 480px) {
  .shell { width: calc(100% - 24px); }
  .donate-card { padding: 22px 14px; }
  .card { padding: 20px 16px; }
  .testimonial-card { padding: 20px 16px; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .section { padding: 36px 0; }
  .promise-strip { padding: 28px 0; }
  .promise-item h3 { font-size: 1.8rem; }
  .button-row { flex-direction: column; align-items: stretch; }
  .button-row .button { width: 100%; justify-content: center; }
}
