:root {
  --champagne: #f5e8d8;
  --champagne-deep: #ead9c4;
  --ivory: #fbf6ef;
  --eucalyptus: #94a684;
  --olive: #5c6548;
  --olive-ink: #3f4533;
  --blush: #f0c9c0;
  --soft-rose: #c98984;
  --gold: #c4a574;
  --gold-soft: rgba(196, 165, 116, 0.45);
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--olive-ink);
  background:
    radial-gradient(1200px 520px at 50% -8%, rgba(240, 201, 192, 0.45), transparent 62%),
    radial-gradient(900px 480px at 100% 18%, rgba(148, 166, 132, 0.22), transparent 58%),
    radial-gradient(800px 420px at 0% 70%, rgba(201, 137, 132, 0.12), transparent 55%),
    var(--champagne);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

.page {
  position: relative;
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 2.5rem;
  overflow: clip;
}

.decor {
  position: absolute;
  width: min(210px, 42vw);
  color: var(--eucalyptus);
  opacity: 0.55;
  pointer-events: none;
}

.decor-tl {
  top: 0.4rem;
  left: -1.4rem;
}

.decor-tr {
  top: 0.4rem;
  right: -1.4rem;
}

.hero {
  text-align: center;
  padding: 1.5rem 0 2.75rem;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.names {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.1rem 0 0.35rem;
  color: var(--olive-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.4rem, 12vw, 5.6rem);
  font-weight: 500;
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.ampersand {
  margin: 0.12rem 0 0.18rem;
  color: var(--soft-rose);
  font-size: 0.42em;
  font-style: italic;
  font-weight: 600;
}

.lede {
  margin: 0.85rem 0 0;
  color: var(--olive);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.countdown {
  margin: 2.1rem auto 0;
  max-width: 34rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.9rem 0.35rem 0.75rem;
  border: 1px solid var(--gold-soft);
  border-radius: 1.1rem;
  background: color-mix(in srgb, var(--ivory) 82%, var(--eucalyptus) 18%);
  box-shadow: 0 10px 24px rgba(63, 69, 51, 0.06);
}

.countdown-value {
  color: var(--olive-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown-label {
  margin-top: 0.4rem;
  color: var(--olive);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.countdown-caption {
  margin: 0 0 0.95rem;
  color: var(--soft-rose);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
}

main {
  display: grid;
  gap: 1.15rem;
}

.card {
  padding: 1.7rem 1.45rem 1.55rem;
  border: 1px solid var(--gold-soft);
  border-radius: 1.5rem;
  background: color-mix(in srgb, var(--ivory) 88%, var(--blush) 12%);
  box-shadow: 0 16px 40px rgba(63, 69, 51, 0.07);
}

.card-gallery {
  background: color-mix(in srgb, var(--ivory) 80%, var(--eucalyptus) 20%);
}

.card h2 {
  margin: 0.35rem 0 0.7rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.35rem;
  font-weight: 600;
  line-height: 1.05;
}

.card-copy {
  margin: 0 0 1rem;
  max-width: 36em;
}

address {
  margin: 0 0 1.25rem;
  font-style: normal;
  color: var(--olive);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

[hidden] {
  display: none !important;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--olive);
  color: var(--ivory);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--olive-ink);
}

.button:focus-visible,
.button-ghost:focus-visible {
  outline: 2px solid var(--soft-rose);
  outline-offset: 3px;
}

.button-ghost {
  background: transparent;
  border: 1px solid var(--olive);
  color: var(--olive-ink);
}

.button-ghost:hover {
  background: color-mix(in srgb, var(--eucalyptus) 28%, transparent);
}

footer {
  padding: 2.4rem 0 0.4rem;
  color: var(--olive);
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
}

footer p {
  margin: 0;
}

@media (min-width: 640px) {
  .card {
    padding: 2rem 2.1rem 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
