/* ── TOKENS ── */
:root {
  --white: #ffffff;
  --bg: #ededed;
  --black: #000000;
  --accent: #2a967d;
  --gray: #949494;
  --gray-dark: #474747;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Outfit', sans-serif; background: var(--bg); color: var(--black); overflow-x: hidden; }

/* ── HERO (background wrapper + video + overlay + text — height lives on .about-hero-viewport) ── */
.hero-section {
  background: var(--bg);
  position: relative;
  width: 100%;
}
.about-hero-viewport {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 500px;
}
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}
.hero-bg-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.hero-bg-wrap.is-fallback {
  background: linear-gradient(160deg, #1a1520 0%, #2a1f35 50%, #1a2030 100%);
}
.hero-bg-wrap.is-fallback .about-hero-video {
  display: none;
}
.about-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  will-change: transform;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.38);
  pointer-events: none;
}
.hero-text-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-eyebrow {
  font-family: 'Outfit', sans-serif; font-weight: 400;
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-church-name {
  font-family: 'Judson', serif; font-style: italic;
  font-size: clamp(52px, 8vw, 130px);
  letter-spacing: -0.06em; line-height: 0.5em;
  color: var(--white);
  text-shadow: 0 0 50px rgba(0,0,0,0.5);
  text-align: center;
}
.hero-church-name strong { font-style: normal; font-weight: 700; }
.word { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(10px); transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease; }
.word.show { opacity: 1; filter: blur(0); transform: translateY(0); }

/* ── WHITE CARD LIFT ── */
.white-lift {
  position: relative; z-index: 3;
  margin-top: -60px;
  border-radius: 60px 60px 0 0;
  background: var(--white);
  box-shadow: 0 0 10px -5px var(--black);
  overflow: hidden;
}

/* ── SECTIONS ── */
.section-white {
  background: var(--white);
  padding: 150px 0 200px;
}
.section-gray {
  background: var(--bg);
  padding: 150px 0 150px;
}
.section-inner {
  width: 100%; max-width: 1000px;
  margin: 0 auto; padding: 0 40px;
  display: flex; flex-direction: column; gap: 150px;
}

/* ── TWO-COLUMN ROW ── */
.row {
  display: flex; align-items: center; gap: 100px;
}
.row-img {
  flex: 1; border-radius: 30px; overflow: hidden;
  box-shadow: 0 0 10px -5px var(--black); background: #eee;
  flex-shrink: 0;
}
.row-img img { width: 120%; height: 120%; object-fit: cover; object-position: center; display: block; margin: -10%; }
.row-img-ph {
  width: 100%; min-height: 400px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  color: rgba(0,0,0,0.2); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  padding: 40px;
}
.row-text { flex: 1; display: flex; flex-direction: column; gap: 30px; overflow: hidden; }
.row-reverse { flex-direction: row-reverse; }

/* ── HEADINGS ── */
.s-h2 {
  font-family: 'Outfit', sans-serif; font-weight: 400;
  font-size: clamp(28px, 4vw, 64px);
  letter-spacing: -0.03em; line-height: 1em;
  color: var(--black);
}
.s-h3 {
  font-family: 'Outfit', sans-serif; font-weight: 400;
  font-size: clamp(22px, 2.5vw, 40px);
  letter-spacing: -0.03em; line-height: 0.9em;
  text-shadow: 0 0 33px rgba(0,0,0,0.09);
}
.s-body {
  font-family: 'Outfit', sans-serif; font-weight: 400;
  font-size: clamp(15px, 1.5vw, 21px);
  letter-spacing: -0.02em; line-height: 1.4em;
  color: var(--black);
}
.s-label {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gray); font-weight: 500;
}
.accent-text { color: var(--accent); }

/* ── UNDERLINE LINK ── */
.ulink {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 400; letter-spacing: -0.02em;
  color: var(--black); text-decoration: none;
  position: relative; padding-bottom: 3px;
  width: fit-content;
}
.ulink::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 100%;
  height: 1px; background: var(--black); transition: right 0.3s ease;
}
.ulink:hover::after { right: 0; }
.ucircle {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.2s;
}
.ulink:hover .ucircle { transform: scale(1.2); }

/* ── VALUES ROW ── */
.values-row {
  display: flex; align-items: center; gap: 50px;
}
.values-right-text { flex: 1; text-align: right; }
.faith-phrases { flex: 1; }

/* ── LEADERSHIP CARDS (pyramid: 1 → 2 → 3) ── */
.leader-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px;
}
.leader-pyramid {
  display: flex; flex-direction: column; align-items: center; gap: 40px; width: 100%;
}
.lp-row {
  display: grid; gap: 40px; width: 100%; max-width: 1000px;
  justify-items: center;
}
.lp-row .leader-card { width: 100%; max-width: 400px; }
.lp-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-row-top { max-width: 400px; }
.leader-card {
  display: flex; flex-direction: column; gap: 20px;
}
.leader-img {
  aspect-ratio: 0.85; border-radius: 24px; overflow: hidden;
  box-shadow: 0 0 10px -5px var(--black); background: #ddd;
}
.leader-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.leader-img-ph {
  width: 100%; height: 100%; min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  color: rgba(0,0,0,0.2); font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
}
.leader-role {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
.leader-name {
  font-family: 'Outfit', sans-serif; font-weight: 400;
  font-size: clamp(20px, 2vw, 32px);
  letter-spacing: -0.03em; line-height: 1em;
  color: var(--black);
}
.leader-bio {
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: -0.01em; line-height: 1.5em;
  color: var(--gray-dark);
}

/* ── BELIEFS GRID ── */
.beliefs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px;
}
.belief-item {
  display: flex; flex-direction: column; gap: 12px;
  padding: 30px; border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.belief-item:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}
.belief-num {
  font-family: 'Judson', serif; font-style: italic;
  font-size: 40px; color: rgba(0,0,0,0.07); line-height: 1; letter-spacing: -0.04em;
}
.belief-title {
  font-family: 'Outfit', sans-serif; font-weight: 500;
  font-size: 17px; letter-spacing: -0.02em; color: var(--black);
}
.belief-text {
  font-size: 14px; letter-spacing: -0.01em; line-height: 1.55em;
  color: var(--gray-dark);
}

/* ── BIG CTA ── */
.big-cta {
  display: flex; align-items: center; justify-content: space-evenly;
  width: 100%; height: 300px;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  text-decoration: none; overflow: hidden; position: relative;
  transition: background 0.3s;
}
.big-cta:hover { background: var(--black); }
.big-cta-text {
  font-family: 'Outfit', sans-serif; font-weight: 350;
  font-size: clamp(40px, 10vw, 160px);
  letter-spacing: -0.06em; line-height: 0.9em;
  color: var(--black); transition: color 0.3s; text-align: center;
}
.big-cta:hover .big-cta-text { color: var(--white); }
.big-cta-circle {
  width: 175px; height: 175px; border-radius: 50%;
  border: 1px solid var(--black);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: border-color 0.3s;
}
.big-cta:hover .big-cta-circle { border-color: var(--white); }
.big-cta-circle svg { transition: stroke 0.3s; }
.big-cta:hover .big-cta-circle svg { stroke: var(--white); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d0 { transition-delay: 0s; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.16s; }
.d4 { transition-delay: 0.2s; }
.d5 { transition-delay: 0.24s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .section-inner { padding: 0 25px; gap: 80px; }
  .row, .values-row { flex-direction: column; gap: 40px; }
  .row-reverse { flex-direction: column; }
  .row-img { width: 80%; margin: 0 auto; }
  .leader-grid { grid-template-columns: 1fr 1fr; }
  .lp-row-2 { grid-template-columns: 1fr 1fr; }
  .lp-row-3 { grid-template-columns: 1fr 1fr; }
  .lp-row-3 .leader-card:nth-child(3) { grid-column: 1 / -1; max-width: 400px; justify-self: center; }
  .big-cta-circle { width: 60px; height: 60px; }
}
@media (max-width: 600px) {
  .section-white { padding: 80px 0 80px; }
  .section-gray { padding: 80px 0 80px; }
  .white-lift { border-radius: 30px 30px 0 0; }
  .leader-grid { grid-template-columns: 1fr; }
  .lp-row-2, .lp-row-3 { grid-template-columns: 1fr; }
  .lp-row-3 .leader-card:nth-child(3) { grid-column: auto; }
}
