*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: var(--bg);
}
body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 50% -14%, rgba(118, 84, 190, .2), transparent 44%),
    radial-gradient(ellipse at 92% 48%, rgba(94, 65, 150, .08), transparent 32%),
    linear-gradient(180deg, #0a0713 0%, #080611 48%, #090613 100%);
  font-family: var(--font-sans);
  font-size: 15px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.player-open { overflow: hidden; }
button, input, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; }
img { max-width: 100%; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { color: #fff; background: rgba(137, 104, 219, .55); }
[hidden] { display: none !important; }

.ambient { position: fixed; z-index: -1; pointer-events: none; filter: blur(86px); opacity: .24; border-radius: 50%; }
.ambient--one { width: 380px; height: 380px; top: 12%; left: -250px; background: #59329d; }
.ambient--two { width: 470px; height: 470px; top: 43%; right: -340px; background: #472b89; opacity: .16; }
.ambient--three { width: 300px; height: 300px; bottom: 3%; left: 28%; background: #733c8e; opacity: .1; }

main { position: relative; isolation: isolate; }
.celestial-layer { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.celestial-moon {
  position: absolute;
  top: 83rem;
  left: 4px;
  width: clamp(24px, calc((100vw - var(--container)) / 2 - 8px), 68px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .34;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.88), transparent 3%),
    radial-gradient(circle at 62% 58%, rgba(112,87,154,.2) 0 6%, transparent 7%),
    radial-gradient(circle at 38% 70%, rgba(112,87,154,.18) 0 8%, transparent 9%),
    radial-gradient(circle at 48% 43%, rgba(239,229,255,.95), rgba(197,174,238,.72) 48%, rgba(138,111,189,.25) 72%, transparent 74%);
  box-shadow: 0 0 34px rgba(193,164,255,.16), 0 0 88px rgba(161,127,225,.1);
}
.celestial-moon::after {
  content: "";
  position: absolute;
  inset: 4px -9px -2px 20px;
  border-radius: 50%;
  background: #0a0713;
  filter: blur(2px);
}
.celestial-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #e4d7ff;
  opacity: .52;
  box-shadow: 0 0 8px 2px rgba(213,191,255,.3), 0 0 22px rgba(191,158,255,.25);
}
.celestial-star::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 13px;
  left: 1px;
  top: -5px;
  background: linear-gradient(180deg, transparent, rgba(231,218,255,.68), transparent);
  transform: rotate(40deg);
}
.celestial-star--one { top: 18rem; left: 2.2vw; }
.celestial-star--two { top: 49rem; right: 2.5vw; transform: scale(1.3); }
.celestial-star--three { top: 78rem; left: 1.7vw; transform: scale(.75); }
.celestial-star--four { top: 105rem; right: 1.8vw; }
.celestial-star--five { top: 132rem; left: 2.6vw; transform: scale(1.15); }
.celestial-star--six { top: 157rem; right: 2.4vw; transform: scale(.8); }

.glass-panel {
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025) 44%, rgba(167,139,250,.035));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}
.page-container { width: min(var(--container), calc(100% - 72px)); margin-inline: auto; position: relative; z-index: 1; }
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .page-container { width: calc(100% - 32px); }
  .celestial-layer { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1100px) {
  /* Keep celestial details entirely outside the text and artwork areas on tablet. */
  .celestial-moon, .celestial-star { display: none; }
}
