:root {
  --gold: #826e28;
  --panel: rgba(0, 0, 0, 0.86);
  --panel-border: rgba(130, 110, 40, 0.22);
  --text: rgba(213, 201, 160, 1);
  --text-soft: rgba(213, 201, 160, 0.78);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Corbel, "Trebuchet MS", Arial, sans-serif;
  background:
    linear-gradient(rgba(4, 5, 8, 0.28), rgba(4, 5, 8, 0.38)),
    url("assets/background.jpg") center center / cover no-repeat fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 40px 20px;
}

.epk-panel {
  width: min(100%, 1200px);
  margin: 0 auto;
  background: rgba(14, 28, 36, 0.7);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  padding: 72px 72px 88px;
  text-align: center;
}

.hero,
.section {
  display: grid;
  gap: 22px;
}

.hero {
  gap: 28px;
}

.eyebrow,
h1,
h2,
.cta,
.social-card span:last-child {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 300;
}

.eyebrow {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.85rem;
}

h1 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.12;
}

.intro,
p,
.note,
a {
  font-weight: 300;
}

.intro,
p,
.note {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.9;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 52px 0 8px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(130, 110, 40, 0.55);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.84rem;
  transition: all 0.4s ease;
}

.cta:hover,
.cta:focus-visible,
.social-card:hover,
.social-card:focus-visible {
  background: rgba(130, 110, 40, 0.12);
  border-color: rgba(130, 110, 40, 0.9);
  outline: none;
}

.social-icon {
  width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 24px;
}


.cta-primary {
  background: rgba(130, 110, 40, 0.1);
}

.section {
  padding-top: 58px;
  margin-top: 58px;
  border-top: 1px solid rgba(130, 110, 40, 0.16);
}

h2 {
  margin: 0;
  color: var(--gold);
  font-size: 1.1rem;
}

.embed-frame {
  width: 100%;
  border: 1px solid rgba(130, 110, 40, 0.18);
  background: rgba(255, 255, 255, 0.02);
  max-width:700px;
  margin:0 auto;
}

.ratio-video iframe,
.ratio-bandcamp iframe {
  width: 100%;
  display: block;
  border: 0;
}

.ratio-bandcamp iframe #player{
  max-width: 100% !important;
}

.ratio-video iframe {
  aspect-ratio: 16 / 9;
}

.ratio-bandcamp iframe {
  height: 470px;
}

.note a,
.social-card,
.cta {
  color: var(--gold);
}

.note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(130, 110, 40, 0.24);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.01);
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  flex: 0 0 20px;
}

.icon svg {
  width: 100%;
  height: 100%;
}

/* DOWNLOADS */

.downloads-grid {
  column-count: 2;
  column-gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.download-card {
  display: block;
  margin-bottom: 22px;
  border: 1px solid rgba(130, 110, 40, 0.25);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: all 0.4s ease;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.download-card img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0.9) contrast(1.05);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.download-card:hover,
.download-card:focus-visible {
  border-color: rgba(130, 110, 40, 0.8);
  background: rgba(130, 110, 40, 0.08);
  outline: none;
}

.download-card:hover img,
.download-card:focus-visible img {
  transform: scale(1.04);
  filter: brightness(1) contrast(1.1);
}

@media (max-width: 640px) {
  .downloads-grid {
    column-count: 1;
    column-gap: 0;
  }

  .download-card {
    margin-bottom: 16px;
  }
}
.fireflies {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.firefly {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(213, 201, 160, 0.95) 0%,
    rgba(130, 110, 40, 0.85) 40%,
    rgba(130, 110, 40, 0.2) 70%,
    rgba(130, 110, 40, 0) 100%
  );

  box-shadow:
    0 0 8px rgba(213, 201, 160, 0.8),
    0 0 18px rgba(130, 110, 40, 0.6),
    0 0 36px rgba(130, 110, 40, 0.3);

  will-change: transform, opacity;
}

.page-shell {
  position: relative;
  z-index: 1;
}

.epk-panel {
  position: relative;
  z-index: 2;
}

/* CUSTOM ALBUM PLAYER */

.album-player {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(130, 110, 40, 0.2);
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
}

.album-player__media {
  border: 1px solid rgba(130, 110, 40, 0.18);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  align-self: start;
}

.album-player__cover {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0.92) contrast(1.05);
}

.album-player__content {
  display: grid;
  gap: 22px;
  align-content: start;
}

.album-player__header {
  display: grid;
  gap: 8px;
}

.album-player__eyebrow,
.album-player__title,
.album-player__track {
  margin: 0;
}

.album-player__eyebrow {
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.album-player__title {
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.album-player__track {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.album-player__controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.player-btn {
  min-width: 52px;
  height: 52px;
  border: 1px solid rgba(130, 110, 40, 0.35);
  background: rgba(255, 255, 255, 0.02);
  color: var(--gold);
  cursor: pointer;
  transition: all 0.35s ease;
  font-size: 1rem;
}

.player-btn--play {
  min-width: 66px;
  font-size: 1.15rem;
}

.player-btn:hover,
.player-btn:focus-visible {
  background: rgba(130, 110, 40, 0.12);
  border-color: rgba(130, 110, 40, 0.85);
  outline: none;
}

.album-player__progress-wrap {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 14px;
}

.album-player__time {
  color: var(--text-soft);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.album-player__progress {
  position: relative;
  height: 8px;
  border: 1px solid rgba(130, 110, 40, 0.25);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.album-player__progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(130, 110, 40, 0.75), rgba(213, 201, 160, 0.9));
}

.album-player__playlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.track-item {
  width: 100%;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(130, 110, 40, 0.2);
  background: rgba(255, 255, 255, 0.01);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: all 0.35s ease;
}

.track-item:hover,
.track-item:focus-visible,
.track-item.is-active {
  background: rgba(130, 110, 40, 0.1);
  border-color: rgba(130, 110, 40, 0.75);
  outline: none;
}

.track-item__index {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.track-item__title {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
}

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

  .album-player__media {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .album-player {
    padding: 18px;
    gap: 20px;
  }

  .album-player__progress-wrap {
    grid-template-columns: 44px 1fr 44px;
    gap: 10px;
  }

  .player-btn {
    min-width: 48px;
    height: 48px;
  }

  .player-btn--play {
    min-width: 58px;
  }

  .track-item {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 12px 14px;
  }
}

@media (max-width: 980px) {
  .epk-panel {
    padding: 56px 32px 72px;
  }

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

@media (max-width: 640px) {
  body {
    /* background-attachment: scroll; */
  }

  .page-shell {
    padding: 16px;
  }

  .epk-panel {
    padding: 36px 20px 52px;
  }

  .quick-links,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .quick-links {
    display: grid;
  }

  .social-grid {
    display: grid;
  }

  .ratio-bandcamp iframe {
    height: 420px;
  }

  .intro,
  p,
  .note {
    font-size: 1rem;
    line-height: 1.75;
  }
}
