:root {
  --cream: #f2eadf;
  --paper: #f8f4ee;
  --ink: #2e312b;
  --olive: #65705c;
  --terracotta: #a66246;
  --sand: #d7c7b3;
  --white: #fffdf9;
  --line: rgba(46,49,43,.17);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 5vw; color: var(--white); transition: .35s ease;
}
.site-header.scrolled { background: rgba(248,244,238,.94); color: var(--ink); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .08em; font-weight: 600; }
.brand span { font-style: italic; font-weight: 400; }
.nav { display: flex; gap: 28px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.nav a { opacity: .86; }
.nav a:hover { opacity: 1; }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; font: inherit; }

.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: var(--white); text-align: center; }
.hero-image { position: absolute; inset: 0; background: url('assets/dinner.jpeg') center/cover no-repeat; transform: scale(1.03); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,28,24,.25), rgba(26,28,24,.48)); }
.hero-content { position: relative; z-index: 2; width: min(920px, 90vw); padding-top: 4rem; }
.hero h1 { font-family: var(--serif); font-size: clamp(4.2rem, 10vw, 8.8rem); font-weight: 400; line-height: .9; margin: 14px 0 26px; letter-spacing: -.04em; }
.hero h1 span { font-style: italic; font-size: .72em; }
.hero-sub { font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 2.2rem); max-width: 720px; margin: 0 auto 34px; }
.eyebrow { font-size: .77rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.eyebrow.dark { color: var(--terracotta); }
.button { display: inline-block; padding: 14px 24px; border: 1px solid currentColor; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; transition: .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--white); }
.scroll-cue { position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 1.4rem; }

.section { padding: 120px 6vw; }
.narrow { width: min(780px, 100%); margin: 0 auto; text-align: center; }
h2 { font-family: var(--serif); font-size: clamp(3.2rem, 6vw, 5.8rem); font-weight: 400; line-height: .95; margin: 10px 0 28px; letter-spacing: -.03em; }
h3 { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; line-height: 1.1; margin: 0 0 18px; }
.lead { font-family: var(--serif); font-size: clamp(1.55rem, 2.7vw, 2.3rem); line-height: 1.45; }
.signature { font-family: var(--serif); font-style: italic; font-size: 2rem; margin-top: 24px; }

.countdown-section { padding: 0 6vw 110px; }
.countdown-wrap { width: min(1050px, 100%); margin: 0 auto; text-align: center; border-top: 1px solid var(--line); padding-top: 65px; }
.countdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 30px; }
.countdown div { padding: 24px 10px; border-left: 1px solid var(--line); }
.countdown div:first-child { border-left: 0; }
.countdown strong { display: block; font-family: var(--serif); font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; line-height: .9; }
.countdown span { display: block; margin-top: 10px; text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; }

.image-break { height: min(74vh, 780px); background-size: cover; background-position: center; }
.image-break-dinner { background-image: url('assets/dinner.jpeg'); background-position: center 57%; }
.image-break-pool { background-image: url('assets/pool.jpeg'); }

.section-heading { width: min(700px, 100%); margin: 0 auto 70px; text-align: center; }
.section-heading > p:last-child { max-width: 620px; margin-inline: auto; }
.timeline { width: min(1060px, 100%); margin: 0 auto; border-top: 1px solid var(--line); }
.day { display: grid; grid-template-columns: 120px 1fr; gap: 35px; padding: 55px 0; border-bottom: 1px solid var(--line); }
.day-number { font-family: var(--serif); font-size: 4rem; color: var(--sand); line-height: 1; }
.day-date { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--terracotta); margin: 0 0 8px; }
.schedule-row { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 11px 0; border-top: 1px solid rgba(46,49,43,.09); }
.schedule-row span { font-weight: 500; font-size: .83rem; }
.schedule-row p { margin: 0; }

.split-section { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 760px; background: var(--paper); }
.split-image { min-height: 620px; background-size: cover; background-position: center; }
.split-image-cypress { background-image: url('assets/cypress.jpeg'); }
.split-copy { padding: 10vw 8vw; align-self: center; }
.split-copy p { max-width: 580px; }

.map-section { background: var(--paper); }
.map-grid { width: min(1150px,100%); margin: 0 auto; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 70px; }
.map-copy p { max-width: 520px; }
.map-art { width: 100%; border-radius: 50% 50% 48% 52% / 48% 50% 50% 52%; box-shadow: 0 20px 60px rgba(46,49,43,.08); }

.practical { background: var(--cream); }
.cards { width: min(1160px,100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card { background: rgba(255,253,249,.5); padding: 34px; min-height: 280px; border: 1px solid rgba(46,49,43,.1); }
.icon { font-size: 1.6rem; margin-bottom: 30px; color: var(--terracotta); }
.card h3 { font-size: 1.8rem; }
.card p { margin-bottom: 0; }

.faq-section { background: var(--paper); }
.faq-wrap { width: min(860px,100%); margin: 0 auto; }
details { border-top: 1px solid var(--line); padding: 24px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-family: var(--serif); font-size: 1.65rem; list-style: none; }
summary::-webkit-details-marker { display:none; }
details p { margin-bottom: 0; max-width: 720px; }

.rsvp { position: relative; padding: 130px 6vw; text-align: center; color: var(--white); background: linear-gradient(rgba(62,63,54,.74), rgba(62,63,54,.74)), url('assets/dinner.jpeg') center/cover no-repeat; }
.rsvp-inner { width: min(700px,100%); margin: 0 auto; }
.rsvp h2 { color: var(--white); }
.small-note { opacity: .72; font-size: .78rem; margin-top: 18px; }
footer { padding: 34px 6vw; text-align: center; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .site-header { padding: 18px 22px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; top: 64px; right: 14px; left: 14px; background: var(--paper); color: var(--ink); padding: 22px; display: none; flex-direction: column; gap: 16px; border: 1px solid var(--line); }
  .nav.open { display: flex; }
  .section { padding: 88px 22px; }
  .countdown-section { padding: 0 22px 80px; }
  .countdown { grid-template-columns: repeat(2,1fr); }
  .countdown div:nth-child(3) { border-left: 0; }
  .split-section { grid-template-columns: 1fr; }
  .split-copy { padding: 78px 24px; }
  .map-grid { grid-template-columns: 1fr; gap: 40px; }
  .map-art { max-width: 620px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(4rem, 18vw, 6rem); }
  .hero-sub { font-size: 1.45rem; }
  .day { grid-template-columns: 1fr; gap: 10px; }
  .day-number { font-size: 3rem; }
  .schedule-row { grid-template-columns: 72px 1fr; gap: 14px; }
  .cards { grid-template-columns: 1fr; }
  .image-break { height: 62vh; }
}
