/* V74: refined editorial redesign for Studio Tecnico Scardigli.
   Unique layout inspired by clarity and content depth, not copied from reference. */
:root{--pine:#153d31;--paper:#f8f6ef;--wash:#f2f5ee;--ink:#1a3528}
body.clean-v71{background:#faf9f5;color:#193c2d}
.clean-v71 .container{width:min(1290px,calc(100% - 96px))}
.clean-v71 .site-header,.clean-v71 .site-header.scrolled,.clean-v71 .site-header.menu-open{background:#13372b;color:#fff;border-bottom:1px solid #315341;box-shadow:0 4px 28px #0b2b1c10}
.clean-v71 .header-row{height:87px}
.clean-v71 .brand img{filter:brightness(0) invert(1);width:55px;height:55px;flex-basis:55px}
.clean-v71 .brand .brand-copy strong,.clean-v71 .brand .brand-copy small{color:#fff}
.clean-v71 .brand .brand-copy small{color:#d2e4d4}
.clean-v71 .desktop-nav a{font-size:clamp(13px,.98vw,15px);color:#f0f5ee}
.clean-v71 .desktop-nav a:hover{color:#badbbd}
.clean-v71 .language-link{color:#e6efe7}
.clean-v71 .nav-cta{background:#f9faf5;color:#174331;border:1px solid #f9faf5;font-weight:800}
.clean-v71 .nav-cta:hover{background:#dcebdd;color:#133a29}
.clean-v71 .menu-button{border-color:#97b4a0}
.clean-v71 .menu-button span{background:#fff}
.clean-v71 .mobile-menu{background:#163c2e;box-shadow:0 20px 40px #0e291d33}
.clean-v71 .mobile-menu a{color:#f6f8f3;border-bottom-color:#315944}
.clean-v71 .hero-reference.hero{padding:145px 0 68px;min-height:0;background:#f7f7f1;color:#214a35}
.clean-v71 .hero-reference .hero-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(38px,5.2vw,85px);align-items:center}
.clean-v71 .hero-reference .hero-kicker{color:#397850;font-size:12px;margin-bottom:21px}
.clean-v71 .hero-reference h1{font-size:clamp(55px,5.2vw,79px);margin-bottom:18px;color:#173d2c}
.clean-v71 .hero-reference h1 span{color:#3d7955}
.clean-v71 .hero-reference .hero-tagline{font-size:clamp(22px,2.15vw,30px);margin-bottom:21px;color:#427457}
.clean-v71 .hero-reference .hero-lead{font-size:clamp(17px,1.28vw,19px);line-height:1.78;max-width:640px}
.clean-v71 .hero-reference .hero-feature{max-width:590px}
.clean-v71 .hero-reference .hero-feature-frame{aspect-ratio:1.12;max-height:530px;border-radius:3px;box-shadow:20px 20px 0 #d5e5d5,0 20px 40px #173d2b17}
.clean-v71 .clean-photo-caption{display:none}
.clean-v71 .hero-reference .hero-buttons{margin-top:30px}
.clean-v71 .hero-reference .hero-secondary{font-size:15px}
/* Compact, purpose-led visual path immediately following the opening. */
.clean-v71 .v74-path{padding:0;background:#eff2e9;border-top:1px solid #d7e3d4;border-bottom:1px solid #d7e3d4}
.clean-v71 .v74-path-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);align-items:stretch}
.clean-v71 .v74-path-title{padding:29px 28px 29px 0}
.clean-v71 .v74-path-title .eyebrow{font-size:10px;margin:0 0 8px;letter-spacing:.11em}
.clean-v71 .v74-path-title h2{font:600 clamp(21px,1.75vw,28px)/1.21 Outfit,sans-serif;color:#234934;letter-spacing:-.035em;margin:0}
.clean-v71 .v74-path-title em{font-style:normal;color:#64856e}
.clean-v71 .v74-path-grid>a{display:flex;flex-direction:column;gap:4px;justify-content:center;padding:22px 19px;border-left:1px solid #d6e0d3;color:#254b37;text-decoration:none;transition:background .22s}
.clean-v71 .v74-path-grid>a:hover{background:#e3ebe0}
.clean-v71 .v74-path-grid>a strong{font:700 19px/1.2 Outfit,sans-serif}
.clean-v71 .v74-path-grid>a span:last-child{color:#627466;line-height:1.5;font-size:13px}
.clean-v71 .v74-path-number{font-size:11px;font-weight:800;color:#56826a;margin-bottom:3px;letter-spacing:.11em}
/* Bring back photography, not monotonous text list. */
.clean-v71 .services{background:#fffefa}
.clean-v71 .services-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.clean-v71 .service-photo-card,.clean-v71 .service-photo-card:hover{display:flex;flex-direction:column;background:#fff;border:1px solid #e0e7dc;box-shadow:none;border-radius:4px;min-height:0;padding:0;overflow:hidden;transition:transform .25s,box-shadow .25s}
.clean-v71 .service-photo-card:hover{transform:translateY(-4px);box-shadow:0 20px 38px #1a3c2c10}
.clean-v71 .service-photo-card .service-card-image{display:block;height:clamp(150px,13.5vw,194px);position:relative;overflow:hidden;background:#dce9da}
.clean-v71 .service-card-image img{height:100%;width:100%;object-fit:cover;object-position:center;transition:transform .5s}
.clean-v71 .service-photo-card:hover .service-card-image img{transform:scale(1.045)}
.clean-v71 .service-card-num{background:#184832e8;color:#fff;letter-spacing:.06em}
.clean-v71 .service-photo-card .service-card-body{display:flex;flex:1;flex-direction:column;padding:22px 23px 23px}
.clean-v71 .service-photo-card h3{font:600 clamp(21px,1.65vw,25px)/1.25 Outfit,sans-serif;letter-spacing:-.028em;color:#20412d;margin:0 0 12px}
.clean-v71 .service-photo-card .service-card-body p{font-size:clamp(15px,1.12vw,16.5px);line-height:1.63;color:#657366;margin:0 0 21px}
.clean-v71 .service-photo-card .service-card-more{font-size:11px;margin-top:auto;padding-top:13px;border-top:1px solid #e8eee5;display:flex;justify-content:space-between}
.clean-v71 .section-head{margin-bottom:37px}
/* Three editorial strengths, separated from the service directory. */
.clean-v71 .v74-specialisations{background:#ecf1e9}
.clean-v71 .v74-specialisations-head{display:grid;grid-template-columns:1fr .65fr;gap:60px;align-items:end;margin-bottom:31px}
.clean-v71 .v74-specialisations-head>p{font-size:17px;line-height:1.8;color:#5e7161}
.clean-v71 .v74-specialisations-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:21px}
.clean-v71 .v74-specialisations-grid a{display:block;background:#fffefa;text-decoration:none;color:#234733;border:1px solid #dae4d8;box-shadow:0 7px 22px #1d462808;overflow:hidden;transition:transform .2s}
.clean-v71 .v74-specialisations-grid a:hover{transform:translateY(-4px)}
.clean-v71 .v74-specialisations-grid img{display:block;width:100%;height:194px;object-fit:cover}
.clean-v71 .v74-specialisations-grid a>span{font-size:11px;font-weight:800;letter-spacing:.13em;color:#568469;display:block;margin:23px 23px 9px}
.clean-v71 .v74-specialisations-grid h3{font:600 clamp(22px,2vw,29px)/1.2 Outfit,sans-serif;letter-spacing:-.04em;margin:0 23px 11px}
.clean-v71 .v74-specialisations-grid p{font-size:16px;line-height:1.65;color:#667568;margin:0 23px 19px}
.clean-v71 .v74-specialisations-grid b{font-size:13px;color:#317451;display:block;margin:0 23px 25px}
.clean-v71 .intro{background:#fffefa}
.clean-v71 .method{background:#163d2d}
.clean-v71 .portfolio{background:#f7f8f4}
.clean-v71 .v74-portfolio-all{display:flex;justify-content:center;margin-top:41px}
.clean-v71 .v74-portfolio-all .btn{min-width:210px;justify-content:space-between}
.clean-v71 .v74-full-portfolio .project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.clean-v71 .project-location{font-size:13px;letter-spacing:.07em}
.clean-v71 .project-info>p:last-child{font-size:16px}
/* Dedicated service pages: visually richer than the old text-only catalogue. */
.clean-v71 .v74-page-hero{background:#edf2e9;padding:160px 0 75px;color:#1f4230}
.clean-v71 .v74-page-hero-layout{display:grid;grid-template-columns:1fr .8fr;gap:clamp(45px,5vw,75px);align-items:center}
.clean-v71 .v74-page-hero h1{font:600 clamp(43px,4.6vw,70px)/1.09 Outfit,sans-serif;letter-spacing:-.05em;max-width:920px;margin:8px 0 23px;color:#183e2c}
.clean-v71 .v74-page-intro{font-size:clamp(17px,1.32vw,21px);color:#556c5a;line-height:1.7;max-width:830px;margin:0}
.clean-v71 .v74-page-hero-links{display:flex;align-items:center;flex-wrap:wrap;gap:25px;margin-top:32px}
.clean-v71 .v74-page-hero figure{margin:0}
.clean-v71 .v74-page-hero figure img{height:375px;width:100%;object-fit:cover;border-radius:3px;box-shadow:13px 13px 0 #d0e1d0}
.clean-v71 .v74-page-hero figcaption{text-align:right;font-size:11px;color:#477352;letter-spacing:.15em;font-weight:700;margin-top:25px}
.clean-v71 .v74-service-content{background:#fffefa}
.clean-v71 .v74-service-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(275px,.76fr);gap:clamp(50px,6.5vw,95px);align-items:start}
.clean-v71 .v74-service-details{max-width:830px}
.clean-v71 .v74-service-details h2{font:600 clamp(28px,2.5vw,37px)/1.24 Outfit,sans-serif;letter-spacing:-.035em;color:#234834;margin:32px 0 17px}
.clean-v71 .v74-service-details p{font-size:17px;line-height:1.85;color:#576b5c}
.clean-v71 .v74-check-list{margin:20px 0 39px;padding:0;list-style:none}
.clean-v71 .v74-check-list li{font-size:17px;color:#3d5b47;padding:13px 0 13px 31px;border-bottom:1px solid #e0e9dc;position:relative;line-height:1.5}
.clean-v71 .v74-check-list li:before{content:'✓';position:absolute;left:0;color:#448b60;font-weight:800}
.clean-v71 .v74-service-aside{background:#f0f4ed;border:1px solid #dce6d8;padding:33px;position:sticky;top:112px}
.clean-v71 .v74-service-aside .eyebrow{margin:0 0 13px}
.clean-v71 .v74-service-aside h3{font:600 28px/1.2 Outfit,sans-serif;letter-spacing:-.03em;color:#244732;margin:0 0 24px}
.clean-v71 .v74-related-links a{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid #d4e1d2;color:#28563c;text-decoration:none;font-weight:700;font-size:15px}
.clean-v71 .v74-aside-cta{border-top:1px solid #d3e1d2;padding-top:25px;margin-top:24px}
.clean-v71 .v74-aside-cta strong{font:600 22px/1.2 Outfit,sans-serif;color:#1e4931}
.clean-v71 .v74-aside-cta p{font-size:15px;line-height:1.75;color:#607361}
.clean-v71 .v74-aside-cta a{font-size:15px;font-weight:700;color:#32734a}
.clean-v71 .v74-more{background:#e7eee4}
.clean-v71 .v74-more-layout{display:flex;align-items:center;justify-content:space-between;gap:40px}
.clean-v71 .v74-more-layout>div{max-width:780px}
.clean-v71 .v74-more h2{font:600 clamp(29px,3vw,41px)/1.2 Outfit,sans-serif;letter-spacing:-.035em;color:#204532;margin:0 0 15px}
.clean-v71 .v74-more p:not(.eyebrow){font-size:17px;color:#5b7060;line-height:1.6}
.clean-v71 .v74-guide-hero,.clean-v71 .v74-projects-hero{padding:160px 0 69px}
.clean-v71 .v73-guide-card h2{font-size:clamp(23px,2vw,29px)}
/* Consistent balance on intermediate screens */
@media(max-width:1180px){
 .clean-v71 .desktop-nav{gap:13px}
 .clean-v71 .brand .brand-copy strong{font-size:13px}
 .clean-v71 .brand img{width:45px;height:45px;flex-basis:45px}
 .clean-v71 .header-end{gap:15px}
 .clean-v71 .nav-cta{padding:11px 13px;font-size:13px}
 .clean-v71 .container{width:calc(100% - 68px)}
}
@media(max-width:1010px){
 .clean-v71 .desktop-nav{gap:11px}
 .clean-v71 .desktop-nav a{font-size:12px}
 .clean-v71 .brand .brand-copy strong{font-size:12px}
 .clean-v71 .hero-reference .hero-layout{gap:30px}
 .clean-v71 .v74-path-grid{grid-template-columns:1.2fr repeat(3,1fr)}
 .clean-v71 .v74-path-grid>a{padding:21px 12px}
 .clean-v71 .v74-specialisations-head{grid-template-columns:1fr 1fr;gap:30px}
}
@media(max-width:900px){
 .clean-v71 .hero-reference.hero{padding:124px 0 55px}
 .clean-v71 .hero-reference .hero-layout{grid-template-columns:1fr}
 .clean-v71 .hero-reference .hero-feature{max-width:100%}
 .clean-v71 .hero-reference .hero-feature-frame{aspect-ratio:1.6;max-height:410px}
 .clean-v71 .v74-path-grid{grid-template-columns:repeat(3,1fr)}
 .clean-v71 .v74-path-title{grid-column:1/-1;padding:22px 0 10px}
 .clean-v71 .v74-path-grid>a{border-top:1px solid #d6e0d3;padding:18px}
 .clean-v71 .services-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .clean-v71 .v74-specialisations-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .clean-v71 .v74-specialisations-grid a:last-child{grid-column:1/-1}
 .clean-v71 .v74-service-grid,.clean-v71 .v74-page-hero-layout{grid-template-columns:1fr}
 .clean-v71 .v74-service-aside{position:static}
 .clean-v71 .v74-full-portfolio .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 .clean-v71 .container{width:calc(100% - 38px)}
 .clean-v71 .header-row{height:72px}
 .clean-v71 .brand img{width:40px;height:40px;flex-basis:40px}
 .clean-v71 .hero-reference.hero{padding:104px 0 52px}
 .clean-v71 .hero-reference h1{font-size:clamp(44px,10.6vw,62px)}
 .clean-v71 .hero-reference .hero-tagline{font-size:22px}
 .clean-v71 .hero-reference .hero-feature-frame{aspect-ratio:1.32;max-height:330px}
 .clean-v71 .v74-path-grid{grid-template-columns:1fr}
 .clean-v71 .v74-path-title{padding:25px 0 8px}
 .clean-v71 .v74-path-grid>a{border-left:none;border-top:1px solid #d6e0d3;padding:15px 0}
 .clean-v71 .services-photo-grid,.clean-v71 .v74-specialisations-grid{grid-template-columns:1fr;gap:14px}
 .clean-v71 .service-photo-card .service-card-image{height:180px}
 .clean-v71 .v74-specialisations-grid a:last-child{grid-column:auto}
 .clean-v71 .v74-specialisations-head{grid-template-columns:1fr;gap:3px}
 .clean-v71 .v74-specialisations-grid img{height:180px}
 .clean-v71 .v74-page-hero,.clean-v71 .v74-guide-hero{padding:117px 0 60px}
 .clean-v71 .v74-page-hero h1{font-size:clamp(40px,9vw,52px)}
 .clean-v71 .v74-page-hero figure img{height:245px}
 .clean-v71 .v74-service-aside{padding:25px}
 .clean-v71 .v74-full-portfolio .project-grid{grid-template-columns:1fr}
 .clean-v71 .v74-more-layout{flex-direction:column;align-items:flex-start}
}
