@font-face{font-family:'Amsterdam Four';src:url('../fonts/amsterdam-four-slant.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
:root{--bg:#000;--surface:#101010;--ink:#fff;--muted:#c9c9c9;--accent:#e35637;--serif:'Cantata One',Georgia,serif;--sans:Poppins,Arial,sans-serif;--wrap:1280px;--pad:clamp(24px,5vw,76px)}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}html.lenis{scroll-behavior:auto}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}body.menu-open{overflow:hidden}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}h1,h2,h3,p,blockquote{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.16}h1{font-size:clamp(2.35rem,4.3vw,4.9rem)}h2{font-size:clamp(2rem,3.2vw,3.9rem)}h3{font-size:clamp(1.25rem,1.6vw,2rem)}p{margin-bottom:1.15em}em{font-style:normal;letter-spacing:-.08em}strong{font-weight:600}.wrap{width:min(calc(100% - var(--pad)*2),var(--wrap));margin-inline:auto}.narrow{max-width:850px}.section-pad{padding-block:clamp(74px,9vw,150px)}.eyebrow{color:var(--accent);font-size:.7rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.eyebrow.light{color:#fff}.number{color:var(--accent);font-family:var(--sans);font-size:.82rem;font-weight:700}.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;background:var(--accent);border:1px solid var(--accent);color:#fff;font-size:.78rem;font-weight:600;text-transform:uppercase;transition:background .2s,color .2s}.button:hover{background:#fff;border-color:#fff;color:#000}.button-outline{background:transparent}.text-link{display:inline-flex;gap:16px;align-items:center;border-bottom:1px solid var(--accent);padding-bottom:8px;font-size:.88rem;transition:gap .2s}.text-link:hover{gap:26px}.skip-link{position:absolute;left:10px;top:-60px;z-index:1000;background:#fff;color:#000;padding:10px}.skip-link:focus{top:10px}
.site-header{position:sticky;top:0;z-index:100;background:rgba(0,0,0,.88);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.08)}.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:30px}.site-logo img{width:142px;height:auto;max-height:55px;object-fit:contain}.nav-list{display:flex;align-items:center;gap:clamp(18px,2.5vw,42px);margin:0;padding:0;list-style:none}.nav-list a{font-size:.8rem;transition:color .2s}.nav-list a:hover,.nav-list .current-menu-item a{color:var(--accent)}.menu-toggle{display:none}.mobile-menu{display:none}
.hero{min-height:clamp(560px,51vw,760px);display:flex;align-items:center;position:relative;isolation:isolate;background:#151515}.hero:before,.manifesto-teaser:before,.vision-section:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.12) 75%),var(--hero-image);background-size:cover;background-position:center}.hero-content{padding-block:90px;max-width:1280px}.hero-content h1{max-width:820px;margin-bottom:18px}.hero-content p{max-width:550px;font-size:clamp(.95rem,1.2vw,1.1rem)}.hero-content .button{margin-top:12px}.hero-home:before{background-position:center}.hero-manifesto{min-height:610px}.hero-manifesto:before{background-image:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.12)),var(--hero-image)}.hero-manifesto h1{max-width:950px}.split-feature{display:grid;grid-template-columns:1fr 1fr;min-height:560px;background:var(--surface)}.split-image{min-height:500px}.split-image img{width:100%;height:100%;object-fit:cover}.split-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(40px,6vw,100px);max-width:760px}.split-copy h2{margin-bottom:25px}.split-copy p{max-width:510px}.split-copy .text-link{margin-top:10px}.split-copy strong{color:var(--accent)}
.services-section{background:#050505}.section-heading-row{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:32px;text-transform:uppercase;font-size:.7rem;letter-spacing:.06em}.section-heading-row strong{color:var(--accent)}.service-row{display:grid;grid-template-columns:70px 45px 1.2fr 1.2fr 1.5fr;align-items:center;gap:24px;padding:25px 0;border-top:1px solid #444}.service-row:last-child{border-bottom:1px solid #444}.service-row img{width:42px;height:42px;object-fit:contain}.service-row h3,.service-row p{margin:0}.service-row p{font-size:.82rem}.process-section{background:#151515}.process-section h2{margin-bottom:7px}.section-subtitle{margin-bottom:55px}.process-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:28px;margin-bottom:48px}.process-step{position:relative;border-top:1px solid #777;padding-top:24px}.process-step:before{content:"";position:absolute;top:-5px;left:0;width:9px;height:9px;border-radius:50%;background:var(--accent)}.process-step .number{position:absolute;top:-30px;left:0}.process-icon{display:block;min-height:74px;font-family:Georgia,serif;font-size:4rem;font-weight:300;line-height:1;color:#ddd}.process-step h3{font-size:1.18rem;min-height:45px;margin:0 0 10px}.process-step p{font-size:.75rem;color:var(--muted)}.process-section .button{display:table;margin-inline:auto}
.projects-section{background:#050505}.projects-section h2{margin-bottom:45px}.project-grid{display:grid;gap:14px}.project-feature{display:grid;grid-template-columns:32% 68%;min-height:260px;border:1px solid #333;overflow:hidden}.project-feature>div{padding:30px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.project-feature h3{margin:10px 0}.project-feature p{font-size:.8rem;color:var(--muted)}.project-feature img{height:100%;width:100%;object-fit:cover;transition:transform .5s}.project-feature:hover img{transform:scale(1.04)}.manifesto-teaser,.vision-section{position:relative;isolation:isolate;min-height:520px;display:flex;align-items:center}.manifesto-teaser:before,.vision-section:before{background-image:linear-gradient(90deg,rgba(0,0,0,.85),rgba(0,0,0,.16)),var(--section-image)}.manifesto-teaser blockquote,.vision-section blockquote{font-family:var(--serif);font-size:clamp(1.35rem,2.3vw,2.5rem);line-height:1.5;max-width:540px;font-style:italic;margin:0 0 25px}.vision-section h2{font-size:clamp(1.6rem,2.5vw,3rem)}
.contact-section{background:#050505;padding-block:clamp(80px,9vw,140px)}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(50px,8vw,140px)}.contact-intro h2{font-size:clamp(2.5rem,4vw,4.8rem);margin-bottom:25px}.contact-intro>p:last-child{max-width:450px}.contact-form{display:grid;gap:18px}.contact-form label{display:grid;gap:5px;font-size:.75rem;font-weight:600}.contact-form input:not([type=checkbox]),.contact-form select,.contact-form textarea{width:100%;background:#090909;border:1px solid #555;border-radius:0;color:#fff;min-height:42px;padding:10px 12px;font-size:.8rem}.contact-form textarea{min-height:130px;resize:vertical}.contact-form input::placeholder,.contact-form textarea::placeholder{color:#999}.contact-form .check{display:flex;align-items:center;gap:9px;font-size:.75rem}.check input{accent-color:var(--accent)}.check a{text-decoration:underline}.contact-form button{width:100%}.trap{position:absolute;left:-9999px}.form-status{padding:12px;border:1px solid var(--accent);margin:0}.site-footer{padding:70px 0;background:#101010;border-top:1px solid #292929}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.footer-logo img{width:140px}.footer-grid nav{display:grid;gap:6px}.footer-grid a:hover{color:var(--accent)}.footer-grid p{font-size:.8rem;color:#aaa;margin-top:20px}
.audience-section{background:#151515}.audience-row,.principle-row{display:grid;grid-template-columns:42px 1.3fr 1.6fr 50px;gap:22px;align-items:center;border-bottom:1px solid #555;min-height:82px}.audience-row h3,.audience-row p,.principle-row h3,.principle-row p{margin:0}.audience-row h3,.principle-row h3{font-size:1.35rem}.audience-row p,.principle-row p{font-size:.82rem}.audience-row>span:last-child{font-size:2rem;text-align:right}.principle-row{grid-template-columns:42px 1.2fr 1.4fr 220px;min-height:130px}.principle-row img{width:100%;height:110px;object-fit:cover}.principles-section{background:#050505}.approach-section{background:#151515;min-height:480px}.approach-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px}.approach-grid h2{font-size:clamp(1.5rem,2.5vw,2.6rem)}.approach-grid p{max-width:550px}.phase-section{background:#070707;padding-block:85px}.phase-alt{background:#151515}.phase-grid{display:grid;grid-template-columns:1fr 1fr;gap:7vw;max-width:1150px}.phase-alt .phase-description{order:2}.phase-description{padding-right:4vw;border-right:1px solid #555}.phase-alt .phase-description{border-right:0;border-left:1px solid #555;padding-right:0;padding-left:4vw}.phase-kicker{color:var(--accent);font-family:var(--serif);font-size:1.65rem;margin:0}.phase-description h2{font-size:2.2rem;margin-bottom:12px}.phase-description p:not(.phase-kicker){font-size:.9rem;max-width:450px}.phase-description img{width:110px;height:110px;object-fit:contain;margin-top:20px}.phase-activities h3{font-size:1.4rem}.phase-activities ul{padding:0;margin:0;list-style:none}.phase-activities li{padding:11px 0;border-top:1px solid #777;font-size:.82rem}.phase-activities li:last-child{border-bottom:1px solid #777}.manifesto-body{padding-block:100px 130px}.manifesto-body .narrow{max-width:860px}.manifesto-body p{font-size:clamp(.95rem,1.2vw,1.12rem);line-height:1.6;margin-bottom:1.7em}.manifesto-body strong{color:var(--accent);font-weight:400}.signature{text-align:right;font-family:cursive;font-size:2.5rem!important;margin-top:90px}.simple-hero{padding:clamp(110px,13vw,210px) 0 100px;background:#111}.simple-hero h1{max-width:950px}.simple-hero p:last-child{max-width:650px}.archive-hero{background:#111}.archive-section{background:#050505}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.content-card a{display:block}.card-media{aspect-ratio:1.45;overflow:hidden;background:#202020}.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.content-card:hover img{transform:scale(1.04)}.card-placeholder{height:100%;display:grid;place-items:center;font-family:var(--serif);font-size:2rem;color:#666}.card-meta{display:flex;justify-content:space-between;color:var(--accent);font-size:.75rem;text-transform:uppercase;margin:18px 0 8px}.content-card h2{font-size:1.5rem;margin-bottom:10px}.content-card p{font-size:.85rem;color:#bbb}.navigation.pagination{margin-top:60px}.nav-links{display:flex;gap:14px;align-items:center}.page-numbers{padding:8px 12px;border:1px solid #555}.page-numbers.current,.page-numbers:hover{background:var(--accent);border-color:var(--accent)}.entry-header{padding-top:clamp(120px,13vw,200px);padding-bottom:50px}.entry-header h1{margin-bottom:22px}.entry-excerpt{font-size:1.1rem;color:#bbb}.entry-hero-image img{width:100%;max-height:700px;object-fit:cover}.entry-content{padding-block:80px 100px;font-size:1rem;line-height:1.8}.entry-content h2,.entry-content h3{margin-top:1.5em}.entry-content a{text-decoration:underline;text-decoration-color:var(--accent)}.entry-content img{height:auto}.entry-footer{padding-bottom:100px}.error-page{min-height:70vh}
@media(max-width:900px){.header-inner{min-height:70px}.desktop-nav{display:none}.menu-toggle{display:flex;z-index:103;width:44px;height:44px;padding:9px 5px;flex-direction:column;justify-content:center;gap:7px;border:0;background:none;color:#fff;cursor:pointer}.menu-toggle span{height:2px;width:100%;background:currentColor;transition:transform .2s}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(4.5px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-4.5px) rotate(-45deg)}.mobile-menu{position:fixed;inset:0;z-index:99;display:flex;flex-direction:column;justify-content:center;padding:100px var(--pad) 50px;background:#080808;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}.mobile-menu.is-open{opacity:1;visibility:visible}.mobile-nav-list,.mobile-menu .nav-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.mobile-menu a{font-family:var(--serif);font-size:clamp(2rem,7vw,4rem)}.mobile-menu a:hover{color:var(--accent)}.mobile-blog{margin-top:32px;font-size:1rem!important;color:var(--accent)}.service-row{grid-template-columns:55px 35px 1fr 1fr;gap:15px}.service-row p:last-child{display:none}.process-grid{grid-template-columns:repeat(3,1fr);row-gap:60px}.archive-grid{grid-template-columns:repeat(2,1fr)}.principle-row{grid-template-columns:36px 1fr 1fr 150px}}
@media(max-width:640px){:root{--pad:22px}body{font-size:14px}.site-logo img{width:112px}.hero{min-height:640px;align-items:flex-end}.hero:before{background-image:linear-gradient(0deg,rgba(0,0,0,.88),rgba(0,0,0,.24) 80%),var(--hero-image);background-position:center}.hero-content{padding-block:80px 60px}.hero-content h1{font-size:clamp(2.05rem,9vw,3.25rem)}.hero-content p{font-size:.9rem}.hero-manifesto{min-height:600px}.hero-manifesto h1{font-size:clamp(2rem,8vw,3.25rem)}.split-feature{grid-template-columns:1fr}.split-image{min-height:350px;height:400px}.split-copy{padding:60px var(--pad)}.section-pad{padding-block:78px}.section-heading-row{display:block}.service-row{grid-template-columns:42px 35px 1fr;gap:12px;padding:20px 0}.service-row img{width:32px;height:32px}.service-row p{display:none}.service-row h3{font-size:1.2rem}.process-grid{grid-template-columns:1fr 1fr;column-gap:20px;row-gap:55px}.process-step h3{font-size:1rem}.process-step p{font-size:.7rem}.process-icon{font-size:3rem;min-height:60px}.project-feature{grid-template-columns:1fr}.project-feature>div{padding:20px;min-height:170px}.project-feature img{height:210px}.manifesto-teaser,.vision-section{min-height:520px}.manifesto-teaser:before,.vision-section:before{background-image:linear-gradient(0deg,rgba(0,0,0,.86),rgba(0,0,0,.25)),var(--section-image)}.contact-grid,.approach-grid,.phase-grid,.footer-grid{grid-template-columns:1fr;gap:35px}.contact-intro h2{font-size:2.6rem}.footer-grid{gap:25px}.audience-row{grid-template-columns:30px 1fr 28px;gap:10px;padding:17px 0}.audience-row h3{font-size:1rem}.audience-row p{grid-column:2/3;font-size:.75rem}.audience-row>span:last-child{grid-column:3;grid-row:1/3;font-size:1.4rem}.principle-row{grid-template-columns:30px 1fr 90px;gap:10px;padding:15px 0}.principle-row h3{font-size:1rem}.principle-row p{grid-column:2;font-size:.7rem}.principle-row img{grid-column:3;grid-row:1/3;height:85px}.phase-section{padding-block:70px}.phase-description,.phase-alt .phase-description{border:0;padding:0;order:0}.phase-activities{order:1}.phase-description img{width:80px;height:80px}.manifesto-body{padding-block:70px 90px}.manifesto-body p{font-size:.9rem}.simple-hero{padding:130px 0 80px}.archive-grid{grid-template-columns:1fr;gap:45px}.entry-header{padding-top:130px}.entry-content{padding-block:50px}.entry-footer{padding-bottom:70px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Contact form */
.contact-section{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 11% 82%,rgba(227,86,55,.16),transparent 30%),#080808}
.contact-section::before{content:"CAOS";position:absolute;z-index:-1;left:-.07em;bottom:-.31em;font-family:var(--serif);font-size:clamp(15rem,31vw,37rem);line-height:1;letter-spacing:-.1em;color:rgba(255,255,255,.025);pointer-events:none}
.contact-grid{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(45px,7vw,120px);align-items:start}
.contact-intro{padding-top:28px}
.contact-intro h2{font-size:clamp(3rem,5vw,6.2rem);line-height:1.08;letter-spacing:-.045em}.contact-intro h2 em{color:var(--accent)}.contact-intro>p:last-of-type:not(.contact-aside){max-width:440px;color:#c5c5c5}
.contact-aside{position:relative;margin-top:clamp(60px,8vw,130px);padding:20px 0 0 48px;border-top:1px solid #555;color:#aaa;font-size:.78rem}.contact-aside__icon{position:absolute;left:0;top:17px;width:22px;height:22px;color:var(--accent)}
.contact-form{position:relative;display:block;padding:clamp(26px,3vw,48px);border:1px solid #555;background:linear-gradient(145deg,#191919,#101010 62%);box-shadow:26px 26px 0 rgba(227,86,55,.055)}.contact-form::before,.contact-form::after{content:"";position:absolute;width:32px;height:32px;pointer-events:none}.contact-form::before{top:-1px;left:-1px;border-top:2px solid var(--accent);border-left:2px solid var(--accent)}.contact-form::after{right:-1px;bottom:-1px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent)}
.contact-form__heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:32px;padding-bottom:19px;border-bottom:1px solid #555}.contact-form__heading span:first-child{font-family:var(--serif);font-size:clamp(1.55rem,2.3vw,2.4rem)}.contact-form__heading span:last-child{color:#aaa;font-size:.65rem;letter-spacing:.04em;text-align:right}
.contact-form__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 18px}.contact-form .contact-field{display:grid;gap:11px;min-width:0;margin:0}.contact-field--wide{grid-column:1/-1}.contact-form .contact-field__label{display:block;color:#eee;font-size:.72rem;letter-spacing:.02em}
.contact-form .contact-field input,.contact-form .contact-field select,.contact-form .contact-field textarea{width:100%;min-height:52px;padding:13px 15px;border:1px solid #555;border-radius:0;background:#0b0b0b;color:#fff;font-size:.83rem;transition:border-color .2s,background-color .2s,box-shadow .2s}.contact-form .contact-field textarea{min-height:155px;resize:vertical}.contact-form .contact-field input:hover,.contact-form .contact-field select:hover,.contact-form .contact-field textarea:hover{border-color:#999}.contact-form .contact-field input:focus,.contact-form .contact-field select:focus,.contact-form .contact-field textarea:focus{outline:0;border-color:var(--accent);background:#111;box-shadow:inset 3px 0 0 var(--accent)}.contact-form select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--accent) 50%),linear-gradient(135deg,var(--accent) 50%,transparent 50%)!important;background-position:calc(100% - 21px) 24px,calc(100% - 15px) 24px!important;background-size:6px 6px,6px 6px!important;background-repeat:no-repeat!important;padding-right:38px!important}.contact-form select option{background:#151515}
.contact-form .check{display:flex;align-items:flex-start;gap:12px;margin:28px 0;color:#aaa;font-size:.7rem;font-weight:400;line-height:1.55}.contact-form .check input{flex:none;width:17px;height:17px;margin:1px 0 0;accent-color:var(--accent)}.contact-form .check a{color:#fff;text-underline-offset:3px}.contact-form .check a:hover{color:var(--accent)}
.contact-form .contact-submit{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:68px;padding:0 12px 0 23px;border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer;font-size:.78rem;font-weight:700;letter-spacing:.1em;text-align:left;text-transform:uppercase;transition:background .25s,color .25s}.contact-form .contact-submit:hover,.contact-form .contact-submit:focus-visible{background:#fff;border-color:#fff;color:#0b0b0b}.contact-submit__arrow{display:grid;place-items:center;width:44px;height:44px;border:1px solid currentColor;border-radius:50%;font-size:1.4rem;font-weight:400;line-height:1;transition:transform .25s}.contact-submit:hover .contact-submit__arrow{transform:translate(3px,-3px)}
.contact-form .form-status{margin:0 0 25px;padding:14px 16px;border:1px solid var(--accent);background:rgba(227,86,55,.11);font-size:.8rem}.contact-form .form-status.is-success{border-color:#78b994;background:rgba(120,185,148,.1)}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr;gap:48px}.contact-aside{margin-top:40px}.contact-form{max-width:750px}}
@media(max-width:640px){.contact-section{padding-block:80px}.contact-grid{gap:36px}.contact-intro{padding-top:0}.contact-intro h2{font-size:clamp(2.7rem,11vw,4.5rem)}.contact-aside{margin-top:34px}.contact-form{padding:24px 19px;box-shadow:12px 12px 0 rgba(227,86,55,.055)}.contact-form__fields{grid-template-columns:1fr;gap:22px}.contact-field--wide{grid-column:auto}.contact-form__heading{margin-bottom:25px}.contact-form .contact-submit{min-height:62px}}

/* Ritmo verticale e nuove superfici */
.hero,.hero-manifesto,.simple-hero{min-height:100svh}
.hero::before{background-position:center calc(50% + var(--parallax-shift,0px));will-change:background-position}
.simple-hero{display:flex;align-items:center;padding-block:clamp(120px,12vw,200px)}
.simple-hero .button{margin-top:20px}
.split-feature{min-height:94svh}
.services-section,.process-section,.projects-section,.audience-section,.principles-section,.approach-section,.archive-section{min-height:88svh}
.manifesto-teaser,.vision-section{min-height:90svh}
.contact-section{min-height:100svh;display:flex;align-items:center}
.contact-section>.wrap{width:min(calc(100% - var(--pad)*2),var(--wrap))}
.phase-section{min-height:82svh;display:flex;align-items:center}
.phase-section>.wrap{width:min(calc(100% - var(--pad)*2),1150px)}
.split-copy{padding-block:clamp(90px,11vw,190px)}
.approach-section,.principles-section,.services-section,.audience-section{padding-block:clamp(115px,12vw,190px)}
.reveal-item{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:var(--reveal-delay,0ms)}
.reveal-item.is-revealed{opacity:1;transform:none}

/* Footer */
.site-footer{position:relative;background:#101010;padding:clamp(75px,8vw,120px) 0 25px;border-top:1px solid #333}
.footer-intro{display:flex;align-items:end;justify-content:space-between;gap:48px;padding-bottom:42px;border-bottom:1px solid var(--accent)}
.footer-intro p{font-family:var(--serif);font-size:clamp(1.5rem,2.5vw,2.5rem);line-height:1.25;margin:0}
.footer-intro em{color:var(--accent);letter-spacing:0}
.footer-intro>a{display:inline-flex;align-items:center;gap:28px;flex:0 0 auto;padding-bottom:7px;border-bottom:1px solid #777;font-size:.9rem;font-weight:600;transition:color .2s,gap .2s}
.footer-intro>a:hover{color:var(--accent);gap:36px}
.footer-intro>a span{font-size:1.4rem;line-height:1}
.footer-main{display:grid;grid-template-columns:minmax(280px,1.6fr) minmax(130px,.7fr) minmax(230px,1fr);gap:clamp(35px,6vw,100px);padding-block:75px 95px}
.footer-logo img{width:170px;height:auto}
.footer-about p{max-width:330px;font-size:.9rem;color:#bababa;margin-top:25px;line-height:1.7}
.footer-label{font-family:var(--sans);font-size:.68rem!important;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)!important;margin:0 0 20px!important}
.footer-nav{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.footer-nav a{font-size:.9rem;transition:color .2s,transform .2s}
.footer-nav a:hover{color:var(--accent);transform:translateX(5px)}
.footer-contact address,.location-details address{font-style:normal;font-family:var(--serif);font-size:clamp(1rem,1.4vw,1.35rem);line-height:1.5}
.footer-map{display:inline-flex;align-items:center;gap:15px;border-bottom:1px solid var(--accent);padding-bottom:6px;margin-top:18px;font-size:.8rem}
.footer-email-label{margin-top:38px!important}
.footer-email{font-size:clamp(1rem,1.5vw,1.5rem);border-bottom:1px solid #666;padding-bottom:6px;word-break:break-word}
.footer-bottom{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap;border-top:1px solid #555;padding-top:22px;font-size:.72rem;color:#a8a8a8}
.footer-bottom>div{display:flex;gap:22px}
.footer-bottom a:hover{color:#fff}

/* Contatti */
.contact-hero{background-image:linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.34) 57%,rgba(0,0,0,.1) 100%),url('../images/caos-contatti-hero.jpg');background-color:#101010;background-size:cover;background-position:center}
.contact-hero>.wrap{position:relative}
.footer-social-label{margin-top:32px!important}
.footer-social{display:inline-flex;align-items:center;gap:12px;border-bottom:1px solid #666;padding-bottom:6px;font-size:.9rem;transition:color .2s,border-color .2s}
.footer-social:hover{color:var(--accent);border-color:var(--accent)}
.back-to-top{position:fixed;right:clamp(18px,3vw,42px);bottom:clamp(18px,3vw,42px);z-index:110;display:grid;place-items:center;width:50px;height:50px;border:1px solid var(--accent);border-radius:50%;background:#101010;color:#fff;font-size:1.45rem;line-height:1;cursor:pointer;box-shadow:0 8px 26px rgba(0,0,0,.35);transition:background .2s,transform .2s}
.back-to-top:hover{background:var(--accent);transform:translateY(-3px)}
.back-to-top[hidden]{display:none}
@media(max-width:640px){.contact-hero{background-image:linear-gradient(0deg,rgba(0,0,0,.83) 0%,rgba(0,0,0,.28) 75%),url('../images/caos-contatti-hero.jpg');background-position:66% center}.back-to-top{width:46px;height:46px}}
.location-section{min-height:85svh;display:flex;align-items:center;padding-block:clamp(110px,11vw,180px);background:#171717}
.location-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(60px,10vw,170px);align-items:start}
.location-heading h2{font-size:clamp(2.4rem,4vw,4.6rem);margin-bottom:35px}
.location-heading>p:last-child{max-width:420px;color:#c5c5c5}
.location-details{border-top:1px solid var(--accent);padding-top:25px}
.location-details address{margin-bottom:45px}
.location-email{font-family:var(--serif);font-size:clamp(1.25rem,2vw,2.2rem);word-break:break-word}
.location-map{display:flex;align-items:center;justify-content:space-between;margin-top:65px;padding:18px 0;border-top:1px solid #777;border-bottom:1px solid #777;font-size:.82rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;transition:color .2s}
.location-map:hover{color:var(--accent)}
.location-map span:last-child{font-size:1.5rem}

@media(max-width:900px){.footer-main{grid-template-columns:1fr 1fr}.footer-about{grid-column:1/-1}.location-grid{gap:50px}}
@media(max-width:640px){.hero,.hero-manifesto,.simple-hero{min-height:100svh}.hero::before{background-position:center}.split-feature,.services-section,.process-section,.projects-section,.audience-section,.principles-section,.approach-section,.archive-section,.manifesto-teaser,.vision-section,.contact-section,.phase-section,.location-section{min-height:auto}.split-copy{padding-block:75px}.services-section,.audience-section,.principles-section,.approach-section{padding-block:90px}.contact-section{padding-block:90px}.phase-section{padding-block:80px}.footer-intro{display:block;padding-bottom:32px}.footer-intro>a{margin-top:28px}.footer-main{grid-template-columns:1fr 1fr;gap:42px 20px;padding-block:55px 65px}.footer-about{grid-column:1/-1}.footer-contact{grid-column:1/-1}.footer-bottom{display:grid;gap:16px}.location-section{padding-block:90px}.location-grid{grid-template-columns:1fr;gap:55px}.location-map{margin-top:45px}}
@media(prefers-reduced-motion:reduce){.reveal-item{opacity:1;transform:none}.hero::before{will-change:auto}}

/* Allineamento alle tavole Agenzia e Manifesto */
.audience-icon{width:46px;height:46px;object-fit:contain;justify-self:end}
.principles-section .eyebrow{font-family:var(--serif);font-size:1rem;font-weight:400;letter-spacing:0;margin-bottom:18px}
.principle-row{grid-template-columns:36px 72px minmax(180px,1.08fr) minmax(220px,1.17fr) minmax(330px,1.7fr);gap:24px;min-height:175px;padding:14px 0}
.principle-row .number{align-self:center}
.principle-row .principle-icon{width:68px;height:68px;object-fit:contain}
.principle-row h3{font-size:clamp(1.35rem,1.8vw,2rem)}
.principle-row p{font-size:clamp(.9rem,1.05vw,1.08rem);line-height:1.35;font-weight:500;max-width:285px}
.principle-row .principle-image{width:100%;height:150px;object-fit:cover}
.approach-grid{grid-template-columns:.9fr 1.1fr;gap:clamp(50px,5vw,80px)}
.approach-grid .eyebrow{font-family:var(--serif);font-size:1.05rem;font-weight:400;letter-spacing:0;margin:0 0 32px}
.approach-grid .eyebrow::after{content:"";display:block;width:64px;height:2px;background:var(--accent);margin-top:30px}
.approach-grid h2{font-size:clamp(1.8rem,2.4vw,2.6rem);line-height:1.12;margin:0}
.approach-grid>div:last-child p{font-size:clamp(1.16rem,1.55vw,1.5rem);line-height:1.35;font-weight:500;max-width:670px;margin-bottom:1.5em}
.manifesto-body .signature{font-family:'Amsterdam Four',cursive;font-size:clamp(2.2rem,3vw,2.8rem)!important;line-height:1;letter-spacing:.015em;font-weight:400;color:#fff;margin-top:95px;margin-right:5%;text-align:right}
@media(max-width:1100px){.principle-row{grid-template-columns:30px 58px minmax(140px,1fr) minmax(170px,1.1fr) minmax(230px,1.5fr);gap:16px}.principle-row .principle-icon{width:56px;height:56px}.principle-row .principle-image{height:135px}}
@media(max-width:760px){.principle-row{grid-template-columns:28px 56px 1fr;gap:10px 16px;padding:26px 0;min-height:auto}.principle-row .number{grid-column:1;grid-row:1/3;align-self:start;padding-top:8px}.principle-row .principle-icon{grid-column:2;grid-row:1/3;width:54px;height:54px}.principle-row h3{grid-column:3;grid-row:1;font-size:1.35rem;align-self:end}.principle-row p{grid-column:3;grid-row:2;max-width:none;font-size:.92rem;line-height:1.4}.principle-row .principle-image{grid-column:1/-1;grid-row:3;height:140px;margin-top:14px}.audience-icon{width:36px;height:36px;grid-column:3;grid-row:1/3}.approach-grid{grid-template-columns:1fr;gap:42px}.approach-grid>div:last-child p{font-size:1.1rem;line-height:1.42}.manifesto-body .signature{margin-right:0}}

/* Blog e casi studio: impianto editoriale */
.editorial-hero{position:relative;overflow:hidden;background:#141414}
.blog-hero{background:radial-gradient(circle at 78% 18%,rgba(227,86,55,.14),transparent 34%),#141414}
.project-archive-hero{background:radial-gradient(circle at 79% 55%,rgba(227,86,55,.13),transparent 36%),#111}
.editorial-hero-grid{display:grid;align-items:end}
.editorial-hero h1{font-size:clamp(3.4rem,6.6vw,7.4rem);letter-spacing:-.045em;line-height:1.05;margin:24px 0 0}
.editorial-hero h1 em{color:var(--accent);letter-spacing:-.065em}
.editorial-hero-aside{padding-bottom:13px}
.coral-rule{display:block;width:68px;height:2px;background:var(--accent)}
.editorial-hero-aside p{font-size:clamp(1.02rem,1.35vw,1.28rem);line-height:1.5;margin:28px 0 34px}
.editorial-list{padding-block:clamp(100px,11vw,170px);background:#080808}
.section-topline{display:flex;align-items:baseline;justify-content:space-between;gap:24px;border-top:1px solid var(--accent);padding-top:17px;margin-bottom:55px}
.section-topline .eyebrow{margin:0}
.section-topline>span{font-size:.72rem;color:#aaa;letter-spacing:.08em;text-transform:uppercase}
.archive-grid.blog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(48px,5vw,80px) clamp(22px,2.5vw,40px)}
.archive-grid.case-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(55px,7vw,110px) clamp(24px,3vw,45px)}
.editorial-card.is-featured{grid-column:1/-1}
.editorial-card .card-media{position:relative;aspect-ratio:1.55;background:#1b1b1b}
.editorial-card.is-featured .card-media{aspect-ratio:2.35}
.editorial-card .card-media img{filter:saturate(.83);transition:transform .65s ease,filter .5s ease}
.editorial-card:hover .card-media img{transform:scale(1.035);filter:saturate(1)}
.editorial-card .card-arrow{position:absolute;right:17px;bottom:17px;display:grid;place-items:center;width:43px;height:43px;border:1px solid rgba(255,255,255,.8);border-radius:50%;font-size:1.25rem;background:rgba(0,0,0,.26)}
.editorial-card .card-meta{display:flex;justify-content:space-between;gap:15px;margin:23px 0 13px;color:var(--accent);font-size:.7rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase}
.editorial-card h2{max-width:900px;font-size:clamp(1.6rem,2.25vw,2.6rem);line-height:1.2;margin:0 0 16px}
.editorial-card.is-featured h2{font-size:clamp(2rem,3.3vw,3.8rem)}
.blog-grid .editorial-card h2{font-size:clamp(1.55rem,1.9vw,2.1rem)}
.editorial-card p{max-width:680px;color:#bcbcbc;font-size:clamp(.9rem,1vw,1rem);line-height:1.6;margin-bottom:19px}
.card-read{display:inline-flex;align-items:center;gap:15px;border-bottom:1px solid var(--accent);padding-bottom:7px;font-size:.8rem;font-weight:600}
.card-read span{font-size:1.1rem}
.related-section{background:#111}
.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

.journal-header{padding-block:clamp(95px,10vw,160px) clamp(70px,8vw,115px);background:#141414}
.journal-header .wrap{max-width:1060px}
.entry-back{display:inline-flex;align-items:center;gap:10px;color:#c7c7c7;border-bottom:1px solid #666;padding-bottom:7px;font-size:.8rem;transition:color .2s}
.entry-back:hover{color:var(--accent)}
.entry-kicker{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--accent);margin:clamp(85px,10vw,155px) 0 30px;padding-top:15px}
.entry-kicker .eyebrow{margin:0}
.entry-kicker>span:last-child{font-size:.72rem;color:#aaa;letter-spacing:.08em;text-transform:uppercase}
.journal-header h1{max-width:950px;font-size:clamp(2.9rem,5.8vw,6.5rem);letter-spacing:-.045em;line-height:1.1;margin-bottom:26px}
.journal-header .entry-excerpt{max-width:760px;font-size:clamp(1.1rem,1.6vw,1.45rem);line-height:1.5;color:#c6c6c6;margin:0}
.journal-cover{margin-top:-1px}
.journal-cover img{max-height:690px;aspect-ratio:2.1;object-fit:cover}
.journal-content{padding-block:clamp(100px,11vw,160px);max-width:760px;font-size:clamp(1rem,1.16vw,1.13rem);line-height:1.85}
.journal-content .article-lead{font-size:clamp(1.25rem,1.8vw,1.65rem);line-height:1.55;color:#fff;margin-bottom:2.5em}
.journal-content h2,.project-content h2{font-size:clamp(1.7rem,2.3vw,2.4rem);line-height:1.3;margin:2.4em 0 .65em}
.journal-content h2:first-child,.project-content h2:first-child{margin-top:0}
.journal-content p,.project-content p{color:#d3d3d3;margin-bottom:1.5em}
.journal-content ul{padding-left:1.3em;margin:2em 0}
.journal-content li{padding-left:.4em;margin-bottom:.8em}
.journal-entry .entry-footer{border-top:1px solid #555;padding-top:38px;padding-bottom:clamp(100px,11vw,160px)}
.journal-entry .entry-footer p{font-family:var(--serif);font-size:clamp(1.4rem,2.1vw,2.2rem);line-height:1.35;max-width:570px;margin:34px 0}

.project-hero{position:relative;isolation:isolate;min-height:100svh;display:flex;align-items:end;background:#1b1b1b}
.project-hero::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(0deg,rgba(0,0,0,.9),rgba(0,0,0,.08) 80%),var(--project-image);background-size:cover;background-position:center}
.project-hero-content{padding-block:110px 70px}
.project-hero-content .entry-back{position:absolute;top:clamp(125px,11vw,190px)}
.project-hero-content .entry-back{background:rgba(0,0,0,.48);padding:9px 13px;border-color:rgba(255,255,255,.7);backdrop-filter:blur(8px)}
.project-hero-bottom{display:flex;align-items:end;justify-content:space-between;gap:45px}
.project-hero h1{font-size:clamp(3.5rem,8vw,9rem);letter-spacing:-.05em;line-height:1.02;margin:15px 0 18px;max-width:1000px}
.project-hero .entry-excerpt{max-width:650px;font-size:clamp(1rem,1.35vw,1.3rem);line-height:1.5;color:#eee;margin:0}
.project-hero-mark{display:grid;place-items:center;flex:0 0 auto;width:100px;height:100px;border:1px solid #fff;border-radius:50%;font-size:3rem;line-height:1}
.project-detail-bar{background:var(--accent);color:#fff}
.project-detail-bar .wrap{display:flex;justify-content:space-between;gap:30px;padding-block:19px;font-size:.7rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.demo-note{display:grid;grid-template-columns:170px 1fr;gap:35px;align-items:baseline;padding-block:45px;border-bottom:1px solid #555}
.demo-note p{max-width:740px;margin:0;color:#bdbdbd;font-size:.88rem}
.project-content{max-width:800px;padding-block:clamp(110px,12vw,180px);font-size:clamp(1.05rem,1.32vw,1.28rem);line-height:1.7}
.project-content h2{border-top:1px solid #555;padding-top:32px;color:#fff}
.project-content h2:first-child{border-color:var(--accent)}
.project-footer{display:flex;align-items:end;justify-content:space-between;gap:40px;padding-block:clamp(80px,10vw,145px);border-top:1px solid #555}
.project-footer h2{font-size:clamp(2.5rem,4.7vw,5.5rem);margin:16px 0 0}
.project-footer h2 em{color:var(--accent)}
.projects-section .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,3vw,45px)}
.projects-section .editorial-card .card-media{aspect-ratio:1.7}

@media(max-width:1100px){.archive-grid.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.editorial-hero-grid{grid-template-columns:1fr;gap:45px}.editorial-hero-aside{max-width:600px}.journal-cover img{aspect-ratio:1.7}.project-hero-mark{width:72px;height:72px;font-size:2.2rem}}
@media(max-width:640px){.editorial-hero{align-items:end;padding-block:140px 95px}.editorial-hero-grid{gap:35px}.editorial-hero h1{font-size:clamp(2.9rem,12vw,4.5rem)}.editorial-hero-aside p{font-size:1rem;margin:20px 0 25px}.section-topline{margin-bottom:35px}.section-topline>span{display:none}.archive-grid.blog-grid,.archive-grid.case-grid,.related-grid,.projects-section .project-grid{grid-template-columns:1fr;gap:55px}.editorial-card.is-featured{grid-column:auto}.editorial-card.is-featured .card-media,.editorial-card .card-media{aspect-ratio:1.25}.editorial-card.is-featured h2{font-size:clamp(1.7rem,7vw,2.4rem)}.journal-header{padding-block:105px 65px}.entry-kicker{align-items:start;flex-direction:column;gap:9px;margin-top:85px}.journal-header h1{font-size:clamp(2.5rem,10vw,3.6rem)}.journal-cover img{aspect-ratio:1.1}.journal-content{padding-block:75px;font-size:1rem}.journal-content .article-lead{font-size:1.2rem}.journal-entry .entry-footer{padding-bottom:80px}.project-hero-content{padding-block:100px 65px}.project-hero-content .entry-back{top:115px}.project-hero h1{font-size:clamp(3rem,13vw,5rem)}.project-hero-mark{display:none}.project-detail-bar .wrap{flex-wrap:wrap;gap:10px 20px}.demo-note{grid-template-columns:1fr;gap:10px;padding-block:35px}.project-content{padding-block:85px;font-size:1rem}.project-footer{display:block;padding-block:80px}.project-footer .text-link{margin-top:35px}}

/* Immagini e testi dentro i blocchi core di Gutenberg */
.hero-home{--hero-image:url('../images/caos-home-hero.webp')}
.hero-agency{--hero-image:url('../images/caos-agenzia-hero.webp')}
.hero-method{--hero-image:url('../images/caos-metodo-hero.webp')}
.hero-manifesto{--hero-image:url('../images/caos-manifesto-hero.webp')}
.manifesto-teaser{--section-image:url('../images/caos-home-manifesto.jpg')}
.vision-section{--section-image:url('../images/caos-agenzia-visione-del-caos.jpg')}
.wp-block-group.wrap{max-width:var(--wrap)}
.wp-block-image{margin:0}
.split-image .wp-block-image,.split-image .wp-block-image img{width:100%;height:100%;min-height:inherit}
.split-image .wp-block-image img{object-fit:cover}
.service-row .wp-block-image{width:42px;height:42px}
.service-row .wp-block-image img{width:100%;height:100%;object-fit:contain}
.audience-row .audience-icon{width:50px;height:50px;margin:0}
.audience-row .audience-icon img{width:100%;height:100%;object-fit:contain}
.principle-row .principle-icon{width:68px;height:68px;margin:0}
.principle-row .principle-icon img{width:100%;height:100%;object-fit:contain}
.principle-row .principle-image{width:100%;height:150px;margin:0}
.principle-row .principle-image img{width:100%;height:100%;object-fit:cover}
.phase-description .wp-block-image{margin-top:20px;width:110px;height:110px}
.phase-description .wp-block-image img{width:100%;height:100%;object-fit:contain;margin:0}
.phase-activity{padding:11px 0;border-top:1px solid #777;font-size:.82rem;margin:0}
.phase-activity:last-child{border-bottom:1px solid #777}
.manifesto-teaser .manifesto-quote,.vision-section .vision-quote{font-family:var(--serif);font-size:clamp(1.35rem,2.3vw,2.5rem);line-height:1.5;max-width:540px;font-style:italic;margin:0 0 25px}
.vision-section .vision-quote{max-width:650px}
.location-address{font-style:normal;font-family:var(--serif);font-size:clamp(1rem,1.4vw,1.35rem);line-height:1.5;margin-bottom:45px}
.location-details .caos-link-row{margin:0}
.location-details .location-map{width:100%}
.editorial-hero .coral-rule{font-size:0;line-height:0;margin:0}
.editorial-hero hr.coral-rule{border:0;background:var(--accent);color:var(--accent);opacity:1}
.editorial-hero .caos-link-row{margin:0}
.manifesto-body .signature{display:block}
@media(max-width:640px){.service-row .wp-block-image{width:32px;height:32px}.audience-row .audience-icon{width:36px;height:36px}.principle-row .principle-icon{width:54px;height:54px}.principle-row .principle-image{height:140px}.phase-description .wp-block-image{width:80px;height:80px}}

/* Archivi: articoli come pagine editoriali, progetti come manifesti visivi */
.archive-grid.blog-grid,.archive-grid.case-grid{grid-template-columns:minmax(0,1fr)}
.blog-grid{gap:clamp(32px,4vw,58px)}
.blog-grid .editorial-card{border:1px solid #303030;background:#151515;overflow:hidden}
.blog-grid .editorial-card>a{display:grid;grid-template-columns:48% 52%;grid-template-areas:'image copy';min-height:390px}
.blog-grid .editorial-card:nth-child(even)>a{grid-template-areas:'copy image';grid-template-columns:52% 48%}
.blog-grid .card-media{grid-area:image;aspect-ratio:auto;min-height:390px}
.blog-grid .card-copy{grid-area:copy;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(34px,5vw,82px)}
.blog-grid .card-meta{width:100%;margin:0 0 34px}
.blog-grid .editorial-card h2{font-size:clamp(2.1rem,3.2vw,3.75rem);line-height:1.16;margin-bottom:22px}
.blog-grid .editorial-card p{font-size:clamp(.95rem,1.08vw,1.1rem);line-height:1.65;max-width:480px;margin-bottom:34px}
.blog-grid .card-read{margin-top:auto}
.blog-grid .editorial-card:nth-child(even){background:#1d1918}
.blog-grid .editorial-card:hover{border-color:#8b4433}
.case-grid{gap:clamp(34px,4vw,60px)}
.case-grid .project-card{border:1px solid #393433;background:#181818;overflow:hidden;transition:border-color .3s,background .3s}
.case-grid .project-card:nth-child(even){background:#1b1716}
.case-grid .project-card:hover{border-color:var(--accent);background:#211b19}
.case-grid .project-card>a{display:block;padding:clamp(18px,2.5vw,36px)}
.project-card-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:17px;color:var(--accent);font-size:.72rem;font-weight:600;letter-spacing:.11em;text-transform:uppercase}
.case-grid .project-card .card-media{aspect-ratio:4.25;max-height:310px;background:#222}
.case-grid .project-card .card-media img{width:100%;height:100%;object-fit:cover}
.project-card-bottom{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:clamp(32px,6vw,100px);align-items:end;padding:clamp(34px,4vw,60px) 0 6px}
.case-grid .project-card h2{font-size:clamp(3rem,5.5vw,6rem);letter-spacing:-.055em;line-height:1.07;margin:0}
.case-grid .project-card p{font-size:clamp(.95rem,1.1vw,1.12rem);line-height:1.65;margin:0 0 25px;max-width:420px}
.case-grid .project-card .card-read{margin:0}
.story-card .card-arrow{width:52px;height:52px;right:20px;bottom:20px;transition:background .3s,transform .3s}
.story-card:hover .card-arrow{background:var(--accent);transform:rotate(45deg)}
.project-hero{background:radial-gradient(circle at 75% 75%,rgba(227,86,55,.11),transparent 42%),#111}
.project-hero::before{inset:0 0 auto;height:min(43svh,340px);background-image:linear-gradient(0deg,#111,rgba(0,0,0,.08) 70%),var(--project-image);background-position:35% center}

/* Agenzia: un mosaico di destinatari con un ritmo più deciso */
.audience-section{background:radial-gradient(circle at 88% 8%,rgba(227,86,55,.12),transparent 30%),#101010}
.audience-section>.wrap{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.audience-section .wrap>.eyebrow{grid-column:1/-1;margin:0 0 26px;padding-bottom:19px;border-bottom:1px solid var(--accent)}
.audience-section .audience-row{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:0;min-height:290px;padding:clamp(26px,3vw,46px);border:1px solid #393939;background:linear-gradient(150deg,#1d1d1d,#151515);overflow:hidden;transition:background .35s,border-color .35s,transform .35s}
.audience-section .audience-row:nth-of-type(-n+2){grid-column:span 3}
.audience-section .audience-row:nth-of-type(n+3){grid-column:span 2}
.audience-section .audience-row::before{content:'';position:absolute;left:0;top:0;width:100%;height:3px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .5s cubic-bezier(.22,1,.36,1)}
.audience-section .audience-row:hover{background:linear-gradient(145deg,#2a201d,#191919);border-color:#8b4433;transform:translateY(-5px)}
.audience-section .audience-row:hover::before{transform:scaleX(1)}
.audience-section .audience-row .number{font-size:.76rem;margin:0}
.audience-section .audience-row h3{margin:auto 0 16px;font-size:clamp(1.65rem,2.2vw,2.7rem);line-height:1.2;max-width:80%}
.audience-section .audience-row p:not(.number){max-width:400px;margin:0;color:#c5c5c5;font-size:clamp(.9rem,1vw,1rem);line-height:1.55}
.audience-section .audience-row .audience-icon{position:absolute;right:clamp(24px,3vw,42px);top:clamp(24px,3vw,42px);width:68px;height:68px;opacity:.9;transition:transform .6s,opacity .3s}
.audience-section .audience-row:hover .audience-icon{transform:rotate(20deg) scale(1.12);opacity:1}

@media(max-width:900px){
  .blog-grid .editorial-card>a,.blog-grid .editorial-card:nth-child(even)>a{grid-template-columns:45% 55%;grid-template-areas:'image copy';min-height:350px}
  .blog-grid .card-media{min-height:350px}
  .blog-grid .card-copy{padding:32px}
  .blog-grid .editorial-card h2{font-size:clamp(1.8rem,3.3vw,2.5rem)}
  .project-card-bottom{grid-template-columns:1fr 1fr}
  .audience-section .audience-row:nth-of-type(n){grid-column:span 3}
  .audience-section .audience-row:last-child{grid-column:1/-1}
}
@media(max-width:640px){
  .hero-home{align-items:center}
  .hero-home::before{background-image:linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.34)),var(--hero-image)}
  .hero-home .hero-content{padding-block:32px}
  .editorial-hero{align-items:center;padding-block:110px 75px}
  .editorial-hero-grid{gap:28px}
  .blog-grid,.case-grid{gap:24px}
  .blog-grid .editorial-card>a,.blog-grid .editorial-card:nth-child(even)>a{display:flex;flex-direction:column;min-height:0}
  .blog-grid .card-media{min-height:0;aspect-ratio:1.28}
  .blog-grid .card-copy{padding:28px 24px 32px}
  .blog-grid .card-meta{margin-bottom:22px}
  .blog-grid .editorial-card h2{font-size:clamp(1.7rem,7vw,2.2rem)}
  .blog-grid .editorial-card p{font-size:.96rem;margin-bottom:24px}
  .case-grid .project-card>a{padding:14px}
  .case-grid .project-card .card-media{aspect-ratio:2.25;max-height:none}
  .case-grid .project-card .card-media img{object-position:20% center}
  .project-card-bottom{display:block;padding:30px 6px 14px}
  .case-grid .project-card h2{font-size:clamp(2.35rem,10vw,3.4rem);margin:0 0 22px}
  .case-grid .project-card p{font-size:.96rem}
  .project-card-top{font-size:.65rem}
  .audience-section>.wrap{grid-template-columns:1fr;gap:12px}
  .audience-section .wrap>.eyebrow{margin-bottom:16px}
  .audience-section .audience-row:nth-of-type(n),.audience-section .audience-row:last-child{grid-column:1}
  .audience-section .audience-row{min-height:210px;padding:24px}
  .audience-section .audience-row h3{font-size:1.6rem;max-width:75%;margin:auto 0 11px}
  .audience-section .audience-row p:not(.number){font-size:.9rem;max-width:90%}
  .audience-section .audience-row .audience-icon{width:54px;height:54px;right:23px;top:23px}
}

/* Rifiniture degli hero e del ritmo verticale */
.blog-hero{background-image:linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.42)),url('../images/caos-blog-hero.jpg');background-size:cover;background-position:center}
.project-archive-hero{background-image:linear-gradient(90deg,rgba(0,0,0,.83),rgba(0,0,0,.35)),url('../images/caos-progetti-hero.jpg');background-size:cover;background-position:center}
.approach-section{display:flex;align-items:center}
.approach-section>.wrap{width:min(calc(100% - var(--pad)*2),var(--wrap))}
.vision-section{min-height:100svh}

/* Processo: cinque simboli vettoriali con altezze e testi coerenti */
.process-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(16px,2.2vw,32px);margin-top:65px}
.process-grid>.process-step{margin-block-start:0!important}
/* Use the same vector arrow everywhere; iOS renders the Unicode arrow as a blue emoji. */
.card-arrow,.card-read>span,.text-link>span,.caos-link-row a>span,.footer-intro a>span,.footer-map>span,.project-hero-mark{font-size:0!important;color:transparent;line-height:0}
.card-read>span,.text-link>span,.caos-link-row a>span,.footer-intro a>span,.footer-map>span{display:inline-flex;align-items:center;justify-content:center;flex:none;width:18px;height:18px}
.card-arrow::before,.card-read>span::before,.text-link>span::before,.caos-link-row a>span::before,.footer-intro a>span::before,.footer-map>span::before,.project-hero-mark::before{content:"";display:block;flex:none;width:18px;height:18px;background:url('../images/caos-arrow-up-right.svg') center/contain no-repeat}
.card-arrow::before{width:21px;height:21px}
.project-hero-mark::before{width:42px;height:42px}
.process-step{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:30px 0 0}
.process-step .number{top:-35px;margin:0}
.process-step .process-icon{display:block;flex:none;width:76px;height:76px;min-height:76px;margin:0 0 24px;color:transparent;font-size:0;line-height:0;background-repeat:no-repeat;background-position:center;background-size:contain}
.process-step:nth-child(1) .process-icon{background-image:url('../images/caos-processo-analisi.svg')}
.process-step:nth-child(2) .process-icon{background-image:url('../images/caos-processo-marketing.svg')}
.process-step:nth-child(3) .process-icon{background-image:url('../images/caos-processo-comunicazione.svg')}
.process-step:nth-child(4) .process-icon{background-image:url('../images/caos-processo-canali.svg')}
.process-step:nth-child(5) .process-icon{background-image:url('../images/caos-processo-misurazione.svg')}
.process-step h3{font-size:clamp(1.03rem,1.25vw,1.35rem);line-height:1.25;min-height:2.5em;margin:0 0 12px}
.process-step p:not(.number):not(.process-icon){margin:0;color:#c6c6c6;font-size:.79rem;line-height:1.5}

@media(max-width:900px){
  .process-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
  .process-step .process-icon{width:60px;height:60px;min-height:60px}
}
@media(max-width:640px){
  .hero-agency,.hero-manifesto{align-items:center}
  .hero-agency .hero-content,.hero-manifesto .hero-content{padding-block:32px}
  .hero-home+.split-feature .split-copy,.hero-agency+.split-feature .split-copy{order:-1}
  .hero-home+.split-feature .split-image,.hero-agency+.split-feature .split-image{order:1}
  .manifesto-teaser,.vision-section{min-height:100svh;align-items:flex-end}
  .manifesto-teaser .wrap,.vision-section .wrap{padding-block:70px}
  .manifesto-teaser::before{background-image:linear-gradient(0deg,rgba(0,0,0,.9),rgba(0,0,0,.04) 75%),var(--section-image);background-position:83% center}
  .vision-section::before{background-image:linear-gradient(0deg,rgba(0,0,0,.9),rgba(0,0,0,.06) 75%),var(--section-image);background-position:80% center}
  .vision-section h2{font-size:clamp(2.1rem,9vw,3rem);margin-bottom:18px}
  .vision-section .vision-quote{font-size:clamp(1.25rem,5.7vw,1.65rem);line-height:1.4}
  .blog-hero{background-image:linear-gradient(0deg,rgba(0,0,0,.82),rgba(0,0,0,.48)),url('../images/caos-blog-hero.jpg');background-position:54% center}
  .project-archive-hero{background-image:linear-gradient(0deg,rgba(0,0,0,.82),rgba(0,0,0,.45)),url('../images/caos-progetti-hero.jpg');background-position:55% center}
  .process-section{overflow:hidden}
  .process-section .section-subtitle::after{content:'Scorri per esplorare';display:block;margin-top:18px;color:var(--accent);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
  .process-grid{display:flex;gap:18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;margin:72px 0 36px;padding:40px 0 20px;scrollbar-width:thin;scrollbar-color:var(--accent) #303030}
  .process-step{flex:0 0 min(73vw,280px);scroll-snap-align:start;padding-top:31px}
  .process-step .process-icon{width:74px;height:74px;min-height:74px;margin-bottom:22px}
  .process-step h3{font-size:1.35rem;min-height:2.5em}
  .process-step p:not(.number):not(.process-icon){font-size:.88rem}
}

/* Home process: vertical wheel travel reveals five larger phases from the right. */
@media(min-width:641px) and (max-width:900px){
  .home .process-section{overflow:hidden}
  .home .process-section .section-subtitle::after{content:'Scorri per esplorare';display:block;margin-top:18px;color:var(--accent);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
  .home .process-grid{display:flex;gap:24px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;margin:72px 0 36px;padding:40px 0 20px;scrollbar-width:thin;scrollbar-color:var(--accent) #303030}
  .home .process-step{flex:0 0 min(43vw,360px);scroll-snap-align:start}
  .home .process-step .process-icon{width:80px;height:80px;min-height:80px}
  .home .process-step h3{font-size:1.55rem}
  .home .process-step p:not(.number):not(.process-icon){font-size:.88rem}
}
@media(min-width:901px) and (min-height:700px) and (prefers-reduced-motion:no-preference){
  .home .process-section.is-horizontal{height:calc(100svh + var(--process-scroll-distance, 0px));min-height:0;padding-block:0;overflow:clip}
  .home .process-section.is-horizontal>.wrap{position:sticky;top:0;display:flex;flex-direction:column;justify-content:center;height:100svh;padding-block:40px;overflow:hidden}
  .home .process-section.is-horizontal .section-subtitle{margin-bottom:0}
  .home .process-section.is-horizontal .section-subtitle::after{content:'Scorri per esplorare  →';display:block;margin-top:18px;color:var(--accent);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
  .home .process-section.is-horizontal>.wrap::after{content:'';position:absolute;right:0;bottom:24px;left:0;height:2px;background:linear-gradient(to right,var(--accent) var(--process-progress,0%),#4d4d4d var(--process-progress,0%));pointer-events:none}
  .home .process-section.is-horizontal .process-grid{display:flex;flex:none;gap:clamp(28px,3vw,52px);width:100%;max-width:none;margin:82px 0 46px;overflow:visible;will-change:transform}
  .home .process-section.is-horizontal .process-step{flex:0 0 clamp(350px,32vw,490px);padding-top:32px}
  .home .process-section.is-horizontal .process-step .process-icon{width:100px;height:100px;min-height:100px;margin-bottom:30px}
  .home .process-section.is-horizontal .process-step h3{font-size:clamp(1.75rem,2.2vw,2.5rem);min-height:2.5em;margin-bottom:16px}
  .home .process-section.is-horizontal .process-step p:not(.number):not(.process-icon){max-width:33ch;font-size:clamp(.9rem,1vw,1rem)}
  .home .process-section.is-horizontal .process-step.reveal-item{opacity:1;transform:none}
  .home .process-section.is-horizontal .button{margin-inline:0}
}

/* A single phase gains light as the process advances. The line follows scroll progress. */
.home .process-section.has-phase-focus .process-step::before{z-index:1;transition:box-shadow .45s ease,transform .45s ease}
.home .process-section.has-phase-focus .process-step::after{content:'';position:absolute;top:-1px;left:0;width:100%;height:2px;background:var(--accent);transform:scaleX(var(--phase-fill,0));transform-origin:left center;pointer-events:none}
.home .process-section.has-phase-focus .process-step .process-icon{opacity:.72;filter:drop-shadow(0 0 0 transparent);transition:opacity .5s ease,transform .5s cubic-bezier(.2,.7,.2,1),filter .5s ease}
.home .process-section.has-phase-focus .process-step h3{opacity:.72;transition:opacity .45s ease,transform .45s cubic-bezier(.2,.7,.2,1)}
.home .process-section.has-phase-focus .process-step p:not(.number):not(.process-icon){transition:color .45s ease}
.home .process-section.has-phase-focus .process-step.is-active::before{box-shadow:0 0 0 5px rgba(227,86,55,.16),0 0 20px rgba(227,86,55,.8);transform:scale(1.16)}
.home .process-section.has-phase-focus .process-step.is-active .process-icon{opacity:1;filter:drop-shadow(0 0 11px rgba(227,86,55,.75)) drop-shadow(0 0 28px rgba(227,86,55,.45));transform:scale(1.08)}
.home .process-section.has-phase-focus .process-step.is-active h3{opacity:1;transform:translateY(-4px)}
.home .process-section.has-phase-focus .process-step.is-active p:not(.number):not(.process-icon){color:#f0f0f0}

/* Cards give each phase a clear surface while preserving the scroll-led focus. */
.home .process-section .process-grid>.process-step{--process-card-pad:clamp(24px,2.2vw,32px);--process-rule-top:66px;min-height:350px;padding:var(--process-card-pad);border:1px solid #3c3a39;border-radius:3px;background-color:#1c1c1c;background-image:linear-gradient(#5b5857,#5b5857);background-size:calc(100% - var(--process-card-pad) - var(--process-card-pad)) 1px;background-position:var(--process-card-pad) var(--process-rule-top);background-repeat:no-repeat;box-shadow:0 16px 36px rgba(0,0,0,.18)}
.home .process-section .process-grid>.process-step::before{top:calc(var(--process-rule-top) - 4px);left:var(--process-card-pad)}
.home .process-section .process-grid>.process-step .number{position:static;display:block;margin:0 0 42px;color:#e7e7e7;line-height:1}
.home .process-section.has-phase-focus .process-grid>.process-step::after{top:var(--process-rule-top);left:var(--process-card-pad);right:var(--process-card-pad);width:auto}
.home .process-section.has-phase-focus .process-grid>.process-step{transition:border-color .45s ease,background-color .45s ease,box-shadow .45s ease,opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.home .process-section.has-phase-focus .process-grid>.process-step.is-active{border-color:rgba(227,86,55,.78);background-color:#25201e;box-shadow:0 20px 44px rgba(0,0,0,.28),0 0 0 1px rgba(227,86,55,.12),0 0 42px rgba(227,86,55,.1)}
@media(min-width:901px) and (min-height:700px) and (prefers-reduced-motion:no-preference){
  .home .process-section.is-horizontal>.wrap{padding-block:24px}
  .home .process-section.is-horizontal .process-grid{gap:clamp(20px,2.5vw,36px);margin:52px 0 28px}
  .home .process-section.is-horizontal .process-step{flex-basis:clamp(360px,34vw,490px)}
  .home .process-section.is-horizontal .process-step .process-icon{width:88px;height:88px;min-height:88px;margin-bottom:22px}
  .home .process-section.is-horizontal .process-step h3{font-size:clamp(1.65rem,2vw,2.2rem);min-height:2.4em;margin-bottom:12px}
}
@media(max-width:900px){
  .home .process-section .process-grid{margin-top:48px;padding:12px 2px 24px}
  .home .process-section .process-grid>.process-step{--process-card-pad:24px;--process-rule-top:62px;min-height:340px}
}
@media(min-width:901px) and (prefers-reduced-motion:reduce){
  .home .process-section .process-grid>.process-step{--process-card-pad:20px;--process-rule-top:55px;min-height:0}
  .home .process-section .process-grid>.process-step .number{margin-bottom:38px}
}

/* iOS Safari zooms focused form controls whose computed font size is below 16px. */
@media(max-width:640px){
  .contact-form input:not([type=checkbox]),
  .contact-form .contact-field select,
  .contact-form .contact-field textarea{font-size:16px}
}

/* Editorial hero for standard WordPress pages. */
.page-hero{position:relative;isolation:isolate;overflow:hidden;border-bottom:1px solid #34302f;background:radial-gradient(circle at 78% 23%,rgba(227,86,55,.17),transparent 29%),linear-gradient(115deg,#181818 0%,#0b0b0b 72%)}
.page-hero::before{content:"CAOS";position:absolute;z-index:-1;right:-.07em;bottom:-.37em;color:rgba(255,255,255,.035);font-family:var(--serif);font-size:clamp(15rem,30vw,34rem);letter-spacing:-.11em;line-height:1;pointer-events:none}
.page-hero::after{content:"";position:absolute;z-index:-1;top:-15%;right:17%;width:1px;height:135%;background:linear-gradient(transparent,rgba(227,86,55,.42),transparent);transform:rotate(22deg);pointer-events:none}
.page-hero__inner{display:flex;flex-direction:column;min-height:clamp(340px,29vw,460px);padding-block:clamp(36px,4vw,60px) 24px}
.page-hero__eyebrow{margin:0;color:#c9c9c9;font-size:.7rem;font-weight:600;letter-spacing:.17em;text-transform:uppercase}
.page-hero__eyebrow span{padding-inline:10px;color:var(--accent)}
.page-hero__title-row{display:grid;grid-template-columns:4px minmax(0,1fr);align-items:stretch;gap:clamp(18px,2.5vw,38px);margin-top:auto;padding-block:clamp(42px,5vw,70px) clamp(36px,4vw,55px)}
.page-hero__accent{background:var(--accent)}
.page-hero h1{max-width:1100px;margin:0;font-size:clamp(2.8rem,5vw,5.2rem);line-height:1.08;letter-spacing:-.055em;overflow-wrap:break-word}
.page-hero__footer{display:flex;justify-content:space-between;gap:20px;padding-top:15px;border-top:1px solid rgba(255,255,255,.27);color:#aaa;font-size:.68rem;font-weight:500;letter-spacing:.11em;text-transform:uppercase}
.page-hero + .entry-content{padding-top:clamp(54px,5vw,75px)}
@media(max-width:640px){
  .page-hero__inner{min-height:300px;padding-block:36px 23px}
  .page-hero__title-row{grid-template-columns:3px minmax(0,1fr);gap:17px;padding-block:44px 36px}
  .page-hero h1{font-size:clamp(2.35rem,9vw,3.6rem)}
  .page-hero__footer{font-size:.6rem;line-height:1.5}
  .page-hero + .entry-content{padding-top:50px}
}

/* Scroll-controlled video with the hero pinned in view. */
.hero.hero-home{--caos-header-height:82px;display:block;min-height:350svh}
.hero-home::before,.hero-home::after{display:none}
.hero-home .caos-home-hero__stage{position:sticky;top:var(--caos-header-height);display:flex;align-items:center;isolation:isolate;width:100%;height:calc(100svh - var(--caos-header-height));min-height:480px;overflow:hidden}
.hero-home .caos-home-hero__stage::before{content:"";position:absolute;inset:0;z-index:0;background:#000}
.hero-home .caos-home-hero__video{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}
.hero-home .caos-home-hero__mobile-first,.hero-home .caos-home-hero__mobile-canvas{display:none}
.hero-home .caos-home-hero__stage::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(0,0,0,.83),rgba(0,0,0,.28) 75%);pointer-events:none}
.hero-home .hero-content{position:relative;z-index:3}
.hero.hero-home.is-static{min-height:calc(100svh - var(--caos-header-height))}
@media(max-width:900px){.hero.hero-home{--caos-header-height:70px}.hero-home .caos-home-hero__video{display:none}.hero-home .caos-home-hero__mobile-first,.hero-home .caos-home-hero__mobile-canvas{display:block;position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;object-position:64% center;pointer-events:none}.hero-home .caos-home-hero__mobile-canvas{opacity:0}.hero-home .caos-home-hero__mobile-canvas.is-ready{opacity:1}}
@media(max-width:640px){.hero-home .caos-home-hero__stage{min-height:0}.hero-home .hero-content{padding-block:clamp(28px,6svh,70px)}.hero-home .caos-home-hero__stage::after{background:linear-gradient(90deg,rgba(0,0,0,.84),rgba(0,0,0,.38))}}
@media(prefers-reduced-motion:reduce){.hero.hero-home{min-height:calc(100svh - var(--caos-header-height))}}

/* Let home project images define the height of their own frames. */
.projects-section .project-card .card-media{aspect-ratio:auto;height:auto;max-height:none;overflow:visible;background:transparent}
.projects-section .project-card .card-media img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}

/* A branded, full-screen 404 with a clear route back into the site. */
.caos-404{position:relative;isolation:isolate;overflow:hidden;min-height:min(900px,calc(100svh - 82px));background:radial-gradient(ellipse at 78% 38%,rgba(227,86,55,.2),transparent 30%),radial-gradient(ellipse at 45% 110%,rgba(227,86,55,.1),transparent 42%),#0b0b0b;color:#fff}
.caos-404::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(110deg,rgba(255,255,255,.035) 0 1px,transparent 1px 100%);background-size:25% 100%;mask-image:linear-gradient(90deg,transparent,#000 35%,#000 80%,transparent);pointer-events:none}
.caos-404::after{content:"";position:absolute;z-index:-1;top:-30%;right:18%;height:160%;width:1px;background:linear-gradient(transparent,rgba(227,86,55,.6),transparent);transform:rotate(23deg);pointer-events:none}
.caos-404__orb{position:absolute;z-index:-1;width:min(53vw,690px);aspect-ratio:1;right:-10vw;top:50%;transform:translateY(-50%);border:1px solid rgba(227,86,55,.38);border-radius:50%;box-shadow:0 0 0 7vw rgba(227,86,55,.035),0 0 0 14vw rgba(227,86,55,.018);pointer-events:none}
.caos-404__inner{display:flex;flex-direction:column;min-height:inherit;padding-block:clamp(28px,4vw,56px) 28px}
.caos-404__topline,.caos-404__bottomline{display:flex;align-items:center;justify-content:space-between;gap:20px;font-family:var(--sans);font-size:.68rem;font-weight:600;letter-spacing:.17em;line-height:1.5}
.caos-404__topline{color:#c9c9c9}
.caos-404__topline span:last-child{color:var(--accent)}
.caos-404__body{position:relative;display:flex;align-items:center;flex:1;min-height:590px;padding-block:60px 80px}
.caos-404__number{position:absolute;z-index:-1;right:-.065em;top:50%;transform:translateY(-54%);font-family:var(--serif);font-size:clamp(20rem,42vw,42rem);font-weight:400;letter-spacing:-.12em;line-height:1;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.19);white-space:nowrap;pointer-events:none;user-select:none}
.caos-404__content{position:relative;z-index:1;max-width:840px}
.caos-404__eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 clamp(20px,3vw,36px);color:#efaa9b;font-family:var(--sans);font-size:.72rem;font-weight:700;letter-spacing:.18em}
.caos-404__eyebrow span{width:30px;height:2px;background:var(--accent)}
.caos-404 h1{margin:0;font-family:var(--serif);font-size:clamp(4.1rem,7.3vw,8.3rem);font-weight:400;letter-spacing:-.066em;line-height:1.03;text-wrap:balance}
.caos-404 h1 em{color:var(--accent);font-style:normal}
.caos-404__description{max-width:560px;margin:clamp(26px,3vw,40px) 0 0;color:#d1cfce;font-family:var(--sans);font-size:clamp(1rem,1.25vw,1.2rem);line-height:1.6}
.caos-404__actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px 30px;margin-top:clamp(32px,4vw,50px)}
.caos-404__actions a{display:inline-flex;align-items:center;justify-content:space-between;gap:34px;min-height:56px;font-family:var(--sans);font-size:.78rem;font-weight:700;text-decoration:none;transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}
.caos-404__actions a:hover,.caos-404__actions a:focus-visible{transform:translateY(-3px)}
.caos-404__actions a:focus-visible{outline:2px solid #fff;outline-offset:4px}
.caos-404__actions a span{font-size:1.2rem;font-weight:400;line-height:1}
.caos-404__primary{padding:0 23px;background:var(--accent);border:1px solid var(--accent);color:#fff}
.caos-404__primary:hover{background:#fff;border-color:#fff;color:#0b0b0b}
.caos-404__secondary{padding:0 0 0 2px;border-bottom:1px solid rgba(255,255,255,.55);color:#fff}
.caos-404__secondary:hover{border-color:var(--accent);color:var(--accent)}
.caos-404__bottomline{padding-top:20px;border-top:1px solid rgba(255,255,255,.25);color:#a9a9a9;font-size:.61rem}
@media(max-width:900px){.caos-404__number{right:-.1em;font-size:58vw;opacity:.75}.caos-404__orb{right:-28vw;width:75vw}.caos-404__body{min-height:540px}}
@media(max-width:640px){.caos-404{min-height:calc(100svh - 72px)}.caos-404__inner{padding-block:26px 23px}.caos-404__topline,.caos-404__bottomline{font-size:.56rem;letter-spacing:.12em}.caos-404__topline span:first-child{max-width:45%}.caos-404__body{align-items:flex-end;min-height:560px;padding-block:110px 76px}.caos-404__number{top:3%;right:-.08em;transform:none;font-size:73vw;opacity:.9}.caos-404__orb{top:30%;right:-45vw;width:105vw}.caos-404__eyebrow{font-size:.62rem;letter-spacing:.12em}.caos-404 h1{font-size:clamp(3.3rem,13vw,5.2rem);line-height:1.08}.caos-404__description{font-size:.98rem}.caos-404__actions{align-items:stretch;flex-direction:column;gap:14px;margin-top:32px}.caos-404__actions a{min-height:54px;width:100%}.caos-404__secondary{border:1px solid rgba(255,255,255,.55);padding:0 23px}.caos-404__bottomline span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.caos-404__actions a{transition:none}}

/* Article opening: compact editorial hierarchy with the cover in the first viewport. */
.journal-header{position:relative;isolation:isolate;overflow:hidden;padding-block:clamp(38px,3.8vw,62px) clamp(64px,6vw,95px);background:radial-gradient(ellipse at 83% 22%,rgba(227,86,55,.12),transparent 34%),linear-gradient(110deg,#171717,#0d0d0d)}
.journal-header::before{content:"CAOS";position:absolute;z-index:-1;right:-.035em;bottom:-.48em;color:rgba(255,255,255,.025);font-family:var(--serif);font-size:clamp(17rem,29vw,32rem);letter-spacing:-.11em;line-height:1;pointer-events:none}
.journal-header .wrap{max-width:var(--wrap)}
.journal-header__nav{display:flex;align-items:center;justify-content:space-between;gap:20px}
.journal-header__nav>span{color:#a9a9a9;font-size:.66rem;font-weight:600;letter-spacing:.16em}
.journal-header .entry-back{color:#d7d7d7;border-color:rgba(255,255,255,.45)}
.journal-header .entry-kicker{margin:clamp(58px,6.5vw,100px) 0 clamp(25px,3vw,42px);padding-top:15px;border-color:rgba(227,86,55,.8)}
.journal-header h1{max-width:1150px;margin:0;font-size:clamp(3rem,5vw,5.6rem);line-height:1.065;letter-spacing:-.056em;text-wrap:balance}
.journal-header .entry-excerpt{max-width:760px;margin:clamp(27px,3vw,42px) 0 0;padding-left:22px;border-left:2px solid var(--accent);font-size:clamp(1.05rem,1.3vw,1.3rem);line-height:1.55;color:#ccc}
.journal-cover{margin-top:0}
@media(max-width:640px){.journal-header{padding-block:30px 58px}.journal-header__nav>span{font-size:.56rem}.journal-header .entry-kicker{margin:72px 0 27px;gap:7px}.journal-header .entry-kicker>span:last-child{font-size:.67rem}.journal-header h1{font-size:clamp(2.55rem,9vw,3.7rem);line-height:1.1}.journal-header .entry-excerpt{margin-top:27px;font-size:1rem}.journal-header::before{font-size:70vw;bottom:-.2em}}

/* Branded graphic for automatically published posts without a supplied cover. */
.editorial-card .caos-auto-cover{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:20px;width:100%;height:100%;min-height:230px;padding:clamp(22px,3vw,42px);overflow:hidden;background:radial-gradient(circle at 88% 20%,rgba(227,86,55,.35),transparent 30%),linear-gradient(135deg,#23201f,#0b0b0b 75%);color:#fff;text-align:left}
.editorial-card .caos-auto-cover::before{content:"";position:absolute;z-index:-1;width:58%;aspect-ratio:1;right:-17%;top:-30%;border:1px solid rgba(227,86,55,.6);border-radius:50%;box-shadow:0 0 0 8vw rgba(227,86,55,.035);pointer-events:none}
.editorial-card .caos-auto-cover::after{content:"CAOS";position:absolute;z-index:-1;right:-.05em;bottom:-.34em;font-family:var(--serif);font-size:clamp(8rem,22vw,22rem);letter-spacing:-.1em;line-height:1;color:rgba(255,255,255,.04);pointer-events:none}
.caos-auto-cover__eyebrow,.caos-auto-cover__footer{font-family:var(--sans);font-size:.63rem;font-weight:700;letter-spacing:.16em;color:#e99b89}
.editorial-card .caos-auto-cover strong{display:block;max-width:90%;font-family:var(--serif);font-size:clamp(1.7rem,3vw,3.8rem);font-weight:400;letter-spacing:-.045em;line-height:1.1;text-wrap:balance}
.editorial-card:not(.is-featured) .caos-auto-cover strong{font-size:clamp(1.55rem,2.1vw,2.5rem)}
.caos-auto-cover__footer{color:#bdb8b6}
@media(max-width:640px){.editorial-card .caos-auto-cover{min-height:260px;padding:25px}.editorial-card .caos-auto-cover strong,.editorial-card:not(.is-featured) .caos-auto-cover strong{font-size:clamp(1.6rem,7vw,2.3rem)}}

/* Keep directional controls in the same SVG icon system on every device. */
.caos-icon-arrow,.entry-back::before,.page-numbers.prev::before,.page-numbers.next::after{content:"";display:inline-block;flex:none;width:18px;height:18px;background-color:currentColor;-webkit-mask:url('../images/caos-arrow-up-right.svg') center/contain no-repeat;mask:url('../images/caos-arrow-up-right.svg') center/contain no-repeat}
.caos-icon-arrow--up{transform:rotate(-45deg)}
.footer-social>.caos-icon-arrow{width:15px;height:15px}
.back-to-top .caos-icon-arrow{width:21px;height:21px}
.contact-submit__arrow .caos-icon-arrow{width:19px;height:19px}
.entry-back::before,.page-numbers.prev::before{transform:rotate(-135deg)}
.page-numbers.next::after{transform:rotate(45deg)}
.page-numbers.prev,.page-numbers.next{display:inline-flex;align-items:center;gap:8px}
.page-numbers.prev::before,.page-numbers.next::after{width:14px;height:14px}
