/* ===========================================================
   HUSH — A Sky Full of Lullabies
   =========================================================== */

:root {
  --cream: #f4f1ea;
  --gold: #f5d48f;
  --ink-0: #05060f;
  --ink-1: #080a1a;
  --ink-2: #0b1026;
  --card-bg: rgba(18, 24, 54, 0.62);
  --card-border: rgba(245, 212, 143, 0.28);
  --pill-bg: rgba(18, 24, 54, 0.55);
  --pill-border: rgba(255, 255, 255, 0.1);

  --mood: var(--gold);
  --mood-soft: rgba(245, 212, 143, 0.16);

  --font-serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-reveal: cubic-bezier(.16, .8, .24, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: var(--ink-0);
  color: var(--cream);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

p, h1, h2 { margin: 0; }

::selection { background: rgba(245, 212, 143, 0.25); }

/* ---------- grain / doodle texture ---------- */
.doodle-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 0.95  0 0 0 0 0.82  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* ===========================================================
   Screen management
   =========================================================== */
.screen {
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 100dvh;
}

.intro {
  background: linear-gradient(180deg, rgb(4, 5, 12) 0%, rgb(6, 8, 20) 60%, rgb(9, 13, 30) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  transition: opacity 1.4s ease, visibility 1.4s ease;
}
.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sky {
  background: linear-gradient(180deg, rgb(5, 6, 15) 0%, rgb(8, 10, 26) 45%, rgb(11, 16, 38) 100%);
  opacity: 0;
  overflow: hidden;
  transition: opacity 1.6s ease;
}
.sky.is-visible { opacity: 1; }

/* ===========================================================
   Intro
   =========================================================== */
.intro-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 6vw, 2.75rem);
  padding: 1.5rem;
  text-align: center;
}

.intro-star {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}
.star-halo {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 212, 143, 0.32) 0%, rgba(0, 0, 0, 0) 65%);
  filter: blur(6px);
  animation: haloBreathe 4.5s ease-in-out infinite;
}
.star-core {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 26px 9px rgba(245, 212, 143, 0.75);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.intro-star:hover .star-core,
.intro-star:focus-visible .star-core {
  transform: scale(1.12);
  box-shadow: 0 0 34px 12px rgba(245, 212, 143, 0.9);
}
.intro.is-tapped .star-core {
  transform: scale(2.4);
  box-shadow: 0 0 60px 30px rgba(245, 212, 143, 0.85);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1), box-shadow 1.1s ease;
}

@keyframes haloBreathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.18); opacity: 1; }
}

.intro-line {
  max-width: 640px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(1.5rem, 4.4vw, 2.25rem);
  line-height: 1.5;
  letter-spacing: 0.4px;
  color: #f3f4f6;
}

.intro-hint {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #9ca3af;
}

/* ===========================================================
   Sky — atmosphere layers
   =========================================================== */
.nebula-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  transition: filter 2.2s ease;
}
.nebula-layer.is-active { filter: saturate(1.3); }

.aurora-drift {
  position: absolute;
  width: 220vmax;
  height: 220vmax;
  left: 50%;
  top: 50%;
  margin-left: -110vmax;
  margin-top: -110vmax;
  border-radius: 999px;
  filter: blur(88px);
  background: conic-gradient(
    rgba(5, 6, 15, 0) 0%,
    rgba(70, 58, 134, 0.4) 16%,
    rgba(11, 16, 38, 0) 36%,
    rgba(40, 62, 140, 0.37) 54%,
    rgba(5, 6, 15, 0) 70%,
    rgba(104, 80, 168, 0.3) 86%,
    rgba(5, 6, 15, 0) 100%
  );
  animation: auroraSpin 82s linear infinite;
}
@keyframes auroraSpin { to { transform: rotate(360deg); } }

.nebula-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(55px);
  animation: nebulaPulse 16s ease-in-out infinite;
}
.nebula-violet {
  width: 55vmax; height: 55vmax;
  left: -12vmax; top: -14vmax;
  background: radial-gradient(circle, rgba(70, 58, 134, 0.38) 0%, rgba(0,0,0,0) 68%);
  animation-duration: 14s;
}
.nebula-indigo {
  width: 50vmax; height: 50vmax;
  right: -10vmax; top: 14vmax;
  background: radial-gradient(circle, rgba(40, 62, 140, 0.32) 0%, rgba(0,0,0,0) 70%);
  animation-duration: 17s;
  animation-delay: -5s;
}
.nebula-bottom {
  width: 70vmax; height: 42vmax;
  left: 10vmax; bottom: -14vmax;
  background: radial-gradient(circle, rgba(34, 46, 118, 0.34) 0%, rgba(0,0,0,0) 72%);
  animation-duration: 18s;
  animation-delay: -9s;
}
@keyframes nebulaPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

.gold-bloom {
  position: absolute;
  width: 48vmax; height: 30vmax;
  left: 32vmax; top: 22vmax;
  border-radius: 999px;
  filter: blur(70px);
  background: radial-gradient(circle, rgba(245, 212, 143, 0.06) 0%, rgba(0,0,0,0) 70%);
  animation: nebulaPulse 20s ease-in-out infinite;
}

/* recolors the sky toward the active lullaby's mood — strong, cinematic shift */
.mood-wash {
  position: absolute;
  inset: 0;
  background: var(--mood);
  mix-blend-mode: color;
  opacity: 0;
  transition: opacity 2.4s ease;
}
.mood-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 38%, var(--mood) 0%, rgba(0,0,0,0) 60%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 2.4s ease;
}
.nebula-layer.is-active .mood-wash { opacity: 0.5; }
.nebula-layer.is-active .mood-glow { opacity: 0.32; }

.shooting-star-field { position: absolute; inset: 0; }
.shooting-star {
  position: absolute;
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, rgba(245,212,143,0) 0%, rgba(245,212,143,0.75) 55%, rgba(245,212,143,0) 100%);
  animation: shootAcross 1.6s ease-out forwards;
}
@keyframes shootAcross {
  0% { opacity: 0; transform: translate(0, 0); }
  8% { opacity: 1; }
  100% { opacity: 0; transform: translate(-42vw, 26vh); }
}

/* ---------- sound sparks ---------- */
.spark-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 4;
}
.spark {
  position: absolute;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 999px;
  background: var(--mood, var(--gold));
  box-shadow: 0 0 7px 2px var(--mood-soft);
  opacity: 0;
  animation: sparkRise 2.8s ease-out forwards;
}
@keyframes sparkRise {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  12% { opacity: 0.95; }
  100% { opacity: 0; transform: translate(var(--dx, 0px), -100px) scale(1.1); }
}

/* ===========================================================
   Title block / nav
   =========================================================== */
.title-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: clamp(2.75rem, 9vh, 4.75rem) 1rem 1rem;
  text-align: center;
}

.hush-title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(2.4rem, 8vw, 5.75rem);
  padding-left: clamp(6.4px, 1vw, 6.72px);
  color: var(--cream);
  text-shadow: 0 0 34px rgba(245, 212, 143, 0.3);
}
.hush-title span {
  display: inline-block;
  letter-spacing: clamp(20.8px, calc(14px + 1.7vw), 38.64px);
  transition: opacity 1s var(--ease-reveal), transform 1s var(--ease-reveal);
}
.hush-title span:last-child { letter-spacing: 0; }

.tagline {
  font-size: clamp(0.6rem, 1.3vw, 0.75rem);
  letter-spacing: clamp(5px, 1.4vw, 7.44px);
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.45);
}

.tap-hint {
  margin-top: 0.3rem;
  font-size: clamp(0.6rem, 1.2vw, 0.7rem);
  font-style: italic;
  letter-spacing: 1px;
  color: rgba(244, 241, 234, 0.27);
}
.tap-hint.is-faded { opacity: 0 !important; transform: none !important; }

.entrance-fade {
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: 0.9s;
}

.about-nav {
  position: absolute;
  top: clamp(1rem, 3vh, 1.75rem);
  right: clamp(1rem, 3vw, 2.25rem);
  z-index: 5;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(18, 24, 54, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: rgba(245, 212, 143, 0.7);
  transition: background 0.3s ease, transform 0.3s ease, opacity 1s ease;
  transition-delay: 0s, 0s, 0.9s;
}
.about-nav svg { width: 14px; height: 14px; }
.about-nav:hover, .about-nav:focus-visible {
  background: rgba(18, 24, 54, 0.65);
  transform: scale(1.06);
}

/* ===========================================================
   Entrance choreography
   Elements start primed (hidden/offset) while .sky carries
   .entrance-pending; removing that class lets each element's
   own transition + transition-delay stagger the reveal.
   =========================================================== */
.sky.entrance-pending .hush-title span,
.sky.entrance-pending .entrance-fade {
  opacity: 0;
  transform: translateY(10px);
}
.sky.entrance-pending .cluster .line { opacity: 0; transform: scaleX(0); }
.sky.entrance-pending .cluster .star { opacity: 0; transform: translate(-50%, -50%) scale(0.25); }
.sky.entrance-pending .cluster-label { opacity: 0; transform: translateY(4px); }

.hush-title span:nth-child(1) { transition-delay: 0.1s; }
.hush-title span:nth-child(2) { transition-delay: 0.24s; }
.hush-title span:nth-child(3) { transition-delay: 0.38s; }
.hush-title span:nth-child(4) { transition-delay: 0.52s; }

/* ===========================================================
   Constellation field
   =========================================================== */
.constellation-field {
  position: relative;
  width: 100%;
  min-height: 62vh;
  flex: 1;
}

.constellation-clusters {
  position: absolute;
  inset: 0;
}

.cluster {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.cluster .star-field {
  position: relative;
  width: 100%;
  aspect-ratio: 110 / 84;
  display: block;
}

.cluster .line {
  position: absolute;
  height: 1px;
  background: rgba(245, 212, 143, 0.15);
  transform-origin: left center;
  transition: background 1s ease, opacity 1.1s var(--ease-reveal), transform 1.1s var(--ease-reveal);
}

.cluster .star {
  position: absolute;
  border-radius: 999px;
  background: var(--cream);
  transform: translate(-50%, -50%);
  transition: opacity 0.95s var(--ease-reveal), transform 0.95s var(--ease-reveal), background 0.6s ease, box-shadow 0.4s ease;
}
.star-xs {
  width: 4px; height: 4px;
  box-shadow: 0 0 7px 2px rgba(245,212,143,0.42);
}
.star-sm {
  width: 6px; height: 6px;
  box-shadow: 0 0 8px 2px rgba(245,212,143,0.48);
}
.sky:not(.entrance-pending) .star-sm,
.sky:not(.entrance-pending) .star-xs {
  animation: twinkle var(--tw-dur, 3.4s) ease-in-out var(--tw-delay, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.32; }
}

.mother-star {
  width: 12px; height: 12px;
  background: var(--gold);
  box-shadow: 0 0 16px 5px rgba(245, 212, 143, 0.72);
  animation: motherPulse 3.6s ease-in-out infinite;
}
@keyframes motherPulse {
  0%, 100% { box-shadow: 0 0 16px 5px rgba(245, 212, 143, 0.72); }
  50% { box-shadow: 0 0 22px 8px rgba(245, 212, 143, 0.92); }
}
.mother-star::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 212, 143, 0.5);
  transform: scale(0.5);
  opacity: 0;
  transition: transform 0.55s var(--ease-reveal), opacity 0.55s ease, border-color 0.6s ease;
  pointer-events: none;
}

.cluster-label {
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.38);
  transition: color 0.8s ease, text-shadow 0.8s ease, opacity 0.9s var(--ease-reveal), transform 0.9s var(--ease-reveal);
}

.cluster:hover .mother-star,
.cluster:focus-visible .mother-star {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 30px 11px rgba(245, 212, 143, 0.9);
}
.cluster:hover .mother-star::after,
.cluster:focus-visible .mother-star::after,
.cluster.is-active .mother-star::after {
  transform: scale(1);
  opacity: 1;
}
.cluster.is-active .mother-star::after { border-color: color-mix(in srgb, var(--mood, var(--gold)) 70%, transparent); }
.cluster:hover .line,
.cluster:focus-visible .line { background: rgba(245, 212, 143, 0.34); }
.cluster:hover .cluster-label,
.cluster:focus-visible .cluster-label { color: rgba(244, 241, 234, 0.62); }

.cluster.is-active .cluster-label,
.cluster.is-heard .cluster-label {
  color: var(--mood, var(--gold));
  text-shadow: 0 0 10px var(--mood-soft);
}
.cluster.is-active .mother-star {
  background: var(--mood, var(--gold));
}

/* cluster positions — mobile-first (390 × 640 basis) */
.cluster-urdu     { left: 7.18%;  top: 3.75%;   width: 28.21%; }
.cluster-arabic   { left: 58.46%; top: 8.125%;  width: 28.21%; }
.cluster-german   { left: 14.36%; top: 26.25%;  width: 28.21%; }
.cluster-russian  { left: 63.59%; top: 29.375%; width: 28.21%; }
.cluster-english  { left: 8.72%;  top: 70.625%; width: 28.21%; }
.cluster-japanese { left: 64.10%; top: 73.4375%;width: 28.21%; }

@media (min-width: 768px) {
  .constellation-field { min-height: 68vh; }
  .cluster .star-field { aspect-ratio: 170 / 120; }
  .cluster-urdu     { left: 9.03%;  top: 10.9375%; width: 11.81%; }
  .cluster-arabic   { left: 33.33%; top: 23.4375%; width: 11.81%; }
  .cluster-german   { left: 58.33%; top: 9.375%;   width: 11.81%; }
  .cluster-russian  { left: 78.47%; top: 21.875%;  width: 11.11%; }
  .cluster-english  { left: 18.75%; top: 59.375%;  width: 11.81%; }
  .cluster-japanese { left: 79.17%; top: 62.5%;    width: 11.11%; }
}

/* mood colors per language */
[data-lang="urdu"]     { --mood: #f6c667; }
[data-lang="arabic"]   { --mood: #e8934a; }
[data-lang="german"]   { --mood: #52a68d; }
[data-lang="russian"]  { --mood: #7ec4e0; }
[data-lang="english"]  { --mood: #dfe3ea; }
[data-lang="japanese"] { --mood: #d98fc0; }

/* ===========================================================
   Lullaby card
   =========================================================== */
.lullaby-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(8px);
  width: min(88vw, 380px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 1.9rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  box-shadow: 0 0 50px rgba(245, 212, 143, 0.16);
  opacity: 0;
  z-index: 6;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.lullaby-card[hidden] { display: none; }
.lullaby-card.is-open {
  opacity: 1;
  transform: translate(-50%, -50%);
  animation: cardBreathe 4.5s ease-in-out 0.7s infinite;
}
@keyframes cardBreathe {
  0%, 100% {
    box-shadow: 0 0 50px rgba(245, 212, 143, 0.16);
    border-color: var(--card-border);
  }
  50% {
    box-shadow: 0 0 68px rgba(245, 212, 143, 0.3);
    border-color: color-mix(in srgb, var(--mood, var(--gold)) 60%, transparent);
  }
}

.card-close {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.return-link {
  font-size: 0.56rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.35);
}
.close-icon {
  font-size: 0.85rem;
  line-height: 1;
  color: rgba(244, 241, 234, 0.5);
}
.card-close:hover .return-link,
.card-close:hover .close-icon { color: var(--mood, var(--gold)); }

.card-lang {
  padding-left: 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 4.4px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--mood, var(--gold)) 80%, white 20%);
}

.card-line {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.35;
  color: var(--cream);
}
.card-line[dir="rtl"] { text-align: right; font-family: var(--font-sans); font-weight: 300; }

.card-translation {
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.72);
}

.card-divider {
  width: 100%;
  height: 1px;
  background: rgba(245, 212, 143, 0.16);
}

.card-origin {
  font-size: 0.68rem;
  letter-spacing: 0.2px;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.38);
}

/* ===========================================================
   Now Humming bar
   =========================================================== */
.now-humming-bar {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1.1rem 0 clamp(1.6rem, 5vh, 2.9rem);
}

.player-pill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.2rem;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.35);
  max-width: min(90vw, 420px);
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.3);
  transition: background 0.6s ease, box-shadow 0.6s ease;
}
.pulsing-dot.is-playing {
  background: var(--mood, var(--gold));
  box-shadow: 0 0 10px 3px var(--mood-soft);
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.75; }
}

.humming-label {
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.5px;
  color: rgba(244, 241, 234, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.track-info[hidden] { display: none; }
.now-humming-label {
  font-size: 0.58rem;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.4);
}
.track-name { font-size: 0.85rem; color: rgba(244, 241, 234, 0.9); }
.player-sep { color: rgba(244, 241, 234, 0.3); }
.player-lang {
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  color: color-mix(in srgb, var(--mood, var(--gold)) 80%, white 20%);
}

/* ===========================================================
   Star map
   =========================================================== */
.star-map {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2.75rem);
  bottom: clamp(1.6rem, 5vh, 3.25rem);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 5;
}
.progress-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.15);
  transition: background 0.9s ease, box-shadow 0.9s ease;
}
.progress-dot.is-heard {
  background: var(--dot-mood, var(--gold));
  box-shadow: 0 0 6px var(--dot-mood, rgba(245, 212, 143, 0.55));
}

/* ===========================================================
   About screen
   =========================================================== */
.about {
  background: linear-gradient(180deg, rgb(5, 6, 15) 0%, rgb(8, 10, 26) 55%, rgb(11, 16, 38) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.about.is-visible { opacity: 1; visibility: visible; }

.about-backdrop { position: absolute; inset: 0; overflow: hidden; }
.about-backdrop .backdrop-line {
  position: absolute;
  height: 1px;
  background: rgba(245, 212, 143, 0.08);
}
.about-backdrop .backdrop-star {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.3);
  box-shadow: 0 0 6px 1px rgba(245, 212, 143, 0.25);
}

.about-close {
  position: absolute;
  top: clamp(1rem, 3vh, 1.75rem);
  right: clamp(1rem, 3vw, 2.25rem);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(18, 24, 54, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  color: rgba(244, 241, 234, 0.6);
}
.about-close:hover { color: var(--gold); }

.about-content {
  position: relative;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 1.5rem;
  text-align: center;
}
.about-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  color: var(--cream);
}
.about-paragraph {
  max-width: 560px;
  font-weight: 300;
  font-size: clamp(0.95rem, 2vw, 1rem);
  line-height: 1.9;
  letter-spacing: 0.3px;
  color: rgba(244, 241, 234, 0.72);
}
.about-credit {
  font-size: 0.68rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.47);
}

/* ===========================================================
   Reduced motion
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  .aurora-drift, .nebula-glow, .gold-bloom, .mother-star, .pulsing-dot.is-playing,
  .star-halo, .star-sm, .star-xs, .lullaby-card.is-open, .spark {
    animation: none !important;
  }
}
