:root {
      color-scheme: light dark;
      --paper: #f6efdd;
      --paper-2: #efe5cd;
      --card: #fdf8ec;
      --ink: #16130e;
      --ink-soft: #3d362b;
      --muted: #5c5342;
      --line: #c9bb9c;
      --red: #c0241f;
      --red-dark: #8f1717;
      --blue: #1e4fa3;
      --yellow: #f0b429;
      --cover-bg: #12100d;
      --shadow: 8px 8px 0 rgba(22, 19, 14, .9);
      --shadow-sm: 5px 5px 0 rgba(22, 19, 14, .9);
    }
    @media (prefers-color-scheme: dark) {
      :root {
        --paper: #171310;
        --paper-2: #211b16;
        --card: #201a15;
        --ink: #f4ecd9;
        --ink-soft: #ddd2ba;
        --muted: #b3a78d;
        --line: #4a4033;
        --red: #e8493f;
        --red-dark: #ff6a5f;
        --blue: #7aa7e8;
        --yellow: #f5bc3a;
        --cover-bg: #0d0b09;
        --shadow: 8px 8px 0 rgba(0, 0, 0, .55);
        --shadow-sm: 5px 5px 0 rgba(0, 0, 0, .55);
      }
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-width: 320px;
      background: var(--paper);
      color: var(--ink);
      font-family: "Libre Franklin", sans-serif;
      font-size: 17px;
      line-height: 1.55;
    }
    a { color: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    img { display: block; max-width: 100%; }
    .skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; font-weight: 700; }
    .skip-link:focus { top: 12px; }
    .shell { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
    h1, h2, h3, p { margin-top: 0; }
    h1, h2, h3 { text-wrap: balance; }
    p { text-wrap: pretty; }
    .mono { font-family: "IBM Plex Mono", monospace; }

    /* ---------- Masthead ---------- */
    .masthead { border-bottom: 3px solid var(--ink); background:
      radial-gradient(circle, color-mix(in srgb, var(--red) 16%, transparent) 1.3px, transparent 1.7px) 0 0 / 13px 13px,
      var(--paper); }
    .mast-top { display: flex; justify-content: space-between; align-items: stretch; gap: 12px; padding: 18px 0 0; }
    .corner-box { border: 2.5px solid var(--ink); background: var(--card); padding: 7px 12px 6px; font-family: "IBM Plex Mono", monospace; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.35; box-shadow: 4px 4px 0 var(--ink); }
    .corner-box.red { background: var(--red); color: #fff7e8; }
    .corner-box.blue { background: var(--blue); color: #eef4ff; text-align: right; }
    .mast-title {
      margin: 10px 0 4px;
      font-family: "Anton", sans-serif;
      font-size: clamp(4.4rem, 15.5vw, 12.5rem);
      line-height: .92;
      letter-spacing: .005em;
      text-transform: uppercase;
      text-align: center;
      color: var(--ink);
      text-shadow: .045em .045em 0 var(--red), -.028em -.028em 0 color-mix(in srgb, var(--blue) 65%, transparent);
    }
    .mast-sub { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 10px 0 26px; font-family: "IBM Plex Mono", monospace; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
    .mast-sub span::before { content: "★ "; color: var(--red); }
    .mast-sub span:first-child::before { content: ""; }

    /* ---------- Hero ---------- */
    .hero { position: relative; overflow: hidden; border-bottom: 3px solid var(--ink); }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); align-items: center; gap: clamp(36px, 6vw, 90px); padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 7vw, 96px); }
    .caption-box { display: inline-block; max-width: 560px; margin-bottom: 26px; padding: 13px 16px 12px; background: var(--yellow); color: #16130e; border: 2.5px solid var(--ink); box-shadow: var(--shadow-sm); transform: rotate(-.6deg); font-size: 1.02rem; line-height: 1.45; }
    .caption-box strong { font-weight: 800; }
    .hero h1 { margin-bottom: 22px; font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(2.9rem, 6.2vw, 5.4rem); line-height: .98; letter-spacing: .01em; text-transform: uppercase; }
    .hero h1 .r { color: var(--red); }
    .hero h1 .b { color: var(--blue); }
    .lead { max-width: 600px; margin-bottom: 16px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.5; }
    .bio-line { max-width: 590px; margin-bottom: 30px; font-size: 1.22rem; font-weight: 700; font-style: italic; line-height: 1.35; }
    .bio-line::before { content: "“"; color: var(--red); }
    .bio-credit { display: block; margin-top: 6px; font-family: "IBM Plex Mono", monospace; font-style: normal; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
    .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
    .button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border: 2.5px solid var(--ink); background: var(--red); color: #fff7e8; box-shadow: var(--shadow-sm); font-weight: 800; letter-spacing: .02em; line-height: 1; text-decoration: none; text-transform: uppercase; font-size: .95rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
    .button:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); background: var(--red-dark); }
    .button:focus-visible, .tab:focus-visible, .text-link:focus-visible, .offer-button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
    .text-link { font-weight: 700; text-underline-offset: 4px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
    .hero-art { position: relative; min-height: 500px; }
    .hero-cover { position: absolute; width: min(285px, 58%); aspect-ratio: 4 / 5; overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--shadow); background: var(--cover-bg); margin: 0; }
    .hero-cover img { width: 100%; height: 100%; object-fit: contain; }
    .hero-cover:nth-child(1) { right: 2%; top: 2%; transform: rotate(6deg); z-index: 2; }
    .hero-cover:nth-child(2) { left: 2%; top: 15%; transform: rotate(-7deg); z-index: 1; }
    .hero-cover:nth-child(3) { right: 16%; bottom: -1%; transform: rotate(2deg); z-index: 3; }
    .burst { position: absolute; z-index: 4; right: 0; bottom: 5%; width: 132px; aspect-ratio: 1; display: grid; place-items: center; padding: 18px; background: var(--yellow); color: #16130e; clip-path: polygon(50% 0%,61% 23%,82% 8%,79% 34%,100% 38%,78% 52%,95% 71%,69% 70%,69% 96%,51% 77%,34% 100%,32% 73%,6% 81%,23% 56%,0% 44%,27% 37%,17% 13%,40% 26%); font-family: "Anton", sans-serif; font-size: 1.05rem; line-height: 1.05; text-align: center; text-transform: uppercase; transform: rotate(8deg); }

    /* ---------- Inventory ---------- */
    .inventory { padding: clamp(64px, 8vw, 104px) 0; background:
      radial-gradient(circle, color-mix(in srgb, var(--ink) 7%, transparent) 1.1px, transparent 1.5px) 0 0 / 15px 15px,
      var(--paper); }
    .section-head { display: grid; grid-template-columns: 1fr minmax(260px, .55fr); align-items: end; gap: 28px; padding-bottom: 24px; }
    .section-head h2 { margin: 0; font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(2.7rem, 5.4vw, 4.8rem); line-height: .95; text-transform: uppercase; letter-spacing: .01em; }
    .section-head h2 .r { color: var(--red); }
    .section-head p { margin: 0 0 6px; color: var(--muted); font-size: 1.02rem; }
    .bin-tabs { display: flex; flex-wrap: wrap; gap: 7px; padding: 6px 0 0; border-bottom: 3px solid var(--ink); }
    .tab { appearance: none; position: relative; top: 3px; border: 2.5px solid var(--ink); border-bottom: none; background: var(--paper-2); color: var(--ink); padding: 9px 15px 12px; font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: .84rem; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
    .tab:hover { background: var(--card); }
    .tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
    .showing { margin: 20px 0 26px; font-family: "IBM Plex Mono", monospace; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
    .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px 22px; grid-auto-flow: dense; }
    .comic { grid-column: span 4; min-width: 0; display: flex; flex-direction: column; }
    .comic[hidden] { display: none; }
    .catalog-card { position: relative; display: flex; flex-direction: column; flex: 1; background: var(--card); border: 2.5px solid var(--ink); box-shadow: var(--shadow-sm); }
    .catalog-card::before { content: ""; display: block; height: 12px; border-bottom: 2px dashed var(--line); background:
      radial-gradient(circle at 8px 6px, var(--paper) 3.4px, var(--line) 3.8px, transparent 4.2px) 0 0 / 26px 12px repeat-x; }
    .cover-frame { position: relative; aspect-ratio: 4 / 5; margin: 14px 14px 0; overflow: hidden; border: 2px solid var(--ink); background: var(--cover-bg); }
    .cover-frame img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
    .comic:hover .cover-frame > img { transform: scale(1.02); }
    .price-sticker { position: absolute; z-index: 3; top: 12px; right: -7px; padding: 7px 11px 6px; background: var(--yellow); color: #16130e; border: 2px solid var(--ink); box-shadow: 3px 3px 0 rgba(22,19,14,.85); font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 1rem; line-height: 1; transform: rotate(5deg); }
    .no-photo { display: grid; place-items: center; padding: 30px; background:
      radial-gradient(circle, rgba(240,180,41,.16) 1.2px, transparent 1.6px) 0 0 / 12px 12px,
      linear-gradient(150deg, #221c14, #33291c); color: #f7efdb; text-align: center; }
    .no-photo::before, .no-photo::after { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgba(247,239,219,.4); pointer-events: none; }
    .no-photo::after { inset: 20px; border-color: rgba(240,180,41,.55); }
    .no-photo-mark { position: relative; z-index: 1; max-width: 230px; }
    .no-photo-mark small { display: block; margin-bottom: 16px; color: var(--yellow); font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; }
    .no-photo-mark strong { display: block; font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
    .no-photo-mark span { display: block; margin-top: 18px; color: #cfc2a6; font-family: "IBM Plex Mono", monospace; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
    .comic-info { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
    .cat-no { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-family: "IBM Plex Mono", monospace; font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
    .cat-no .no { color: var(--red); }
    .comic h3 { margin-bottom: 6px; font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.04; text-transform: uppercase; letter-spacing: .01em; }
    .note { margin-bottom: 16px; color: var(--muted); font-size: .95rem; line-height: 1.4; }
    .comic-buy { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 13px; border-top: 2px solid var(--ink); }
    .price { font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 1.12rem; line-height: 1; }
    .offer-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 9px 13px; border: 2.5px solid var(--ink); background: var(--red); color: #fff7e8; box-shadow: 3px 3px 0 var(--ink); font-weight: 800; font-size: .88rem; letter-spacing: .03em; line-height: 1; text-decoration: none; text-transform: uppercase; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
    .offer-button:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); background: var(--red-dark); }
    .comic.feature { grid-column: span 8; }
    .comic.feature .catalog-card { flex-direction: row; }
    .comic.feature .catalog-card::before { display: none; }
    .comic.feature .cover-frame { flex: 0 0 42%; margin: 0; border: none; border-right: 2.5px solid var(--ink); aspect-ratio: 4 / 5; }
    .comic.feature .comic-info { justify-content: center; padding: 26px 28px; }
    .comic.feature h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
    .key-badge { display: inline-block; align-self: flex-start; margin-bottom: 14px; padding: 5px 10px 4px; background: var(--blue); color: #eef4ff; border: 2px solid var(--ink); font-family: "IBM Plex Mono", monospace; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-1.2deg); }

    /* ---------- How it works ---------- */
    .process { padding: clamp(64px, 8vw, 100px) 0; background: var(--ink); color: var(--paper); border-block: 3px solid var(--ink); }
    .process h2 { margin: 0 0 40px; font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: .97; text-transform: uppercase; max-width: 700px; }
    .process h2 .y { color: var(--yellow); }
    .panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .panel { position: relative; border: 3px solid var(--paper); padding: 30px 24px 26px; background: color-mix(in srgb, var(--paper) 5%, transparent); }
    .panel-num { position: absolute; top: -17px; left: 16px; padding: 4px 11px 3px; background: var(--yellow); color: #16130e; border: 2.5px solid var(--paper); font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: .8rem; letter-spacing: .1em; }
    .panel h3 { margin-bottom: 8px; font-family: "Anton", sans-serif; font-weight: 400; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .01em; }
    .panel p { margin: 0; color: color-mix(in srgb, var(--paper) 80%, transparent); }
    .panel a { text-decoration-color: var(--yellow); text-underline-offset: 3px; }

    /* ---------- Policy ---------- */
    .policy { padding: clamp(64px, 8vw, 100px) 0; }
    .policy-box { display: grid; grid-template-columns: minmax(240px, .75fr) 1.25fr; gap: clamp(34px, 7vw, 90px); padding: clamp(30px, 5vw, 56px); background: var(--card); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--red); }
    .policy h2 { margin-bottom: 18px; font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(2.4rem, 4.5vw, 3.8rem); line-height: .95; text-transform: uppercase; }
    .stamp { display: inline-block; padding: 9px 16px 8px; border: 3.5px solid var(--red); border-radius: 4px; color: var(--red); font-family: "Anton", sans-serif; font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-3.5deg); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--red) 45%, transparent); }
    .policy-copy p { color: var(--muted); }
    .policy-copy p:first-child { color: var(--ink); font-size: 1.13rem; font-weight: 600; }

    /* ---------- Contact / footer ---------- */
    .contact-strip { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 32px 0 46px; border-top: 3px solid var(--ink); }
    .contact-strip h2 { margin-bottom: 4px; font-family: "Anton", sans-serif; font-weight: 400; font-size: 1.9rem; text-transform: uppercase; }
    .contact-strip p { margin: 0; color: var(--muted); }
    .footnote { padding: 18px 0 30px; border-top: 2px solid var(--line); color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: .8rem; letter-spacing: .04em; }
    .footnote strong { color: var(--ink); }

    @media (max-width: 980px) {
      .panels { grid-template-columns: 1fr; gap: 30px; }
    }
    @media (max-width: 900px) {
      .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 44px; }
      .hero-art { width: min(560px, 100%); min-height: 470px; margin-inline: auto; }
      .comic, .comic.feature { grid-column: span 6; }
      .comic.feature .catalog-card { flex-direction: column; }
      .comic.feature .catalog-card::before { display: block; }
      .comic.feature .cover-frame { margin: 14px 14px 0; border: 2px solid var(--ink); aspect-ratio: 4 / 5; min-height: 0; }
      .comic.feature .comic-info { padding: 16px 16px 18px; }
      .process-grid, .policy-box { grid-template-columns: 1fr; }
      .section-head { grid-template-columns: 1fr; }
      .section-head p { max-width: 560px; }
      .corner-box.blue { display: none; }
    }
    @media (max-width: 590px) {
      .shell { width: min(100% - 28px, 1200px); }
      .mast-title { font-size: clamp(3.6rem, 19vw, 5.4rem); text-shadow: .05em .05em 0 var(--red), -.03em -.03em 0 color-mix(in srgb, var(--blue) 65%, transparent); }
      .corner-box { font-size: .68rem; padding: 6px 9px 5px; }
      .mast-sub { font-size: .72rem; gap: 6px 12px; }
      .hero-grid { gap: 26px; padding-top: 36px; }
      .hero-art { min-height: 365px; }
      .hero-cover { width: 51%; }
      .hero-cover:nth-child(2) { left: 0; }
      .hero-cover:nth-child(3) { right: 20%; }
      .burst { width: 98px; right: -5px; font-size: .8rem; }
      .comic, .comic.feature { grid-column: 1 / -1; }
      .comic-buy { flex-wrap: wrap; }
      .contact-strip { align-items: flex-start; flex-direction: column; }
      .button { width: 100%; }
      .policy-box { box-shadow: 7px 7px 0 var(--red); }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition: none !important; }
    }

    /* ---------- Portable (CSV-driven) additions ---------- */
    .sold-sticker { position: absolute; z-index: 4; top: 42%; left: 50%; padding: 7px 18px 6px; border: 3.5px solid var(--red); border-radius: 4px; background: color-mix(in srgb, var(--card) 82%, transparent); color: var(--red); font-family: "Anton", sans-serif; font-size: 1.6rem; letter-spacing: .08em; text-transform: uppercase; transform: translate(-50%, -50%) rotate(-8deg); pointer-events: none; }
    .comic.sold .cover-frame > img { opacity: .55; }
    .thumbs { position: absolute; z-index: 3; left: 10px; bottom: 10px; display: flex; gap: 6px; }
    .thumbs button { width: 42px; height: 42px; padding: 0; overflow: hidden; border: 2px solid var(--paper); background: var(--cover-bg); cursor: pointer; }
    .thumbs button.active { border-color: var(--yellow); }
    .thumbs img { width: 100%; height: 100%; object-fit: cover; }
    .load-error { margin: 0 0 26px; padding: 16px 18px; border: 2.5px solid var(--red); background: var(--card); color: var(--ink); font-size: .98rem; }
