:root {
  --purple: #4b075f;
  --purple-deep: #25022f;
  --purple-soft: #7d2c91;
  --cream: #f8f3ea;
  --paper: #fffdf8;
  --gold: #e8be6b;
  --ink: #171219;
  --muted: #6e6670;
  --line: rgba(23, 18, 25, 0.13);
  --radius: 24px;
  --shadow: 0 30px 80px rgba(36, 3, 46, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; padding: .7rem 1rem; background: white; z-index: 100; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem clamp(1.25rem, 5vw, 5rem);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand { display: flex; align-items: center; gap: .8rem; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
nav { display: flex; align-items: center; gap: 2rem; font-size: .92rem; font-weight: 600; }
nav a { opacity: .82; transition: opacity .2s; }
nav a:hover { opacity: 1; }
.nav-give { border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: .55rem 1.15rem; }
.menu-button { display: none; color: white; background: transparent; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: .45rem .8rem; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: white; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: url("assets/images/headquarters-hero.webp") center 38% / cover no-repeat; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,2,24,.92) 0%, rgba(43,3,54,.6) 52%, rgba(10,4,12,.25) 100%), linear-gradient(0deg, rgba(14,4,16,.65), transparent 55%); }
.hero-content { position: relative; z-index: 1; width: min(850px, 90%); padding: 11rem clamp(1.25rem, 8vw, 8rem) 8rem; }
.hero h1, h2 { font-family: "Manrope", sans-serif; letter-spacing: -.055em; line-height: 1.02; margin: 0; }
.hero h1 { font-size: clamp(3.2rem, 7.8vw, 7.3rem); max-width: 960px; }
.hero-content > p:not(.eyebrow) { max-width: 610px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.78); }
.eyebrow { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .16em; color: var(--purple-soft); font-size: .76rem; font-weight: 800; }
.eyebrow.light { color: var(--gold); }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.2rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: .9rem 1.4rem; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(0,0,0,.2); }
.button-light { background: white; color: var(--purple-deep); }
.button-gold { background: var(--gold); color: var(--purple-deep); }
.button-purple { background: var(--purple); color: white; }
.text-link { font-weight: 700; }
.light-link { color: white; }
.scroll-cue { position: absolute; right: 2rem; bottom: 3rem; z-index: 2; writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; color: rgba(255,255,255,.65); }

.section { position: relative; padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 8rem); }
.section-number { position: absolute; top: 5rem; left: 2rem; color: var(--purple); font-size: .72rem; font-weight: 800; }
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .75fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); background: var(--cream); }
.about h2, .news h2, .give h2, .devotional h2 { font-size: clamp(2.7rem, 5vw, 5.4rem); }
.lead { margin: 2rem 0 1rem; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.55; }
.about-copy > p:last-child { color: var(--muted); max-width: 570px; }
.about-photo { margin: 0; }
.about-photo img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo figcaption { margin-top: .8rem; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }

.leadership { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); align-items: start; gap: clamp(3rem, 8vw, 8rem); background: var(--paper); }
.leadership-photo { position: sticky; top: 2rem; margin: 0; }
.leadership-photo img { aspect-ratio: 3/4; object-fit: cover; object-position: center top; border-radius: var(--radius); box-shadow: var(--shadow); filter: contrast(1.02); }
.leadership-photo figcaption { margin-top: .8rem; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .11em; }
.leadership h2 { font-size: clamp(2.8rem, 5vw, 5.7rem); }
.leadership-name { margin: .8rem 0 2.2rem; color: var(--purple); text-transform: uppercase; letter-spacing: .15em; font-weight: 800; font-size: .78rem; }
.leadership blockquote { margin: 0 0 2.5rem; padding: 1.8rem 0 1.8rem 1.8rem; color: var(--purple); border-left: 3px solid var(--gold); font-family: "Manrope", sans-serif; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 700; line-height: 1.45; }
.biography { color: var(--muted); }
.biography p { margin: 0 0 1.1rem; }

.vision-mission { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); background: var(--purple-deep); color: white; }
.vision-mission h2 { font-family: "Manrope", sans-serif; letter-spacing: -.03em; font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0 0 1.3rem; color: white; }
.vision-block .eyebrow { color: var(--gold); }
.vision-text { max-width: 480px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: rgba(255,255,255,.78); }
.mission-block h2 { margin-top: 2.7rem; }
.mission-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.mission-list li { display: flex; align-items: center; gap: 1.2rem; padding: 1.05rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.mission-letter { display: grid; place-items: center; flex-shrink: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--gold); color: var(--purple-deep); font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.15rem; }
.mission-word { font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 700; letter-spacing: -.01em; }
@media (max-width: 780px) { .vision-mission { grid-template-columns: 1fr; } .mission-block h2 { margin-top: 2.2rem; } }

.devotional { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: clamp(3rem, 9vw, 9rem); color: white; background: radial-gradient(circle at 20% 10%, #7e258c, transparent 32%), var(--purple-deep); overflow: hidden; }
.devotional-visual { display: grid; place-items: center; perspective: 1200px; }
.devotional-cover { width: min(390px, 82vw); border-radius: 10px 24px 24px 10px; box-shadow: -18px 18px 0 var(--gold), 0 45px 80px rgba(0,0,0,.38); transform: rotateY(8deg) rotateZ(-1.5deg); }
.devotional-date { margin: 0 0 .7rem; color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; }
.devotional-copy > p:not(.eyebrow):not(.microcopy):not(.devotional-date) { max-width: 570px; color: rgba(255,255,255,.72); font-size: 1.12rem; }
.microcopy { color: rgba(255,255,255,.52); font-size: .8rem; }

.news { background: var(--paper); }
.upcoming-event { display: grid; grid-template-columns: .38fr 1fr; margin-bottom: clamp(5rem, 10vw, 9rem); color: white; background: var(--purple); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.event-date-block { min-height: 420px; display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); color: var(--purple-deep); background: var(--gold); }
.event-date-block span { text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 800; }
.event-date-block strong { display: block; margin: 2rem 0 .4rem; font-family: "Manrope", sans-serif; font-size: clamp(3.2rem, 6vw, 6rem); line-height: .86; letter-spacing: -.07em; }
.event-date-block small { font-size: .92rem; font-weight: 700; }
.event-details { padding: clamp(2rem, 5vw, 4.5rem); }
.event-details h2 { max-width: 800px; font-size: clamp(2.4rem, 4.5vw, 4.8rem); }
.event-sessions { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.7rem; border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.event-sessions > div { min-height: 175px; display: flex; flex-direction: column; padding: 1.25rem; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.event-sessions span { color: rgba(255,255,255,.65); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.event-sessions strong { margin: auto 0 .4rem; color: var(--gold); font-size: 1.5rem; }
.event-sessions small { color: rgba(255,255,255,.7); }
.event-venue { margin: 1.2rem 0 0; color: rgba(255,255,255,.5); font-size: .8rem; }
.news-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.news-heading h2 { max-width: 780px; }
.news-date { white-space: nowrap; color: var(--purple); font-weight: 700; }
.news-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 380px auto; gap: 1rem; }
.news-main, .news-side { height: 100%; object-fit: cover; border-radius: var(--radius); }
.news-main { grid-row: 1 / 3; }
.news-story { padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--cream); border-radius: var(--radius); }
.news-story p { margin: 0 0 1rem; }
.story-signoff { color: var(--purple); }
.photo-strip { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 1rem; margin-top: 1rem; }
.photo-strip img { height: 300px; object-fit: cover; border-radius: var(--radius); }

.visit { color: white; background: #18031f; }
.visit::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 85% 5%, rgba(125,44,145,.38), transparent 32%); }
.visit > * { position: relative; }
.visit-heading { max-width: 900px; }
.visit-heading h2 { font-size: clamp(2.7rem, 5vw, 5.4rem); }
.visit-heading > p:last-child { max-width: 620px; color: rgba(255,255,255,.66); font-size: 1.08rem; }
.service-times { display: grid; grid-template-columns: 1fr 1fr; margin-top: 3.5rem; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.service-times article { min-height: 300px; display: flex; flex-direction: column; padding: clamp(1.5rem, 4vw, 3rem); border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.service-day { color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 800; }
.service-times h3 { margin: auto 0 .5rem; font-family: "Manrope", sans-serif; font-size: clamp(1.8rem, 4vw, 3.4rem); letter-spacing: -.04em; }
.service-times p { margin: 0; color: var(--gold); font-family: "Manrope", sans-serif; font-size: 2rem; font-weight: 800; }
.service-times small { color: rgba(255,255,255,.52); }
.locations-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin: clamp(5rem, 9vw, 8rem) 0 2rem; }
.locations-heading h3 { margin: 0; max-width: 640px; font-family: "Manrope", sans-serif; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.045em; }
.locations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.location-card { min-height: 260px; padding: clamp(1.5rem, 4vw, 3rem); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); }
.location-card span { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 800; }
.location-card h3 { margin: 3rem 0 .7rem; font-family: "Manrope", sans-serif; font-size: clamp(1.7rem, 3vw, 2.8rem); letter-spacing: -.04em; }
.location-card address { max-width: 520px; color: rgba(255,255,255,.62); font-style: normal; }
.featured-location { color: var(--purple-deep); background: var(--gold); border-color: var(--gold); }
.featured-location span, .featured-location address { color: rgba(37,2,47,.7); }

.podcast { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: clamp(3rem, 9vw, 9rem); background: var(--cream); overflow: hidden; }
.podcast-art { position: relative; min-height: 560px; display: grid; place-items: center; }
.podcast-art img { position: relative; z-index: 2; width: min(380px, 75vw); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 10px solid var(--paper); box-shadow: var(--shadow); }
.podcast-art > span { position: absolute; z-index: 3; right: 4%; bottom: 14%; padding: .75rem 1rem; color: white; background: #1db954; border-radius: 999px; font-size: .78rem; font-weight: 800; transform: rotate(-5deg); }
.podcast-rings { position: absolute; width: 520px; height: 520px; border: 1px solid rgba(75,7,95,.18); border-radius: 50%; }
.podcast-rings::before, .podcast-rings::after { content: ""; position: absolute; border: 1px solid rgba(75,7,95,.14); border-radius: 50%; }
.podcast-rings::before { inset: 45px; }
.podcast-rings::after { inset: 90px; }
.podcast-copy h2 { font-size: clamp(2.7rem, 5vw, 5.4rem); }
.podcast-copy > p:not(.eyebrow) { max-width: 570px; color: var(--muted); font-size: 1.1rem; }
.button-spotify { color: white; background: #1db954; }

.give { color: white; background: var(--purple); }
.give-intro { max-width: 950px; margin-bottom: 3rem; }
.give-intro > p:not(.eyebrow) { max-width: 580px; color: rgba(255,255,255,.7); font-size: 1.1rem; }
.giving-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.giving-card { min-height: 310px; display: flex; flex-direction: column; padding: 1.6rem; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); transition: background .25s, color .25s, transform .25s; }
.giving-card:hover { z-index: 1; color: var(--purple-deep); background: var(--gold); transform: translateY(-6px); }
.giving-number { color: rgba(255,255,255,.55); font-size: .75rem; }
.giving-card:hover .giving-number { color: var(--purple); }
.giving-card h3 { margin: auto 0 .5rem; font-family: "Manrope", sans-serif; font-size: 2rem; letter-spacing: -.04em; }
.giving-card p { margin: 0 0 1.5rem; color: rgba(255,255,255,.65); font-size: .9rem; }
.giving-card:hover p { color: rgba(37,2,47,.72); }
.card-action { font-weight: 700; font-size: .85rem; }
footer { padding: 3rem clamp(1.25rem, 5vw, 5rem); color: white; background: #140218; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.footer-brand p { margin: .2rem 0 0; color: rgba(255,255,255,.55); }
.footer-links { display: flex; gap: 1.3rem; color: rgba(255,255,255,.68); }
.social-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .7rem; }
.social-links a { padding: .55rem .9rem; color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .82rem; transition: color .2s, border-color .2s; }
.social-links a:hover { color: var(--gold); border-color: var(--gold); }
.copyright { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.42); font-size: .8rem; }

.support-dialog { width: min(560px, calc(100% - 2rem)); padding: clamp(2rem, 6vw, 4rem); border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.support-dialog::backdrop { background: rgba(20,2,24,.78); backdrop-filter: blur(5px); }
.support-dialog h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer; }
.dialog-actions { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.8rem; }
.text-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 1.5rem; transform: translate(-50%, 130%); max-width: calc(100% - 2rem); padding: .8rem 1.2rem; color: white; background: #171219; border-radius: 999px; transition: transform .3s; text-align: center; }
.toast.show { transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { position: absolute; }
  .menu-button { display: block; }
  nav { display: none; position: absolute; top: 82px; left: 1rem; right: 1rem; padding: 1.2rem; flex-direction: column; align-items: stretch; gap: .7rem; color: var(--ink); background: white; border-radius: 18px; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  nav a { padding: .45rem; }
  .nav-give { color: white; background: var(--purple); text-align: center; }
  .hero-content { padding-bottom: 5rem; }
  .about, .leadership, .devotional, .podcast { grid-template-columns: 1fr; }
  .leadership-photo { position: static; }
  .upcoming-event { grid-template-columns: 1fr; }
  .event-date-block { min-height: auto; }
  .section-number { display: none; }
  .devotional-copy { order: -1; }
  .news-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .news-main { grid-row: auto; height: 500px; }
  .news-side { height: 360px; }
  .giving-grid { grid-template-columns: repeat(2, 1fr); }
  .podcast-copy { order: -1; }
}

@media (max-width: 600px) {
  .brand span { display: none; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-image { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(19,2,24,.94), rgba(43,3,54,.48)), linear-gradient(0deg, rgba(14,4,16,.75), transparent); }
  .scroll-cue { display: none; }
  .news-heading { align-items: start; flex-direction: column; }
  .news-main { height: 380px; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip img { height: 220px; }
  .photo-strip img:first-child { grid-column: 1 / -1; }
  .giving-grid { grid-template-columns: 1fr; }
  .event-sessions { grid-template-columns: 1fr; }
  .service-times, .locations-grid { grid-template-columns: 1fr; }
  .locations-heading { align-items: start; flex-direction: column; }
  .podcast-art { min-height: 430px; }
  .podcast-rings { width: 390px; height: 390px; }
  .giving-card { min-height: 240px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
