@font-face {font-family:"DR Display";src:url("./art/open-sans-extrabold.woff") format("woff");font-weight:800 1000;font-display:swap}
:root {
  --ink:#201c19; --paper:#fff9ee; --orange:#f4714e; --soft:#f4e8d8; --red:#a52b16;
  --display:"DR Display","Arial Black",system-ui,sans-serif;
  font-family:Arial,Helvetica,sans-serif; color:var(--ink); background:var(--paper);
}
* {box-sizing:border-box}
body {margin:0; min-height:100vh; display:flex; flex-direction:column}
main {flex:1}
[hidden] {display:none!important}
a {color:inherit}
button,input,select {font:inherit}
button,select {cursor:pointer}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible {outline:3px solid #b34022; outline-offset:4px}
h1,h2,h3,p {margin:0}
img {max-width:100%; display:block}
.frame {width:min(1200px,calc(100% - 96px)); margin-inline:auto}
.sr-only {position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
.top {background:#1c1918; color:var(--paper)}
.navigation,.footer-inner {min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:24px}
.navigation nav {display:flex; align-items:center; gap:32px; font-weight:700}
.navigation nav a,.brand {text-decoration:none}
.navigation nav a:hover,.footer a:hover {color:var(--orange)}
.brand {display:inline-flex; gap:8px; align-items:center; font-family:var(--display); font-style:italic; font-weight:1000; font-size:1.26rem; letter-spacing:-.07em}
.brand-mark {background:var(--orange); color:var(--ink); padding:4px 7px 4px 5px; transform:skew(-9deg); border-radius:2px; line-height:1}
.hero {background:#24211f; color:var(--paper); border-bottom:5px solid var(--orange); overflow:hidden}
.hero-grid {min-height:488px; display:grid; grid-template-columns:.93fr 1.07fr; align-items:center; gap:45px; padding-block:48px}
.hero-copy {position:relative; z-index:1}
.eyebrow {font-weight:800; text-transform:uppercase; letter-spacing:.15em; font-size:.79rem; line-height:1.4}
.hero .eyebrow {color:var(--orange); margin-bottom:19px}
.hero h1 {font-family:var(--display); font-size:clamp(3.3rem,6.05vw,6.15rem); font-weight:1000; letter-spacing:-.09em; line-height:.94}
.hero h1 em {font-style:normal; color:var(--orange)}
.hero-copy>p:not(.eyebrow) {font-size:1.12rem; line-height:1.57; margin:25px 0 28px; max-width:375px; color:#efe0d5}
.button {display:inline-flex; align-items:center; justify-content:center; padding:12px 18px; min-height:44px; border:1px solid transparent; border-radius:5px; text-decoration:none; font-weight:800; text-align:center}
.primary {background:var(--orange); color:#201713}
.primary:hover {background:#ff9b7d}
.outline {color:inherit; background:transparent; border-color:currentColor}
.resume {display:inline-block; margin-left:15px; font-weight:700}
.hero-art {position:relative; text-decoration:none; width:100%; isolation:isolate; display:block}
.hero-art::before {content:""; position:absolute; inset:-20px -18px -14px -25px; z-index:-1; background:radial-gradient(circle,#e2936e65 1.1px,transparent 1.55px) 0 0/7px 7px; transform:rotate(-3deg)}
.art-window {aspect-ratio:1.53; border:3px solid #120e0c; background:#302a27; box-shadow:9px 9px 0 var(--orange); overflow:hidden; transform:rotate(-2.4deg)}
.art-window img {width:100%; height:100%; object-fit:cover}
.hero-caption {position:absolute; bottom:-12px; left:12px; background:var(--paper); color:var(--ink); padding:8px 14px; transform:rotate(-2.4deg); border:2px solid var(--ink); font-size:.75rem; line-height:1.28}
.hero-caption strong {font-size:1rem}
.catalog {padding-block:44px 62px; scroll-margin-top:20px}
.section-head {display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:22px}
.catalog .eyebrow,.about .eyebrow,.series .eyebrow,.reader .eyebrow {color:var(--red)}
h2,.series h1,.privacy h1 {font-family:var(--display); font-weight:1000; font-size:clamp(2.15rem,4vw,3.6rem); letter-spacing:-.075em; line-height:1.05}
.section-head h2,.about h2 {margin-top:5px}
.search {min-width:min(100%,290px)}
.search input {width:100%; background:#fffdf6; border:1px solid #947c6d; color:inherit; border-radius:5px; padding:12px 14px; min-height:44px}
.filters {display:flex; gap:8px; flex-wrap:wrap; margin-bottom:27px}
.filters button {min-height:40px; border:1px solid #b2a08d; border-radius:30px; background:transparent; padding:8px 15px; color:inherit; font-weight:700; font-size:.88rem}
.filters button:hover {background:var(--soft)}
.filters button[aria-pressed=true] {background:var(--ink); color:var(--paper); border-color:var(--ink)}
.shelf {display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:29px 20px}
.card {min-width:0}
.cover {display:block; aspect-ratio: .724; overflow:hidden; background:#322924; border:1px solid #2e231d; border-radius:5px; transition:transform .18s ease,box-shadow .18s ease; box-shadow:3px 4px 0 #d3bdac}
.cover:hover {transform:translateY(-3px); box-shadow:5px 7px 0 var(--orange)}
.cover img {width:100%;height:100%;object-fit:cover;object-position:center top}
.card .eyebrow {margin-top:15px; letter-spacing:.07em; text-transform:none; font-size:.85rem}
.card h3 {margin-top:5px; font-size:1.23rem; line-height:1.17}
.card h3 a {text-decoration:none}
.card h3 a:hover {text-decoration:underline}
.card-meta {font-size:.9rem; margin-top:6px; color:#625246}
.about {background:var(--soft); border-top:1px solid #e0cdb9}
.about-inner {display:grid;grid-template-columns:1fr 2fr;gap:28px;align-items:start; padding-block:45px}
.about p:last-child {max-width:480px; margin-top:12px; line-height:1.58}
.footer {background:#1c1918;color:var(--paper)}
.footer-inner {min-height:86px;font-size:.92rem}
.footer p {color:#e2d3c6}
.series,.privacy {padding-block:44px 62px}
.series-intro {margin:25px 0 28px; max-width:700px}
.series-intro h1 {margin:5px 0 10px}
.series-intro p:last-child,.privacy p {line-height:1.6}
.privacy h1 {margin:24px 0 18px}
.privacy p {max-width:660px; margin-bottom:12px}
.reader {background:#211e1d; color:var(--paper)}
.reader-info {display:flex;align-items:center;justify-content:space-between; gap:20px; min-height:112px; padding-block:15px}
.reader-info>div {text-align:center}
.reader-info h1 {font-size:clamp(1.25rem,4vw,2rem); line-height:1.1; margin-top:4px}
.reader .eyebrow {color:#ff997b}
.reader-info>a {font-size:.92rem}
.reader-controls {position:sticky; top:0; z-index:2; background:#2b2624; border-block:1px solid #64554b; padding:8px 10px; display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap}
.reader-controls button,.reader-controls select,#retry {color:var(--paper); background:#3d3531; border:1px solid #8c776b; border-radius:5px; padding:8px 12px; min-height:42px}
.reader-controls button:hover:not(:disabled) {background:#574640}
.reader-controls button:disabled {opacity:.48; cursor:default}
.reader-controls button span[aria-hidden] {font-size:1.2em; line-height:0}
.stage {display:grid;place-items:start center; min-height:60vh; scroll-margin-top:60px; padding:20px 12px 26px; touch-action:pan-y pinch-zoom}
.stage img {height:auto; width:auto; max-width:100%; max-height:calc(100svh - 90px); object-fit:contain; box-shadow:0 5px 20px #0008; background:#161312}
.stage.turn img {animation:turn-in .22s ease-out}
@keyframes turn-in {from {opacity:.55; transform:perspective(1200px) rotateY(var(--turn,9deg)) translateX(9px)} to {opacity:1;transform:none}}
.stage.zoom {touch-action:pan-x pan-y pinch-zoom}
.stage.zoom img {max-height:none; width:min(100%,1120px)}
.reader-end {text-align:center; padding:18px 0 42px}
.reader-end .button {margin-top:18px}
.ad {margin:30px auto 0; width:min(100%,850px); padding:12px 0; text-align:center}
.ad p {font-size:.8rem; margin-bottom:6px}
.ad ins {display:block; min-height:90px}
.editor {max-width:730px;padding-block:38px 64px}
.editor h1 {font:800 clamp(2.2rem,6vw,3.8rem)/1.1 var(--display);letter-spacing:-.06em;margin-block:6px 12px}
.editor p {line-height:1.5}
.editor fieldset {min-width:0;border:1px solid #b2a08d;border-radius:6px;padding:18px;margin:22px 0 0}
.editor legend {font-weight:800;padding-inline:6px}
.editor label {display:grid;gap:6px;margin-bottom:16px;font-weight:700}
.editor input,.editor select,.editor textarea {font:inherit;font-weight:400;min-width:0;width:100%;padding:10px;color:var(--ink);background:#fffdf6;border:1px solid #947c6d;border-radius:4px}
.editor #new-group {margin:0 0 18px}
.editor ol {max-height:22rem;overflow:auto;padding-left:2.5rem}
.editor li {padding:4px;overflow-wrap:anywhere}
.editor li button {margin-left:8px;min-width:36px;min-height:36px}
.editor .primary,#feedback:not(:empty) {margin-block:16px 6px}
@media(max-width:1000px) {
  .frame {width:calc(100% - 56px)}
  .hero-grid {gap:30px; min-height:390px}
  .shelf {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px) {
  .frame {width:calc(100% - 34px)}
  .navigation {min-height:62px}
  .navigation nav {gap:20px;font-size:.92rem}
  .hero-grid {grid-template-columns:1fr; gap:36px; padding-block:34px 45px}
  .hero h1 {font-size:clamp(3.25rem,11vw,5.2rem)}
  .hero-copy>p:not(.eyebrow) {margin-block:17px 20px}
  .hero-art {width:calc(100% - 18px);margin-inline:auto}
  .catalog {padding-block:34px 43px}
  .section-head {align-items:stretch;flex-direction:column;gap:15px}
  .shelf {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
  .card h3 {font-size:1.06rem}
  .about-inner {grid-template-columns:1fr;gap:12px;padding-block:32px}
  .footer-inner {min-height:0; flex-wrap:wrap; padding-block:18px; gap:11px}
  .footer p {order:3;width:100%}
  .reader-info {min-height:100px;display:grid;grid-template-columns:1fr auto;gap:8px}
  .reader-info>div {grid-column:1/-1;grid-row:2;text-align:left}
  .reader-info .button {min-height:36px;padding:7px 12px;font-size:.85rem}
  .stage {padding:12px 0 20px;grid-template-columns:minmax(0,1fr)}
  .stage img {max-height:none}
  .stage.zoom {overflow-x:auto}
  .stage.zoom img {width:180%;max-width:none;justify-self:start}
}
@media(max-width:400px) {
  .reader-controls {gap:6px}
  .reader-controls button,.reader-controls select {padding-inline:8px}
  .resume {margin:12px 0 0;display:block}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {animation:none!important;transition:none!important}
}
