/* ============================================================
   ROMANTIC BLUSH — WEDDING INVITATION THEME
   Blush pink · watercolor softness · dreamy rounded shapes
   Same structure & JS hooks as the base template.
============================================================ */

/* ---------- 01. Design tokens ---------- */
:root {
  --blossom:    #fdf6f4;
  --white:      #ffffff;
  --blush:      #f6dfdb;
  --petal:      #eec3bd;
  --rose:       #c98a92;
  --rose-deep:  #a95f6d;
  --rose-line:  rgba(201, 138, 146, 0.35);
  --plum:       #5c3a44;
  --dusk:       #937a80;

  --font-script: "Parisienne", cursive;
  --font-serif:  "EB Garamond", Georgia, serif;
  --font-sans:   "Mulish", "Helvetica Neue", Arial, sans-serif;

  --fs-hero:    clamp(3.4rem, 9vw, 6.8rem);
  --fs-h2:      clamp(2rem, 4.5vw, 3.1rem);
  --fs-script:  clamp(1.7rem, 3.6vw, 2.6rem);
  --fs-body:    clamp(0.98rem, 1.1vw, 1.08rem);

  --space-section: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 22px;
  --shadow-soft:  0 14px 44px rgba(169, 95, 109, 0.12);
  --shadow-hover: 0 20px 54px rgba(169, 95, 109, 0.2);
  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 02. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--plum);
  background:
    radial-gradient(1000px 600px at 90% -5%, rgba(238, 195, 189, 0.35), transparent 60%),
    radial-gradient(800px 500px at 0% 30%, rgba(246, 223, 219, 0.5), transparent 55%),
    var(--blossom);
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.9s ease;
}
body.is-ready { opacity: 1; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.25; }
a { color: inherit; }
::selection { background: var(--rose); color: var(--white); }

/* ---------- 03. Utilities ---------- */
.container { width: min(1140px, 90%); margin-inline: auto; }
.container--narrow { width: min(760px, 90%); }
.section { padding-block: var(--space-section); scroll-margin-top: 60px; }
.section--tinted {
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, var(--blush) 160%);
}

.section-head { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head__script {
  font-family: var(--font-script);
  font-size: var(--fs-script);
  color: var(--rose);
  margin-bottom: 0.4rem;
}
.section-head__script--light { color: var(--blush); }
.section-head__title {
  font-size: var(--fs-h2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plum);
}
/* soft heart under titles */
.section-head__title::after {
  content: "";
  display: block;
  width: 12px; height: 12px;
  margin: 1.2rem auto 0;
  background: var(--rose);
  transform: rotate(45deg);
  border-radius: 0 3px 0 100%;
  box-shadow: -30px 6px 0 -4.5px var(--rose-line), 30px 6px 0 -4.5px var(--rose-line);
}
.section-head__sub { margin-top: 1.2rem; color: var(--dusk); font-style: italic; font-family: var(--font-serif); }

/* Buttons — rounded, soft */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.7rem;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.45s var(--ease-luxe);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-luxe);
}
.btn:hover::after { transform: translateX(120%); }

.btn--gold {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(169, 95, 109, 0.35);
}
.btn--gold:hover { box-shadow: 0 14px 36px rgba(169, 95, 109, 0.45); }

.btn--outline-light {
  border-color: rgba(255,255,255,0.8);
  color: var(--white);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.24); border-color: var(--white); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-luxe), transform 0.9s var(--ease-luxe);
}
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ---------- 04. Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-content: center; gap: 1.4rem;
  background: var(--blossom);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__monogram {
  font-family: var(--font-script);
  font-size: 2.4rem; letter-spacing: 0.2em; text-align: center;
  color: var(--rose-deep);
}
.preloader__bar { width: 160px; height: 2px; background: var(--blush); overflow: hidden; border-radius: 2px; }
.preloader__bar span {
  display: block; height: 100%; width: 40%;
  background: var(--rose);
  animation: loadbar 1.2s var(--ease-luxe) infinite;
}
@keyframes loadbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(400%); } }

/* ---------- 05. Opening invitation ---------- */
.invitation-overlay {
  position: fixed; inset: 0; z-index: 900;
  display: grid; place-items: center;
  padding: 1.5rem;
  background:
    linear-gradient(rgba(253, 246, 244, 0.65), rgba(238, 195, 189, 0.6)),
    url("https://picsum.photos/seed/rblush-hero/1920/1280") center/cover no-repeat;
  backdrop-filter: blur(14px);
  transition: opacity 1.1s var(--ease-luxe), visibility 1.1s var(--ease-luxe);
}
@supports not (backdrop-filter: blur(1px)) {
  .invitation-overlay { background-color: var(--blush); background-image: none; }
}
.invitation-overlay.is-open { opacity: 0; visibility: hidden; }

.invitation-card {
  width: min(470px, 100%);
  background: linear-gradient(170deg, var(--white) 60%, var(--blossom));
  box-shadow: 0 30px 80px rgba(169, 95, 109, 0.3);
  padding: 1rem;
  border-radius: var(--radius);
  animation: cardEnter 1.2s var(--ease-luxe) both 0.2s;
  transition: transform 1s var(--ease-luxe), opacity 1s var(--ease-luxe);
}
.invitation-overlay.is-open .invitation-card {
  transform: translateY(-60px) scale(1.05);
  opacity: 0;
}
@keyframes cardEnter {
  from { opacity: 0; transform: translateY(50px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.invitation-card__border {
  position: relative;
  border: 1px solid var(--rose-line);
  border-radius: calc(var(--radius) - 8px);
  padding: clamp(2.4rem, 7vw, 3.6rem) clamp(1.6rem, 5vw, 2.8rem);
  text-align: center;
}
/* petals instead of hard corners */
.invitation-card__corner {
  position: absolute; width: 18px; height: 18px;
  border: 0 !important;
  background: linear-gradient(135deg, var(--petal), var(--rose));
  border-radius: 0 100% 60% 100%;
}
.invitation-card__corner--tl { top: -9px; left: -9px; transform: rotate(-45deg); }
.invitation-card__corner--br { bottom: -9px; right: -9px; transform: rotate(135deg); }
.invitation-card__eyebrow {
  font-size: 0.76rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--dusk);
}
.invitation-card__divider { width: 120px; margin: 1.3rem auto; color: var(--rose); }
.invitation-card__names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.7rem, 8vw, 3.8rem);
  color: var(--rose-deep);
}
.invitation-card__names span { color: var(--petal); font-size: 0.6em; }
.invitation-card__date {
  margin-top: 0.9rem;
  font-family: var(--font-serif); font-style: italic;
  color: var(--dusk);
}
.invitation-card__open { margin-top: 2rem; }

/* ---------- 06. Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 700;
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}
.nav__inner {
  width: min(1240px, 92%);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1.4rem;
  transition: padding 0.5s ease;
}
.nav__brand {
  font-family: var(--font-script);
  font-size: 1.8rem;
  text-decoration: none; color: var(--white);
  transition: color 0.5s ease;
}
.nav__brand span { color: var(--blush); }
.nav__menu { display: flex; gap: clamp(1.2rem, 2.4vw, 2.2rem); }
.nav__link {
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500;
  text-decoration: none; color: rgba(255,255,255,0.88);
  padding: 0.35rem 0.9rem; position: relative;
  border-radius: 100px;
  transition: color 0.4s ease, background 0.4s ease;
}
.nav__link::after { display: none; }
.nav__link:hover, .nav__link.is-active { color: var(--white); background: rgba(255,255,255,0.16); }

.nav.is-scrolled {
  background: rgba(253, 246, 244, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(169, 95, 109, 0.12);
}
.nav.is-scrolled .nav__inner { padding-block: 0.8rem; }
.nav.is-scrolled .nav__brand { color: var(--rose-deep); }
.nav.is-scrolled .nav__brand span { color: var(--rose); }
.nav.is-scrolled .nav__link { color: var(--dusk); }
.nav.is-scrolled .nav__link:hover,
.nav.is-scrolled .nav__link.is-active { color: var(--rose-deep); background: rgba(201, 138, 146, 0.14); }

.nav__toggle {
  display: none;
  flex-direction: column; gap: 7px;
  background: none; border: 0; cursor: pointer; padding: 0.5rem;
}
.nav__toggle span {
  width: 26px; height: 1.5px; border-radius: 2px; background: var(--white);
  transition: transform 0.4s var(--ease-luxe), background 0.4s ease;
}
.nav.is-scrolled .nav__toggle span, .nav.is-open .nav__toggle span { background: var(--rose-deep); }
.nav.is-open .nav__toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child  { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; z-index: 2; }
  .nav__menu {
    position: fixed; inset: 0;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 1.6rem;
    background: rgba(253, 246, 244, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; }
  .nav.is-open .nav__brand { color: var(--rose-deep); position: relative; z-index: 2; }
  .nav__menu .nav__link { color: var(--plum); font-size: 1rem; }
}

/* ---------- 07. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(92,58,68,0.42) 0%, rgba(169,95,109,0.28) 45%, rgba(92,58,68,0.55) 100%);
}
.hero__content { padding: 6rem 1.5rem 4rem; }
.hero__subtitle {
  font-size: 0.78rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.hero__names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: var(--fs-hero);
  margin: 1rem 0 1.2rem;
  text-shadow: 0 4px 34px rgba(92, 58, 68, 0.5);
}
.hero__names span { color: var(--blush); font-size: 0.55em; vertical-align: middle; }
.hero__meta {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: 0.06em;
  margin-bottom: 2.6rem;
}
.hero__scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  text-decoration: none; color: rgba(255,255,255,0.85);
}
.hero__scroll-text { font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; }
.hero__scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(var(--blush), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--white);
  animation: scrollHint 2.2s var(--ease-luxe) infinite;
}
@keyframes scrollHint { 0% { top: -50%; } 60%, 100% { top: 110%; } }

/* ---------- 08. Welcome ---------- */
.welcome { text-align: center; }
.welcome__flourish { width: min(220px, 50%); margin: 0 auto 1.6rem; color: var(--rose); }
.welcome__flourish--flip { margin: 2.4rem auto 0; transform: scaleY(-1); }
.welcome__script {
  font-family: var(--font-script);
  font-size: var(--fs-script);
  color: var(--rose);
  margin-bottom: 1.4rem;
}
.welcome__text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.55;
  color: var(--plum);
}
.welcome__note { max-width: 54ch; margin: 1.8rem auto 0; color: var(--dusk); }

/* ---------- 09. Details cards ---------- */
.details__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.card {
  background: var(--white);
  border: 1px solid rgba(201, 138, 146, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(2rem, 4vw, 2.8rem) 1.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-luxe), box-shadow 0.5s var(--ease-luxe), border-color 0.5s ease;
}
/* watercolor wash in the corner */
.card::before {
  content: "";
  position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(238, 195, 189, 0.4), transparent 70%);
  border-radius: 50%;
  transition: transform 0.6s var(--ease-luxe);
}
.card:hover::before { transform: scale(1.6); }
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--rose-line);
}
.card__icon {
  position: relative;
  width: 56px; height: 56px;
  margin: 0 auto 1.4rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blush), rgba(238,195,189,0.5));
  border: 1px solid var(--rose-line);
  border-radius: 50%;
  color: var(--rose-deep);
  transition: background 0.5s ease, color 0.5s ease, transform 0.5s var(--ease-luxe);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}
.card__title {
  font-size: 1.2rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 0.7rem; color: var(--rose-deep);
}
.card__text { color: var(--dusk); font-size: 0.95rem; }

/* ---------- 10. Countdown ---------- */
.countdown { position: relative; overflow: hidden; text-align: center; color: var(--white); }
.countdown__bg { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.countdown__bg img { width: 100%; height: 100%; object-fit: cover; }
.countdown__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(92, 58, 68, 0.72), rgba(169, 95, 109, 0.65));
}
.countdown__content { position: relative; z-index: 2; }
.countdown__title { font-size: var(--fs-h2); letter-spacing: 0.04em; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.countdown__grid {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(0.9rem, 4vw, 2.2rem);
  flex-wrap: wrap;
}
.countdown__unit {
  min-width: clamp(76px, 15vw, 130px);
  padding: 1.4rem 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.countdown__value {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 3.9rem);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--blush);
}
.countdown__sep { display: none; }

/* ---------- 11. Timeline ---------- */
.timeline__list { list-style: none; position: relative; }
.timeline__list::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--rose-line) 8%, var(--rose-line) 92%, transparent);
}
.timeline__item { position: relative; width: 50%; padding: 0 3rem 3.4rem 0; }
.timeline__item:nth-child(even) { left: 50%; padding: 0 0 3.4rem 3rem; }
.timeline__item:last-child { padding-bottom: 0; }
/* heart markers */
.timeline__dot {
  position: absolute; top: 5px; right: -7px;
  width: 14px; height: 14px;
  background: var(--rose);
  border: 0;
  border-radius: 50% 50% 0 50%;
  transform: rotate(45deg);
  box-shadow: 0 0 0 6px var(--blossom);
  z-index: 1;
}
.timeline__item:nth-child(even) .timeline__dot { right: auto; left: -7px; }
.timeline__card {
  text-align: right;
  background: var(--white);
  border: 1px solid rgba(201, 138, 146, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.7rem;
}
.timeline__item:nth-child(even) .timeline__card { text-align: left; }
.timeline__time {
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--rose);
}
.timeline__title { font-size: 1.4rem; margin: 0.2rem 0 0.4rem; color: var(--plum); }
.timeline__text { color: var(--dusk); font-size: 0.95rem; }

@media (max-width: 700px) {
  .timeline__list::before { left: 8px; }
  .timeline__item,
  .timeline__item:nth-child(even) { width: 100%; left: 0; padding: 0 0 2.8rem 2.4rem; }
  .timeline__dot,
  .timeline__item:nth-child(even) .timeline__dot { left: 2px; right: auto; }
  .timeline__card,
  .timeline__item:nth-child(even) .timeline__card { text-align: left; }
}

/* ---------- 12. RSVP ---------- */
.rsvp__form {
  background: linear-gradient(170deg, var(--white) 70%, rgba(246, 223, 219, 0.45));
  border: 1px solid rgba(201, 138, 146, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(2rem, 5vw, 3.4rem);
  display: grid; gap: 1.9rem;
}
.rsvp__code-info {
  text-align: center;
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.05rem;
  color: var(--rose-deep);
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--rose-line);
  border-radius: calc(var(--radius) - 8px);
  background: rgba(238, 195, 189, 0.15);
}
.rsvp__code-info--error { color: #a34a3f; border-color: rgba(163, 74, 63, 0.35); background: rgba(163, 74, 63, 0.06); }

.field { position: relative; }
.field__input {
  width: 100%;
  font: inherit; color: var(--plum);
  background: rgba(253, 246, 244, 0.7);
  border: 1px solid rgba(201, 138, 146, 0.25);
  border-radius: 14px;
  padding: 1.35rem 1.1rem 0.55rem;
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.field__input:focus {
  outline: none; border-color: var(--rose);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 138, 146, 0.12);
}
.field__input--area { resize: vertical; min-height: 110px; }
.field__label {
  position: absolute; left: 1.1rem; top: 0.95rem;
  color: var(--dusk);
  pointer-events: none;
  transition: transform 0.35s var(--ease-luxe), font-size 0.35s var(--ease-luxe), color 0.35s ease;
  transform-origin: left top;
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
  transform: translateY(-0.62rem);
  font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rose);
}

.rsvp__attendance { border: 0; }
.rsvp__legend {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
  color: var(--rose-deep); margin-bottom: 0.9rem;
}
.rsvp__choices { display: flex; gap: 1rem; flex-wrap: wrap; }
.choice input { position: absolute; opacity: 0; }
.choice__pill {
  display: inline-block;
  padding: 0.75rem 1.7rem;
  border: 1px solid rgba(201, 138, 146, 0.35);
  border-radius: 100px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.4s var(--ease-luxe);
}
.choice__pill:hover { border-color: var(--rose); background: rgba(238, 195, 189, 0.15); }
.choice input:checked + .choice__pill {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  border-color: var(--rose); color: var(--white);
  box-shadow: 0 8px 22px rgba(169, 95, 109, 0.35);
}
.choice input:focus-visible + .choice__pill { outline: 2px solid var(--rose-deep); outline-offset: 3px; }

.rsvp__submit { justify-self: center; margin-top: 0.4rem; }
.rsvp__success {
  text-align: center;
  font-family: var(--font-script); font-size: 1.5rem;
  color: var(--rose-deep);
}

/* ---------- 13. Location ---------- */
.location__wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--white);
  border: 1px solid rgba(201, 138, 146, 0.2);
}
.location__map { min-height: 420px; }
.location__map iframe {
  width: 100%; height: 100%; border: 0;
  filter: sepia(0.18) hue-rotate(-15deg) saturate(0.9);
}
.location__info {
  padding: clamp(2.2rem, 4vw, 3.2rem);
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
  gap: 1.1rem;
}
.location__venue { font-size: 1.7rem; letter-spacing: 0.05em; color: var(--rose-deep); }
.location__address { color: var(--dusk); }
.location__divider {
  width: 12px; height: 12px; margin-inline: auto;
  background: var(--rose);
  transform: rotate(45deg);
  border-radius: 50% 50% 0 50%;
}
.location__hint { font-size: 0.9rem; color: var(--dusk); font-style: italic; font-family: var(--font-serif); }
.location__info .btn { align-self: center; margin-top: 0.5rem; }

@media (max-width: 860px) {
  .location__wrap { grid-template-columns: 1fr; }
  .location__map { min-height: 300px; }
}

/* ---------- 14. FAQ ---------- */
.faq__item {
  background: var(--white);
  border: 1px solid rgba(201, 138, 146, 0.18);
  border-radius: calc(var(--radius) - 6px);
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.faq__item.is-open { box-shadow: var(--shadow-soft); border-color: var(--rose-line); }
.faq__question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-serif);
  font-size: 1.12rem; font-weight: 500;
  text-align: left;
  color: var(--plum);
  background: none; border: 0; cursor: pointer;
  padding: 1.3rem 1.6rem;
}
.faq__question:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: -2px; }
.faq__icon { position: relative; flex: 0 0 14px; height: 14px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--rose);
  border-radius: 2px;
  transition: transform 0.45s var(--ease-luxe);
}
.faq__icon::before { top: 50%; left: 0; width: 14px; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after  { left: 50%; top: 0; width: 1.5px; height: 14px; transform: translateX(-50%); }
.faq__item.is-open .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__answer {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-luxe);
}
.faq__item.is-open .faq__answer { grid-template-rows: 1fr; }
.faq__answer-inner {
  overflow: hidden;
  padding: 0 1.6rem;
  color: var(--dusk);
  transition: padding 0.5s var(--ease-luxe);
}
.faq__item.is-open .faq__answer-inner { padding: 0 1.6rem 1.4rem; }

/* ---------- 15. Gallery & lightbox ---------- */
.gallery__masonry { columns: 3; column-gap: 1.2rem; }
@media (max-width: 900px) { .gallery__masonry { columns: 2; } }
@media (max-width: 540px) { .gallery__masonry { columns: 1; } }

.gallery__item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(169, 95, 109, 0.16);
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%;
  transition: transform 0.8s var(--ease-luxe), filter 0.8s ease;
}
.gallery__item:hover img { transform: scale(1.06); filter: brightness(1.05) saturate(1.06); }

.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 800;
  display: grid; place-items: center;
  background: rgba(92, 58, 68, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox__img {
  max-width: min(90vw, 1100px); max-height: 84vh;
  border-radius: calc(var(--radius) - 8px);
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
}
.lightbox__close, .lightbox__arrow {
  position: absolute;
  background: none; border: 0; cursor: pointer;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s, transform 0.3s var(--ease-luxe);
}
.lightbox__close { top: 1rem; right: 1.4rem; font-size: 2.6rem; line-height: 1; }
.lightbox__close:hover { color: var(--white); transform: rotate(90deg); }
.lightbox__arrow {
  top: 50%; transform: translateY(-50%);
  font-size: 3.4rem; line-height: 1; padding: 1rem;
}
.lightbox__arrow--prev { left: 0.6rem; }
.lightbox__arrow--next { right: 0.6rem; }
.lightbox__arrow:hover { color: var(--blush); }

/* ---------- 16. Footer ---------- */
.footer {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.5rem;
  background: linear-gradient(160deg, var(--plum), #4a2e37);
  color: var(--blush);
}
.footer__names { font-family: var(--font-script); font-size: 2.5rem; color: var(--white); }
.footer__names span { color: var(--petal); font-size: 0.65em; }
.footer__date {
  margin-top: 0.5rem;
  font-size: 0.74rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(246, 223, 219, 0.65);
}
.footer__divider { width: 120px; margin: 1.6rem auto; color: var(--petal); }
.footer__love { font-family: var(--font-serif); font-style: italic; color: rgba(246, 223, 219, 0.85); }

/* ---------- 17. Floating controls ---------- */
.fab {
  position: fixed; right: 1.4rem; z-index: 600;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--rose-line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--rose-deep);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-luxe), background 0.4s ease, color 0.4s ease;
}
.fab svg { width: 20px; height: 20px; }
.fab:hover {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: var(--white); transform: translateY(-3px);
}
.fab--music { bottom: 1.4rem; }
.fab--top   { bottom: 4.9rem; }
.fab--top[hidden] { display: none; }
.fab--music.is-playing {
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  animation: musicPulse 2.4s ease-in-out infinite;
}
@keyframes musicPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 138, 146, 0.45); }
  50%      { box-shadow: 0 0 0 12px rgba(201, 138, 146, 0); }
}

/* ---------- 18. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
