:root {
  color-scheme: dark;
  --bg: #070707;
  --ink: #f7f1e8;
  --muted: #b8b0a5;
  --dim: #797268;
  --line: rgba(247, 241, 232, 0.16);
  --panel: rgba(13, 13, 11, 0.82);
  --panel-solid: #11110e;
  --green: #b7ff37;
  --cyan: #65dcff;
  --red: #ff4938;
  --gold: #f3b85f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(183, 255, 55, 0.18), transparent 30rem),
    radial-gradient(circle at 80% 6%, rgba(255, 73, 56, 0.15), transparent 26rem),
    linear-gradient(180deg, #070707, #11100d 58%, #070707);
}

a {
  color: inherit;
}

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

#ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(247, 241, 232, 0.12);
  background: rgba(7, 7, 7, 0.68);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-code {
  display: grid;
  place-items: center;
  width: 46px;
  height: 32px;
  border: 1px solid var(--green);
  color: var(--green);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 5vw, 70px) 92px;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.92) 0%, rgba(7, 7, 7, 0.62) 35%, rgba(7, 7, 7, 0.22) 68%, rgba(7, 7, 7, 0.72) 100%),
    linear-gradient(0deg, rgba(7, 7, 7, 0.94) 0%, transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 1020px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(4.2rem, 18vw, 14rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 6vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
}

.hero-actions,
.transport,
.ratio-tabs,
.preset-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.profile-stat-grid span {
  border: 1px solid rgba(247, 241, 232, 0.18);
  background: rgba(7, 7, 7, 0.62);
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-stat-grid strong {
  color: var(--green);
}

.button,
.icon-button,
.ratio,
.preset {
  appearance: none;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 16px;
  background: rgba(7, 7, 7, 0.74);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary,
.ratio.is-active,
.preset.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #070707;
}

.button.secondary:hover,
.icon-button:hover,
.ratio:hover,
.preset:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.ticker {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  display: flex;
  overflow: hidden;
  border-top: 1px solid rgba(247, 241, 232, 0.18);
  background: rgba(7, 7, 7, 0.76);
}

.ticker span {
  flex: 0 0 auto;
  padding: 15px 34px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  animation: ticker 24s linear infinite;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

main {
  overflow: hidden;
}

.section,
.release-strip {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(66px, 10vw, 126px) 0;
  border-top: 1px solid var(--line);
}

.section-title {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-title p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-title.compact {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-title.compact h2 {
  margin-bottom: 0;
}

.release-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: stretch;
}

.release-window {
  position: relative;
  min-height: 410px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.release-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) 1fr;
  gap: 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.release-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.release-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-slide div {
  align-self: end;
  padding: clamp(22px, 4vw, 48px);
}

.release-slide h3 {
  font-size: clamp(2rem, 5vw, 5rem);
}

.release-slide p:last-child {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: start;
}

.player-panel,
.motion-controls,
.product-grid article,
.date-list article {
  border: 1px solid var(--line);
  background: var(--panel);
}

.player-panel {
  padding: 18px;
}

.now-playing {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
}

.now-playing img {
  width: 132px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(247, 241, 232, 0.12);
}

.now-playing p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.waveform {
  display: grid;
  grid-template-columns: repeat(48, 1fr);
  align-items: end;
  gap: 3px;
  height: 118px;
  margin: 18px 0;
  padding: 12px;
  border: 1px solid rgba(183, 255, 55, 0.26);
  background: rgba(0, 0, 0, 0.28);
}

.waveform span {
  height: calc(var(--h) * 1%);
  min-height: 8px;
  background: linear-gradient(180deg, var(--green), rgba(101, 220, 255, 0.2));
  transform-origin: bottom;
}

.is-playing .waveform span {
  animation: pulse 720ms ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -23ms);
}

@keyframes pulse {
  from { transform: scaleY(0.42); }
  to { transform: scaleY(1); }
}

.transport {
  align-items: center;
  margin-bottom: 16px;
}

.progress {
  flex: 1 1 190px;
  height: 12px;
  border: 1px solid var(--line);
  background: rgba(247, 241, 232, 0.06);
}

.progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--red);
}

.track-list {
  display: grid;
  gap: 8px;
}

.track {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.track span,
.track em {
  color: var(--muted);
  font-style: normal;
}

.track.is-active {
  border-color: var(--green);
}

.photo-band {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr 0.9fr;
  gap: 12px;
  width: min(1400px, calc(100% - 24px));
  margin: 0 auto;
  padding: 16px 0 70px;
}

.photo-band figure {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.photo-band figure:hover img {
  transform: scale(1.04);
}

.photo-band figcaption {
  position: absolute;
  inset: auto 14px 14px;
  padding: 10px 12px;
  background: rgba(7, 7, 7, 0.78);
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.motion {
  width: min(1320px, calc(100% - 36px));
}

.motion-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 18px;
  align-items: start;
}

.motion-stage {
  border: 1px solid var(--line);
  background: #000;
}

#motion-canvas {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.ratio-tabs {
  padding: 12px;
  border-top: 1px solid var(--line);
}

.motion-controls {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.motion-controls label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

#brief-output {
  min-height: 176px;
  margin: 0;
  padding: 12px;
  overflow: auto;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.44);
  color: var(--muted);
  font-size: 0.78rem;
  white-space: pre-wrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.product-grid article {
  min-height: 230px;
  padding: 20px;
}

.product-tag {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.product-grid p,
.date-list span,
.contact p {
  color: var(--muted);
}

.text-link {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.date-list {
  display: grid;
  gap: 10px;
}

.date-list article {
  display: grid;
  grid-template-columns: 96px minmax(190px, 1fr) minmax(160px, 0.7fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 16px;
}

time {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.date-list a {
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.muted {
  color: var(--dim);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding-bottom: 92px;
}

.contact p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker span,
  .is-playing .waveform span {
    animation: none;
  }
}

@media (max-width: 980px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .release-carousel,
  .split,
  .motion-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .release-slide {
    grid-template-columns: 1fr;
    position: relative;
    display: none;
  }

  .release-slide.is-active {
    display: grid;
  }

  .release-slide img {
    max-height: 420px;
  }

  .release-window {
    min-height: auto;
  }

  .photo-band,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .photo-band figure {
    min-height: 380px;
  }

  .date-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 18px 18px 14px;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    font-size: 0.72rem;
  }

  nav a {
    min-width: 0;
    text-align: center;
  }

  .hero {
    padding: 164px 24px 86px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 3.1rem);
    overflow-wrap: anywhere;
  }

  .hero-copy {
    width: min(100%, 310px);
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .hero-inner {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  .button,
  .icon-button,
  .ratio,
  .preset {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .now-playing,
  .track {
    grid-template-columns: 1fr;
  }

  .now-playing img {
    width: 100%;
  }

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