/* ═══════════════════════════════════════════
   Afaq & Menahil — Mehndi Invitation Styles
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --coral:       #C85030;
  --coral-light: #E07050;
  --coral-pale:  #EDD5C8;
  --coral-deep:  #8A3018;
  --henna:       #4A7030;
  --henna-light: #6A9A50;
  --ivory:       #FAF4E8;
  --ivory-warm:  #F0E8D8;
  --gold:        #C49030;
  --gold-light:  #DCA840;
  --gold-deep:   #8A6020;
  --charcoal:    #2C1808;
  --stone:       #785040;
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-headline: 'Rozha One', serif;
  --font-script:   'Tangerine', cursive;
  --font-label:    'Josefin Sans', sans-serif;
  --font-body:     'Lora', Georgia, serif;
  --font-arabic:   'Scheherazade New', 'Traditional Arabic', serif;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999;
}


/* ════════════════════════════════════════════
   ENVELOPE SCENE
════════════════════════════════════════════ */

#envelope-scene {
  position: fixed; inset: 0; z-index: 800; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 38%, #F5EFE4 0%, #EAE0CE 100%);
}
#envelope-scene.hide { display: none; }

.env-stage {
  position: relative;
  width: min(460px, 90vw);
  display: flex; flex-direction: column; align-items: center;
}

/* ── Letter card — sits inside envelope, rises up through the opening ── */
.env-card-reveal {
  position: absolute;
  top: 30%; left: 9%; width: 82%; height: 55%;
  background: var(--ivory);
  border: 1px solid rgba(184,152,106,0.25);
  border-radius: 1px;
  z-index: 2;
  transform: translateY(30px) translateZ(0);
  opacity: 0;
  will-change: transform, opacity;
}
/* Card starts rising at 150ms — flap is already gone, gap is visible */
#envelope-scene.opening .env-card-reveal {
  animation: card-rise 0.75s 0.22s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes card-rise {
  0%   { transform: translateY(30px)  translateZ(0); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateY(-75%)  translateZ(0); opacity: 1; }
}

/* ── Envelope body — rises and fades as card emerges ── */
.env-body {
  width: 100%;
  filter: drop-shadow(0 32px 64px rgba(42,30,12,0.2)) drop-shadow(0 8px 18px rgba(42,30,12,0.1));
  position: relative; z-index: 1;
  transition: transform 0.4s var(--ease);
  will-change: transform, opacity;
}
#envelope-scene.opening .env-body {
  filter: none;
  animation: env-drop 0.8s 0.22s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}
@keyframes env-drop {
  to { transform: translateY(20px) translateZ(0); opacity: 0.3; }
}
.env-body:hover { transform: translateY(-4px); }
@media (hover: none) { .env-body:hover { transform: none; } }

.env-body svg { display: block; width: 100%; }

/* ── Flap — snaps open fast (seal breaking), decelerates as it swings back,
   fades from 55% onward so it's clearly visible for the swing but ghosts
   out before it merges awkwardly with the envelope body ── */
#env-flap {
  transform-origin: center 16.3%; /* hinge at y=50 in a 306-tall SVG */
  will-change: transform, opacity;
}
#envelope-scene.opening .env-body svg {
  perspective: 2400px;
  transform-style: preserve-3d;
}
#envelope-scene.opening #env-flap {
  animation: flap-open 0.36s 0s cubic-bezier(0.25, 0, 0.3, 1) forwards;
}
@keyframes flap-open {
  0%   { transform: rotateX(0deg);   opacity: 1; }
  55%  { opacity: 1; }
  100% { transform: rotateX(-82deg); opacity: 0; }
}

/* ── Hint text ── */
.env-hint-wrap {
  margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: opacity 0.15s ease;
}
#envelope-scene.opening .env-hint-wrap { opacity: 0; pointer-events: none; }

.env-hint {
  font-family: var(--font-label); font-size: 0.6rem; font-weight: 100;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--stone); opacity: 0.55;
  animation: breathe 3s ease-in-out infinite;
}
.env-hint-line {
  width: 1px; height: 26px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
  opacity: 0.45; animation: breathe 3s ease-in-out infinite 0.4s;
}
@keyframes breathe {
  0%,100% { opacity: 0.35; transform: translateY(0); }
  50%      { opacity: 0.7;  transform: translateY(-2px); }
}

/* ════════════════════════════════════════════
   TRANSITION OVERLAY
   Fades out while scaling up slightly — creates
   the perceptual illusion of expanding outward
   (matching the old clip-path circle direction)
   using only transform+opacity, fully GPU
   composited on iOS Safari and Android Chrome.
════════════════════════════════════════════ */
#env-overlay {
  position: fixed; inset: 0; z-index: 790;
  background: #FEFCF6;
  transform: scale(1) translateZ(0);
  transform-origin: center center;
  will-change: transform, opacity;
  pointer-events: none;
}
#env-overlay.dismiss {
  animation: overlay-dismiss 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes overlay-dismiss {
  0%   { transform: scale(1)    translateZ(0); opacity: 1; }
  100% { transform: scale(1.08) translateZ(0); opacity: 0; }
}

/* Reduced motion — skip envelope entirely */
@media (prefers-reduced-motion: reduce) {
  #envelope-scene { display: none !important; }
  #env-overlay    { display: none !important; }
  #main-site      { visibility: visible !important; }
}


/* ════════════════════════════════════════════
   MAIN SITE
════════════════════════════════════════════ */
#main-site { opacity: 1; visibility: hidden; }



/* ── Shared ── */
section { padding: clamp(72px,11vw,130px) clamp(24px,8vw,120px); position: relative; }

.section-label {
  font-family: var(--font-label); font-size: 0.6rem; font-weight: 100;
  letter-spacing: 0.44em; text-transform: uppercase; color: var(--coral);
  display: block; margin-bottom: 17px;
}
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem,5vw,3.8rem); line-height: 1.08;
  color: var(--charcoal); margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--coral-deep); }
.section-body {
  font-family: var(--font-body); font-size: clamp(0.88rem,1.6vw,1rem);
  line-height: 1.9; color: var(--stone); max-width: 520px;
}
.section-body--centered { max-width: 100%; margin: 0 auto; }

/* Swan rule */
.swan-rule {
  display: flex; align-items: center; gap: 18px;
  margin: 24px 0; color: var(--gold); opacity: 0.6;
}
.swan-rule-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light));
}
.swan-rule:last-of-type .swan-rule-line {
  background: linear-gradient(to left, transparent, var(--gold-light));
}
.swan-rule-icon { width: 56px; height: 38px; flex-shrink: 0; overflow: visible; }


/* ── Hero ── */
#hero {
  min-height: 100svh;
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding-top: clamp(80px,12vw,120px);
  text-align: center; overflow: hidden;
  background: radial-gradient(ellipse 75% 65% at 50% 42%, #FEFCF6 0%, #FAF5E8 52%, #F3EAD6 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-us-photo {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: fade-up 1.0s 3.0s var(--ease) forwards;
  line-height: 0;
  pointer-events: none;
}
.hero-us-photo img {
  width: clamp(300px, 58vw, 540px);
  height: auto;
  display: block;
}

/* SCROLL MODE — uncomment block below when using scroll indicator instead of photo */
.hero-scroll {
  position: absolute;
  bottom: clamp(24px, 4vw, 40px);
  left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fade-up 1.0s 2.87s ease forwards;
}
.scroll-line {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--coral-light), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 0.9; transform: scaleY(1.2); }
}
.scroll-label {
  font-family: var(--font-body); font-size: 0.58rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--coral-light);
}
/*─── END SCROLL MODE ─── */

.hero-corner {
  position: absolute; pointer-events: none;
  width: clamp(180px, 30vw, 360px); height: clamp(180px, 30vw, 360px);
}
.hero-corner.tl { top: 0; left: 0; }
.hero-corner.tr { top: 0; right: 0; transform: scaleX(-1); }
.hero-corner.bl { bottom: 0; left: 0; transform: scaleY(-1); }
.hero-corner.br { bottom: 0; right: 0; transform: scale(-1,-1); }

.hero-eyebrow {
  font-family: var(--font-label); font-size: clamp(0.7rem, 1.3vw, 0.82rem);
  font-weight: 100; letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--coral); font-style: italic;
  opacity: 0; animation: fade-up 1.0s 2.22s var(--ease) forwards;
  margin-bottom: 16px;
}

.hero-names {
  font-family: var(--font-script);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: fade-up 1.0s 2.37s var(--ease) forwards;
}
.hero-names em {
  font-style: normal;
  color: var(--charcoal);
  display: block;
  line-height: 1.1;
}
.hero-name-block {
  display: block;
  margin-bottom: 0;
}
.hero-amp {
  font-family: var(--font-script);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  font-style: normal;
  color: var(--gold);
  display: block;
  line-height: 1.1;
}

.hero-meta {
  opacity: 0;
  animation: fade-up 1.0s 2.57s var(--ease) forwards;
  margin-top: clamp(16px,3vw,28px);
  margin-bottom: clamp(32px, 6vw, 56px);
}
.hero-event-name {
  font-family: var(--font-headline);
  font-size: clamp(3.8rem, 10vw, 7.5rem);
  font-weight: 400;
  font-style: normal;
  color: var(--coral);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.hero-date {
  font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300; color: var(--stone); letter-spacing: 0.12em;
  font-style: italic;
}
.hero-venue-line {
  font-family: var(--font-label); font-size: clamp(0.65rem, 1.1vw, 0.76rem);
  font-weight: 100; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--stone); margin-top: 8px; opacity: 0.75;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── Hero vine borders — removed ── */

/* ── Botanical strip ── */
.botanical-strip { width: 100%; margin: 0 auto 44px; }
.botanical-strip svg { width: 100%; height: auto; display: block; }

/* ── Welcome ── */


/* ── The Evening ── */
#details {
  background: var(--coral-deep);
  color: var(--ivory);
  text-align: center;
}
#details .section-label { color: rgba(237,213,200,0.58); }

.evening-wrap { max-width: 540px; margin: 0 auto 56px; }

.evening-time {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.evening-date-line {
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1.4vw, 0.75rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(237,213,200,0.62);
  margin-bottom: 40px;
}
.mehndi-ornament {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}
.mehndi-ornament--small { max-width: 180px; }
.mehndi-divider { margin: 0 auto 36px; }
.mehndi-divider--light { margin-bottom: 40px; }

.evening-venue-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ivory);
  margin-bottom: 14px;
  line-height: 1.1;
}
.evening-address {
  font-family: var(--font-label);
  font-size: clamp(0.58rem, 1.2vw, 0.68rem);
  font-weight: 100;
  letter-spacing: 0.28em;
  line-height: 2;
  color: rgba(237,213,200,0.7);
  text-transform: uppercase;
}
.evening-map {
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16/7;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(237,213,200,0.15);
}
.evening-map iframe { width: 100%; height: 100%; display: block; border: 0; }
@media (max-width: 600px) { .evening-map { aspect-ratio: 4/3; } }


/* ── Attire ── */
#attire {
  background: var(--ivory);
  text-align: center;
  position: relative;
}
#attire::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='32' viewBox='0 0 80 32'%3E%3Cpath d='M0 16 Q20 10 40 16 Q60 22 80 16' stroke='%235A8040' stroke-width='1.1' fill='none' opacity='0.3'/%3E%3Cpath d='M40 16 Q43 8 50 10 Q44 14 40 16' fill='%23C85030' opacity='0.26'/%3E%3Ccircle cx='40' cy='16' r='1.6' fill='%23C49030' opacity='0.28'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 80px 32px;
}

.attire-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 720px;
  margin: 48px auto 0;
}
@media (max-width: 580px) {
  .attire-cards { grid-template-columns: 1fr; max-width: 360px; }
}

.attire-card {
  background: var(--ivory-warm);
  border: 1px solid rgba(196,144,48,0.18);
  border-radius: 2px;
  padding: 40px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.attire-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(196,144,48,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.attire-card-icon {
  width: 72px;
  height: 90px;
  flex-shrink: 0;
}
.attire-card-icon svg { width: 100%; height: 100%; }

.attire-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.attire-card-desc {
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1.4vw, 0.92rem);
  color: var(--stone);
  line-height: 1.75;
  max-width: 260px;
  text-align: center;
}

.attire-swatches {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.swatch {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  box-shadow: 0 1px 4px rgba(44,24,8,0.14);
  flex-shrink: 0;
  display: inline-block;
  position: relative;
}

.attire-swatches--men { gap: 14px; margin-top: 8px; }

.swatch--large {
  width: 52px; height: 52px;
  border-radius: 4px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 5px;
  cursor: default;
}
.swatch-label {
  font-family: var(--font-label);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
}

.attire-plus {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
}

.attire-swatch-note {
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--coral-deep);
  opacity: 0.65;
}

/* ── RSVP ── */
#rsvp { background: var(--ivory-warm); text-align: center; }
#rsvp::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='32' viewBox='0 0 80 32'%3E%3Cpath d='M0 16 Q20 10 40 16 Q60 22 80 16' stroke='%235A8040' stroke-width='1.1' fill='none' opacity='0.28'/%3E%3Cpath d='M40 16 Q43 8 50 10 Q44 14 40 16' fill='%23C85030' opacity='0.22'/%3E%3Ccircle cx='40' cy='16' r='1.6' fill='%23C49030' opacity='0.25'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 80px 32px;
}
.rsvp-form-wrap { max-width: 560px; margin: 46px auto 0; }
.rsvp-form-label {
  font-family: var(--font-label); font-size: 0.6rem; font-weight: 100;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--coral-deep);
  margin-bottom: 10px; text-align: left; display: block;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.field-group { display: flex; flex-direction: column; gap: 7px; text-align: left; margin-bottom: 20px; }
.field-group label {
  font-family: var(--font-label); font-size: 0.6rem; font-weight: 100;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--coral-deep);
}
.field-group input, .field-group select, .field-group textarea {
  font-family: var(--font-body); font-size: 0.93rem; color: var(--charcoal);
  background: transparent; border: none; border-bottom: 1px solid var(--coral-pale);
  padding: 10px 2px; outline: none; transition: border-color 0.3s; width: 100%;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.field-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A8C6E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 6px center; padding-right: 22px;
}
.field-group textarea { resize: vertical; min-height: 86px; }
.field-group input:focus, .field-group select:focus, .field-group textarea:focus { border-bottom-color: var(--coral); }
.attendance-toggle {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--coral-pale); border-radius: 2px; overflow: hidden; margin-bottom: 22px;
}
.attendance-btn {
  padding: 14px 12px; font-family: var(--font-body); font-size: 0.74rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; border: none; background: transparent; color: var(--stone);
  transition: background 0.25s, color 0.25s;
}
.attendance-btn.active { background: var(--coral-deep); color: var(--ivory); }
.attendance-btn:first-child { border-right: 1px solid var(--coral-pale); }
.guest-count-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; margin-bottom: 4px;
  border-bottom: 1px solid var(--coral-pale);
}
.guest-count-label {
  font-family: var(--font-body); font-size: 0.67rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--coral-deep);
}
.guest-count-controls {
  display: flex; align-items: center; gap: 4px;
}
.count-btn {
  width: 32px; height: 32px; border: 1px solid var(--coral-pale);
  background: transparent; cursor: pointer; font-size: 1.1rem; color: var(--coral-deep);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.2s, border-color 0.2s;
}
.count-btn:hover { background: var(--coral-pale); border-color: var(--coral); }
.count-display {
  font-family: var(--font-display); font-size: 1.5rem;
  width: 44px; text-align: center; color: var(--charcoal);
}
.attending-only { display: none; }
.attending-only.show { display: block; }
.rsvp-message-field { margin-top: 28px; }
.btn-submit {
  width: 100%; padding: 18px; background: var(--coral-deep); color: var(--ivory);
  border: none; font-family: var(--font-label); font-size: 0.62rem; font-weight: 100;
  letter-spacing: 0.36em; text-transform: uppercase; cursor: pointer;
  border-radius: 1px; margin-top: 8px;
  transition: background 0.3s, transform 0.15s; position: relative; overflow: hidden;
}
.btn-submit::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.07); transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
}
.btn-submit:hover::before { transform: translateX(0); }
.btn-submit:hover { background: var(--charcoal); }
.btn-submit:active { transform: scale(0.99); }
.rsvp-deadline {
  font-family: var(--font-body); font-size: 0.7rem;
  letter-spacing: 0.15em; color: var(--coral-light); margin-top: 16px;
}
.rsvp-success { display: none; padding: 52px 24px; text-align: center; }
.rsvp-success.show { display: block; }
.rsvp-success .success-verse {
  font-family: var(--font-display); font-size: 1rem;
  font-style: italic; color: var(--gold-deep); opacity: 0.75;
}
.rsvp-success h3 {
  font-family: var(--font-display); font-size: clamp(1.7rem,4vw,2.4rem);
  font-weight: 400; font-style: italic; color: var(--coral-deep); margin: 14px 0 10px;
}
.rsvp-success p { font-family: var(--font-body); font-size: 0.9rem; color: var(--stone); line-height: 1.8; }


/* ── Footer ── */
footer {
  background: var(--charcoal); color: var(--ivory); text-align: center;
  padding: clamp(52px,8vw,90px) clamp(24px,6vw,80px);
}
.footer-swan { margin: 0 auto 22px; width: 140px; height: 70px; display: block; }
.footer-names {
  font-family: var(--font-script); font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-style: normal; font-weight: 700; color: var(--coral-pale);
  opacity: 0.55; margin-bottom: 16px;
}
footer p {
  font-family: var(--font-body); font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,243,236,0.28); line-height: 2.1;
}
.footer-sms-consent {
  font-size: 0.65rem;
  opacity: 0.4;
  margin-top: 12px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.footer-credit { margin-top: 12px; font-size: 0.6rem !important; opacity: 0.4; }


/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.95s var(--ease), transform 0.95s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }
.reveal-delay-4 { transition-delay: 0.46s; }

/* ── RSVP phone-gate additions ── */
.rsvp-error {
  color: #c0392b;
  font-family: var(--font-body);
  font-size: 0.82rem;
  margin: -8px 0 12px;
  min-height: 1.2em;
  line-height: 1.5;
}
.rsvp-greeting {
  font-family: var(--font-script);
  font-size: 4rem;
  font-style: normal;
  color: var(--gold);
  text-align: center;
  margin-bottom: 24px;
}
.rsvp-max-note {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 4px 0 16px;
  opacity: 0.8;
}
