/* ARQANT / SEASON ZERO FOUR GATES / v29
   An original immersive chapter, not a fourth corporate CTA grid.
   All real actions remain in their existing source systems. */
.s0-gates{--s0-ink:#f2f0e9;--s0-soft:#b5b7bc;position:relative;isolation:isolate;overflow:hidden;background:#0b111b;color:var(--s0-ink);padding:clamp(70px,8vw,132px) clamp(20px,5vw,90px) clamp(84px,9vw,142px);border-top:1px solid #d2d9e029;border-bottom:1px solid #d2d9e029}
.s0-gates:before{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 75% 8%,#b49dcd25,transparent 44%),linear-gradient(90deg,#0b111b,#1c2231 80%,#101821)}
.s0-gates:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url("/art/arqant-2045-world-v28.svg") 50% 48%/cover no-repeat;opacity:.08;filter:saturate(.5)}
.s0-gates-inner{max-width:1420px;margin:0 auto}
.s0-gates-kicker{font:600 10px/1.6 "IBM Plex Mono",monospace;letter-spacing:.18em;color:#d8cae0}
.s0-gates-head{display:flex;gap:50px;align-items:flex-end;justify-content:space-between;margin-bottom:clamp(38px,4.5vw,70px)}
.s0-gates-head h2{font:400 clamp(57px,7.2vw,119px)/.92 "Instrument Serif",Georgia,serif;letter-spacing:-.055em;text-wrap:balance;color:#f5efe9;margin:15px 0 0;max-width:970px}
.s0-gates-head h2 em{font-weight:400;color:#d6bfce}
.s0-gates-head p{font:400 14px/1.6 "DM Sans",sans-serif;color:#c7c9cb;max-width:245px;margin:0 0 3px}
.s0-gates-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(9px,1.25vw,19px)}
.s0-gate{display:block;position:relative;overflow:hidden;isolation:isolate;min-height:clamp(360px,38vw,570px);text-decoration:none!important;color:#fff!important;border:1px solid #dfe1dc4a;border-radius:2px;background:#111621;transition:border-color .25s,transform .3s}
.s0-gate img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.65) contrast(1.05) brightness(.83);transition:transform .75s cubic-bezier(.2,.7,.25,1),filter .5s}
.s0-gate:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#060b1599 0%,transparent 20%,#0a10145b 47%,#090e18f5 100%)}
.s0-gate:after{content:"";position:absolute;inset:11px;z-index:1;pointer-events:none;border:1px solid #d3cbd341;opacity:.4}
.s0-gate:hover,.s0-gate:focus-visible{border-color:#eee2d7;transform:translateY(-3px)}
.s0-gate:hover img,.s0-gate:focus-visible img{transform:scale(1.055);filter:saturate(.9) contrast(1.08) brightness(.95)}
.s0-gate-top{position:absolute;top:31px;left:27px;right:25px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;font:600 9px/1.5 "IBM Plex Mono",monospace;letter-spacing:.13em;color:#f6e7e9}
.s0-gate-copy{position:absolute;z-index:2;bottom:30px;left:27px;right:28px;display:flex;flex-direction:column;gap:11px}
.s0-gate-title{font:400 clamp(31px,3.05vw,50px)/.96 "Instrument Serif",Georgia,serif;letter-spacing:-.04em;color:#fff7ee;text-wrap:balance}
.s0-gate-sub{font:400 12px/1.55 "DM Sans",sans-serif;color:#e1dce0;max-width:260px}
.s0-gate-cta{display:inline-flex;width:max-content;align-items:center;gap:8px;margin-top:7px;padding-bottom:5px;border-bottom:1px solid #f0e8e8;font:600 10px/1.4 "IBM Plex Mono",monospace;letter-spacing:.08em;color:#f9f3ef}
.s0-gates-foot{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-top:28px;font:500 10px/1.6 "IBM Plex Mono",monospace;letter-spacing:.09em;color:#b5b7c0}
.s0-gates-foot a{color:#e8e8df;text-underline-offset:5px}
.s0-crosslinks{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 21px;max-width:none!important;margin:0!important;min-height:0!important;padding:19px clamp(17px,5vw,55px)!important;border-top:1px solid #e9dcd226;background:#090d16!important;color:#d3d1d7!important;position:relative;z-index:4}
.s0-crosslinks span{font:600 9px/1.5 "IBM Plex Mono",monospace;letter-spacing:.13em;color:#bab0bc}
.s0-crosslinks a{font:500 11px/1.5 "DM Sans",sans-serif;color:#e5e3e8!important;text-decoration:none!important;padding:8px 2px;white-space:nowrap}
.s0-crosslinks a[aria-current="page"]{border-bottom:1px solid #e0d5d7}
.s0-crosslinks a:hover{text-decoration:underline!important;text-underline-offset:5px}
/* First Signal: the experiment is revealed inside an impossible observatory. */
body[data-s0-experience="unknown"]{--accent:#e6d8ed;background:#0b1019}
body[data-s0-experience="unknown"] .visual{background:linear-gradient(180deg,#0b101ae0 0%,#0b1019a0 38%,#0b1019ed 100%),url("/art/arqant-existence-tree-v26.svg") center/cover no-repeat}
body[data-s0-experience="unknown"] .visual svg{filter:drop-shadow(0 0 23px #e1c2fc54)}
body[data-s0-experience="unknown"] .visual h1 em{font-family:"Instrument Serif",Georgia,serif;font-weight:400;color:#eedbed}
body[data-s0-experience="unknown"] .scene h2{font-weight:500}
body[data-s0-experience="unknown"] .station{background:linear-gradient(145deg,#111625,#0a1118 74%)}
body[data-s0-experience="unknown"] .choice,body[data-s0-experience="unknown"] .agent-reply,body[data-s0-experience="unknown"] .quote{border-radius:3px}
body[data-s0-experience="unknown"] .button{border-radius:2px}
body[data-s0-experience="unknown"] .button.primary{background:#e9dfe7;border-color:#e9dfe7;color:#0b1017}
/* Foundation Protocol: every district is part of the same imagined city. */
body[data-s0-experience="build"]{--lime:#e6d8ed;background:#0b1019}
body[data-s0-experience="build"] .world{background:linear-gradient(90deg,#0a101ae8,#0b1018a8 64%,#0b10188c),url("/art/arqant-foundation-forge-v29.svg") 58% center/cover no-repeat}
body[data-s0-experience="build"] .story{background:linear-gradient(145deg,#141724,#0c131b 78%)}
body[data-s0-experience="build"] .world h1 span{font:400 1em/.95 "Instrument Serif",Georgia,serif;color:#e9d8e4}
body[data-s0-experience="build"] .district,body[data-s0-experience="build"] .mission,body[data-s0-experience="build"] .system,body[data-s0-experience="build"] .note{border-radius:3px}
body[data-s0-experience="build"] .btn{border-radius:2px;background:#e8e2e0;color:#101821}
body[data-s0-experience="build"] .btn.alt{background:transparent;color:#f4efe9}
body[data-s0-experience="build"] .district[aria-pressed=true],body[data-s0-experience="build"] .mission[aria-pressed=true]{background:#302a3d}
body[data-s0-experience="build"] .story :where(input,textarea):focus-visible{outline-color:#e8d8e4}
@media(max-width:1120px){.s0-gates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.s0-gate{min-height:440px}.s0-gates-head h2{font-size:clamp(52px,7.5vw,85px)}}
@media(max-width:710px){.s0-gates{padding:68px 17px 80px}.s0-gates-head{display:block;margin-bottom:26px}.s0-gates-head p{max-width:410px;margin-top:20px}.s0-gates-grid{gap:11px}.s0-gate{min-height:360px}.s0-gate-top{top:23px;left:18px}.s0-gate-copy{bottom:22px;left:18px;right:16px}.s0-gate-title{font-size:38px}.s0-gates-foot{display:block}.s0-gates-foot a{display:block;margin-top:10px}body[data-s0-experience="unknown"] .visual{background-position:58% center}body[data-s0-experience="build"] .world{background-position:65% center}}
@media(max-width:520px){.s0-gates-grid{grid-template-columns:1fr}.s0-gate{min-height:350px}.s0-gate-title{font-size:45px}.s0-gates-head h2{font-size:clamp(54px,13vw,79px)}.s0-crosslinks{gap:5px 12px;justify-content:flex-start}.s0-crosslinks span{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.s0-gate,.s0-gate img{transition:none!important}}

/* Distinct art signatures; no cloned 2045 skyline for every cultural/economic path. */
body[data-arqant-surface="culture"] .art-zone{background-image:linear-gradient(90deg,#0b101ad8,#0b101a6a),url("/art/arqant-cultureverse-frequency-v29.svg")!important;background-size:cover!important;background-position:55% 42%!important}
body[data-arqant-surface="culture"] .art-zone:after{opacity:.19}
.s0-gate[href="/enter-cultureverse.html"] img{filter:saturate(.82) contrast(1.08) brightness(.89)}
.s0-gate[href="/join-economy.html"] img{filter:saturate(.72) contrast(1.06) brightness(.87)}
