:root {
  --wine: #c65a4b;
  --wine-dark: #8a3527;
  --wine-soft: #e08a72;
  --ink: #5c3a30;
  --cream: #f6f0e5;
  --paper: #fff7e8;
  --muted: #8a746b;
  --gold: #c9986a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", Arial, sans-serif;
}

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

html {
  font-size: 16px;
}

body {
  min-width: 280px;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--wine);
  font-family: var(--sans);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 6px;
}

button:disabled {
  cursor: wait;
}

h1:focus {
  outline: none;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-image: url("fondo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.experience {
  display: grid;
  width: min(100%, 1900px);
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  margin: 0 auto;
  padding: 0 5.3%;
}

main {
  position: relative;
  min-height: 0;
}

.scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  height: 100%;
  gap: 3%;
  padding: 5% 10%;
  opacity: 1;
  transition: opacity 0.45s ease, filter 0.45s ease, transform 0.55s ease;
}

.scene[hidden] {
  display: none;
}

.scene.leaving {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(-12px);
}

.copy {
  position: relative;
  z-index: 2;
}

h1 {
  margin: 0 0 clamp(16px, 3vh, 34px);
  font-family: var(--serif);
  font-size: clamp(48px, min(5.8vw, 9.5vh), 100px);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -2.5px;
}

h1 em,
em {
  font-family: var(--serif);
  font-weight: 400;
}

h1 em {
  color: var(--wine-soft);
}

.description {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.65;
}

.occasion {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.action {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 17px;
  margin-top: clamp(22px, 4vh, 44px);
}

.primary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 14px 22px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--wine);
  color: #fff7eb;
  font-size: 14px;
  font-weight: 300;
  transition: background 0.25s, box-shadow 0.3s, transform 0.3s;
}

.primary::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, #fff2 45%, transparent 75%);
  content: "";
  transform: translateX(-100%);
  transition: transform 0.7s;
}

.primary:hover {
  background: var(--wine-dark);
  box-shadow: 0 10px 25px #c65a4b20;
  transform: translateY(-2px);
}

.primary:hover::before {
  transform: translateX(100%);
}

.reveal {
  animation: reveal 0.9s both;
}

.reveal:nth-child(2) {
  animation-delay: 0.08s;
}

.reveal:nth-child(3) {
  animation-delay: 0.18s;
}

.reveal:nth-child(4) {
  animation-delay: 0.27s;
}

.gift-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  perspective: 1400px;
}

.orbit {
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  border: 1px solid #c9986a32;
  border-radius: 50%;
}

.orbit::after {
  position: absolute;
  inset: 28px;
  border: 1px solid #c9986a14;
  border-radius: 50%;
  content: "";
}

.tilt-wrap {
  z-index: 1;
  width: min(74%, 340px);
  height: min(76%, 430px);
  perspective: 1200px;
  transform: rotate(-8deg);
  animation: float 7s ease-in-out infinite;
}

.gift-card {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--wine);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.25s;
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #d4c3a1;
  background: linear-gradient(120deg, #fffaf0, #eee2cc);
  box-shadow: 16px 25px 50px #45251a26;
  backface-visibility: hidden;
}

.card-back {
  background: var(--wine);
  transform: rotateY(180deg);
}

.card-front {
  padding: 7% 8%;
}

.card-photo-wrap {
  position: relative;
  z-index: 1;
  display: block;
  width: min(48%, 150px);
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  margin: 0 auto 6%;
  padding: 7px;
  background: #fffdf8;
  border: 1px solid #d4c3a1;
  box-shadow: 0 9px 20px #45251a20;
  transform: rotate(-2.5deg);
}

.card-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 1px solid #b5966433;
  filter: saturate(0.96) sepia(0.04);
}

.card-front::after {
  position: absolute;
  inset: 12px;
  border: 1px solid #b5966433;
  content: "";
  pointer-events: none;
}

.card-rule {
  width: 30px;
  height: 1px;
  margin: 7% 0;
  background: var(--gold);
}

.card-topline,
.card-bottomline {
  font-size: 9px;
  letter-spacing: 2.5px;
}

.card-heart {
  margin: 4% 0 5%;
  color: var(--wine-soft);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.card-message {
  margin-bottom: 7%;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 29px);
  line-height: 1.15;
}

.card-stamp {
  position: absolute;
  right: -24px;
  bottom: 7%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 72px;
  height: 72px;
  border: 4px double #c2926855;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 6px 12px #441c2826;
  color: #f8ecd6;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.1;
  transform: rotate(8deg);
}

.card-stamp em {
  font-size: 24px;
}

.touch-hint {
  position: absolute;
  bottom: 1%;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.3px;
  text-align: center;
}

.touch-hint span {
  margin-left: 10px;
}

.opening .gift-card {
  animation: openGift 0.72s ease-in forwards;
}

.opening .tilt-wrap {
  animation-play-state: paused;
}

.bouquet-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
}

.arch {
  position: absolute;
  bottom: 2%;
  width: 80%;
  height: 88%;
  overflow: hidden;
  border-radius: 48% 48% 0 0;
  background: linear-gradient(155deg, #d97a5e, #8a3527);
  box-shadow: inset 0 0 60px #45251a2b;
  animation: archReveal 1.1s both;
}

.arch::after {
  position: absolute;
  inset: 14px;
  border: 1px solid #ebd19d36;
  border-radius: 48% 48% 0 0;
  content: "";
}

.arch > span {
  position: absolute;
  top: 25%;
  left: 50%;
  color: #ebceb215;
  font-family: var(--serif);
  font-size: clamp(50px, 6vw, 110px);
  line-height: 0.9;
  text-align: center;
  transform: translateX(-50%);
}

.bouquet-float {
  position: relative;
  z-index: 1;
  width: 115%;
  height: 108%;
  animation: bouquetRise 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bouquet-image {
  position: relative;
  bottom: 20px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 13px #30131838);
  transform-origin: 50% 80%;
  animation: sway 8s ease-in-out 1.4s infinite;
}

.flower-caption {
  position: absolute;
  right: -2%;
  bottom: 0;
  z-index: 2;
  padding: 18px 23px;
  background: #fff7e8;
  box-shadow: 0 9px 20px #421e2017;
  transform: rotate(-9deg);
  animation: reveal 1s 0.6s both;
}

.flower-caption span {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
}

.flower-caption em {
  font-size: 34px;
}

.bouquet-footnote {
  position: absolute;
  bottom: 15px;
  left: 30%;
  z-index: 2;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

/* Carta final */
.letter {
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 15px 3%;
}

.letter-heading {
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  perspective: 1600px;
}

.book {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 560px;
  overflow: hidden;
  aspect-ratio: 1.63;
  filter: drop-shadow(10px 20px 20px #452c222b);
  transform: rotate(-2deg);
  animation: bookEnter 1s both;
}

.book::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 5;
  width: 24px;
  background: linear-gradient(90deg, #74533a18, #fff8edaa 46%, #66472f22);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.page {
  min-width: 0;
  min-height: 0;
  background: #faf1df;
}

/* --- Página izquierda: fondo con textura suave para que la foto
   "más chica" no quede flotando sola en un vacío --- */
.page-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(201, 152, 106, 0.16), transparent 42%),
    radial-gradient(circle at 85% 85%, rgba(198, 90, 75, 0.12), transparent 46%),
    linear-gradient(135deg, #fff9ed, #f0e1c6);
  transform-origin: right center;
  animation: unfold 1.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-left::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(140, 100, 70, 0.07) 1px, transparent 1px);
  background-size: 16px 16px;
  content: "";
  pointer-events: none;
}

/* --- Retrato tipo "polaroid": más pequeño, con marco, cintita
   decorativa arriba y sello con corazón abajo. Al reducir el tamaño
   y ponerle un marco, cualquier recorte de la foto se ve intencional
   en vez de un error, y ya no ocupa la página a sangre completa. --- */
.portrait-frame {
  position: relative;
  z-index: 1;
  width: 68%;
  max-width: 290px;
  aspect-ratio: 4 / 5;
  padding: 14px 14px 30px;
  background: #fffdf8;
  border-radius: 2px;
  box-shadow:
    0 22px 45px rgba(69, 37, 26, 0.24),
    0 4px 10px rgba(69, 37, 26, 0.12);
  transform: rotate(-4deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.book:hover .portrait-frame {
  transform: rotate(-1.5deg) translateY(-6px);
}

/* cintita de washi tape sobre el marco */
.portrait-frame::before {
  position: absolute;
  top: -11px;
  left: 50%;
  z-index: 3;
  width: 72px;
  height: 22px;
  background: linear-gradient(120deg, #c9986acc, #c65a4bcc);
  box-shadow: 0 3px 6px rgba(69, 37, 26, 0.25);
  content: "";
  opacity: 0.92;
  transform: translateX(-50%) rotate(-3deg);
}

/* viñeta suave para disimular fondo sobrante arriba de la foto */
.portrait-frame::after {
  position: absolute;
  inset: 14px 14px 30px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(92, 58, 48, 0.18) 0%, rgba(92, 58, 48, 0) 22%);
  content: "";
  pointer-events: none;
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(159, 118, 92, 0.3);
  object-fit: cover;
  object-position: 50% 78%;
  filter: saturate(1.03);
}

.portrait-glow {
  position: absolute;
  top: 4%;
  left: 4%;
  z-index: 0;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: #ffd87130;
  filter: blur(50px);
  pointer-events: none;
}

/* sello circular con corazón, como un cierre de carta */
.portrait-line {
  position: absolute;
  right: 8%;
  bottom: 10%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid #fff7e8;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 6px 14px rgba(69, 37, 26, 0.3);
  color: #f8ecd6;
  font-family: var(--serif);
  font-size: 16px;
  transform: rotate(8deg);
}

.portrait-line::before {
  content: "♡";
}

.page-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 5% 8%;
  background: linear-gradient(90deg, #d7c8b0, #f6eddb 7%, #fff7e8);
  text-align: center;
}

.page-right h1 {
  margin: 0 0 5%;
  font-size: clamp(34px, min(4vw, 6.6vh), 65px);
  line-height: 0.93;
  letter-spacing: -1.5px;
}

.page-right > p {
  margin: 0 0 5%;
  color: #8a5548;
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.35;
}

.signature {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
}

.signature em {
  font-size: 20px;
}

.signature strong {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
}

.signature span {
  width: 25px;
  height: 1px;
  margin-top: 5px;
  background: var(--gold);
}

.restart {
  justify-self: center;
  padding: 7px 2px;
  border: 0;
  border-bottom: 1px solid #c65a4b44;
  background: none;
  color: var(--wine);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.restart span {
  margin-left: 16px;
}

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

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

@keyframes sway {
  0%, 100% { transform: rotate(-1deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-9px); }
}

@keyframes openGift {
  to { opacity: 0; transform: rotateY(-120deg) scale(1.05); }
}

@keyframes archReveal {
  from { opacity: 0; transform: scale(0.9) translateY(25px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes bouquetRise {
  from { opacity: 0; transform: translateY(60px) rotate(6deg) scale(0.85); }
  to { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

@keyframes bookEnter {
  from { opacity: 0; transform: translateY(25px) rotate(-2deg) scale(0.96); }
  to { opacity: 1; transform: translateY(0) rotate(-2deg) scale(1); }
}

@keyframes unfold {
  from { opacity: 0.2; transform: rotateY(90deg); }
  to { opacity: 1; transform: rotateY(0); }
}

@media (max-width: 1000px) {
  .experience {
    padding: 0 4%;
  }

  .scene {
    gap: 2%;
    padding: 20px 2%;
  }

  .tilt-wrap {
    width: 75%;
    height: 70%;
  }

  .flower-caption {
    right: 0;
    padding: 14px 18px;
  }

  .letter {
    padding: 16px 0;
  }

  .book {
    max-height: 500px;
  }

  .page-right {
    padding: 4% 6%;
  }
}

@media (max-width: 640px) {
  .ambient {
    /* Coloca aquí la imagen de fondo diseñada específicamente para celular. */
    background-image: url("fondo-mobile.png");
    background-position: center center;
  }

  .experience {
    min-height: 100svh;
    height: auto;
    padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  }

  main {
    min-height: 100svh;
  }

  .scene {
    grid-template-columns: minmax(0, 1fr);
    min-height: 100svh;
    gap: 0;
    padding: max(26px, env(safe-area-inset-top)) 4px max(22px, env(safe-area-inset-bottom));
    text-align: center;
  }

  .copy {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  h1 {
    margin-bottom: 13px;
    font-size: clamp(39px, 12vw, 58px);
    line-height: 0.96;
    letter-spacing: -1.6px;
  }

  .intro h1 br:first-of-type,
  .flowers h1 br:first-of-type {
    display: none;
  }

  .description {
    font-size: clamp(13px, 3.8vw, 15px);
    line-height: 1.45;
  }

  .occasion {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.4;
  }

  .action {
    align-items: center;
    margin-top: 17px;
  }

  .primary {
    min-height: 44px;
    padding: 11px 20px;
    font-size: 12px;
  }

  .gift-stage {
    min-height: 320px;
    margin-top: 10px;
  }

  .tilt-wrap {
    width: auto;
    max-width: 210px;
    height: min(88%, 355px);
    aspect-ratio: 0.79;
  }

  .orbit {
    width: auto;
    height: min(100%, 370px);
  }

  .card-front {
    padding: 6% 7%;
  }

  .card-photo-wrap {
    width: 43%;
    max-width: 118px;
    margin-bottom: 5%;
    padding: 5px;
  }

  .card-heart {
    margin: 3% 0 4%;
    font-size: 30px;
  }

  .card-message {
    margin-bottom: 7%;
    font-size: 20px;
  }

  .card-topline,
  .card-bottomline {
    font-size: 6px;
    letter-spacing: 1.6px;
  }

  .card-rule {
    margin: 5% 0;
  }

  .card-stamp {
    right: -17px;
    bottom: 5%;
    width: 51px;
    height: 51px;
    font-size: 12px;
  }

  .card-stamp em {
    font-size: 19px;
  }

  .touch-hint {
    display: none;
  }

  .flowers .copy {
    z-index: 2;
  }

  .flowers h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .bouquet-stage {
    min-height: 310px;
    margin-top: 10px;
  }

  .arch {
    bottom: 0;
    width: 72%;
    height: 94%;
  }

  .bouquet-float {
    align-self: flex-end;
    width: 110%;
    height: 112%;
  }

  .flower-caption {
    right: 3%;
    bottom: 7%;
    padding: 10px 13px;
  }

  .flower-caption span {
    font-size: 6px;
    letter-spacing: 1.5px;
  }

  .flower-caption em {
    font-size: 25px;
  }

  .bouquet-footnote {
    display: none;
  }

  /* En móvil el libro se convierte en una tarjeta vertical, amplia y legible. */
  .letter {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 100svh;
    gap: 13px;
    padding: max(16px, env(safe-area-inset-top)) 0 max(14px, env(safe-area-inset-bottom));
  }

  .letter-heading {
    display: none;
  }

  .book-stage {
    align-items: stretch;
    min-height: 0;
  }

  .book {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(210px, 42%) minmax(0, 58%);
    width: min(100%, 430px);
    height: auto;
    max-height: none;
    margin: auto;
    overflow: hidden;
    border: 1px solid #d4c09c99;
    border-radius: 18px 18px 7px 7px;
    aspect-ratio: auto;
    box-shadow: 0 22px 60px #4f21322a;
    filter: none;
    transform: none;
  }

  .book::after {
    top: 42%;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 16px;
    background: linear-gradient(180deg, #47291e22, #fff8edb8 48%, #5c39241a);
    transform: translateY(-50%);
  }

  .page-left {
    min-height: 210px;
    transform-origin: center bottom;
  }

  .portrait-frame {
    width: 56%;
    max-width: 190px;
    padding: 10px 10px 22px;
    transform: rotate(-3deg);
  }

  .portrait-frame::before {
    top: -8px;
    width: 54px;
    height: 17px;
  }

  .portrait-frame::after {
    inset: 10px 10px 22px;
    background: linear-gradient(180deg, rgba(92, 58, 48, 0.18) 0%, rgba(92, 58, 48, 0) 22%);
  }

  .portrait-frame img {
    border-width: 1px;
    object-fit: cover;
    object-position: 50% 78%;
  }

  .portrait-line {
    right: 6%;
    bottom: 8%;
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .page-right {
    justify-content: center;
    min-height: 0;
    padding: clamp(18px, 4vh, 30px) clamp(20px, 7vw, 34px) 20px;
    background: linear-gradient(160deg, #fff9ed, #f7ecd7 88%);
  }

  .page-right h1 {
    margin-bottom: 10px;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 0.93;
    letter-spacing: -1px;
  }

  .page-right > p {
    margin-bottom: 10px;
    font-size: clamp(14px, 4.1vw, 17px);
    line-height: 1.25;
  }

  .page-right > p br {
    display: none;
  }

  .signature {
    gap: 4px;
  }

  .signature em {
    font-size: 18px;
  }

  .signature strong {
    font-size: 9px;
    letter-spacing: 2.5px;
  }

  .signature span {
    margin-top: 3px;
  }

  .restart {
    padding: 8px 2px;
    font-size: 11px;
  }
}

@media (max-width: 640px) and (max-height: 760px) {
  .scene:not(.letter) {
    min-height: 700px;
  }

  .letter {
    min-height: 700px;
  }

  .book {
    grid-template-rows: 245px minmax(0, 1fr);
  }

  .book::after {
    top: 245px;
  }

  .page-right {
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .page-right h1 {
    margin-bottom: 7px;
    font-size: 34px;
  }

  .page-right > p {
    margin-bottom: 7px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .card-photo-wrap {
    width: 40%;
    max-width: 102px;
    margin-bottom: 4%;
  }

  .card-heart {
    font-size: 27px;
  }

  .experience {
    padding-right: 12px;
    padding-left: 12px;
  }

  h1 {
    font-size: 38px;
  }

  .book {
    grid-template-rows: 225px minmax(0, 1fr);
  }

  .book::after {
    top: 225px;
  }

  .page-right {
    padding-right: 17px;
    padding-left: 17px;
  }

  .page-right h1 {
    font-size: 32px;
  }
}

@media (min-width: 641px) and (max-height: 720px) {
  .experience {
    min-height: 530px;
  }

  .scene {
    padding: 15px 1%;
  }

  h1 {
    font-size: clamp(40px, 7.8vh, 61px);
  }

  .description {
    font-size: 14px;
  }

  .action {
    margin-top: 19px;
  }

  .primary {
    min-height: 44px;
    font-size: 12px;
  }

  .occasion {
    margin-top: 10px;
    font-size: 12px;
  }

  .card-message {
    font-size: 23px;
  }

  .letter {
    gap: 8px;
    padding: 12px 0;
  }

  .page-right h1 {
    font-size: 38px;
  }

  .page-right > p {
    font-size: 16px;
  }
}

body.motion-paused *,
body.motion-paused *::before,
body.motion-paused *::after {
  animation-play-state: paused !important;
}

.motion-paused .reveal,
.motion-paused .bouquet-float,
.motion-paused .arch,
.motion-paused .flower-caption,
.motion-paused .book,
.motion-paused .page-left {
  opacity: 1 !important;
  animation: none !important;
}

.motion-paused .scene,
.motion-paused .gift-card {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}