:root {
  color-scheme: dark;
  --bg: #080811;
  --surface: rgba(18, 18, 34, .78);
  --line: rgba(158, 150, 255, .16);
  --text: #f5f4ff;
  --muted: #9c9bb4;
  --purple: #8178f5;
  --purple-light: #b7b0ff;
}

* { box-sizing: border-box; }

html { min-width: 320px; min-height: 100%; background: var(--bg); }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, select { font: inherit; }
button { color: inherit; }

.space-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(32, 29, 66, .35), transparent 55%),
    linear-gradient(145deg, #090913 0%, #080811 55%, #0b0a16 100%);
}

.space-background::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .25;
  background-image: radial-gradient(rgba(200, 197, 255, .65) .7px, transparent .7px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.space-glow { position: absolute; width: 42rem; height: 42rem; border-radius: 50%; filter: blur(105px); opacity: .12; }
.space-glow--violet { top: 4%; left: 47%; background: #665ad1; }
.space-glow--blue { right: 68%; bottom: -35%; background: #3349a8; opacity: .1; }

.site-header, .pages-container { position: relative; z-index: 1; }

.site-header {
  width: min(100% - 64px, 1320px);
  height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: var(--text);
  text-decoration: none;
}

.brand-mark { width: 37px; height: 37px; color: #a59eff; }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-name { font-size: 12px; font-weight: 800; letter-spacing: .16em; white-space: nowrap; }
.brand-name span { color: var(--purple-light); }

.main-nav { display: flex; align-items: center; gap: 8px; height: 100%; }

.nav-link {
  position: relative;
  height: 100%;
  min-width: 102px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: #9291a9;
  font-size: 14px;
  cursor: pointer;
  transition: color .2s ease;
}

.nav-link svg, .language-picker svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-link:hover, .nav-link.active { color: #e4e1ff; }
.nav-link.active::after { position: absolute; right: 18px; bottom: -1px; left: 18px; height: 2px; content: ""; background: #8e84ff; box-shadow: 0 0 12px rgba(142, 132, 255, .65); }

.language-picker {
  position: relative;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 39px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  color: #b6b4cb;
}

.language-picker > svg:first-child { width: 16px; height: 16px; }
.language-picker select { max-width: 118px; border: 0; outline: 0; appearance: none; background: transparent; color: inherit; font-size: 12px; cursor: pointer; }
.language-picker option { background: #171626; color: var(--text); }
.language-picker .select-chevron { width: 13px; height: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

.pages-container { width: min(100% - 64px, 1320px); min-height: calc(100vh - 89px); margin: 0 auto; }
.page { min-height: calc(100vh - 89px); }
.page[hidden] { display: none !important; }

.home-layout {
  min-height: calc(100vh - 166px);
  display: grid;
  grid-template-columns: 1fr minmax(340px, .92fr);
  align-items: center;
  gap: 5%;
  padding: 24px 6% 20px;
}

.home-copy { max-width: 660px; padding: 35px 0 48px; animation: appear .7s ease both; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: #aaa5e9; font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.eyebrow-line { width: 25px; height: 1px; background: #a39aff; box-shadow: 0 0 9px rgba(163, 154, 255, .8); }

.home-copy h1, .music-copy h1 {
  margin: 0;
  font-size: clamp(42px, 5.3vw, 72px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.08;
}

.gradient-text { color: #b0aaff; background: linear-gradient(100deg, #d0ccff 0%, #9389ff 60%, #7770df 100%); background-clip: text; -webkit-text-fill-color: transparent; }
.home-description { max-width: 535px; margin: 23px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }

.home-note { display: flex; align-items: center; gap: 9px; margin: 25px 0 0; color: #77768d; font-size: 12px; }
.note-dot { width: 6px; height: 6px; border-radius: 50%; background: #9d95ff; box-shadow: 0 0 10px rgba(157, 149, 255, .75); }

.orbit-art { position: relative; width: min(100%, 470px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(154, 146, 255, .13); border-radius: 50%; }
.orbit--outer { width: 100%; height: 100%; }
.orbit--middle { width: 78%; height: 78%; border-color: rgba(154, 146, 255, .2); }
.orbit--inner { width: 58%; height: 58%; border-color: rgba(154, 146, 255, .16); }
.orbit-core { position: relative; width: 35%; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(174, 167, 255, .34); border-radius: 50%; background: radial-gradient(circle at 35% 25%, rgba(115, 105, 229, .35), rgba(22, 21, 44, .75) 68%); box-shadow: 0 0 70px rgba(99, 87, 212, .24), inset 0 0 35px rgba(139, 128, 255, .12); }
.orbit-core svg { position: relative; width: 76%; height: 76%; }
.core-glow { position: absolute; inset: 23%; border-radius: 50%; background: #8176ff; filter: blur(34px); opacity: .22; }
.orbit-star { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #d3ceff; box-shadow: 0 0 12px 3px rgba(183, 176, 255, .55); }
.orbit-star--one { top: 16%; right: 24%; }
.orbit-star--two { bottom: 23%; left: 13%; width: 4px; height: 4px; }
.orbit-star--three { top: 46%; right: 1%; width: 3px; height: 3px; }

.home-footer { min-height: 54px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .065); color: #5f5e73; font-size: 9px; font-weight: 650; letter-spacing: .13em; }

.music-page { display: grid; place-items: center; padding: 40px 10%; }
.music-copy { width: min(100%, 760px); padding: 60px 0; animation: appear .55s ease both; }
.music-copy .eyebrow { margin-bottom: 22px; }
.music-copy h1 { max-width: 760px; font-size: clamp(36px, 5vw, 62px); }
.music-description { max-width: 600px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.music-status { margin: 32px 0 0; color: #aaa5e9; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.music-status::before { display: inline-block; width: 6px; height: 6px; margin: 0 10px 1px 0; border-radius: 50%; background: #9d95ff; content: ""; }

@keyframes appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1500px) {
  .home-layout { min-height: min(760px, calc(100vh - 166px)); }
}

@media (max-width: 900px) {
  .site-header, .pages-container { width: calc(100% - 40px); }
  .home-layout { grid-template-columns: 1fr minmax(270px, .8fr); gap: 2%; padding-right: 1%; padding-left: 1%; }
  .orbit-art { width: 100%; }
  .home-copy h1 { font-size: clamp(40px, 6vw, 58px); }
}

@media (max-width: 680px) and (orientation: portrait), (max-width: 520px) {
  .site-header { position: relative; z-index: 6; width: calc(100% - 36px); height: 67px; grid-template-columns: 1fr auto; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 10px; letter-spacing: .12em; }
  .main-nav { position: fixed; z-index: 5; right: 0; bottom: 0; left: 0; height: calc(68px + env(safe-area-inset-bottom)); padding: 0 14px env(safe-area-inset-bottom); justify-content: center; gap: 12px; border-top: 1px solid rgba(155, 147, 255, .16); background: rgba(10, 10, 20, .94); backdrop-filter: blur(18px); }
  .nav-link { min-width: 108px; height: 100%; flex-direction: column; gap: 5px; padding: 8px 12px 6px; font-size: 10px; }
  .nav-link svg { width: 19px; height: 19px; }
  .nav-link.active::after { right: 27px; bottom: calc(100% - 2px - env(safe-area-inset-bottom)); left: 27px; }
  .language-picker { height: 34px; gap: 7px; padding: 0 9px; }
  .language-picker select { max-width: 95px; font-size: 11px; }
  .pages-container { width: calc(100% - 36px); min-height: calc(100svh - 67px); padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .page { min-height: calc(100svh - 143px - env(safe-area-inset-bottom)); }
  .home-layout { min-height: auto; grid-template-columns: 1fr; gap: 0; padding: 0; }
  .home-copy { padding: clamp(56px, 10vh, 88px) 2px 10px; }
  .eyebrow { margin-bottom: 19px; font-size: 9px; letter-spacing: .16em; }
  .home-copy h1 { font-size: clamp(39px, 10vw, 55px); }
  .home-description { margin-top: 18px; font-size: 14px; line-height: 1.75; }
  .home-note { margin-top: 21px; font-size: 11px; }
  .orbit-art { width: min(76vw, 310px); margin: 22px auto 24px; }
  .home-footer { min-height: 48px; gap: 12px; font-size: 7px; letter-spacing: .08em; }
  .music-page { min-height: calc(100svh - 143px - env(safe-area-inset-bottom)); padding: 0 4px; }
  .music-copy { padding: 35px 0; }
  .music-copy h1 { font-size: clamp(35px, 9vw, 48px); line-height: 1.12; }
  .music-description { margin-top: 20px; font-size: 14px; }
  .music-status { margin-top: 25px; }
}

@media (max-width: 680px) and (orientation: landscape) and (min-width: 521px) {
  .site-header { height: 60px; }
  .pages-container, .page { min-height: calc(100svh - 61px); }
  .home-layout { min-height: calc(100svh - 110px); grid-template-columns: 1.1fr .8fr; gap: 3%; padding: 4px 2%; }
  .home-copy { padding: 12px 0; }
  .home-copy h1 { font-size: clamp(32px, 6vh, 48px); }
  .eyebrow { margin-bottom: 12px; font-size: 8px; }
  .home-description { margin-top: 13px; font-size: 12px; line-height: 1.55; }
  .home-note { margin-top: 12px; font-size: 10px; }
  .orbit-art { width: min(54vh, 260px); }
  .home-footer { min-height: 40px; }
  .music-page { min-height: calc(100svh - 61px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
