/* ==========================================================================
   The Bitmap Brothers Fan Page — css/style.css
   Brutalist tech magazine identity — WIRED meets industrial design.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;900&family=Barlow:wght@400;500&display=swap');

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg:            #0d0d0d;
  --bg-card:       #161616;
  --bg-alt:        #1f1f1f;
  --text:          #f0f0f0;
  --text-muted:    #888888;
  --accent:        #ffe000;
  --accent-dim:    #c8b000;
  --border:        #2a2a2a;
  --border-accent: #ffe000;
  --font-heading:  'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:     'Barlow', 'Arial', sans-serif;

  --nav-height:    60px;
  --container-max: 1200px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: var(--accent-dim);
  outline: none;
}

ul, ol { list-style: none; }

hr {
  border: none;
  border-top: 2px solid var(--accent);
  opacity: 0.35;
  margin: 3rem 0;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
h4 { font-size: 1.1rem; }

p + p { margin-top: 0.9em; }

strong { color: var(--text); }

/* --------------------------------------------------------------------------
   Skip Link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #000;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  z-index: 9999;
  transition: top 0.2s;
  border-radius: 0;
}

.skip-link:focus {
  top: 1rem;
  color: #000;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #0d0d0d;
  border-bottom: 1px solid #2a2a2a;
  height: var(--nav-height);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.nav-brand {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-brand:hover,
.nav-brand:focus {
  color: var(--accent-dim);
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
  margin-left: auto;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.3rem 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s, border-bottom-color 0.2s;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-link--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  margin-left: auto;
}

.burger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  transition: background 0.2s;
}

.nav-toggle:hover .burger,
.nav-toggle:focus .burger {
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
  border-radius: 0;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border: 2px solid var(--accent);
}

.btn-primary:hover,
.btn-primary:focus {
  background: transparent;
  color: var(--accent);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
#hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg);
  padding: 4rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3.5rem, 10vw, 9rem);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  line-height: 1;
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero-stat .num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.hero-stat .label {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.site-section {
  padding: 8rem 0;
  background: var(--bg);
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  margin-bottom: -5rem;
  position: relative;
  z-index: 1;
}

.site-section:nth-child(even) {
  background: var(--bg-alt);
}

.site-section:last-child {
  margin-bottom: 0;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Page Hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 4rem 0 3rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero__eyebrow {
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-hero__title {
  margin-bottom: 0.75rem;
}

.page-hero__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Game Cards (catalogue, index)
   -------------------------------------------------------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.2s;
}

.game-card:hover {
  transform: translateY(-2px);
}

.game-card__body {
  padding: 1.25rem;
}

.game-card__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.game-card__year {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.game-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.game-card__meta-row {
  display: flex;
  gap: 0.5rem;
}

.meta-label {
  color: var(--text-muted);
  min-width: 5rem;
  flex-shrink: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
}

.tag--platform {
  border-color: var(--accent);
  color: var(--accent);
}

.tag--genre {
  border-color: var(--border);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Platform Filter
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
}

.filter-bar label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.filter-bar select {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 0.4rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23ffe000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
}

.filter-bar select:focus {
  outline: none;
  border-color: var(--accent);
}

.filter-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
}

.filter-count span {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   History Timeline
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0.35;
}

.timeline-entry {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 0;
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.timeline-event {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   History chapters
   -------------------------------------------------------------------------- */
.history-body {
  max-width: 760px;
  margin: 0 auto;
}

.history-chapter {
  margin-bottom: 3rem;
}

.history-chapter h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.history-chapter p {
  color: var(--text-muted);
  font-size: 1rem;
}

.cite a {
  font-size: 0.7em;
  color: var(--text-muted);
  vertical-align: super;
}

.cite a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   People Cards
   -------------------------------------------------------------------------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.person-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.5rem;
}

.person-card__name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.person-card__role {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.person-card__bio {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Music entries
   -------------------------------------------------------------------------- */
.music-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.music-entry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.25rem 1.5rem;
}

.music-entry__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.music-entry__composer {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.music-entry__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Flagship articles
   -------------------------------------------------------------------------- */
.flagship-article {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.flagship-article:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.flagship-article__header {
  margin-bottom: 1.5rem;
}

.flagship-article__number {
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.flagship-article__title {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.flagship-article__meta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.flagship-article__body p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1em;
}

.flagship-article__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.flagship-article__links a {
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.5rem;
}

.review-card__game {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.review-card__pub {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.review-card__score {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.review-card__quote {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
}

/* --------------------------------------------------------------------------
   Resources & Community
   -------------------------------------------------------------------------- */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resource-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.resource-item__label {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.resource-item__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.resource-item__link {
  margin-top: 0.35rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Gallery / Lightbox
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}

.gallery-item:hover {
  border-color: var(--accent);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13,13,13,0.9));
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 1.5rem 0.75rem 0.5rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
}

.gallery-notice {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* Lightbox overlay */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lb-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lb-inner img {
  max-width: 100%;
  max-height: 80vh;
  border: 1px solid var(--border);
}

.lb-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lb-close:hover {
  color: var(--accent);
}

.lb-caption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Play / Modern page
   -------------------------------------------------------------------------- */
.method-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.method-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.5rem;
}

.method-card__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.method-card__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.method-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.method-card__link {
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   MEGABLAST Easter Egg Overlay
   -------------------------------------------------------------------------- */
.megablast-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: megablast-fade-in 0.4s ease;
}

@keyframes megablast-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.megablast-inner {
  text-align: center;
  max-width: 540px;
  padding: 3rem 2rem;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--bg-card);
  animation: megablast-slide-in 0.4s ease;
}

@keyframes megablast-slide-in {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.megablast-eyebrow {
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.megablast-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.megablast-credit {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.megablast-quote {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.megablast-attr {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Footnotes / Citation list
   -------------------------------------------------------------------------- */
.footnotes {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--accent);
}

.footnotes h2 {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footnotes ol {
  list-style: decimal;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footnotes li {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footnotes li a {
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.site-footer__brand {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.site-footer__text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer__text a {
  color: var(--text-muted);
}

.site-footer__text a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Utility classes
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-center  { text-align: center; }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.mt-sm        { margin-top: 1rem; }
.mt-md        { margin-top: 2rem; }
.mt-lg        { margin-top: 3rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  #site-nav {
    height: auto;
    min-height: var(--nav-height);
  }

  .nav-inner {
    flex-wrap: wrap;
    padding: 0.75rem 1.25rem;
    height: auto;
    align-items: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
    padding-bottom: 0.75rem;
    border-top: 1px solid var(--border);
    margin-left: 0;
  }

  .nav-menu--open {
    display: flex;
  }

  .nav-link {
    padding: 0.6rem 0.25rem;
    font-size: 0.7rem;
  }

  .site-section {
    clip-path: none;
    margin-bottom: 0;
    padding: 4rem 0;
  }

  .hero-stats {
    gap: 1.25rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .people-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.5rem, 12vw, 5rem); }
  .hero-cta   { flex-direction: column; align-items: center; }

  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-count { margin-left: 0; }
}
