/* Self-hosted fonts — no Google Fonts call. Files in fonts/ (latin woff2). */
@font-face{font-family:"Bangers";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/bangers-400-latin.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/barlow-400-latin.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-style:italic;font-weight:400;font-display:swap;src:url("fonts/barlow-400-italic-latin.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/barlow-500-latin.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/barlow-600-latin.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/barlow-700-latin.woff2") format("woff2")}
  :root{
    color-scheme: light dark;
    --bg:#f4f1e8; --paper:#fffdf6; --ink:#141310; --muted:#5b574c; --line:#ddd6c2;
    --yellow:#e9b800; --yellow-bright:#ffd21f; --black:#111110; --card:#ffffff;
    --btn-ink:#111110; --accent:#b77900;
  }
  @media (prefers-color-scheme: dark){
    :root{
      --bg:#0e0f13; --paper:#14161c; --ink:#f2efe6; --muted:#b8b2a2; --line:#2c2f38;
      --yellow:#ffd21f; --yellow-bright:#ffd21f; --card:#191b22; --accent:#ffd21f;
    }
  }
  *{box-sizing:border-box}
  html{scroll-behavior:smooth}
  @media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} }
  body{margin:0;background:var(--bg);color:var(--ink);font-family:"Barlow",system-ui,-apple-system,Segoe UI,sans-serif;font-size:18px;line-height:1.55}
  a{color:inherit}
  .wrap{max-width:980px;margin:0 auto;padding:0 20px 56px}
  /* Masthead — the comic itself, not a site header */
  .masthead{background:var(--black);color:#fff;margin:0 -20px;padding:36px 20px 28px;text-align:center;border-bottom:6px solid var(--yellow)}
  .masthead h1{font-family:"Bangers",cursive;font-weight:400;font-size:clamp(64px,14vw,118px);line-height:.9;letter-spacing:.04em;color:var(--yellow-bright);margin:0;text-shadow:3px 3px 0 #000}
  .byline{margin:10px 0 0;font-size:17px;color:#e8e2d0}
  .byline strong{color:#fff}
  .hook{max-width:680px;margin:22px auto 0;font-size:clamp(20px,3.4vw,26px);line-height:1.35;font-weight:600;color:#fff}
  .hook em{color:var(--yellow-bright);font-style:normal}
  .cta-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:24px}
  .btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border-radius:6px;font-weight:700;text-decoration:none;font-size:17px;border:2px solid transparent}
  .btn-primary{background:var(--yellow-bright);color:#111110;border-color:#111110}
  .btn-ghost{background:transparent;color:#fff;border-color:#8a877c}
  .btn-dark{background:var(--ink);color:var(--bg);border-color:var(--ink)}
  .btn-outline{background:transparent;color:var(--ink);border-color:var(--ink)}
  section{padding-top:36px}
  h2{font-family:"Bangers",cursive;font-weight:400;font-size:36px;letter-spacing:.03em;margin:0 0 6px;line-height:1}
  .section-note{color:var(--muted);margin:0 0 18px;max-width:640px}
  .blurb{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:22px}
  .blurb p{margin:0 0 12px}
  .blurb p:last-child{margin-bottom:0}
  .tone{font-size:16px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px;margin-top:4px}
  /* Covers — every cover sits in the same size box, so the shelf lines up */
  .covers{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;align-items:stretch}
  @media(min-width:640px){ .covers{grid-template-columns:repeat(3,1fr)} }
  @media(min-width:900px){ .covers{grid-template-columns:repeat(4,1fr)} }
  figure{margin:0;background:var(--card);border:1px solid var(--line);border-radius:8px;overflow:hidden;display:flex;flex-direction:column}
  figure img{width:100%;aspect-ratio:1100/1655;object-fit:contain;display:block;background:#fff}
  figcaption{padding:10px 12px 12px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
  figcaption .no{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
  figcaption .title{font-weight:700;line-height:1.25}
  figcaption .sub{font-size:15px;color:var(--muted);margin-top:2px}
  .issue-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border-radius:6px;font-weight:700;font-size:15px;text-decoration:none;border:2px solid var(--ink)}
  .issue-action-wrap{margin-top:auto;padding-top:10px}
  .issue-action.read{background:var(--ink);color:var(--bg)}
  .issue-action.buy{background:transparent;color:var(--ink)}
  /* Read / Buy / Support */
  .ways{display:grid;gap:14px}
  @media(min-width:760px){ .ways{grid-template-columns:repeat(3,1fr)} }
  .way{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:20px;display:flex;flex-direction:column;gap:8px}
  .way h3{margin:0;font-size:21px}
  .way p{margin:0;color:var(--muted);font-size:16px;flex:1}
  .way .btn{align-self:flex-start;margin-top:6px}
  .way .detail{font-size:14px;color:var(--muted)}
  /* Glossary */
  .glossary{display:grid;gap:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--card)}
  .term{padding:14px 18px;border-bottom:1px solid var(--line)}
  .term:last-child{border-bottom:none}
  .term dt{font-weight:700}
  .term dd{margin:2px 0 0;color:var(--muted)}
  dl{margin:0}
  /* Velari banner + Mochi sign-off */
  .velari{margin-top:36px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#000;line-height:0}
  .velari img{width:100%;height:auto;display:block}
  .mochi-signoff{margin-top:20px;background:#ffffff;color:#141310;border:1px solid var(--line);border-radius:8px;padding:16px 20px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
  .mochi-signoff img{width:110px;height:auto;display:block;flex:none}
  .mochi-signoff .msg{flex:1;min-width:220px}
  .mochi-signoff .msg p{margin:0 0 10px;font-weight:600}
  .mochi-signoff .btn{background:#111110;color:#ffd21f;border-color:#111110}
  /* Footer / about */
  .about{background:var(--black);color:#e8e2d0;border-radius:8px;padding:22px;margin-top:36px}
  .about h2{color:var(--yellow-bright)}
  .about p{margin:0 0 12px;max-width:640px}
  .about a{color:var(--yellow-bright);font-weight:600;display:inline-block;padding:6px 0;min-height:36px}
  footer{padding-top:28px;color:var(--muted);font-size:15px;text-align:center}
