/* ==========================================================================
   Magnetic Scrolls Fan Page — css/style.css
   Visual identity: illustrated literary novel / coffee-table book
   Libre Baskerville + Source Serif 4 — aged-vellum warmth, manuscript green
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg:            #1c1a14;
  --bg-card:       #24211a;
  --bg-alt:        #211f18;
  --bg-light:      #f5f0e8;
  --text:          #e8e2d4;
  --text-muted:    #9a9080;
  --text-on-light: #1c1a14;
  --accent:        #4a7c59;
  --accent-light:  #6aa07a;
  --accent-dark:   #2e5238;
  --cream:         #d4c9a8;
  --gold:          #b8962e;
  --border:        #3a3428;
  --border-light:  rgba(212,201,168,0.25);
  --font-display:  'Libre Baskerville', Georgia, serif;
  --font-body:     'Source Serif 4', 'Lora', Georgia, serif;

  --nav-height:    64px;
  --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.85;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.9rem); }
h4 { font-size: clamp(1rem, 2vw, 1.35rem); }
h5 { font-size: 1rem; }

p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

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

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  z-index: 999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
#site-nav {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  background: rgba(28,26,20,0.97);
  backdrop-filter: blur(8px);
}

#site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0.6rem;
  right: 0.6rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  color: var(--cream);
}

.nav-links a:hover::after,
.nav-links a:focus::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

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

  .nav-links a {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a::after {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

/* Subtle vellum texture overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 30% 60%, rgba(74,124,89,0.08) 0%, transparent 60%),
                    radial-gradient(ellipse at 70% 30%, rgba(184,150,46,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.25;
  filter: sepia(0.4) brightness(0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 880px;
}

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

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 7rem);
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.85;
  min-height: 3em;
}

.hero-tagline .cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

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

.hero-stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--cream);
  letter-spacing: -0.02em;
}

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

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  padding: 0.8rem 2rem;
  border: 1px solid;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-primary {
  border-color: var(--accent);
  color: var(--accent-light);
  background: transparent;
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

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

.btn-secondary:hover {
  border-color: var(--cream);
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   Main content offset
   -------------------------------------------------------------------------- */
#main-content {
  padding-top: var(--nav-height);
}

#hero + #main-content,
#hero ~ #main-content {
  padding-top: 0;
}

/* --------------------------------------------------------------------------
   Site sections
   -------------------------------------------------------------------------- */
.site-section {
  padding: 5rem 0;
}

.site-section-light {
  background: var(--bg-light);
  color: var(--text-on-light);
}

.site-section-light p,
.site-section-light li {
  color: var(--text-on-light);
}

.site-section-light h1,
.site-section-light h2,
.site-section-light h3,
.site-section-light h4,
.site-section-light h5 {
  color: var(--text-on-light);
}

.site-section-light a {
  color: var(--accent-dark);
}

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

.site-section-light .section-label {
  color: var(--accent);
}

.site-section-light .text-muted {
  color: rgba(28,26,20,0.6);
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.3em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Portrait illustration frames — cream bordered
   -------------------------------------------------------------------------- */
.illustration-frame {
  border: 3px solid var(--cream);
  padding: 6px;
  background: var(--bg-card);
  display: inline-block;
  position: relative;
}

.illustration-frame img {
  display: block;
  width: 100%;
}

.illustration-frame::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid var(--border-light);
  pointer-events: none;
}

.placeholder {
  background: var(--bg-card);
  border: 3px solid var(--cream);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   History / chapters
   -------------------------------------------------------------------------- */
.history-chapter {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.history-chapter:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

.history-year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Pull quotes
   -------------------------------------------------------------------------- */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--accent-light);
  text-align: center;
  padding: 2rem 3rem;
  line-height: 1.4;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2.5rem 0;
}

@media (max-width: 640px) {
  .pull-quote {
    padding: 1.5rem 1rem;
  }
}

/* --------------------------------------------------------------------------
   Game entries (catalogue)
   -------------------------------------------------------------------------- */
.game-entry {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: start;
}

.game-entry:last-child {
  border-bottom: none;
}

.game-cover {
  flex-shrink: 0;
}

.game-body {}

.game-header {
  margin-bottom: 0.75rem;
}

.game-title {
  margin-bottom: 0.5rem;
  color: var(--cream);
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  padding: 0.2rem 0.6rem;
  border: 1px solid;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-year {
  border-color: var(--gold);
  color: var(--gold);
}

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

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

.tag-writer {
  border-color: var(--cream);
  color: var(--cream);
  opacity: 0.75;
}

.tag-illustrator {
  border-color: var(--accent);
  color: var(--accent-light);
  opacity: 0.8;
}

@media (max-width: 640px) {
  .game-entry {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Person grid
   -------------------------------------------------------------------------- */
.person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.person-card {
  background: var(--bg-card);
  border-top: 2px solid var(--accent);
  padding: 2rem;
}

.person-card h4 {
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.person-card .role {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Gallery grid — portrait format
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,26,20,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cream);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18,16,10,0.95);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none !important;
}

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

.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 3px solid var(--cream);
}

.lightbox-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--cream);
  text-align: center;
  margin-top: 0.75rem;
}

.lightbox-close {
  position: absolute;
  top: -2rem;
  right: 0;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  font-family: var(--font-display);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Video embed
   -------------------------------------------------------------------------- */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card {
  margin-bottom: 2.5rem;
}

.video-card h4 {
  margin: 0.75rem 0 0.25rem;
  color: var(--cream);
}

.video-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* --------------------------------------------------------------------------
   Review cards
   -------------------------------------------------------------------------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

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

.review-card .score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent-light);
  display: block;
  margin-bottom: 0.25rem;
}

.review-card .publication {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.review-card .game-name {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cream);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Resource links
   -------------------------------------------------------------------------- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: block;
  transition: border-color 0.2s;
  color: var(--text);
  text-decoration: none;
}

.resource-card:hover {
  border-color: var(--accent);
  color: var(--text);
}

.resource-card h4 {
  color: var(--cream);
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.resource-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.resource-card .resource-type {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
}

/* --------------------------------------------------------------------------
   Nav link grid (index page quick links)
   -------------------------------------------------------------------------- */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.link-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s;
}

.link-card:hover {
  border-color: var(--accent);
  color: var(--text);
}

.link-icon {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.link-card-content h3 {
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.link-card-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Flagship / editorial deep-dives
   -------------------------------------------------------------------------- */
.flagship-entry {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.flagship-entry:last-child {
  border-bottom: none;
}

.flagship-entry h3 {
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.flagship-entry .flagship-meta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
}

footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--accent-light);
}

/* --------------------------------------------------------------------------
   Easter egg modal (XYZZY)
   -------------------------------------------------------------------------- */
#xyzzy-modal {
  position: fixed;
  inset: 0;
  background: rgba(18,16,10,0.92);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#xyzzy-modal[hidden] {
  display: none !important;
}

.xyzzy-box {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  padding: 2.5rem 3rem;
  max-width: 520px;
  width: 100%;
  font-family: var(--font-body);
}

.xyzzy-box h3 {
  color: var(--cream);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.xyzzy-prompt {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.xyzzy-response {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.xyzzy-close {
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent-light);
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s;
}

.xyzzy-close:hover {
  background: var(--accent);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Miscellaneous utilities
   -------------------------------------------------------------------------- */
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-light); }
.text-cream  { color: var(--cream); }
.italic { font-style: italic; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* --------------------------------------------------------------------------
   Timeline (history page)
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: var(--accent);
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.3rem;
}

.timeline-item h4 {
  color: var(--cream);
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Interviews / memoir quotes
   -------------------------------------------------------------------------- */
.memoir-block {
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-card);
}

.memoir-block blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--cream);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.memoir-attribution {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   How-to-play steps
   -------------------------------------------------------------------------- */
.steps-list {
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.steps-list li {
  counter-increment: steps;
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  margin-bottom: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 1.25rem;
  top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
}

.steps-list li h4 {
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.steps-list li p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .hero-stats {
    gap: 1.5rem;
  }

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

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