:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #5f6b63;
  --paper: #f7f4ed;
  --surface: #ffffff;
  --olive: #526449;
  --gold: #c99d49;
  --wine: #7e3f45;
  --blue: #2d6570;
  --line: rgba(23, 33, 27, 0.13);
  --shadow: 0 22px 50px rgba(24, 32, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: #fffaf0;
  background: rgba(16, 25, 20, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(201, 157, 73, 0.2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 12px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  color: rgba(255, 250, 240, 0.78);
  font-size: 14px;
}

.nav-links a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fffaf0;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fffaf0;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 24, 19, 0.9), rgba(16, 24, 19, 0.48) 48%, rgba(16, 24, 19, 0.18)),
    linear-gradient(0deg, rgba(16, 24, 19, 0.8), rgba(16, 24, 19, 0) 40%);
}

.hero-content {
  width: min(850px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 88px;
  transform: translateX(clamp(-170px, -10vw, 0px));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(48px, 8.5vw, 118px);
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  background: var(--gold);
  color: #20160a;
}

.button-secondary {
  border-color: rgba(255, 250, 240, 0.42);
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.08);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-item {
  min-height: 190px;
  padding: clamp(24px, 4vw, 42px);
  background: #fffaf0;
}

.intro-item span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.intro-item strong {
  display: block;
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.05;
}

.intro-item p {
  max-width: 360px;
  margin: 14px 0 0;
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(34px, 7vw, 88px);
}

.section-copy p,
.visit-section p,
.contact-inner p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

h2 {
  font-size: clamp(39px, 5.5vw, 74px);
}

.scripture-panel {
  padding: clamp(30px, 4vw, 46px);
  color: #fffaf0;
  background: var(--olive);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.scripture-panel p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.14;
}

.scripture-panel span {
  display: block;
  margin-top: 24px;
  color: rgba(255, 250, 240, 0.72);
  font-weight: 800;
}

.ministries-section {
  width: 100%;
  max-width: none;
  padding-inline: clamp(18px, 4vw, 58px);
  background: #eef1ea;
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 34px;
}

.ministry-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ministry-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid rgba(23, 33, 27, 0.1);
  border-radius: 8px;
  background: var(--surface);
}

.ministry-card img {
  width: 44px;
  height: 44px;
}

.ministry-card h3 {
  margin: 26px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.08;
}

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

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.visit-details {
  display: grid;
  gap: 12px;
}

.visit-details div {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.visit-details span,
.site-footer {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.visit-details strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.contact-section {
  padding: clamp(70px, 9vw, 112px) 18px;
  color: #fffaf0;
  background: var(--blue);
}

.contact-inner {
  width: min(840px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact-inner p {
  margin: 22px auto 28px;
  color: rgba(255, 250, 240, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 58px);
  color: rgba(255, 250, 240, 0.64);
  background: #111a15;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    width: calc(100% - 36px);
    padding-bottom: 62px;
    transform: none;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(16, 24, 19, 0.88), rgba(16, 24, 19, 0.28)),
      linear-gradient(90deg, rgba(16, 24, 19, 0.72), rgba(16, 24, 19, 0.2));
  }

  .intro-band,
  .split-section,
  .visit-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .brand small {
    font-size: 11px;
  }

  .hero {
    min-height: 790px;
  }

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

  .intro-item {
    min-height: auto;
  }

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

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