/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --cream:       #fef8f3;
  --white:       #ffffff;
  --gold:        #c9955c;
  --gold-soft:   #f0e0cc;
  --pink:        #e8798a;
  --pink-soft:   #fce8ed;
  --rose:        #9b4d6e;
  --rose-soft:   #f5d6e4;
  --blue:        #2e6e8e;
  --blue-soft:   #d0eaf5;
  --text:        #2d2420;
  --muted:       #7a6b64;
  --border:      rgba(201,149,92,.18);
  --card-shadow: 0 4px 28px rgba(45,36,32,.07);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--cream);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background blobs ──────────────────────────────────────── */
.bg-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .45;
}
.b1 { width: 700px; height: 700px; background: #f5d6e4; top: -220px; right: -160px; }
.b2 { width: 550px; height: 550px; background: #d0eaf5; bottom: -60px; left: -180px; }
.b3 { width: 420px; height: 420px; background: #f0e0cc; top: 45%; left: 25%; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 52px 20px 64px;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  text-align: center;
  margin-bottom: 60px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(46px, 11vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.tagline {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 420px;
  margin: 0 auto 36px;
}

/* ── Countdown ─────────────────────────────────────────────── */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 32px;
  box-shadow: var(--card-shadow);
}
.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}
.cd-item span {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.cd-item label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-top: 5px;
}
.cd-sep {
  font-size: 28px;
  font-weight: 300;
  color: var(--gold);
  padding-bottom: 16px;
  user-select: none;
}

/* ── Section divider ───────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ── Timeline connector ────────────────────────────────────── */
.timeline-line {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, var(--border), transparent);
  margin: 0 auto;
}

/* ── Event Card ────────────────────────────────────────────── */
.card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(45,36,32,.11);
}
.card-pink  { border-top: 3px solid var(--pink); }
.card-rose  { border-top: 3px solid var(--rose); }
.card-blue  { border-top: 3px solid var(--blue); }

.card-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 16px;
  align-self: flex-start;
}
.card-content { flex: 1; min-width: 0; }
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.card-top h2 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
}
.badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  white-space: nowrap;
}
.card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.card-desc small { font-size: 13px; display: block; margin-top: 2px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .2px;
  transition: transform .1s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.btn:hover  { filter: brightness(1.07); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-icon { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.btn-pink { background: var(--pink); color: #fff; }
.btn-rose { background: var(--rose); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  text-align: center;
  margin-top: 64px;
  color: var(--muted);
}
.footer-ornament { font-size: 26px; margin-bottom: 14px; }
.footer p { font-size: 15px; line-height: 1.6; }
.footer-names {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-style: italic;
  color: var(--text);
  margin: 10px 0 8px;
}
.footer small { font-size: 12px; opacity: .65; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 440px) {
  .countdown { padding: 14px 18px; gap: 6px; }
  .cd-item span { font-size: 26px; }
  .cd-item { min-width: 40px; }
  .cd-sep { font-size: 22px; }
  .card { flex-direction: column; gap: 14px; }
  .card-icon { width: 50px; height: 50px; font-size: 26px; }
}
