:root {
  --burgundy: #6B1E2E;
  --olive: #6B7A3A;
  --chocolate: #4A2E22;
  --ivory: #F6F0E4;
  --burgundy-d: color-mix(in srgb, var(--burgundy) 70%, #070103);
  --burgundy-l: color-mix(in srgb, var(--burgundy) 62%, #e7b3bd);
  --olive-d: color-mix(in srgb, var(--olive) 76%, #0c1005);
  --olive-l: color-mix(in srgb, var(--olive) 75%, #fff);
  --chocolate-d: color-mix(in srgb, var(--chocolate) 66%, #090402);
  --paper: color-mix(in srgb, var(--ivory) 65%, #fff);
  --champagne: #D4AF37;
  --gold-light: #F7E8BE;
  --gold-dark: #9A741C;
  --gold-grad: linear-gradient(135deg, #FFF3D1 0%, #D4AF37 38%, #9A741C 74%, #F6E3A5 100%);
  --ink: var(--chocolate);
  --on-dark: var(--ivory);
  --on-dark-soft: color-mix(in srgb, var(--ivory) 80%, transparent);
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --caps: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.32, .72, 0, 1);
  --ease-back: cubic-bezier(.34, 1.4, .64, 1);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .29 0 0 0 0 .18 0 0 0 0 .13 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --emboss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cg fill='none' stroke-width='1.1'%3E%3Cpath stroke='%23fff' stroke-opacity='.16' d='M0 45c15-22 30 22 45 0s30 22 45 0M45 0c-22 15 22 30 0 45s22 30 0 45M45 45m-7 0a7 7 0 1 0 14 0a7 7 0 1 0-14 0M0 0c8 4 8 12 0 16M90 74c-8 4-8 12 0 16'/%3E%3Cpath stroke='%23000' stroke-opacity='.14' transform='translate(1 1)' d='M0 45c15-22 30 22 45 0s30 22 45 0M45 0c-22 15 22 30 0 45s22 30 0 45M45 45m-7 0a7 7 0 1 0 14 0a7 7 0 1 0-14 0M0 0c8 4 8 12 0 16M90 74c-8 4-8 12 0 16'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
body {
  margin: 0;
  background-color: var(--ivory);
  background-image:
    radial-gradient(ellipse 85% 50% at 50% 0%, rgba(212, 175, 55, .14), transparent 70%),
    radial-gradient(ellipse 65% 50% at 85% 40%, rgba(107, 30, 46, .06), transparent 70%),
    var(--noise);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(17.5px, 2.2vw, 19px);
  line-height: 1.62;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked {
  overflow: hidden;
  height: 100dvh;
  overscroll-behavior: none;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }

/* Mobile-native control ergonomics: zero 300ms delay, no accidental label selection */
button, a, [role="button"], .seal, .env__flap, .slide__card, .story__thumb, .dress__swatch, .choice label, .island-nav__link {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* ================= Barra de Progreso & Lienzo de Partículas ================= */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--burgundy), var(--champagne), var(--burgundy));
  transform-origin: 0 50%; transform: scaleX(0);
}
.petals { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 35; }

/* ================= Floating Island Navigation (Top on Desktop, Thumb-Zone Bottom Dock on Mobile) ================= */
.island-nav {
  position: fixed;
  top: max(14px, env(safe-area-inset-top, 0px));
  left: 50%;
  z-index: 50;
  transform: translate(-50%, -26px) scale(.92);
  display: flex; align-items: center; gap: 4px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(28, 10, 14, .84);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(212, 175, 55, .45);
  box-shadow: 0 18px 40px -12px rgba(24, 8, 12, .68), inset 0 1px 0 rgba(255, 255, 255, .15);
  opacity: 0; pointer-events: none;
  transition: opacity .55s var(--ease-spring), transform .55s var(--ease-spring);
  max-width: calc(100vw - 24px);
  overflow-x: auto;
  scrollbar-width: none;
}
.island-nav::-webkit-scrollbar { display: none; }
body.is-open .island-nav {
  opacity: 1; transform: translate(-50%, 0) scale(1); pointer-events: auto;
}
.island-nav__link {
  font-family: var(--caps);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
  padding: 8px 13px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 140ms var(--ease-out), color 140ms var(--ease-out), transform 120ms var(--ease-out);
}
.island-nav__link:active {
  transform: scale(.94);
  background: rgba(246, 240, 228, .16);
}
.island-nav__link--cta {
  background: var(--gold-grad);
  color: #260910;
  font-weight: 600;
  box-shadow: 0 4px 14px -4px rgba(212, 175, 55, .7);
}

/* ================= Botones Flotantes (FAB & Vinilo con Ecualizador) ================= */
.fab {
  position: fixed; z-index: 45; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, .5);
  display: grid; place-items: center;
  background: rgba(88, 22, 36, .9); color: var(--ivory);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px -10px rgba(40, 14, 20, .7);
  opacity: 0; transform: scale(.6); pointer-events: none;
  transition: opacity .4s var(--ease), transform 140ms var(--ease-out);
}
.fab svg { width: 22px; height: 22px; }
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab.show:active { transform: scale(.92); }
.fab--home { bottom: max(88px, calc(env(safe-area-inset-bottom, 0px) + 74px)); right: max(16px, env(safe-area-inset-right, 0px)); }

.vinyl {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 45;
  width: 60px; height: 60px; border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, .65); padding: 0;
  box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .7);
  animation: popIn .7s var(--ease-back) both;
  transition: transform 120ms var(--ease-out);
}
.vinyl:active { transform: scale(.92); }
.vinyl__disc {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, var(--burgundy) 0 10px, #D4AF37 10.5px 12px, #1a0f0c 12.5px 14px, transparent 14.5px),
    repeating-radial-gradient(circle, #241713 0 1.5px, #120a08 1.5px 3px);
}
.vinyl__disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(130deg, rgba(255,255,255,.22), transparent 40%, transparent 60%, rgba(212,175,55,.18)); }
.vinyl__icon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ivory); }
.vinyl__icon svg { width: 18px; height: 18px; grid-area: 1 / 1; }
.vinyl .i-pause { display: none; }
.vinyl.is-playing .i-pause { display: block; }
.vinyl.is-playing .i-play { display: none; }
.vinyl.is-playing .vinyl__disc { animation: spin 6s linear infinite; }
.vinyl__bars {
  position: absolute; top: -5px; left: -5px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-grad);
  display: flex; align-items: flex-end; justify-content: center; gap: 2px;
  padding: 5px; opacity: 0; transform: scale(.5);
  transition: opacity .35s, transform .35s var(--ease-back);
  box-shadow: 0 4px 10px rgba(0,0,0,.4);
}
.vinyl.is-playing .vinyl__bars { opacity: 1; transform: scale(1); }
.vinyl__bars i {
  width: 2.5px; height: 10px; background: #24080e; border-radius: 2px;
  animation: eqBar .8s ease-in-out infinite alternate;
}
.vinyl__bars i:nth-child(2) { animation-duration: .55s; animation-delay: -.2s; }
.vinyl__bars i:nth-child(3) { animation-duration: .7s; animation-delay: -.4s; }
@keyframes eqBar { from { height: 3px; } to { height: 11px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes popIn { from { opacity: 0; transform: scale(.4); } }

/* ================= Portada Cinematográfica: Sobre Imperial (100svh for mobile stability) ================= */
.cover {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(36px + env(safe-area-inset-top, 0px)) 14px calc(86px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}
.cover__ambient {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
}
.cover__ambient-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(26px) saturate(1.15);
  opacity: .22;
  transform: scale(1.15);
  animation: ambientBreath 14s ease-in-out infinite alternate;
}
.cover__ambient-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(246, 240, 228, .55), rgba(246, 240, 228, .92) 72%),
    linear-gradient(180deg, rgba(107, 30, 46, .08), transparent 40%, var(--ivory) 100%);
}
.cover__light-beam {
  position: absolute; inset: -30%;
  background: linear-gradient(115deg, transparent 35%, rgba(247, 232, 190, .35) 50%, transparent 65%);
  animation: beamSweep 9s ease-in-out infinite alternate;
}
@keyframes ambientBreath { from { transform: scale(1.12); } to { transform: scale(1.22); } }
@keyframes beamSweep { from { transform: translateX(-12%) rotate(-4deg); } to { transform: translateX(12%) rotate(4deg); } }

.vip-crest-bar {
  position: relative; z-index: 12;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 10px;
  padding: 7px 18px;
  max-width: 92vw;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(84, 18, 32, .96), rgba(38, 8, 15, .98));
  border: 1px solid var(--champagne);
  box-shadow: 0 12px 28px -10px rgba(84, 18, 32, .6), inset 0 1px 0 rgba(255,255,255,.22);
  color: var(--gold-light);
  font-family: var(--caps);
  font-size: clamp(9.5px, 2.5vw, 11px);
  letter-spacing: .24em;
  text-transform: uppercase;
  text-align: center;
  animation: fadeUp 1s .15s var(--ease-out) both;
}
.vip-crest-bar__star { color: var(--champagne); font-size: 11px; flex: none; }
.vip-crest-bar__badge { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.stage {
  position: relative; z-index: 2;
  width: min(390px, 86vw, 56svh);
  aspect-ratio: 100 / 140;
  container-type: inline-size;
}
.stage > * { position: absolute; }

.stage__invite {
  top: 3cqw; left: -6cqw; right: -6cqw; margin: 0; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2cqw;
  font-family: var(--caps); font-size: 3.1cqw; letter-spacing: .32em; text-transform: uppercase;
  color: var(--burgundy);
  transition: opacity .6s, transform .6s var(--ease);
  animation: fadeUp 1.2s .25s var(--ease-out) both;
  z-index: 10;
}
.stage__crest-wrap {
  position: relative; width: 22cqw; height: 22cqw;
  display: grid; place-items: center; margin-bottom: 1cqw;
}
.stage__crest {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: var(--champagne); opacity: .75;
  animation: slowSpin 40s linear infinite;
}
@keyframes slowSpin { to { transform: rotate(360deg); } }
.stage__mono {
  font-family: var(--script); text-transform: none; letter-spacing: 0;
  font-size: 9.5cqw; line-height: 1;
  color: var(--burgundy);
}
.stage__guest {
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  text-transform: none;
  letter-spacing: .04em;
  font-size: 6cqw;
  line-height: 1.15;
  color: var(--burgundy-d);
  padding: .8cqw 4cqw;
  border-bottom: 1px solid rgba(212, 175, 55, .7);
  max-width: 96%;
}
.stage__hint {
  top: 133cqw; left: -4cqw; right: -4cqw; margin: 0; text-align: center;
  font-style: italic; font-size: 4.8cqw; color: var(--burgundy);
  letter-spacing: .04em;
  animation: fadeIn 1s 1.1s both, breathe 2.4s 2s ease-in-out infinite;
  transition: opacity .4s;
}

.env__shadow {
  top: 62cqw; left: 4cqw; width: 92cqw; height: 68cqw;
  border-radius: 3cqw;
  background: rgba(42, 14, 18, .45);
  filter: blur(18px);
  transform: translateY(5cqw);
  transition: transform 1.4s var(--ease-out), opacity 1.4s;
}
.env__back {
  top: 56cqw; left: 0; width: 100cqw; height: 72cqw; border-radius: 2cqw;
  background: linear-gradient(165deg, var(--burgundy-d), #1c050a);
  box-shadow: 0 12cqw 24cqw -6cqw rgba(46, 14, 18, .68), 0 0 0 1px rgba(212, 175, 55, .38);
}
.env__flap { top: 56cqw; left: 0; width: 100cqw; height: 44cqw; z-index: 6; transform-origin: 50% 0; transform-style: preserve-3d; cursor: pointer; }
.env__flap-front, .env__flap-liner { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 50% 100%); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.env__flap-front {
  background: linear-gradient(to bottom, color-mix(in srgb, var(--burgundy) 92%, #000), var(--burgundy)), var(--noise);
}
.env__flap-front::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, transparent 62%, rgba(0,0,0,.28)),
    linear-gradient(135deg, rgba(212,175,55,.2), transparent 50%);
}
.env__flap-liner {
  transform: rotateX(180deg);
  background:
    radial-gradient(circle at 50% 35%, rgba(212, 175, 55, .25), transparent 65%),
    var(--emboss),
    linear-gradient(to top, #281015, var(--burgundy-d));
  background-size: auto, 45px 45px, auto;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 7cqw;
}
.env__liner-crest {
  width: 18cqw; height: 18cqw; color: var(--champagne); opacity: .65;
}

/* Polaroid Real con Fotografía de la Pareja */
.polaroid {
  left: 3.5cqw; top: 14cqw; width: 46cqw; margin: 0; z-index: 3;
  padding: 2.2cqw 2.2cqw 8.5cqw;
  background: #fffdf9 var(--noise);
  border-radius: 1cqw;
  border: 1px solid rgba(212, 175, 55, .45);
  box-shadow: 0 5cqw 12cqw -2cqw rgba(36, 12, 16, .55);
  transform: translateY(50cqw);
  transition: transform 1.3s var(--ease-out);
}
.polaroid__photo {
  position: relative;
  aspect-ratio: 4 / 5; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, var(--burgundy), var(--burgundy-d));
}
.polaroid__photo::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 18px rgba(42, 14, 18, .28);
  pointer-events: none;
}
.polaroid__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.18);
  transition: transform 3.2s var(--ease-out);
}
.polaroid__caption {
  position: absolute; bottom: 1.8cqw; left: 0; right: 0;
  text-align: center; font-family: var(--script); font-size: 5.4cqw;
  color: var(--burgundy-d);
}

/* Tarjeta en Arco con Filigrana Dorada */
.arch {
  left: 50.5cqw; top: 4cqw; width: 45.5cqw; height: 67cqw; z-index: 3;
  background: var(--paper) var(--noise);
  border-radius: 23cqw 23cqw 1.4cqw 1.4cqw;
  box-shadow: 0 5cqw 12cqw -2cqw rgba(36, 12, 16, .48);
  transform: translateY(57cqw);
  transition: transform 1.3s .18s var(--ease-out);
}
.arch::before {
  content: ""; position: absolute; inset: 1.8cqw;
  border-radius: 21cqw 21cqw .8cqw .8cqw;
  border: 1px solid rgba(212, 175, 55, .75);
}
.arch::after {
  content: ""; position: absolute; inset: 2.8cqw;
  border-radius: 20cqw 20cqw .5cqw .5cqw;
  border: .5px solid color-mix(in srgb, var(--burgundy) 32%, transparent);
}
.arch__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: 8cqw;
}
.arch__eyebrow {
  font-family: var(--caps); font-size: 2.1cqw; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1.2cqw;
}
.arch__name { font-family: var(--script); font-size: 12cqw; line-height: 1.1; padding: 0 .18em; color: var(--burgundy); }
.arch__amp { font-family: var(--script); font-size: 7cqw; color: var(--gold-dark); line-height: 1; margin: -.4cqw 0; }
.arch__city {
  margin-top: 1.8cqw; font-family: var(--caps); font-size: 2cqw;
  letter-spacing: .34em; text-transform: uppercase; color: var(--olive);
}
.shimmer {
  background: linear-gradient(110deg, var(--burgundy) 32%, var(--champagne) 50%, var(--burgundy) 68%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.env__pocket {
  top: 56cqw; left: 0; width: 100cqw; height: 72cqw; z-index: 5;
  border-radius: 0 0 2cqw 2cqw;
  clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%);
  background: var(--noise), linear-gradient(165deg, color-mix(in srgb, var(--burgundy) 88%, #fff), var(--burgundy) 45%, var(--burgundy-d));
}
.env__pocket::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom right, transparent 49.3%, rgba(212,175,55,.52) 50%, transparent 50.8%) 0 0 / 50% 58% no-repeat,
    linear-gradient(to bottom left, transparent 49.3%, rgba(212,175,55,.52) 50%, transparent 50.8%) 100% 0 / 50% 58% no-repeat;
}

.plaque {
  left: 23cqw; width: 54cqw; top: 101cqw; height: 13.5cqw; z-index: 7;
  display: grid; place-items: center;
  clip-path: polygon(7% 0, 93% 0, 100% 32%, 100% 68%, 93% 100%, 7% 100%, 0 68%, 0 32%);
  background: linear-gradient(135deg, #280810, var(--burgundy));
  color: var(--gold-light); font-family: var(--caps); font-size: 3.5cqw; letter-spacing: .28em;
  box-shadow: 0 8px 22px rgba(0,0,0,.42);
  opacity: 0; transform: scale(.7); transition: opacity .7s, transform .9s var(--ease-back);
}
.plaque::before {
  content: ""; position: absolute; inset: 1.1cqw;
  clip-path: inherit; border: 1px solid rgba(212, 175, 55, .75);
}

/* Sello de Cera Imperial 3D */
.seal {
  left: 37.5cqw; top: 84cqw; width: 25cqw; height: 25cqw; z-index: 8;
  border: 0; padding: 0; background: none; border-radius: 50%;
  animation: sealPulse 2.4s 1.6s ease-in-out infinite;
}
.seal:active .seal__half { transform: scale(.93); }
.seal__halo {
  position: absolute; inset: -4.5cqw; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .52), transparent 68%);
  animation: haloPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes haloPulse { 0%, 100% { transform: scale(.92); opacity: .55; } 50% { transform: scale(1.12); opacity: 1; } }
.seal__half {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, #b53850, var(--burgundy) 50%, #2a060e 94%);
  box-shadow:
    inset 0 -1.2cqw 2.2cqw rgba(0,0,0,.6),
    inset 0 .7cqw 1.4cqw rgba(255, 224, 155, .36),
    0 2.4cqw 5cqw rgba(0,0,0,.55),
    0 0 0 .6cqw rgba(212, 175, 55, .48);
  transition: transform .95s var(--ease), opacity .95s, filter .3s;
}
.seal__half--l { clip-path: polygon(0 0, 54% 0, 46% 30%, 56% 55%, 44% 100%, 0 100%); }
.seal__half--r { clip-path: polygon(54% 0, 100% 0, 100% 100%, 44% 100%, 56% 55%, 46% 30%); }
.seal__ring {
  position: absolute; inset: 2.3cqw; border-radius: 50%;
  border: 1.4px solid rgba(212, 175, 55, .85);
  box-shadow: inset 0 0 8px rgba(0,0,0,.45);
  transition: opacity .3s;
}
.seal__text {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--script); font-size: 7cqw;
  color: var(--gold-light);
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
  white-space: nowrap; transition: opacity .3s;
}

.scroll-hint {
  position: absolute; bottom: max(18px, env(safe-area-inset-bottom, 0px)); left: 50%;
  transform: translate(-50%, 10px);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; font-family: var(--caps); font-size: 11px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--burgundy);
  opacity: 0; pointer-events: none; z-index: 10;
  transition: opacity .8s, transform .8s var(--ease-out);
}
.scroll-hint i {
  width: 14px; height: 14px;
  border-right: 1.5px solid var(--champagne); border-bottom: 1.5px solid var(--champagne);
  transform: rotate(45deg); animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { translate: 0 -3px; } 50% { translate: 0 5px; } }

/* Coreografía de Apertura del Sobre */
.stage.is-open .seal { animation: none; pointer-events: none; }
.stage.is-open .seal__ring, .stage.is-open .seal__text, .stage.is-open .seal__halo { opacity: 0; }
.stage.is-open .seal__half--l { transform: translate(-20cqw, 28cqw) rotate(-42deg); opacity: 0; }
.stage.is-open .seal__half--r { transform: translate(20cqw, 32cqw) rotate(46deg); opacity: 0; }
.stage.is-open .stage__invite { animation: none; opacity: 0; transform: translateY(-6cqw) scale(.95); pointer-events: none; }
.stage.is-open .stage__hint { opacity: 0; animation: none; }
.stage.is-open .env__flap { animation: flapOpen 1.05s .28s var(--ease) forwards; }
.stage.is-open .polaroid {
  transform: translateY(-4cqw) rotate(-6deg);
  transition-delay: .88s;
  animation: floatPolaroid 5s 2.4s ease-in-out infinite alternate;
}
.stage.is-open .polaroid__photo img { transform: scale(1); transition-delay: 1.2s; }
.stage.is-open .arch {
  transform: translateY(-3cqw) rotate(3.2deg);
  transition-delay: 1.1s;
  animation: floatArch 5.5s 2.6s ease-in-out infinite alternate;
}
.stage.is-open .plaque { opacity: 1; transform: none; transition-delay: 1.85s; }
.stage.is-open .shimmer { animation: shimmer 4s 2.2s ease-in-out infinite; }
body.is-open .scroll-hint { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

@keyframes floatPolaroid {
  from { transform: translateY(-4cqw) rotate(-6deg); }
  to { transform: translateY(-7cqw) rotate(-4.5deg); }
}
@keyframes floatArch {
  from { transform: translateY(-3cqw) rotate(3.2deg); }
  to { transform: translateY(-6cqw) rotate(4.4deg); }
}
@keyframes flapOpen {
  0% { transform: rotateX(0); z-index: 6; }
  49% { z-index: 6; }
  50% { z-index: 1; }
  100% { transform: rotateX(180deg); z-index: 1; }
}
@keyframes shimmer { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
@keyframes sealPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes breathe { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ================= 1. HERO EDITORIAL CINEMATOGRÁFICO ================= */
.cinema-hero {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 18px 40px;
}
.cinema-hero__frame {
  position: relative;
  border-radius: 30px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, .45), rgba(107, 30, 46, .2), rgba(212, 175, 55, .38));
  border: 1px solid rgba(212, 175, 55, .55);
  box-shadow: 0 36px 70px -28px rgba(42, 14, 18, .62);
}
.cinema-hero__media {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 420px;
  max-height: 76svh;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #1a070b;
}
.cinema-hero__img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 32%;
  transform: scale(1.08);
  animation: heroKenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroKenBurns {
  0% { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.14) translate(-1.5%, -1%); }
}
.cinema-hero__gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 6, 10, .25) 0%, transparent 38%, rgba(20, 6, 10, .84) 88%, rgba(16, 4, 8, .95) 100%),
    radial-gradient(circle at 50% 50%, transparent 45%, rgba(16, 4, 8, .45) 100%);
}
.cinema-hero__content {
  position: absolute; left: 16px; right: 16px; bottom: 24px;
  text-align: center; color: var(--ivory);
  z-index: 2;
  padding: 14px 12px;
}
.cinema-hero__eyebrow {
  font-family: var(--caps); font-size: clamp(9.5px, 2.4vw, 11px); letter-spacing: .36em;
  text-transform: uppercase; color: var(--gold-light); margin: 0 0 8px;
}
.cinema-hero__names {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(50px, 12vw, 96px);
  line-height: 1.02; margin: 0 0 14px;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .65);
}
.cinema-hero__names .k-amp {
  font-size: .62em; color: var(--champagne); padding: 0 .12em;
}
.k-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px) rotate(4deg);
  filter: blur(4px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), filter .8s var(--ease-out);
}
.in .k-char {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.cinema-hero__meta {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px;
  padding: 9px 18px;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(24, 7, 11, .72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, .48);
  font-family: var(--caps); font-size: clamp(9.5px, 2.3vw, 11px); letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-light);
}
.cinema-hero__dot { color: var(--champagne); }
.cinema-hero__sep { opacity: .4; }

/* ================= Secciones & Tipografía ================= */
.section { position: relative; padding: clamp(52px, 9vw, 80px) clamp(14px, 4vw, 24px); max-width: 720px; margin: 0 auto; text-align: center; }
.section--wide { max-width: 920px; }
.section--vip { padding-bottom: 10px; }
.section--places { max-width: 960px; }

.eyebrow {
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .34em;
  font-size: clamp(10px, 2.4vw, 11px); font-weight: 600; margin: 0 0 10px; color: var(--olive);
}
.eyebrow--light { color: var(--on-dark-soft); }
.eyebrow--gold { color: var(--gold-light); }

.script-title {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(46px, 11.5vw, 74px); line-height: 1.08;
  margin: 0 0 16px; color: var(--burgundy);
}
.script-title--light { color: var(--ivory); }
.script-title--sm { font-size: clamp(36px, 8.5vw, 48px); margin-bottom: 6px; }
.lead { font-size: clamp(18px, 4.2vw, 20px); font-weight: 300; margin: 0 auto; max-width: 36ch; text-wrap: pretty; }
.lead--light { color: var(--on-dark-soft); }
.muted { font-size: 16px; font-style: italic; color: color-mix(in srgb, var(--chocolate) 72%, transparent); margin: 18px 0 0; }
.branch { display: block; width: 150px; height: 42px; margin: 0 auto 12px; color: var(--olive); }
.branch--light { color: color-mix(in srgb, var(--ivory) 74%, var(--champagne)); }

/* ================= Tarjeta VIP de Invitado de Honor ================= */
.vip-card {
  position: relative;
  background: linear-gradient(145deg, #2b0911, var(--burgundy) 52%, #1b050a);
  color: var(--ivory);
  border-radius: 26px;
  padding: 8px;
  box-shadow: 0 30px 60px -22px rgba(58, 12, 22, .68), 0 0 0 1px rgba(212, 175, 55, .52);
}
.vip-card__inner {
  border-radius: 19px;
  border: 1px solid rgba(212, 175, 55, .6);
  padding: clamp(28px, 6vw, 38px) clamp(18px, 5vw, 28px) clamp(26px, 5vw, 34px);
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, .22), transparent 65%),
    var(--noise);
}
.vip-pill {
  display: inline-block;
  font-family: var(--caps);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #24090f;
  font-weight: 600;
  margin-bottom: 14px;
  max-width: 100%;
}
.vip-card__salutation { font-style: italic; font-size: 17px; color: var(--gold-light); margin: 0 0 4px; }
.vip-card__guest {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 7vw, 46px); line-height: 1.15;
  margin: 0 0 14px; color: #fff; letter-spacing: .02em;
  text-wrap: balance;
}
.vip-card__note {
  font-size: clamp(17.5px, 4vw, 19.5px); font-style: italic; font-weight: 300;
  max-width: 40ch; margin: 0 auto 20px; color: rgba(246, 240, 228, .94);
  text-wrap: pretty;
}
.vip-card__seats {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--caps); font-size: clamp(9.5px, 2.5vw, 11px); letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-light);
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, .52);
  background: rgba(0, 0, 0, .26);
  max-width: 100%;
}
.vip-card__seats-icon { color: var(--champagne); flex: none; }

/* ================= Double-Bezel (Doppelrand) & 3D Tilt ================= */
.bezel-shell {
  padding: clamp(6px, 1.5vw, 9px);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(212, 175, 55, .32), rgba(107, 30, 46, .1), rgba(212, 175, 55, .26));
  border: 1px solid rgba(212, 175, 55, .45);
  box-shadow: 0 30px 60px -26px rgba(64, 34, 24, .45);
}

.card-tilt {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  will-change: transform;
}
.card-tilt.is-tilting { transition: transform .09s linear; }
.paper__glare {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  border-radius: inherit;
  background: radial-gradient(560px circle at var(--mx) var(--my), rgba(247, 232, 190, .28), transparent 65%);
  opacity: 0; transition: opacity .4s;
}

/* Aparición Cinematográfica al Hacer Scroll */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  filter: blur(4px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter .85s var(--ease-out);
}
.reveal--tilt { transform: translateY(52px) rotate(1.6deg); }
.reveal--left { transform: translateX(-40px) rotate(-1.2deg); }
.reveal--right { transform: translateX(40px) rotate(1.2deg); }
.reveal--zoom { transform: scale(.92); }
.reveal--up { transform: translateY(56px); }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }

.draw { clip-path: inset(0 50% 0 50%); transition: clip-path 1.6s .25s var(--ease); }
.in .draw, .draw.in { clip-path: inset(0); }

/* ================= Tarjeta Formal en Relieve (Letterpress) ================= */
.paper {
  position: relative;
  background: var(--paper) var(--noise);
  border-radius: 20px;
  padding: clamp(42px, 8vw, 58px) clamp(20px, 5vw, 34px) clamp(36px, 7vw, 48px);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.9), 0 12px 30px -14px rgba(74,46,34,.32);
  overflow: hidden;
}
.paper::before {
  content: ""; position: absolute; inset: 10px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--burgundy) 22%, rgba(212, 175, 55, .5));
  pointer-events: none;
}
.corner {
  position: absolute; width: clamp(28px, 6vw, 38px); height: clamp(28px, 6vw, 38px);
  color: var(--gold-dark); opacity: .78; pointer-events: none;
}
.corner--tl { top: 14px; left: 14px; }
.corner--tr { top: 14px; right: 14px; transform: scaleX(-1); }
.corner--bl { bottom: 14px; left: 14px; transform: scaleY(-1); }
.corner--br { bottom: 14px; right: 14px; transform: scale(-1); }

.fullnames {
  font-family: var(--script); font-weight: 400; color: var(--burgundy);
  font-size: clamp(38px, 10vw, 60px); line-height: 1.12; margin: 10px 0 18px;
}
.fullnames span { display: block; }
.fullnames__amp { font-size: .56em; color: var(--gold-dark); margin: 2px 0; }
.paper__invite { font-style: italic; font-size: clamp(18px, 4.2vw, 20px); white-space: pre-line; margin: 0 0 24px; color: var(--chocolate); }
.paper__text { font-size: clamp(17.5px, 4vw, 19.5px); font-weight: 300; margin: 24px auto 0; max-width: 36ch; text-wrap: pretty; }

.datebox { font-family: var(--caps); text-transform: uppercase; color: var(--burgundy); margin: 10px 0; }
.datebox__month { display: block; letter-spacing: .38em; font-size: clamp(12px, 3vw, 14px); margin: 0 0 8px .38em; color: var(--gold-dark); font-weight: 600; }
.datebox__row { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 3.5vw, 20px); }
.datebox__row span {
  flex: 1; max-width: 112px; padding: 8px 4px; font-size: clamp(10px, 2.6vw, 12px); letter-spacing: .22em;
  border-top: 1px solid rgba(212, 175, 55, .7);
  border-bottom: 1px solid rgba(212, 175, 55, .7);
}
.datebox__row b { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 13vw, 66px); line-height: 1; color: var(--burgundy); }
.datebox__location { display: block; margin-top: 10px; font-size: clamp(9.5px, 2.5vw, 11px); letter-spacing: .28em; color: var(--olive); }

.paper__seal-divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 26px auto 22px; max-width: 240px; color: var(--champagne);
}
.paper__seal-divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,.75), transparent); }
.paper__seal-divider i { font-style: normal; font-size: 13px; }
.cal-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }

/* ================= 4. CUENTA REGRESIVA CON ESCENARIO FOTOGRÁFICO ================= */
.cd-showcase {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: clamp(42px, 8vw, 58px) clamp(14px, 4vw, 24px) clamp(40px, 7vw, 54px);
  color: var(--ivory);
  box-shadow: 0 32px 60px -24px rgba(42, 14, 18, .65), 0 0 0 1px rgba(212, 175, 55, .48);
}
.cd-showcase::after {
  content: ""; position: absolute; inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, .48);
  pointer-events: none;
}
.cd-showcase__bg { position: absolute; inset: 0; z-index: 0; }
.cd-showcase__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  filter: saturate(1.1);
}
.cd-showcase__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(107, 30, 46, .74), rgba(24, 7, 11, .92)),
    var(--noise);
}
.cd-showcase__inner { position: relative; z-index: 1; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 84px)); justify-content: center; gap: clamp(8px, 2.5vw, 14px); margin-top: 8px; }
.cd { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cd__tile {
  position: relative; width: 100%; aspect-ratio: 82 / 92; border-radius: 14px; overflow: hidden;
  display: grid; place-items: center;
  background: rgba(24, 7, 11, .68);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--ivory);
  border: 1px solid rgba(212, 175, 55, .6);
  box-shadow: 0 18px 32px -12px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.22);
}
.cd__tile::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: rgba(0,0,0,.38); box-shadow: 0 1px 0 rgba(212,175,55,.2);
}
.cd__n { font-size: clamp(30px, 8vw, 44px); font-weight: 400; line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--gold-light); }
.cd__n.tick { animation: tick .55s var(--ease-out); }
.cd__l { font-family: var(--caps); font-size: clamp(8.5px, 2.2vw, 10px); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); opacity: .88; }
@keyframes tick { 0% { transform: translateY(-70%) rotateX(70deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.countdown__done { font-family: var(--script); font-size: clamp(40px, 10vw, 48px); color: var(--gold-light); margin: 0; }

/* ================= 5. NUESTRA HISTORIA (Baraja Fotográfica 3D + Touch Pan-Y + Filmstrip) ================= */
.story-sub {
  font-size: clamp(16.5px, 3.8vw, 18px); font-style: italic; color: color-mix(in srgb, var(--chocolate) 78%, transparent);
  max-width: 42ch; margin: -6px auto 24px;
  text-wrap: balance;
}
.story-stage {
  position: relative;
  width: min(440px, 90vw);
  margin: 0 auto;
  perspective: 1600px;
  touch-action: pan-y;
}
.story-deck {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  transform-style: preserve-3d;
  touch-action: pan-y;
}
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translate3d(0, 24px, -140px) scale(.88);
  transition: transform .75s var(--ease-spring), opacity .65s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.slide.is-dragging {
  transition: none !important;
}
.slide.active {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg);
  pointer-events: auto;
  z-index: 4;
}
.slide.is-next {
  opacity: .72;
  transform: translate3d(24px, 10px, -70px) rotate(4deg);
  z-index: 3;
}
.slide.is-prev {
  opacity: .52;
  transform: translate3d(-24px, 14px, -95px) rotate(-4deg);
  z-index: 2;
}
.slide__card {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform .88s var(--ease-spring);
  cursor: pointer; border: 0; padding: 0; background: none; width: 100%;
}
.slide.flipped .slide__card { transform: rotateY(180deg); }
.slide__face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 22px;
  overflow: hidden;
  background: #fffdf9 var(--noise);
  padding: 10px 10px 54px;
  border: 1px solid rgba(212, 175, 55, .55);
  box-shadow: 0 28px 54px -20px rgba(42, 14, 18, .55);
}
.slide__photo-frame {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #1d070c;
}
.slide__face img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 6s var(--ease-out);
  pointer-events: none;
}
.slide.active .slide__face img { transform: scale(1.07); }
.slide__expand {
  position: absolute; top: 18px; right: 18px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, .6);
  background: rgba(24, 7, 11, .75);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--gold-light);
  display: grid; place-items: center;
  font-size: 16px;
  transition: transform 120ms var(--ease-out), background .3s;
}
.slide__expand:active { transform: scale(.9); }

.slide__ribbon {
  position: absolute; left: 14px; right: 14px; bottom: 10px;
  height: 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 8px;
  font-family: var(--caps); font-size: 10px; letter-spacing: .18em;
  color: var(--burgundy); text-transform: uppercase;
}
.slide__ribbon-title {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(15px, 3.8vw, 17px); letter-spacing: .02em; text-transform: none;
  color: var(--burgundy-d);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.slide__ribbon-action {
  color: var(--gold-dark); font-weight: 600; font-size: 9.5px; white-space: nowrap; flex: none;
}

.slide__back {
  transform: rotateY(180deg);
  background: var(--paper) var(--noise);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(24px, 6vw, 38px) clamp(20px, 5vw, 30px); text-align: center;
}
.slide__back::before {
  content: ""; position: absolute; inset: 10px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, .6); pointer-events: none;
}
.slide__back-eyebrow {
  font-family: var(--caps); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px;
}
.slide__back h3 { font-family: var(--script); font-weight: 400; font-size: clamp(34px, 8.5vw, 44px); line-height: 1.08; color: var(--burgundy); margin: 0 0 12px; }
.slide__back p { margin: 0; font-size: clamp(16.5px, 4vw, 19px); white-space: pre-line; line-height: 1.55; color: var(--chocolate); }

.story__nav {
  position: absolute; top: 50%; z-index: 6;
  width: 44px; height: 44px; margin-top: -22px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, .55);
  background: rgba(42, 14, 18, .84);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--gold-light);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.5);
  transition: transform 120ms var(--ease-out), background .3s;
}
.story__nav:active { transform: scale(.9); }
.story__nav svg { width: 20px; height: 20px; }
.story__nav.prev { left: -20px; }
.story__nav.next { right: -20px; }

.story-controls { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.story__thumbs {
  display: flex; justify-content: center; gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 8px;
  scrollbar-width: none;
}
.story__thumbs::-webkit-scrollbar { display: none; }
.story__thumb {
  flex: none;
  scroll-snap-align: center;
  width: 56px; height: 68px;
  border-radius: 10px; overflow: hidden;
  border: 2px solid transparent;
  padding: 0; background: #1e080d;
  opacity: .55;
  transform: scale(.94);
  transition: opacity .3s, transform 140ms var(--ease-out), border-color .3s, box-shadow .3s;
}
.story__thumb:active { transform: scale(.9); }
.story__thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.story__thumb.on {
  opacity: 1; transform: scale(1.05);
  border-color: var(--champagne);
  box-shadow: 0 8px 18px -6px rgba(107, 30, 46, .55);
}
.story__dots { display: flex; justify-content: center; gap: 9px; }
.story__dots button {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid var(--burgundy); background: transparent; padding: 0;
  transition: background .3s, transform .3s;
}
.story__dots button.on { background: var(--burgundy); transform: scale(1.3); }

/* ================= 6. ITINERARIO IMPERIAL CON HILO DE ORO LÍQUIDO ================= */
.timeline-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: clamp(48px, 9vw, 72px) clamp(16px, 4.5vw, 28px) clamp(52px, 9vw, 76px);
  color: var(--ivory);
  box-shadow: 0 36px 68px -28px rgba(38, 12, 18, .75), 0 0 0 1px rgba(212, 175, 55, .48);
}
.timeline-card::before {
  content: ""; position: absolute; inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 55, .45);
  pointer-events: none; z-index: 2;
}
.timeline-card__bg { position: absolute; inset: 0; z-index: 0; }
.timeline-card__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(4px) saturate(1.1);
  transform: scale(1.08);
}
.timeline-card__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(170deg, rgba(64, 15, 25, .91), rgba(26, 7, 12, .96)),
    var(--noise);
}
.timeline-card__inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }

.timeline-wrap {
  position: relative;
  margin-top: 28px;
  padding-left: 22px;
}
.timeline-track {
  position: absolute;
  left: 30px; top: 24px; bottom: 24px;
  width: 2px;
  background: rgba(212, 175, 55, .22);
  border-radius: 2px;
}
.timeline-track__fill {
  width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--gold-light), var(--champagne));
  box-shadow: 0 0 12px rgba(212, 175, 55, .85);
  border-radius: 2px;
  transition: height .25s ease-out;
}
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.timeline li {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 14px;
  text-align: left;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, .28);
  opacity: 0; transform: translateX(24px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out), border-color .4s, background .4s, box-shadow .4s;
}
.in .timeline li { opacity: 1; transform: none; }
.timeline li.is-lit {
  border-color: rgba(212, 175, 55, .72);
  background: rgba(212, 175, 55, .1);
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .55);
}
.timeline svg {
  width: 48px; height: 48px; justify-self: center;
  color: var(--gold-light);
  padding: 9px;
  border-radius: 50%;
  background: rgba(24, 7, 11, .75);
  border: 1px solid rgba(212, 175, 55, .55);
  box-shadow: 0 0 16px rgba(212, 175, 55, .22);
}
.timeline .t-time { display: block; font-family: var(--caps); font-size: 11.5px; letter-spacing: .24em; color: var(--gold-light); margin-bottom: 2px; }
.timeline .t-title { display: block; font-family: var(--script); font-size: clamp(30px, 7.5vw, 36px); line-height: 1.08; color: #fff; }

/* ================= 7. CEREMONIA Y RECEPCIÓN (Fotografía Real en Arcos) ================= */
.places-head { margin-bottom: 24px; }
.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 28px;
  justify-items: center;
  align-items: stretch;
}
.place {
  position: relative; width: min(430px, 100%); padding: 12px;
  border-radius: 220px 220px 24px 24px;
  background-size: 45px 45px, auto;
  box-shadow: 0 32px 60px -24px rgba(58, 28, 20, .65);
  display: flex;
}
.place--olive { background-image: var(--emboss), linear-gradient(160deg, var(--olive-l), var(--olive-d)); }
.place--burgundy { background-image: var(--emboss), linear-gradient(160deg, color-mix(in srgb, var(--burgundy) 85%, #fff), var(--burgundy-d)); }
.place__arch {
  position: relative; width: 100%;
  background: var(--paper) var(--noise);
  border-radius: 208px 208px 16px 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid rgba(212, 175, 55, .55);
}
.place__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #1d080c;
}
.place__photo {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.place__photo-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 4, 8, .35) 0%, transparent 45%, rgba(16, 4, 8, .78) 100%);
}
.place__badge {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  font-family: var(--caps); font-size: 9px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold-light);
  padding: 5px 14px; border-radius: 999px;
  background: rgba(20, 6, 10, .72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, .48);
  white-space: nowrap;
}
.place__time-pill {
  position: absolute; bottom: 12px; right: 14px;
  font-family: var(--caps); font-size: 11.5px; letter-spacing: .2em;
  color: #24080e; font-weight: 600;
  background: var(--gold-grad);
  padding: 5px 14px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
}
.place__body {
  padding: 24px 20px 28px;
  display: flex; flex-direction: column; align-items: center; flex: 1;
}
.place__name { font-size: clamp(23px, 5.5vw, 27px); font-weight: 600; margin: 2px 0 0; line-height: 1.22; color: var(--burgundy-d); }
.place__addr { font-style: italic; font-size: 17px; margin: 6px 0 6px; color: color-mix(in srgb, var(--chocolate) 84%, transparent); text-wrap: balance; }
.place .btn { margin-top: auto; }

/* ================= Botones (Button-in-Button Architecture + Instant Mobile Active State) ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 8px 10px 8px 22px; border-radius: 999px;
  font-family: var(--caps); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid currentColor; background: transparent;
  transition: background 140ms var(--ease-out), color 140ms var(--ease-out), transform 120ms var(--ease-out), box-shadow 140ms;
}
.btn:active { transform: scale(.96); }

.btn__circle {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(107, 30, 46, .1);
  font-family: system-ui, sans-serif; font-size: 13px; letter-spacing: 0;
  transition: transform .35s var(--ease-spring), background .35s;
}
.btn__circle--dark { background: rgba(107, 30, 46, .14); color: var(--burgundy); }

.btn--burgundy { color: var(--burgundy); margin-top: 18px; border-color: color-mix(in srgb, var(--burgundy) 55%, var(--champagne)); }
.btn--burgundy:active { background: var(--burgundy); color: var(--ivory); }

.btn--gold-outline {
  color: var(--burgundy-d);
  border-color: var(--champagne);
  background: linear-gradient(135deg, rgba(245, 230, 184, .35), rgba(212, 175, 55, .14));
}
.btn--gold-outline:active { background: var(--gold-grad); color: #23080e; }

.btn--burgundy-ghost { color: var(--chocolate); border-color: rgba(74, 46, 34, .32); }
.btn--burgundy-ghost:active { background: var(--chocolate); color: var(--ivory); }

.btn--solid {
  background: var(--burgundy); color: var(--ivory); border-color: var(--burgundy);
  box-shadow: 0 14px 28px -12px var(--burgundy);
  margin-top: 22px;
}
.btn--solid .btn__circle { background: rgba(255,255,255,.16); }

.btn--ivory {
  background: var(--gold-grad); color: #260a10; border-color: var(--gold-light);
  font-weight: 600;
}
.btn--wide { width: 100%; margin-top: 10px; justify-content: space-between; padding-left: 24px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ================= 8. TRANSMISIÓN EN VIVO ================= */
.screen {
  position: relative; background: var(--paper) var(--noise);
  border-radius: 19px; padding: clamp(36px, 7vw, 46px) clamp(20px, 5vw, 28px) clamp(34px, 6vw, 42px);
}
.screen::before {
  content: ""; position: absolute; inset: 10px; border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, .5); pointer-events: none;
}
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--caps); font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--burgundy); border: 1px solid rgba(212, 175, 55, .6);
  background: rgba(245, 230, 184, .24);
  border-radius: 999px; padding: 6px 14px 6px 12px; margin-bottom: 14px;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #c0392b; animation: livePulse 1.4s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,.5); } 50% { box-shadow: 0 0 0 7px rgba(192,57,43,0); } }

/* ================= 9. CÓDIGO DE VESTIMENTA (Lookbook Fotográfico) ================= */
.dress {
  position: relative; width: min(440px, 100%); margin: 0 auto;
  background: var(--noise), linear-gradient(170deg, #2b1810, #160b07);
  color: var(--ivory);
  border-radius: 220px 220px 24px 24px;
  padding: 12px;
  box-shadow: 0 32px 60px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(212, 175, 55, .45);
  overflow: hidden;
}
.dress__photo-arch {
  position: relative;
  border-radius: 208px 208px 12px 12px;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .5);
}
.dress__photo-arch img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 25%;
  transition: transform 1.6s var(--ease-out);
}
.dress__photo-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 8, 5, .2) 0%, transparent 45%, rgba(22, 11, 7, .92) 100%);
}
.dress__eyebrow {
  position: absolute; bottom: 12px; left: 0; right: 0; margin: 0;
}
.dress__content {
  padding: 20px 18px 28px;
}
.dress .script-title { margin-bottom: 8px; }
.dress__swatches {
  display: flex; justify-content: center; gap: 12px; margin-top: 20px;
}
.dress__swatch {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(245, 230, 184, .75);
  box-shadow: 0 6px 14px rgba(0,0,0,.45);
  padding: 0;
  transition: transform 140ms var(--ease-out), box-shadow .3s, border-color .3s;
}
.dress__swatch:active, .dress__swatch.is-active {
  transform: scale(1.2);
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .45);
}
.dress__tone-label {
  font-family: var(--caps); font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-light);
  margin: 14px 0 0; min-height: 18px;
}

/* ================= 10. LUNA DE MIEL ================= */
.flight { position: relative; width: 260px; max-width: 100%; height: 80px; margin: 0 auto 6px; color: var(--olive); }
.flight__path { position: absolute; inset: 0; width: 260px; height: 80px; }
.flight__plane {
  position: absolute; left: 0; top: 0; width: 26px; height: 26px; color: var(--burgundy);
  offset-path: path('M8 62 C70 8 130 80 190 36 S252 18 256 22');
  offset-rotate: auto 45deg; animation: fly 6s ease-in-out infinite;
}
@keyframes fly { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.copy {
  margin-top: 22px; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
  max-width: 100%;
  border: 1px solid rgba(212, 175, 55, .65); border-radius: 999px;
  background: #fff; padding: 6px 6px 6px 18px;
  box-shadow: 0 8px 20px -12px rgba(74, 46, 34, .3);
  transition: box-shadow .3s, transform 120ms var(--ease-out);
}
.copy:active { transform: scale(.97); }
.copy__email { font-size: clamp(14.5px, 3.8vw, 18.5px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.copy__action {
  flex: none; font-family: var(--caps); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; background: var(--burgundy); color: var(--gold-light);
  border-radius: 999px; padding: 10px 14px;
}

/* ================= 11. RSVP (16px+ Mobile Inputs to Prevent iOS Auto-Zoom) ================= */
.rsvp-card {
  position: relative;
  background: var(--noise), linear-gradient(170deg, color-mix(in srgb, var(--burgundy) 90%, #fff), var(--burgundy) 45%, var(--burgundy-d));
  color: var(--ivory); border-radius: 28px;
  padding: clamp(42px, 8vw, 56px) clamp(18px, 5vw, 30px) clamp(36px, 7vw, 46px);
  box-shadow: 0 34px 64px -28px var(--burgundy-d), 0 0 0 1px rgba(212, 175, 55, .45);
}
.rsvp-card::before {
  content: ""; position: absolute; inset: 10px; border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, .5); pointer-events: none;
}
.deadline {
  display: inline-block; font-family: var(--caps); font-size: clamp(10px, 2.5vw, 11px); letter-spacing: .16em;
  text-transform: uppercase; margin: 16px 0 0; padding: 8px 16px;
  border: 1px solid rgba(212, 175, 55, .55); border-radius: 999px;
  color: var(--gold-light); background: rgba(0,0,0,.2);
  max-width: 100%;
}
.rsvp { text-align: left; display: grid; gap: 22px; margin-top: 28px; position: relative; }
.field { display: grid; gap: 6px; }
.field > span, .choice legend { font-family: var(--caps); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.field em { text-transform: none; letter-spacing: 0; font-family: var(--serif); font-size: 14px; color: var(--on-dark-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: max(16px, 1.15rem); /* Guarantees >= 16px on iOS Safari so page never zooms */
  color: var(--ivory);
  background: transparent; border: 0; border-bottom: 1px solid rgba(245, 230, 184, .42);
  padding: 10px 2px; border-radius: 0; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 78px; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-light) 50%), linear-gradient(135deg, var(--gold-light) 50%, transparent 50%);
  background-position: right 8px center, right 3px center; background-size: 5px 5px; background-repeat: no-repeat;
}
.field select option { color: var(--chocolate); }
.field input::placeholder, .field textarea::placeholder { color: rgba(246,240,228,.38); font-style: italic; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--champagne); }
.choice { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice legend { margin-bottom: 10px; padding: 0; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: block; text-align: center; padding: 14px 10px;
  border: 1px solid rgba(245, 230, 184, .42); border-radius: 10px;
  font-style: italic; font-size: 18px;
  transition: background .25s, color .25s, transform 120ms var(--ease-out), border-color .25s;
}
.choice label:active span { transform: scale(.97); }
.choice input:checked + span {
  background: var(--gold-grad); color: #24080e; border-color: var(--gold-light);
  font-weight: 600; transform: scale(1.02);
}
.choice input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.rsvp__yes { display: grid; gap: 20px; animation: fadeUp .6s var(--ease-out) both; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 8px; background: rgba(246,240,228,.16); font-size: 17px; }
.rsvp-thanks { margin-top: 26px; animation: fadeUp .9s var(--ease-out) both; }
.rsvp-thanks__seal {
  width: 98px; height: 98px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--gold-grad); color: #260910;
  border: 2px solid #fff;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.5);
  font-family: var(--script); font-size: 30px; animation: stamp .9s var(--ease-out) both;
}
.rsvp-thanks__text { font-size: 22px; font-style: italic; margin: 0 0 14px; }
@keyframes stamp { 0% { transform: scale(2.2) rotate(-20deg); opacity: 0; } 60% { transform: scale(.92); opacity: 1; } 100% { transform: none; } }
.link { background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; color: var(--gold-light); font-size: 16px; }
.rsvp-closed { font-size: 20px; font-style: italic; margin-top: 20px; }

/* ================= Pie Editorial con Retrato Circular ================= */
.footer {
  position: relative; margin-top: 90px;
  background: var(--noise), linear-gradient(180deg, #24130d, #120805);
  color: var(--ivory); text-align: center;
  padding: 84px 20px calc(116px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(212, 175, 55, .4);
}
.footer__portrait {
  width: 132px; height: 166px;
  margin: -134px auto 24px;
  border-radius: 999px;
  padding: 5px;
  background: var(--gold-grad);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.7);
  overflow: hidden;
}
.footer__portrait img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 999px;
}
.footer__closing { font-style: italic; margin: 0; color: var(--gold-light); font-size: 20px; }
.footer__names {
  font-family: var(--script); font-size: clamp(50px, 13vw, 80px);
  margin: 6px 0 12px; line-height: 1.08;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__note { margin: 0; color: var(--on-dark-soft); }
.footer__tag { font-family: var(--caps); font-size: 12px; letter-spacing: .32em; margin: 24px 0 0; color: var(--champagne); }

/* ================= Lightbox Fotográfico Pantalla Completa ================= */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(14, 4, 7, .94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; align-items: center; justify-content: center;
  padding: max(20px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  overscroll-behavior: contain;
  animation: fadeIn .35s var(--ease-out) both;
}
.lightbox__close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, .55);
  background: rgba(42, 14, 18, .85);
  color: var(--gold-light); font-size: 18px;
  display: grid; place-items: center;
}
.lightbox__close:active { transform: scale(.9); }
.lightbox__figure {
  margin: 0; max-width: min(860px, 94vw); max-height: 86dvh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox__img {
  max-height: 66dvh; width: auto; max-width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, .55);
  box-shadow: 0 28px 60px -16px rgba(0,0,0,.85);
  object-fit: contain;
}
.lightbox__cap {
  text-align: center; color: var(--ivory); max-width: 52ch;
}
.lightbox__cap strong {
  display: block; font-family: var(--script); font-weight: 400;
  font-size: clamp(32px, 8vw, 38px); color: var(--gold-light); line-height: 1.1; margin-bottom: 6px;
}
.lightbox__cap p { margin: 0; font-size: clamp(16px, 4vw, 18px); font-style: italic; color: var(--on-dark-soft); }

.toast {
  position: fixed; left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--chocolate-d); color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, .5);
  padding: 12px 22px; border-radius: 999px; font-size: 15.5px;
  max-width: calc(100vw - 32px); text-align: center;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.6);
  transition: opacity .4s, transform .4s var(--ease-out);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ================= Hover States Strictly Gated for Mouse/Trackpad Only ================= */
@media (hover: hover) and (pointer: fine) {
  .island-nav__link:hover {
    background: rgba(246, 240, 228, .12);
    color: var(--gold-light);
  }
  .island-nav__link--cta:hover {
    background: var(--gold-grad);
    color: #160408;
    transform: scale(1.04);
  }
  .seal:hover .seal__half { filter: brightness(1.14); }
  .card-tilt:hover .paper__glare { opacity: 1; }
  .slide__expand:hover { transform: scale(1.12); background: var(--burgundy); }
  .story__nav:hover { transform: scale(1.1); background: var(--burgundy); }
  .timeline li:hover {
    border-color: rgba(212, 175, 55, .72);
    background: rgba(212, 175, 55, .1);
    box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .55);
  }
  .place:hover .place__photo { transform: scale(1.09); }
  .dress:hover .dress__photo-arch img { transform: scale(1.07); }
  .dress__swatch:hover {
    transform: scale(1.22);
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, .45);
  }
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .btn__circle {
    transform: translate(2px, -1px) scale(1.06);
    background: rgba(255, 255, 255, .22);
  }
  .btn--burgundy:hover { background: var(--burgundy); color: var(--ivory); border-color: var(--burgundy); }
  .btn--gold-outline:hover {
    background: var(--gold-grad);
    color: #23080e;
    box-shadow: 0 10px 24px -10px rgba(212, 175, 55, .7);
  }
  .btn--burgundy-ghost:hover { background: var(--chocolate); color: var(--ivory); border-color: var(--chocolate); }
  .btn--solid:hover { background: var(--burgundy-d); }
  .btn--ivory:hover { box-shadow: 0 14px 32px -10px rgba(212, 175, 55, .65); }
  .copy:hover { box-shadow: 0 14px 28px -12px var(--burgundy); transform: translateY(-2px); }
}

/* ================= Responsive Mobile & Tablet Architecture ================= */
@media (max-width: 767px) {
  /* Bottom Thumb-Zone Dock on Mobile */
  .island-nav {
    top: auto;
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 20px);
    max-width: 430px;
    justify-content: space-between;
    padding: 5px 6px;
    transform: translate(-50%, 24px) scale(.94);
  }
  .island-nav__link {
    padding: 8px 10px;
    font-size: 9.5px;
    letter-spacing: .13em;
    flex: 1;
    text-align: center;
  }

  /* Move Vinyl & Back-to-Top above the bottom thumb dock */
  .vinyl {
    width: 52px; height: 52px;
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .fab--home {
    width: 44px; height: 44px;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(130px + env(safe-area-inset-bottom, 0px));
  }

  /* Cover & Hero Mobile Proportions */
  .cover {
    padding: calc(20px + env(safe-area-inset-top, 0px)) 10px calc(70px + env(safe-area-inset-bottom, 0px));
  }
  .cinema-hero { padding: 12px 12px 24px; }
  .cinema-hero__frame { border-radius: 24px; padding: 7px; }
  .cinema-hero__media {
    aspect-ratio: 4 / 5.2;
    min-height: 380px;
    max-height: 72svh;
    border-radius: 18px;
  }
  .cinema-hero__content { left: 10px; right: 10px; bottom: 14px; padding: 10px 8px; }
  .cinema-hero__meta { border-radius: 16px; padding: 8px 14px; line-height: 1.45; }

  /* Full-width Stacked Calendar Buttons on Mobile */
  .cal-actions { flex-direction: column; width: 100%; }
  .cal-actions .btn { width: 100%; justify-content: space-between; padding-left: 20px; }

  /* 3D Photo Deck Mobile Bounds (prevents horizontal overflow) */
  .story-stage { width: min(370px, 86vw); }
  .story__nav { width: 40px; height: 40px; margin-top: -20px; }
  .story__nav.prev { left: -12px; }
  .story__nav.next { right: -12px; }
  .slide.is-next { transform: translate3d(12px, 8px, -60px) rotate(2.6deg); }
  .slide.is-prev { transform: translate3d(-12px, 10px, -80px) rotate(-2.6deg); }

  /* Mobile Liquid-Gold Timeline */
  .timeline-wrap { padding-left: 14px; }
  .timeline-track { left: 22px; }
  .timeline li {
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding: 14px 14px;
  }
  .timeline svg { width: 42px; height: 42px; padding: 8px; }

  /* Places & Dress Code Mobile Cards */
  .places-grid { grid-template-columns: 1fr; gap: 24px; }
  .place .btn { width: 100%; justify-content: space-between; padding-left: 20px; }
  .copy { width: 100%; }
  .card-tilt { transform: none !important; }
}

/* Compact Smartphones (iPhone SE, 320px - 390px) */
@media (max-width: 390px) {
  .island-nav__link { padding: 7px 6px; font-size: 8.5px; letter-spacing: .09em; }
  .choice { grid-template-columns: 1fr; }
  .datebox__row span { letter-spacing: .14em; font-size: 9.5px; }
  .story-stage { width: 88vw; }
}

/* Short Viewport Landscape Phones */
@media (max-height: 640px) and (orientation: landscape) {
  .cover { padding-top: 20px; padding-bottom: 50px; }
  .stage { width: min(260px, 42vw); }
  .cinema-hero__media { aspect-ratio: 16 / 9; max-height: 82svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seal, .stage__hint, .scroll-hint i, .live-dot, .flight__plane, .cinema-hero__img, .cover__ambient-img, .cover__light-beam, .stage__crest { animation: none; }
  .stage.is-open .shimmer, .stage.is-open .polaroid, .stage.is-open .arch { animation: none; }
  .reveal, .reveal--tilt, .reveal--left, .reveal--right, .reveal--zoom, .reveal--up { transform: none; filter: none; }
  .vinyl.is-playing .vinyl__disc { animation: none; }
  .card-tilt { transform: none !important; }
}
