:root {
  color-scheme: dark;
  --page: #110a19;
  --text: #fff4fb;
  --muted: #d7bfdf;
  --violet: #eebaff;
  --border: #523455;
  font: 16px/1.55 Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; color: var(--text); background: var(--page); }
a { color: var(--violet); text-underline-offset: .2em; }
a:hover { color: #fff; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #f6cbff; outline-offset: 4px; }
h1, h2, p { margin: 0; }
.site-width { width: min(100% - 2 * clamp(1rem, 4vw, 3rem), 1240px); margin-inline: auto; }
.skip { position: absolute; left: .6rem; top: .5rem; transform: translateY(-180%); padding: .4rem .7rem; background: #2e183c; z-index: 5; }
.skip:focus { transform: none; }

.site-header { position: relative; z-index: 2; background: #1b1026; border-bottom: 1px solid #58345e; }
.header-content { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand-symbol { color: #fbdbff; display: grid; place-items: center; width: 2.42rem; height: 2.42rem; border-radius: 50%; border: 1px solid #bd7bda; background: radial-gradient(circle at 75% 25%, #b464d5, #382154 65%); font: 1.85rem/1 Georgia, serif; box-shadow: 0 0 15px #ef98ff50; }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand strong { font-size: .87rem; letter-spacing: .07em; }
.brand small { font-size: .72rem; margin-top: .2rem; color: var(--muted); }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.6rem, 2.5vw, 2.2rem); }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: .86rem; }
.site-header nav a:hover { color: var(--text); }
.menu-button { display: none; }

.hero {
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #6d4472;
  background:
    radial-gradient(ellipse at 86% 5%, #57356b66, transparent 55%),
    radial-gradient(ellipse at 65% 80%, #6c336b 0, #342041 34%, #1c1128 58%, #160e1f 84%);
}
.hero-content { position: relative; min-height: clamp(480px, 50vw, 680px); display: grid; align-items: center; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.hero-copy { position: relative; z-index: 2; padding: 3rem 0; }
.eyebrow { color: #f2c6ff; display: inline-flex; gap: .5rem; align-items: center; font-size: .8rem; letter-spacing: .1em; font-weight: 650; text-transform: uppercase; }
.eyebrow span { font-size: .95rem; }
.hero h1 { font: 500 clamp(4.1rem, 9vw, 8.6rem)/.95 "Instrument Serif", Georgia, 'Times New Roman', serif; letter-spacing: -.066em; margin: .8rem 0 .85rem -.07em; color: #fff2fb; text-shadow: 0 0 1px #ffe0fb, 0 0 25px #ce79e77a; }
.hero-lede { font-size: clamp(1.05rem, 2.2vw, 1.45rem); font-weight: 650; }
.hero-copy > p:not(.hero-lede):not(.eyebrow) { margin-top: .65rem; color: var(--muted); max-width: 37ch; font-size: .96rem; }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.35rem; }
.button, .menu-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem .94rem; border: 1px solid #875d94; border-radius: 1.35rem; background: #392143; color: #fff0fd; text-decoration: none; font-weight: 650; font-size: .85rem; }
.button:hover, .menu-button:hover { background: #63386e; color: #fff; }
.button.primary, .header-twitch { background: linear-gradient(115deg, #8c45bc, #a948a5 75%, #a2447e); border-color: #e3a2db; box-shadow: 0 3px 20px #e74eb844; }
.button.primary:hover, .header-twitch:hover { background: #b35fb9; }
.header-twitch { min-height: 38px; font-size: .8rem; white-space: nowrap; }
.menu-button { display: none; }

.hero-visual { position: relative; align-self: stretch; min-width: 0; }
.hero-orbit { position: absolute; width: min(76vw, 680px); aspect-ratio: 1; top: 48%; left: 48%; transform: translate(-50%,-50%); border: 1px solid #e7a8fca8; border-radius: 50%; box-shadow: 0 0 30px #f199fb36, inset 0 0 85px #ba5ee66a; background: radial-gradient(ellipse, #9a4fa760, transparent 68%); }
.hero-orbit::before, .hero-orbit::after { content: ''; position: absolute; inset: 1.5rem; border: 1px solid #bb77d663; border-radius: inherit; }
.hero-orbit::after { inset: -1.5rem; border-color: #bf71ce58; }
.hero-character {
  position: absolute;
  bottom: 0;
  left: 41%;
  width: clamp(898px, 89vw, 1238px);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  transform-origin: bottom center;
  filter: drop-shadow(0 0 36px #df7ef570);
  animation: portrait-breathe 9s ease-in-out infinite;
}
@keyframes portrait-breathe {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.018); }
}
.spark { position: absolute; z-index: 1; font-size: 1.8rem; font-weight: 200; color: #f1bdff; text-shadow: 0 0 18px #ff78f3; pointer-events: none; }
.spark-one { left: 1%; top: 20%; }
.spark-two { right: 3%; bottom: 15%; font-size: 1.15rem; }
.spark-three { left: -8%; bottom: 12%; font-size: 1.35rem; }
.live-card { position: absolute; z-index: 1; right: 0; top: 13%; min-width: 10.4rem; padding: .65rem .8rem; display: grid; gap: .12rem; border: 1px solid #b578b3; border-radius: .7rem; background: #25142bed; box-shadow: 0 0 25px #d884d437; }
.live-card > span, .live-card small { font-size: .75rem; color: var(--muted); }
.live-card strong { display: flex; align-items: center; gap: .4rem; font-size: .86rem; }
.live-card strong::before { content: ''; width: .45rem; height: .45rem; border-radius: 50%; background: #e9c88e; flex: none; }
.live-card strong[data-state="live"]::before { background: #ff68a9; box-shadow: 0 0 .75rem #ff68a9; }
.live-card strong[data-state="offline"]::before { background: #b7abc9; }

.details { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; padding-block: 2rem 2.7rem; }
.info { border: 1px solid var(--border); border-radius: .85rem; background: linear-gradient(135deg, #271630, #1a1123); padding: 1.15rem; min-width: 0; overflow-wrap: anywhere; }
.info h2, .legal h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.info p, .legal p { color: var(--muted); font-size: .92rem; }
.details-content > ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.details-content > ul time { color: var(--muted); font-size: .87rem; display: block; }
#social-links { display: flex; flex-wrap: wrap; gap: .5rem; }
#donation-link { margin-top: .6rem; }
footer { border-top: 1px solid var(--border); }
.footer-content { min-height: 64px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; color: var(--muted); font-size: .82rem; }
.footer-content nav { display: flex; gap: .9rem; }
.legal { max-width: min(100% - 2rem, 760px); margin: 0 auto; padding: 2.5rem 0 4rem; }
.legal h1 { font-size: clamp(1.85rem, 5vw, 2.5rem); margin-bottom: 1rem; }
.legal section { border-top: 1px solid var(--border); margin-top: 1.2rem; padding-top: 1.05rem; }

@media (max-width: 850px) {
  .hero-character { left: 39%; }
  .hero h1 { font-size: clamp(3.85rem, 11vw, 6rem); }
  .live-card { top: 8%; }
}
@media (max-width: 630px) {
  .header-content { min-height: 62px; }
  .menu-button { display: inline-flex; padding: .4rem .7rem; font-size: 1rem; height: 44px; min-width: 44px; margin-left: auto; }
  .site-header nav { display: none; position: absolute; inset: 100% 0 auto; justify-content: start; padding: .8rem 1rem; background: #23142f; border-bottom: 1px solid var(--border); }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: .5rem; }
  .header-twitch { display: none; }
  .hero { background: radial-gradient(ellipse at 63% 77%, #6c336b, #342041 34%, #1d1226 68%, #150d1e); }
  .hero-content { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 2.6rem .25rem .9rem; }
  .hero h1 { margin-top: .55rem; font-size: clamp(4.1rem, 15vw, 5.65rem); }
  .hero-visual { min-height: clamp(250px, 65vw, 370px); }
  .hero-orbit { top: 70%; width: min(85vw, 410px); }
  .hero-character { width: clamp(450px, 119vw, 660px); left: 43%; }
  .hero-visual { overflow: hidden; margin-inline: calc(-1 * clamp(1rem, 4vw, 3rem)); }
  .live-card { margin-right: 1rem; }
  .live-card { top: auto; bottom: .85rem; right: .1rem; min-width: 0; }
  .spark-three { display: none; }
  .details { grid-template-columns: 1fr; padding-block: 1rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-character { animation: none; }
}
