/* ARQANT UNIFIED IDENTITY V31: non-destructive, original Web3 editorial design. */
:root{--aq31-ink:#090e10;--aq31-surface:#151d20;--aq31-paper:#f2efe8;--aq31-lime:#d7ff46;--aq31-line:#b8c7b43d;--aq31-mono:"IBM Plex Mono",monospace;--aq31-display:Manrope,"Space Grotesk","DM Sans",sans-serif}
body[data-arqant-v31]{--aq22-lime:var(--aq31-lime);--mint:var(--aq31-lime);--accent:var(--aq31-lime);--aq30-signal:var(--aq31-lime);-webkit-font-smoothing:antialiased}
body[data-arqant-v31] a,body[data-arqant-v31] button{transition:color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease}
body[data-arqant-v31] :is(a,button,input,textarea,summary):focus-visible{outline:2px solid var(--aq31-lime);outline-offset:3px}
body[data-arqant-v31] :is(.site-header,.cx-header,.topbar,.navbar,.site-nav){backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom-color:var(--aq31-line)}
body[data-arqant-v31] :is(.cx-world-hero img,.cx-tree-hero img,.cx-society-hero img,.v14-journey){filter:saturate(.62) contrast(1.08)}
/* Main economic thesis — first fold, not the 2045 fictional chapter */
body[data-arqant-v31="home"] #top.site-header{position:relative;z-index:20;background:#090e10f0;border-bottom:1px solid var(--aq31-line)}
body[data-arqant-v31="home"] #top .header-inner{width:min(1560px,100%);max-width:none;margin:auto;padding-inline:clamp(18px,3vw,60px);gap:clamp(10px,1.4vw,23px)}
body[data-arqant-v31="home"] #top .aq19-header-descriptor{display:none}
body[data-arqant-v31="home"] #top .desktop-nav{gap:clamp(10px,1.3vw,22px)}
body[data-arqant-v31="home"] #top .desktop-nav a{font:600 12px var(--aq31-display);color:#e9ebe6;white-space:nowrap}
body[data-arqant-v31="home"] #top .desktop-nav a:hover{color:var(--aq31-lime)}
body[data-arqant-v31="home"] #top .header-cta{background:var(--aq31-lime);color:#101710;border:1px solid var(--aq31-lime);box-shadow:none;border-radius:8px;white-space:nowrap;padding:12px 20px}
body[data-arqant-v31="home"] .aq22-hero{position:relative;isolation:isolate;min-height:740px;background:var(--aq31-ink);overflow:hidden}
body[data-arqant-v31="home"] .aq22-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#090e10fb 0%,#090e10e8 27%,#090e1088 51%,#090e1055 72%,#090e10d9 100%),linear-gradient(0deg,#090e10f6,transparent 34%,transparent 80%,#090e1077);pointer-events:none}
body[data-arqant-v31="home"] .aq22-portrait{position:absolute;inset:0;left:0;top:0;width:100%;height:100%;mask-image:none;opacity:.8;z-index:-2}
body[data-arqant-v31="home"] .aq22-portrait img{width:100%;height:100%;object-fit:cover;object-position:54% 47%;filter:saturate(.7) contrast(1.15) brightness(.76);transform:none}
body[data-arqant-v31="home"] .aq22-hero-inner{display:grid;grid-template-columns:minmax(0,1.07fr) minmax(340px,.93fr);align-items:center;gap:clamp(22px,4vw,70px);max-width:1600px;width:100%;min-height:690px;padding:clamp(66px,6vw,112px) clamp(18px,3vw,60px) 76px;margin:auto;box-sizing:border-box}
body[data-arqant-v31="home"] .aq22-story{max-width:730px;padding:15px 0;z-index:2}
body[data-arqant-v31="home"] .aq22-eyebrow{display:flex;align-items:center;gap:12px;font:600 10px/1.5 var(--aq31-mono);color:#d5dfd7;letter-spacing:.14em;text-transform:uppercase;margin:0 0 26px}
body[data-arqant-v31="home"] .aq22-eyebrow:before{content:"";height:3px;width:28px;background:var(--aq31-lime)}
body[data-arqant-v31="home"] .aq22-eyebrow i{display:none}
body[data-arqant-v31="home"] .aq22-story h1{font:830 clamp(42px,5.35vw,87px)/.99 var(--aq31-display);letter-spacing:-.077em;color:#f5f5f0;text-transform:uppercase;max-width:760px;margin:0 0 24px;text-wrap:balance}
body[data-arqant-v31="home"] .aq22-story h1 em{display:inline-block;background:var(--aq31-lime);color:#10160c;font:850 1em/1.05 var(--aq31-display);letter-spacing:-.075em;padding:0 .08em .045em;margin-top:.08em}
body[data-arqant-v31="home"] .aq22-lead{font:600 clamp(17px,1.4vw,22px)/1.4 var(--aq31-display);color:#f3f5f0;max-width:555px;margin:0 0 14px}
body[data-arqant-v31="home"] .aq22-sublead{font:400 clamp(13px,1.05vw,16px)/1.75 "DM Sans",sans-serif;color:#d0d7d0;max-width:550px;margin:0 0 20px}
body[data-arqant-v31="home"] .aq22-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
body[data-arqant-v31="home"] .aq22-actions a{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;min-height:50px;padding:14px 21px;border:1px solid #e3ede0a8;border-radius:9px;font:700 13px var(--aq31-display);box-shadow:none;text-decoration:none}
body[data-arqant-v31="home"] .aq22-actions a:first-child{background:var(--aq31-lime);border-color:var(--aq31-lime);color:#151a0d}
body[data-arqant-v31="home"] .aq22-actions a:hover{transform:translateY(-2px)}
body[data-arqant-v31="home"] .aq22-keywords{display:flex;flex-wrap:wrap;gap:12px;color:#c3d0c3;font:500 10px/1.6 var(--aq31-mono);margin-top:23px}
body[data-arqant-v31="home"] .aq22-keywords span{border-right:1px solid #bdcebc73;padding-right:12px}
body[data-arqant-v31="home"] .aq22-explorer-area{position:relative;z-index:4;max-width:540px;width:100%;margin:0;align-self:center;justify-self:end;background:linear-gradient(155deg,#171e20eb,#090e11f2);border:1px solid #d5e3d366;border-radius:15px;box-shadow:0 35px 90px #0008;backdrop-filter:blur(20px);overflow:hidden}
body[data-arqant-v31="home"] .aq22-explorer-shell{max-width:none;min-width:0;width:100%;padding:clamp(14px,1.7vw,24px);margin:0}
body[data-arqant-v31="home"] .aq22-explorer-caption{display:none}
body[data-arqant-v31="home"] .aq21-economy-directory{width:100%;max-width:none;margin:0}
body[data-arqant-v31="home"] .aq-explorer{min-height:0;padding:0;background:transparent;border:0;box-shadow:none}
body[data-arqant-v31="home"] .aq-explorer-head h2{font:750 clamp(20px,2vw,29px)/1.13 var(--aq31-display);letter-spacing:-.055em;margin:8px 0 0;color:#f1f5ef}
body[data-arqant-v31="home"] .aq-explorer-head{margin-bottom:16px}
body[data-arqant-v31="home"] .aq-filterbar{gap:8px;min-height:44px}
body[data-arqant-v31="home"] .aq-tabs button[aria-selected="true"]{background:var(--aq31-lime);border-color:var(--aq31-lime);color:#10170e}
body[data-arqant-v31="home"] .aq-results{max-height:255px;overflow:auto}
body[data-arqant-v31="home"] .aq-work-prompt{background:#18241e;border-radius:8px;margin-top:15px}
body[data-arqant-v31="home"] .aq22-bottomline{background:#0b1113eb;min-height:55px;color:#c6d0c5}
body[data-arqant-v31="home"] .aq31-platform{background:#0e1518;color:#eef2eb;border-block:1px solid var(--aq31-line);padding:25px clamp(18px,4vw,66px)}
body[data-arqant-v31="home"] .aq31-platform-inner{max-width:1500px;margin:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
body[data-arqant-v31="home"] .aq31-platform a{padding:10px 22px;display:flex;flex-direction:column;gap:5px;min-width:0;border-right:1px solid var(--aq31-line);text-decoration:none}
body[data-arqant-v31="home"] .aq31-platform a:first-child{padding-left:0}
body[data-arqant-v31="home"] .aq31-platform a:last-child{border-right:0}
body[data-arqant-v31="home"] .aq31-platform small{font:600 10px var(--aq31-mono);color:var(--aq31-lime)}
body[data-arqant-v31="home"] .aq31-platform strong{font:720 clamp(13px,1.1vw,18px) var(--aq31-display);color:#f3f5ef}
body[data-arqant-v31="home"] .aq31-platform span{font:400 11px/1.5 "DM Sans",sans-serif;color:#acb9b0}
body[data-arqant-v31="home"] .aq22-doorways{background:#f2f0e9;color:#121817;padding:clamp(55px,5vw,90px) clamp(18px,4vw,66px)}
body[data-arqant-v31="home"] .aq22-door-heading{max-width:1500px;margin:0 auto 29px}
body[data-arqant-v31="home"] .aq22-door-heading h2{font:760 clamp(28px,3.3vw,54px)/1.1 var(--aq31-display);letter-spacing:-.06em;color:#111717}
body[data-arqant-v31="home"] .aq22-door-grid{max-width:1500px;margin:auto;gap:14px}
body[data-arqant-v31="home"] .aq22-door-card{background:#faf9f5;border:1px solid #c8d0c5;border-radius:10px;box-shadow:none;overflow:hidden}
body[data-arqant-v31="home"] .aq22-door-card:hover{transform:translateY(-3px);border-color:#789078}
body[data-arqant-v31="home"] .aq22-door-image img{filter:contrast(1.08) saturate(.5)}
body[data-arqant-v31="home"] .aq22-door-copy h3{font:750 clamp(20px,2vw,32px)/1.12 var(--aq31-display);letter-spacing:-.05em;color:#131a17}
body[data-arqant-v31="home"] .aq22-door-copy p{color:#4e5b53}
body[data-arqant-v31="home"] .aq22-chronicle{max-width:1500px;margin:28px auto 0}
/* A consistent navigation across public product, research and society pages */
body[data-arqant-v31] .aq31-network{background:#0c1315;color:#f2f3ec;padding:clamp(30px,4.5vw,62px) clamp(18px,4vw,66px);border-block:1px solid var(--aq31-line);font-family:var(--aq31-display)}
body[data-arqant-v31] .aq31-network-inner{max-width:1470px;margin:auto}
body[data-arqant-v31] .aq31-network-top{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding-bottom:24px;border-bottom:1px solid var(--aq31-line)}
body[data-arqant-v31] .aq31-network-kicker{font:600 10px var(--aq31-mono);letter-spacing:.14em;color:var(--aq31-lime)}
body[data-arqant-v31] .aq31-network h2{font:760 clamp(23px,3vw,42px)/1.14 var(--aq31-display);letter-spacing:-.05em;margin:8px 0 0;color:#eef1eb}
body[data-arqant-v31] .aq31-network-note{font:400 13px/1.6 "DM Sans",sans-serif;color:#abbab1;margin:0;max-width:390px}
body[data-arqant-v31] .aq31-network-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
body[data-arqant-v31] .aq31-network-grid a{display:flex;flex-direction:column;gap:8px;text-decoration:none;padding:23px 18px;border-right:1px solid var(--aq31-line);min-width:0}
body[data-arqant-v31] .aq31-network-grid a:first-child{padding-left:0}
body[data-arqant-v31] .aq31-network-grid a:last-child{border-right:0}
body[data-arqant-v31] .aq31-network-grid small{font:600 10px var(--aq31-mono);color:var(--aq31-lime);letter-spacing:.1em}
body[data-arqant-v31] .aq31-network-grid strong{font:730 16px/1.4 var(--aq31-display);color:#eef2eb}
body[data-arqant-v31] .aq31-network-grid span{font:400 12px/1.6 "DM Sans",sans-serif;color:#a5b4ab}
body[data-arqant-v31] .aq31-network-grid a:hover strong{color:var(--aq31-lime)}
body[data-arqant-v31="console"]{--aq21-bg:#0b1014;--aq21-nav:#10181c;--aq21-panel:#151f25;--aq21-border:#2d3b3d;--aq21-text:#f1f2ed;--mint:var(--aq31-lime)}
body[data-arqant-v31="console"] .aq21-console-command textarea:disabled{cursor:not-allowed;opacity:.65}
body[data-arqant-v31="account"]{--accent:var(--aq31-lime)}
body[data-arqant-v31="economy"] .v14-journey{filter:saturate(.65)}
@media(max-width:1100px){
body[data-arqant-v31="home"] .aq22-hero-inner{grid-template-columns:minmax(0,1fr) minmax(315px,.97fr);gap:18px}
body[data-arqant-v31="home"] .aq22-story h1{font-size:clamp(42px,5.2vw,66px)}
body[data-arqant-v31] .aq31-network-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-arqant-v31] .aq31-network-grid a:nth-child(3){border-right:0}
}
@media(max-width:800px){
body[data-arqant-v31="home"] .aq22-hero{min-height:0}
body[data-arqant-v31="home"] .aq22-hero-inner{grid-template-columns:1fr;min-height:0;padding:62px 25px 40px;gap:30px}
body[data-arqant-v31="home"] .aq22-hero:before{background:linear-gradient(180deg,#090e10cb 0%,#090e10bb 37%,#090e10f4 75%,#090e10 100%)}
body[data-arqant-v31="home"] .aq22-story{max-width:700px}
body[data-arqant-v31="home"] .aq22-story h1{font-size:clamp(43px,8vw,70px)}
body[data-arqant-v31="home"] .aq22-explorer-area{max-width:none;justify-self:stretch}
body[data-arqant-v31="home"] .aq31-platform-inner{grid-template-columns:repeat(3,1fr)}
body[data-arqant-v31="home"] .aq31-platform a:nth-child(3){border-right:0}
body[data-arqant-v31] .aq31-network-top{display:block}
body[data-arqant-v31] .aq31-network-note{margin-top:12px}
}
@media(max-width:520px){
body[data-arqant-v31="home"] .aq22-hero-inner{padding:45px 17px 27px}
body[data-arqant-v31="home"] .aq22-story h1{font-size:clamp(35px,10.4vw,49px)}
body[data-arqant-v31="home"] .aq22-lead{font-size:16px}
body[data-arqant-v31="home"] .aq22-sublead{font-size:13px}
body[data-arqant-v31="home"] .aq22-actions{flex-direction:column}
body[data-arqant-v31="home"] .aq22-actions a{width:100%}
body[data-arqant-v31="home"] .aq22-keywords{gap:6px;font-size:9px}
body[data-arqant-v31="home"] .aq22-explorer-shell{padding:14px}
body[data-arqant-v31="home"] .aq-results{max-height:240px}
body[data-arqant-v31="home"] .aq31-platform-inner{grid-template-columns:repeat(2,1fr)}
body[data-arqant-v31="home"] .aq31-platform a{padding:13px 10px}
body[data-arqant-v31="home"] .aq31-platform a:nth-child(3){border-right:1px solid var(--aq31-line)}
body[data-arqant-v31="home"] .aq31-platform a:nth-child(even){border-right:0}
body[data-arqant-v31] .aq31-network-grid{grid-template-columns:repeat(2,1fr)}
body[data-arqant-v31] .aq31-network-grid a{padding:18px 11px}
body[data-arqant-v31] .aq31-network-grid a:nth-child(3){border-right:1px solid var(--aq31-line)}
body[data-arqant-v31] .aq31-network-grid a:nth-child(even){border-right:0}
}
@media(prefers-reduced-motion:reduce){body[data-arqant-v31] a,body[data-arqant-v31] button{transition:none}body[data-arqant-v31="home"] .aq22-actions a:hover,body[data-arqant-v31="home"] .aq22-door-card:hover{transform:none}}

/* Chronicle — a deliberately responsive editorial title, never a clipped scroll layout. */
@media(max-width:580px){
body[data-arqant-chronicle="v1"][data-arqant-v31] .masthead h1{font-size:clamp(38px,10.8vw,52px);letter-spacing:-.076em;overflow-wrap:break-word}
body[data-arqant-chronicle="v1"][data-arqant-v31] :is(.masthead,.masthead-copy,.registers,.register-panel,.chron-feed,.chron-event,.closing){max-width:100%;min-width:0}
body[data-arqant-chronicle="v1"][data-arqant-v31] .wordmark{letter-spacing:.1em}
}

/* Responsive Chronicle: previous 680px absolute glow extended 120px off the viewport. */
@media(max-width:580px){body[data-arqant-chronicle="v1"][data-arqant-v31] .masthead:before{left:0;right:0;width:100%;max-width:100%;height:100%}}

/* Publicly authored architectural first-fold art, not an AI fantasy character. */
body[data-arqant-v31="home"] .aq22-portrait img{object-position:58% 50%;filter:saturate(.72) contrast(1.05) brightness(.9)}

/* V31: remove generic face-stock from real source records. These are designed roles,
   not verified human/agent portraits. Every surface uses distinct first-party ARQANT art. */
body[data-arqant-v31="home"][data-arqant-full="v22"] .aq22-explorer-area #explorer.aq-explorer{background:transparent;border:0;box-shadow:none;border-radius:0;min-height:0;padding:0}
body[data-arqant-v31="home"][data-arqant-full="v22"] .aq22-explorer-area .aq-result[data-aq-tone="agent"]:nth-child(1)::before{background-image:linear-gradient(0deg,#070e13d9,#13201b65),url("/art/arqant-2045-council-v28.svg");filter:saturate(.68) contrast(1.06);background-position:center;background-size:cover}
body[data-arqant-v31="home"][data-arqant-full="v22"] .aq22-explorer-area .aq-result[data-aq-tone="agent"]:nth-child(2)::before{background-image:linear-gradient(0deg,#070e13d9,#19251b62),url("/art/arqant-2045-capital-v28.svg");filter:saturate(.65) contrast(1.08);background-position:center;background-size:cover}
body[data-arqant-v31="home"][data-arqant-full="v22"] .aq22-explorer-area .aq-result[data-aq-tone="agent"]:nth-child(3)::before{background-image:linear-gradient(0deg,#070e13d9,#13201b65),url("/art/arqant-foundation-forge-v29.svg");filter:saturate(.66) contrast(1.09);background-position:center;background-size:cover}
body[data-arqant-v31="home"][data-arqant-full="v22"] .aq22-explorer-area .aq-result{border-color:#8c998b62;border-radius:8px}
body[data-arqant-v31="home"][data-arqant-full="v22"] .aq22-explorer-area .aq-result strong{color:#f6f7f1;text-shadow:0 2px 11px #070d10aa}

/* Canonical Vite Genesis entry keeps the economic thesis readable on mobile. */
body[data-arqant-v31="account"] #root .hero-copy h1{font-size:clamp(39px,5.9vw,88px);line-height:1.02;letter-spacing:-.065em;overflow-wrap:break-word;text-wrap:balance}
body[data-arqant-v31="account"] #root .hero-copy .hero-sub{max-width:620px;line-height:1.7}
@media(max-width:580px){body[data-arqant-v31="account"] #root .hero-copy h1{font-size:clamp(32px,8.4vw,49px);letter-spacing:-.055em}}

/* Pixel QA 320px: reduce excessive whitespace between hero and first editorial cards.
   Preserve the original three-card section and all real economy interactions. */
@media(max-width:360px){
 body[data-arqant-v31="home"] .aq22-doorways{padding-top:27px}
 body[data-arqant-v31="home"] .aq22-door-heading{margin-bottom:13px}
 body[data-arqant-v31="home"] .aq22-door-heading h2{font-size:clamp(26px,8vw,30px);line-height:1.03;margin-top:0;margin-bottom:8px}
}
