/* Rohit & Kirti — unified wedding design system */
:root {
  --brand-ink: #3b2229;
  --brand-plum: #71384b;
  --brand-terracotta: #9b4d37;
  --brand-rose: #c97972;
  --brand-champagne: #d7a35d;
  --brand-sage: #8b9a79;
  --brand-cream: #fbf3e8;
  --brand-paper: #fffaf3;
  --brand-line: rgba(59,34,41,.16);
  --space-1: .35rem;
  --space-2: .65rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 5rem;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 8px 18px rgba(59,34,41,.1);
  --shadow-md: 0 18px 36px rgba(59,34,41,.14);
  --shadow-lg: 0 28px 55px rgba(59,34,41,.2);
  --bp-sm: 480px;
  --bp-md: 700px;
  --bp-lg: 1000px;
  --bp-xl: 1200px;
  --type-xs: .72rem;
  --type-sm: .88rem;
  --type-body: 1rem;
  --type-lg: 1.35rem;
  --type-xl: clamp(2.5rem, 6vw, 4.8rem);
  --font-display: 'Cormorant Garant', serif;
  --font-script: 'Cormorant Garant', serif;
  --font-body: 'Lato', sans-serif;
  --ink: var(--brand-ink);
  --dark: var(--brand-ink);
  --royal: var(--brand-plum);
  --gold: var(--brand-champagne);
  --gold-light: #f0c88f;
  --gold-pale: #f4dfc4;
  --ivory: var(--brand-cream);
  --rose: var(--brand-rose);
  --copper: var(--brand-terracotta);
  --white: #fff;
  /* Legacy aliases kept for older component files during the migration. */
  --cream: var(--brand-cream);
  --pink: var(--brand-rose);
  --plum: var(--brand-plum);
  --plum-deep: var(--brand-ink);
  --marigold: var(--brand-champagne);
  --shadow: var(--shadow-md);
}

html, body { background: var(--brand-cream); color: var(--brand-ink); }
body { font-family: var(--font-body); }
body :where(h1,h2,h3,h4,h5,h6,.hero__name,.footer__names,.venue__name,.schedule__event,.invitation-story__name-block h2,.well-wishers__panel-head h3) { font-family: var(--font-display); }
body :where(p,li,span,button,a,input,textarea,label) { font-family: var(--font-body); }
body :where(a,button) { -webkit-tap-highlight-color: transparent; }

/* Shared surfaces */
#couple, #well-wishers, #invitation-story, #map-section, #wedding-media { background: var(--brand-cream) !important; color: var(--brand-ink); }
#schedule, #rsvp, #venue .venue__content { background: var(--brand-plum) !important; color: var(--brand-cream); }
#venue, #venue .venue__gallery, #venue .venue__gallery-heading { background: var(--brand-cream) !important; }
#footer { background: var(--brand-ink) !important; }

/* Shared headings */
#couple h2, #schedule .schedule__title, #map-section h2, #wedding-media h2, #well-wishers h2, #invitation-story h2 { color: var(--brand-plum); }
#schedule .schedule__title, #rsvp h2, #venue .venue__name, #footer .footer__names { color: var(--brand-cream); }
#couple .couple__header p, #wedding-media .eyebrow, #well-wishers__intro, .venue__gallery-heading > span { color: var(--brand-terracotta); }

/* Hero */
#hero { background: var(--brand-ink); }
#hero .hero__video-fallback { background: radial-gradient(circle at 50% 18%, rgba(215,163,93,.24), transparent 30%), linear-gradient(145deg, #3b2229, #71384b 58%, #8d4e49) !important; }
#hero .hero__video-wrap::after { background: linear-gradient(180deg, rgba(59,34,41,.12), rgba(59,34,41,.6)) !important; }
#hero .hero__name { color: var(--brand-paper); text-shadow: 0 8px 28px rgba(59,34,41,.5); }
#hero .hero__name:hover { color: var(--brand-champagne); }
#hero .hero__name-lockup .hero__amp { color: var(--brand-champagne); border-color: var(--brand-champagne); }
#hero .hero__name-lockup .hero__amp:hover { color: var(--brand-ink); background: var(--brand-champagne); }
#hero .hero__date { color: var(--brand-cream); }
#hero .hero__cta, .map__btn, .form__submit { background: var(--brand-terracotta) !important; border-color: var(--brand-champagne) !important; color: var(--brand-paper) !important; }
#hero .hero__cta:hover, .map__btn:hover, .form__submit:hover { background: var(--brand-champagne) !important; color: var(--brand-ink) !important; }

/* Couple cards */
#couple { background: var(--brand-cream) !important; }
#couple .couple__header h2, #couple .couple__header p, #couple .card-name, #couple .card-title { color: var(--brand-plum) !important; }
#couple .couple__and { color: var(--brand-terracotta); }
#couple .playing-card { box-shadow: 0 20px 42px rgba(59,34,41,.18); }

/* Schedule */
#schedule { --schedule-ink: var(--brand-ink); --schedule-ink-soft: #614650; --schedule-saffron: var(--brand-champagne); --schedule-cream: var(--brand-cream); background: radial-gradient(circle at 82% 0%, rgba(201,121,114,.28), transparent 35%), linear-gradient(145deg, #71384b, #4f2939) !important; }
#schedule .schedule__subtitle { color: #f4d0a7; }
#schedule .schedule__item { background: var(--brand-paper); border-color: rgba(215,163,93,.35); }
#schedule .schedule__item:hover { background: #fff2df; border-color: var(--brand-champagne); }
#schedule .schedule__event { color: var(--brand-ink); }
#schedule .schedule__event-sub { color: #614650; }

/* Family and invitation sections */
#well-wishers { --ww-ink: var(--brand-ink); --ww-muted: #6a4d54; --ww-saffron: var(--brand-champagne); --ww-cream: var(--brand-cream); }
#well-wishers .well-wishers__panel { background: rgba(255,250,243,.9); border-color: var(--brand-line); box-shadow: 0 18px 34px rgba(59,34,41,.08); }
#well-wishers .well-wishers__panel--notes { background: var(--brand-plum); }
#invitation-story { color: var(--brand-ink); }
#invitation-story .invitation-story__topline, #invitation-story .invitation-story__parents, #invitation-story .invitation-story__name-block h2 { color: var(--brand-plum); }
#invitation-story .invitation-story__request, #invitation-story .invitation-story__name-block p { color: #6a4d54; }
#invitation-story .invitation-story__with, #invitation-story .invitation-story__date { color: var(--brand-terracotta); }
#invitation-story .invitation-story__name-block h2:hover { color: var(--brand-terracotta); }

/* Map / RSVP */
#map-section { background: var(--brand-cream) !important; }
#map-section .map__bg { background: var(--brand-cream) !important; }
#map-section h2, .map__venue-name { color: var(--brand-plum) !important; }
#map-section .map__address { color: #6a4d54; }
#rsvp { background: linear-gradient(150deg, var(--brand-plum), var(--brand-ink)) !important; }
#rsvp .rsvp__bg { background: radial-gradient(circle at 20% 10%, rgba(215,163,93,.2), transparent 32%), transparent !important; }
#rsvp .rsvp__header h2, #rsvp .rsvp__note, #rsvp .form__radio-label, #rsvp .form__check-label { color: var(--brand-cream); }
#rsvp .form__label-text, #rsvp .form__float-label { color: #f4d0a7; }
#rsvp .form__input, #rsvp .form__textarea { color: var(--brand-cream); border-color: rgba(215,163,93,.65); }
#rsvp .form__input:focus, #rsvp .form__textarea:focus { border-color: var(--brand-champagne); box-shadow: 0 8px 22px rgba(215,163,93,.12); }

/* Venue gallery */
#venue .venue__gallery-heading, #venue .venue__gallery { background: var(--brand-ink) !important; }
#venue .venue__gallery-heading h3 { color: var(--brand-cream); }
#venue .venue__gallery-heading p { color: var(--brand-champagne); }
#venue .venue__gallery-heading > span { color: #e8cfc0; }
#venue .venue__gallery-item { background: var(--brand-plum); border-color: rgba(215,163,93,.45); }
#venue .venue__gallery-item figcaption { color: var(--brand-cream); font-family: var(--font-display); }
#venue .venue__gallery-item:hover figcaption { color: var(--brand-champagne); }
#venue .venue__img-outer { background: var(--brand-cream) !important; }

/* Media and footer */
#wedding-media { background: var(--brand-cream) !important; }
#wedding-media h2, #wedding-media .eyebrow { color: var(--brand-plum) !important; }
#wedding-media .wedding-media__item { background: var(--brand-plum); box-shadow: 0 18px 36px rgba(59,34,41,.16); }
#wedding-media .wedding-media__item figcaption { color: var(--brand-cream); }
#footer { color: var(--brand-cream); }
#footer .footer__names, #footer .footer__forever { color: var(--brand-cream) !important; }
#footer .footer__amp, #footer .footer__date { color: var(--brand-champagne) !important; }
#footer .footer__contact { color: #ecd9ca !important; }

/* Footer banner copy: dark, larger, and lifted into a readable editorial panel. */
#footer .footer__content {
  top: 5% !important;
  height: auto !important;
  min-height: 68%;
  width: min(calc(100% - 2rem), 52rem);
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem) !important;
  gap: clamp(.7rem, 1.5vw, 1.1rem);
  justify-content: flex-start !important;
  border: 1px solid rgba(255,250,243,.72);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,.42), rgba(251,243,232,.16) 48%, rgba(255,255,255,.3));
  box-shadow: 0 22px 52px rgba(59,34,41,.2), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(113,56,75,.14);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}
#footer .footer__content::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.5), transparent 28%, transparent 68%, rgba(255,255,255,.22));
  opacity: .8;
}
#footer .footer__content > * { position: relative; z-index: 1; }
#footer .footer__content > * { text-shadow: 0 2px 8px rgba(251,243,232,.7) !important; }
#footer .footer__names,
#footer .footer__content .footer__names { color: var(--brand-plum) !important; font-size: clamp(3.5rem, 9vw, 7.5rem); font-weight: 800; line-height: .98; }
#footer .footer__amp,
#footer .footer__content .footer__amp { color: var(--brand-terracotta) !important; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; }
#footer .footer__date,
#footer .footer__content .footer__date { color: var(--brand-terracotta) !important; margin-top: clamp(2.1rem, 5vw, 3.6rem); font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 800; letter-spacing: .14em; }
#footer .footer__forever,
#footer .footer__content .footer__forever { color: var(--brand-plum) !important; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.05; }
#footer .footer__contact,
#footer .footer__content .footer__contact { color: var(--brand-ink) !important; max-width: 42rem; font-size: clamp(.95rem, 1.7vw, 1.15rem); font-weight: 700; line-height: 1.65; }
#footer .footer__divider { background: linear-gradient(90deg, transparent, var(--brand-champagne), transparent); height: 2px; }
#footer .footer__bottom { color: var(--brand-plum) !important; text-shadow: 0 2px 8px rgba(251,243,232,.9); font-size: clamp(.8rem, 1.5vw, 1rem); font-weight: 800; }

@media (max-width: 600px) {
  #footer .footer__content { top: 3% !important; min-height: 70%; width: calc(100% - 1.25rem); padding: 1.25rem 1rem !important; }
  #footer .footer__contact { font-size: .88rem; line-height: 1.5; }
}

/* Component-specific readability locks. These override legacy selectors that previously darkened copy. */
#couple { background: var(--brand-cream) !important; }
#couple .couple__bg { opacity: 1; }
#couple::before {
  z-index: 0;
  opacity: 1;
  background:
    radial-gradient(circle at 8% 18%, rgba(155,77,55,.2) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 26% 78%, rgba(215,163,93,.3) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 82% 24%, rgba(113,56,75,.16) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 92% 82%, rgba(139,154,121,.24) 0 2px, transparent 3px),
    radial-gradient(ellipse at 15% 42%, rgba(201,121,114,.14), transparent 30%),
    radial-gradient(ellipse at 86% 60%, rgba(215,163,93,.13), transparent 28%),
    linear-gradient(115deg, transparent 0 18%, rgba(113,56,75,.035) 18.1% 18.25%, transparent 18.35% 80%, rgba(113,56,75,.035) 80.1% 80.25%, transparent 80.35%);
  background-size: 170px 170px, 230px 230px, 190px 190px, 260px 260px, 100% 100%, 100% 100%, 100% 100%;
  animation: couple-background-drift 16s ease-in-out infinite alternate;
}
#couple::after {
  top: auto;
  right: clamp(1.2rem, 6vw, 6rem);
  bottom: clamp(1.5rem, 5vw, 4rem);
  color: rgba(155,77,55,.42);
  font-size: clamp(1.25rem, 3vw, 2.4rem);
  letter-spacing: .7em;
  text-shadow: 0 8px 24px rgba(155,77,55,.12);
}
@keyframes couple-background-drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0, center, center, center; }
  to { background-position: 18px -12px, -16px 14px, 12px 8px, -20px -10px, center, center, center; }
}
@media (prefers-reduced-motion: reduce) { #couple::before { animation: none; } }

/* Wedding ornament system: each section receives a contrasting, restrained motif. */
#schedule::before,
#rsvp::before,
#venue::before,
#footer::before {
  opacity: 1;
  background:
    radial-gradient(circle at 9% 20%, rgba(251,243,232,.2) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 88% 76%, rgba(215,163,93,.28) 0 2px, transparent 3px),
    radial-gradient(ellipse at 72% 18%, rgba(201,121,114,.16), transparent 28%),
    radial-gradient(ellipse at 18% 84%, rgba(215,163,93,.12), transparent 26%);
  background-size: 180px 180px, 240px 240px, 100% 100%, 100% 100%;
  animation: section-petal-drift 18s ease-in-out infinite alternate;
}
#schedule::after { content: '✦  ❧  ✦'; color: rgba(251,243,232,.62); }
#rsvp::after { content: '❀  ♡  ❀'; color: rgba(251,243,232,.64); }
#venue::after { content: '✧  ❀  ✧'; color: rgba(251,243,232,.7); }
#footer::after { content: '❧  ✦  ❧'; color: rgba(215,163,93,.8); }

#well-wishers::before,
#invitation-story::before,
#map-section::before,
#wedding-media::before {
  opacity: 1;
  background:
    radial-gradient(circle at 12% 24%, rgba(113,56,75,.16) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 84% 78%, rgba(155,77,55,.2) 0 2px, transparent 3px),
    radial-gradient(ellipse at 86% 16%, rgba(215,163,93,.16), transparent 28%),
    radial-gradient(ellipse at 15% 82%, rgba(139,154,121,.14), transparent 26%);
  background-size: 190px 190px, 250px 250px, 100% 100%, 100% 100%;
  animation: section-petal-drift 20s ease-in-out infinite alternate-reverse;
}
#well-wishers::after { content: '❀  ✦  ❀'; color: rgba(113,56,75,.38); }
#invitation-story::after { content: '❧  ♡  ❧'; color: rgba(155,77,55,.4); }
#map-section::after { content: '✧  ❀  ✧'; color: rgba(113,56,75,.34); }
#wedding-media::after { content: '✦  ❧  ✦'; color: rgba(155,77,55,.4); }
#well-wishers > *, #invitation-story > *, #map-section > *, #wedding-media > * { position: relative; z-index: 2; }

@keyframes section-petal-drift {
  from { background-position: 0 0, 0 0, center, center; }
  to { background-position: 16px -12px, -14px 14px, center, center; }
}
@media (prefers-reduced-motion: reduce) {
  #schedule::before, #rsvp::before, #venue::before, #footer::before,
  #well-wishers::before, #invitation-story::before, #map-section::before, #wedding-media::before { animation: none; }
}
#couple .couple__header h2, #couple .couple__header p, #couple .card-name, #couple .card-title, #couple .couple__reveal-msg { color: var(--brand-plum) !important; text-shadow: none; }
#couple .couple__header h2, #couple .card-name, #couple .couple__and, #couple .couple__reveal-msg { font-family: var(--font-display); font-weight: 600; }
#couple .couple__header p, #couple .card-title { color: #6a3f46 !important; font-weight: 700; }
#couple .couple__and { color: var(--brand-terracotta) !important; }
#couple .card-title { letter-spacing: .16em; }
#couple .card__rank, #couple .card__rank span { color: var(--brand-terracotta) !important; }

/* Keep the oversized R/K watermark legible, contained, and clear of the section edge. */
#couple { padding-top: clamp(8rem, 15vh, 12rem) !important; padding-bottom: clamp(5rem, 10vh, 8rem) !important; }
#couple .couple__watermark {
  top: clamp(7rem, 14vh, 11rem);
  right: 0;
  left: 0;
  width: 100%;
  padding-inline: clamp(1rem, 5vw, 4rem);
  box-sizing: border-box;
  color: rgba(59,34,41,.12) !important;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  transform: none;
  letter-spacing: .02em;
  line-height: .82;
  z-index: 0;
}
#couple .couple__watermark span { display: block; }

/* Layered floral/star atmosphere keeps the pale surface from feeling empty. */
#couple .couple__bg {
  background:
    radial-gradient(circle at 12% 24%, rgba(201,121,114,.16) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 72%, rgba(215,163,93,.18) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 16%, rgba(155,77,55,.08), transparent 20%),
    radial-gradient(circle at 20% 84%, rgba(139,154,121,.12), transparent 24%),
    repeating-linear-gradient(45deg, transparent 0 26px, rgba(113,56,75,.035) 27px 28px),
    var(--brand-cream);
}
#couple .couple__bg::before,
#couple .couple__bg::after {
  z-index: 1;
  display: block;
  color: rgba(155,77,55,.24);
  font-family: var(--font-display);
  pointer-events: none;
  animation: couple-ornament-float 7s ease-in-out infinite;
}
#couple .couple__bg::before {
  top: 12%;
  left: 6%;
  content: '✦  ❀';
  font-size: clamp(2.8rem, 7vw, 6rem);
  letter-spacing: .5em;
  transform: rotate(-14deg);
}
#couple .couple__bg::after {
  top: auto;
  right: 6%;
  bottom: 12%;
  content: '❀  ✧';
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  letter-spacing: .35em;
  color: rgba(113,56,75,.2);
  animation-delay: -3.5s;
  transform: rotate(12deg);
}
@keyframes couple-ornament-float {
  0%, 100% { opacity: .62; translate: 0 0; }
  50% { opacity: 1; translate: 0 -10px; }
}
@media (prefers-reduced-motion: reduce) {
  #couple .couple__bg::before,
  #couple .couple__bg::after { animation: none; }
}

#loader { background: var(--brand-plum) !important; color: var(--brand-cream); }
#loader .loader__text { color: var(--brand-cream) !important; font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; text-shadow: 0 3px 16px rgba(59,34,41,.35); }
#loader .loader__mandala { opacity: .22; }
#loader .loader__monogram svg path, #loader .loader__monogram svg circle, #loader .loader__monogram svg line { stroke: var(--brand-champagne); }
#loader .loader__bar { background: var(--brand-champagne); }

/* Invitation story keeps the warm palette even when legacy component rules load first. */
#invitation-story .invitation-story__figure { color: var(--brand-paper); background: linear-gradient(145deg, var(--brand-terracotta), var(--brand-plum)); }
#invitation-story .invitation-story__ganesh,
#invitation-story .invitation-story__ganesh span,
#invitation-story .invitation-story__mantra,
#invitation-story .invitation-story__parents,
#invitation-story .invitation-story__name-block h2,
#invitation-story .invitation-story__name-block p,
#invitation-story .invitation-story__request { color: var(--brand-plum); }
#invitation-story .invitation-story__topline,
#invitation-story .invitation-story__mantra span,
#invitation-story .invitation-story__parents i,
#invitation-story .invitation-story__with,
#invitation-story .invitation-story__date { color: var(--brand-terracotta); }

/* Restore the intended display face after broad body text rules. */
#hero .hero__name, #hero .hero__amp, #couple h2, #couple .card-name, #couple .couple__and,
#schedule .schedule__title, #schedule .schedule__event, #map-section h2, #rsvp h2,
#venue .venue__name, #venue .venue__gallery-heading h3, #wedding-media h2,
#footer .footer__names, #footer .footer__amp, #footer .footer__forever,
#well-wishers h2, #well-wishers h3, #invitation-story h2, #invitation-story .invitation-story__with { font-family: var(--font-display) !important; }

/* Contrast hardening: neutralize the legacy global hover color, then opt sections into a readable state. */
@media (hover: hover) and (pointer: fine) {
  body :where(a,h1,h2,h3,h4,h5,h6,p,span,li,label,figcaption,button):hover { color: inherit; text-shadow: none; }
  #couple :where(h2,p,.card-name,.card-title,.couple__and):hover,
  #well-wishers :where(h2,h3,p,li):hover,
  #invitation-story :where(h2,p,span):hover,
  #map-section :where(h2,h3,p):hover,
  #wedding-media :where(h2,p,figcaption):hover { color: var(--brand-terracotta); text-shadow: 0 4px 14px rgba(155,77,55,.18); }
  #schedule :where(h2,p,.schedule__event,.schedule__event-sub,.schedule__time):hover,
  #rsvp :where(h2,p,label):hover,
  #venue .venue__content :where(h2,p,.venue__detail-label,.venue__detail-value):hover,
  #footer :where(p,.footer__names,.footer__forever):hover { color: var(--brand-champagne); text-shadow: 0 4px 14px rgba(215,163,93,.2); }
}

/* Explicit text roles for legacy components that previously referenced missing aliases. */
#venue .venue__eyebrow { color: var(--brand-champagne) !important; }
#venue .venue__name { color: var(--brand-cream) !important; }
#venue .venue__detail-label { color: #f0c88f !important; }
#venue .venue__detail-value { color: var(--brand-cream) !important; }
#map-section .map__header h2 { color: var(--brand-plum) !important; }
#map-section .map__venue-name { color: var(--brand-plum) !important; }
#map-section .map__address { color: #6a3f46 !important; }
#rsvp .form__input::placeholder, #rsvp .form__textarea::placeholder { color: #e8d5c7; opacity: 1; }
#rsvp .form__label-text, #rsvp .form__float-label { color: #f0c88f !important; }
#rsvp .form__input, #rsvp .form__textarea { background: rgba(255,250,243,.08); }
#rsvp .form__input:focus, #rsvp .form__textarea:focus { background: rgba(255,250,243,.14); }
#rsvp .form__success { background: var(--brand-sage) !important; color: var(--brand-paper) !important; }

/* RSVP form: restore a calm, contained rhythm after the legacy field overrides. */
#rsvp { padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 2rem) !important; }
#rsvp .rsvp__header { margin-bottom: clamp(2rem, 5vw, 3.25rem); }
#rsvp .rsvp__form {
  width: min(100%, 42rem);
  max-width: 42rem;
  gap: clamp(1.15rem, 2.5vw, 1.75rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid rgba(215,163,93,.3);
  border-radius: var(--radius-lg);
  background: rgba(59,34,41,.3);
  box-shadow: 0 22px 50px rgba(59,34,41,.2);
  box-sizing: border-box;
}
#rsvp .form__radio-group,
#rsvp .form__checkbox-group,
#rsvp .form__field { width: 100%; box-sizing: border-box; }
#rsvp .form__field { padding: .35rem 0 .65rem; }
#rsvp .form__input,
#rsvp .form__textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
#rsvp .form__field { padding-top: 1.05rem; }
#rsvp .form__input {
  padding: .7rem .85rem .6rem;
  border: 1px solid rgba(215,163,93,.52);
  border-radius: var(--radius-sm);
  background: rgba(255,250,243,.08);
}
#rsvp .form__input::placeholder { color: transparent !important; }
#rsvp .form__float-label {
  top: .18rem;
  left: .85rem;
  transform: none !important;
  color: #f0c88f !important;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
}
#rsvp .form__field:has(.form__textarea) { padding-top: 0; }
#rsvp .form__input:focus,
#rsvp .form__input:hover { border-color: var(--brand-champagne); background: rgba(255,250,243,.14); }
#rsvp .form__textarea { margin: 0; min-height: 7.5rem; resize: vertical; }
#rsvp .form__radio,
#rsvp .form__checkbox { min-height: 2.75rem; }
#rsvp .form__submit { margin-top: .4rem; min-height: 3.25rem; }

/* Music player: compact circular toggle when collapsed, balanced pill when expanded. */
body .music-player { gap: .5rem; padding: .35rem; border-radius: var(--radius-pill); }
body .music-player.is-collapsed { width: 3rem; height: 3rem; padding: 0; border-radius: 50%; justify-content: center; }
body .music-player { overflow: visible; }
body .music-player__toggle {
  width: 3rem !important;
  height: 3rem !important;
  min-width: 3rem;
  min-height: 3rem !important;
  padding: 0 !important;
  border-radius: 50% !important;
  line-height: 1;
  overflow: visible;
}
body .music-player__button { min-height: 2.15rem !important; padding: .4rem .7rem; }
body .music-player__controls { gap: .35rem; overflow: visible; }
body .music-player__button,
body .music-player__toggle { position: relative; transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
body .music-player__button:hover,
body .music-player__button:focus-visible { transform: none; }
body .music-player__toggle:hover,
body .music-player__toggle:focus-visible { transform: none; box-shadow: 0 0 0 4px rgba(215,163,93,.2); }
body .music-player__button.is-active {
  background: var(--brand-champagne) !important;
  border-color: var(--brand-paper) !important;
  color: var(--brand-ink) !important;
  box-shadow: 0 0 0 2px rgba(215,163,93,.28), 0 6px 16px rgba(59,34,41,.22);
}
body .music-player__button:not(.is-active) { opacity: .78; }
body .music-player__button:not(.is-active):hover,
body .music-player__button:not(.is-active):focus-visible { opacity: 1; background: var(--brand-rose) !important; color: var(--brand-paper) !important; }
body .music-player:not(.is-collapsed) .music-player__controls { max-width: 48rem; }
body .music-player.is-collapsed .music-player__controls { max-width: 0 !important; }
@media (max-width: 480px) {
  body .music-player { left: auto; right: .75rem; }
  body .music-player.is-collapsed { left: auto; right: .75rem; }
}

/* Consistent controls and minimum touch targets. */
body :where(button,a,.music-player__toggle,.music-player__button,.form__submit,.map__btn,.hero__cta) { min-height: 44px; }
body :where(button,a,.music-player__toggle,.music-player__button,.form__submit,.map__btn,.hero__cta) { border-radius: var(--radius-pill); }
.music-player__toggle, .music-player__button { background: var(--brand-terracotta) !important; border-color: var(--brand-champagne) !important; color: var(--brand-paper) !important; }
.music-player__toggle:hover, .music-player__button:hover, .music-player__toggle:focus-visible, .music-player__button:focus-visible { background: var(--brand-champagne) !important; color: var(--brand-ink) !important; }

/* Dark surfaces and decorative layers must never obscure copy. */
#hero .hero__video-wrap::after { z-index: 1; pointer-events: none; }
#hero .hero__content { z-index: 4; }
#hero .hero__name-lockup {
  position: absolute;
  top: 21%;
  left: 50%;
  z-index: 6;
  transform: translateX(-50%) !important;
  visibility: visible !important;
  opacity: 1 !important;
}
#hero .hero__name-lockup .hero__name,
#hero .hero__name-lockup .hero__amp {
  visibility: visible !important;
  opacity: 1 !important;
  mix-blend-mode: normal;
}
#hero .hero__name-lockup .hero__name { color: var(--brand-paper) !important; }
#hero .hero__name-lockup .hero__amp { color: var(--brand-champagne) !important; }
#venue .venue__content { color: var(--brand-cream) !important; }
#schedule .schedule__content-hidden { color: var(--brand-cream); }
#schedule .schedule__title, #schedule .schedule__subtitle { text-shadow: 0 5px 18px rgba(59,34,41,.35); }

@media (max-width: 700px) {
  body { font-size: 16px; }
  body :where(p,li,.schedule__event-sub,.venue__detail-value,.form__label-text) { line-height: 1.55; }
  body :where(.schedule__item,.well-wishers__panel,.venue__detail-card,.wedding-media__item) { min-width: 0; }
}

/* Shared interactions and focus */
body :where(a,button,.venue__gallery-item,.venue__detail-card,.schedule__item,.well-wishers__panel,.wedding-media__item) { transition: color .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .4s ease, transform .4s cubic-bezier(.16,1,.3,1); }
:where(a,button,input,textarea,select):focus-visible { outline: 2px solid var(--brand-champagne); outline-offset: 3px; }
::selection { color: var(--brand-paper); background: var(--brand-plum); }
.card__monogram { position: absolute; width: 50%; opacity: .15; }
.sched__star--one { top: 15%; right: 15%; }
.sched__star--two { top: 60%; left: 8%; animation-delay: 1s; }
.sched__star--three { right: 10%; bottom: 20%; animation-delay: .5s; }
.map__svg-container--visible { position: relative; overflow: visible; }
.map__image { display: block; width: 100%; height: auto; border-radius: var(--radius-md); }
.rsvp__lotus-float--left { bottom: 5%; left: 3%; width: 80px; }
.rsvp__lotus-float--right { top: 5%; right: 3%; width: 60px; animation-delay: 2s; }
@media (max-width: 700px) { #hero .hero__cta { font-size: .76rem; } #venue .venue__gallery-heading h3 { font-size: clamp(2.4rem, 12vw, 4rem); } }

/* RSVP header spacing and wrapping safeguard across every viewport. */
#rsvp .rsvp__header { width: min(100%, 42rem); margin: 0 auto clamp(3rem, 7vw, 5rem); padding-inline: .75rem; box-sizing: border-box; }
#rsvp .rsvp__header h2 { max-width: 100%; margin: 0 auto .9rem; font-size: clamp(2.7rem, 8vw, 5rem); line-height: 1.08; letter-spacing: 0 !important; word-spacing: normal; overflow-wrap: normal; }
#rsvp .rsvp__note { max-width: 32rem; margin: 0 auto; padding-inline: .5rem; line-height: 1.5; letter-spacing: .04em; }
#rsvp .rsvp__form { margin-top: 0; }
@media (max-width: 480px) { #rsvp .rsvp__header { margin-bottom: 3.5rem; } #rsvp .rsvp__header h2 { font-size: clamp(2.35rem, 12vw, 3.8rem); } #rsvp .rsvp__note { font-size: .9rem; letter-spacing: .02em; } }

/* Couple section rhythm: pull the watermark and heading up, preserve card breathing room. */
#couple { padding-top: clamp(4rem, 8vh, 6rem) !important; }
#couple .couple__watermark { top: clamp(3rem, 7vh, 5.5rem) !important; }
#couple .couple__header { margin-bottom: clamp(3.5rem, 6vw, 5.5rem) !important; }
@media (max-width: 700px) {
  #couple { padding-top: 3.5rem !important; }
  #couple .couple__watermark { top: 2.5rem !important; }
  #couple .couple__header { margin-bottom: 3.25rem !important; }
}
