/* ================================================================
   BUILT TO RISE FOUNDATION — Homepage Styles
   ================================================================ */

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video layer */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

/* Warm-purple gradient overlay — cinematic grade, not flat dark */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(20, 6, 40, 0.40) 0%,
    rgba(20, 6, 40, 0.52) 35%,
    rgba(20, 6, 40, 0.72) 70%,
    rgba(20, 6, 40, 0.82) 100%
  );
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  padding-top: calc(var(--nav-h) + 1rem);
  width: 100%;
  max-width: 960px;
}

/* "Empowered to Elevate" eyebrow with flanking lines */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.65;
  flex-shrink: 0;
}

/* The headline */
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3.75rem, 10vw, 8.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
  text-shadow: 0 4px 48px rgba(20, 6, 40, 0.5);
}

/* Subheadline */
.hero-sub {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.75vw, 1.1875rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
  max-width: 50ch;
  margin: 0 auto 2.75rem;
}

/* CTA row */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-actions .btn {
  padding: 1rem 2.5rem;
  font-size: 0.9375rem;
}

/* ================================================================
   SECTION 2 — MISSION STRIP
   ================================================================ */
.mission {
  background: #FAF7F2;
  overflow: hidden;
}
.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  max-width: var(--max-w);
  margin-inline: auto;
}

.mission-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem) var(--pad-x);
}

.mission-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--purple);
  margin: 0 0 1.75rem;
  border: none;
  padding: 0;
  quotes: none;
}
.mission-quote::before,
.mission-quote::after { content: none; }

.mission-body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 46ch;
  margin-bottom: 2.25rem;
}

.btn-purple {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--purple);
  border-radius: var(--radius-pill);
  transition: background var(--ease-fast), transform var(--ease-fast), box-shadow var(--ease-fast);
  width: fit-content;
}
.btn-purple:hover {
  background: var(--purple-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(61,26,94,0.22);
}

/* Photo bleeds to right edge of viewport */
.mission-photo {
  overflow: hidden;
  min-height: 520px;
  display: flex;
}
.mission-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
  flex: 1;
  transition: transform 0.6s ease;
}
.mission-photo:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .mission-inner {
    grid-template-columns: 1fr;
  }
  .mission-photo {
    min-height: 540px;
    max-height: 640px;
  }
  /* Account for fixed nav (88px) covering the top —
     shift focal point down so both sign and face land in view */
  .mission-photo img {
    object-position: center 12%;
  }
}

/* ================================================================
   SECTION 3 — FOUR PILLARS
   ================================================================ */
.pillars {
  background: #FDF8EE;
  padding: clamp(5rem, 9vw, 8rem) var(--pad-x);
}
.pillars-inner {
  max-width: var(--max-w);
  margin-inline: auto;
}
.pillars-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}
.pillars-title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--purple);
  line-height: 1.1;
  margin-top: 0.5rem;
}

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

.pillar-card {
  position: relative;
  background: var(--white);
  border-radius: 6px;
  padding: 2.5rem 2rem 2.25rem;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(61,26,94,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

/* Gold top accent bar */
.pillar-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-warm));
}

/* Large faded decorative number */
.pillar-number {
  position: absolute;
  bottom: -0.3rem;
  right: 1rem;
  font-family: var(--serif);
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-pale);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.pillar-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.pillar-desc {
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 100%;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   SECTION 4 — IMPACT + TESTIMONIAL
   ================================================================ */
.impact {
  background: var(--white);
}

/* Stats row */
.impact-stats-row {
  background: #FAF7F2;
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--pad-x);
  border-top: 1px solid rgba(201,146,42,0.18);
  border-bottom: 1px solid rgba(201,146,42,0.18);
}
.impact-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 2rem;
}
.stat-number {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-suffix {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-left: 0.1em;
  vertical-align: top;
  display: inline-block;
  margin-top: 0.25em;
}
.stat-label {
  font-family: var(--sans);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.625rem;
}
.stat-divider {
  width: 1px;
  height: 52px;
  background: rgba(201,146,42,0.3);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .stat-divider { display: none; }
  .stat-item { min-width: 140px; }
}

/* Full-bleed testimonial */
.impact-testimonial {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}
.impact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,6,40,0.55) 0%,
    rgba(20,6,40,0.72) 60%,
    rgba(20,6,40,0.80) 100%
  );
}
.impact-quote-wrap {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 4rem var(--pad-x);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.impact-quote-mark {
  font-family: var(--serif);
  font-size: 8rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 1.5rem;
  display: block;
}
.impact-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.375rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--white);
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
  quotes: none;
  max-width: 100%;
}
.impact-quote::before,
.impact-quote::after { content: none; }
.impact-cite {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-style: normal;
}

/* ================================================================
   SECTION 5 — GET INVOLVED
   ================================================================ */
.involve {
  background: #FDF6E7;
  padding: clamp(5rem, 9vw, 8rem) var(--pad-x);
}
.involve-inner {
  max-width: var(--max-w);
  margin-inline: auto;
}
.involve-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}
.involve-title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--purple);
  margin-top: 0.5rem;
}
.involve-intro {
  font-family: var(--sans);
  font-size: 1.0625rem;
  color: var(--text-body);
  margin: 1rem auto 0;
  max-width: 44ch;
  text-align: center;
}

.involve-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: clamp(4rem, 7vw, 6rem);
}

.involve-card {
  position: relative;
  background: var(--white);
  border-radius: 6px;
  padding: 2.75rem 2.25rem 2.5rem;
  box-shadow: 0 2px 20px rgba(61,26,94,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.involve-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.involve-card-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-warm));
}
.involve-card--featured .involve-card-accent {
  height: 4px;
}
.involve-icon {
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.involve-card-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.875rem;
}
.involve-card-desc {
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-body);
  flex: 1;
  margin-bottom: 1.75rem;
  max-width: 100%;
}
.involve-link {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-bottom: 1.5px solid rgba(201,146,42,0.35);
  padding-bottom: 2px;
  width: fit-content;
  transition: color var(--ease-fast), border-color var(--ease-fast), gap var(--ease-fast);
}
.involve-link:hover {
  color: var(--purple);
  border-color: var(--purple);
  gap: 0.625rem;
}

@media (max-width: 720px) {
  .involve-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

/* Closing declaration */
.involve-declaration {
  text-align: center;
  padding: clamp(2.5rem, 4vw, 3.5rem) var(--pad-x) 0;
  border-top: 1px solid rgba(201,146,42,0.25);
}
.involve-declaration-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--purple);
  line-height: 1.25;
  max-width: 100%;
  margin-inline: auto;
}
.involve-scripture {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.875rem;
  max-width: 100%;
}

/* ── Scroll indicator ──────────────────────────────────────────── */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255, 255, 255, 0.38);
  animation: scroll-float 2.6s ease-in-out infinite;
}
.hero-scroll-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), rgba(255,255,255,0.05));
}
.hero-scroll-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(255,255,255,0.45);
  border-bottom: 1.5px solid rgba(255,255,255,0.45);
  transform: rotate(45deg);
  margin-top: -2px;
}
@keyframes scroll-float {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.55; }
  50%       { transform: translateX(-50%) translateY(9px); opacity: 1;    }
}
