:root{--navy:#05284b;--ink:#092c50;--blue:#0b4c87;--blue2:#216ba9;--ice:#eaf5ff;--paper:#f7fbff;--line:#bdd9f1;--white:#fff;--font-serif:Georgia,'Times New Roman',serif;--font-ui:'Segoe UI',Arial,sans-serif}*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:94px}body{margin:0;color:var(--ink);background:#fff;font-family:var(--font-ui);line-height:1.58}a{color:inherit}button{font:inherit}img{max-width:100%;display:block}p,h1,h2,h3{margin-top:0}h1,h2,h3{font-family:var(--font-serif);line-height:1.12}h2{font-size:clamp(2rem,3.2vw,3.3rem)}:focus-visible{outline:3px solid #3c90df;outline-offset:4px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-150px;left:12px;z-index:40;padding:10px 18px;color:#fff;background:var(--navy)}.skip-link:focus{top:12px}.container{width:min(1320px,calc(100% - 88px));margin-inline:auto}.site-header{position:sticky;top:0;z-index:30;background:#05294f;border-bottom:1px solid #3f6e9c;box-shadow:0 2px 12px #07284d1c}.header-inner{width:min(1510px,calc(100% - 48px));margin:auto;min-height:86px;display:flex;align-items:center;gap:clamp(14px,2vw,34px)}.brand{display:flex;align-items:center;width:310px;flex:0 1 310px;height:76px;overflow:hidden}.brand img{height:77px;width:auto;max-width:none;object-fit:contain;filter:drop-shadow(0 1px 1px #00213b)}.main-nav{margin-left:auto;display:flex;align-items:center;gap:clamp(12px,2.2vw,35px)}.nav-link{position:relative;text-decoration:none;color:#f2f7ff;font-family:var(--font-serif);font-size:1.17rem;white-space:nowrap;padding:9px 1px;transition:color .2s}.nav-link:after{content:'';position:absolute;bottom:2px;left:0;right:0;height:2px;background:#b9defc;transform:scaleX(0);transition:transform .2s;transform-origin:left}.nav-link:hover:after,.nav-link.active:after{transform:scaleX(1)}.language-switch{border-left:1px solid #90b6db;padding-left:21px;display:flex;align-items:center;gap:6px;color:#bdd8ef;white-space:nowrap}.language-switch button{cursor:pointer;border:0;background:none;color:#bdcfe5;font-family:var(--font-serif);font-size:1rem;padding:4px}.language-switch button[aria-pressed=true]{color:white;font-weight:700}.nav-toggle{display:none}
.hero{position:relative;min-height:550px;overflow:hidden;background:linear-gradient(90deg,#f9fcff 0%,#f1f8ff 48%,#d7ecfc 100%)}.hero-art{position:absolute;inset:0 0 0 41%;background-image:url('assets/laboratorio.webp');background-size:cover;background-position:center;mask-image:linear-gradient(90deg,transparent 0%,#000 23%,#000 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 23%,#000 100%)}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f8fcff 0%,#f8fcffe8 29%,#f8fcff00 61%);pointer-events:none;z-index:1}.hero-content{position:relative;z-index:2;display:flex;align-items:center;min-height:550px}.hero-copy{width:min(660px,55%);padding:62px 0 76px}.eyebrow{display:block;font-size:.76rem;font-weight:750;letter-spacing:.21em;color:#286394;margin-bottom:17px}.hero h1{font-size:clamp(3rem,4.8vw,5.6rem);letter-spacing:-.035em;margin-bottom:13px;color:#05264a}.hero-rule{display:block;width:115px;height:3px;background:#2174ae;margin-bottom:21px}.hero-tagline{font-family:var(--font-ui);font-size:clamp(.91rem,1.4vw,1.1rem);font-weight:700;letter-spacing:.105em;line-height:1.65;text-transform:uppercase;max-width:570px;margin-bottom:20px}.hero-description{font-size:clamp(1rem,1.45vw,1.2rem);max-width:510px;line-height:1.7;margin-bottom:30px}.hero-buttons{display:flex;flex-wrap:wrap;gap:14px}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:47px;padding:10px 23px;border-radius:100px;border:1.5px solid var(--navy);font-family:var(--font-serif);font-size:1rem;font-weight:700;text-decoration:none;transition:transform .2s,background .2s,box-shadow .2s}.button:hover{transform:translateY(-2px);box-shadow:0 5px 14px #0c3c6c2b}.button-primary{background:var(--navy);color:#fff}.button-outline{background:#fff9;color:var(--navy)}.hero-bottom{position:absolute;bottom:0;left:0;right:0;height:32px;background:linear-gradient(0deg,#fff,#ffffff00);z-index:2}.blueprint{position:absolute;z-index:1;pointer-events:none;opacity:.26}.ornament-top{top:-70px;left:-130px;width:330px;height:330px;border:1px solid #2171a5;border-radius:50%;background:repeating-radial-gradient(circle,transparent 0 38px,#318ac03b 39px 40px,transparent 41px 68px),linear-gradient(90deg,transparent 49.8%,#1476b2 50%,transparent 50.2%),linear-gradient(transparent 49.8%,#1476b2 50%,transparent 50.2%)}
.section{padding:76px 0}.projects{background:linear-gradient(180deg,#fff 0%,#f6fbff 100%)}.section-heading{display:flex;align-items:center;gap:22px;justify-content:center;margin-bottom:39px}.section-heading h2{margin:0;white-space:nowrap;text-align:center}.section-line{height:1px;width:min(190px,15vw);background:linear-gradient(90deg,transparent,#4b98d7)}.section-line:last-child{transform:scaleX(-1)}.section-symbol{font-size:1.3rem;color:#377bb3}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.project-card{min-height:314px;display:grid;grid-template-columns:38% 1fr;overflow:hidden;border:1px solid #afcfe9;border-radius:22px;background:#eef7ff;box-shadow:0 12px 35px #0c4a7a14;transition:transform .25s,box-shadow .25s}.project-card:hover{transform:translateY(-4px);box-shadow:0 14px 42px #0c4a7a2b}.project-image{position:relative;min-height:100%;overflow:hidden;background:#c4e2fa}.project-image:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 70%,#eef7ff 100%)}.project-image img{width:100%;height:100%;object-fit:cover;object-position:48% 50%;transition:transform .5s}.project-card:hover .project-image img{transform:scale(1.04)}.project-jidaisen{background:#e6f3ff}.project-jidaisen .project-image:after{background:linear-gradient(90deg,transparent 70%,#e6f3ff 100%)}.project-body{padding:30px 26px 26px 16px;display:flex;flex-direction:column;align-items:flex-start}.project-status{font-size:.65rem;letter-spacing:.17em;font-weight:800;color:#3673a4;margin-bottom:8px}.project-body h3{font-size:clamp(2.1rem,3.4vw,3.6rem);margin:0 0 11px}.project-body p{font-size:.98rem;line-height:1.58;margin-bottom:24px}.text-link{font-family:var(--font-serif);font-weight:700;color:#064983;text-decoration-thickness:1.5px;text-underline-offset:5px;display:inline-flex;align-items:center;gap:14px;margin-top:auto}.text-link:hover{color:#1269b0}.project-note{text-align:center;font-family:var(--font-serif);font-style:italic;color:#4e7396;margin:30px 0 0;font-size:1rem}
.studio{background:#f3f8fe;border-block:1px solid #dfedf9}.studio-layout{display:grid;grid-template-columns:39% 1fr;gap:clamp(36px,7vw,108px);align-items:center}.studio-copy{max-width:725px}.studio-copy h2{margin:0 0 23px}.studio-copy p{font-size:1.06rem;line-height:1.8;margin-bottom:15px}
.contact{background:linear-gradient(118deg,#05284c,#0a467b 75%,#125a91);color:white}.contact-layout{display:grid;grid-template-columns:160px 1fr;gap:44px;align-items:center;max-width:1050px}.contact-mark{display:flex;align-items:center;justify-content:center;width:155px;height:155px;border:1px solid #8cb7db;border-radius:50%;font-size:5rem;color:#d5eaff}.contact .eyebrow{color:#aed9f7}.contact h2{margin:0 0 21px}.contact p{font-size:1.08rem;margin-bottom:10px;max-width:800px}.contact .button{margin-top:20px}.button-light{color:#062a4d;background:#fff;border-color:#fff}.contact-pending{font-style:italic;color:#c4dff5;padding-top:12px;font-size:.95rem!important}.footer{background:#031b33;color:#bdd8ed}.footer-inner{min-height:79px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:.87rem}.footer a{color:#e6f6ff;text-decoration:none}.footer a:hover{text-decoration:underline}
@media(max-width:1150px){.brand{width:260px;flex-basis:260px}.brand img{height:69px}.header-inner{gap:17px}.nav-link{font-size:1rem}.main-nav{gap:14px}.language-switch{padding-left:13px}.project-card{grid-template-columns:33% 1fr}.project-body{padding:23px 18px 23px 12px}.project-body h3{font-size:2.6rem}.project-body p{font-size:.91rem}}
@media(max-width:860px){.container{width:min(100% - 42px,700px)}.header-inner{min-height:76px}.brand{width:260px;flex-basis:260px}.brand img{height:66px}.nav-toggle{display:flex;margin-left:auto;border:1px solid #8aaad1;width:42px;height:42px;border-radius:9px;background:transparent;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer;order:2}.nav-toggle span{width:19px;height:2px;background:white}.language-switch{margin-left:auto;order:1;border:0;padding:0}.main-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;background:#06294d;gap:0;margin:0;padding:12px 22px 18px;align-items:stretch;box-shadow:0 12px 20px #06294d40}.main-nav.is-open{display:flex}.nav-link{font-size:1.14rem;padding:11px}.nav-link:after{display:none}.nav-link.active{background:#164677;border-radius:7px}.hero,.hero-content{min-height:590px}.hero-art{inset:0 0 0 25%;opacity:.46}.hero:before{background:linear-gradient(90deg,#f8fcfff5 0%,#f8fcffdd 58%,#f8fcff38)}.hero-copy{width:min(580px,93%);padding-block:50px}.hero h1{font-size:clamp(3.2rem,7vw,4.3rem)}.project-grid{grid-template-columns:1fr}.project-card{min-height:300px;grid-template-columns:36% 1fr}.project-body{padding:29px 30px 27px 20px}.project-body h3{font-size:3rem}.studio-layout{grid-template-columns:1fr}.studio-art{height:260px;max-width:100%}.footer-inner{flex-wrap:wrap;padding-block:24px}}
@media(max-width:520px){html{scroll-padding-top:70px}.container{width:calc(100% - 34px)}.header-inner{width:calc(100% - 22px);min-height:66px;gap:6px}.brand{width:195px;flex-basis:195px;height:61px}.brand img{height:56px}.language-switch{gap:1px}.language-switch button{font-size:.85rem;padding:3px}.nav-toggle{width:38px;height:38px}.hero,.hero-content{min-height:640px}.hero-art{inset:0 0 10% 5%;background-position:58% 50%;opacity:.34}.hero:before{background:linear-gradient(90deg,#f9fcfff5,#f9fcffcb)}.hero-copy{width:100%;padding:55px 0 65px}.hero h1{font-size:clamp(2.65rem,12vw,3.9rem)}.eyebrow{letter-spacing:.13em;font-size:.67rem}.hero-tagline{font-size:.92rem;letter-spacing:.075em;line-height:1.6}.hero-description{font-size:1.01rem}.hero-buttons{align-items:stretch;flex-direction:column}.hero-buttons .button{justify-content:center;width:100%}.section{padding:53px 0}.section-heading{gap:9px;margin-bottom:26px}.section-heading h2{font-size:2.15rem}.section-symbol{font-size:.86rem}.section-line{width:11vw}.project-card{display:block;min-height:auto}.project-image{height:180px}.project-image:after,.project-jidaisen .project-image:after{background:linear-gradient(0deg,#eef7ff 0%,transparent 36%)}.project-jidaisen .project-image:after{background:linear-gradient(0deg,#e6f3ff 0%,transparent 36%)}.project-body{padding:18px 23px 25px}.project-body h3{font-size:2.75rem}.project-body p{font-size:.97rem}.studio-art{height:240px}.contact-layout{grid-template-columns:1fr;gap:20px}.contact-mark{width:95px;height:95px;font-size:3rem}.contact p{font-size:1rem}.footer-inner{align-items:flex-start;flex-direction:column;gap:11px}.project-note{font-size:.94rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Lockup orizzontale costruito con il simbolo originale approvato e testo HTML */
.brand{width:390px;flex:0 1 390px;height:76px;gap:11px;text-decoration:none}.brand img{height:51px;width:112px;max-width:112px;flex:0 0 112px;object-fit:contain}.brand-name{color:#f7fbff;display:flex;flex-direction:column;white-space:nowrap;line-height:1.1;min-width:0}.brand-name strong{font-family:var(--font-serif);font-size:clamp(1.05rem,1.55vw,1.55rem);font-weight:500;letter-spacing:.01em}.brand-name small{font-family:var(--font-ui);font-size:.57rem;letter-spacing:.34em;margin-top:6px;color:#d4e9fb}@media(max-width:1150px){.brand{width:320px;flex-basis:320px;gap:6px}.brand img{width:90px;flex-basis:90px}.brand-name strong{font-size:1.02rem}.brand-name small{font-size:.48rem}}@media(max-width:860px){.brand{width:310px;flex-basis:310px}}@media(max-width:520px){.brand{width:auto;flex:1 1 auto;gap:5px}.brand img{width:61px;max-width:61px;flex:0 0 61px;height:40px}.brand-name strong{font-size:clamp(.79rem,3.6vw,.98rem)}.brand-name small{font-size:.40rem;letter-spacing:.22em;margin-top:3px}}

/* v1.1 — revisioni approvate: homepage piu compatta, filigrana azzurra,
   schede con immagini proporzionate e nuova illustrazione Lo Studio. */
.ornament-top,.blueprint{display:none!important}
.hero-content.container{width:min(1510px,calc(100% - 112px));max-width:none}
.hero-copy{width:min(650px,52%)}
.hero-art{inset:0 0 0 39%}
.projects{
  background-color:#fbfdff;
  background-image:linear-gradient(180deg,#ffffffd9,#f5fbffd9),url('assets/filigrana.svg');
  background-position:center,center top;
  background-size:auto,960px 620px;
}
.project-card{grid-template-columns:192px minmax(0,1fr);min-height:290px;align-items:center;padding:18px;gap:22px}
.project-image{width:100%;height:230px;min-height:0;align-self:center;overflow:hidden;border:1.5px solid #8abce2;border-radius:15px;background:#d8ecfc;box-shadow:0 4px 14px #1349741a}
.project-image::after,.project-jidaisen .project-image::after{display:none}
.project-image img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .4s ease}
.project-body{min-width:0;padding:7px 5px 6px 0}
.project-body h3{font-size:clamp(2rem,2.8vw,3.2rem)}
.studio-art{width:100%;height:auto;aspect-ratio:781/564;overflow:hidden;border:1.5px solid #9cc9e9;border-radius:19px;background:#e2f2fc;box-shadow:0 9px 26px #0d47751a}
.studio-art img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:1150px){
 .hero-content.container{width:calc(100% - 76px)}
 .project-card{grid-template-columns:150px minmax(0,1fr);gap:16px;padding:15px}
 .project-image{height:210px}
 .project-body{padding:5px 0}
}
@media(max-width:860px){
 .hero-content.container{width:calc(100% - 50px)}
 .hero-copy{width:min(590px,91%)}
 .hero-art{inset:0 0 0 25%}
 .project-card{grid-template-columns:180px minmax(0,1fr);gap:22px;padding:18px}
 .project-image{height:215px}
 .studio-art{height:auto;max-width:620px}
}
@media(max-width:520px){
 .hero-content.container{width:calc(100% - 34px)}
 .hero-copy{width:100%}
 .hero-art{inset:0 0 10% 5%}
 .project-card{display:flex;flex-direction:column;align-items:stretch;gap:15px;padding:16px}
 .project-image{width:100%;height:180px}
 .project-body{padding:0 4px 5px}
 .studio-art{height:auto}
}

/* v1.2: full artwork visible in both project cards, no extra crop on hover */
.project-image img{object-fit:contain;object-position:center;transform:none!important}
.project-card:hover .project-image img{transform:none!important}


/* v1.3: redesigned project artwork and floating back-to-top button */
.project-card{
  grid-template-columns: 230px minmax(0,1fr);
  min-height: 272px;
  align-items: center;
  padding: 18px;
  gap: 24px;
}
.project-image{
  position: relative;
  width: 100%;
  min-height: 0;
  height: 178px;
  align-self: center;
  overflow: hidden;
  border: 1.5px solid #8abce2;
  border-radius: 18px;
  background: linear-gradient(180deg,#eff7ff,#dceefe);
  box-shadow: 0 6px 18px rgba(19,73,116,.12);
}
.project-image::after,
.project-jidaisen .project-image::after{
  display:none;
}
.project-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none !important;
  transition: transform .35s ease;
}
.project-card:hover .project-image img{
  transform: scale(1.02) !important;
}
.project-vandar .project-image img{
  object-position: center center;
}
.project-jidaisen .project-image img{
  object-position: center center;
}
.project-body{
  min-width: 0;
  padding: 8px 4px 8px 0;
}
.back-to-top{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #8abce2;
  border-radius: 999px;
  background: rgba(5,40,75,.94);
  color: #fff;
  box-shadow: 0 10px 22px rgba(5,40,75,.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease;
}
.back-to-top:hover{
  background:#0b4c87;
}
.back-to-top.is-visible{
  opacity:1;
  visibility:visible;
  transform: translateY(0);
}
.back-to-top span[aria-hidden="true"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  font-size: 1rem;
  line-height: 1;
}
.back-to-top .back-label{
  font-weight: 700;
  letter-spacing: .02em;
}
@media(max-width:1150px){
  .project-card{grid-template-columns: 200px minmax(0,1fr); gap:18px; padding:16px;}
  .project-image{height:160px;}
}
@media(max-width:860px){
  .project-card{grid-template-columns: 210px minmax(0,1fr); gap:20px; padding:18px;}
  .project-image{height:150px;}
}
@media(max-width:520px){
  .project-card{display:flex; flex-direction:column; align-items:stretch; gap:14px; padding:16px;}
  .project-image{width:100%; height:190px;}
  .project-body{padding:0 4px 6px;}
  .back-to-top{right:14px; bottom:14px; padding:11px 13px;}
  .back-to-top .back-label{font-size:.92rem;}
}

/* v1.4 — Intestazione leggibile senza troncamenti */
.brand{width:auto;flex:0 1 auto;max-width:470px;min-width:0;overflow:visible;gap:10px}
.brand img{width:100px;max-width:100px;flex:0 0 100px;height:54px}
.brand-name{min-width:0;white-space:nowrap}
.brand-name strong{font-size:clamp(1rem,1.45vw,1.3rem);letter-spacing:0;white-space:nowrap}
.brand-name small{font-size:.51rem;letter-spacing:.28em}
@media(max-width:1150px){
 .brand{width:auto;flex:0 1 auto;gap:6px}
 .brand img{width:75px;max-width:75px;flex-basis:75px;height:46px}
 .brand-name strong{font-size:.96rem}
 .brand-name small{font-size:.45rem;letter-spacing:.22em}
}
@media(max-width:860px){
 .brand{flex:1 1 auto;max-width:none;min-width:0}
 .brand img{width:70px;max-width:70px;flex-basis:70px;height:44px}
}
@media(max-width:520px){
 .brand{gap:4px;width:auto;flex:1 1 auto;min-width:0}
 .brand img{width:50px;max-width:50px;flex-basis:50px;height:38px}
 .brand-name strong{font-size:clamp(.68rem,3.1vw,.88rem)}
 .brand-name small{font-size:.39rem;letter-spacing:.13em}
}
@media(max-width:380px){
 .brand img{width:42px;max-width:42px;flex-basis:42px}
 .brand-name strong{font-size:.67rem}
 .brand-name small{font-size:.34rem}
}
