/* ============================================================
   Paper Brigade — indie-zine meets minimal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap');

:root {
  --paper:      #f4f1ea;
  --paper-2:    #ece7db;
  --ink:        #1b1a17;
  --ink-soft:   #5a564d;
  --ink-faint:  #908a7c;
  --rule:       #d6d0c2;
  --accent:     #d8412f;   /* riso red */
  --accent-2:   #2e4bd8;   /* riso blue, used sparingly */
  --max:        1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  /* subtle paper grain */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(27,26,23,0.035) 1px, transparent 0);
  background-size: 4px 4px;
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--ink); text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- type ---------- */
h1, h2, h3, .grotesk, nav, .mono, .eyebrow {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}
.mono, .cat, time, .eyebrow {
  font-family: 'Space Mono', ui-monospace, monospace;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- top nav ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,241,234,0.86);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--rule);
}
.topbar .wrap {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px; gap: 18px; flex-wrap: wrap;
}
.brand {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500; font-size: 22px; letter-spacing: -0.01em;
  font-style: italic;
  display: flex; align-items: baseline; gap: 10px;
}
.brand .dot { color: var(--accent); font-style: normal; font-size: 14px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.nav-links a { color: var(--ink-soft); padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-color: var(--accent); }

/* ---------- hero ---------- */
.hero { padding: 88px 0 56px; border-bottom: 1px solid var(--rule); }
/* hand-drawn logo mark; white paper drops out via multiply blend */
.logo-mark { display: block; max-width: 440px; margin: 16px 0 4px; }
.logo-mark img { width: 100%; height: auto; mix-blend-mode: multiply; }
/* when the logo image is present, keep the wordmark for SEO but hide it visually.
   if the image 404s its onerror removes .logo-mark, so this rule stops matching and the wordmark shows. */
.logo-mark + .wordmark {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero h1 {
  font-size: clamp(48px, 9vw, 104px);
  line-height: 0.92; margin: 14px 0 0; letter-spacing: -0.03em; font-weight: 700;
}
.hero h1 .amp { color: var(--accent); font-style: italic; font-family: 'Newsreader', serif; }
.tagline {
  font-size: clamp(20px, 2.4vw, 27px);
  font-style: italic; color: var(--ink-soft); max-width: 30ch; margin: 26px 0 0;
}
.hero .meta {
  margin-top: 30px; font-size: 13px; color: var(--ink-faint);
  display: flex; gap: 20px; flex-wrap: wrap; letter-spacing: 0.04em;
}

/* ---------- section frame ---------- */
section { padding: 64px 0; border-bottom: 1px solid var(--rule); }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin: 0; letter-spacing: -0.02em; }
.section-head .count { font-family: 'Space Mono', monospace; font-size: 13px; color: var(--ink-faint); }

/* ---------- prose ---------- */
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1.1em; }
.prose a { border-bottom: 1px solid var(--accent); }
.prose a:hover { background: var(--accent); color: var(--paper); }
.lead { font-size: 22px; }

/* ---------- releases grid ---------- */
.releases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 32px; }
@media (max-width: 820px) { .releases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .releases { grid-template-columns: 1fr; } }

.release { display: flex; flex-direction: column; }

/* CSS-generated record sleeve + label disc (stand-in for lost cover art) */
.sleeve {
  position: relative; aspect-ratio: 1 / 1; width: 100%;
  background: var(--sleeve, #20201d);
  border: 1px solid rgba(0,0,0,0.25);
  box-shadow: 3px 3px 0 rgba(27,26,23,0.16);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.sleeve::before { /* faint vinyl peeking out */
  content: ""; position: absolute; right: -14%; top: 8%; width: 84%; height: 84%;
  border-radius: 50%; background:
    repeating-radial-gradient(circle at center, #111 0 2px, #1c1c1c 2px 3px);
  opacity: 0.5;
}
.disc {
  position: relative; z-index: 2;
  width: 58%; aspect-ratio: 1/1; border-radius: 50%;
  background: var(--label, var(--accent));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 6px;
  box-shadow: 0 0 0 6px rgba(0,0,0,0.18), inset 0 0 0 1px rgba(255,255,255,0.25);
}
.disc::after { /* spindle hole */
  content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3);
}
.disc .cat { font-family: 'Space Mono', monospace; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.disc .fmt { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 38px; opacity: 0.85; }

/* real cover art (sits on top of the disc fallback when the file exists) */
.sleeve .cover {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.release h3 { margin: 16px 0 2px; font-size: 19px; letter-spacing: -0.01em; }
.release .artist { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.05em; color: var(--accent); text-transform: uppercase; }
.release .line { font-size: 14px; color: var(--ink-soft); margin-top: 6px; font-family: 'Space Grotesk', sans-serif; }
.release .desc { font-size: 16px; color: var(--ink-soft); margin-top: 10px; }
.release .tracks {
  margin-top: 12px; font-size: 12.5px; color: var(--ink-faint);
  font-family: 'Space Mono', monospace; line-height: 1.7; list-style: none; padding: 0;
}
.release .tracks li::before { content: "›  "; color: var(--accent); }
.release .credits { font-size: 12px; color: var(--ink-faint); margin-top: 10px; font-style: italic; font-family: 'Newsreader', serif; }
.tag {
  display: inline-block; margin-top: 12px; font-family: 'Space Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--ink); padding: 3px 8px; color: var(--ink);
}
.tag.oop  { border-color: var(--rule); color: var(--ink-faint); }
.tag.live { background: var(--accent); border-color: var(--accent); color: var(--paper); }

/* ---------- photographers ---------- */
.roster { columns: 2; column-gap: 48px; }
@media (max-width: 640px){ .roster { columns: 1; } }
.shot {
  break-inside: avoid; padding: 16px 0; border-bottom: 1px solid var(--rule);
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
}
.shot .name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 19px; }
.shot .note { display: block; font-family: 'Newsreader', serif; font-style: italic; font-size: 14px; color: var(--ink-faint); margin-top: 2px; font-weight: 400; }
.shot .links { display: flex; gap: 12px; flex-shrink: 0; white-space: nowrap; }
.shot .links a {
  font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--rule);
}
.shot .links a:hover { color: var(--accent); border-color: var(--accent); }
.shot .links .muted { color: var(--ink-faint); border: none; cursor: default; font-style: italic; text-transform: none; letter-spacing: 0; }

/* ---------- callout / marquee ---------- */
.marquee {
  background: var(--ink); color: var(--paper); padding: 10px 0; overflow: hidden;
  font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  white-space: nowrap;
}
.marquee span { padding: 0 1.2em; opacity: 0.9; }
.marquee .hot { color: var(--accent); }

/* ---------- footer ---------- */
footer { padding: 56px 0 72px; }
footer .wrap { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
footer .col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 12px; }
footer a.contact { font-family: 'Space Grotesk', sans-serif; font-size: 22px; border-bottom: 1px solid var(--accent); }
footer a.contact:hover { background: var(--accent); color: var(--paper); }
footer .fine { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--ink-faint); letter-spacing: 0.04em; line-height: 1.9; }

/* ---------- intra-page anchors offset for sticky bar ---------- */
[id] { scroll-margin-top: 84px; }
