/* Comics library — Harbor Grit light chrome around dark 16:9 art */
.comics-rail {
  padding: 2rem 0 0.5rem;
}
.comics-rail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.comics-rail-head h2 {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
.comics-rail-head p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}
.comics-rail-head a {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--signal);
}
.comics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}
.comics-card {
  background: #f9f7f2;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
.comics-card:hover,
.comics-card:focus-visible {
  background: #fff;
  outline: none;
}
.comics-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #02060a;
  display: block;
  border-bottom: 2px solid var(--line);
}
.comics-card .body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.comics-card .kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal);
}
.comics-card h3 {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 1.05rem;
  margin: 0;
  text-transform: uppercase;
}
.comics-card .logline {
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.comics-card .cta {
  font-weight: 700;
  margin-top: 0.4rem;
}
@media (max-width: 820px) {
  .comics-grid { grid-template-columns: 1fr; }
}

.comic-reader {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}
.comic-reader .back {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--line);
}
.comic-reader h1 {
  font-family: "Archivo Black", Impact, sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  margin: 0 0 0.4rem;
}
.comic-reader .logline {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
  max-width: 40rem;
}
.comic-stage {
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  background: #02060a;
}
.comic-stage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #02060a;
}
.comic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}
.comic-nav button {
  min-height: 48px;
  min-width: 48px;
  padding: 0.7rem 1.1rem;
  border: 2px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--line);
}
.comic-nav button:hover:not(:disabled),
.comic-nav button:focus-visible {
  background: var(--signal);
  color: #fff;
  outline: none;
}
.comic-nav button:disabled {
  opacity: 0.4;
  cursor: default;
  box-shadow: none;
}
.comic-counter {
  font-weight: 700;
  color: var(--muted);
}
.comic-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.85rem;
}
.comic-dots button {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}
.comic-dots button[aria-current="true"] {
  background: var(--signal);
}
.comic-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.comic-note a { font-weight: 700; }
