/* Colors sampled from the save-the-date card */
:root {
  --paper: #fdfbf6;
  --paper-deep: #f7f1e3;
  --gold: #c98f2e;
  --rust: #8a3b14;
  --ink: #4a3426;
  --muted: #7d6656;
  --orange: #ef8a2a;
  --leaf: #4f8a5b;
  --koi: #8094ad;
  --line: #ecdfc3;
  --display: "Italiana", "Cormorant Garamond", serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 1.2rem/1.65 var(--serif);
  overflow-x: hidden;
}
a { color: var(--rust); }
h1, h2, h3 { font-weight: 400; line-height: 1.1; margin: 0 0 .5em; }
h2 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.25rem);
  color: var(--gold);
  text-align: center;
  letter-spacing: .06em;
  text-transform: uppercase;
}
h3 { font: 600 1.35rem var(--serif); color: var(--rust); }

.deco { position: absolute; pointer-events: none; user-select: none; height: auto; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.deco-branch { width: clamp(180px, 26vw, 360px); top: -10px; right: 7%; }
.deco-corner { width: clamp(80px, 11vw, 150px); top: 0; right: 0; }
.deco-slice { width: clamp(60px, 9vw, 130px); top: 46%; left: 0; }
.deco-blob { width: clamp(140px, 18vw, 240px); top: 30%; right: 0; opacity: .8; }
.deco-koi { width: clamp(120px, 17vw, 240px); bottom: 6%; right: 0; }
.deco-orange { width: clamp(130px, 20vw, 270px); bottom: 0; left: 0; }

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
  padding: 1.25rem 24px;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav a { color: var(--rust); text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav-cta { border: 1px solid var(--rust); padding: 0 .9rem; border-radius: 999px; }

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 16px 5rem;
}
.save {
  font: italic 400 clamp(1.6rem, 3.5vw, 2.2rem)/1.15 var(--serif);
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 1.5rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.75rem, 13vw, 7.5rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 2rem;
}
.amp { font-family: var(--serif); font-weight: 400; }

.date { display: flex; align-items: center; gap: 1rem; color: var(--gold); margin-bottom: 1.25rem; }
.year { font: 400 clamp(3rem, 9vw, 4.5rem)/1 var(--display); letter-spacing: .04em; }
.date-rule { width: 3px; align-self: stretch; background: var(--rust); }
.day {
  font: 600 clamp(1rem, 2.4vw, 1.3rem)/1.4 var(--serif);
  letter-spacing: .3em;
  text-transform: uppercase;
  text-align: left;
}
.place {
  font-size: 1.15rem;
  letter-spacing: .2em;
  color: var(--rust);
  margin: 0 0 2rem;
}

.countdown { display: flex; gap: 1.75rem; }
.countdown div { display: flex; flex-direction: column; align-items: center; min-width: 4rem; }
.countdown span { font: 400 2.5rem/1 var(--display); color: var(--gold); }
.countdown small { text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; color: var(--muted); }

/* Sections */
.section { position: relative; max-width: 980px; margin: 0 auto; padding: 5rem 16px; }
.section.narrow { max-width: 680px; }
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 72px;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
}
.lead { text-align: center; color: var(--rust); letter-spacing: .08em; margin-top: -.5rem; }
.note { text-align: center; color: var(--muted); font-style: italic; margin-top: 2rem; }

.timeline { list-style: none; padding: 0; margin: 2rem auto 0; max-width: 520px; }
.timeline li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.timeline time { font: 400 1.3rem var(--display); color: var(--gold); padding-top: .1rem; letter-spacing: .05em; }
.timeline h3 { margin: 0; }
.timeline p { margin: 0; color: var(--muted); }

.travel { overflow: visible; }
.deco-koi-small { width: 110px; top: 2rem; right: 0; opacity: .85; transform: rotate(20deg); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.card {
  background: var(--paper-deep);
  border-radius: 16px;
  padding: 1.5rem;
}
.card p { color: var(--muted); }

details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; font: 600 1.3rem var(--serif); color: var(--rust); }
summary::marker { color: var(--gold); }
details p { color: var(--muted); margin: .75rem 0 0; }

.rsvp { text-align: center; padding-top: 10rem; }
.deco-rsvp { width: 100px; top: 1.5rem; left: 50%; transform: translateX(-50%); }
.rsvp p { font-size: 1.3rem; }

.button {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  padding: .7rem 2.25rem;
  border-radius: 999px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font: 600 1rem var(--serif);
}
.button:hover { background: var(--rust); }

.footer { text-align: center; padding: 3rem 16px 4rem; color: var(--muted); letter-spacing: .2em; }
.footer p { margin: 0; }
.footer-names { font: 400 2rem var(--display); color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 640px) {
  .nav { justify-content: center; gap: .25rem 1rem; font-size: .85rem; }
  .deco-branch { left: auto; right: 18%; top: 40px; width: 150px; opacity: .9; }
  .deco-corner { width: 70px; }
  .deco-slice { top: 38%; width: 50px; }
  .deco-blob { top: 24%; width: 120px; }
  .deco-koi { width: 80px; bottom: 2%; }
  .deco-orange { width: 100px; }
  .hero-inner { padding: 9rem 16px 8rem; }
  .place { font-size: 1rem; letter-spacing: .15em; }
  .countdown { gap: 1rem; }
  .deco-koi-small { width: 70px; top: 1rem; }
  .timeline li { grid-template-columns: 4rem 1fr; }
}
