/* =================================================================
   DESIGN TOKENS
   Reference points: Radiohead's cold, technical dread; Unknown
   Mortal Orchestra's grainy, color-shifted analog psych; My Morning
   Jacket's hazy, spacious warmth. Built around the EP's actual front
   cover, a warm photo broken into digital compression artifacts,
   rather than layered on top of it. Restrained palette, hairline
   structure, glitch as a rare technical event, not a decoration.
================================================================= */
:root{
  --ink:      #0c0d0b;
  --ink-2:    #171813;
  --ink-3:    #212219;
  --bone:     #e7e2d3;
  --fog:      #8c8577;
  --hairline: rgba(231,226,211,.14);

  --toxic:    #b9c96a;  /* primary accent: phosphor / CRT green-yellow */
  --rust:     #a1543b;  /* secondary accent: the warmth in the cover art */
  --amber:    #c0913f;  /* tertiary accent: store section */
  --glitch-a: #4fd0c9;  /* cold cyan: glitch moments only */
  --glitch-b: #c94f8f;  /* magenta: glitch moments only, paired with cyan */

  --accent:   var(--toxic); /* overridden per-panel below */

  --font-display: 'Chakra Petch', 'Space Grotesk', sans-serif;
  --font-body:    'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'Space Mono', 'Courier New', monospace;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.16,.84,.24,1);
  --ticker-h: 34px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ color: inherit; }
button{ font-family: inherit; }

::selection{ background: var(--toxic); color: var(--ink); }

:focus-visible{
  outline: 2px solid var(--toxic);
  outline-offset: 3px;
}

/* per-section accent: subtle, not a different color per tab */
.panel[data-panel="music"]{ --accent: var(--toxic); }
.panel[data-panel="photos"]{ --accent: var(--rust); }
.panel[data-panel="store"]{ --accent: var(--amber); }

/* =================================================================
   AMBIENT LAYERS: scanlines + grain, no particles, no confetti
================================================================= */
.scanlines{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .05;
  background-image: repeating-linear-gradient(
    to bottom, var(--bone) 0px, var(--bone) 1px, transparent 1px, transparent 3px
  );
  animation: scan-drift 9s linear infinite;
}
@keyframes scan-drift{ from{ background-position-y: 0; } to{ background-position-y: 120px; } }

.grain{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce){
  .scanlines{ animation: none; }
}

/* =================================================================
   GLITCH: a rare technical event, not a decoration.
   .is-glitching is toggled briefly and randomly by js/main.js on a
   small set of elements (wordmark, hero title, hero art).
================================================================= */
.glitch-target{ position: relative; }
.glitch-target.is-glitching{ animation: glitch-jitter .22s steps(2,end) 1; }
.glitch-target.is-glitching::before,
.glitch-target.is-glitching::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.glitch-target.is-glitching::before{
  background: linear-gradient(90deg, transparent 40%, rgba(79,208,201,.5) 40%, rgba(79,208,201,.5) 42%, transparent 42%);
  transform: translateX(-4px);
}
.glitch-target.is-glitching::after{
  background: linear-gradient(90deg, transparent 58%, rgba(201,79,143,.5) 58%, rgba(201,79,143,.5) 60%, transparent 60%);
  transform: translateX(4px);
}
@keyframes glitch-jitter{
  0%{ transform: translate(0,0); }
  30%{ transform: translate(-2px,1px); }
  60%{ transform: translate(2px,-1px); }
  100%{ transform: translate(0,0); }
}
@media (prefers-reduced-motion: reduce){
  .glitch-target.is-glitching{ animation:none; }
  .glitch-target.is-glitching::before,
  .glitch-target.is-glitching::after{ display:none; }
}

/* =================================================================
   REUSABLE: eyebrow label
================================================================= */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fog);
}
.eyebrow::before{
  content:"";
  width: 6px; height: 6px;
  background: var(--toxic);
  display:inline-block;
}

/* =================================================================
   ANNOUNCEMENT TICKER: terminal readout, not a party banner
================================================================= */
.ticker{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 50;
  height: var(--ticker-h);
  overflow: hidden;
  background: var(--ink-2);
  border-bottom: 1px solid var(--hairline);
}
.ticker::before{
  content: ">";
  position: absolute;
  left: var(--gutter);
  top: 0; bottom: 0;
  display:flex; align-items:center;
  font-family: var(--font-mono);
  color: var(--toxic);
  z-index: 2;
  background: linear-gradient(to right, var(--ink-2) 60%, transparent);
  padding-right: 16px;
}
.ticker__track{
  display:flex;
  align-items:center;
  height: 100%;
  width: max-content;
  padding-left: calc(var(--gutter) + 18px);
  animation: ticker-scroll 26s linear infinite;
}
.ticker__track span{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--fog);
  padding: 0 26px;
  white-space: nowrap;
  border-right: 1px solid var(--hairline);
}
@keyframes ticker-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .ticker__track{ animation: none; }
}

/* =================================================================
   NAV
================================================================= */
.nav{
  position: fixed;
  top: var(--ticker-h); left:0; right:0;
  z-index: 40;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 20px var(--gutter);
  background: rgba(12,13,11,.88);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--hairline);
}

.nav__mark{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .06em;
  text-decoration:none;
  color: var(--bone);
}

.nav__tabs{
  display:flex;
  gap: 8px;
}

.nav__tab{
  background: none;
  border: 1px solid transparent;
  cursor:pointer;
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 14px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav__tab:hover{ color: var(--bone); border-color: var(--hairline); }
.nav__tab.is-active{ color: var(--ink); background: var(--toxic); }
.nav__tab[data-tab="photos"].is-active{ background: var(--rust); color: var(--bone); }
.nav__tab[data-tab="store"].is-active{ background: var(--amber); color: var(--ink); }

.nav__burger{
  display:none;
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--hairline);
  cursor: pointer;
  flex-direction: column;
  justify-content:center;
  align-items:center;
  gap: 5px;
}
.nav__burger span{
  display:block; height:1px; width:18px;
  background: var(--bone);
}

/* =================================================================
   PANELS / TAB SWITCHING
================================================================= */
.panel{
  display:none;
  position: relative;
  z-index: 5;
  min-height: 100vh;
  padding-top: calc(var(--ticker-h) + 90px);
  animation: rise .4s var(--ease);
}
.panel.is-active{ display:block; }

@keyframes rise{
  from{ opacity:0; transform: translateY(10px); }
  to{ opacity:1; transform: translateY(0); }
}

.panel__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 50px var(--gutter) 130px;
}

.section-eyebrow{
  display:flex;
  align-items:center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 34px;
}
.section-eyebrow::after{
  content:"";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.section-eyebrow--muted{ color: var(--fog); margin-bottom: 18px; }
.section-eyebrow--muted::before{ display:none; }

.divider{
  height: 1px;
  background: var(--hairline);
  margin: 70px 0;
}

/* =================================================================
   HOME / HERO
================================================================= */
.panel--home{ padding-top: calc(var(--ticker-h) + 90px); }

/* large, centered, background presence behind the hero and intro:
   no border, no card treatment, low opacity */
.home__watermark{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(260px, 30vw, 440px);
  opacity: .1;
  z-index: 0;
  pointer-events: none;
}
.home__watermark img{ width:100%; height:auto; display:block; }

.hero{
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 50px var(--gutter) 40px;
}

.hero__texture{
  position:absolute;
  inset: -40px;
  z-index:-1;
  background-image: radial-gradient(ellipse at 72% 35%, rgba(185,201,106,.08), transparent 60%);
}

.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 5vw, 60px);
  align-items:center;
  min-height: 58vh;
}

.hero__copy{ position:relative; z-index:3; }

#hero-eyebrow{ margin-bottom: 22px; }

.hero__title{
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(44px, 7vw, 88px);
  line-height: .98;
  margin: 0 0 30px;
  letter-spacing: -.01em;
}

.hero__cta{ display:flex; gap: 16px; flex-wrap: wrap; }

.hero__art{
  position:relative;
  margin:0;
  justify-self:center;
  width: min(100%, 420px);
}
.hero__art-shadow{
  position:absolute;
  inset: 10px -10px -10px 10px;
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  z-index:0;
}
.hero__art img{
  position:relative;
  z-index:1;
  border: 1px solid var(--hairline);
}

/* buttons */
.btn{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing:.08em;
  text-transform: uppercase;
  padding: 14px 24px;
  cursor:pointer;
  border: 1px solid var(--hairline);
  background: transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
  text-decoration:none;
  display:inline-block;
  color: var(--bone);
  position: relative;
}
.btn:hover{ border-color: var(--toxic); color: var(--toxic); }
.btn:hover::after{
  content:"";
  position:absolute; inset:-1px;
  border: 1px solid var(--glitch-a);
  opacity:.5;
  transform: translate(2px,-2px);
  pointer-events:none;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{ background: var(--toxic); color: var(--ink); border-color: var(--toxic); }
.btn--primary:hover{ background: var(--ink); color: var(--toxic); }
.btn--ghost{ background: transparent; }
.btn--small{ padding: 9px 15px; font-size: 10px; }

/* disabled / "coming soon" state: used any time a url is still "#" */
.btn--disabled{
  color: var(--fog);
  cursor: default;
  border-color: var(--hairline);
  opacity: .6;
}
.btn--disabled:hover{ border-color: var(--hairline); color: var(--fog); }
.btn--disabled:hover::after{ display:none; }
.soon-tag{
  font-size: 9px;
  letter-spacing: .1em;
  opacity: .8;
  margin-left: 2px;
}
.catalog-card--soon{ opacity: .5; }
.catalog-card--soon:hover{ transform:none; border-color: var(--hairline); cursor: default; }

/* intro block below hero */
.intro{
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px var(--gutter) 120px;
  position: relative;
  z-index: 1;
}
.intro__text{
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(19px, 2.6vw, 27px);
  line-height: 1.55;
  max-width: 760px;
  color: var(--bone);
  margin: 0;
  opacity: .92;
}
.intro__text strong{ color: var(--toxic); font-weight: 500; }

/* =================================================================
   BIO
================================================================= */
.panel__inner--bio{ max-width: 860px; }

.bio__text{
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.75;
  color: var(--bone);
  opacity: .92;
  max-width: 680px;
  margin: 0 0 26px;
}
.bio__text em{
  font-style: normal;
  color: var(--toxic);
}

.bio__links{
  display:flex;
  align-items:center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 8px 0 34px;
}
.bio__links-label{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fog);
}

/* =================================================================
   MUSIC
================================================================= */
.ep-feature{
  display:grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items:start;
}
.ep-feature__art{
  margin:0;
  aspect-ratio: 1/1;
  overflow:hidden;
  border: 1px solid var(--hairline);
}
.ep-feature__art img{ width:100%; height:100%; object-fit:cover; }

.ep-feature__title{
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(30px, 4.2vw, 46px);
  margin: 0 0 14px;
  line-height: 1.1;
}
.ep-feature__note{
  font-family: var(--font-mono);
  color: var(--fog);
  font-size: 12px;
  margin: 0 0 32px;
  letter-spacing:.04em;
}

.tracklist{
  list-style:none;
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.track{
  display:grid;
  grid-template-columns: 34px 1fr auto auto;
  align-items:center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}
.track__num{
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 13px;
}
.track__title{
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
}
.track__feature{
  display:block;
  font-family: var(--font-mono);
  color: var(--fog);
  font-size: 11px;
  margin-top: 3px;
  font-weight: 400;
}
.track__side{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing:.08em;
  color: var(--fog);
  border: 1px solid var(--hairline);
  padding: 3px 8px;
}
.track__play{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fog);
  text-decoration:none;
}
.track__play:hover{ color: var(--toxic); }
.track__play--soon{ opacity: .4; }

.ep-credits{
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--fog);
  max-width: 480px;
  margin: 0 0 28px;
}

.lyrics-links{ display:flex; flex-wrap:wrap; gap: 12px; }

.catalog-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.catalog-card{
  border: 1px solid var(--hairline);
  padding: 18px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
  text-decoration:none;
  display:block;
  color: inherit;
}
.catalog-card:hover{ border-color: var(--accent); transform: translateY(-3px); }
.catalog-card__art{
  aspect-ratio: 1/1;
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  margin-bottom: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.catalog-card__art img{ width:100%; height:100%; object-fit:cover; }
.catalog-card__art span{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--fog);
  text-align:center;
  padding: 0 12px;
}
.catalog-card__title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 8px;
}
.catalog-card__listen{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color .2s var(--ease);
}
.catalog-card:hover .catalog-card__listen{ color: var(--toxic); }
.catalog-card__listen--soon{ color: var(--fog); }

/* =================================================================
   LYRICS
================================================================= */
.panel__inner--lyrics{ max-width: 760px; }

.lyrics-group-heading{
  margin-top: 44px;
}
.lyrics-group-heading:first-of-type{ margin-top: 0; }

.lyrics-entry{
  border-bottom: 1px solid var(--hairline);
}
.lyrics-entry__summary{
  list-style: none;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 20px 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.lyrics-entry__summary::-webkit-details-marker{ display:none; }
.lyrics-entry__summary:hover{ color: var(--toxic); }

.lyrics-entry__chevron{
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.lyrics-entry[open] .lyrics-entry__chevron{ transform: rotate(-135deg); }

.lyrics-entry__body{
  padding: 0 2px 30px;
}
.lyrics-entry__text{
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--fog);
  white-space: pre-line;
  margin: 0 0 20px;
  max-width: 620px;
}

/* =================================================================
   PHOTOS
================================================================= */
.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 2px;
}
.gallery__item{
  position:relative;
  overflow:hidden;
  cursor: pointer;
  background: var(--ink-2);
  border: none;
  padding:0;
}
.gallery__item img{
  width:100%; height:100%; object-fit:cover;
  filter: saturate(.94) contrast(1.02);
  transition: filter .3s var(--ease), transform .4s var(--ease);
}
.gallery__item:hover img{ filter: saturate(1.05); transform: scale(1.03); }
.gallery__item--tall{ grid-row: span 2; }
.gallery__item--wide{ grid-column: span 2; }

/* lightbox */
.lightbox{
  position:fixed; inset:0;
  z-index: 100;
  display:none;
  align-items:center; justify-content:center;
  background: rgba(12,13,11,.96);
  padding: 40px;
}
.lightbox.is-open{ display:flex; }
.lightbox img{ max-width: min(900px, 90vw); max-height: 84vh; object-fit:contain; border: 1px solid var(--hairline); }
.lightbox__close{
  position:absolute; top: 24px; right: var(--gutter);
  background: none;
  border: 1px solid var(--hairline);
  color: var(--bone);
  width: 40px; height: 40px;
  font-size: 22px;
  line-height:1;
  cursor:pointer;
}
.lightbox__close:hover{ border-color: var(--toxic); color: var(--toxic); }

/* =================================================================
   STORE
================================================================= */
.store__heading{
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 44px;
  line-height: 1.15;
}
.store__heading em{ font-style: normal; color: var(--amber); }

.store-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--hairline);
  margin-bottom: 48px;
}
.product{
  border: none;
  background: var(--ink);
  padding: 28px 24px;
  display:flex;
  flex-direction:column;
  gap: 12px;
  position: relative;
  transition: background .2s var(--ease);
}
.product:hover{ background: var(--ink-2); }
.product--vinyl{ background: var(--ink-2); }
.product--vinyl:hover{ background: var(--ink-3); }

.product__tag{
  align-self:flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing:.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.product__title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  margin: 4px 0 0;
  line-height:1.25;
}
.product__price{
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--bone);
}
.product__price--pending{
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fog);
}
.product__desc{
  font-size: 13.5px;
  color: var(--fog);
  line-height:1.6;
  margin: 0;
  flex-grow:1;
}

.store__note{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog);
  max-width: 560px;
  line-height: 1.8;
}
.store__note a{ color: var(--amber); text-decoration:none; border-bottom: 1px solid currentColor; }

/* =================================================================
   FOOTER
================================================================= */
.site-footer{
  position: relative;
  z-index: 5;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 26px var(--gutter) 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fog);
  border-top: 1px solid var(--hairline);
}
.site-footer__links{ display:flex; flex-wrap:wrap; gap: 20px; }
.footer-link{ text-decoration:none; color: var(--fog); }
.footer-link:hover{ color: var(--toxic); }
.footer-link.btn--disabled{ opacity:.5; }

/* =================================================================
   RESPONSIVE
================================================================= */
@media (max-width: 900px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__art{ order:-1; width: min(100%, 320px); }
  .ep-feature{ grid-template-columns: 1fr; }
  .ep-feature__art{ max-width: 300px; }
  .home__watermark{ width: clamp(180px, 45vw, 320px); opacity: .08; }
  .gallery{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

@media (max-width: 640px){
  .nav__tabs{
    position: fixed;
    top: var(--ticker-h); right: 0;
    height: calc(100vh - var(--ticker-h));
    width: 220px;
    background: var(--ink);
    flex-direction: column;
    justify-content:center;
    align-items:flex-start;
    padding: 0 var(--gutter);
    gap: 18px;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    z-index: 30;
    border-left: 1px solid var(--hairline);
  }
  .nav__tabs.is-open{ transform: translateX(0); }
  .nav__burger{ display:flex; z-index: 41; }
  .gallery{ grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery__item--wide, .gallery__item--tall{ grid-column: span 1; grid-row: span 1; }
  .site-footer{ flex-direction:column; gap: 14px; align-items:flex-start; }
}
