/*
  Cassette's landing page. Tokens are the web app's (apps/web/src/index.css): a warm-violet black,
  lime kept for the one thing that matters on a screen, violet for glow. Dark only, like the app.
  Motion vocabulary: one ease (expo out), transform and opacity only, and every loop paused when
  it is off screen. Elements that JS moves use `transform`; entrances use the separate `translate`
  property, so the two never fight over one value.
*/

@font-face {
  font-family: "Bricolage";
  src: url("./fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("./fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("./fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #0b0a0f;
  --ink-2: #100e16;
  --surface: #16141d;
  --raised: #211e2b;
  --line: #2e2a3b;
  --line-soft: rgb(244 241 247 / 0.08);
  --text: #f4f1f7;
  --dim: #a29bb4;
  --faint: #6f6883;
  --lime: #d6f84c;
  --on-lime: #14130b;
  --violet: #7c5cff;
  --azure: #4cd6f8;
  --pink: #ff5ca8;
  --amber: #ffb547;

  --display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --r-card: 22px;

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  interpolate-size: allow-keywords;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection {
  background: var(--lime);
  color: var(--on-lime);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 8px;
}
[hidden] {
  display: none !important;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-size: clamp(2.9rem, 0.8rem + 6.6vw, 7.2rem);
  font-weight: 740;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.display__line {
  display: block;
}
.display__line--lime {
  color: var(--lime);
  filter: drop-shadow(0 0 40px rgb(214 248 76 / 0.28));
}
.h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 1.1rem + 3.6vw, 4.4rem);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
  max-width: 16ch;
}
.body {
  color: var(--dim);
  max-width: 56ch;
  text-wrap: pretty;
  margin-top: 20px;
}
.lede {
  font-size: clamp(1.08rem, 0.95rem + 0.5vw, 1.36rem);
  color: var(--dim);
  max-width: 46ch;
  text-wrap: pretty;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lime);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

/* words that rise out of their own line (JS wraps them; see main.js split()) */
.w {
  display: inline-block;
  overflow: clip;
  overflow-clip-margin: 0.12em;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
  vertical-align: top;
}
.w > span {
  display: inline-block;
  translate: 0 108%;
  rotate: 4deg;
  transition:
    translate 1.1s var(--ease),
    rotate 1.1s var(--ease);
  transition-delay: calc(var(--base, 0s) + var(--i) * 55ms);
}
.is-in .w > span,
.is-in.w > span {
  translate: 0 0;
  rotate: 0deg;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 620;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    box-shadow 0.35s var(--ease),
    background-color 0.25s,
    color 0.25s;
}
.btn--sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
}
.btn--lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.04rem;
}
.btn--lime {
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: 0 0 0 0 rgb(214 248 76 / 0);
}
.btn--lime:hover {
  box-shadow: 0 14px 44px -12px rgb(214 248 76 / 0.6);
}
/* a highlight crosses the lime on hover */
.btn--lime::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.55) 50%, transparent 70%) -160% 0 / 250% 100% no-repeat;
}
.btn--lime:hover::after {
  transition: background-position 0.8s var(--ease);
  background-position: 160% 0;
}
.btn--ghost {
  color: var(--text);
  background: rgb(244 241 247 / 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
/* the fill spreads from where the pointer came in */
.btn--ghost::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 12px;
  height: 12px;
  margin: -6px;
  border-radius: 50%;
  background: rgb(244 241 247 / 0.1);
  scale: 0;
  transition: scale 0.6s var(--ease);
}
.btn--ghost:hover::before {
  scale: 40;
}
.btn .ic {
  transition: transform 0.35s var(--ease);
}
.btn:hover .ic {
  transform: translate(2px, -2px);
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.link:hover {
  color: var(--lime);
}
.tag {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.9rem;
  color: var(--dim);
  transition:
    color 0.2s,
    background-color 0.2s,
    box-shadow 0.2s,
    transform 0.3s var(--spring);
}
.tag:hover {
  color: var(--text);
  transform: translateY(-2px);
}
.tag[aria-pressed="true"] {
  color: var(--on-lime);
  background: var(--lime);
  box-shadow: none;
}

/* little equaliser bars, the "something is playing" signal */
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 14px;
  height: 12px;
}
.eq i {
  flex: 1;
  height: 30%;
  border-radius: 1px;
  background: currentColor;
}
.eq--on i {
  animation: eq 0.9s ease-in-out infinite alternate;
}
.eq--on i:nth-child(2) {
  animation-duration: 0.7s;
  animation-delay: -0.3s;
}
.eq--on i:nth-child(3) {
  animation-duration: 1.1s;
  animation-delay: -0.5s;
}
.eq--on i:nth-child(4) {
  animation-duration: 0.8s;
  animation-delay: -0.2s;
}
@keyframes eq {
  from {
    height: 20%;
  }
  to {
    height: 100%;
  }
}

/* ---------- nav ---------- */
.tape-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 2px;
  pointer-events: none;
}
.tape-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--lime));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  box-shadow: 0 0 12px rgb(214 248 76 / 0.6);
}
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(11 10 15 / 0.66);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 1px 0 var(--line-soft);
  opacity: 0;
  transition: opacity 0.35s;
}
.nav.is-stuck::before {
  opacity: 1;
}
.nav__row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--lime);
  transition: transform 0.5s var(--spring);
}
.brand:hover .mark {
  transform: rotate(-8deg) scale(1.06);
}
.mark svg {
  width: 26px;
  height: 26px;
}

.nav nav {
  margin-inline: auto;
}
.nav__links {
  display: flex;
  gap: 2px;
}
.nav__links a {
  position: relative;
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--dim);
  transition: color 0.2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 1.5px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-here {
  color: var(--text);
}
.nav__links a:hover::after,
.nav__links a.is-here::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 920px) {
  .nav nav {
    display: none;
  }
  .nav__cta {
    margin-left: auto;
  }
}

/* the mini player: the song follows you down the page, like the app's */
.mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--lime);
  animation: mini-in 0.5s var(--spring) both;
}
.mini[hidden] {
  display: none;
}
.mini__text {
  display: grid;
  line-height: 1.1;
  text-align: left;
}
.mini__text b {
  font-size: 0.8rem;
  color: var(--text);
}
.mini__text small {
  font-size: 0.68rem;
  color: var(--dim);
}
.mini__ic {
  width: 26px;
  height: 26px;
  padding: 7px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-lime);
}
@keyframes mini-in {
  from {
    opacity: 0;
    scale: 0.7;
  }
}
@media (max-width: 520px) {
  .mini__text {
    display: none;
  }
  .nav__cta .btn--sm {
    padding: 0 13px;
  }
}

/* ---------- entrances ---------- */
.load {
  animation: rise 1.1s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 1s + 0.1s);
}
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 26px;
    filter: blur(10px);
  }
}
.rv {
  opacity: 0;
  translate: 0 34px;
  transition:
    opacity 0.9s var(--ease),
    translate 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.rv.is-in {
  opacity: 1;
  translate: 0 0;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding-top: calc(96px + env(safe-area-inset-top, 0px));
  padding-bottom: 80px;
  overflow: clip;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s ease 0.1s;
}
.hero__bg.is-ready {
  opacity: 1;
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: screen;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 220px;
  background: linear-gradient(transparent, var(--ink));
  pointer-events: none;
}
.hero__copy {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 22px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgb(22 20 29 / 0.7);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.84rem;
  color: var(--dim);
}
.pill .eq {
  color: var(--lime);
}
.hero .display {
  max-width: 11ch;
}
@media (min-width: 900px) {
  .hero .display {
    max-width: none;
  }
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
#hear.is-on {
  background: var(--text);
}
.hero__note {
  font-size: 0.86rem;
  color: var(--faint);
}
.hero__note span {
  padding: 2px 8px;
  margin-inline: 2px;
  border-radius: 999px;
  background: rgb(76 214 248 / 0.12);
  color: var(--azure);
  font-family: var(--mono);
  font-size: 0.74rem;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: none;
  width: 24px;
  height: 38px;
  margin-left: -12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.scroll-cue i {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--lime);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(14px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* the stage: the phone in the middle, the app's other surfaces drifting round it */
.stage {
  position: relative;
  display: grid;
  justify-items: center;
  margin-top: clamp(48px, 7vh, 80px);
  perspective: 1400px;
}
.float,
.chip--plane {
  position: absolute;
  z-index: 2;
  will-change: transform;
}
.float {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 20px;
  background: rgb(22 20 29 / 0.72);
  box-shadow:
    inset 0 0 0 1px var(--line-soft),
    0 30px 60px -24px rgb(0 0 0 / 0.8);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.float__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: 0.92rem;
}
.float__head .ic {
  color: var(--lime);
}
.float__group {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 4px;
}
.float--queue {
  left: calc(50% - 520px);
  top: 70px;
  width: 260px;
}
.queue {
  position: relative;
  display: grid;
  gap: 6px;
}
.queue li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 12px;
  background: var(--raised);
  transition: transform 0.6s var(--ease);
}
.queue li.is-lifted {
  background: #2a2636;
  box-shadow: 0 16px 30px -12px rgb(0 0 0 / 0.8);
  scale: 1.04;
  z-index: 1;
}
.queue li span {
  display: grid;
  min-width: 0;
  flex: 1;
  line-height: 1.2;
}
.queue b,
.lib__rows b,
.lib__mini b {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.queue small,
.lib__rows small,
.lib__mini small {
  font-size: 0.72rem;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.queue .art {
  width: 34px;
  height: 34px;
}
.grip {
  color: var(--faint);
}
.queue--context li {
  opacity: 0.7;
}
.float--saved {
  right: calc(50% - 500px);
  top: 110px;
  grid-auto-flow: column;
  align-items: center;
  gap: 12px;
  padding-right: 18px;
}
.float--saved b,
.float--handoff b {
  display: block;
  font-size: 0.86rem;
}
.float--saved small,
.float--handoff small {
  display: block;
  font-size: 0.74rem;
  color: var(--dim);
}
.ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
}
.ring svg:first-child,
.saved--ring svg:first-child {
  position: absolute;
  inset: 0;
  rotate: -90deg;
  fill: none;
  stroke-width: 3;
}
.ring circle,
.saved--ring circle {
  stroke: var(--line);
}
.ring .ring__fill,
.saved--ring .ring__fill {
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--o, 1);
}
.ring__check {
  color: var(--lime);
  opacity: 0;
  scale: 0.4;
  transition:
    opacity 0.3s,
    scale 0.5s var(--spring);
}
.ring.is-done .ring__check {
  opacity: 1;
  scale: 1;
}
.float--handoff {
  right: calc(50% - 540px);
  top: 330px;
  grid-auto-flow: column;
  align-items: center;
  gap: 12px;
  width: 290px;
}
.float--handoff em {
  font-style: normal;
  color: var(--lime);
}
.handoff__dev {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgb(124 92 255 / 0.18);
  color: #b4a3ff;
}
.handoff__at {
  font-size: 0.78rem;
  color: var(--dim);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 560;
}
.chip--plane {
  left: calc(50% - 440px);
  top: 420px;
  background: rgb(76 214 248 / 0.12);
  color: var(--azure);
  box-shadow: inset 0 0 0 1px rgb(76 214 248 / 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (max-width: 1100px) {
  .float--queue {
    left: calc(50% - 450px);
  }
  .float--handoff {
    right: calc(50% - 470px);
  }
  .float--saved {
    right: calc(50% - 430px);
  }
  .chip--plane {
    left: calc(50% - 400px);
  }
}
@media (max-width: 940px) {
  .float--queue,
  .float--handoff {
    display: none;
  }
  .float--saved {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 60px;
    translate: -50% 0;
    margin-left: 0;
  }
  .float--saved {
    left: calc(50% + 40px);
  }
  .chip--plane {
    left: auto;
    right: calc(50% + 70px);
    top: 120px;
  }
}
@media (max-width: 560px) {
  .stage {
    padding-bottom: 36px;
  }
  .float--saved {
    left: 50%;
    translate: -50% 0;
    bottom: 0;
    width: max-content;
  }
  .chip--plane {
    right: auto;
    left: 8px;
    top: 30px;
    font-size: 0.72rem;
  }
}
@media (min-width: 941px) and (min-height: 760px) {
  .scroll-cue {
    display: block;
  }
}

/* ---------- phones ---------- */
.phone {
  --pw: 330px;
  position: relative;
  width: var(--pw);
  aspect-ratio: 9 / 19.5;
  border-radius: calc(var(--pw) * 0.16);
  background: #050408;
  box-shadow:
    0 0 0 calc(var(--pw) * 0.03) #1b1922,
    0 0 0 calc(var(--pw) * 0.033) #3a3546,
    0 50px 120px -30px rgb(124 92 255 / 0.42),
    0 40px 80px -40px #000;
  will-change: transform;
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 5;
  left: 50%;
  top: calc(var(--pw) * 0.032);
  width: calc(var(--pw) * 0.3);
  height: calc(var(--pw) * 0.088);
  translate: -50% 0;
  border-radius: 999px;
  background: #000;
}
.phone__screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: var(--ink);
}
.phone--hero {
  --pw: clamp(290px, 26vw, 340px);
  z-index: 1;
}
.status {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--pw) * 0.05) calc(var(--pw) * 0.09) 0;
  height: calc(var(--pw) * 0.15);
  font-weight: 640;
  font-size: calc(var(--pw) * 0.047);
}
.status__icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.status__icons .ic {
  display: none;
  width: 14px;
  height: 14px;
  color: var(--text);
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 11px;
  transition: opacity 0.3s;
}
.bars i {
  width: 3px;
  border-radius: 1px;
  background: var(--text);
}
.bars i:nth-child(1) {
  height: 35%;
}
.bars i:nth-child(2) {
  height: 55%;
}
.bars i:nth-child(3) {
  height: 78%;
}
.bars i:nth-child(4) {
  height: 100%;
}
.batt {
  width: 22px;
  height: 11px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgb(244 241 247 / 0.5);
  background: linear-gradient(90deg, var(--text) 72%, transparent 72%) 2px 2px / calc(100% - 4px) calc(100% - 4px) no-repeat;
}

/* artwork: no file, just colour that moves */
.art {
  display: block;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #1a1626;
}
.art--1 {
  background: radial-gradient(circle at 28% 30%, #d6f84c, transparent 55%), radial-gradient(circle at 78% 78%, #7c5cff, transparent 60%), #1a1626;
}
.art--2 {
  background: radial-gradient(circle at 70% 25%, #4cd6f8, transparent 55%), radial-gradient(circle at 25% 80%, #3b2dbb, transparent 65%), #10131f;
}
.art--3 {
  background: radial-gradient(circle at 30% 28%, #ffb547, transparent 55%), radial-gradient(circle at 75% 70%, #ff5ca8, transparent 60%), #2a0f1e;
}
.art--4 {
  background: radial-gradient(circle at 70% 30%, #ff5ca8, transparent 50%), radial-gradient(circle at 25% 75%, #7c5cff, transparent 60%), #160f24;
}
.art--5 {
  background: radial-gradient(circle at 25% 30%, #4cf8b4, transparent 55%), radial-gradient(circle at 80% 80%, #d6f84c, transparent 55%), #0e1a16;
}
.art--6 {
  background: radial-gradient(circle at 65% 30%, #ff6b4c, transparent 55%), radial-gradient(circle at 30% 80%, #ffb547, transparent 60%), #1f120c;
}

/* ---------- Now Playing, live ---------- */
.np {
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--pw) * 0.06);
  background: linear-gradient(180deg, #1c1427 0%, #120f19 55%, #0b0a0f 100%);
  font-size: calc(var(--pw) * 0.044);
}
.np__glow {
  position: absolute;
  inset: -20% -30% 40%;
  background:
    radial-gradient(closest-side at 35% 45%, rgb(255 92 168 / calc(0.28 + var(--pulse, 0) * 0.25)), transparent),
    radial-gradient(closest-side at 70% 55%, rgb(124 92 255 / 0.32), transparent);
  filter: blur(20px);
  pointer-events: none;
}
.np__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0 calc(var(--pw) * 0.06);
  color: var(--text);
}
.np__top span {
  display: flex;
  gap: 14px;
}
.np__top .ic {
  width: calc(var(--pw) * 0.065);
  height: calc(var(--pw) * 0.065);
}
.np__art {
  position: relative;
  overflow: hidden;
  width: 72%;
  aspect-ratio: 1;
  margin: calc(var(--pw) * 0.07) auto 0;
  border-radius: calc(var(--pw) * 0.05);
  background: #1a1030;
  box-shadow: 0 24px 50px -18px rgb(0 0 0 / 0.8);
  scale: calc(1 + var(--pulse, 0) * 0.018);
}
.np.is-paused .np__art {
  scale: 0.9;
  transition: scale 0.6s var(--ease);
}
.blob {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(16px);
  mix-blend-mode: screen;
  animation: drift 9s ease-in-out infinite alternate;
}
.blob--1 {
  left: -14%;
  top: -10%;
  background: var(--lime);
  opacity: 0.85;
}
.blob--2 {
  right: -18%;
  top: 20%;
  background: var(--pink);
  animation-duration: 11s;
  animation-delay: -4s;
}
.blob--3 {
  left: 10%;
  bottom: -30%;
  background: var(--violet);
  animation-duration: 13s;
  animation-delay: -7s;
}
@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(18%, 12%) scale(1.15);
  }
  100% {
    transform: translate(-10%, 22%) scale(0.9);
  }
}
.np__art-label {
  position: absolute;
  left: 8%;
  bottom: 6%;
  font-family: var(--display);
  font-weight: 800;
  font-size: calc(var(--pw) * 0.14);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: rgb(11 10 15 / 0.82);
  mix-blend-mode: multiply;
}
.np__art-mark {
  position: absolute;
  right: 7%;
  top: 7%;
  width: 22%;
  color: rgb(11 10 15 / 0.75);
}
.np__meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--pw) * 0.07) calc(var(--pw) * 0.065) 0;
}
.np__title {
  font-weight: 700;
  font-size: calc(var(--pw) * 0.064);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.np__artist {
  color: var(--dim);
  font-size: calc(var(--pw) * 0.042);
}
.np__heart {
  color: var(--lime);
  transition: transform 0.4s var(--spring);
}
.np__heart .ic {
  width: calc(var(--pw) * 0.075);
  height: calc(var(--pw) * 0.075);
}
.np__heart[aria-pressed="true"] .ic {
  fill: currentColor;
}
.np__heart:active {
  transform: scale(0.8);
}
.np__heart.is-pop {
  animation: pop 0.5s var(--spring);
}
.np__lyric {
  position: relative;
  min-height: 2.6em;
  padding: calc(var(--pw) * 0.03) calc(var(--pw) * 0.065) 0;
  font-family: var(--display);
  font-weight: 620;
  font-size: calc(var(--pw) * 0.046);
  line-height: 1.3;
  color: rgb(244 241 247 / 0.32);
}
.np__lyric span {
  transition: color 0.25s;
}
.np__lyric .is-sung {
  color: var(--text);
}
.np__lyric .is-now {
  color: var(--lime);
}
.np__lyric.is-swap {
  animation: line-in 0.5s var(--ease);
}
@keyframes line-in {
  from {
    opacity: 0;
    translate: 0 8px;
  }
}
.np__scrub {
  position: relative;
  padding: calc(var(--pw) * 0.02) calc(var(--pw) * 0.065) 0;
}
.np__scrub canvas {
  display: block;
  width: 100%;
  height: calc(var(--pw) * 0.13);
  cursor: pointer;
  touch-action: none;
}
.np__times {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: calc(var(--pw) * 0.034);
  color: var(--dim);
}
.np__ctl {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--pw) * 0.02) calc(var(--pw) * 0.06) 0;
}
.np__ctl button {
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--spring);
}
.np__ctl button:active {
  transform: scale(0.86);
}
.np__sm .ic {
  width: calc(var(--pw) * 0.062);
  height: calc(var(--pw) * 0.062);
  color: var(--dim);
}
.np__md .ic {
  width: calc(var(--pw) * 0.09);
  height: calc(var(--pw) * 0.09);
}
.np__play {
  width: calc(var(--pw) * 0.19);
  height: calc(var(--pw) * 0.19);
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: 0 0 calc(var(--pw) * 0.12 * var(--pulse, 0)) rgb(214 248 76 / 0.5);
}
.np__play .ic {
  width: 38%;
  height: 38%;
}
.np__row {
  position: relative;
  display: flex;
  justify-content: center;
  gap: calc(var(--pw) * 0.06);
  margin-top: auto;
}
.np__row button {
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: calc(var(--pw) * 0.032);
  color: var(--dim);
  transition: color 0.2s;
}
.np__row .ic {
  width: calc(var(--pw) * 0.062);
  height: calc(var(--pw) * 0.062);
}
.np__row button:hover,
.np__row .is-saved,
.np__row .is-on {
  color: var(--lime);
}
#np-sound.is-nudge {
  animation: nudge 2.4s var(--ease) infinite;
}
@keyframes nudge {
  0%,
  60%,
  100% {
    transform: none;
  }
  70% {
    transform: translateY(-3px) scale(1.08);
  }
  80% {
    transform: none;
  }
}

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  z-index: 2;
  padding-block: 28px;
  margin-block: 40px 20px;
}
.marquee {
  display: flex;
  overflow: hidden;
  width: 108%;
  margin-left: -4%;
  padding-block: 18px;
  rotate: -2deg;
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: 0 30px 80px -30px rgb(214 248 76 / 0.45);
}
.marquee__track {
  display: flex;
  flex: none;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-inline: 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 0.9rem + 1.2vw, 1.9rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.marquee li::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 22px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}
.marquee .ic {
  stroke-width: 2.4;
}
@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

/* ---------- offline story ---------- */
.offline {
  padding-top: clamp(80px, 12vh, 140px);
}
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.story__stick {
  position: sticky;
  top: calc(50svh - 330px);
  align-self: start;
  display: grid;
  justify-items: center;
  padding-top: 20px;
}
.phone--story {
  --pw: 300px;
}
.story__steps {
  display: grid;
  padding-block: 6vh 12vh;
}
.story__step {
  min-height: 70svh;
  display: grid;
  align-content: center;
  gap: 14px;
  max-width: 440px;
  opacity: 0.22;
  transition: opacity 0.6s var(--ease);
}
.story__step.is-on {
  opacity: 1;
}
.story__n {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--faint);
  transition: color 0.4s;
}
.story__step.is-on .story__n {
  color: var(--lime);
}
.story__step h3 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.story__step p {
  color: var(--dim);
}

.lib {
  display: flex;
  flex-direction: column;
  font-size: calc(var(--pw) * 0.044);
  background: linear-gradient(180deg, #14111c, var(--ink) 40%);
}
.lib__offline {
  display: flex;
  align-items: center;
  gap: 8px;
  max-height: 0;
  margin: 0 14px;
  padding: 0 12px;
  overflow: hidden;
  border-radius: 12px;
  background: rgb(76 214 248 / 0.12);
  color: var(--azure);
  font-size: 0.74em;
  font-weight: 560;
  transition:
    max-height 0.6s var(--ease),
    padding 0.6s var(--ease),
    margin 0.6s var(--ease);
}
.lib__title {
  padding: 8px 18px 4px;
  font-family: var(--display);
  font-weight: 720;
  font-size: 1.6em;
  letter-spacing: -0.03em;
}
.lib__filters {
  display: flex;
  gap: 6px;
  padding: 4px 16px 10px;
}
.lib__filters span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.7em;
  color: var(--dim);
  transition:
    background-color 0.4s,
    color 0.4s;
}
.lib__filters .is-on {
  background: var(--text);
  color: var(--ink);
}
.lib__rows {
  display: grid;
  gap: 2px;
  padding: 0 10px;
}
.lib__rows li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 12px;
  transition:
    opacity 0.6s var(--ease),
    filter 0.6s var(--ease);
}
.lib__rows li > span:not(.saved) {
  display: grid;
  min-width: 0;
  flex: 1;
  line-height: 1.25;
}
.saved {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--lime);
}
.saved .ic {
  width: 15px;
  height: 15px;
}
.saved--ring .ic {
  opacity: 0;
  scale: 0.4;
  transition:
    opacity 0.3s 1.5s,
    scale 0.5s var(--spring) 1.5s;
}
.saved--ring .ring__fill {
  transition: stroke-dashoffset 1.5s var(--ease);
}
.lib__target {
  background: transparent;
  transition: background-color 0.4s;
}
.lib__mini {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: auto 10px 14px;
  padding: 8px 12px 10px 8px;
  border-radius: 14px;
  background: var(--raised);
  box-shadow: 0 -10px 30px -10px rgb(0 0 0 / 0.7);
  translate: 0 140%;
  transition: translate 0.7s var(--ease);
}
.lib__mini > span:not(.eq) {
  display: grid;
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.lib__mini .eq {
  color: var(--lime);
}
.lib__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
}
.lib__bar i {
  display: block;
  height: 100%;
  width: 12%;
  border-radius: inherit;
  background: var(--lime);
  transition: width 1s var(--ease);
}
/* the states the scroll story walks through */
[data-step="1"] .lib__target,
[data-step="2"] .lib__target,
[data-step="3"] .lib__target {
  background: rgb(214 248 76 / 0.06);
}
:is([data-step="1"], [data-step="2"], [data-step="3"]) .saved--ring {
  --o: 0;
}
:is([data-step="1"], [data-step="2"], [data-step="3"]) .saved--ring .ic {
  opacity: 1;
  scale: 1;
}
:is([data-step="2"], [data-step="3"]) .status .bars {
  display: none;
}
:is([data-step="2"], [data-step="3"]) .status .ic {
  display: block;
}
:is([data-step="2"], [data-step="3"]) .lib__offline {
  max-height: 3em;
  padding: 8px 12px;
  margin: 2px 14px 4px;
}
:is([data-step="2"], [data-step="3"]) .lib__filters span:first-child {
  background: var(--surface);
  color: var(--dim);
}
:is([data-step="2"], [data-step="3"]) .lib__f-phone {
  background: var(--lime);
  color: var(--on-lime);
}
:is([data-step="2"], [data-step="3"]) .lib__rows li:not(.is-saved, .lib__target) {
  opacity: 0.28;
  filter: grayscale(1);
}
[data-step="3"] .lib__mini {
  translate: 0 0;
}
[data-step="3"] .lib__bar i {
  width: 56%;
}

@media (max-width: 860px) {
  .story {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .story__stick {
    top: 72px;
    z-index: 1;
    padding-top: 0;
  }
  /* the same 300px phone, drawn smaller: its contents are sized for that width */
  .phone--story {
    zoom: 0.66;
  }
  .story__steps {
    padding-block: 8svh 24svh;
  }
  /* each step is read in the band under the sticky phone, and only there */
  .story__step {
    min-height: 56svh;
    align-content: start;
    max-width: none;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
  }
}

/* ---------- lyrics ---------- */
.lyrics {
  position: relative;
  height: 360svh;
  margin-top: clamp(40px, 8vh, 100px);
}
.lyrics__stick {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  align-items: center;
  overflow: clip;
}
.lyrics__stick::before {
  content: "";
  position: absolute;
  inset: 10% -10%;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 70% 50%, rgb(124 92 255 / calc(0.12 + var(--lv, 0) * 0.25)), transparent 70%),
    radial-gradient(30% 40% at 80% 40%, rgb(214 248 76 / calc(var(--lv, 0) * 0.1)), transparent 70%);
}
.lyrics__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}
.lyrics__meter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.lyrics__meter > i {
  position: relative;
  flex: 1;
  max-width: 200px;
  height: 4px;
  border-radius: 4px;
  background: var(--surface);
  overflow: hidden;
}
.lyrics__meter > i > i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--violet), var(--lime));
  transform-origin: 0 50%;
  transform: scaleX(var(--lv, 0));
}
.lyrics__meter b {
  color: var(--dim);
  font-weight: 500;
  letter-spacing: 0;
}
.lyrics__col {
  position: relative;
  height: 74svh;
  overflow: hidden;
  mask: linear-gradient(transparent, #000 22%, #000 70%, transparent);
}
.ly__list {
  position: absolute;
  inset: 0 0 auto;
  display: grid;
  gap: 0.5em;
  will-change: transform;
}
.ly__line {
  font-family: var(--display);
  font-size: clamp(1.7rem, 0.9rem + 2.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: rgb(244 241 247 / 0.16);
  transform-origin: 0 50%;
  transition:
    color 0.5s,
    scale 0.6s var(--ease),
    opacity 0.5s;
  text-wrap: balance;
}
.ly__line.is-past {
  color: rgb(244 241 247 / 0.32);
}
.ly__line.is-now {
  color: rgb(244 241 247 / 0.32);
  font-variation-settings: "wght" var(--wght, 640);
  font-weight: var(--wght, 640);
  scale: var(--sc, 1);
}
.ly__line span {
  transition:
    color 0.2s,
    text-shadow 0.3s;
}
.ly__line .is-sung {
  color: var(--text);
}
.ly__line .is-word {
  color: var(--lime);
  text-shadow: 0 0 30px rgb(214 248 76 / 0.55);
}
@media (max-width: 860px) and (max-height: 720px) {
  .phone--story {
    zoom: 0.54;
  }
}
@media (max-width: 860px) {
  .lyrics__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-content: center;
    height: 100%;
    padding-top: 80px;
  }
  .lyrics__copy .body {
    display: none;
  }
  .lyrics__col {
    height: 56svh;
  }
}

/* ---------- scrubber ---------- */
.scrub {
  padding-block: clamp(80px, 12vh, 140px) 40px;
}
.wave {
  position: relative;
  margin-top: 48px;
  padding: 44px 24px 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.wave canvas {
  display: block;
  width: 100%;
  height: clamp(110px, 16vw, 180px);
  cursor: pointer;
  touch-action: none;
}
.wave__labels {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 14px;
  height: 20px;
}
.wave__labels span {
  position: absolute;
  top: 0;
  padding-left: 8px;
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--faint);
  white-space: nowrap;
  transition: color 0.3s;
}
.wave__labels span.is-now {
  color: var(--lime);
  border-color: var(--lime);
}
.wave__tip {
  position: absolute;
  top: 40px;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--text);
  color: var(--ink);
  font-size: 0.74rem;
  pointer-events: none;
  translate: -50% -100%;
  opacity: 0;
  transition: opacity 0.2s;
}
.wave:hover .wave__tip {
  opacity: 1;
}
.wave__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--dim);
}
@media (max-width: 560px) {
  .wave {
    padding-inline: 14px;
  }
  .wave__labels {
    left: 14px;
    right: 14px;
  }
  .wave__labels span:nth-child(n + 2):nth-child(-n + 5) {
    font-size: 0;
    padding-left: 0;
  }
  .wave__foot .link span {
    display: none;
  }
}

/* ---------- home bento ---------- */
.home {
  padding-block: clamp(80px, 12vh, 140px);
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.cell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: space-between;
  gap: 24px;
  min-height: 280px;
  padding: 26px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.cell__text h3 {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.cell__text p {
  margin-top: 8px;
  color: var(--dim);
  font-size: 0.95rem;
  max-width: 40ch;
}
.cell--mix {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
}
.cell--wrapped {
  grid-row: span 2;
}
/* the pointer carries a light across the card */
@media (hover: hover) and (pointer: fine) {
  .spot::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
    background: radial-gradient(26rem circle at var(--mx, 50%) var(--my, 50%), rgb(214 248 76 / 0.07), transparent 60%);
  }
  .spot:hover::after {
    opacity: 1;
  }
  .spot::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(18rem circle at var(--mx, 50%) var(--my, 50%), rgb(214 248 76 / 0.45), transparent 60%);
    mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
  }
  .spot:hover::before {
    opacity: 1;
  }
}

.mixes {
  position: relative;
  height: 210px;
}
.mixcard {
  position: absolute;
  top: 10px;
  left: 50%;
  display: grid;
  align-content: end;
  width: 170px;
  height: 190px;
  padding: 14px;
  border-radius: 18px;
  box-shadow: 0 24px 50px -20px rgb(0 0 0 / 0.9);
  transition:
    transform 0.7s var(--spring),
    rotate 0.7s var(--spring);
  translate: -50% 0;
}
.mixcard b {
  font-family: var(--display);
  font-weight: 750;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}
.mixcard small {
  color: rgb(11 10 15 / 0.7);
  font-size: 0.74rem;
  font-weight: 600;
}
.mixcard:nth-child(1) {
  rotate: -9deg;
  transform: translateX(-46px);
}
.mixcard:nth-child(2) {
  rotate: 2deg;
  transform: translateY(-6px);
  z-index: 1;
}
.mixcard:nth-child(3) {
  rotate: 10deg;
  transform: translateX(48px);
}
.cell--mix:hover .mixcard:nth-child(1) {
  rotate: -14deg;
  transform: translateX(-120px) translateY(10px);
}
.cell--mix:hover .mixcard:nth-child(2) {
  rotate: 0deg;
  transform: translateY(-18px) scale(1.05);
}
.cell--mix:hover .mixcard:nth-child(3) {
  rotate: 14deg;
  transform: translateX(122px) translateY(10px);
}

.wrapped {
  display: grid;
  gap: 4px;
}
.wrapped small {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.wrapped__big {
  font-size: clamp(3rem, 2rem + 3vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--lime);
}
.wrapped__big span {
  font-size: 0.3em;
  letter-spacing: 0;
  color: var(--dim);
  font-weight: 400;
}
.hours {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 110px;
  margin-top: 22px;
}
.hours i {
  flex: 1;
  height: calc(var(--h) * 100%);
  border-radius: 3px 3px 1px 1px;
  background: var(--raised);
  transform-origin: bottom;
  transform: scaleY(0.04);
  transition: transform 0.9s var(--spring);
  transition-delay: calc(var(--i) * 25ms);
}
.hours i.is-peak {
  background: var(--lime);
}
.is-play .hours i {
  transform: scaleY(1);
}
.wrapped__line {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.colls {
  display: grid;
  gap: 8px;
}
.colls li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--raised);
  font-size: 0.9rem;
  transition: transform 0.4s var(--ease);
}
.colls li:hover {
  transform: translateX(6px);
}
.colls b {
  color: var(--lime);
  font-weight: 600;
}

.lsearch {
  display: grid;
  gap: 10px;
}
.lsearch__field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  font-size: 0.92rem;
}
.lsearch__field .ic {
  color: var(--dim);
}
.caret {
  width: 2px;
  height: 18px;
  margin-left: -6px;
  background: var(--lime);
  animation: caret 1s steps(2) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.lsearch__group {
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.lsearch__hit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  background: rgb(214 248 76 / 0.06);
  opacity: 0;
  translate: 0 8px;
  transition:
    opacity 0.4s,
    translate 0.5s var(--ease);
}
.lsearch__hit.is-on {
  opacity: 1;
  translate: 0 0;
}
.lsearch__hit span {
  display: grid;
  line-height: 1.3;
  min-width: 0;
}
.lsearch__hit b {
  font-size: 0.86rem;
}
.lsearch__hit small {
  font-size: 0.78rem;
  color: var(--dim);
}
.lsearch__hit mark {
  background: none;
  color: var(--lime);
}

.hand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 48px;
}
.hand__dev {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--raised);
  color: var(--text);
}
.hand__dev .ic {
  width: 24px;
  height: 24px;
}
.hand__arc {
  position: relative;
  flex: 1;
  height: 2px;
  margin-inline: 10px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.hand__arc i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime);
}
.is-play .hand__arc i {
  animation: hop 2.6s var(--ease) infinite;
}
@keyframes hop {
  0% {
    left: 0;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  70% {
    left: calc(100% - 10px);
    opacity: 1;
  }
  100% {
    left: calc(100% - 10px);
    opacity: 0;
  }
}
.hand__strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgb(124 92 255 / 0.16);
  font-size: 0.82rem;
}
.hand__strip small {
  color: #b4a3ff;
}
.is-play .hand__strip {
  animation: strip 2.6s var(--ease) infinite;
}
@keyframes strip {
  0%,
  55% {
    opacity: 0;
    translate: 0 10px;
  }
  70%,
  100% {
    opacity: 1;
    translate: 0 0;
  }
}

.sleep {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.sleep__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: var(--lime);
}
.sleep__ring svg:first-child {
  position: absolute;
  inset: 0;
  rotate: -90deg;
  fill: none;
  stroke-width: 3;
}
.sleep__ring circle {
  stroke: var(--line);
}
.sleep .sleep__fill {
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.is-play .sleep__fill {
  animation: sleep 6s linear infinite;
}
@keyframes sleep {
  to {
    stroke-dashoffset: 1;
  }
}
.sleep__vol {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
}
.sleep__vol i {
  width: 6px;
  border-radius: 3px;
  background: var(--lime);
}
.sleep__vol i:nth-child(1) {
  height: 30%;
}
.sleep__vol i:nth-child(2) {
  height: 45%;
}
.sleep__vol i:nth-child(3) {
  height: 60%;
}
.sleep__vol i:nth-child(4) {
  height: 72%;
}
.sleep__vol i:nth-child(5) {
  height: 84%;
}
.sleep__vol i:nth-child(6) {
  height: 92%;
}
.sleep__vol i:nth-child(7) {
  height: 100%;
}
.is-play .sleep__vol i {
  animation: fadeout 6s linear infinite;
}
.is-play .sleep__vol i:nth-child(2) {
  animation-name: fadeout2;
}
.is-play .sleep__vol i:nth-child(3) {
  animation-name: fadeout3;
}
@keyframes fadeout {
  0%,
  60% {
    opacity: 1;
  }
  95%,
  100% {
    opacity: 0.12;
  }
}
@keyframes fadeout2 {
  0%,
  65% {
    opacity: 1;
  }
  95%,
  100% {
    opacity: 0.12;
  }
}
@keyframes fadeout3 {
  0%,
  70% {
    opacity: 1;
  }
  95%,
  100% {
    opacity: 0.12;
  }
}
.sleep small {
  width: 100%;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim);
}

.chain {
  display: flex;
  gap: 8px;
  width: max-content;
  mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.cell--radio .chain {
  margin-inline: -26px;
  padding-inline: 26px;
}
.chain .art {
  width: 58px;
  height: 58px;
  border-radius: 12px;
}
.is-play .chain {
  animation: chain 14s linear infinite;
}
@keyframes chain {
  to {
    transform: translateX(-396px);
  }
}

@media (max-width: 960px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cell--mix {
    grid-column: span 2;
  }
  .cell--wrapped {
    grid-row: span 1;
  }
}
@media (max-width: 640px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .cell--mix {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
  }
  .cell {
    min-height: 0;
  }
  .mixcard {
    width: 136px;
    height: 156px;
  }
  .mixcard:nth-child(1) {
    transform: translateX(-72px) translateY(16px);
  }
  .mixcard:nth-child(3) {
    transform: translateX(74px) translateY(16px);
  }
}

/* ---------- the DJ ---------- */
.dj {
  padding-block: clamp(80px, 12vh, 140px);
}
.dj__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.dj__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.djp {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 520px;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(80% 50% at 80% 0%, rgb(124 92 255 / 0.18), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--ink-2));
  box-shadow:
    inset 0 0 0 1px var(--line-soft),
    0 40px 100px -40px rgb(124 92 255 / 0.4);
}
.djp__form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.3s;
}
.djp__form:focus-within {
  box-shadow:
    inset 0 0 0 1px var(--lime),
    0 0 0 4px rgb(214 248 76 / 0.12);
}
.djp__form > .ic {
  color: var(--lime);
}
.djp__form input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
.djp__form input::placeholder {
  color: var(--faint);
}
.djp__out {
  margin-top: 20px;
}
.djp__thinking {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  color: var(--dim);
}
.dots {
  display: inline-flex;
  gap: 4px;
}
.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: think 1.2s ease-in-out infinite;
}
.dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes think {
  0%,
  80%,
  100% {
    opacity: 0.25;
    transform: none;
  }
  40% {
    opacity: 1;
    transform: translateY(-4px);
  }
}
.shiny {
  background: linear-gradient(100deg, currentColor 40%, rgb(244 241 247 / 0.95) 50%, currentColor 60%) 0 0 / 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shiny 2s linear infinite;
}
@keyframes shiny {
  from {
    background-position: 125% 0;
  }
  to {
    background-position: -25% 0;
  }
}
.djp__name {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.djp__note {
  margin-top: 6px;
  color: var(--dim);
  font-size: 0.92rem;
}
.djp__tracks {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}
.djp__tracks li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 14px;
  animation: track-in 0.6s var(--ease) both;
  animation-delay: calc(var(--i) * 70ms);
  transition:
    background-color 0.3s,
    opacity 0.4s,
    translate 0.5s var(--ease);
}
.djp__tracks li:hover {
  background: rgb(244 241 247 / 0.04);
}
.djp__tracks li.is-up {
  background: rgb(214 248 76 / 0.07);
}
.djp__tracks li.is-gone {
  opacity: 0;
  translate: 40px 0;
}
.djp__tracks li > span:not(.thumbs) {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}
.djp__tracks b {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.djp__tracks small {
  font-size: 0.76rem;
  color: var(--dim);
}
.djp__tracks .mono {
  font-size: 0.72rem;
  color: var(--faint);
}
.thumbs {
  display: flex;
  gap: 2px;
}
.thumbs button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--faint);
  transition:
    color 0.2s,
    background-color 0.2s,
    transform 0.4s var(--spring);
}
.thumbs button:hover {
  color: var(--text);
  background: rgb(244 241 247 / 0.06);
}
.thumbs button:active {
  transform: scale(0.8);
}
.thumbs .ic {
  width: 15px;
  height: 15px;
}
.thumbs [aria-pressed="true"] {
  color: var(--lime);
}
.thumbs [aria-pressed="true"] .ic {
  fill: rgb(214 248 76 / 0.25);
}
@keyframes track-in {
  from {
    opacity: 0;
    translate: 0 14px;
  }
}
.djp__leaning {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(124 92 255 / 0.16);
  color: #c7b9ff;
  font-size: 0.84rem;
  animation: track-in 0.5s var(--ease);
}
@media (max-width: 900px) {
  .dj__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .djp {
    min-height: 0;
  }
}
@media (max-width: 480px) {
  .djp__tracks li {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .djp__tracks .mono {
    display: none;
  }
}

/* ---------- tour ---------- */
.tour {
  position: relative;
}
.tour.is-pinned {
  height: var(--tour-h, 300svh);
}
.tour__stick {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  padding-block: 80px;
}
.tour.is-pinned .tour__stick {
  position: sticky;
  top: 0;
  height: 100svh;
  align-content: center;
  overflow: clip;
  padding-block: 70px 30px;
}
.tour__rail {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
}
.tour__rail::-webkit-scrollbar {
  display: none;
}
.tour.is-pinned .tour__rail {
  overflow: visible;
}
.tour__track {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  width: max-content;
  padding-inline: max(0px, calc((100vw - 1240px) / 2));
  will-change: transform;
}
.shot {
  display: grid;
  gap: 18px;
  justify-items: center;
  scroll-snap-align: start;
  rotate: var(--tilt, 0deg);
  scale: var(--sz, 1);
  transition: none;
}
.phone--shot {
  --pw: clamp(200px, 22vw, 250px);
  overflow: hidden;
  box-shadow:
    0 0 0 calc(var(--pw) * 0.03) #1b1922,
    0 0 0 calc(var(--pw) * 0.033) #3a3546,
    0 40px 80px -30px rgb(0 0 0 / 0.9);
}
.phone--shot::before {
  display: none;
}
.phone--shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.shot p {
  display: grid;
  text-align: center;
  font-size: 0.86rem;
  color: var(--dim);
}
.shot b {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  color: var(--text);
}
.tour__progress {
  height: 2px;
}
.tour__progress i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--lime);
  transform-origin: 0 50%;
  transform: scaleX(var(--tp, 0));
}
.tour:not(.is-pinned) .tour__progress {
  display: none;
}

/* ---------- privacy ---------- */
.own {
  padding-block: clamp(80px, 12vh, 140px);
}
.own__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.facts {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.facts li {
  display: flex;
  gap: 14px;
  color: var(--dim);
}
.facts .ic {
  margin-top: 4px;
  color: var(--lime);
}
.facts b {
  color: var(--text);
  font-weight: 620;
}
.topo {
  position: relative;
  aspect-ratio: 400 / 340;
}
.topo__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.topo__path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  animation: dash 1.4s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -20;
  }
}
.topo__pkt {
  fill: var(--lime);
  filter: drop-shadow(0 0 6px var(--lime));
}
.topo__node {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 4px;
  translate: -50% -50%;
  font-size: 0.82rem;
  text-align: center;
}
.topo__node .ic {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 20px 40px -20px #000;
}
.topo__node small {
  color: var(--faint);
  font-size: 0.74rem;
  margin-top: -4px;
}
.topo__node--server {
  left: 50%;
  top: 50%;
}
.topo__node--server .ic {
  width: 30px;
  height: 30px;
  padding: 20px;
  border-radius: 24px;
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: 0 0 60px -10px rgb(214 248 76 / 0.6);
  animation: breathe 3s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    box-shadow: 0 0 80px 0 rgb(214 248 76 / 0.45);
  }
}
.topo__node--phone {
  left: 17.5%;
  top: 20.6%;
}
.topo__node--web {
  left: 82.5%;
  top: 20.6%;
}
.topo__node--car {
  left: 50%;
  top: 85.3%;
}
@media (max-width: 860px) {
  .own__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- FAQ ---------- */
.faq {
  padding-block: clamp(60px, 10vh, 120px);
}
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: start;
}
.faq .h2 {
  position: sticky;
  top: 100px;
}
.faq__list {
  display: grid;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 2px;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 620;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--lime);
}
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 2px 100% no-repeat;
  transition: rotate 0.4s var(--ease);
}
.faq details[open] summary::after {
  rotate: 135deg;
}
.faq details p {
  padding: 0 2px 22px;
  color: var(--dim);
  max-width: 62ch;
}
.faq details::details-content {
  block-size: 0;
  overflow: clip;
  transition:
    block-size 0.5s var(--ease),
    content-visibility 0.5s allow-discrete;
}
.faq details[open]::details-content {
  block-size: auto;
}
@media (max-width: 860px) {
  .faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq .h2 {
    position: static;
  }
}

/* ---------- close ---------- */
.close {
  position: relative;
  padding-block: clamp(100px, 16vh, 180px);
  overflow: clip;
}
.close::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: 900px;
  height: 600px;
  translate: -50% -50%;
  background:
    radial-gradient(closest-side, rgb(124 92 255 / 0.22), transparent),
    radial-gradient(closest-side at 50% 60%, rgb(214 248 76 / 0.1), transparent);
  pointer-events: none;
}
.close__inner {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 24px;
}
.close__mark {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 38px;
  background: var(--surface);
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 40px 100px -30px rgb(214 248 76 / 0.35);
  color: var(--lime);
}
.close__mark svg {
  width: 112px;
}
.display--close {
  font-size: clamp(3.4rem, 1rem + 10vw, 10rem);
}

/* ---------- footer ---------- */
.foot {
  padding-block: 36px 48px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 0.86rem;
}
.foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 32px;
}
.brand--foot {
  color: var(--text);
  font-size: 1rem;
}
.foot__links {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.foot__links a {
  text-decoration: none;
  transition: color 0.2s;
}
.foot__links a:hover {
  color: var(--lime);
}

@keyframes pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}

/* ---------- reduced motion: everything is already where it ends ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  html {
    scroll-behavior: auto;
  }
  .rv,
  .w > span {
    opacity: 1;
    translate: none;
    rotate: none;
  }
  .marquee__track {
    animation: none;
  }
  .marquee {
    overflow-x: auto;
  }
  .lyrics {
    height: auto;
  }
  .lyrics__stick {
    position: static;
    height: auto;
    padding-block: 80px;
  }
}
