/* V-FORGE — editorial chapters, illustrated archives and shared navigation. */
:root{--header-height:84px;--frame:#b68b494d;--surface:#0c1013}
html{scroll-padding-top:calc(var(--header-height) + 24px)}
.site-header,.home-book-theme .site-header{position:fixed;z-index:50;background:#030405ed;transition:background .3s,border-color .3s,box-shadow .3s;backdrop-filter:blur(12px)}
.site-header.is-scrolled{background:#030405f5;border-color:#d7a35180;box-shadow:0 8px 32px #0005}
.site-header:after{content:"";position:absolute;inset:auto 0 -1px;height:2px;background:linear-gradient(90deg,#f2c16c,#d4a1f0);transform:scaleX(var(--page-progress,0));transform-origin:left;pointer-events:none}
.site-header .header-nav a:after{content:"";position:absolute;left:0;right:0;bottom:-9px;height:1px;background:#edbb69;transform:scaleX(0);transform-origin:left;transition:transform .25s}
.site-header .header-nav a:hover:after,.site-header .header-nav a:focus-visible:after,.site-header .header-nav a[aria-current="page"]:after{transform:scaleX(1)}
.site-header .brand img{transition:filter .3s}
.site-header .brand:hover img{filter:drop-shadow(0 0 9px #efb95c66)}
.body-copy{font-size:15px;line-height:1.85;color:#c0b9ad}
.public-breadcrumb a,.breadcrumb a{transition:color .2s}
.public-breadcrumb a:hover,.breadcrumb a:hover{color:#f0c77e}
.editorial-link,.public-inline-link{line-height:1.6;text-underline-offset:7px}
.editorial-link:hover,.public-inline-link:hover{color:#ffe2a8}
.btn,.cta,.public-page .cta{transition:transform .25s,background .25s,box-shadow .25s,border-color .25s}
.btn-gold:hover,.public-page .cta:not(.cta-secondary):hover{box-shadow:0 8px 30px #bd83322b}
.btn .arrow,.cta>span{transition:transform .25s}
.btn:hover .arrow,.cta:hover>span{transform:translateX(4px)}
.back-to-top{position:fixed;right:24px;bottom:24px;z-index:35;display:grid;place-items:center;width:46px;height:46px;border:1px solid #cda15e99;border-radius:50%;background:#080b0ef2;color:#efcb8b;box-shadow:0 5px 22px #0006;cursor:pointer;font:22px/1 system-ui,sans-serif;transition:background .2s,transform .2s}
.back-to-top:hover{background:#2b2114;transform:translateY(-3px)}
.back-to-top[hidden]{display:none}
.reveal-ready{opacity:1;transform:none;transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}

/* Four clear entry points, using the site's own artwork. */
.home-book-theme .start-here{position:relative;padding:100px 0 110px;background:radial-gradient(ellipse at 0 60%,#8d5f2412,transparent 55%),#050708}
.home-book-theme .start-top{gap:48px;align-items:end;margin-bottom:44px}
.home-book-theme .start-top h2{font:400 clamp(44px,5.5vw,76px)/1.05 Georgia,serif;letter-spacing:-.035em}
.home-book-theme .start-top p{font:15px/1.8 system-ui,sans-serif;color:#bdb6a9;max-width:460px}
.chapter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.chapter-card{min-width:0;position:relative;display:block;border:1px solid var(--frame);background:#0a0e11;text-decoration:none;transition:transform .35s,border-color .35s,box-shadow .35s}
.chapter-image{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#9f713a38,transparent 75%),#080b0d}
.chapter-image:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#06090ba6,transparent 45%);box-shadow:inset 0 0 0 10px #04060824}
.chapter-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .8s cubic-bezier(.2,.6,.2,1)}
.chapter-image .chapter-book{object-fit:contain;padding:24px 29px;filter:drop-shadow(9px 12px 15px #0009)}
.chapter-image .chapter-map{object-position:52% center}
.chapter-arrow{position:absolute;z-index:1;right:15px;bottom:15px;display:grid;place-items:center;width:35px;height:35px;border:1px solid #e0b26d80;background:#05070bc9;color:#f3cd8b;font:20px/1 system-ui}
.chapter-copy{display:block;padding:22px 22px 24px;min-height:170px}
.chapter-copy .eyebrow{font:10px/1.5 system-ui;letter-spacing:.13em;color:#c9a875}
.chapter-copy h3{font:400 clamp(23px,2.35vw,34px)/1.1 Georgia,serif;color:#f3ead9;margin:11px 0 12px}
.chapter-copy p{font:13px/1.7 system-ui,sans-serif;color:#b6afa3;margin:0}
.chapter-card:hover,.chapter-card:focus-visible{border-color:#efbb69;box-shadow:0 15px 40px #0006;transform:translateY(-5px)}
.chapter-card:hover img{transform:scale(1.045)}
.home-book-theme .interlude{border-top:1px solid #b4884533;border-bottom:1px solid #b4884533;background:radial-gradient(ellipse at 50% 100%,#b488450b,transparent 70%),#050708}
.home-book-theme .book-section{background:radial-gradient(ellipse at 23% 55%,#b8842b1c,transparent 45%),#080b0c}
.home-book-theme .book-image img{box-shadow:24px 35px 90px #000b,0 0 55px #c0964012}
.home-book-theme .world-section{border-top:1px solid #bc934638;border-bottom:1px solid #bc934638}
.home-book-theme .atlas{background:radial-gradient(ellipse at 90% 10%,#60437b12,transparent 60%),#050708}
.home-book-theme .map-stage{border-color:#cda25a80;box-shadow:0 22px 65px #0006}
.home-book-theme .faction-duo{gap:22px}
.home-book-theme .faction-panel{border:1px solid #ba914759;min-height:450px;padding:38px;isolation:isolate;transition:transform .35s,border-color .35s}
.home-book-theme .faction-panel.void{border-color:#9870c566}
.home-book-theme .faction-panel .faction-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 24%;opacity:.42;z-index:-2;transition:transform 1.2s}
.home-book-theme .faction-panel:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#080b0ff5 3%,#080b0fc9 32%,#080b0f12 86%);pointer-events:none}
.home-book-theme .faction-panel .sigil{display:none}
.home-book-theme .faction-panel .faction-tag{top:30px;left:32px;padding:9px 11px;background:#05070bd9;border:1px solid #c79b4e55}
.home-book-theme .faction-panel h3{font:400 clamp(40px,4.6vw,66px)/1 Georgia,serif;margin:0 0 18px}
.home-book-theme .faction-panel p{color:#d1c9ba;line-height:1.8;max-width:370px}
.faction-panel-link{display:inline-flex;align-items:center;min-height:44px;margin:17px 0 0;color:#ebc58a;font:11px/1.5 system-ui;letter-spacing:.08em}
.void .faction-panel-link{color:#cba8ef}
.home-book-theme .faction-panel:hover{border-color:#e2b66b;transform:translateY(-4px)}
.home-book-theme .faction-panel.void:hover{border-color:#c59be9}
.home-book-theme .faction-panel:hover .faction-art{transform:scale(1.035)}

/* All four groups stay explicitly separate, including Victoria and TLI. */
.home-armour{padding:100px 0 110px;background:radial-gradient(ellipse at 90% 30%,#6743881c,transparent 55%),linear-gradient(155deg,#0b0c10,#050708);border-top:1px solid #a18a613d;border-bottom:1px solid #a18a613d}
.section-introduction{display:flex;align-items:end;justify-content:space-between;gap:48px;margin-bottom:40px}
.section-introduction h2{font:400 clamp(42px,5.4vw,76px)/1.05 Georgia,serif;letter-spacing:-.035em;color:#f1e7d6;margin:18px 0 0}
.section-introduction h2 em{color:#dfb573}
.section-introduction>p{max-width:380px;margin:0;color:#bcb4a8;font:15px/1.8 system-ui,sans-serif}
.armour-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.armour-preview{display:block;min-width:0;border:1px solid #c39a5359;background:#090c0f;text-decoration:none;transition:transform .3s,border-color .3s,box-shadow .3s}
.armour-preview[data-showcase-group="void"],.armour-preview[data-showcase-group="origin"]{border-color:#9f76c859}
.armour-preview-image{aspect-ratio:4/5;display:grid;place-items:center;padding:12px;overflow:hidden;background:linear-gradient(145deg,#1a1b19,#070a0e)}
.armour-preview img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;transition:transform .6s}
.armour-preview-caption{display:block;padding:20px 19px 23px;border-top:1px solid #b38d4940}
.armour-preview-caption .eyebrow{color:#d2ac6a;font:9px/1.5 system-ui;letter-spacing:.1em}
.armour-preview h3{font:400 clamp(23px,2.1vw,30px)/1.15 Georgia,serif;color:#f1e8d8;margin:10px 0 12px}
.armour-preview .group-count{font:11px/1.5 system-ui;color:#b7afa3}
.armour-preview[data-showcase-group="void"] .eyebrow,.armour-preview[data-showcase-group="origin"] .eyebrow{color:#c6a2e9}
.armour-preview:hover,.armour-preview:focus-visible{transform:translateY(-5px);border-color:#e6bd76;box-shadow:0 14px 40px #0005}
.armour-preview[data-showcase-group="void"]:hover,.armour-preview[data-showcase-group="origin"]:hover{border-color:#c39be9}
.armour-preview:hover img{transform:scale(1.025)}
.home-armour .editorial-link{display:inline-flex;align-items:center;min-height:44px;margin-top:26px}

/* A native, keyboard-accessible portrait rail; no automatic rotation. */
.home-book-theme .dossiers{padding:100px 0 105px;background:#050708}
.home-book-theme .dossiers-header{align-items:end;gap:40px}
.home-book-theme .dossiers-header h2{font:400 clamp(42px,5.4vw,76px)/1.05 Georgia,serif;letter-spacing:-.035em}
.home-book-theme .portal-portrait-grid{display:flex;gap:22px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#b48b4b #15181d;padding:4px 2px 22px;margin:35px -2px 0}
.home-book-theme .portal-portrait-card{position:relative;flex:0 0 clamp(240px,25vw,325px);scroll-snap-align:start;border:1px solid #b68b4959;overflow:hidden;background:#0b0e12;transition:border-color .3s,box-shadow .3s}
.home-book-theme .portal-portrait-card img{aspect-ratio:3/4;height:auto;object-fit:cover;object-position:center top;transition:transform .75s}
.home-book-theme .portal-portrait-card span{position:relative;padding:20px;font:400 27px/1.2 Georgia,serif;background:#090c0f;border-top:1px solid #b68b4940}
.home-book-theme .portal-portrait-card:hover{border-color:#edbd71;box-shadow:0 0 25px #b4822c14}
.home-book-theme .portal-portrait-card:hover img{transform:scale(1.025)}
.portrait-rail-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:23px}
.portrait-rail-footer .adv-link{margin:0}
.portrait-rail-controls{display:flex;align-items:center;gap:12px}
.portrait-rail-controls button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #b68b4980;background:#0b0e11;color:#efc884;font:20px system-ui;cursor:pointer}
.portrait-rail-controls button:hover{background:#292115;border-color:#edbb69}
.portrait-rail-controls button:disabled{opacity:.35;cursor:default}
.portrait-rail-controls [data-portrait-position]{min-width:54px;color:#a89c86;font:10px/1.5 system-ui;letter-spacing:.08em;text-align:center}
.portrait-rail-controls[hidden]{display:none}
.character-portrait{overflow:hidden;transition:box-shadow .35s}
.character-portrait img{transition:transform .75s}
.character-portrait:hover img{transform:scale(1.025)}
.character-portrait:hover,.character-portrait:focus-visible{box-shadow:0 0 0 1px #e5b76a,0 18px 50px #0006}
.characters-index a{position:relative}
.characters-index a:after{content:"";position:absolute;bottom:6px;left:0;right:0;height:1px;background:#d6aa63;transform:scaleX(0);transform-origin:left;transition:transform .25s}
.characters-index a:hover:after{transform:scaleX(1)}
.portrait-viewer{width:min(1100px,94vw);height:92svh;max-height:92svh;max-width:94vw;padding:0;border:1px solid #c39a537d;background:#080b0f;color:#f2e6d1;box-shadow:0 20px 100px #000b}
.portrait-viewer::backdrop{background:#020305ed;backdrop-filter:blur(7px)}
.portrait-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 20px;border-bottom:1px solid #b68b4959}
.portrait-viewer-header h2{font:400 25px/1.2 Georgia,serif;margin:0}
.portrait-viewer-header>div{display:flex;align-items:center;gap:20px}
.portrait-viewer-header a{font:11px/1.5 system-ui;color:#d5b17b}
.portrait-viewer-header button{min-width:44px;min-height:44px;padding:9px 14px;background:#161b22;border:1px solid #b68b4980;color:#f4dab3;font:12px system-ui;cursor:pointer}
.portrait-viewer figure{display:flex;align-items:center;justify-content:center;height:calc(92svh - 80px);margin:0;padding:18px}
.portrait-viewer img{max-width:100%;height:100%;max-height:100%;object-fit:contain;display:block}
html:has(.portrait-viewer[open]){overflow:hidden}

/* Shared gallery frames and a clearer projects page. */
.unit-item,.vision-card,.faction-feature,.public-person-card{transition:border-color .3s,box-shadow .3s,transform .3s}
.unit-item:hover,.vision-card:hover{box-shadow:0 12px 32px #0005}
.unit-group--light .unit-item:hover{border-color:#efcf8a}
.unit-group--void .unit-item:hover,.unit-group--origin .unit-item:hover{border-color:#c195ef}
.vision-card{border-color:#b88c4a59}
.projects-main{padding-top:112px}
.projects-main .public-breadcrumb{display:flex;align-items:center;gap:12px;width:calc(100% - 64px);max-width:1116px;margin:0 auto;color:#a99e8a;font:10px/1.6 system-ui;letter-spacing:.09em}
.projects-main .public-breadcrumb a{color:#dfbb7d}
.projects-main .public-hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:end;gap:65px;max-width:1180px;margin:0 auto;padding:55px 32px 65px}
.projects-main .public-hero h1{font:400 clamp(48px,6.5vw,84px)/1.02 Georgia,serif;letter-spacing:-.035em;color:#f2e8d7;margin:18px 0 0}
.projects-main .public-hero h1 em{color:#dfb573;font-weight:400}
.projects-main .public-intro p{font:15px/1.85 system-ui,sans-serif;color:#c3b9a8;margin:0;max-width:450px}
.projects-main .public-section-alternate{background:#080c10;border-top:1px solid #b48b4b40}
.projects-main .site-signal{display:flex;justify-content:space-between;align-items:center;gap:45px;max-width:1180px;margin:0 auto;padding:65px 32px 75px}
.projects-main .site-signal p{font:15px/1.8 system-ui;color:#bfb5a5;max-width:520px}
.projects-main .site-signal .cta{display:inline-flex;justify-content:space-between;align-items:center;gap:30px;flex:none;min-height:54px;padding:17px 24px;border:1px solid #d7aa5d;color:#15110b;background:linear-gradient(110deg,#efbd68,#c58c36);font:700 11px/1.5 system-ui;letter-spacing:.05em}
.project-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;max-width:1180px;margin:0 auto 70px;padding:0 32px}
.project-card{min-width:0;border:1px solid #b28a4b59;background:#0c1014;overflow:hidden}
.project-card-image{height:310px;position:relative;overflow:hidden}
.project-card-image img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 20%}
.project-card-image:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0c1014,transparent 60%)}
.project-card-copy{position:relative;padding:5px 26px 30px}
.project-status{display:inline-flex;gap:8px;align-items:center;font:10px/1.5 system-ui;letter-spacing:.1em;color:#c5b8a0}
.project-status:before{content:"";width:5px;height:5px;border-radius:50%;background:#a39683}
.project-status.is-live{color:#edc176}.project-status.is-live:before{background:#edc176;box-shadow:0 0 8px #edc17666}
.project-card h2{font:400 clamp(28px,2.7vw,38px)/1.12 Georgia,serif;margin:17px 0 17px;color:#f2e6d2}
.project-card p{font:14px/1.8 system-ui;color:#c0b7a9;margin:0 0 18px}
.project-card a{display:inline-flex;align-items:center;min-height:44px;color:#edc176;font:11px/1.5 system-ui;letter-spacing:.06em}
.projects-main .site-signal h2{font:400 clamp(36px,4.5vw,60px)/1.1 Georgia,serif}
.footer{background:radial-gradient(ellipse at 50% 0,#8b622217,transparent 65%),#040608}

@media(max-width:1180px){:root{--header-height:75px}.site-menu-open{overflow:hidden}.site-header .header-nav{max-height:calc(100svh - var(--header-height));overflow-y:auto}.site-header .header-nav a:after{display:none}.chapter-grid,.armour-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.chapter-image{aspect-ratio:5/4}.chapter-image .chapter-book{padding:20px 55px}.chapter-copy{min-height:150px}.chapter-copy h3{font-size:33px}.armour-preview-image{aspect-ratio:4/4.5}.project-gallery{gap:18px}.project-card-copy{padding:5px 20px 26px}.project-card-image{height:270px}}
@media(max-width:800px){:root{--header-height:66px}.home-book-theme .start-here,.home-armour,.home-book-theme .dossiers{padding:72px 0 80px}.home-book-theme .start-top,.section-introduction{display:block;margin-bottom:30px}.home-book-theme .start-top p,.section-introduction>p{margin-top:22px;max-width:530px}.chapter-image{aspect-ratio:4/5}.chapter-copy{padding:19px;min-height:174px}.chapter-copy h3{font-size:27px}.chapter-image .chapter-book{padding:20px}.home-book-theme .faction-panel{min-height:420px;padding:28px}.home-book-theme .portal-portrait-card{flex-basis:270px}.home-book-theme .portal-portrait-grid{gap:17px}.portrait-rail-footer{align-items:start}.portrait-rail-footer .editorial-link{max-width:210px}.project-gallery{grid-template-columns:1fr;max-width:610px;padding:0 24px}.project-card-image{height:340px}.project-card-copy{padding:7px 26px 30px}.projects-main{padding-top:95px}.portrait-viewer-header{padding:10px 12px;gap:10px}.portrait-viewer-header h2{font-size:21px}.portrait-viewer-header>div{gap:12px}.portrait-viewer-header a{font-size:10px}.back-to-top{right:16px;bottom:16px;width:44px;height:44px}}
@media(max-width:480px){.chapter-grid{grid-template-columns:minmax(0,1fr);gap:23px}.chapter-image{aspect-ratio:5/4}.chapter-image .chapter-book{padding:18px 62px}.chapter-copy{min-height:0;padding:21px 22px 26px}.chapter-copy h3{font-size:32px}.chapter-image .chapter-map{object-position:center}.armour-preview-grid{gap:12px}.armour-preview-image{padding:7px;aspect-ratio:3/4}.armour-preview-caption{padding:15px 12px 18px}.armour-preview h3{font-size:22px}.armour-preview-caption .eyebrow{font-size:8px;letter-spacing:.04em}.armour-preview .group-count{font-size:10px}.portrait-rail-footer{flex-wrap:wrap;gap:20px}.portrait-rail-footer .editorial-link{max-width:none}.home-book-theme .portal-portrait-card{flex-basis:80%}.portrait-viewer-header a{max-width:70px;line-height:1.4}.portrait-viewer figure{padding:10px}.home-book-theme .faction-panel h3{font-size:46px}.home-book-theme .faction-panel .faction-tag{left:24px}.project-card-image{height:290px}}
@media(max-width:800px){.projects-main .public-hero{grid-template-columns:1fr;gap:25px;padding:40px 24px 45px}.projects-main .public-breadcrumb{width:calc(100% - 48px)}.projects-main .site-signal{display:block;padding:50px 24px 60px}.projects-main .site-signal .cta{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.reveal-ready,.chapter-card,.chapter-image img,.armour-preview,.armour-preview img,.portal-portrait-card,.portal-portrait-card img,.character-portrait img,.site-header{transition:none!important;transform:none!important}.reveal-ready.reveal-pending{opacity:1!important}}
