/* ============================================================================
   style.css — Estilos comunes (idénticos en todas las plantillas de gtemplate/claude)
   Todo el color/tipografía sale de variables que define assets/css/theme.css:
     --bg --bg-alt --surface --surface-border --text --muted --head
     --accent --accent-2 --accent-contrast --shadow
     --font-display --font-script --font-body --radius
   ============================================================================ */

html { scroll-behavior: smooth; }
body.theme {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: clip;
}
body.intro-active { overflow: hidden; }
::selection { background: var(--accent); color: var(--accent-contrast); }

.font-display { font-family: var(--font-display); }
.font-script  { font-family: var(--font-script); font-weight: 400; }

/* ---------- Secciones ---------- */
.section { padding: 5rem 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.sec-head { text-align: center; margin-bottom: 3rem; }
.eyebrow {
  display: block; font-size: .75rem; font-weight: 600; letter-spacing: .25em;
  text-transform: uppercase; color: var(--accent);
}
.sec-title {
  font-family: var(--font-display); color: var(--head);
  font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.15; margin: .4rem 0 0;
}
.divider { display: block; width: min(220px, 60%); height: auto; margin: 1rem auto 0; color: var(--accent); }

/* ---------- Tarjetas ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.perspective3d { perspective: 1000px; }
.card-title { font-family: var(--font-display); color: var(--head); font-size: 1.35rem; margin: 0 0 .5rem; }
.person { color: var(--text); font-weight: 500; }
.role { color: var(--accent); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; }
.muted { color: var(--muted); font-size: .9rem; font-weight: 300; line-height: 1.6; }
.body-text { color: var(--muted); line-height: 1.8; font-weight: 300; }
.icon-badge {
  width: 3.5rem; height: 3.5rem; margin: 0 auto 1.25rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.icon-badge-lg { width: 4.25rem; height: 4.25rem; font-size: 1.6rem; }
.event-time { color: var(--accent); font-weight: 700; letter-spacing: .1em; margin-bottom: 1rem; }

.quote-icon { font-size: 2rem; color: var(--accent); opacity: .7; }
.quote-text { font-family: var(--font-display); color: var(--head); font-size: clamp(1.35rem, 4.5vw, 2rem); line-height: 1.4; margin-top: 1rem; }
.sign { font-size: 2.5rem; color: var(--accent); }

/* ---------- Botones e inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.6rem; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; letter-spacing: .05em; text-decoration: none;
  background: var(--accent); color: var(--accent-contrast);
  box-shadow: 0 8px 24px -10px var(--accent);
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:focus-visible, .custom-input:focus-visible, .choice:focus-within { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.btn-ghost { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); box-shadow: none; }

.field-label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.custom-input {
  width: 100%; padding: .9rem 1.1rem; border-radius: calc(var(--radius) / 2);
  border: 1px solid var(--surface-border); background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--text); font: inherit; transition: border-color .2s;
}
.custom-input::placeholder { color: var(--muted); opacity: .7; }
.custom-input:focus { border-color: var(--accent); outline: none; }
.custom-input[readonly] { opacity: .7; cursor: not-allowed; }
.choice {
  display: flex; align-items: center; gap: .75rem; padding: 1rem; cursor: pointer;
  border-radius: calc(var(--radius) / 2); border: 1px solid var(--surface-border);
  background: color-mix(in srgb, var(--bg) 60%, transparent); font-weight: 600; font-size: .9rem;
}
.choice input { accent-color: var(--accent); }
fieldset { border: 0; padding: 0; margin: 0; }

/* ---------- Contador ---------- */
.countdown_el { max-width: 32rem; margin: 2.5rem auto 0; }
.countdown_text { text-transform: uppercase; letter-spacing: .25em; font-weight: 600; color: var(--accent); margin-bottom: 1rem; }
.countdown-box {
  display: grid; text-align: center; padding: .9rem .25rem; border-radius: calc(var(--radius) / 1.5);
  background: var(--surface); border: 1px solid var(--surface-border); backdrop-filter: blur(8px);
}
.countdown-number { font-family: var(--font-display); font-size: clamp(1.6rem, 7vw, 2.4rem); color: var(--head); line-height: 1.1; }
.countdown-label { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Timeline (itinerario) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 1.5rem; width: 2px;
  background: linear-gradient(var(--accent), var(--accent-2));
}
.timeline-row { position: relative; padding: 0 0 1.5rem 4rem; opacity: 0; transform: translateX(-20px); transition: all .7s cubic-bezier(.16,1,.3,1); }
.timeline-row.animate-in { opacity: 1; transform: none; }
.timeline-dot {
  position: absolute; left: 0; top: .2rem; width: 3rem; height: 3rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-contrast); box-shadow: 0 0 0 6px var(--bg);
}
.timeline-card { padding: 1rem 1.25rem; }
.timeline-time { display: block; font-family: var(--font-display); color: var(--head); font-size: 1.25rem; }
.timeline-label { display: block; color: var(--muted); font-size: .9rem; }
@media (min-width: 768px) {
  .timeline::before { left: 50%; transform: translateX(-1px); }
  .timeline-row { width: 50%; padding: 0 3rem 2rem 0; text-align: right; }
  .timeline-row.is-right { margin-left: 50%; padding: 0 0 2rem 3rem; text-align: left; transform: translateX(20px); }
  .timeline-row.is-left .timeline-dot { left: auto; right: -1.5rem; }
  .timeline-row.is-right .timeline-dot { left: -1.5rem; }
  .timeline-row.animate-in { transform: none; }
}

/* ---------- Vestimenta ---------- */
.dress-icons { display: flex; justify-content: center; gap: 1rem; color: var(--accent); margin-bottom: .5rem; }
.dress-icons svg, .dress-icons i { width: 2.75rem; height: 2.75rem; font-size: 2.4rem; }
.dress-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--head); }
.forbidden-box { padding: 1.5rem; border-radius: calc(var(--radius) / 1.5); border: 1px dashed var(--surface-border); }
.forbidden-badge { display: inline-flex; gap: .5rem; align-items: center; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #dc2626; margin-bottom: 1rem; }
.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.swatch { display: grid; justify-items: center; gap: .4rem; font-size: .75rem; color: var(--muted); }
.swatch-circle { width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 2px solid var(--surface-border); box-shadow: var(--shadow); position: relative; }
.swatch-forbidden::after {
  content: ""; position: absolute; inset: -3px; border-radius: 999px;
  background: linear-gradient(45deg, transparent 46%, #dc2626 46%, #dc2626 54%, transparent 54%);
}

/* ---------- Galería ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.gallery-item { position: relative; overflow: hidden; border-radius: calc(var(--radius) / 1.5); cursor: pointer; aspect-ratio: 1; background: var(--bg-alt); }
.gallery-item img, .gallery-item canvas { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); pointer-events: none; }
.gallery-item:hover img, .gallery-item:hover canvas { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; background: color-mix(in srgb, var(--accent) 45%, transparent); opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---------- Parallax ---------- */
.parallax-section { position: relative; padding: 7rem 0; background-size: cover; background-position: center; background-attachment: fixed; overflow: hidden; }
@media (hover: none) { .parallax-section { background-attachment: scroll; } }
.parallax-shade { position: absolute; inset: 0; background: var(--parallax-shade, rgba(0,0,0,.55)); }
.parallax-content { position: relative; z-index: 1; }
.parallax-quote { font-family: var(--font-display); font-size: clamp(1.4rem, 4.5vw, 2rem); font-style: italic; color: #fff; line-height: 1.45; }
.parallax-sign { font-size: 2.4rem; color: var(--accent-2); margin-top: 1rem; }

/* ---------- Footer ---------- */
.footer { padding: 3.5rem 1rem; background: var(--bg-alt); border-top: 1px solid var(--surface-border); }
.footer-name { font-family: var(--font-display); font-size: 1.6rem; color: var(--head); margin-top: 1rem; }
.footer-sub { font-size: 2rem; color: var(--accent); }
.footer-tag { font-size: .75rem; letter-spacing: .25em; font-weight: 600; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }

/* ---------- Libro de recuerdos (sobrescribe el markup del core) ---------- */
.memory-card { background: var(--surface) !important; border: 1px solid var(--surface-border) !important; }
.memory-card h4 { color: var(--head) !important; font-family: var(--font-display) !important; }
.memory-card h4 i { color: var(--accent) !important; }
.memory-card span { color: var(--muted) !important; }
.memory-card p { color: var(--text) !important; }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); }
.modal-overlay.hidden { display: none; }

/* ---------- Intro (contenedor; el diseño interno lo define cada tema) ---------- */
.welcome-modal { position: fixed; inset: 0; z-index: 100; overflow: hidden; }

/* ---------- Audio ---------- */
.audio-control {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 110; display: flex; align-items: center; gap: .6rem;
  padding: .45rem .9rem .45rem .45rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--surface-border); backdrop-filter: blur(10px); box-shadow: var(--shadow);
}
.audio-btn { width: 2.5rem; height: 2.5rem; border: 0; border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-contrast); }
.audio-waves { display: flex; align-items: center; gap: 3px; height: 1.25rem; cursor: pointer; }
.wave-bar { width: 3px; height: 30%; border-radius: 2px; background: var(--accent); }
.audio-waves.playing .wave-bar { animation: wave 1s ease-in-out infinite; }
.audio-waves.playing .wave-bar:nth-child(2) { animation-delay: .15s; }
.audio-waves.playing .wave-bar:nth-child(3) { animation-delay: .3s; }
.audio-waves.playing .wave-bar:nth-child(4) { animation-delay: .45s; }
@keyframes wave { 0%, 100% { height: 30%; } 50% { height: 100%; } }

/* ---------- Revelado al hacer scroll ---------- */
[data-animate] { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
[data-animate].animate-in { opacity: 1; transform: none; }
[data-animate].animate-out { opacity: .25; transform: translateY(-20px) scale(.97); }

/* ---------- Lluvia de StarShower (cada tema puede cambiar el keyframe) ---------- */
.star-shower-container { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.star-falling { position: absolute; top: -4rem; pointer-events: none; will-change: transform, opacity; animation: starFall linear 1 forwards; }
@keyframes starFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  15% { opacity: 1; } 85% { opacity: .9; }
  100% { transform: translateY(105vh) rotate(360deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-animate], .timeline-row { opacity: 1; transform: none; }
}

/* ============================================================================
   SCROLL-DRIVEN ANIMATIONS (opt-in: $theme['scrollFx'] = true)
   https://scroll-driven-animations.style — las animaciones avanzan con el scroll:
   al bajar aparecen y al subir se deshacen (reversibles por naturaleza).
   Sin soporte (o con movimiento reducido) todo se muestra estático.
   ============================================================================ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [class*="sda-"]:not(.sda-progress) {
      animation: linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 35%;
    }
    .sda-up    { animation-name: sdaUp; }
    .sda-left  { animation-name: sdaLeft; }
    .sda-right { animation-name: sdaRight; }
    .sda-zoom  { animation-name: sdaZoom; }
    .sda-blur  { animation-name: sdaBlur; }
    .sda-flip  { animation-name: sdaFlip; }
    .sda-pop   { animation-name: sdaPop; }

    /* Barra de progreso de lectura */
    .sda-progress {
      position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 115; transform-origin: 0 50%;
      background: linear-gradient(90deg, var(--accent), var(--accent-2));
      animation: sdaGrow linear both; animation-timeline: scroll(root);
    }

    /* Sección horizontal: el contenedor mide N pantallas y la pista se desplaza con el scroll */
    .hscroll { height: calc(var(--hs-items, 5) * 55vh + 100vh); view-timeline-name: --hs; }
    .hscroll-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
    .hscroll-track { animation: sdaSlide linear both; animation-timeline: --hs; animation-range: contain 0% contain 100%; }
    .hs-rail span { animation: sdaGrow linear both; animation-timeline: --hs; animation-range: contain 0% contain 100%; }
  }
}
@keyframes sdaUp    { from { opacity: 0; transform: translateY(60px); } }
@keyframes sdaLeft  { from { opacity: 0; transform: translateX(-70px) rotate(-3deg); } }
@keyframes sdaRight { from { opacity: 0; transform: translateX(70px) rotate(3deg); } }
@keyframes sdaZoom  { from { opacity: 0; transform: scale(.8); } }
@keyframes sdaBlur  { from { opacity: 0; filter: blur(12px); transform: translateY(20px); } }
@keyframes sdaFlip  { from { opacity: 0; transform: perspective(800px) rotateX(70deg); } }
@keyframes sdaPop   { from { opacity: 0; transform: scale(.4) rotate(-20deg); } }
@keyframes sdaGrow  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sdaSlide { to { transform: translateX(calc(-100% + 100vw)); } }

/* Pista horizontal: base sin soporte = carrusel con scroll táctil */
.hscroll-sticky { padding: 4rem 0; }
.hscroll-track { display: flex; gap: 1.25rem; padding: 0 1.5rem; margin: 0; list-style: none; width: max-content; }
@supports not (animation-timeline: view()) {
  .hscroll-sticky { overflow-x: auto; scroll-snap-type: x mandatory; }
  .hscroll-track > * { scroll-snap-align: center; }
}
.hs-card { width: min(72vw, 280px); padding: 2rem 1.5rem; display: grid; justify-items: center; gap: .5rem; text-align: center; }
.hs-card .timeline-dot { position: static; box-shadow: none; }
.hs-step { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--accent); opacity: .25; }
.hs-rail { margin: 2rem auto 0; width: min(80vw, 420px); height: 3px; border-radius: 3px; background: var(--surface-border); overflow: hidden; }
.hs-rail span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; }
.hs-photo { width: min(70vw, 320px); aspect-ratio: 3/4; flex: none; }
.hs-photo:nth-child(even) { transform: translateY(2rem); }

/* ---------- Pase del invitado ---------- */
.guest-pass { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--surface-border); box-shadow: var(--shadow); overflow: hidden; text-align: center; }
.pass-head { padding: 1.5rem 1rem 1rem; background: color-mix(in srgb, var(--accent) 12%, transparent); border-bottom: 2px dashed var(--surface-border); }
.pass-name { font-size: 2.4rem; color: var(--head); }
.pass-body { display: grid; gap: .9rem; padding: 1.5rem; }
.pass-label { display: block; font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pass-value { font-family: var(--font-display); font-size: 1.25rem; color: var(--head); }
.pass-foot { padding: 0 1rem 1.5rem; font-size: .8rem; color: var(--accent); letter-spacing: .1em; }
.guest-pass::before, .guest-pass::after { content: ""; position: absolute; top: 5.6rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--bg); }
.guest-pass::before { left: -.75rem; } .guest-pass::after { right: -.75rem; }

/* ---------- Fecha para raspar ---------- */
.scratch-card { position: relative; width: min(80vw, 320px); aspect-ratio: 16/9; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 2px solid var(--surface-border); box-shadow: var(--shadow); }
.scratch-date { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .6rem; font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 3.4rem); color: var(--head); }
.scratch-date i { color: var(--accent); font-style: normal; }
.scratch-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; transition: opacity .6s ease; }
.scratch-canvas.is-done { opacity: 0; pointer-events: none; }

/* ---------- Calendario ---------- */
.cal-title { font-family: var(--font-display); color: var(--head); text-align: center; font-size: 1.4rem; margin-bottom: 1rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; text-align: center; font-size: .85rem; }
.cal-dow { font-size: .65rem; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.cal-day { padding: .4rem 0; color: var(--muted); border-radius: 999px; }
.cal-day.is-event { background: var(--accent); color: var(--accent-contrast); font-weight: 700; position: relative; }
.cal-day.is-event::after { content: "♥"; position: absolute; top: -.6rem; right: -.2rem; font-size: .7rem; color: var(--accent); }

/* ============================================================================
   SECCIONES OPCIONALES: cómo llegar, hoteles, playlist, hashtag
   ============================================================================ */
.route-map { margin-top: 1.25rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--surface-border); aspect-ratio: 4 / 3; }
.route-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.route-notes { margin-top: 1rem; font-size: .92rem; color: var(--muted); }
.route-notes i { color: var(--accent); }
.hotel-meta { margin: .5rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; display: grid; gap: .3rem; }
.hotel-meta i { color: var(--accent); width: 1.1em; }
.btn-sm { padding: .55rem 1rem; font-size: .82rem; }
.spotify-embed { width: 100%; border: 0; border-radius: 12px; display: block; }
.btn-spotify { background: #1db954; color: #fff; }
.hashtag-big { font-family: var(--font-display); font-size: clamp(1.9rem, 8vw, 3.2rem); color: var(--accent); line-height: 1.1; overflow-wrap: anywhere; }

/* ============================================================================
   LIBRO DE RECUERDOS: $memoryLayout = list | notes | chat | carousel
   ============================================================================ */
.memory-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1.25rem; }
.memory-notes .memory-card { margin: 0 !important; border-radius: 4px !important; position: relative; padding-top: 2rem !important;
  background: color-mix(in srgb, var(--accent-2) 22%, var(--surface)) !important; }
.memory-notes .memory-card::before { content: ""; position: absolute; top: 10px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 2px 3px rgba(0,0,0,.3); }
.memory-notes .memory-card:nth-child(odd) { rotate: -1.5deg; }
.memory-notes .memory-card:nth-child(even) { rotate: 1.5deg; }
.memory-notes .memory-card > div { flex-direction: column; gap: .25rem; }

.memory-chat { display: flex; flex-direction: column; gap: 1rem; max-height: 640px; overflow-y: auto; padding: .25rem; }
.memory-chat .memory-card { margin: 0 !important; max-width: 85%; border-radius: 1.25rem 1.25rem 1.25rem .25rem !important; align-self: flex-start; }
.memory-chat .memory-card:nth-child(even) { align-self: flex-end; border-radius: 1.25rem 1.25rem .25rem 1.25rem !important;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface)) !important; }

.memory-carousel { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1rem; overscroll-behavior-x: contain; }
.memory-carousel .memory-card { margin: 0 !important; flex: 0 0 min(82%, 320px); scroll-snap-align: center; }

/* Mensajes en horizontal (hscroll): se ven como la galería; la sección se oculta mientras no haya mensajes */
.hscroll-memory:has(.hscroll-track:empty) { display: none; }
.memory-hscroll { align-items: center; }
.memory-hscroll .memory-card { margin: 0 !important; flex: none; width: min(78vw, 320px); }
.memory-hscroll .memory-card:nth-child(even) { translate: 0 2rem; }

/* Si todos los elementos caben en pantalla: sin scroll extra, sin barra de avance y centrados (app.js pone .hs-fits) */
.hscroll.hs-fits { height: auto; }
.hs-fits .hscroll-sticky { position: static; height: auto; }
.hs-fits .hscroll-track { animation: none; transform: none; margin-inline: auto; }
.hs-fits .hs-rail { display: none; }

/* Libro de recuerdos: cada mensaje crece y aparece al entrar en pantalla (view-timeline, como en las invitaciones de referencia) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .memory-reveal .memory-card {
      view-timeline-name: --reveal;
      animation: showReveal linear both;
      animation-timeline: --reveal;
      animation-range: entry 20% cover 50%;
    }
  }
}
@keyframes showReveal { from { opacity: 0; scale: .1; } to { opacity: 1; scale: 1; } }
