:root {
  --ink: #17130f;
  --espresso: #2a2019;
  --paper: #f7f0e3;
  --cream: #fff9ed;
  --sand: #e7d3b7;
  --stone: #b69474;
  --terracotta: #a65333;
  --cactus: #4c684f;
  --pool: #3f9ca2;
  --muted: #756a5e;
  --line: rgba(42, 32, 25, 0.16);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 4vw, 58px);
  color: var(--cream);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 240, 227, 0.9);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.36rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 249, 237, 0.42);
  border-radius: 50%;
  background: var(--cream);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  white-space: nowrap;
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.site-nav .nav-action {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 10px 16px;
  opacity: 1;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.menu-button svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 132px clamp(20px, 5vw, 76px) clamp(62px, 8vw, 108px);
}

.private-header {
  color: var(--cream);
}

.hero img,
.private-hero img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  z-index: -2;
}

.private-hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 132px clamp(20px, 5vw, 76px) clamp(62px, 8vw, 108px);
}

.private-hero img {
  object-fit: cover;
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 19, 15, 0.84), rgba(23, 19, 15, 0.54) 42%, rgba(23, 19, 15, 0.08) 78%),
    linear-gradient(0deg, rgba(23, 19, 15, 0.56), rgba(23, 19, 15, 0.06) 58%);
}

.hero-content {
  max-width: 920px;
  color: var(--cream);
}

.private-hero-content {
  max-width: 980px;
  color: var(--cream);
}

.private-hero-content h1 {
  max-width: 860px;
}

.private-hero-content p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(255, 249, 237, 0.86);
  font-size: clamp(1.14rem, 2vw, 1.5rem);
}

.eyebrow,
.kicker,
.intro-grid span,
.date-label {
  display: block;
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c68d;
}

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

h1,
h2,
h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(4.2rem, 10vw, 9.6rem);
  line-height: 0.88;
}

h2 {
  max-width: 1120px;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 6vw, 7rem);
  line-height: 0.94;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.4vw, 4rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: rgba(255, 249, 237, 0.86);
  font-size: clamp(1.14rem, 2vw, 1.5rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: var(--cream);
}

.button.secondary {
  border-color: rgba(255, 249, 237, 0.58);
  color: var(--cream);
}

.section {
  padding: clamp(84px, 12vw, 164px) clamp(20px, 5vw, 76px);
}

.intro-section {
  background:
    linear-gradient(135deg, rgba(63, 156, 162, 0.08), transparent 35%),
    var(--paper);
}

.intro-section h2 {
  max-width: 1180px;
  margin-bottom: clamp(42px, 7vw, 84px);
}

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

.intro-grid article,
.date-card {
  background: rgba(255, 249, 237, 0.56);
  padding: clamp(24px, 4vw, 42px);
}

.intro-grid p,
.date-card p,
.venue-copy p,
.section-heading p,
.booking-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.venue-section,
.guests-section,
.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(42px, 7vw, 106px);
  align-items: start;
}

.venue-section {
  background: var(--espresso);
  color: var(--cream);
}

.venue-section .eyebrow {
  color: #f0c68d;
}

.venue-copy {
  padding-top: 12px;
}

.venue-copy p {
  color: rgba(255, 249, 237, 0.72);
}

.guests-section {
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 0.86fr);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(166, 83, 51, 0.1), transparent 34%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.guests-photo {
  position: relative;
}

.guests-photo::before {
  content: "";
  position: absolute;
  inset: clamp(14px, 2vw, 24px) clamp(-18px, -2vw, -10px) clamp(-18px, -2vw, -10px) clamp(14px, 2vw, 24px);
  border: 1px solid rgba(166, 83, 51, 0.28);
}

.guests-photo img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.96);
}

.guests-feature {
  position: relative;
  padding: clamp(28px, 5vw, 58px) 0 clamp(32px, 6vw, 70px) clamp(0px, 2vw, 28px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guests-feature::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 0;
  width: min(38vw, 460px);
  height: 20px;
  background: linear-gradient(90deg, transparent, rgba(63, 156, 162, 0.34), transparent);
}

.guest-kicker {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-style: italic;
}

.guests-feature h2 {
  margin-bottom: 22px;
  color: var(--espresso);
  font-size: clamp(4rem, 10vw, 11rem);
  line-height: 0.86;
}

.guests-feature p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.dates-section {
  background: var(--cream);
}

.section-heading {
  max-width: 980px;
  margin-bottom: clamp(36px, 6vw, 72px);
}

.section-heading h2 {
  margin-bottom: 18px;
}

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

.date-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  align-items: flex-start;
}

.date-card.featured {
  background:
    linear-gradient(145deg, rgba(63, 156, 162, 0.12), transparent 52%),
    rgba(255, 249, 237, 0.86);
}

.date-card h3 {
  font-size: clamp(2.8rem, 5vw, 5.8rem);
}

.date-card p:not(.date-label) {
  max-width: 520px;
  margin-bottom: 34px;
}

.date-card .button {
  margin-top: auto;
}

.booking-section {
  background:
    radial-gradient(circle at 84% 8%, rgba(63, 156, 162, 0.16), transparent 28%),
    var(--paper);
  border-top: 1px solid var(--line);
}

.private-booking {
  border-top: 0;
}

.booking-copy {
  position: sticky;
  top: 110px;
}

.booking-copy h2 {
  margin-bottom: 22px;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  background: rgba(255, 249, 237, 0.68);
  box-shadow: 0 24px 80px rgba(42, 32, 25, 0.08);
}

.booking-form label,
.payment-field {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--espresso);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-form .full {
  grid-column: 1 / -1;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid rgba(42, 32, 25, 0.2);
  border-radius: 0;
  background: rgba(255, 249, 237, 0.92);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  outline: none;
  padding: 15px 14px;
  text-transform: none;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--pool);
  box-shadow: 0 0 0 3px rgba(63, 156, 162, 0.16);
}

.payment-field {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
  padding: 4px 0 0;
}

.payment-field legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.payment-field label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid rgba(42, 32, 25, 0.2);
  background: rgba(255, 249, 237, 0.66);
  padding: 12px 14px;
}

.payment-field input {
  width: auto;
  accent-color: var(--terracotta);
}

.form-message {
  min-height: 1.5em;
  margin: 0;
  color: var(--cactus);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: var(--espresso);
  color: var(--cream);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  color: rgba(255, 249, 237, 0.7);
  font-weight: 800;
}

.footer-brand .brand-mark {
  width: 42px;
  height: 42px;
}

.thanks-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 6vw, 76px);
  background:
    linear-gradient(rgba(23, 19, 15, 0.56), rgba(23, 19, 15, 0.56)),
    url("assets/pastors-refresh-hero.png") center / cover;
}

.thanks-card {
  width: min(100%, 760px);
  padding: clamp(34px, 7vw, 76px);
  background: rgba(255, 249, 237, 0.92);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(23, 19, 15, 0.28);
}

.thanks-card h1 {
  margin-bottom: 18px;
  color: var(--espresso);
}

.thanks-card p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

@media (max-width: 980px) {
  .menu-button {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 240, 227, 0.98);
    color: var(--ink);
  }

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

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(42, 32, 25, 0.1);
  }

  .site-nav .nav-action {
    border: 0;
    border-bottom: 1px solid rgba(42, 32, 25, 0.1);
    border-radius: 0;
    padding-inline: 0;
  }

  .intro-grid,
  .venue-section,
  .guests-section,
  .booking-section {
    grid-template-columns: 1fr;
  }

  .booking-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 92svh;
    padding: 112px 18px 62px;
  }

  h1 {
    font-size: clamp(4.1rem, 17vw, 6rem);
  }

  h2 {
    font-size: clamp(2.75rem, 12vw, 4.4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-inline: 18px;
  }

  .intro-grid,
  .date-cards,
  .booking-form,
  .payment-field {
    grid-template-columns: 1fr;
  }

  .date-card {
    min-height: 360px;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}
