:root{
      --coal:#101113;
      --coal-soft:#17191d;
      --navy:#0f2341;
      --navy-light:#173761;
      --wine:#681b27;
      --wine-light:#8d2637;
      --gold:#b89a5d;
      --paper:#f5f3ef;
      --white:#ffffff;
      --ink:#121722;
      --muted:#687080;
      --line:rgba(15,35,65,.14);
      --max:1240px;
      --shadow:0 24px 70px rgba(6,10,18,.16);
      --radius:24px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{margin:0;font-family:"Inter",sans-serif;color:var(--ink);background:#fff;line-height:1.65}
    body.menu-open{overflow:hidden}
    img{display:block;max-width:100%}
    a{text-decoration:none;color:inherit}
    button{font:inherit}
    .container{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
    .eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 18px;font-size:.75rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase;color:var(--gold)}
    .eyebrow::before{content:"";width:34px;height:1px;background:currentColor}
    .section{padding:110px 0}
    h1,h2,h3{font-family:"Montserrat",sans-serif;line-height:1.05;margin:0}
    h2{font-size:clamp(2.2rem,5vw,4.8rem);letter-spacing:-.045em}
    p{margin:0}

    .btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:0 24px;border:1px solid transparent;border-radius:999px;font-weight:700;transition:.25s ease}
    .btn:hover{transform:translateY(-2px)}
    .btn-primary{background:var(--gold);color:#111}
    .btn-primary:hover{background:#ccb078}
    .btn-outline{border-color:rgba(255,255,255,.4);color:#fff;background:rgba(255,255,255,.05);/* blur rimosso per maggiore fluidità */}
    .btn-outline:hover{background:#fff;color:#111}
    .btn-dark{background:var(--navy);color:#fff}
    .btn-dark:hover{background:var(--navy-light)}

    /* Header */
    .site-header{position:fixed;inset:0 0 auto;z-index:50;border-bottom:1px solid transparent;transition:.25s ease}
    .site-header.scrolled{background:rgba(12,14,18,.94);/* blur rimosso per maggiore fluidità */;border-color:rgba(255,255,255,.1)}
    .nav-wrap{height:86px;display:flex;align-items:center;justify-content:space-between;gap:34px;width:calc(100% - 64px);max-width:1680px;margin-inline:auto;padding-inline:120px}
    .brand{display:flex;align-items:center;gap:14px;color:#fff;flex:0 0 auto}
    .brand img,.footer-logo img{background:transparent!important}
    .brand img{width:108px;height:52px;object-fit:contain;object-position:left center}
    .brand-copy{font-size:.61rem;line-height:1.35;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.68);border-left:1px solid rgba(255,255,255,.28);padding-left:14px}
    .desktop-nav{display:flex;align-items:center;justify-content:flex-end;gap:30px;color:#fff;font-size:.84rem;font-weight:700;flex:1;min-width:0}
    .desktop-nav > a,.desktop-nav > .nav-item > a{position:relative;padding:30px 0;display:block;white-space:nowrap}
    .nav-item{position:relative}
    .desktop-nav > .nav-item > a{padding-right:16px}
    .desktop-nav > .nav-item > a::before{content:"";position:absolute;right:0;top:50%;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-65%) rotate(45deg);transition:.25s ease}
    .desktop-nav > .nav-item:hover > a::before{transform:translateY(-35%) rotate(225deg)}
    .submenu{position:absolute;top:72px;left:-22px;min-width:245px;padding:10px;background:rgba(12,14,18,.98);border:1px solid rgba(255,255,255,.12);border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.28);opacity:0;visibility:hidden;transform:translateY(10px);transition:.22s ease;list-style:none;margin:0}
    .nav-item:hover .submenu,.nav-item:focus-within .submenu{opacity:1;visibility:visible;transform:none}
    .submenu a{display:block;padding:12px 14px!important;border-radius:9px;color:rgba(255,255,255,.84);white-space:nowrap}
    .submenu a:hover{background:rgba(255,255,255,.08);color:#fff}
    .submenu a::after{display:none!important}
    .desktop-nav > a::after,.desktop-nav > .nav-item > a::after{content:"";position:absolute;left:0;right:100%;bottom:21px;height:2px;background:var(--gold);transition:.25s ease}
    .desktop-nav > a:hover::after,.desktop-nav > .nav-item:hover > a::after{right:0}
    .nav-cta{padding:11px 17px!important;border:1px solid rgba(255,255,255,.32);border-radius:999px;white-space:nowrap}
    .nav-cta::after{display:none}
    .nav-cta:hover{background:#fff;color:#111}
    .menu-toggle{display:none;width:46px;height:46px;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:transparent;color:#fff;align-items:center;justify-content:center;cursor:pointer}
    .menu-toggle span,.menu-toggle span::before,.menu-toggle span::after{display:block;width:19px;height:2px;background:currentColor;position:relative;transition:.25s ease}
    .menu-toggle span::before,.menu-toggle span::after{content:"";position:absolute;left:0}
    .menu-toggle span::before{top:-6px}.menu-toggle span::after{top:6px}
    .mobile-panel{display:none}

    /* Hero */
    .hero{min-height:100svh;position:relative;display:flex;align-items:flex-end;background:#050608;overflow:hidden;color:#fff}
    .hero-media{position:absolute;inset:0}
    .hero-media::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,7,12,.93) 0%,rgba(5,7,12,.67) 43%,rgba(5,7,12,.25) 75%,rgba(5,7,12,.4) 100%),linear-gradient(0deg,rgba(5,7,12,.9),transparent 48%);z-index:2;pointer-events:none}
    .hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;pointer-events:none;contain:paint}
    .hero-slide.active{opacity:1;pointer-events:auto}
    .hero-slide img{width:100%;height:100%;object-fit:cover;object-position:center 38%;transform:translateZ(0) scale(1.01);backface-visibility:hidden}
    .hero-slide:first-child img{object-position:center 38%;transform:translateZ(0) scale(1.075);transition:transform 8s cubic-bezier(.22,.61,.36,1)}
    .hero-slide:first-child.active img{transform:translateZ(0) scale(1.015)}
    .hero-slide:nth-child(2) img{object-position:center 50%;transform:translateZ(0) scale(1.015)}
    .hero-slider-nav{position:absolute;z-index:4;right:32px;bottom:30px;display:flex;align-items:center;gap:10px}
    .hero-slider-dot{width:34px;height:3px;padding:0;border:0;background:rgba(255,255,255,.35);cursor:pointer;transition:.3s ease}
    .hero-slider-dot.active{background:#fff;width:54px}

    .hero > .container{width:calc(100% - 64px);max-width:1680px}
    .hero-grid{position:relative;z-index:2;padding:190px 120px 78px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.55fr);align-items:end;gap:80px}
    .hero-copy{max-width:820px;justify-self:start;width:100%}
    .hero-kicker{font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;font-weight:800;color:#d6c297;margin-bottom:18px}
    .hero h1{font-size:clamp(3.7rem,8.3vw,8.1rem);letter-spacing:-.065em;max-width:900px;text-shadow:0 4px 28px rgba(0,0,0,.55)}
    .hero h1 span{display:block;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.75)}
    .hero-lead{max-width:680px;margin-top:28px;font-size:clamp(1.05rem,1.5vw,1.3rem);color:rgba(255,255,255,.92);text-shadow:0 3px 18px rgba(0,0,0,.62)}
    .hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}
    .hero-side{padding:28px;border-left:1px solid rgba(255,255,255,.24);justify-self:end;width:100%;max-width:430px;background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.02));/* blur rimosso per maggiore fluidità */}
    .hero-side strong{display:block;font-family:"Montserrat",sans-serif;font-size:1.05rem;margin-bottom:10px}
    .hero-side p{color:rgba(255,255,255,.66);font-size:.93rem}
    .hero-side-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
    .hero-tag{padding-top:12px;border-top:1px solid rgba(255,255,255,.17);font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700}

    /* Intro */
    .intro{background:var(--paper)}
    .intro-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:95px;align-items:start}
    .intro h2{max-width:630px}
    .intro h2 em{font-style:normal;color:var(--wine)}
    .intro-copy{display:grid;gap:24px;padding-top:16px;font-size:1.08rem;color:#4c5360}
    .intro-copy strong{color:var(--ink)}
    .intro-actions{display:flex;flex-wrap:wrap;gap:12px}
    .section-cta{margin-top:36px}
    .stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:78px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
    .stat{padding:34px 22px;border-right:1px solid var(--line)}
    .stat:last-child{border-right:0}
    .stat b{display:block;font-family:"Montserrat",sans-serif;font-size:clamp(2.1rem,4vw,4rem);line-height:1;color:var(--navy);letter-spacing:-.06em}
    .stat span{display:block;margin-top:10px;font-size:.84rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700}


    /* About & Philosophy V2 */
    .intro-media{margin-top:58px;display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:stretch}
    .intro-media img{width:100%;height:420px;object-fit:cover;border-radius:20px}
    .intro-media blockquote{margin:0;background:var(--wine);color:#fff;padding:44px;border-radius:20px;display:flex;align-items:flex-end;font-family:"Montserrat",sans-serif;font-size:clamp(1.7rem,3vw,3rem);line-height:1.08}
    .philosophy{background:#681b27;color:#fff;overflow:hidden}
    .philosophy-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:70px;align-items:center}
    .philosophy-copy h2 em{display:block;color:#d6c297;font-style:normal}
    .philosophy-copy .lead{font-size:1.2rem;margin-top:24px;color:rgba(255,255,255,.82)}
    .philosophy-points{display:grid;grid-template-columns:1fr 1fr;gap:12px 28px;margin-top:30px;color:rgba(255,255,255,.76)}
    .philosophy-points span{padding:11px 0;border-bottom:1px solid rgba(255,255,255,.15)}
    .philosophy-media{display:grid;grid-template-columns:1fr 1fr;gap:16px}
    .philosophy-media img{width:100%;height:520px;object-fit:cover;border-radius:18px}
    .philosophy-media img:last-child{margin-top:70px;height:390px}

    /* Experiences */
    .experiences{background:var(--coal-soft);color:#fff;overflow:hidden}
    .section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:48px}
    .section-head p{max-width:500px;color:rgba(255,255,255,.62)}
    .experience-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
    .experience-card{position:relative;min-height:620px;border-radius:var(--radius);overflow:hidden;isolation:isolate;padding:42px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:var(--shadow)}
    .experience-card::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(2,5,10,.96) 0%,rgba(2,5,10,.64) 42%,rgba(2,5,10,.12) 76%);z-index:-1}
    .experience-card::after{content:"";position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center;transition:transform .7s ease}
    .experience-card:hover::after{transform:scale(1.045)}
    .experience-card.corporate::after{background-image:url('assets/experience-corporate-brochure.jpg');background-position:center}
    .experience-card.live::after{background-image:url('assets/experience-live-crowd.jpg');background-position:center}
    .experience-label{display:inline-flex;align-self:flex-start;margin-bottom:auto;padding:9px 14px;border-radius:999px;font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;font-weight:800;background:rgba(255,255,255,.92);color:var(--navy)}
    .live .experience-label{color:var(--wine)}
    .experience-card h3{font-size:clamp(2.6rem,4vw,4.7rem);letter-spacing:-.045em}
    .experience-card .experience-claim{font-family:"Montserrat",sans-serif;font-size:1.1rem;font-weight:700;line-height:1.35;margin-top:12px;color:#fff}
    .experience-card p{max-width:520px;margin-top:12px;color:rgba(255,255,255,.74)}
    .experience-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
    .experience-links span{font-size:.74rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;padding:8px 11px;border:1px solid rgba(255,255,255,.2);border-radius:999px}
    .card-arrow{position:absolute;right:32px;top:32px;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14);/* blur rimosso per maggiore fluidità */;font-size:1.5rem}

    /* Method */
    .method{background:#fff}
    .method-grid{display:grid;grid-template-columns:.72fr .78fr 1fr;gap:48px;align-items:start}
    .method-visual img{width:100%;height:650px;object-fit:cover;border-radius:20px}
    .method-copy{position:sticky;top:130px;align-self:start}
    .method-copy p{margin-top:26px;color:var(--muted);max-width:470px}
    .steps{counter-reset:step;display:grid}
    .step{counter-increment:step;display:grid;grid-template-columns:74px 1fr;gap:24px;padding:30px 0;border-bottom:1px solid var(--line)}
    .step:first-child{border-top:1px solid var(--line)}
    .step::before{content:"0" counter(step);font-family:"Montserrat",sans-serif;font-weight:800;font-size:1.1rem;color:var(--gold)}
    .step h3{font-size:1.55rem;margin-bottom:7px}
    .step p{color:var(--muted)}

    /* Production */
    .production{background:var(--navy);color:#fff}
    .production h2,.production .section-head>p{position:relative;z-index:2;text-shadow:0 3px 20px rgba(0,0,0,.48)}
    .production .section-head p{color:rgba(255,255,255,.65)}
    .production-image{margin-bottom:28px}.production-image img{width:100%;height:460px;object-fit:cover;object-position:center 46%;border-radius:22px}
    .production-intro{display:grid;grid-template-columns:.85fr 1.15fr;gap:48px;align-items:start;margin:34px 0 28px}
    .production-intro strong{display:block;font-family:"Montserrat",sans-serif;font-size:1.35rem;line-height:1.25}
    .production-intro p{color:rgba(255,255,255,.68)}

    /* Why */
    .why{background:var(--paper)}
    .why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:48px}
    .why-card{background:#fff;padding:32px;min-height:310px;border:1px solid rgba(15,35,65,.08);display:flex;flex-direction:column;box-shadow:0 12px 35px rgba(16,24,40,.05)}
    .why-number{font-family:"Montserrat",sans-serif;color:var(--wine);font-weight:800;font-size:.78rem;letter-spacing:.1em}
    .why-card h3{font-size:1.35rem;margin-top:auto;margin-bottom:16px}
    .why-card p{font-size:.92rem;color:var(--muted)}
    .why-card-image{width:100%;height:118px;object-fit:cover;border-radius:12px;margin:18px 0 22px;filter:saturate(.92) contrast(1.03)}
    .why-card h3{margin-top:0}
    .why-card:hover .why-card-image{transform:scale(1.025)}
    .why-card-image{transition:transform .45s ease}

    /* Portfolio */
    .portfolio{background:#fff}
    .portfolio-grid{display:grid;grid-template-columns:1.2fr .8fr;grid-template-rows:300px 300px;gap:18px;margin-top:48px}
    .project{position:relative;overflow:hidden;border-radius:18px;background:#111;color:#fff}
    .project:first-child{grid-row:1 / 3}
    .project img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}
    .project:hover img{transform:scale(1.05)}
    .project::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,7,12,.8),transparent 62%)}
    .project-copy{position:absolute;z-index:2;left:28px;right:28px;bottom:24px}
    .project-copy small{display:block;margin-bottom:6px;color:#d8c18e;text-transform:uppercase;letter-spacing:.12em;font-weight:800}
    .project-copy h3{font-size:1.45rem}

    /* CTA */
    .cta{position:relative;background:var(--wine);color:#fff;overflow:hidden}
    .cta::before{content:"Z77";position:absolute;right:-.06em;bottom:-.36em;font-family:"Montserrat",sans-serif;font-size:34vw;font-weight:800;letter-spacing:-.12em;color:rgba(255,255,255,.035);line-height:1}
    .cta-inner{position:relative;z-index:1;display:grid;grid-template-columns:1fr auto;gap:50px;align-items:end}
    .cta h2{max-width:860px}
    .cta h2 span{color:#dfc58f}
    .cta p{margin-top:22px;max-width:620px;color:rgba(255,255,255,.74)}

    /* Footer */
    footer{background:#070a0f;color:#fff;padding:64px 0 26px}
    .footer-grid{display:grid;grid-template-columns:1fr 1.1fr .9fr;gap:60px;align-items:start;padding-bottom:46px;border-bottom:1px solid rgba(255,255,255,.12)}
    .footer-logo img{width:180px;max-height:80px;object-fit:contain;object-position:left center}
    .footer-logo p{margin-top:16px;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.55)}
    .footer-claim{font-size:1.25rem;color:rgba(255,255,255,.78);max-width:420px;border-left:2px solid var(--wine);padding-left:26px}
    .footer-claim strong{color:#fff}
    .contacts{display:grid;gap:7px;font-size:.9rem;color:rgba(255,255,255,.72)}
    .contacts strong{color:#fff;margin-bottom:5px;text-transform:uppercase;letter-spacing:.08em}
    .footer-bottom{display:flex;justify-content:space-between;gap:25px;padding-top:24px;font-size:.76rem;color:rgba(255,255,255,.45)}
    .socials{display:flex;gap:10px}
    .socials a{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:50%;color:#fff}
    .footer-policies{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
    .footer-policies a{color:#fff;text-decoration:none;font-size:13px;line-height:1.4;opacity:.78}
    .footer-policies a:hover{opacity:1}
    .footer-policy-sep{color:rgba(255,255,255,.35)}


    .reveal{opacity:0;transform:translateY(12px);transition:opacity .45s ease,transform .45s ease}
    .reveal.visible{opacity:1;transform:none}

    @media(max-width:1500px){
      .hero-grid{padding-left:80px;padding-right:80px}
    }

    @media(max-width:1240px){
      .hero > .container{width:min(calc(100% - 40px),var(--max))}
      .hero-grid{padding-left:0;padding-right:0}
    }

    @media(max-width:1050px){
      .mobile-nav{display:grid}
      .mobile-nav a{font-family:"Montserrat",sans-serif;font-size:clamp(1.5rem,6vw,2.4rem);font-weight:700;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.12)}
      .mobile-submenu{display:grid;padding:4px 0 12px 18px;border-bottom:1px solid rgba(255,255,255,.12)}
      .mobile-submenu a{font-family:"Inter",sans-serif;font-size:1rem;font-weight:600;padding:9px 0;border-bottom:0;color:rgba(255,255,255,.7)}
      .hero-grid{grid-template-columns:1fr;gap:34px}.hero-side{max-width:570px}
      .intro-grid,.method-grid,.philosophy-grid{grid-template-columns:1fr;gap:45px}.method-visual img{height:420px}.philosophy-media{grid-template-columns:1fr 1fr}.method-copy{position:static}
      .stats{grid-template-columns:1fr 1fr}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}
      .production-intro{grid-template-columns:1fr}
      .why-grid{grid-template-columns:1fr 1fr}
    }

    @media(max-width:760px){
      .container{width:min(calc(100% - 28px),var(--max))}.section{padding:78px 0}
      .nav-wrap{height:72px}.brand img{width:86px}.brand-copy{display:none}
      .hero{min-height:860px}.hero-grid{padding:145px 0 48px}.hero h1{font-size:clamp(3.25rem,16vw,5.3rem)}
      .hero-lead{font-size:1rem}.hero-side{padding:22px}.hero-side-list{grid-template-columns:1fr}
      .intro-media{grid-template-columns:1fr}.intro-media img{height:330px}.philosophy-media{grid-template-columns:1fr}.philosophy-media img,.philosophy-media img:last-child{height:360px;margin-top:0}.section-head{display:block}.section-head p{margin-top:20px}
      .experience-grid{grid-template-columns:1fr}.experience-card{min-height:540px;padding:28px}
      .experience-card.corporate::after{background-position:center top}
      .stats{margin-top:50px}.stat{padding:25px 15px}.service{min-height:170px;padding:22px}
      .why-grid{grid-template-columns:1fr}.why-card{min-height:240px}
      .portfolio-grid{grid-template-columns:1fr;grid-template-rows:430px 280px 280px}.project:first-child{grid-row:auto}
      .cta-inner{grid-template-columns:1fr;align-items:start}
      .footer-grid{grid-template-columns:1fr;gap:32px}.footer-bottom{flex-direction:column}
    }

    @media(max-width:480px){.experience-card{min-height:500px}.experience-card h3{font-size:2.35rem}
      .stats{grid-template-columns:1fr}.stat{border-right:0;border-bottom:1px solid var(--line)!important}.stat:last-child{border-bottom:0!important}
    }

    /* Sezioni aggiornate dalla versione completa: Metodo, Produzione, Project Highlights */
    .production-gallery{display:grid;grid-template-columns:1.25fr .75fr;gap:18px;margin-bottom:32px}
    .production-gallery img{width:100%;height:500px;object-fit:cover;border-radius:22px}
    .production-gallery img:last-child{height:390px;margin-top:54px}
    .production-capabilities{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 38px}
    .production-capabilities span{padding:9px 13px;border:1px solid rgba(255,255,255,.22);border-radius:999px;font-size:.75rem;text-transform:uppercase;letter-spacing:.07em;font-weight:700;color:rgba(255,255,255,.82)}
    .project-showcase{display:grid;grid-template-columns:repeat(12,1fr);gap:16px;margin-top:48px}
    .project-tile{position:relative;overflow:hidden;border-radius:18px;min-height:310px;background:#111;color:#fff}
    .project-tile:nth-child(1){grid-column:span 7;min-height:540px}
    .project-tile:nth-child(2){grid-column:span 5;min-height:540px}
    .project-tile:nth-child(3),.project-tile:nth-child(4),.project-tile:nth-child(5){grid-column:span 4}
    .project-tile img{width:100%;height:100%;object-fit:cover;transition:transform .65s ease}
    .project-tile:hover img{transform:scale(1.045)}
    .project-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,7,12,.88),transparent 64%)}
    .project-tile .project-copy{position:absolute;z-index:2;left:24px;right:24px;bottom:22px}
    .project-tile small{display:block;color:#d8c18e;text-transform:uppercase;letter-spacing:.11em;font-weight:800;margin-bottom:5px}
    @media(max-width:980px){
      .production-gallery{grid-template-columns:1fr 1fr}
      .production-gallery img,.production-gallery img:last-child{height:300px;margin-top:0}
      .project-tile,.project-tile:nth-child(n){grid-column:span 6;min-height:360px}
    }
    @media(max-width:640px){
      .production-gallery{grid-template-columns:1fr}
      .production-gallery img,.production-gallery img:last-child{height:260px;margin-top:0}
      .project-showcase{grid-template-columns:1fr}
      .project-tile,.project-tile:nth-child(n){grid-column:auto;min-height:330px}
    }


    /* Leggibilità delle sezioni con sfondo chiaro */
    .why .section-head p,
    .portfolio .section-head p{color:var(--muted)}
    .why .eyebrow,
    .portfolio .eyebrow{color:var(--wine)}
    .why h2,
    .portfolio h2{color:var(--ink)}

  
    /* =========================================================
       MOBILE UX — versione compatta con slider CSS a scorrimento
       Il desktop resta invariato.
    ========================================================== */
    @media (max-width:760px){
      html{scroll-padding-top:72px}
      body{overflow-x:hidden;font-size:15px;line-height:1.55}
      .container{width:calc(100% - 28px)}
      .section{padding:54px 0}
      h2{font-size:clamp(2.15rem,11vw,3.2rem);line-height:1.02;letter-spacing:-.045em}
      .eyebrow{margin-bottom:12px;font-size:.67rem;gap:9px}
      .eyebrow::before{width:24px}
      .section-head{margin-bottom:26px}
      .section-head p{margin-top:14px;font-size:.95rem;max-width:none}
      .section-cta{margin-top:24px}
      .btn{min-height:48px;padding:0 18px;font-size:.9rem}

      /* Header mobile */
      .nav-wrap{width:calc(100% - 28px);height:68px}
      .brand img{width:82px;height:44px}
      .menu-toggle{width:42px;height:42px}
      .mobile-panel{padding:88px 22px 30px}
      .mobile-nav a{font-size:clamp(1.3rem,6vw,1.9rem);padding:10px 0}

      /* Hero più compatta, ritaglio mobile e testi sempre leggibili */
      .hero{min-height:720px;height:100svh;max-height:820px;align-items:flex-end}
      .hero-media::before{
        background:
          linear-gradient(180deg,rgba(5,7,12,.24) 0%,rgba(5,7,12,.18) 30%,rgba(5,7,12,.78) 68%,rgba(5,7,12,.97) 100%),
          linear-gradient(90deg,rgba(5,7,12,.58),transparent 76%);
      }
      .hero-slide picture,.hero-slide picture img{width:100%;height:100%;display:block}
      .hero-slide img{object-position:center 42%}
      .hero-slide:first-child img{object-position:center 42%;transform:translateZ(0) scale(1.06)}
      .hero-slide:first-child.active img{transform:translateZ(0) scale(1.015)}
      .hero-slide:nth-child(2) img{object-position:center 46%;transform:translateZ(0) scale(1.01)}
      .hero-grid{display:block;padding:112px 0 38px}
      .hero-copy{max-width:none;text-align:left}
      .hero-kicker{font-size:.66rem;letter-spacing:.13em;margin-bottom:12px}
      .hero h1{font-size:clamp(2.85rem,13.2vw,4.25rem);max-width:620px;line-height:.98}
      .hero-lead{font-size:.96rem;line-height:1.55;margin-top:18px;max-width:540px}
      .hero-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:22px;max-width:340px}
      .hero-actions .btn{width:100%}
      .hero-side{display:none}
      .hero-slider-nav{right:14px;bottom:16px;gap:7px}
      .hero-slider-dot{width:25px}
      .hero-slider-dot.active{width:38px}

      /* Chi siamo */
      .intro-grid{gap:22px}
      .intro-copy{gap:15px;padding-top:0;font-size:.97rem}
      .intro-actions{display:grid;grid-template-columns:1fr;gap:9px}
      .intro-actions .btn{width:100%}
      .intro-media{
        display:flex;overflow-x:auto;gap:12px;margin:28px -14px 0;padding:0 14px 8px;
        scroll-snap-type:x mandatory;scroll-padding-left:14px;-webkit-overflow-scrolling:touch;
        touch-action:pan-x pan-y;
      }
      .intro-media > *{flex:0 0 87%;scroll-snap-align:start}
      .intro-media img{height:270px;border-radius:16px}
      .intro-media blockquote{min-height:270px;padding:28px;font-size:1.65rem;border-radius:16px}
      .stats{grid-template-columns:1fr 1fr;margin-top:30px}
      .stat{padding:20px 14px}
      .stat b{font-size:2.25rem}
      .stat span{font-size:.7rem;margin-top:6px}

      /* Filosofia: testo compatto + foto swipe */
      .philosophy-grid{gap:28px}
      .philosophy-copy .lead{font-size:1rem;margin-top:17px}
      .philosophy-points{grid-template-columns:1fr 1fr;gap:3px 16px;margin-top:18px}
      .philosophy-points span{padding:8px 0;font-size:.86rem}
      .philosophy-media{
        display:flex;overflow-x:auto;gap:12px;margin:0 -14px;padding:0 14px 8px;
        scroll-snap-type:x mandatory;scroll-padding-left:14px;-webkit-overflow-scrolling:touch;
        touch-action:pan-x pan-y;
      }
      .philosophy-media img,
      .philosophy-media img:last-child{
        flex:0 0 86%;height:310px;margin:0;border-radius:16px;scroll-snap-align:start;
      }

      /* Slider orizzontali: il margine mostra la card successiva */
      .experience-grid,.steps,.why-grid,.project-showcase,.production-gallery{
        display:flex;overflow-x:auto;overflow-y:hidden;gap:12px;margin-left:-14px;margin-right:-14px;
        padding:0 14px 10px;scroll-snap-type:x mandatory;scroll-padding-left:14px;
        -webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;
      }
      .experience-grid::-webkit-scrollbar,.steps::-webkit-scrollbar,
      .why-grid::-webkit-scrollbar,.project-showcase::-webkit-scrollbar,.production-gallery::-webkit-scrollbar,
      .intro-media::-webkit-scrollbar,.philosophy-media::-webkit-scrollbar{display:none}
      .experience-grid,.steps,.why-grid,.project-showcase,.production-gallery,
      .intro-media,.philosophy-media{scrollbar-width:none}

      /* Experiences */
      .experience-card{
        flex:0 0 87%;min-height:500px;padding:25px;border-radius:18px;scroll-snap-align:start;
      }
      .experience-card h3{font-size:2.25rem}
      .experience-card p{font-size:.92rem}
      .experience-links{gap:6px;margin-top:15px}
      .experience-links span{font-size:.66rem;padding:7px 9px}

      /* Metodo */
      .method-grid{gap:26px}
      .method-visual img{height:280px;border-radius:16px}
      .method-copy p{margin-top:16px;font-size:.96rem}
      .steps{margin-top:24px}
      .step{
        flex:0 0 82%;min-height:170px;padding:22px;border-radius:16px;
        scroll-snap-align:start;border:1px solid rgba(15,35,65,.12);
      }
      .step h3{font-size:1.35rem}
      .step p{font-size:.91rem;margin-top:7px}

      /* Produzione */
      .production-gallery{margin-bottom:22px}
      .production-gallery img,.production-gallery img:last-child{
        flex:0 0 88%;height:280px;margin:0;border-radius:16px;scroll-snap-align:start;
      }
      .production-intro{gap:12px}
      .production-intro strong{font-size:1.45rem}
      .production-intro p{font-size:.95rem}
      .production-capabilities{
        flex-wrap:nowrap;overflow-x:auto;margin:20px -14px 24px;padding:0 14px 8px;
        scroll-snap-type:x proximity;scrollbar-width:none;
      }
      .production-capabilities::-webkit-scrollbar{display:none}
      .production-capabilities span{flex:0 0 auto;white-space:nowrap;font-size:.65rem;padding:8px 11px}

      /* Perché ZERO7UNO */
      .why-card{
        flex:0 0 82%;min-height:390px;padding:22px;border-radius:16px;scroll-snap-align:start;
      }
      .why-card-image{height:170px;margin:16px 0 20px}
      .why-card h3{font-size:1.28rem}
      .why-card p{font-size:.9rem}

      /* Project Highlights */
      .project-showcase{margin-top:26px}
      .project-tile,.project-tile:nth-child(n){
        flex:0 0 88%;min-height:390px;grid-column:auto;border-radius:16px;scroll-snap-align:start;
      }
      .project-tile .project-copy{left:20px;right:20px;bottom:18px}
      .project-tile h3{font-size:1.25rem}

      /* CTA e footer */
      .cta-inner{gap:25px}
      .cta h2{font-size:clamp(2.15rem,11vw,3.15rem)}
      .cta p{margin-top:16px;font-size:.95rem}
      .cta .btn{width:100%}
      footer{padding:44px 0 22px}
      .footer-grid{gap:24px;padding-bottom:30px}
      .footer-logo img{width:145px}
      .footer-claim{font-size:1.05rem;padding-left:18px}
      .footer-bottom{gap:14px;padding-top:18px}
    }

    @media (max-width:420px){
      .section{padding:48px 0}
      .hero{min-height:680px}
      .hero-grid{padding-top:104px}
      .hero h1{font-size:clamp(2.65rem,13vw,3.6rem)}
      .experience-card{flex-basis:90%;min-height:475px}
      .step,.why-card{flex-basis:86%}
      .project-tile,.project-tile:nth-child(n){flex-basis:91%;min-height:360px}
    }

  
    /* =========================================================
       HEADER RESPONSIVE DEFINITIVO
       > 1720 px: logo + payoff + menu completo
       1401–1720 px: payoff nascosto, menu sfrutta lo spazio libero
       1181–1400 px: menu desktop ancora più compatto
       <= 1180 px: logo + hamburger
    ========================================================== */

    @media (min-width:1401px) and (max-width:1720px){
      .brand-copy{display:none}
      .nav-wrap{
        width:calc(100% - 40px);
        max-width:1680px;
        padding-inline:32px;
        justify-content:flex-start;
        gap:22px;
      }
      .brand{
        flex:0 0 auto;
        margin-right:0;
      }
      .brand img{
        width:108px;
        height:52px;
      }
      .desktop-nav{
        flex:1;
        min-width:0;
        justify-content:space-between;
        gap:14px;
        font-size:.76rem;
      }
      .nav-cta{
        padding:10px 14px!important;
      }
    }

    @media (min-width:1181px) and (max-width:1400px){
      .brand-copy{display:none}
      .nav-wrap{
        width:calc(100% - 28px);
        max-width:none;
        padding-inline:18px;
        justify-content:flex-start;
        gap:16px;
      }
      .brand{
        flex:0 0 auto;
        margin-right:0;
      }
      .brand img{
        width:100px;
        height:50px;
      }
      .desktop-nav{
        flex:1;
        min-width:0;
        justify-content:space-between;
        gap:9px;
        font-size:.70rem;
      }
      .nav-cta{
        padding:9px 11px!important;
      }
    }

    @media (max-width:1180px){
      .site-header{
        background:rgba(7,10,16,.94);
        border-bottom-color:rgba(255,255,255,.08);
      }
      .nav-wrap{
        width:calc(100% - 40px);
        max-width:none;
        height:76px;
        padding-inline:0;
        gap:20px;
      }
      .brand{
        gap:0;
      }
      .brand img{
        width:108px;
        height:52px;
      }
      .brand-copy,
      .desktop-nav{
        display:none!important;
      }
      .menu-toggle{
        display:flex;
        flex:0 0 auto;
      }
      .mobile-panel{
        display:block;
        position:fixed;
        inset:0;
        z-index:45;
        background:#0a0c10;
        color:#fff;
        padding:100px 30px 40px;
        transform:translateX(100%);
        transition:transform .32s ease;
        overflow-y:auto;
      }
      .mobile-panel.open{
        transform:none;
      }
    }

    @media (max-width:760px){
      .nav-wrap{
        width:calc(100% - 28px);
        height:68px;
      }
      .brand img{
        width:86px;
        height:44px;
      }
      .menu-toggle{
        width:42px;
        height:42px;
      }
      .mobile-panel{
        padding:88px 22px 30px;
      }
    }

  
    /* HERO: modifica applicata SOLO su smartphone.
       Il desktop e il tablet mantengono il ritaglio originale. */
    @media (max-width:760px){
      .hero-slide:first-child img{
        object-position:center 42%;
        transform:translate3d(0,-6.5%,0) scale(1.16);
        transform-origin:center 44%;
      }
      .hero-slide:first-child.active img{
        transform:translate3d(0,-6.5%,0) scale(1.09);
      }
    }

  

    /* Aggiornamenti contenuti e branding */
    .brand img{width:230px;height:64px;object-fit:contain;object-position:left center}
    .footer-logo img{width:290px;max-height:98px;object-fit:contain;object-position:left center}
    .hero-side{display:block;color:#fff;transition:background .25s ease,transform .25s ease}
    .hero-side:hover{background:linear-gradient(135deg,rgba(104,27,39,.45),rgba(255,255,255,.04));transform:translateY(-3px)}
    .philosophy-points-vertical{grid-template-columns:1fr;gap:0;max-width:560px;margin-top:28px}
    .philosophy-points-vertical span{padding:8px 0;font-size:1.02rem}
    .philosophy-closing{margin-top:28px!important}
    .production-capabilities{margin:0 0 34px}

    .collaborators{background:#fff;padding:82px 0}
    .collaborators-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:38px}
    .collaborators-head .eyebrow{margin-bottom:0;color:var(--wine)}
    .collaborators-head h2{font-size:clamp(2rem,3.8vw,3.7rem);max-width:690px;text-align:right}
    .collaborators-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:stretch;border-top:1px solid var(--line);border-left:1px solid var(--line)}
    .collaborator-logo{min-height:155px;padding:24px 18px;display:grid;place-items:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;transition:background .25s ease}
    .collaborator-logo:hover{background:var(--paper)}
    .collaborator-logo img{width:100%;height:90px;object-fit:contain;filter:grayscale(1);opacity:.78;transition:filter .25s ease,opacity .25s ease,transform .25s ease}
    .collaborator-logo:hover img{filter:none;opacity:1;transform:scale(1.035)}

    @media(min-width:1401px) and (max-width:1720px){
      .brand img{width:190px;height:58px}
      .nav-wrap{padding-inline:32px;gap:18px}
      .desktop-nav{gap:13px;font-size:.74rem}
    }
    @media(min-width:1181px) and (max-width:1400px){
      .brand img{width:165px;height:54px}
      .nav-wrap{padding-inline:18px;gap:13px}
      .desktop-nav{gap:8px;font-size:.68rem}
      .nav-cta{padding:9px 11px!important}
    }
    @media(max-width:1180px){
      .brand img{width:205px;height:58px}
    }
    @media(max-width:900px){
      .collaborators-head{display:block}
      .collaborators-head h2{text-align:left;margin-top:12px}
      .collaborators-grid{grid-template-columns:repeat(3,1fr)}
    }
    @media(max-width:760px){
      .brand img{width:170px;height:48px}
      .footer-logo img{width:240px}
      .philosophy-points-vertical{display:grid;grid-template-columns:1fr;overflow:visible;margin:20px 0 0;padding:0}
      .philosophy-points-vertical span{padding:7px 0}
      .production-capabilities{margin:0 -14px 22px;padding:0 14px 8px}
      .collaborators{padding:54px 0}
      .collaborators-grid{display:flex;overflow-x:auto;gap:12px;margin:0 -14px;padding:0 14px 8px;border:0;scroll-snap-type:x mandatory;scrollbar-width:none}
      .collaborators-grid::-webkit-scrollbar{display:none}
      .collaborator-logo{flex:0 0 72%;min-height:145px;border:1px solid var(--line);border-radius:16px;scroll-snap-align:start}
      .collaborator-logo img{height:82px}
    }


    /* Rifiniture branding, filosofia e partner */
    .brand img{
      width:270px;
      height:72px;
      object-fit:contain;
      object-position:left center;
    }
    .footer-logo img{
      width:350px;
      max-height:122px;
      object-fit:contain;
      object-position:left center;
    }
    .philosophy-points-vertical span{
      border:0!important;
      background:none!important;
      box-shadow:none!important;
      padding:6px 0!important;
    }

    .why-collaborators{
      margin-top:72px;
      padding-top:38px;
      border-top:1px solid var(--line);
    }
    .why-collaborators-head{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:28px;
      margin-bottom:30px;
    }
    .why-collaborators-head .eyebrow{
      margin:0;
      color:var(--wine);
    }
    .why-collaborators-head p:last-child{
      max-width:520px;
      color:var(--muted);
      text-align:right;
    }
    .why-collaborators-grid{
      display:grid;
      grid-template-columns:repeat(7,minmax(0,1fr));
      gap:12px;
      align-items:center;
    }
    .why-collaborator-link{
      min-height:122px;
      display:flex;
      align-items:center;
      justify-content:center;
      padding:18px 14px;
      border:1px solid rgba(15,35,65,.10);
      border-radius:16px;
      background:rgba(255,255,255,.72);
      cursor:pointer;
    }
    .why-collaborator-link img{
      width:100%;
      height:76px;
      object-fit:contain;
      filter:grayscale(1);
      opacity:.78;
    }
    .why-collaborator-link:hover,
    .why-collaborator-link:focus-visible{
      background:rgba(255,255,255,.72);
      transform:none;
      box-shadow:none;
    }
    .why-collaborator-link:hover img,
    .why-collaborator-link:focus-visible img{
      filter:grayscale(1);
      opacity:.78;
      transform:none;
    }

    @media(min-width:1401px) and (max-width:1720px){
      .brand img{width:225px;height:66px}
    }
    @media(min-width:1181px) and (max-width:1400px){
      .brand img{width:195px;height:60px}
    }
    @media(max-width:1180px){
      .brand img{width:225px;height:64px}
    }
    @media(max-width:1050px){
      .why-collaborators-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    }
    @media(max-width:760px){
      .brand img{width:190px;height:56px}
      .footer-logo img{width:290px;max-height:105px}
      .why-collaborators{margin-top:46px;padding-top:28px}
      .why-collaborators-head{display:block;margin-bottom:22px}
      .why-collaborators-head p:last-child{text-align:left;margin-top:10px;font-size:.9rem}
      .why-collaborators-grid{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
      }
      .why-collaborator-link{min-height:112px;padding:14px 10px;border-radius:13px}
      .why-collaborator-link img{height:68px}
    }
    @media(max-width:420px){
      .brand img{width:175px;height:52px}
      .footer-logo img{width:260px}
    }



    /* =========================================================
       MOBILE FINAL TUNING — ritmo, respiro e leggibilità
       Solo smartphone: il desktop resta invariato.
    ========================================================== */
    @media (max-width:760px){
      /* Header: blocco nero pieno e pulito durante lo scroll */
      .site-header,
      .site-header.scrolled{
        background:#0a0c10;
        border-bottom:1px solid rgba(255,255,255,.08);
      }

      /* Hero: più respiro tra CTA e box partner */
      .hero-grid{
        padding-bottom:46px;
      }
      .hero-actions{
        margin-top:24px;
        gap:10px;
      }
      .hero-side{
        display:block;
        margin-top:24px;
        padding:22px 20px;
        border-left:0;
        border:1px solid rgba(255,255,255,.14);
        border-radius:16px;
        background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
        transform:none!important;
      }
      .hero-side strong{
        font-size:1.08rem;
        line-height:1.32;
        margin-bottom:9px;
      }
      .hero-side p{
        font-size:.91rem;
        line-height:1.55;
      }
      .hero-slider-nav{
        bottom:14px;
      }

      /* Chi siamo: niente CTA intermedia, più ritmo tra testo e media */
      .intro{
        padding-top:62px;
      }
      .intro-copy{
        gap:18px;
      }
      .intro-copy p{
        line-height:1.58;
      }
      .intro-media{
        margin-top:34px;
      }
      .stats{
        margin-top:34px;
      }

      /* Filosofia: le sei frasi devono sembrare un unico manifesto */
      .philosophy-points-vertical{
        margin-top:18px;
        margin-bottom:24px;
        gap:0;
      }
      .philosophy-points-vertical span{
        padding:4px 0!important;
        font-size:1rem;
        line-height:1.3;
      }
      .philosophy-copy .lead{
        margin-top:14px;
        line-height:1.55;
      }
      .philosophy-closing{
        margin-top:22px!important;
      }

      /* Evita una sensazione troppo compressa al cambio sezione */
      .philosophy{
        padding-top:60px;
        padding-bottom:60px;
      }
    }

    @media (max-width:420px){
      .hero-side{
        margin-top:20px;
        padding:20px 18px;
      }
      .intro{
        padding-top:56px;
      }
      .philosophy{
        padding-top:54px;
        padding-bottom:54px;
      }
    }


    /* CTA Chi siamo: visibile solo desktop/tablet, nascosta su mobile */
    .desktop-only-method-btn{display:inline-flex}
    @media (max-width:760px){
      .desktop-only-method-btn{display:none!important}
    }

  

    /* =========================================================
       CORPORATE EXPERIENCES — pagina interna
       Estensione del design system della homepage approvata.
    ========================================================== */
    .inner-hero{position:relative;min-height:78svh;display:flex;align-items:flex-end;overflow:hidden;background:#07101d;color:#fff}
    .inner-hero-media{position:absolute;inset:0}
    .inner-hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,12,22,.94) 0%,rgba(6,12,22,.68) 48%,rgba(6,12,22,.22) 78%),linear-gradient(0deg,rgba(6,12,22,.9),transparent 55%)}
    .inner-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 43%}
    .inner-hero-grid{position:relative;z-index:2;padding:190px 0 76px;max-width:900px}
    .inner-hero .eyebrow{color:#d6c297}
    .inner-hero h1{font-size:clamp(3.6rem,7.5vw,7.3rem);letter-spacing:-.065em;max-width:1030px;text-shadow:0 4px 28px rgba(0,0,0,.45)}
    .inner-hero-lead{max-width:720px;margin-top:26px;font-size:clamp(1.05rem,1.5vw,1.28rem);color:rgba(255,255,255,.83)}
    .inner-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}

    .corp-intro{background:var(--paper)}
    .corp-intro-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:84px;align-items:center}
    .corp-intro-copy h2{max-width:680px}
    .corp-intro-copy h2 em{font-style:normal;color:var(--wine)}
    .corp-intro-text{display:grid;gap:18px;margin-top:28px;color:#505866;font-size:1.04rem;max-width:660px}
    .corp-intro-media{position:relative;padding:0 0 46px 52px}
    .corp-intro-media img{width:100%;height:580px;object-fit:cover;border-radius:20px;box-shadow:var(--shadow)}
    .corp-quote{position:absolute;left:0;bottom:0;max-width:390px;padding:28px 30px;background:var(--wine);color:#fff;border-radius:18px;font-family:"Montserrat",sans-serif;font-size:1.22rem;font-weight:700;line-height:1.35;box-shadow:0 20px 50px rgba(35,8,14,.2)}

    .formats{background:#fff}
    .formats .section-head p{color:var(--muted)}
    .formats .eyebrow{color:var(--wine)}
    .format-grid{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:minmax(250px,auto);gap:16px}
    .format-card{position:relative;overflow:hidden;border-radius:20px;background:var(--navy);color:#fff;min-height:270px;padding:30px;display:flex;flex-direction:column;justify-content:flex-end;isolation:isolate}
    .format-card:nth-child(1),.format-card:nth-child(2){grid-column:span 6;min-height:460px}
    .format-card:nth-child(n+3){grid-column:span 3}
    .format-card.has-image::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,9,16,.93),rgba(5,9,16,.22) 72%);z-index:-1}
    .format-card.has-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .6s ease}
    .format-card:hover.has-image img{transform:scale(1.04)}
    .format-card:nth-child(3),.format-card:nth-child(6){background:var(--wine)}
    .format-card:nth-child(4),.format-card:nth-child(7){background:var(--paper);color:var(--ink);border:1px solid var(--line)}
    .format-card:nth-child(5),.format-card:nth-child(8){background:var(--navy)}
    .format-index{font-size:.7rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--gold);margin-bottom:auto}
    .format-card:nth-child(3) .format-index,.format-card:nth-child(6) .format-index{color:#e1c997}
    .format-card h3{font-size:clamp(1.35rem,2.2vw,2rem);margin-bottom:10px}
    .format-card p{font-size:.9rem;line-height:1.55;color:rgba(255,255,255,.72)}
    .format-card:nth-child(4) p,.format-card:nth-child(7) p{color:var(--muted)}

    .corp-manifesto{background:var(--navy);color:#fff;overflow:hidden}
    .corp-manifesto-grid{display:grid;grid-template-columns:.86fr 1.14fr;gap:76px;align-items:center}
    .corp-manifesto-copy h2{font-size:clamp(2.8rem,6vw,6rem);letter-spacing:-.055em}
    .corp-manifesto-copy h2 span{display:block;color:#d6c297}
    .corp-manifesto-copy p{margin-top:26px;max-width:560px;color:rgba(255,255,255,.72);font-size:1.04rem}
    .corp-manifesto-quote{margin-top:34px;padding-top:26px;border-top:1px solid rgba(255,255,255,.18);font-family:"Montserrat",sans-serif;font-weight:700;font-size:1.25rem;line-height:1.35;color:#fff}
    .corp-photo-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}
    .corp-photo-grid img{width:100%;height:520px;object-fit:cover;border-radius:18px}
    .corp-photo-grid .stack{display:grid;gap:14px}
    .corp-photo-grid .stack img{height:253px}

    .corp-process{background:#fff}
    .corp-process-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start}
    .corp-process-sticky{position:sticky;top:120px}
    .corp-process-sticky img{width:100%;height:620px;object-fit:cover;border-radius:20px;margin-top:30px}
    .corp-process-steps{display:grid}
    .corp-process-step{display:grid;grid-template-columns:74px 1fr;gap:22px;padding:31px 0;border-bottom:1px solid var(--line)}
    .corp-process-step:first-child{border-top:1px solid var(--line)}
    .corp-process-num{font-family:"Montserrat",sans-serif;font-weight:800;color:var(--gold)}
    .corp-process-step h3{font-size:1.55rem;margin-bottom:7px}
    .corp-process-step p{color:var(--muted)}

    .corp-production{background:var(--coal-soft);color:#fff}
    .corp-production-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:64px;align-items:center}
    .corp-production-media img{width:100%;height:590px;object-fit:cover;border-radius:20px}
    .corp-production-copy p:not(.eyebrow){margin-top:24px;color:rgba(255,255,255,.68);max-width:590px}
    .corp-capabilities{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
    .corp-capabilities span{padding:9px 13px;border:1px solid rgba(255,255,255,.22);border-radius:999px;font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;font-weight:700;color:rgba(255,255,255,.82)}
    .corp-production-copy .btn{margin-top:32px}

    .audiences{background:var(--paper)}
    .audience-grid{display:grid;grid-template-columns:repeat(2,1fr);margin-top:44px;border-top:1px solid var(--line);border-left:1px solid var(--line)}
    .audience-item{padding:28px 30px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);font-family:"Montserrat",sans-serif;font-size:clamp(1.25rem,2.3vw,2.15rem);font-weight:700;letter-spacing:-.025em;background:rgba(255,255,255,.4);transition:.25s ease}
    .audience-item:hover{background:#fff;color:var(--wine)}

    .corp-gallery{background:#fff}
    .corp-gallery .section-head p{color:var(--muted)}
    .corp-gallery .eyebrow{color:var(--wine)}
    .corp-gallery-grid{display:grid;grid-template-columns:1.2fr .8fr;grid-template-rows:300px 300px;gap:16px}
    .corp-gallery-item{position:relative;overflow:hidden;border-radius:18px;background:#111}
    .corp-gallery-item:first-child{grid-row:1/3}
    .corp-gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .65s ease}
    .corp-gallery-item:hover img{transform:scale(1.04)}
    .corp-gallery-label{position:absolute;left:20px;bottom:18px;padding:7px 10px;border-radius:999px;background:rgba(7,10,16,.68);color:#fff;font-size:.67rem;text-transform:uppercase;letter-spacing:.11em;font-weight:800}

    @media(max-width:1050px){
      .corp-intro-grid,.corp-manifesto-grid,.corp-process-grid,.corp-production-grid{grid-template-columns:1fr;gap:44px}
      .corp-process-sticky{position:static}
      .corp-intro-media{max-width:760px}
      .corp-photo-grid{max-width:820px}
      .format-card:nth-child(n){grid-column:span 6}
      .corp-process-sticky img,.corp-production-media img{height:480px}
    }
    @media(max-width:760px){
      .inner-hero{min-height:690px;height:88svh;max-height:780px}
      .inner-hero-media::after{background:linear-gradient(180deg,rgba(6,12,22,.2),rgba(6,12,22,.32) 38%,rgba(6,12,22,.92) 78%,rgba(6,12,22,.98))}
      .inner-hero-media img{object-position:center 40%}
      .inner-hero-grid{padding:126px 0 42px}
      .inner-hero h1{font-size:clamp(2.75rem,13vw,4rem);line-height:.98}
      .inner-hero-lead{font-size:.96rem;line-height:1.55;margin-top:18px}
      .inner-hero-actions{display:grid;grid-template-columns:1fr;gap:9px;max-width:340px;margin-top:22px}
      .inner-hero-actions .btn{width:100%}

      .corp-intro-grid{gap:30px}
      .corp-intro-text{font-size:.96rem;margin-top:20px}
      .corp-intro-media{padding:0 0 28px 0}
      .corp-intro-media img{height:360px;border-radius:16px}
      .corp-quote{position:relative;left:auto;bottom:auto;margin:-54px 14px 0;padding:22px;font-size:1.05rem;border-radius:14px}

      .format-grid{display:flex;overflow-x:auto;gap:12px;margin:0 -14px;padding:0 14px 10px;scroll-snap-type:x mandatory;scrollbar-width:none}
      .format-grid::-webkit-scrollbar{display:none}
      .format-card,.format-card:nth-child(n){flex:0 0 87%;min-height:410px;grid-column:auto;scroll-snap-align:start;padding:24px}
      .format-card:nth-child(n+3){min-height:330px}

      .corp-manifesto-grid{gap:30px}
      .corp-manifesto-copy h2{font-size:clamp(2.7rem,12vw,4rem)}
      .corp-manifesto-copy p{font-size:.95rem}
      .corp-manifesto-quote{font-size:1.08rem;margin-top:24px;padding-top:20px}
      .corp-photo-grid{display:flex;overflow-x:auto;gap:12px;margin:0 -14px;padding:0 14px 8px;scroll-snap-type:x mandatory;scrollbar-width:none}
      .corp-photo-grid::-webkit-scrollbar{display:none}
      .corp-photo-grid>img,.corp-photo-grid .stack{flex:0 0 88%;scroll-snap-align:start}
      .corp-photo-grid>img{height:330px}
      .corp-photo-grid .stack{display:contents}
      .corp-photo-grid .stack img{flex:0 0 88%;height:330px;scroll-snap-align:start}

      .corp-process-sticky img{height:310px;border-radius:16px;margin-top:22px}
      .corp-process-steps{display:flex;overflow-x:auto;gap:12px;margin:0 -14px;padding:0 14px 8px;scroll-snap-type:x mandatory;scrollbar-width:none}
      .corp-process-steps::-webkit-scrollbar{display:none}
      .corp-process-step{flex:0 0 84%;min-height:190px;display:block;border:1px solid var(--line)!important;border-radius:16px;padding:22px;scroll-snap-align:start}
      .corp-process-num{display:block;margin-bottom:34px}

      .corp-production-media img{height:330px;border-radius:16px}
      .corp-production-copy p:not(.eyebrow){font-size:.95rem;margin-top:18px}
      .corp-capabilities{flex-wrap:nowrap;overflow-x:auto;margin:22px -14px 0;padding:0 14px 8px;scrollbar-width:none}
      .corp-capabilities::-webkit-scrollbar{display:none}
      .corp-capabilities span{flex:0 0 auto}
      .corp-production-copy .btn{width:100%;margin-top:24px}

      .audience-grid{grid-template-columns:1fr;margin-top:28px}
      .audience-item{padding:22px 18px;font-size:1.35rem}

      .corp-gallery-grid{display:flex;overflow-x:auto;gap:12px;margin:0 -14px;padding:0 14px 8px;scroll-snap-type:x mandatory;scrollbar-width:none}
      .corp-gallery-grid::-webkit-scrollbar{display:none}
      .corp-gallery-item,.corp-gallery-item:first-child{flex:0 0 88%;height:390px;grid-row:auto;scroll-snap-align:start}
    }

/* CORPORATE MOBILE FIX v5 — desktop invariato */
@media (max-width:760px){
 html,body{width:100%;max-width:100%;overflow-x:hidden} body{position:relative}
 .container{width:calc(100% - 32px);max-width:100%;margin-inline:auto}
 .site-header,.inner-hero,main,section,footer{max-width:100%;overflow-x:hidden}
 .nav-wrap{width:calc(100% - 32px);max-width:100%;padding-inline:0}
 .brand{min-width:0;max-width:calc(100% - 64px)}
 .brand img{width:160px;height:48px;max-width:100%;object-fit:contain;object-position:left center}
 .menu-toggle{width:42px;height:42px;flex:0 0 42px}
 .inner-hero{height:auto;min-height:760px;max-height:none;align-items:flex-end}
 .inner-hero-grid{width:100%;max-width:100%;padding:118px 0 42px;min-width:0}
 .inner-hero .eyebrow{font-size:.68rem;letter-spacing:.14em;gap:9px;max-width:100%}
 .inner-hero .eyebrow::before{width:25px;flex:0 0 25px}
 .inner-hero h1{font-size:clamp(2.55rem,12.2vw,3.8rem);line-height:.99;letter-spacing:-.055em;max-width:100%}
 .inner-hero-lead{width:100%;max-width:100%;font-size:.95rem;line-height:1.55}
 .inner-hero-actions{width:100%;max-width:100%;grid-template-columns:minmax(0,1fr)}
 .inner-hero-actions .btn{width:100%;max-width:100%;padding-inline:16px;white-space:normal;text-align:center;line-height:1.25}
 .corp-intro-grid,.corp-manifesto-grid,.corp-process-grid,.corp-production-grid,
 .corp-intro-copy,.corp-intro-media,.corp-manifesto-copy,.corp-photo-grid,
 .corp-process-sticky,.corp-process-steps,.corp-production-media,.corp-production-copy{min-width:0;max-width:100%}
}
@media (max-width:420px){
 .container{width:calc(100% - 28px)} .nav-wrap{width:calc(100% - 28px);height:66px;gap:12px}
 .brand img{width:145px;height:44px} .menu-toggle{width:40px;height:40px;flex-basis:40px}
 .inner-hero{min-height:730px} .inner-hero-grid{padding-top:108px;padding-bottom:34px}
 .inner-hero h1{font-size:clamp(2.35rem,12vw,3.15rem);line-height:1;letter-spacing:-.05em}
 .inner-hero-lead{font-size:.91rem} .inner-hero-actions{margin-top:19px;gap:8px}
 .inner-hero-actions .btn{min-height:50px;font-size:.9rem}
}
@media (max-width:350px){
 .container{width:calc(100% - 24px)} .nav-wrap{width:calc(100% - 24px)}
 .brand img{width:132px;height:42px} .inner-hero{min-height:710px}
 .inner-hero h1{font-size:2.28rem} .inner-hero .eyebrow{font-size:.62rem;letter-spacing:.12em}
 .inner-hero-lead{font-size:.88rem} .inner-hero-actions .btn{font-size:.84rem;padding-inline:12px}
}


/* =========================================================
   CORPORATE MOBILE v6 — SERVIZI + METODO IN 2 COLONNE
   Solo smartphone. Desktop/tablet invariati.
========================================================= */
@media (max-width:760px){
  /* Cosa realizziamo: 2 x 4, niente swipe */
  .format-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin:0;
    padding:0;
    overflow:visible;
    scroll-snap-type:none;
  }
  .format-card,
  .format-card:nth-child(n),
  .format-card:nth-child(n+3){
    width:auto;
    min-width:0;
    min-height:250px;
    padding:16px 14px;
    border-radius:15px;
    grid-column:auto;
    flex:none;
    scroll-snap-align:none;
  }
  .format-card:nth-child(1),
  .format-card:nth-child(2){min-height:285px}
  .format-index{
    font-size:.58rem;
    line-height:1.25;
    letter-spacing:.10em;
    margin-bottom:auto;
  }
  .format-card h3{
    font-size:clamp(.98rem,4.6vw,1.22rem);
    line-height:1.05;
    letter-spacing:-.03em;
    margin-bottom:8px;
    overflow-wrap:break-word;
  }
  .format-card p{
    font-size:.72rem;
    line-height:1.4;
  }
  .format-card.has-image::before{
    background:linear-gradient(0deg,rgba(5,9,16,.94),rgba(5,9,16,.20) 70%);
  }

  /* Metodo: 2 x 2, niente swipe */
  .corp-process-steps{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin:0;
    padding:0;
    overflow:visible;
    scroll-snap-type:none;
  }
  .corp-process-step{
    display:flex;
    flex-direction:column;
    min-width:0;
    min-height:250px;
    padding:17px 15px;
    border:1px solid var(--line)!important;
    border-radius:15px;
    scroll-snap-align:none;
  }
  .corp-process-step:first-child{border-top:1px solid var(--line)!important}
  .corp-process-num{
    display:block;
    margin:0 0 auto;
    padding-bottom:26px;
    font-size:.9rem;
  }
  .corp-process-step h3{
    font-size:clamp(1rem,4.7vw,1.22rem);
    line-height:1.08;
    letter-spacing:-.035em;
    margin-bottom:8px;
    overflow-wrap:break-word;
  }
  .corp-process-step p{
    font-size:.75rem;
    line-height:1.45;
    color:var(--muted);
  }
}

@media (max-width:380px){
  .format-grid,.corp-process-steps{gap:8px}
  .format-card,.format-card:nth-child(n),.format-card:nth-child(n+3){
    min-height:238px;
    padding:14px 12px;
  }
  .format-card:nth-child(1),.format-card:nth-child(2){min-height:270px}
  .format-index{font-size:.53rem;letter-spacing:.08em}
  .format-card h3{font-size:.96rem}
  .format-card p{font-size:.68rem;line-height:1.36}
  .corp-process-step{min-height:242px;padding:15px 12px}
  .corp-process-num{font-size:.82rem;padding-bottom:22px}
  .corp-process-step h3{font-size:.97rem}
  .corp-process-step p{font-size:.7rem;line-height:1.4}
}


/* Anchor CTA header — robust fix v8 */


/* =========================================================
   CORPORATE v12 — CONTRAST FIX "PER CHI LAVORIAMO"
   Evita testi chiari su sfondo paper/bianco.
========================================================= */
.corp-audiences{
  color:var(--ink);
}
.corp-audiences .eyebrow{
  color:var(--gold) !important;
}
.corp-audiences .eyebrow::before{
  background:var(--gold) !important;
}
.corp-audiences h2{
  color:var(--ink) !important;
}
.corp-audiences .section-lead,
.corp-audiences p{
  color:var(--muted) !important;
}
.corp-audiences .audience-item,
.corp-audiences .audience-item span,
.corp-audiences .audience-item strong{
  color:var(--ink) !important;
}


/* =========================================================
   CORPORATE v13 — FIX CONTRASTO REALE "PER CHI LAVORIAMO"
   Selettore corretto: .audiences
========================================================= */
.audiences{
  background:var(--paper);
  color:var(--ink);
}
.audiences .eyebrow{
  color:var(--gold) !important;
}
.audiences .eyebrow::before{
  background:var(--gold) !important;
}
.audiences h2{
  color:var(--ink) !important;
}
.audiences .section-head > p{
  color:var(--muted) !important;
  opacity:1 !important;
}
.audiences .audience-item{
  color:var(--ink) !important;
}


/* =========================================================
   CORPORATE v14 — COLLABORAZIONI
   Derivata dalla sezione "Collaboriamo con" della home.
========================================================= */
.corp-collaborators{
  background:var(--paper);
  padding-top:0;
}
.corp-collaborators-inner{
  padding-top:42px;
  border-top:1px solid var(--line);
}
.corp-collaborators-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:30px;
}
.corp-collaborators-head .eyebrow{
  margin:0;
  color:var(--wine);
}
.corp-collaborators-head > p:last-child{
  max-width:560px;
  color:var(--muted);
  text-align:right;
}
.corp-collaborators-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
}
.corp-collaborator-link{
  min-height:132px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px 16px;
  border:1px solid rgba(15,35,65,.10);
  border-radius:16px;
  background:rgba(255,255,255,.72);
  cursor:pointer;
}
.corp-collaborator-link img{
  width:100%;
  height:78px;
  object-fit:contain;
  filter:grayscale(1);
  opacity:.78;
}
.corp-collaborator-link:hover,
.corp-collaborator-link:focus-visible{
  background:rgba(255,255,255,.72);
  transform:none;
  box-shadow:none;
}
.corp-collaborator-link:hover img,
.corp-collaborator-link:focus-visible img{
  filter:grayscale(1);
  opacity:.78;
  transform:none;
}
@media(max-width:900px){
  .corp-collaborators-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .corp-collaborators{padding-top:0}
  .corp-collaborators-inner{padding-top:30px}
  .corp-collaborators-head{display:block;margin-bottom:22px}
  .corp-collaborators-head > p:last-child{
    text-align:left;
    margin-top:10px;
    font-size:.9rem;
  }
  .corp-collaborators-grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .corp-collaborator-link{
    min-height:112px;
    padding:14px 10px;
    border-radius:13px;
  }
  .corp-collaborator-link img{height:68px}
}


/* CORPORATE v15 — Collaborazioni: 4 loghi, una riga desktop */
@media (min-width:901px){
  .corp-collaborators-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}







/* =========================================================
   CORPORATE — 04 / OPENING / INAUGURAZIONI
   Stesso trattamento visivo della card "Cene di gala".
========================================================= */
.format-card.has-image.inaugurazioni-card{
  color:#fff !important;
}

/* Fallback selettivo sulla card 04, senza toccare le altre */
.format-card.has-image:nth-child(4){
  color:#fff !important;
  background:var(--navy) !important;
  border:0 !important;
}

.format-card.has-image:nth-child(4) img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:-2;
}

.format-card.has-image:nth-child(4)::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(
    0deg,
    rgba(5,9,16,.93) 0%,
    rgba(5,9,16,.58) 46%,
    rgba(5,9,16,.18) 76%
  ) !important;
}

.format-card.has-image:nth-child(4) .format-index{
  color:var(--gold) !important;
}

.format-card.has-image:nth-child(4) h3{
  color:#fff !important;
}

.format-card.has-image:nth-child(4) p{
  color:rgba(255,255,255,.78) !important;
}



/* =========================================================
   REALIZZAZIONI — PROVA v1
========================================================= */
.real-page .inner-hero{min-height:80svh}
.real-page .inner-hero-media img{
  object-position:center 48%;
  filter:saturate(.96) contrast(1.03);
}
.real-page .inner-hero-media::after{
  background:
    linear-gradient(90deg,rgba(5,8,14,.94) 0%,rgba(5,8,14,.72) 43%,rgba(5,8,14,.28) 76%,rgba(5,8,14,.12) 100%),
    linear-gradient(0deg,rgba(5,8,14,.86),transparent 57%);
}
.real-page .inner-hero-grid{max-width:980px}
.real-page .inner-hero h1{max-width:1050px}

.real-intro{background:var(--paper)}
.real-intro-grid{
  display:grid;grid-template-columns:.82fr 1.18fr;gap:90px;align-items:start
}
.real-intro h2{max-width:620px}
.real-intro h2 em{font-style:normal;color:var(--wine)}
.real-intro-copy{
  display:grid;gap:20px;padding-top:14px;font-size:1.05rem;color:#505866;max-width:720px
}
.real-intro-copy strong{color:var(--ink)}

/* Filtri */
.real-portfolio{background:#fff}
.real-filterbar{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin:0 0 34px;padding-bottom:22px;border-bottom:1px solid var(--line)
}
.real-filter{
  appearance:none;border:1px solid var(--line);background:#fff;color:var(--ink);
  border-radius:999px;padding:10px 15px;font-weight:700;font-size:.78rem;
  cursor:pointer;transition:.2s ease
}
.real-filter:hover,.real-filter.active{
  background:var(--navy);border-color:var(--navy);color:#fff
}

/* Griglia editoriale */
.real-grid{
  display:grid;grid-template-columns:repeat(12,1fr);grid-auto-flow:dense;
  gap:16px
}
.real-card{
  position:relative;overflow:hidden;border-radius:20px;background:#111;color:#fff;
  min-height:360px;grid-column:span 5;isolation:isolate
}
.real-card.wide{grid-column:span 7}
.real-card.large{grid-column:span 7;min-height:550px}
.real-card.tall{grid-column:span 5;min-height:550px}
.real-card.hidden{display:none}
.real-card img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:transform .7s ease
}
.real-card:hover img{transform:scale(1.04)}
.real-card::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(0deg,rgba(3,6,12,.94) 0%,rgba(3,6,12,.48) 40%,rgba(3,6,12,.04) 74%)
}
.real-card-copy{
  position:absolute;z-index:2;left:28px;right:28px;bottom:25px
}
.real-card small{
  display:block;color:#d7c08c;font-size:.69rem;font-weight:800;
  letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px
}
.real-card h3{font-size:clamp(1.6rem,2.55vw,2.9rem);letter-spacing:-.035em}
.real-card p{margin-top:9px;color:rgba(255,255,255,.74);max-width:510px;font-size:.9rem}
.real-card-arrow{
  position:absolute;z-index:3;right:22px;top:22px;width:45px;height:45px;border-radius:50%;
  display:grid;place-items:center;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.16)
}

/* Featured project */
.real-feature{background:var(--coal-soft);color:#fff}
.real-feature-grid{
  display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center
}
.real-feature-media{
  position:relative;min-height:610px;border-radius:22px;overflow:hidden
}
.real-feature-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.real-feature-media::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(3,6,12,.55),transparent 55%)
}
.real-feature-copy .eyebrow{color:#d6c297}
.real-feature-copy h2{font-size:clamp(2.7rem,5vw,5.4rem)}
.real-feature-copy > p{margin-top:24px;color:rgba(255,255,255,.72);max-width:590px}
.real-feature-tags{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:28px
}
.real-feature-tags span{
  padding:8px 11px;border:1px solid rgba(255,255,255,.18);border-radius:999px;
  font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700
}
.real-feature-copy .btn{margin-top:32px}

/* Second portfolio band */
.real-more{background:var(--paper)}
.real-more-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:44px
}
.real-more-card{
  position:relative;overflow:hidden;border-radius:18px;background:#111;color:#fff;min-height:410px
}
.real-more-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.real-more-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,7,12,.88),transparent 60%)}
.real-more-copy{position:absolute;z-index:2;left:22px;right:22px;bottom:20px}
.real-more-copy small{display:block;color:#d7c08c;text-transform:uppercase;letter-spacing:.11em;font-weight:800;font-size:.67rem;margin-bottom:6px}
.real-more-copy h3{font-size:1.4rem}

/* Notebook */
@media (min-width:1181px) and (max-width:1600px){
  .real-feature-media{min-height:520px}
  .real-card.large,.real-card.tall{min-height:490px}
}

/* Tablet */
@media(max-width:1050px){
  .real-intro-grid,.real-feature-grid{grid-template-columns:1fr;gap:42px}
  .real-feature-media{min-height:480px}
  .real-more-grid{grid-template-columns:1fr 1fr}
}

/* Mobile */
@media(max-width:760px){
  .real-intro-grid{grid-template-columns:1fr;gap:22px}
  .real-intro-copy{padding-top:0;font-size:.97rem}
  .real-filterbar{
    flex-wrap:nowrap;overflow-x:auto;margin-left:-14px;margin-right:-14px;
    padding-left:14px;padding-right:14px;scrollbar-width:none
  }
  .real-filterbar::-webkit-scrollbar{display:none}
  .real-filter{flex:0 0 auto}

  .real-grid{grid-template-columns:1fr;gap:12px}
  .real-card,.real-card.wide,.real-card.large,.real-card.tall{
    grid-column:auto;min-height:390px;border-radius:16px
  }
  .real-card-copy{left:21px;right:21px;bottom:19px}
  .real-card h3{font-size:2rem}
  .real-card-arrow{right:16px;top:16px}

  .real-feature-grid{grid-template-columns:1fr;gap:28px}
  .real-feature-media{min-height:390px;border-radius:16px}
  .real-feature-copy h2{font-size:clamp(2.4rem,11vw,3.4rem)}

  .real-more-grid{grid-template-columns:1fr;gap:12px;margin-top:28px}
  .real-more-card{min-height:360px}
}



/* =========================================================
   REALIZZAZIONI v2 — APERTURA SENZA HERO
========================================================= */
.real-page .real-opening{
  background:#fff;
  padding-top:clamp(150px,12vw,220px);
  padding-bottom:clamp(70px,7vw,120px);
}
.real-opening .eyebrow{
  color:var(--wine);
  margin-bottom:24px;
}
.real-opening-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:80px;
  align-items:end;
}
.real-opening h1{
  margin:0;
  color:var(--ink);
  font-size:clamp(5rem,10vw,10.5rem);
  line-height:.82;
  letter-spacing:-.075em;
}
.real-opening-lead{
  margin:0 0 10px;
  max-width:700px;
  color:#505866;
  font-size:clamp(1.05rem,1.45vw,1.35rem);
  line-height:1.65;
}
.real-page .real-intro{
  padding-top:clamp(80px,8vw,130px);
  border-top:1px solid var(--line);
}
.real-page .real-intro h2{
  font-size:clamp(3.6rem,6vw,6.9rem);
  line-height:.91;
  letter-spacing:-.06em;
  overflow:visible;
}

@media (min-width:1181px) and (max-width:1600px){
  .real-page .real-opening{padding-top:150px}
  .real-opening-grid{gap:55px}
  .real-opening h1{font-size:clamp(5rem,9vw,8.2rem)}
  .real-page .real-intro h2{font-size:clamp(3.5rem,5.7vw,5.8rem)}
}

@media(max-width:1050px){
  .real-opening-grid{grid-template-columns:1fr;gap:28px}
  .real-opening h1{font-size:clamp(4.5rem,14vw,7.5rem)}
  .real-opening-lead{max-width:760px}
}

@media(max-width:760px){
  .real-page .real-opening{
    padding-top:120px;
    padding-bottom:58px;
  }
  .real-opening .eyebrow{margin-bottom:16px}
  .real-opening-grid{gap:22px}
  .real-opening h1{
    font-size:clamp(3.8rem,18vw,5.8rem);
    line-height:.88;
  }
  .real-opening-lead{
    font-size:.98rem;
    line-height:1.58;
  }
  .real-page .real-intro{
    padding-top:62px;
  }
  .real-page .real-intro h2{
    font-size:clamp(3rem,14vw,4.5rem);
    line-height:.92;
  }
}



/* REALIZZAZIONI v3 — PORTFOLIO FIRST */
.real-page .real-portfolio{padding-top:clamp(155px,12vw,220px)}
.real-page .real-portfolio > .container > .section-head{margin-bottom:34px;align-items:end}
.real-page .real-portfolio .section-head h1{
  margin:0;max-width:1050px;color:var(--ink);
  font-size:clamp(4.2rem,7.2vw,8rem);line-height:.9;letter-spacing:-.065em
}
.real-page .real-portfolio .section-head > p{
  max-width:650px;color:#505866;font-size:clamp(1rem,1.35vw,1.22rem);line-height:1.65
}
.real-page .real-portfolio .eyebrow{color:var(--wine);margin-bottom:22px}
.real-page .real-intro{border-top:0}
@media (min-width:1181px) and (max-width:1600px){
 .real-page .real-portfolio{padding-top:150px}
 .real-page .real-portfolio .section-head h1{font-size:clamp(4rem,6.5vw,6.5rem)}
}
@media(max-width:1050px){
 .real-page .real-portfolio .section-head{grid-template-columns:1fr;gap:25px;align-items:start}
}
@media(max-width:760px){
 .real-page .real-portfolio{padding-top:118px}
 .real-page .real-portfolio > .container > .section-head{margin-bottom:26px}
 .real-page .real-portfolio .section-head h1{font-size:clamp(3.2rem,14vw,4.8rem);line-height:.92}
 .real-page .real-portfolio .section-head > p{font-size:.98rem;line-height:1.58}
}



/* =========================================================
   REALIZZAZIONI v4 — PORTFOLIO FIRST + SECTION COLORS
========================================================= */

/* HEADER:
   evita che il bianco della prima sezione lo renda illeggibile.
   Mantiene la fascia superiore scura come nelle altre pagine. */
.real-page .site-header{
  background:rgba(5,8,14,.97) !important;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.real-page .site-header .nav-wrap{
  background:transparent !important;
}
.real-page .site-header a,
.real-page .site-header .desktop-nav > a,
.real-page .site-header .desktop-nav > .nav-item > a{
  color:#fff !important;
}
.real-page .site-header .brand img{
  filter:none;
}

/* PORTFOLIO — BIANCO */
.real-page .real-portfolio{
  background:#fff !important;
  padding-top:clamp(150px,11vw,205px) !important;
}
.real-page .real-portfolio > .container > .section-head{
  margin-bottom:28px !important;
  align-items:end !important;
}
.real-page .real-portfolio .section-head h1{
  margin:0;
  max-width:1000px;
  color:var(--ink);
  font-size:clamp(4rem,6.8vw,7.6rem);
  line-height:.92;
  letter-spacing:-.06em;
}
.real-page .real-portfolio .section-head > p{
  max-width:650px;
  color:#505866;
  font-size:clamp(1rem,1.25vw,1.18rem);
  line-height:1.62;
}
.real-page .real-portfolio .eyebrow{
  color:var(--wine);
  margin-bottom:20px;
}

/* FILTRI subito sotto titolo/testo */
.real-page .real-filterbar{
  margin-top:0 !important;
  margin-bottom:34px !important;
}

/* PROJECT HIGHLIGHT — SCURO */
.real-page .real-feature{
  background:var(--coal-soft) !important;
  color:#fff !important;
}

/* DALL'IDEA ALLA REALTÀ — PANNA */
.real-page .real-intro{
  background:var(--paper) !important;
  color:var(--ink) !important;
  border-top:0 !important;
}
.real-page .real-intro .eyebrow{
  color:var(--gold) !important;
}
.real-page .real-intro .eyebrow::before{
  background:var(--gold) !important;
}
.real-page .real-intro h2{
  color:var(--ink) !important;
}
.real-page .real-intro-copy{
  color:#505866 !important;
}

/* ALTRI MOMENTI — BIANCO */
.real-page .real-more{
  background:#fff !important;
  color:var(--ink) !important;
}
.real-page .real-more .eyebrow{
  color:var(--wine) !important;
}
.real-page .real-more .section-head > p{
  color:#505866 !important;
}

/* CTA FINALE — BORDEAUX */
.real-page .cta{
  background:var(--wine) !important;
  color:#fff !important;
}
.real-page .cta .eyebrow{
  color:#d8c18e !important;
}
.real-page .cta h2,
.real-page .cta h2 span,
.real-page .cta p{
  color:#fff !important;
}

/* Notebook */
@media (min-width:1181px) and (max-width:1600px){
  .real-page .real-portfolio{
    padding-top:145px !important;
  }
  .real-page .real-portfolio .section-head h1{
    font-size:clamp(3.8rem,6vw,6.2rem);
  }
}

/* Tablet */
@media(max-width:1050px){
  .real-page .real-portfolio > .container > .section-head{
    grid-template-columns:1fr !important;
    gap:22px !important;
    align-items:start !important;
  }
}

/* Mobile */
@media(max-width:760px){
  .real-page .site-header{
    background:rgba(5,8,14,.99) !important;
  }

  .real-page .real-portfolio{
    padding-top:112px !important;
  }

  .real-page .real-portfolio > .container > .section-head{
    margin-bottom:22px !important;
  }

  .real-page .real-portfolio .section-head h1{
    font-size:clamp(3rem,13vw,4.5rem);
    line-height:.94;
  }

  .real-page .real-portfolio .section-head > p{
    font-size:.96rem;
    line-height:1.56;
  }

  /* Swipe consentito solo sui filtri */
  .real-page .real-filterbar{
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    margin-left:-14px !important;
    margin-right:-14px !important;
    padding-left:14px !important;
    padding-right:14px !important;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .real-page .real-filterbar::-webkit-scrollbar{display:none}
  .real-page .real-filter{flex:0 0 auto}
}



/* =========================================================
   REALIZZAZIONI v5 — TESTATA PORTFOLIO PIÙ COMPATTA
========================================================= */

/* Avvicina tutto al menu/header */
.real-page .real-portfolio{
  padding-top:118px !important;
}

/* Titolo meno dominante */
.real-page .real-portfolio .section-head h1{
  max-width:760px !important;
  font-size:clamp(3rem,4.6vw,5.2rem) !important;
  line-height:.94 !important;
  letter-spacing:-.05em !important;
}

/* Riduce gli spazi della testata */
.real-page .real-portfolio .eyebrow{
  margin-bottom:12px !important;
}
.real-page .real-portfolio > .container > .section-head{
  margin-bottom:18px !important;
  gap:38px !important;
}

/* Filtri più vicini alla testata */
.real-page .real-filterbar{
  padding-bottom:18px !important;
  margin-bottom:28px !important;
}

/* Notebook */
@media (min-width:1181px) and (max-width:1600px){
  .real-page .real-portfolio{
    padding-top:108px !important;
  }
  .real-page .real-portfolio .section-head h1{
    font-size:clamp(2.8rem,4.2vw,4.7rem) !important;
  }
}

/* Tablet */
@media (max-width:1050px){
  .real-page .real-portfolio{
    padding-top:105px !important;
  }
  .real-page .real-portfolio > .container > .section-head{
    gap:15px !important;
  }
}

/* Mobile */
@media (max-width:760px){
  .real-page .real-portfolio{
    padding-top:92px !important;
  }
  .real-page .real-portfolio .section-head h1{
    font-size:clamp(2.55rem,11vw,3.7rem) !important;
  }
  .real-page .real-portfolio .eyebrow{
    margin-bottom:9px !important;
  }
  .real-page .real-portfolio > .container > .section-head{
    margin-bottom:14px !important;
  }
  .real-page .real-filterbar{
    margin-bottom:22px !important;
  }
}



/* =========================================================
   REALIZZAZIONI v6 — APERTURA DAVVERO COMPATTA
   Titolo ridotto + filtri vicini all'header/menu
========================================================= */

/* Riduce drasticamente lo spazio verticale iniziale */
.real-page .real-portfolio{
  padding-top:86px !important;
  padding-bottom:90px !important;
}

/* Head più orizzontale e compatta */
.real-page .real-portfolio > .container > .section-head{
  grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr) !important;
  gap:54px !important;
  align-items:end !important;
  margin-bottom:14px !important;
}

/* Titolo: dimensione da sezione, non da hero */
.real-page .real-portfolio .section-head h1{
  max-width:680px !important;
  font-size:clamp(2.8rem,3.7vw,4.4rem) !important;
  line-height:.96 !important;
  letter-spacing:-.045em !important;
}

/* Etichetta più vicina al titolo */
.real-page .real-portfolio .eyebrow{
  margin-bottom:10px !important;
}

/* Testo destro più compatto */
.real-page .real-portfolio .section-head > p{
  max-width:590px !important;
  margin-bottom:3px !important;
  font-size:1rem !important;
  line-height:1.55 !important;
}

/* Filtri immediatamente sotto la testata */
.real-page .real-filterbar{
  margin-top:0 !important;
  margin-bottom:28px !important;
  padding-top:0 !important;
  padding-bottom:16px !important;
}

/* Notebook */
@media (min-width:1181px) and (max-width:1600px){
  .real-page .real-portfolio{
    padding-top:76px !important;
  }
  .real-page .real-portfolio .section-head h1{
    font-size:clamp(2.65rem,3.5vw,3.9rem) !important;
    max-width:610px !important;
  }
  .real-page .real-portfolio > .container > .section-head{
    gap:42px !important;
  }
}

/* Tablet */
@media(max-width:1050px){
  .real-page .real-portfolio{
    padding-top:78px !important;
  }
  .real-page .real-portfolio > .container > .section-head{
    grid-template-columns:1fr !important;
    gap:12px !important;
    margin-bottom:14px !important;
  }
  .real-page .real-portfolio .section-head h1{
    max-width:650px !important;
  }
  .real-page .real-portfolio .section-head > p{
    max-width:650px !important;
  }
}

/* Mobile */
@media(max-width:760px){
  .real-page .real-portfolio{
    padding-top:72px !important;
    padding-bottom:68px !important;
  }
  .real-page .real-portfolio .section-head h1{
    font-size:clamp(2.35rem,10vw,3.25rem) !important;
    max-width:100% !important;
  }
  .real-page .real-portfolio .eyebrow{
    margin-bottom:8px !important;
  }
  .real-page .real-portfolio > .container > .section-head{
    gap:10px !important;
    margin-bottom:12px !important;
  }
  .real-page .real-filterbar{
    margin-bottom:20px !important;
    padding-bottom:12px !important;
  }
}



/* =========================================================
   REALIZZAZIONI v7 — RESPIRO TRA HEADER E CONTENUTO
========================================================= */

/* Più respiro dopo l'header, senza tornare all'effetto hero */
.real-page .real-portfolio{
  padding-top:118px !important;
}

/* Mantiene compatto il blocco interno */
.real-page .real-portfolio > .container > .section-head{
  margin-bottom:16px !important;
}

/* Notebook */
@media (min-width:1181px) and (max-width:1600px){
  .real-page .real-portfolio{
    padding-top:104px !important;
  }
}

/* Tablet */
@media(max-width:1050px){
  .real-page .real-portfolio{
    padding-top:96px !important;
  }
}

/* Mobile */
@media(max-width:760px){
  .real-page .real-portfolio{
    padding-top:88px !important;
  }
}



/* =========================================================
   REALIZZAZIONI v8 — SEARCH / VIEW MODE / LIGHTBOX
========================================================= */

/* Toolbar filtri + strumenti */
.real-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:28px;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}

.real-toolbar .real-filterbar{
  flex:1;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}

.real-view-tools{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}

.real-tool-btn{
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:.2s ease;
}

.real-tool-btn:hover,
.real-tool-btn.active{
  background:var(--navy);
  border-color:var(--navy);
  color:#fff;
}

.real-tool-btn svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.real-tool-btn rect{
  fill:none;
  stroke:currentColor;
}

.real-search-wrap{
  display:flex;
  align-items:center;
  position:relative;
}

.real-search-input{
  width:0;
  opacity:0;
  visibility:hidden;
  margin-left:0;
  padding:0;
  height:46px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  font-size:.88rem;
  transition:width .28s ease,opacity .2s ease,margin-left .28s ease,padding .28s ease;
}

.real-search-wrap.open .real-search-input{
  width:230px;
  opacity:1;
  visibility:visible;
  margin-left:8px;
  padding:0 16px;
}

.real-search-input:focus{
  outline:none;
  border-color:var(--navy);
}

/* Modalità colonne uniformi */
.real-grid.columns-view{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  grid-auto-flow:row !important;
}

.real-grid.columns-view .real-card,
.real-grid.columns-view .real-card.wide,
.real-grid.columns-view .real-card.large,
.real-grid.columns-view .real-card.tall{
  grid-column:auto !important;
  min-height:420px !important;
}

.real-grid.columns-view .real-card h3{
  font-size:clamp(1.45rem,2vw,2rem);
}

/* stato ricerca */
.real-card.search-hidden{
  display:none !important;
}

.real-search-empty{
  display:none;
  padding:34px 0 10px;
  color:#6a717d;
  font-size:1rem;
}

.real-search-empty.visible{
  display:block;
}

/* Foto cliccabili */
.real-card img,
.real-more-card img,
.real-feature-media img{
  cursor:zoom-in;
}

/* LIGHTBOX */
.real-lightbox{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(3,6,12,.94);
  backdrop-filter:blur(8px);
  padding:32px;
}

.real-lightbox.open{
  display:flex;
}

.real-lightbox-figure{
  width:min(92vw,1500px);
  height:min(86vh,980px);
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
}

.real-lightbox-figure img{
  max-width:100%;
  max-height:calc(86vh - 52px);
  object-fit:contain;
  border-radius:10px;
  box-shadow:0 24px 80px rgba(0,0,0,.38);
}

.real-lightbox-figure figcaption{
  color:rgba(255,255,255,.78);
  font-size:.85rem;
  text-align:center;
}

.real-lightbox-close,
.real-lightbox-prev,
.real-lightbox-next{
  position:absolute;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
  border-radius:999px;
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  font-size:2rem;
  line-height:1;
}

.real-lightbox-close{
  top:22px;
  right:22px;
  font-size:1.7rem;
}

.real-lightbox-prev{
  left:24px;
  top:50%;
  transform:translateY(-50%);
}

.real-lightbox-next{
  right:24px;
  top:50%;
  transform:translateY(-50%);
}

.real-lightbox-close:hover,
.real-lightbox-prev:hover,
.real-lightbox-next:hover{
  background:#fff;
  color:var(--ink);
}

/* Notebook */
@media (min-width:1181px) and (max-width:1600px){
  .real-search-wrap.open .real-search-input{
    width:190px;
  }

  .real-grid.columns-view{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }

  .real-grid.columns-view .real-card,
  .real-grid.columns-view .real-card.wide,
  .real-grid.columns-view .real-card.large,
  .real-grid.columns-view .real-card.tall{
    min-height:360px !important;
  }
}

/* Tablet */
@media(max-width:1050px){
  .real-toolbar{
    align-items:flex-start;
    flex-direction:column;
  }

  .real-view-tools{
    width:100%;
    justify-content:flex-end;
  }

  .real-grid.columns-view{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

/* Mobile */
@media(max-width:760px){
  .real-toolbar{
    gap:12px;
    margin-bottom:22px;
    padding-bottom:12px;
  }

  .real-toolbar .real-filterbar{
    width:100%;
    overflow-x:auto;
    flex-wrap:nowrap;
  }

  .real-view-tools{
    justify-content:flex-start;
  }

  .real-tool-btn{
    width:42px;
    height:42px;
  }

  .real-search-wrap{
    flex:1;
  }

  .real-search-wrap.open{
    flex:1;
  }

  .real-search-wrap.open .real-search-input{
    width:100%;
    min-width:0;
    height:42px;
  }

  .real-grid.columns-view{
    grid-template-columns:1fr !important;
  }

  .real-grid.columns-view .real-card,
  .real-grid.columns-view .real-card.wide,
  .real-grid.columns-view .real-card.large,
  .real-grid.columns-view .real-card.tall{
    min-height:380px !important;
  }

  .real-lightbox{
    padding:16px;
  }

  .real-lightbox-figure{
    width:100%;
    height:82vh;
  }

  .real-lightbox-prev,
  .real-lightbox-next{
    width:44px;
    height:44px;
    top:auto;
    bottom:18px;
    transform:none;
  }

  .real-lightbox-prev{left:18px}
  .real-lightbox-next{right:18px}

  .real-lightbox-close{
    width:44px;
    height:44px;
    top:14px;
    right:14px;
  }
}



/* =========================================================
   REALIZZAZIONI v9 — ALTRI MOMENTI SU FONDO PANNA
========================================================= */
.real-page .real-more{
  background:var(--paper) !important;
  color:var(--ink) !important;
}

.real-page .real-more .eyebrow{
  color:var(--gold) !important;
}

.real-page .real-more .eyebrow::before{
  background:var(--gold) !important;
}

.real-page .real-more .section-head h2{
  color:var(--ink) !important;
}

.real-page .real-more .section-head h2 em,
.real-page .real-more .section-head h2 span{
  color:var(--wine) !important;
}

.real-page .real-more .section-head > p{
  color:#505866 !important;
}



/* =========================================================
   REALIZZAZIONI v10
   Testata portfolio allineata cromaticamente e negli spazi
   alla sezione "Altri momenti"
========================================================= */

/* Stesso fondo panna di "Altri momenti" */
.real-page .real-portfolio{
  background:var(--paper) !important;
  color:var(--ink) !important;

  /* più respiro tra header e inizio contenuto */
  padding-top:clamp(145px,9vw,190px) !important;
  padding-bottom:clamp(105px,7vw,150px) !important;
}

/* Stesso trattamento eyebrow */
.real-page .real-portfolio .eyebrow{
  color:var(--gold) !important;
  margin-bottom:18px !important;
}
.real-page .real-portfolio .eyebrow::before{
  background:var(--gold) !important;
}

/* Titolo come palette di "Altri momenti" */
.real-page .real-portfolio .section-head h1{
  color:var(--ink) !important;
}

/* Descrizione */
.real-page .real-portfolio .section-head > p{
  color:#505866 !important;
}

/* Più aria interna prima dei filtri */
.real-page .real-portfolio > .container > .section-head{
  margin-bottom:30px !important;
}

/* Toolbar: mantiene separazione elegante dal contenuto */
.real-page .real-toolbar{
  margin-top:0 !important;
  margin-bottom:42px !important;
  padding-bottom:24px !important;
  border-bottom:1px solid rgba(16,23,35,.14) !important;
}

/* I controlli restano leggibili sul panna */
.real-page .real-tool-btn,
.real-page .real-search-input{
  background:#fff !important;
}

/* Notebook */
@media (min-width:1181px) and (max-width:1600px){
  .real-page .real-portfolio{
    padding-top:130px !important;
    padding-bottom:115px !important;
  }
  .real-page .real-portfolio > .container > .section-head{
    margin-bottom:26px !important;
  }
  .real-page .real-toolbar{
    margin-bottom:36px !important;
    padding-bottom:22px !important;
  }
}

/* Tablet */
@media(max-width:1050px){
  .real-page .real-portfolio{
    padding-top:120px !important;
    padding-bottom:100px !important;
  }
  .real-page .real-portfolio > .container > .section-head{
    margin-bottom:24px !important;
  }
}

/* Mobile */
@media(max-width:760px){
  .real-page .real-portfolio{
    padding-top:105px !important;
    padding-bottom:82px !important;
  }
  .real-page .real-portfolio .eyebrow{
    margin-bottom:14px !important;
  }
  .real-page .real-portfolio > .container > .section-head{
    margin-bottom:20px !important;
  }
  .real-page .real-toolbar{
    margin-bottom:30px !important;
    padding-bottom:18px !important;
  }
}



/* =========================================================
   REALIZZAZIONI v11 — FIX ICONS + LIGHTBOX
========================================================= */
.real-tool-btn svg{
  display:block !important;
  width:18px !important;
  height:18px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.9 !important;
}
.real-tool-btn svg rect,
.real-tool-btn svg circle,
.real-tool-btn svg line,
.real-tool-btn svg path{
  fill:none !important;
  stroke:currentColor !important;
  vector-effect:non-scaling-stroke;
}

/* Il bottone attivo deve mostrare chiaramente l'icona */
.real-tool-btn.active svg,
.real-tool-btn:hover svg{
  color:#fff !important;
}

/* Lightbox sempre sopra a tutto */
.real-lightbox{
  z-index:2147483000 !important;
}
.real-lightbox.open{
  display:flex !important;
}



/* =========================================================
   REALIZZAZIONI v12 — FIX REALE ICONA + ZOOM
========================================================= */

/* In v10 il background bianco !important annullava lo stato active.
   Ripristino esplicitamente il navy per il controllo selezionato. */
.real-page .real-tool-btn.active,
.real-page .real-tool-btn:hover{
  background:var(--navy) !important;
  border-color:var(--navy) !important;
  color:#fff !important;
}
.real-page .real-tool-btn.active svg,
.real-page .real-tool-btn:hover svg{
  stroke:#fff !important;
}

/* Le overlay delle card non devono intercettare il click destinato allo zoom */
.real-page .real-card::after,
.real-page .real-more-card::after,
.real-page .real-feature-media::after{
  pointer-events:none !important;
}

/* Tutta la card/immagine è cliccabile per lo zoom */
.real-page .real-card,
.real-page .real-more-card,
.real-page .real-feature-media{
  cursor:zoom-in;
}



/* REALIZZAZIONI v13 — FILTRO ANNO PILL */
.real-year-filter{flex:0 0 auto}
.real-year-filter select{
  appearance:none;-webkit-appearance:none;
  height:42px;
  padding:0 38px 0 18px;
  border:1px solid rgba(16,23,35,.16);
  border-radius:999px;
  background-color:transparent;
  color:var(--ink);
  font:inherit;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.01em;
  cursor:pointer;
  transition:background .2s ease,border-color .2s ease,color .2s ease;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23101723' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
}
.real-year-filter select:hover{
  border-color:var(--navy);
  background-color:rgba(255,255,255,.48);
}
.real-year-filter select:focus{
  outline:none;
  border-color:var(--navy);
}
.real-toolbar-separator{
  display:block;
  width:1px;
  height:26px;
  margin:0 10px;
  background:rgba(16,23,35,.18);
  flex:0 0 auto;
}
.real-toolbar .real-filterbar{flex:1 !important}
.real-view-tools{margin-left:auto}

@media(max-width:760px){
  .real-toolbar{
    flex-direction:row !important;
    flex-wrap:wrap !important;
    align-items:center !important;
  }
  .real-year-filter{order:1}
  .real-toolbar-separator{order:2}
  .real-toolbar .real-filterbar{
    order:3;
    flex:1 1 100% !important;
    width:100% !important;
  }
  .real-view-tools{
    order:4;
    width:100% !important;
  }
}



/* HEADER MOBILE — logo uniformato alla homepage */
@media (max-width:760px){
  .brand img{
    width:175px !important;
    height:52px !important;
    max-width:100% !important;
    object-fit:contain !important;
    object-position:left center !important;
  }
}



/* REALIZZAZIONI — footer attaccato alla CTA finale */
.real-final-cta{
  margin-bottom:0 !important;
}
.real-final-cta + footer,
footer.footer{
  margin-top:0 !important;
}



/* REALIZZAZIONI — FIX REALE CONTINUITÀ CTA / FOOTER */
body > footer.footer,
body > footer{
  margin-top:0 !important;
}
footer.footer{
  margin-top:0 !important;
}

/* elimina il distacco bianco generato dal wrapper/sezione subito prima del footer */
section.cta,
.cta-section,
.final-cta,
.cta-final,
.real-cta,
.real-final-cta{
  margin-bottom:0 !important;
}



.real-card-gallery{cursor:pointer}
.project-gallery{
  position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;
  padding:28px;background:rgba(8,11,16,.94);backdrop-filter:blur(8px)
}
.project-gallery.is-open{display:flex}
.project-gallery-inner{position:relative;width:min(1180px,94vw);max-height:92vh;text-align:center}
.project-gallery img{max-width:100%;max-height:78vh;width:auto;height:auto;object-fit:contain;border-radius:16px}
.project-gallery-title{margin-top:14px;color:#fff;font-size:.95rem}
.project-gallery button{
  position:absolute;border:1px solid rgba(255,255,255,.28);background:rgba(15,20,28,.78);
  color:#fff;cursor:pointer;display:grid;place-items:center;border-radius:50%
}
.project-gallery-close{top:-18px;right:-18px;width:48px;height:48px;font-size:1.5rem}
.project-gallery-prev,.project-gallery-next{top:50%;width:52px;height:52px;transform:translateY(-50%);font-size:1.6rem}
.project-gallery-prev{left:-70px}.project-gallery-next{right:-70px}
@media(max-width:760px){
  .project-gallery{padding:16px}
  .project-gallery img{max-height:72vh;border-radius:12px}
  .project-gallery-close{top:-8px;right:-4px}
  .project-gallery-prev{left:4px}.project-gallery-next{right:4px}
}



/* =========================================================
   REALIZZAZIONI — LIGHTBOX CON MINIATURE CLICCABILI
========================================================= */
.project-gallery-inner{
  width:min(1180px,94vw) !important;
  max-height:94vh !important;
}
.project-gallery-stage{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:0;
}
.project-gallery-main{
  display:block;
  max-width:100%;
  max-height:68vh !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
}
.project-gallery-title{
  margin:12px 0 14px !important;
}
.project-gallery-thumbs{
  width:100%;
  display:flex;
  justify-content:center;
  gap:10px;
  overflow-x:auto;
  padding:3px 3px 5px;
  scrollbar-width:thin;
}
.project-gallery-thumb{
  flex:0 0 112px;
  width:112px;
  height:72px;
  padding:0;
  overflow:hidden;
  border:2px solid transparent !important;
  border-radius:10px !important;
  background:#111720 !important;
  opacity:.58;
  cursor:pointer;
  transition:opacity .2s ease, border-color .2s ease, transform .2s ease;
  position:relative !important;
  inset:auto !important;
  transform:none !important;
}
.project-gallery-thumb img{
  display:block;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:cover !important;
  border-radius:8px !important;
}
.project-gallery-thumb:hover{
  opacity:.9;
}
.project-gallery-thumb.is-active{
  opacity:1;
  border-color:#d6bc7d !important;
  transform:translateY(-2px) !important;
}
.project-gallery-thumb:focus-visible{
  outline:2px solid #fff;
  outline-offset:2px;
}

@media(max-width:760px){
  .project-gallery-main{
    max-height:61vh !important;
  }
  .project-gallery-title{
    margin-bottom:10px !important;
    font-size:.82rem;
  }
  .project-gallery-thumbs{
    justify-content:flex-start;
    gap:8px;
  }
  .project-gallery-thumb{
    flex-basis:82px;
    width:82px;
    height:58px;
    border-radius:8px !important;
  }
}



/* FIX doppia gallery Erasmus:
   la card progetto usa solo projectGallery; z-index superiore come ulteriore sicurezza */
.project-gallery{
  z-index:2147483600 !important;
}



/* Corporate Experience metadata inside project gallery */
.project-gallery-title{
  margin-bottom:6px !important;
  color:#d6bc7d !important;
  font-size:.78rem !important;
  font-weight:800 !important;
  letter-spacing:.11em !important;
  text-transform:uppercase !important;
}
.project-gallery-description{
  margin:0 0 14px;
  color:rgba(255,255,255,.86);
  font-size:.95rem;
  line-height:1.5;
  text-align:center;
}
@media(max-width:760px){
  .project-gallery-description{
    font-size:.82rem;
    line-height:1.45;
    padding:0 8px;
  }
}




/* =========================================================
   REALIZZAZIONI — GRID AUTO-ADATTIVA AI FILTRI
   Con filtri/anno/ricerca attivi: 2 card per riga;
   ultima card dispari a tutta larghezza.
   La vista “Tutti” mantiene il layout editoriale originale.
========================================================= */
.real-grid .real-card.filter-span-6{
  grid-column:span 6 !important;
}
.real-grid .real-card.filter-span-12{
  grid-column:span 12 !important;
}

/* Nella vista filtrata uniformiamo l’altezza delle card,
   evitando che classi editoriali come large/tall alterino le righe. */
.real-grid.filter-layout-active .real-card:not(.search-hidden){
  min-height:360px !important;
}

/* La modalità colonne continua ad avere priorità. */
.real-grid.columns-view .real-card.filter-span-6,
.real-grid.columns-view .real-card.filter-span-12{
  grid-column:auto !important;
}

@media (min-width:1181px) and (max-width:1600px){
  .real-grid.filter-layout-active .real-card:not(.search-hidden){
    min-height:360px !important;
  }
}

@media(max-width:760px){
  .real-grid .real-card.filter-span-6,
  .real-grid .real-card.filter-span-12{
    grid-column:auto !important;
  }
  .real-grid.filter-layout-active .real-card:not(.search-hidden){
    min-height:390px !important;
  }
}


/* Footer telefoni: stessa riga su desktop */
.footer-phones{
  display:inline-flex !important;
  align-items:baseline !important;
  gap:.35em !important;
  flex-wrap:nowrap !important;
  white-space:nowrap !important;
}
.footer-phones a{
  display:inline !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
}
.footer-phone-sep{
  display:inline !important;
  margin:0 .15em !important;
}
@media (max-width:700px){
  .footer-phones{
    display:inline-flex !important;
    flex-wrap:wrap !important;
    white-space:normal !important;
    row-gap:.2em !important;
  }
}


/* Footer e-mail + sito: stessa riga su desktop */
.footer-email-site{
  display:inline-flex !important;
  align-items:baseline !important;
  gap:.35em !important;
  flex-wrap:nowrap !important;
  white-space:nowrap !important;
}
.footer-email-site a{
  display:inline !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
}
.footer-contact-sep{
  display:inline !important;
  margin:0 .15em !important;
}
@media (max-width:700px){
  .footer-email-site{
    display:inline-flex !important;
    flex-wrap:wrap !important;
    white-space:normal !important;
    row-gap:.2em !important;
  }
}


/* REALIZZAZIONI — coppia CNR / TAGINA: allineamento editoriale */
.real-grid .real-card.exhibition-pair{
  grid-column:span 6;
  min-height:460px;
}
.real-grid .real-card.exhibition-pair .real-card-copy{
  left:28px;
  right:28px;
  bottom:26px;
}
.real-grid .real-card.exhibition-pair h3{
  font-size:clamp(1.9rem,2.55vw,2.9rem);
  line-height:.98;
  max-width:95%;
}
.real-grid.columns-view .real-card.exhibition-pair{
  grid-column:auto !important;
  min-height:360px;
}
@media(max-width:1050px){
  .real-grid .real-card.exhibition-pair{
    grid-column:span 6;
    min-height:410px;
  }
  .real-grid .real-card.exhibition-pair h3{
    font-size:clamp(1.7rem,3vw,2.35rem);
  }
}
@media(max-width:760px){
  .real-grid .real-card.exhibition-pair{
    grid-column:auto !important;
    min-height:390px;
  }
  .real-grid .real-card.exhibition-pair .real-card-copy{
    left:21px;
    right:21px;
    bottom:19px;
  }
}


    /* Conero Film Festival — allineamento card e cover */
    .conero-film-card > img{
      object-fit: cover;
      object-position: center 12%;
    }
    .conero-film-card .real-card-copy h3{
      white-space: nowrap;
      font-size: clamp(1.7rem, 2.45vw, 3rem);
    }
    @media (max-width: 760px){
      .conero-film-card .real-card-copy h3{
        white-space: normal;
      }
      .conero-film-card > img{
        object-position: center 24%;
      }
    }


    


    /* Live & Entertainment: mostra il bordo superiore della foto, evitando il taglio della testa */
    .live-entertainment-card > img{
      object-fit: cover;
      object-position: center top !important;
    }


    /* Numana & ZERO7UNO — ultima gallery full width */
    @media (min-width: 761px){
      .real-grid > .numana-zero7uno-card{
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: none !important;
      }
    }
