:root {
  --emerald-dark: #0b3d33;
  --emerald: #116b57;
  --emerald-light: #1f8a70;
  --mint: #dff4ec;
  --cream: #fbf8f3;
  --white: #ffffff;
  --text: #24322d;
  --muted: #66756f;
  --line: rgba(17, 107, 87, 0.16);
  --shadow: 0 20px 50px rgba(11, 61, 51, 0.12);
  --radius: 24px;
  --gold: #c8a96b;
  --gold-light: #e6cf9a;
  --gold-dark: #9f7a3e;
}

.hero h1,
.section h2 {
  background: linear-gradient(135deg, #f3e2b8 0%, #d4b06d 35%, #b8893f 65%, #f0dfb2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(rgba(11, 61, 51, 0.55), rgba(11, 61, 51, 0.70)),
    radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 30%),
    linear-gradient(135deg, #0b3d33, #116b57 55%, #1f8a70);
  color: var(--white);
  overflow: hidden;
}

.overlay::before,
.overlay::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.18;
}

.overlay::before {
  width: 320px;
  height: 320px;
  background: #9ff3d8;
  top: -60px;
  left: -100px;
}

.overlay::after {
  width: 420px;
  height: 420px;
  background: #ffffff;
  right: -140px;
  bottom: -120px;
}

.nav {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}

.nav a:hover {
  color: #ffffff;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 100px 0 120px;
  text-align: center;
}

.hero-photo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-top: 60px;
}

.hero-photo-ring {
  width: 400px;
  height: 600px;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(223,244,236,0.75));
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 0 0 10px rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  border: 3px solid rgba(255,255,255,0.9);
}

.eyebrow,
.section-label {
  display: inline-block;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.eyebrow {
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

.section h2,
.hero h1,
.footer h3,
.timeline-card h3,
.info-card h3,
.card h3 {
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-dark);
}

.hero h1 {
  font-size: clamp(3.4rem, 9vw, 6.2rem);
  line-height: 0.95;
  margin: 0 0 22px;
  font-weight: 700;
}

.subtitle {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 1.12rem;
  color: rgba(255,255,255,0.90);
}

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px 0 38px;
}

.hero-meta div {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: 999px;
}

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--emerald-dark);
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.outline {
  background: transparent;
  color: var(--emerald);
  border: 1px solid var(--emerald);
  box-shadow: none;
}

.section {
  padding: 90px 0;
}

.section-label {
  color: var(--emerald);
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
  margin: 0 0 20px;
}

.center {
  text-align: center;
}

.narrow {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.checklist {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  line-height: 1.6;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--emerald), #9fc7b1);
  box-shadow: 0 0 0 4px rgba(138, 176, 156, 0.14);
}

.card,
.info-card,
.timeline-card,
.rsvp-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 32px;
}

.soft {
  background:
    radial-gradient(circle at top right, rgba(170, 196, 181, 0.16), transparent 30%),
    linear-gradient(180deg, #ffffff, #f7fcfa);
}

.dress-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.color-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f8f8f8;
  color: #2f3a34;
}

.color-chip::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.color-chip.sage {
  background: #eef5ef;
}
.color-chip.sage::before {
  background: #8faa8f;
}

.color-chip.blue {
  background: #eef4f8;
}
.color-chip.blue::before {
  background: #7f9db8;
}

.color-chip.gray {
  background: #f3f4f5;
}
.color-chip.gray::before {
  background: #9aa0a6;
}

.color-chip.beige {
  background: #faf4ea;
}
.color-chip.beige::before {
  background: #cdb79e;
}

.color-chip.olive {
  background: #f1f4ec;
}
.color-chip.olive::before {
  background: #7d8f63;
}

.color-chip.emerald {
  background: #edf7f2;
}
.color-chip.emerald::before {
  background: #4f8a6b;
}

.color-chip.cream {
  background: #fdfaf2;
}
.color-chip.cream::before {
  background: #e8dcc2;
}

.schedule-section {
  background: linear-gradient(180deg, #f3faf7, #fbf8f3);
}

.timeline {
  max-width: 860px;
  margin: 50px auto 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 92px;
  width: 2px;
  background: linear-gradient(var(--emerald-light), rgba(17, 107, 87, 0.1));
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 26px;
  position: relative;
}

.time {
  color: var(--emerald);
  font-weight: 700;
  padding-top: 18px;
  position: relative;
}

.time::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 24px;
  width: 14px;
  height: 14px;
  background: var(--emerald);
  border: 4px solid #e6f7f0;
  border-radius: 50%;
}

.timeline-card {
  padding: 24px 26px;
}

.timeline-card h3,
.info-card h3,
.card h3,
.footer h3 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.timeline-card p,
.info-card p,
.card p,
.footer p {
  margin: 0;
  color: var(--muted);
}

.image-card {
  padding: 0;
  overflow: hidden;
}

.placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(17, 107, 87, 0.20), rgba(11, 61, 51, 0.28)),
    linear-gradient(135deg, #a4e7d0, #dff4ec);
  color: var(--emerald-dark);
  font-weight: 600;
  text-align: center;
  padding: 30px;
}

.info-section {
  background: #f7fbf9;
}

.info-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  padding: 28px;
}

.rsvp-box {
  padding: 48px 30px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f6fcf9);
}

.footer {
  background: var(--emerald-dark);
  color: rgba(255,255,255,0.92);
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer p {
  color: rgba(255,255,255,0.78);
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    gap: 18px;
  }

  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
  }

  .two-col,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 76px;
  }

  .timeline-item {
    grid-template-columns: 76px 1fr;
    gap: 20px;
  }

  .time::after {
    right: -7px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 70px 0 90px;
  }

  .hero-meta {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 70px 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .time {
    padding-top: 0;
  }

  .time::after {
    display: none;
  }

  .timeline-card h3,
  .info-card h3,
  .card h3,
  .footer h3 {
    font-size: 1.7rem;
  }
}