:root {
  color-scheme: dark;
  --ink: #f3e9e0;
  --subtle: #bcacb6;
  --line: #ffffff23;
  --accent: #ebb79b;
  font: 100%/1.5 "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #15121a;
}
* { box-sizing: border-box }
body {
  margin: 0 auto; min-height: 100vh; min-height: 100svh; padding: 0 clamp(20px, 7vw, 112px);
  display: flex; flex-direction: column;
  background: radial-gradient(ellipse at 79% 36%, #43283485, transparent 53%),
    radial-gradient(ellipse at 12% 98%, #272639a6, transparent 55%), #15121a;
}
button, a { font: inherit; color: inherit }
button { cursor: pointer }
a { text-underline-offset: .3em }
a:hover, button:hover { color: var(--accent) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px }
[hidden] { display: none !important }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0 }
.bar, main, footer { margin-inline: auto; width: min(100%, 1180px) }
.bar { min-height: 82px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); gap: 12px }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: .94rem; letter-spacing: .012em }
#share, .links a { border: 1px solid #ffffff36; border-radius: 50px; text-decoration: none; background: transparent; padding: 8px 17px; font-size: .875rem }
#share:hover, .links a:hover { border-color: var(--accent) }
main { flex: 1; display: grid; align-content: center; }
.profile { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(28px, 6vw, 92px); padding: clamp(42px, 8vh, 104px) 0; }
.identity { min-width: 0 }
h1 { margin: 0 0 .17em -.065em; font: italic 500 clamp(5rem, 10vw, 10rem)/.99 Georgia, "Times New Roman", serif; letter-spacing: -.085em; overflow-wrap: anywhere; }
h1 span { color: var(--accent); }
.bio { margin: 0; font: 400 clamp(1.35rem, 2.1vw, 2.1rem)/1.38 Georgia, "Times New Roman", serif; letter-spacing: -.02em; color: #d6c6c7; overflow-wrap: anywhere; }
.links { display: flex; flex-wrap: wrap; gap: 10px; }
.links:has(a) { margin-top: 26px; }
.sound { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; width: min(100%, 355px); border-top: 1px solid var(--line); padding-top: 21px; margin-top: clamp(32px, 5.5vh, 64px); }
#play { height: 47px; width: 47px; border: 1px solid #e7b69765; border-radius: 50%; background: #e7b6970d; color: var(--accent); display: grid; place-items: center; flex: none; }
#play:hover { background: #e7b69726 }
.play-shape { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; margin-left: 3px }
#play[aria-pressed=true] .play-shape { width: 9px; height: 12px; border: 0; border-inline: 3px solid currentColor; margin: 0 }
.track { display: grid; gap: 1px; }
#track-name { font-size: 1rem }
.track-info { display: flex; gap: 7px; color: var(--subtle); font-size: .82rem; font-variant-numeric: tabular-nums; }
#wave { margin-left: auto; display: flex; align-items: center; gap: 3px; height: 34px; }
#wave i { width: 2px; border-radius: 4px; background: #a68c99; }
.playing #wave i { background: var(--accent); animation: ripple 1s ease-in-out infinite alternate; }
@keyframes ripple { to { transform: scaleY(.32) } }
audio[controls] { width: 100%; }
.sky { position: relative; aspect-ratio: 1.04; margin: 0; isolation: isolate; overflow: hidden; border: 1px solid #e7c1b22c; border-radius: 48% 48% 7px 7px; background: radial-gradient(ellipse at 49% 43%, #422e39, #211b27 57%, #1a1720 85%); }
.starfield, .halo { position: absolute; inset: 0; pointer-events: none }
.starfield i { position: absolute; border-radius: 100%; background: #fff0dc; }
.halo { background: radial-gradient(circle at 45% 47%, #d5946a2c, transparent 48%) }
.moon { position: absolute; width: 86%; left: 7%; top: 6%; mix-blend-mode: screen; filter: sepia(.76) saturate(1.1) brightness(.98); transform: rotate(-21deg); border-radius: 100%; }
.ring { position: absolute; width: 94%; height: 24%; left: 3%; top: 40%; border: 1px solid #e4b49d8c; border-radius: 50%; transform: rotate(-26deg); }
.ring.back { opacity: .35; }
.ring.front { clip-path: inset(50% 0 0); box-shadow: 0 3px 9px #d1a08b19; }
.orbit-dot { width: 5px; height: 5px; border-radius: 50%; position: absolute; top: 65%; left: 11%; background: #ffe3bd; box-shadow: 0 0 9px #e1a57d; }
.spark { position: absolute; line-height: 1; color: var(--accent); }
.s1 { left: 19%; top: 21%; font-size: 17px }
.s2 { right: 13%; top: 70%; font-size: 10px }
figcaption { position: absolute; left: 0; right: 0; bottom: 5%; text-align: center; color: #d3bdbe; font-size: .81rem; letter-spacing: .05em; }
.phase { display: inline-block; color: var(--accent); margin-right: 5px }
footer { display: flex; justify-content: flex-end; border-top: 1px solid var(--line); color: #ab9da8; padding: 18px 0; font-size: .78rem; }
@media (max-width: 700px) {
  .bar { min-height: 66px }
  .profile { grid-template-columns: minmax(0,1fr); gap: 24px; padding: 28px 0 34px; }
  .sky { grid-row: 1; width: min(100%, 345px); aspect-ratio: 1.34; justify-self: center; border-radius: 48% 48% 6px 6px; }
  .moon { width: 65%; left: 17.5%; top: 0; }
  .identity { width: min(100%, 345px); justify-self: center; }
  h1 { font-size: clamp(4.2rem, 18vw, 6.4rem) }
  .sound { margin-top: 24px; padding-top: 16px }
  footer { justify-content: center; }
}
@media (max-width: 370px) {
  .sound { gap: 9px }
  #wave { gap: 1.5px }
}
@media (prefers-reduced-motion: reduce) { .playing #wave i { animation: none } }
