/* =============================================
   WEDDING SITE · style.css
   ============================================= */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }

/* === DESIGN TOKENS === */
:root {
  --c-bg:           #FDF5FF;
  --c-surface:      #F4EAFF;
  --c-border:       #E4D2F5;
  --c-text:         #2C1854;
  --c-muted:        #8B6AAF;
  --c-pink:         #E8799A;
  --c-pink-deep:    #C9567A;
  --c-pink-light:   #FAD0DE;
  --c-lavender:     #B49DDC;
  --c-lav-deep:     #8B6BC4;
  --c-lav-light:    #E8DAFF;

  /* Gradients */
  --grad-accent:    linear-gradient(135deg, var(--c-pink) 0%, var(--c-lavender) 100%);
  --grad-surface:   linear-gradient(160deg, var(--c-pink-light) 0%, var(--c-bg) 45%, var(--c-lav-light) 100%);
  --grad-dark:      linear-gradient(135deg, #2C1854 0%, #4D2485 45%, #BE4A75 100%);
  --grad-text:      linear-gradient(160deg, #fff 25%, #FAD0DE 65%, #E8DAFF 100%);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, -apple-system, sans-serif;

  --pad-x:        clamp(1.25rem, 5vw, 2rem);
  --pad-section:  clamp(4rem, 10vw, 7rem);
  --max-w:        1100px;
  --max-w-text:   680px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 14px;

  /* Gradient border utility (used on focus + selected) */
  --gb: linear-gradient(var(--c-bg), var(--c-bg)) padding-box,
        var(--grad-accent) border-box;
}

/* === BASE === */
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
}

/* =============================================
   AMBIENT BLOB BACKGROUND
   ============================================= */
.blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}

.blob-1 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, var(--c-pink-light), transparent 70%);
  opacity: 0.55;
  top: -180px; right: -120px;
  animation: blobDrift1 12s ease-in-out infinite;
}

.blob-2 {
  width: 580px; height: 580px;
  background: radial-gradient(circle, var(--c-lav-light), transparent 70%);
  opacity: 0.5;
  bottom: 10%; left: -180px;
  animation: blobDrift2 14s ease-in-out infinite;
}

.blob-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--c-pink-light), transparent 70%);
  opacity: 0.38;
  top: 55%; right: 5%;
  animation: blobDrift3 10s ease-in-out infinite;
}

@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(28px, -22px); }
}
@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-20px, 24px); }
}
@keyframes blobDrift3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(16px, -18px); }
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.container--narrow { max-width: var(--max-w-text); }
.container--center  { text-align: center; }

.section { padding-block: var(--pad-section); }

.section--alt {
  background-color: var(--c-surface);
  background-image: radial-gradient(circle, rgba(232,121,154,0.14) 1px, transparent 1px);
  background-size: 28px 28px;
}

.section--gradient {
  background: var(--grad-dark);
  color: #fff;
}

.section-header { margin-bottom: 2.5rem; }

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.35em;
}

.section-header p {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-pink);
  font-weight: 500;
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad-x);
  background: rgba(253, 245, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
}

.nav.is-visible { transform: translateY(0); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.nav-links a {
  color: var(--c-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--c-text); }

.nav-rsvp {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  height: 100svh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #2C1854;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44, 24, 84, 0.15)   0%,
    rgba(232, 121, 154, 0.18) 35%,
    rgba(180, 157, 220, 0.22) 60%,
    rgba(44, 24, 84, 0.82)   100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding-inline: var(--pad-x);
}

.hero-date {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
}

.hero-names {
  font-size: clamp(4rem, 15vw, 10rem);
  font-weight: 400;
  line-height: 0.95;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-amp {
  display: block;
  font-size: 0.38em;
  font-style: italic;
  background: linear-gradient(135deg, var(--c-pink-light), var(--c-lav-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-block: 0.2em;
}

.hero-place {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.btn-skip {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
  animation: fadeUp 0.8s 2.5s both;
}

.btn-skip:hover { color: rgba(255,255,255,0.85); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 4px 22px rgba(232,121,154,0.38);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,121,154,0.52);
}

.btn--outline {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  border-color: var(--c-border);
  color: var(--c-text);
}

.btn--outline:hover { border-color: var(--c-lavender); }

.btn--outline-light {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.88);
}

.btn--outline-light:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.75);
}

.btn--ghost {
  background: transparent;
  border-color: transparent;
  padding-inline: 0;
  font-size: 0.85rem;
  font-weight: 400;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn--ghost:hover { opacity: 0.7; }
.btn--full { width: 100%; }

/* =============================================
   EVENT CARDS (glassmorphism)
   ============================================= */
.event-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 600px) {
  .event-grid { grid-template-columns: 1fr 1fr; }
}

.event-card {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 28px rgba(180,130,220,0.1), 0 1px 6px rgba(180,130,220,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(180,130,220,0.18), 0 2px 8px rgba(180,130,220,0.1);
}

.event-card__type {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.event-card__time {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--c-text);
}

.event-card__address {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--c-muted);
  flex: 1;
}

.event-card__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.4rem;
}

.link-maps {
  font-size: 0.85rem;
  color: var(--c-muted);
  transition: color 0.2s;
}

.link-maps:hover { color: var(--c-pink); }

/* =============================================
   CONTACTS
   ============================================= */
.contacts {
  border-top: 1px solid var(--c-border);
  padding-top: 2.25rem;
}

.contacts__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 1rem;
}

.contacts__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .contacts__list { flex-direction: row; gap: 2.5rem; }
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: opacity 0.2s;
}

.contact-item:hover { opacity: 0.7; }
.contact-item__name  { font-size: 0.82rem; color: var(--c-muted); }
.contact-item__phone { font-size: 1rem; font-weight: 500; color: var(--c-text); }

/* =============================================
   STORY
   ============================================= */
.story-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: center;
}

.story-block:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
  .story-block { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .story-block--flip .story-block__img  { order: 2; }
  .story-block--flip .story-block__body { order: 1; }
}

.story-block__img {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 8px 40px rgba(180,130,220,0.2);
}

.story-block__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.story-block__img:hover img { transform: scale(1.04); }

.story-block__body h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.story-block__body p {
  color: var(--c-muted);
  max-width: 40ch;
  margin-bottom: 0.75rem;
}

/* =============================================
   RSVP CTA
   ============================================= */
#rsvp-cta h2 {
  font-size: clamp(2.25rem, 7vw, 4rem);
  margin-bottom: 0.6rem;
}

#rsvp-cta p {
  color: rgba(255,255,255,0.6);
  max-width: 36ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 420px) {
  .cta-row { flex-direction: row; justify-content: center; }
}


/* =============================================
   HERO ENTRANCE STAGGER (CSS-only)
   ============================================= */
.hero-date  { animation: heroIn 0.7s var(--ease) 0.35s both; }
.hero-names { animation: heroIn 1s   var(--ease) 0.65s both; }
.hero-place { animation: heroIn 0.7s var(--ease) 1.05s both; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Side slides for story blocks — desktop only */
@media (min-width: 768px) {
  .reveal--left  { transform: translateX(-32px); }
  .reveal--right { transform: translateX(32px); }

  .reveal--left.in-view,
  .reveal--right.in-view { transform: translateX(0); }
}

/* Honour reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-date, .hero-names, .hero-place, .btn-skip { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =============================================
   EMBEDDED RSVP SECTION (on main page)
   ============================================= */
#rsvp .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

/* On the gradient dark background, override pink section-header label */
.section--gradient .section-header p {
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.16em;
}

/* =============================================
   COUNTDOWN
   ============================================= */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 20px rgba(180, 130, 220, 0.08);
}

.countdown-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  font-weight: 600;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes cdTick {
  from { opacity: 0.5; transform: translateY(-5px); }
  to   { opacity: 1;   transform: translateY(0); }
}

.countdown-num.ticking { animation: cdTick 0.22s var(--ease); }

.countdown-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 0.45rem;
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item { border-top: 1px solid var(--c-border); }
.faq-item:last-child { border-bottom: 1px solid var(--c-border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.2rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text);
  transition: color 0.2s;
}

.faq-question:hover { color: var(--c-pink); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--c-lavender);
  transition: transform 0.35s var(--ease), color 0.2s;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--c-pink);
}

.faq-item.is-open .faq-question { color: var(--c-pink); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-body p {
  padding-bottom: 1.25rem;
  color: var(--c-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 58ch;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  text-align: center;
  padding: 2rem var(--pad-x);
  font-size: 0.8rem;
  color: var(--c-muted);
  border-top: 1px solid var(--c-border);
}

/* =============================================
   RSVP GUEST LOOKUP STATES
   ============================================= */
.rsvp-status {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.75;
}

.rsvp-status[hidden] { display: none; }

.rsvp-status p { color: rgba(255, 255, 255, 0.75); margin-bottom: 0.4rem; }

.rsvp-status .btn { margin-top: 1.25rem; }

#alreadyDonePlusOneNote {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1rem;
  padding-top: 0.9rem;
  max-width: 26rem;
}

.rsvp-status__icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.rsvp-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.8);
  animation: rsvpSpin 0.72s linear infinite;
}

@keyframes rsvpSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .rsvp-spinner { animation: none; opacity: 0.6; }
}

.rsvp-card {
  width: 100%;
  max-width: 600px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 20px;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  box-shadow: 0 8px 48px rgba(180,130,220,0.18);
}

/* === Attendance toggle === */
.attendance-section { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 0.75rem;
}

.attendance-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.toggle-btn { cursor: pointer; display: block; }

.toggle-btn input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.toggle-btn span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.9rem 0.4rem;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--c-muted);
  background: rgba(255,255,255,0.5);
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
  user-select: none;
  cursor: pointer;
  text-align: center;
}

.toggle-btn:hover span {
  border-color: var(--c-lavender);
  color: var(--c-text);
}

.toggle-btn input:checked + span {
  background: linear-gradient(var(--c-bg), var(--c-bg)) padding-box,
              var(--grad-accent) border-box;
  border: 1.5px solid transparent;
  color: var(--c-text);
  font-weight: 500;
  box-shadow: 0 3px 16px rgba(232,121,154,0.2);
}

/* === Form fields === */
.rsvp-form {
  display: none;
  flex-direction: column;
  gap: 1.4rem;
}

.rsvp-form.is-visible {
  display: flex;
  animation: slideDown 0.35s var(--ease);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.form-input {
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--c-border);
  border-radius: 9px;
  background: rgba(255,255,255,0.6);
  color: var(--c-text);
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-input::placeholder { color: var(--c-muted); opacity: 0.5; }

.form-input:focus {
  outline: none;
  background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)) padding-box,
              var(--grad-accent) border-box;
  border-color: transparent;
  box-shadow: 0 2px 14px rgba(232,121,154,0.18);
}

.form-textarea { resize: vertical; min-height: 82px; }


/* === Divider === */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--c-muted);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-block: 0.25rem 0.75rem;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-border);
}

.note {
  font-size: 0.82rem;
  color: var(--c-muted);
  margin-bottom: 1rem;
}
/* === Plus one === */
.plus-one-block[hidden] { display: none; }

.plus-one-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideDown 0.35s var(--ease);
}


/* === Success state === */
.rsvp-success[hidden] { display: none; }

.rsvp-success {
  text-align: center;
  padding: 2.5rem 1rem;
  animation: slideDown 0.4s var(--ease);
}

.success-icon { font-size: 3rem; margin-bottom: 1rem; line-height: 1; }

.rsvp-success h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--c-text);
}

.rsvp-success p { color: var(--c-muted); margin-bottom: 1.75rem; }
