*{box-sizing:border-box}
html{scroll-behavior:smooth}
:root{
  --paper:var(--theme-paper,#f5f1ee);
  --paper-2:var(--theme-paper-alt,#ece5e2);
  --ink:var(--theme-ink,#171313);
  --dark:var(--theme-dark,#171112);
  --accent:var(--theme-primary,#a51f25);
  --accent-2:var(--theme-secondary,#c0373d);
  --accent-dark:var(--theme-primary-dark,#661318);
  --muted:#6f6b68;
  --line:rgba(23,19,19,.16);
  --max:1440px;
  --serif:Georgia,'Times New Roman',serif;
  --sans:Arial,Helvetica,sans-serif;
}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
body.menu-open,body.modal-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{color:inherit}
img{max-width:100%;display:block}

.site-header{position:sticky;top:0;z-index:80;height:112px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(30px,5vw,76px);background:rgba(245,241,238,.94);border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}
.site-header:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(var(--theme-primary-rgb,165,31,37),.38),transparent)}
.brand{width:235px;display:block}
.brand img{width:100%;height:74px;object-fit:contain;object-position:left center;filter:none}
.menu-toggle{width:58px;height:58px;padding:0;border:0;background:transparent;display:grid;align-content:center;gap:10px;cursor:pointer}
.menu-toggle span{display:block;width:42px;height:1px;background:var(--ink);justify-self:end;transition:.25s}
.menu-toggle:hover span:last-child{width:30px}

.menu-overlay{position:fixed;inset:0;z-index:150;background:
  radial-gradient(circle at 88% 12%,rgba(var(--theme-primary-rgb,165,31,37),.10),transparent 30%),
  linear-gradient(145deg,var(--paper) 0%,var(--paper-2) 70%,#c7c7c2 100%);
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .28s ease,visibility .28s ease;overflow:auto}
body.menu-open .menu-overlay{opacity:1;visibility:visible;pointer-events:auto}
.menu-overlay-top{height:190px;display:flex;align-items:center;justify-content:space-between;padding:30px clamp(40px,8vw,120px)}
.menu-overlay-top img{width:310px;max-height:120px;object-fit:contain;object-position:left center}
.menu-close{position:relative;width:64px;height:64px;border:0;background:transparent;cursor:pointer}
.menu-close span{position:absolute;width:48px;height:1px;background:var(--ink);left:8px;top:31px}.menu-close span:first-child{transform:rotate(45deg)}.menu-close span:last-child{transform:rotate(-45deg)}
.menu-overlay-nav{width:min(1160px,calc(100% - 80px));margin:40px auto 100px}
.menu-overlay-nav a{display:block;font-family:var(--serif);font-size:clamp(46px,6.6vw,100px);line-height:1.06;padding:20px 0;border-bottom:1px solid var(--line);letter-spacing:-.045em;transition:padding-left .2s,color .2s}
.menu-overlay-nav a:hover{padding-left:18px;color:var(--accent-dark)}

.section-code{font-size:12px;font-weight:700;letter-spacing:.28em;text-transform:uppercase;color:#66625f;margin-bottom:48px}
.editorial-head{max-width:960px}.editorial-head.wide{max-width:1120px}
.editorial-head h2,.method-copy h2,.technology-card h2,.contact-editorial h2{font-family:var(--serif);font-weight:400;font-size:clamp(56px,7vw,116px);line-height:.98;letter-spacing:-.055em;margin:0 0 42px}
.editorial-head p,.method-copy p,.technology-card>p,.contact-editorial .editorial-head p{font-size:clamp(20px,2vw,32px);line-height:1.65;color:var(--muted);max-width:970px;margin:0}
.editorial-link{display:inline-flex;align-items:center;gap:38px;margin-top:36px;border-bottom:1px solid currentColor;padding-bottom:7px;font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.editorial-link span{font-size:20px}

.profile-section{position:relative;min-height:calc(100vh - 112px);display:flex;align-items:flex-end;overflow:hidden;background:
 radial-gradient(circle at 88% 12%,rgba(var(--theme-primary-rgb,165,31,37),.10),transparent 28%),
 linear-gradient(135deg,var(--paper) 0%,var(--paper-2) 64%,#d0d0cb 100%)}
.profile-bg{position:absolute;inset:0}.profile-bg img{width:100%;height:100%;object-fit:cover}.profile-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,14,14,.78),rgba(15,14,14,.28) 60%,rgba(var(--theme-primary-rgb,165,31,37),.16));opacity:0}.profile-section--media .profile-shade{opacity:1}.profile-section--media{color:#fff}.profile-section--media .section-code,.profile-section--media p{color:rgba(255,255,255,.72)}
.profile-inner{position:relative;z-index:2;width:min(1200px,calc(100% - 80px));margin:0 auto;padding:150px 0 120px}
.profile-wordmark{font-size:13px;letter-spacing:.34em;text-transform:uppercase;font-weight:700;color:var(--accent);margin-bottom:28px}.profile-section--media .profile-wordmark{color:#fff}
.profile-inner h1{font-family:var(--serif);font-weight:400;font-size:clamp(64px,9vw,142px);line-height:.93;letter-spacing:-.06em;max-width:1120px;margin:0 0 48px}
.profile-inner p{font-size:clamp(20px,2vw,29px);max-width:840px;color:var(--muted);margin:0}

.fineart-editorial{max-width:var(--max);margin:0 auto;padding:150px clamp(34px,5.2vw,84px)}
.fineart-services-block{margin-top:130px;padding-top:90px;border-top:1px solid var(--line)}
.fineart-services-head .section-code{color:var(--accent)}
.fineart-main{margin:90px 0 0;border:1px solid var(--line);overflow:hidden;background:#ddd}.fineart-main img{width:100%;height:min(72vw,820px);object-fit:cover}
.editorial-gallery{margin-top:36px}.gallery-title{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px;font-weight:700;letter-spacing:.22em}.gallery-title button{border:0;background:transparent;cursor:pointer;text-transform:uppercase;letter-spacing:.16em}.gallery-title b{font-size:17px;margin-left:12px}
.fineart-gallery-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-top:12px}.fineart-gallery-preview button{position:relative;padding:0;border:0;background:#111;cursor:pointer;overflow:hidden;aspect-ratio:4/3}.fineart-gallery-preview img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.fineart-gallery-preview button:hover img{transform:scale(1.025)}.fineart-gallery-more{position:absolute;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.45);color:#fff;font-size:34px;font-family:var(--serif)}

.services-editorial{background:
  radial-gradient(circle at 12% 0%,rgba(var(--theme-primary-rgb,165,31,37),.06),transparent 26%),
  linear-gradient(145deg,#d9dad6 0%,var(--paper) 46%,#e2e1dc 100%);padding:150px max(34px,calc((100vw - var(--max))/2 + 5.2vw))}
.service-editorial-list{margin-top:90px;border-top:1px solid var(--line)}
.service-editorial-row{display:grid;grid-template-columns:90px minmax(240px,.9fr) 1.4fr;gap:30px;padding:35px 0;border-bottom:1px solid var(--line);align-items:start}.service-editorial-row>span{font-size:11px;letter-spacing:.22em;color:var(--accent)}.service-editorial-row h3{font-family:var(--serif);font-size:clamp(32px,3.1vw,52px);line-height:1.02;font-weight:400;margin:0}.service-editorial-row p{margin:0;color:var(--muted);font-size:18px;max-width:620px}
.project-editorial-block{margin-top:140px}.project-editorial-head{display:grid;grid-template-columns:.75fr 1.25fr;gap:60px;align-items:end;margin-bottom:46px}.project-editorial-head .section-code{margin:0}.project-editorial-head h3{font-family:var(--serif);font-size:clamp(42px,5vw,76px);font-weight:400;line-height:1;margin:0}.project-editorial-head p{grid-column:2;margin:0;color:var(--muted);font-size:19px}
.project-editorial-grid{display:grid;grid-template-columns:repeat(2,1fr);border:1px solid rgba(0,0,0,.20)}.project-editorial-card{background:rgba(255,255,255,.28);border-right:1px solid rgba(0,0,0,.18);border-bottom:1px solid rgba(0,0,0,.18)}.project-editorial-card:nth-child(2n){border-right:0}.project-editorial-card button{position:relative;width:100%;padding:0;border:0;background:#111;cursor:pointer;aspect-ratio:1.35/1;overflow:hidden;text-align:left}.project-editorial-card img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.project-editorial-card:hover img{transform:scale(1.02)}.project-card-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(0,0,0,.72))}.project-card-label{position:absolute;left:34px;right:34px;bottom:30px;color:#fff}.project-card-label small{display:block;font-size:10px;letter-spacing:.2em;margin-bottom:9px}.project-card-label strong{display:block;font-family:var(--serif);font-size:clamp(32px,3.7vw,58px);line-height:1;font-weight:400}.project-editorial-card>p{margin:0;padding:26px 34px 32px;color:var(--muted);font-size:17px;min-height:100px}

.method-section{background:var(--dark);color:#f7f3ee;padding:130px max(34px,calc((100vw - var(--max))/2 + 5.2vw)) 155px}
.method-visual{position:relative;width:min(1050px,100%);margin:0 auto 100px;overflow:hidden;min-height:600px}.method-visual img{width:100%;height:100%;min-height:600px;object-fit:cover;filter:saturate(.72)}.method-visual-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.70),rgba(0,0,0,.28))}.method-visual ol{position:absolute;left:8%;right:8%;top:50%;transform:translateY(-50%);list-style:none;padding:0;margin:0;color:#fff}.method-visual li{display:flex;align-items:center;gap:26px;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.24);font-size:clamp(19px,2vw,29px);font-weight:300}.method-visual li:before{content:"";width:38px;height:2px;background:#b99867;flex:0 0 auto}
.method-copy{max-width:1100px}.method-copy .section-code{color:#ddd5ce}.method-copy h2{color:#fff}.method-copy p{color:#c8c1bb;max-width:1050px}

.collaborations-editorial{padding:150px max(34px,calc((100vw - var(--max))/2 + 5.2vw));background:var(--paper)}
.collaboration-editorial-grid{margin-top:90px;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line)}
.collab-editorial-card{min-height:300px;padding:34px;display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid var(--line);transition:background .2s}.collab-editorial-card:nth-child(3n){border-right:0}.collab-editorial-card:hover{background:rgba(var(--theme-primary-rgb,165,31,37),.045)}.collab-logo{min-height:145px;display:grid;place-items:center}.collab-logo img{max-width:230px;max-height:120px;object-fit:contain;filter:none!important}.collab-logo strong{font-family:var(--serif);font-size:32px;font-weight:400;text-align:center}.collab-editorial-card>div:last-child{border-top:1px solid var(--line);padding-top:18px}.collab-editorial-card>div:last-child strong{display:block;font-size:13px;letter-spacing:.10em;text-transform:uppercase}.collab-editorial-card small{display:block;color:var(--muted);font-size:11px;letter-spacing:.08em;margin-top:5px;text-transform:uppercase}

.technology-editorial{padding:150px max(34px,calc((100vw - var(--max))/2 + 5.2vw));background:
  radial-gradient(circle at 84% 18%,rgba(var(--theme-primary-rgb,165,31,37),.25),transparent 30%),
  linear-gradient(135deg,#bfc0bc 0%,var(--paper-2) 65%,#d5cfcb 100%)}
.technology-card{max-width:1100px;background:rgba(248,246,241,.94);padding:clamp(54px,7vw,100px);border:1px solid rgba(0,0,0,.16);box-shadow:0 30px 90px rgba(0,0,0,.07)}
.technology-card h2{font-size:clamp(58px,7.2vw,108px)}.technology-main-link{margin-top:58px;display:flex;align-items:center;justify-content:center;gap:20px;min-height:92px;background:var(--dark);color:#fff;font-size:13px;font-weight:700;letter-spacing:.22em;text-transform:uppercase}.technology-main-link:hover{background:var(--accent-dark)}
.solution-editorial-list{margin-top:40px;border-top:1px solid var(--line)}.solution-editorial-list a{display:flex;justify-content:space-between;align-items:center;padding:22px 4px;border-bottom:1px solid var(--line);transition:padding-left .2s}.solution-editorial-list a:hover{padding-left:10px}.solution-editorial-list small{display:block;color:var(--muted);font-size:10px;letter-spacing:.14em;text-transform:uppercase}.solution-editorial-list strong{display:block;font-family:var(--serif);font-size:30px;font-weight:400;line-height:1.1}.solution-editorial-list>a>span{font-size:24px}

.contact-editorial{padding:150px max(34px,calc((100vw - var(--max))/2 + 5.2vw));background:var(--paper)}
.contact-editorial-grid{margin-top:90px;display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--line)}.contact-editorial-grid>a,.contact-editorial-grid>div{min-height:160px;padding:26px 8px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:10px 20px;align-content:center}.contact-editorial-grid>a:nth-child(odd),.contact-editorial-grid>div:nth-child(odd){border-right:1px solid var(--line);padding-right:34px}.contact-editorial-grid>a:nth-child(even),.contact-editorial-grid>div:nth-child(even){padding-left:34px}.contact-editorial-grid small{grid-column:1/-1;font-size:10px;letter-spacing:.18em;color:var(--muted)}.contact-editorial-grid strong{font-family:var(--serif);font-size:clamp(24px,2.6vw,40px);font-weight:400;word-break:break-word}.contact-editorial-grid span{font-size:24px}

.editorial-footer{background:linear-gradient(115deg,#111 0%,var(--dark) 65%,var(--accent-dark) 140%);color:#fff;padding:80px max(34px,calc((100vw - var(--max))/2 + 5.2vw));display:grid;grid-template-columns:260px 1fr auto;gap:50px;align-items:end}.footer-brand img{width:220px;max-height:80px;object-fit:contain;object-position:left center;filter:brightness(0) invert(1)}.footer-copy{display:flex;flex-wrap:wrap;gap:10px 24px;color:rgba(255,255,255,.64);font-size:12px}.footer-copy strong{color:#fff}.editorial-footer>p{margin:0;max-width:420px;color:rgba(255,255,255,.66);text-align:right}

.project-modal[hidden],.fineart-gallery-modal[hidden]{display:none!important}.project-modal,.fineart-gallery-modal{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:24px}.modal-backdrop,.fineart-gallery-backdrop{position:absolute;inset:0;background:rgba(10,10,10,.88);backdrop-filter:blur(12px)}.modal-shell{position:relative;z-index:2;width:min(1280px,94vw);height:min(850px,92vh);display:grid;grid-template-columns:1.25fr .75fr;background:var(--paper);overflow:hidden}.modal-image{background:#111}.modal-image img{width:100%;height:100%;object-fit:cover}.modal-copy{padding:clamp(40px,5vw,72px);overflow:auto}.modal-copy .section-code{margin-bottom:24px;color:var(--accent)}.modal-copy h2{font-family:var(--serif);font-size:clamp(42px,4.8vw,72px);font-weight:400;line-height:1;letter-spacing:-.04em;margin:0 0 32px}.modal-copy p{color:var(--muted);font-size:17px}.modal-summary{font-size:21px!important;color:var(--ink)!important}.modal-fact{border-top:1px solid var(--line);margin-top:32px;padding-top:16px;display:grid;gap:5px}.modal-fact small{font-size:10px;letter-spacing:.16em;color:var(--muted)}.modal-close,.fineart-gallery-close{position:absolute;z-index:5;top:18px;right:18px;width:50px;height:50px;border:1px solid rgba(255,255,255,.4);background:rgba(20,20,20,.7);color:#fff;font-size:30px;line-height:1;cursor:pointer}
.fineart-gallery-shell{position:relative;z-index:2;width:min(1320px,96vw);height:min(900px,94vh);background:#111}.fineart-gallery-stage{position:relative;width:100%;height:100%;display:grid;place-items:center}.fineart-gallery-stage img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.fineart-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);width:58px;height:90px;border:0;background:rgba(0,0,0,.45);color:#fff;font-size:46px;cursor:pointer}.fineart-gallery-prev{left:14px}.fineart-gallery-next{right:14px}.fineart-gallery-counter{position:absolute;left:24px;bottom:20px;color:#fff;background:rgba(0,0,0,.5);padding:8px 12px;font-size:12px;letter-spacing:.12em}

@media(max-width:980px){
  .site-header{height:92px;padding:0 34px}.brand{width:190px}.brand img{height:58px}.profile-section{min-height:calc(100vh - 92px)}
  .service-editorial-row{grid-template-columns:60px 1fr}.service-editorial-row p{grid-column:2}
  .project-editorial-head{grid-template-columns:1fr}.project-editorial-head p{grid-column:auto}.project-editorial-grid{grid-template-columns:1fr}.project-editorial-card{border-right:0}
  .collaboration-editorial-grid{grid-template-columns:1fr 1fr}.collab-editorial-card:nth-child(3n){border-right:1px solid var(--line)}.collab-editorial-card:nth-child(2n){border-right:0}
  .editorial-footer{grid-template-columns:1fr 1fr}.editorial-footer>p{grid-column:1/-1;text-align:left}
  .modal-shell{grid-template-columns:1fr;height:94vh;overflow:auto}.modal-image{height:48vh}.modal-copy{overflow:visible}
}

@media(max-width:700px){
  .site-header{height:92px;padding:0 28px}.brand{width:175px}.brand img{height:58px}.menu-toggle{width:48px}.menu-toggle span{width:35px}
  .menu-overlay-top{height:210px;padding:22px 46px}.menu-overlay-top img{width:270px}.menu-overlay-nav{width:calc(100% - 94px);margin:40px auto 80px}.menu-overlay-nav a{font-size:clamp(48px,13vw,70px);padding:19px 0}.menu-close{width:54px;height:54px}.menu-close span{width:42px;left:6px;top:27px}
  .section-code{font-size:11px;margin-bottom:46px}.editorial-head h2,.method-copy h2,.technology-card h2,.contact-editorial h2{font-size:clamp(50px,14vw,82px)}.editorial-head p,.method-copy p,.technology-card>p,.contact-editorial .editorial-head p{font-size:21px;line-height:1.7}
  .profile-section{min-height:calc(100vh - 92px)}.profile-inner{width:auto;margin:0 46px;padding:110px 0 95px}.profile-inner h1{font-size:clamp(58px,15vw,88px)}.profile-inner p{font-size:20px}
  .fineart-editorial{padding:118px 47px}.fineart-main{margin-top:70px}.fineart-main img{height:95vw}.fineart-gallery-preview{grid-template-columns:1fr 1fr}.fineart-gallery-preview button:nth-child(3){display:none}.gallery-title{align-items:flex-start;gap:20px}
  .fineart-services-block{margin-top:95px;padding-top:68px}
  .services-editorial,.method-section,.collaborations-editorial,.technology-editorial,.contact-editorial{padding-left:47px;padding-right:47px;padding-top:118px;padding-bottom:118px}
  .service-editorial-list{margin-top:70px}.service-editorial-row{display:block;padding:28px 0}.service-editorial-row>span{display:block;margin-bottom:12px}.service-editorial-row h3{font-size:37px}.service-editorial-row p{margin-top:16px;font-size:17px}
  .project-editorial-block{margin-top:110px}.project-editorial-head{gap:24px}.project-editorial-head h3{font-size:50px}.project-editorial-grid{display:block}.project-editorial-card button{aspect-ratio:1/1.03}.project-card-label{left:28px;right:28px;bottom:26px}.project-card-label strong{font-size:42px}.project-editorial-card>p{padding:24px 28px 34px}
  .method-visual{min-height:0;margin-bottom:80px}.method-visual img{height:88vw;min-height:0}.method-visual ol{left:6%;right:6%}.method-visual li{font-size:18px;gap:18px;padding:12px 0}.method-visual li:before{width:28px}.method-copy .section-code{margin-bottom:46px}
  .collaboration-editorial-grid{grid-template-columns:1fr;margin-top:70px}.collab-editorial-card,.collab-editorial-card:nth-child(3n),.collab-editorial-card:nth-child(2n){border-right:0;border-bottom:1px solid var(--line);min-height:235px}.collab-logo{min-height:120px}.collab-logo img{max-width:210px;max-height:105px}
  .technology-card{padding:56px 38px}.technology-card h2{font-size:clamp(50px,13vw,76px)}.technology-main-link{min-height:82px;text-align:center;padding:18px}.solution-editorial-list strong{font-size:27px}
  .contact-editorial-grid{grid-template-columns:1fr;margin-top:65px}.contact-editorial-grid>a,.contact-editorial-grid>div,.contact-editorial-grid>a:nth-child(odd),.contact-editorial-grid>div:nth-child(odd),.contact-editorial-grid>a:nth-child(even),.contact-editorial-grid>div:nth-child(even){border-right:0;padding:24px 0}.contact-editorial-grid strong{font-size:29px}
  .editorial-footer{padding:64px 47px;grid-template-columns:1fr;gap:28px}.footer-brand img{width:190px}.editorial-footer>p{grid-column:auto}
  .project-modal,.fineart-gallery-modal{padding:0}.modal-shell{width:100vw;height:100vh}.modal-image{height:40vh}.modal-copy{padding:38px 28px 70px}.modal-copy h2{font-size:48px}.fineart-gallery-shell{width:100vw;height:100vh}.fineart-gallery-nav{width:44px;height:70px}.fineart-gallery-prev{left:5px}.fineart-gallery-next{right:5px}
}

/* ============================================================
   CONSERV V17 — consolidato
   - menu compatto in stampatello
   - tipografia ridotta
   - palette rosso / nero recuperata tramite variabili admin
   - fotografie sempre visibili quando presenti
   ============================================================ */

/* Colore editoriale: il rosso scelto in admin torna visibile in tutti gli accenti. */
.site-header{
  background:
    linear-gradient(90deg,rgba(var(--theme-primary-rgb,165,31,37),.055),transparent 32%),
    rgba(245,241,238,.96);
}
.site-header:after{height:2px;background:linear-gradient(90deg,var(--accent-dark),var(--accent),transparent 72%)}
.section-code{color:var(--accent);font-size:10px;letter-spacing:.25em;margin-bottom:30px}
.profile-wordmark{color:var(--accent)}
.fineart-editorial{background:radial-gradient(circle at 98% 8%,rgba(var(--theme-primary-rgb,165,31,37),.055),transparent 24%)}
.fineart-services-block{border-top-color:rgba(var(--theme-primary-rgb,165,31,37),.28)}
.method-section{background:linear-gradient(125deg,#111 0%,var(--dark) 62%,var(--accent-dark) 155%)}
.collaborations-editorial{background:radial-gradient(circle at 0 100%,rgba(var(--theme-primary-rgb,165,31,37),.06),transparent 28%),var(--paper)}
.collab-editorial-card{border-color:rgba(var(--theme-primary-rgb,165,31,37),.18)}
.collab-editorial-card:hover{background:rgba(var(--theme-primary-rgb,165,31,37),.055)}
.technology-editorial{background:linear-gradient(130deg,#b8b8b3 0%,var(--paper-2) 52%,rgba(var(--theme-primary-rgb,165,31,37),.16) 125%)}
.technology-card{border-top:3px solid var(--accent)}
.technology-main-link{background:linear-gradient(90deg,var(--dark),var(--accent-dark))}
.editorial-footer{background:linear-gradient(110deg,#101010 0%,var(--dark) 63%,var(--accent-dark) 125%)}

/* Menu: piccolo, tecnico, sans serif, stampatello. */
.menu-overlay{
  background:
    radial-gradient(circle at 100% 0%,rgba(var(--theme-primary-rgb,165,31,37),.18),transparent 35%),
    linear-gradient(145deg,var(--paper) 0%,var(--paper-2) 72%,#d0ccca 100%);
}
.menu-overlay-top{height:132px;padding:18px clamp(28px,6vw,82px);border-bottom:1px solid rgba(var(--theme-primary-rgb,165,31,37),.20)}
.menu-overlay-top img{width:190px;max-height:78px}
.menu-close{width:46px;height:46px}.menu-close span{width:34px;left:6px;top:23px}
.menu-overlay-nav{counter-reset:conserv-menu;width:min(760px,calc(100% - 72px));margin:28px auto 70px}
.menu-overlay-nav a{
  counter-increment:conserv-menu;
  display:flex;align-items:center;gap:18px;
  font-family:var(--sans)!important;font-style:normal!important;font-weight:600!important;
  text-transform:uppercase!important;letter-spacing:.15em!important;
  font-size:15px!important;line-height:1.25!important;
  padding:14px 0!important;border-bottom:1px solid var(--line);
}
.menu-overlay-nav a:before{content:counter(conserv-menu,decimal-leading-zero) " /";min-width:42px;color:var(--accent);font-size:9px;letter-spacing:.12em;font-weight:700}
.menu-overlay-nav a:hover{padding-left:5px!important;color:var(--accent-dark)}

/* Titoli: editoriali ma non giganti. */
.profile-inner h1{font-size:clamp(44px,5.5vw,74px)!important;line-height:1.02!important;letter-spacing:-.038em!important;max-width:900px}
.editorial-head h2,.method-copy h2,.technology-card h2,.contact-editorial h2{font-size:clamp(40px,4.7vw,66px)!important;line-height:1.04!important;letter-spacing:-.035em!important}
.project-editorial-head h3{font-size:clamp(34px,3.7vw,52px)!important}
.service-editorial-row h3{font-size:clamp(27px,2.5vw,40px)!important}
.project-card-label strong{font-size:clamp(27px,2.8vw,42px)!important}
.editorial-head p,.method-copy p,.technology-card>p,.contact-editorial .editorial-head p{font-size:clamp(17px,1.45vw,21px);line-height:1.65}
.profile-text{display:grid;gap:20px;max-width:860px}.profile-text p{font-size:clamp(17px,1.35vw,20px)!important;line-height:1.65!important;margin:0!important}

/* Le immagini non vengono nascoste dal layout. */
.fineart-main{display:block!important;margin-top:54px!important;min-height:260px}
.fineart-main img{display:block!important;width:100%!important;height:clamp(320px,52vw,680px)!important;object-fit:cover!important;filter:none!important;opacity:1!important}
.fineart-gallery,.fineart-gallery-preview,.project-editorial-block,.project-editorial-grid{visibility:visible;opacity:1}
.fineart-gallery-preview img,.project-editorial-card img,.method-visual img,.collab-logo img{filter:none!important;opacity:1!important}
.project-editorial-standalone{margin-top:90px}

@media(max-width:760px){
  .site-header{height:82px;padding:0 24px}.brand{width:158px}.brand img{height:52px}.menu-toggle{width:42px;height:42px;gap:8px}.menu-toggle span{width:31px}
  .menu-overlay-top{height:106px!important;padding:14px 26px!important}.menu-overlay-top img{width:150px!important;max-height:60px!important}
  .menu-overlay-nav{width:calc(100% - 52px)!important;margin:18px auto 48px!important}
  .menu-overlay-nav a{font-size:13px!important;letter-spacing:.14em!important;padding:12px 0!important;gap:12px!important}
  .menu-overlay-nav a:before{min-width:35px;font-size:8px}
  .menu-close{width:40px;height:40px}.menu-close span{width:30px;left:5px;top:20px}

  .section-code{font-size:9px;margin-bottom:24px}
  .profile-section{min-height:auto}.profile-inner{margin:0 30px;padding:82px 0 76px}
  .profile-inner h1{font-size:clamp(38px,10.2vw,50px)!important;line-height:1.04!important;margin-bottom:32px}
  .profile-text{gap:17px}.profile-text p{font-size:16px!important;line-height:1.62!important}

  .fineart-editorial{padding:82px 30px}.fineart-services-block{margin-top:74px;padding-top:52px}
  .editorial-head h2,.method-copy h2,.technology-card h2,.contact-editorial h2{font-size:clamp(34px,9.5vw,46px)!important;line-height:1.05!important;margin-bottom:26px}
  .editorial-head p,.method-copy p,.technology-card>p,.contact-editorial .editorial-head p{font-size:16px!important;line-height:1.62!important}
  .fineart-main{margin-top:42px!important}.fineart-main img{height:70vw!important;min-height:260px}
  .services-editorial,.method-section,.collaborations-editorial,.technology-editorial,.contact-editorial{padding:82px 30px}
  .service-editorial-list{margin-top:48px}.service-editorial-row h3{font-size:27px!important}.service-editorial-row p{font-size:16px}
  .project-editorial-block{margin-top:76px}.project-editorial-head h3{font-size:34px!important}.project-card-label strong{font-size:30px!important}
  .method-visual{margin-bottom:58px}.method-visual li{font-size:15px;gap:14px;padding:10px 0}
  .collaboration-editorial-grid{margin-top:48px}.collab-editorial-card{min-height:190px}.collab-logo{min-height:92px}.collab-logo img{max-width:185px;max-height:86px}
  .technology-card{padding:42px 28px}.technology-main-link{margin-top:34px;min-height:70px;font-size:11px}
  .contact-editorial-grid{margin-top:46px}.contact-editorial-grid strong{font-size:23px}
}

/* ============================================================
   CONSERV V18 — correzione visiva definitiva
   Ripristino header rosso/nero + menu compatto reale.
   ============================================================ */
.site-header{
  color:#fff!important;
  background:
    radial-gradient(circle at 78% 0%,rgba(var(--theme-secondary-rgb,192,55,61),.34),transparent 34%),
    linear-gradient(105deg,var(--theme-dark,#171112) 0%,color-mix(in srgb,var(--theme-dark,#171112) 80%,var(--theme-primary,#a51f25)) 48%,var(--theme-primary-dark,#661318) 100%)!important;
  border-bottom:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 10px 34px rgba(var(--theme-primary-dark-rgb,102,19,24),.18)!important;
}
.site-header:after{height:1px!important;background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),var(--theme-secondary,#c0373d),transparent)!important}
.site-header .brand img{filter:brightness(0) invert(1)!important}
.site-header .menu-toggle span{background:#fff!important}
.site-header .menu-toggle{color:#fff!important}

/* Menu overlay: il layout resta editoriale, ma le voci sono volutamente piccole. */
.menu-overlay-nav{width:min(680px,calc(100% - 64px))!important;margin:24px auto 60px!important}
.menu-overlay-nav a{
  font-family:Arial,Helvetica,sans-serif!important;
  font-style:normal!important;
  font-weight:600!important;
  text-transform:uppercase!important;
  font-size:14px!important;
  line-height:1.2!important;
  letter-spacing:.16em!important;
  padding:12px 0!important;
}
.menu-overlay-nav a:before{font-size:8px!important;min-width:38px!important}

/* Mantieni tutte le fotografie già referenziate dal CMS senza filtri o mascheramenti. */
.profile-bg img,.fineart-main img,.fineart-gallery-preview img,.project-editorial-card img,.method-visual img{display:block!important;visibility:visible!important;opacity:1!important;filter:none!important}

@media(max-width:760px){
  .site-header{height:78px!important;padding:0 20px!important}
  .site-header .brand{width:170px!important}
  .site-header .brand img{height:54px!important}
  .menu-overlay-top{height:92px!important;padding:12px 22px!important}
  .menu-overlay-top img{width:142px!important;max-height:54px!important}
  .menu-overlay-nav{width:calc(100% - 44px)!important;margin:12px auto 36px!important}
  .menu-overlay-nav a{font-size:12px!important;letter-spacing:.14em!important;padding:10px 0!important;gap:10px!important}
  .menu-overlay-nav a:before{font-size:7px!important;min-width:32px!important}
  .menu-close{width:36px!important;height:36px!important}
  .menu-close span{width:26px!important;left:5px!important;top:18px!important}
}


/* ============================================================
   CONSERV V20 — foto Profilo sotto i testi
   La foto del Profilo è un contenuto editoriale, non uno sfondo.
   ============================================================ */
.profile-section{display:block!important;min-height:auto!important;overflow:visible!important;background:
  radial-gradient(circle at 82% 16%,rgba(var(--theme-secondary-rgb,192,55,61),.08),transparent 33%),
  var(--paper)!important;color:var(--ink)!important}
.profile-bg,.profile-shade{display:none!important}
.profile-inner{padding-bottom:88px!important}
.profile-main-image{display:block;margin:56px 0 0;border:1px solid var(--line);overflow:hidden;background:var(--paper-alt)}
.profile-main-image img{display:block;width:100%;height:clamp(360px,54vw,720px);object-fit:cover;filter:none!important;opacity:1!important}
.profile-main-image + .editorial-link{margin-top:34px}
@media(max-width:760px){
  .profile-inner{padding-bottom:70px!important}
  .profile-main-image{margin-top:38px}
  .profile-main-image img{height:74vw;min-height:270px}
}


/* ============================================================
   CONSERV V21 — profilo con immagine sotto testo + Soci.Uno corretto
   Layout più raccolto su desktop/mobile.
   ============================================================ */
:root{--max:1120px!important}
.profile-inner{width:min(980px,calc(100% - 64px))!important}
.profile-inner h1{max-width:900px!important}
.profile-text{max-width:760px!important}
.editorial-head{max-width:820px!important}
.editorial-head.wide{max-width:920px!important}
.editorial-head p,.method-copy p,.technology-card>p,.contact-editorial .editorial-head p{max-width:760px!important}
.method-copy{max-width:860px!important}
.technology-card{max-width:900px!important}
.service-editorial-list,.project-editorial-block,.collaboration-editorial-grid,.contact-editorial-grid{max-width:980px!important}
.project-editorial-grid{max-width:980px!important}
.method-visual{width:min(900px,100%)!important}
.profile-main-image{display:block;margin:44px 0 0;border:1px solid var(--line);overflow:hidden;background:var(--paper-alt)}
.profile-main-image img{display:block;width:100%;height:auto;max-height:640px;aspect-ratio:16/10;object-fit:cover;filter:none!important;opacity:1!important}
.profile-main-image + .editorial-link{margin-top:28px}
.fineart-editorial{max-width:1120px!important}
.fineart-main{width:min(860px,100%)!important;margin:38px 0 0!important;border:0!important;background:transparent!important}
.fineart-main img{width:100%!important;height:auto!important;max-height:640px!important;aspect-ratio:16/10;object-fit:cover!important}
.editorial-gallery{width:min(860px,100%)!important;margin-top:22px!important}
@media(max-width:760px){
  :root{--max:100%!important}
  .profile-inner{width:auto!important;margin-left:26px!important;margin-right:26px!important}
  .fineart-editorial,.services-editorial,.method-section,.collaborations-editorial,.technology-editorial,.contact-editorial{padding-left:26px!important;padding-right:26px!important}
  .editorial-footer{padding-left:26px!important;padding-right:26px!important}
  .profile-main-image{margin-top:30px}
  .profile-main-image img{max-height:none;aspect-ratio:4/3}
  .fineart-main{width:100%!important;margin-top:28px!important}
  .fineart-main img{height:auto!important;max-height:none!important;aspect-ratio:4/3!important}
  .editorial-gallery{width:100%!important}
}


/* ============================================================
   CONSERV V22 — ripristino Profilo/hero con fotografia di sfondo
   come prima della revisione editoriale. Mantiene layout stretto.
   ============================================================ */
.profile-section{position:relative;overflow:hidden;background:var(--paper);color:var(--ink)}
.profile-section--media{min-height:min(760px,calc(100vh - 78px));display:flex;align-items:flex-end;color:#fff;background:#171112}
.profile-bg{position:absolute;inset:0;z-index:0}
.profile-bg img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:none!important;opacity:1!important}
.profile-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(12,8,9,.80) 0%,rgba(31,10,13,.58) 46%,rgba(102,19,24,.22) 100%)}
.profile-section--media .profile-inner{position:relative;z-index:2;width:min(980px,calc(100% - 64px))!important;padding:110px 0 82px!important;margin-left:max(32px,calc((100vw - 1120px)/2))!important;margin-right:auto!important}
.profile-section--media .section-code{color:rgba(255,255,255,.78)}
.profile-section--media .profile-wordmark{color:var(--theme-secondary,#c0373d)}
.profile-section--media h1{color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.18)}
.profile-section--media .profile-text p{color:rgba(255,255,255,.86)!important}
.profile-section--media .editorial-link{color:#fff;border-color:rgba(255,255,255,.55)}
.profile-main-image{display:none!important}
@media(max-width:760px){
  .profile-section--media{min-height:72vh}
  .profile-section--media .profile-inner{width:auto!important;margin:0 26px!important;padding:82px 0 64px!important}
  .profile-shade{background:linear-gradient(180deg,rgba(12,8,9,.46) 0%,rgba(12,8,9,.70) 55%,rgba(12,8,9,.88) 100%)}
  .profile-bg img{object-position:center}
}

/* ============================================================
   CONSERV V23 — FIX PROFILO BACKGROUND
   Corregge le vecchie regole V20 che nascondevano profile-bg/profile-shade.
   ============================================================ */
.profile-section.profile-section--media{
  position:relative!important;
  display:flex!important;
  align-items:flex-end!important;
  min-height:720px!important;
  overflow:hidden!important;
  background:#171112!important;
  color:#fff!important;
}
.profile-section.profile-section--media .profile-bg{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
}
.profile-section.profile-section--media .profile-bg img{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  filter:none!important;
}
.profile-section.profile-section--media .profile-shade{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(90deg,rgba(11,7,8,.84) 0%,rgba(26,8,11,.68) 48%,rgba(102,19,24,.34) 100%)!important;
}
.profile-section.profile-section--media .profile-inner{
  position:relative!important;
  z-index:2!important;
  width:min(920px,calc(100% - 64px))!important;
  margin-left:max(32px,calc((100vw - 1120px)/2))!important;
  margin-right:auto!important;
  padding:96px 0 78px!important;
}
.profile-section.profile-section--media .section-code{
  color:rgba(255,255,255,.76)!important;
}
.profile-section.profile-section--media .profile-wordmark{
  color:var(--theme-secondary,#c0373d)!important;
}
.profile-section.profile-section--media h1{
  color:#fff!important;
  text-shadow:0 2px 24px rgba(0,0,0,.30)!important;
}
.profile-section.profile-section--media .profile-text p{
  color:rgba(255,255,255,.92)!important;
  text-shadow:0 1px 10px rgba(0,0,0,.18)!important;
}
.profile-section.profile-section--media .editorial-link{
  color:#fff!important;
  border-color:rgba(255,255,255,.48)!important;
}

@media(max-width:760px){
  .profile-section.profile-section--media{
    display:block!important;
    min-height:0!important;
    background:#171112!important;
  }
  .profile-section.profile-section--media .profile-bg{
    display:block!important;
  }
  .profile-section.profile-section--media .profile-bg img{
    object-position:center center!important;
  }
  .profile-section.profile-section--media .profile-shade{
    display:block!important;
    background:
      linear-gradient(180deg,rgba(12,7,8,.46) 0%,rgba(15,8,10,.68) 42%,rgba(15,8,10,.90) 100%)!important;
  }
  .profile-section.profile-section--media .profile-inner{
    width:auto!important;
    margin:0 26px!important;
    padding:70px 0 58px!important;
  }
  .profile-section.profile-section--media .profile-text p{
    color:rgba(255,255,255,.94)!important;
  }
}

/* V24 PHOTO-SAFE - solo hub Informatica: soci.uno e mercantico.net distinti. */
.technology-hub{display:block!important}
.digital-head{max-width:980px;margin-bottom:54px}
.digital-head p strong{color:var(--ink);font-weight:700}
.digital-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.digital-product{position:relative;display:flex;flex-direction:column;min-height:520px;padding:42px;border:1px solid rgba(20,20,20,.14);background:rgba(255,255,255,.72);backdrop-filter:blur(6px);overflow:hidden}
.digital-product:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--accent)}
.digital-product-mercantico:before{background:var(--dark)}
.digital-product-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:25px;border-bottom:1px solid rgba(20,20,20,.14)}
.digital-product-top span{font:700 9px/1.2 var(--sans);letter-spacing:.19em;color:var(--accent);text-transform:uppercase}
.digital-product-top strong{font:700 24px/1 var(--sans);letter-spacing:-.03em;color:var(--ink)}
.digital-product h3{max-width:610px;margin:46px 0 20px;font:500 clamp(30px,3vw,46px)/1.08 var(--serif);letter-spacing:-.03em;color:var(--ink)}
.digital-product>p{max-width:680px;margin:0;font:400 16px/1.65 var(--sans);color:#4a4545}
.digital-tags{display:flex;flex-wrap:wrap;gap:7px;margin:28px 0 34px}
.digital-tags span{padding:8px 10px;border:1px solid rgba(20,20,20,.13);background:rgba(255,255,255,.52);font:700 9px/1 var(--sans);letter-spacing:.11em;text-transform:uppercase;color:#555}
.digital-actions{margin-top:auto}.digital-actions .technology-main-link{margin-top:0;width:100%;box-sizing:border-box}
.digital-product-mercantico .technology-main-link{background:linear-gradient(90deg,var(--dark),#303030)}
@media(max-width:900px){.digital-products{grid-template-columns:1fr}.digital-product{min-height:0}.digital-head{margin-bottom:38px}}
@media(max-width:760px){.digital-product{padding:30px 24px}.digital-product h3{margin-top:34px;font-size:34px}.digital-product-top{align-items:center}.digital-product-top strong{font-size:20px}.digital-tags{margin-bottom:28px}}


/* V25 - icone per soci.uno e mercantico.net */
.digital-brand{display:flex;align-items:center;gap:16px;min-width:0}
.digital-brand-copy{display:flex;flex-direction:column;gap:8px;min-width:0}
.digital-brand-icon{width:64px;height:64px;flex:0 0 64px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.88);border:1px solid rgba(20,20,20,.10);box-shadow:0 8px 24px rgba(16,16,16,.06)}
.digital-brand-icon svg{width:42px;height:42px;display:block}
.digital-brand-icon-soci svg{fill:none;stroke:var(--accent);stroke-width:3.25;stroke-linecap:round;stroke-linejoin:round}
.digital-brand-icon-soci svg .pupil{fill:var(--accent);stroke:none}
.digital-brand-icon-mercantico svg{fill:none;stroke:#244f89;stroke-width:3.1;stroke-linecap:round;stroke-linejoin:round}
.digital-brand-mercantico .digital-brand-icon{background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(244,247,252,.9));border-color:rgba(36,79,137,.14)}
.digital-brand-mercantico .digital-brand-copy span{color:#244f89}
@media(max-width:760px){.digital-brand{gap:12px}.digital-brand-icon{width:56px;height:56px;flex-basis:56px;border-radius:16px}.digital-brand-icon svg{width:36px;height:36px}}

/* V27 - loghi ufficiali reali, nessun segnaposto */
.digital-brand-icon img{display:block;width:100%;height:100%;object-fit:contain}
.digital-brand-icon-soci{padding:7px;overflow:hidden}
.digital-brand-icon-soci img{border-radius:12px}
.digital-brand-icon-mercantico{width:92px;height:70px;flex:0 0 92px;padding:4px 6px;border-radius:16px}
.digital-brand-icon-mercantico img{object-fit:contain}
@media(max-width:760px){.digital-brand-icon-mercantico{width:80px;height:62px;flex-basis:80px}.digital-brand-icon-soci{padding:6px}}

/* ============================================================
   CONSERV V28 — contatti compatti
   - sede rimossa dalla vetrina pubblica
   - chiusura pagina più leggera
   - email leggibile senza spezzature inutili su desktop
   ============================================================ */
.contact-editorial{
  padding-top:72px!important;
  padding-bottom:72px!important;
}
.contact-editorial .section-code{margin-bottom:24px!important}
.contact-editorial h2{
  font-size:clamp(34px,4vw,54px)!important;
  margin-bottom:20px!important;
  line-height:1.04!important;
}
.contact-editorial .editorial-head p{
  font-size:17px!important;
  line-height:1.55!important;
  max-width:720px!important;
}
.contact-editorial-grid{
  margin-top:36px!important;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr))!important;
  max-width:820px!important;
}
.contact-editorial-grid>a,
.contact-editorial-grid>div{
  min-height:96px!important;
  padding-top:18px!important;
  padding-bottom:18px!important;
}
.contact-editorial-grid strong{
  font-size:clamp(24px,2.1vw,32px)!important;
  word-break:normal!important;
  overflow-wrap:anywhere;
}
.contact-editorial-grid>a:only-child,
.contact-editorial-grid>div:only-child{
  border-right:0!important;
  padding-left:8px!important;
  padding-right:8px!important;
}
@media(max-width:700px){
  .contact-editorial{padding-top:58px!important;padding-bottom:58px!important}
  .contact-editorial .section-code{margin-bottom:20px!important}
  .contact-editorial h2{font-size:36px!important;margin-bottom:16px!important}
  .contact-editorial .editorial-head p{font-size:15px!important}
  .contact-editorial-grid{margin-top:28px!important;grid-template-columns:1fr!important}
  .contact-editorial-grid>a,.contact-editorial-grid>div{min-height:82px!important;padding:16px 0!important}
  .contact-editorial-grid strong{font-size:22px!important}
}

/* ============================================================
   CONSERV V29 — SERVIZI PIU' COMPATTI
   Solo layout: nessuna modifica a contenuti, immagini o dati.
   ============================================================ */
@media (min-width:761px){
  .fineart-services-block{
    margin-top:78px!important;
    padding-top:48px!important;
  }
  .fineart-services-head .section-code{
    margin-bottom:22px!important;
  }
  .fineart-services-head h2{
    max-width:780px!important;
    font-size:clamp(34px,3.45vw,50px)!important;
    line-height:1.04!important;
    margin-bottom:0!important;
    letter-spacing:-.03em!important;
  }
  .fineart-services-head p{
    margin-top:22px!important;
    font-size:17px!important;
    line-height:1.55!important;
    max-width:720px!important;
  }
  .service-editorial-list{
    margin-top:42px!important;
    max-width:980px!important;
  }
  .service-editorial-row{
    grid-template-columns:64px minmax(260px,.95fr) 1.15fr!important;
    gap:22px!important;
    padding:21px 0!important;
    align-items:start!important;
  }
  .service-editorial-row:not(:has(p)){
    grid-template-columns:64px minmax(0,1fr)!important;
  }
  .service-editorial-row>span{
    padding-top:4px!important;
    font-size:9px!important;
  }
  .service-editorial-row h3{
    max-width:720px!important;
    font-size:clamp(24px,2.15vw,32px)!important;
    line-height:1.08!important;
    letter-spacing:-.018em!important;
  }
  .service-editorial-row p{
    font-size:16px!important;
    line-height:1.5!important;
  }
  .fineart-services-block .project-editorial-block{
    margin-top:90px!important;
  }
}

@media (max-width:760px){
  .fineart-services-block{
    margin-top:56px!important;
    padding-top:36px!important;
  }
  .fineart-services-head .section-code{
    margin-bottom:18px!important;
  }
  .fineart-services-head h2{
    font-size:clamp(30px,8.6vw,38px)!important;
    line-height:1.06!important;
    margin-bottom:0!important;
  }
  .fineart-services-head p{
    margin-top:18px!important;
  }
  .service-editorial-list{
    margin-top:30px!important;
  }
  .service-editorial-row,
  .service-editorial-row:not(:has(p)){
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    gap:12px!important;
    padding:17px 0!important;
  }
  .service-editorial-row>span{
    margin:3px 0 0!important;
    font-size:8px!important;
  }
  .service-editorial-row h3{
    font-size:23px!important;
    line-height:1.1!important;
  }
  .service-editorial-row p{
    grid-column:2!important;
    margin-top:2px!important;
    font-size:15px!important;
    line-height:1.5!important;
  }
}

/* ============================================================
   CONSERV V30 — CONTEMPORARY STUDIO
   Restyling esclusivamente CSS.
   Obiettivo: meno catalogo classico, più studio tecnico-creativo.
   Nessun contenuto, immagine, JSON o PHP modificato.
   ============================================================ */

/* Sistema generale: più netto, meno decorativo */
:root{
  --max:1180px!important;
  --muted:#696565!important;
  --line:rgba(23,19,19,.12)!important;
}
body{font-size:15.5px!important;line-height:1.58!important}
.section-code{
  display:flex!important;align-items:center!important;gap:11px!important;
  margin-bottom:20px!important;
  font:700 9px/1.2 var(--sans)!important;
  letter-spacing:.22em!important;color:var(--accent)!important;
}
.section-code:before{content:"";width:28px;height:2px;background:var(--accent);flex:0 0 28px}

/* Header: più sottile e contemporaneo */
.site-header{
  height:82px!important;
  padding:0 clamp(24px,4.2vw,58px)!important;
  background:linear-gradient(90deg,#171112 0%,#351315 46%,#7b1c21 100%)!important;
  border-bottom:0!important;
  box-shadow:0 8px 30px rgba(28,13,14,.08)!important;
}
.site-header:after{display:none!important}
.site-header .brand{width:184px!important}
.site-header .brand img{height:58px!important;filter:brightness(0) invert(1)!important}
.site-header .menu-toggle{width:44px!important;height:44px!important;gap:8px!important}
.site-header .menu-toggle span{width:31px!important;background:#fff!important}
.site-header .menu-toggle span:last-child{width:23px!important}
.site-header .menu-toggle:hover span:last-child{width:31px!important}

/* Hero: resta editoriale, ma più controllato */
.profile-section--media{min-height:min(700px,calc(100vh - 82px))!important}
.profile-section--media .profile-inner{
  width:min(1000px,calc(100% - 64px))!important;
  padding:92px 0 70px!important;
}
.profile-section--media h1{
  max-width:820px!important;
  margin-bottom:28px!important;
  font-size:clamp(42px,5vw,68px)!important;
  line-height:1!important;letter-spacing:-.042em!important;
}
.profile-wordmark{margin-bottom:18px!important;font-size:10px!important;letter-spacing:.27em!important}
.profile-text{max-width:720px!important;gap:12px!important}
.profile-text p{font-size:clamp(15px,1.25vw,18px)!important;line-height:1.55!important}
.profile-section--media .profile-shade{
  background:linear-gradient(90deg,rgba(14,8,9,.86) 0%,rgba(22,10,12,.62) 48%,rgba(66,14,18,.18) 100%)!important;
}

/* Sezioni: meno altezza, gerarchia sans moderna */
.fineart-editorial,
.collaborations-editorial,
.technology-editorial,
.contact-editorial{
  padding-top:92px!important;padding-bottom:96px!important;
}
.editorial-head,.editorial-head.wide{max-width:860px!important}
.editorial-head h2,
.method-copy h2,
.contact-editorial h2{
  max-width:850px!important;
  margin:0 0 24px!important;
  font-family:var(--sans)!important;
  font-size:clamp(34px,3.7vw,54px)!important;
  line-height:1.02!important;font-weight:600!important;
  letter-spacing:-.045em!important;
}
.editorial-head p,.method-copy p,.contact-editorial .editorial-head p{
  max-width:720px!important;
  font-size:clamp(15px,1.28vw,18px)!important;
  line-height:1.6!important;
}

/* Fine Art: immagine protagonista ma composizione asimmetrica */
.fineart-editorial{background:var(--paper)!important}
.fineart-main{
  width:min(900px,82%)!important;
  margin:46px 0 0 auto!important;
  border:0!important;background:transparent!important;
}
.fineart-main img{
  width:100%!important;height:auto!important;max-height:none!important;
  aspect-ratio:16/10!important;object-fit:cover!important;
}
.editorial-gallery{width:min(900px,82%)!important;margin:16px 0 0 auto!important}
.gallery-title{padding:14px 0!important;font-size:9px!important;letter-spacing:.18em!important}
.fineart-gallery-preview{gap:8px!important;padding-top:8px!important}

/* Servizi: da elenco verticale a griglia modulare */
.fineart-services-block{
  margin-top:84px!important;padding-top:56px!important;
  border-top:1px solid rgba(var(--theme-primary-rgb,165,31,37),.22)!important;
}
.fineart-services-head{max-width:760px!important}
.fineart-services-head h2{
  max-width:720px!important;
  font-family:var(--sans)!important;
  font-size:clamp(32px,3.35vw,48px)!important;
  font-weight:600!important;line-height:1.02!important;letter-spacing:-.042em!important;
}
.service-editorial-list{
  max-width:none!important;margin-top:38px!important;border-top:0!important;
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:1px!important;background:rgba(23,19,19,.12)!important;
  border:1px solid rgba(23,19,19,.12)!important;
}
.service-editorial-row,
.service-editorial-row:not(:has(p)){
  display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;
  gap:12px 14px!important;align-content:start!important;
  min-height:154px!important;padding:24px!important;
  border:0!important;background:rgba(247,244,241,.96)!important;
}
.service-editorial-row>span{
  padding-top:3px!important;font-size:8px!important;letter-spacing:.16em!important;color:var(--accent)!important;
}
.service-editorial-row h3{
  font-family:var(--sans)!important;font-size:clamp(19px,1.7vw,25px)!important;
  line-height:1.12!important;font-weight:600!important;letter-spacing:-.025em!important;
}
.service-editorial-row p{
  grid-column:2!important;margin-top:2px!important;
  font-size:14px!important;line-height:1.52!important;color:var(--muted)!important;
}

/* Progetti: immagini senza cornice da catalogo */
.fineart-services-block .project-editorial-block,
.project-editorial-block{margin-top:88px!important}
.project-editorial-head{
  grid-template-columns:180px minmax(0,1fr)!important;
  gap:30px!important;align-items:start!important;margin-bottom:28px!important;
}
.project-editorial-head h3{
  font-family:var(--sans)!important;font-size:clamp(30px,3vw,44px)!important;
  font-weight:600!important;line-height:1.03!important;letter-spacing:-.04em!important;
}
.project-editorial-head p{grid-column:2!important;font-size:16px!important;line-height:1.55!important}
.project-editorial-grid{
  max-width:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;border:0!important;background:transparent!important;
}
.project-editorial-card{border:0!important;background:rgba(255,255,255,.32)!important}
.project-editorial-card button{aspect-ratio:1.42/1!important}
.project-card-shade{background:linear-gradient(180deg,transparent 38%,rgba(0,0,0,.78))!important}
.project-card-label{left:24px!important;right:24px!important;bottom:22px!important}
.project-card-label small{font:700 8px/1.2 var(--sans)!important;letter-spacing:.17em!important}
.project-card-label strong{
  font-family:var(--sans)!important;font-size:clamp(23px,2.3vw,34px)!important;
  font-weight:600!important;line-height:1.03!important;letter-spacing:-.035em!important;
}
.project-editorial-card>p{min-height:0!important;padding:16px 4px 8px!important;font-size:14px!important;line-height:1.5!important}

/* Metodo: foto + testo affiancati come studio/project page */
.method-section{
  padding:88px max(30px,calc((100vw - 1180px)/2))!important;
  background:linear-gradient(115deg,#111 0%,#1b1112 58%,#351416 100%)!important;
}
.method-section:has(.method-visual){
  display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)!important;
  gap:64px!important;align-items:center!important;
}
.method-visual{
  width:100%!important;min-height:0!important;height:520px!important;
  margin:0!important;
}
.method-visual img{width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important}
.method-visual ol{left:7%!important;right:7%!important}
.method-visual li{font-size:clamp(15px,1.35vw,19px)!important;padding:12px 0!important;gap:16px!important}
.method-visual li:before{width:24px!important;height:1px!important;background:var(--accent-2)!important}
.method-copy{max-width:500px!important}
.method-copy h2{font-size:clamp(32px,3.2vw,46px)!important}
.method-copy p{font-size:16px!important;line-height:1.62!important}

/* Collaborazioni: fascia più leggera */
.collaborations-editorial{background:#f1eeeb!important}
.collaboration-editorial-grid{
  max-width:none!important;margin-top:42px!important;
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;
  gap:10px!important;border:0!important;
}
.collab-editorial-card,
.collab-editorial-card:nth-child(2n),
.collab-editorial-card:nth-child(3n){
  min-height:190px!important;padding:22px!important;
  border:1px solid rgba(23,19,19,.10)!important;
  background:rgba(255,255,255,.46)!important;
}
.collab-editorial-card:hover{background:#fff!important}
.collab-logo{min-height:100px!important}
.collab-logo img{max-width:180px!important;max-height:78px!important}
.collab-logo strong{font-family:var(--sans)!important;font-size:22px!important;font-weight:600!important}
.collab-editorial-card>div:last-child{padding-top:12px!important}
.collab-editorial-card>div:last-child strong{font-size:10px!important;letter-spacing:.1em!important}
.collab-editorial-card small{font-size:9px!important}

/* Informatica: due prodotti chiari, compatti, non “SaaS gigante” */
.technology-editorial{
  background:linear-gradient(135deg,#e2dfdb 0%,#f2efec 62%,rgba(var(--theme-primary-rgb,165,31,37),.09) 100%)!important;
}
.digital-head{margin-bottom:38px!important}
.digital-products{gap:14px!important}
.digital-product{
  min-height:390px!important;padding:30px!important;
  background:rgba(255,255,255,.74)!important;
  border:1px solid rgba(23,19,19,.10)!important;
  box-shadow:none!important;backdrop-filter:none!important;
}
.digital-product:before{width:3px!important}
.digital-product-top{padding-bottom:18px!important}
.digital-brand-icon{box-shadow:none!important;border-radius:10px!important}
.digital-brand-icon-soci{width:58px!important;height:58px!important;flex-basis:58px!important}
.digital-brand-icon-mercantico{width:86px!important;height:62px!important;flex-basis:86px!important}
.digital-brand-copy{gap:5px!important}
.digital-brand-copy strong{font-size:20px!important}
.digital-product h3{
  max-width:520px!important;margin:28px 0 14px!important;
  font-family:var(--sans)!important;font-size:clamp(24px,2.15vw,32px)!important;
  font-weight:600!important;line-height:1.08!important;letter-spacing:-.035em!important;
}
.digital-product>p{font-size:14.5px!important;line-height:1.58!important}
.digital-tags{margin:20px 0 22px!important;gap:6px!important}
.digital-tags span{padding:7px 9px!important;font-size:8px!important;background:transparent!important}
.technology-main-link{
  min-height:58px!important;margin-top:0!important;padding:0 18px!important;
  font-size:9px!important;letter-spacing:.16em!important;
}

/* Contatti e footer: chiusura, non nuova hero */
.contact-editorial{padding-top:68px!important;padding-bottom:64px!important}
.contact-editorial h2{font-size:clamp(30px,3vw,42px)!important;margin-bottom:16px!important}
.contact-editorial-grid{margin-top:26px!important;max-width:760px!important}
.contact-editorial-grid>a,.contact-editorial-grid>div{min-height:74px!important;padding:12px 0!important}
.contact-editorial-grid strong{
  font-family:var(--sans)!important;font-size:clamp(19px,1.65vw,25px)!important;
  font-weight:500!important;letter-spacing:-.025em!important;
}
.editorial-footer{
  padding:42px max(30px,calc((100vw - 1180px)/2))!important;
  grid-template-columns:190px 1fr auto!important;gap:34px!important;
}
.footer-brand img{width:160px!important;max-height:58px!important}
.footer-copy{font-size:10px!important;gap:7px 18px!important}

/* Menu overlay coerente col nuovo linguaggio */
.menu-overlay-top{height:92px!important;padding:14px clamp(24px,4.2vw,58px)!important}
.menu-overlay-top img{width:170px!important;max-height:60px!important}
.menu-overlay-nav{width:min(720px,calc(100% - 56px))!important;margin:24px auto 56px!important}
.menu-overlay-nav a{font-size:14px!important;padding:13px 0!important;letter-spacing:.13em!important}

/* Tablet */
@media(max-width:980px){
  .fineart-main,.editorial-gallery{width:92%!important}
  .method-section:has(.method-visual){grid-template-columns:1fr!important;gap:38px!important}
  .method-visual{height:min(62vw,540px)!important}
  .method-copy{max-width:720px!important}
  .project-editorial-head{grid-template-columns:1fr!important;gap:14px!important}
  .project-editorial-head p{grid-column:1!important}
  .editorial-footer{grid-template-columns:1fr 1fr!important}
}

/* Mobile */
@media(max-width:760px){
  .site-header{height:72px!important;padding:0 22px!important}
  .site-header .brand{width:154px!important}.site-header .brand img{height:48px!important}
  .profile-section--media{min-height:590px!important}
  .profile-section--media .profile-inner{width:auto!important;margin:0 26px!important;padding:74px 0 52px!important}
  .profile-section--media h1{font-size:clamp(36px,10vw,46px)!important;margin-bottom:24px!important}

  .fineart-editorial,.collaborations-editorial,.technology-editorial,.contact-editorial{padding:68px 26px!important}
  .editorial-head h2,.method-copy h2,.contact-editorial h2{font-size:34px!important}
  .fineart-main,.editorial-gallery{width:100%!important;margin-left:0!important}
  .fineart-main{margin-top:30px!important}.fineart-main img{aspect-ratio:4/3!important}

  .fineart-services-block{margin-top:62px!important;padding-top:42px!important}
  .fineart-services-head h2{font-size:32px!important}
  .service-editorial-list{grid-template-columns:1fr!important;margin-top:28px!important}
  .service-editorial-row,.service-editorial-row:not(:has(p)){min-height:0!important;padding:20px!important}
  .service-editorial-row h3{font-size:21px!important}

  .project-editorial-block,.fineart-services-block .project-editorial-block{margin-top:66px!important}
  .project-editorial-grid{grid-template-columns:1fr!important;gap:16px!important}
  .project-editorial-card button{aspect-ratio:4/3!important}
  .project-card-label strong{font-size:26px!important}

  .method-section{padding:66px 26px!important}
  .method-section:has(.method-visual){display:grid!important;grid-template-columns:1fr!important;gap:34px!important}
  .method-visual{height:78vw!important;max-height:460px!important}

  .collaboration-editorial-grid{grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:30px!important}
  .collab-editorial-card,.collab-editorial-card:nth-child(2n),.collab-editorial-card:nth-child(3n){min-height:150px!important;padding:16px!important}
  .collab-logo{min-height:76px!important}.collab-logo img{max-width:130px!important;max-height:62px!important}

  .digital-products{grid-template-columns:1fr!important}
  .digital-product{min-height:0!important;padding:24px!important}
  .digital-product h3{font-size:25px!important;margin-top:24px!important}

  .contact-editorial{padding-top:54px!important;padding-bottom:52px!important}
  .contact-editorial-grid{margin-top:22px!important}
  .contact-editorial-grid strong{font-size:20px!important}
  .editorial-footer{padding:38px 26px!important;grid-template-columns:1fr!important;gap:20px!important}

  .menu-overlay-top{height:80px!important;padding:12px 22px!important}
  .menu-overlay-top img{width:145px!important}
  .menu-overlay-nav{width:calc(100% - 44px)!important;margin:16px auto 42px!important}
}



/* V31 — catalogo Informatica scalabile, senza cambiare l'impostazione V30 */
.digital-products{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))!important;
}
.digital-product{
  --product-accent:var(--accent);
}
.digital-product:not(.digital-product-soci):not(.digital-product-mercantico):before{
  background:var(--product-accent)!important;
}
.digital-product:not(.digital-product-soci):not(.digital-product-mercantico) .digital-product-top span{
  color:var(--product-accent)!important;
}
.digital-product:not(.digital-product-soci):not(.digital-product-mercantico) .technology-main-link{
  background:var(--product-accent)!important;
}
.digital-brand-copy{min-width:0}
.digital-brand-copy strong{overflow-wrap:anywhere}
@media(min-width:901px){
  .digital-products:has(> .digital-product:only-child){grid-template-columns:minmax(0,760px)!important}
}


/* ================================================================
   CONSERV V32 — GALLERIA FINE ART
   Correzione isolata: hidden reale, contenimento viewport e controlli.
   ================================================================ */
.fineart-gallery-modal{
  box-sizing:border-box;
  overflow:hidden;
}
.fineart-gallery-shell{
  box-sizing:border-box;
  width:min(1320px,calc(100vw - 48px))!important;
  height:min(900px,calc(100dvh - 48px))!important;
  max-width:100vw;
  max-height:100dvh;
  overflow:hidden;
}
.fineart-gallery-stage{
  box-sizing:border-box;
  overflow:hidden;
  min-width:0;
  min-height:0;
}
.fineart-gallery-stage img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
}
/* Il reset globale img{display:block} altrimenti annulla l'attributo HTML hidden. */
.fineart-gallery-stage img[hidden]{display:none!important}
.fineart-gallery-nav{
  z-index:4;
  touch-action:manipulation;
  user-select:none;
  -webkit-user-select:none;
}
.fineart-gallery-counter{z-index:4}
.fineart-gallery-close{z-index:6}
@media(max-width:700px){
  .fineart-gallery-shell{
    width:100vw!important;
    height:100dvh!important;
    max-width:100vw!important;
    max-height:100dvh!important;
  }
  .fineart-gallery-stage{width:100vw;height:100dvh}
}

/* ================================================================
   CONSERV V33 — LIGHTBOX GALLERIA CONTENUTA
   Le fotografie non riempiono più forzatamente tutto il viewport.
   ================================================================ */
.fineart-gallery-modal{
  padding:clamp(18px,3vw,42px)!important;
  overflow:hidden!important;
}
.fineart-gallery-shell{
  width:min(1160px,90vw)!important;
  height:min(760px,86dvh)!important;
  max-width:90vw!important;
  max-height:86dvh!important;
  overflow:hidden!important;
  background:#111!important;
}
.fineart-gallery-stage{
  width:100%!important;
  height:100%!important;
  padding:42px 76px 54px!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.fineart-gallery-stage img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:auto!important;
}
.fineart-gallery-stage img[hidden]{display:none!important}
.fineart-gallery-nav{z-index:7!important}
.fineart-gallery-close{z-index:8!important}
.fineart-gallery-counter{z-index:7!important}
@media(max-width:700px){
  .fineart-gallery-modal{padding:0!important}
  .fineart-gallery-shell{
    width:100vw!important;
    height:100dvh!important;
    max-width:100vw!important;
    max-height:100dvh!important;
  }
  .fineart-gallery-stage{
    width:100%!important;
    height:100%!important;
    padding:62px 48px 72px!important;
  }
  .fineart-gallery-stage img{
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:100%!important;
  }
}
