:root {
  --ivory: #FBF8F3;
  --ivory-deep: #F4EEE3;
  --ink: #2E2A26;
  --ink-soft: #5C554E;
  --gold: #A67C52;
  --gold-deep: #8A6540;
  --sage: #8A9B7E;
  --blush: #EAD9C8;
  --line: #E3D9C8;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.nav-brand {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600;
  color: var(--ink); text-decoration: none; letter-spacing: .05em;
}
.nav-brand span { color: var(--gold); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none;
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  transition: color .25s;
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-cta {
  border: 1px solid var(--gold); border-radius: 999px;
  padding: .55rem 1.3rem !important; color: var(--gold-deep) !important;
}
.nav-cta:hover { background: var(--gold); color: #fff !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative;
  background:
    radial-gradient(ellipse 80% 55% at 50% 38%, rgba(166,124,82,.10), transparent 70%),
    linear-gradient(180deg, var(--ivory) 0%, var(--ivory-deep) 100%);
  padding: 6rem 1.5rem 4rem;
}
.hero-inner { max-width: 820px; }
.hero-eyebrow {
  font-size: .85rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.5rem;
}
.hero-names {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3rem, 9vw, 6.5rem); line-height: 1.1;
  color: var(--ink);
  display: flex; flex-direction: column; align-items: center;
}
.hero-names .amp {
  display: block; font-style: italic; color: var(--gold); font-weight: 400;
  font-size: .55em; line-height: 1; margin: .2em 0;
}
.hero-rule { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.75rem 0; }
.hero-rule span { display: block; width: 90px; height: 1px; background: var(--gold); opacity: .6; }
.hero-rule i { color: var(--gold); font-style: normal; font-size: 1.1rem; }
.hero-date {
  font-family: var(--serif); font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-style: italic; color: var(--ink-soft); margin-bottom: 2.5rem;
}
.countdown { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.cd-block { display: flex; flex-direction: column; align-items: center; min-width: 70px; }
.cd-num {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 500; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cd-label { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-soft); margin-top: .25rem; }
.hero-note { font-size: .85rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--gold); text-decoration: none; font-size: 1.4rem;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Sections ---------- */
.section { padding: 6rem 1.5rem; }
.section.alt { background: var(--ivory-deep); }
.container { max-width: 1080px; margin: 0 auto; }
.container.narrow { max-width: 760px; }
.eyebrow {
  text-align: center; font-size: .8rem; letter-spacing: .35em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem;
}
h2 {
  font-family: var(--serif); font-weight: 500; text-align: center;
  font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .5rem;
}
.rule { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: 1.25rem 0 2.5rem; }
.rule span { display: block; width: 70px; height: 1px; background: var(--gold); opacity: .6; }
.rule i { color: var(--gold); font-style: normal; }
.section-sub { text-align: center; color: var(--ink-soft); margin-bottom: 3rem; font-style: italic; font-family: var(--serif); font-size: 1.2rem; }
.prose p { margin-bottom: 1.4rem; font-size: 1.08rem; color: var(--ink-soft); }
.prose .signoff { margin-top: 2rem; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.fineprint { text-align: center; color: var(--ink-soft); font-size: .9rem; font-style: italic; margin-top: 2.5rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin: 0 auto; max-width: 600px; }
.timeline::before {
  content: ''; position: absolute; left: 118px; top: 6px; bottom: 6px;
  width: 1px; background: var(--line);
}
.tl-item { display: flex; gap: 1.75rem; margin-bottom: 2.25rem; position: relative; }
.tl-item:last-child { margin-bottom: 0; }
.tl-time {
  flex: 0 0 100px; text-align: right; font-family: var(--serif);
  font-size: 1.25rem; color: var(--gold-deep); padding-top: .1rem;
  font-variant-numeric: tabular-nums;
}
.tl-item::before {
  content: ''; position: absolute; left: 113px; top: 10px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--ivory); border: 2px solid var(--gold);
}
.tl-body h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: .3rem; }
.tl-body p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: 4px;
  padding: 2rem 1.75rem; text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.section.alt .card { background: var(--ivory); }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(166,124,82,.12); }
.card h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin-bottom: .75rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink);
  padding: 1.25rem .25rem;
}
.faq-icon { color: var(--gold); font-size: 1.5rem; font-weight: 300; transition: transform .3s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 .25rem 1.4rem; color: var(--ink-soft); }
.faq-a a { color: var(--gold-deep); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--gold-deep), var(--gold)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin: 1rem 0 2rem; font-size: 1.1rem; }
.btn {
  display: inline-block; background: #fff; color: var(--gold-deep);
  font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  padding: 1rem 2.5rem; border-radius: 999px; transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.18); }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 3.5rem 1.5rem; background: var(--ink); color: rgba(251,248,243,.75); }
.footer-names { font-family: var(--serif); font-size: 1.8rem; color: var(--ivory); margin-bottom: .25rem; }
.footer-date { font-size: .85rem; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1rem; color: var(--blush); }
.footer-made { font-size: .8rem; font-style: italic; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(75vw, 300px);
    background: var(--ivory); flex-direction: column; justify-content: center;
    gap: 2rem; padding: 2rem; transform: translateX(100%);
    transition: transform .35s ease; box-shadow: -10px 0 30px rgba(0,0,0,.08);
  }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; z-index: 101; }
  .timeline::before { left: 96px; }
  .tl-item::before { left: 91px; }
  .tl-time { flex-basis: 78px; font-size: 1.05rem; }
  .countdown { gap: 1.25rem; }
  .section { padding: 4rem 1.25rem; }
}
