/* =====================================================================
   Inge & Eduan — 15 May 2027, Feather Hill
   Painted to match the save-the-date: burnt-orange & pink brush stripes,
   a burgundy envelope, cream card stock and watercolour illustration.
   ===================================================================== */

/* ---------------------------------------------------------------
   1. TOKENS
   Colours sampled straight off the save-the-date artwork.
--------------------------------------------------------------- */
:root {
  --orange:    #bb5504;   /* burnt orange — the stripe ground */
  --orange-dp: #9d4503;   /* deeper orange — text-safe backgrounds */
  --pink:      #f2aaad;   /* rosy pink — the stripe itself */
  --pink-lt:   #f8cfc8;
  --pink-pale: #fce9e2;
  --wine:      #6a0525;   /* the envelope burgundy */
  --wine-dp:   #4a0119;
  --cream:     #f1f0ec;   /* the card stock */
  --paper:     #f7f2e8;   /* warmer paper for big surfaces */
  --ink:       #343a2e;   /* the dark olive-charcoal the STD is set in */
  --ink-soft:  #6b6f5e;
  --olive:     #7f8352;   /* monogram letters, ribbon, leaves */
  --gold:      #c88a2a;   /* the vinyl record */
  --silver:    #8e8b91;

  --fd: 'Playfair Display', Georgia, serif;   /* display */
  --ft: 'Cormorant Garamond', Georgia, serif; /* text */

  --maxw: 1120px;
  --h-pad: max(clamp(1.25rem, 6vw, 3rem), calc(50vw - var(--maxw) / 2));
  --v-pad: clamp(4rem, 10vw, 8rem);

  /* Painted card stock — a wobbly-edged rectangle, so nothing on this
     site has a perfectly straight machine-cut edge. */
  --card-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.022 0.055' numOctaves='3' seed='5' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='10' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='9' y='9' width='382' height='282' fill='%23f1f0ec' filter='url(%23f)'/%3E%3C/svg%3E");
  --card-wine: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.022 0.055' numOctaves='3' seed='12' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='10' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='9' y='9' width='382' height='282' fill='%236a0525' filter='url(%23f)'/%3E%3C/svg%3E");
  --card-pink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.022 0.055' numOctaves='3' seed='21' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='10' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='9' y='9' width='382' height='282' fill='%23f8cfc8' filter='url(%23f)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------
   2. BASE
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ft);
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  font-weight: 500;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--pink); color: var(--wine); }

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
  border-radius: 2px;
}

.skiplink {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--wine); color: var(--cream);
  padding: 0.7rem 1.2rem; border-radius: 999px;
  font-size: 0.95rem; letter-spacing: 0.06em; text-decoration: none;
}
.skiplink:focus { top: 1rem; }

/* the tooth of the paper, over everything */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: 0.26; mix-blend-mode: multiply;
  transition: opacity 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
/* mix-blend-mode forces a full-viewport re-blend on every frame anything
   beneath it changes. The drive-away section repaints every scroll pixel,
   so switch the blend off for as long as it's anywhere near the viewport
   — script.js toggles this class using the rect it already computes. */
html.in-drive .grain { opacity: 0; }

/* the ampersand always gets the pretty italic */
.amp { font-family: var(--fd); font-style: italic; font-weight: 400; }

/* ---------------------------------------------------------------
   3. SHARED BITS
--------------------------------------------------------------- */
.eyebrow, .dcard__eyebrow, .chapter__label, .theday__eyebrow,
.venue__eyebrow, .rsvp__eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0 0 0.9rem;
}

.display {
  font-family: var(--fd);
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.btn {
  display: inline-block;
  font-family: var(--ft);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95em 2em;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: var(--wine);
  color: var(--cream);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(74, 1, 25, 0.24); }
.btn:active { transform: translateY(0); }
.btn--cream { background: var(--cream); color: var(--wine); }
.btn--cream:hover { background: #fff; }
.btn--big { font-size: 1rem; padding: 1.05em 2.6em; }

/* fade-up on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------
   4. NAV
--------------------------------------------------------------- */
.topnav {
  position: fixed; z-index: 80;
  left: 50%; top: 1rem;
  transform: translateX(-50%) translateY(-140%);
  display: flex; align-items: center; gap: clamp(0.5rem, 2vw, 1.4rem);
  padding: 0.45rem 0.5rem 0.45rem 0.9rem;
  background: var(--cream);
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(74, 1, 25, 0.18);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  max-width: calc(100vw - 1.5rem);
}
.topnav.is-on { transform: translateX(-50%) translateY(0); opacity: 1; }

.topnav__brand { display: grid; place-items: center; width: 34px; height: 34px; flex: none; }
.topnav__hearts {
  width: 32px; height: 29px;
  background: url("images/art/hearts.png") center/contain no-repeat;
}

.topnav__links { display: flex; gap: clamp(0.6rem, 1.8vw, 1.5rem); overflow-x: auto; scrollbar-width: none; }
.topnav__links::-webkit-scrollbar { display: none; }
.topnav__links a {
  white-space: nowrap;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; text-decoration: none; color: var(--ink);
  padding: 0.35rem 0.1rem; position: relative;
}
.topnav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.1rem;
  height: 1.5px; background: var(--pink); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.topnav__links a:hover::after { transform: scaleX(1); }

.topnav__cta {
  flex: none;
  background: var(--wine); color: var(--cream);
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  text-decoration: none; padding: 0.62rem 1.25rem; border-radius: 999px;
  transition: background 0.25s ease;
}
.topnav__cta:hover { background: var(--wine-dp); }

@media (max-width: 640px) {
  .topnav { top: auto; bottom: max(0.75rem, env(safe-area-inset-bottom)); width: calc(100vw - 1.5rem); }
  .topnav.is-on { transform: translateX(-50%) translateY(0); }
  .topnav:not(.is-on) { transform: translateX(-50%) translateY(180%); }
}

/* ---------------------------------------------------------------
   5. THE DRIVE AWAY
   --car / --hero are written by script.js from the scroll position.
--------------------------------------------------------------- */
.drive { --p: 0; --car: 0; --hero: 0; --travel: 150; position: relative; height: 250vh; }

.drive__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--orange) url("images/art/stripes.svg") repeat-x;
  background-size: clamp(120px, 15vw, 210px) 100%;
}

.drive__scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.drive__scene img { width: 100%; height: 100%; object-fit: fill; display: block; }

/* the car itself — painted inline, drives off down the road */
.drive__car {
  position: absolute; left: 50%; bottom: 16%;
  width: min(66vw, 440px);
  z-index: 3;
  transform-origin: 50% 79%;   /* the wheels' contact line, in the 420x380 box */
  transform:
    translateX(-50%)
    translate3d(calc(var(--car) * -1vw), calc(var(--car) * -1px * var(--travel)), 0)
    scale(calc(1 - var(--car) * 0.95));
  opacity: calc(1 - max(0, var(--car) - 0.8) * 5);
  will-change: transform;
}
.car, .drive__car .car__cans { animation: idle 0.55s ease-in-out infinite alternate; }
.car { width: 100%; height: auto; display: block; position: relative; z-index: 2; }
/* the cans SVG sits on top of the car image, sized to match it exactly —
   its viewBox is the same crop window as the raster art below it */
.drive__car .car__cans {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
}
@keyframes idle { from { transform: translateY(0); } to { transform: translateY(-1.6px); } }

.car__cans .can { animation: canSwing 0.42s ease-in-out infinite alternate; }
.car__cans .can--b { animation-delay: -0.15s; }
.car__cans .can--c { animation-delay: -0.28s; }
@keyframes canSwing { from { transform: rotate(-5deg) translateY(0); } to { transform: rotate(5deg) translateY(-2px); } }

/* dust it kicks up as it pulls away — stays where the car was, spreads out */
.drive__dust {
  position: absolute; left: 50%; bottom: 15%;
  width: min(66vw, 440px); height: 24vh;
  transform: translateX(-50%); pointer-events: none;
}
.drive__dust i {
  position: absolute; bottom: 0; border-radius: 50%;
  background: radial-gradient(circle, #f7e8de 0%, #f7e8de 38%, rgba(247, 232, 222, 0.4) 68%, rgba(247, 232, 222, 0) 100%);
  opacity: calc(var(--car) * (1 - var(--car)) * 2.6);
  will-change: transform, opacity;
}
.drive__dust i:nth-child(1) { left: -6%; width: 34%; height: 46%; transform: translate(calc(var(--car) * -8vw), calc(var(--car) * -6vh)) scale(calc(1 + var(--car) * 1.1)); }
.drive__dust i:nth-child(2) { left: 24%; width: 44%; height: 60%; transform: translate(0, calc(var(--car) * -9vh)) scale(calc(1 + var(--car) * 1.4)); }
.drive__dust i:nth-child(3) { left: 66%; width: 36%; height: 44%; transform: translate(calc(var(--car) * 8vw), calc(var(--car) * -6vh)) scale(calc(1 + var(--car) * 1.1)); }

/* the mirrorball from the save-the-date, hung over the scene.
   Only where there is room for it beside the card. It's a baked image (with
   its soft shadow) so the swing is a pure compositor rotation; the padded
   image is pulled back by the pad (90 render px = 27px) to line up as before. */
.drive__ball {
  position: absolute; top: -0.3rem; left: 5%; z-index: 2;
  width: 168px; aspect-ratio: 200 / 340; display: none;
  transform-origin: 50% 2%;
  animation: swingPlain 7s ease-in-out infinite;
}
.drive__ball-img { position: absolute; left: -27px; top: -27px; width: 222px; height: auto; max-width: none; }
@keyframes swingPlain { 0%, 100% { transform: rotate(-2.4deg); } 50% { transform: rotate(2.4deg); } }
@media (min-width: 1080px) { .drive__ball { display: block; } }

/* four little stars, plain elements so the twinkle runs on the compositor */
.spark {
  position: absolute; width: var(--s); height: var(--s);
  translate: -50% -50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cpath d='M0-9Q0 0 9 0Q0 0 0 9Q0 0-9 0Q0 0 0-9Z' fill='%23fbf7f1' stroke='%23e0dbe4' stroke-width='.8'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: twinkle 2.6s ease-in-out infinite;
}
.spark--b { animation-delay: -0.9s; animation-duration: 3.1s; }
.spark--c { animation-delay: -1.7s; animation-duration: 2.2s; }
.spark--d { animation-delay: -0.4s; animation-duration: 3.4s; }
@keyframes twinkle { 0%, 100% { opacity: 0.35; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.1); } }

/* the names, on a card of the same stock as the save-the-date */
.drive__hero {
  position: absolute; left: 50%; top: clamp(7%, 12vh, 15%); z-index: 5;
  transform: translateX(-50%) translateY(calc((1 - var(--hero)) * 26px));
  width: min(88vw, 620px);
  padding: clamp(1.8rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3rem) clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
  background: var(--card-cream); background-size: 100% 100%; background-repeat: no-repeat;
  opacity: var(--hero);
  filter: drop-shadow(0 18px 34px rgba(74, 1, 25, 0.22));
}
.drive__eyebrow {
  margin: 0 0 0.6rem;
  font-size: clamp(0.78rem, 2.4vw, 0.95rem);
  letter-spacing: 0.2em; text-transform: lowercase;
  font-style: italic; color: var(--ink-soft);
}
.drive__names {
  font-family: var(--fd); font-weight: 500;
  font-size: clamp(2.5rem, 10vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.02em;
  margin: 0 0 0.7rem; color: var(--ink);
}
.drive__names .amp { color: var(--wine); font-size: 0.82em; margin: 0 0.06em; }
.drive__meta {
  margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0.7rem;
  justify-content: center; align-items: center;
  font-size: clamp(0.92rem, 2.6vw, 1.08rem);
  letter-spacing: 0.1em; color: var(--ink);
}
.drive__dot { color: var(--pink); }
.drive__jump {
  display: inline-block; margin-top: 1.4rem;
  font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; text-decoration: none; color: var(--wine);
  border-bottom: 1.5px solid var(--pink); padding-bottom: 0.3rem;
}
.drive__jump:hover { border-color: var(--wine); }

/* the nudge to start scrolling */
.drive__cue {
  position: absolute; left: 50%; bottom: 0.7rem; transform: translateX(-50%); z-index: 2;
  margin: 0; display: grid; justify-items: center; gap: 0.5rem;
  opacity: calc(1 - var(--p) * 6);
  color: var(--wine);
  font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase;
}
.drive__cue i { display: block; width: 1px; height: 30px; background: linear-gradient(var(--wine), transparent); animation: cueDrop 1.9s ease-in-out infinite; }
@keyframes cueDrop { 0%, 100% { transform: scaleY(0.5); opacity: 0.4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }

/* no JS: park the car and show the card straight away */
html:not(.js) .drive { height: 100vh; }
html:not(.js) .drive { --car: 0.2; --hero: 1; }
html:not(.js) .drive__cue { display: none; }

/* ---------------------------------------------------------------
   6. MARQUEE
--------------------------------------------------------------- */
.marquee {
  background: var(--wine); color: var(--pink-lt);
  padding: 0.85rem 0; overflow: hidden;
  border-top: 1px solid rgba(242, 170, 173, 0.25);
  border-bottom: 1px solid rgba(242, 170, 173, 0.25);
}
.marquee__track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.marquee__track span {
  padding-right: 2.5rem; white-space: nowrap;
  font-family: var(--fd); font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.35rem); letter-spacing: 0.08em;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------
   7. INVITED / VISION — word-by-word reveal
--------------------------------------------------------------- */
.invited, .vision {
  padding: clamp(5rem, 13vw, 9rem) var(--h-pad);
  text-align: center;
}
.invited { background: var(--paper); }
.vision { background: var(--pink-pale); }

.invited__hearts {
  width: clamp(130px, 24vw, 210px); height: auto;
  margin: 0 auto clamp(1.4rem, 4vw, 2.4rem);
}

.wordreveal {
  max-width: 20ch;
  margin: 0 auto;
  font-family: var(--fd);
  font-weight: 500;
  font-size: clamp(1.9rem, 6vw, 3.6rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
}
.vision .wordreveal { max-width: 24ch; font-size: clamp(1.5rem, 4.4vw, 2.7rem); }
.wordreveal em { font-style: italic; color: var(--wine); }
.wordreveal span { transition: opacity 0.35s ease, color 0.35s ease; opacity: 0.16; }
.wordreveal span.is-lit { opacity: 1; }
html:not(.js) .wordreveal span { opacity: 1; }

.vision__art {
  margin: clamp(2.4rem, 6vw, 3.6rem) auto 0;
  max-width: 440px;
}
.vision__art img { width: 100%; height: auto; }
.vision__art figcaption {
  margin-top: 0.7rem; font-style: italic; font-size: 0.95rem; color: var(--ink-soft);
}

/* ---------------------------------------------------------------
   8. OUR STORY
--------------------------------------------------------------- */
.storyed { padding: var(--v-pad) var(--h-pad); background: var(--paper); }
.storyed .display { text-align: center; color: var(--wine); font-style: italic; }

.chapter {
  display: grid; align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  grid-template-columns: 1fr;
  margin-bottom: clamp(4rem, 10vw, 7rem);
}
.chapter:last-child { margin-bottom: 0; }
@media (min-width: 820px) {
  .chapter { grid-template-columns: 1fr 1fr; }
  .chapter--flip .chapter__text { order: 2; }
}
.chapter__text p { margin: 0; font-size: clamp(1.08rem, 2.4vw, 1.3rem); }

/* draggable pile of snapshots */
.stack { position: relative; margin: 0; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: center; touch-action: pan-y; }
.stack__card {
  position: absolute; inset: 0;
  padding: 12px 12px 40px;
  background: var(--card-cream); background-size: 100% 100%; background-repeat: no-repeat;
  filter: drop-shadow(0 14px 26px rgba(74, 1, 25, 0.18));
  cursor: grab;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.stack__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.stack__card:nth-child(1) { transform: rotate(-3deg); z-index: 3; }
.stack__card:nth-child(2) { transform: rotate(2.4deg); z-index: 2; }
.stack__card:nth-child(3) { transform: rotate(-1deg); z-index: 1; }
.stack__card.is-dragging { transition: none; cursor: grabbing; z-index: 5; }
.stack__caption {
  position: absolute; left: 0; right: 0; bottom: -2.2rem;
  text-align: center; font-style: italic; font-size: 0.95rem; color: var(--ink-soft);
}

/* ---------------------------------------------------------------
   9. THE DAY — the countdown, on a card in the envelope colour
--------------------------------------------------------------- */
.theday {
  background: var(--wine);
  padding: var(--v-pad) var(--h-pad);
  text-align: center;
}
.theday__card {
  max-width: 620px; margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.4rem, 5vw, 3rem) clamp(2.2rem, 5vw, 3rem);
  background: var(--card-cream); background-size: 100% 100%; background-repeat: no-repeat;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.32));
  color: var(--ink);
}
.theday__art {
  width: clamp(160px, 34vw, 230px); height: auto;
  margin: 0 auto clamp(0.6rem, 2vw, 1.2rem);
  mix-blend-mode: multiply;   /* painted on paper, so it should sit on paper */
}
.theday__eyebrow { color: var(--ink-soft); }
.theday__title {
  font-family: var(--fd); font-weight: 400; font-style: italic;
  font-size: clamp(2.1rem, 6.5vw, 3.6rem); margin: 0 0 clamp(1.6rem, 4vw, 2.4rem);
  color: var(--wine);
}
.theday__title .amp { color: var(--pink); }

.countdown {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(0.9rem, 4vw, 2.6rem);
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}
.countdown > div { display: grid; gap: 0.3rem; min-width: 3.4em; }
.countdown__num {
  font-family: var(--fd); font-weight: 500;
  font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--wine);
}
.countdown__label {
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-soft);
}

.addcal { position: relative; display: inline-block; }
.addcal__menu[hidden] { display: none; }
.addcal__menu {
  position: absolute; left: 50%; top: calc(100% + 0.6rem); transform: translateX(-50%);
  display: grid; min-width: 190px; z-index: 20;
  background: var(--cream); border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}
.addcal__menu a {
  padding: 0.85rem 1.2rem; text-decoration: none; color: var(--ink);
  font-size: 0.92rem; letter-spacing: 0.06em;
}
.addcal__menu a + a { border-top: 1px solid rgba(52, 58, 46, 0.12); }
.addcal__menu a:hover { background: var(--pink-pale); }

/* ---------------------------------------------------------------
   10. VENUE
--------------------------------------------------------------- */
.venue {
  padding: var(--v-pad) var(--h-pad);
  text-align: center;
  background: var(--paper);
}
.venue__frame {
  margin: 0 auto clamp(1.8rem, 4vw, 2.6rem);
  width: min(74vw, 380px);
  padding: 14px;
  background: var(--card-cream); background-size: 100% 100%; background-repeat: no-repeat;
  filter: drop-shadow(0 18px 32px rgba(74, 1, 25, 0.18));
}
.venue__frame img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 999px 999px 8px 8px;   /* a painted arch */
}
.venue__name {
  font-family: var(--fd); font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 4rem); margin: 0 0 0.4rem; color: var(--wine);
}
.venue__addr { margin: 0 0 1.4rem; letter-spacing: 0.1em; color: var(--ink-soft); }
.venue__map {
  font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  text-decoration: none; color: var(--wine);
  border-bottom: 1.5px solid var(--pink); padding-bottom: 0.3rem;
}
.venue__map:hover { border-color: var(--wine); }

/* ---------------------------------------------------------------
   11. DETAIL CARDS
--------------------------------------------------------------- */
.detailcards {
  padding: var(--v-pad) var(--h-pad);
  display: grid; gap: clamp(1.6rem, 4vw, 2.4rem);
  grid-template-columns: 1fr;
  background: var(--orange) url("images/art/stripes.svg") repeat-x;
  background-size: clamp(120px, 15vw, 210px) 100%;
}
@media (min-width: 780px) { .detailcards { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.dcard {
  padding: clamp(1.8rem, 4vw, 2.6rem);
  background-size: 100% 100% !important; background-repeat: no-repeat !important;
  filter: drop-shadow(0 16px 30px rgba(74, 1, 25, 0.26));
}
.dcard--wine  { background: var(--card-wine);  color: var(--cream); }
.dcard--cream { background: var(--card-cream); color: var(--ink); }
.dcard--photo { background: var(--card-cream); color: var(--ink); padding: 14px 14px clamp(1.6rem, 3vw, 2.2rem); }
.dcard--wine .dcard__eyebrow { color: var(--pink); }
.dcard--photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.4rem; }
.dcard--photo .dcard__body { padding: 0 clamp(0.6rem, 2vw, 1.2rem); }
.dcard h3 {
  font-family: var(--fd); font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 0 0 0.7rem;
}
.dcard p:last-child { margin-bottom: 0; }

.dcard__schedule { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.dcard__schedule li {
  display: grid; grid-template-columns: 4.2em 1fr; align-items: baseline; gap: 0.8rem;
  padding-bottom: 0.7rem; border-bottom: 1px solid rgba(52, 58, 46, 0.14);
}
.dcard__schedule li:last-child { border-bottom: 0; padding-bottom: 0; }
.dcard__schedule span { font-family: var(--fd); color: var(--wine); font-size: 1.05rem; }

/* ---------------------------------------------------------------
   12. Q & A
--------------------------------------------------------------- */
.faq {
  padding: var(--v-pad) var(--h-pad);
  background: var(--paper);
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .faq { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }

.faq__intro h2 {
  font-family: var(--fd); font-weight: 500; font-style: italic;
  font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.06;
  margin: 0 0 1.1rem; color: var(--wine);
}
.faq__intro p { margin: 0; color: var(--ink-soft); }
.faq__art {
  width: clamp(150px, 30vw, 230px); height: auto;
  margin: clamp(1.4rem, 4vw, 2.4rem) 0 0;
  mix-blend-mode: multiply;
}
@media (min-width: 880px) { .faq__intro { position: sticky; top: 6rem; } }

.faq__list details {
  border-bottom: 1px solid rgba(52, 58, 46, 0.18);
  padding: 1.15rem 0;
}
.faq__list summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-family: var(--fd); font-size: clamp(1.12rem, 2.6vw, 1.35rem);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; flex: none;
  font-family: var(--ft); font-size: 1.5rem; color: var(--wine);
  transition: transform 0.3s ease;
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { margin: 0.85rem 0 0; color: var(--ink-soft); max-width: 58ch; }

/* ---------------------------------------------------------------
   13. RSVP
--------------------------------------------------------------- */
.rsvped {
  position: relative;
  padding: var(--v-pad) var(--h-pad);
  background: var(--orange) url("images/art/stripes.svg") repeat-x;
  background-size: clamp(120px, 15vw, 210px) 100%;
}
.rsvp {
  position: relative; z-index: 2;
  max-width: 560px; margin: 0 auto; text-align: center;
  padding: clamp(2.2rem, 6vw, 3.6rem) clamp(1.6rem, 5vw, 3rem);
  background: var(--card-cream); background-size: 100% 100%; background-repeat: no-repeat;
  filter: drop-shadow(0 20px 40px rgba(74, 1, 25, 0.3));
}
.rsvp__art {
  width: clamp(150px, 32vw, 210px); height: auto;
  margin: 0 auto 0.6rem;
  mix-blend-mode: multiply;
}
.rsvp__eyebrow { margin-bottom: 0.4rem; }
.rsvp__title {
  font-family: var(--fd); font-weight: 500;
  font-size: clamp(3rem, 11vw, 5rem); line-height: 1;
  margin: 0 0 0.5rem; color: var(--wine); letter-spacing: 0.04em;
}
.rsvp__deadline { margin: 0 0 2.2rem; font-style: italic; color: var(--ink-soft); }

.rsvp__form { display: grid; gap: 1.35rem; text-align: left; }
.rsvp__form label {
  display: grid; gap: 0.45rem;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-soft);
}
.rsvp__form input[type="text"],
.rsvp__form input[type="email"],
.rsvp__form textarea {
  font-family: var(--ft); font-size: 1.05rem; font-weight: 500; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1.5px solid rgba(52, 58, 46, 0.3);
  padding: 0.6rem 0.2rem;
  border-radius: 0;
  transition: border-color 0.25s ease;
}
.rsvp__form input:focus, .rsvp__form textarea:focus { outline: none; border-bottom-color: var(--wine); }
.rsvp__form input::placeholder, .rsvp__form textarea::placeholder { color: rgba(52, 58, 46, 0.38); text-transform: none; letter-spacing: 0; }
.rsvp__form textarea { resize: vertical; }

.rsvp__form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.rsvp__form legend {
  padding: 0 0 0.4rem;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-soft);
}
.radio {
  display: flex !important; align-items: center; gap: 0.7rem;
  text-transform: none !important; letter-spacing: 0.02em !important;
  font-size: 1.02rem !important; color: var(--ink) !important; font-weight: 500 !important;
  cursor: pointer;
}
.radio input { accent-color: var(--wine); width: 1.1rem; height: 1.1rem; }

.rsvp__form .btn { justify-self: center; margin-top: 0.6rem; }
.rsvp__msg { margin: 0; text-align: center; font-style: italic; color: var(--wine); min-height: 1.5em; }
.rsvp__form.is-sent > *:not(.rsvp__msg) { display: none; }

.petals { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

/* ---------------------------------------------------------------
   14. FOOTER
--------------------------------------------------------------- */
.footered {
  background: var(--wine); color: var(--pink-lt);
  padding: clamp(3.5rem, 9vw, 6rem) var(--h-pad);
  text-align: center;
}
.footered__crest {
  width: clamp(150px, 26vw, 220px); height: auto; margin: 0 auto 1.4rem;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28));
}
.footered__names {
  font-family: var(--fd); font-weight: 500;
  font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 0.6rem; color: var(--cream);
}
.footered__names .amp { color: var(--pink); }
.footered__meta { margin: 0 0 1.4rem; font-size: 0.95rem; letter-spacing: 0.1em; }
.footered__credit { margin: 0; font-style: italic; opacity: 0.7; font-size: 0.9rem; }

/* ---------------------------------------------------------------
   15. REDUCED MOTION
   Keep every scene, drop every movement.
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .drive { height: 100vh; --car: 0.2; --hero: 1; }
  .drive__cue { display: none; }
  .marquee__track { animation: none; transform: none; }
  .car__cans .can, .car, .drive__car .car__cans, .drive__ball, .spark, .drive__cue i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wordreveal span { opacity: 1; }
  .btn:hover { transform: none; }
  .stack__card { transition: none; }
}
