/* Ghostjockey landing page. Self-contained: does not load the app's CSS. */
@font-face {
  font-family: 'Space Grotesk';
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Space Grotesk';
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: Manrope;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: Manrope;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}

:root {
  color-scheme: dark;
  /* brand */
  --bg: #07080b;
  --raise: #10121a;
  --line: rgb(255 255 255 / 0.09);
  --ink: #f2f1ec;
  --mute: #a2a4ad;
  --lime: #c8ff54;
  /* what the detectors hear — the same colours everywhere on the page */
  --kick: #c8ff54;
  --snare: #ff5bd6;
  --bass: #9b8cff;
  --drop: #ffb547;
  --beat: 0; /* 0–1, set by landing.js on every kick */
  --wrap: min(1240px, calc(100% - 2 * var(--pad)));
  --pad: clamp(18px, 4vw, 40px);
  --display: 'Space Grotesk', Manrope, system-ui, sans-serif;
  --text: Manrope, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
video,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 18ch;
}
h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
p {
  margin: 0;
  text-wrap: pretty;
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--lime);
  color: #000;
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 700 15px/1 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.btn-l {
  min-height: 54px;
  padding: 0 26px;
  font-size: 16px;
}
.btn-s {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-primary {
  background: var(--lime);
  color: #0a0c06;
}
.btn-primary:hover {
  background: #d8ff82;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgb(255 255 255 / 0.28);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.btn-ghost[aria-pressed='true'] {
  border-color: var(--snare);
  color: #fff;
  box-shadow: 0 0 0 calc(var(--beat) * 6px) rgb(255 91 214 / 0.25);
}
.link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0;
  background: none;
  border: 0;
  color: var(--lime);
  font: 700 16px/1.3 var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.link:hover {
  text-decoration-thickness: 2px;
}

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 var(--pad);
  background: rgb(7 8 11 / 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 700 17px/1 var(--display);
  letter-spacing: 0.02em;
  min-height: 44px;
}
.brand img {
  height: 30px;
  width: auto;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}
.nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--mute);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.nav a:hover {
  color: var(--ink);
}
/* the three apps: top-level, each with its accent dot; the page sections follow after a hairline */
.nav-play { --accent: var(--kick); }
.nav-reel { --accent: var(--drop); }
.nav-studio { --accent: var(--bass); }
.nav .nav-app {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
}
.nav .nav-app::before,
.appmenu a[class^='nav-'] b::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.nav a,
.top-cta {
  white-space: nowrap;
}
/* hover / keyboard focus on an app link shows what the app does */
.nav .nav-app {
  position: relative;
}
.nav .tip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: 260px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: 10px;
  background: var(--raise, #14151a);
  box-shadow: 0 18px 40px -18px #000;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s 0.15s;
  pointer-events: none;
}
.nav .nav-app:hover .tip,
.nav .nav-app:focus-visible .tip {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0.12s, 0.12s, 0s;
}
@media (max-width: 960px), (hover: none) {
  .nav .tip {
    display: none;
  }
}
.nav-sep {
  align-self: center;
  width: 1px;
  height: 20px;
  margin: 0 6px;
  background: var(--line);
}
.appmenu a[class^='nav-'] b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.appmenu .menu-sep {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
/* desktop and tablet show the apps in the bar; the menu is for phones */
@media (min-width: 561px) {
  .appmenu {
    display: none;
  }
}
.top-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.langs {
  position: relative;
}
.langs summary {
  list-style: none;
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--mute);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.langs summary::-webkit-details-marker {
  display: none;
}
.langs summary:hover {
  color: var(--ink);
}
.langs ul {
  position: absolute;
  right: 0;
  top: 46px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 150px;
}
.langs a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.langs a:hover,
.langs a[aria-current] {
  background: rgb(255 255 255 / 0.06);
}
.langs a[aria-current] {
  color: var(--lime);
}

/* ---------- apps menu and account (signed-in visitors get there in one click) ---------- */
.appmenu {
  position: relative;
}
.appmenu summary,
.top-account {
  list-style: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--mute);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.appmenu summary::-webkit-details-marker {
  display: none;
}
.appmenu summary::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.appmenu summary:hover,
.top-account:hover {
  color: var(--ink);
}
.appmenu ul {
  position: absolute;
  right: 0;
  top: 50px;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 240px;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.5);
}
.appmenu a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.appmenu a:hover {
  background: rgb(255 255 255 / 0.06);
}
.appmenu a span {
  font-size: 13px;
  color: var(--mute);
}
.top-account.member {
  color: var(--ink);
  gap: 8px;
}
.top-account.member::before {
  content: attr(data-initial);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  color: #0a0c06;
  font-size: 13px;
}

/* ---------- sections: each one opens with a 16-bar phrase ruler ---------- */
main > section {
  width: var(--wrap);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 0 0;
  position: relative;
}
main > section.has-ruler::before {
  content: '';
  position: absolute;
  top: clamp(36px, 5vw, 64px);
  left: 0;
  right: 0;
  height: 9px;
  background:
    linear-gradient(var(--lime), var(--lime)) 0 0 / 2px 9px no-repeat,
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.22) 0 1px, transparent 1px calc(100% / 16)) 0 100% / 100% 5px
      no-repeat;
  opacity: 0.8;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-top: clamp(36px, 6vw, 72px) !important;
}
.news {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px 6px 10px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mute);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.news::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}
.news:hover {
  color: var(--ink);
  border-color: rgb(255 255 255 / 0.25);
}
.hero h1 {
  font-size: clamp(50px, 7.4vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin: 0 0 26px;
  max-width: 9ch;
}
.lede {
  font-size: clamp(17px, 1.45vw, 20px);
  color: #d4d3cf;
  max-width: 34em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 16px;
}
.fine {
  font-size: 14px;
  color: var(--mute);
  min-height: 1.6em;
}
.fine.warn {
  color: var(--drop);
}

.stage {
  margin: 0;
}
.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.08),
    0 40px 120px -40px rgb(200 255 84 / calc(0.18 + var(--beat) * 0.22));
}
.reel,
.reel-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel {
  z-index: 1;
  opacity: 0;
}
.reel.on {
  opacity: 1;
}
.ghost {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: -6%;
  width: 21%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 22px rgb(0 0 0 / 0.6));
}
.scene-name {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 12px;
  font: 600 13px/1 var(--display);
  color: rgb(255 255 255 / 0.85);
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.9);
}
.ear {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--raise);
  border: 1px solid var(--line);
}
.ear canvas {
  width: 100%;
  height: 76px;
}
.ear-read {
  /* fixed columns: changing values (Drop, Break, Listening…) must never move the panel */
  display: grid;
  grid-template-columns: 3.4em 2.6em 6.6em;
  gap: 14px;
  margin: 0;
}
.ear-read div {
  min-width: 0;
}
.ear-read dt,
.ear-read dd {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ear-read dt {
  font-size: 12px;
  color: var(--mute);
}
.ear-read dd {
  margin: 2px 0 0;
  font: 700 22px/1 var(--display);
  font-variant-numeric: tabular-nums;
}
#ear-section {
  font-size: 18px;
  line-height: 22px;
}
#ear-section.is-drop {
  color: var(--drop);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--mute);
}
.legend > span::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 2px;
  background: currentColor;
  vertical-align: 0;
}
.legend .k::before {
  background: var(--kick);
}
.legend .s::before {
  background: var(--snare);
}
.legend .b::before {
  background: var(--bass);
}
.legend .d::before {
  background: var(--drop);
}
.sound {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: 600 13px/1 var(--text);
  cursor: pointer;
}
.sound:hover {
  border-color: rgb(255 255 255 / 0.3);
}
.sound[aria-pressed='true'] {
  border-color: var(--lime);
  color: var(--lime);
}
.legend {
  align-items: center;
}
.src-badge,
.stage-url {
  position: absolute;
  z-index: 2;
  margin: 0;
  font: 600 12px/1 var(--display);
  color: rgb(255 255 255 / 0.9);
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.9);
}
.src-badge {
  top: 10px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.55);
}
.stage-url {
  top: 12px;
  right: 14px;
  opacity: 0;
}
.stage.listening .stage-url {
  opacity: 0.85;
}
.stage.listening .src-badge {
  color: var(--snare);
}
.listen-share {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: var(--raise);
  border-color: var(--snare);
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.5);
  max-width: calc(100vw - 24px);
  white-space: normal;
  text-align: center;
}
/* a phone playing a preview has the mini player at the bottom: the share bubble sits above it */
body.pv-mini .listen-share { bottom: 92px; }

/* ---------- how ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.steps li {
  counter-increment: step;
}
.steps h3::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 12px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  color: var(--lime);
  font-size: 15px;
  vertical-align: 2px;
}
.steps p {
  color: var(--mute);
  margin-top: 10px;
  max-width: 32ch;
}
.step-ill {
  width: 140px;
  height: 75px;
  margin-bottom: 20px;
  fill: none;
  stroke: rgb(255 255 255 / 0.5);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-ill .cable,
.step-ill .wave {
  stroke: var(--lime);
}
.step-ill .beam {
  stroke: var(--drop);
}

/* ---------- hears: the track diagram ---------- */
.hears {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(28px, 5vw, 80px);
  align-items: end;
}
.hears-copy p {
  margin-top: 20px;
  color: var(--mute);
  max-width: 36em;
}
.hears-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  color: var(--mute);
}
.hears-list b {
  color: var(--ink);
}
.hears-list b::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 2px;
}
.hears-list .k::before {
  background: var(--kick);
}
.hears-list .b::before {
  background: var(--bass);
}
.hears-list .d::before {
  background: var(--drop);
}
.hears-list .n::before {
  background: transparent;
  border: 1px solid var(--mute);
}
.track {
  grid-column: 1 / -1;
  order: 3;
  position: relative;
  margin-top: 28px;
  display: grid;
  gap: 6px;
  --total: 128;
}
.lane {
  display: flex;
  gap: 3px;
}
.lane > span {
  min-width: 0;
}
.w8 {
  flex: 8 1 0;
}
.w16 {
  flex: 16 1 0;
}
.w24 {
  flex: 24 1 0;
}
.w32 {
  flex: 32 1 0;
}
.sec {
  padding: 8px 10px;
  border-radius: 4px;
  font: 600 13px/1.2 var(--display);
  background: rgb(255 255 255 / 0.06);
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sec.build {
  background: linear-gradient(90deg, rgb(255 181 71 / 0.06), rgb(255 181 71 / 0.28));
  color: #e9d3ae;
}
.sec.drop {
  background: rgb(255 181 71 / 0.85);
  color: #1a1206;
}
.lane-wave {
  height: 96px;
}
.lane-wave i {
  flex: 1;
  /* bars of a waveform: quiet intro, rising build, loud drops; drawn with gradients, no image */
  background:
    linear-gradient(
      90deg,
      transparent 0 12.5%,
      transparent 12.5% 25%,
      transparent 25% 50%,
      var(--bg) 50% 62.5%,
      transparent 62.5%
    ),
    repeating-linear-gradient(90deg, var(--kick) 0 2px, transparent 2px 6px);
  -webkit-mask: linear-gradient(
    90deg,
    rgb(0 0 0 / 0.35) 0 12.5%,
    rgb(0 0 0 / 0.5) 12.5%,
    rgb(0 0 0 / 0.95) 25% 50%,
    rgb(0 0 0 / 0.2) 50% 62.5%,
    rgb(0 0 0 / 0.6) 62.5%,
    #000 75% 100%
  );
  mask: linear-gradient(
    90deg,
    rgb(0 0 0 / 0.35) 0 12.5%,
    rgb(0 0 0 / 0.5) 12.5%,
    rgb(0 0 0 / 0.95) 25% 50%,
    rgb(0 0 0 / 0.2) 50% 62.5%,
    rgb(0 0 0 / 0.6) 62.5%,
    #000 75% 100%
  );
  clip-path: polygon(
    0 40%,
    12.5% 35%,
    25% 8%,
    50% 8%,
    50% 38%,
    62.5% 34%,
    75% 6%,
    100% 6%,
    100% 94%,
    75% 94%,
    62.5% 66%,
    50% 62%,
    50% 92%,
    25% 92%,
    12.5% 65%,
    0 60%
  );
  border-radius: 3px;
}
.lane-scenes img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 4px;
}
.playhead {
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: 0;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 12px #fff;
  opacity: 0;
}
.track.playing .playhead {
  opacity: 1;
  animation: playhead 22s linear infinite;
}
@keyframes playhead {
  to {
    left: 100%;
  }
}

/* ---------- scenes wall ---------- */
.scenes-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(28px, 5vw, 80px);
  align-items: end;
}
.scenes-head p {
  color: var(--mute);
  max-width: 36em;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 36px 0 18px;
}
.chips button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mute);
  font: 600 14px/1 var(--text);
  cursor: pointer;
}
.chips button:hover {
  color: var(--ink);
  border-color: rgb(255 255 255 / 0.3);
}
.chips button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
}
.wall li {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--raise);
}
.wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.wall span {
  position: absolute;
  inset: auto 0 0;
  padding: 18px 8px 6px;
  font: 600 12px/1.2 var(--display);
  background: linear-gradient(transparent, rgb(0 0 0 / 0.92) 70%);
  text-shadow: 0 1px 4px rgb(0 0 0 / 0.9);
  opacity: 0;
  transition: opacity 0.2s;
}
.wall li:hover img {
  transform: scale(1.06);
}
.wall li:hover span {
  opacity: 1;
}
@media (hover: none) {
  .wall span {
    opacity: 1;
  }
}
.wall a {
  display: block;
  height: 100%;
}
.wall li:target,
.wall li.picked {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}
.wall li:target span,
.wall li.picked span {
  opacity: 1;
}
.wall li[hidden] {
  display: none;
}
.wall-hint {
  margin-top: 12px;
  font-size: 14px;
  color: var(--mute);
}
.wall-more {
  margin-top: 14px;
}

/* ---------- uses ---------- */
.uses h2 {
  margin-bottom: 40px;
}
.use {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.use:nth-of-type(even) {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.use:nth-of-type(even) img {
  order: 2;
}
.use img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}
.use h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.025em;
}
.use p {
  color: var(--mute);
  margin-top: 14px;
  max-width: 34em;
}
.plan-tag {
  display: inline-block;
  margin-top: 18px !important;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid currentColor;
}
.plan-tag.free {
  color: var(--ink) !important;
}
.plan-tag.studio {
  color: var(--lime) !important;
}

/* hero: the three apps in one line */
.trio {
  margin-top: 20px;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.6;
}
.trio a {
  --accent: var(--kick);
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.trio a + a::before {
  content: '·';
  margin: 0 10px;
  color: var(--line);
}
.trio a:nth-child(2) { --accent: var(--bass); }
.trio a:nth-child(3) { --accent: var(--drop); }
.trio b {
  color: var(--accent);
}
.trio a:hover b,
.trio a:focus-visible b {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.trio + .news {
  margin-top: 10px;
}
.apps { counter-reset: app; }
.app { counter-increment: app; }
.app-name::before {
  content: '0' counter(app) ' / 03';
  display: block;
  margin-bottom: 8px;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 0.8;
}
.app {
  border-top-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}

/* ---------- three apps ---------- */
.apps-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: 36px;
}
.apps-head p {
  color: var(--mute);
  max-width: 36em;
}
.app {
  --accent: var(--kick);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.app-studio {
  --accent: var(--bass);
}
.app-reel {
  --accent: var(--drop);
}
.app:nth-of-type(even) {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.app:nth-of-type(even) .app-media {
  order: 2;
}
.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--raise);
  cursor: zoom-in;
}
.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.shot:hover img {
  transform: scale(1.02);
}
.shot-main {
  box-shadow: 0 30px 80px -40px var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}
.shot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.app-text h3 {
  display: grid;
  gap: 4px;
}
.app-name {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  color: var(--accent);
}
.app-sub {
  font-size: 19px;
  color: var(--ink);
  font-weight: 600;
}
.app-text > p {
  color: var(--mute);
  margin-top: 14px;
  max-width: 36em;
}
.app-text ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.app-text li {
  position: relative;
  padding-left: 22px;
}
.app-text li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--accent);
}
.app-plan {
  margin: 18px 0 16px !important;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink) !important;
}
.zoom {
  width: min(1600px, 96vw);
  max-height: 94vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #000;
  overflow: hidden;
}
.zoom::backdrop {
  background: rgb(0 0 0 / 0.8);
}
.zoom img {
  width: 100%;
  height: auto;
  max-height: 94vh;
  object-fit: contain;
}
.zoom-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgb(0 0 0 / 0.6);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* ---------- plans ---------- */
.plan-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 100%;
  margin-bottom: 22px;
}
.plan-strip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 14px;
  background: var(--raise);
  border: 1px solid var(--line);
}
.plan-studio {
  border-color: rgb(200 255 84 / 0.5);
}
.plan h3 {
  font-size: 30px;
}
.price {
  margin-top: 8px !important;
  font: 600 18px/1.3 var(--display);
  color: var(--lime);
}
.plan-for {
  margin-top: 8px !important;
  color: var(--mute);
}
.plan ul {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
  align-content: start;
  flex: 1;
}
.plan li {
  padding-left: 26px;
  position: relative;
}
.plan li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}

/* ---------- where it runs (under the plans) ---------- */
.runs {
  margin-top: 40px;
}
.runs dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px clamp(20px, 3vw, 48px);
  margin: 16px 0 0;
}
.runs dt {
  font: 700 17px/1.3 var(--display);
}
.runs dd {
  margin: 6px 0 0;
  color: var(--mute);
  max-width: 36ch;
}
.runs dd a {
  color: var(--lime);
}

/* ---------- phone visitors: the show needs a computer ---------- */
.phone-path {
  display: none;
}
@media (pointer: coarse) and (max-width: 900px) {
  .phone-path {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    padding: 16px;
    border-radius: 12px;
    background: var(--raise);
    border: 1px solid var(--line);
    color: var(--mute);
    font-size: 15px;
  }
}

/* ---------- listening: the stage answers the visitor's music ---------- */
.stage.listening .screen {
  box-shadow:
    0 0 0 calc(1px + var(--beat) * 3px) rgb(200 255 84 / calc(0.25 + var(--beat) * 0.75)),
    0 40px 120px -40px rgb(200 255 84 / calc(0.25 + var(--beat) * 0.4));
}
.reel {
  transform-origin: 50% 50%;
}
/* live input: the picture punches on the visitor's kicks (the clips themselves are recordings) */
.stage.listening .reel {
  transform: scale(calc(1 + var(--beat) * 0.035));
  filter: brightness(calc(1 + var(--beat) * 0.4)) saturate(calc(1 + var(--beat) * 0.3));
}
.alt-source {
  margin-top: 10px;
}
.stage.listening .ghost {
  width: 32%;
}
.ghost {
  transition: width 0.4s ease;
}

/* ---------- make ---------- */
.make-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: 40px;
}
.make-grid p {
  color: var(--mute);
  margin: 10px 0 10px;
  max-width: 34ch;
}
.make-grid .link {
  margin-right: 18px;
}

/* ---------- faq ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.faq h2 {
  margin-bottom: 28px;
  grid-row: 1 / span 20;
}
.faq details {
  grid-column: 2;
}
.faq details {
  border-top: 1px solid var(--line);
  max-width: 820px;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  min-height: 44px;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font: 400 26px/1 var(--display);
  color: var(--lime);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq h3 {
  font-size: 19px;
}
.faq details p {
  padding: 0 0 22px;
  color: var(--mute);
  max-width: 62ch;
}

/* ---------- final + footer ---------- */
.final {
  padding-bottom: clamp(72px, 10vw, 120px) !important;
}
.final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}
.final-copy {
  position: relative;
}
.final h2 {
  max-width: 14ch;
  font-size: clamp(40px, 6vw, 84px);
  letter-spacing: -0.045em;
}
.final-copy p {
  margin: 18px 0 32px;
  color: var(--mute);
  font-size: 19px;
}
.ghost-final {
  width: clamp(140px, 18vw, 240px);
  height: auto;
}
.foot {
  width: var(--wrap);
  margin: 0 auto;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  justify-content: space-between;
  color: var(--mute);
  font-size: 14px;
}
.foot-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.foot nav a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.foot nav a:hover {
  color: var(--ink);
}

.lang-hint {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: var(--raise);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.5);
  font-size: 15px;
  white-space: nowrap;
}
.lang-hint[hidden] {
  display: none;
}
.lang-hint button {
  min-width: 40px;
  min-height: 40px;
  background: none;
  border: 0;
  color: var(--mute);
  font-size: 20px;
  cursor: pointer;
}
.toast {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: #000;
  font-weight: 700;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav a {
    padding: 10px 8px;
    font-size: 14px;
  }
  .nav a:last-child {
    display: none;
  }
}
@media (max-width: 960px) {
  /* tablets: the section links move to a scrolling row under the bar */
  .top {
    flex-wrap: wrap;
    height: auto;
    padding-top: 10px;
  }
  .nav {
    order: 3;
    width: 100%;
    margin: 0 0 0 -8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav a {
    white-space: nowrap;
  }
  html {
    scroll-padding-top: 124px;
  }
}
@media (max-width: 560px) {
  .nav,
  .top-cta {
    display: none;
  }
  .top-account.member {
    font-size: 0;
    gap: 0;
  }
  .top {
    height: 64px;
    padding-top: 0;
    flex-wrap: nowrap;
  }
  html {
    scroll-padding-top: 76px;
  }
  .lede-more {
    display: none;
  }
}
@media (max-width: 900px) {
  .hero,
  .hears,
  .scenes-head {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    max-width: 12ch;
  }
  .runs dl,
  .faq {
    grid-template-columns: 1fr;
  }
  .faq h2 {
    grid-row: auto;
  }
  .faq details {
    grid-column: 1;
  }
  /* phone: headline, then the picture, then the words */
  .hero-copy {
    display: contents;
  }
  .hero h1 {
    order: 1;
    margin: 0;
  }
  .stage {
    order: 2;
  }
  .lede {
    order: 3;
  }
  .cta-row {
    order: 4;
    margin: 0;
  }
  .alt-source {
    order: 4;
    margin-top: -10px;
  }
  .previews {
    order: 4;
    margin-top: -6px;
  }
  .fine {
    order: 5;
    margin-top: -12px;
  }
  .phone-path {
    order: 6;
    margin-top: 0;
  }
  .trio {
    order: 7;
    margin-top: 0;
  }
  .news {
    order: 8;
    justify-self: start;
    margin-top: 0;
  }
  .hero {
    gap: 22px;
  }
  .final {
    grid-template-columns: 1fr;
  }
  .ghost-final {
    justify-self: end;
    margin-top: -40px;
  }
  .wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .track {
    order: 0;
  }
}
@media (max-width: 900px) {
  .apps-head {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .trio a {
    display: block;
    white-space: normal;
  }
  .trio a + a::before {
    content: none;
  }
  .app-text .btn {
    width: 100%;
    justify-content: center;
  }
  .app {
    padding: 40px 0;
  }
  .app,
  .app:nth-of-type(even) {
    grid-template-columns: 1fr;
  }
  .app:nth-of-type(even) .app-media {
    order: 0;
  }
  .steps,
  .make-grid {
    grid-template-columns: 1fr;
  }
  .use,
  .use:nth-of-type(even) {
    grid-template-columns: 1fr;
  }
  .use:nth-of-type(even) img {
    order: 0;
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .brand span {
    display: none;
  }
  .cta-row .btn {
    width: 100%;
  }
  .ear {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ear-read {
    grid-template-columns: 1fr 1fr 2fr;
  }
  .wall {
    grid-template-columns: repeat(2, 1fr);
  }
  .sec {
    font-size: 11px;
    padding: 6px;
  }
  .lane-scenes img {
    height: 34px;
  }
  .lang-hint {
    left: 12px;
    right: 12px;
    transform: none;
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .track.playing .playhead {
    animation: none;
    opacity: 0;
  }
  .wall img,
  .faq summary::after {
    transition: none;
  }
}

/* Where it runs: the DJ Link row carries its download and guide links */
.runs-links {
  display: block;
  margin-top: 8px;
}
.runs-links .link {
  margin-right: 18px;
}

/* ---------- DJ Buddy / VJ Buddy: the two halves (2026-11-17) ---------- */
:root { --vj: #4dc3ff; }
.nav-dj { --accent: var(--kick); }
.nav-vj { --accent: var(--vj); }
.appmenu .menu-half {
  padding: 10px 14px 2px;
  font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.trio a:nth-child(2) { --accent: var(--vj); }
.half-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.half {
  --accent: var(--kick);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 14px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 45%), var(--raise);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
}
.half-vj { --accent: var(--vj); }
.half h3 { font-size: clamp(28px, 3.4vw, 40px); }
.half-when {
  font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.half > p:not(.half-when) { color: var(--mute); }
.half ul { list-style: none; margin: 4px 0 8px; padding: 0; }
.half li { padding: 8px 0 8px 22px; border-top: 1px solid var(--line); position: relative; }
.half li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.half-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.half .btn-primary { background: var(--accent); border-color: var(--accent); color: #0b0d12; }
.half-both { margin-top: 18px; color: var(--mute); text-align: center; }
.plan-creator { border-color: color-mix(in srgb, var(--kick) 30%, var(--line)); }
.plan-note { margin-top: auto !important; color: var(--mute); font-size: 14px; }
@media (max-width: 1000px) {
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .half-grid { grid-template-columns: 1fr; }
}

/* ---------- track previews under the hero buttons (2026-11-17) ---------- */
.previews { margin-top: 14px; }
.previews-title { color: var(--mute); font-size: 15px; }
.preview-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-width: 34em; }
.preview {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 14px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--raise); color: inherit;
  font: inherit; text-align: left; cursor: pointer;
}
.preview:hover, .preview:focus-visible { border-color: color-mix(in srgb, var(--kick) 55%, var(--line)); }
.pv-play { flex: none; width: 0; height: 0; border-left: 10px solid var(--kick); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.preview[aria-pressed='true'] .pv-play { width: 10px; height: 12px; border: 0; border-left: 3px solid var(--kick); border-right: 3px solid var(--kick); }
.preview.loading .pv-play { width: 12px; height: 12px; border: 2px solid var(--line); border-top-color: var(--kick); border-radius: 50%; animation: pv-spin 0.9s linear infinite; }
@keyframes pv-spin { to { transform: rotate(360deg); } }
.pv-title { font-weight: 700; }
.pv-artist { color: var(--mute); margin-left: auto; text-align: right; white-space: nowrap; }
.preview[aria-pressed='true'] { border-color: var(--kick); }
@media (prefers-reduced-motion: reduce) { .preview.loading .pv-play { animation: none; } }
/* the 4 loops as one small player (2026-11-24): list + SoundCloud link per track + transport + progress */
.preview-list li { display: flex; align-items: center; gap: 6px; }
.pv-sc { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--raise); }
.pv-sc svg { width: 22px; height: 22px; fill: var(--mute); transition: fill 0.15s; }
.pv-sc:hover svg, .pv-sc:focus-visible svg { fill: #ff5500; }
.pv-transport { display: flex; align-items: center; gap: 8px; margin-top: 10px; max-width: 34em; }
.pv-btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--raise); color: var(--text, inherit); cursor: pointer; padding: 0; }
.pv-btn svg { width: 16px; height: 16px; fill: currentColor; }
.pv-btn:hover, .pv-btn:focus-visible { border-color: var(--kick); }
.pv-main { width: 48px; height: 48px; background: var(--kick); border-color: var(--kick); color: #000; }
.pv-main svg { width: 20px; height: 20px; }
.pv-main .i-pause, .pv-main.is-playing .i-play { display: none; }
.pv-main.is-playing .i-pause { display: block; }
.pv-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--line); cursor: pointer; position: relative; overflow: hidden; }
.pv-bar:focus-visible { outline: 2px solid var(--kick); outline-offset: 3px; }
.pv-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--kick); border-radius: 3px; transition: width 0.25s linear; }
.pv-time { flex: none; color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; min-width: 6.5em; text-align: right; }
@media (max-width: 520px) { .pv-time { display: none; } }
/* phone: while a preview plays the page scrolls up to the picture, so the controls ride along at the bottom */
@media (max-width: 900px) {
  body.pv-mini .pv-transport {
    position: fixed; z-index: 29; left: 12px; right: 12px; bottom: 12px; margin: 0; max-width: none;
    padding: 10px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--raise);
    box-shadow: 0 12px 40px rgb(0 0 0 / 0.5);
  }
  body.pv-mini { padding-bottom: 84px; }
}

/* ---------- the real app in the stage (2026-11-22) ---------- */
.live-app { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; opacity: 0; pointer-events: none; transition: opacity 0.4s; z-index: 1; }
.stage.live .live-app { opacity: 1; pointer-events: auto; }
.stage.live .reel, .stage.live .reel-poster { visibility: hidden; }
.stage .scene-name, .stage .src-badge, .stage .stage-url { z-index: 2; }
.stage.live-loading .screen::after { content: ''; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid #ffffff33; border-top-color: var(--kick); animation: pv-spin 0.9s linear infinite; z-index: 3; }
.live-bar { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.live-bar[hidden] { display: none; }
.live-step { min-width: 44px; min-height: 40px; padding: 6px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--raise); color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.live-step:hover, .live-step:focus-visible { border-color: var(--kick); }
.live-random { color: var(--kick); }
.live-open { margin-left: auto; }

/* the footer X link is one letter: give the finger a real target (2026-11-25) */
footer a[href^="https://x.com"] { display: inline-block; min-width: 44px; text-align: center; }

/* the detector readout under the picture is gone (Martin 2026-11-25: more harm than good) */
.ear[hidden] { display: none !important; }

/* the Ghost Builder toy (2026-11-25): last in the menu, a quiet link under the hero */
.nav-toy { --accent: var(--snare); }
.toy-tag { font-style: normal; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--snare); margin-left: 6px; padding: 1px 6px; border: 1px solid currentColor; border-radius: 99px; vertical-align: 2px; }
.toy-link { margin: 4px 0 0; font-size: 15px; }
.toy-link a { color: var(--snare); text-decoration: none; font-weight: 600; }
.toy-link a:hover, .toy-link a:focus-visible { text-decoration: underline; }
@media (max-width: 900px) { .toy-link { order: 7; margin-top: -6px; } }

/* the longer headline (2026-11-25, video first): smaller and wider so it stays at 3-4 lines */
.hero h1 { font-size: clamp(40px, 4.6vw, 72px); line-height: 0.98; letter-spacing: -0.045em; max-width: 13ch; }
@media (max-width: 900px) { .hero h1 { font-size: clamp(38px, 10vw, 56px); max-width: 14ch; } }

/* hero layout (2026-11-25): the picture starts level with the headline, the track player sits right under it
   (it drives the picture); the left column keeps only the message and the actions */
.hero { align-items: start; }
.stage .previews { margin-top: 14px; }
.stage .previews-title { margin: 0 0 2px; font-size: 14px; }
.stage .preview-list, .stage .pv-transport { max-width: none; }
.legend[hidden] { display: none !important; }
.hero-copy .fine { margin-top: 14px; }
.lang-hint { left: auto; right: 18px; transform: none; font-size: 14px; }
@media (max-width: 900px) { .lang-hint { right: 12px; left: 12px; } }

/* the top bar with three task links does not fit on a small laptop: Downloads and Manual stay in the footer and the menu */
@media (max-width: 1380px) { .nav a[href="/downloads/"], .nav a[href^="/manual.html"] { display: none; } }
.live-bar:not(.is-live) .live-open { display: none; }
body.pv-mini .lang-hint { bottom: 92px; }

/* iPhone (2026-11-25): the app window must never reach over the buttons under it */
.stage .screen { overflow: hidden; }
.live-bar { position: relative; z-index: 5; }
