:root {
  color-scheme: dark;
  --page: #070806;
  --panel: #11110f;
  --panel-soft: #191a17;
  --paper: #e7dec8;
  --muted: #bdb49f;
  --line: #3f403a;
  --line-strong: #656156;
  --amber: #d98224;
  --wood: #3a261b;
  --steel: #353633;
  --max: 76rem;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
html { scroll-behavior: smooth; background: var(--page); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--paper);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: clip;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}
.page-shell, .site-header__inner {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}
.prototype-note {
  padding: 0.28rem 1rem;
  color: #0b0d0f;
  background: var(--amber);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-align: center;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 6, 0.96);
  backdrop-filter: blur(12px);
}
.site-header__inner {
  min-height: 6.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.gutter-lockup, .brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
}
.gutter-logo { width: auto; height: 4.35rem; display: block; }
.brand-copy { display: grid; line-height: 1; }
.working-title {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.brand-tagline {
  margin-top: 0.24rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.brand-mark { width: auto; height: 3.2rem; display: block; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); }
.site-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--paper); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--amber); }

.shop-threshold {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 40rem;
  margin: clamp(1rem, 2.2vw, 2rem) auto 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(25rem, 33.35rem);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow: 0 2rem 5rem rgba(0,0,0,.45);
}
.shop-threshold__copy {
  min-width: 0;
  padding: clamp(2rem, 6vw, 5.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(217,130,36,.1), transparent 38%),
    linear-gradient(160deg, #171714, #0c0d0b 78%);
}
.shop-threshold__copy p, .shop-threshold__boast {
  margin: 0;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.shop-threshold h1 {
  max-width: 9ch;
  margin: 1rem 0 1.8rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.4rem, 6.4vw, 6.6rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-shadow: 0 0.15rem 1rem #000;
}
.shop-threshold__copy a {
  min-height: 2.75rem;
  padding-bottom: .25rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  border-bottom: 1px solid var(--amber);
  color: var(--paper);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.shop-threshold__image { min-width: 0; display: block; background: #050604; }
.shop-threshold__image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.shop-threshold__boast {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(231,222,200,.58);
  color: var(--paper);
  background: rgba(7,8,6,.84);
}

.rack { padding-block: clamp(1.6rem, 4vw, 3rem) clamp(3.5rem, 7vw, 6rem); }
.rack__header { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.rack__header > p { max-width: 22rem; margin: 0; color: var(--muted); text-align: right; }
.section-kicker {
  margin: 0 0 0.35rem;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3 { text-wrap: balance; }
.rack h2, .shop-story h2, .issue-list h2, .collected-edition h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}
.shelf--shop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.series-card--shop {
  --story-accent: var(--amber);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(9rem, 43%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(0.8rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  background: radial-gradient(circle at 25% 30%, color-mix(in srgb, var(--story-accent) 12%, transparent), transparent 52%), var(--panel);
}
.series-card--castle { --story-accent: #74a0b4; }
.series-card--cortes { --story-accent: #d76631; }
.series-card__cover-link { display: block; min-width: 0; }
.slashers-army-cover { position: relative; display: block; overflow: hidden; }
.slashers-army-cover__cleanup-frame { position: absolute; left: 0; bottom: 0; width: 42%; height: 27%; overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 130% 130% at 0% 100%, #000 0 75%, transparent 100%); mask-image: radial-gradient(ellipse 130% 130% at 0% 100%, #000 0 75%, transparent 100%); }
.slashers-army-cover__cleanup-frame img { position: absolute; left: 0; bottom: 0; display: block; width: 238.1%; max-width: none; height: auto; }
.slashers-army-cover__publisher { position: absolute; left: 3%; bottom: 4%; width: 18%; height: 21%; display: grid; place-items: center; }
.slashers-army-cover__publisher img { display: block; width: auto; max-width: 100%; height: 82%; }
.series-card__cover {
  width: 100%;
  max-height: 37rem;
  aspect-ratio: 17 / 22;
  display: block;
  object-fit: contain;
  background: #050708;
  box-shadow: 0 1.4rem 3rem rgba(0,0,0,.58);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.series-card__cover-link:hover .series-card__cover { transform: translateY(-0.25rem); box-shadow: 0 1.8rem 3.4rem rgba(0,0,0,.7); }
.series-card__details { min-width: 0; }
.series-card--shop[data-series-id="eddie-rickenbacker"] .series-card__details { container-type: inline-size; }
.series-card--shop[data-series-id="eddie-rickenbacker"] h3 { font-size: clamp(1rem, 11cqi, 2.8rem); overflow-wrap: anywhere; }
.series-card__status {
  color: var(--story-accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.series-card h3 {
  margin: 0.55rem 0 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.series-card p { margin: 0.9rem 0 0; color: var(--muted); }
.series-card__actions { margin-top: 1.25rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem 1rem; }
.primary-action {
  min-height: 2.85rem;
  padding: 0.68rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--story-accent, var(--amber));
  color: var(--paper);
  background: transparent;
  font-weight: 800;
  text-decoration: none;
}
.primary-action:hover { color: var(--page); background: var(--story-accent, var(--amber)); }
.start-over { min-height: 2.75rem; display: inline-flex; align-items: center; color: var(--muted); font-size: 0.88rem; }
.lost-world-buy { min-height: 2.75rem; display: inline-flex; align-items: center; color: var(--amber); font-size: .88rem; font-weight: 800; text-decoration: underline; text-underline-offset: .2em; }

.shop-story { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--page); }
.shop-story__scene { min-height: 46rem; position: relative; overflow: hidden; }
.shop-story__scene > picture, .shop-story__scene > picture img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.shop-story__scene > picture img { object-fit: cover; object-position: center; }
.shop-story__scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,6,.12), rgba(7,8,6,.2) 45%, rgba(7,8,6,.82)); pointer-events: none; }
.shop-story__inner { min-height: 46rem; padding-block: clamp(3rem, 7vw, 6rem); position: relative; z-index: 1; display: flex; justify-content: flex-end; align-items: center; }
.shop-story__panel { width: min(100%, 40rem); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line-strong); background: rgba(17,17,15,.96); box-shadow: 0 1.4rem 4rem rgba(0,0,0,.48); }
.shop-story h2 { max-width: 14ch; }
.shop-story p:not(.section-kicker) { max-width: 47rem; margin: 1.25rem 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.16rem); }
.shop-story__detail { padding-left: 1rem; border-left: 2px solid var(--amber); }
.shop-lore {
  max-width: 56rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line-strong);
  background: rgba(0,0,0,.28);
}
.shop-story .shop-lore__label {
  margin: 0;
  color: var(--amber);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.shop-story .shop-lore p:last-child { max-width: 50rem; margin-top: .6rem; color: var(--paper); font-size: clamp(1.15rem, 2.5vw, 1.5rem); line-height: 1.45; }
.site-footer { width: min(calc(100% - 2rem), var(--max)); min-height: 5rem; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.82rem; }

.counter-preview { border-top: 1px solid var(--line); background: #0d1012; }
.counter-preview__inner { padding-block: clamp(3rem, 7vw, 6rem); display: grid; grid-template-columns: minmax(0, .88fr) minmax(23rem, 1.12fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.counter-preview h2 { max-width: 11ch; margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2.5rem, 5.5vw, 5.25rem); line-height: .92; text-transform: uppercase; }
.counter-preview__intro > p:not(.section-kicker) { max-width: 37rem; margin: 1.1rem 0 1.5rem; color: var(--muted); }
.counter-preview__shelves { border-top: 1px solid #54514a; }
.counter-preview__shelves a { min-height: 6.4rem; padding: 1rem .2rem; display: grid; grid-template-columns: 2.5rem 1fr; align-content: center; column-gap: 1rem; border-bottom: 1px solid #54514a; color: inherit; text-decoration: none; }
.counter-preview__shelves a:hover strong { color: var(--amber); }
.counter-preview__shelves span { grid-row: span 2; align-self: start; color: var(--amber); font: 800 .75rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.counter-preview__shelves strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2.4vw, 1.75rem); font-weight: 500; }
.counter-preview__shelves small { color: var(--muted); font-size: .85rem; }

/* Supporting series pages retained for future growth without putting them in the primary path. */
.page-shell.series-page { padding-block: clamp(2.5rem, 6vw, 5.5rem); display: grid; gap: clamp(3rem, 8vw, 6rem); }
.brand-lockup--link { text-decoration: none; }
.preview-label { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.series-overview { display: grid; grid-template-columns: minmax(12rem, 23rem) minmax(0, 1fr); gap: clamp(1.75rem, 6vw, 5rem); align-items: center; }
.series-overview__cover { width: 100%; aspect-ratio: 17/22; object-fit: contain; background: #050708; box-shadow: 0 2rem 4rem rgba(0,0,0,.5); }
.series-overview h1 { max-width: 14ch; margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2.5rem, 7vw, 5.8rem); line-height: .95; text-transform: uppercase; }
.intro, .series-meta { max-width: 42rem; margin: 1.2rem 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); }
.series-meta strong { color: var(--paper); }
.issue-card { margin-top: 1.25rem; padding: clamp(1.25rem,4vw,2rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border: 1px solid var(--line); background: var(--panel); }
.issue-card__number { margin: 0; color: var(--amber); font-size: .82rem; font-weight: 850; letter-spacing: .14em; }
.issue-card h3 { margin: .35rem 0 0; font-size: 1.35rem; }
.issue-card p { max-width: 38rem; color: var(--muted); }
.issue-card__meta { margin-bottom: 0; font-size: .9rem; }
.collected-edition { max-width: 46rem; padding: clamp(1.25rem,4vw,2rem); border-left: 3px solid var(--line); color: var(--muted); }

@media (max-width: 900px) {
  .shop-threshold { min-height: 34rem; grid-template-columns: minmax(0, 1fr) minmax(20rem, 45%); }
  .shop-threshold h1 { font-size: clamp(3rem, 7vw, 5rem); }
  .series-card--shop { grid-template-columns: 1fr; align-items: start; }
  .series-card__details { padding: 0.25rem 0.2rem 0.35rem; }
  .series-card__cover { max-height: none; }
  .counter-preview__inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .prototype-note { font-size: 0.61rem; }
  .site-header__inner { min-height: 4.9rem; gap: 0.65rem; }
  .gutter-logo { width: auto; height: 3.65rem; }
  .site-nav { gap: .75rem; }
  .site-nav a { font-size: .82rem; }
  .shop-threshold { width: 100%; min-height: 0; margin-top: 0; grid-template-columns: 1fr; border-inline: 0; }
  .shop-threshold__image { order: -1; height: min(112vw, 34rem); }
  .shop-threshold__copy { padding: 2rem max(1rem, calc((100% - min(calc(100% - 2rem), var(--max))) / 2)); }
  .shop-threshold__copy p { font-size: .65rem; }
  .shop-threshold h1 { max-width: 11ch; margin-block: .65rem 1.25rem; font-size: clamp(2.8rem, 14vw, 4.7rem); }
  .shop-threshold__boast { top: 1rem; right: .75rem; bottom: auto; font-size: .62rem; }
  .rack__header { display: block; margin-bottom: 1rem; }
  .rack__header > p { display: none; }
  .rack h2 { font-size: 2.1rem; }
  .shelf--shop { gap: .75rem; }
  .series-card--shop { padding: .55rem; gap: .65rem; }
  .series-card__status { font-size: .63rem; letter-spacing: .08em; }
  .series-card h3 { font-size: clamp(1.35rem, 7vw, 2rem); }
  .series-card p { display: none; }
  .series-card__actions { min-width: 0; margin-top: .8rem; display: grid; }
  .primary-action { width: 100%; min-width: 0; min-height: 2.9rem; padding-inline: .45rem; font-size: .75rem; text-align: center; }
  .start-over { min-height: 2rem; font-size: .76rem; }
  .shop-story__detail { font-size: .94rem !important; }
  .shop-story__scene { min-height: 0; }
  .shop-story__scene > picture { position: relative; height: 19rem; }
  .shop-story__scene > picture img { position: static; object-position: center; }
  .shop-story__scene::after { display: none; }
  .shop-story__inner { min-height: 0; padding-block: 0; width: 100%; }
  .shop-story__panel { width: 100%; padding: 2.5rem 1rem; border-inline: 0; box-shadow: none; }
  .counter-preview__inner { padding-block: 2.8rem; gap: 2.3rem; }
  .counter-preview h2 { font-size: 2.65rem; }
  .series-overview { grid-template-columns: 1fr; }
  .series-overview__cover { max-width: 18rem; }
  .issue-card { align-items: stretch; flex-direction: column; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}
@media (max-width: 430px) {
  .site-nav a:last-child { display: none; }
  .site-nav a.site-nav__arcade { display: inline-flex; }
  .site-header:not(.site-header--article):not(.site-header--archive) .site-nav a:first-child { display: none; }
  .site-nav { gap: .65rem; }
  .site-nav a { font-size: .76rem; }
  .shop-threshold h1 { max-width: 100%; font-size: clamp(2.35rem, 12vw, 3.25rem); text-wrap: wrap; }
  .site-header--article .site-nav a:first-child { display: none; }
  .site-header--article .site-nav a:last-child { display: inline-flex; }
  body:has(.article-main) .site-nav a:first-child { display: none; }
  body:has(.article-main) .site-nav a:last-child { display: inline-flex; }
  .page-shell, .site-header__inner { width: min(calc(100% - 1.1rem), var(--max)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 1ms !important; }
}
