:root {
  --mint: #8df4c5;
  --mint-dark: #0d8a63;
  --paper: #f4f1ea;
  --white: #ffffff;
  --black: #050505;
  --gray: #77736b;
  --line: #050505;
  --soft-line: rgba(5, 5, 5, 0.18);
  --font-sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Syne", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--black);
  font-family: var(--font-sans);
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.page-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(5, 5, 5, 0.06) calc(100% - 1px)),
    linear-gradient(180deg, transparent calc(100% - 1px), rgba(5, 5, 5, 0.05) calc(100% - 1px));
  background-size: 72px 72px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 74px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(12px);
}

.brand,
.topbar-links {
  padding: 16px 24px;
}

.brand {
  border-right: 1px solid var(--line);
}

.brand a,
.topbar-links a,
.soundcloud-link {
  color: var(--black);
  text-decoration: none;
}

.brand a {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.brand-kicker,
.eyebrow,
.panel-badge,
.player-label,
.support-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.brand-kicker::before,
.eyebrow::before,
.panel-badge::before,
.player-label::before,
.support-label::before {
  content: '"';
}

.brand-kicker::after,
.eyebrow::after,
.panel-badge::after,
.player-label::after,
.support-label::after {
  content: '"';
}

.topbar-links {
  display: flex;
  gap: 0;
  justify-content: flex-end;
}

.topbar-links a {
  padding: 8px 12px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100vh - 72px);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 72px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 44px 24px 54px;
}

.hero-copy h1 {
  max-width: 900px;
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 124px);
  line-height: 0.94;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-copy h1::after {
  content: " labelvishaal.com";
  display: block;
  margin-top: 14px;
  font-size: 0.58em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--black);
  overflow-wrap: anywhere;
}

.hero-text {
  max-width: 620px;
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.domain-callout {
  width: fit-content;
  margin: 22px 0 0;
  padding: 9px 12px;
  background: var(--mint);
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100%, 1040px);
  margin: 0 auto;
  min-height: 420px;
  padding: 24px;
  border-top: 1px solid var(--line);
  background:
    repeating-linear-gradient(
      -45deg,
      var(--black) 0,
      var(--black) 14px,
      var(--mint) 14px,
      var(--mint) 28px
    );
}

.hero-panel h2,
.hero-panel p,
.hero-panel .soundcloud-link,
.hero-stats {
  background: var(--paper);
}

.hero-panel h2 {
  width: fit-content;
  margin: 12px 0 0;
  padding: 8px 10px;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-panel p {
  max-width: 430px;
  margin: 0;
  padding: 12px 10px 10px;
  font-size: 17px;
  line-height: 1.35;
}

.soundcloud-link {
  width: fit-content;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  font-weight: 800;
  text-transform: uppercase;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 0;
  border: 1px solid var(--line);
}

.hero-stats div {
  min-height: 92px;
  padding: 11px;
}

.hero-stats div + div {
  border-left: 1px solid var(--line);
}

.hero-stats dt {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.1;
}

main section {
  padding: 72px 24px;
  border-bottom: 1px solid var(--line);
}

main section > * {
  width: min(100%, 1040px);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.section-heading h2,
.support-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 86px);
  line-height: 0.92;
  text-transform: uppercase;
}

.spotlight-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.player-stage {
  border: 1px solid var(--line);
  background: var(--white);
}

.player-topline,
.track-data,
.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.player-topline {
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

#player-status {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.player-stage h3 {
  margin: 0;
  padding: 18px 14px 6px;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 0.95;
  text-transform: uppercase;
}

#active-description {
  margin: 0;
  padding: 0 14px 18px;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.35;
}

.player-controls,
.seek-controls,
.player-insights {
  display: flex;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.control,
.seek,
.mini-button,
.button {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 14px;
  color: var(--black);
  text-decoration: none;
}

.button-primary,
.control-accent {
  background: var(--black);
  color: var(--white);
}

.button-secondary {
  background: var(--mint);
  color: var(--black);
}

.button:hover,
.control:hover,
.seek:hover,
.mini-button:hover {
  background: var(--mint);
  color: var(--black);
}

.player-controls .control {
  flex: 1;
  min-height: 58px;
  border-width: 0 1px 0 0;
}

.player-controls .control:last-child {
  border-right: 0;
}

.seek-controls {
  padding: 0;
}

.seek {
  width: 78px;
  border-width: 0 1px 0 0;
}

.seek:last-child {
  border-width: 0 0 0 1px;
}

.progress-wrap {
  flex: 1;
  padding: 12px 14px;
}

.progress-meta {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
}

#progress {
  width: 100%;
  appearance: none;
  height: 9px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  outline: none;
}

#progress::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--mint);
}

.player-insights {
  display: grid;
  grid-template-columns: 1fr;
}

.insight-pill {
  min-height: 78px;
  padding: 12px 14px;
}

.insight-pill + .insight-pill {
  border-left: 1px solid var(--line);
}

.insight-pill span {
  display: block;
  margin-bottom: 8px;
  color: var(--gray);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.insight-pill strong {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.custom-stage {
  min-height: 220px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(5, 5, 5, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.custom-stage::before {
  content: "PLAYBACK";
  position: absolute;
  inset: 24px auto auto 24px;
  padding: 5px 7px;
  background: var(--mint);
  font-size: 12px;
  font-weight: 900;
}

.vinyl-ring {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 18px solid var(--black);
  outline: 10px solid var(--mint);
}

.visualizer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding: 0 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.visualizer span {
  width: 10px;
  height: 26px;
  background: var(--black);
  transform-origin: bottom;
  animation: idlePulse 1400ms ease-in-out infinite;
  animation-play-state: paused;
}

.visualizer.is-playing span {
  animation-play-state: running;
}

.visualizer span:nth-child(2n) {
  animation-duration: 1100ms;
}

.visualizer span:nth-child(3n) {
  animation-duration: 900ms;
}

@keyframes idlePulse {
  0%, 100% {
    transform: scaleY(0.35);
  }

  50% {
    transform: scaleY(1);
  }
}

.track-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.track-card {
  padding: 18px;
  cursor: pointer;
}

.track-card + .track-card {
  border-top: 0;
  border-left: 1px solid var(--line);
}

.track-card.is-active {
  background: var(--mint);
}

.track-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 0.95;
  text-transform: uppercase;
}

.track-caption {
  margin: 8px 0 0;
  color: var(--gray);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.track-data {
  margin: 18px 0;
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-button {
  min-height: 38px;
  padding: 9px 12px;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.support-copy p {
  max-width: 620px;
  color: var(--gray);
  font-size: 18px;
  line-height: 1.35;
}

.movement-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.movement-strip .quick-support {
  min-height: 78px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
}

.movement-strip .quick-support:last-child {
  border-right: 0;
}

.movement-strip .quick-support:hover,
.movement-strip .quick-support.is-selected {
  background: var(--mint);
}

.support-panel {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.support-panel label {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0;
}

.support-panel input,
.support-panel textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--black);
}

.support-panel textarea {
  resize: vertical;
}

.message-callout {
  display: block;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

#supporter-name,
#support-amount,
#support-message {
  font-size: 14px;
  line-height: 1.35;
}

.support-panel textarea:disabled {
  color: var(--gray);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(5, 5, 5, 0.08) 0,
      rgba(5, 5, 5, 0.08) 8px,
      var(--paper) 8px,
      var(--paper) 16px
    );
  cursor: not-allowed;
}

.support-panel button {
  min-height: 54px;
  border-width: 0;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  max-width: min(360px, calc(100vw - 36px));
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--mint);
  color: var(--black);
  font-weight: 900;
  text-transform: uppercase;
  transform: translateY(120px);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .hero-grid,
  .spotlight-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
  }

  .track-list {
    grid-template-columns: 1fr;
  }

  .track-card + .track-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

}

@media (max-width: 680px) {
  .topbar {
    grid-template-columns: 1fr;
  }

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

  .brand {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .topbar-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    padding: 0;
  }

  .topbar-links a {
    min-width: 0;
    padding: 12px 8px;
    text-align: center;
    font-size: 11px;
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .movement-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .movement-strip .quick-support:nth-child(2n) {
    border-right: 0;
  }

  .movement-strip .quick-support:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .hero-copy,
  main section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-copy h1 {
    font-size: 44px;
    line-height: 0.98;
  }

  .hero-copy h1::after {
    font-size: 0.6em;
    -webkit-text-stroke: 1px var(--black);
  }

  .hero-panel h2 {
    font-size: 44px;
  }

  .hero-stats {
    display: grid;
  }

  .hero-stats,
  .player-insights {
    grid-template-columns: 1fr;
  }

  .hero-stats div + div,
  .insight-pill + .insight-pill {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .player-controls,
  .seek-controls {
    flex-wrap: wrap;
  }

  .seek {
    width: 50%;
    min-height: 44px;
  }

  .progress-wrap {
    order: -1;
    flex-basis: 100%;
    border-bottom: 1px solid var(--line);
  }

  .track-name {
    font-size: 30px;
  }

  .message-callout {
    font-size: 16px;
  }

  .player-stage h3,
  .section-heading h2,
  .support-copy h2 {
    font-size: 34px;
  }

  .support-panel label {
    padding: 14px;
    font-size: 18px;
  }

  .movement-strip .quick-support {
    min-height: 62px;
    font-size: 28px;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-text,
  .support-copy p,
  #active-description {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

  .player-controls .control {
    min-height: 48px;
    font-size: 13px;
  }
}
