/* ─────────────────────────────────────────────────────
   401 Band — Shared Stylesheet
   Loaded by index.html, about.html, privacy.html, contact.html
   ───────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Permanent+Marker&display=swap');

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

:root {
  --ink: #111;
  --paper: #faf7f0;
  --paper2: #f0ebe0;
  --accent: #e63222;
  --yellow: #f5c400;
  --blue: #2255cc;
  --muted: #6b6357;
  --border: rgba(17,17,17,0.1);
  --card-bg: #fff;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
}

/* ── Nav ─────────────────────────────────────────── */
nav {
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 54px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--accent);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: .08em;
  color: #fff;
  text-decoration: none;
}
.nav-logo .ri { color: var(--yellow); }

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  letter-spacing: .06em;
  transition: color .15s;
}
.nav-links a:hover { color: #fff; }

/* ── Footer ──────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.45);
  padding: 2.5rem 2rem;
  margin-top: 3rem;
  border-top: 4px solid var(--accent);
}
.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: .1em;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.footer-logo .ri { color: var(--yellow); }
.footer-tagline { font-size: 13px; font-style: italic; }

.footer-sources { text-align: right; }
.footer-sources h4 {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 8px;
}
.footer-sources a {
  display: block;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: 12px;
  margin-bottom: 4px;
  transition: color .15s;
}
.footer-sources a:hover { color: var(--yellow); }

.footer-bottom {
  max-width: 860px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1.8;
}
.footer-bottom .footer-copy { color: rgba(255,255,255,.3); }
.footer-bottom a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .15s;
}
.footer-bottom a:hover { color: var(--yellow); }

/* ── Tape strip ──────────────────────────────────── */
.tape-strip {
  background: var(--accent);
  overflow: hidden;
  white-space: nowrap;
  padding: 7px 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: .9rem;
  letter-spacing: .18em;
  color: #fff;
  user-select: none;
}
.tape-inner {
  display: inline-block;
  animation: scroll-tape 300s linear infinite;
}
@keyframes scroll-tape {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tape-inner span { margin: 0 1.5rem; }
.tape-inner .star { color: var(--yellow); margin: 0 .5rem; }

/* ── Sub-page hero ───────────────────────────────── */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 3rem 2rem 2.75rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,transparent,transparent 30px,rgba(255,255,255,.022) 30px,rgba(255,255,255,.022) 31px),
    repeating-linear-gradient(-45deg,transparent,transparent 30px,rgba(255,255,255,.012) 30px,rgba(255,255,255,.012) 31px);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.page-hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-family: 'Permanent Marker', cursive;
  font-size: .85rem;
  padding: 2px 10px;
  border-radius: 2px;
  transform: rotate(-1deg);
  margin-bottom: .9rem;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: .9;
  letter-spacing: .04em;
  margin-bottom: .9rem;
}
.page-hero h1 .accent { color: var(--accent); }
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  max-width: 520px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
}

/* ── Sub-page content ────────────────────────────── */
.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
}

.prose { max-width: 680px; }

.prose h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: .06em;
  color: var(--ink);
  margin: 2.5rem 0 .65rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--ink);
}
.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink);
  margin: 1.5rem 0 .4rem;
}

.prose p {
  font-size: 15px;
  color: #3d3a35;
  margin-bottom: 1rem;
  line-height: 1.8;
  font-weight: 300;
}

.prose ul, .prose ol {
  margin: .5rem 0 1rem 1.4rem;
  color: #3d3a35;
  font-weight: 300;
}
.prose li {
  margin-bottom: .4rem;
  font-size: 15px;
  line-height: 1.75;
}

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover { color: var(--accent); }

.prose strong { font-weight: 500; color: var(--ink); }

.prose .callout {
  background: #fff;
  border: 2px solid var(--ink);
  border-left: 6px solid var(--accent);
  border-radius: 5px;
  padding: .9rem 1.2rem;
  margin: 1.5rem 0;
  font-size: 14px;
  box-shadow: 3px 3px 0 var(--ink);
}
.prose .callout p { margin: 0; color: var(--ink); font-weight: 400; }

.last-updated {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
  margin-bottom: 2.25rem;
}

/* ── Contact page ────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}
.contact-card {
  background: var(--card-bg);
  border: 2px solid var(--ink);
  border-radius: 5px;
  padding: 1.1rem 1.25rem;
  box-shadow: 3px 3px 0 var(--ink);
}
.contact-card-icon { font-size: 1.5rem; margin-bottom: .5rem; display: block; }
.contact-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: .06em;
  margin-bottom: .3rem;
}
.contact-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.contact-form {
  background: var(--card-bg);
  border: 2px solid var(--ink);
  border-radius: 5px;
  padding: 1.75rem;
  box-shadow: 4px 4px 0 var(--ink);
  max-width: 560px;
}
.contact-form h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  letter-spacing: .06em;
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--ink);
}
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 9px 13px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 3px 3px 0 var(--accent);
}
.form-row textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.btn-submit {
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  padding: 10px 28px;
  border-radius: 3px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: .14em;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-submit:hover { background: var(--accent); border-color: var(--accent); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-sources { text-align: left; }
  .page-hero { padding: 2rem 1rem 1.75rem; }
  .page-content { padding: 1.5rem 1rem 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 1.25rem; }
}
