:root {
  --bg: #f7f7f5;
  --paper: #ffffff;
  --tint: #f0eeea;
  --ink: #111111;
  --ink-2: #3a3a3a;
  --muted: #7a7a76;
  --line: #1a1a1a;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --script: "Great Vibes", "Segoe Script", cursive;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(247,247,245,.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transform: translateY(-100%); transition: transform .5s var(--ease);
}
.nav.is-visible { transform: none; }
.nav__logo { color: var(--ink); text-decoration: none; }
.nav__links { display: flex; gap: clamp(12px, 3vw, 32px); }
.nav__links a {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2); transition: color .2s;
}
.nav__links a:hover { color: var(--ink); }
@media (max-width: 560px) { .nav__links a:nth-child(n+3) { display: none; } }

/* HERO */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 72px 20px 88px;
  background: var(--paper);
  position: relative;
}
.hero__we {
  margin: 0 0 36px;
  font-weight: 500;
  font-size: clamp(44px, 8vw, 72px);
  letter-spacing: .02em; line-height: 1;
}
.heart { font-size: .72em; vertical-align: .06em; display: inline-block; animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 0%,100%{transform:scale(1)} 12%{transform:scale(1.12)} 24%{transform:scale(1)} 36%{transform:scale(1.08)} 48%{transform:scale(1)} }

.sprig { color: #6d6d6a; margin: 0 auto 28px; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2);
}
.names {
  margin: 0 0 16px;
  display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 48px);
  font-size: clamp(24px, 4.4vw, 36px); font-weight: 400;
  letter-spacing: .38em; text-transform: uppercase;
}
.names span:not(.dot) { margin-right: -.38em; }
.names .dot { font-size: .9em; letter-spacing: 0; }
.lead {
  margin: 0 0 40px;
  font-size: clamp(12px, 1.6vw, 14px); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}

/* DATE BLOCK */
.date {
  width: min(640px, 100%);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  margin: 0 auto 36px;
}
.date__side {
  border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line);
  padding: 18px 8px;
  font-size: clamp(12px, 1.8vw, 15px); font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
}
.date__side:first-child { border-right: 1.5px solid var(--line); }
.date__side:last-child { border-left: 1.5px solid var(--line); }
.date__side:first-child, .date__side:last-child { border-left-width: 0; border-right-width: 0; position: relative; }
.date__side:first-child::after, .date__side:last-child::before {
  content: ""; position: absolute; top: 50%; width: 1.5px; height: 30px; background: var(--line); transform: translateY(-50%);
}
.date__side:first-child::after { right: 0; }
.date__side:last-child::before { left: 0; }
.date__center {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 clamp(20px, 4vw, 36px);
  line-height: 1;
}
.date__month, .date__year { font-size: clamp(11px, 1.5vw, 13px); letter-spacing: .12em; text-transform: uppercase; }
.date__day { font-size: clamp(40px, 7vw, 56px); font-weight: 500; margin: 8px 0; letter-spacing: .02em; }

.venue { margin: 0 0 44px; display: flex; flex-direction: column; gap: 12px; }
.venue strong { font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.venue span { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

.signature {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(44px, 7vw, 64px);
  line-height: 1.1; font-weight: 400;
  display: flex; align-items: baseline; justify-content: center; gap: clamp(28px, 8vw, 90px);
}
.signature .plus { font-family: var(--sans); font-size: 14px; font-weight: 300; }

.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1px solid var(--muted); border-radius: 12px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 2px; height: 7px; margin-left: -1px;
  background: var(--muted); border-radius: 2px; animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%{opacity:0;transform:translateY(0)} 30%{opacity:1} 100%{opacity:0;transform:translateY(12px)} }

/* COUNTDOWN */
.countdown {
  padding: 72px 20px; text-align: center;
  background: var(--ink); color: #f5f5f2;
}
.countdown .eyebrow { color: #bdbdb8; margin-bottom: 28px; }
.countdown__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 120px)); justify-content: center;
  gap: clamp(8px, 3vw, 32px);
}
.countdown__grid div { display: flex; flex-direction: column; align-items: center; }
.countdown__grid div + div { border-left: 1px solid rgba(255,255,255,.18); }
.countdown__grid span { font-size: clamp(32px, 7vw, 56px); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__grid small { margin-top: 10px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #bdbdb8; }
.countdown__done { margin: 0; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }

/* SECTIONS */
.section {
  padding: clamp(72px, 12vw, 128px) 20px;
  text-align: center;
  background: var(--paper);
}
.section--tint { background: var(--bg); }
.section__title {
  margin: 0 auto 48px;
  font-size: clamp(13px, 1.8vw, 15px); font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  max-width: 640px;
}
.section__title::before, .section__title::after { content: ""; flex: 1; height: 1px; background: var(--line); max-width: 120px; }

.text {
  max-width: 560px; margin: 0 auto 32px;
  font-size: clamp(13px, 1.8vw, 15px); line-height: 1.9;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
.text--accent { margin: 40px auto 0; font-family: var(--script); text-transform: none; letter-spacing: 0; font-size: clamp(30px, 5vw, 40px); line-height: 1.2; color: var(--ink); }

/* TIMELINE */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 520px; }
.timeline li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.timeline li:first-child { border-top: 1px solid rgba(0,0,0,.1); }
.timeline time { font-size: clamp(26px, 4.5vw, 36px); font-weight: 500; font-variant-numeric: tabular-nums; }
.timeline__line { height: 1px; background: repeating-linear-gradient(90deg, var(--muted) 0 3px, transparent 3px 8px); }
.timeline__label { font-size: clamp(12px, 1.8vw, 14px); letter-spacing: .16em; text-transform: uppercase; text-align: right; }

/* PALETTE */
.palette {
  list-style: none; padding: 0; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 3vw, 28px);
  max-width: 640px;
}
.palette li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.palette li::before {
  content: ""; width: clamp(52px, 9vw, 72px); aspect-ratio: 1; border-radius: 50%;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  transition: transform .3s var(--ease);
}
.palette li:hover::before { transform: translateY(-4px); }
.palette span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* PLACE & CONTACT */
.place__name { margin: 0 0 8px; font-size: clamp(28px, 5vw, 40px); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.place__addr { margin: 0 0 32px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.contact__name { margin: 0; font-family: var(--script); font-size: clamp(40px, 6vw, 54px); line-height: 1.2; }
.contact__phone { display: inline-block; margin: 4px 0 32px; font-size: clamp(18px, 3vw, 22px); letter-spacing: .1em; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact__phone:hover { text-decoration: underline; text-underline-offset: 4px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 26px;
  border: 1.5px solid var(--ink); background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* FOOTER */
.footer { padding: 88px 20px 64px; text-align: center; background: var(--paper); border-top: 1px solid rgba(0,0,0,.06); }
.date--small { width: min(480px, 100%); margin-bottom: 36px; }
.date--small .date__day { font-size: 40px; }
.footer__note { margin: 24px 0 0; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 480px) {
  .names { letter-spacing: .28em; gap: 16px; }
  .names span:not(.dot) { margin-right: -.28em; }
  .date__side { padding: 14px 4px; letter-spacing: .04em; }
  .date__center { padding: 0 14px; }
  .timeline li { gap: 12px; }
  .countdown__grid small { letter-spacing: .12em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .heart, .scroll-cue span { animation: none; }
}
