/* ARQANT 2045 / EDITORIAL CIVILIZATION SYSTEM v28
   Hero artwork and chapter architecture are first-party speculative visual fiction.
   Existing economic product data, current/proposed labels, forms and interactive routes remain authoritative.
   Sitewide art direction, not a change to operating authority or commerce. */
:root{--aq28-night:#090d16;--aq28-deep:#111720;--aq28-ivory:#f1ede9;--aq28-gold:#e7cfb6;--aq28-glass:#ced3dd;--aq28-edge:rgba(213,219,224,.23);--aq28-violet:#c0accd;--aq28-display:"Space Grotesk","DM Sans",sans-serif;--aq28-serif:"Instrument Serif",Georgia,serif;--aq28-mono:"IBM Plex Mono",monospace}
body{--aq28-chapter-art:url("/art/arqant-2045-world-v28.svg")}
body[data-arqant-launch="v26"]{--aq22-lime:#e1f6b6;background:var(--aq28-night);color:var(--aq28-ivory)}
body[data-arqant-launch="v26"] #top.site-header{background:#080c15ee;border-bottom-color:#b2aab53b}
body[data-arqant-launch="v26"] #top .brand{font-family:var(--aq28-display);letter-spacing:.16em}
body[data-arqant-launch="v26"] .aq22-hero{background:#070b13;min-height:min(920px,94vh)}
body[data-arqant-launch="v26"] .aq22-hero:before{z-index:-1;background:linear-gradient(90deg,#070c16f9 0%,#080d18df 27%,#090e1775 56%,#070b1250 100%),linear-gradient(0deg,#080d15f5 0%,transparent 23%,transparent 75%,#080d1588)}
body[data-arqant-launch="v26"] .aq22-portrait{left:0;top:0;bottom:0;width:100%;mask-image:none;opacity:.99;z-index:-2}
body[data-arqant-launch="v26"] .aq22-portrait img{object-position:60% 48%;transform:none;filter:contrast(1.06) saturate(.75) brightness(.75)}
body[data-arqant-launch="v26"] .aq22-hero-inner{min-height:min(850px,89vh);grid-template-columns:minmax(0,1fr);padding-top:clamp(72px,11vh,140px);padding-bottom:80px;align-items:center}
body[data-arqant-launch="v26"] .aq22-story{max-width:880px}
body[data-arqant-launch="v26"] .aq22-story h1{font:680 clamp(57px,7.3vw,134px)/.91 var(--aq28-display);letter-spacing:-.087em;max-width:870px;margin:28px 0 27px;text-wrap:balance}
body[data-arqant-launch="v26"] .aq22-story h1 em{font:400 1.03em/.9 var(--aq28-serif);text-transform:none;letter-spacing:-.052em;color:#e7d9de}
body[data-arqant-launch="v26"] .aq22-lead{font:400 clamp(21px,2.05vw,35px)/1.13 var(--aq28-serif);color:#f3e9e7;max-width:550px}
body[data-arqant-launch="v26"] .aq22-lead strong{font-weight:400;color:#f3e9e7}
body[data-arqant-launch="v26"] .aq22-sublead{font:400 clamp(13px,1.05vw,16px)/1.55 "DM Sans",sans-serif;color:#e7e1e6;max-width:440px}
body[data-arqant-launch="v26"] .aq22-actions a,body[data-arqant-launch="v26"] #top .header-cta{border-radius:2px;letter-spacing:.015em}
body[data-arqant-launch="v26"] .aq22-primary,body[data-arqant-launch="v26"] #top .header-cta{background:#e9ede3;border-color:#e9ede3;color:#10181d!important}
body[data-arqant-launch="v26"] .aq22-secondary{background:#080e18b0;border-color:#e9e6de91}
body[data-arqant-launch="v26"] .aq22-keywords{font-size:9px;color:#ddd6e2}
body[data-arqant-launch="v26"] .aq22-bottomline{border-top:1px solid #ffffff3d;color:#ddd5df;max-width:none}
body[data-arqant-launch="v26"] #aq22-doorways{background:#f2efe9;padding-top:48px;padding-bottom:22px;border-color:#a3a8a3}
body[data-arqant-launch="v26"] #aq22-doorways .aq22-door-heading h2{font:400 clamp(41px,5vw,79px)/1 var(--aq28-serif);letter-spacing:-.04em;color:#101617}
body[data-arqant-launch="v26"] #aq22-doorways .aq22-door-heading>span{color:#323f44}
body[data-arqant-launch="v26"] #aq22-doorways .aq22-door-card{border-radius:2px;overflow:hidden;border:1px solid #64737a54;background:#111a22;color:#f7f1e9;box-shadow:none}
body[data-arqant-launch="v26"] #aq22-doorways .aq22-door-image{position:relative}
body[data-arqant-launch="v26"] #aq22-doorways .aq22-door-image img{object-fit:cover;filter:contrast(1.04) saturate(.7)}
body[data-arqant-launch="v26"] #aq22-doorways .aq22-door-copy h3{font-family:var(--aq28-serif);font-weight:400;letter-spacing:-.035em}
body[data-arqant-launch="v26"] #aq22-doorways .aq22-door-copy p{color:#d7dde1;line-height:1.45}
body[data-arqant-launch="v26"] #aq22-doorways .aq22-door-card:hover{border-color:#d3cad4}
body[data-arqant-launch="v26"] :where(.v26-chapter,.v27-society){border-color:#acb9c43b}
body[data-arqant-launch="v26"] .v26-origin{background:#090f18}
body[data-arqant-launch="v26"] .v26-origin-media img{filter:contrast(1.04) saturate(.86);opacity:.98}
body[data-arqant-launch="v26"] .v26-origin::before{background:linear-gradient(90deg,#070c14f2,#090e169c 36%,transparent 84%),linear-gradient(0deg,#080c14bb,transparent 45%)}
body[data-arqant-launch="v26"] .v26-economy{background:radial-gradient(ellipse at 76% 42%,#b4a8bf1f,transparent 50%),linear-gradient(120deg,#0d131c,#202333 65%,#10121e)}
body[data-arqant-launch="v26"] .v26-economy:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.28;background-image:url("/art/arqant-2045-capital-v28.svg");background-size:cover;background-position:66% center;mask-image:linear-gradient(90deg,transparent 20%,#000 78%)}
body[data-arqant-launch="v26"] .v27-society{background:linear-gradient(135deg,#10121d,#1c2031)}
body[data-arqant-launch="v26"] .v27-cast-item{min-height:400px;border-radius:2px;background:#111623!important;box-shadow:none}
body[data-arqant-launch="v26"] .v27-cast-item:before{inset:0;width:auto;height:auto;transform:none;border:0;border-radius:0;box-shadow:none;background-image:linear-gradient(0deg,#090c16e8,transparent 80%),url("/art/arqant-2045-council-v28.svg");background-size:cover;background-position:center;opacity:.66}
body[data-arqant-launch="v26"] .v27-cast-item:nth-child(2):before{background-position:57% center;filter:hue-rotate(18deg)}
body[data-arqant-launch="v26"] .v27-cast-item:nth-child(3):before{background-position:85% center;filter:hue-rotate(-18deg)}
body[data-arqant-launch="v26"] .v27-cast-item:after{display:none}
body[data-arqant-launch="v26"] .v27-cast-item strong{font-size:clamp(69px,8vw,128px);letter-spacing:-.085em;text-shadow:0 4px 22px #0008}
body[data-arqant-launch="v26"] .v26-questions{background-color:#111622}
body[data-arqant-launch="v26"] .v26-chronicle{background:radial-gradient(ellipse at 90% 40%,#c7adc71c,transparent 58%),#0b1019}
body[data-arqant-launch="v26"] .v26-genesis{background:linear-gradient(120deg,#0b1019,#192233)}
body[data-arqant-launch="v26"] .v26-genesis:before{content:"";position:absolute;inset:0;pointer-events:none;background:url("/art/arqant-2045-genesis-v28.svg") 75% center/cover no-repeat;opacity:.3;mask-image:linear-gradient(90deg,transparent 20%,#000)}
body[data-arqant-launch="v26"] .v26-chapter h2 em{color:#d8c4cf}
body[data-arqant-launch="v26"] .v28-explorer-scene{position:relative;isolation:isolate;padding:clamp(54px,7vw,115px) clamp(22px,6vw,95px);background:#e9e9e5;color:#111c20}
body[data-arqant-launch="v26"] .v28-explorer-scene:before{content:"";position:absolute;inset:0 0 auto;height:360px;background:url("/art/arqant-2045-capital-v28.svg") center 55%/cover no-repeat;opacity:.23;z-index:-1}
body[data-arqant-launch="v26"] .v28-explorer-intro{max-width:1280px;margin:0 auto 25px;display:flex;gap:25px;align-items:flex-end;justify-content:space-between}
body[data-arqant-launch="v26"] .v28-explorer-intro h2{font:400 clamp(45px,6vw,90px)/.91 var(--aq28-serif);letter-spacing:-.04em;margin:15px 0;color:#111d26}
body[data-arqant-launch="v26"] .v28-explorer-intro p{font:400 13px/1.55 var(--aq28-display);max-width:280px;color:#303c44}
body[data-arqant-launch="v26"] .v28-explorer-scene .aq22-explorer-area{max-width:1280px;margin:0 auto;position:relative}
body[data-arqant-launch="v26"] .v28-explorer-scene .aq22-explorer-area .aq-explorer{border-radius:3px;box-shadow:0 21px 45px #131a2335;background:#0b121a}
body[data-arqant-launch="v26"] .v28-explorer-scene .aq22-explorer-area .aq-result[data-aq-tone="agent"]::before{background-image:linear-gradient(60deg,#262842d6,#37284280),url("/art/arqant-2045-council-v28.svg")!important;filter:none}
body[data-arqant-launch="v26"] .v28-explorer-scene .aq22-explorer-area .aq-result{border-radius:2px}
body[data-arqant-launch="v26"] .v28-vision-note{color:#b9b8c2;font:500 9px/1.4 var(--aq28-mono);letter-spacing:.11em}
body[data-arqant-launch="v26"] .aq22-chronicle{border-color:#8c9596}
body[data-arqant-launch="v26"] .site-footer{background:#080d16}
body[data-arqant-launch="v26"] :where(a,button,input,textarea,select):focus-visible{outline:3px solid #e1f6b6;outline-offset:3px}
/* Shared institutional styling: the operational interfaces remain readable, not theatrical. */
body[data-arqant-surface="editorial"],body[data-arqant-page="whitepaper"],body.adoc-page,body[data-arqant-surface="member"]{--aq28-night:#0b101a}
body[data-arqant-surface="editorial"] :where(header,nav.site-nav),body.adoc-page :where(header,.adoc-header){backdrop-filter:blur(16px);border-bottom-color:#b9bcc43c}
body[data-arqant-surface="editorial"] main>section:first-of-type,body.adoc-page main>section:first-of-type{background-image:linear-gradient(90deg,#080e17e8,#0b111b5c),url("/art/arqant-2045-world-v28.svg");background-size:cover;background-position:center}
body[data-arqant-surface="editorial"] :where(h1,h2),body.adoc-page :where(h1,h2){text-wrap:balance}
body[data-arqant-surface="editorial"] :where(.hero,.editorial-hero,.page-hero){position:relative;isolation:isolate}
body[data-arqant-surface="member"] :where(main,.member-shell){background-image:radial-gradient(ellipse at 80% 0,#a79ab71f,transparent 52%)}
body[data-civilization] .cx-world-art{object-fit:cover;filter:contrast(1.06) saturate(.8)}
body.cx[data-civilization] .cx-world-hero{background:#0c1019}
body.cx[data-civilization] .cx-world-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0b1119e8,#0b111981 55%,#0b111911);pointer-events:none;z-index:1}
body.cx[data-civilization] .cx-world-hero-copy,body.cx[data-civilization] .cx-world-hero-tail{z-index:2;position:relative}
body.cx[data-civilization] .cx-world-map{background:linear-gradient(135deg,#111722e0,#202a35e0),url("/art/arqant-2045-capital-v28.svg") center/cover}
body.cx[data-civilization] .cx-final-invite{background-image:linear-gradient(110deg,#101821ef,#0a111b95),url("/art/arqant-2045-genesis-v28.svg");background-size:cover;background-position:center}
body[data-arqant-surface="operator"]{--aq28-operation:#10171c}
body[data-arqant-surface="operator"] :where(header,.agentos-shell){border-color:#8ea0a63a}
body[data-arqant-surface="operator"] :where(main,.operator-shell){background-image:radial-gradient(ellipse at 90% 0%,#8791a71b,transparent 45%)}
body:not([data-arqant-launch]):not([data-arqant-full]) .aq28-world-band{height:clamp(200px,32vw,440px);background:url("/art/arqant-2045-world-v28.svg") center/cover no-repeat}
body:not([data-arqant-launch]):not([data-arqant-full]) .aq28-world-band[aria-hidden="true"]{pointer-events:none}
@media(max-width:1050px){body[data-arqant-launch="v26"] .aq22-hero-inner{min-height:760px}body[data-arqant-launch="v26"] .aq22-story h1{font-size:clamp(57px,9vw,108px)}body[data-arqant-launch="v26"] .aq22-portrait img{object-position:64% center}}
@media(max-width:700px){body[data-arqant-launch="v26"] .aq22-hero{min-height:730px}body[data-arqant-launch="v26"] .aq22-hero-inner{min-height:650px;padding-top:88px;padding-bottom:65px;grid-template-columns:1fr}body[data-arqant-launch="v26"] .aq22-portrait img{object-position:66% center;filter:contrast(1.05) saturate(.68) brightness(.59)}body[data-arqant-launch="v26"] .aq22-hero:before{background:linear-gradient(90deg,#070c16f0,#080d18aa 68%,#080d1870),linear-gradient(0deg,#080d15f2 0%,transparent 44%)}body[data-arqant-launch="v26"] .aq22-story h1{font-size:clamp(52px,11.5vw,84px);letter-spacing:-.08em}body[data-arqant-launch="v26"] .aq22-lead{font-size:25px}body[data-arqant-launch="v26"] .aq22-keywords{display:none}body[data-arqant-launch="v26"] .aq22-story .aq22-sublead{font-size:12px}body[data-arqant-launch="v26"] .v28-explorer-intro{display:block}body[data-arqant-launch="v26"] .v28-explorer-scene{padding:52px 18px}body[data-arqant-launch="v26"] .v28-explorer-scene .aq22-explorer-area{width:100%}body[data-arqant-launch="v26"] .v27-cast-item{min-height:290px}body[data-arqant-launch="v26"] .v27-cast-item strong{font-size:85px}}
@media(prefers-reduced-motion:reduce){body[data-arqant-launch="v26"] :where(.aq22-door-card,.v27-cast-item,.aq22-actions a){transition:none!important}}

/* Route-level sets: architectural atmosphere follows the visitor into working products. */
body[data-arqant-surface="editorial"] .hero{background-image:linear-gradient(90deg,#090e18f1 0%,#121a23e0 40%,#131a2659),url("/art/arqant-2045-capital-v28.svg")!important;background-size:cover!important;background-position:center!important}
body[data-arqant-surface="editorial"] .hero :where(h1,h2){color:#f8f4ee}
body[data-arqant-surface="editorial"] .hero :where(p,.overline){color:#e4e5e1}
body[data-arqant-surface="editorial"] .hero .hero-actions :where(a,button){border-radius:2px}
body[data-arqant-surface="editorial"] main>.panel:nth-of-type(odd){background-image:radial-gradient(ellipse at 100% 0%,#9b9ba91c,transparent 60%)}
body[data-arqant-surface="editorial"] :where(.card,.panel){box-shadow:none}
body[data-arqant-surface="editorial"] :where(.card,.panel) :where(h2,h3){letter-spacing:-.038em}
body[data-arqant-surface="editorial"] :where(.card,.panel):focus-within{outline-offset:3px}
body[data-arqant-surface="editorial"] :where(input,textarea,select){max-width:100%}
body[data-arqant-surface="editorial"] :where(a,button,input,select,textarea):focus-visible{outline:3px solid #d3ebac;outline-offset:3px}
/* Community: the council is an institution, not another blue SaaS dashboard. */
body[data-arqant-community-pulse] .council-hero{position:relative;isolation:isolate;background-image:linear-gradient(100deg,#0b111cee,#111924b2 62%,#13162430),url("/art/arqant-2045-council-v28.svg")!important;background-size:cover!important;background-position:center!important}
body[data-arqant-community-pulse] .council-hero .hero-story{position:relative;z-index:2}
body[data-arqant-community-pulse] .portal-stage{border-color:#cbd0d148;box-shadow:0 30px 80px #0006}
/* Members: preserve current identity / participation data, transform the welcome chapter. */
body[data-arqant-surface="member"] .intro{position:relative;isolation:isolate;background-image:linear-gradient(90deg,#09111aee,#101625e0 55%,#11192766),url("/art/arqant-2045-genesis-v28.svg");background-position:center;background-size:cover;border:1px solid #a4aab848;min-height:clamp(300px,38vw,500px);padding:clamp(27px,5vw,75px)}
body[data-arqant-surface="member"] .intro :where(h1,h2){color:#f2f1ed;text-shadow:0 4px 25px #0008}
body[data-arqant-surface="member"] .intro :where(p,.eyebrow){color:#dad9df}
body[data-arqant-surface="member"] .panel{border-radius:3px}
body[data-arqant-surface="member"] :where(button,a,input):focus-visible{outline:3px solid #d7eead;outline-offset:3px}
/* Original character library keeps its real chat/forms, but now lives inside the same visual world. */
body.cx[data-civilization="characters"] .cx-society-hero{background-image:linear-gradient(95deg,#0a1019e8,#0b10188a 54%,#0a111733),url("/art/arqant-2045-council-v28.svg");background-size:cover;background-position:center;position:relative}
body.cx[data-civilization="characters"] .cx-society-hero .cx-society-hero-content{position:relative;z-index:2}
body.cx[data-civilization="characters"] .cx-three-origins{mix-blend-mode:screen;opacity:.75}
body.cx[data-civilization="characters"] .cx-founders-grid>*{border-radius:2px}
body.cx[data-civilization="tree"] .cx-tree-hero{background:#0b111a}
body.cx[data-civilization="tree"] .cx-tree-art{filter:saturate(.68) contrast(1.12)}
/* Cultureverse and join experience remain interactive. The setting changes, not the workflow. */
body[data-arqant-surface="culture"] .art-zone{background-image:linear-gradient(0deg,#090e19ef,#0a101bc7 27%,#1218266a),url("/art/arqant-2045-council-v28.svg");background-position:center;background-size:cover}
body[data-arqant-surface="culture"] .art-zone:after{background:linear-gradient(120deg,transparent,#d8c8db13);opacity:.4}
body[data-arqant-surface="culture"] .art-zone h1{font-family:var(--aq28-display);text-shadow:0 10px 35px #0009}
body[data-arqant-surface="culture"] .art-zone :where(p,.tiny){color:#ece6e9}
body[data-arqant-surface="culture"] :where(.frequency,.glyph,.button){border-radius:2px}
body[data-arqant-surface="culture"] .journey{background:#0d1420}
body[data-arqant-surface="participate"]{background:#0b111b;color:#eeede8}
body[data-arqant-surface="participate"] .content{background-image:linear-gradient(160deg,#111a24f5,#1c202de5)}
body[data-arqant-surface="participate"] .world{background-image:linear-gradient(90deg,#0b111be8,#0b111b55),url("/art/arqant-2045-capital-v28.svg");background-size:cover;background-position:center}
/* Documentation is still documentation, but not a disjoint white PDF website. */
body.adoc-page .adoc-main{position:relative}
body.adoc-page .adoc-main:before{content:"";display:block;height:clamp(145px,23vw,290px);background:linear-gradient(90deg,#080f19c8,#12192a35),url("/art/arqant-2045-world-v28.svg") 56% 45%/cover no-repeat;margin-bottom:clamp(18px,3vw,40px);border:1px solid #c9ccd52f}
body.adoc-page .adoc-header{background:#0d131c}
body[data-arqant-page="whitepaper"] .hero{background-image:linear-gradient(100deg,#0c111cdb,#11172586),url("/art/arqant-2045-capital-v28.svg");background-size:cover;background-position:center}
body[data-arqant-surface="operator"] main{position:relative}
body[data-arqant-surface="operator"] main:before{content:"";display:block;height:90px;margin-bottom:25px;background:linear-gradient(90deg,#0b141ded,#0b141d61),url("/art/arqant-2045-capital-v28.svg") 60% 45%/cover no-repeat;border:1px solid #9cacc032}
body[data-arqant-surface="operator"] .panel{box-shadow:none;border-radius:3px}
@media(max-width:700px){
 body[data-arqant-launch="v26"] .aq22-story h1{font-size:clamp(39px,10vw,64px);overflow-wrap:normal}
 body[data-arqant-launch="v26"] .aq22-story h1 em{font-size:.96em}
 body[data-arqant-surface="member"] .intro{padding:30px 24px}
 body[data-arqant-surface="editorial"] .hero{background-position:62% center!important}
 body.adoc-page .adoc-main:before{height:150px}
 body[data-arqant-surface="operator"] main:before{height:62px}
}

/* V31 regression fix: canonical hero-to-doors editorial seam at 320px.
 * V28's ID selector overrode the scoped v31 spacing rule at narrow widths. */
@media(max-width:360px){
 body[data-arqant-launch="v26"] #aq22-doorways{padding-top:16px}
}
