/* ===================== FONTS ===================== */
@font-face {
  font-family: 'Bridgerton Script';
  src: url('fonts/bridgerton-script.otf') format('opentype');
  font-display: swap;
}

/* ===================== TOKENS ===================== */
:root {
  --blue-pale:      #b9d3e8;
  --blue-pale-2:    #d7e5f0;
  --cream:          #efe9dd;
  --cream-2:        #f7f4ec;
  --burgundy:       #9c2a3c;
  --burgundy-dark:  #7c2130;
  --ink:            #232228;
  --ink-soft:       #4a4a52;
  --footer-navy:    #3a4152;
  --white:          #ffffff;
  --paper-ink:      #6b5636;

  --font-script: 'Bridgerton Script', cursive;
  --font-serif:  'Cormorant Garamond', 'EB Garamond', serif;

  --radius-lg: 28px;
  --radius-md: 16px;
  --max-w: 640px;

  --ease: cubic-bezier(.65,0,.35,1);
}

/* ===================== RESET ===================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--ink);
  background:
    radial-gradient(ellipse at 15% 8%, rgba(255,255,255,.62), transparent 45%),
    radial-gradient(ellipse at 85% 92%, rgba(120,95,55,.12), transparent 55%),
    repeating-linear-gradient(0deg, rgba(107,86,54,.035) 0, rgba(107,86,54,.035) 1px, transparent 1px, transparent 5px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0, rgba(255,255,255,.16) 1px, transparent 1px, transparent 7px),
    linear-gradient(180deg, #f4efe3, var(--cream) 40%, #ebe1cb 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
/* fine paper grain, laid over the whole page; never intercepts clicks */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: .075;
  mix-blend-mode: multiply;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 3px solid var(--burgundy);
  outline-offset: 3px;
}
/* our custom `display` rules below would otherwise out-rank the browser's
   default [hidden] behaviour since both are author-specificity-equal */
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.script-heading {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  line-height: 1.1;
  text-align: center;
  margin: 0 0 .3em;
  color: var(--ink);
}
.script-heading--sm { font-size: clamp(1.8rem, 6vw, 2.3rem); }
.script-heading--light { color: var(--white); }
.script-heading--dark { color: var(--ink); }
.script-heading--footer { color: var(--white); margin-top: 1.2em; }

/* ===================== DECORATIVE CORNER FLOWERS ===================== */
.corner-flower {
  position: fixed;
  width: min(38vw, 230px);
  z-index: 5;
  pointer-events: none;
  opacity: .95;
  transition: opacity .4s var(--ease);
}
.corner-flower--tl { top: -10px; left: -10px; background: url('images/flower-1.png') no-repeat; background-size: contain; aspect-ratio: 1/1; }
.corner-flower--br { bottom: -10px; right: -10px; background: url('images/flower-1.png') no-repeat; background-size: contain; aspect-ratio: 1/1; transform: scaleX(-1) scaleY(-1); }
body.past-hero .corner-flower { display: none; }

/* ===================== SCREENS (envelope / namegate / curtains) ===================== */
.screen {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8vh 6vw;
  position: relative;
  text-align: center;
}

/* --- envelope --- */
.screen--envelope { background: var(--blue-pale); }
.envelope-copy { margin-bottom: 8vh; transform: translateY(4.5vh); }
.eyebrow {
  font-family: var(--font-serif);
  font-variant: small-caps;
  letter-spacing: .12em;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .9em;
  color: var(--ink);
}
.envelope {
  appearance: none; border: none; background: none; cursor: pointer;
  position: relative;
  width: min(78vw, 320px);
  aspect-ratio: 16/11;
  padding: 0;
  filter: drop-shadow(0 18px 30px rgba(30,45,70,.25));
  transition: transform .35s var(--ease);
}
.envelope:hover { transform: translateY(-4px) scale(1.02); }
.envelope::before {
  /* envelope body */
  content: '';
  position: absolute; inset: 0;
  background: var(--cream-2);
  border-radius: 6px;
}
.envelope::after {
  /* envelope flap triangle, via border trick */
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 0; width: 0; margin: 0 auto;
  border-left: calc(min(78vw, 320px) / 2) solid transparent;
  border-right: calc(min(78vw, 320px) / 2) solid transparent;
  border-top: calc(min(78vw, 320px) * 11/16 * .58) solid #e4ddcd;
}
.envelope__seal {
  position: absolute; top: 50%; left: 50%;
  width: 20%;
  transform: translate(-50%, -30%);
  z-index: 2;
}
.hint {
  margin-top: 5vh;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  font-variant: small-caps;
  font-size: 1.1rem;
}

/* --- name gate --- */
.screen--namegate { background: var(--cream); }
.namegate-card {
  max-width: 440px;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.6), transparent 50%),
    var(--cream-2);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: 0 20px 45px rgba(30,25,15,.12);
  position: relative;
  transform: rotate(-.6deg);
}
.namegate-card::after {
  /* dog-ear fold, for an old-letter feel */
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 34px; height: 34px;
  background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,.08) 50%), var(--cream);
  border-bottom-left-radius: 4px;
  box-shadow: -2px 2px 4px rgba(0,0,0,.08);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.namegate-copy { color: var(--ink-soft); margin: 0 0 1.6rem; font-size: 1.1rem; }
#namegate-form { display: flex; flex-direction: column; gap: .9rem; }
#guest-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  padding: .9rem 1.1rem;
  border: 1.5px solid var(--blue-pale);
  border-radius: 999px;
  text-align: center;
  background: var(--white);
}
#guest-name:focus { border-color: var(--burgundy); }
.namegate-error {
  margin-top: 1rem;
  color: var(--burgundy-dark);
  font-size: .95rem;
  line-height: 1.6;
  text-align: left;
}
.namegate-error a {
  color: var(--burgundy-dark);
  font-weight: 600;
  text-decoration: underline;
}
.namegate-error a:hover { color: var(--burgundy); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  text-decoration: none;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn--primary:hover { background: var(--burgundy-dark); }
.btn--outline-light {
  background: var(--blue-pale-2);
  color: var(--burgundy-dark);
  border-color: var(--blue-pale-2);
}
.btn--outline-light:hover { background: var(--white); }
.btn--outline-dark {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn--outline-dark:hover { background: var(--burgundy-dark); }
.btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================== CURTAIN SCREEN ===================== */
.screen--curtains {
  background: var(--cream);
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 2rem;
  min-height: auto;
}
#confetti-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 40;
}
.hero-heading {
  margin: 0;
  position: absolute;
  left: 50%;
  top: 70%;
  width: 100%;
  z-index: 2;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: clamp(1.7rem, 7.2vw, 3rem);
}

.curtain-stage {
  position: relative;
  width: min(78vw, 380px);
  aspect-ratio: 3/4;
  margin: 0 auto 1rem;
}
.hero-photo-wrap {
  position: absolute;
  top: 8%; left: 50%;
  transform: translateX(-50%);
  width: 78%;
  aspect-ratio: 1/1;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  opacity: 0;
  transition: opacity .8s var(--ease) .5s;
}
.screen--curtains.is-open .hero-photo-wrap { opacity: 1; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; }

/* --- User-supplied curtain artwork --- */
.curtain-rod,
.curtain__tieback,
.curtain__pleats { display: none; }
.curtain {
  position: absolute;
  top: 0;
  width: 44%;
  height: 100%;
  z-index: 10;
  transition: transform 2.5s var(--ease);
  pointer-events: none;
  overflow: visible;
}
.curtain--left {
  left: 0;
  transform-origin: top left;
}
.curtain--right {
  right: 0;
  transform-origin: top right;
}
.curtain__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}
.screen--curtains.is-open .curtain--left { transform: translate(-78%, -1%); }
.screen--curtains.is-open .curtain--right { transform: translate(78%, -1%); }

.wedding-choices {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease) .9s, transform .6s var(--ease) .9s;
}
.screen--curtains.is-open .wedding-choices { opacity: 1; transform: none; }
.stamp-btn {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--ink);
  width: 150px;
  transition: transform .25s var(--ease);
}
.stamp-btn:hover { transform: translateY(-5px) rotate(-1deg); }
.stamp-btn img {
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(30,25,15,.15);
}
.stamp-btn span {
  font-variant: small-caps;
  letter-spacing: .06em;
  font-size: 1.05rem;
}
.scroll-cue {
  margin-top: 1.25rem;
  font-size: 1.6rem;
  color: var(--ink-soft);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* confetti pieces (DOM fallback, canvas handles most) */


/* ===================== ALWAYS-VISIBLE WEDDING DATES ===================== */
.date-display {
  position: relative;
  width: min(100%, 34rem);
  margin: 1.15rem auto 1.5rem;
  padding: 1.9rem 3.5rem 1.55rem;
  overflow: hidden;
}
.date-display__inner {
  position: relative;
  z-index: 2;
}
.date-display::before { display: none; }
.date-display .wedding-dates {
  margin: .1rem auto 1rem;
}
.date-flower {
  position: absolute;
  width: clamp(74px, 22vw, 126px);
  height: auto;
  object-fit: contain;
  opacity: .96;
  z-index: 1;
  pointer-events: none;
}
.date-flower--tl { top: -10px; left: -10px; }
.date-flower--br { bottom: -10px; right: -10px; transform: scaleX(-1) scaleY(-1); }
@media (max-width: 520px) {
  .date-display { padding: 1.6rem 2.4rem 1.35rem; }
  .date-flower { width: clamp(58px, 26vw, 92px); opacity: .9; }
}

/* ===================== GENERIC SECTIONS ===================== */
.section {
  padding: 6rem 6vw;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.reveal-btn {
  appearance: none;
  background: var(--cream-2);
  border: 1.5px solid var(--blue-pale);
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: .8em;
  cursor: pointer;
  margin: 1rem 0 2.5rem;
  transition: background .2s var(--ease);
}
.reveal-btn:hover { background: var(--white); }
 .reveal-btn__chevron {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s var(--ease);
}
.reveal-btn[aria-expanded="true"] .reveal-btn__chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

.reveal-body {
  text-align: left;
  background:
    radial-gradient(ellipse at 85% 8%, rgba(255,255,255,.35), transparent 50%),
    var(--blue-pale-2);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(30,25,15,.08);
  transform: rotate(.4deg);
}
.reveal-body p { margin: 0 0 1.1em; }
.reveal-body p:last-child { margin-bottom: 0; }

.reveal-body--story { position: relative; overflow: visible; }
.story-flower {
  position: absolute;
  width: clamp(56px, 12vw, 90px);
  pointer-events: none;
  z-index: 1;
  opacity: .9;
}
.story-flower--tl { top: -1.8rem; left: -1.6rem; }
.story-flower--br { bottom: -1.8rem; right: -1.6rem; transform: scaleX(-1) scaleY(-1); }
.reveal-body--story p { position: relative; z-index: 2; }
.reveal-body--gifts { text-align: center; font-size: .95rem; line-height: 1.9; }
.reveal-body--gifts a { color: var(--burgundy); font-weight: 600; }

.section--gifts .gifts-cake { width: 160px; margin: 0 auto 1rem; }
.gifts-copy { color: var(--ink-soft); font-style: italic; font-size: 1.15rem; line-height: 1.6; margin-bottom: 1.5rem; }

/* animated reveal utility */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-animate].is-visible { opacity: 1; transform: none; }

/* flight icon flies in from the left when its content-block reveals */
.flight-icon {
  display: inline-block;
  opacity: 0;
  transform: translateX(-60px) rotate(-25deg);
  transition: opacity .6s var(--ease) .15s, transform .6s var(--ease) .15s;
}
.content-block.is-visible .flight-icon {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
}

/* ===================== WEDDING SECTIONS ===================== */
.wedding-section { scroll-margin-top: 1rem; position: relative; }
.wedding-section--traditional {
  background-color: var(--burgundy);
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 5px), radial-gradient(circle at 18% 12%, rgba(255,255,255,.05), transparent 32%);
  color: var(--white);
}
.wedding-section--white {
  background-color: var(--blue-pale-2);
  background-image: repeating-linear-gradient(0deg, rgba(107,86,54,.025) 0, rgba(107,86,54,.025) 1px, transparent 1px, transparent 5px), radial-gradient(circle at 82% 10%, rgba(255,255,255,.28), transparent 34%);
  color: var(--ink);
}

/* --- small, gently animated repeating floral accent using the supplied artwork --- */
.flower-border {
  width: 100%;
  height: clamp(48px, 7vw, 68px);
  position: relative;
  overflow: hidden;
}
.flower-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
  background-image: url("images/flower-repeater.png");
  background-repeat: repeat-x;
  background-size: 120px auto;
  background-position: 0 center;
  animation: flowerDrift 30s linear infinite;
  will-change: background-position;
}
@keyframes flowerDrift {
  from { background-position: 0 center; }
  to   { background-position: -120px center; }
}

.wedding-hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.2rem 6vw 3rem;
  text-align: center;
}
.wedding-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wedding-banner__photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.wedding-hero__titlerow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 0 .75em;
}
.crest--inline { width: clamp(72px, 18vw, 96px); margin: 0; flex: none; }
.wedding-dates {
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 1.2rem;
  font-weight: 500;
  text-align: center;
}
.wedding-dates--big {
  font-size: clamp(1.28rem, 4.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: .01em;
  margin: .15rem auto 1.2rem;
  line-height: 1.3;
  max-width: 24rem;
  white-space: normal;
}
.date-break { display: block; margin: .08rem 0; }

.wedding-hero .script-heading { font-size: clamp(3.2rem, 10vw, 4.6rem); }
.wedding-dates--dark { color: var(--ink); }

.content-block {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.2rem 6vw;
  text-align: center;
  border-top: none;
  position: relative;
}
.content-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 120px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.35);
}
.content-block::after {
  content: '♥';
  position: absolute;
  top: -0.72em;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 .55rem;
  background: var(--burgundy);
  color: var(--white);
  font-size: .85rem;
  line-height: 1;
}
.wedding-section--white .content-block::before { background: rgba(156,42,60,.35); }
.wedding-section--white .content-block::after {
  background: var(--blue-pale-2);
  color: var(--burgundy);
}
.content-block h3 { margin-bottom: 2rem; }
.section-intro { opacity: .9; margin: -.5rem 0 1.6rem; font-size: 1.02rem; }
.section-intro--dark { color: var(--ink-soft); }

.framed-photo {
  max-width: 320px;
  margin: 1.5rem auto 1.6rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.framed-photo img { border-radius: 0; }
.location-name { font-weight: 700; font-size: 1.15rem; margin: 0 0 1.3rem; }
.location-name span { display: block; font-weight: 400; opacity: .85; }
.location-name--dark { color: var(--ink); }

.itinerary { list-style: none; margin: 0; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 1.1rem; }
.itinerary li { display: flex; align-items: center; gap: 1.1rem; }
.itinerary__date {
  flex: none;
  width: 58px; height: 58px;
  border: 1.5px solid rgba(255,255,255,.6);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: .78rem;
  line-height: 1.15;
  font-variant: small-caps;
}
.itinerary__date--dark { border-color: rgba(156,42,60,.4); color: var(--burgundy-dark); }
.itinerary__text { font-variant: small-caps; letter-spacing: .03em; font-size: 1.15rem; }

/* --- highlighted wedding day --- */
.itinerary__item--highlight { position: relative; padding: .5rem .6rem; border-radius: 14px; background: rgba(255,255,255,.14); }
.wedding-section--white .itinerary__item--highlight { background: rgba(156,42,60,.08); }
.itinerary__item--highlight .itinerary__text { font-weight: 700; }
.itinerary__date--highlight {
  border-color: currentColor;
  border-width: 2px;
  background: rgba(255,255,255,.12);
  position: relative;
}
.wedding-section--white .itinerary__date--highlight { background: rgba(156,42,60,.08); }
.itinerary__date--highlight::before,
.itinerary__date--highlight::after {
  content: '✿';
  position: absolute;
  font-size: .9rem;
  line-height: 1;
  color: var(--blue-pale-2);
}
.wedding-section--white .itinerary__date--highlight::before,
.wedding-section--white .itinerary__date--highlight::after {
  color: var(--burgundy);
}
.itinerary__date--highlight::before { top: -8px; left: -8px; }
.itinerary__date--highlight::after { bottom: -8px; right: -8px; }

.dresscode-day { margin-bottom: 2.4rem; }
.dresscode-day:last-child { margin-bottom: 0; }
.dresscode-day .itinerary__date { margin: 0 auto 1rem; }
.dresscode-day__photo { border-radius: 0; overflow: hidden; margin-bottom: 1rem; box-shadow: none; }
.dresscode-day__label { font-style: italic; font-size: 1.05rem; margin: 0; }
.dresscode-day__label--dark { color: var(--ink); }

.pill-links { display: flex; flex-direction: column; gap: .9rem; }
.pill-link {
  display: block;
  background: var(--blue-pale-2);
  color: var(--burgundy-dark);
  text-decoration: none;
  padding: .9rem 1.3rem;
  border-radius: 999px;
  font-variant: small-caps;
  letter-spacing: .02em;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.pill-link span { font-variant: normal; font-style: normal; opacity: .85; }
.pill-link:hover { transform: translateY(-2px); background: var(--white); }
.pill-link--dark { background: var(--burgundy); color: var(--white); }
.pill-link--dark:hover { background: var(--burgundy-dark); }

.stay-card { margin-bottom: 2.6rem; }
.stay-card:last-child { margin-bottom: 0; }
.stay-card__photo { border-radius: 0; overflow: hidden; margin-bottom: 1rem; box-shadow: none; }
.stay-card h4 { font-size: 1.25rem; margin: 0 0 .3rem; font-weight: 600; }
.stay-card p { margin: 0 0 1rem; opacity: .9; font-size: .98rem; }
.stay-card--featured { padding: 1.6rem; border: 1.5px dashed rgba(35,34,40,.25); border-radius: var(--radius-lg); transform: rotate(-.5deg); background: rgba(255,255,255,.05); }

.transport-item { text-align: left; margin-bottom: 1.6rem; }
.transport-item:last-child { margin-bottom: 0; }
.transport-item h4 { font-size: 1.1rem; margin: 0 0 .4rem; }
.transport-item p { margin: 0 0 1em; line-height: 1.6; opacity: .92; font-size: .98rem; }
.transport-item p:last-child { margin-bottom: 0; }


/* ===================== TRANSPORT TABS ===================== */
.transport-tabs { margin-top: 1.8rem; }
.transport-tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.5rem;
}
.transport-tab {
  appearance: none;
  border: 1px solid rgba(255,255,255,.55);
  background: transparent;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1rem;
  padding: .65rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.transport-tab:hover { transform: translateY(-1px); }
.transport-tab.is-active {
  background: var(--white);
  color: var(--burgundy-dark);
}
.transport-tab--dark {
  border-color: rgba(156,42,60,.45);
  color: var(--burgundy-dark);
}
.transport-tab--dark.is-active {
  background: var(--burgundy);
  color: var(--white);
}
.transport-panel { animation: transportFade .25s ease; }
@keyframes transportFade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== FLOATING FOOTER ===================== */
.floating-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 60;
  display: flex;
  gap: 0;
  padding: 0;
  background: rgba(58,65,82,.97);
  border-radius: 0;
  box-shadow: 0 -6px 24px rgba(0,0,0,.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.floating-footer.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.floating-footer__btn {
  appearance: none;
  border: 0;
  flex: 1 1 50%;
  background: var(--white);
  color: var(--footer-navy);
  font-family: var(--font-serif);
  font-variant: small-caps;
  letter-spacing: .04em;
  font-size: 1.05rem;
  text-decoration: none;
  text-align: center;
  padding: 1rem 1.25rem;
  border-radius: 0;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.floating-footer__btn:hover { background: var(--cream-2); }
.floating-footer__btn--rsvp {
  background: var(--burgundy);
  color: var(--white);
}
.floating-footer__btn--rsvp:hover { background: var(--burgundy-dark); }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--footer-navy);
  color: var(--white);
  text-align: center;
  padding: 3rem 6vw 2.5rem;
}
.footer-card {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-nav { display: flex; justify-content: center; gap: .8rem; font-size: 1.05rem; margin-bottom: .5rem; }
.footer-nav a { text-decoration: none; opacity: .85; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-tagline { opacity: .8; font-style: italic; margin: 0; text-align: center; }

.asoebi-description {
  max-width: 42rem;
  margin: .35rem auto 0;
  font-size: .98rem;
  line-height: 1.55;
  text-align: center;
}

/* ===================== RESPONSIVE ===================== */
@media (min-width: 700px) {
  .wedding-banner { max-height: none; }
  .stay-card { display: grid; grid-template-columns: 220px 1fr; gap: 1.6rem; align-items: center; text-align: left; }
  .stay-card__photo { margin-bottom: 0; }
  .stay-card--featured { grid-template-columns: 220px 1fr; }
  .dresscode-day { display: grid; grid-template-columns: 70px 1fr; gap: 1.4rem; align-items: center; text-align: left; }
  .dresscode-day .itinerary__date { margin: 0; }
  .dresscode-day__photo { margin-bottom: 0; }
  .dresscode-day--single { display: block; text-align: center; }
  .dresscode-day--single .dresscode-day__photo { margin-bottom: 1rem; }
  .asoebi-description { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .corner-flower { width: 46vw; }
}

@media (max-width: 420px) {
  .floating-footer__btn { padding: .85rem 1rem; font-size: .98rem; }
}

/* ===================== FOOTER RSVP CTA ===================== */
.footer-actions {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-top: 2.3rem;
  width: min(100%, 360px);
}
.footer-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 1.2rem;
  border-radius: 14px;
  text-decoration: none;
  font-variant: small-caps;
  letter-spacing: .05em;
  font-size: 1.05rem;
  border: 1px solid rgba(255,255,255,.35);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.footer-action:hover { transform: translateY(-2px); }
.footer-action--home { background: var(--white); color: var(--footer-navy); }
.footer-action--rsvp { background: var(--burgundy); color: var(--white); border-color: transparent; }
