/* Pack 03 inherits the established Crypt/Goblins typography and layout. */
.demons-page{--cyan:#ef5b60}
.demons-page .pack-intro h1 span{color:var(--cyan)}
.demons-page .section-heading p{color:var(--muted)}
.demons-page .warrior-stage{height:auto;aspect-ratio:9/7}
.demons-page .warrior-stage canvas,.demons-page .warrior-stage img{width:100%;height:auto;aspect-ratio:9/7;transform:none}
.demons-page .monster-stage{align-items:flex-end}
.demons-page .monster-stage img{height:auto;width:auto;max-height:280px;max-width:100%;object-position:center bottom}
.demons-cover-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5%;align-items:end;text-decoration:none}
.demons-cover-trio img{width:100%;height:clamp(130px,26vw,390px);min-height:0;object-fit:contain;object-position:center bottom;image-rendering:auto}
.demons-hero-cover{min-height:0;padding:0;aspect-ratio:1.9;background:transparent;grid-template-rows:minmax(0,1fr)}
.demons-hero-cover img{height:100%}
.project-card.demons-project-card{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)}
.demons-project-card .demons-cover-trio{align-content:center}
.demons-project-card .demons-cover-trio img{height:clamp(150px,22vw,300px)}
@media(max-width:1080px){.demons-page .warrior-stage canvas,.demons-page .warrior-stage img{width:100%;height:auto}}
@media(max-width:820px){.project-card.demons-project-card{grid-template-columns:1fr}}
@media(max-width:560px){.demons-page .monster-stage img{max-height:220px}.demons-page .warrior-stage{aspect-ratio:9/7}}

/* Keep dense artwork at native resolution with smooth browser downscaling. */
.demons-page .monster-stage img[src*="demon-archmage.webp"],
.demons-page .monster-stage img[src*="demon-stalker.webp"],
.demons-cover-trio img[src*="demon-archmage.webp"]{image-rendering:auto}
