/* ============================================================
   Altered Visions — Public Site Stylesheet
   Dark Cinematic + Comic Book Pop Art Hybrid
   ============================================================ */

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

:root {
  /* Core palette */
  --bg-deep:       #0a0a0f;
  --bg-card:       #13131a;
  --bg-elevated:   #1c1c28;
  --bg-glass:      rgba(19, 19, 26, 0.9);
  /* Accents */
  --red:           #e31c25;
  --red-dark:      #b01018;
  --red-glow:      rgba(227, 28, 37, 0.3);
  --gold:          #f5a623;
  --gold-dim:      #c47f10;
  --gold-glow:     rgba(245, 166, 35, 0.25);
  /* Text */
  --text:          #f0f0f0;
  --text-muted:    #a0a0b0;
  --text-dim:      #606070;
  /* Borders */
  --border:        #2a2a3a;
  --border-gold:   rgba(245, 166, 35, 0.4);
  /* Fonts */
  --font-display:  'Bebas Neue', 'Impact', cursive;
  --font-heading:  'Oswald', 'Arial Narrow', sans-serif;
  --font-body:     'Open Sans', Arial, sans-serif;
  /* Sizes */
  --max-w:         1200px;
  --radius:        6px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── Halftone texture ─────────────────────────────────────── */
.halftone::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(245,166,35,0.07) 1px, transparent 1px);
  background-size: 8px 8px;
  pointer-events: none;
  z-index: 0;
}
.halftone-heavy::before {
  background-image: radial-gradient(circle, rgba(245,166,35,0.13) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
}

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--red);
  padding: 0;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-badge {
  background: var(--red); color: #fff;
  font-family: var(--font-display); font-size: 1.4rem;
  width: 44px; height: 44px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 1px; flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text); text-transform: uppercase; letter-spacing: 2px;
  line-height: 1.1;
}
.nav-logo-sub {
  font-size: .6rem; color: var(--text-dim); letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: .9rem; font-weight: 500;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;
  padding: 8px 14px; border-radius: 4px;
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold); background: rgba(245,166,35,.08);
}

.nav-search-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 1.1rem; padding: 8px;
  transition: color .2s;
}
.nav-search-btn:hover { color: var(--gold); }

.nav-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 1.3rem; padding: 8px;
}

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 120px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-overlay form {
  width: 100%; max-width: 640px; position: relative;
}
.search-overlay input {
  width: 100%; padding: 18px 60px 18px 24px;
  background: var(--bg-elevated); border: 2px solid var(--gold);
  border-radius: 8px; color: var(--text);
  font-family: var(--font-heading); font-size: 1.2rem;
  outline: none;
}
.search-overlay button[type="submit"] {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: var(--red); border: none; color: #fff; border-radius: 4px;
  padding: 10px 16px; cursor: pointer; font-size: 1rem;
}
.search-overlay .close-search {
  position: absolute; top: -50px; right: 0;
  background: none; border: none; color: var(--text-muted);
  font-size: 1.5rem; cursor: pointer;
}

/* ── Hero Banner ──────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 75vh;
  display: flex; align-items: flex-end;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: var(--bg-elevated);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,15,0.2) 0%,
    rgba(10,10,15,0.4) 30%,
    rgba(10,10,15,0.85) 70%,
    rgba(10,10,15,1) 100%
  );
}
/* Diagonal red slash accent */
.hero-slash {
  position: absolute; top: 0; right: 0;
  width: 200px; height: 100%;
  background: var(--red);
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: .12; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 60px 24px;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: .8rem; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: .95; color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,0.8);
  margin-bottom: 20px;
}
.hero-title span { color: var(--red); }
.hero-desc {
  max-width: 540px; font-size: 1.1rem;
  color: var(--text-muted); margin-bottom: 28px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-family: var(--font-heading); font-size: .9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  cursor: pointer; border: none; transition: all .2s;
  text-decoration: none;
}
.btn-red     { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; box-shadow: 0 0 20px var(--red-glow); }
.btn-gold    { background: var(--gold); color: #111; }
.btn-gold:hover { background: var(--gold-dim); color: #111; }
.btn-outline { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: #111; }
.btn-ghost   { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }
.btn-sm { padding: 8px 16px; font-size: .8rem; }

/* ── Section headings ─────────────────────────────────────── */
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text); line-height: 1;
}
.section-title span { color: var(--red); }
.section-rule {
  flex: 1; height: 2px; margin: 0 16px 6px;
  background: linear-gradient(to right, var(--border), transparent);
}

/* Section spacing */
.section { padding: 64px 0; }
.section-dark { background: var(--bg-card); }
.section-deep { background: var(--bg-deep); }
.section + .section-dark,
.section-dark + .section { /* subtle edge shadow */ }

/* ── Title/Series Cards ───────────────────────────────────── */
.titles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.title-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  text-decoration: none;
  display: block;
}
.title-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 20px var(--gold-glow);
}
.title-card-img {
  aspect-ratio: 2/3; overflow: hidden;
  position: relative;
}
.title-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.title-card:hover .title-card-img img { transform: scale(1.06); }
.title-card-img .no-cover {
  width: 100%; height: 100%;
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 3rem;
}
.title-card-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--red); color: #fff;
  font-family: var(--font-heading); font-size: .7rem; font-weight: 700;
  padding: 2px 8px; border-radius: 3px; letter-spacing: 1px;
  text-transform: uppercase;
}
.title-card-body {
  padding: 12px 14px;
  border-top: 2px solid transparent;
  transition: border-color .3s;
}
.title-card:hover .title-card-body { border-top-color: var(--gold); }
.title-card-name {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
  color: var(--text); line-height: 1.2; margin-bottom: 4px;
}
.title-card-count {
  font-size: .75rem; color: var(--text-dim);
}

/* ── Issue Cards ──────────────────────────────────────────── */
.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.issue-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; display: block;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.issue-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 15px var(--red-glow);
}
.issue-card-img {
  aspect-ratio: 4/3; overflow: hidden; background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.issue-card-img img { width: 100%; height: 100%; object-fit: cover; }
.issue-card-img .no-img { color: var(--text-dim); font-size: 2.5rem; }
.issue-number-badge {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(10,10,15,0.9); border: 1px solid var(--gold);
  color: var(--gold); font-family: var(--font-display);
  font-size: 1rem; padding: 2px 10px; border-radius: 3px;
}
.issue-card-body { padding: 12px 14px; }
.issue-card-series { font-size: .72rem; color: var(--red); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; font-weight: 600; }
.issue-card-title { font-family: var(--font-heading); font-size: .95rem; font-weight: 600; color: var(--text); line-height: 1.2; margin-bottom: 6px; }
.issue-card-blurb { font-size: .8rem; color: var(--text-muted); line-height: 1.5; }
.issue-card-date { font-size: .72rem; color: var(--text-dim); margin-top: 8px; }

/* ── Character Cards ──────────────────────────────────────── */
.chars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.char-card {
  text-align: center; text-decoration: none;
  transition: transform .3s;
}
.char-card:hover { transform: translateY(-4px); }
.char-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 12px;
  border: 3px solid var(--gold);
  transition: border-color .3s, box-shadow .3s;
}
.char-card:hover .char-avatar {
  border-color: var(--red);
  box-shadow: 0 0 20px var(--red-glow);
}
.char-avatar-placeholder {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--bg-elevated); border: 3px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 2.5rem; color: var(--text-dim);
  transition: border-color .3s;
}
.char-card:hover .char-avatar-placeholder { border-color: var(--red); }
.char-name {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
  color: var(--text); margin-bottom: 4px; line-height: 1.2;
}
.char-alt { font-size: .75rem; color: var(--text-dim); }
.char-role-badge {
  display: inline-block; margin-top: 6px;
  padding: 2px 10px; border-radius: 20px;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.role-lead       { background: rgba(227,28,37,.15); color: var(--red); border: 1px solid rgba(227,28,37,.3); }
.role-supporting { background: rgba(52,152,219,.15); color: #6ab0e0; border: 1px solid rgba(52,152,219,.3); }
.role-antagonist { background: rgba(245,166,35,.15); color: var(--gold); border: 1px solid rgba(245,166,35,.3); }
.role-cameo      { background: rgba(255,255,255,.05); color: var(--text-dim); border: 1px solid var(--border); }

/* ── Issue Reader ─────────────────────────────────────────── */
.issue-reader-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: var(--max-w); margin: 0 auto;
  padding: 48px 24px;
}
.issue-header-banner {
  position: relative; overflow: hidden;
  height: 380px;
  background: var(--bg-card);
}
.issue-header-banner img {
  width: 100%; height: 100%; object-fit: cover;
}
.issue-header-banner .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,10,15,0.95) 40%, rgba(10,10,15,0.5) 100%);
}
.issue-header-info {
  position: absolute; bottom: 0; left: 0;
  padding: 32px 40px;
}
.issue-series-link {
  font-family: var(--font-heading); font-size: .8rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--red); font-weight: 600;
}
.issue-number-large {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--gold); line-height: 1;
}
.issue-title-large {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700; color: var(--text);
}
.issue-meta-row {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: .85rem; color: var(--text-muted);
  margin-top: 10px;
}
.issue-meta-row span { display: flex; align-items: center; gap: 5px; }
.issue-meta-row i { color: var(--gold); }

/* Reader prose */
.prose-content {
  font-family: var(--font-body);
  font-size: 1.05rem; line-height: 1.85;
  color: #d8d8e8;
}
.prose-content h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem; font-weight: 700;
  color: var(--gold); margin: 36px 0 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.prose-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 600;
  color: var(--text); margin: 28px 0 10px;
}
.prose-content h4 {
  font-family: var(--font-heading); font-size: 1.1rem;
  color: var(--text-muted); margin: 20px 0 8px;
}
.prose-content p { margin-bottom: 1.4em; }
.prose-content strong { color: var(--text); font-weight: 700; }
.prose-content em { color: var(--text-muted); font-style: italic; }
.prose-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 8px 0 8px 20px;
  margin: 24px 0; color: var(--text-muted);
  font-style: italic; font-size: 1.1rem;
}
.prose-content ul, .prose-content ol { margin: 0 0 1.4em 28px; }
.prose-content li { margin-bottom: .5em; }

/* PDF viewer */
.pdf-viewer-section {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 32px;
}
.pdf-viewer-section h3 {
  font-family: var(--font-heading); font-size: 1.1rem;
  color: var(--gold); margin-bottom: 16px;
}
.pdf-embed {
  width: 100%; min-height: 700px; border: none; border-radius: 4px;
  display: block;
}
.pdf-fallback { margin-top: 12px; font-size: .875rem; color: var(--text-muted); }

/* Prev/Next navigation */
.issue-nav {
  display: flex; gap: 12px; justify-content: space-between;
  margin: 32px 0; flex-wrap: wrap;
}
.issue-nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-muted);
  font-family: var(--font-heading); font-size: .9rem;
  text-transform: uppercase; letter-spacing: 1px;
  transition: all .2s; flex: 1; max-width: 280px;
}
.issue-nav a:hover { border-color: var(--gold); color: var(--gold); }
.issue-nav a.next { justify-content: flex-end; margin-left: auto; }
.issue-nav a.prev i, .issue-nav a.next i { color: var(--red); }

/* Issue sidebar */
.issue-sidebar {}
.sidebar-widget {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 20px; overflow: hidden;
}
.sidebar-widget-header {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-family: var(--font-heading); font-size: .85rem;
  font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 2px;
}
.sidebar-widget-body { padding: 16px; }
.sidebar-char-item {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px; text-decoration: none;
  transition: opacity .2s;
}
.sidebar-char-item:hover { opacity: .8; }
.sidebar-char-item:last-child { margin-bottom: 0; }
.sidebar-char-img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border); flex-shrink: 0;
}
.sidebar-char-name { font-size: .9rem; color: var(--text); font-weight: 600; }
.sidebar-char-role { font-size: .72rem; color: var(--text-dim); }

/* ── Character Profile ─────────────────────────────────────── */
.char-profile-header {
  display: flex; gap: 40px; align-items: flex-start;
  padding: 48px 0; flex-wrap: wrap;
}
.char-profile-img {
  width: 220px; height: 220px; border-radius: 50%;
  object-fit: cover; border: 5px solid var(--gold);
  box-shadow: 0 0 40px var(--gold-glow); flex-shrink: 0;
}
.char-profile-img-placeholder {
  width: 220px; height: 220px; border-radius: 50%;
  background: var(--bg-elevated); border: 5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: var(--text-dim); flex-shrink: 0;
}
.char-profile-info { flex: 1; min-width: 200px; }
.char-profile-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: #fff; line-height: 1; margin-bottom: 8px;
}
.char-alt-names { color: var(--text-dim); font-size: .9rem; margin-bottom: 16px; }
.char-powers-block {
  background: var(--bg-elevated); border-left: 4px solid var(--red);
  padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 20px;
}
.char-powers-block h4 {
  font-family: var(--font-heading); font-size: .8rem; color: var(--red);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px;
}

/* ── Search Results ───────────────────────────────────────── */
.search-results-page { padding: 48px 0; }
.search-hero {
  padding: 48px 0 32px;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
}
.search-form-large {
  display: flex; gap: 0; max-width: 640px;
}
.search-form-large input {
  flex: 1; padding: 14px 20px;
  background: var(--bg-elevated); border: 2px solid var(--border);
  border-right: none; border-radius: var(--radius) 0 0 var(--radius);
  color: var(--text); font-size: 1.1rem; font-family: var(--font-body);
  outline: none; transition: border-color .2s;
}
.search-form-large input:focus { border-color: var(--gold); }
.search-form-large button {
  padding: 14px 24px; background: var(--red); border: none;
  color: #fff; cursor: pointer; font-size: 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background .2s;
}
.search-form-large button:hover { background: var(--red-dark); }
.result-type-tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; padding: 2px 8px;
  border-radius: 3px; margin-bottom: 4px;
}
.result-type-title    { background: rgba(227,28,37,.15); color: var(--red); border: 1px solid rgba(227,28,37,.3); }
.result-type-issue    { background: rgba(245,166,35,.15); color: var(--gold); border: 1px solid rgba(245,166,35,.3); }
.result-type-character{ background: rgba(52,152,219,.15); color: #6ab0e0; border: 1px solid rgba(52,152,219,.3); }

.search-result-item {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; transition: background .2s;
}
.search-result-item:hover { background: rgba(255,255,255,.02); }
.search-result-thumb {
  width: 60px; height: 80px; object-fit: cover; border-radius: 4px;
  flex-shrink: 0; background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); overflow: hidden;
}
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-body { flex: 1; }
.search-result-title { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text); margin-bottom: 4px; }
.search-result-excerpt { font-size: .875rem; color: var(--text-muted); line-height: 1.5; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-card);
  border-top: 2px solid var(--red);
  padding: 48px 0 24px;
  margin-top: auto;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 32px;
}
.footer-brand .brand-name {
  font-family: var(--font-display); font-size: 2rem; color: var(--text);
  margin-bottom: 6px;
}
.footer-brand p { color: var(--text-dim); font-size: .875rem; line-height: 1.6; }
.footer-heading {
  font-family: var(--font-heading); font-size: .8rem;
  text-transform: uppercase; letter-spacing: 3px; color: var(--gold);
  margin-bottom: 14px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); font-size: .875rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  font-size: .8rem; color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--gold); }

/* ── Breadcrumbs ─────────────────────────────────────────── */
.breadcrumbs {
  padding: 12px 0;
  font-size: .8rem; color: var(--text-dim);
  display: flex; align-items: center; gap: 6px;
}
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs i { font-size: .6rem; }

/* ── Pagination ─────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; margin-top: 40px; }
.pagination ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
.pagination li a {
  display: inline-block; padding: 8px 14px;
  border: 1px solid var(--border); border-radius: 4px;
  color: var(--text-muted); font-size: .875rem; transition: all .2s;
  font-family: var(--font-heading);
}
.pagination li a:hover { border-color: var(--gold-dim); color: var(--gold); }
.pagination li.active a { background: var(--red); border-color: var(--red); color: #fff; }

/* ── Utility ─────────────────────────────────────────────── */
.text-gold { color: var(--gold) !important; }
.text-red  { color: var(--red) !important; }
.text-muted{ color: var(--text-muted) !important; }
.sr-only { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* Divider with gold dot */
.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 32px 0; color: var(--text-dim);
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .issue-reader-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-deep); border-bottom: 1px solid var(--border); padding: 16px; }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: block; }
  .site-nav { position: relative; }

  .hero { min-height: 55vh; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 5rem); }
  .titles-grid, .issues-grid { grid-template-columns: repeat(2, 1fr); }
  .chars-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .char-profile-header { flex-direction: column; align-items: center; text-align: center; }
  .issue-header-banner { height: 260px; }
}

@media (max-width: 480px) {
  .titles-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .chars-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 40px 0; }
}
