/* ENABLE / CINEMATIC WORLDS V3 — independent atmospheric renderer layer.
   No framework, no canvas repaint for static scenery, no third-party resources. */
:root{--ambient-ease:cubic-bezier(.24,.67,.27,1);--text-boost:1.25}
.ambient-world{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;isolation:isolate;--scroll-progress:0;--pointer-x:0px;--pointer-y:0px}
.ambient-layer{position:absolute;inset:-12% -8%;background-position:center center;background-repeat:no-repeat;background-size:cover;opacity:var(--layer-opacity,.35);will-change:transform;transform:translate3d(calc(var(--pointer-x)*var(--drift) + var(--scroll-progress)*var(--axis-x)),calc(var(--pointer-y)*var(--drift) + (var(--scroll-progress) - .5)*var(--axis-y)),0) scale(var(--layer-scale,1.09));transform-origin:center;transition:opacity .5s ease}
.ambient-layer--back{--drift:0.32;--axis-x:17px;--axis-y:37px;--layer-scale:1.16;--layer-opacity:.32}
.ambient-layer--mid{--drift:0.68;--axis-x:-32px;--axis-y:-63px;--layer-scale:1.15;--layer-opacity:.37}
.ambient-layer--front{--drift:1.2;--axis-x:60px;--axis-y:93px;--layer-scale:1.16;--layer-opacity:.43}
.ambient-vignette{position:absolute;inset:0;z-index:2;background:linear-gradient(0deg,rgba(0,0,0,.18),transparent 26% 75%,rgba(0,0,0,.12)),radial-gradient(ellipse 72% 60% at 50% 45%,transparent 36%,rgba(0,0,0,.10) 100%);opacity:.75}
.ambient-rays{position:absolute;inset:-20%;pointer-events:none;background:repeating-linear-gradient(107deg,transparent 0 160px,rgba(255,251,249,.13) 163px 169px,transparent 185px 350px);filter:blur(12px);opacity:.13;transform-origin:78% 1%;transform:translate3d(calc(var(--pointer-x)*-.35),calc(var(--scroll-progress)*-32px),0) skewX(-5deg);mask-image:linear-gradient(#000,transparent 80%);animation:ambient-rays-drift 16s ease-in-out infinite alternate}
.ambient-mist{position:absolute;left:0;right:0;bottom:-12%;height:61%;background:radial-gradient(ellipse 62% 50% at 68% 60%,var(--mist-color,rgba(255,87,77,.23)),transparent 80%);opacity:.7;transform:translate3d(calc(var(--scroll-progress)*-34px),calc(var(--scroll-progress)*-31px),0);animation:ambient-mist-breathe 12s ease-in-out infinite alternate}
.ambient-aerial{position:absolute;inset:0;background:radial-gradient(ellipse at 72% 43%,var(--light-color,rgba(255,65,48,.12)),transparent 47%);opacity:.70;mix-blend-mode:screen;animation:ambient-mist-breathe 9s ease-in-out infinite alternate}
.ambient-pollen{position:absolute;z-index:3;width:3px;height:3px;top:var(--top);left:var(--left);background:var(--firefly-color,#f8cac5);border-radius:50%;opacity:0;box-shadow:0 0 7px 2px var(--firefly-glow,rgba(255,91,74,.3));animation:pollen-twinkle var(--duration,6s) ease-in-out infinite;animation-delay:var(--delay,0s)}
.chapter .ambient-world{--mist-color:rgba(26,7,10,.22);--light-color:rgba(255,218,211,.17);--firefly-color:#fff0e7;--firefly-glow:rgba(255,236,218,.45)}
.chapter--dark .ambient-world{--mist-color:rgba(200,50,42,.30);--light-color:rgba(255,75,61,.14);--firefly-color:#ff7765;--firefly-glow:rgba(255,91,74,.48)}
.chapter--ash .ambient-world{--mist-color:rgba(164,72,70,.18);--light-color:rgba(136,35,30,.10);--firefly-color:#c83b33;--firefly-glow:rgba(168,48,39,.4)}
.chapter--red .ambient-layer--back{--layer-opacity:.17}.chapter--red .ambient-layer--mid{--layer-opacity:.26}.chapter--red .ambient-layer--front{--layer-opacity:.30}
.chapter--ash .ambient-layer--back{--layer-opacity:.15}.chapter--ash .ambient-layer--mid{--layer-opacity:.19}.chapter--ash .ambient-layer--front{--layer-opacity:.23}
.chapter--dark .ambient-layer--back{--layer-opacity:.29}.chapter--dark .ambient-layer--mid{--layer-opacity:.35}.chapter--dark .ambient-layer--front{--layer-opacity:.39}
.chapter .ambient-rays{opacity:.1}.chapter--red .ambient-rays,.chapter--ash .ambient-rays{opacity:.04}
.chapter .chapter-grid{opacity:.065}.chapter .chapter-watermark{opacity:.18}
.chapter-sticky>.ambient-world{z-index:0}.chapter-layout{z-index:4}.chapter-foot{z-index:4}
/* An atmospheric contrast field follows the text side, always ensuring hierarchy. */
.chapter .chapter-copy{position:relative;isolation:isolate}
.chapter .chapter-copy::before{content:"";position:absolute;inset:-36px -26px -36px -70px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 72% 76% at 25% 46%,var(--scene-bg) 9%,transparent 94%);opacity:.71}
.chapter--art-left .chapter-copy::before{inset:-36px -70px -36px -26px;background:radial-gradient(ellipse 72% 76% at 65% 46%,var(--scene-bg) 9%,transparent 94%)}
/* Firefly motion is JS animated only for the current on-screen scene. */
.ambient-fireflies{position:absolute;inset:0;z-index:5;overflow:hidden;pointer-events:none;contain:layout style}
.firefly{position:absolute;left:0;top:0;width:var(--s,5px);height:var(--s,5px);border-radius:50%;opacity:var(--shine,.85);background:radial-gradient(circle,#fff 0 18%,var(--firefly-color,#ff6959) 30%,transparent 75%);box-shadow:0 0 4px 2px var(--firefly-glow,rgba(255,80,70,.6)),0 0 19px 6px var(--firefly-glow,rgba(255,80,70,.24));transform:translate3d(-60px,-60px,0);will-change:transform,opacity}
.firefly::after{content:"";position:absolute;inset:-15px;border:1px solid var(--firefly-color);border-radius:50%;opacity:.12;transform:scale(.35);animation:firefly-ripple 4s ease-in-out infinite}
.firefly.is-landed{--shine:1;box-shadow:0 0 4px 2px var(--firefly-glow),0 0 26px 9px var(--firefly-glow)}
.firefly.is-chasing{filter:brightness(1.7)}
@keyframes firefly-ripple{0%,100%{opacity:.06;transform:scale(.25)}55%{opacity:.23;transform:scale(.92)}}
@keyframes pollen-twinkle{0%,100%{opacity:0;transform:translateY(15px) scale(.5)}37%{opacity:.33;transform:translateY(-18px) scale(1)}70%{opacity:.08;transform:translateY(-24px) scale(.7)}}
@keyframes ambient-rays-drift{from{opacity:.1;transform:translate3d(0,0,0) skewX(-5deg)}to{opacity:.20;transform:translate3d(-30px,6px,0) skewX(4deg)}}
@keyframes ambient-mist-breathe{from{opacity:.42;scale:1}to{opacity:.78;scale:1.12}}
/* Bigger, readable typography in every service; structured expertise in text rather than boxes. */
.chapter-eyebrow{font-size:clamp(12px,.83vw,13px);margin-bottom:clamp(19px,3vh,40px)}
.chapter-index{padding:11px 14px}
.chapter-suptitle{font-size:clamp(16px,1.05vw,18px);margin-bottom:12px}
.chapter h2{font-size:clamp(50px,5vw,95px);line-height:1.00;margin-bottom:clamp(18px,2.1vw,26px)}
.chapter-description{font-size:clamp(17px,1.19vw,20px);line-height:1.58;max-width:680px;margin:0 0 24px;font-weight:400;letter-spacing:-.007em}
.chapter-description strong{font-weight:780;color:var(--scene-ink);background:linear-gradient(transparent 78%,var(--scene-border) 0) no-repeat;background-size:100% 100%}
.chapter-highlights{display:flex;flex-wrap:wrap;gap:9px 16px;align-items:center;max-width:630px;margin:0 0 27px;font-family:var(--mono);font-size:clamp(11px,.79vw,13px);font-weight:700;letter-spacing:.065em;line-height:1.5}
.chapter-highlights span{position:relative;padding-left:16px}.chapter-highlights span::before{position:absolute;content:"";left:0;top:.5em;width:6px;height:6px;border:1px solid var(--scene-ink);border-radius:50%}
.chapter--dark .chapter-highlights span::before{background:#ef483c;border-color:#ef483c}
.chapter-lead-bottom p{font-size:19px}.spicy p{font-size:clamp(17px,1.34vw,21px)}
.scene-kicker{font-size:clamp(12px,.8vw,14px)}.spicy-link{font-size:15px}.spicy-footer{font-size:12px}
.chapter-foot,.chapter-visual-info{font-size:clamp(11px,.8vw,13px)}.chapter-foot-scroll{min-width:195px}
.portfolio-link a{font-size:clamp(16px,1.4vw,21px)}
/* Museum plaque: rotating branded client names. Source text is factual, no third-party images. */
.client-signatures{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;padding:10px 0;margin:0 0 16px;border-top:1px solid var(--scene-border);border-bottom:1px solid var(--scene-border)}
.client-label{font-family:var(--mono);font-size:clamp(10px,.68vw,11px);letter-spacing:.1em;font-weight:700;line-height:1.5;width:38%;max-width:160px}
.client-wordmark-stage{position:relative;flex:1;min-width:170px;height:50px;display:grid;place-items:center;overflow:hidden}
.client-wordmark{font-family:Arial,Helvetica,sans-serif;font-size:clamp(22px,1.9vw,29px);font-weight:900;letter-spacing:-.06em;white-space:nowrap;position:absolute;opacity:0;filter:blur(12px);transform:translateY(20px) scale(.88);transition:opacity .85s ease,filter .85s ease,transform .85s cubic-bezier(.16,1,.3,1)}
.client-wordmark:nth-child(3),.client-wordmark:nth-child(4),.client-wordmark:nth-child(7),.client-wordmark:nth-child(8){font-size:clamp(14px,1.2vw,18px);letter-spacing:-.025em}
.client-wordmark.is-visible{opacity:.88;filter:blur(0);transform:translateY(0) scale(1)}
.client-legal{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
/* CTA: steady breathing light and brief sparks on actual interaction. */
.chapter-cta.cinema-cta{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:21px;min-height:58px;padding:15px 21px;border:1px solid var(--scene-ink);border-radius:2px;background:var(--scene-ink);color:var(--scene-bg);font-size:clamp(12px,.89vw,15px);font-weight:850;letter-spacing:.035em;line-height:1.3;box-shadow:0 0 0 1px transparent;overflow:visible;animation:cta-breathe 4.2s ease-in-out infinite;transition:transform .25s ease,background .24s ease,color .24s ease,border-color .24s ease}
.chapter--red .chapter-cta.cinema-cta{background:#101215;color:#fff;border-color:#101215}
.chapter--dark .chapter-cta.cinema-cta{background:#ff4e40;color:#1a0e0c;border-color:#ff4e40}
.chapter--ash .chapter-cta.cinema-cta{background:#15171a;color:#f1ede8;border-color:#15171a}
.chapter-cta.cinema-cta::before{content:"";position:absolute;inset:-8px;border:1px solid var(--scene-ink);border-radius:7px;opacity:.16;filter:blur(4px);pointer-events:none;animation:cta-aura 4.2s ease-in-out infinite;z-index:-1}
.chapter-cta.cinema-cta::after{content:"";position:absolute;inset:-2px;border-radius:5px;pointer-events:none;box-shadow:0 0 20px var(--scene-accent),0 0 55px var(--scene-accent);opacity:0;transition:opacity .25s ease;z-index:-1}
.chapter-cta.cinema-cta:hover,.chapter-cta.cinema-cta:focus-visible{transform:translateY(-4px) scale(1.026);gap:21px;animation-duration:1.3s}
.chapter-cta.cinema-cta:hover::before,.chapter-cta.cinema-cta:focus-visible::before{opacity:.6;animation-duration:1.4s}
.chapter-cta.cinema-cta:hover::after,.chapter-cta.cinema-cta:focus-visible::after{opacity:.28}
.chapter-cta.cinema-cta span{font-size:23px;transition:transform .3s}.chapter-cta.cinema-cta:hover span{transform:translate(3px,-3px) rotate(8deg)}
.cta-spark{position:absolute;z-index:-1;left:var(--sx);top:var(--sy);width:var(--size,3px);height:var(--size,3px);border-radius:50%;background:var(--spark-color,#fff7ed);box-shadow:0 0 12px 2px #ff6857;pointer-events:none;animation:cta-spark-fly var(--life,.85s) ease-out forwards;opacity:0}
@keyframes cta-breathe{0%,100%{box-shadow:0 2px 8px rgba(0,0,0,.06)}50%{box-shadow:0 0 0 4px rgba(255,255,255,.04),0 0 28px 2px var(--scene-border)}}
@keyframes cta-aura{0%,100%{opacity:.09;transform:scale(.98)}50%{opacity:.32;transform:scale(1.04)}}
@keyframes cta-spark-fly{0%{opacity:0;transform:translate3d(0,0,0) scale(.3)}12%{opacity:1}100%{opacity:0;transform:translate3d(var(--dx),var(--dy),0) scale(.05)}}
/* A discreet motion-trail behind the existing cursor – mounted only for fine pointers. */
.cursor-aura-trail{position:fixed;top:0;left:0;z-index:99;pointer-events:none;width:var(--t-size,10px);height:var(--t-size,10px);border-radius:50%;opacity:0;background:radial-gradient(circle,rgba(255,252,246,.95) 0%,rgba(255,82,62,.65) 28%,rgba(255,44,34,.0) 74%);filter:blur(1px);box-shadow:0 0 13px rgba(255,75,58,.3);mix-blend-mode:screen;transform:translate3d(-100px,-100px,0);will-change:transform,opacity}
/* Illustration-only additions to silhouette */
.web-neural{transform-origin:560px 105px;animation:ambient-neural 10s ease-in-out infinite alternate}.web-code-caret{animation:code-blink .75s steps(2) infinite}.web-floating-data{animation:ambient-neural 8s ease-in-out infinite alternate}
@keyframes ambient-neural{from{opacity:.42}to{opacity:.88}}@keyframes code-blink{50%{opacity:.12}}
/* Hero stays legible despite new layers */
.hero .ambient-world{z-index:0;--light-color:rgba(251,61,44,.17)}.hero .ambient-layer--back{--layer-opacity:.15}.hero .ambient-layer--mid{--layer-opacity:.16}.hero .ambient-layer--front{--layer-opacity:.18}
.spicy>.ambient-world{z-index:-1;--light-color:rgba(252,60,42,.18)}.chapter-lead>.ambient-world{z-index:0;--light-color:rgba(255,63,43,.14)}.manifesto>.ambient-world,.contact>.ambient-world{z-index:-1}
.spicy-inner,.spicy-footer,.chapter-lead>.content-width,.manifesto-inner,.contact .content-width{position:relative;z-index:1}
.contact .ambient-layer--back,.contact .ambient-layer--mid,.contact .ambient-layer--front{opacity:.13}
/* Tablet: stronger fonts than V2, maintain composition */
@media(max-width:1200px){.chapter-layout{gap:3%;padding-block:45px 100px}.chapter h2{font-size:clamp(45px,5.2vw,66px)}.chapter-description{font-size:clamp(16px,1.4vw,18px);line-height:1.54}.chapter-eyebrow{margin-bottom:24px}.chapter-highlights{gap:8px 12px;margin-bottom:20px}.chapter-cta.cinema-cta{padding:14px 16px;min-height:54px}.client-signatures{min-height:62px;margin-bottom:12px}}
@media(max-width:800px){
 .chapter{height:180svh}
 .chapter .chapter-sticky{min-height:715px}
 .chapter-layout{padding-block:22px 62px;gap:12px}
 .chapter h2{font-size:clamp(38px,7.2vw,62px);margin-bottom:12px}
 .chapter-description{font-size:clamp(15px,1.9vw,17px);line-height:1.52;margin-bottom:12px}
 .chapter-highlights{font-size:11px;margin-bottom:15px}
 .chapter-suptitle{font-size:15px}
 .chapter-eyebrow{font-size:12px;margin-bottom:11px}
 .chapter-foot{font-size:11px}
 .chapter .chapter-copy::before{opacity:.9}
 .client-signatures{padding:6px 0;min-height:49px}
 .client-wordmark-stage{height:38px}
 .client-wordmark{font-size:21px}
 .client-wordmark:nth-child(3),.client-wordmark:nth-child(4),.client-wordmark:nth-child(7),.client-wordmark:nth-child(8){font-size:14px}
 .ambient-layer--front{--layer-opacity:.24!important}
 .ambient-rays{opacity:.05!important}
 .firefly:nth-child(n+8){display:none}
}
@media(max-width:520px){
 .chapter{height:190svh}
 .chapter .chapter-sticky{min-height:750px;height:100svh}
 .chapter-layout{padding:18px 0 51px;gap:6px}
 .chapter h2{font-size:clamp(38px,9vw,54px);margin-bottom:11px;letter-spacing:-.065em}
 .chapter-description{font-size:14.5px;line-height:1.44;margin-bottom:10px;letter-spacing:-.01em}
 .chapter-description strong{font-weight:780}
 .chapter-eyebrow{font-size:11px;gap:9px;margin-bottom:8px}
 .chapter-index{padding:7px 9px}
 .chapter-sector{font-size:10px;letter-spacing:.01em}
 .chapter-suptitle{font-size:13.5px;margin-bottom:5px}
 .chapter-highlights{gap:4px 8px;font-size:10px;margin-bottom:10px;line-height:1.4}
 .chapter-highlights span{padding-left:10px}.chapter-highlights span::before{width:4px;height:4px}
 .chapter-cta.cinema-cta{font-size:11.5px;min-height:46px;padding:11px 14px;gap:10px}
 .chapter-cta.cinema-cta span{font-size:19px}
 .chapter-visual{width:100%!important;margin-left:0;max-height:min(27svh,230px)}
 .chapter-visual-info{display:none}
 .client-signatures{min-height:43px;margin-bottom:9px}
 .client-label{font-size:9px}
 .client-wordmark-stage{min-width:120px;height:35px}
 .client-wordmark{font-size:20px}.client-wordmark:nth-child(3),.client-wordmark:nth-child(4),.client-wordmark:nth-child(7),.client-wordmark:nth-child(8){font-size:12px}
 .chapter-foot{font-size:9px;bottom:14px}
 .spicy p{font-size:16px}
 .chapter-lead-bottom p{font-size:15.5px}
 .spicy-footer{font-size:10px}
 .ambient-layer{inset:-10% -20%;background-position:58% center}
 .ambient-layer--back{--layer-opacity:.14}.ambient-layer--mid{--layer-opacity:.16}
}
/* On short phones, preserve all copy (no clipping), keep scenic illustration below. */
@media(max-width:520px) and (max-height:800px){
 .chapter{height:auto;min-height:0}
 .chapter .chapter-sticky{position:relative;height:auto;min-height:0}
 .chapter-layout{padding-block:72px 80px}
 .chapter-visual{max-height:290px}
 .chapter .chapter-copy{max-width:100%}
 .chapter-description{font-size:15px;line-height:1.5}
 .chapter-foot{bottom:28px}
}
@media(pointer:coarse){.cursor-aura-trail{display:none}}
@media(prefers-reduced-motion:reduce){.ambient-layer{transform:none!important;will-change:auto}.ambient-rays,.ambient-mist,.ambient-aerial,.ambient-pollen,.firefly,.cursor-aura-trail,.cta-spark{display:none!important}.chapter-cta.cinema-cta,.chapter-cta.cinema-cta::before,.web-neural,.web-code-caret{animation:none!important}.client-wordmark{transition:none}}
.fx-off .ambient-layer{transform:none!important;will-change:auto}.fx-off .ambient-rays,.fx-off .ambient-mist,.fx-off .ambient-aerial,.fx-off .ambient-pollen,.fx-off .firefly,.fx-off .cursor-aura-trail,.fx-off .cta-spark{display:none!important}.fx-off .chapter-cta.cinema-cta,.fx-off .chapter-cta.cinema-cta::before,.fx-off .web-neural,.fx-off .web-code-caret{animation:none!important}
/* Consistent two-line editorial titles: avoid outlined words colliding with the preceding line. */
.chapter h2 em{display:block;margin-left:0;line-height:1.045}
.spicy>.ambient-world,.manifesto>.ambient-world,.contact>.ambient-world{z-index:0}
@media(min-width:801px) and (max-height:820px){
 .chapter-layout{padding-block:20px 66px}
 .chapter h2{font-size:clamp(43px,4.4vw,77px);margin-bottom:14px}
 .chapter-description{font-size:clamp(15px,1.02vw,17px);line-height:1.46;margin-bottom:13px}
 .chapter-eyebrow{margin-bottom:11px}
 .chapter-highlights{margin-bottom:11px}
 .client-signatures{min-height:48px;padding:4px 0;margin-bottom:9px}
 .chapter-cta.cinema-cta{min-height:49px;padding:11px 15px}
}

/* ===============================================================
   ENABLE / CINEMATIC V4 — PERFORMANCE & LIMBO-INSPIRED SCENOGRAPHY
   Silhouette art is original, local, WebP; all movement is compositor
   translate3d, event-driven on scroll. Scene art NEVER leaves the wrap.
   =============================================================== */
:root{--max:1360px}
.content-width{width:min(calc(100% - 96px),var(--max));margin-inline:auto}
/* Remove V3's constantly repainting grain and oversized mouse-gradient. */
.noise{opacity:.05;animation:none!important;mix-blend-mode:normal;background-size:120px}
.particles-canvas{display:none!important}
.mouse-halo{display:block;position:fixed;inset:auto;top:0;left:0;width:160px;height:160px;
 border-radius:50%;z-index:101;opacity:0;pointer-events:none;will-change:transform;
 background:radial-gradient(circle,rgba(255,238,227,.28) 0%,rgba(255,66,49,.13) 22%,transparent 68%);
 box-shadow:none;mix-blend-mode:normal;transition:transform 110ms ease-out,opacity .28s ease-out;
 transform:translate3d(-300px,-300px,0)}
.custom-cursor{mix-blend-mode:normal;width:36px;height:36px;border-color:rgba(255,248,242,.6);transition:background .18s,border-color .18s,width .18s,height .18s}
.custom-cursor.hovering{width:64px;height:64px}
/* Force a proper centred page grid. Never parallax the copy container itself. */
.hero-content{max-width:var(--max);margin-inline:auto;width:min(calc(100% - 96px),var(--max));}
.hero-left{padding-left:clamp(0px,1.3vw,25px);width:min(65%,850px)}
.hero-art{right:max(calc((100vw - var(--max))/2 - 48px),18px);width:min(51vw,860px);max-width:860px;opacity:.94}
.spicy-inner{max-width:var(--max);margin-inline:auto}
.spicy-copy{padding-left:clamp(0px,1.3vw,25px)}
.chapter-layout{width:min(calc(100% - 96px),var(--max));margin-inline:auto;gap:5%;grid-template-columns:1fr 1fr}
.chapter--art-left .chapter-layout{grid-template-columns:1fr 1fr}
.chapter-visual{max-width:620px;justify-self:center;max-height:600px;will-change:auto;transform:translate3d(clamp(-7px,var(--scene-x),7px),clamp(-5px,var(--scene-y),5px),0)}
.chapter--art-left .chapter-visual{justify-self:start}
.chapter-copy{max-width:650px;z-index:3}
.chapter--art-left .chapter-copy{justify-self:end}
.chapter-description{max-width:630px}
.chapter .chapter-grid{opacity:0}
.chapter .chapter-watermark{opacity:.06}
.chapter-visual-fx{filter:none;opacity:.03}
.scene-svg{filter:none}
/* Three raster silhouettes, each transformed only on scroll/pointer changes. */
.ambient-world{position:absolute;inset:auto;top:0;bottom:0;left:50%;right:auto;
 width:min(calc(100% - 96px),var(--max));height:100%;z-index:0;pointer-events:none;
 transform:translateX(-50%);overflow:hidden;isolation:isolate;
 --x-mid:0px;--x-front:0px;--y-back:0px;--y-mid:0px;--y-front:0px;
 --mouse-x:0px;--mouse-y:0px}
.ambient-layer{position:absolute;inset:-2% -3%;background-position:center center;
 background-size:100% 100%;background-repeat:no-repeat;pointer-events:none;
 opacity:1;will-change:auto;mix-blend-mode:normal;transition:none;filter:none}
.ambient-layer--back{transform:translate3d(0,var(--y-back),0) scale(1.07);opacity:.8}
.ambient-layer--mid{transform:translate3d(calc(var(--x-mid) + var(--mouse-x)),calc(var(--y-mid) + var(--mouse-y)),0) scale(1.07);opacity:.86}
.ambient-layer--front{transform:translate3d(calc(var(--x-front) + var(--mouse-x)),calc(var(--y-front) + var(--mouse-y)),0) scale(1.09);opacity:.9}
/* The text side receives a legibility gradient, not costly blur. */
.chapter .chapter-copy::before{content:"";position:absolute;inset:-26px -27px;z-index:-1;pointer-events:none;
 background:linear-gradient(90deg,var(--scene-bg) 5%,color-mix(in srgb,var(--scene-bg) 92%, transparent) 68%,transparent 100%);
 opacity:.83;border-radius:0}
.chapter--art-left .chapter-copy::before{background:linear-gradient(270deg,var(--scene-bg) 5%,color-mix(in srgb,var(--scene-bg) 92%, transparent) 68%,transparent 100%)}
.chapter--red .ambient-layer--back,.chapter--ash .ambient-layer--back{opacity:.50}
.chapter--red .ambient-layer--mid,.chapter--ash .ambient-layer--mid{opacity:.73}
.chapter--red .ambient-layer--front,.chapter--ash .ambient-layer--front{opacity:.88}
.chapter--dark .ambient-layer--back{opacity:.90}
.chapter--dark .ambient-layer--mid{opacity:.98}
.chapter--dark .ambient-layer--front{opacity:1}
/* Only three composited dots per active environment; stop offscreen. */
.ambient-fireflies{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none;contain:layout style}
.firefly{position:absolute;left:var(--start-x);top:var(--start-y);
 width:4px;height:4px;background:#ffd2c8;border:1px solid #ff685b;border-radius:50%;
 box-shadow:0 0 7px 1px rgba(255,71,57,.65);opacity:0;filter:none;will-change:auto;
 animation:firefly-v4 11s ease-in-out var(--delay) infinite;animation-play-state:paused}
.firefly::after{display:none!important}
.ambient-world.is-onstage .firefly{animation-play-state:running}
@keyframes firefly-v4{
 0%,100%{opacity:0;transform:translate3d(0,0,0)}
 14%{opacity:.52;transform:translate3d(22px,-19px,0)}
 40%,55%{opacity:.95;transform:translate3d(var(--d-x),var(--d-y),0)}
 62%{opacity:.6;transform:translate3d(calc(var(--d-x) + 12px),calc(var(--d-y) - 10px),0)}
 85%{opacity:.3;transform:translate3d(110px,-50px,0)}
}
.ambient-mist,.ambient-aerial,.ambient-rays,.ambient-vignette,.ambient-pollen,.cursor-aura-trail{display:none!important}
/* Single accent drone moves slowly across the illustrated treetop. */
.world-flyer{position:absolute;z-index:2;left:63%;top:23%;width:96px;height:38px;
 opacity:.85;animation:drone-v4 10s ease-in-out infinite alternate;animation-play-state:paused}
.world-flyer svg{width:100%;height:100%}
.ambient-world.is-onstage .world-flyer{animation-play-state:running}
@keyframes drone-v4{from{transform:translate3d(-110px,20px,0) scale(.85)}to{transform:translate3d(125px,-85px,0) scale(1.05)}}
/* Smaller and cheaper CTA twinkle, still expressive. */
.chapter-cta.cinema-cta{animation:cta-breathe-v4 4.8s ease-in-out infinite}
.chapter-cta.cinema-cta::before{animation:none;filter:none;border-width:1px;opacity:.16}
.chapter-cta.cinema-cta::after{box-shadow:0 0 16px var(--scene-accent)}
@keyframes cta-breathe-v4{0%,100%{box-shadow:0 0 0 0 transparent}50%{box-shadow:0 0 0 4px var(--scene-border)}}
.client-wordmark{filter:none!important;transition:opacity .6s ease,transform .6s ease}
.client-wordmark.is-visible{filter:none;transform:translateY(0) scale(1)}
/* Title, quote, CTA and figure are all inside the same centred 1360px wrap. */
.chapter-lead>.content-width{max-width:var(--max);margin-inline:auto;padding-left:clamp(0px,1.3vw,25px)}
.chapter-lead h2{max-width:1150px}
.spicy .ambient-layer--mid{opacity:.72}
.spicy>.ambient-world,.manifesto>.ambient-world,.contact>.ambient-world{z-index:0}
.hero .ambient-layer--back,.hero .ambient-layer--mid,.hero .ambient-layer--front{opacity:.22}
.hero .ambient-layer--front{opacity:.3}
/* Mobile: the background is a decorative stage, not an extra scroll workload. */
@media(max-width:1150px){
 .content-width,.hero-content,.chapter-layout,.ambient-world{width:min(calc(100% - 64px),var(--max))}
 .hero-left{width:70%;padding-left:0}
 .hero-art{right:2%;width:57vw}
 .chapter-layout,.chapter--art-left .chapter-layout{gap:4%}
 .chapter-visual{max-width:570px}
}
@media(max-width:800px){
 .content-width,.hero-content,.chapter-layout,.ambient-world{width:calc(100% - 36px)}
 .hero-left{width:100%}
 .hero-art{right:-12%;width:102vw;max-width:none}
 .chapter-layout,.chapter--art-left .chapter-layout{display:flex;flex-direction:column;gap:9px}
 .chapter--art-left .chapter-copy,.chapter-copy{max-width:100%;justify-self:auto}
 .chapter-visual{max-width:100%;width:100%!important;transform:none!important}
 .ambient-world{width:100%;}
 .ambient-layer{inset:0 -8%;background-size:cover}
 .ambient-layer--back{opacity:.38!important}.ambient-layer--mid{opacity:.55!important}.ambient-layer--front{opacity:.57!important}
 .chapter .chapter-copy::before{inset:-12px -5px;background:linear-gradient(90deg,var(--scene-bg),color-mix(in srgb,var(--scene-bg) 90%,transparent) 70%,transparent)}
 .firefly:nth-child(3){display:none}
 .world-flyer{opacity:.48}
}
@media(max-width:520px){
 .content-width,.hero-content,.chapter-layout{width:calc(100% - 34px)}
 .ambient-layer--front{opacity:.3!important}.ambient-layer--mid{opacity:.4!important}
 .firefly:nth-child(2){display:none}
 .mouse-halo,.custom-cursor{display:none!important}
}
@media (prefers-reduced-motion:reduce){
 .ambient-layer{transform:none!important}
 .world-flyer,.firefly{animation:none!important;display:none!important}
 .chapter-cta.cinema-cta{animation:none!important}
}
.fx-off .ambient-layer{transform:none!important}
.fx-off .world-flyer,.fx-off .firefly{display:none!important}
.fx-off .chapter-cta.cinema-cta{animation:none!important}
/* CTA motion is now opacity-only (compositor-friendly), never animated box-shadow. */
.chapter-cta.cinema-cta{animation:none!important;box-shadow:none!important}
.chapter-cta.cinema-cta::before{inset:-9px;filter:none!important;animation:cta-glow-v4 4.8s ease-in-out infinite!important;will-change:opacity;transform:none!important}
@keyframes cta-glow-v4{0%,100%{opacity:.07}50%{opacity:.5}}
.chapter-cta.cinema-cta:hover::before,.chapter-cta.cinema-cta:focus-visible::before{opacity:.75;animation-duration:1.6s!important}
.fx-off .chapter-cta.cinema-cta::before{animation:none!important}
.web-neural,.web-floating-data,.web-code-caret{animation:none!important}
@media(prefers-reduced-motion:reduce){.chapter-cta.cinema-cta::before{animation:none!important}}
/* V4 final: editorial alignment, 1240px grid, compositing only in visible worlds. */
:root{--max:1240px}
.hero-art{right:max(calc((100vw - var(--max))/2),18px)}
.ambient-world.is-onstage .ambient-layer--mid,.ambient-world.is-onstage .ambient-layer--front{will-change:transform}
@media(max-width:800px){.hero-art{right:-12%}}
