@charset "UTF-8";

:root {
  --cream: #fffdf8;
  --paper: #faf5ec;
  --sand: #d9c4a5;
  --accent: #8a6345;
  --accent-dark: #5d402c;
  --ink: #3b2a20;
  --line: #b99b78;
  --background-image: url("Invitación vintage con rosas y anillos.webp");
  --intro-poster: url("intro-poster.webp");
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html {
  background: var(--cream);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: clip;
  color: var(--ink);
  background-color: var(--cream);
  background-image: var(--background-image);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  font-family: 'Cormorant Garamond', Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

body:not(.is-open) { overflow: hidden; }

button, a { font: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
button:focus, a:focus { outline: none; }

::selection { background: rgba(184, 155, 120, .35); color: var(--ink); }

:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 4px;
}

.falling {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.falling__item {
  position: absolute;
  top: -18vh;
  left: var(--left);
  width: var(--size);
  opacity: var(--opacity);
  animation: fallingFloat var(--duration) linear var(--delay) infinite;
  will-change: transform;
}

.falling__item svg { display: block; width: 100%; height: auto; }
.falling__item--ring { filter: drop-shadow(0 0 5px rgba(198, 166, 132, .5)); }
.falling__item--rose { filter: drop-shadow(0 3px 4px rgba(59, 42, 32, .16)); }

@media (max-width: 480px) {
  .falling__item--ring,
  .falling__item--rose { filter: none; }
}

@keyframes fallingFloat {
  from { transform: translate3d(0, -8vh, 0) rotate(0deg); }
  to { transform: translate3d(var(--drift), 118vh, 0) rotate(var(--spin)); }
}

@keyframes starTwinkle {
  from { opacity: .28; }
  to { opacity: .9; }
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  background-color: #2f2118;
  background-image: var(--intro-poster);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity .9s var(--ease-out), visibility .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
}

.intro[hidden] { display: none; }

.intro.is-leaving {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1%) scale(1.01);
  filter: blur(6px);
  pointer-events: none;
}

.intro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-aspect-ratio: 1/1) {
  .intro { display: flex; align-items: center; justify-content: center; }
  .intro__video { position: relative; width: auto; max-width: 100vw; height: 100%; object-fit: contain; }
}

.intro__sound,
.intro__skip {
  position: absolute;
  bottom: max(28px, env(safe-area-inset-bottom));
  z-index: 5;
  border: 1px solid rgba(255, 253, 248, .65);
  background: rgba(47, 33, 24, .55);
  color: #fffdf8;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform .25s ease, background .25s ease;
}

.intro__sound:hover,
.intro__skip:hover { transform: translateY(-2px); background: rgba(47, 33, 24, .78); }

.intro__sound {
  left: 24px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
}

.sound-icon svg { display: block; width: 20px; height: 20px; }
.sound-icon--on { display: none; }
.intro__sound.is-unmuted .sound-icon--on { display: block; }
.intro__sound.is-unmuted .sound-icon--off { display: none; }

.intro__skip {
  right: 24px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 54px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .28s var(--ease), box-shadow .28s ease, background .28s ease, border-color .28s ease;
}

.button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .42) 50%, transparent 68%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
  pointer-events: none;
}

.button:hover::after { transform: translateX(120%); }
.button:hover { transform: translateY(-2px); }

.button:focus-visible,
.language:focus-visible,
.intro__sound:focus-visible,
.intro__skip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.button--solid {
  border: 1px solid #7d5a3d;
  background: linear-gradient(135deg, #e8d8c0 0%, #b99b78 42%, #8a6345 100%);
  color: #fffdf8;
  box-shadow: 0 16px 34px rgba(93, 64, 44, .32), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(59, 42, 32, .25);
  text-shadow: 0 1px 2px rgba(59, 42, 32, .35);
}

.button--solid:hover { box-shadow: 0 20px 40px rgba(93, 64, 44, .42), inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(59, 42, 32, .25); }

.button--outline {
  border: 1px solid rgba(138, 99, 69, .75);
  background: rgba(255, 253, 248, .42);
  color: var(--ink);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 10px 24px rgba(59, 42, 32, .12);
}

.button--outline:hover {
  background: rgba(255, 253, 248, .72);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 14px 30px rgba(112, 79, 55, .22);
}

.site {
  position: relative;
  display: none;
}

.site.is-visible { display: block; animation: siteIn 1.15s var(--ease-out) both; }

.language {
  position: fixed;
  top: max(26px, env(safe-area-inset-top));
  right: max(26px, env(safe-area-inset-right));
  z-index: 20;
  min-width: 104px;
  padding: 9px 18px;
  border: 1px solid rgba(138, 99, 69, .7);
  border-radius: 999px;
  background: rgba(255, 253, 248, .6);
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 8px 22px rgba(59, 42, 32, .14);
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.language:hover { background: rgba(255, 253, 248, .85); transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 12px 26px rgba(112, 79, 55, .2); }

body:not(.is-open) .music { display: none; }

.music {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 20;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .45s ease, opacity .45s ease, transform .3s ease;
}

.music img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(59, 42, 32, .35));
}

.music:hover { opacity: .92; transform: scale(1.06); }
.music.is-playing { filter: grayscale(0); opacity: 1; }

body:not(.is-open) .scroll-hint { display: none; }

.scroll-hint {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform: translateX(-50%);
  color: var(--accent-dark);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  filter: drop-shadow(0 1px 3px rgba(255, 253, 248, .95));
  pointer-events: none;
  transition: opacity .4s ease, visibility .4s ease;
}

.scroll-hint.is-hidden { opacity: 0; visibility: hidden; }
.scroll-hint svg { width: 24px; height: 24px; animation: scrollBounce 1.6s ease-in-out infinite; }

.save-title-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 94svh;
  padding: clamp(64px, 8vw, 96px) 24px clamp(56px, 8vw, 88px);
  padding-top: max(clamp(64px, 8vw, 96px), env(safe-area-inset-top));
  padding-bottom: max(clamp(56px, 8vw, 88px), env(safe-area-inset-bottom));
  overflow: hidden;
  background-color: var(--cream);
  background-image: var(--background-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.save-title-section__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  text-align: center;
}

.save-title {
  margin: 0;
  padding-block: .26em;
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 15vw, 8rem);
  font-weight: 700;
  line-height: .86;
  letter-spacing: .1em;
  text-indent: .1em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #3b2a20 0%, #8a6345 22%, #f6e7c8 48%, #8a6345 74%, #3b2a20 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .95)) drop-shadow(0 0 30px rgba(255, 246, 220, .9));
  animation: shine 6s ease-in-out infinite;
}

.save-title span { display: block; }

.save-title-section .ornament { margin: clamp(18px, 3vw, 30px) auto 0; }

.section-divider {
  position: relative;
  z-index: 2;
  height: clamp(10px, 1.4vw, 14px);
  background: linear-gradient(180deg, #8a6345, #5d402c);
  box-shadow: 0 1px 0 rgba(255, 253, 248, .42), 0 -1px 0 rgba(59, 42, 32, .22);
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #fff8e7;
  box-shadow: 0 0 0 3px #5d402c, 0 3px 12px rgba(59, 42, 32, .28);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(48px, 6vw, 72px) 24px clamp(56px, 7vw, 80px);
  padding-top: max(clamp(48px, 6vw, 72px), env(safe-area-inset-top));
  padding-bottom: max(clamp(56px, 7vw, 80px), env(safe-area-inset-bottom));
  overflow: hidden;
  background-color: var(--cream);
  background-image: url("pareja.jpeg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(185, 155, 120, .9) 35%, transparent 72%);
  opacity: .55;
  animation: floatParticle var(--duration) ease-in-out var(--delay) infinite;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: space-between;
  gap: clamp(24px, 4svh, 48px);
  width: 100%;
  max-width: 820px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.hero__title {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: .96;
}

.hero__names {
  padding-block: .20em;
  font-family: 'Parisienne', cursive;
  font-size: clamp(3.4rem, 14vw, 7rem);
  font-weight: 400;
  background: linear-gradient(120deg, #3b2a20 0%, #8a6345 24%, #f6e7c8 48%, #8a6345 72%, #3b2a20 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .95)) drop-shadow(0 0 24px rgba(255, 246, 220, .9));
  animation: shine 6s ease-in-out infinite;
}

.hero__verb {
  margin-top: .12em;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 5vw, 2.6rem);
  font-style: italic;
  color: var(--accent-dark);
}

.hero__note {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  padding: clamp(12px, 1.5vw, 18px) clamp(16px, 2vw, 24px);
  border-radius: 16px;
  color: var(--ink);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .95), 0 2px 14px rgba(255, 253, 248, .9);
  background: radial-gradient(ellipse at center, rgba(255, 253, 248, .94) 0%, rgba(255, 253, 248, .66) 55%, transparent 78%);
}

.date-section {
  position: relative;
  overflow: clip;
  padding: clamp(64px, 10vw, 110px) 0;
  background: linear-gradient(180deg, #fffdf8 0%, #fffaf2 100%);
}

.panel {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px);
  text-align: center;
  background: transparent;
}

.panel > *:not(.panel__florals) { position: relative; z-index: 2; }

.panel__florals {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.panel-floral {
  position: absolute;
  width: clamp(74px, 12vw, 124px);
  height: auto;
  opacity: .85;
}

.panel-floral--tl { top: 0; left: 0; }
.panel-floral--tr { top: 0; right: 0; transform: scaleX(-1); }
.panel-floral--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.panel-floral--br { bottom: 0; right: 0; transform: scale(-1); }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

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

.date__display {
  position: relative;
  margin: clamp(22px, 4vw, 34px) auto 0;
  padding: clamp(10px, 2vw, 18px) 0;
}

.date__display::before {
  content: '';
  position: absolute;
  inset: -18% -6%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 244, 214, .85) 0%, rgba(255, 250, 236, .45) 42%, transparent 72%);
  pointer-events: none;
}

.date {
  margin: 0;
  padding-block: .16em;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 10vw, 5.4rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.05;
  background: linear-gradient(135deg, #2f2118 0%, #5d402c 30%, #8a6345 50%, #5d402c 70%, #2f2118 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .95)) drop-shadow(0 0 24px rgba(255, 246, 220, .9));
  animation: shine 6s ease-in-out infinite;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 26px 0;
  color: var(--accent);
}

.ornament::before,
.ornament::after {
  content: '';
  width: min(80px, 18vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138, 99, 69, .7), transparent);
}

.calendar__label {
  margin: 32px 0 14px;
  color: var(--accent-dark);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
}

.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

footer {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 96px) 24px clamp(64px, 9vw, 104px);
  padding-bottom: max(clamp(64px, 9vw, 104px), env(safe-area-inset-bottom));
  text-align: center;
  color: #fff8e7;
  background: radial-gradient(ellipse at 50% 0%, #6b4a32 0%, #4a3223 48%, #33231a 100%);
}

footer::before,
footer::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

footer::before {
  background-image:
    radial-gradient(circle at 12% 24%, rgba(255, 248, 224, .95) 0 1.3px, transparent 1.9px),
    radial-gradient(circle at 28% 68%, rgba(255, 248, 224, .9) 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 41% 32%, rgba(255, 248, 224, .8) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 57% 74%, rgba(255, 248, 224, .95) 0 1.4px, transparent 2px),
    radial-gradient(circle at 73% 28%, rgba(255, 248, 224, .85) 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 88% 62%, rgba(255, 248, 224, .9) 0 1.3px, transparent 1.9px);
  opacity: .7;
  animation: starTwinkle 3.8s ease-in-out infinite alternate;
}

footer::after {
  background-image:
    radial-gradient(circle at 20% 82%, rgba(255, 253, 248, .9) 0 1px, transparent 1.6px),
    radial-gradient(circle at 35% 16%, rgba(255, 253, 248, .85) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 64% 20%, rgba(255, 253, 248, .9) 0 1px, transparent 1.6px),
    radial-gradient(circle at 81% 78%, rgba(255, 253, 248, .8) 0 1.3px, transparent 1.9px);
  opacity: .45;
  animation: starTwinkle 5.2s ease-in-out .8s infinite alternate-reverse;
}

.footer__sign,
.footer__note { position: relative; z-index: 2; }

.footer__sign {
  margin: 0 0 8px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-style: italic;
  color: #fff8e7;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}

.footer__note {
  margin: 0;
  color: rgba(255, 248, 231, .78);
  font-size: .95rem;
  font-style: italic;
  letter-spacing: .06em;
}

.confetti {
  position: fixed;
  inset: 0;
  z-index: 35;
  overflow: hidden;
  pointer-events: none;
}

.confetti__piece {
  position: absolute;
  top: -24px;
  left: var(--left);
  width: var(--width);
  height: var(--height);
  border-radius: var(--radius);
  background: var(--color);
  animation: confettiFall var(--duration) cubic-bezier(.4, .1, .6, 1) var(--delay) forwards;
}

@keyframes shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes siteIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes floatParticle {
  0% { transform: translate(0, 0) scale(.8); opacity: .2; }
  40% { transform: translate(var(--x), var(--y)) scale(1.2); opacity: .75; }
  100% { transform: translate(calc(var(--x) * -1), calc(var(--y) * -1)) scale(.8); opacity: .25; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(2px); opacity: .7; }
  50% { transform: translateY(-4px); opacity: 1; }
}

@keyframes confettiFall {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg); }
  8% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--drift), 112vh, 0) rotate(var(--spin)); }
}

@media (min-width: 820px) {
  :root { --content-width: 1120px; }

  .save-title-section {
    min-height: 90svh;
    padding: clamp(64px, 7vw, 88px) 32px clamp(52px, 6vw, 72px);
  }

  .save-title-section__inner { max-width: var(--content-width); }
  .save-title {
    font-size: clamp(4rem, 9vw, 7.5rem);
    line-height: .9;
  }

  .section-divider {
    width: min(100%, var(--content-width));
    height: 12px;
    margin: 0 auto;
  }

  .hero {
    padding: clamp(56px, 6vw, 76px) 32px clamp(64px, 7vw, 84px);
  }

  .hero__inner {
    align-items: center;
    gap: clamp(24px, 5svh, 56px);
    max-width: var(--content-width);
  }

  .hero__title {
    max-width: 900px;
    margin: 0 auto;
  }

  .hero__names {
    font-size: clamp(4.2rem, 7vw, 6rem);
    line-height: 1;
  }

  .hero__verb {
    margin-top: .18em;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  }

  .hero__note {
    max-width: 62ch;
    margin: 0 auto;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 1.05rem;
    line-height: 1.55;
    text-align: center;
  }

  .date-section {
    padding: clamp(72px, 8vw, 96px) 24px;
  }

  .panel {
    max-width: var(--content-width);
    padding: clamp(48px, 6vw, 72px);
  }

  .panel-floral { width: clamp(88px, 9vw, 120px); }

  .date__display::before { inset: -12% -6%; }

  .date {
    font-size: clamp(3rem, 6vw, 4.6rem);
  }

  .calendar__label {
    margin: 28px 0 14px;
    font-size: 1.05rem;
  }

  .calendar-actions { gap: 16px; }

  .button {
    min-height: 52px;
    padding: 13px 30px;
    font-size: .78rem;
  }

  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: clamp(72px, 8vw, 96px) 32px;
    text-align: center;
  }

  footer > * {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }

  .footer__sign { font-size: 1.6rem; }
  .footer__note { font-size: 1rem; }
}

@media (max-width: 480px) {
  .language { top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); min-width: 90px; padding: 8px 14px; }
  .music { right: max(12px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  .intro__sound { left: 16px; }
  .intro__skip { right: 16px; }
  .intro__video { object-position: center; }

  .save-title-section {
    min-height: 100svh;
    padding-inline: 16px;
  }

  .save-title {
    font-size: clamp(3.1rem, 14.5vw, 4.4rem);
    line-height: .9;
    letter-spacing: .08em;
    text-indent: .08em;
  }

  .hero {
    min-height: 92svh;
    padding-inline: 18px;
    background-position: center 38%;
  }

  .hero__inner { gap: clamp(24px, 5svh, 48px); }

  .hero__names { font-size: clamp(2.1rem, 10.8vw, 4.2rem); line-height: 1.05; }
  .hero__verb { font-size: clamp(1.35rem, 5.2vw, 1.9rem); }

  .hero__note {
    max-width: 100%;
    padding: 12px 14px;
    font-size: clamp(1.02rem, 4vw, 1.2rem);
    line-height: 1.5;
  }

  .panel { padding: 30px 18px; }
  .panel-floral { width: 58px; opacity: .6; }

  .date__display::before { inset: -14% -4%; }

  .date {
    font-size: clamp(2rem, 8.6vw, 2.7rem);
    line-height: 1.12;
    text-wrap: balance;
    overflow-wrap: break-word;
  }

  .calendar__label { margin: 26px 0 12px; font-size: .95rem; }
  .calendar-actions { gap: 10px; }

  .button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 50px;
    padding: 12px 10px;
    font-size: .7rem;
    letter-spacing: .1em;
  }
}

@media (max-width: 379px) {
  .save-title { font-size: 13.8vw; }
  .hero__names { font-size: 10.4vw; }
  .date { font-size: 8vw; }
  .calendar-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
