/* Portale Cosimo Scalera · S2.1 REV04 manual adjustment · DEV ONLY
   CSS senza dipendenze; palette V1 disponibile come token. */
:root{--navy:#102a43;--navy-dark:#071e3e;--slate:#486581;--blue:#2f80ed;--pale:#f5f7fa;--ink:#202b33;--gold:#c7a35a;--line:#dce5ee;--muted:#60738d;--sky:#edf4fa;--white:#fff;--max:1270px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:70px}
body{margin:0;background:#fff;color:var(--navy);font:14px/1.46 Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}button{font:inherit}img{max-width:100%;display:block}
.shell{max-width:var(--max);width:calc(100% - 88px);margin-inline:auto}
h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:500;line-height:1.12;letter-spacing:-.025em}
h2{font-size:25px}h3{font-size:15px;letter-spacing:-.01em}p{color:var(--muted)}
.ico{width:21px;height:21px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6;flex-shrink:0}
.eyebrow{font-size:10px;line-height:1.8;font-weight:700;letter-spacing:.26em;text-transform:uppercase;color:#426e9c}
.mobile-only,.mobile-icon{display:none}
.desktop-only{display:initial}
.skip-link{position:absolute;left:16px;top:-80px;background:var(--navy);color:#fff;padding:12px 18px;z-index:50}.skip-link:focus{top:10px}
:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
/* Header */
.site-header{height:56px;position:relative;z-index:20;background:rgba(255,255,255,.98);border-bottom:1px solid #edf1f6}
.header-row{height:100%;display:flex;align-items:center;justify-content:space-between;gap:22px}
.wordmark{color:var(--navy-dark);white-space:nowrap;display:flex;align-items:center;gap:12px;min-width:max-content}
.wordmark::before{content:"";display:block;width:32px;height:32px;border:1px solid #e4ebf2;border-radius:2px;background:linear-gradient(145deg,#f7f9fb,#e4edf6)}/* segnaposto neutro, non un logo */
.wordmark-name{font-family:Georgia,'Times New Roman',serif;font-size:17px;font-weight:bold;letter-spacing:.014em}
.main-nav{display:flex;align-items:center;gap:clamp(10px,1.6vw,28px);margin:auto}
.main-nav a{font-size:11px;font-weight:500;white-space:nowrap;color:var(--navy)}.main-nav a:hover{color:var(--blue)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:10px 17px;font-size:12px;border:1px solid var(--navy-dark);border-radius:3px;min-height:38px;font-weight:500;transition:background .2s,border-color .2s;color:var(--navy-dark)}
.btn .ico{height:15px;width:15px}.btn-navy{color:#fff;background:var(--navy-dark)}.btn-navy:hover{background:#234b72;color:#fff;border-color:#234b72}.btn-outline{background:#fff9;color:var(--navy-dark)}.btn-outline:hover{background:#e6eff9;color:var(--navy-dark)}.header-cta{font-size:11px;min-height:34px;padding:7px 14px}.menu-toggle{display:none}
/* Hero */
.hero{position:relative;isolation:isolate;min-height:318px;overflow:hidden;background:#ebf3fa}
.hero-scene{position:absolute;inset:0;background:linear-gradient(90deg,#fafcfd 0%,#f0f6fc 58%,#dcebf8 100%);z-index:-1}
.hero-scene::before{content:'';position:absolute;inset:0;background:url('../media/hero-aircraft.png') right center/auto 100% no-repeat;-webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 43%,rgba(0,0,0,.12) 47%,#000 70%);mask-image:linear-gradient(90deg,transparent 0%,transparent 43%,rgba(0,0,0,.12) 47%,#000 70%)}
.hero::after{position:absolute;content:'';z-index:-1;inset:0;background-image:linear-gradient(0deg,rgba(235,242,250,.1),transparent 35%),linear-gradient(90deg,transparent 60%,rgba(255,255,255,.03));pointer-events:none}
.hero-inner{position:relative;min-height:318px;display:flex;align-items:center}.hero-content{max-width:550px;width:51%;padding:27px 0 24px}
.hero h1{font-size:clamp(49px,5vw,65px);letter-spacing:-.045em;white-space:nowrap;margin:4px 0 0}.hero-eyebrow{max-width:480px;font-size:9px;color:var(--navy);letter-spacing:.28em}
.hero-subtitle{font:normal clamp(17px,1.65vw,23px)/1.22 Georgia,'Times New Roman',serif;margin:4px 0 9px;color:var(--navy-dark)}
.hero-desc{font-size:13px;line-height:1.42;color:#203a5a;max-width:500px}.hero-actions{display:flex;gap:13px;margin-top:14px}.hero-actions .btn{min-height:39px}.hero-location{display:block;position:absolute;right:0;bottom:9px;font-size:9px;letter-spacing:.03em;color:#526d87;background:#f5f8fbcd;padding:3px 7px}
/* Stats */
.stats{background:#fff}.stats-row{display:grid;grid-template-columns:repeat(3,1fr) 1.12fr;min-height:76px;align-items:center}
.stat{display:flex;align-items:center;justify-content:center;gap:17px;min-height:52px;border-right:1px solid var(--line)}.stat:first-child{justify-content:flex-start;padding-left:22px}.stat:last-child{border-right:0}
.stat strong{font:normal 32px/.95 Georgia,'Times New Roman',serif;white-space:nowrap;color:var(--navy-dark)}.stat span{font-size:11px;line-height:1.28;color:#526784}.stat-aero .ico{width:35px;height:35px}.stat-aero div{display:flex;flex-direction:column;gap:2px}.stat-aero b{font-family:Georgia,'Times New Roman',serif;font-size:15px;font-weight:500;color:var(--navy)}
/* Section rhythm */
.block>.shell{border-top:1px solid var(--line);padding:12px 0 16px}
.path-block h2,.manufacturing-block h2,.skills-block h2{margin-bottom:15px}
/* Path */
.path-list{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));column-gap:5px}
.path{position:relative;text-align:center;padding:3px 5px 0}.path::after{content:'';position:absolute;top:18px;left:calc(50% + 28px);width:calc(100% - 58px);border-top:1px solid var(--line)}.path:not(:last-child)::before{content:'';position:absolute;left:calc(100% + 0px);top:16px;background:#7ca0c6;width:4px;height:4px;border-radius:50%}.path:last-child::after{display:none}
.path-icon{height:35px;margin:auto auto 5px;display:flex;justify-content:center;align-items:center;color:var(--navy)}.path-icon .ico{width:29px;height:29px;stroke-width:1.7}
.path h3{font-size:13px;font-weight:600;letter-spacing:-.025em}.path p{font-size:11px;line-height:1.28;margin-top:3px}
/* Companies */
.exp-layout{display:grid;grid-template-columns:170px 1fr;align-items:center;gap:10px}.experience-block h2{font-size:24px}
.companies{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:78px;align-items:center}.company{height:56px;display:flex;align-items:center;justify-content:center;border-left:1px solid var(--line);padding:4px 12px;text-align:center}
.company img{width:100%;height:54px;object-fit:contain;object-position:center center;mix-blend-mode:multiply}
/* Process */
.process-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.process-step{position:relative;padding:2px 10px 0 15px}.process-step:first-child{padding-left:0}
.step-number{display:flex;align-items:center;justify-content:center;border-radius:50%;background:#577899;color:#fff;font:normal 14px Georgia,'Times New Roman',serif;width:28px;height:28px;margin:0 0 5px}
.process-step::before{content:'';position:absolute;top:15px;left:49px;right:20px;border-top:1px solid #bdd0e0}.process-step:not(:last-child)::after{content:'›';position:absolute;right:-8px;top:2px;font-size:22px;color:#7c9cbe}.process-step h3{font-size:16px;margin-bottom:5px}.process-step p{font-size:12px;line-height:1.28}.step-symbol,.step-chevron{display:none}
/* Skills */
.skills-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.skill{display:flex;gap:25px;border-right:1px solid var(--line);padding:0 18px 0 12px}.skill:last-child{border-right:0}.skill-icon{width:31px;height:31px}.skill h3{font-size:16px;margin:0 0 9px}.skill ul{color:var(--muted);font-size:12px;padding-left:18px;margin:0;line-height:1.35}.skill-chevron{display:none}
/* Consulting CTA */
.consulting{background:#f0f4f9;background:linear-gradient(90deg,#eff3f8,#f8fbfd)}.consulting-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:20px;align-items:center;min-height:104px}.consulting-mail{height:51px;width:51px;stroke-width:1.35}.consulting h2{font-size:26px;margin-bottom:3px}.consulting p{font-size:13px;line-height:1.36;max-width:750px;color:#39516c}.consulting-cta{padding:12px 18px;min-height:48px;font-size:14px}.consulting-cta .ico:first-child{width:21px;height:21px;margin-right:10px}.consulting-cta .arrow-end{margin-left:12px}.benefits{display:none}
/* Digital */
.digital-layout{display:grid;grid-template-columns:270px 1fr;gap:20px;align-items:center;min-height:120px}.digital-copy h2{margin-bottom:6px}.digital-copy p{font-size:12px;line-height:1.35}.digital-diagram{display:grid;grid-template-columns:repeat(9,auto);align-items:center;justify-content:space-between;padding:16px 6px;position:relative;gap:4px;background:repeating-linear-gradient(0deg,transparent 0px,transparent 19px,rgba(122,166,200,.10) 20px),repeating-linear-gradient(90deg,transparent 0px,transparent 19px,rgba(122,166,200,.10) 20px);border-radius:2px}
.digital-step{max-width:118px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;text-align:center}.digital-step .ico{height:33px;width:33px;stroke-width:1.4;color:#587fa0}.digital-step span{font-size:11px;line-height:1.15;color:#334e6c;font-weight:600;overflow-wrap:anywhere}.digital-arrow{font-size:20px;font-weight:300;color:#93acc6}.digital-benefits{display:none}
/* CIRNIRI */
.project-row{min-height:94px;display:grid;grid-template-columns:42% minmax(0,1fr) auto;align-items:center;position:relative;gap:8px;overflow:hidden}.project-copy{z-index:1;min-width:0}.project-titleline{display:flex;align-items:center;gap:14px;margin-bottom:5px}.project-titleline h2{font-size:26px}.project-badge{font-size:11px;background:#e3edf7;color:#395c82;border-radius:12px;padding:3px 12px}.project-copy p{font-size:12px;line-height:1.34;max-width:560px}.project-image{position:absolute;inset:0 0 0 38%;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.75) 16%,rgba(255,255,255,.1) 58%,rgba(255,255,255,.58) 100%),url('../media/project-mountains.webp') center 60%/cover no-repeat;opacity:.85;z-index:0}.project-next{z-index:1;align-self:center;justify-self:end;display:inline-flex;align-items:center;gap:9px;font-size:12px;white-space:nowrap}.project-next .ico{height:16px;width:16px}
/* Observatory */
.observatory-layout{display:grid;grid-template-columns:250px 1fr;gap:26px;align-items:start}.observatory-intro{padding:9px 15px 0 0;border-right:1px solid var(--line);min-height:150px}.observatory-intro h2{font-size:28px;margin-bottom:6px}.observatory-intro p{font-size:12px;line-height:1.36}.future-content{display:block;font-size:10px;margin-top:12px;color:#8297ab}.story-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.story{min-width:0}.story img{width:100%;height:67px;object-fit:cover;background:#e5eef7}.story>span{display:inline-block;background:#ebf1f7;color:#4f6f90;font-size:9px;padding:2px 7px;margin:6px 0 2px}.story h3{font-size:14px;line-height:1.14;min-height:36px}.story small{display:block;margin-top:8px;font-size:10px;color:#8094a9}
/* Hobbies */
.passions-layout{display:grid;grid-template-columns:320px 1fr;align-items:center;gap:20px}.passions-heading h2{font-size:24px}.hobbies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.hobby{display:grid;grid-template-columns:43% 1fr;gap:12px;min-width:0;align-items:center}.hobby img{width:100%;height:70px;object-fit:cover}.hobby>div{position:relative;padding-left:0}.hobby .ico{height:18px;width:18px;position:absolute;top:0;left:0}.hobby h3{padding-left:23px;font-size:14px;margin-bottom:8px;white-space:nowrap}.hobby p{font-size:10px;line-height:1.28}
/* Tools */
.tools-layout{display:grid;grid-template-columns:290px minmax(0,1fr) auto;gap:25px;align-items:center;min-height:62px}.tools-heading h2{font-size:22px;margin-bottom:4px}.tools-heading p{font-size:11px}.tool-entry{display:flex;align-items:center;gap:14px;padding-left:25px;border-left:1px solid var(--line)}.tool-entry .ico{width:29px;height:29px}.tool-entry h3{font-size:16px;margin-bottom:2px}.tool-entry p{font-size:11px}.tool-status{color:#7189a4;font-size:11px;text-align:right;max-width:150px}
/* Footer */
.site-footer{border-top:1px solid var(--line);padding:13px 0 10px}.footer-row{display:grid;grid-template-columns:220px 1fr auto;gap:15px;align-items:center}.footer-brand{display:flex;flex-direction:column;gap:3px}.footer-brand strong{font:normal 16px Georgia,'Times New Roman',serif}.footer-brand span{font-size:9px;color:var(--muted)}.footer-row nav{display:flex;justify-content:center;gap:17px;flex-wrap:wrap}.footer-row nav a,.footer-email{font-size:10px;color:#47617b}.footer-legal{text-align:center;margin-top:7px;font-size:10px;color:#9babba}
@media(min-width:1400px){.hero{min-height:357px}.hero-inner{min-height:357px}.hero-content{max-width:610px}.hero-desc{font-size:14px}.stats-row{min-height:88px}.path-block>.shell,.manufacturing-block>.shell,.skills-block>.shell{padding-top:19px;padding-bottom:23px}}
@media(max-width:1130px) and (min-width:961px){.shell{width:calc(100% - 62px)}.main-nav{gap:10px}.main-nav a{font-size:10px}.wordmark-name{font-size:15px}.header-row{gap:12px}.company{padding:4px}.company img{height:50px}.exp-layout{grid-template-columns:160px 1fr}.passions-layout{grid-template-columns:290px 1fr}.hobby{gap:7px}.hobby h3{font-size:12px}}
@media(max-width:960px){.shell{width:calc(100% - 42px)}.site-header{height:68px}.main-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:15px 22px 22px;background:#fff;box-shadow:0 16px 23px #071e3e20;flex-direction:column;align-items:stretch;gap:0}.main-nav.is-open{display:flex}.main-nav a{padding:13px 10px;border-bottom:1px solid #e5eef4;font-size:14px}.header-cta{display:none}.menu-toggle{display:flex;align-items:center;justify-content:center;border:0;background:none;color:var(--navy);padding:8px;cursor:pointer}.menu-toggle .ico{width:27px;height:27px}.ico-close{display:none}.menu-toggle[aria-expanded="true"] .ico-menu{display:none}.menu-toggle[aria-expanded="true"] .ico-close{display:initial}
.wordmark::before{font-size:34px}.wordmark-name{font-size:18px}
.hero,.hero-inner{min-height:385px}.hero-content{width:61%;max-width:500px}.hero h1{white-space:normal}.hero-scene{background-position:center,right center}.stats-row{min-height:90px}.stat{gap:10px}.stat:first-child{padding-left:0}.stat strong{font-size:27px}.stat span{font-size:10px}.stat-aero .ico{width:29px;height:29px}
.path-list{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:18px}.path::before,.path::after{display:none}
.exp-layout{grid-template-columns:1fr}.companies{margin-top:10px}.company{border-left:1px solid var(--line)}.company:first-child{border-left:0}.process-list{gap:4px}.process-step h3{font-size:14px}.process-step p{font-size:11px}.skills-grid{gap:12px}.skill{gap:11px;padding:0 8px}.skill-icon{width:25px;height:25px}.skill h3{font-size:14px}.consulting-row{grid-template-columns:35px minmax(0,1fr);padding:20px 0}.consulting-mail{height:37px;width:37px}.consulting-cta{grid-column:2;justify-self:start}.digital-layout{grid-template-columns:1fr;gap:14px}.digital-copy{max-width:610px}.project-row{grid-template-columns:58% 1fr}.project-next{display:none}.observatory-layout{grid-template-columns:190px 1fr;gap:14px}.story-list{gap:10px}.passions-layout{grid-template-columns:1fr;gap:16px}.hobbies{gap:15px}.tools-layout{grid-template-columns:240px 1fr}.tool-status{display:none}.footer-row{grid-template-columns:1fr;gap:9px;text-align:center}.footer-row nav{gap:13px}.footer-email{display:none}
}
/* Mobile layout deliberately follows the approved three-panel mobile visual. */
@media(max-width:650px){
 body{font-size:14px;line-height:1.46}.shell{width:calc(100% - 38px)}html{scroll-padding-top:60px}
 h2{font-size:30px;letter-spacing:-.03em}.eyebrow{font-size:10px;letter-spacing:.25em}.mobile-only{display:block}.desktop-only{display:none!important}
 .site-header{height:68px}.wordmark::before{font-size:35px}.wordmark-name{font-size:17px}.menu-toggle .ico{width:29px;height:29px}
 .hero{min-height:664px;background:#ddebfa}.hero-inner{min-height:664px;display:block}.hero-scene{inset:0;background:linear-gradient(180deg,#eaf3fc 0%,#d8e8f8 100%)}.hero-scene::before{background:url('../media/hero-aircraft-mobile.webp') center bottom/100% auto no-repeat;-webkit-mask-image:linear-gradient(180deg,transparent 0%,transparent 17%,rgba(0,0,0,.75) 25%,#000 39%);mask-image:linear-gradient(180deg,transparent 0%,transparent 17%,rgba(0,0,0,.75) 25%,#000 39%)}
 .hero-content{width:100%;padding:22px 0 0;max-width:100%}.hero-eyebrow{max-width:220px;line-height:1.55;margin:0 0 15px}.hero h1{font-size:clamp(37px,10vw,49px);margin:0 0 8px;line-height:1.08}.hero-subtitle{font:normal 19px/1.24 Arial,Helvetica,sans-serif;max-width:290px;margin:0 0 14px}.dot-divider{display:inline}.hero-desc{max-width:310px;color:#3d6392;font-size:13px;line-height:1.46}
 .hero-actions{position:absolute;left:0;right:0;bottom:21px;display:flex;flex-direction:column;gap:10px;align-items:flex-start;margin:0}.hero-actions .btn{min-height:43px;min-width:210px;font-size:13px;padding:10px 16px}.hero-location{display:none}
 .stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;padding:23px 0 12px;row-gap:17px;min-height:0}.stat{min-height:120px;display:flex;gap:4px;flex-direction:column;justify-content:flex-start;text-align:center;padding:0 7px;border-right:1px solid var(--line)}.stat:first-child{justify-content:flex-start;padding-left:0}.stat:nth-child(3){border-right:0}.mobile-icon{display:block!important;width:32px;height:32px;stroke-width:1.4;margin-bottom:7px}.stat strong{font-size:33px}.stat span{font-size:10px;line-height:1.28;color:#5076a0}.stat-aero{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:center;gap:12px;min-height:68px;border-right:0;border-top:0;padding:8px 10px 7px}.stat-aero .ico{width:39px;height:39px}.stat-aero div{text-align:left}.stat-aero b{font-size:16px}.stat-aero span{font-size:11px}
 .block>.shell{padding:25px 0 30px}.path-block>.shell{padding-top:22px}.path-block h2{margin:5px 0 21px;max-width:290px}.path-list{display:flex;flex-direction:column;gap:0;position:relative}.path-list::before{content:'';position:absolute;left:22px;top:21px;bottom:36px;width:1px;background:#c8d9e9}.path{display:grid;grid-template-columns:44px 1fr;gap:18px;text-align:left;min-height:83px;padding:0;position:relative;align-items:start}.path-icon{height:44px;width:44px;border:1px solid #c6d8ea;border-radius:50%;background:#fff;margin:0;z-index:1}.path-icon .ico{width:24px;height:24px}.path h3{font-size:15px;font-family:Arial,Helvetica,sans-serif;letter-spacing:-.01em;margin:6px 0 5px}.path p{font-size:12px;line-height:1.3;max-width:250px}.path::after,.path::before{display:none!important}
 .experience-block .shell{padding-top:23px;padding-bottom:26px}.experience-block h2{font-size:32px;max-width:240px;line-height:1.08}.companies{display:grid;grid-template-columns:repeat(2,1fr);margin-top:22px;min-height:0;border:1px solid #e1eaf1;border-radius:4px;overflow:hidden}.company{height:114px;border:0;border-right:1px solid #e1eaf1;border-bottom:1px solid #e1eaf1;padding:8px}.company:nth-child(2n){border-right:0}.company:nth-child(5){grid-column:1/-1;border-right:0;border-bottom:0;height:83px}.company img{height:92px;max-width:94%;margin:auto}.company:nth-child(5) img{height:60px;max-width:75%}
 .manufacturing-block .shell{padding-top:26px}.manufacturing-block h2{font-size:31px;line-height:1.12;margin:5px 0 10px;max-width:340px}.section-intro{font-size:13px;color:#56749d;max-width:340px;line-height:1.43;margin-bottom:17px}.process-list{display:flex;flex-direction:column;gap:0}.process-step{min-height:75px;padding:11px 4px;display:grid;grid-template-columns:32px 1fr 14px;gap:13px;align-items:center;border-bottom:1px solid #e0e9f1}.process-step:first-child{padding-left:4px}.step-symbol{display:flex}.step-symbol .ico{width:29px;height:29px;stroke-width:1.5;color:#245789}.step-number{display:none}.process-step::after,.process-step::before{display:none!important}.process-step h3{font-family:Arial,Helvetica,sans-serif;font-size:14px;margin:0 0 3px;letter-spacing:0}.process-step p{font-size:11px;line-height:1.28}.step-chevron{display:block;width:13px;height:13px;color:#6a92ba}
 .skills-block .shell{padding-top:21px}.skills-block .eyebrow{margin-bottom:18px}.skills-block h2{display:none}.skills-grid{display:flex;flex-direction:column;gap:0}.skill{display:grid;grid-template-columns:37px 1fr 14px;align-items:start;padding:17px 2px;gap:13px;border:0;border-bottom:1px solid #e0e9f1}.skill-icon{width:30px;height:30px;stroke-width:1.5}.skill h3{font-size:15px;font-family:Arial,Helvetica,sans-serif;margin:0 0 7px}.skill ul{font-size:11px;line-height:1.28;padding-left:16px}.skill-chevron{display:block;width:13px;height:13px;margin-top:5px;color:#6a92ba}
 .consulting{background:linear-gradient(160deg,#f5f9fd 0%,#fff 75%)}.consulting-row{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:27px 0 30px;min-height:0}.consulting-mail{display:none}.consulting-copy .eyebrow{max-width:225px;line-height:1.4;margin-bottom:11px}.consulting h2{font-size:29px;line-height:1.05;max-width:285px;margin-bottom:12px}.consulting p{font-size:13px;line-height:1.38;color:#58749a}.benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:22px 0 21px}.benefits div{display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;font-size:11px;color:#56749a;line-height:1.25;padding:0 8px;border-right:1px solid #d7e4ef}.benefits div:last-child{border-right:0}.benefits .ico{height:27px;width:27px;color:#275c94;stroke-width:1.5}.consulting-cta{width:100%;justify-content:space-between;background:#fff;border:1px solid #c5d6e8;color:var(--navy);font-size:13px;min-height:53px;padding:10px 12px}.consulting-cta:hover{background:#edf5fb;color:var(--navy)}.consulting-cta .ico:first-child{margin-right:1px}.consulting-cta .arrow-end{margin-left:auto}
 .digital-block .shell{padding-top:25px;padding-bottom:25px}.digital-layout{display:block;min-height:0}.digital-copy h2{font-size:31px;margin:5px 0 8px}.digital-copy p{font-size:13px;line-height:1.42;color:#53749d}.digital-diagram{display:flex;align-items:stretch;justify-content:space-between;gap:3px;flex-wrap:nowrap;padding:17px 0 12px;background:none;overflow-x:auto;scrollbar-width:thin}.digital-step{min-width:52px;max-width:66px;gap:8px;flex:1}.digital-step .ico{height:25px;width:25px;color:#276097}.digital-step span{font-size:9px;line-height:1.2}.digital-arrow{font-size:13px;align-self:center;color:#9ab0c8}.digital-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #e4ecf2;margin-top:6px;padding-top:20px}.digital-benefits div{padding:0 5px;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;color:#6685a8;font-size:10px;line-height:1.24;border-right:1px solid var(--line)}.digital-benefits div:last-child{border-right:0}.digital-benefits .ico{width:23px;height:23px;color:#24629e}
 .project-block>.shell{padding-top:25px;padding-bottom:27px}.project-row{display:block;min-height:0}.project-copy{max-width:none}.project-titleline{gap:14px;margin:7px 0 9px}.project-titleline h2{font-size:30px}.project-copy p{font-size:12px;line-height:1.39;color:#5e7b9e}.project-image{position:relative;inset:auto;height:96px;width:100%;border-radius:3px 3px 0 0;margin-top:13px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.1)),url('../media/project-mountains.webp') center/cover no-repeat}.project-next{display:flex;justify-content:space-between;padding:10px 12px;border:1px solid #d8e4f0;border-radius:0 0 4px 4px;color:#46617f;font-size:12px}
 .observatory-block>.shell{padding-top:25px}.observatory-layout{display:block}.observatory-intro{padding:0;border:0;min-height:0}.observatory-intro h2{font-size:31px;margin:7px 0 9px}.observatory-intro p{font-size:12px;line-height:1.4;color:#627f9f}.future-content{margin-top:5px;font-size:10px}.story-list{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:12px 0 6px}.story{flex:0 0 56%;border:1px solid #e0eaf2;border-radius:3px;scroll-snap-align:start;overflow:hidden;padding-bottom:8px}.story img{height:98px}.story>span{margin:8px 8px 2px}.story h3{font-size:13px;line-height:1.2;min-height:44px;margin:0 8px}.story small{font-size:10px;margin:7px 8px 0}
 .passions-block .shell{padding-top:25px}.passions-layout{display:block}.passions-heading h2{font-size:26px;line-height:1.13;max-width:310px;margin:5px 0 7px}.passions-heading p.mobile-only{font-size:12px;color:#627f9f;line-height:1.35}.hobbies{margin-top:15px;gap:9px;grid-template-columns:repeat(3,minmax(0,1fr))}.hobby{display:block;border:1px solid #e0eaf2;border-radius:3px;overflow:hidden}.hobby img{height:68px;width:100%}.hobby>div{padding:6px}.hobby .ico,.hobby p{display:none}.hobby h3{font-size:11px;padding:0;margin:0;white-space:normal}
 .tools-block .shell{padding-top:20px;padding-bottom:22px}.tools-layout{display:block;min-height:0}.tools-heading h2{font-size:23px}.tools-heading p{font-size:11px;margin-top:4px}.tool-entry{border:0;border-top:1px solid #e0eaf2;padding:13px 0 0;margin-top:15px}.tool-entry h3{font-size:16px}.tool-entry p{font-size:11px}
 .site-footer{padding:20px 0 16px}.footer-row{display:block;text-align:left}.footer-brand strong{font-size:19px}.footer-brand span{font-size:10px}.footer-row nav{justify-content:flex-start;gap:9px 13px;margin-top:14px}.footer-row nav a{font-size:10px}.footer-legal{font-size:9px;text-align:left;margin-top:13px}
}
@media(max-width:370px){.wordmark-name{font-size:15px}.wordmark::before{font-size:31px}.hero h1{font-size:37px}.hero-subtitle{font-size:17px}.stat strong{font-size:29px}.digital-step span{font-size:8px}.company img{height:78px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* REV03: login riservato, senza riferimento pubblico a Gestione Cassa */
.main-nav .nav-login{font-weight:700;color:var(--navy-dark);padding-left:12px;border-left:1px solid var(--line)}
@media(max-width:960px){.main-nav .nav-login{padding-left:10px;border-left:0;font-weight:700}}


/* ================================================================
   S2.1 REV04 — correzioni manuali su base REV03
   Gli asset brand mancanti non sono sostituiti con marchi inventati.
   ================================================================ */

/* Header: logo ufficiale come background non obbligatorio, testo visibile in DEV. */
.wordmark::before{display:none}
.brand-logo-slot{
  display:block; width:35px; height:35px; flex:0 0 35px;
  background:url('../brand/logo-cosimo-scalera.svg') center/contain no-repeat;
}
.wordmark-name{font-size:17px}

/* Hero: mantiene proporzioni naturali e centratura controllata.
   Per mostrare il Monumento al Marinaio servira' un asset autentico
   integrato in hero-aircraft.webp e hero-aircraft-mobile.webp. */
.hero-scene::before{
  background-position:right center;
  background-size:auto 100%;
}
.hero-location{display:none!important}

/* Statistiche uniformemente distribuite */
.stats-row{grid-template-columns:repeat(4,minmax(0,1fr))}
.stat,.stat:first-child{justify-content:center;padding-left:9px;padding-right:9px;gap:12px}
.stat strong{display:inline-block;min-width:64px;text-align:center;font-variant-numeric:tabular-nums}
.stat span{max-width:140px}
.stat-aero{gap:12px}

/* Loghi aziendali: niente ingrandimenti artificiali o filtri moltiplicativi. */
.company img{
  width:auto;max-width:96%;height:auto;max-height:54px;
  object-fit:contain;object-position:center;
  mix-blend-mode:normal;
}

/* Nuovo modulo Progetti: CIRNIRI preminente, schede secondarie sobrie. */
.projects-heading{margin-bottom:18px}
.projects-heading h2{margin-bottom:5px}
.projects-heading p{font-size:12px;line-height:1.4}
.projects-grid{display:grid;grid-template-columns:1.55fr repeat(3,minmax(0,1fr));gap:12px}
.project-card{
  border:1px solid var(--line);border-radius:4px;background:#fff;
  padding:16px;min-width:0;min-height:210px;
  display:flex;flex-direction:column;gap:10px;
}
.project-card-featured{background:linear-gradient(160deg,#fafcff,#eff5fb)}
.project-topline{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.project-topline h3{font-size:23px;line-height:1.1}
.cirniri-brand-slot{
  display:block;width:42px;height:34px;flex:0 0 42px;
  background:url('../projects/cirniri-logo.svg') left center/contain no-repeat;
}
.project-topline .project-badge{margin-left:auto}
.project-card h3{font-size:18px;line-height:1.14}
.project-card p{color:var(--muted);font-size:12px;line-height:1.43}
.project-card-symbol{color:var(--navy);height:30px}
.project-card-symbol .ico{width:27px;height:27px}
.project-cirniri-visual{
  margin-top:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:5px;padding:10px;background:linear-gradient(110deg,#102a43,#365d7f);border-radius:3px;
}
.project-cirniri-visual span{
  border:1px solid rgba(255,255,255,.27);border-radius:2px;
  padding:8px 4px;text-align:center;font-size:10px;color:#fff;line-height:1.22;
}
.project-status{
  margin-top:auto;font-size:10px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:#52799d;
}

@media(max-width:1130px) and (min-width:961px){
  .projects-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .project-card-featured{grid-column:span 3;min-height:130px}
}
@media(max-width:960px) and (min-width:651px){
  .projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-card-featured{grid-column:1/-1}
  .stats-row{grid-template-columns:repeat(4,minmax(0,1fr))}
  .stat{gap:5px;flex-wrap:wrap}
  .stat strong{min-width:0}
}
@media(max-width:650px){
  .brand-logo-slot{width:30px;height:32px;flex-basis:30px}
  .wordmark-name{font-size:17px}
  .hero-scene::before{
    background-position:center bottom;
    background-size:100% auto;
  }
  .stats-row{grid-template-columns:repeat(3,minmax(0,1fr))}
  .stat,.stat:first-child{justify-content:flex-start;gap:4px;padding-left:5px;padding-right:5px}
  .stat strong{min-width:0;width:auto;text-align:center;font-size:32px}
  .stat span{max-width:100%}
  .stat-aero{grid-column:1/-1;justify-content:center;gap:12px}
  .company img{max-height:86px;max-width:92%;width:auto;height:auto}
  .company:nth-child(5) img{max-height:57px;max-width:75%}
  .projects-heading h2{font-size:29px}
  .projects-grid{grid-template-columns:1fr;gap:11px}
  .project-card,.project-card-featured{grid-column:auto;min-height:0;padding:15px}
  .project-card-featured{gap:12px}
  .project-cirniri-visual{margin-top:8px}
  .project-cirniri-visual span{font-size:9px;padding:8px 3px}
}
@media(max-width:370px){
  .wordmark-name{font-size:15px}
  .stat strong{font-size:29px}
  .project-cirniri-visual span{font-size:8px}
}


/* ============================================================
   S2.2-A — Integrazione del Brand ufficiale Cosimo Scalera
   SVG originale orizzontale (NON modificato), favicon dal simbolo CS.
   ============================================================ */
.wordmark::before,
.brand-logo-slot,
.wordmark-name{display:none!important}
.wordmark{gap:0;flex-shrink:0}
.wordmark-logo{display:block;width:auto;height:46px;max-width:185px;object-fit:contain}
.footer-logo{display:block;width:auto;height:52px;max-width:205px;object-fit:contain}
@media (max-width:1130px){
  .wordmark-logo{height:41px;max-width:156px}
}
@media (max-width:650px){
  .wordmark-logo{height:42px;max-width:155px}
  .footer-logo{height:48px;max-width:180px}
}
@media (max-width:370px){
  .wordmark-logo{height:39px;max-width:145px}
}

/* ==============================================================
   S2.2-B · revisione Header e Hero (solo DEV, no commit)
   Asset fotografici allineati al contenitore; nessun gradiente
   CSS o maschera sulla Hero. Branding ufficiale invariato.
   ============================================================== */
.site-header{height:78px}
.header-row{gap:18px}
.wordmark-logo{height:68px;max-width:254px;width:auto}
.main-nav{gap:clamp(9px,1.05vw,18px);margin:auto}
.main-nav a{font-size:13px;font-weight:600}
.main-nav .nav-login{font-weight:700}
.header-cta{font-size:12px}

/* Layout desktop: le due colonne condividono gli stessi margini .shell */
.hero{min-height:420px;background:#edf4fa;overflow:hidden}
.hero::after{content:none;display:none}
.hero-scene,.hero-scene::before{display:none!important}
.hero-inner{height:440px;min-height:440px;display:grid;grid-template-columns:43% 57%;align-items:stretch}
.hero-content{grid-column:1;width:100%;max-width:none;align-self:center;padding:38px 35px 38px 0}
.hero .hero-eyebrow{font-size:10px;letter-spacing:.19em;max-width:430px;line-height:1.5;color:#426e9c}
.hero h1{font-size:clamp(38px,3.4vw,50px);line-height:1.05;letter-spacing:-.035em;white-space:normal;overflow-wrap:normal;margin:10px 0 9px}
.hero-subtitle{font-size:clamp(22px,2.1vw,29px);line-height:1.18;margin:0 0 15px}
.hero-desc{font-size:14px;line-height:1.55;max-width:475px;color:#39516c}
.hero-actions{position:static;display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px}
.hero-actions .btn{font-size:12px;min-height:42px}
.hero-media{grid-column:2;display:block;min-width:0;height:100%;overflow:hidden;background:#aed8fa}
.hero-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 18%;max-width:none}

/* Evita collisioni fra wordmark ufficiale, menu e pulsante. */
@media (max-width:1180px){
 .site-header{height:72px}
 .header-row{gap:12px}
 .wordmark-logo{height:61px;max-width:227px}
 .main-nav{display:none;position:absolute;top:100%;left:0;right:0;margin:0;padding:15px 22px 22px;background:#fff;box-shadow:0 16px 23px #071e3e20;flex-direction:column;align-items:stretch;gap:0}
 .main-nav.is-open{display:flex}
 .main-nav a{padding:13px 10px;border-bottom:1px solid #e5eef4;font-size:15px}
 .main-nav .nav-login{border-left:0;padding-left:10px}
 .header-cta{display:none}
 .menu-toggle{display:flex;align-items:center;justify-content:center;border:0;background:none;color:var(--navy);padding:8px;cursor:pointer}
 .menu-toggle .ico{width:29px;height:29px}
 .ico-close{display:none}
 .menu-toggle[aria-expanded="true"] .ico-menu{display:none}
 .menu-toggle[aria-expanded="true"] .ico-close{display:initial}
 .hero-inner{height:425px;min-height:425px;grid-template-columns:45% 55%}
 .hero{min-height:425px}
 .hero-content{padding-right:25px}
 .hero h1{font-size:clamp(34px,4.3vw,46px)}
 .hero-subtitle{font-size:clamp(20px,2.5vw,25px)}
}
@media (max-width:800px) and (min-width:651px){
 .hero-inner{grid-template-columns:49% 51%}
 .hero-content{padding-right:15px}
 .hero h1{font-size:34px}
 .hero-desc{font-size:13px;line-height:1.45}
 .hero-actions{gap:8px}
 .hero-actions .btn{padding:9px 11px;font-size:11px}
}
@media (max-width:650px){
 .site-header{height:70px}
 .wordmark-logo{height:57px;max-width:210px}
 .hero{min-height:0;background:#edf4fa}
 .hero-inner{height:auto;min-height:0;display:grid;grid-template-columns:1fr;grid-template-areas:"photo" "text";align-items:stretch}
 .hero-media{grid-area:photo;width:100%;height:clamp(220px,63vw,330px);overflow:hidden}
 .hero-media img{width:100%;height:100%;object-fit:cover;object-position:50% 16%}
 .hero-content{grid-area:text;max-width:none;width:100%;padding:22px 0 28px}
 .hero .hero-eyebrow{font-size:10px;max-width:100%;letter-spacing:.16em;margin:0 0 10px;line-height:1.4}
 .hero h1{font-size:clamp(33px,9vw,43px);line-height:1.07;margin:0 0 10px}
 .hero-subtitle{font:normal clamp(19px,5.4vw,24px)/1.2 Georgia,'Times New Roman',serif;margin:0 0 13px;max-width:none}
 .hero-desc{max-width:none;font-size:13px;line-height:1.5;color:#39516c}
 .hero-actions{position:static;display:grid;grid-template-columns:1fr;gap:10px;margin-top:20px}
 .hero-actions .btn{width:100%;min-width:0;min-height:44px;font-size:13px}
}
@media (max-width:370px){
 .wordmark-logo{height:52px;max-width:192px}
 .hero h1{font-size:32px}
 .hero-media{height:214px}
}

/* =======================================================================
   S2.2-B · HERO RESPONSIVE PROFESSIONALE · proposta DEV non committata
   - Immagine WebP IDENTICA alla revisione precedente, nessun ritocco.
   - Zero offset viewport o margini negativi.
   - A desktop riserva un'area fotografica, lontana dal testo.
   - A tablet/zoom alto passa al layout verticale prima del conflitto.
   - Solo un minimo raccordo chiaro sul bordo sinistro della foto.
   ======================================================================= */
.hero{
  position:relative;
  display:block;
  isolation:isolate;
  min-height:0;
  overflow:clip;
  background:#f8fbff;
}
.hero::before,.hero::after{content:none!important;display:none!important}
.hero-scene{display:none!important}
.hero-media{
  position:absolute;
  inset:0 0 0 auto;
  display:block;
  width:58%;
  height:100%;
  margin:0;
  overflow:hidden;
  pointer-events:none;
  z-index:0;
  background:#dceaf6;
}
.hero-media img{
  position:static;
  display:block;
  width:100%;height:100%;max-width:none;
  object-fit:cover;
  object-position:50% 50%;
}
/* La maschera agisce SOLO sul bordo fotografico, non sull'intera Hero. */
.hero-media::after{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:20%;
  background:linear-gradient(to right,#f8fbff 0%,rgba(248,251,255,.72) 28%,transparent 100%);
  pointer-events:none;
}
.hero-inner{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  width:calc(100% - 88px);
  max-width:var(--max);
  height:auto;
  min-height:520px;
}
.hero-content{
  flex:0 0 44%;
  width:44%;
  max-width:520px;
  align-self:center;
  padding:38px 28px 38px 0;
}
.hero .hero-eyebrow{max-width:440px}
.hero h1{font-size:clamp(38px,3.4vw,50px);max-width:100%;line-height:1.07;white-space:normal}
.hero-subtitle{font-size:clamp(22px,2.1vw,28px)}
.hero-desc{font-size:14px;max-width:100%;color:#2b435f;line-height:1.53}
.hero-actions{position:static;display:flex;flex-wrap:wrap;gap:11px;margin-top:19px}
.hero-actions .btn{min-height:42px}

/* Al crescere dello zoom si riduce il viewport CSS: scatta il layout
   verticale PRIMA che monumento, velivoli e testi possano toccarsi. */
@media (max-width:1320px){
  .hero{display:flex;flex-direction:column;overflow:hidden;background:#fff}
  .hero-media{
    order:0;
    position:relative;
    inset:auto;
    z-index:auto;
    width:100%;
    height:auto;
    aspect-ratio:1672 / 660;
    overflow:hidden;
  }
  .hero-media img{width:100%;height:100%;object-fit:contain;object-position:center center}
  .hero-media::after{content:none;display:none}
  .hero-inner{
    order:1;
    position:relative;
    z-index:auto;
    display:block;
    width:calc(100% - 50px);
    height:auto;
    min-height:0;
    max-width:var(--max);
  }
  .hero-content{width:100%;max-width:750px;padding:26px 0 32px}
  .hero h1{font-size:clamp(34px,4.8vw,45px)}
  .hero-subtitle{font-size:clamp(21px,2.8vw,26px)}
  .hero-desc{max-width:660px}
  .hero-actions{display:flex;position:static;align-items:center}
}
@media (max-width:650px){
  .hero-media{aspect-ratio:1030 / 798;}
  .hero-media img{object-fit:contain;object-position:center center}
  .hero-inner{width:calc(100% - 38px)}
  .hero-content{width:100%;max-width:none;padding:22px 0 28px}
  .hero .hero-eyebrow{font-size:10px;letter-spacing:.15em;max-width:100%;margin:0 0 10px}
  .hero h1{font-size:clamp(32px,9vw,42px);margin:0 0 10px;line-height:1.08}
  .hero-subtitle{font-size:clamp(19px,5.3vw,24px);margin-bottom:14px}
  .hero-desc{font-size:13px;line-height:1.5;max-width:none}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:20px}
  .hero-actions .btn{width:100%;min-width:0;min-height:44px}
}

/* ==========================================================
   S2.2-C – Aziende, progetti, immagini e consulenza.
   Hero S2.2-B volutamente INVARIATA.
   ========================================================== */
.company{background:#fff;min-height:95px;height:auto;padding:12px 14px}
.company img{width:100%;height:70px;max-height:70px;max-width:100%;object-fit:contain;mix-blend-mode:normal}
.experience-block .companies{min-height:105px}
/* Identità visiva coerente dei quattro progetti */
.projects-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.project-card,.project-card-featured{grid-column:auto;min-height:300px;padding:18px 17px;gap:10px;background:#fff}
.project-card{border:1px solid var(--line);border-radius:7px;box-shadow:0 2px 8px rgba(16,42,67,.025)}
.project-card-logo{height:110px;display:flex;justify-content:center;align-items:center;background:#f8fafc;border-radius:4px;padding:10px}
.project-card-logo img{height:100%;width:100%;max-width:100%;max-height:100%;object-fit:contain}
.project-card--utility .project-card-logo img,.project-card--metodista .project-card-logo img{max-width:135px}
.project-card h3{font-family:Georgia,'Times New Roman',serif;font-size:19px;line-height:1.17;margin:0}
.project-card p{font-size:12.5px;line-height:1.48}
.project-card .project-status{margin-top:auto;font-size:10px}
.consulting-row{min-height:135px}
.consulting h2{font-size:clamp(24px,2.2vw,29px);line-height:1.13;margin-bottom:9px}
.consulting p{font-size:13px;line-height:1.55;max-width:850px}
.consulting-copy{min-width:0}
.observatory-layout{grid-template-columns:240px minmax(0,1fr)}
.story img{height:112px;object-fit:cover;border-radius:3px}
.hobby img{height:105px;object-fit:cover;border-radius:3px}
@media (max-width:1180px) and (min-width:651px){
 .projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .project-card,.project-card-featured{grid-column:auto;min-height:280px}
 .company img{height:65px}
}
@media (max-width:960px){
 .experience-block .companies{min-height:0}
 .company{min-height:100px}
 .observatory-layout{grid-template-columns:1fr}
}
@media (max-width:650px){
 .projects-grid{grid-template-columns:1fr;gap:12px}
 .project-card,.project-card-featured{min-height:0;padding:17px}
 .project-card-logo{height:114px;padding:12px}
 .project-card h3{font-size:20px}
 .project-card p{font-size:13px;line-height:1.45}
 .company{min-height:115px;height:115px;padding:12px 8px}
 .company img{height:90px;max-height:90px}
 .company:nth-child(5){height:115px}
 .company:nth-child(5) img{height:85px;max-height:85px;max-width:93%}
 .consulting h2{font-size:28px}
 .consulting p{font-size:13px;line-height:1.5}
 .story img{height:128px}
 .hobby img{height:86px}
}

/* ====================================================================
   S2.2-F — Aggiornamento asset verificabile (nessun intervento Hero)
   Loghi uniformi, menu leggibile, stesse immagini tra desktop e mobile.
   ==================================================================== */
@media (min-width:1181px){
  .main-nav{gap:clamp(9px,0.95vw,15px)}
  .main-nav a{font-size:14px;line-height:1.3;font-weight:600}
  .wordmark-logo{max-width:246px}
}
@media (max-width:1180px){
  .main-nav a{font-size:16px}
}
.experience-block .company{background:#fff}
.experience-block .company img{
  display:block;width:100%;height:72px;max-width:100%;max-height:72px;
  object-fit:contain;object-position:center;mix-blend-mode:normal;
}
/* Tutti i marchi dei progetti sono in canvas 170x86, in un box identico */
.project-card-logo{
  width:100%;height:90px;min-height:90px;padding:6px 10px;
  display:flex;align-items:center;justify-content:center;
  background:#f8fafc;border-radius:4px;
}
.project-card-logo img,
.project-card--cirniri .project-card-logo img,
.project-card--tramera .project-card-logo img,
.project-card--utility .project-card-logo img,
.project-card--metodista .project-card-logo img{
  display:block;width:170px;height:86px;
  max-width:100%;max-height:100%;object-fit:contain;object-position:center;
}
@media (max-width:650px){
  .experience-block .company img{height:80px;max-height:80px}
  .experience-block .company:nth-child(5) img{height:68px;max-height:68px}
  .project-card-logo{height:84px;min-height:84px;padding:4px 10px}
  .project-card-logo img,
  .project-card--cirniri .project-card-logo img,
  .project-card--tramera .project-card-logo img,
  .project-card--utility .project-card-logo img,
  .project-card--metodista .project-card-logo img{height:78px;max-height:78px;width:160px}
  .main-nav a{font-size:16px}
}


/* S2.2-G | Logo CIRNIRI / TRAMERÌA: marchio leggibile, nome non duplicato.
   Nessuna modifica ad altre schede, a Hero o ai loghi aziendali. */
.sr-only {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
.project-card--cirniri .project-card-logo,
.project-card--tramera .project-card-logo {
  height:142px;
  min-height:142px;
  padding:6px 8px;
  background:#fff;
}
.project-card--cirniri .project-card-logo img,
.project-card--tramera .project-card-logo img {
  display:block;
  width:230px;
  height:130px;
  max-width:100%;
  max-height:130px;
  object-fit:contain;
  object-position:center;
}
@media (max-width:650px) {
  .project-card--cirniri .project-card-logo,
  .project-card--tramera .project-card-logo {
    height:136px;
    min-height:136px;
    padding:5px 8px;
  }
  .project-card--cirniri .project-card-logo img,
  .project-card--tramera .project-card-logo img {
    width:220px;
    height:125px;
    max-height:125px;
  }
}


/* ==================================================================
   S2.2-H · Progetti: nessun nome duplicato e quattro loghi equilibrati.
   Immagini pre-normalizzate in canvas trasparenti 260 × 180 px.
   Tutte le regole qui sotto sono limitate alla sezione Progetti.
   ================================================================== */
.project-block .projects-grid .project-card .project-card-logo{
  width:100%;
  height:180px;
  min-height:180px;
  padding:0;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  overflow:hidden;
  border-radius:4px;
}
.project-block .projects-grid .project-card .project-card-logo img{
  display:block;
  width:260px;
  height:180px;
  max-width:100%;
  max-height:180px;
  object-fit:contain;
  object-position:center center;
}
.project-block .projects-grid .project-card--cirniri .project-card-logo,
.project-block .projects-grid .project-card--tramera .project-card-logo{
  height:180px;
  min-height:180px;
  padding:0;
}
.project-block .projects-grid .project-card--cirniri .project-card-logo img,
.project-block .projects-grid .project-card--tramera .project-card-logo img{
  width:260px;
  height:180px;
  max-width:100%;
  max-height:180px;
}
@media (max-width:650px){
  .project-block .projects-grid .project-card .project-card-logo,
  .project-block .projects-grid .project-card--cirniri .project-card-logo,
  .project-block .projects-grid .project-card--tramera .project-card-logo{
    height:158px;
    min-height:158px;
  }
  .project-block .projects-grid .project-card .project-card-logo img,
  .project-block .projects-grid .project-card--cirniri .project-card-logo img,
  .project-block .projects-grid .project-card--tramera .project-card-logo img{
    height:158px;
    max-height:158px;
    width:229px;
    max-width:100%;
  }
}

/* ==================================================================
   S2.2-J · Percorso professionale: otto tappe su un'unica riga.
   >=960px: tutte visibili, nessuna seconda riga.
   Tablet 651-959px: unica riga scorrevole, senza comprimere i testi.
   Mobile <=650px: percorso verticale gia' approvato.
   Design = disegnazione tecnica componenti strutturali aeronautici.
   La Hero e tutte le altre sezioni restano invariate.
   ================================================================== */
@media (min-width:960px){
  .path-list{
    display:grid;
    grid-template-columns:repeat(8,minmax(0,1fr));
    gap:clamp(2px, .45vw, 7px);
    row-gap:0;
    overflow:visible;
  }
  .path{min-width:0;padding-inline:2px}
  .path h3{font-size:clamp(11px, .95vw, 13px);line-height:1.22;overflow-wrap:break-word}
  .path p{font-size:clamp(10px, .82vw, 11px);line-height:1.32}
}
@media (min-width:651px) and (max-width:959px){
  .path-list{
    display:grid;
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:132px;
    gap:8px;
    row-gap:0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x proximity;
    overscroll-behavior-x:contain;
    padding-bottom:12px;
    scrollbar-width:thin;
  }
  .path{scroll-snap-align:start;min-width:0}
  .path h3{font-size:12px;line-height:1.23}
  .path p{font-size:11px;line-height:1.3}
  .path::before,.path::after{display:none!important}
}


/* S2.2-K: percorso 8 tappe, allineamento desktop robusto */
@media (min-width:960px){
  .path-block .path-list{
    display:grid!important;
    grid-template-columns:repeat(8,minmax(0,1fr))!important;
    grid-template-rows:auto!important;
    grid-auto-flow:row!important;
    column-gap:clamp(2px,.45vw,7px);
    row-gap:0!important;
    overflow:visible;
  }
  .path-block .path{min-width:0;padding-inline:2px}
  .path-block .path h3{font-size:clamp(11px,.95vw,13px);line-height:1.22;overflow-wrap:break-word}
  .path-block .path p{font-size:clamp(10px,.82vw,11px);line-height:1.32}
}
@media (min-width:651px) and (max-width:959px){
  .path-block .path-list{
    display:grid!important;
    grid-template-columns:none!important;
    grid-template-rows:auto!important;
    grid-auto-flow:column!important;
    grid-auto-columns:132px;
    column-gap:8px;
    row-gap:0!important;
    overflow-x:auto;
    overflow-y:hidden;
  }
  .path-block .path{min-width:0}
  .path-block .path::before,.path-block .path::after{display:none!important}
}
