:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --surface-soft: #f6efe5;
  --text: #231a17;
  --muted: #6c5a55;
  --line: rgba(98, 46, 53, 0.14);
  --brand: #6a2230;
  --brand-dark: #4e1622;
  --gold: #b78d41;
  --shadow: 0 20px 50px rgba(43, 24, 24, 0.08);
  --radius: 24px;
  --radius-small: 16px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(183, 141, 65, 0.12), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 100%);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 251, 246, 0.92);
  border-bottom: 1px solid rgba(98, 46, 53, 0.08);
}

.topbar,
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.topbar {
  padding: 0.95rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.header-logo {
  width: min(220px, 34vw);
  height: auto;
}

.header-actions,
.hero-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.eyebrow,
.badge,
.card-label,
.scripture-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
}

.eyebrow,
.scripture-label {
  color: var(--brand);
  margin: 0 0 0.45rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(183, 141, 65, 0.12);
  border: 1px solid rgba(183, 141, 65, 0.28);
  margin-bottom: 1rem;
}

.brand {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.text-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow);
  cursor: pointer;
}

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

.button-outline,
.button-secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(106, 34, 48, 0.18);
  box-shadow: none;
}

.hero {
  padding: 4.3rem 0 2.5rem;
}

.hero-grid,
.split-grid,
.visit-card {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-copy h1,
.section-heading h2,
.split-grid h2,
.visit-card h2,
.hero-card h2 {
  margin: 0;
  line-height: 1.1;
}

.hero-logo {
  width: min(100%, 560px);
  margin: 0 0 1.15rem;
  filter: drop-shadow(0 12px 24px rgba(43, 24, 24, 0.08));
}

.hero-copy h1 {
  font-size: clamp(2.55rem, 5vw, 4.6rem);
  max-width: 12ch;
}

.leadership-line {
  margin: 0.85rem 0 0.6rem;
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 700;
}

.lead,
.section-copy {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch;
}

.hero-meta {
  margin: 1.6rem 0 1.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-meta div,
.feature-card,
.hero-card,
.form-card,
.visit-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-meta div {
  padding: 1rem;
  border-radius: var(--radius-small);
}

.hero-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.hero-card,
.form-card,
.visit-card {
  border-radius: var(--radius);
  padding: 1.6rem;
}

.hero-card {
  background: linear-gradient(180deg, #fffdfa 0%, #f9f0e6 100%);
}

.hero-card blockquote {
  margin: 0.5rem 0 0;
  font-size: 1.15rem;
  color: var(--brand-dark);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 1.25rem 0;
}

.pastor {
  margin-top: 1rem;
  font-weight: 700;
}

.pastor span {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.92rem;
}

.section {
  padding: 2rem 0 3rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(246, 239, 229, 0.66) 100%);
  border-top: 1px solid rgba(98, 46, 53, 0.08);
  border-bottom: 1px solid rgba(98, 46, 53, 0.08);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 1.6rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.4rem;
  border-radius: var(--radius-small);
}

.feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.feature-card p,
.form-note,
.small-copy,
.site-footer p {
  color: var(--muted);
}

.check-list {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
}

.check-list li {
  margin: 0.4rem 0;
}

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

label,
legend {
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(98, 46, 53, 0.18);
  background: #fff;
  color: var(--text);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(183, 141, 65, 0.4);
  border-color: rgba(106, 34, 48, 0.3);
}

.checkbox-group {
  border: none;
  padding: 0;
  margin: 0.3rem 0 0.4rem;
  display: grid;
  gap: 0.65rem;
}

.checkbox-group label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex: 0 0 18px;
}

.hidden {
  position: absolute;
  left: -9999px;
}

.visit-card {
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.visit-details p {
  margin: 0.35rem 0;
}

.site-footer {
  padding: 1.3rem 0 2rem;
  border-top: 1px solid rgba(98, 46, 53, 0.08);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .feature-grid,
  .visit-card {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .header-logo {
    width: min(190px, 56vw);
  }

  .site-header {
    position: static;
  }
}
