:root {
  --bg: #0b0f10;
  --bg-soft: #13191b;
  --panel: rgba(19, 25, 27, 0.88);
  --panel-strong: #192123;
  --text: #eef0e6;
  --muted: #a6ada6;
  --gold: #dfb64d;
  --gold-deep: #b58419;
  --blue: #4e88d8;
  --green: #2ca77a;
  --rose: #c75c6f;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 20px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(223, 182, 77, 0.12), transparent 28%),
    linear-gradient(180deg, #0a0d0e 0%, #0f1416 100%);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(11, 15, 16, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #111;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  padding: 0.7rem;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

.hero {
  position: relative;
  padding: 7rem 0 5rem;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(78, 136, 216, 0.1), transparent 20%),
    radial-gradient(circle at 80% 10%, rgba(223, 182, 77, 0.12), transparent 24%),
    linear-gradient(rgba(223, 182, 77, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223, 182, 77, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  pointer-events: none;
}

.hero-grid,
.two-column {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-tag,
.card-chip,
.event-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(223, 182, 77, 0.35);
  background: rgba(223, 182, 77, 0.08);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.section h2,
.hero-card h2,
.conference-card h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3.2rem, 9vw, 6.1rem);
  max-width: 8ch;
}

.hero-text,
.section-copy p,
.section-summary,
.hero-card p,
.spotlight-card p,
.info-card p,
.featured-event p,
.event-row span,
.sermon-card p,
.give-panel p,
.connect-card p,
.site-footer p,
.story-card p,
.metric-card span {
  color: var(--muted);
}

.hero-verse {
  color: rgba(238, 240, 230, 0.75);
  font-style: italic;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.hero-card,
.stat-card,
.pillar,
.spotlight-card,
.info-card,
.featured-event,
.event-row,
.conference-card,
.form-card,
.sermon-card,
.connect-card,
.story-card,
.give-panel,
.detail-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-card,
.spotlight-card,
.conference-card,
.form-card,
.featured-event,
.give-panel {
  padding: 1.75rem;
}

.feature-list {
  padding-left: 1.1rem;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #111;
}

.button-secondary,
.button-tertiary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button-tertiary {
  width: 100%;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(223, 182, 77, 0.25);
  border-bottom: 1px solid rgba(223, 182, 77, 0.25);
  background: linear-gradient(90deg, rgba(223, 182, 77, 0.08), rgba(255, 255, 255, 0.02), rgba(223, 182, 77, 0.08));
}

.ticker-track {
  display: flex;
  gap: 2rem;
  padding: 0.9rem 0;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: "Syne", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 5.5rem 0;
}

.section-dark {
  background: rgba(255, 255, 255, 0.02);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 12ch;
}

.section-summary {
  max-width: 34rem;
}

.section-copy blockquote {
  margin: 1.5rem 0;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--gold);
  background: rgba(223, 182, 77, 0.07);
  border-radius: 0 16px 16px 0;
}

.stats-grid,
.pillars-grid,
.online-grid,
.events-grid,
.sermons-grid,
.connect-grid,
.story-grid,
.detail-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid,
.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pillars-grid,
.sermons-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.online-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
}

.events-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.event-list {
  display: grid;
  gap: 1rem;
}

.connect-grid,
.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.pillar,
.info-card,
.event-row,
.sermon-card,
.connect-card,
.story-card,
.detail-card {
  padding: 1.4rem;
}

.stat-card strong,
.pillar h3,
.spotlight-card h3,
.info-card h3,
.featured-event h3,
.event-row strong,
.sermon-card h3,
.connect-card h3,
.detail-card strong,
.form-card h3 {
  display: block;
  margin-bottom: 0.4rem;
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
}

.accent-gold {
  border-color: rgba(223, 182, 77, 0.35);
}

.accent-blue {
  border-color: rgba(78, 136, 216, 0.35);
}

.accent-green {
  border-color: rgba(44, 167, 122, 0.35);
}

.accent-rose {
  border-color: rgba(199, 92, 111, 0.35);
}

.conference-section {
  position: relative;
}

.conference-card {
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: start;
  background:
    radial-gradient(circle at top right, rgba(223, 182, 77, 0.12), transparent 30%),
    rgba(25, 33, 35, 0.95);
}

.conference-logo {
  width: 72px;
  margin-bottom: 1rem;
}

.detail-card span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-card {
  display: grid;
  gap: 1rem;
}

.form-card label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.9rem 1rem;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: 2px solid rgba(223, 182, 77, 0.3);
  border-color: rgba(223, 182, 77, 0.45);
}

.form-note {
  min-height: 1.4rem;
  margin: 0;
  color: var(--gold);
  font-size: 0.92rem;
}

.tabs {
  display: grid;
  gap: 1.25rem;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tab-button {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
}

.tab-button.active {
  border-color: rgba(223, 182, 77, 0.35);
  background: rgba(223, 182, 77, 0.08);
  color: var(--text);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.inline-form {
  max-width: 760px;
}

.metric-card strong {
  display: block;
  margin-bottom: 0.5rem;
}

.give-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
}

.footer-row,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: start;
}

.footer-brand {
  margin-bottom: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

@media (max-width: 960px) {
  .hero-grid,
  .two-column,
  .online-grid,
  .events-grid,
  .pillars-grid,
  .sermons-grid,
  .connect-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head,
  .give-panel,
  .footer-row,
  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: start;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(11, 15, 16, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 5.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .stats-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .hero h1 {
    font-size: 2.9rem;
  }
}
