/* SNDSF mini-site — shared styles for /sndsf/* */
@font-face {
  font-family: 'Silkscreen';
  src: url('assets/fonts/Silkscreen-Regular.ttf') format('truetype');
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:    #070707;
  --ink2:   #0e0d0b;
  --ink3:   #161410;
  --line:   #2a2214;
  --grey:   #8a857c;
  --cream:  #ece4d2;
  --gold:   #f2c014;
  --gold2:  #ffe27a;
  --fire:   #ff4a1c;
  --blood:  #c0392b;
  --neon:   #33e0c8;
  --fire-grad: linear-gradient(180deg, #ffe45c 0%, #ffb21a 45%, #ff4a1c 100%);
  --pixel:  'Silkscreen', 'Courier New', monospace;
  --head:   'Bebas Neue', 'Oswald', Impact, sans-serif;
  --body:   'Courier Prime', 'Courier New', monospace;
  --max:    1180px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
/* CRT scanlines over everything, very faint */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.pixelated { image-rendering: pixelated; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ── Top bar ── */
.sn-top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,7,7,.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.sn-top .wrap { display: flex; align-items: center; gap: 18px; height: 56px; }
.sn-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sn-brand img { height: 40px; width: auto; }
.sn-brand span { font-family: var(--head); font-size: 1.5rem; letter-spacing: .08em; color: var(--gold); }
.sn-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.sn-nav::-webkit-scrollbar { display: none; }
.sn-nav a {
  font-family: var(--pixel); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--grey); padding: 6px 10px; border-radius: 2px; white-space: nowrap;
}
.sn-nav a:hover { color: var(--cream); background: var(--ink3); }
.sn-nav a[aria-current="page"] { color: var(--ink); background: var(--gold); }
.sn-gmb { font-family: var(--pixel); font-size: .7rem; color: var(--grey); white-space: nowrap; }
@media (max-width: 720px) {
  .sn-brand span, .sn-gmb { display: none; }
  .sn-top .wrap { gap: 8px; }
}

/* ── Type ── */
.eyebrow {
  font-family: var(--pixel); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fire);
}
.h-fire {
  font-family: var(--head); line-height: .95; letter-spacing: .03em;
  background: var(--fire-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(3px 3px 0 #000);
}
h1.h-fire { font-size: clamp(3rem, 9vw, 6.5rem); }
h2.h-fire { font-size: clamp(2.2rem, 6vw, 3.8rem); margin: .2rem 0 1rem; }
h3 { font-family: var(--head); font-size: 1.7rem; letter-spacing: .05em; color: var(--gold2); line-height: 1.1; }
p.lede { font-size: 1.05rem; max-width: 62ch; color: #cfc7b6; }
.muted { color: var(--grey); }
.tag {
  display: inline-block; font-family: var(--pixel); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 8px; border: 1px solid var(--line); color: var(--grey); border-radius: 2px;
}
.tag.gold { border-color: var(--gold); color: var(--gold); }
.tag.fire { border-color: var(--fire); color: var(--fire); }
.tag.neon { border-color: var(--neon); color: var(--neon); }

section.block { padding: 72px 0; border-bottom: 1px solid #141210; }
section.block.alt { background: var(--ink2); }

/* ── Page header (inner pages) ── */
.page-head {
  position: relative; padding: 80px 0 56px; overflow: hidden; border-bottom: 1px solid var(--line);
  background: var(--ink2);
}
.page-head .bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .35; image-rendering: pixelated;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.page-head .wrap { position: relative; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--pixel); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em;
  padding: 12px 18px; border: 2px solid var(--gold); color: var(--ink); background: var(--gold);
  box-shadow: 4px 4px 0 #000; cursor: pointer; transition: transform .08s, box-shadow .08s;
}
.btn:hover { color: var(--ink); background: var(--gold2); }
.btn:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 #000; }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: rgba(242,192,20,.1); color: var(--gold2); }

/* ── Grid helpers ── */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.panel {
  background: var(--ink3); border: 1px solid var(--line); border-radius: 3px; padding: 22px;
}
.panel h3 { margin-bottom: .4rem; }
.panel p { color: #c9c1b0; font-size: .92rem; }

/* ── Footer ── */
.sn-foot { padding: 48px 0 120px; color: var(--grey); font-size: .8rem; }
.sn-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.sn-foot nav { display: flex; flex-wrap: wrap; gap: 14px; font-family: var(--pixel); font-size: .7rem; }
.sn-foot nav a { color: var(--grey); }
.sn-foot nav a:hover { color: var(--gold); }

/* ── Now playing bar ── */
.np {
  position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%); z-index: 60;
  width: min(560px, calc(100% - 32px));
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  background: #0b0a08; border: 2px solid var(--gold); box-shadow: 6px 6px 0 #000;
  transition: transform .25s ease, visibility .25s;
  visibility: hidden;
}
.np.on { transform: translate(-50%, 0); visibility: visible; }
.np img { width: 44px; height: 44px; }
.np .np-meta { flex: 1; min-width: 0; }
.np .np-title { font-family: var(--head); font-size: 1.25rem; letter-spacing: .05em; color: var(--gold2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np .np-sub { font-family: var(--pixel); font-size: .6rem; color: var(--grey); text-transform: uppercase; }
.np .np-bar { height: 4px; background: #222; margin-top: 4px; cursor: pointer; }
.np .np-bar i { display: block; height: 100%; width: 0; background: var(--fire-grad); }
.np button {
  background: none; border: 1px solid var(--line); color: var(--cream); width: 36px; height: 36px;
  font-size: 1rem; cursor: pointer; flex-shrink: 0;
}
.np button:hover { border-color: var(--gold); color: var(--gold); }

.play-btn {
  font-family: var(--pixel); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.6); color: var(--gold); border: 1px solid var(--gold);
  padding: 6px 10px; cursor: pointer;
}
.play-btn:hover { background: var(--gold); color: var(--ink); }
.play-btn[aria-pressed="true"] { background: var(--fire); border-color: var(--fire); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
