:root,
:root[data-theme="dark"] {
  --bg: #070605;
  --bg2: #100e0c;
  --ink: #f2ebe2;
  --mute: #9e958a;
  --line: #2a2420;
  --accent: #e8c39a;
  --hot: #d4a574;
  --signal: #c9a27a;
  --on: #120c08;
  --nav-h: 4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 4L60 32 32 60 4 32Z' fill='none' stroke='%23e8c39a' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
}

:root[data-theme="dark"] {
  --hot: #d4a574;
  --signal: #c9a27a;
}

:root[data-theme="light"] {
  --bg: #f3eee6;
  --bg2: #e9e1d4;
  --ink: #17120e;
  --mute: #5c544a;
  --line: #d2c6b5;
  --accent: #8a5a28;
  --hot: #a86520;
  --signal: #8a5a28;
  --on: #fffaf3;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 4L60 32 32 60 4 32Z' fill='none' stroke='%238a5a28' stroke-opacity='0.1' stroke-width='1'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.05rem/1.65 "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

html[lang="en"] [data-lang="fr"],
html[lang="fr"] [data-lang="en"] {
  display: none;
}

.visually-hidden,
.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.pointer-glow {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .pointer-glow {
    display: block;
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), color-mix(in srgb, var(--signal) 10%, transparent), transparent 55%);
    opacity: 0.55;
    transition: opacity 0.4s var(--ease);
  }
  /* Keep content above the glow without overriding position:fixed chrome */
  main,
  .nav,
  .foot,
  .sec {
    position: relative;
    z-index: 1;
  }
}

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: var(--nav-h);
  padding: 0.7rem clamp(0.85rem, 3.5vw, 2.75rem);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-left: 0.75rem;
  font-size: 0.92rem;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--mute);
}

.nav-desktop a:hover {
  color: var(--ink);
}

.tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang button,
.mode {
  background: none;
  border: 0;
  color: var(--mute);
  font: 600 0.78rem inherit;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.mode {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--mute);
  opacity: 0.75;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

.mode:hover {
  opacity: 1;
  color: var(--ink);
}

.mode-icon-sun {
  display: none;
}

:root[data-theme="light"] .mode-icon-moon {
  display: none;
}

:root[data-theme="light"] .mode-icon-sun {
  display: block;
}

.pill,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(105deg, var(--hot), var(--accent));
  color: var(--on);
  padding: 0.8rem 1.45rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.pill {
  padding: 0.42rem 1rem;
  font-size: 0.88rem;
}

.live-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font: 700 0.72rem "Syne", sans-serif;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.live-toggle .live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #ff3b5c;
  box-shadow: 0 0 10px #ff3b5c;
  animation: livePulse 1.2s ease infinite;
}

.live-toggle.is-off .live-dot {
  background: var(--mute);
  box-shadow: none;
  animation: none;
}

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

.btn:hover,
.pill:hover {
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn.ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--hot);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: wait;
}

.nav-open {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  z-index: 2;
  position: relative;
}

.nav-open-lines {
  display: grid;
  gap: 6px;
}

.nav-open-lines i {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

/* Mobile menu overlay */
.menu {
  position: fixed !important;
  inset: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(18px);
}

.menu[hidden] {
  display: none;
}

.menu-panel {
  min-height: 100%;
  padding: clamp(1.25rem, 4vw, 2rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
  animation: menuIn 0.45s var(--ease);
}

.menu-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.menu-close {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  padding: 0.55rem 1rem;
  cursor: pointer;
}

.menu-links {
  display: grid;
  gap: 0.35rem;
  align-content: center;
}

.menu-links a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  text-decoration: none;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(0.8rem);
  animation: linkIn 0.5s var(--ease) forwards;
}

.menu-links a:nth-child(1) { animation-delay: 0.05s; }
.menu-links a:nth-child(2) { animation-delay: 0.1s; }
.menu-links a:nth-child(3) { animation-delay: 0.15s; }
.menu-links a:nth-child(4) { animation-delay: 0.2s; }
.menu-links a:nth-child(5) { animation-delay: 0.25s; }

.menu-spotify {
  justify-self: start;
}

@keyframes menuIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes linkIn {
  to { opacity: 1; transform: none; }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: center;
  overflow: visible;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  overflow: hidden;
  border-radius: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: heroEnter 2.8s var(--ease) forwards;
}

.hero-grain,
.hero-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grain {
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  animation: grainDrift 12s linear infinite;
}

.hero-light {
  background: radial-gradient(ellipse 50% 40% at 50% 35%, color-mix(in srgb, var(--signal) 32%, transparent), transparent 70%);
  animation: lightBreath 8s var(--ease) infinite;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 50% at 50% 42%, color-mix(in srgb, var(--bg) 15%, transparent), color-mix(in srgb, var(--bg) 72%, transparent) 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 45%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 48%, var(--bg) 94%);
}

.hero-compose {
  width: min(46rem, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1.1rem, 5vw, 3.5rem) clamp(2.5rem, 7vw, 4rem);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.35rem;
}

.identity {
  font-family: "Syne", sans-serif;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 0.55rem;
  text-shadow: 0 2px 24px color-mix(in srgb, var(--bg) 55%, transparent);
}

.hero-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.85rem, 4.8vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 0.65rem;
  max-width: 18ch;
  text-wrap: balance;
}

.hero-lead {
  color: color-mix(in srgb, var(--ink) 78%, var(--mute));
  max-width: 32rem;
  margin: 0 0 0.35rem;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
}

.hero-orbit-wrap {
  width: min(100%, 26rem);
  margin: 0.35rem auto 0.85rem;
  overflow: visible;
  padding: 0.35rem 2.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.reveal-hero {
  opacity: 0;
  transform: translateY(1rem);
  filter: blur(4px);
  animation: signalReveal 0.9s var(--ease) forwards;
}

.reveal-hero[data-delay="0"] { animation-delay: 0.12s; }
.reveal-hero[data-delay="1"] { animation-delay: 0.28s; }
.reveal-hero[data-delay="2"] { animation-delay: 0.42s; }
.reveal-hero[data-delay="3"] { animation-delay: 0.55s; }
.reveal-hero[data-delay="4"] { animation-delay: 0.8s; }
.reveal-hero[data-delay="5"] { animation-delay: 1.05s; }

@keyframes signalReveal {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes heroEnter {
  to { transform: scale(1.02); }
}

@keyframes grainDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-2%, -1%, 0); }
}

@keyframes lightBreath {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

/* ——— Sections ——— */
.sec {
  position: relative;
  padding: clamp(4rem, 10vw, 7.5rem) clamp(1.1rem, 5vw, 3.5rem);
  max-width: 72rem;
  margin: 0 auto;
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.sec > * {
  position: relative;
}

.eyebrow {
  font-family: "Syne", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.sec h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.08;
  max-width: 16ch;
  margin: 0 0 0.9rem;
  text-wrap: balance;
}

.sec .sub {
  color: var(--mute);
  max-width: 34rem;
  margin: 0 0 2.4rem;
}

/* Music preview stage */
.player-shell {
  margin: 0 0 2.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background:
    radial-gradient(120% 80% at 10% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%),
    color-mix(in srgb, var(--bg2) 80%, transparent);
}

.player-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.player-tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mute);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: 600 0.85rem inherit;
  cursor: pointer;
}

.player-tab.is-active,
.player-tab[aria-selected="true"] {
  color: var(--on);
  background: linear-gradient(105deg, var(--hot), var(--accent));
  border-color: transparent;
}

.player-stage {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.player-stage:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  transform: translateY(-1px);
}

.player-stage img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 0.55rem;
}

.player-stage-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.player-stage-copy strong {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.player-stage-copy em {
  font-style: normal;
  color: var(--mute);
  font-size: 0.9rem;
}

.player-stage-play {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hot), var(--accent));
  color: var(--on);
  font-size: 0.95rem;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--hot) 28%, transparent);
}

.player-hint {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--mute);
}

/* Preview popup → then Spotify app */
body.preview-open {
  overflow: hidden;
}

.preview-modal {
  width: min(24rem, calc(100vw - 1.5rem));
  max-height: min(92vh, 40rem);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.preview-modal::backdrop {
  background:
    radial-gradient(80% 60% at 50% 20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    color-mix(in srgb, #050403 78%, transparent);
  backdrop-filter: blur(10px);
}

.preview-panel {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.35rem;
  max-height: min(92vh, 40rem);
  overflow: auto;
  padding: 1.35rem 1.25rem 1.2rem;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: 1.25rem;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--bg2) 92%, var(--accent)), var(--bg)),
    var(--bg2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  text-align: center;
  animation: previewIn 0.45s var(--ease) both;
}

@keyframes previewIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.preview-close {
  position: absolute;
  top: 0.65rem;
  right: 0.7rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.preview-art-wrap {
  position: relative;
  width: min(9.5rem, 46vw);
  margin: 0.2rem auto 0.55rem;
  align-self: start;
}

.preview-art-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: 9.5rem;
  object-fit: cover;
  border-radius: 0.85rem;
}

.preview-pulse {
  position: absolute;
  inset: -8%;
  border-radius: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  animation: previewPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes previewPulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.03);
  }
}

.preview-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.preview-panel h3 {
  margin: 0.15rem 0 0.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 4.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.preview-lead {
  margin: 0 auto 0.55rem;
  max-width: 20rem;
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.45;
}

.preview-modal audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.preview-wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.28rem;
  height: 1.85rem;
  margin: 0.15rem 0 0.85rem;
}

.preview-wave i {
  width: 0.28rem;
  height: 0.55rem;
  border-radius: 99px;
  background: color-mix(in srgb, var(--accent) 70%, var(--ink));
  transform-origin: bottom center;
}

.preview-wave.is-playing i {
  animation: waveBar 0.9s ease-in-out infinite;
}

.preview-wave.is-playing i:nth-child(2) { animation-delay: 0.08s; }
.preview-wave.is-playing i:nth-child(3) { animation-delay: 0.16s; }
.preview-wave.is-playing i:nth-child(4) { animation-delay: 0.04s; }
.preview-wave.is-playing i:nth-child(5) { animation-delay: 0.22s; }
.preview-wave.is-playing i:nth-child(6) { animation-delay: 0.12s; }
.preview-wave.is-playing i:nth-child(7) { animation-delay: 0.18s; }
.preview-wave.is-playing i:nth-child(8) { animation-delay: 0.06s; }
.preview-wave.is-playing i:nth-child(9) { animation-delay: 0.2s; }
.preview-wave.is-playing i:nth-child(10) { animation-delay: 0.1s; }

@keyframes waveBar {
  0%,
  100% {
    height: 0.45rem;
    opacity: 0.55;
  }
  50% {
    height: 2.1rem;
    opacity: 1;
  }
}

.preview-choose {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.preview-platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  width: 100%;
}

.preview-platform {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  min-height: 3.4rem;
  padding: 0.55rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--ink);
  font: 600 0.78rem/1.2 "Outfit", sans-serif;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.preview-platform:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  transform: translateY(-1px);
}

.preview-platform:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.preview-platform-mark {
  font-size: 0.95rem;
  color: var(--accent);
}

.preview-platform[data-listen-on="spotify"] {
  border-color: color-mix(in srgb, #1db954 35%, var(--line));
}

.preview-platform[data-listen-on="youtube"] {
  border-color: color-mix(in srgb, #ff0033 30%, var(--line));
}

.preview-platform[data-listen-on="apple"] {
  border-color: color-mix(in srgb, #fc3c44 30%, var(--line));
}

.preview-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--mute);
}

@media (max-width: 420px) {
  .preview-platforms {
    grid-template-columns: 1fr;
  }

  .preview-platform {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: start;
    min-height: 2.8rem;
    padding: 0.65rem 0.9rem;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .player-stage {
    grid-template-columns: 4.4rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 0.7rem;
  }

  .player-stage img {
    width: 4.4rem;
    height: 4.4rem;
  }
}

/* Music releases */
.releases {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
}

.release {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.release.is-playing {
  border-bottom-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.release:first-child {
  border-top: 1px solid var(--line);
}

.release-art {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.25rem;
  background: var(--bg2);
}

.release-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.release-wave {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  height: 18px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  background: repeating-linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 5px);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  transform: scaleY(0.6);
}

.release:hover .release-art img,
.release:focus-visible .release-art img {
  transform: scale(1.04);
}

.release:hover .release-wave,
.release:focus-visible .release-wave {
  opacity: 0.85;
  animation: wavePulse 1.1s var(--ease) infinite;
}

.release-meta {
  display: grid;
  gap: 0.35rem;
  transition: transform 0.45s var(--ease);
}

.release:hover .release-meta {
  transform: translateX(0.25rem);
}

.release-num {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}

.release h3 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0;
}

.release-lang,
.release p {
  color: var(--mute);
  margin: 0;
  font-size: 0.95rem;
}

.release-go {
  margin-top: 0.35rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.release-go::after {
  content: "→";
  transition: transform 0.35s var(--ease);
}

.release:hover .release-go::after {
  transform: translateX(0.25rem);
}

@keyframes wavePulse {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}

/* Living 15-song orbit (hero) */
.orbit {
  --year-progress: 0;
  --song-progress: 0;
  position: relative;
  width: min(100%, 22.5rem);
  aspect-ratio: 1;
  margin: 0 auto;
}

.orbit--hero {
  overflow: visible;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}

.orbit-progress {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.orbit-progress-track,
.orbit-progress-fill {
  fill: none;
  stroke-width: 1.35;
}

.orbit-progress-track {
  stroke: color-mix(in srgb, var(--line) 70%, transparent);
}

.orbit-progress-fill {
  stroke: var(--accent);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.8s var(--ease);
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--signal) 55%, transparent));
}

.orbit-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 0 40px color-mix(in srgb, var(--signal) 14%, transparent);
  animation: orbitRingPulse 5.5s var(--ease) infinite;
}

.orbit.is-alive .orbit-ring {
  animation: orbitSpin 64s linear infinite, orbitRingPulse 5.5s var(--ease) infinite;
}

.orbit-traveler-rail {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  transform: rotate(var(--travel-angle, 0deg));
  transition: transform 1.8s var(--ease);
  pointer-events: none;
  z-index: 3;
}

.orbit-traveler {
  position: absolute;
  left: 50%;
  top: 0;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 2px var(--accent), 0 0 18px color-mix(in srgb, var(--signal) 70%, transparent);
  transform: translate(-50%, -50%);
  animation: travelerGlow 2.2s ease-in-out infinite;
}

.orbit-center {
  position: absolute;
  inset: 30%;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.12rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%),
    color-mix(in srgb, var(--bg) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  backdrop-filter: blur(8px);
  padding: 0.6rem;
  z-index: 2;
  animation: centerBreath 4.8s var(--ease) infinite;
}

.orbit-center strong {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.55rem, 4.5vw, 2rem);
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.orbit-center > span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 500;
}

.orbit-center em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-size: 0.68rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  max-width: 11ch;
  justify-self: center;
}

.orbit-center small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  color: color-mix(in srgb, var(--accent) 80%, var(--mute));
}

.orbit-nodes {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.orbit.is-alive .orbit-nodes {
  animation: orbitSpin 56s linear infinite;
}

.orbit.is-alive .orbit-progress {
  animation: orbitProgressSpin 56s linear infinite;
}

@keyframes orbitProgressSpin {
  from {
    transform: rotate(-90deg);
  }
  to {
    transform: rotate(270deg);
  }
}

.orbit-node {
  position: absolute;
  width: 0.9rem;
  height: 0.9rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--line) 85%, var(--mute));
  transform: translate(-50%, -50%) scale(0.85);
  transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: auto;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.orbit-node:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.orbit-node.lit {
  background: var(--accent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--signal) 65%, transparent);
}

.orbit-node.lit.in {
  transform: translate(-50%, -50%) scale(1.15);
  animation: litPulse 2.4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.15s);
}

.orbit-node:hover,
.orbit-node:focus-visible {
  transform: translate(-50%, -50%) scale(1.35);
  box-shadow: 0 0 18px color-mix(in srgb, var(--signal) 80%, transparent);
}

.orbit-node-label {
  position: absolute;
  top: 50%;
  left: 1.15rem;
  white-space: nowrap;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  line-height: 1.2;
  transform: translateY(-50%);
  transform-origin: -0.7rem 50%;
}

.orbit.is-alive .orbit-node-label {
  animation: labelCounterSpin 56s linear infinite;
}

@keyframes labelCounterSpin {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(-360deg);
  }
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes orbitRingPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes centerBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes litPulse {
  0%, 100% { box-shadow: 0 0 10px color-mix(in srgb, var(--signal) 45%, transparent); }
  50% { box-shadow: 0 0 20px color-mix(in srgb, var(--signal) 80%, transparent); }
}

@keyframes waitingBlink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

@keyframes travelerGlow {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.story-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
  border-radius: 0.35rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 0 0 1px var(--line);
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.story-block {
  padding: 0.25rem 0 1rem;
  border-top: 1px solid var(--line);
}

.story-num {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.story-block h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.65rem;
}

.story-block p {
  margin: 0;
  color: var(--mute);
  max-width: 36rem;
}

/* Live */
.live {
  max-width: none;
  width: 100%;
  overflow: hidden;
  background: var(--bg2);
  border-block: 1px solid var(--line);
}

.live > *:not(.live-atmosphere) {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.live .cta-row {
  justify-content: center;
}

.live-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.live-atmosphere i {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  animation: stageGlow 9s var(--ease) infinite;
}

.live-atmosphere i:first-child {
  width: min(50vw, 28rem);
  height: min(50vw, 28rem);
  left: 15%;
  top: -10%;
  background: color-mix(in srgb, var(--signal) 40%, transparent);
}

.live-atmosphere i:last-child {
  width: min(40vw, 22rem);
  height: min(40vw, 22rem);
  right: 10%;
  bottom: -15%;
  background: color-mix(in srgb, var(--hot) 30%, transparent);
  animation-delay: -3s;
}

.live-status {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

@keyframes stageGlow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.28; }
  50% { transform: translate3d(2%, 3%, 0) scale(1.06); opacity: 0.42; }
}

/* Circle / fan */
.circle {
  max-width: none;
  text-align: center;
}

.circle-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.eclipse {
  width: min(12rem, 48vw);
  aspect-ratio: 1;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, #050403 62%, #0c0a08 100%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--signal) 55%, transparent),
    0 0 48px color-mix(in srgb, var(--signal) 28%, transparent);
}

:root[data-theme="light"] .eclipse {
  background: radial-gradient(circle at 50% 50%, #1a1510 62%, #0f0c09 100%);
  color: #f2ebe2;
}

.eclipse strong {
  font-family: "Syne", sans-serif;
  font-size: clamp(0.85rem, 2.4vw, 1.05rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  max-width: 10ch;
  line-height: 1.25;
  color: #f2ebe2;
}

.eclipse svg {
  position: absolute;
  bottom: 18%;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--accent);
}

.circle h2,
.circle .sub {
  margin-inline: auto;
}

.join-form {
  display: grid;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 1.5rem auto 0;
  text-align: left;
}

.join-form label[for="join-email"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.join-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--mute);
  cursor: pointer;
}

.consent input {
  margin-top: 0.3rem;
}

.join-form button {
  width: 100%;
}

.join-note {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--mute);
  text-align: center;
}

.join-note a {
  color: var(--accent);
}

.join-success,
.join-error {
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
}

.join-success {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.join-error {
  border-color: color-mix(in srgb, #c45 50%, var(--line));
  color: var(--ink);
  font-size: 0.95rem;
}

.join-success p {
  margin: 0;
}

/* Social */
.social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.social-list a {
  text-decoration: none;
  font-family: "Syne", sans-serif;
  letter-spacing: 0.08em;
  color: var(--mute);
  border-bottom: 1px solid transparent;
}

.social-list a:hover {
  color: var(--ink);
  border-color: var(--accent);
}

/* Footer */
.foot {
  display: grid;
  gap: 1rem;
  padding: 2rem clamp(1.1rem, 5vw, 3.5rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.9rem;
}

.foot-brand strong {
  display: block;
  color: var(--ink);
  font-family: "Syne", sans-serif;
  letter-spacing: 0.12em;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.foot-links a {
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--accent);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  filter: blur(2px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Reserved messages rail — expandable / minimizable, dismissible comments */
:root {
  --live-rail-w: min(17.5rem, 28vw);
}

body.live-rail-on {
  padding-right: calc(var(--live-rail-w) + 0.75rem);
}

body.live-rail-min {
  padding-right: 0;
  padding-bottom: 0;
  background: var(--bg);
}

.live-rail {
  position: fixed !important;
  top: calc(var(--nav-h) + 0.65rem);
  right: 0.65rem;
  bottom: 0.85rem;
  width: var(--live-rail-w);
  z-index: 35;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.45rem;
  padding: 0.55rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  background: color-mix(in srgb, var(--bg) 28%, transparent);
  backdrop-filter: blur(10px);
  overflow: hidden;
  contain: layout paint;
  animation: railIn 0.45s var(--ease) both;
  pointer-events: auto;
}

@keyframes railIn {
  from {
    opacity: 0;
    transform: translateX(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.live-rail[hidden] {
  display: none !important;
}

.live-rail-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Syne", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.live-rail-sub {
  color: var(--mute);
  letter-spacing: 0.04em;
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  text-transform: none;
}

.live-rail-min-btn {
  margin-left: auto;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font: 600 0.68rem "Outfit", sans-serif;
  cursor: pointer;
  pointer-events: auto;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.live-rail-min-btn:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.live-rail-hint {
  margin: 0;
  font-size: 0.68rem;
  color: var(--mute);
  line-height: 1.35;
  animation: hintFade 4.5s var(--ease) both;
}

@keyframes hintFade {
  0%,
  70% {
    opacity: 0.85;
  }
  100% {
    opacity: 0.35;
  }
}

.live-comments {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  min-height: 0;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 100%);
  pointer-events: auto;
}

.live-bubble,
.live-toast {
  position: relative;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--bg) 42%, transparent);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  font-size: 0.82rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease);
  contain: layout paint;
}

.live-bubble.is-fresh {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.live-bubble.in,
.live-toast.in {
  opacity: 0.94;
  transform: translateY(0);
}

.live-bubble.out,
.live-toast.out {
  opacity: 0;
  transform: translateX(0.6rem) scale(0.98);
}

.live-source {
  display: none !important;
}

.live-handle {
  display: block;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.12rem;
}

.live-text {
  display: block;
}

.live-bubble.is-cta,
.live-toast.is-cta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--accent) 22%, transparent),
    color-mix(in srgb, var(--bg) 45%, transparent)
  );
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font: inherit;
  text-align: left;
  width: 100%;
}

.live-cta-mark {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.85rem;
}

.live-bubble.is-cta .live-text,
.live-toast.is-cta .live-text {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.live-dismiss {
  display: none !important;
}

.live-compose {
  display: grid;
  grid-template-columns: 4.2rem 1fr auto;
  gap: 0.35rem;
  align-items: center;
  padding-top: 0.15rem;
  position: relative;
}

.live-compose .hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
}

.live-compose input {
  width: 100%;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  color: var(--ink);
  padding: 0.45rem 0.55rem;
  font: 500 0.78rem "Outfit", system-ui, sans-serif;
}

.live-compose input::placeholder {
  color: var(--mute);
}

.live-compose input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.live-compose button {
  border: 0;
  border-radius: 0.65rem;
  padding: 0.45rem 0.7rem;
  background: linear-gradient(105deg, var(--hot), var(--accent));
  color: var(--on);
  font: 700 0.72rem "Syne", sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
}

/* Minimized: reopen FAB only (no grey toast overlay) */
.live-fab {
  position: fixed !important;
  right: 0.85rem;
  bottom: 1.1rem;
  z-index: 36;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  font: 700 0.78rem "Syne", sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.live-fab[hidden] {
  display: none !important;
}

.live-fab.has-new {
  border-color: color-mix(in srgb, #e11d48 45%, var(--accent));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), 0 0 0 0 color-mix(in srgb, #e11d48 40%, transparent);
  animation: fabGlow 1.8s ease-in-out infinite;
}

@keyframes fabGlow {
  0%,
  100% {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), 0 0 0 0 color-mix(in srgb, #e11d48 35%, transparent);
  }
  50% {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), 0 0 0 6px color-mix(in srgb, #e11d48 0%, transparent);
  }
}

.live-toast-layer {
  position: fixed !important;
  right: 0.85rem;
  bottom: 4.2rem;
  z-index: 36;
  width: min(16.5rem, calc(100vw - 1.5rem));
  display: grid;
  gap: 0.4rem;
  pointer-events: none;
}

body.live-rail-min .live-toast-layer {
  display: none !important;
}

.live-toast {
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  animation: toastSlide 0.45s var(--ease) both;
}

@keyframes toastSlide {
  from {
    opacity: 0;
    transform: translateX(1.1rem);
  }
  to {
    opacity: 0.95;
    transform: none;
  }
}

/* UI coach hints */
.ui-hint {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 60;
  width: min(22rem, calc(100vw - 1.5rem));
  transform: translateX(-50%) translateY(0.6rem);
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
}

.ui-hint[hidden] {
  display: none !important;
}

.ui-hint.ui-hint-in {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.4s var(--ease), transform 0.45s var(--ease);
}

.ui-hint p {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.ui-hint-ok {
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  background: linear-gradient(105deg, var(--hot), var(--accent));
  color: var(--on);
  font: 600 0.8rem "Outfit", sans-serif;
  cursor: pointer;
}

.hint-pulse {
  outline: 2px solid color-mix(in srgb, var(--accent) 70%, transparent);
  outline-offset: 4px;
  animation: hintRing 1.1s ease-in-out infinite;
}

@keyframes hintRing {
  0%,
  100% {
    outline-color: color-mix(in srgb, var(--accent) 35%, transparent);
  }
  50% {
    outline-color: color-mix(in srgb, var(--accent) 90%, transparent);
  }
}

@media (max-width: 900px) {
  :root {
    --live-rail-w: min(100%, 22rem);
  }

  body.live-rail-on {
    padding-right: 0;
    padding-bottom: min(34vh, 15rem);
  }

  body.live-rail-min {
    padding-bottom: 0;
  }

  .live-rail {
    top: auto;
    right: 0.55rem;
    left: 0.55rem;
    bottom: 0.55rem;
    width: auto;
    max-height: min(32vh, 14rem);
    animation-name: railInUp;
  }

  @keyframes railInUp {
    from {
      opacity: 0;
      transform: translateY(1rem);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .live-fab {
    right: 0.75rem;
    bottom: 0.9rem;
  }

  .live-toast-layer {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    bottom: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .hero-grain,
  .hero-light,
  .reveal-hero,
  .preview-panel,
  .preview-pulse,
  .preview-wave.is-playing i,
  .orbit-ring,
  .orbit-nodes,
  .orbit-progress,
  .orbit-node-label,
  .orbit-center,
  .orbit-traveler,
  .orbit-node.lit.in,
  .live-rail,
  .live-fab,
  .live-toast,
  .hint-pulse,
  .ui-hint {
    animation: none !important;
  }

  .orbit-progress-fill,
  .orbit-traveler-rail {
    transition: none !important;
  }

  .live-atmosphere i,
  .menu-panel,
  .menu-links a,
  .release-wave,
  .live-toggle .live-dot {
    animation: none !important;
  }
  .reveal,
  .reveal-hero {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .pointer-glow { display: none !important; }
}

@media (max-width: 900px) {
  .nav-desktop,
  .pill {
    display: none;
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 0.45rem;
  }

  .brand {
    grid-column: 1;
    margin-right: 0.25rem;
  }

  .tools {
    grid-column: 2;
    margin-left: 0 !important;
    gap: 0.35rem;
    flex: 0 0 auto;
    justify-self: end;
  }

  .nav-open {
    display: grid;
    grid-column: 3;
    margin-left: 0;
    justify-self: end;
  }

  .lang button {
    padding: 0.35rem 0.55rem;
  }

  .mode {
    width: 28px;
    height: 28px;
  }

  .orbit {
    width: min(100%, 19.5rem);
  }

  .orbit-node-label {
    font-size: 0.62rem;
    padding: 0.14rem 0.4rem;
  }

  .live-compose {
    grid-template-columns: 3.6rem 1fr auto;
  }

  .release {
    grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-photo {
    grid-column: auto;
    grid-row: auto;
    max-width: 22rem;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .release {
    grid-template-columns: 1fr;
  }

  .release-art {
    max-width: 14rem;
  }
}

@media (min-width: 900px) {
  .foot {
    grid-template-columns: 1fr auto auto;
    align-items: end;
  }
}
