/* ══════════════════════════════════════════════════════════════
   Andreea & Charles — Ravello, 21–23 August 2026
   Palette and type drawn from the printed invitation suite.
   ══════════════════════════════════════════════════════════════ */

:root {
  --cream: #f8f8f3;          /* paper */
  --cream-deep: #f2f1e9;     /* slightly deeper paper for cards */
  --green: #5f6e5e;          /* deep sage — headings, frames */
  --green-soft: #66715f;     /* body text (WCAG AA on both creams) */
  --green-faint: #a9b2a2;    /* hairlines */
  --blue: #4a6f97;           /* the brunch blue */
  --blue-soft: #6d8cab;
  --script: 'Pinyon Script', cursive;
  --serif: 'Cormorant Garamond', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

section, footer, main { scroll-margin-top: 72px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--green); color: var(--cream);
  padding: 12px 20px; font-family: var(--serif); letter-spacing: .1em;
}
.skip-link:focus { left: 0; }

body {
  background: var(--cream);
  color: var(--green-soft);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.16rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; border-bottom: 1px solid var(--green-faint); transition: border-color .25s; }
a:hover { border-color: var(--green); }
a[href^="tel"] { white-space: nowrap; }

p + p { margin-top: .9em; }

strong { font-weight: 600; color: var(--green); }

/* ───────── type helpers ───────── */

.script { font-family: var(--script); font-weight: 400; color: var(--green); }

.caps {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 500;
  font-size: .78rem;
  color: var(--green);
}

.serif-italic { font-style: italic; }

.small { font-size: .95rem; }

.section-title {
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  text-align: center;
  line-height: 1.15;
  margin-bottom: .35em;
}

.kicker { text-align: center; margin-bottom: 1.1em; }

.container { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.container.wide { max-width: 1200px; }

/* ───────── nav ───────── */

#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: transparent;
  transition: background .35s, box-shadow .35s;
}

#nav.scrolled {
  background: rgba(248, 248, 243, .92);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(95, 110, 94, .18);
}

.nav-monogram {
  display: inline-flex; align-items: center; border: none;
  flex: 0 0 auto; line-height: 0;
}
.nav-monogram img { height: 52px; width: auto; display: block; }

.nav-links {
  display: flex; gap: 26px; align-items: center; overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  font-family: var(--serif); text-transform: uppercase;
  letter-spacing: .18em; font-size: .82rem; font-weight: 600;
  color: var(--green); border: none; white-space: nowrap;
  padding: 4px 0;
  text-shadow: 0 1px 8px rgba(248, 248, 243, .92), 0 0 2px rgba(248, 248, 243, .95);
}
.nav-links a:hover { opacity: .65; }

.nav-rsvp {
  border: 1px solid var(--green) !important;
  padding: 7px 16px !important;
  border-radius: 2px;
  transition: background .25s, color .25s;
}
.nav-rsvp:hover { background: var(--green); color: var(--cream) !important; opacity: 1 !important; }

/* ───────── hero ───────── */

.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 110px 24px 40px;
  position: relative;
}

.hero-plane { width: min(340px, 62vw); margin-bottom: 8px; }

@keyframes drift {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(-7px) }
}
.float-drift { animation: drift 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-drift, .scroll-cue svg { animation: none; }
}

.hero-monogram { width: min(120px, 26vw); margin: 6px 0 10px; }

.hero h1 {
  font-size: clamp(3rem, 9vw, 5.4rem);
  line-height: 1.1;
  margin-bottom: .18em;
}
.hero h1 .amp { font-size: .75em; }

.hero-caps {
  font-family: var(--serif); text-transform: uppercase; letter-spacing: .26em;
  font-weight: 500; font-size: .84rem; color: var(--green);
}

.hero-rule { width: 64px; height: 1px; background: var(--green-faint); margin: 22px auto; }

.hero-caps .nobr { white-space: nowrap; }
@media (max-width: 560px) {
  .hero-caps .dot { display: none; }
  .hero-caps .nobr { display: block; }
  .hero-caps .nobr + .nobr { margin-top: .45em; }
}

.hero-invite { font-size: 1.25rem; color: var(--green-soft); }

.hero-detail { margin-top: .7em; font-size: 1.08rem; }

.hero-countdown { margin-top: 1.4em; letter-spacing: .3em; font-size: .72rem; color: var(--green-soft); }
.hero-countdown + .hero-caps { margin-top: 1em; }

.hero-coast { width: min(560px, 86vw); margin-top: 18px; }

.scroll-cue {
  margin-top: 8px;
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  border: none; color: var(--green);
}
.scroll-cue svg { animation: drift 2.6s ease-in-out infinite; }

/* ───────── welcome ───────── */

.welcome {
  position: relative;
  padding: 110px 0 120px;
  text-align: center;
}

.welcome p { max-width: 56ch; margin-left: auto; margin-right: auto; }

.floral {
  position: absolute; width: min(230px, 30vw); opacity: .95; pointer-events: none;
  -webkit-mask-image: radial-gradient(130% 130% at 0% 0%, #000 52%, transparent 76%);
  mask-image: radial-gradient(130% 130% at 0% 0%, #000 52%, transparent 76%);
}
.corner-tl { top: 18px; left: 14px; }
.corner-br { right: 14px; bottom: 18px; transform: rotate(180deg); }

.citrus {
  position: absolute; width: min(200px, 27vw); opacity: .95; pointer-events: none;
}
.corner-tr {
  top: 46px; right: 16px;
  -webkit-mask-image: radial-gradient(130% 130% at 100% 0%, #000 52%, transparent 76%);
  mask-image: radial-gradient(130% 130% at 100% 0%, #000 52%, transparent 76%);
}
.corner-bl {
  left: 16px; bottom: 46px;
  -webkit-mask-image: radial-gradient(130% 130% at 0% 100%, #000 52%, transparent 76%);
  mask-image: radial-gradient(130% 130% at 0% 100%, #000 52%, transparent 76%);
}

.signoff { margin-top: 2em; }
.signoff-names { font-size: 2.1rem; display: inline-block; margin-top: .25em; }

/* ───────── weekend day cards ───────── */

.weekend { padding: 40px 0 30px; }

.day-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
  padding: 56px 54px;
  margin: 64px 0;
  background: var(--cream);
}

.day-card.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.day-card.reverse .day-media { order: 2; }
.day-card.reverse .day-body { order: 1; }

.day-media { text-align: center; }
.day-media > img:first-child { width: 100%; max-width: 420px; margin: 0 auto; }
.day-motif { width: 120px; margin: 26px auto 0; }

.day-date { margin-bottom: .3em; }
.day-title { font-size: clamp(2.2rem, 4.5vw, 3rem); margin-bottom: .35em; }
.day-lead { margin-bottom: 1.4em; }

.day-event { margin: 1.5em 0; }
.day-time { font-size: 1.7rem; line-height: 1.2; }
.day-event-name { margin: .35em 0 .6em; letter-spacing: .24em; }

.dresscode {
  margin-top: 1.8em; padding-top: 1.4em;
  border-top: 1px solid var(--green-faint);
}
.dresscode-label { letter-spacing: .3em; font-size: .72rem; }
.dresscode-name { font-size: 1.9rem; margin: .15em 0 .2em; }
.dresscode-detail { font-size: 1.02rem; }
.dresscode-detail em { font-style: italic; }

/* blue variant — the brunch card */
.day-card.blue .day-date,
.day-card.blue .day-title,
.day-card.blue .day-time,
.day-card.blue .day-event-name,
.day-card.blue .dresscode-label,
.day-card.blue .dresscode-name { color: var(--blue); }
.day-card.blue .dresscode { border-top-color: #b9c6d6; }

/* ───────── map ───────── */

.map-section { padding: 60px 0 40px; text-align: center; }
.map-img { width: 100%; }
.map-caption { margin-top: 14px; font-size: 1.05rem; }

/* ───────── travel ───────── */

.travel { padding: 80px 0 20px; }

.travel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 56px;
  margin-top: 30px;
}

.travel-card { text-align: center; }
.travel-title { font-size: 2rem; margin-bottom: .4em; }
.travel-title:not(:first-child) { margin-top: 1.3em; }
.travel-card p { max-width: 48ch; margin-left: auto; margin-right: auto; }
.travel-illus { width: min(300px, 70%); margin: 26px auto 0; }
.contact-line { margin-top: .8em; }

.plain-list { list-style: none; }
.plain-list li { margin: .9em 0; }

.notes-card { padding: 48px 44px; align-self: center; }
.notes-card p { font-size: 1.12rem; }

/* ───────── guide ───────── */

.guide { padding: 80px 0 30px; }

.guide-sub { font-size: 2.2rem; text-align: center; margin: 1.6em 0 .8em; }

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  text-align: center;
}

.guide-card img {
  width: min(250px, 82%);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
  margin: 0 auto 20px;
}
.guide-name { margin-bottom: .5em; }
.guide-card p { font-size: 1.02rem; }

.guide-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  margin-top: 20px;
}

.explore-list { list-style: none; text-align: center; }
.explore-list li { margin: 2em 0; }
.explore-list img {
  width: min(250px, 82%);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
  margin: 0 auto 14px;
}
.explore-list span { display: block; max-width: 34ch; margin: 0 auto; min-height: 2.9em; }

.festival-note {
  text-align: center;
  max-width: 62ch;
  margin: 70px auto 30px;
  padding: 26px 30px;
  border-top: 1px solid var(--green-faint);
  border-bottom: 1px solid var(--green-faint);
  font-size: 1.12rem;
}

/* ───────── rsvp ───────── */

.rsvp { padding: 0 0 80px; text-align: center; }

.rsvp-deadline { max-width: 44ch; margin: 0 auto 40px; }

#rsvp-form {
  background: var(--cream);
  padding: 60px 54px 50px;
  text-align: left;
}

.rsvp-form-title { text-align: center; letter-spacing: .26em; }
.rsvp-form-sub { text-align: center; font-size: .68rem; letter-spacing: .26em; margin: .6em 0 2.2em; color: var(--green-soft); }

.field { display: flex; align-items: baseline; gap: 16px; margin: 1.3em 0; flex-wrap: wrap; }
.field label { flex: 0 0 auto; }
.field input {
  flex: 1 1 200px;
  border: none;
  border-bottom: 1px solid var(--green-faint);
  background: transparent;
  font-family: var(--serif); font-size: 1.1rem; color: var(--green);
  padding: 4px 2px;
  border-radius: 0;
}
.field input:focus { outline: none; border-bottom-color: var(--green); }
.field input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.attend input:focus-visible,
.rsvp-submit:focus-visible,
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

fieldset { border: none; margin: 2.2em 0; }
legend {
  font-family: var(--serif); font-size: 1.35rem; color: var(--green);
  text-align: center; width: 100%; margin-bottom: .5em;
}

.attend {
  display: flex; justify-content: center; align-items: center;
  gap: 20px; flex-wrap: wrap;
  font-size: 1.12rem;
}
.attend label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.attend input { accent-color: var(--green); width: 15px; height: 15px; }

.mains-note { text-align: center; margin: 1.2em auto .4em; max-width: 46ch; font-size: 1.05rem; }

.rsvp-submit {
  display: block;
  margin: 2.4em auto 0;
  background: var(--green);
  color: var(--cream);
  border: 1px solid var(--green);
  padding: 14px 42px;
  font-size: .8rem;
  letter-spacing: .26em;
  cursor: pointer;
  transition: background .25s, color .25s;
  border-radius: 2px;
}
.rsvp-submit:hover { background: transparent; color: var(--green); }

.rsvp-mailto-note { text-align: center; margin-top: 1.2em; font-size: .98rem; }

.rsvp-contact { margin-top: 70px; }
.rsvp-vespa { width: min(240px, 55vw); margin: 0 auto 10px; }
.rsvp-contact h2 { font-size: 2.4rem; margin-bottom: .3em; }

/* ───────── footer ───────── */

footer {
  text-align: center;
  padding: 70px 24px 60px;
  border-top: 1px solid rgba(95, 110, 94, .15);
}
.footer-names { font-size: 2.6rem; margin-bottom: .3em; }

/* ══════════════════════════════════════════════════════════════
   v2 — multi-page watercolor edition
   ══════════════════════════════════════════════════════════════ */

/* ───────── interior page hero ───────── */

.page-hero {
  position: relative;
  text-align: center;
  padding: 130px 24px 20px;
  overflow: visible;
}

.page-hero .wash {
  position: absolute;
  left: 50%; top: 46px;
  transform: translateX(-50%);
  width: min(680px, 96vw);
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.page-hero > :not(.wash) { position: relative; z-index: 1; }

.page-title {
  font-family: var(--script);
  font-weight: 400;
  color: var(--green);
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  line-height: 1.12;
}

.page-kicker { margin-bottom: .9em; }
.page-lede {
  max-width: 52ch;
  margin: 1.2em auto 0;
  font-style: italic;
}

/* ───────── nav active page — brush underline ───────── */

.nav-links a { position: relative; }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: -3px; right: -3px; bottom: -7px; height: 8px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M2 6 Q 26 2 52 5 T 98 5" stroke="%237a8a74" stroke-width="3.4" fill="none" stroke-linecap="round" opacity=".5"/><path d="M4 7 Q 30 4 60 6 T 97 6" stroke="%23a9b88f" stroke-width="2.2" fill="none" stroke-linecap="round" opacity=".45"/></svg>') no-repeat center / 100% 100%;
}

/* ───────── mobile menu: hamburger + full-page overlay ───────── */

.nav-toggle { display: none; }

.nav-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(248, 248, 243, .97);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.nav-overlay.open { opacity: 1; visibility: visible; transition: opacity .35s ease; }

.nav-overlay-inner { text-align: center; padding: 24px; }

.nav-overlay-mono {
  display: inline-block;
  font-size: 3rem; color: var(--green);
  border: none; margin-bottom: 34px;
}

.nav-overlay-links { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.nav-overlay-links a {
  position: relative;
  font-family: var(--serif); text-transform: uppercase;
  letter-spacing: .3em; font-size: 1.02rem; font-weight: 500;
  color: var(--green); border: none; padding: 4px 2px;
}
.nav-overlay-links a[aria-current="page"]::after {
  content: "";
  position: absolute; left: -4px; right: -4px; bottom: -8px; height: 9px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M2 6 Q 26 2 52 5 T 98 5" stroke="%237a8a74" stroke-width="3.4" fill="none" stroke-linecap="round" opacity=".5"/><path d="M4 7 Q 30 4 60 6 T 97 6" stroke="%23a9b88f" stroke-width="2.2" fill="none" stroke-linecap="round" opacity=".45"/></svg>') no-repeat center / 100% 100%;
}
.nav-overlay-links a.nav-rsvp {
  border: 1px solid var(--green);
  padding: 13px 38px; margin-top: 10px; border-radius: 2px;
}

.nav-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-family: var(--serif); font-size: 2.5rem; line-height: 1;
  color: var(--green); padding: 8px 12px;
}

body.menu-open { overflow: hidden; }

/* ───────── watercolor swash divider ───────── */

.swash {
  display: block;
  width: min(240px, 55vw);
  margin: 46px auto;
  height: 12px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 12" preserveAspectRatio="none"><path d="M4 7 Q 60 2 120 6 T 236 6" stroke="%23aebfa8" stroke-width="4" fill="none" stroke-linecap="round" opacity=".5"/><path d="M10 8 Q 70 5 130 7 T 232 7" stroke="%23c9d4bf" stroke-width="2.6" fill="none" stroke-linecap="round" opacity=".55"/></svg>') no-repeat center / 100% 100%;
}

/* ───────── the journey (immersive home map) ───────── */

.journey {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.scene-viewport {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: 0;                   /* full-bleed: the map fills the viewport, nav + title float over it */
  overflow: hidden;
}

#journey-map {
  position: absolute; top: 0; left: 0;
  transform-origin: 0 0;   /* the camera transform carries both the pan and the zoom */
  will-change: transform;
}

#fiat { transition: opacity .8s ease; }

.stop-pulse { opacity: 0; }
.stop-pulse circle {
  fill: none; stroke: #5f6e5e; stroke-width: 4;
  transform-box: fill-box; transform-origin: center;
}
.stop-pulse.active { opacity: 1; }
.stop-pulse.active circle { animation: pulse 1.6s ease-out infinite; }
.stop-pulse.active circle.p2 { animation-delay: .8s; }
@keyframes pulse {
  0% { transform: scale(.45); opacity: .75; }
  100% { transform: scale(1.6); opacity: 0; }
}

.journey-caption {
  position: absolute; left: 50%; top: 92px;
  transform: translateX(-50%);
  z-index: 20;
  text-align: center;
  width: min(680px, 94vw);
  padding: 10px 20px;
  background: none;
  transition: opacity .5s ease;
}
.jc-title { font-size: clamp(2rem, 5.2vw, 2.9rem); line-height: 1.15; color: var(--green);
  text-shadow: 0 1px 12px rgba(248, 248, 243, .95), 0 0 5px rgba(248, 248, 243, .95), 0 0 2px rgba(248, 248, 243, .9); }
.jc-sub { margin-top: .5em; font-size: .78rem; letter-spacing: .24em; font-weight: 600; color: var(--green);
  text-shadow: 0 1px 9px rgba(248, 248, 243, .95), 0 0 3px rgba(248, 248, 243, .95); }
.journey-caption.fading { opacity: 0; }

.jc-actions { display: flex; gap: 14px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.jc-actions[hidden] { display: none; }
.jc-btn {
  font-family: var(--serif); text-transform: uppercase;
  letter-spacing: .2em; font-size: .72rem; font-weight: 500;
  color: var(--green); border: 1px solid var(--green);
  padding: 10px 22px; border-radius: 2px;
  transition: background .25s, color .25s;
}
.jc-btn:hover { background: var(--green); color: var(--cream); }
.jc-btn-solid { background: var(--green); color: var(--cream); }
.jc-btn-solid:hover { background: transparent; color: var(--green); }

.journey-skip, .journey-replay {
  position: absolute; right: 18px; bottom: 22px; z-index: 21;
  background: rgba(248, 248, 243, .8);
  border: 1px solid var(--green-faint);
  color: var(--green);
  font-family: var(--serif);
  cursor: pointer;
  border-radius: 30px;
  transition: opacity .4s, background .25s;
}
.journey-skip { padding: 8px 16px; font-size: .82rem; letter-spacing: .08em; font-style: italic; }
.journey-replay { width: 44px; height: 44px; font-size: 1.4rem; line-height: 1; }
.journey-skip:hover, .journey-replay:hover { background: var(--cream); border-color: var(--green); }

/* ───────── home content below the map ───────── */

.home-invite { padding: 90px 0 30px; text-align: center; }
.home-invite-inner { text-align: center; }
.home-invite .hero-monogram { width: min(110px, 24vw); margin: 0 auto 12px; }
.home-names { font-size: clamp(2.6rem, 7vw, 4.2rem); line-height: 1.12; margin-bottom: .18em; }
.home-names .amp { font-size: .75em; }
.home-invite .tiles { padding-bottom: 40px; }

/* ───────── landing page tiles ───────── */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 40px;
  max-width: 880px;
  margin: 30px auto 0;
  padding: 0 24px;
}

.tile {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  border: none;
  padding: 26px 14px 20px;
  transition: transform .35s ease;
}
.tile:hover { transform: translateY(-4px); }
.tile img {
  height: 170px;
  width: auto;
  max-width: min(200px, 80%);
  object-fit: contain;
  margin: 0 auto;
}
.tile .caps { line-height: 1.4; }
.tile .caps { letter-spacing: .26em; }
.tile:hover .caps { text-decoration: none; }

@media (max-width: 880px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .tile img { height: 124px; }
}

/* ───────── dress code page ───────── */

.dress-panel {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 44px;
  align-items: center;
  padding: 54px 50px;
  margin: 58px 0;
}

.dress-panel.reverse .dress-figures { order: 2; }
.dress-panel.reverse .dress-body { order: 1; }

.dress-figures { text-align: center; }
.dress-figures svg { width: min(500px, 92vw); height: auto; }

.dress-body { text-align: center; }
.dress-event { margin-bottom: .25em; }
.dress-day { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: .1em; }
.dress-name { font-size: clamp(2rem, 4.6vw, 2.8rem); margin: .3em 0 .4em; }
.dress-detail { max-width: 44ch; margin: 0 auto; }
.dress-detail + .dress-detail { margin-top: .8em; }
.dress-motif { width: 104px; margin: 22px auto 0; }

.dress-panel.blue .dress-day,
.dress-panel.blue .dress-event,
.dress-panel.blue .dress-name { color: var(--blue); }

@media (max-width: 880px) {
  .dress-panel, .dress-panel.reverse { grid-template-columns: 1fr; gap: 26px; padding: 44px 24px; margin: 40px 0; }
  .dress-panel.reverse .dress-figures { order: 0; }
  .dress-panel.reverse .dress-body { order: 1; }
}

.page-crosslink { text-align: center; padding-bottom: 70px; }
.notes-standalone { max-width: 720px; margin: 70px auto 60px; }

.weather-block { text-align: center; max-width: 640px; margin: 0 auto 90px; }
.weather-block p { max-width: 48ch; margin: 0 auto 26px; }
.weather-block img { width: min(420px, 82vw); margin: 0 auto; }
.weather-block .travel-title { margin-bottom: .4em; }

.travel-crossref { text-align: center; margin: 50px auto 20px; max-width: 52ch; }

/* ───────── hotel recommendations ───────── */

.hotels { text-align: center; margin-top: 30px; }
.hotels-note { margin-bottom: 30px; }
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 30px;
  max-width: 880px;
  margin: 0 auto 36px;
}
.hotel-name { letter-spacing: .2em; margin-bottom: .4em; }
.hotel-price { font-size: 1.15rem; color: var(--green); margin-bottom: .3em; }
.hotel-card p { font-size: 1rem; }
.hotels-caruso { max-width: 46ch; margin: 0 auto; }

@media (max-width: 880px) {
  .hotels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}

/* ───────── welcome letter page ───────── */

.letter {
  position: relative;
  max-width: 720px;
  margin: 10px auto 0;
  padding: 64px 56px;
  text-align: center;
}
.letter p { max-width: 54ch; margin-left: auto; margin-right: auto; }
.letter .salutation { font-size: 1.35rem; font-style: italic; margin-bottom: 1.2em; }
.letter-art { width: min(320px, 70vw); margin: 34px auto 6px; }

@media (max-width: 880px) {
  .letter { padding: 48px 22px; }
}

/* ───────── reveal animation ───────── */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ───────── responsive ───────── */

@media (max-width: 880px) {
  body { font-size: 1.08rem; }

  /* transparent at rest like the desktop nav, so the map runs to the top of the
     screen; #nav.scrolled brings the cream plate back once the page moves */
  #nav { padding: 10px 16px; }
  .nav-monogram img { filter: drop-shadow(0 1px 6px rgba(248, 248, 243, .9)); }
  #nav.scrolled .nav-monogram img,
  #nav.scrolled .nav-toggle span { filter: none; }
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 10px;
  }
  .nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--green); border-radius: 2px;
    filter: drop-shadow(0 1px 5px rgba(248, 248, 243, .95));
  }
  .nav-toggle span:nth-child(2) { width: 18px; align-self: flex-end; }
  section, footer { scroll-margin-top: 70px; }
  .hero { padding-top: 100px; }
  .scene-viewport { top: 0; }
  .journey-caption { top: 74px; }

  .day-card,
  .day-card.reverse { grid-template-columns: 1fr; gap: 30px; padding: 46px 26px; margin: 44px 0; }
  .day-card.reverse .day-media { order: 0; }
  .day-card.reverse .day-body { order: 1; }
  .day-body { text-align: center; }
  .day-motif { margin-top: 18px; width: 96px; }

  .travel-grid { grid-template-columns: 1fr; gap: 60px; }
  .guide-grid { grid-template-columns: 1fr; gap: 50px; }
  .guide-two { grid-template-columns: 1fr; gap: 10px; }

  .floral { width: min(150px, 34vw); }
  .citrus { width: min(130px, 30vw); }

  #rsvp-form { padding: 48px 22px 42px; }
  .field { flex-direction: column; align-items: stretch; gap: 6px; }
  .field input { flex: none; width: 100%; }
}

/* ───────── password gate ─────────
   Client-side only: it keeps the site out of casual view, it is not security. */

html.locked, html.locked body { overflow: hidden; height: 100%; }
html.locked body > *:not(.gate) { display: none !important; }

.gate {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  padding: 28px 24px;
  text-align: center;
}
.gate-inner { width: min(420px, 100%); }
.gate-names { font-size: clamp(2.6rem, 9vw, 3.6rem); line-height: 1.1; }
.gate-sub { margin-top: .7em; font-size: .7rem; letter-spacing: .26em; color: var(--green-soft); }
.gate-rule { width: 54px; height: 1px; background: var(--green-faint); margin: 28px auto; }

.gate-form { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.gate-label { font-size: .68rem; letter-spacing: .3em; }
.gate-input {
  width: 100%; max-width: 290px;
  font-family: var(--serif); font-size: 1.15rem; text-align: center;
  color: var(--green); background: none;
  border: none; border-bottom: 1px solid var(--green-faint);
  padding: 9px 4px; letter-spacing: .14em;
}
.gate-input:focus { outline: none; border-bottom-color: var(--green); }
.gate-btn {
  font-family: var(--serif); text-transform: uppercase;
  letter-spacing: .24em; font-size: .74rem; font-weight: 500;
  color: var(--green); background: none;
  border: 1px solid var(--green); border-radius: 2px;
  padding: 11px 32px; cursor: pointer;
  transition: background .25s, color .25s;
}
.gate-btn:hover { background: var(--green); color: var(--cream); }

.gate-error { margin-top: 1.2em; font-size: .98rem; font-style: italic; color: #9a5a4e; }
.gate-error[hidden] { display: none; }
.gate-hint { margin-top: 1.7em; font-size: .92rem; font-style: italic; color: var(--green-soft); }

@keyframes gate-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(2px); }
}
.gate.shake .gate-inner { animation: gate-shake .42s ease-in-out; }
@media (prefers-reduced-motion: reduce) {
  .gate.shake .gate-inner { animation: none; }
}
