@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #080706;
  --bg2: #0e0b09;
  --paper: #d6c1a8;
  --paper2: #b79a7a;
  --muted: rgba(214, 193, 168, .62);
  --line: rgba(183, 154, 122, .22);
  --line2: rgba(183, 154, 122, .42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(95, 68, 43, .22), transparent 36%),
    linear-gradient(180deg, #080706, #0d0a08 48%, #070605);
  color: var(--paper);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.55) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(183,154,122,.42) 0 1px, transparent 1px);
  background-size: 3px 3px, 9px 9px;
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(153, 101, 60, .12);
  filter: blur(50px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 28px clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: normal;
}

.mark {
  color: var(--paper);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .28em;
  font-weight: 700;
}

.wave {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 19px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
}

.nav-links a,
footer a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 10px;
  font-weight: 600;
  transition: color .22s ease, transform .22s ease;
}

.nav-links a:hover,
footer a:hover {
  color: var(--paper);
}

.hero {
  min-height: 100vh;
  padding: 120px clamp(22px, 5vw, 82px) 70px;
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(320px, 1.35fr);
  align-items: center;
  gap: clamp(28px, 5vw, 82px);
  position: relative;
  z-index: 1;
}

.hero-copy {
  transform: translateY(18px);
  opacity: 0;
  animation: rise .9s ease forwards .15s;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .36em;
  font-size: 10px;
  color: rgba(183, 154, 122, .68);
  font-weight: 700;
}

h1, h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -.055em;
  margin: 0;
  color: var(--paper);
}

h1 {
  font-size: clamp(88px, 13vw, 190px);
  line-height: .78;
}

.subline {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 42px;
}

.button {
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 13px 20px;
  background: rgba(255,255,255,.02);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: rgba(183,154,122,.09);
  border-color: rgba(183,154,122,.72);
}

.button.primary {
  background: rgba(183,154,122,.12);
}

.hero-art {
  position: relative;
  opacity: 0;
  transform: translateY(28px) scale(.985);
  animation: rise .95s cubic-bezier(.2,.8,.2,1) forwards .35s;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 15% 10% -8%;
  background: rgba(0,0,0,.56);
  filter: blur(34px);
  z-index: -1;
}

.hero-art img {
  width: min(780px, 100%);
  display: block;
  margin-inline: auto;
  border-radius: 3px;
}

.samples {
  min-height: 100vh;
  padding: 110px clamp(22px, 6vw, 110px);
  position: relative;
  z-index: 1;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.section-head h2,
.drop h2 {
  font-size: clamp(56px, 9vw, 132px);
  line-height: .84;
}

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

.track {
  min-height: 104px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.018);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(18px, 2.5vw, 28px);
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.track::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(183,154,122,.14), transparent);
  transition: width .28s ease;
}

.track:hover,
.track.is-playing {
  transform: translateY(-2px);
  border-color: rgba(183,154,122,.62);
  background: rgba(183,154,122,.045);
}

.track:hover::before,
.track.is-playing::before {
  width: 42%;
}

.play {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(183,154,122,.58);
  background: rgba(183,154,122,.06);
  color: var(--paper);
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: transform .2s ease, background .2s ease;
}

.play:hover {
  transform: scale(1.06);
  background: rgba(183,154,122,.14);
}

.track h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 5vw, 62px);
  line-height: .9;
  font-weight: 600;
  letter-spacing: -.035em;
  position: relative;
  z-index: 2;
}

.track p {
  margin: 10px 0 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  position: relative;
  z-index: 2;
}

.number {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 1;
  color: rgba(183,154,122,.16);
  position: relative;
  z-index: 2;
}

.drop {
  min-height: 70vh;
  padding: 110px clamp(22px, 6vw, 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.drop p:not(.eyebrow) {
  max-width: 620px;
  line-height: 1.8;
  color: var(--muted);
  margin: 26px 0 34px;
}

footer {
  position: relative;
  z-index: 1;
  padding: 34px clamp(22px, 6vw, 110px);
  display: flex;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
  color: rgba(183,154,122,.42);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .nav {
    padding: 22px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 9px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 110px;
    text-align: left;
  }

  .hero-art {
    order: -1;
    margin-top: 32px;
  }

  .hero-art img {
    width: min(96vw, 560px);
  }

  .section-head {
    display: block;
  }

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

  .number {
    display: none;
  }

  footer {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .mark span:last-child {
    display: none;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .track {
    gap: 14px;
    padding: 18px;
  }

  .track h3 {
    font-size: 34px;
  }

  .track p {
    font-size: 9px;
    line-height: 1.6;
  }

  .play {
    width: 46px;
    height: 46px;
  }
}



/* COLDWAVS VOL. 1 browser/player section */
.drop {
  min-height: 100vh;
  justify-content: flex-start;
  align-items: stretch;
}

.drop-head {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.drop-head > div {
  max-width: 760px;
}

.drop-head .button {
  flex-shrink: 0;
  margin-bottom: 10px;
}

.preview-browser {
  width: min(1180px, 100%);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018)),
    rgba(8,7,6,.78);
  box-shadow: 0 40px 90px rgba(0,0,0,.28);
  overflow: hidden;
  position: relative;
}

.preview-browser::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(183,154,122,.06), transparent),
    radial-gradient(circle at 50% 0%, rgba(183,154,122,.10), transparent 40%);
}

.browser-top,
.now-playing,
.browser-footer {
  position: relative;
  z-index: 1;
}

.browser-top {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}

.browser-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.browser-title strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: .8;
  letter-spacing: -.04em;
  color: var(--paper);
}

.browser-title span {
  border: 1px solid var(--line2);
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: .22em;
  font-weight: 700;
}

.browser-title small,
.browser-specs {
  color: rgba(214,193,168,.52);
  text-transform: lowercase;
  letter-spacing: .14em;
  font-size: 10px;
}

.browser-specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.browser-specs span:not(:last-child)::after {
  content: "·";
  margin-left: 12px;
  color: rgba(214,193,168,.32);
}

.now-playing {
  min-height: 54px;
  padding: 12px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(183,154,122,.045);
}

.playing-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--paper2);
  box-shadow: 0 0 16px rgba(183,154,122,.6);
}

.now-playing p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: lowercase;
  flex: 1;
}

.stop-button {
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,.02);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 8px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 2px;
}

.stop-button:hover {
  border-color: var(--line2);
  color: var(--paper);
}

.browser-body {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 360px;
  position: relative;
  z-index: 1;
}

.browser-tabs {
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.015);
  padding: 18px 0;
}

.tab {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-bottom: 1px solid rgba(183,154,122,.11);
  background: transparent;
  color: rgba(214,193,168,.52);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .20em;
  font-size: 9px;
  font-weight: 700;
}

.tab.is-active,
.tab:hover {
  background: rgba(183,154,122,.07);
  color: var(--paper);
}

.tab small {
  color: rgba(214,193,168,.48);
}

.browser-tracks {
  display: grid;
}

.browser-track {
  min-height: 86px;
  display: grid;
  grid-template-columns: 56px minmax(170px, .62fr) minmax(220px, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid rgba(183,154,122,.14);
  transition: background .2s ease;
}

.browser-track:hover,
.browser-track.is-playing {
  background: rgba(183,154,122,.055);
}

.browser-play {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: rgba(183,154,122,.06);
  color: var(--paper);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.browser-play:hover {
  transform: scale(1.04);
  background: rgba(183,154,122,.14);
}

.file-info h3 {
  margin: 0;
  color: var(--paper);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: .06em;
  font-weight: 700;
}

.file-info p {
  margin: 8px 0 0;
  color: rgba(214,193,168,.44);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9px;
}

.waveform {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: .55;
}

.waveform i {
  display: block;
  width: 3px;
  min-height: 7px;
  background: rgba(214,193,168,.72);
  border-radius: 999px;
  transform-origin: center;
}

.browser-track.is-playing .waveform {
  opacity: .9;
}

.browser-track.is-playing .waveform i {
  animation: pulseBars .7s ease-in-out infinite alternate;
}

.browser-track.is-playing .waveform i:nth-child(3n) {
  animation-delay: .12s;
}

.browser-track.is-playing .waveform i:nth-child(4n) {
  animation-delay: .2s;
}

.time {
  color: rgba(214,193,168,.44);
  font-size: 10px;
  letter-spacing: .12em;
  white-space: nowrap;
}

.browser-footer {
  min-height: 54px;
  padding: 14px clamp(18px, 3vw, 34px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(214,193,168,.44);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: lowercase;
}

@keyframes pulseBars {
  from {
    transform: scaleY(.72);
    opacity: .55;
  }
  to {
    transform: scaleY(1.15);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .browser-body {
    grid-template-columns: 1fr;
  }

  .browser-tabs {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0;
  }

  .tab {
    min-height: 52px;
    padding: 0 14px;
  }

  .browser-track {
    grid-template-columns: 50px 1fr;
  }

  .waveform,
  .time {
    grid-column: 2 / -1;
  }

  .waveform {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .drop-head {
    display: block;
  }

  .drop-head .button {
    display: inline-block;
    margin-top: 8px;
    margin-bottom: 0;
  }

  .browser-top,
  .browser-footer {
    display: block;
  }

  .browser-specs,
  .browser-footer span:last-child {
    margin-top: 12px;
    justify-content: flex-start;
  }

  .browser-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .browser-title {
    flex-wrap: wrap;
  }

  .browser-track {
    padding: 16px;
    gap: 14px;
  }
}
