/* ============================================================
   JASON MIDRO — design tokens
   Void #0A0A0D / Deep Violet #17101F / Magenta #FF2FA6
   Amber #FF8A3D / Bone #F3EFE6 / Rave Yellow #E8FF3C
   Display: Anton · Body: Work Sans · Utility: Space Mono
   ============================================================ */

:root {
  --void: #0a0a0d;
  --void-2: #150e1c;
  --void-3: #1e1526;
  --magenta: #ff2fa6;
  --amber: #ff8a3d;
  --bone: #f3efe6;
  --bone-dim: #b9b3a8;
  --yellow: #e8ff3c;
  --line: rgba(243, 239, 230, 0.14);

  --font-display: 'Anton', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --max: 1240px;
  --edge: clamp(1.25rem, 4vw, 4rem);
}

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

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }

.eyebrow {
  font-size: 0.72rem;
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* film-grain overlay for texture, cheap & subtle */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.05;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================== HEADER ============================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(10,10,13,0.9), transparent);
  transition: background 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10,10,13,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}
.wordmark-sub {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--magenta);
  letter-spacing: 0.14em;
  margin-top: 0.3rem;
}
.main-nav { display: flex; gap: 2rem; align-items: center; }
.main-nav a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--bone); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--magenta);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--magenta);
  color: var(--bone) !important;
  padding: 0.5rem 1rem;
  border-radius: 2px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--magenta); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--bone); display: block; }

/* ============================== HERO ============================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.05) contrast(1.05);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,13,0.98) 0%, rgba(10,10,13,0.55) 38%, rgba(10,10,13,0.15) 65%, rgba(10,10,13,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--edge) 6.5rem;
  width: 100%;
}
.eyebrow.mono { color: var(--amber); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.86;
  margin: 0 0 1.1rem;
  font-size: clamp(3.6rem, 13vw, 9.5rem);
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--magenta); }
.hero-tag {
  max-width: 34ch;
  color: var(--bone-dim);
  font-size: 1.02rem;
  margin: 0 0 2.2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--magenta); color: var(--void); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); }

.scroll-cue {
  position: absolute;
  right: var(--edge);
  bottom: 1.8rem;
  z-index: 2;
  font-size: 0.65rem;
  color: var(--bone-dim);
  writing-mode: vertical-rl;
  animation: pulseCue 2.4s ease-in-out infinite;
}
@keyframes pulseCue { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ============================== STAT STRIP ============================== */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--void-2);
}
.stat {
  padding: 2.2rem 1rem;
  text-align: center;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: var(--amber);
  font-weight: 700;
}
.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
}

/* ============================== SECTION HEAD ============================== */

.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem var(--edge) 2.8rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.05;
  margin: 0;
  max-width: 20ch;
}

/* ============================== HISTORY / CHAPTERS ============================== */

.history { background: var(--void); padding-bottom: 3rem; }

.chapters {
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--edge) 2rem;
  max-width: var(--max);
  display: flex;
  flex-direction: column;
}
.chapter {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2.5rem;
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.chapter.is-visible { opacity: 1; transform: translateY(0); }
.chapter:last-child { border-bottom: 1px solid var(--line); }
.chapter-num {
  font-size: 2.6rem;
  color: var(--magenta);
  opacity: 0.55;
  font-weight: 700;
  line-height: 1;
}
.chapter-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin: 0 0 0.8rem;
}
.chapter-body p {
  color: var(--bone-dim);
  max-width: 68ch;
  margin: 0;
}
.chapter-body strong { color: var(--bone); font-weight: 600; }
.chapter-body em { color: var(--amber); font-style: normal; }

/* ============================== LIVE GALLERY ============================== */

.live { background: var(--void-2); }
.live-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--edge) 6rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.1rem;
}
.live-item { margin: 0; overflow: hidden; border-radius: 3px; background: var(--void); }
.live-item--tall { grid-row: 1 / 3; }
.live-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: grayscale(0.15);
}
.live-item:hover img { transform: scale(1.04); filter: grayscale(0); }

/* ============================== ARCHIVE / SCRAPBOOK — signature element ============================== */

.archive {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,47,166,0.08), transparent 45%),
    var(--void-3);
  padding-bottom: 6rem;
  overflow: hidden;
}
.section-head--light h2 { color: var(--bone); }
.archive-copy { max-width: 52ch; color: var(--bone-dim); margin-top: 1rem; }

.scrapbook {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--edge) 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2.6rem 1.4rem;
}
.polaroid {
  position: relative;
  background: #efece4;
  padding: 12px 12px 34px;
  width: 200px;
  margin: 0;
  box-shadow: 0 14px 30px rgba(0,0,0,0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s;
}
.polaroid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  filter: sepia(0.12) contrast(1.02);
}
.polaroid img.pos-top { object-position: top; }
.polaroid:hover {
  transform: rotate(0deg) scale(1.06) !important;
  box-shadow: 0 22px 46px rgba(0,0,0,0.65);
  z-index: 20;
}

/* scattered rotation + stagger, cycling through the set */
.polaroid:nth-child(6n+1) { transform: rotate(-5deg); margin-top: 0.6rem; }
.polaroid:nth-child(6n+2) { transform: rotate(4deg); margin-top: 1.6rem; }
.polaroid:nth-child(6n+3) { transform: rotate(-2deg); margin-top: 0; }
.polaroid:nth-child(6n+4) { transform: rotate(6deg); margin-top: 2rem; }
.polaroid:nth-child(6n+5) { transform: rotate(-7deg); margin-top: 0.4rem; }
.polaroid:nth-child(6n+6) { transform: rotate(3deg); margin-top: 1.1rem; }

.polaroid::before {
  content: "";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 56px; height: 20px;
  background: rgba(232, 255, 60, 0.55);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.tape-label {
  display: block;
  width: fit-content;
  margin: 0 auto 2.6rem;
  color: var(--yellow);
  font-size: 0.78rem;
  border: 1px dashed rgba(232,255,60,0.5);
  padding: 0.6rem 1.1rem;
  transform: rotate(-1deg);
}

.main-nav a.is-active { color: var(--magenta); }
.main-nav a.is-active::after { width: 100%; }

/* ============================== HARD NRG PAGE ============================== */

.hnrg-hero {
  padding: 9.5rem var(--edge) 3.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,138,61,0.16), transparent 55%),
    var(--void);
  border-bottom: 1px solid var(--line);
}
.hnrg-hero-inner { max-width: 620px; margin: 0 auto; }
.hnrg-hero-cover {
  width: min(360px, 70vw);
  margin: 1.6rem auto 2rem;
  box-shadow: 0 26px 60px rgba(0,0,0,0.55);
  border-radius: 3px;
  overflow: hidden;
}
.hnrg-hero-cover img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }

.hnrg-grid-section {
  background: var(--void-2);
  padding: 3rem var(--edge) 4rem;
  border-bottom: 1px solid var(--line);
}
.hnrg-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.4rem;
}
.hnrg-cover {
  margin: 0;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hnrg-cover img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.hnrg-cover:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(0,0,0,0.6); }

@media (max-width: 860px) {
  .hnrg-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .hnrg-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ============================== WATCH PAGE ============================== */

.watch-hero { padding-top: 9.5rem; padding-bottom: 3rem; }

.watch-grid-section {
  background: var(--void-2);
  padding: 3rem var(--edge) 4.5rem;
  border-bottom: 1px solid var(--line);
}
.watch-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
}
.watch-card {
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.watch-card:hover { border-color: var(--magenta); }
.watch-card .video-embed { margin: 0; border: 0; border-radius: 0; }
.watch-title {
  padding: 1rem 1.2rem 1.2rem;
  font-size: 0.92rem;
  color: var(--bone);
  line-height: 1.4;
  margin: 0;
}
.watch-card--wide { grid-column: 1 / -1; max-width: 640px; margin: 0 auto; width: 100%; }

@media (max-width: 780px) {
  .watch-grid { grid-template-columns: 1fr; }
  .watch-card--wide { max-width: none; }
}

/* ============================== KISS FM PAGE ============================== */

.kiss-hero { padding-top: 9.5rem; }
.kiss-logo-plate {
  width: min(380px, 75vw);
  margin: 0.5rem auto 2rem;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}
.kiss-logo-plate img { width: 100%; display: block; border-radius: 50%; }

.listen-back { background: var(--void-2); padding-bottom: 4.5rem; border-bottom: 1px solid var(--line); }
.mixcloud-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--edge);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.mixcloud-item {
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1rem 1.2rem 0.4rem;
}
.mixcloud-title {
  font-size: 0.7rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin: 0 0 0.6rem;
}
.mixcloud-item iframe { display: block; border-radius: 2px; }

/* ============================== BASS STATION PAGE ============================== */

.bs-hero {
  padding: 9.5rem var(--edge) 4rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,47,166,0.14), transparent 55%),
    var(--void);
  border-bottom: 1px solid var(--line);
}
.bs-hero-inner { max-width: 620px; margin: 0 auto; }
.bs-logo-plate {
  width: min(440px, 85vw);
  display: block;
  margin: 0.5rem auto 2rem;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}
.bs-logo-plate img { width: 100%; display: block; border-radius: 6px; }
.bs-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 5rem);
  margin: 0 0 0.8rem;
  line-height: 0.95;
}
.bs-subtitle { color: var(--bone-dim); font-size: 1.05rem; margin: 0; }

.bs-copy { background: var(--void); padding: 4.5rem var(--edge); }
.bs-copy--alt { background: var(--void-2); }
.bs-copy-inner { max-width: 720px; margin: 0 auto; }
.bs-copy-inner .eyebrow { text-align: left; }
.bs-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.1;
  margin: 0 0 1.4rem;
  max-width: 18ch;
}
.bs-copy p { color: var(--bone-dim); margin: 0 0 1.2rem; }
.bs-copy p:last-child { margin-bottom: 0; }
.bs-copy p.lede {
  color: var(--bone);
  font-size: 1.25rem;
  line-height: 1.5;
}
.bs-copy strong { color: var(--bone); font-weight: 600; }
.inline-link { border-bottom: 1px solid var(--magenta); }
.inline-link:hover { color: var(--magenta); }

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  margin: 2rem 0 0.8rem;
  background: var(--void-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  font-size: 0.68rem;
  color: var(--bone-dim);
  text-align: center;
  letter-spacing: 0.08em;
}

.img-break {
  width: 100%;
  overflow: hidden;
  background: var(--void);
}
.img-break-row {
  display: grid;
  gap: 3px;
}
.img-break-row.row-4 { grid-template-columns: repeat(4, 1fr); }
.img-break-row.row-3 { grid-template-columns: repeat(3, 1fr); }
.img-break-row.row-1 { grid-template-columns: 1fr; }
.img-break-row.row-1 img { height: clamp(340px, 60vw, 640px); object-position: center 20%; }
.img-break-row img {
  width: 100%;
  height: clamp(280px, 42vw, 560px);
  object-fit: cover;
  object-position: center 25%;
  display: block;
  filter: grayscale(0.2) contrast(1.02);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.img-break-row img.pos-top { object-position: top; }
.img-break-row img:hover {
  filter: grayscale(0);
  transform: scale(1.015);
}

@media (max-width: 860px) {
  .img-break-row.row-4 { grid-template-columns: repeat(2, 1fr); }
  .img-break-row.row-3 { grid-template-columns: repeat(1, 1fr); }
  .img-break-row img { height: clamp(240px, 60vw, 420px); }
}

.dma {
  background: linear-gradient(135deg, var(--magenta), #7a1153 70%);
  color: var(--void);
}
.dma-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem var(--edge);
  max-width: 640px;
}
.dma .eyebrow { color: rgba(10,10,13,0.65); }
.dma h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 1rem;
}
.dma p { margin: 0 0 2rem; font-size: 1.05rem; }
.dma .btn-primary { background: var(--void); color: var(--bone); }

.connect {
  background: var(--void);
  border-top: 1px solid var(--line);
  padding: 5rem var(--edge) 4rem;
  text-align: center;
}
.connect .eyebrow { text-align: center; }
.connect .bs-h2 { max-width: none; margin: 0 0 2rem; }
.connect-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================== CONTACT / FOOTER ============================== */

.contact { background: var(--void); border-top: 1px solid var(--line); }
.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem var(--edge) 3rem;
  text-align: center;
}
.contact h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 1.6rem;
}
.contact-email {
  display: inline-block;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--amber);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  margin-bottom: 2.4rem;
}
.social-row { display: flex; gap: 1.8rem; justify-content: center; margin-bottom: 3.5rem; flex-wrap: wrap; }
.social-row a { color: var(--bone-dim); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.social-row a:hover { color: var(--bone); }
.fine-print { color: var(--bone-dim); font-size: 0.65rem; opacity: 0.6; }

/* ============================== RESPONSIVE ============================== */

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }

  .chapter { grid-template-columns: 60px 1fr; gap: 1.2rem; }
  .chapter-num { font-size: 1.8rem; }

  .live-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .live-item--tall { grid-row: auto; aspect-ratio: 4/3; }
  .live-item { aspect-ratio: 4/3; }

  .polaroid { width: min(160px, 42vw); }
  .polaroid:nth-child(n) { margin-top: 0.6rem; }
  .scrapbook { gap: 1.8rem 1rem; }
}

@media (max-width: 480px) {
  .hero-content { padding-bottom: 4rem; }
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}
