/*! 33BIT STUDIOS · generated from src/styles — edit those files, not this one */
/* ── src/styles/00-tokens.css ── */
/* ─────────────────────────────────────────────────────────────
   Design tokens: the orange theme.
   To retheme the site, change the palette below; everything else
   uses the semantic roles further down. The generated pixel art uses
   the same colours (see src/art/palette.mjs).
   ───────────────────────────────────────────────────────────── */
:root {
  /* Palette */
  --orange: #f2701d;        /* primary */
  --burnt: #b9470f;         /* darker accents + hover states */
  --gold: #e5c546;          /* sampled from the YouTube logo artwork (Logos/YT-LOGO.png) */
  --cream: #ffe8c7;
  --orange-muted: #d98a52;
  --charcoal: #141110;      /* page background */
  --charcoal-2: #1c1714;
  --charcoal-3: #241d19;
  --ink: #0b0908;
  --line: #3d3029;
  --warm-white: #fff4e8;
  --warm-grey: #cdbba8;

  /* Semantic roles */
  --bg: var(--charcoal);
  --bg-raised: var(--charcoal-2);
  --surface: var(--charcoal-3);
  --border: var(--line);
  --text: var(--warm-white);
  --text-muted: var(--warm-grey);
  --accent: var(--orange);
  --accent-hover: var(--burnt);
  --on-accent: var(--charcoal);   /* text on orange */
  --on-accent-hover: var(--warm-white);
  --highlight: var(--gold);
  --focus: var(--gold);

  --font-pixel: 'Jersey 15', 'Arial Narrow', 'Courier New', sans-serif; /* single weight: keep it at 400 */
  --font-body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
}


/* ── src/styles/01-base.css ── */
/* ─────────────────────────────────────────────────────────────
   Base, typography, utilities
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--ink);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
main:focus { outline: none; }

img, svg { display: block; max-width: 100%; }
svg { shape-rendering: crispEdges; }
.pixel, img[src$='.png'] { image-rendering: pixelated; image-rendering: crisp-edges; }

h1, h2, h3 { margin: 0; font-family: var(--font-pixel); font-weight: 400; line-height: 1.1; }
p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--highlight); }
button { font: inherit; color: inherit; }
:where(ul[role='list'], ol[role='list']) { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--highlight);
  color: var(--charcoal);
  font-family: var(--font-pixel);
  font-size: 1.25rem;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.glyph { width: 1em; height: auto; flex: none; }

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


/* ── src/styles/02-layout.css ── */
/* ─────────────────────────────────────────────────────────────
   Header, navigation, footer, page header, sections
   ───────────────────────────────────────────────────────────── */

/* A row of warm pixel blocks used as a divider */
.site-header::after, .page-header::after, .site-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 48px, var(--accent-hover) 48px 96px, var(--accent) 96px 144px, var(--highlight) 144px 160px, var(--accent-hover) 160px 208px);
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 17, 16, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header::after { bottom: -4px; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex: none; display: block; width: 112px; }
.brand svg { width: 100%; height: auto; }
.brand:hover svg path { fill: var(--highlight); }
.site-nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; }
.nav-list a {
  display: block;
  padding: 10px 12px;
  font-family: var(--font-pixel);
  font-size: 1.375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 -3px 0 transparent;
  transition: color 0.15s, box-shadow 0.15s;
}
.nav-list a:hover { color: var(--cream); box-shadow: inset 0 -3px 0 var(--accent-hover); }
.nav-list a[aria-current='page'] { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }

.menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 -3px 0 var(--border), 0 3px 0 var(--border), -3px 0 0 var(--border), 3px 0 0 var(--border);
}
.menu-btn:hover { color: var(--accent); }
.menu-btn .glyph { width: 18px; }
.menu-btn .menu-close { display: none; }
.menu-btn[aria-expanded='true'] .menu-open { display: none; }
.menu-btn[aria-expanded='true'] .menu-close { display: block; }

@media (max-width: 860px) {
  .brand { width: 96px; }
  .js .menu-btn { display: grid; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  }
  .js .site-header.is-open .site-nav { display: block; }
  .js .nav-list { flex-direction: column; gap: 0; }
  .js .nav-list a { padding: 14px 4px; font-size: 1.625rem; border-bottom: 2px solid var(--border); box-shadow: none; }
  .js .nav-list a[aria-current='page'] { box-shadow: inset 4px 0 0 var(--accent); padding-left: 16px; }
  /* Without JavaScript the links simply wrap under the logo. */
  .no-js .header-inner { flex-wrap: wrap; padding-block: 10px; gap: 8px; }
  .no-js .site-nav { margin-left: 0; width: 100%; }
  .no-js .nav-list { flex-wrap: wrap; }
}

/* ── Page header ────────────────────────────────────────────── */
.page-header {
  position: relative;
  padding: clamp(56px, 9vw, 96px) 0 clamp(40px, 6vw, 64px);
  background: linear-gradient(180deg, var(--bg) 0%, #2a170d 100%);
}
.page-header::after { bottom: 0; }
.page-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  text-shadow: 3px 3px 0 var(--accent-hover), 6px 6px 0 var(--ink);
}
.page-intro { max-width: 60ch; margin: 20px 0 0; font-size: 1.125rem; color: var(--text-muted); }

.section { padding: clamp(48px, 8vw, 88px) 0 clamp(64px, 9vw, 104px); }
.section-title { margin-bottom: 28px; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--text); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { position: relative; padding: 40px 0 32px; background: var(--ink); color: var(--text-muted); }
.site-footer::before { top: 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-logo { display: block; width: 104px; }
.footer-logo svg { width: 100%; height: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9375rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { display: grid; place-items: center; width: 36px; height: 36px; color: var(--accent); background: var(--surface); }
.footer-socials a:hover { color: var(--on-accent-hover); background: var(--accent-hover); }
.footer-socials .glyph { width: 18px; }
.footer-copy { margin: 0; font-size: 0.875rem; }


/* ── src/styles/03-components.css ── */
/* ─────────────────────────────────────────────────────────────
   Buttons and badges
   Pixel borders throughout use four box-shadows, which leaves the
   corners notched.
   ───────────────────────────────────────────────────────────── */
.btn {
  --bg: var(--accent);
  --fg: var(--on-accent);
  --depth: var(--accent-hover);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 4px 4px 8px;
  padding: 13px 22px;
  border: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-pixel);
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 -4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink),
    0 4px 0 0 var(--depth), -4px 4px 0 0 var(--ink), 4px 4px 0 0 var(--ink), 0 8px 0 0 var(--ink);
  transition: transform 0.12s, background-color 0.12s, color 0.12s;
}
.btn:hover { --bg: var(--accent-hover); --fg: var(--on-accent-hover); --depth: #6e2a08; color: var(--fg); transform: translateY(-2px); }
.btn:active { transform: translateY(2px); }
.btn:focus-visible { outline-offset: 10px; }
.btn--large { padding: 16px 32px; font-size: 1.875rem; }
.btn-icon .glyph { width: 0.7em; }

.badge {
  display: inline-block;
  margin: 3px 3px 18px;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-pixel);
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink);
}


/* ── src/styles/04-pages.css ── */
/* ─────────────────────────────────────────────────────────────
   Pages
   ───────────────────────────────────────────────────────────── */

/* ── Home ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: clamp(520px, calc(100svh - var(--header-h)), 920px);
  padding: 64px 0;
  background: linear-gradient(#0d0907, #5a2812 70%, #d65d1a);
  text-align: center;
}
.hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 58% 48% at 50% 46%, rgba(13, 9, 7, 0.62), rgba(13, 9, 7, 0) 75%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: clamp(32px, 6vh, 56px); }
.hero-title { width: min(720px, 86vw); }
.hero-logo { width: 100%; height: auto; filter: drop-shadow(0 0 24px rgba(242, 112, 29, 0.35)); }

/* ── Projects ───────────────────────────────────────────────── */
.project { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.project-art { margin: 4px; padding: 10px; background: var(--ink); box-shadow: 0 0 0 4px var(--accent), 12px 12px 0 4px var(--accent-hover); }
.project-art img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.project-title { margin-bottom: 18px; font-size: clamp(3.25rem, 7vw, 5rem); color: var(--text); text-shadow: 3px 3px 0 var(--accent-hover); }
.project-text { max-width: 46ch; font-size: 1.125rem; color: var(--text-muted); }
.project-actions { margin-top: 28px; }
@media (max-width: 860px) { .project { grid-template-columns: 1fr; } }

/* ── Get Involved ───────────────────────────────────────────── */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.perk { --bc: var(--border); margin: 3px; padding: 28px 24px; background: var(--surface); box-shadow: 0 -3px 0 0 var(--bc), 0 3px 0 0 var(--bc), -3px 0 0 0 var(--bc), 3px 0 0 0 var(--bc); transition: box-shadow 0.15s, transform 0.15s; }
.perk:hover { --bc: var(--accent); transform: translateY(-3px); }
.perk-icon { display: flex; align-items: flex-end; width: 84px; height: 84px; margin-bottom: 18px; }
.perk-icon svg { width: 100%; height: 100%; }
.perk-title { margin-bottom: 8px; font-size: 2rem; color: var(--accent); }
.perk-text { margin: 0; color: var(--text-muted); }
.perks-note { max-width: 70ch; margin: 24px 0 0; font-size: 0.9375rem; color: var(--text-muted); }
.support-cta { margin-top: 48px; }
.campaign-soon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  margin: 0;
  padding: 20px 24px 4px;
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--border);
  color: var(--text-muted);
}
.campaign-soon .badge { margin-bottom: 16px; }
.campaign-soon > span:last-child { margin-bottom: 16px; }
@media (max-width: 860px) { .perks { grid-template-columns: 1fr; } }

/* ── Meet the Team ──────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.member { text-align: center; }
.member-portrait {
  width: 100%;
  max-width: 288px;
  height: auto;
  aspect-ratio: 1;
  margin: 4px auto 22px;
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 8px var(--border);
  transition: transform 0.15s, box-shadow 0.15s;
}
.member:hover .member-portrait { transform: translateY(-4px); box-shadow: 0 0 0 4px var(--ink), 0 0 0 8px var(--accent); }
.member-name { margin-bottom: 6px; font-size: 2.75rem; color: var(--text); }
.member-role { margin: 0; color: var(--accent); font-weight: 500; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* ── Socials ────────────────────────────────────────────────── */
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.social-grid li { display: flex; }
.social-card {
  --bc: var(--border);
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 16px;
  width: 100%;
  margin: 3px;
  padding: 18px 20px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 -3px 0 0 var(--bc), 0 3px 0 0 var(--bc), -3px 0 0 0 var(--bc), 3px 0 0 0 var(--bc);
  transition: box-shadow 0.15s, transform 0.15s;
}
.social-icon { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; background: var(--accent-hover); color: var(--on-accent-hover); }
.social-icon .glyph { width: 24px; }
.social-name { align-self: end; font-family: var(--font-pixel); font-size: 1.875rem; line-height: 1; }
.social-state { align-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--accent); }
.social-state .glyph { width: 10px; }
a.social-card:hover { --bc: var(--accent); color: var(--text); transform: translateY(-3px); }
.social-card.is-soon { background: transparent; box-shadow: none; outline: 2px dashed var(--border); outline-offset: -2px; }
.social-card.is-soon .social-icon { background: var(--surface); color: var(--text-muted); }
.social-card.is-soon .social-state { color: var(--text-muted); }
