:root{
    --bg:#FFFFFF; --surface:#F5F7FA; --surface-2:#EAEFF4; --surface-3:#DCE4EC;
    --text:#111315; --text-dim:#52585F; --text-faint:#868D96;
    --accent:#0072BB; --accent-strong:#00568C; --accent-soft:#E6F2F8;
    --on-accent:#FFFFFF;
    --border:rgba(17,19,21,.12);
    --shadow: 0 20px 50px -28px rgba(17,19,21,.28);
    color-scheme: light;
  }
  /* Deliberate single-theme brand palette (white / black / #0072BB blue) — no dark-mode variant by design. */

  *{box-sizing:border-box;}
  body{
    background:var(--bg); color:var(--text);
    font-family:"Jost",system-ui,-apple-system,"Segoe UI",sans-serif;
    font-size:1.08rem;
    line-height:1.6; -webkit-font-smoothing:antialiased;
    padding-inline:0; margin:0;
  }
  h1,h2,h3{font-family:"Playfair Display",Georgia,"Times New Roman",serif; text-transform:none; text-wrap:balance; margin:0; font-weight:700; letter-spacing:0;}
  .mono{font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,monospace;}
  a{color:inherit;}
  img,svg{max-width:100%;}
  .wrap{max-width:1180px; margin-inline:auto; padding-inline:clamp(18px,4vw,48px);}
  section{padding-block:clamp(56px,9vw,120px);}
  .eyebrow{
    font-family:"Jost",sans-serif; font-weight:600; font-size:.76rem; letter-spacing:.2em; text-transform:uppercase;
    color:var(--accent); display:inline-flex; align-items:center; gap:.6em; margin-bottom:1.1em;
  }
  .eyebrow::before{content:""; width:22px; height:1px; background:var(--accent); display:inline-block;}
  .eyebrow-light{color:#FFFFFF;}
  .eyebrow-light::before{background:#FFFFFF;}
  .btn{
    font-family:"Jost",sans-serif; font-weight:600; font-size:.82rem; letter-spacing:.06em; text-transform:uppercase;
    padding:.95em 1.7em; border-radius:2px; border:1px solid transparent; cursor:pointer; white-space:nowrap;
    display:inline-flex; align-items:center; gap:.6em; transition:transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
    text-decoration:none;
  }
  .btn-primary{background:var(--accent); color:var(--on-accent);}
  .btn-primary:hover{background:var(--accent-strong); transform:translateY(-2px);}
  .btn-ghost{border-color:var(--border); color:var(--text);}
  .btn-ghost:hover{border-color:var(--accent); color:var(--accent); transform:translateY(-2px);}
  .btn-outline-light{border-color:rgba(255,255,255,.75); color:#fff;}
  .btn-outline-light:hover{border-color:#fff; background:rgba(255,255,255,.14); transform:translateY(-2px);}
  .btn-nav{padding:.68em 1.4em; font-size:.85rem; letter-spacing:.03em;}

  /* ---- nav ---- */
  header{
    position:sticky; top:env(safe-area-inset-top,0px); z-index:50;
    background:var(--bg);
    border-bottom:1px solid var(--border);
  }
  .nav-row{display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:1.6rem; padding-block:.7rem;}
  .nav-row-simple{display:flex; justify-content:space-between; align-items:center;}
  .brand{display:flex; align-items:center; gap:.7em; text-decoration:none; color:var(--text);}
  .brand-logo{height:96px; width:auto; min-width:161px; display:block; flex:none;}
  .brand .mark{color:var(--accent); width:28px; flex:none; display:inline-flex;}
  .brand-text{display:flex; flex-direction:column; line-height:1.1; gap:.12em;}
  .brand .n{font-family:"Playfair Display",serif; font-weight:700; font-size:1.4rem;}
  .brand .k{font-family:"Jost",sans-serif; font-size:.6rem; font-weight:500; letter-spacing:.24em; text-transform:uppercase; color:var(--text-faint);}
  nav.links{display:flex; gap:.85rem; align-items:center; justify-content:center;}
  nav.links a{
    font-family:"Jost",sans-serif; font-size:.95rem; font-weight:500; letter-spacing:.05em; text-transform:uppercase;
    text-decoration:none; color:var(--text); position:relative; padding-block:.3em; white-space:nowrap;
  }
  nav.links a::after{content:""; position:absolute; left:0; right:100%; bottom:0; height:2px; background:var(--accent); transition:right .25s ease;}
  nav.links a:hover{color:var(--accent);}
  nav.links a:hover::after{right:0;}
  nav.links a.is-active{color:var(--accent);}
  nav.links a.is-active::after{right:0;}
  .nav-dot{color:var(--text-faint); font-size:1.2rem; line-height:1; transform:translateY(-1px);}
  .nav-right{display:flex; align-items:center; gap:1.8rem;}
  .lang-select{position:relative; font-family:"Jost",sans-serif; font-size:.78rem; font-weight:500;}
  .lang-current{
    display:flex; align-items:center; gap:.5em; background:none; border:1px solid var(--border); color:var(--text);
    cursor:pointer; padding:.4em .7em; border-radius:3px; transition:border-color .2s, background .2s;
  }
  .lang-current:hover{border-color:var(--accent);}
  .lang-select.open .lang-current{border-color:var(--accent); background:var(--accent-soft);}
  .lang-current .flag{font-size:1.05em; line-height:1;}
  .lang-current .chev{color:var(--text-faint); transition:transform .2s ease;}
  .lang-select.open .lang-current .chev{transform:rotate(180deg);}
  .lang-menu{
    list-style:none; margin:0; padding:.4em; position:absolute; top:calc(100% + 8px); right:0; min-width:150px;
    background:var(--bg); border:1px solid var(--border); border-radius:6px; box-shadow:var(--shadow);
    opacity:0; transform:translateY(-6px); pointer-events:none; transition:opacity .18s ease, transform .18s ease; z-index:60;
  }
  .lang-select.open .lang-menu{opacity:1; transform:translateY(0); pointer-events:auto;}
  .lang-menu li{display:flex; align-items:center; gap:.65em; padding:.55em .6em; border-radius:4px; cursor:pointer; color:var(--text);}
  .lang-menu li:hover{background:var(--accent-soft);}
  .lang-menu li[aria-selected="true"]{color:var(--accent); font-weight:600;}
  .lang-menu li .flag{font-size:1.1em;}
  .burger{display:none; background:none; border:1px solid var(--border); color:var(--text); width:38px; height:38px; border-radius:2px; cursor:pointer; align-items:center; justify-content:center;}
  .burger span, .burger span::before, .burger span::after{content:""; display:block; width:16px; height:1.5px; background:var(--text); position:relative; transition:transform .2s;}
  .burger span::before{position:absolute; top:-5px;} .burger span::after{position:absolute; top:5px;}

  /* homepage-only: no white header bar, header floats over the hero video */
  /* (header.home-header covers the hosted single-file build, which has no <body> tag of its own) */
  body.home header, header.home-header{
    position:absolute; top:0; left:0; right:0; background:transparent; border-bottom:none; box-shadow:none;
  }
  body.home header .brand, header.home-header .brand{color:#fff;}
  body.home header .lang-current, header.home-header .lang-current{
    border-color:rgba(255,255,255,.7); color:#fff; background:rgba(255,255,255,.1);
    -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); text-shadow:0 1px 3px rgba(0,0,0,.4);
  }
  body.home header .lang-current:hover, header.home-header .lang-current:hover{border-color:#fff;}
  body.home header .lang-current .chev, header.home-header .lang-current .chev{color:#fff;}
  body.home header .lang-select.open .lang-current, header.home-header .lang-select.open .lang-current{background:rgba(255,255,255,.2); border-color:#fff;}

  @media (max-width:1180px){
    nav.links{
      position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:flex-start; gap:0;
      background:var(--bg); border-bottom:1px solid var(--border); padding:1rem clamp(18px,4vw,48px);
      transform-origin:top; transform:scaleY(0); opacity:0; pointer-events:none; transition:transform .22s ease, opacity .22s ease;
    }
    nav.links a{padding-block:.8em; width:100%; border-bottom:1px solid var(--border);}
    header.open nav.links{transform:scaleY(1); opacity:1; pointer-events:auto;}
    .burger{display:flex;}
    .btn-nav{display:none;}
    .nav-dot{display:none;}
  }

  /* ---- hero ---- */
  .hero{position:relative; overflow:hidden; padding-block:0; min-height:min(94vh,960px); display:flex; align-items:center;}
  /* homepage-only: header+hero+footer fill the viewport exactly, no leftover whitespace below the footer */
  .home-shell{display:flex; flex-direction:column; min-height:100vh;}
  .home-shell > main{flex:1 1 auto; display:flex; min-height:0;}
  .home-shell > main > .hero{flex:1 1 auto; min-height:0;}
  .hero-media{position:absolute; inset:0; z-index:0; background:linear-gradient(160deg,var(--accent-strong),#0E2033);}
  .hero-media video{width:100%; height:100%; object-fit:cover; display:block;}
  .hero-overlay{position:absolute; inset:0; background:linear-gradient(180deg, rgba(6,12,20,.62) 0%, rgba(6,12,20,.58) 45%, rgba(6,12,20,.86) 100%);}
  .hero-content{position:relative; z-index:1; padding-block:clamp(90px,16vw,140px) clamp(70px,10vw,100px); text-align:center;}
  .hero-title{font-size:clamp(2.8rem,7.4vw,5.8rem); font-weight:700; color:#fff; line-height:1.1;}
  .hero-title span{display:block;}
  .hero-title .italic{font-style:italic; font-weight:500; color:#fff;}
  .hero .sub.hero-sub{color:rgba(255,255,255,.92); font-size:1.4rem; max-width:68ch; margin:1.3em auto 2.2em; font-family:"Jost",sans-serif; font-style:normal; font-weight:400; line-height:1.65;}
  .hero .cta-row{justify-content:center;}
  .cta-row{display:flex; gap:1rem; flex-wrap:wrap;}

  /* ---- hero option menu + cta ---- */
  .hero-pick{
    color:rgba(255,255,255,.85); font-family:"Jost",sans-serif; font-weight:600; font-size:.92rem;
    letter-spacing:.18em; text-transform:uppercase; margin:0 0 1.3rem;
  }
  .hero-menu{
    display:grid; grid-template-columns:repeat(3,1fr); gap:18px;
    max-width:940px; margin:0 auto; padding:0;
  }
  .hero-option{
    display:flex; align-items:center; justify-content:center; text-align:center;
    padding:1.35em 1.4em; border:1.5px solid rgba(255,255,255,.75); border-radius:3px;
    color:#fff; text-decoration:none; font-family:"Jost",sans-serif; font-weight:600;
    font-size:1.05rem; letter-spacing:.05em; text-transform:uppercase;
    transition:background .2s ease, border-color .2s ease, transform .2s ease;
  }
  .hero-option:hover, .hero-option:focus-visible{background:var(--accent); border-color:var(--accent); transform:translateY(-2px);}
  .hero-cta{
    margin:2.4rem auto 0; background:var(--accent); border:1.5px solid var(--accent); color:#fff;
    font-weight:700; font-size:1.1rem; padding:1.2em 3.2em;
  }
  .hero-cta:hover{background:transparent; border-color:rgba(255,255,255,.85); color:#fff; transform:translateY(-2px);}
  .scroll-cue{position:absolute; left:50%; bottom:26px; transform:translateX(-50%); z-index:1; display:flex; flex-direction:column; align-items:center; gap:.5em; color:rgba(255,255,255,.85); font-family:"Jost",sans-serif; font-size:.68rem; font-weight:500; letter-spacing:.24em; text-transform:uppercase;}
  @media (prefers-reduced-motion:no-preference){
    .scroll-cue svg{animation:bob 1.8s ease-in-out infinite;}
    @keyframes bob{0%,100%{transform:translateY(0);} 50%{transform:translateY(5px);}}
  }
  /* ---- mobile hero: shrink everything so it fits one screen, no scroll ---- */
  @media (max-width:640px){
    .hero{min-height:100svh;}
    .hero-content{padding-block:70px 16px;}
    .hero-title{font-size:1.7rem; line-height:1.12;}
    .hero .sub.hero-sub{font-size:.76rem; line-height:1.42; margin:.55em auto .85em; max-width:30ch;}
    .hero-pick{font-size:.56rem; letter-spacing:.1em; margin:0 0 .55rem;}
    .hero-menu{grid-template-columns:repeat(2,1fr); gap:7px;}
    .hero-option{padding:.55em .4em; font-size:.62rem; letter-spacing:.01em;}
    .hero-cta{margin:.85rem auto 0; font-size:.7rem; padding:.65em 1.6em;}
    .scroll-cue{display:none;}
  }

  /* ---- section headers ---- */
  .sec-head{display:flex; justify-content:space-between; align-items:flex-end; gap:1.5rem; margin-bottom:clamp(28px,4vw,48px); flex-wrap:wrap;}
  .sec-head h2{font-size:clamp(1.9rem,4vw,3rem); font-weight:800;}
  .sec-head p{color:var(--text-dim); font-size:1.15rem; max-width:40ch; margin:0;}

  /* ---- reveal ---- */
  .reveal{opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.is-visible{opacity:1; transform:none;}
  @media (prefers-reduced-motion:reduce){.reveal{transition:none; opacity:1; transform:none;}}

  /* ---- about ---- */
  .about-grid{display:grid; grid-template-columns:1.1fr .8fr; gap:clamp(28px,5vw,64px); align-items:center;}
  @media (max-width:860px){.about-grid{grid-template-columns:1fr;}}
  .about-grid p{color:var(--text-dim); max-width:56ch;}
  .badge-strip{display:inline-flex; align-items:center; gap:.6em; margin-top:1.6em; font-family:"IBM Plex Mono",monospace; font-size:.74rem; letter-spacing:.08em; color:var(--text-faint); border:1px solid var(--border); padding:.55em 1em; border-radius:2px;}
  .anchor-card{background:var(--surface); border:1px solid var(--border); border-radius:4px; padding:clamp(20px,3vw,34px); box-shadow:var(--shadow);}
  .anchor-card svg{width:100%; height:auto;}

  /* ---- services (alternating rows) ---- */
  main > section:first-of-type.inner-section.inner-section-tight{padding-top:clamp(28px,3.5vw,44px);}
  .services-rows{display:flex; flex-direction:column; gap:clamp(32px,4.5vw,56px);}
  .srow{display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,4vw,48px); align-items:center;}
  .srow-text h3{font-size:clamp(2.1rem,3.6vw,2.9rem); font-weight:700; margin-bottom:.45em;}
  .srow-text p{color:var(--text-dim); font-size:1.2rem; max-width:44ch; margin:0;}
  .srow-media{order:2;}
  .srow-text{order:1;}
  .srow.alt .srow-media{order:1;}
  .srow.alt .srow-text{order:2;}
  .media-ph{
    aspect-ratio:4/3; border-radius:6px; background-color:var(--surface-2); background-size:cover; background-position:center;
    border:1px solid var(--border);
  }
  @media (max-width:760px){
    .srow{grid-template-columns:1fr;}
    .srow-media, .srow.alt .srow-media{order:1;}
    .srow-text, .srow.alt .srow-text{order:2;}
  }

  /* ---- stats ---- */
  #numeri{padding-block:clamp(18px,3vw,36px);}
  .stats-bar{display:flex; border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding-block:1.7rem;}
  .stat{flex:1; text-align:center; padding-inline:1.2rem; position:relative; display:flex; flex-direction:column; gap:.35em;}
  .stat + .stat{border-left:1px solid var(--border);}
  .stat-num{font-family:"Playfair Display",serif; font-weight:700; font-size:clamp(1.5rem,2.6vw,2.05rem); color:var(--accent); font-variant-numeric:tabular-nums; line-height:1.15;}
  .stat-label{font-family:"Jost",sans-serif; font-size:.86rem; color:var(--text-dim);}
  @media (max-width:640px){.stats-bar{flex-direction:column; gap:1.4rem;} .stat + .stat{border-left:none; border-top:1px solid var(--border); padding-top:1.4rem;}}
  .cable{position:absolute; inset:0; pointer-events:none;}

  /* ---- gallery ---- */
  .gallery-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
  @media (max-width:900px){.gallery-grid{grid-template-columns:repeat(2,1fr);}}
  @media (max-width:520px){.gallery-grid{grid-template-columns:1fr;}}
  .gcard{position:relative; aspect-ratio:3/4; border-radius:4px; overflow:hidden; border:1px solid var(--border); display:flex; align-items:flex-end;}
  .gcard .bg{position:absolute; inset:0; opacity:.9;}
  .gcard svg{position:absolute; inset:0; width:100%; height:100%; stroke:rgba(255,255,255,.16); stroke-width:1.4; fill:none;}
  .gcard .cap{position:relative; z-index:1; padding:1rem; font-family:"IBM Plex Mono",monospace; font-size:.76rem; letter-spacing:.05em; text-transform:uppercase; color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.5);}
  .g1 .bg{background:linear-gradient(160deg,#3a2c1f,#0B1526 70%);}
  .g2 .bg{background:linear-gradient(160deg,#1B2C4A,#0B1526 70%);}
  .g3 .bg{background:linear-gradient(160deg,#3b1f22,#0B1526 70%);}
  .g4 .bg{background:linear-gradient(160deg,#233B63,#0B1526 70%);}

  /* ---- contact ---- */
  .contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,5vw,60px);}
  @media (max-width:860px){.contact-grid{grid-template-columns:1fr;}}
  form{display:flex; flex-direction:column; gap:1.1rem;}
  .field{display:flex; flex-direction:column; gap:.5em;}
  label{font-family:"IBM Plex Mono",monospace; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text-dim);}
  input,textarea{
    background:var(--surface); border:1px solid var(--border); color:var(--text); border-radius:2px;
    padding:.85em 1em; font-family:"IBM Plex Sans",sans-serif; font-size:.96rem; resize:vertical;
  }
  input:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:2px solid var(--accent); outline-offset:2px;}
  .form-note{font-family:"IBM Plex Mono",monospace; font-size:.76rem; color:var(--accent-strong); min-height:1.2em;}
  .info-card{background:var(--surface); border:1px solid var(--border); border-radius:4px; padding:clamp(22px,3vw,34px); display:flex; flex-direction:column; gap:1.4rem; height:fit-content;}
  .info-row{display:flex; gap:1em; align-items:flex-start;}
  .info-row svg{width:22px; height:22px; flex:none; stroke:var(--accent); margin-top:.2em;}
  .info-row .t{font-family:"IBM Plex Mono",monospace; font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); margin-bottom:.3em;}
  .info-row .d{color:var(--text);}

  /* ---- footer ---- */
  footer{border-top:1px solid var(--border); padding-block:2.6rem 2rem;}
  /* homepage-only: no logo/nav/lang row, just the slim copyright bar — hero video fills the rest */
  footer.footer-minimal{padding-block:1.1rem;}
  footer.footer-minimal .foot-bottom{margin-top:0; padding-top:0; border-top:none;}
  .foot-grid{display:flex; justify-content:space-between; gap:2rem; flex-wrap:wrap; align-items:flex-start;}
  .foot-grid .brand{margin-bottom:.6rem;}
  .footer-logo{height:42px; width:auto; display:block; margin-bottom:.7rem;}
  .foot-col p{color:var(--text-dim); font-size:.88rem; max-width:32ch; margin:.3em 0 0;}
  .foot-links{display:flex; gap:1.4rem; flex-wrap:wrap;}
  .foot-links a{font-family:"IBM Plex Mono",monospace; font-size:.76rem; text-decoration:none; color:var(--text-dim); letter-spacing:.05em; text-transform:uppercase;}
  .foot-links a:hover{color:var(--accent-strong);}
  .foot-bottom{display:flex; justify-content:center; text-align:center; gap:1rem; flex-wrap:wrap; margin-top:2.2rem; padding-top:1.4rem; border-top:1px solid var(--border); font-family:"IBM Plex Mono",monospace; font-size:.7rem; color:var(--text-faint);}

  /* ---- interior page title band ---- */
  .page-title{background:var(--accent); border-bottom:1px solid var(--border); padding-block:clamp(28px,4vw,44px);}
  .page-title h1{font-size:clamp(1.9rem,4vw,2.8rem); font-weight:800; color:#FFFFFF;}
  .page-title p{color:rgba(255,255,255,.85); font-size:1.2rem; margin:.5em 0 0; max-width:56ch;}
  main > section:first-of-type.inner-section{padding-top:clamp(48px,7vw,88px);}

  /* ---- accordion (noleggi) ---- */
  .acc{border-top:1px solid var(--border);}
  .acc-item{border-bottom:1px solid var(--border);}
  .acc-toggle{
    width:100%; display:flex; align-items:center; justify-content:space-between; gap:1rem;
    background:none; border:none; cursor:pointer; text-align:left;
    padding:1.3rem 0; font-family:"Playfair Display",serif; font-weight:700; font-size:clamp(1.05rem,1.8vw,1.35rem); color:var(--text);
  }
  .acc-toggle:hover{color:var(--accent);}
  .acc-toggle .chev{flex:none; width:14px; height:14px; stroke:var(--accent); stroke-width:1.8; fill:none; transition:transform .25s ease;}
  .acc-toggle[aria-expanded="true"] .chev{transform:rotate(180deg);}
  .acc-panel{max-height:0; overflow:hidden; transition:max-height .35s ease;}
  .acc-panel-inner{padding-bottom:1.8rem;}
  .acc-gallery{display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:1rem;}
  @media (max-width:760px){.acc-gallery{grid-template-columns:repeat(2,1fr);}}
  .acc-ph{aspect-ratio:4/3; border-radius:4px; background-color:var(--surface-2); background-size:cover; background-position:center; border:1px solid var(--border); cursor:pointer; transition:opacity .15s ease; outline-offset:2px;}
  .acc-ph:hover, .acc-ph:focus-visible{opacity:.82;}
  .acc-specs p{font-style:italic; text-decoration:underline; text-decoration-color:var(--border); color:var(--text-dim); margin:.35em 0; font-size:1.08rem;}

  /* ---- photogallery categorized grid ---- */
  .pg-cat{margin-bottom:clamp(32px,5vw,56px);}
  .pg-cat h2{font-size:clamp(1.7rem,3vw,2.3rem); font-weight:700; margin-bottom:1rem;}
  .pg-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:10px;}
  @media (max-width:760px){.pg-grid{grid-template-columns:repeat(2,1fr);}}
  .pg-ph{aspect-ratio:4/3; border-radius:4px; background-color:var(--surface-2); background-size:cover; background-position:center; border:1px solid var(--border); cursor:pointer; transition:opacity .15s ease; outline-offset:2px;}
  .pg-ph:hover, .pg-ph:focus-visible{opacity:.82;}

  /* ---- lightbox photo viewer ---- */
  .lightbox{position:fixed; inset:0; z-index:1000; background:rgba(8,10,14,.94); display:none; align-items:center; justify-content:center;}
  .lightbox.open{display:flex;}
  .lb-img{max-width:88vw; max-height:82vh; border-radius:4px; box-shadow:0 30px 80px rgba(0,0,0,.5); -webkit-user-select:none; user-select:none;}
  .lb-close{position:absolute; top:16px; right:18px; background:none; border:none; color:#fff; font-size:2.1rem; line-height:1; cursor:pointer; padding:.2em .5em;}
  .lb-close:hover{opacity:.75;}
  .lb-prev,.lb-next{
    position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.28);
    color:#fff; font-size:1.9rem; line-height:1; width:50px; height:50px; border-radius:50%; cursor:pointer;
    display:flex; align-items:center; justify-content:center; transition:background .15s ease;
  }
  .lb-prev:hover,.lb-next:hover{background:rgba(255,255,255,.2);}
  .lb-prev{left:16px;}
  .lb-next{right:16px;}
  .lb-counter{position:absolute; bottom:20px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.75); font-family:"IBM Plex Mono",monospace; font-size:.76rem; letter-spacing:.06em;}
  @media (max-width:640px){
    .lb-prev,.lb-next{width:40px; height:40px; font-size:1.4rem;}
    .lb-close{font-size:1.7rem;}
  }

  /* ---- vintage photo wall (chi siamo family story) ---- */
  .story-block{overflow:hidden; margin-bottom:1.5em;}
  .story-block:last-child{margin-bottom:0;}
  .polaroid{
    background:#fff; padding:10px 10px 32px; border-radius:2px; box-shadow:0 14px 30px -12px rgba(17,19,21,.35);
    width:min(46vw,240px); margin:0; transition:transform .25s ease, box-shadow .25s ease;
  }
  .polaroid img{
    display:block; width:100%; height:190px; object-fit:cover; object-position:center;
    filter:sepia(.3) contrast(1.05) saturate(1.05);
  }
  .polaroid figcaption{
    font-family:"IBM Plex Mono",monospace; font-size:.68rem; letter-spacing:.03em; color:var(--text-faint);
    text-align:center; margin-top:10px;
  }
  .polaroid:hover{transform:rotate(0deg) scale(1.03); box-shadow:0 18px 40px -12px rgba(17,19,21,.42);}
  .polaroid.float-left{float:left; margin:.3em 26px 16px 0; transform:rotate(-4deg);}
  .polaroid.float-right{float:right; margin:.3em 0 16px 26px; transform:rotate(3deg);}
  @media (max-width:720px){
    .polaroid{float:none !important; margin:0 auto 20px !important; transform:rotate(0deg) !important; width:min(80vw,260px);}
    .polaroid:hover{transform:scale(1.02);}
  }

  /* ---- contact page extras ---- */
  .checkbox-field{flex-direction:row; align-items:flex-start; gap:.7em;}
  .checkbox-field input[type="checkbox"]{margin-top:.3em; width:16px; height:16px; accent-color:var(--accent); flex:none;}
  .checkbox-field label{text-transform:none; letter-spacing:0; font-family:"Jost",sans-serif; font-size:.86rem; color:var(--text-dim);}
  .phone-block + .phone-block{margin-top:1rem;}
  .map-frame{width:100%; aspect-ratio:4/3; border:1px solid var(--border); border-radius:4px; overflow:hidden;}
  .map-frame iframe{width:100%; height:100%; border:0; display:block;}
  .map-note{font-family:"IBM Plex Mono",monospace; font-size:.7rem; color:var(--text-faint); margin-top:.5em;}
