:root {
  --ink: #050505;
  --panel: #111;
  --soft: #fff;
  --acid: #fff;
  --body: 'Segoe UI', system-ui, sans-serif;
  --dock-height: calc(94px + env(safe-area-inset-bottom, 0px));
  scroll-padding-bottom: calc(var(--dock-height) + 16px);
}

body {
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px)
    var(--dock-height) env(safe-area-inset-left, 0px);
}
.topbar {
  top: env(safe-area-inset-top, 0px);
  inset-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
  width: auto;
  box-shadow: 0 calc(-1 * env(safe-area-inset-top, 0px)) #050505;
  background: rgb(5 5 5 / 94%);
}
.skip { top: calc(2px + env(safe-area-inset-top, 0px)); }
.section { scroll-margin-top: calc(80px + env(safe-area-inset-top, 0px)); }
.hero {
  background: radial-gradient(ellipse at 68% 46%, #171d0e 0, #0a0c08 34%, transparent 66%), var(--ink);
}
.ticker {
  background: #090b07;
  color: var(--acid);
  border-block: 1px solid #34401d;
}
.release { background: #101211; position: relative; isolation: isolate; }
.release-art { border: 1px solid rgb(255 255 255 / 10%); }
.release::before, .release::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: .58;
}
.release::before {
  width: 52%;
  height: 16px;
  inset: 44px 13px auto auto;
  border: 1px solid rgb(205 255 56 / 45%);
  border-bottom: 0;
  transform: skewX(-28deg);
  animation: cover-shift 7s ease-in-out infinite alternate;
}
.release::after {
  width: 44%;
  height: 12px;
  inset: auto auto 105px 15px;
  background: repeating-linear-gradient(130deg, transparent 0 4px, #73883b 4px 5px, transparent 5px 9px);
  transform: skewX(22deg);
  animation: cover-shift 8s ease-in-out infinite alternate-reverse;
}
.release:nth-child(2)::before,
.release:nth-child(2)::after { animation-delay: -3s; }
.release:nth-child(3)::before,
.release:nth-child(3)::after { animation-delay: -5s; }
@keyframes cover-shift {
  to { translate: 12px 3px; scale: .87 1.12; opacity: .34; }
}
.about, .footer { background: #0a0a0a; }
.beatkey {
  background: radial-gradient(ellipse at 76% 50%, #161c0b, transparent 61%), #080908;
  color: var(--soft);
  border-block: 1px solid #303a18;
}
.beatkey-grid {
  background-image: linear-gradient(#b3f53d20 1px, transparent 1px), linear-gradient(90deg, #b3f53d20 1px, transparent 1px);
  opacity: .5;
}
.beatkey .eyebrow.dark { color: var(--acid); }
.beatkey .eyebrow.dark .square { background: var(--acid); }
.beatkey-version { color: #c5cbbd; }
.beatkey-text h2 em { -webkit-text-stroke-color: var(--acid); }
.beatkey-text p, .hero-intro p, .section-heading > p { color: #c5c9c2; }
.beatkey .btn-dark { background: var(--acid); color: var(--ink); }
.beatkey .btn-dark:hover { background: #e2ff8e; }
.beatkey .btn-dark-outline { border-color: #707669; color: var(--soft); }
.beatkey .btn-dark-outline:hover { background: #1d2312; color: var(--acid); }
.display-caption { color: #bcc4b4; }

:is(#main, .ticker, .footer) { filter: grayscale(1); }
.hero, .about, .beatkey, .footer, .ticker { background: var(--ink); }

body :is(.topbar, #main, .ticker, .footer) :is(a, button, p, span, b, strong, h1, h2, h3, em) {
  color: var(--soft);
}
.hero-name > span:first-child,
.beatkey-text h2 em { -webkit-text-stroke-color: #fff; }
body #main .hero-name > span:first-child,
body #main .beatkey-text h2 em { color: transparent; }

:is(.topbar, #main) :is(.btn-acid, .btn-dark, .btn-dark-outline, .top-booking),
.skip {
  background: #080808;
  border: 1px solid #aaa;
  color: #fff;
}
:is(.topbar, #main) :is(.btn-acid, .btn-dark, .btn-dark-outline, .top-booking):hover {
  background: #242424;
  border-color: #fff;
}
::selection { background: #383838; color: #fff; }

.audio-dock {
  --acid: #cdff38;
  --soft: #f7f7f4;
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  background: #0a0b0a;
  color: var(--soft);
  border-top: 1px solid #52652c;
  box-shadow: 0 -12px 30px #0007;
  font: 500 13px/1.3 var(--body);
}
.dock-inner {
  max-width: 1600px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(170px, .83fr) 123px minmax(150px, 1.75fr) minmax(172px, 1fr) minmax(112px, .58fr);
  grid-template-areas: 'track transport progress visual volume';
  gap: clamp(10px, 1.7vw, 26px);
  align-items: center;
  min-height: 92px;
  padding: 8px clamp(12px, 3vw, 44px);
}
.dock-track { grid-area: track; display: flex; align-items: center; gap: 13px; min-width: 0; }
.dock-mark {
  display: flex;
  flex: 0 0 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: linear-gradient(145deg, #1e2710, #11160a);
  border: 1px solid #3e4d23;
}
.dock-mark i { width: 2px; height: 13px; background: var(--acid); transform: skew(-13deg); }
.dock-mark i:nth-child(2) { height: 21px; }
.dock-mark i:nth-child(3) { height: 16px; }
.dock-mark i:nth-child(4) { height: 8px; }
.dock-title { font-size: 14px; font-weight: 750; }
.dock-artist { margin-top: 4px; color: #b9bfb4; font-size: 10px; font-weight: 750; letter-spacing: .16em; }
.dock-transport { grid-area: transport; display: grid; gap: 2px; min-width: 0; }
.dock-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #a6ca3e;
  border-radius: 4px;
  background: var(--acid);
  color: #101608;
  font-size: 11px;
  font-weight: 800;
}
.dock-play:hover { background: #e4ff97; }
.dock-play-icon {
  flex: 0 0 12px;
  width: 12px;
  height: 13px;
  background: currentColor;
  clip-path: polygon(15% 0, 100% 50%, 15% 100%);
}
.audio-dock[data-state='playing'] .dock-play-icon,
.audio-dock[data-state='buffering'] .dock-play-icon,
.audio-dock[data-state='loading'][data-active] .dock-play-icon {
  clip-path: polygon(0 0, 33% 0, 33% 100%, 0 100%, 0 0, 67% 0, 100% 0, 100% 100%, 67% 100%, 67% 0);
}
.dock-status { min-height: 13px; font-size: 10px; color: #c2c9bc; }
.audio-dock[data-state='error'] .dock-status { color: #ffb6aa; }
.dock-progress {
  grid-area: progress;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: 8px;
  align-items: center;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: #d1d6cd;
}
.dock-progress > :last-child { text-align: right; }
.dock-range {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 44px;
  min-width: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.dock-range:disabled { opacity: .55; cursor: default; }
.dock-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--acid) var(--fill, 0%), #50574b var(--fill, 0%));
}
.dock-range::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--acid) var(--fill, 0%), #50574b var(--fill, 0%));
}
.dock-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: #f2f5eb;
}
.dock-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: #f2f5eb;
}
.dock-visual {
  grid-area: visual;
  display: grid;
  grid-template-columns: minmax(42px, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
#audio-canvas {
  display: block;
  width: 100%;
  height: 44px;
  border-block: 1px solid #252d1b;
  background: #080a06;
}
#audio-mode {
  max-width: 100%;
  height: 44px;
  padding-inline: 7px 3px;
  border: 1px solid #444d3b;
  border-radius: 4px;
  background: #141811;
  color: var(--soft);
  font: 650 11px var(--body);
}
#audio-mode:disabled { color: #a3ab9c; opacity: .85; }
.dock-volume {
  grid-area: volume;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.dock-mute {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #e5eadf;
  border: 1px solid transparent;
  border-radius: 4px;
}
.dock-mute:hover { border-color: #53613f; color: var(--acid); }
.dock-mute[aria-pressed='true'] { color: var(--acid); }
.dock-mute .dock-silent, .dock-mute[aria-pressed='true'] .dock-sound { display: none; }
.dock-mute[aria-pressed='true'] .dock-silent { display: initial; }
.audio-dock :focus-visible { outline: 2px solid #f3fadf; outline-offset: 2px; }

@media (min-width: 901px) {
  .hero { min-height: max(720px, calc(100svh - var(--dock-height))); }
}
@media (min-width: 901px) and (max-height: 950px) {
  .hero { padding-top: 95px; }
  .hero-name { font-size: clamp(145px, 29.5vw, 530px); }
  .hero-copy { padding-block: 30px 16px; }
  .hero-bottom { padding-top: 24px; }
}
@media (max-width: 900px) {
  :root { --dock-height: calc(121px + env(safe-area-inset-bottom, 0px)); }
  .dock-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 123px;
    grid-template-areas: 'track progress transport' 'visual visual volume';
    gap: 0 16px;
    min-height: 108px;
  }
  .dock-visual { grid-template-columns: minmax(42px, 1fr) auto; }
  #audio-canvas { height: 36px; }
}
@media (max-width: 560px) {
  :root { --dock-height: calc(151px + env(safe-area-inset-bottom, 0px)); }
  .section-heading > div { min-width: 0; }
  .section-heading h2 {
    font-size: clamp(42px, calc(13.15vw - (env(safe-area-inset-left, 0px) + env(safe-area-inset-right, 0px)) * .1315), 70px);
    overflow-wrap: anywhere;
  }
  .dock-inner {
    grid-template-columns: minmax(0, 1fr) 116px;
    grid-template-areas: 'track transport' 'progress progress' 'visual volume';
    gap: 0 9px;
    min-height: 0;
    padding-block: 7px 5px;
  }
  .dock-mark { flex-basis: 33px; height: 33px; }
  .dock-track { gap: 8px; }
  .dock-progress .dock-range { height: 36px; }
  .dock-title { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .release::before, .release::after { animation: none; }
}
