/* =====================================================================
   Brillaluche · styles.css
   Paleta cálida, romántica, tipografía Cormorant Garamond + Manrope.
   ===================================================================== */

:root {
  --cream: #fbf5ec;
  --cream-deep: #f4e8d3;
  --rose: #f0c4b3;
  --rose-soft: #f4d4c1;
  --gold: #c9954a;
  --gold-soft: #e4b86b;
  --gold-glow: #fff3d8;
  --terracotta: #cf8a6f;
  --sky: #cfd9e6;
  --ink: #3a2e26;
  --ink-soft: #6b574a;
  --ink-faint: #a07f5f;

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: 8rem;

  --radius: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 18px 40px -24px rgba(58, 46, 38, 0.25),
    0 4px 12px -8px rgba(58, 46, 38, 0.18);
  --shadow-warm: 0 30px 60px -30px rgba(201, 149, 74, 0.45),
    0 8px 24px -16px rgba(58, 46, 38, 0.25);

  --max-width: 1180px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.9s;
}

/* ====================== Reset ligero ====================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  background-image: radial-gradient(
      1200px 700px at 80% -10%,
      rgba(228, 184, 107, 0.18),
      transparent 60%
    ),
    radial-gradient(900px 600px at -10% 30%, rgba(240, 196, 179, 0.25), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #f7ecdc 40%, var(--cream) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*
 * Auroras de fondo: tres orbes cálidos describen elipses continuas por
 * toda la pantalla. Por qué este sistema y no el anterior:
 *  - Antes (3 keyframes con ease-in-out): los orbes paraban en cada
 *    keyframe y reanudaban → 3 pulsos abruptos por ciclo.
 *  - Ahora (9 keyframes equiespaciados + linear): cada orbe sigue una
 *    elipse cerrada (vuelve a su origen sin saltos). Linear mantiene
 *    velocidad constante: sin desaceleraciones, sin "tirones".
 *  - 9 waypoints cada 45° aproximan una elipse perfecta sin que se
 *    perciban las esquinas del octógono.
 *  - Ciclo de 38s (coprimo con 5.5s bombillas y 7s cable) → nunca hay
 *    sincronía entre capas.
 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /*
   * `closest-side at center` ajusta el radio del círculo exactamente al
   * lado más cercano del tile, así el alpha llega a 0 justo en el borde
   * del tile (antes el círculo excedía el tile y cortaba con alpha~0.07,
   * lo que dejaba una línea visible).
   *
   * 4 paradas (32 → 22 → 12 → 4 → 0) aproximan una caída exponencial.
   * Es mucho más suave que las 2 paradas lineales anteriores y se mezcla
   * con el fondo sin que se aprecie el borde del orbe.
   */
  background-image:
    radial-gradient(
      circle closest-side at center,
      rgba(228, 184, 107, 0.32) 0%,
      rgba(228, 184, 107, 0.22) 25%,
      rgba(228, 184, 107, 0.12) 50%,
      rgba(228, 184, 107, 0.04) 75%,
      transparent 100%
    ),
    radial-gradient(
      circle closest-side at center,
      rgba(207, 138, 111, 0.26) 0%,
      rgba(207, 138, 111, 0.18) 25%,
      rgba(207, 138, 111, 0.10) 50%,
      rgba(207, 138, 111, 0.03) 75%,
      transparent 100%
    ),
    radial-gradient(
      circle closest-side at center,
      rgba(244, 200, 184, 0.28) 0%,
      rgba(244, 200, 184, 0.19) 25%,
      rgba(244, 200, 184, 0.10) 50%,
      rgba(244, 200, 184, 0.03) 75%,
      transparent 100%
    );
  background-repeat: no-repeat;
  background-position: 32% 35%, 89% 60%, 65% 85%;
  animation: ambientDrift 38s linear infinite;
  will-change: background-position, background-size;
}

/*
 * Elipses (centro, radio_x, radio_y):
 *  - Orbe 1 (dorado):    (20%, 35%) · 12% × 10%
 *  - Orbe 2 (terracota): (75%, 60%) · 14% × 13%
 *  - Orbe 3 (rosa):      (50%, 85%) · 15% × 10%
 * Tamaños oscilan sinusoidalmente ±40-50px sin abruptos.
 */
@keyframes ambientDrift {
  0%   {
    background-position: 32% 35%, 89% 60%, 65% 85%;
    background-size: 440px 440px, 500px 500px, 380px 380px;
  }
  12.5% {
    background-position: 28% 42%, 85% 69%, 61% 92%;
    background-size: 468px 468px, 535px 535px, 401px 401px;
  }
  25%  {
    background-position: 20% 45%, 75% 73%, 50% 95%;
    background-size: 480px 480px, 550px 550px, 410px 410px;
  }
  37.5% {
    background-position: 12% 42%, 65% 69%, 39% 92%;
    background-size: 468px 468px, 535px 535px, 401px 401px;
  }
  50%  {
    background-position:  8% 35%, 61% 60%, 35% 85%;
    background-size: 440px 440px, 500px 500px, 380px 380px;
  }
  62.5% {
    background-position: 12% 28%, 65% 51%, 39% 78%;
    background-size: 412px 412px, 465px 465px, 359px 359px;
  }
  75%  {
    background-position: 20% 25%, 75% 47%, 50% 75%;
    background-size: 400px 400px, 450px 450px, 350px 350px;
  }
  87.5% {
    background-position: 28% 28%, 85% 51%, 61% 78%;
    background-size: 412px 412px, 465px 465px, 359px 359px;
  }
  100% {
    background-position: 32% 35%, 89% 60%, 65% 85%;
    background-size: 440px 440px, 500px 500px, 380px 380px;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: var(--ink);
  text-decoration-color: rgba(201, 149, 74, 0.5);
  text-underline-offset: 4px;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* ====================== A11y helpers ====================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  z-index: 100;
  text-decoration: none;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ====================== Tipografía ====================== */
.title-display,
.title-section,
.meaning-title {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.title-display {
  font-size: clamp(3.5rem, 6vw + 1rem, 6.5rem);
  line-height: 1.02;
  margin: 0.2em 0 0.4em;
  font-weight: 500;
  background: linear-gradient(135deg, var(--ink) 0%, var(--gold) 60%, var(--terracotta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-section {
  font-size: clamp(2rem, 2.5vw + 1rem, 3.4rem);
  line-height: 1.12;
  margin: 0.1em 0 0.6em;
}

.title-section--big {
  font-size: clamp(2.4rem, 3.5vw + 1rem, 4.6rem);
}

.subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 0.8vw + 1rem, 1.65rem);
  color: var(--ink-soft);
  margin: 0 0 1.2rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.6rem;
}

.eyebrow--gold {
  color: var(--gold);
}

.eyebrow--terracotta {
  color: var(--terracotta);
}

.lede {
  font-size: clamp(1.05rem, 0.2vw + 1rem, 1.18rem);
  max-width: 56ch;
  color: var(--ink-soft);
}

em {
  color: var(--gold);
  font-style: italic;
}

/* ====================== Guirnalda superior ====================== */
/*
 * Animación con "respiración" humana:
 *  - Las bombillas comparten un ciclo de ~5.5s (inhalar lento, mantener,
 *    exhalar lento) con un microdesfase de 0.05s por bombilla para que
 *    no parezca un parpadeo robótico totalmente síncrono.
 *  - El cable (.string-lights) se balancea suavemente en ~7s con un
 *    desplazamiento vertical de 3px, como si el aire lo moviera.
 *  - Los ciclos no son múltiplos entre sí (5.5 vs 7), así que las dos
 *    capas entran y salen de fase con el tiempo y nunca se ve un patrón.
 */
.string-lights {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 5;
  animation: garlandBreath 7s ease-in-out infinite;
  transform-origin: 50% 0;
  will-change: transform;
}

.string-lights svg {
  width: 100%;
  height: 100%;
}

.string-lights .bulbs {
  position: absolute;
  inset: 0;
}

/*
 * Bombillas con forma de pera (más altas que anchas) y casquillo
 * oscuro arriba (::before) que las "enchufa" al cable.
 * Tamaño 12×16, transform-origin arriba para que al respirar crezcan
 * hacia abajo (como bombilla que cuelga, no como pelota que palpita).
 */
.bulb {
  position: absolute;
  width: 12px;
  height: 16px;
  border-radius: 50% 50% 48% 48% / 55% 55% 45% 45%;
  background: radial-gradient(ellipse at 35% 30%, var(--gold-glow), var(--gold-soft) 55%, var(--gold) 100%);
  box-shadow: 0 0 14px rgba(228, 184, 107, 0.85), 0 0 24px rgba(228, 184, 107, 0.45);
  transform-origin: 50% 0;
  animation: bulbBreath 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.05s);
  will-change: opacity, transform, filter;
  translate: -50% 0; /* el .left/% es el centro x del cable, no la esquina */
}

/* Casquillo: pequeña pieza oscura que une la bombilla al cable */
.bulb::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 4px;
  background: #4a3a2e;
  opacity: 0.85;
  border-radius: 1.5px 1.5px 1px 1px;
}

/* Posiciones sobre el cable: y_cable = 18 + 88·t·(1−t) por arco de 300 px
 * top = y_cable + 1  (casquillo atravesando el cable)
 * left es el centro x de la bombilla (el translate -50% la centra)
 */
.bulb:nth-child(1)  { left: 5%;    top: 33px; } /* arco 1, x≈60   */
.bulb:nth-child(2)  { left: 12.5%; top: 41px; } /* arco 1, valle  */
.bulb:nth-child(3)  { left: 20%;   top: 33px; } /* arco 1, x≈240  */
.bulb:nth-child(4)  { left: 30%;   top: 33px; } /* arco 2, x≈360  */
.bulb:nth-child(5)  { left: 37.5%; top: 41px; } /* arco 2, valle  */
.bulb:nth-child(6)  { left: 45%;   top: 33px; } /* arco 2, x≈540  */
.bulb:nth-child(7)  { left: 55%;   top: 33px; } /* arco 3, x≈660  */
.bulb:nth-child(8)  { left: 62.5%; top: 41px; } /* arco 3, valle  */
.bulb:nth-child(9)  { left: 70%;   top: 33px; } /* arco 3, x≈840  */
.bulb:nth-child(10) { left: 80%;   top: 33px; } /* arco 4, x≈960  */
.bulb:nth-child(11) { left: 87.5%; top: 41px; } /* arco 4, valle  */
.bulb:nth-child(12) { left: 95%;   top: 33px; } /* arco 4, x≈1140 */

/* Respiración de cada bombilla:
 *   0%  inhalar empieza (casi apagadas)
 *  45%  pico de inhalación (brillo máx, escala máx, halo enorme)
 *  55%  ligera retención (sostenido)
 *  100% exhalación completa hacia el reposo
 */
@keyframes bulbBreath {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.78);
    filter: brightness(0.7);
    box-shadow: 0 0 4px rgba(228, 184, 107, 0.35), 0 0 8px rgba(228, 184, 107, 0.1);
  }
  45%,
  55% {
    opacity: 1;
    transform: scale(1.28);
    filter: brightness(1.45);
    box-shadow: 0 0 24px rgba(228, 184, 107, 1), 0 0 46px rgba(228, 184, 107, 0.8),
      0 0 70px rgba(228, 184, 107, 0.35);
  }
}

/* Balanceo del cable: bastante visible, como una guirnalda que el viento mece */
@keyframes garlandBreath {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ====================== Hero ====================== */
.hero {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(6.5rem, 8vw, 9rem) 1.5rem clamp(3rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* Título h1 con rol de botón (easter egg) */
.title-display--clickable {
  cursor: pointer;
  user-select: none;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 1fr;
    padding-top: clamp(7rem, 6vw, 9rem);
  }
}

.hero-art {
  position: relative;
  order: -1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  box-shadow: var(--shadow-warm);
  background: linear-gradient(180deg, var(--rose-soft), var(--terracotta));
  isolation: isolate;
}

@media (min-width: 900px) {
  .hero-art {
    order: 0;
    aspect-ratio: 3 / 2;
  }
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px 200px at 80% 80%,
    rgba(255, 243, 216, 0.45),
    transparent 70%
  );
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-svg,
.hero-art > svg,
.hero-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sparkles circle {
  animation: sparkle 4s ease-in-out infinite;
}

.sparkles circle:nth-child(1) {
  animation-delay: 0s;
}
.sparkles circle:nth-child(2) {
  animation-delay: 1.1s;
}
.sparkles circle:nth-child(3) {
  animation-delay: 0.5s;
}
.sparkles circle:nth-child(4) {
  animation-delay: 1.8s;
}
.sparkles circle:nth-child(5) {
  animation-delay: 2.4s;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.7);
    transform-origin: center;
  }
  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

.hero-content {
  position: relative;
}

/* ====================== CTA ====================== */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ink) 0%, #4a3a2f 100%);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 12px 24px -16px rgba(58, 46, 38, 0.6), inset 0 0 0 1px rgba(228, 184, 107, 0.3);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease,
    background 0.4s ease;
}

.cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-out);
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #4a3a2f 0%, var(--gold) 130%);
  box-shadow: 0 18px 36px -16px rgba(201, 149, 74, 0.6),
    inset 0 0 0 1px rgba(228, 184, 107, 0.45);
}

.cta:hover svg,
.cta:focus-visible svg {
  transform: translateY(3px);
}

/* ====================== Asides poéticos ====================== */
.aside {
  max-width: 760px;
  margin: clamp(2rem, 5vw, 4rem) auto;
  padding: 0 1.5rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1vw + 1rem, 1.8rem);
  color: var(--gold);
  letter-spacing: 0.01em;
  position: relative;
}

.aside::before,
.aside::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-soft), transparent);
  margin: 1rem auto;
}

/* ====================== Secciones ====================== */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 1.5rem;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .section-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-grid--reverse .section-text {
    order: 2;
  }
}

.section-text {
  max-width: 56ch;
}

.section-text--centered {
  margin: 0 auto;
  text-align: center;
  max-width: 60ch;
}

.section-text p {
  color: var(--ink-soft);
}

.microcopy {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terracotta);
  font-size: 1.1rem;
  margin-top: 1.2rem;
  letter-spacing: 0.01em;
}

/* ---- Bloque visual ---- */
.section-art {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream-deep), var(--rose-soft));
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 2;
  position: relative;
}

.section-art > svg,
.section-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Luces francesas viene en 4:3, mantenemos su ratio */
.section-art--cozy {
  box-shadow: var(--shadow-warm);
  aspect-ratio: 4 / 3;
}

.figure-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.5rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(58, 46, 38, 0.55));
  color: var(--cream);
  font-size: 0.92rem;
  text-align: center;
  letter-spacing: 0.02em;
}

.figure-caption em {
  color: var(--gold-glow);
  font-weight: 400;
}

/* ====================== Tarjetas significado ====================== */
.section--meaning {
  text-align: center;
}

.meaning-cards {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .meaning-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.meaning-card {
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(201, 149, 74, 0.18);
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px -22px rgba(58, 46, 38, 0.35);
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.meaning-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(201, 149, 74, 0.55);
  border-color: rgba(201, 149, 74, 0.4);
}

.meaning-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cream-deep), var(--rose-soft));
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(201, 149, 74, 0.25),
    0 0 24px rgba(228, 184, 107, 0.25);
}

.meaning-icon svg {
  width: 30px;
  height: 30px;
}

.meaning-title {
  font-size: 1.65rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.meaning-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

/* ====================== Final ====================== */
.section--final {
  padding: clamp(4rem, 8vw, 7rem) 1.5rem clamp(4rem, 7vw, 6rem);
}

.section--final .closing {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 0.8vw + 1rem, 1.6rem);
  color: var(--ink-soft);
  line-height: 1.5;
}

.closing .break {
  display: inline-block;
  color: var(--gold);
}

.final-mark {
  margin-top: 2rem;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

/* ====================== Footer ====================== */
.site-footer {
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.site-footer p {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  justify-content: center;
}

.site-footer .dot {
  color: var(--gold);
}

.site-footer em {
  font-family: var(--serif);
  color: var(--gold);
}

/* ====================== Reveal on scroll ====================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
  will-change: transform, opacity;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible .section-art {
  animation: artBreath 8s ease-in-out infinite;
}

@keyframes artBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
}

/* ====================== Easter egg overlay ====================== */
.easter-egg {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    600px 400px at 50% 50%,
    rgba(255, 243, 216, 0.35),
    rgba(58, 46, 38, 0) 60%
  );
  transition: opacity 0.6s ease;
  z-index: 50;
}

.easter-egg.is-visible {
  opacity: 1;
}

.easter-egg p {
  margin: 0;
  padding: 1.25rem 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2vw + 1rem, 2.4rem);
  color: var(--ink);
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(244, 232, 211, 0.85));
  border-radius: var(--radius);
  border: 1px solid rgba(201, 149, 74, 0.4);
  box-shadow: 0 30px 80px -30px rgba(201, 149, 74, 0.55),
    0 0 50px rgba(255, 243, 216, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 90%;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .bulb,
  .string-lights,
  .sparkles circle,
  body::before {
    animation: none;
  }
}

/* ====================== Print friendly ====================== */
@media print {
  .string-lights,
  .easter-egg,
  .cta {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}
