/* ===========================================================================
   TheEpstein.family — "A Little Star Is On Her Way"
   Celestial blush theme · mobile-first · no frameworks
   =========================================================================== */

:root {
  --cream:       #FBF6F1;
  --cream-deep:  #F5EDE4;
  --blush:       #F7E1E6;
  --blush-deep:  #EFC9D2;
  --rose:        #C4808F;
  --rose-deep:   #9E5A6B;
  --lavender:    #EAE4F6;
  --lavender-dp: #D8CFEE;
  --gold:        #C2A05F;
  --gold-light:  #E6D3A8;
  --ink:         #4A3A42;
  --ink-soft:    #83707A;
  --white:       #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Jost', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --radius: 22px;
  --shadow-soft: 0 10px 34px rgba(158, 90, 107, 0.10), 0 2px 8px rgba(158, 90, 107, 0.06);
  --shadow-lift: 0 18px 44px rgba(158, 90, 107, 0.16), 0 4px 12px rgba(158, 90, 107, 0.08);
  --ease: cubic-bezier(0.22, 0.8, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: var(--rose-deep); }

a:hover { color: var(--rose); }

strong { font-weight: 500; }

/* Accessibility ----------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -48px; left: 12px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

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

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 0;
  border-radius: 999px;
  padding: 0.9em 2.1em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(120deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(158, 90, 107, 0.35);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(158, 90, 107, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--rose-deep);
  border: 1.5px solid var(--blush-deep);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--blush);
  border-color: var(--rose);
  transform: translateY(-2px);
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 241, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 128, 143, 0.14);
}

.site-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.brand em { color: var(--rose); font-style: italic; font-weight: 500; }
.brand-star { width: 18px; height: 18px; fill: var(--gold); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 0.75rem 1.25rem 1.25rem;
}
.nav-links.open { display: block; }
.nav-links li { margin-top: 0.75rem; }
.nav-links a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.4rem 0;
}
.nav-links a:hover { color: var(--rose-deep); }
.nav-cta {
  border: 1.5px solid var(--rose);
  border-radius: 999px;
  text-align: center;
  color: var(--rose-deep) !important;
  font-weight: 500 !important;
}

@media (min-width: 720px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: flex !important;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    gap: 1.75rem;
    align-items: center;
  }
  .nav-links li { margin: 0; }
  .nav-cta { padding: 0.4rem 1.4rem !important; }
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.25rem 5.5rem;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--lavender) 0%, rgba(234, 228, 246, 0) 55%),
    linear-gradient(180deg, #F4EDF8 0%, var(--blush) 46%, var(--cream) 100%);
}

.hero-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.drift-star {
  position: absolute;
  width: 7px; height: 7px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0% 50%, 37% 37%);
  opacity: 0.7;
  animation: twinkle 4.5s ease-in-out infinite;
}
.drift-star.s1 { top: 12%; left: 8%;  animation-delay: 0s; }
.drift-star.s2 { top: 22%; left: 26%; animation-delay: 1.1s; width: 5px; height: 5px; }
.drift-star.s3 { top: 9%;  left: 48%; animation-delay: 2.3s; }
.drift-star.s4 { top: 18%; left: 70%; animation-delay: 0.6s; width: 10px; height: 10px; }
.drift-star.s5 { top: 32%; left: 88%; animation-delay: 1.8s; width: 5px; height: 5px; }
.drift-star.s6 { top: 44%; left: 12%; animation-delay: 2.9s; width: 5px; height: 5px; }
.drift-star.s7 { top: 55%; left: 82%; animation-delay: 3.4s; }
.drift-star.s8 { top: 62%; left: 5%;  animation-delay: 1.4s; width: 4px; height: 4px; }

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50%      { opacity: 0.9;  transform: scale(1.15); }
}

.hero-moon {
  position: absolute;
  top: 6%;
  right: 6%;
  width: 68px;
  fill: var(--gold-light);
  opacity: 0.8;
  filter: drop-shadow(0 0 18px rgba(230, 211, 168, 0.9));
  animation: moonFloat 9s ease-in-out infinite;
}

@keyframes moonFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero-cloud {
  position: absolute;
  bottom: -30px;
  height: 90px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  filter: blur(22px);
}
.hero-cloud.c1 { left: -8%;  width: 45%; animation: cloudDrift 26s ease-in-out infinite; }
.hero-cloud.c2 { left: 34%;  width: 40%; bottom: -44px; animation: cloudDrift 32s ease-in-out infinite reverse; }
.hero-cloud.c3 { right: -6%; width: 38%; animation: cloudDrift 22s ease-in-out infinite 4s; }

@keyframes cloudDrift {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4%); }
}

.hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.constellation {
  width: min(320px, 78%);
  margin: 0 auto 1.6rem;
  display: block;
  overflow: visible;
}
.constellation polyline {
  stroke: var(--gold);
  stroke-width: 1;
  stroke-dasharray: 6 5;
  opacity: 0.55;
}
.constellation-stars circle {
  fill: var(--gold);
  animation: twinkle 5s ease-in-out infinite;
}
.constellation-stars circle:nth-child(2) { animation-delay: 0.8s; }
.constellation-stars circle:nth-child(3) { animation-delay: 1.6s; }
.constellation-stars circle:nth-child(4) { animation-delay: 2.4s; }
.constellation-stars circle:nth-child(5) { animation-delay: 3.2s; }
.constellation-stars circle:nth-child(6) { animation-delay: 4s; }

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.hero-baby {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.6vw, 1.7rem);
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 1.4rem;
}

.hero-welcome {
  max-width: 34em;
  margin: 0 auto 1.8rem;
  color: var(--ink-soft);
}

.hero-facts { margin-bottom: 2.2rem; }
.hero-date {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}
.hero-time {
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
}
.count-unit {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--gold-light);
  border-radius: 18px;
  min-width: 74px;
  padding: 0.85rem 0.6rem 0.7rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.count-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--rose-deep);
  line-height: 1;
}
.count-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

.hero-cta { font-size: 1.05rem; padding: 1em 3em; }

.hero-deadline {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

/* Sections ---------------------------------------------------------------- */
.section { padding: 4.5rem 1.25rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-narrow { max-width: 700px; }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  font-style: italic;
  text-align: center;
  margin-bottom: 1rem;
}

.section-lede {
  text-align: center;
  color: var(--ink-soft);
  max-width: 36em;
  margin: 0 auto 2rem;
}

/* Cards ------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

@media (min-width: 640px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(4, 1fr); }
                             .registry-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(196, 128, 143, 0.10);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.card h3 {
  font-size: 1.4rem;
  color: var(--ink);
}

.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card p:last-of-type { margin-bottom: 0; }
.card .btn { margin-top: 1.1rem; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blush) 0%, var(--lavender) 100%);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card-icon svg {
  width: 26px; height: 26px;
  stroke: var(--rose-deep);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* RSVP band --------------------------------------------------------------- */
.rsvp-band {
  background:
    radial-gradient(80% 120% at 50% 100%, var(--lavender) 0%, rgba(234, 228, 246, 0) 60%),
    linear-gradient(150deg, var(--blush) 0%, var(--cream-deep) 100%);
  text-align: center;
  border-radius: 36px;
  max-width: 1100px;
  margin: 0 auto;
}
.band-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-style: italic;
}
.band-copy {
  color: var(--ink-soft);
  max-width: 32em;
  margin: 0 auto 1.8rem;
}

/* FAQ --------------------------------------------------------------------- */
.faq-list { margin-top: 2.2rem; }

.faq-item {
  background: var(--white);
  border: 1px solid rgba(196, 128, 143, 0.12);
  border-radius: 18px;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.4rem;
  font-weight: 400;
  font-size: 1.02rem;
  position: relative;
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 1.4rem;
  top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--rose);
  border-bottom: 2px solid var(--rose);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary { color: var(--rose-deep); }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }

.faq-body {
  padding: 0 1.4rem 1.2rem;
  color: var(--ink-soft);
}
.faq-body p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .faq-body { animation: faqIn 0.3s var(--ease); }
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Invite lookup + RSVP form ----------------------------------------------- */
.invite-lookup, .rsvp-section { min-height: 60vh; }

.lookup-card {
  text-align: center;
  padding: 2.6rem 1.8rem;
}
.lookup-star {
  width: 34px; height: 34px;
  fill: var(--gold);
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 0 10px rgba(194, 160, 95, 0.5));
}
.lookup-title { font-size: 1.9rem; font-style: italic; }
.lookup-copy { color: var(--ink-soft); max-width: 30em; margin: 0 auto 1.6rem; }
.lookup-help { margin: 1.6rem 0 0; font-size: 0.92rem; color: var(--ink-soft); }

.lookup-form { max-width: 340px; margin: 0 auto; text-align: left; }
.lookup-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.lookup-form input {
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.75em;
  border: 1.5px solid var(--blush-deep);
  border-radius: 14px;
  margin-bottom: 1rem;
  background: var(--cream);
  color: var(--ink);
}
.lookup-form input:focus { border-color: var(--rose); outline: none; box-shadow: 0 0 0 4px rgba(196, 128, 143, 0.15); }
.lookup-form .btn { width: 100%; }

/* RSVP form */
.rsvp-greeting { text-align: center; margin-bottom: 2rem; }
.rsvp-greeting h1 { font-size: clamp(1.8rem, 5.5vw, 2.5rem); font-style: italic; }
.rsvp-sub { color: var(--ink-soft); }

.rsvp-form { padding: 2rem 1.6rem; }

.form-group { margin-bottom: 1.7rem; border: 0; padding: 0; }
fieldset.form-group { min-width: 0; }
.form-group legend, .form-group > label, .label-like {
  display: block;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  padding: 0;
}
.legend-note, .optional { color: var(--ink-soft); font-size: 0.85rem; font-weight: 300; }

.rsvp-form input[type="text"],
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  padding: 0.75em 0.9em;
  border: 1.5px solid var(--blush-deep);
  border-radius: 12px;
  background: var(--cream);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.rsvp-form input:focus, .rsvp-form select:focus, .rsvp-form textarea:focus {
  border-color: var(--rose);
  outline: none;
  box-shadow: 0 0 0 4px rgba(196, 128, 143, 0.15);
}
.rsvp-form input.invalid { border-color: #B44; }

.choice-row { display: grid; gap: 0.8rem; }
@media (min-width: 560px) { .choice-row { grid-template-columns: 1fr 1fr; } }

.choice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1.5px solid var(--blush-deep);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  background: var(--cream);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.choice:hover { border-color: var(--rose); }
.choice:has(input:checked) {
  border-color: var(--rose);
  background: var(--blush);
}
.choice input { accent-color: var(--rose-deep); width: 18px; height: 18px; flex-shrink: 0; }
.choice-check { align-items: flex-start; }
.choice-check input { margin-top: 3px; }

.guest-row {
  display: grid;
  grid-template-columns: 1fr 108px;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.guest-row[hidden] { display: none; }

#attendance-fields[hidden] { display: none; }

.btn-submit { width: 100%; position: relative; }
.btn-submit .btn-loading {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  margin-left: 0.6em;
  vertical-align: -3px;
  animation: spin 0.8s linear infinite;
}
.btn-submit.loading .btn-loading { display: inline-block; }
.btn-submit.loading { opacity: 0.85; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 1rem 0 0;
}

.form-error, .form-warning {
  border-radius: 14px;
  padding: 1rem 1.3rem;
  margin-bottom: 1.4rem;
  font-size: 0.96rem;
}
.form-error {
  background: #FBEDEF;
  border: 1px solid #E5B8C0;
  color: #7C3B49;
}
.form-error ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.form-error p { margin: 0; }
.form-warning {
  background: #FBF4E3;
  border: 1px solid var(--gold-light);
  color: #7A6335;
}

/* Confirmation ------------------------------------------------------------- */
.confirm-card { text-align: center; padding: 2.8rem 1.8rem; }

.confirm-burst { position: relative; height: 64px; margin-bottom: 0.8rem; }
.confirm-star { position: absolute; fill: var(--gold); left: 50%; }
.confirm-star.big { width: 44px; top: 0; transform: translateX(-50%); filter: drop-shadow(0 0 12px rgba(194, 160, 95, 0.55)); }
.confirm-star.sm1 { width: 16px; top: 8px;  transform: translateX(-260%); opacity: 0.7; }
.confirm-star.sm2 { width: 13px; top: 26px; transform: translateX(190%);  opacity: 0.7; }

@media (prefers-reduced-motion: no-preference) {
  .confirm-burst svg { animation: popIn 0.7s var(--ease) both; }
  .confirm-star.sm1 { animation-delay: 0.15s; }
  .confirm-star.sm2 { animation-delay: 0.28s; }
}
@keyframes popIn {
  0%   { opacity: 0; scale: 0.2; }
  70%  { scale: 1.15; }
  100% { opacity: inherit; scale: 1; }
}

.confirm-title { font-size: clamp(1.7rem, 5vw, 2.3rem); font-style: italic; }
.confirm-copy { color: var(--ink-soft); }

.confirm-summary {
  text-align: left;
  max-width: 440px;
  margin: 1.8rem auto;
  border-top: 1px solid var(--blush-deep);
}
.confirm-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem 0.2rem;
  border-bottom: 1px solid var(--blush-deep);
}
.confirm-summary dt {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 3px;
}
.confirm-summary dd { margin: 0; text-align: right; }
.confirm-guest { display: block; }

.confirm-message {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--rose-deep);
  margin: 1.6rem auto;
  max-width: 30em;
}
.confirm-message cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%);
  padding: 4rem 1.25rem 5.5rem;
  text-align: center;
  margin-top: 2rem;
}
.footer-star { width: 22px; fill: var(--gold); margin-bottom: 0.6rem; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.footer-brand em { color: var(--rose); font-weight: 500; }
.footer-thanks { color: var(--ink-soft); max-width: 26em; margin: 0 auto 0.8rem; }
.footer-contact { font-size: 0.94rem; margin-bottom: 0.4rem; }
.footer-copy { font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.06em; margin: 0; }

/* Sticky mobile RSVP ------------------------------------------------------ */
.sticky-rsvp {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: linear-gradient(120deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.85em 2.6em;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(158, 90, 107, 0.45);
}
.sticky-rsvp:hover { color: var(--white); }

@media (min-width: 720px) { .sticky-rsvp { display: none; } }
.page-rsvp .sticky-rsvp,
.page-invite .sticky-rsvp,
.page-confirmation .sticky-rsvp { display: none; }

/* Scroll reveal ----------------------------------------------------------- */
.reveal { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .js .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion ---------------------------------------------------------- */
@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;
  }
}
