:root {
  --ink: #1c1a17;
  --muted: #5c5649;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #ddd8ce;
  --green: #2d4f35;
  --green-dark: #1e3524;
  --gold: #8a6a2a;
  --gold-light: #c49a3c;
  --shadow: 0 12px 36px rgba(28, 26, 23, 0.10);
  --radius: 6px;
  --wrap: min(1080px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

p + p {
  margin-top: 16px;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(221, 216, 206, 0.9);
  background: rgba(247, 244, 238, 0.96);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-menu a {
  text-decoration: none;
}

.nav-menu a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

/* Hero */

.hero {
  position: relative;
  min-height: clamp(480px, 70vh, 680px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-light);
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 30, 20, 0.88) 0%, rgba(18, 30, 20, 0.72) 50%, rgba(18, 30, 20, 0.3) 100%),
    linear-gradient(0deg, rgba(18, 30, 20, 0.5), rgba(18, 30, 20, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-copy {
  max-width: 520px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
}

/* Buttons */

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 11px 22px;
  font-weight: 700;
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  margin-top: 28px;
}

.button-primary {
  background: var(--gold-light);
  color: #1c1a17;
}

.button-primary:hover {
  background: #d4a94a;
}

/* Service band */

.service-band {
  background: var(--green);
  color: #fff;
  padding: 32px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  text-align: center;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.service-item {
  padding: 8px 16px;
}

.service-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.service-time {
  margin: 4px 0 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.service-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
}

/* Sections */

.section {
  padding: clamp(60px, 9vw, 100px) 0;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.section h2 {
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  font-weight: 700;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 16px;
}

.history-source {
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.history-source a {
  color: var(--green);
  text-decoration: underline;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

/* Pastor */

.pastor-section {
  background: #f0ece3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pastor-card {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 640px;
}

.pastor-mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.pastor-card h2 {
  margin: 4px 0 10px;
  font-size: 1.6rem;
}

.pastor-card p {
  margin: 0;
  color: var(--muted);
}

/* Events */

.calendar-wrap {
  margin-top: 40px;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.calendar-wrap iframe {
  width: 100%;
  height: 600px;
  border: 0;
}

/* Visit */

.visit-section {
  background: var(--green-dark);
  color: #fff;
}

.visit-section .section-kicker {
  color: var(--gold-light);
}

.visit-section h2 {
  color: #fff;
}

.visit-section .lead {
  color: rgba(255, 255, 255, 0.78);
}

.visit-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.contact-row {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 16px;
}

.contact-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.contact-row p:not(.contact-label) {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.contact-row a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.contact-row a:hover {
  text-decoration: underline;
}

.visit-section .button {
  align-self: flex-start;
  margin-top: 8px;
}

/* Footer */

.site-footer {
  background: #111410;
  color: rgba(255, 255, 255, 0.6);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.88rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  flex-wrap: wrap;
}

.footer-grid p {
  margin: 0;
}

/* Responsive */

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 12px;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 10px;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-divider {
    width: 48px;
    height: 1px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  :root {
    --wrap: min(100% - 24px, 1080px);
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .visit-section .button {
    align-self: stretch;
  }

  .footer-grid {
    flex-direction: column;
  }
}
