/* GremlinFM - pirate radio, graffiti, neon. Cyan + hot pink on black. */
:root {
  --bg: #07040d;
  --bg2: #110a1d;
  --panel: #150d24;
  --ink: #f6f3fb;
  --muted: #b9b0cf;
  --line: rgba(255, 255, 255, .12);
  --cyan: #19f0f0;
  --pink: #ff1fb5;
  --accent: var(--pink);
  --accent2: var(--cyan);
  --radius: 14px;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--body);
}
/* Fixed arena backdrop, darkened so text stays readable. Set per site/section with "backdrop:". */
/* Three fixed layers: picture (-3), optional looping video (-2), dark tint + glow (-1). */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: var(--backdrop, none) center top / cover no-repeat, var(--bg);
}
.bd-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(900px 500px at -10% 10%, color-mix(in srgb, var(--accent2) 18%, transparent), transparent 70%),
    linear-gradient(rgba(7, 4, 13, .72), rgba(7, 4, 13, .9));
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent2); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent2); color: #000; padding: 8px 14px; z-index: 100; border-radius: 6px; font-weight: 700; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); text-shadow: 3px 3px 0 var(--accent), -2px -2px 0 var(--accent2); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.lead p { margin-bottom: .8em; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--accent2); margin: 0 0 .6rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.tagline { font-size: 1.25rem; color: var(--accent2); font-style: italic; }
.small { font-size: .9rem; color: var(--muted); }
.center { text-align: center; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 32px); }
.band { padding: 56px 0; }
.band-tight { padding: 28px 0; }
.page-head { padding: 44px 0 20px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 700; }
.group-title { border-left: 6px solid var(--accent); padding-left: 12px; }

/* ticker */
.ticker { background: #000; border-bottom: 2px solid var(--accent); overflow: hidden; white-space: nowrap; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--accent2); }
.ticker__track { display: inline-flex; animation: tick 60s linear infinite; }
.ticker__track:hover { animation-play-state: paused; }
.ticker__set { display: inline-flex; flex-shrink: 0; }
.ticker__set span { padding: 7px 28px; }
.ticker__set span::after { content: "\2605"; margin-left: 56px; color: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }

/* header: ticker + logo + menu stay pinned to the top of the screen */
html { scroll-padding-top: 130px; }
.top { position: sticky; top: 0; z-index: 50; background: rgba(7, 4, 13, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; width: min(1180px, 100% - 32px); margin: 0 auto; padding: 8px 0; }
.brand { display: block; width: 130px; flex-shrink: 0; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; flex: 1; }
.site-nav a { color: var(--ink); text-decoration: none; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; padding: 8px 12px; border-radius: 8px; }
.site-nav a:hover { background: rgba(255, 255, 255, .08); }
.site-nav a[aria-current="page"] { color: #000; background: var(--accent2); }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #090410; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--accent); box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 55%, transparent); transition: transform .15s; }
.btn:hover { color: #090410; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--accent2); box-shadow: none; }
.btn--ghost:hover { color: #000; background: var(--accent2); }
.btn--small { font-size: .9rem; padding: 8px 16px; }

/* hero */
.hero { padding: 36px 0 24px; }
.hero__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1fr 1.25fr; } }
.hero__img img { border-radius: var(--radius); border: 2px solid var(--accent2); box-shadow: 0 0 40px color-mix(in srgb, var(--accent2) 45%, transparent), 0 0 90px color-mix(in srgb, var(--accent) 25%, transparent); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* grids + cards */
.grid { display: grid; gap: 20px; }
.grid--songs { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.grid--crew { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
@media (min-width: 700px) { .grid--songs, .grid--crew { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } }
.card { position: relative; }
.card__link { display: block; color: inherit; text-decoration: none; }
.card__title { margin: 10px 0 2px; font-size: 1.05rem; }
.card__meta { margin: 0; color: var(--muted); font-size: .92rem; min-height: 1.4em; }
.card__link:hover .card__title { color: var(--accent2); }
.card__link:hover .cover, .card__link:hover .crew-card__img { transform: translateY(-4px); box-shadow: 0 8px 28px color-mix(in srgb, var(--accent) 45%, transparent); }
.badge { position: absolute; top: 8px; left: 8px; background: var(--accent2); color: #000; font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; padding: 3px 9px; border-radius: 999px; }

/* cover tiles: any artwork shape fits, never cropped */
.cover { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: #000; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.cover::before { content: ""; position: absolute; inset: -20px; background: var(--bg, none) center / cover; filter: blur(18px) brightness(.55) saturate(1.3); }
.cover img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.cover--empty { display: grid; place-items: center; color: var(--muted); }
.crew-card__img { aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--radius); background: #1c1c1c; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.crew-card__img img { width: 100%; height: 100%; object-fit: cover; }
.crew-card__img--contain img, .crew-page__portrait--contain img { object-fit: contain; }

/* video (GremlinTV): posters with a play button, click-to-play on the video page */
.grid--videos { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.band--tv .grid--videos { text-align: left; margin: 20px 0 22px; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb--empty { display: grid; place-items: center; color: var(--muted); }
.video-thumb::after, .play {
  content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  border: 2px solid var(--accent2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%2319f0f0'/%3E%3C/svg%3E") 54% 50% / 26px no-repeat, rgba(7, 4, 13, .72);
  pointer-events: none;
}
.card__link:hover .video-thumb { transform: translateY(-4px); box-shadow: 0 8px 28px color-mix(in srgb, var(--accent) 45%, transparent); }
.video-page { padding: 40px 0 10px; }
.player { max-width: 960px; margin: 0 0 22px; }
.video-facade { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; border: 2px solid var(--accent2); box-shadow: 0 0 40px color-mix(in srgb, var(--accent2) 35%, transparent); }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-facade .play { width: 84px; height: 84px; margin: -42px 0 0 -42px; background-size: 38px, auto; transition: transform .15s; }
.video-facade:hover .play { transform: scale(1.08); }
.video-facade__empty { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 2px solid var(--accent2); border-radius: var(--radius); background: #000; }
.video-page__info { max-width: 760px; }

/* filters */
.filters { margin: 8px 0 22px; display: grid; gap: 12px; }
.filters input { width: 100%; max-width: 420px; background: var(--panel); color: var(--ink); border: 2px solid var(--line); border-radius: 999px; padding: 11px 18px; font: inherit; }
.filters input:focus { border-color: var(--accent2); outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: transparent; color: var(--ink); border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .9rem; cursor: pointer; }
.chip:hover { border-color: var(--accent2); }
.chip.is-on { background: var(--accent2); color: #000; border-color: var(--accent2); font-weight: 700; }
.empty { color: var(--muted); font-size: 1.1rem; }

/* spotlight + promo bands */
.band--spot { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .04), transparent); }
.spot { display: grid; gap: 28px; align-items: center; }
@media (min-width: 800px) { .spot { grid-template-columns: minmax(240px, 380px) 1fr; } }
.band--promo { background: color-mix(in srgb, var(--accent) 12%, var(--bg2)); border-block: 2px solid var(--accent); }
.promo { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .promo { grid-template-columns: 1fr 1fr; } }
.promo__img img { border-radius: var(--radius); box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 50%, transparent); }
.band--tv { text-align: center; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 12px, transparent 12px 24px); }

/* song + crew detail pages */
.song-page, .crew-page { display: grid; gap: 32px; padding: 40px 0 20px; }
@media (min-width: 900px) { .song-page { grid-template-columns: minmax(280px, 460px) 1fr; align-items: start; } .crew-page { grid-template-columns: minmax(260px, 420px) 1fr; align-items: start; } }
.song-page__art img { max-height: 82vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 0 50px color-mix(in srgb, var(--accent) 40%, transparent); }
.crew-page__portrait img { width: 100%; border-radius: var(--radius); border: 2px solid var(--accent2); box-shadow: 0 0 40px color-mix(in srgb, var(--accent2) 35%, transparent); }
.facts { display: grid; gap: 10px; margin: 0 0 22px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.facts dt { color: var(--accent2); font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; padding-top: 3px; }
.facts dd { margin: 0; }
.prose { max-width: 66ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.lyrics { margin-top: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px; }
.lyrics summary { cursor: pointer; font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 1.15rem; padding: 12px 0; }
.lyrics p { color: #ddd5ef; }
.voice { margin-top: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.voice__label { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; color: var(--accent2); }
.voice audio { width: 100%; }
.tv__logo { display: block; width: min(560px, 100%); margin: 4px auto 10px; }
.tv__logo img { width: 100%; height: auto; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--accent) 30%, transparent)); transition: transform .15s; }
.tv__logo:hover img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .tv__logo img { transition: none; } .tv__logo:hover img { transform: none; } }
.page-head:has(.page-logo) { text-align: center; }
.page-head:has(.page-logo) .lead { margin-inline: auto; }
.page-logo { margin: 6px 0 14px; }
.page-logo img { width: min(900px, 100%); height: auto; margin-inline: auto; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--accent) 35%, transparent)); }
.crew-hero img, .page-hero img { border-radius: var(--radius); border: 1px solid var(--line); margin: 14px 0; }
.pager { display: flex; justify-content: space-between; gap: 16px; width: min(1180px, 100% - 32px); margin: 36px auto 10px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; }
.pager a { text-decoration: none; }

/* sections (sub-brands) */
.section-head-hero { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .section-head-hero { grid-template-columns: 1fr 1fr; } }
.section-head-hero__img img { border-radius: var(--radius); border: 2px solid var(--accent); box-shadow: 0 0 50px color-mix(in srgb, var(--accent) 45%, transparent); }
.gallery { display: grid; gap: 20px; }
@media (min-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery__item { margin: 0; }
.gallery__item img { border-radius: var(--radius); border: 1px solid var(--line); }

/* SMG logo: transparent chrome lettering, sits straight on the dark page with a faint cyan glow */
.smg-badge { display: inline-block; margin: 0 0 10px; }
.smg-badge img { width: 150px; height: auto; filter: drop-shadow(0 0 8px rgba(25, 240, 240, .35)); }
.smg-row { margin: 1.4em 0; }
a.smg-badge:hover img { filter: drop-shadow(0 0 12px rgba(25, 240, 240, .7)); }
.note { color: var(--muted); font-size: .95rem; }
.player-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.hero__text .note { margin-top: 14px; }

/* footer */
.site-footer { margin-top: 70px; background: #000; border-top: 3px solid var(--accent); padding: 34px 0; }
.site-footer__inner { width: min(1180px, 100% - 32px); margin-inline: auto; display: grid; gap: 22px; }
@media (min-width: 800px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-brand { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.4rem; margin-bottom: .3em; }
.footer-brand span { color: var(--accent); font-size: 1rem; margin-left: 8px; }
.site-footer p { margin-bottom: .4em; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker { white-space: normal; }
  .btn, .cover, .crew-card__img, .video-thumb, .video-facade .play { transition: none; }
  .btn:hover, .card__link:hover .cover, .card__link:hover .crew-card__img, .card__link:hover .video-thumb, .video-facade:hover .play { transform: none; }
}
@media (max-width: 760px) {
  .site-header { justify-content: space-between; }
  /* phones: keep the pinned header slim - menu becomes one swipeable row */
  html { scroll-padding-top: 118px; }
  .site-nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; gap: 2px; scrollbar-width: none; padding-bottom: 2px; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { font-size: .95rem; padding: 6px 10px; white-space: nowrap; }
}
@media (max-width: 520px) {
  .brand { width: 100px; }
  .facts div { grid-template-columns: 90px 1fr; }
}
