/* ==========================================================================
   A Letter for You ♡
   ========================================================================== */

:root {
  --bg-0: #04050c;
  --bg-1: #080a1f;
  --midnight: #0d1233;
  --plum: #2a1440;
  --violet: #4b2a6e;

  --ivory: #f3ead8;
  --ivory-soft: rgba(243, 234, 216, 0.78);
  --ivory-mute: rgba(243, 234, 216, 0.52);
  --line: rgba(243, 234, 216, 0.14);

  --rose: #e8a5b4;
  --rose-deep: #b8566f;
  --gold: #e6cf9f;

  --font-ko: "Gowun Batang", "Nanum Myeongjo", "Apple SD Gothic Neo", "Noto Serif KR", "Malgun Gothic", serif;
  --font-latin: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-script: "Pinyon Script", "Cormorant Garamond", cursive;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.2, 1);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --gutter: clamp(18px, 5vw, 40px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg-0);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ivory);
  background:
    radial-gradient(120% 80% at 50% 0%, var(--midnight) 0%, var(--bg-1) 45%, var(--bg-0) 100%) fixed,
    var(--bg-0);
  font-family: var(--font-latin);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;              /* bloqueado hasta abrir la carta */
  overscroll-behavior-y: none;
}

body.is-reading { overflow-x: hidden; overflow-y: auto; }

:lang(ko) {
  font-family: var(--font-ko);
  word-break: keep-all;          /* saltos de línea naturales en coreano */
  overflow-wrap: break-word;
  line-break: strict;
}

:lang(es),
:lang(en) { font-family: var(--font-latin); }

button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }

[hidden] { display: none !important; }

::selection { background: rgba(232, 165, 180, 0.35); color: #fff; }

/* --------------------------------------------------------------------------
   Fondo
   -------------------------------------------------------------------------- */

.nebula,
.sky,
.petals,
.flash {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.nebula {
  z-index: 0;
  overflow: hidden;
}

.nebula::before,
.nebula::after {
  content: "";
  position: absolute;
  width: 90vmax;
  height: 90vmax;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  will-change: transform;
}

.nebula::before {
  left: -35vmax;
  top: -30vmax;
  background: radial-gradient(circle, rgba(75, 42, 110, 0.55) 0%, rgba(42, 20, 64, 0.25) 40%, transparent 70%);
  animation: drift-a 38s var(--ease-soft) infinite alternate;
}

.nebula::after {
  right: -40vmax;
  bottom: -35vmax;
  background: radial-gradient(circle, rgba(36, 52, 128, 0.45) 0%, rgba(184, 86, 111, 0.12) 45%, transparent 70%);
  animation: drift-b 46s var(--ease-soft) infinite alternate;
}

@keyframes drift-a { to { transform: translate3d(12vmax, 8vmax, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-10vmax, -12vmax, 0) scale(1.12); } }

.sky {
  z-index: 0;
  width: 100%;
  height: 100%;
}

.petals {
  z-index: 3;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -6vh;
  left: var(--x);
  width: var(--s);
  height: calc(var(--s) * 0.82);
  opacity: 0;
  animation: petal-fall var(--d) linear var(--delay) infinite;
  will-change: transform, opacity;
}

.petal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0 100% 0 100%;
  background: radial-gradient(circle at 28% 28%, #f7d0d8 0%, #e09aab 45%, #a94b63 100%);
  box-shadow: inset -1px -1px 3px rgba(80, 10, 30, 0.35);
  animation: petal-sway calc(var(--d) / 4) ease-in-out infinite alternate;
}

@keyframes petal-fall {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: var(--o); }
  88%  { opacity: var(--o); }
  100% { transform: translate3d(var(--dx), 112vh, 0) rotate(var(--r)); opacity: 0; }
}

@keyframes petal-sway {
  from { transform: rotateY(0deg) rotateX(18deg) translateX(0); }
  to   { transform: rotateY(68deg) rotateX(-18deg) translateX(16px); }
}

.flash {
  z-index: 30;
  opacity: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(255, 240, 245, 0.55) 0%, rgba(232, 165, 180, 0.18) 40%, transparent 75%);
}

.flash.is-on { animation: flash 1.6s var(--ease-soft) forwards; }

@keyframes flash {
  0%   { opacity: 0; transform: scale(0.6); }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.6); }
}

/* --------------------------------------------------------------------------
   Barra superior: reproductor + idioma
   -------------------------------------------------------------------------- */

.topbar {
  position: fixed;
  z-index: 20;
  top: calc(var(--safe-top) + 12px);
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.topbar > * { pointer-events: auto; }

.player,
.lang {
  display: flex;
  align-items: center;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 9, 26, 0.62);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.7);
  animation: fade-in 1.2s var(--ease-out) both;
}

.player {
  gap: 9px;
  padding: 0 14px 0 4px;
  min-width: 0;
}

.player__btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(232, 165, 180, 0.14);
  cursor: pointer;
  transition: background 0.3s;
}

.player__btn:hover { background: rgba(232, 165, 180, 0.26); }

.icon { width: 15px; height: 15px; fill: var(--ivory); }
.player .icon--pause { display: none; }
.player.is-playing .icon--pause { display: block; }
.player.is-playing .icon--play { display: none; }

.player__eq {
  flex: none;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.player__eq i {
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: var(--rose);
  transform-origin: bottom;
  transform: scaleY(0.2);
  opacity: 0.55;
  transition: transform 0.4s, opacity 0.4s;
}

.player.is-playing .player__eq i {
  opacity: 1;
  animation: eq 1.1s ease-in-out infinite alternate;
}

.player.is-playing .player__eq i:nth-child(2) { animation-duration: 0.8s; animation-delay: -0.3s; }
.player.is-playing .player__eq i:nth-child(3) { animation-duration: 1.3s; animation-delay: -0.6s; }
.player.is-playing .player__eq i:nth-child(4) { animation-duration: 0.95s; animation-delay: -0.15s; }

@keyframes eq {
  0%   { transform: scaleY(0.2); }
  100% { transform: scaleY(1); }
}

.player__title {
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--ivory-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player__volume {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 74px;
  height: 18px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.player__volume::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--rose) var(--fill, 55%), rgba(243, 234, 216, 0.2) var(--fill, 55%));
}

.player__volume::-moz-range-track {
  height: 2px;
  border-radius: 2px;
  background: rgba(243, 234, 216, 0.2);
}

.player__volume::-moz-range-progress { height: 2px; background: var(--rose); }

.player__volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 10px rgba(232, 165, 180, 0.7);
}

.player__volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 10px rgba(232, 165, 180, 0.7);
}

/* iOS no permite cambiar el volumen desde la web: se usa el del teléfono */
.player.no-volume .player__volume { display: none; }

.lang {
  flex: none;
  margin-left: auto;
  padding: 3px;
}

.lang button {
  height: 32px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ivory-mute);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.4s, color 0.4s;
}

.lang button[data-lang="ko"] { font-family: var(--font-ko); }
.lang button[data-lang="es"] { font-family: var(--font-latin); font-size: 0.95rem; }

.lang button[aria-pressed="true"] {
  background: rgba(232, 165, 180, 0.18);
  color: var(--ivory);
}

@media (max-width: 480px) {
  .player__title { display: none; }
  .player__volume { width: 64px; }
}

/* --------------------------------------------------------------------------
   Escenas (bienvenida y sobre)
   -------------------------------------------------------------------------- */

main { position: relative; z-index: 2; }

.scene {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--safe-top) + 24px) var(--gutter) calc(var(--safe-bottom) + 24px);
  text-align: center;
}

/* Bienvenida */

.welcome__inner {
  max-width: 34rem;
  transition: opacity 1.3s var(--ease-soft), transform 1.6s var(--ease-soft), filter 1.3s var(--ease-soft);
}

.welcome__inner > * {
  opacity: 0;
  animation: rise 1.8s var(--ease-out) forwards;
}

.welcome__inner > :nth-child(1) { animation-delay: 0.4s; }
.welcome__inner > :nth-child(2) { animation-delay: 1.1s; }
.welcome__inner > :nth-child(3) { animation-delay: 2s; }
.welcome__inner > :nth-child(4) { animation-delay: 2.8s; }
.welcome__inner > :nth-child(5) { animation-delay: 3.2s; }

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.eyebrow {
  margin: 0 0 2.2rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}

.eyebrow .heart { color: var(--rose); letter-spacing: 0; }

.welcome__ko {
  margin: 0;
  font-size: clamp(1.45rem, 1.05rem + 2.1vw, 2.15rem);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.01em;
  text-wrap: balance;
  text-shadow: 0 0 30px rgba(200, 180, 255, 0.25);
}

.welcome__es {
  margin: 1.4rem 0 0;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ivory-soft);
  text-wrap: balance;
}

.btn-glow {
  position: relative;
  margin-top: 3rem;
  padding: 1rem 2.3rem;
  border: 1px solid rgba(232, 165, 180, 0.5);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(232, 165, 180, 0.16), rgba(75, 42, 110, 0.28));
  font-family: var(--font-ko);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), border-color 0.5s, background 0.5s;
}

.btn-glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  box-shadow: 0 0 28px rgba(232, 165, 180, 0.35), 0 0 60px rgba(120, 80, 200, 0.18);
  animation: pulse 3.6s ease-in-out infinite;
}

.btn-glow:hover,
.btn-glow:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(243, 234, 216, 0.7);
  background: linear-gradient(135deg, rgba(232, 165, 180, 0.26), rgba(75, 42, 110, 0.38));
  outline: none;
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; }
}

.welcome__caption {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ivory-mute);
}

.scene--welcome.is-leaving .welcome__inner {
  opacity: 0;
  transform: scale(1.08) translateY(-12px);
  filter: blur(10px);
}

/* Sobre */

.scene--envelope {
  opacity: 0;
  transition: opacity 1.4s var(--ease-soft), transform 1.8s var(--ease-soft), filter 1.4s var(--ease-soft);
}

.scene--envelope.is-active { opacity: 1; }

.scene--envelope.is-leaving {
  opacity: 0;
  transform: scale(1.15);
  filter: blur(8px);
}

.envelope {
  --w: min(76vw, 360px);
  position: relative;
  width: var(--w);
  height: calc(var(--w) * 0.66);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  perspective: 1100px;
  animation: float 6s ease-in-out infinite;
}

.envelope:focus-visible { outline: 1px dashed var(--rose); outline-offset: 14px; border-radius: 6px; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50%      { transform: translateY(-10px) rotate(0.6deg); }
}

.envelope > span { position: absolute; display: block; }

.envelope__back {
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(165deg, #e9dcc3 0%, #cdb895 100%);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    0 0 70px rgba(232, 165, 180, 0.16);
}

.envelope__paper {
  z-index: 2;
  left: 7%;
  right: 7%;
  top: 6%;
  height: 88%;
  padding: 14% 10% 0;
  border-radius: 3px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 17px, rgba(120, 90, 70, 0.12) 17px 18px) 0 46% / 100% 50% no-repeat,
    linear-gradient(180deg, #fdf8ee, #f2e8d6);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 1.5s var(--ease-out) 0.75s;
}

.envelope__paper-title {
  display: block;
  font-family: var(--font-script);
  font-size: calc(var(--w) * 0.075);
  color: #8c4a5c;
  text-align: left;
  opacity: 0;
  transition: opacity 1s ease 1.4s;
}

.envelope.is-open .envelope__paper-title { opacity: 1; }

.envelope__front {
  z-index: 3;
  inset: 0;
  border-radius: 6px;
  background:
    linear-gradient(to top right, #d9c6a4 49.6%, transparent 50%) left / 50.5% 100% no-repeat,
    linear-gradient(to top left, #d4bf9c 49.6%, transparent 50%) right / 50.5% 100% no-repeat,
    linear-gradient(to top, #e2d2b4 0%, #d9c7a7 100%) bottom / 100% 45% no-repeat;
  clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%);
}

.envelope__flap {
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  height: 58%;
  background: linear-gradient(180deg, #e7d8bc 0%, #cbb592 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 1s var(--ease-soft), z-index 0s linear 0.5s;
}

.envelope__seal {
  z-index: 5;
  top: 58%;
  left: 50%;
  display: grid !important;
  place-items: center;
  width: calc(var(--w) * 0.14);
  height: calc(var(--w) * 0.14);
  margin: calc(var(--w) * -0.07) 0 0 calc(var(--w) * -0.07);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b8475f 0%, #7d2238 55%, #521426 100%);
  box-shadow: 0 3px 10px rgba(60, 0, 20, 0.5), inset 0 0 0 3px rgba(255, 255, 255, 0.06);
  color: #f6cfd8;
  font-size: calc(var(--w) * 0.06);
  transition: opacity 0.5s, transform 0.6s var(--ease-out);
}

.envelope.is-open { animation-play-state: paused; cursor: default; }
.envelope.is-open .envelope__seal { opacity: 0; transform: scale(0.6); }
.envelope.is-open .envelope__flap { transform: rotateX(180deg); z-index: 1; }
.envelope.is-open .envelope__paper { transform: translateY(-58%); }

.envelope__hint {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 3.2rem 0 0;
  transition: opacity 0.6s;
  animation: breathe 3.2s ease-in-out infinite;
}

.envelope__hint [lang="ko"] { font-size: 1rem; color: var(--ivory-soft); letter-spacing: 0.04em; }
.envelope__hint [lang="es"] { font-size: 1rem; font-style: italic; color: var(--ivory-mute); }

.scene--envelope.is-opened .envelope__hint { opacity: 0; animation: none; }

@keyframes breathe {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Carta
   -------------------------------------------------------------------------- */

.letter {
  position: relative;
  padding: calc(var(--safe-top) + 88px) var(--gutter) 6rem;
  animation: fade-in 1.6s var(--ease-soft) both;
}

.letter__paper {
  position: relative;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2.4rem, 7vw, 4.2rem) clamp(1.4rem, 6vw, 3.6rem) clamp(3rem, 8vw, 5rem);
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(20, 18, 46, 0.72) 0%, rgba(12, 11, 32, 0.66) 100%);
  box-shadow:
    0 40px 120px -40px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.letter__paper::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(230, 207, 159, 0.08);
  border-radius: 2px;
  pointer-events: none;
}

.letter__head { text-align: center; margin-bottom: 3rem; }

.letter__en {
  margin: 0;
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.65rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--gold);
}

.letter__en .ch {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.letter__en.is-typed .ch { opacity: 1; }

.letter__ko {
  margin: 1.1rem 0 0;
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.6rem);
  font-weight: 400;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.6s var(--ease-out), transform 1.6s var(--ease-out);
}

.letter__ko:focus { outline: none; }

.letter__head.is-ready .letter__ko { opacity: 1; transform: none; }

.letter__head .ornament {
  margin-top: 2rem;
  opacity: 0;
  transition: opacity 1.6s ease 0.6s;
}

.letter__head.is-ready .ornament { opacity: 1; }

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--rose);
  font-size: 0.75rem;
}

.ornament i {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 165, 180, 0.5));
}

.ornament i:last-child { transform: scaleX(-1); }

.letter__body { transition: opacity 0.45s var(--ease-soft); }
.letter__body.is-switching { opacity: 0; }

.para {
  margin: 0;
  white-space: pre-line;
  color: var(--ivory);
}

.para:lang(ko) {
  font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.16rem);
  line-height: 2.05;
  letter-spacing: -0.005em;
}

.para:lang(es) {
  font-family: var(--font-latin);
  font-size: clamp(1.18rem, 1.1rem + 0.4vw, 1.32rem);
  line-height: 1.8;
  font-weight: 400;
}

.sep {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  color: rgba(232, 165, 180, 0.55);
  font-size: 0.6rem;
  letter-spacing: 0.9em;
  padding-left: 0.9em;
}

.sep--major { margin: 3.2rem 0; }
.sep--major .ornament { width: 100%; }

/* Aparición suave al desplazarse */

.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(5px);
  transition:
    opacity 1.5s var(--ease-out),
    transform 1.5s var(--ease-out),
    filter 1.5s var(--ease-out);
}

.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.reveal.no-anim { transition: none; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(243, 234, 216, 0.1);
}

.scroll-cue span {
  display: block;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--rose));
  animation: cue 2.4s var(--ease-soft) infinite;
}

@keyframes cue {
  from { transform: translateY(-100%); }
  to   { transform: translateY(200%); }
}

/* --------------------------------------------------------------------------
   Final
   -------------------------------------------------------------------------- */

.finale {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 6rem var(--gutter) calc(var(--safe-bottom) + 7rem);
  overflow: hidden;
  text-align: center;
}

.finale__horizon {
  position: absolute;
  left: 50%;
  bottom: -55vmax;
  width: 150vmax;
  height: 90vmax;
  margin-left: -75vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 165, 180, 0.38) 0%, rgba(120, 70, 170, 0.22) 38%, rgba(30, 30, 90, 0.08) 65%, transparent 100%);
  opacity: 0;
  transform: translateY(12%) scale(0.9);
  transition: opacity 3.5s var(--ease-soft), transform 5s var(--ease-out);
  pointer-events: none;
}

.finale.is-visible .finale__horizon { opacity: 1; transform: none; }

.finale__inner { position: relative; max-width: 34rem; }

.finale__inner > * {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  filter: blur(6px);
  transition: opacity 2s var(--ease-out), transform 2s var(--ease-out), filter 2s var(--ease-out);
}

.finale.is-visible .finale__inner > * { opacity: 1; transform: none; filter: none; }
.finale.is-visible .finale__inner > :nth-child(2) { transition-delay: 0.5s; }
.finale.is-visible .finale__inner > :nth-child(3) { transition-delay: 2.2s; }
.finale.is-visible .finale__inner > :nth-child(4) { transition-delay: 3.6s; }
.finale.is-visible .finale__inner > :nth-child(5) { transition-delay: 4.6s; }

.finale__ko {
  margin: 2.4rem 0 0;
  font-size: clamp(1.18rem, 1rem + 0.9vw, 1.5rem);
  line-height: 2.1;
  text-wrap: pretty;
  text-shadow: 0 0 34px rgba(232, 165, 180, 0.22);
}

.finale__es {
  margin: 1.8rem 0 0;
  font-size: clamp(1.12rem, 1.02rem + 0.5vw, 1.32rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ivory-soft);
  text-wrap: pretty;
}

.finale__sincerity {
  margin: 3.6rem 0 0;
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.finale__name {
  margin: 0.6rem 0 0;
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 2rem + 2vw, 3.2rem);
  line-height: 1.2;
  color: var(--ivory);
  text-shadow: 0 0 24px rgba(230, 207, 159, 0.35);
}

/* --------------------------------------------------------------------------
   Movimiento reducido (accesibilidad)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.4s !important;
    transition-delay: 0s !important;
  }

  .petals,
  .scroll-cue { display: none; }
}
