:root {
  color-scheme: dark;
  --ink: #f7f3e8;
  --muted: #b9b5aa;
  --paper: #111214;
  --panel: #1b1d20;
  --panel-2: #24272b;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f0b94d;
  --teal: #42c4b5;
  --red: #ef7764;
  --green: #83cf73;
  --blue: #76a8ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101113;
  color: var(--ink);
}

body,
button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 5vw, 56px);
  background: rgba(16, 17, 19, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  color: #111214;
  font-weight: 800;
  font-size: 13px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  overflow-wrap: anywhere;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--ink);
}

.header-action,
.primary-button,
.secondary-button,
.product-card button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  white-space: nowrap;
}

.header-action,
.secondary-button {
  border-color: var(--line);
  color: var(--ink);
}

.primary-button,
.product-card button,
.contact-form button {
  background: var(--gold);
  color: #15120b;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px clamp(18px, 6vw, 72px);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 17, 19, 0.95), rgba(16, 17, 19, 0.65) 42%, rgba(16, 17, 19, 0.1)),
    linear-gradient(0deg, #101113 0, rgba(16, 17, 19, 0) 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-bottom: 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  color: #ded8ca;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
}

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

.player-section,
.catalog-section,
.contact-section {
  padding: 72px clamp(18px, 5vw, 56px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2,
.cantata-band h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.section-heading p:not(.eyebrow),
.cantata-band li,
.contact-form label {
  color: var(--muted);
  line-height: 1.6;
}

.daw-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151619;
  box-shadow: var(--shadow);
}

.transport {
  display: grid;
  grid-template-columns: 56px 56px minmax(130px, 1fr) minmax(180px, 260px) minmax(150px, 220px);
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #202226;
  border-bottom: 1px solid var(--line);
}

.transport-button {
  width: 56px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111214;
  color: var(--ink);
  font-weight: 900;
}

.play-button {
  background: var(--teal);
  color: #061411;
}

.transport-time strong,
.transport-time span,
.tempo-control span,
.master-control span {
  display: block;
}

.transport-time strong {
  font-size: 24px;
}

.transport-time span,
.tempo-control span,
.master-control span {
  color: var(--muted);
  font-size: 12px;
}

.tempo-control,
.master-control {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

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

.arrangement {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #111214;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 32px;
  border: 1px solid var(--line);
  border-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.timeline span {
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-right: 1px solid var(--line);
}

.timeline i {
  position: absolute;
  top: 0;
  bottom: -151px;
  left: 0;
  width: 2px;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(240, 185, 77, 0.7);
  transform: translateX(0);
}

.overview-canvas {
  display: block;
  width: 100%;
  height: 150px;
  border: 1px solid var(--line);
  background: #151619;
}

.song-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.song-selector button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #202226;
  color: var(--ink);
  font-weight: 700;
}

.song-selector button.active {
  background: var(--ink);
  color: #151619;
}

.tracks {
  display: grid;
}

.track {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(240px, 1fr) minmax(170px, 230px);
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.track:last-child {
  border-bottom: 0;
}

.track-info,
.track-controls,
.track-wave {
  padding: 12px;
}

.track-info {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-content: center;
  background: #1c1e22;
}

.track-color {
  width: 12px;
  height: 46px;
  border-radius: 999px;
}

.track-title strong {
  display: block;
}

.track-title span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.track-wave {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 100%, 100% 22px;
}

.track-wave::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-50%);
}

.wave-bars {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(72, minmax(2px, 1fr));
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 42px;
}

.wave-bars i {
  display: block;
  justify-self: center;
  width: min(4px, 100%);
  min-height: 3px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.58;
}

.track-controls {
  display: grid;
  grid-template-columns: 44px 44px 1fr;
  gap: 8px;
  align-content: center;
  background: #181a1d;
}

.track-controls button {
  min-width: 0;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #25282d;
  color: var(--ink);
  font-weight: 900;
}

.track-controls button.active {
  background: var(--gold);
  color: #111214;
}

.mini-mixer {
  display: grid;
  gap: 7px;
}

.meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #0f1012;
}

.meter span {
  display: block;
  width: 12%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--red));
  transition: width 80ms linear;
}

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

.product-card {
  display: grid;
  grid-template-rows: 170px 1fr auto;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.product-art {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 4px, transparent 4px 18px);
}

.art-blue {
  background-color: #2c6a85;
}

.art-green {
  background-color: #486c45;
}

.art-red {
  background-color: #87453c;
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(240, 185, 77, 0.16);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.product-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.product-card p {
  color: var(--muted);
  line-height: 1.5;
}

.product-card strong {
  display: block;
  margin-top: 12px;
  font-size: 24px;
}

.cantata-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: start;
  padding: 54px clamp(18px, 5vw, 56px);
  background: #202226;
  border-block: 1px solid var(--line);
}

.cantata-band ul {
  margin: 0;
  padding-left: 20px;
}

.cantata-band li + li {
  margin-top: 10px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 520px);
  gap: 32px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #111214;
  color: var(--ink);
  resize: vertical;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-header,
  .transport,
  .track,
  .product-grid,
  .cantata-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  .main-nav {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-action {
    justify-self: start;
  }

  .track-controls {
    grid-template-columns: 52px 52px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 760px;
    align-items: end;
    padding-top: 120px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(16, 17, 19, 0.97), rgba(16, 17, 19, 0.7) 54%, rgba(16, 17, 19, 0.2)),
      linear-gradient(90deg, rgba(16, 17, 19, 0.4), rgba(16, 17, 19, 0.2));
  }

  .hero-actions,
  .header-action,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .timeline {
    font-size: 10px;
  }

  .track-info,
  .track-controls,
  .track-wave {
    padding: 10px;
  }
}
