:root {
  --pink-50: #fff9fa;
  --pink-100: #faebee;
  --pink-200: #f5d7de;
  --pink-300: #eeb8c4;
  --pink-500: #c8788b;
  --rose: #a65b6c;
  --cream: #fffaf0;
  --champagne: #c3a36a;
  --sage: #8d9a80;
  --ink: #584247;
  --muted: #7f6870;
  --paper: rgba(255, 252, 248, 0.94);
  --shadow: 0 18px 50px rgba(104, 57, 71, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f9eff1;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.section { position: relative; overflow: hidden; }
.section-inner { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 96px 0; }
.section-inner.narrow { width: min(760px, calc(100% - 40px)); text-align: center; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.06; }
h2 { margin-bottom: 20px; font-size: clamp(2.45rem, 7vw, 4.8rem); font-weight: 500; }
h3 { margin-bottom: 14px; font-size: 2rem; font-weight: 600; }
.lead { font-family: var(--serif); font-size: clamp(1.2rem, 2.5vw, 1.55rem); line-height: 1.7; }
.script { font-family: var(--script); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: linear-gradient(135deg, #c9798b, #a95d70); box-shadow: 0 12px 28px rgba(154, 77, 96, .28); }
.button--outline { border-color: rgba(166,91,108,.42); color: var(--rose); background: rgba(255,255,255,.58); }
.button--outline:hover { background: #fff; box-shadow: 0 10px 22px rgba(115,76,88,.1); }

.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;
}

.opening {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 22px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.35), transparent 34%),
    linear-gradient(180deg, #f9e7eb, #f2d7df 55%, #edd0d9);
  transition: opacity .75s ease, visibility .75s ease;
}
.opening::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.6), transparent 22%),
    radial-gradient(circle at 80% 8%, rgba(255,255,255,.35), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(132,72,90,.12));
  pointer-events: none;
}
.opening__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 15%, rgba(255,255,255,.4), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,.22), transparent 32%);
}
.opening__card {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  padding: 14px 14px 20px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 32px;
  color: var(--ink);
  background: rgba(255,249,246,.52);
  box-shadow: 0 28px 80px rgba(51,26,34,.24);
  text-align: center;
  backdrop-filter: blur(10px);
}
.opening__card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(197,145,157,.28);
  border-radius: 26px;
  pointer-events: none;
}
.opening__video-wrap {
  position: relative;
  width: 100%;
}
.opening__image,
.opening__video {
  display: block;
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(102,54,68,.15);
  background: #f8edf0;
}
.opening__video-fallback {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  transform: translateX(-50%);
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 999px;
  color: #fff;
  background: rgba(132,70,87,.88);
  box-shadow: 0 10px 26px rgba(70,35,45,.24);
  font: 600 .68rem/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.opening__video-fallback[hidden] { display: none; }
.opening__actions {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 14px;
}
.opening small { display: block; color: var(--muted); font-size: .72rem; }
.opening.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.music-toggle {
  position: fixed;
  z-index: 100;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  color: #fff;
  background: rgba(133,70,87,.82);
  box-shadow: 0 10px 28px rgba(75,38,50,.2);
  font: 600 .68rem/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.music-toggle__icon { font-size: 1rem; animation: musicPulse 1.7s ease-in-out infinite; }
.music-toggle[aria-pressed="false"] .music-toggle__icon { animation: none; opacity: .6; }
@keyframes musicPulse { 50% { transform: scale(1.25) rotate(-8deg); } }
#backgroundMusic { display: none; }


.hero { min-height: 100svh; display: grid; place-items: center; color: #fff; text-align: center; }
.hero__photo { position: absolute; inset: 0; background: url("assets/tea-party-backdrop.jpg") center/cover no-repeat; transform: scale(1.025); }
.hero__wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(63,30,40,.18), rgba(92,43,58,.28) 45%, rgba(69,28,42,.68)); }
.hero__content { position: relative; z-index: 2; width: min(850px, calc(100% - 32px)); padding: 100px 0 84px; text-shadow: 0 2px 18px rgba(46,17,25,.28); }
.hero .eyebrow { color: #fff8f6; }
.hero h1 { margin: 0; font-size: clamp(4.1rem, 17vw, 9rem); font-family: var(--script); font-weight: 400; }
.hero .script { margin: -10px 0 28px; font-size: clamp(2rem, 7vw, 4rem); }
.hero__date { display: inline-grid; gap: 5px; padding: 15px 24px; border-top: 1px solid rgba(255,255,255,.65); border-bottom: 1px solid rgba(255,255,255,.65); font-family: var(--serif); }
.hero__date span { font-size: .84rem; letter-spacing: .2em; text-transform: uppercase; }
.hero__date strong { font-size: 1.35rem; letter-spacing: .16em; }
.hero__ornament { position: absolute; z-index: 2; top: 50%; color: rgba(255,255,255,.72); font-size: 2rem; }
.hero__ornament--left { left: 4vw; transform: rotate(-90deg); }
.hero__ornament--right { right: 4vw; transform: rotate(90deg); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 42px; border: 1px solid rgba(255,255,255,.75); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: #fff; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 70% { opacity: 0; transform: translate(-50%, 18px); } }

.paper-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(238,184,196,.26), transparent 28%),
    radial-gradient(circle at 88% 86%, rgba(195,163,106,.14), transparent 27%),
    linear-gradient(rgba(255,252,248,.96), rgba(255,249,246,.96)),
    repeating-linear-gradient(0deg, rgba(100,60,70,.025) 0 1px, transparent 1px 4px);
}
.invitation .section-inner { padding-top: 112px; padding-bottom: 112px; }
.floral-corner { position: absolute; color: rgba(199,120,139,.32); font-family: var(--serif); font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: -.2em; }
.floral-corner--top-left { top: 20px; left: 20px; transform: rotate(-25deg); }
.floral-corner--top-right { top: 20px; right: 30px; transform: scaleX(-1) rotate(-25deg); }
.teacup-divider { display: flex; align-items: center; gap: 12px; width: min(290px, 76%); margin: 24px auto; color: var(--champagne); }
.teacup-divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.teacup-divider span:last-child { background: linear-gradient(90deg, currentColor, transparent); }
.teacup-divider b { font-size: 1.45rem; }
.name-line { margin: 36px 0 2px; font-family: var(--script); color: var(--rose); font-size: clamp(2.8rem, 9vw, 5.5rem); line-height: 1.1; }
.celebration-line { font-family: var(--serif); font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; }

.portrait-feature { padding: 86px 22px; background: linear-gradient(135deg, #f1ccd4, #f9e9e7 55%, #efe4d4); }
.portrait-feature__frame { position: relative; width: min(560px, 90vw); margin: 0 auto; padding: 14px; border-radius: 240px 240px 26px 26px; background: rgba(255,255,255,.68); box-shadow: var(--shadow); }
.portrait-feature__frame::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(167,93,111,.38); border-radius: inherit; pointer-events: none; }
.portrait-feature__frame img { width: 100%; max-height: 730px; border-radius: 220px 220px 16px 16px; object-fit: cover; object-position: center; }
.portrait-feature__copy { position: relative; width: min(620px, calc(100% - 30px)); margin: -55px auto 0; padding: 38px 28px 32px; border-radius: 24px; background: rgba(255,252,248,.94); box-shadow: 0 18px 50px rgba(89,51,61,.15); text-align: center; }
.portrait-feature__copy h2 { margin-bottom: 5px; font-size: clamp(2.2rem, 7vw, 3.7rem); }

.countdown-section { color: #fff; background: linear-gradient(rgba(116,58,75,.62), rgba(104,48,66,.75)), url("assets/ciara-dj.jpg") center 42%/cover fixed; text-align: center; }
.countdown-section .section-inner { padding-top: 112px; padding-bottom: 112px; }
.countdown-section .eyebrow { color: #fdebf0; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: min(760px, 100%); margin: 38px auto 0; }
.countdown div { padding: 24px 8px 20px; border: 1px solid rgba(255,255,255,.5); border-radius: 90px 90px 18px 18px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.countdown strong { display: block; font: 500 clamp(2rem, 6vw, 4rem)/1 var(--serif); }
.countdown span { display: block; margin-top: 7px; font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }

.details-section .section-inner { text-align: center; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; margin-top: 48px; }
.detail-card { position: relative; padding: 48px 32px 38px; border: 1px solid rgba(187,132,145,.28); border-radius: 170px 170px 24px 24px; background: rgba(255,255,255,.66); box-shadow: 0 14px 40px rgba(106,70,79,.09); }
.detail-card::after { content: ""; position: absolute; inset: 9px; border: 1px dashed rgba(193,145,156,.35); border-radius: inherit; pointer-events: none; }
.detail-card > * { position: relative; z-index: 2; }
.detail-card__icon { color: var(--champagne); font-size: 2rem; }
.detail-card__icon--image { display: flex; justify-content: center; align-items: center; min-height: 44px; }
.detail-card__icon--image img { display: block; width: 42px; height: 42px; margin: 0 auto; object-fit: contain; filter: sepia(.65) saturate(.65) hue-rotate(318deg) brightness(1.02); opacity: .9; }
.detail-card__kicker { color: var(--rose); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.detail-card__photo { margin: 18px 0 18px; overflow: hidden; border: 1px solid rgba(195,163,106,.26); border-radius: 28px; background: rgba(255,255,255,.82); box-shadow: 0 10px 26px rgba(101,64,74,.08); }
.detail-card__photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.detail-card__venue { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; }
.detail-card__note { color: var(--muted); font-size: .85rem; }
.detail-card .button { margin-top: 10px; }

.gallery-section { background: #f2d6dc; }
.gallery-section .section-inner { text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 340px; gap: 14px; margin-top: 42px; }
.gallery__item { overflow: hidden; padding: 0; border: 0; border-radius: 22px; background: #eee; box-shadow: 0 12px 36px rgba(94,53,66,.13); cursor: zoom-in; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery__item:hover img { transform: scale(1.045); }

.dress-section { text-align: center; }
.dress-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 28px; }
.dress-card { padding: 28px 22px 24px; border: 1px solid rgba(187,132,145,.26); border-radius: 26px; background: rgba(255,255,255,.72); box-shadow: 0 12px 34px rgba(100,58,71,.08); }
.dress-card h3 { margin-bottom: 8px; font-size: 1.8rem; }
.dress-card__note { margin: 0; color: var(--rose); font-size: .95rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.palette { display: flex; justify-content: center; gap: 14px; margin-top: 34px; }
.palette span { width: 52px; height: 52px; border: 5px solid rgba(255,255,255,.88); border-radius: 50%; background: var(--swatch); box-shadow: 0 7px 18px rgba(86,54,61,.13); }
.palette--single span { border-color: #e8dfe1; box-shadow: 0 0 0 1px rgba(166,91,108,.18), 0 7px 18px rgba(86,54,61,.13); }

.gift-section { padding: 90px 20px; background: linear-gradient(135deg, #dca6b4, #efd0d6 55%, #f5e6dd); }
.gift-card { position: relative; width: min(720px, 100%); margin: 0 auto; padding: 68px 40px 48px; border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: rgba(255,250,247,.9); box-shadow: var(--shadow); text-align: center; }
.gift-card__ribbon { position: absolute; left: 50%; top: -35px; font-size: 4rem; transform: translateX(-50%); filter: drop-shadow(0 7px 8px rgba(113,58,73,.2)); }

.protocol-section .section-inner { text-align: center; }
.protocol-copy { width: min(860px, 100%); margin: 0 auto 28px; color: var(--muted); font-family: var(--serif); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.7; }
.protocol-artwork { width: min(980px, 100%); margin: 32px auto 0; }
.protocol-artwork img { width: 100%; display: block; border-radius: 28px; box-shadow: 0 16px 44px rgba(101,64,74,.12); }
.protocol-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 40px; }
.protocol-card { padding: 28px 18px 24px; border: 1px solid rgba(187,132,145,.24); border-radius: 24px; background: rgba(255,255,255,.7); box-shadow: 0 12px 34px rgba(101,64,74,.08); }
.protocol-card__icon { margin-bottom: 14px; }
.protocol-card__icon--image img { width: min(112px, 100%); height: auto; display: block; margin: 0 auto; }
.protocol-card h3 { margin: 0; font-size: 1.35rem; }


.faq-section {
  text-align: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(245,215,222,.42), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(244,227,206,.48), transparent 26%),
    linear-gradient(180deg, rgba(255,252,248,.98), rgba(255,247,249,.98));
}
.faq-inner { width: min(980px, calc(100% - 36px)); }
.faq-heading-ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin: -4px 0 30px; color: var(--champagne); }
.faq-heading-ornament::before,
.faq-heading-ornament::after { content: ""; width: min(110px, 18vw); height: 1px; background: linear-gradient(90deg, transparent, rgba(195,163,106,.72)); }
.faq-heading-ornament::after { background: linear-gradient(90deg, rgba(195,163,106,.72), transparent); }
.faq-heading-ornament b { color: var(--rose); font-size: 1.2rem; font-weight: 400; }
.faq-heading-ornament span { font-size: .7rem; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.faq-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: start;
  gap: 18px;
  min-height: 190px;
  padding: 28px 25px;
  overflow: hidden;
  border: 1px solid rgba(195,163,106,.3);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(245,215,222,.4), transparent 37%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,249,247,.9));
  box-shadow: 0 15px 38px rgba(101,64,74,.1);
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.faq-card::before,
.faq-card::after { position: absolute; color: rgba(195,163,106,.26); font-family: var(--serif); pointer-events: none; }
.faq-card::before { content: "❦"; top: 9px; right: 14px; font-size: 1.45rem; transform: rotate(18deg); }
.faq-card::after { content: "✦"; right: 22px; bottom: 13px; font-size: .7rem; }
.faq-card:hover { transform: translateY(-3px); border-color: rgba(195,163,106,.48); box-shadow: 0 20px 44px rgba(101,64,74,.13); }
.faq-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(195,163,106,.5);
  border-radius: 50%;
  background: linear-gradient(145deg, #fffdf9, #f8e6e9);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.72), 0 10px 24px rgba(115,76,88,.1);
}
.faq-icon svg { width: 39px; height: 39px; fill: none; stroke: var(--rose); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faq-card__content { position: relative; z-index: 1; padding-top: 3px; }
.faq-card h3 { margin: 0 0 9px; color: var(--rose-dark); font-size: 1.5rem; line-height: 1.18; }
.faq-card p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.66; }

.rsvp-section {
  text-align: center;
  background:
    linear-gradient(rgba(255,252,248,.96), rgba(255,249,250,.97)),
    url("assets/opening-magical-invite.png") center/cover no-repeat;
}
.rsvp-inner { width: min(940px, calc(100% - 18px)); }
.rsvp-card {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(167,95,112,.16);
  border-radius: 30px;
  background: #f8eee8;
  box-shadow: 0 20px 54px rgba(101,64,74,.16);
}
.rsvp-visual { width: 100%; margin: 0; background: #f8eee8; }
.rsvp-visual img { width: 100%; display: block; border-radius: 0; box-shadow: none; }
.rsvp-form-stage {
  position: relative;
  isolation: isolate;
  margin-top: -6px;
  padding: 14px 82px 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.14), transparent 16%, transparent 84%, rgba(255,255,255,.14)),
    radial-gradient(circle at 50% 6%, rgba(255,255,255,.75), transparent 35%),
    linear-gradient(180deg, #fbf2eb, #f6e9df 52%, #fbf3ec);
}
.rsvp-form-stage::before,
.rsvp-form-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  width: 82px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
.rsvp-form-stage::before {
  left: 0;
  background-image: url("assets/rsvp-frame-left.jpg");
}
.rsvp-form-stage::after {
  right: 0;
  background-image: url("assets/rsvp-frame-right.jpg");
}
.form-mount--framed {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(195,163,106,.26);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,250,246,.74), rgba(255,244,238,.64));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 8px 24px rgba(101,64,74,.08);
  backdrop-filter: blur(2px);
}
.form-mount--framed::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(195,163,106,.16);
  border-radius: 20px;
  pointer-events: none;
}

.builtin-rsvp-form,
.rsvp-success {
  position: relative;
  padding: clamp(24px, 5vw, 40px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(239,208,214,.24), transparent 34%),
    radial-gradient(circle at 0 100%, rgba(244,227,206,.28), transparent 25%),
    linear-gradient(180deg, rgba(255,250,247,.98), rgba(255,246,241,.98));
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}
.builtin-rsvp-form::before,
.rsvp-success::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(223,196,155,.2);
  border-radius: 14px;
  pointer-events: none;
}
.rsvp-form-heading { position: relative; width: min(680px, 100%); margin: 0 auto 22px; padding: 0 10px 16px; text-align: center; }
.rsvp-form-heading::after { content: "✦ ✿ ✦"; display: block; margin-top: 10px; color: rgba(195,163,106,.9); letter-spacing: .3em; font-size: .85rem; }
.rsvp-form-heading h3,
.rsvp-success h3,
.standalone-success h1 { margin: 0 0 12px; color: var(--rose-dark); font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.85rem); line-height: 1.14; font-weight: 600; text-wrap: balance; }
.rsvp-copy { display: grid; gap: 8px; }
.rsvp-copy p,
.rsvp-success p { margin: 0; color: var(--muted); line-height: 1.64; font-size: .97rem; }
.rsvp-copy--success { text-align: center; width: min(620px, 100%); margin: 0 auto; }
.rsvp-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.rsvp-field { display: grid; gap: 7px; min-width: 0; text-align: left; }
.rsvp-field--full,
.rsvp-choice-group,
.rsvp-attending-fields { grid-column: 1 / -1; }
.rsvp-field > span,
.rsvp-choice-group legend { color: var(--rose-dark); font-family: var(--serif); font-size: 1.12rem; font-weight: 700; letter-spacing: .01em; }
.rsvp-field b,
.rsvp-choice-group b { color: #b64863; }
.rsvp-field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid rgba(166,91,108,.22);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255,252,250,.98);
  font: inherit;
  font-size: .94rem;
  line-height: 1.35;
  box-shadow: inset 0 1px 2px rgba(99,54,66,.02);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.rsvp-field input::placeholder { color: #b08b95; }
.rsvp-field input:focus {
  outline: 0;
  border-color: rgba(166,91,108,.74);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(221,163,178,.2);
}
.rsvp-field input[readonly] { color: var(--rose-dark); background: #f6e8eb; font-weight: 800; text-align: center; }
.rsvp-choice-group { margin: 0; padding: 0; border: 0; }
.rsvp-choice-group legend { text-align: center; }
.rsvp-choice-group legend { margin-bottom: 12px; }
.rsvp-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.rsvp-choice { position: relative; display: block; cursor: pointer; }
.rsvp-choice input { position: absolute; opacity: 0; pointer-events: none; }
.rsvp-choice span {
  position: relative;
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 90px;
  padding: 16px 16px 16px 50px;
  border: 1px solid rgba(166,91,108,.18);
  border-radius: 19px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,250,249,.94));
  box-shadow: 0 8px 20px rgba(101,64,74,.05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.rsvp-choice span::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(166,91,108,.5);
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 4px #fff;
}
.rsvp-choice strong { color: var(--rose-dark); font-family: var(--serif); font-size: 1.04rem; line-height: 1.35; font-weight: 700; }
.rsvp-choice input:checked + span { border-color: rgba(166,91,108,.52); background: linear-gradient(180deg, #fff8fa, #fff3f5); box-shadow: 0 10px 24px rgba(136,74,91,.11); transform: translateY(-1px); }
.rsvp-choice input:checked + span::before { border-color: var(--rose); background: var(--rose); }
.rsvp-choice input:focus-visible + span { outline: 3px solid rgba(221,163,178,.35); outline-offset: 2px; }
.rsvp-attending-fields { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; border: 1px solid rgba(195,163,106,.22); border-radius: 22px; background: linear-gradient(180deg, rgba(251,242,236,.92), rgba(255,252,249,.97)); box-shadow: inset 0 1px 0 rgba(255,255,255,.65); }
.rsvp-attending-fields[hidden] { display: none; }
.rsvp-count-heading { text-align: center; display: grid; gap: 6px; }
.rsvp-count-heading h4 { margin: 0; color: var(--rose-dark); font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 1.8rem); }
.rsvp-count-heading p { margin: 0; color: var(--muted); font-size: .96rem; }
.rsvp-limit-note { margin: 0; color: var(--rose-dark) !important; font-size: .88rem !important; font-weight: 600; }
.rsvp-intimate-note { display: inline-block; padding: 8px 16px; border-radius: 999px; background: rgba(245,215,222,.5); color: var(--rose-dark) !important; font-weight: 700; font-size: .82rem !important; letter-spacing: .06em; text-transform: uppercase; }
.guest-count-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; grid-column: 1 / -1; }
.rsvp-field--total input { cursor: default; }
.rsvp-form-status { min-height: 1.5em; margin: 20px 0 8px; color: #a63f59; font-weight: 700; text-align: center; }
.rsvp-submit { display: block; min-width: min(240px, 100%); margin: 8px auto 0; border: 0; cursor: pointer; background: linear-gradient(135deg, #d3919e, #b57080); box-shadow: 0 12px 26px rgba(154, 77, 96, .22); font-family: var(--serif); font-size: 1.08rem; letter-spacing: .03em; }
.rsvp-submit:disabled { cursor: wait; opacity: .72; }
.builtin-rsvp-form.was-validated :invalid:not(fieldset) { border-color: #b64863; box-shadow: 0 0 0 3px rgba(182,72,99,.11); }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rsvp-success { padding-block: clamp(42px, 7vw, 74px); text-align: center; }
.rsvp-success__icon { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 17px; border: 1px solid rgba(195,163,106,.55); border-radius: 50%; color: #fff; background: linear-gradient(145deg, #cf8597, #a65b6c); font-size: 2rem; box-shadow: 0 10px 25px rgba(134,75,91,.2); }
.rsvp-success__photo { width: min(320px, 100%); margin: 22px auto 0; padding: 8px; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(250,237,241,.92)); box-shadow: 0 14px 32px rgba(101,64,74,.12); }
.rsvp-success__photo img { width: 100%; display: block; border-radius: 18px; }
.rsvp-success .button { margin-top: 24px; }
.standalone-success { width: min(760px, 100%); margin-inline: auto; }
.contact-card { margin-top: 28px; padding: 26px; border-radius: 20px; background: rgba(245,215,222,.62); box-shadow: 0 10px 30px rgba(101,64,74,.08); }
.contact-card--merged { width: min(760px, 100%); margin-inline: auto; }
.contact-person + .contact-person { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(166,91,108,.18); }
.contact-card strong { display: block; margin: 5px 0 17px; font-family: var(--serif); font-size: 1.5rem; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.closing-section { min-height: 72svh; display: grid; place-items: center; color: #fff; text-align: center; }
.closing-section__image { position: absolute; inset: 0; background: url("assets/ciara-outdoor.jpg") center 35%/cover no-repeat; }
.closing-section__overlay { position: absolute; inset: 0; background: linear-gradient(rgba(70,35,44,.2), rgba(63,27,38,.73)); }
.closing-section__content { position: relative; z-index: 2; width: min(760px, calc(100% - 40px)); padding: 90px 0; }
.closing-section .script { margin-bottom: 0; font-size: clamp(2rem, 7vw, 4rem); line-height: 1.15; }
.closing-section h2 { margin-top: 28px; }

.lightbox { width: min(980px, 94vw); max-width: none; max-height: 92vh; padding: 0; border: 0; border-radius: 18px; background: transparent; box-shadow: 0 25px 80px rgba(0,0,0,.35); }
.lightbox::backdrop { background: rgba(43,24,30,.88); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; max-height: 90vh; object-fit: contain; border-radius: 18px; }
.lightbox__close { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: #fff; background: rgba(72,37,48,.7); font-size: 1.8rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .portrait-feature { display: grid; grid-template-columns: minmax(0,560px) minmax(320px,500px); justify-content: center; align-items: center; gap: 0; padding: 110px 40px; }
  .portrait-feature__frame { margin: 0; }
  .portrait-feature__copy { margin: 0 0 0 -55px; padding: 54px 42px; }
  .gallery { grid-template-columns: 1.15fr .85fr .85fr; grid-auto-rows: 300px; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; }
}

@media (max-width: 700px) {
  .section-inner { padding: 76px 0; }
  .hero__ornament { display: none; }
  .details-grid { grid-template-columns: 1fr; }
  .detail-card { padding-left: 24px; padding-right: 24px; }
  .detail-card__photo { margin: 15px 0 16px; border-radius: 22px; }
  .countdown { gap: 7px; }
  .countdown div { padding: 20px 4px 16px; border-radius: 54px 54px 14px 14px; }
  .countdown strong { font-size: 2rem; }
  .countdown span { font-size: .54rem; letter-spacing: .1em; }
  .gallery { grid-auto-rows: 240px; }
  .gallery__item--tall { grid-row: span 2; }
  .gift-card { padding-left: 25px; padding-right: 25px; }
  .dress-grid, .protocol-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-heading-ornament { margin-bottom: 22px; }
  .faq-card { grid-template-columns: 58px 1fr; gap: 13px; min-height: 0; padding: 20px 17px; border-radius: 21px; }
  .faq-icon { width: 54px; height: 54px; box-shadow: inset 0 0 0 4px rgba(255,255,255,.72), 0 8px 18px rgba(115,76,88,.09); }
  .faq-icon svg { width: 30px; height: 30px; }
  .faq-card h3 { margin-bottom: 6px; font-size: 1.22rem; }
  .faq-card p { font-size: .88rem; line-height: 1.55; }
  .faq-card::before { top: 7px; right: 11px; font-size: 1.1rem; }
  .faq-card::after { right: 15px; bottom: 9px; }
  .protocol-card h3 { font-size: 1.15rem; }
  .rsvp-inner { width: min(100%, calc(100% - 8px)); }
  .rsvp-card { border-radius: 18px; }
  .rsvp-form-stage { padding: 8px 22px 12px; }
  .rsvp-form-stage::before,
  .rsvp-form-stage::after { width: 26px; }
  .form-mount--framed { padding: 4px; border-radius: 16px; }
  .form-mount--framed::before { inset: 6px; border-radius: 12px; }
  .builtin-rsvp-form, .rsvp-success { padding: 17px 12px; border-radius: 14px; }
  .builtin-rsvp-form::before, .rsvp-success::before { inset: 8px; border-radius: 10px; }
  .rsvp-form-heading { margin-bottom: 16px; padding: 0 2px 12px; }
  .rsvp-form-heading::after { margin-top: 8px; font-size: .72rem; letter-spacing: .22em; }
  .rsvp-fields, .rsvp-attending-fields { grid-template-columns: 1fr; gap: 14px; }
  .rsvp-copy { gap: 6px; }
  .rsvp-copy p, .rsvp-success p { font-size: .88rem; line-height: 1.52; }
  .rsvp-attending-fields { padding: 14px 10px; gap: 12px; border-radius: 16px; }
  .rsvp-choice-grid { grid-template-columns: 1fr; gap: 10px; }
  .guest-count-grid { grid-template-columns: 1fr; gap: 10px; }
  .rsvp-field--total { grid-column: 1 / -1; }
  .rsvp-field > span, .rsvp-choice-group legend { font-size: 1rem; }
  .rsvp-field input { min-height: 45px; padding: 10px 12px; font-size: .9rem; border-radius: 13px; }
  .rsvp-choice span { min-height: 64px; padding: 13px 13px 13px 42px; border-radius: 15px; }
  .rsvp-choice span::before { left: 14px; width: 16px; height: 16px; }
  .rsvp-choice strong { font-size: .92rem; }
  .rsvp-form-heading h3, .rsvp-success h3 { font-size: 1.52rem; }
  .rsvp-count-heading h4 { font-size: 1.2rem; }
  .rsvp-count-heading p { font-size: .84rem; }
  .rsvp-intimate-note { padding: 6px 10px; font-size: .72rem !important; }
  .rsvp-submit { min-height: 44px; padding: 12px 18px; font-size: .96rem; }
  .rsvp-success__icon { width: 58px; height: 58px; margin-bottom: 12px; font-size: 1.7rem; }
  .rsvp-success__photo { width: min(250px, 100%); margin-top: 16px; padding: 6px; border-radius: 18px; }
  .rsvp-success__photo img { border-radius: 14px; }
  .music-toggle__label { display: none; }
  .music-toggle { width: 45px; height: 45px; justify-content: center; padding: 0; }
}


@media (max-width: 700px) {
  .opening { padding: 14px; }
  .opening__card { width: min(460px, 100%); padding: 10px 10px 18px; border-radius: 24px; }
  .opening__card::before { inset: 6px; border-radius: 18px; }
  .opening__image, .opening__video { border-radius: 16px; }
  .opening__actions { margin-top: 12px; }
}

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

.rsvp-success--decline .rsvp-success__icon { background: linear-gradient(145deg, #c9a7b0, #9c7b86); }
.rsvp-success--decline .rsvp-success__photo { background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(242,232,236,.94)); }
