/* when-the-moon-forgot-our-dreams.css */
:root{
  --ink:#060515;
  --ink-2:#0b0922;
  --ink-3:#18143a;
  --ivory:#f5f0e8;
  --ivory-soft:#d2cae6;
  --gold:#d9ad4b;
  --gold-bright:#f0ce75;
  --silver:#c9c6df;
  --line:rgba(217,173,75,.42);
  --shell:min(1180px, calc(100% - 44px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--ink)}
body{margin:0;background:var(--ink);color:var(--ivory);font-family:Georgia,'Times New Roman',serif;line-height:1.62}
a{color:inherit}
img{max-width:100%;display:block}
.shell{width:var(--shell);margin-inline:auto}
.skip-link{position:absolute;left:-9999px;top:auto}.skip-link:focus{left:18px;top:18px;z-index:9999;background:#fff;color:#000;padding:10px 14px}
.site-header{position:sticky;top:0;z-index:100;background:rgba(5,5,4,.95);border-bottom:1px solid rgba(217,173,75,.34);backdrop-filter:blur(13px)}
.header-shell{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;padding:10px 0}.brand img{height:64px;width:auto;max-width:none}
.primary-nav{display:flex;align-items:center;gap:25px;font-family:Arial,sans-serif;font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.primary-nav>a,.language a{text-decoration:none;color:#d9d2c7;position:relative;padding:31px 0 27px}
.primary-nav>a::after{content:'';position:absolute;left:0;right:0;bottom:18px;height:1px;background:var(--gold);transform:scaleX(0);transition:.2s}
.primary-nav>a:hover::after,.primary-nav>a:focus-visible::after{transform:scaleX(1)}
.primary-nav .nav-cta{border:1px solid var(--gold);padding:10px 15px;margin-left:3px}.primary-nav .nav-cta::after{display:none}
.language{display:flex;gap:8px;align-items:center}.language a{padding:0}.language b{color:#776849;font-weight:400}
.menu-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer}.menu-toggle span{display:block;width:25px;height:1px;background:var(--ivory);margin:6px}

.book-hero{position:relative;min-height:770px;overflow:hidden;border-bottom:1px solid var(--line);isolation:isolate}
.book-hero::before{content:'';position:absolute;inset:-35px;background-image:linear-gradient(90deg,rgba(4,3,18,.96) 0%,rgba(6,5,24,.83) 49%,rgba(5,4,19,.68) 100%),url('../images/when-the-moon-forgot-our-dreams-hero-bg.jpg');background-size:cover;background-position:center 44%;filter:blur(1.5px) saturate(.92) brightness(.62);transform:scale(1.08);z-index:-2}
.book-hero::after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 24% 47%,rgba(240,206,117,.16),transparent 30%),radial-gradient(circle at 83% 20%,rgba(117,92,220,.15),transparent 34%),linear-gradient(90deg,rgba(5,4,21,.92) 0%,rgba(5,4,19,.77) 43%,rgba(4,3,16,.63) 100%),linear-gradient(to bottom,rgba(4,3,17,.12),rgba(4,3,17,.84));z-index:-1}
.hero-grid{min-height:770px;padding:72px 0 76px;display:grid;grid-template-columns:minmax(300px,390px) minmax(0,1fr);gap:76px;align-items:center}
.cover-stage{position:relative;justify-self:center;width:min(100%,360px)}
.cover-stage::before{content:'';position:absolute;inset:-18px;border:1px solid rgba(240,206,117,.35)}
.cover-stage::after{content:'';position:absolute;inset:-7px;border:1px solid rgba(238,232,220,.13);pointer-events:none}
.cover-stage img{position:relative;width:100%;height:auto;box-shadow:0 28px 70px rgba(0,0,0,.75),0 0 34px rgba(217,173,75,.12)}
.hero-copy{max-width:690px}
.breadcrumb{display:flex;gap:9px;flex-wrap:wrap;font-family:Arial,sans-serif;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#aaa194;margin-bottom:27px}.breadcrumb a{text-decoration:none;color:var(--gold-bright)}
.eyebrow{font-family:Arial,sans-serif;letter-spacing:.19em;text-transform:uppercase;color:var(--gold-bright);font-size:12px;margin:0 0 15px}
.book-hero h1{font-weight:400;text-transform:uppercase;font-size:clamp(52px,6.4vw,88px);letter-spacing:.025em;line-height:.92;margin:0;color:#eee8dd;text-shadow:0 8px 34px #000}
.hero-rule{display:flex;align-items:center;gap:14px;width:310px;margin:28px 0}.hero-rule::before,.hero-rule::after{content:'';height:1px;background:linear-gradient(90deg,transparent,var(--gold));flex:1}.hero-rule::after{background:linear-gradient(90deg,var(--gold),transparent)}.hero-rule span{width:8px;height:8px;border:1px solid var(--gold);transform:rotate(45deg)}
.hero-lead{font-size:clamp(20px,2vw,26px);line-height:1.5;color:#eee5d7;margin:0 0 17px;max-width:650px}
.hero-summary{font-size:17px;color:#cfc5b6;margin:0;max-width:650px}
.hero-meta{font-family:Arial,sans-serif;font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#bcb3a5;margin:24px 0 0}
.hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:32px}
.gold-button,.outline-button{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:48px;padding:0 23px;text-decoration:none;text-transform:uppercase;font-family:Arial,sans-serif;font-size:11px;letter-spacing:.14em;transition:.2s}
.gold-button{background:linear-gradient(135deg,#8d682f,#c7a45f);color:#090806;border:1px solid #d6b973;font-weight:700}
.gold-button:hover,.gold-button:focus-visible{filter:brightness(1.1);transform:translateY(-1px)}
.outline-button{border:1px solid rgba(240,206,117,.68);color:#e7dfd1;background:rgba(0,0,0,.3)}
.outline-button:hover,.outline-button:focus-visible{background:rgba(217,173,75,.12)}

.section{padding:96px 0;border-bottom:1px solid rgba(217,173,75,.18)}
.section-kicker{font-family:Arial,sans-serif;text-transform:uppercase;letter-spacing:.18em;color:var(--gold);font-size:11px;margin:0 0 10px}
.section h2{font-weight:400;font-size:clamp(36px,5vw,59px);line-height:1.05;margin:0;color:#f0e8dc}
.section-heading{max-width:760px;margin-bottom:44px}.section-heading p{color:var(--ivory-soft);font-size:18px;max-width:700px}
.about-book{background:linear-gradient(180deg,#0d0a25,#070617)}
.about-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:70px;align-items:start}
.about-copy p{font-size:19px;color:#d7cec0;margin:0 0 20px}
.about-quote{border-left:1px solid var(--gold);padding:25px 0 25px 27px;margin-top:28px;font-size:25px;line-height:1.45;color:#efe4d2}
.fact-panel{border:1px solid rgba(217,173,75,.42);padding:30px;background:linear-gradient(145deg,rgba(217,173,75,.08),rgba(0,0,0,.2));position:relative}.fact-panel::before{content:'';position:absolute;inset:8px;border:1px solid rgba(217,173,75,.12);pointer-events:none}
.fact{display:grid;grid-template-columns:92px 1fr;gap:18px;padding:16px 0;border-bottom:1px solid rgba(217,173,75,.18);font-family:Arial,sans-serif}.fact:last-child{border-bottom:0}.fact b{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}.fact span{font-size:14px;color:#ddd5ca}

.world{background:#0a081d}
.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.theme{padding:38px 30px;border-top:1px solid var(--gold);background:rgba(255,255,255,.016);min-height:250px}.theme .number{font-family:Arial,sans-serif;font-size:10px;letter-spacing:.18em;color:var(--gold)}.theme h3{font-weight:400;font-size:30px;line-height:1.1;margin:14px 0 12px}.theme p{color:#bfb5a8;margin:0}

.characters{background:radial-gradient(circle at 50% 0,rgba(122,91,214,.15),transparent 44%),#070617}
.character-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(217,173,75,.34);border:1px solid rgba(217,173,75,.34)}
.character{background:#0d0a25;padding:52px}.character small{font-family:Arial,sans-serif;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold)}.character h3{font-size:42px;font-weight:400;margin:10px 0 3px}.character .title{font-style:italic;color:#aaa093;margin:0 0 23px}.character p:last-child{color:#d0c7b9;font-size:17px}

.reader-note{background:#0d0a22}.note-panel{border:1px solid rgba(217,173,75,.36);background:rgba(255,255,255,.014)}.note-panel summary{cursor:pointer;list-style:none;padding:25px 30px;font-family:Arial,sans-serif;text-transform:uppercase;letter-spacing:.14em;color:var(--gold-bright);font-size:11px;display:flex;justify-content:space-between;align-items:center}.note-panel summary::-webkit-details-marker{display:none}.note-panel summary::after{content:'+';font-size:20px;font-weight:300}.note-panel[open] summary::after{content:'–'}.note-copy{padding:0 30px 28px;color:#c9c0b3;max-width:900px;font-size:16px}.note-copy p{margin:0}

.purchase-cta{position:relative;overflow:hidden;padding:94px 0;background:#070516}.purchase-cta::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#070516 8%,rgba(7,7,6,.76) 60%,rgba(7,7,6,.94)),url('../images/when-the-moon-forgot-our-dreams-hero-bg.jpg') center 20%/cover no-repeat;opacity:.50;filter:saturate(.58) brightness(.72)}
.purchase-inner{position:relative;max-width:690px}.purchase-inner h2{font-size:clamp(42px,5vw,64px);font-weight:400;line-height:1;margin:0 0 20px}.purchase-inner p{color:#d0c7ba;font-size:18px;margin:0 0 28px}

.site-footer{background:#05040f;padding:65px 0 25px;border-top:1px solid rgba(217,173,75,.35);font-family:Arial,sans-serif}.footer-grid{display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:32px;align-items:center}.footer-brand{display:flex;align-items:center;justify-content:flex-start}.footer-brand img{height:106px;width:auto;max-width:none}.site-footer h2{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:var(--gold);margin:0 0 15px}.site-footer a{display:block;text-decoration:none;color:#a9a296;font-size:12px;margin:8px 0}.site-footer a:hover{color:#e1d5bf}.socials{display:flex;gap:12px;align-items:center}.socials a{width:38px;height:38px;border:1px solid rgba(240,206,117,.56);display:grid;place-items:center;border-radius:50%;margin:0;background:#000;transition:.2s;color:var(--gold-bright)}.socials a:hover,.socials a:focus-visible{background:rgba(217,173,75,.12);transform:translateY(-1px)}.socials svg{width:17px;height:17px;display:block;fill:currentColor}.socials .social-facebook svg{width:18px;height:18px}.socials .social-youtube svg{width:18px;height:18px}.copyright,.template-credit{text-align:center;color:#6f6a61;font-size:10px;letter-spacing:.06em}.copyright{margin-top:48px}.template-credit{margin-top:4px}

@media(max-width:980px){
  .primary-nav{position:absolute;left:0;right:0;top:92px;background:#09071a;border-bottom:1px solid var(--line);padding:15px 22px 24px;display:none;flex-direction:column;align-items:flex-start;gap:0}.primary-nav.open{display:flex}.primary-nav>a{padding:11px 0;width:100%}.primary-nav>a::after{bottom:4px}.primary-nav .nav-cta{margin:10px 0 0;width:auto;padding:10px 15px}.language{margin-top:18px}.menu-toggle{display:block}
  .hero-grid{grid-template-columns:310px 1fr;gap:45px}.about-grid{grid-template-columns:1fr;gap:38px}.footer-grid{grid-template-columns:1.4fr repeat(2,1fr)}
}
@media(max-width:760px){
  :root{--shell:min(100% - 30px,1180px)}
  .header-shell{min-height:78px}.brand img{height:54px;width:auto}.primary-nav{top:78px}
  .book-hero{min-height:auto}.hero-grid{min-height:auto;padding:64px 0 72px;grid-template-columns:1fr;gap:50px}.cover-stage{width:min(72vw,330px)}.hero-copy{text-align:left}.book-hero h1{font-size:54px}.hero-lead{font-size:19px}.hero-actions{flex-direction:column}.gold-button,.outline-button{width:100%}
  .section{padding:72px 0}.section-heading{margin-bottom:32px}.about-copy p{font-size:17px}.about-quote{font-size:22px}.theme-grid,.character-grid{grid-template-columns:1fr}.character{padding:38px 30px}.character h3{font-size:36px}
  .footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1;justify-content:center}.footer-brand img{height:100px;width:auto}
}
@media(max-width:440px){.book-hero h1{font-size:45px}.hero-rule{width:100%}.fact{grid-template-columns:1fr;gap:4px}.footer-grid{grid-template-columns:1fr}.footer-brand{grid-column:auto}.socials{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.gold-button,.outline-button,.socials a{transition:none}}

.character-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.character-grid--three .character{padding:44px 34px}
.character-grid--three .character h3{font-size:36px}
@media(max-width:980px){.character-grid--three{grid-template-columns:1fr}}

/* release-hardening-v2.10.69.css */
/* v2.10.60 — release hardening, accessibility, stable media rendering */
html{scroll-padding-top:92px}
img{max-width:100%}
img.seo-cover-image{background:#030303}
:focus-visible{outline:3px solid #e6bd69!important;outline-offset:4px!important}
.site-footer .template-credit,.template-credit{font-size:12px!important;line-height:1.55!important;color:#a49d91!important}
.site-footer a:not(.social-facebook):not(.social-tiktok):not(.social-pinterest):not(.social-youtube){padding-block:3px}
.cookie-detail-card{display:block!important;margin-top:18px}
.cookie-detail-card span{display:block;margin-bottom:8px;color:#d6ad5b;font-weight:700;overflow-wrap:anywhere}
.cookie-detail-card p{margin:4px 0!important}
@media (pointer:coarse){
  .site-footer a:not(.social-facebook):not(.social-tiktok):not(.social-pinterest):not(.social-youtube){display:flex;align-items:center;min-height:40px}
}

.site-footer .copyright,.copyright{font-size:11px!important;line-height:1.55!important;color:#a49d91!important}

/* v2.10.63 — full-site media and collection layout repair */
/* Preserve each page's own object-fit rules. The previous global !important
   caused cover letterboxing, giant empty bands and unreadable previews. */
img.seo-cover-image{background:#030303}

/* Collection hero covers: keep the blending veil behind the actual book. */
.pale-sequence-page .hero-visual::after,
.blackmere-files-page .hero-visual::after{z-index:2;opacity:.38}
.pale-sequence-page .hero-cover,
.blackmere-files-page .hero-cover{overflow:visible}
.pale-sequence-page .hero-cover img,
.blackmere-files-page .hero-cover img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}

/* Collection book covers: use the natural cover ratio and never create
   oversized empty rectangles around the artwork. */
.pale-sequence-page .cover-frame img,
.blackmere-files-page .cover-frame img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.heart-of-steam-page .cover-frame{aspect-ratio:5/8}
.heart-of-steam-page .cover-frame img{object-fit:cover;object-position:center}
.orbital-command-academy-page .book-cover img{object-fit:cover;object-position:center top}
.orbital-command-academy-page .book-card:nth-child(2) .book-cover img,
.orbital-command-academy-page .book-card:nth-child(3) .book-cover img{object-fit:contain}

/* Heart of Steam centerpiece: show the whole mechanical heart rather than a
   narrow bright slice disappearing into the black background. */
.heart-of-steam-page .mechanical-heart{overflow:visible}
.heart-of-steam-page .mechanical-heart img{width:88%;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:50%;background:radial-gradient(circle,rgba(8,17,22,.22),rgba(2,5,7,.92));box-shadow:0 0 0 1px rgba(229,185,94,.24),0 24px 65px rgba(0,0,0,.52);}

/* Thirteenth Seal collection: contain large editorial art within readable
   columns and keep covers/maps at their natural ratio. */
.thirteenth-seal-academy-page .map-frame{width:min(100%,620px);justify-self:center}
.thirteenth-seal-academy-page .map-frame img,
.thirteenth-seal-academy-page .book-stage img{height:auto;object-fit:contain}
.thirteenth-seal-academy-page .fox-panel img{object-position:center top}

/* Bonus archives — document previews must be readable in full. Portrait PDFs
   get a taller stage; landscape material gets a lower wide stage. */
.hos-bonus-page .hos-material-card,
.oca-bonus-page .oca-material-card,
.blackmere-bonus-page .bm-material-card,
.pale-bonus-page .pale-material-card,
.tsa-bonus-page .tsa-material-card,
.tbc-vault-page .tbc-material-card{grid-template-rows:auto minmax(0,1fr)}

.hos-bonus-page .hos-material-visual,
.oca-bonus-page .oca-material-visual,
.blackmere-bonus-page .bm-material-visual,
.pale-bonus-page .pale-material-visual,
.tsa-bonus-page .tsa-material-visual,
.tbc-vault-page .tbc-material-visual{height:320px;display:grid;place-items:center;padding:12px;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.035),transparent 62%),#030506}

.hos-bonus-page .hos-material-visual--portrait,
.oca-bonus-page .oca-material-visual--portrait,
.blackmere-bonus-page .bm-material-visual--portrait,
.pale-bonus-page .pale-material-visual--portrait,
.tsa-bonus-page .tsa-material-visual--portrait,
.tbc-vault-page .tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual{height:460px}

.tsa-bonus-page .tsa-material-visual--wide{height:300px}

.hos-bonus-page .hos-material-visual img,
.oca-bonus-page .oca-material-visual img,
.blackmere-bonus-page .bm-material-visual img,
.pale-bonus-page .pale-material-visual img,
.tsa-bonus-page .tsa-material-visual img,
.tbc-vault-page .tbc-material-visual img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center!important;transform:none}

.hos-bonus-page .hos-material-visual::after,
.oca-bonus-page .oca-material-visual::after,
.blackmere-bonus-page .bm-material-visual::after,
.pale-bonus-page .pale-material-visual::after,
.tsa-bonus-page .tsa-material-visual::after,
.tbc-vault-page .tbc-material-visual::after{background:linear-gradient(180deg,transparent 72%,rgba(3,5,6,.48));pointer-events:none}

.hos-bonus-page .hos-material-card--wide,
.oca-bonus-page .oca-material-card--wide,
.pale-bonus-page .pale-material-card--wide,
.tbc-vault-page .tbc-material-card--wide{grid-template-rows:none}
.hos-bonus-page .hos-material-card--wide .hos-material-visual,
.oca-bonus-page .oca-material-card--wide .oca-material-visual,
.pale-bonus-page .pale-material-card--wide .pale-material-visual,
.tbc-vault-page .tbc-material-card--wide .tbc-material-visual{height:auto;min-height:360px}

/* Avoid headings or buttons forcing horizontal overflow on smaller screens. */
.primary-nav a,.hero-copy,.book-copy,.material-content{min-width:0}
h1,h2,h3,p,a{overflow-wrap:break-word}

@media(max-width:900px){
  .pale-sequence-page .hero-cover,
  .blackmere-files-page .hero-cover{width:min(350px,82vw)}
  .heart-of-steam-page .mechanical-heart img{width:92%}
  .thirteenth-seal-academy-page .map-frame{width:min(100%,560px)}
  .hos-bonus-page .hos-material-visual--portrait,
  .oca-bonus-page .oca-material-visual--portrait,
  .blackmere-bonus-page .bm-material-visual--portrait,
  .pale-bonus-page .pale-material-visual--portrait,
  .tsa-bonus-page .tsa-material-visual--portrait,
  .tbc-vault-page .tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual{height:430px}
}

@media(max-width:620px){
  .pale-sequence-page .cover-frame,
  .blackmere-files-page .cover-frame{max-width:360px;margin-inline:auto}
  .heart-of-steam-page .mechanical-heart img{width:96%}
  .hos-bonus-page .hos-material-visual,
  .oca-bonus-page .oca-material-visual,
  .blackmere-bonus-page .bm-material-visual,
  .pale-bonus-page .pale-material-visual,
  .tsa-bonus-page .tsa-material-visual,
  .tbc-vault-page .tbc-material-visual{height:250px;padding:9px}
  .hos-bonus-page .hos-material-visual--portrait,
  .oca-bonus-page .oca-material-visual--portrait,
  .blackmere-bonus-page .bm-material-visual--portrait,
  .pale-bonus-page .pale-material-visual--portrait,
  .tsa-bonus-page .tsa-material-visual--portrait,
  .tbc-vault-page .tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual{height:390px}
  .tsa-bonus-page .tsa-material-visual--wide{height:230px}
  .hos-bonus-page .hos-material-card--wide,
  .oca-bonus-page .oca-material-card--wide,
  .pale-bonus-page .pale-material-card--wide,
  .tbc-vault-page .tbc-material-card--wide{grid-template-rows:auto minmax(0,1fr)}
  .hos-bonus-page .hos-material-card--wide .hos-material-visual,
  .oca-bonus-page .oca-material-card--wide .oca-material-visual,
  .pale-bonus-page .pale-material-card--wide .pale-material-visual,
  .tbc-vault-page .tbc-material-card--wide .tbc-material-visual{height:250px;min-height:0}
}

/* v2.10.64 — Thirteenth Seal Fox section proportion repair */
@media (min-width:981px){
  .thirteenth-seal-academy-page .fox-grid{
    grid-template-columns:minmax(320px,440px) minmax(0,1fr);
    align-items:center;
  }
  .thirteenth-seal-academy-page .fox-panel{
    width:100%;
    aspect-ratio:4/5;
    max-height:620px;
    align-self:center;
  }
  .thirteenth-seal-academy-page .fox-panel img{
    display:block;
    width:100%;
    height:100%;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center center;
  }
  .thirteenth-seal-academy-page .fox-copy{
    align-self:center;
  }
}
@media (max-width:980px){
  .thirteenth-seal-academy-page .fox-panel{
    width:min(100%,620px);
    aspect-ratio:4/5;
  }
  .thirteenth-seal-academy-page .fox-panel img{
    display:block;
    width:100%;
    height:100%;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center center;
  }
}

/* v2.10.65 — News page editorial image alignment */
/* Keep the Saintless Bride artwork at its existing scale, give the portrait
   enough vertical room, and lift it slightly so the complete title remains
   readable without clipping the bride's head. */
@media (min-width:761px){
  .news-page .news-card-media--portrait{
    height:520px;
    align-items:start;
  }
  .news-page .news-card-media--portrait img{
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    object-fit:initial;
    object-position:center top;
    transform:translateY(-30px);
  }
}
@media (min-width:471px) and (max-width:760px){
  .news-page .news-card-media--portrait{
    height:500px;
    align-items:start;
  }
  .news-page .news-card-media--portrait img{
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    object-fit:initial;
    object-position:center top;
    transform:translateY(-22px);
  }
}
@media (max-width:470px){
  .news-page .news-card-media--portrait{
    height:430px;
    align-items:start;
  }
  .news-page .news-card-media--portrait img{
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    object-fit:initial;
    object-position:center top;
    transform:translateY(-18px);
  }
}

/* Use the first archive card's 12:7 landscape canvas as the common visual
   standard. Portrait and extra-wide sources stay undistorted and receive
   controlled black letterboxing inside an identical image area. */
.news-page .news-archive-image img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:12/7;
  object-fit:contain;
  object-position:center;
  background:#000;
  transform:none;
}


/* v2.10.67 — compact, top-aligned footer for collection and standalone-book detail pages. */
.editorial-detail-page .site-footer{
  padding:38px 0 18px!important;
  min-height:0!important;
}
.editorial-detail-page .site-footer .footer-grid{
  grid-template-columns:minmax(140px,1.15fr) repeat(4,minmax(0,1fr))!important;
  gap:30px!important;
  align-items:start!important;
}
.editorial-detail-page .site-footer .footer-brand{
  align-self:start!important;
  justify-content:flex-start!important;
  transform:none!important;
}
.editorial-detail-page .site-footer .footer-brand img{
  width:auto!important;
  height:96px!important;
  max-width:130px!important;
  margin:0!important;
  object-fit:contain!important;
}
.editorial-detail-page .site-footer h2{
  margin:0 0 10px!important;
}
.editorial-detail-page .site-footer a:not(.social-facebook):not(.social-tiktok):not(.social-pinterest):not(.social-youtube){
  margin:5px 0!important;
  padding:0!important;
  line-height:1.35!important;
}
.editorial-detail-page .site-footer .follow{
  align-self:start!important;
}
.editorial-detail-page .site-footer .copyright{
  margin:26px 0 0!important;
}
.editorial-detail-page .site-footer .template-credit{
  display:none!important;
}
@media(max-width:980px){
  .editorial-detail-page .site-footer .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:28px 40px!important;
  }
  .editorial-detail-page .site-footer .footer-brand{
    grid-column:1/-1!important;
  }
}
@media(max-width:620px){
  .editorial-detail-page .site-footer{
    padding:34px 0 18px!important;
  }
  .editorial-detail-page .site-footer .footer-grid{
    grid-template-columns:1fr!important;
    gap:24px!important;
    text-align:center!important;
  }
  .editorial-detail-page .site-footer .footer-brand{
    grid-column:auto!important;
    justify-content:center!important;
  }
  .editorial-detail-page .site-footer .footer-brand img{
    margin:0 auto!important;
  }
  .editorial-detail-page .site-footer .socials{
    justify-content:center!important;
  }
}

/* v2.10.69 — Pale Sequence cover alignment
   Keep all six cover frames identical in height while preserving the full artwork. */
.pale-sequence-page .books-grid .cover-frame{
  aspect-ratio:5/8;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pale-sequence-page .books-grid .cover-frame img.seo-cover-image{
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
}


/* v2.11.10 — FOOTER-ONLY REPAIR
   Scope deliberately limited to the global footer:
   - keep all five desktop columns inside the viewport;
   - keep the social controls visible and optically consistent;
   - give the copyright line enough bottom breathing room;
   - preserve responsive stacking without touching page content. */
.site-footer{
  min-height:0!important;
  padding-bottom:28px!important;
  overflow:visible!important;
}
.site-footer .footer-grid{
  grid-template-columns:150px repeat(4,minmax(0,1fr))!important;
  column-gap:clamp(18px,2.2vw,34px)!important;
  row-gap:24px!important;
  align-items:start!important;
}
.site-footer .footer-grid>*{
  min-width:0!important;
}
.site-footer .footer-brand{
  align-self:start!important;
  transform:none!important;
}
.site-footer .follow{
  min-width:0!important;
}
.site-footer .socials{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}
.site-footer .socials a{
  box-sizing:border-box!important;
  flex:0 0 36px!important;
  width:36px!important;
  height:36px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  line-height:1!important;
}
.site-footer .socials svg{
  display:block!important;
  width:17px!important;
  height:17px!important;
  fill:currentColor!important;
  transform:none!important;
}
.site-footer .social-facebook svg{
  width:17px!important;
  height:17px!important;
}
.site-footer .social-tiktok svg{
  width:17px!important;
  height:17px!important;
}
.site-footer .social-pinterest svg{
  width:18px!important;
  height:18px!important;
}
.site-footer .social-youtube svg{
  width:18px!important;
  height:18px!important;
}
.site-footer .copyright{
  margin:30px 0 0!important;
  padding:0 12px 6px!important;
  line-height:1.45!important;
  overflow:visible!important;
}

/* Detail pages already had a compact footer; only inherit the safety fixes. */
.editorial-detail-page .site-footer{
  padding-bottom:28px!important;
}
.editorial-detail-page .site-footer .copyright{
  margin:30px 0 0!important;
  padding-bottom:6px!important;
}

@media(max-width:980px){
  .site-footer .footer-grid,
  .editorial-detail-page .site-footer .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:26px 40px!important;
  }
  .site-footer .footer-brand,
  .editorial-detail-page .site-footer .footer-brand{
    grid-column:1/-1!important;
    justify-content:flex-start!important;
  }
}
@media(max-width:620px){
  .site-footer,
  .editorial-detail-page .site-footer{
    padding-bottom:30px!important;
  }
  .site-footer .footer-grid,
  .editorial-detail-page .site-footer .footer-grid{
    grid-template-columns:1fr!important;
    gap:22px!important;
    text-align:center!important;
  }
  .site-footer .footer-brand,
  .editorial-detail-page .site-footer .footer-brand{
    grid-column:auto!important;
    justify-content:center!important;
  }
  .site-footer .footer-brand img,
  .editorial-detail-page .site-footer .footer-brand img{
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .site-footer .socials,
  .editorial-detail-page .site-footer .socials{
    justify-content:center!important;
  }
}
