:root {
  --bg: #faf8f5;
  --text: #272426;
  --muted: #6f666b;
  --accent: #8f5a70;
  --accent-2: #d8b28a;
  --card: #ffffff;
  --shadow: 0 12px 32px rgba(28, 19, 24, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: .2px;
  margin: 0 0 .5rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #151214;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 17, 21, 0.28), rgba(23, 17, 21, 0.56));
}
.hero::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1.5px solid rgba(232, 214, 193, 0.75);
  border-radius: 14px;
  pointer-events: none;
  z-index: 2;
}
.nav, .hero-content { position: relative; z-index: 3; }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.2rem;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.nav-links {
  display: flex;
  gap: .9rem;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: .95rem;
  opacity: .95;
}

.hero-content {
  color: #fff;
  text-align: center;
  padding: 2.5rem 1.2rem 4.5rem;
}
.eyebrow {
  letter-spacing: .2em;
  font-size: .78rem;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.hero h1 { font-size: clamp(2.2rem, 7vw, 4.8rem); }
.date { margin: .6rem 0 1.5rem; font-size: 1.05rem; }

.btn {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  padding: .82rem 1.3rem;
  cursor: pointer;
}

.section {
  width: min(1120px, 92%);
  margin: 3.2rem auto;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 2.2vw, 1.85rem);
}

.intro {
  display: grid;
  gap: 1rem;
}
.count-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(70px, 1fr));
  gap: .7rem;
  text-align: center;
}
.count-grid span {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
}
.count-grid small { color: var(--muted); }

.travel h2, .gallery h2, .rsvp h2 { margin-bottom: 1rem; }
.travel-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.travel-grid ul { margin: 0; padding-left: 1.25rem; }

.map-wrap,
.links-card {
  margin-top: 1.35rem;
}

.map-wrap iframe {
  border: 0;
  width: 100%;
  border-radius: 12px;
  min-height: 320px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 12px;
}

.rsvp-form {
  display: grid;
  gap: .85rem;
}
.rsvp-form label {
  display: grid;
  gap: .35rem;
  font-weight: 500;
}
input, select, textarea {
  width: 100%;
  padding: .72rem .78rem;
  border-radius: 10px;
  border: 1px solid #d8cfd4;
  font: inherit;
}
.form-note {
  margin-top: .9rem;
  color: var(--muted);
  font-size: .92rem;
}

.footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
}
.footer a { color: inherit; }

@media (min-width: 760px) {
  .intro {
    grid-template-columns: 2fr 1fr;
    align-items: stretch;
  }
  .travel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
