 :root{--blue:#0798d3;--navy:#102d42;--ink:#1a2d3b;--muted:#586977;--line:#dce5ec}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}img{max-width:100%}.wrap{max-width:1240px;margin:auto;padding:0 5%}header{position:sticky;top:0;z-index:40;background:#fff;box-shadow:0 2px 14px #132d4016}.head{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:80px}.brand{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.22em;font-weight:700}.brand img{width:62px;height:62px;object-fit:contain}.brand strong{display:block;font-size:19px;color:#73777a;letter-spacing:.1em}.nav{display:flex;align-items:center;gap:20px;font-size:13px}.nav a.active{color:var(--blue);font-weight:bold}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;background:var(--blue);border:1px solid var(--blue);color:white!important;font-size:13px;font-weight:bold}.btn:hover{background:#087eb0}.btn.outline{background:transparent;border-color:#fff;color:#fff!important}.btn.white{background:white;color:var(--navy)!important;border-color:white}.menu{display:none;border:0;background:white;font-size:28px;cursor:pointer}.mobile-nav{display:none}.demo{padding:8px 5%;background:#eaf5fa;color:#24546c;text-align:center;font-size:12px}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:.23em;font-weight:bold;color:var(--blue)}h1,h2,h3{line-height:1.15}h1{font-size:clamp(42px,6vw,82px);font-weight:400;margin:18px 0}h2{font-size:clamp(28px,3.5vw,46px);font-weight:500;margin:12px 0 22px}h3{font-size:21px}p{max-width:760px}section{padding:80px 0}.hero{min-height:590px;position:relative;background:var(--navy);color:white;overflow:hidden}.slide{position:absolute;inset:0;background-position:center;background-size:cover;opacity:0;transition:opacity 1s}.slide.active{opacity:1}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#071822df,#0718228c 52%,#07182222)}.hero-inner{position:relative;z-index:2;padding-top:130px;padding-bottom:120px}.hero p{font-size:17px;max-width:490px}.hero h1 span{color:#38b4ec}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.hero-bottom{position:absolute;z-index:3;bottom:26px;left:5%;right:5%;display:flex;justify-content:space-between;align-items:center}.controls{display:flex;gap:8px}.controls button{border:1px solid #ffffff90;background:#102d4280;color:white;border-radius:50%;width:42px;height:42px;cursor:pointer}.section-head{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:35px}.section-head p{max-width:380px;color:var(--muted)}.competences{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line)}.competence{padding:26px 18px;border-right:1px solid var(--line);min-height:225px}.competence:last-child{border:0}.competence:hover,.tile:hover{background:#f1f9fc}.symbol{font-size:30px;color:var(--blue)}.competence h3{font-size:17px}.competence p,.tile p{font-size:13px;color:var(--muted)}.split{display:grid;grid-template-columns:1fr 1fr}.split-photo{min-height:410px;background:center/cover;display:flex;align-items:end;padding:45px;color:white;position:relative}.split-photo:before{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#061925a8)}.split-photo h2{position:relative}.split-text{background:var(--navy);color:white;padding:75px 9%;display:flex;flex-direction:column;justify-content:center}.split-text p{color:#d6e5ec}.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.project{display:block;border:1px solid var(--line);background:white}.project img{width:100%;height:210px;object-fit:cover;display:block}.project .copy{padding:20px}.project h3{font-size:20px;margin:8px 0}.project small{font-size:10px;color:var(--blue);font-weight:bold;letter-spacing:.12em}.project p{font-size:13px;color:var(--muted);margin:0}.note{font-size:12px;color:#637787}.training{display:grid;grid-template-columns:1fr 1fr;align-items:center;background:#f3f7f9}.training img{width:100%;height:410px;object-fit:cover}.training article{padding:50px 10%}.cta{background:var(--navy);color:white}.cta .wrap{display:flex;justify-content:space-between;align-items:center;gap:30px}.page-hero{background:var(--navy);color:white;display:grid;grid-template-columns:1.1fr .9fr;min-height:400px}.page-hero .intro{padding:85px max(6%,calc((100vw - 1240px)/2));padding-right:35px}.page-hero h1{font-size:clamp(39px,5vw,68px)}.page-hero img{width:100%;height:100%;min-height:400px;object-fit:cover}.lead{font-size:21px;line-height:1.5;color:#344d5c}.columns{display:grid;grid-template-columns:1fr 1fr;gap:70px}.tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.tile{border:1px solid var(--line);padding:22px}.tile b{color:var(--blue)}.band{background:#f2f7fa}.band .wrap{display:grid;grid-template-columns:1fr 1fr;gap:55px}.crumb{font-size:12px;color:#a7d7ec}.pill{display:inline-block;border:1px solid var(--line);padding:6px 12px;font-size:12px;margin:5px 5px 0 0}.source{background:#eaf5fa;border-left:3px solid var(--blue);padding:18px;font-size:13px}.source a{text-decoration:underline}.footer{background:#172832;color:#e2eaf0;padding:55px 0 20px}.foot{display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:35px}.foot a{display:block;margin:7px 0;font-size:13px}.foot p{font-size:13px;color:#b8c8d0}.legal{border-top:1px solid #455863;padding-top:20px;margin-top:40px;color:#a9b9c2;font-size:11px}.links{display:flex;flex-wrap:wrap;gap:15px}.links a{color:var(--blue);font-size:13px;font-weight:bold}.placeholder{border:1px dashed #8ca5b5;padding:24px;background:#f5f9fc}.contact-card{border:1px solid var(--line);padding:28px} @media(max-width:950px){.nav{display:none}.menu{display:block}.mobile-nav.open{display:flex;flex-direction:column;gap:12px;padding:18px 5%;border-top:1px solid var(--line)}.competences{grid-template-columns:repeat(2,1fr)}.competence{border-bottom:1px solid var(--line)}.projects{grid-template-columns:repeat(2,1fr)}.page-hero{grid-template-columns:1fr}.page-hero .intro{padding:65px 6%}.page-hero img{max-height:340px;min-height:240px}}@media(max-width:620px){section{padding:55px 0}.hero{min-height:600px}.hero-inner{padding-top:90px}.section-head,.cta .wrap{display:block}.competences,.projects,.split,.training,.columns,.tiles,.band .wrap,.foot{grid-template-columns:1fr}.competence{min-height:140px}.split-text{padding:55px 7%}.training article{padding:45px 7%}.cta .btn{margin-top:22px}.foot{gap:18px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.slide{transition:none}}
/* Navigazione servizi accessibile */
.nav-dropdown{position:relative}.services-trigger{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:12px 4px}.services-trigger:hover,.services-trigger:focus-visible{color:var(--blue)}.services-dropdown{display:none;position:absolute;top:100%;left:0;min-width:250px;padding:9px;background:#fff;border:1px solid var(--line);box-shadow:0 16px 32px #102d4226;z-index:80}.nav-dropdown:hover .services-dropdown,.nav-dropdown:focus-within .services-dropdown,.nav-dropdown.is-open .services-dropdown{display:flex;flex-direction:column}.services-dropdown a{padding:10px 13px;white-space:nowrap;font-size:13px}.services-dropdown a:hover,.services-dropdown a:focus-visible{background:#eaf5fa}.filter-controls{display:flex;flex-wrap:wrap;gap:9px;margin:26px 0}.filter-btn{font:inherit;font-size:13px;padding:9px 15px;border:1px solid #b9ccd8;background:#fff;color:var(--ink);cursor:pointer;border-radius:3px}.filter-btn:hover,.filter-btn:focus-visible,.filter-btn[aria-pressed="true"]{background:var(--navy);color:#fff;border-color:var(--navy)}.project[hidden]{display:none!important}.filter-empty{padding:28px;background:#f1f7fa;border-left:3px solid var(--blue)}

/* Step 1 — identità header, dati societari e contatti */
.head{min-height:112px;align-items:center}.brand-symbol{flex:0 0 auto}.brand-symbol img{width:76px;height:76px;object-fit:contain}.header-center{display:flex;flex-direction:column;justify-content:center;gap:7px;width:max-content}.company-name{display:flex;justify-content:space-between;align-items:baseline;width:100%;font-size:18px;line-height:1;letter-spacing:.16em;font-weight:600;white-space:nowrap}.company-name span{color:var(--blue)}.company-name strong{color:#73777a;font-size:inherit;letter-spacing:.16em}.header-center>.nav{width:max-content;gap:20px}.company-data{display:flex;flex-direction:column;gap:4px;margin-top:20px;font-size:12px;color:#b8c8d0}.company-data strong{color:#fff;letter-spacing:.05em}.company-data a{margin:0}.contact-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start}.contact-details{border-top:1px solid var(--line);margin:30px 0}.contact-details>div{display:grid;grid-template-columns:130px 1fr;gap:20px;padding:15px 0;border-bottom:1px solid var(--line)}.contact-details span{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}.contact-details a,.contact-details strong{font-size:15px;font-weight:600}.map-card{border:1px solid var(--line);background:#fff;box-shadow:0 14px 35px #102d4212}.map-card iframe{display:block;width:100%;height:500px;border:0}.map-caption{display:flex;justify-content:space-between;gap:15px;padding:18px 20px;font-size:13px}.map-caption span{color:var(--muted)}
@media(max-width:950px){.head{min-height:82px}.brand-symbol img{width:58px;height:58px}.header-center>.nav{display:none}.company-name{font-size:16px}.contact-layout{grid-template-columns:1fr;gap:35px}.map-card iframe{height:420px}}
@media(max-width:620px){.company-name{font-size:13px;letter-spacing:.1em}.company-name strong{letter-spacing:.1em}.brand-symbol img{width:48px;height:48px}.head{gap:10px}.contact-details>div{grid-template-columns:1fr;gap:4px}.map-card iframe{height:340px}.map-caption{display:block}.map-caption span{display:block;margin-top:4px}}

/* Step 1B refinements */
.brand-symbol img{width:92px;height:92px;object-fit:contain}
.company-name{font-size:23px;letter-spacing:.08em;font-weight:600;justify-content:flex-start;gap:.42em}
.company-name strong{letter-spacing:.08em;font-weight:600}
.contact-title{font-size:clamp(28px,3vw,40px);white-space:nowrap;margin-bottom:18px}
.contact-tagline{font-size:19px;line-height:1.5;color:#344d5c;margin:0 0 24px}
.contact-tagline span{display:block}
.contact-details a,.contact-details .contact-value{font-size:15px;font-weight:400;color:var(--ink)}
.contact-details a:hover{color:var(--blue)}
@media(max-width:950px){.brand-symbol img{width:72px;height:72px}.company-name{font-size:18px;gap:.35em}}
@media(max-width:620px){.brand-symbol img{width:58px;height:58px}.company-name{font-size:14px;gap:.28em}.contact-title{font-size:27px}.contact-tagline{font-size:17px}}

/* Step 2 refinements */
.header-center{display:block}.header-center>.nav{width:max-content}.content-eyebrow{}
.columns>.eyebrow,.columns>div>.eyebrow,.band .eyebrow,.training .eyebrow{font-size:13px;letter-spacing:.20em}
.chi-siamo-text{max-width:690px;font-size:19px;line-height:1.65}
@media(max-width:950px){.header-center{display:none}}

/* Chi siamo — Step 3 */
.chi-hero{display:block;min-height:0;background:var(--navy)}
.chi-hero .intro{max-width:1240px;margin:auto;padding:38px 5% 42px}
.chi-hero h1{font-size:clamp(38px,4vw,58px);margin:8px 0 10px}
.chi-hero p{font-size:18px;margin:0;color:#fff}
.chi-content{padding-top:55px;padding-bottom:70px}
.chi-content>.eyebrow{font-size:15px;letter-spacing:.20em;margin-bottom:22px}
.chi-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:55px;align-items:stretch}
.chi-copy{font-size:17px;line-height:1.58;color:#7d858a;text-align:justify}
.chi-copy p{max-width:none;margin:0 0 22px}
.chi-copy strong{color:#737a7e;font-weight:700}
.chi-visual{position:relative;margin:0;min-height:100%;overflow:hidden;background:#0c6f6d}
.chi-visual img{display:block;width:100%;height:100%;object-fit:cover}
.chi-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,#062d32b8 100%);pointer-events:none}
.chi-visual figcaption{position:absolute;z-index:2;right:8%;bottom:7%;color:white;text-align:right;font-size:clamp(22px,2.2vw,34px);line-height:1.05;font-weight:500}
.chi-competences{margin-top:38px;padding-top:28px;border-top:1px solid var(--line)}
.chi-competences h3{font-size:16px;margin:0 0 16px;color:var(--ink)}
.chi-buttons{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.chi-buttons a{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid var(--line);padding:11px 13px;font-size:12px;font-weight:700;line-height:1.2;background:#fff}
.chi-buttons a span{color:var(--blue);font-size:16px}
.chi-buttons a:hover{background:#f1f9fc;color:var(--ink)}
@media(max-width:950px){.chi-grid{grid-template-columns:1fr}.chi-visual{height:420px}.chi-buttons{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.chi-hero .intro{padding:30px 6% 34px}.chi-content{padding-top:42px}.chi-copy{font-size:16px;text-align:left}.chi-visual{height:340px}.chi-buttons{grid-template-columns:1fr}}

/* Step 4 — fascia istituzionale uniforme e Acustica edilizia */
.compact-hero{display:block;min-height:0;background:var(--navy)}
.compact-hero .intro{max-width:1240px;margin:auto;padding:38px 5% 42px}
.compact-hero h1{font-size:clamp(38px,4vw,58px);margin:8px 0 10px}
.compact-hero p{font-size:18px;margin:0;color:#fff}
.compact-hero>img{display:none!important}
.service-content{padding-top:55px;padding-bottom:70px}
.service-content>.eyebrow{font-size:15px;letter-spacing:.20em;margin-bottom:22px}
.service-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:55px;align-items:stretch}
.service-copy{font-size:17px;line-height:1.55;color:#85898c;text-align:justify}
.service-copy p{max-width:none;margin:0 0 26px}
.service-copy strong{color:#767b7e;font-weight:700}
.service-list{margin-top:30px;text-align:left}
.service-list p{margin-bottom:4px}
.service-list ul{margin:0;padding-left:28px}
.service-list li{padding-left:2px;margin:2px 0}
.service-visual{margin:0;overflow:hidden;background:#f4f6f7;min-height:100%}
.service-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
@media(max-width:950px){.service-grid{grid-template-columns:1fr}.service-visual{height:520px}.compact-hero .intro{padding:34px 6% 38px}}
@media(max-width:620px){.service-content{padding-top:42px}.service-copy{font-size:16px;text-align:left}.service-visual{height:400px}}

/* Step 5: pubblicazioni + contenuti acustica architettonica */
.service-editorial{padding:46px 0 58px}.service-editorial .service-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:42px;align-items:start}.service-editorial .service-copy{font-size:17px;line-height:1.58;color:#85898c}.service-editorial .service-copy p{margin:0 0 22px}.service-editorial .service-copy strong{font-weight:700;color:#7b7f82}.service-editorial .service-copy .service-list-title{margin-top:28px;margin-bottom:4px}.service-editorial .service-copy ul{margin:0;padding-left:28px}.service-editorial .service-copy li{margin:2px 0}.service-editorial .service-image{margin:0;align-self:stretch}.service-editorial .service-image img{display:block;width:100%;height:100%;max-height:640px;object-fit:cover;object-position:center;border-radius:2px}.chi-secondary-actions{display:flex;gap:10px;margin-top:26px}.chi-secondary-actions a{display:inline-flex;align-items:center;justify-content:center;min-width:118px;padding:10px 16px;border:1px solid #d4dce1;border-radius:3px;color:#12344a;font-size:13px;font-weight:600;background:#fff}.chi-secondary-actions a:hover{border-color:#08a4dc;color:#08a4dc}.placeholder-page{padding:60px 0 90px}.placeholder-page p{max-width:760px;color:#737b80;font-size:18px;line-height:1.6}@media(max-width:800px){.service-editorial .service-grid{grid-template-columns:1fr}.service-editorial .service-image img{max-height:none}.chi-secondary-actions{flex-wrap:wrap}}

/* Step 6: service pages coherence */
.compact-hero{min-height:0!important;display:block!important;background:var(--navy)!important;}
.compact-hero .intro{padding:30px max(6%,calc((100vw - 1240px)/2)) 28px!important;}
.compact-hero .eyebrow{display:none!important;}
.compact-hero h1{font-size:clamp(34px,4vw,54px)!important;margin:0 0 7px!important;}
.compact-hero .intro p{font-size:17px!important;margin:0!important;color:#dce9ef;}
.service-content{padding-top:56px!important;padding-bottom:65px!important;}
.service-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:58px;align-items:start;}
.service-copy{color:#7b7f82;font-size:17px;line-height:1.55;}
.service-copy p{max-width:none;margin-top:0;}
.service-copy strong{color:#707477;font-weight:700;}
.service-list{margin-top:30px;}
.service-list p{margin-bottom:4px;}
.service-list ul{margin-top:4px;padding-left:28px;}
.service-visual{margin:0;}
.service-visual img{display:block;width:100%;height:auto;max-height:650px;object-fit:cover;}
@media(max-width:950px){.service-grid{grid-template-columns:1fr;gap:30px}.service-visual img{max-height:520px}.compact-hero .intro{padding:26px 6% 24px!important;}}

/* Step 7: universal internal-page header, image cleanup, curricula */
body:not(.home) .page-hero,
.page-hero.compact-hero{min-height:0!important;display:block!important;background:var(--navy)!important;grid-template-columns:none!important;}
.page-hero .intro,.compact-hero .intro{width:100%;max-width:1240px;margin:0 auto;padding:26px 5% 24px!important;}
.page-hero .eyebrow{display:none!important;}
.page-hero h1,.compact-hero h1{font-size:clamp(34px,4vw,54px)!important;margin:0 0 6px!important;}
.page-hero .intro p,.compact-hero .intro p{font-size:17px!important;margin:0!important;color:#dce9ef;max-width:none;}
.page-hero>img{display:none!important;}
.service-content{padding-top:56px!important;}
.service-visual{background:#fff!important;min-height:0!important;overflow:visible!important;align-self:start!important;}
.service-visual img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:top center!important;background:#fff!important;}
.service-editorial .service-image{background:#fff!important;align-self:start!important;}
.service-editorial .service-image img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;background:#fff!important;}
.chi-hero{min-height:0!important;display:block!important;}
.chi-hero .intro{padding:26px 5% 24px!important;}
.team-section{padding-top:62px;padding-bottom:90px}.team-intro{display:grid;grid-template-columns:1.15fr .85fr;gap:55px;align-items:end;padding-bottom:38px;border-bottom:1px solid var(--line)}.team-intro .eyebrow{grid-column:1/-1}.team-intro h2{margin:0}.team-intro p{margin:0;color:var(--muted);font-size:16px}.team-list{display:grid;grid-template-columns:1fr;}.team-profile{display:grid;grid-template-columns:90px minmax(0,850px);gap:34px;padding:48px 0;border-bottom:1px solid var(--line)}.team-number{font-size:13px;letter-spacing:.18em;color:var(--blue);padding-top:9px}.team-profile h2{font-size:34px;margin:0 0 3px}.team-role{color:var(--blue)!important;font-size:14px!important;text-transform:uppercase;letter-spacing:.12em;font-weight:700;margin:0 0 22px!important}.team-profile p{max-width:850px;color:#65727a;font-size:16px;line-height:1.65;margin:0 0 15px}
@media(max-width:800px){.team-intro{grid-template-columns:1fr;gap:18px}.team-profile{grid-template-columns:44px 1fr;gap:14px}.team-profile h2{font-size:28px}}

/* Step 8 alignment refinements */
.service-editorial{max-width:1240px!important;margin:0 auto!important;padding-left:5%!important;padding-right:5%!important;}
.service-editorial>.eyebrow{display:none!important;}
.team-intro-simple{display:block!important;padding-bottom:22px!important;}
.team-intro-simple .eyebrow{font-size:18px!important;letter-spacing:.20em!important;}
@media(max-width:950px){.service-editorial{padding-left:6%!important;padding-right:6%!important;}}

/* Step 10 — Pubblicazioni */
.publications-section{padding-top:58px;padding-bottom:90px}.publications-lead{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:end;padding-bottom:34px;border-bottom:1px solid var(--line)}.publications-lead h2{margin:8px 0 0;font-size:clamp(32px,3.3vw,48px)}.publications-lead p{margin:0;color:#66757d;font-size:17px;line-height:1.65}.publication-tabs{display:flex;gap:8px;margin:30px 0 34px}.pub-tab{border:1px solid var(--line);background:#fff;padding:11px 16px;border-radius:3px;font:inherit;font-weight:700;color:#43545d;cursor:pointer}.pub-tab span{color:var(--blue);margin-left:5px}.pub-tab.active{background:var(--navy);color:#fff;border-color:var(--navy)}.pub-tab.active span{color:#7bd5f3}.pub-panel{display:none}.pub-panel.active{display:block}.pub-tools{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:36px}.pub-tools input{width:min(560px,100%);border:1px solid var(--line);border-radius:3px;padding:12px 14px;font:inherit;color:var(--ink);background:#fff}.pub-tools span{font-size:13px;color:#75838a}.publication-year-group{margin:0 0 42px}.publication-year-group>h3{font-size:26px;margin:0;padding:0 0 12px;border-bottom:2px solid var(--navy);color:var(--navy)}.publication-item{display:grid;grid-template-columns:74px 1fr;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.publication-year{font-size:12px;color:var(--blue);font-weight:800;letter-spacing:.08em;padding-top:3px}.publication-item p{margin:0;color:#65727a;line-height:1.55;font-size:15px}.thesis-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:55px}.thesis-item{padding:24px 0;border-bottom:1px solid var(--line)}.thesis-item h3{font-size:18px;line-height:1.35;margin:0 0 9px;color:var(--ink)}.thesis-item p{font-size:14px;line-height:1.5;margin:0;color:#738087}@media(max-width:800px){.publications-lead{grid-template-columns:1fr;gap:18px}.publication-tabs{flex-wrap:wrap}.pub-tools{align-items:stretch;flex-direction:column}.publication-item{grid-template-columns:54px 1fr}.thesis-grid{grid-template-columns:1fr}}

/* Step 11 — Academy / Ricerca e sviluppo */
.editorial-feature{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:64px;align-items:start;padding-top:58px;padding-bottom:72px}.editorial-copy{font-size:17px;color:#6d7479}.editorial-copy .lead{font-size:18px;color:#6d7479}.editorial-copy p{max-width:none;margin:0 0 24px}.editorial-copy ul{margin:0 0 28px;padding-left:28px}.editorial-image{margin:0;background:#fff}.editorial-image img{display:block;width:100%;height:auto;background:#fff}@media(max-width:850px){.editorial-feature{grid-template-columns:1fr;gap:30px;padding-top:42px}.editorial-image{max-width:650px}}

/* Home manifesto */
.manifesto{background:#fff;padding:clamp(72px,8vw,128px) 0;border-top:1px solid #eef1f3;border-bottom:1px solid #eef1f3;overflow:hidden}
.manifesto-grid{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(420px,1.18fr);gap:clamp(48px,8vw,120px);align-items:center}
.manifesto-visual{display:flex;align-items:center;justify-content:center;min-height:430px}
.manifesto-visual img{display:block;width:min(100%,560px);height:auto;object-fit:contain}
.manifesto-copy{max-width:780px}
.manifesto-copy .eyebrow{margin-bottom:24px}
.manifesto-quote{margin:0;color:#263641;font-size:clamp(38px,4.1vw,66px);font-weight:300;line-height:1.09;letter-spacing:-.035em}
.manifesto-quote strong{font-weight:600;color:#263641}
.manifesto-closing{display:block;margin-top:30px;font-size:.84em;line-height:1.15}
.manifesto-closing strong{color:var(--blue);font-weight:600}
@media (prefers-reduced-motion:no-preference){.manifesto-visual,.manifesto-copy{opacity:0;transform:translateY(18px);transition:opacity .75s ease,transform .75s ease}.manifesto.in-view .manifesto-visual,.manifesto.in-view .manifesto-copy{opacity:1;transform:none}.manifesto.in-view .manifesto-copy{transition-delay:.12s}}
@media(max-width:800px){.manifesto{padding:64px 0}.manifesto-grid{grid-template-columns:1fr;gap:30px}.manifesto-visual{min-height:0;justify-content:flex-start}.manifesto-visual img{width:min(78vw,420px)}.manifesto-copy{max-width:none}.manifesto-quote{font-size:clamp(34px,9vw,50px)}}
/* Step 14 — pagina Vibrazioni: doppia immagine allineata */
.vibration-visuals{display:flex;flex-direction:column;gap:22px;align-self:start}
.vibration-visuals figure{margin:0;background:#fff}
.vibration-visuals img{display:block;width:100%;height:auto;background:#fff}
@media(max-width:950px){.vibration-visuals{gap:16px}}

.service-visual-stack{display:flex;flex-direction:column;gap:18px;align-self:start}.service-visual-stack .service-visual{width:100%;margin:0}.service-visual-stack .service-visual img{width:100%!important;height:auto!important;display:block!important;object-fit:contain!important;background:#fff!important}


/* Step 19 — refinements requested 29/09/2026 */
/* Home: clean typography over slideshow */
.hero .hero-inner,.hero .hero-inner *,.hero .hero-bottom,.hero .hero-bottom *{text-shadow:none!important;}

/* Internal page petrol band: slightly more compact */
body:not(.home) .page-hero .intro,.page-hero.compact-hero .intro{padding:19px 5% 17px!important;}
body:not(.home) .page-hero h1,.page-hero.compact-hero h1{font-size:clamp(31px,3.5vw,48px)!important;margin:0 0 4px!important;}
body:not(.home) .page-hero .intro p,.page-hero.compact-hero .intro p{font-size:15px!important;line-height:1.4!important;}

/* Industrial acoustics: paragraph-scale section headings */
.service-copy .industrial-subhead{font-size:17px!important;line-height:1.55!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.02em!important;color:#626a6f!important;margin:28px 0 10px!important;}

/* Curricula */
.team-intro-simple .eyebrow{font-size:36px!important;line-height:1!important;letter-spacing:.16em!important;}

/* Publications */
.publications-kicker{font-size:22px!important;line-height:1.15!important;letter-spacing:.18em!important;margin-bottom:16px!important;}
.publications-title{font-size:clamp(16px,1.7vw,24px)!important;line-height:1.2!important;margin:0!important;}

/* References */
.references-kicker{font-size:22px!important;line-height:1.15!important;letter-spacing:.18em!important;margin-bottom:18px!important;}
.references-title{font-size:clamp(16px,1.7vw,24px)!important;line-height:1.2!important;margin:0 0 24px!important;}
@media(max-width:950px){body:not(.home) .page-hero .intro,.page-hero.compact-hero .intro{padding:18px 6% 16px!important;}}

/* Step 20 refinements */
/* absolute removal of shadows from every text element over the home slideshow */
.hero, .hero *, .slide, .slide *{text-shadow:none!important;filter:none!important;}
/* manifesto typography reduced by about 50% */
.manifesto-quote{font-size:clamp(20px,2.05vw,33px)!important;line-height:1.18!important;letter-spacing:-.02em!important;}
.manifesto-closing{margin-top:18px!important;}
/* home competences hierarchy */
#servizi .section-head .eyebrow{font-size:22px!important;line-height:1.1!important;letter-spacing:.18em!important;margin-bottom:18px!important;}
#servizi .section-head h2{font-size:clamp(18px,1.75vw,23px)!important;line-height:1.22!important;}
.competences{grid-template-columns:repeat(4,1fr)!important;}
.competence{border-bottom:1px solid var(--line);}
.competence:nth-child(4n){border-right:0;}
/* identical vertical start for services, Formazione and R&S */
.service-content,.aligned-content{padding-top:56px!important;}
.aligned-content{padding-bottom:72px!important;}
/* industrial typography exactly follows other service pages */
.service-copy .industrial-subhead{font-size:17px!important;line-height:1.55!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.02em!important;margin:28px 0 10px!important;}
.service-copy .service-list-title{font-size:17px!important;line-height:1.55!important;font-weight:400!important;text-transform:none!important;color:#7b7f82!important;margin:30px 0 4px!important;}
@media(max-width:950px){.competences{grid-template-columns:repeat(2,1fr)!important}.competence:nth-child(4n){border-right:1px solid var(--line)}.competence:nth-child(2n){border-right:0}}
@media(max-width:620px){.competences{grid-template-columns:1fr!important}.competence{border-right:0!important}.manifesto-quote{font-size:clamp(20px,6vw,28px)!important}}

/* Step 21: home clean crops + references heading alignment */
.hero .slide-clean-architecture{background-size:auto 140%!important;background-position:center center!important;}
.hero .slide-clean-environment{background-size:auto 140%!important;background-position:right center!important;}
.references-heading{display:flex;align-items:baseline;gap:.45em;margin:0 0 28px;padding-top:0;flex-wrap:wrap;}
.references-kicker{font-size:22px!important;line-height:1.15!important;letter-spacing:.18em!important;margin:0!important;}
.references-title{font-size:22px!important;line-height:1.15!important;margin:0!important;font-weight:500;color:var(--ink);}
@media(max-width:700px){.hero .slide-clean-architecture,.hero .slide-clean-environment{background-size:auto 145%!important}.references-heading{gap:.3em}.references-kicker,.references-title{font-size:18px!important;}}

/* Step 22: references heading vertical spacing */
.references-section{padding-top:110px!important;}
@media(max-width:620px){.references-section{padding-top:78px!important;}}

/* Step 23: references spacing + 5/2 competence layout */
.references-section{padding-top:58px!important;}
.competences{grid-template-columns:repeat(10,1fr)!important;}
.competences .competence{grid-column:span 2;}
.competences .competence:nth-child(6){grid-column:4 / span 2;}
.competences .competence:nth-child(7){grid-column:6 / span 2;}
@media(max-width:950px){.competences{grid-template-columns:repeat(2,1fr)!important}.competences .competence{grid-column:auto!important}}
@media(max-width:620px){.references-section{padding-top:55px!important}.competences{grid-template-columns:1fr!important}}

/* STEP 24 — lighter institutional cyan visual language */
:root{
  --soft-cyan-1:#c9e9f7;
  --soft-cyan-2:#dceff8;
  --soft-cyan-3:#bfe0f1;
  --soft-cyan-text:#5b6b74;
  --soft-cyan-text-strong:#465a65;
}
/* Internal title bands */
body:not(.home) .page-hero,
.page-hero.compact-hero,
.chi-hero,
.compact-hero{
  background:linear-gradient(115deg,var(--soft-cyan-3) 0%,var(--soft-cyan-2) 48%,#c8e8f6 100%)!important;
  color:var(--soft-cyan-text-strong)!important;
}
body:not(.home) .page-hero h1,
.page-hero.compact-hero h1,
.chi-hero h1,
.compact-hero h1{color:var(--soft-cyan-text-strong)!important;}
body:not(.home) .page-hero .intro p,
.page-hero.compact-hero .intro p,
.chi-hero .intro p,
.compact-hero .intro p{color:var(--soft-cyan-text)!important;}

/* Home hero: same light cyan family, translucent so photography remains visible */
.home .hero{background:linear-gradient(115deg,var(--soft-cyan-3),var(--soft-cyan-2))!important;color:var(--soft-cyan-text-strong)!important;}
.home .hero:after{
  background:linear-gradient(90deg,rgba(201,233,247,.86) 0%,rgba(220,239,248,.69) 52%,rgba(200,232,246,.34) 100%)!important;
}
.home .hero h1,
.home .hero p,
.home .hero .eyebrow,
.home .hero .hero-bottom,
.home .hero .hero-bottom *{color:var(--soft-cyan-text-strong)!important;}
.home .hero h1 span{color:#159fd7!important;}
.home .hero .btn.outline{border-color:#718894!important;color:#536872!important;background:rgba(255,255,255,.18)!important;}
.home .hero .controls button{border-color:#718894!important;color:#536872!important;background:rgba(255,255,255,.28)!important;}

/* Other previously petrol blocks */
.split-text,.cta{
  background:linear-gradient(115deg,var(--soft-cyan-3),var(--soft-cyan-2))!important;
  color:var(--soft-cyan-text-strong)!important;
}
.split-text p,.cta p,.cta h2,.cta h3{color:var(--soft-cyan-text)!important;}
.cta .btn.white{color:var(--soft-cyan-text-strong)!important;border-color:#fff!important;}

/* Company-data footer */
.footer{
  background:linear-gradient(115deg,#c4e4f3 0%,#dceff8 50%,#c8e7f5 100%)!important;
  color:var(--soft-cyan-text-strong)!important;
}
.footer h1,.footer h2,.footer h3,.footer h4,.footer strong,.footer a,.company-data strong{color:var(--soft-cyan-text-strong)!important;}
.footer p,.footer .company-data,.footer .legal{color:var(--soft-cyan-text)!important;}
.footer .legal{border-top-color:rgba(70,90,101,.22)!important;}

/* Active controls that formerly used the dark petrol fill */
.filter-btn[aria-pressed="true"],.pub-tab.active{
  background:#b9ddec!important;border-color:#9dcddd!important;color:#425964!important;
}
.pub-tab.active span{color:#087fac!important;}

/* STEP 25 — fascia azzurra cangiante basata sul riferimento approvato */
:root{
  --airy-text:#536873;
  --airy-text-strong:#405965;
}
/* Use the actual softly variegated cyan artwork instead of a flat/linear fill */
body:not(.home) .page-hero,
.page-hero.compact-hero,
.chi-hero,
.compact-hero,
.split-text,
.cta,
.footer{
  background-image:url('assets/fascia-azzurra-cangiante.png')!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  background-color:#d7eef8!important;
  color:var(--airy-text-strong)!important;
}
body:not(.home) .page-hero h1,
.page-hero.compact-hero h1,
.chi-hero h1,
.compact-hero h1,
body:not(.home) .page-hero .intro p,
.page-hero.compact-hero .intro p,
.chi-hero .intro p,
.compact-hero .intro p,
.split-text h2,.split-text h3,.split-text p,
.cta h2,.cta h3,.cta p,
.footer h1,.footer h2,.footer h3,.footer h4,.footer strong,.footer a,
.footer p,.footer .company-data,.footer .legal{
  color:var(--airy-text-strong)!important;
}
.footer .legal{border-top-color:rgba(64,89,101,.22)!important;}

/* Home: retain photography, but replace the dark/light linear veil with the same variegated cyan language */
.home .hero{background-color:#d7eef8!important;color:var(--airy-text-strong)!important;}
.home .hero:after{
  background-image:linear-gradient(rgba(224,244,251,.63),rgba(207,235,247,.63)),url('assets/fascia-azzurra-cangiante.png')!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  opacity:.78!important;
}
.home .hero h1,.home .hero p,.home .hero .eyebrow,.home .hero .hero-bottom,.home .hero .hero-bottom *{color:var(--airy-text-strong)!important;}
.home .hero h1 span{color:#119fd9!important;}
.home .hero .btn.outline{border-color:#607984!important;color:#4b6570!important;background:rgba(255,255,255,.22)!important;}
.home .hero .controls button{border-color:#607984!important;color:#4b6570!important;background:rgba(255,255,255,.32)!important;}

/* STEP 26 — fascia cangiante alleggerita + contatti */
body:not(.home) .page-hero,
.page-hero.compact-hero,
.chi-hero,
.compact-hero,
.split-text,
.cta,
.footer{
  background-image:url('assets/fascia-azzurra-cangiante-30trasp.jpg')!important;
  background-color:#eef8fc!important;
}
/* Home: stessa trama cangiante resa più tenue */
.home .hero:after{
  background-image:url('assets/fascia-azzurra-cangiante-30trasp.jpg')!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  opacity:.70!important;
}
/* “Scopri il nostro metodo” nello stesso grigio istituzionale dei servizi */
.split-text .btn.outline{
  color:var(--airy-text-strong)!important;
  border-color:rgba(64,89,101,.55)!important;
  background:rgba(255,255,255,.18)!important;
}
/* Contatti: gerarchia e spaziatura coerenti con Pubblicazioni */
.contact-layout{padding-top:58px!important;}
.contact-layout>.contact-layout{padding-top:0!important;}
.contact-layout .eyebrow{
  font-size:22px!important;
  line-height:1.15!important;
  letter-spacing:.18em!important;
  margin:0 0 16px!important;
}
.contact-title{
  font-size:20px!important;
  line-height:1.15!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  margin:0 0 18px!important;
  letter-spacing:.03em!important;
}
.contact-title-blue{color:var(--blue)!important;}
.contact-title-gray{color:#73777a!important;}
@media(max-width:620px){
  .contact-layout{padding-top:55px!important;}
  .contact-layout .eyebrow{font-size:18px!important;}
  .contact-title{font-size:18px!important;}
}
\n\n/* STEP 27 — referenze editoriali, competenze orbitale, manifesto */
/* Referenze: card come riferimento approvato */
.references-section .projects{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;}
.references-section .project{border:1px solid #d8e0e4!important;border-radius:16px!important;padding:18px!important;background:#fff!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;min-height:100%!important;}
.references-section .project img{width:100%!important;height:205px!important;border-radius:11px!important;object-fit:cover!important;display:block!important;}
.references-section .project .copy{padding:20px 6px 10px!important;display:flex!important;flex-direction:column!important;flex:1!important;}
.references-section .project h3{font-size:clamp(21px,1.8vw,28px)!important;line-height:1.16!important;margin:0 0 18px!important;font-weight:700!important;letter-spacing:-.02em!important;color:var(--ink)!important;}
.references-section .project p{font-size:15px!important;line-height:1.55!important;color:#344a56!important;margin:0 0 18px!important;}
.references-section .project small{display:block!important;margin-top:auto!important;color:var(--blue)!important;font-size:12px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:.055em!important;text-transform:uppercase!important;}
/* filtri con lo stesso linguaggio visivo delle card */
.references-section .filter-controls{gap:10px!important;margin:26px 0 18px!important;}
.references-section .filter-btn{border:1px solid #d8e0e4!important;border-radius:10px!important;background:#fff!important;color:#425964!important;padding:10px 16px!important;font-size:13px!important;font-weight:650!important;box-shadow:none!important;}
.references-section .filter-btn:hover,.references-section .filter-btn:focus-visible{border-color:#73c2e6!important;background:#f5fbfe!important;color:#178fbe!important;}
.references-section .filter-btn[aria-pressed="true"]{background:#eaf7fc!important;border-color:#45b2df!important;color:#168dbb!important;}
/* Home: sette ambiti disposti attorno al logo */
#servizi .competences-orbit{position:relative!important;display:block!important;border:0!important;width:min(100%,1080px)!important;height:760px!important;margin:12px auto 0!important;}
#servizi .competences-orbit .competence{position:absolute!important;width:245px!important;min-height:0!important;padding:16px 18px!important;border:0!important;background:transparent!important;text-align:center!important;transform:translate(-50%,-50%)!important;}
#servizi .competences-orbit .competence:hover{background:#f5fbfd!important;border-radius:14px!important;}
#servizi .competences-orbit .competence .symbol{font-size:27px!important;margin-bottom:5px!important;}
#servizi .competences-orbit .competence h3{font-size:16px!important;margin:5px 0 8px!important;}
#servizi .competences-orbit .competence p{font-size:12.5px!important;line-height:1.45!important;margin:0 auto!important;}
#servizi .competence-center{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:300px!important;height:300px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:radial-gradient(circle,rgba(235,248,253,.96) 0%,rgba(255,255,255,.88) 62%,rgba(255,255,255,0) 72%)!important;}
#servizi .competence-center img{width:245px!important;max-height:245px!important;object-fit:contain!important;}
#servizi .competences-orbit .competence:nth-child(1){left:50%!important;top:8%!important;}
#servizi .competences-orbit .competence:nth-child(2){left:79%!important;top:23%!important;}
#servizi .competences-orbit .competence:nth-child(3){left:88%!important;top:52%!important;}
#servizi .competences-orbit .competence:nth-child(4){left:72%!important;top:82%!important;}
#servizi .competences-orbit .competence:nth-child(5){left:28%!important;top:82%!important;}
#servizi .competences-orbit .competence:nth-child(6){left:12%!important;top:52%!important;}
#servizi .competences-orbit .competence:nth-child(7){left:21%!important;top:23%!important;}
/* Manifesto: gerarchia richiesta */
.manifesto-copy .eyebrow{font-size:22px!important;line-height:1.15!important;letter-spacing:.18em!important;}
.manifesto-closing{font-size:1em!important;line-height:1.18!important;margin-top:18px!important;}
@media(max-width:950px){
 .references-section .projects{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 #servizi .competences-orbit{height:auto!important;display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:10px!important;}
 #servizi .competences-orbit .competence{position:static!important;width:auto!important;transform:none!important;}
 #servizi .competence-center{position:static!important;transform:none!important;grid-column:1/-1!important;margin:0 auto 15px!important;order:-1!important;width:230px!important;height:230px!important;}
 #servizi .competence-center img{width:190px!important;}
}
@media(max-width:620px){
 .references-section .projects{grid-template-columns:1fr!important;}
 #servizi .competences-orbit{grid-template-columns:1fr!important;}
 #servizi .competence-center{grid-column:1!important;}
 .manifesto-copy .eyebrow{font-size:18px!important;}
}

/* STEP 28 — referenze filters + larger competence logo */
.references-section .project[hidden]{display:none!important;}
.references-section .references-heading{display:block!important;}
.references-section .references-title{font-size:clamp(22px,2.1vw,30px)!important;line-height:1.2!important;}
#servizi .competence-center{width:520px!important;height:520px!important;background:radial-gradient(circle,rgba(235,248,253,.90) 0%,rgba(255,255,255,.72) 58%,rgba(255,255,255,0) 72%)!important;}
#servizi .competence-center img{width:470px!important;max-height:470px!important;}
@media(max-width:950px){#servizi .competence-center{width:360px!important;height:360px!important;}#servizi .competence-center img{width:320px!important;max-height:320px!important;}}
@media(max-width:620px){#servizi .competence-center{width:280px!important;height:280px!important;}#servizi .competence-center img{width:245px!important;max-height:245px!important;}}

/* STEP 29 — logo centrale competenze: centratura visiva reale */
#servizi .competence-center img{width:440px!important;max-width:88%!important;max-height:440px!important;object-fit:contain!important;object-position:center center!important;}
@media(max-width:950px){#servizi .competence-center img{width:310px!important;max-height:310px!important;}}
@media(max-width:620px){#servizi .competence-center img{width:235px!important;max-height:235px!important;}}

/* Referenze complete - Step 31 */
.project-year{display:block;margin:4px 0 8px;color:#687782;font-size:13px}.reference-detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:56px;padding-top:52px;padding-bottom:70px;align-items:start}.reference-detail-media img{width:100%;height:auto;max-height:620px;object-fit:contain;border-radius:16px;background:#f7fafb}.reference-detail-copy .eyebrow{margin-bottom:18px}.reference-year{font-size:15px;color:#687782;margin:0 0 18px}.reference-activities{margin:0 0 28px;padding-left:22px}.reference-activities li{margin:0 0 12px;line-height:1.65}.reference-gara{font-weight:800;color:var(--blue);letter-spacing:.08em;font-size:13px;margin:0 0 24px}@media(max-width:820px){.reference-detail{grid-template-columns:1fr;gap:28px;padding-top:32px}}

/* STEP 32 — curricula integrated in Chi siamo; simplified home */
.chi-visual-action{margin-top:18px;display:flex;justify-content:flex-start}
.chi-visual-action a{display:inline-flex;align-items:center;justify-content:center;min-width:118px;padding:10px 16px;border:1px solid #d4dce1;border-radius:3px;color:#12344a;font-size:13px;font-weight:600;background:#fff}
.chi-visual-action a:hover{border-color:#08a4dc;color:#08a4dc}
.chi-team-section{padding-top:34px!important}
.chi-team-section .team-intro{padding-bottom:28px}
/* with the manifesto removed, bring the competence orbit closer to the hero */
#servizi{padding-top:54px!important}
/* Step 33 — compact publications and highlighted competence intro */
.publication-year-group{margin-bottom:14px!important}
.publication-year-group>h3{padding-bottom:7px!important}
.publication-year-group + .publication-year-group{margin-top:0!important}
#servizi .section-head>p{background:linear-gradient(135deg,rgba(229,247,255,.96),rgba(206,237,251,.74));border:1px solid rgba(31,161,218,.13);border-radius:30px;padding:22px 28px;box-shadow:0 12px 30px rgba(65,125,153,.14),inset 0 1px 0 rgba(255,255,255,.92);position:relative;overflow:hidden}
#servizi .section-head>p:before{content:"";position:absolute;inset:-45% 35% 45% -15%;background:radial-gradient(ellipse at center,rgba(255,255,255,.72),rgba(255,255,255,0) 70%);pointer-events:none}
@media(max-width:800px){#servizi .section-head>p{padding:18px 21px;border-radius:24px}}

/* Step 34 — publications: tighter spacing between year groups */
.publication-year-group{margin-bottom:4px!important;}
.publication-year-group + .publication-year-group{margin-top:0!important;}
.publication-year-group:last-child{margin-bottom:0!important;}

/* STEP 35 — Pubblicazioni: distanza uniforme tra tutti i gruppi annuali, come riferimento approvato */
#articles .publication-year-group{margin:0 0 30px!important;}
#articles .publication-year-group + .publication-year-group{margin-top:0!important;}
#articles .publication-year-group:last-child{margin-bottom:0!important;}

/* STEP 36 — Pubblicazioni: i gruppi annuali sono <section>, quindi neutralizza il padding globale delle section */
#articles section.publication-year-group{
  padding:0!important;
  margin:0 0 28px!important;
}
#articles section.publication-year-group + section.publication-year-group{
  padding-top:0!important;
  margin-top:0!important;
}
#articles section.publication-year-group:last-child{margin-bottom:0!important;}

/* Step 37 — final high-resolution home slideshow */
.home .hero .slide{
  background-size:cover!important;
  background-position:center center!important;
  filter:none!important;
}
.home .hero .hero-inner,
.home .hero .hero-inner *,
.home .hero .hero-bottom,
.home .hero .hero-bottom *{
  text-shadow:none!important;
  -webkit-text-shadow:none!important;
  filter:none!important;
}
/* Keep the generated photography clean: contrast comes only from a flat translucent veil, never text shadows. */
.home .hero:after{
  background:linear-gradient(90deg,rgba(7,24,34,.76),rgba(7,24,34,.50) 52%,rgba(7,24,34,.12))!important;
}
.home .hero .eyebrow,
.home .hero h1,
.home .hero p,
.home .hero .hero-bottom,
.home .hero .hero-bottom *{color:#fff!important;}
.home .hero h1 span{color:#38b4ec!important;}
.home .hero .btn.outline{border-color:#fff!important;color:#fff!important;background:transparent!important;}
.home .hero .controls button{border-color:rgba(255,255,255,.6)!important;color:#fff!important;background:rgba(16,45,66,.35)!important;}

/* STEP 38 — contatti finali */
.contact-layout .contact-tagline-final{margin-top:8px!important;margin-bottom:18px!important;}
.contact-layout .contact-tagline-final + .contact-details{margin-top:18px!important;}

/* Step 39: final service/reference refinements */
.references-section .project h3{font-size:clamp(11px,.9vw,14px)!important;line-height:1.18!important;margin:0 0 12px!important;}
.reference-detail-copy h1{font-size:clamp(21px,3vw,41px)!important;line-height:1.12!important;}

/* STEP 40 — Referenze e nuvola introduttiva Home */
.references-section .project h3{
  font-size:15px!important;
  line-height:1.55!important;
  margin:0 0 12px!important;
  font-weight:700!important;
  letter-spacing:0!important;
  color:var(--ink)!important;
}
.references-section .project small{
  font-size:10.5px!important;
  line-height:1.2!important;
  letter-spacing:.05em!important;
}
#servizi .section-head>p{
  color:#111!important;
  background:
    radial-gradient(circle at 18% 24%,rgba(255,255,255,.76) 0,rgba(255,255,255,0) 34%),
    radial-gradient(circle at 82% 72%,rgba(4,163,220,.10) 0,rgba(4,163,220,0) 42%),
    linear-gradient(128deg,rgba(4,163,220,.10),rgba(132,218,246,.19) 48%,rgba(4,163,220,.08))!important;
  border:1px solid rgba(7,152,211,.12)!important;
  box-shadow:0 10px 28px rgba(65,125,153,.09),inset 0 1px 0 rgba(255,255,255,.86)!important;
}
#servizi .section-head>p:before{
  inset:-55% 28% 38% -18%!important;
  background:radial-gradient(ellipse at center,rgba(255,255,255,.60),rgba(255,255,255,0) 72%)!important;
}

/* Referenze ufficiali */
.official-ref-placeholder{height:190px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e8f7fc,#d3ecf7);color:#208fbc;font-weight:700;letter-spacing:.15em;font-size:13px}
.official-detail{padding-top:60px;padding-bottom:90px;max-width:1120px}
.official-back{display:inline-block;margin-bottom:28px;color:#009bd4;text-decoration:none}
.official-detail h2{font-size:clamp(25px,3vw,40px);line-height:1.2;margin:0 0 15px;color:#173047}
.official-category{font-weight:700;color:#009bd4;font-size:13px;letter-spacing:.08em}
.official-description{font-size:18px;line-height:1.7;color:#435666;max-width:850px}
.official-meta{margin:22px 0 30px;color:#435666}.official-meta p{margin:5px 0}
.official-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.official-gallery img{width:100%;height:auto;max-height:480px;object-fit:contain;background:#f4f7f9;border-radius:8px}
@media(max-width:700px){.official-gallery{grid-template-columns:1fr}}

.official-card-slideshow{position:relative;width:100%;height:245px;overflow:hidden;border-radius:10px;background:#f3f8fa}.official-card-slideshow img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;opacity:1;transition:opacity .8s ease}.official-card-slideshow img.slide-hidden{opacity:0}.official-card-slideshow .official-ref-placeholder{height:100%;display:grid;place-items:center}

/* Reference images: no deformation, natural aspect ratio */
.official-card-slideshow img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;}
.reference-gallery img,.official-gallery img,.reference-detail img[src*="ufficiale-"]{width:100%;height:auto!important;object-fit:contain!important;}

/* Referenze: cards statiche senza link e immagini non deformate */
.references-section .project{cursor:default!important;text-decoration:none!important}
.references-section .official-card-slideshow{overflow:hidden;display:flex;align-items:center;justify-content:center;background:#f7f9fa}
.references-section .official-card-slideshow img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;display:block!important}
.references-section .reference-client{font-size:.85rem;color:#56636c;margin:.45rem 0}
