:root {
  --bg: #04111f;
  --bg-deep: #020814;
  --panel: rgba(5, 16, 29, 0.7);
  --panel-strong: rgba(6, 14, 24, 0.84);
  --border: rgba(255, 255, 255, 0.14);
  --text: #f6f3ed;
  --muted: rgba(246, 243, 237, 0.78);
  --accent: #f1a544;
  --accent-soft: rgba(241, 165, 68, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(2, 8, 20, 0.22), rgba(2, 8, 20, 0.92)),
    linear-gradient(135deg, rgba(5, 12, 23, 0.7), rgba(3, 13, 24, 0.22)),
    url("./img/peak-hero.jpg") center 24% / cover no-repeat fixed;
  background-color: var(--bg-deep);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(241, 165, 68, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(48, 112, 210, 0.2), transparent 36%);
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  padding: 1.5rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 0 2rem;
  animation: rise 700ms ease both;
}

.brand {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a,
.text-link {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--text);
}

.section {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 7rem);
  padding: 2rem 0 3rem;
  text-align: center;
}

.hero-copy {
  max-width: 58rem;
  animation: rise 900ms ease both;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 0.96;
}

h1 {
  font-size: clamp(4rem, 10vw, 7.6rem);
  max-width: none;
}

.hero-mark {
  display: block;
  width: min(100%, 52rem);
  height: auto;
  margin: 0 auto 1.1rem;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.28));
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
}

.lede,
.section-heading p,
.about-copy,
.music-copy p,
.feature-list,
.contact-form label,
.form-status {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.lede {
  max-width: 34rem;
  margin: 1.3rem auto 0;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
  justify-content: center;
}

.band-strip {
  width: 100%;
  margin: 0 0 1.5rem;
  animation: rise 1000ms ease both;
}

.band-strip-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 34vw);
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
}

.band-strip-track::-webkit-scrollbar {
  display: none;
}

.band-strip-card {
  position: relative;
  margin: 0;
  min-width: 0;
  scroll-snap-align: start;
  background: rgba(0, 0, 0, 0.18);
}

.band-strip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 17, 31, 0.16), rgba(4, 17, 31, 0.24)),
    rgba(11, 34, 68, 0.5);
  mix-blend-mode: soft-light;
}

.band-strip-card img {
  display: block;
  width: 100%;
  height: 27rem;
  object-fit: cover;
  object-position: center 28%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #111;
  background: var(--accent);
  box-shadow: 0 8px 26px rgba(241, 165, 68, 0.25);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border);
}

.panel {
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, var(--panel), var(--panel-strong));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 2rem;
  animation: rise 950ms ease both;
}

.panel-wide {
  padding: 2rem;
}

.section-divider {
  max-width: 1200px;
  margin: -0.2rem auto 1.7rem;
  padding: 0 1rem;
}

.peak-divider {
  opacity: 0.78;
}

.peak-divider-compact {
  margin-top: 0.2rem;
}

.wave-motif {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.wave-line {
  fill: none;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.wave-line-primary {
  stroke: rgba(246, 243, 237, 0.32);
}

.wave-line-secondary {
  stroke: rgba(241, 165, 68, 0.26);
  stroke-width: 3.2;
}

.wave-line-tertiary {
  stroke: rgba(141, 183, 255, 0.22);
  stroke-width: 2.6;
}

.wave-line-glow {
  stroke-width: 8;
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(255, 248, 221, 0.55));
}

.music-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 2rem;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(11, 13, 16, 0.84);
  padding: 0;
}

.player-head {
  padding: 1.4rem 1.4rem 0.95rem;
}

.player-meta {
  margin: 0;
  color: var(--muted);
}

.player-head h3 {
  font-size: 1.6rem;
}

.player-meta {
  margin-top: 0.55rem;
  max-width: 30rem;
}

.track-list {
  display: grid;
  gap: 0.9rem;
  padding: 0 1.4rem 1.4rem;
  max-height: 15.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.track-list::-webkit-scrollbar {
  width: 10px;
}

.track-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.track-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.track-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.13);
}

.track-button.is-active {
  border-color: rgba(17, 191, 96, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.track-button.is-active .track-title {
  color: var(--accent);
}

.track-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1;
}

.track-duration {
  color: rgba(246, 243, 237, 0.92);
  font-family: "Courier New", monospace;
  font-size: 0.96rem;
  letter-spacing: 0.05em;
}

.track-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.soundcloud-widget {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0.01;
  pointer-events: none;
  left: -9999px;
  top: 0;
  border: 0;
}

.feature-list {
  padding-left: 1.2rem;
  margin: 1rem 0 1.2rem;
}

.set-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.set-card {
  padding: 1.2rem 1.15rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.set-card h3 {
  margin-bottom: 0.8rem;
}

.set-card ol {
  margin: 0;
  padding-left: 1.3rem;
  color: var(--muted);
  line-height: 1.7;
}

.set-card li + li {
  margin-top: 0.2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  color: var(--text);
  font: inherit;
  background: rgba(255, 255, 255, 0.06);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(241, 165, 68, 0.38);
  border-color: rgba(241, 165, 68, 0.65);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
    background-position: center 20%;
  }

  .music-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .player-head,
  .track-list {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

  .track-duration {
    display: none;
  }

  .band-strip-track {
    grid-auto-columns: minmax(240px, 62vw);
  }

  .band-strip-card img {
    height: 24rem;
    object-position: center 24%;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 1rem;
  }

  .panel,
  .panel-wide {
    padding: 1.35rem;
    border-radius: 24px;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 4.5rem);
  }

  .hero-mark {
    width: min(100%, 30rem);
    margin-bottom: 0.8rem;
  }

  .band-strip-track {
    grid-auto-columns: 84vw;
  }

  .band-strip-card img {
    height: 22rem;
    object-position: center 20%;
  }

  .track-index {
    width: 3.3rem;
    height: 3.3rem;
    font-size: 1rem;
  }
}
