:root {
  --ink: #172a2d;
  --muted: #5e7071;
  --paper: #fbfaf6;
  --mist: #e9f3f1;
  --sage: #557b72;
  --rose: #bf746d;
  --gold: #c99449;
  --ember: #9d4f35;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(23, 42, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.93);
  box-shadow: 0 8px 28px rgba(23, 42, 45, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  font-size: 0.88rem;
}

.nav a {
  text-decoration: none;
  opacity: 0.92;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
}

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

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

.hero-overlay {
  background:
    linear-gradient(rgba(16, 48, 57, 0.1), rgba(12, 30, 34, 0.44)),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.2), rgba(14, 47, 56, 0.24) 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100% - 36px));
  padding: 112px 0 72px;
  text-align: center;
}

.eyebrow,
.section-kicker,
.detail-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  margin-top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 13vw, 9rem);
  font-weight: 400;
}

h2 {
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
}

h3 {
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.date-line {
  margin: 18px 0 30px;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(23, 42, 45, 0.2);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
}

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

.intro,
.rsvp {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.intro p,
.rsvp p,
.detail p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.intro > p,
.rsvp > p {
  margin-top: 12px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.details-grid {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(54px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(85, 123, 114, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(233, 243, 241, 0.78)),
    var(--white);
  box-shadow: var(--shadow);
}

.detail:nth-child(3) {
  border-color: rgba(157, 79, 53, 0.24);
}

.detail p:last-child {
  margin-top: 18px;
}

.rsvp {
  margin-bottom: 42px;
  padding-inline: clamp(22px, 4vw, 44px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(233, 243, 241, 0.95), rgba(251, 250, 246, 0.9)),
    var(--mist);
}

.button-secondary {
  justify-self: start;
  border-color: transparent;
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}

.site-footer {
  padding: 26px 18px 34px;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 18px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    padding-top: 142px;
  }

  .intro,
  .rsvp,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .detail {
    min-height: 0;
  }
}
