:root {
  --color-cream: #fbf4e9;
  --color-sand: #ead8bf;
  --color-clay: #b46a43;
  --color-clay-dark: #884a2d;
  --color-ink: #2d241f;
  --color-muted: #75685f;
  --color-white: #fffaf3;
  --color-gold: #d9a441;
  --shadow: 0 24px 70px rgba(58, 37, 24, 0.16);
  --radius-large: 34px;
  --radius-medium: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background:
    radial-gradient(circle at top left, rgba(217, 164, 65, 0.2), transparent 30rem),
    linear-gradient(180deg, #fff8ef 0%, var(--color-cream) 45%, #f7ead9 100%);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(45, 36, 31, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 36, 31, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(18px);
}

.brand,
.main-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-clay);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.main-nav {
  gap: 1.25rem;
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--color-clay-dark);
}

.hero,
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 86px);
}

.hero-content {
  max-width: 680px;
}

.eyebrow,
.card-label,
.service-day {
  margin: 0 0 0.75rem;
  color: var(--color-clay-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.6rem, 9vw, 7.6rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
  line-height: 1.18;
}

.hero-copy,
.section-heading > p,
.pastor-info p,
.service-card p,
.about-grid p,
address {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--color-white);
  background: var(--color-clay);
  box-shadow: 0 14px 28px rgba(136, 74, 45, 0.22);
}

.button-primary:hover {
  background: var(--color-clay-dark);
}

.button-secondary {
  color: var(--color-clay-dark);
  border-color: rgba(136, 74, 45, 0.25);
  background: rgba(255, 250, 243, 0.75);
}

.hero-card {
  min-height: 620px;
  border-radius: var(--radius-large);
  background:
    linear-gradient(rgba(45, 36, 31, 0.22), rgba(45, 36, 31, 0.52)),
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.48), transparent 18rem),
    linear-gradient(135deg, #d9a441 0%, #b46a43 45%, #4f3327 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.18);
}

.hero-card::before {
  width: 240px;
  height: 240px;
  top: 8%;
  right: -60px;
}

.hero-card::after {
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: -90px;
}

.hero-card-inner {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1;
  padding: 1.75rem;
  border: 1px solid rgba(255, 250, 243, 0.35);
  border-radius: 26px;
  color: var(--color-white);
  background: rgba(45, 36, 31, 0.42);
  backdrop-filter: blur(16px);
}

.hero-card-inner .card-label,
.hero-card-inner p {
  color: rgba(255, 250, 243, 0.84);
}

.hero-card-inner h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.about-section {
  padding-top: 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-large);
  background: rgba(255, 250, 243, 0.68);
  box-shadow: 0 18px 46px rgba(58, 37, 24, 0.08);
}

.pastor-cards,
.service-grid {
  display: grid;
  gap: 1.5rem;
}

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

.pastor-card,
.service-card,
.location-card {
  background: rgba(255, 250, 243, 0.78);
  border: 1px solid rgba(136, 74, 45, 0.12);
  box-shadow: 0 16px 48px rgba(58, 37, 24, 0.1);
}

.pastor-card {
  overflow: hidden;
  border-radius: var(--radius-large);
}

.pastor-photo {
  display: grid;
  min-height: 330px;
  place-items: center;
  color: rgba(255, 250, 243, 0.86);
  background:
    linear-gradient(rgba(45, 36, 31, 0.18), rgba(45, 36, 31, 0.18)),
    radial-gradient(circle at 50% 28%, rgba(255, 250, 243, 0.38), transparent 9rem),
    linear-gradient(135deg, #d8ad69 0%, #b46a43 54%, #604335 100%);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pastor-info,
.service-card {
  padding: 1.75rem;
}

.pastor-info p:last-child,
.service-card p:last-child {
  margin-bottom: 0;
}

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

.service-card {
  border-radius: var(--radius-medium);
}

.service-card.featured {
  color: var(--color-white);
  background:
    linear-gradient(rgba(136, 74, 45, 0.88), rgba(136, 74, 45, 0.88)),
    radial-gradient(circle at top right, rgba(217, 164, 65, 0.74), transparent 12rem);
}

.service-card.featured p,
.service-card.featured .service-day {
  color: rgba(255, 250, 243, 0.84);
}

.service-time {
  margin-bottom: 1rem;
  color: var(--color-clay-dark);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.service-card.featured .service-time {
  color: var(--color-white);
}

.location-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-large);
}

address {
  margin-bottom: 1.5rem;
  font-style: normal;
}

.map-placeholder {
  display: grid;
  min-height: 360px;
  place-items: center;
  border-radius: 28px;
  color: var(--color-white);
  background:
    linear-gradient(rgba(45, 36, 31, 0.25), rgba(45, 36, 31, 0.55)),
    radial-gradient(circle at 35% 35%, rgba(217, 164, 65, 0.72), transparent 10rem),
    linear-gradient(135deg, #6b7d62 0%, #b46a43 100%);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 700;
  text-align: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .hero,
  .location-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
  }

  .hero-card {
    min-height: 460px;
  }

  .about-grid,
  .pastor-cards,
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .main-nav {
    gap: 0.85rem;
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.5rem);
  }

  .hero,
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .about-grid,
  .location-card {
    padding: 1.25rem;
  }

  .pastor-photo,
  .map-placeholder {
    min-height: 260px;
  }
}
