
  :root{
    /* Nuova Palette Bianco-Nero Minimal */
    --accent:#111111;
    --accent-dark:#000000;
    --accent-deep:#333333;
    --accent-tint:#f4f4f5;
    --accent-tint-2:#e5e7eb;
    --bg:#ffffff;
    --surface:#ffffff;
    --ink:#111111;
    --ink-soft:#666666;
    --ink-faint:#9ca3af;
    --border:#e5e7eb;
    --shadow: 0 30px 60px -30px rgba(0,0,0,0.12);
    --font-display:'Fraunces', serif;
    --font-body:'Inter', sans-serif;
    --ease: cubic-bezier(.22,1,.36,1);
    --nav-bg: #111111;
  }

  *{box-sizing:border-box;}
  html{
    scroll-behavior:smooth;
    overflow-x:hidden;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
  }
  html,body{overscroll-behavior-x:none;}
  body{
    margin:0;
    background:#ffffff;
    color:var(--ink);
    font-family:var(--font-body);
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    width:100%;
    position:relative;
    padding-left:max(16px, env(safe-area-inset-left, 0px));
    padding-right:max(16px, env(safe-area-inset-right, 0px));
  }
  img{max-width:100%;display:block;}
  a{color:inherit;text-decoration:none;}
  h1,h2,h3{font-family:var(--font-display);font-weight:560;margin:0;letter-spacing:-0.01em;}
  p{margin:0;}
  button{font-family:var(--font-body);}

  ::selection{background:#111111;color:#ffffff;}
  :focus-visible{outline:2px solid #111111; outline-offset:3px; border-radius:6px;}

  .wrap{max-width:1180px;margin:0 auto;padding:0 32px;}
  @media (max-width:720px){.wrap{padding:0 30px;}}
  @media (max-width:480px){.wrap{padding:0 28px;}}

  /* ---------- NAV ---------- */
  header.nav{
    position:fixed;top:0;left:0;right:0;z-index:100;
    background:rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-bottom:1px solid rgba(255,255,255,0.1);
    padding-top:env(safe-area-inset-top, 0px);
    transition:background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
  }
  header.nav.scrolled{background:#111111; box-shadow:0 10px 30px -15px rgba(0,0,0,0.3);}
  
  .nav-progress{
    position:absolute; left:0; bottom:-1px; height:2px; width:0;
    background:#ffffff;
    transition:width .12s linear;
  }
  
  .nav-inner{
    display:flex;align-items:center;justify-content:space-between;
    padding:18px 32px; max-width:1180px;margin:0 auto;
    transition:padding .4s var(--ease);
  }
  header.nav.scrolled .nav-inner{padding-top:12px;padding-bottom:12px;}
  .brand{display:flex;align-items:center;gap:12px;cursor:pointer;}
  .brand img{height:30px;width:auto;filter:brightness(0) invert(1);}
  .brand-text{line-height:1.15;}
  .brand-text .name{font-family:var(--font-display);font-size:16px;font-weight:560;color:#ffffff;}
  .brand-text .role{font-size:11px;color:rgba(255,255,255,0.6);letter-spacing:.03em;}

  nav.links{display:flex;align-items:center;gap:2px;position:relative;}
  nav.links a{
    position:relative;padding:9px 16px;font-size:14.5px;color:rgba(255,255,255,0.75);
    border-radius:100px; transition:color .3s var(--ease), background .3s;
    white-space:nowrap;
  }
  nav.links a:hover{color:#ffffff; background:rgba(255,255,255,0.12);}
  
  /* SEZIONE ATTIVA PIÙ EVIDENTE */
  nav.links a.active{
    color:#111111 !important; /* Testo nero per contrastare il blocco bianco pieno */
    font-weight:600;
  }
  .nav-indicator{
    position:absolute; height:34px; 
    background:#ffffff; /* Sfondo bianco pieno e brillante */
    border-radius:100px; top:0; left:0; z-index:-1;
    box-shadow:0 4px 16px rgba(255,255,255,0.25); /* Effetto alone luminoso */
    transition:transform .45s var(--ease), width .45s var(--ease);
  }

  .nav-cta{
    display:inline-flex; align-items:center; gap:8px;
    background:#ffffff; color:#111111 !important; font-size:13.5px; font-weight:500;
    padding:10px 18px; border-radius:100px; margin-left:8px;
    transition:transform .35s var(--ease), background .3s, color .3s;
  }
  .nav-cta:hover{transform:translateY(-2px); background:#e5e7eb; color:#111111 !important;}

  .burger{display:none; width:34px;height:34px;position:relative;cursor:pointer;background:none;border:none;}
  .burger span{position:absolute;left:6px;right:6px;height:2px;background:#ffffff;border-radius:2px;transition:transform .3s var(--ease), background .3s, opacity .3s;}
  .burger span:nth-child(1){top:12px;}
  .burger span:nth-child(2){top:20px;}
  .burger.open span{background:#ffffff;}
  .burger.open span:nth-child(1){transform:translateY(4px) rotate(45deg);}
  .burger.open span:nth-child(2){transform:translateY(-4px) rotate(-45deg);}

  @media (max-width:860px){
    nav.links{
      position:fixed; top:calc(66px + env(safe-area-inset-top, 0px)); left:16px; right:16px;
      background:#111111; border:1px solid rgba(255,255,255,0.15); border-radius:20px;
      flex-direction:column; align-items:stretch; padding:10px;
      box-shadow:var(--shadow);
      transform-origin:top center;
      transform:scaleY(0.85) translateY(-8px); opacity:0; pointer-events:none;
      transition:transform .35s var(--ease), opacity .3s var(--ease);
    }
    nav.links.open{transform:scaleY(1) translateY(0); opacity:1; pointer-events:auto;}
    nav.links a{padding:13px 16px;border-radius:12px;color:rgba(255,255,255,0.8);}
    nav.links a:hover{background:rgba(255,255,255,0.1); color:#ffffff;}
    
    /* Versione mobile del link attivo */
    nav.links a.active{
      background:#ffffff !important; 
      color:#111111 !important; 
      font-weight:600;
    }
    .nav-indicator{display:none;}
    .nav-cta{margin:6px 4px 2px;justify-content:center;}
    .burger{display:block;}
  }

  /* ---------- PAGES / TRANSITIONS ---------- */
  main{padding-top:calc(76px + env(safe-area-inset-top, 0px));min-height:70vh;}
  .page{display:none;}
  .page.active{display:block;}
  .page.entering{animation:pageIn .6s var(--ease) both;}
  @keyframes pageIn{
    from{opacity:0; transform:translateY(14px);}
    to{opacity:1; transform:translateY(0);}
  }

  .reveal{opacity:0; transform:translateY(16px); transition:opacity .7s var(--ease), transform .7s var(--ease);}
  .reveal.revealed{opacity:1; transform:translateY(0);}

  /* ---------- HERO ---------- */
  .hero{position:relative; padding:64px 0 40px; overflow:visible;}
  .hero-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center;}
  @media (max-width:900px){.hero-grid{grid-template-columns:1fr; gap:48px;}}

  .eyebrow-line{display:flex;align-items:center;gap:10px;margin-bottom:22px;}
  .eyebrow-line .dash{
    width:26px;height:2px;background:#111111;border-radius:2px;
    transform-origin:left center; transform:scaleX(0);
    animation:dashIn .8s var(--ease) forwards; animation-delay:.1s;
  }
  @keyframes dashIn{to{transform:scaleX(1);}}
  .eyebrow-line span{font-size:13.5px; color:var(--ink-soft);}

  .hero h1{font-size:clamp(34px, 5vw, 60px); line-height:1.08; font-weight:520; max-width:12ch;}
  .hero h1 .word{display:inline-block; opacity:0; transform:translateY(22px); animation:wordIn .8s var(--ease) forwards;}
  @keyframes wordIn{to{opacity:1;transform:translateY(0);}}
  .hero h1 .mark{position:relative; display:inline-block;}
  .hero h1 .mark::after{
    content:''; position:absolute; left:0; right:0; bottom:.08em; height:.16em;
    background:#e5e7eb; border-radius:100px; z-index:-1;
    transform-origin:left center; transform:scaleX(0);
    animation:markIn .9s var(--ease) forwards; animation-delay:1.05s;
  }
  @keyframes markIn{to{transform:scaleX(1);}}

  .hero-sub{
    margin-top:24px; font-size:17.5px; color:var(--ink-soft); max-width:44ch;
    opacity:0; transform:translateY(14px); animation:fadeUp .8s var(--ease) forwards; animation-delay:.55s;
  }
  .hero-actions{
    margin-top:34px; display:flex; gap:14px; align-items:center; flex-wrap:wrap;
    opacity:0; transform:translateY(14px); animation:fadeUp .8s var(--ease) forwards; animation-delay:.75s;
  }
  @keyframes fadeUp{to{opacity:1;transform:translateY(0);}}

  .btn{
    position:relative; display:inline-flex; align-items:center; gap:10px;
    padding:15px 26px; border-radius:100px; font-size:14.5px; font-weight:500;
    cursor:pointer; border:none; overflow:hidden; isolation:isolate;
  }
  .btn-primary{background:var(--ink); color:#ffffff; transition:color .35s var(--ease);}
  .btn-primary::before{
    content:''; position:absolute; inset:0; background:#333333; z-index:-1;
    transform:translateX(-102%); transition:transform .45s var(--ease);
  }
  .btn-primary:hover::before{transform:translateX(0);}
  .btn-primary:hover{color:#ffffff;}
  .btn-ghost{background:transparent; color:var(--ink); border:1px solid var(--border); transition:border-color .3s, color .3s, background .3s;}
  .btn-ghost:hover{border-color:#111111; color:#111111; background:var(--accent-tint);}
  .btn svg{width:15px;height:15px; transition:transform .35s var(--ease);}
  .btn:hover svg{transform:translateX(3px);}
  .btn .spinner{
    width:14px;height:14px;border-radius:50%; border:2px solid rgba(255,255,255,.5); border-top-color:#ffffff;
    animation:spin .7s linear infinite; display:none;
  }
  .btn.loading .spinner{display:inline-block;}
  .btn.loading svg{display:none;}
  .btn[disabled]{opacity:.65; cursor:default;}
  @keyframes spin{to{transform:rotate(360deg);}}

  .hero-photo-wrap{
    position:relative; display:flex; justify-content:center; align-items:center;
    opacity:0; animation:photoIn 1s var(--ease) forwards; animation-delay:.25s;
  }
  @keyframes photoIn{from{opacity:0; transform:scale(.94) translateY(10px);} to{opacity:1; transform:scale(1) translateY(0);}}
  .hero-photo{
    position:relative; z-index:1; width:min(380px, 78vw);
    border-radius:0;
    overflow:hidden; background:var(--surface);
    transform-style:preserve-3d; transition:transform .25s var(--ease);
  }
  .hero-photo img{width:100%;height:100%;object-fit:cover;}
  @keyframes ringSpin{to{transform:rotate(360deg);}}

  /* ---------- SECTION DIVIDER ---------- */
  .divider-wrapper{
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .divider{
    width: 100%;
    height: 30px;
    display: block;
  }
  .divider path{
    fill: none; 
    stroke: #111111; 
    stroke-width: 1.5;
    /* Impostiamo la lunghezza totale del tratto per l'animazione */
    stroke-dasharray: 1500; 
    stroke-dashoffset: 1500;
    animation: drawLine 5s var(--ease) forwards; 
    animation-delay: .5s;
  }
  
  @keyframes drawLine{
    to {
      stroke-dashoffset: 0;
    }
  }

  /* ---------- SECTION GENERIC ---------- */
  section.block{padding:88px 0;}
  section.block.tint{background:var(--accent-tint);}
  .kicker{font-size:13.5px; color:var(--ink-soft); font-weight:500; margin-bottom:14px; display:flex; align-items:center; gap:9px;}
  .kicker .dot{width:7px;height:7px;border-radius:50%;background:#111111;}
  .section-head{max-width:640px; margin-bottom:56px;}
  .section-head h2{font-size:clamp(26px,3.4vw,38px); line-height:1.18;}
  .section-head p{margin-top:16px; color:var(--ink-soft); font-size:16px;}

  /* approach columns */
  .approach-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--border); border:1px solid var(--border); border-radius:20px; overflow:hidden;}
  @media (max-width:800px){.approach-grid{grid-template-columns:1fr;}}
  .approach-item{background:var(--surface); padding:38px 32px; transition:background .4s var(--ease);}
  .approach-item:hover{background:var(--accent-tint);}
  .approach-item .num{
    font-family:var(--font-display); font-size:14px; color:var(--ink-soft); margin-bottom:18px;
    display:inline-flex; align-items:center; gap:8px;
  }
  .approach-item .num::before{content:''; width:18px; height:2px; background:#111111; border-radius:2px;}
  .approach-item h3{font-size:19px; margin-bottom:10px; font-weight:560;}
  .approach-item p{font-size:14.5px; color:var(--ink-soft);}

  /* quote */
  .quote-block{padding:100px 0; text-align:center;}
  .quote-block blockquote{
    font-family:var(--font-display); font-style:italic; font-weight:440;
    font-size:clamp(22px,3vw,32px); line-height:1.45; max-width:760px; margin:0 auto; color:var(--ink);
  }
  .quote-block .attrib{margin-top:22px; font-size:13.5px; color:var(--ink-faint); font-style:normal;}

  /* bio teaser */
  .bio-teaser{display:grid; grid-template-columns:200px 1fr; gap:44px; align-items:center;}
  .bio-teaser img{border-radius:16px;}
  @media (max-width:700px){
    .bio-teaser{grid-template-columns:1fr;}
    .bio-teaser img{width:100%; max-width:280px; aspect-ratio:1/1; object-fit:cover; margin:0 auto;}
  }
  .bio-teaser img{border-radius:20px; aspect-ratio:1/1; object-fit:cover; border:1px solid var(--border); background:var(--surface);}
  .bio-teaser .link-more{margin-top:18px; display:inline-flex; align-items:center; gap:8px; font-size:14.5px; font-weight:500; color:#111111; cursor:pointer;}
  .bio-teaser .link-more svg{width:14px;height:14px;transition:transform .3s var(--ease);}
  .bio-teaser .link-more:hover svg{transform:translateX(4px);}

  /* CTA footer band */
  .cta-band{padding:90px 0; text-align:center;}
  .cta-band h2{font-size:clamp(28px,4vw,44px); max-width:14ch; margin:0 auto 28px;}

  footer{border-top:1px solid var(--border); padding:44px 0; font-size:13.5px; color:var(--ink-faint);}
  .footer-inner{display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap;}
  .footer-inner .brand{gap:10px;}
  .footer-inner .brand img{height:22px;}
  .footer-links{display:flex;gap:22px;}
  .footer-links a{cursor:pointer;}
  .footer-links a:hover{color:#111111;}

  /* ---------- SERVIZI PAGE ---------- */
  .page-header{padding:150px 0 60px;}
  .page-header .kicker{margin-bottom:20px;}
  .page-header h1{font-size:clamp(32px,5vw,54px); max-width:14ch;}
  .page-header p.lead{margin-top:20px; font-size:17px; color:var(--ink-soft); max-width:56ch;}
  .page-header .lead p{margin-top:20px; font-size:17px; color:var(--ink-soft); max-width:56ch;}
  .page-header .lead p:first-child{margin-top:20px;}
  .page-header p.blog-disclaimer{margin-top:18px; font-size:13.5px; color:var(--ink-faint); max-width:56ch; line-height:1.5;}
  .post-media{display:flex; flex-wrap:wrap; gap:10px; margin:14px 0 18px;}
  .post-media img, .post-media video{max-width:100%; border-radius:12px; display:block;}
  .post-media img{max-height:420px; object-fit:cover;}
  .post-media video{max-height:420px; background:#000;}
  .post-media .yt-embed{position:relative; width:100%; max-width:480px; aspect-ratio:16/9; border-radius:12px; overflow:hidden; background:#000;}
  .post-media .yt-embed iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
  @media (max-width:600px){ .post-media img, .post-media video{max-height:280px;} }

  .service-list{border-top:1px solid var(--border);}
  .service-row{
    display:grid; grid-template-columns:60px 1fr 200px; gap:24px; align-items:start;
    padding:38px 0; border-bottom:1px solid var(--border);
    position:relative;
    transition:padding-left .4s var(--ease);
  }
  .service-row::before{
    content:''; position:absolute; left:0; top:24px; bottom:24px; width:3px; border-radius:3px;
    background:#111111; transform:scaleY(0); transform-origin:center top;
    transition:transform .4s var(--ease);
  }
  .service-row:hover::before{transform:scaleY(1);}
  @media (max-width:760px){.service-row{grid-template-columns:44px 1fr; }}
  .service-row:hover{padding-left:18px;}
  .service-row .ic{width:40px;height:40px; color:#111111;}
  .service-row h3{font-size:21px; margin-bottom:10px; font-weight:560;}
  .service-row p{color:var(--ink-soft); font-size:15px; max-width:52ch;}
  .service-row .tag{font-size:13px; color:var(--ink-faint); text-align:right; padding-top:6px;}
  @media (max-width:760px){.service-row .tag{display:none;}}

  /* ---------- BIOGRAFIA PAGE ---------- */
  .bio-hero{display:grid; grid-template-columns:340px 1fr; gap:60px; align-items:start; padding-bottom:20px;}
  @media (max-width:860px){.bio-hero{grid-template-columns:1fr;}}
  .bio-hero .photo-col img{border-radius:24px; width:100%; aspect-ratio:16/11; object-fit:cover; border:1px solid var(--border); background:var(--surface);}
  .bio-hero .text-col p{color:var(--ink-soft); margin-bottom:18px; font-size:16.5px;}
  .bio-hero .text-col p.lede{font-family:var(--font-display); font-size:22px; color:var(--ink); font-weight:460; line-height:1.4; margin-bottom:26px;}

  .specialty-tags{display:flex;flex-wrap:wrap;gap:10px; margin-top:10px;}
  .specialty-tags span{
    border:1px solid var(--border); padding:9px 16px; border-radius:100px; font-size:13.5px; color:var(--ink-soft);
    background:var(--surface);
    transition:border-color .3s, color .3s, background .3s;
  }
  .specialty-tags span:hover{border-color:#111111; color:#111111; background:var(--accent-tint);}

  /* ---------- BLOG PAGE ---------- */
  .post-list{display:flex; flex-direction:column;}
  .post-item{border-top:1px solid var(--border); padding:34px 0; cursor:pointer;}
  .post-item:last-child{border-bottom:1px solid var(--border);}
  .post-head{display:flex; justify-content:space-between; align-items:center; gap:20px;}
  .post-head .meta{font-size:13px; color:var(--ink-faint); margin-bottom:8px;}
  .post-head h3{font-size:22px; font-weight:560; transition:color .3s;}
  .post-item:hover .post-head h3{color:#111111;}
  .post-head .plus{
    width:32px;height:32px; border:1px solid var(--border); border-radius:50%; flex:none;
    display:flex; align-items:center; justify-content:center; position:relative;
    transition:transform .4s var(--ease), border-color .3s, background .3s;
  }
  .post-item.open .plus{transform:rotate(135deg); border-color:#111111; background:#111111;}
  .post-head .plus::before, .post-head .plus::after{content:'';position:absolute;background:var(--ink);}
  .post-item.open .plus::before, .post-item.open .plus::after{background:#ffffff;}
  .post-head .plus::before{width:12px;height:1.4px;}
  .post-head .plus::after{width:1.4px;height:12px;}
  .post-excerpt{margin-top:10px; color:var(--ink-soft); font-size:15px; max-width:70ch;}
  .post-full{
    max-height:0; overflow:hidden;
    margin-top:0; color:var(--ink-soft); font-size:15px; line-height:1.75; max-width:70ch;
    border-left:2px solid transparent; padding-left:0;
    transition:max-height .5s var(--ease), margin-top .5s var(--ease), border-color .4s var(--ease), padding-left .4s var(--ease);
  }
  .post-item.open .post-full{margin-top:18px; border-left-color:#111111; padding-left:20px;}
  .post-list-status{color:var(--ink-faint); font-size:14.5px; padding:34px 0;}

  /* ---------- SOCIAL PAGE ---------- */
  .social-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:2px; background:var(--border); border:1px solid var(--border); border-radius:22px; overflow:hidden; position:relative;}
  @media (max-width:760px){.social-grid{grid-template-columns:1fr;}}
  .social-card{
    position:relative; background:var(--surface); padding:44px 34px; display:flex; flex-direction:column; gap:14px;
    overflow:hidden; isolation:isolate; min-height:220px; justify-content:center;
    transition:transform .5s var(--ease);
  }
  .social-card::before{
    content:''; position:absolute; inset:0; z-index:-1; opacity:0;
    background:var(--sc-color); transition:opacity .5s var(--ease);
  }
  .social-card:hover::before{opacity:1;}
  .social-card:hover{transform:translateY(-4px);}
  .social-card:hover .sc-name, .social-card:hover .sc-tag{color:#fff;}
  .social-card:hover .sc-icon{color:#fff; transform:scale(1.1) rotate(-6deg);}
  .social-card:hover .sc-arrow{transform:translate(4px,-4px); opacity:1;}
  .sc-icon{width:40px; height:40px; color:#111111; transition:transform .5s var(--ease), color .4s var(--ease);}
  .sc-icon svg{width:100%; height:100%;}
  .sc-name{font-family:var(--font-display); font-weight:560; font-size:22px; transition:color .4s var(--ease);}
  .sc-tag{font-size:14px; color:var(--ink-soft); transition:color .4s var(--ease); max-width:32ch;}
  .sc-arrow{
    position:absolute; top:28px; right:28px; width:18px; height:18px; color:#fff; opacity:0;
    transition:transform .5s var(--ease), opacity .4s var(--ease);
  }
  .sc-arrow svg{width:100%;height:100%;}
  .sc-instagram{--sc-color:linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);}
  .sc-facebook{--sc-color:#1877F2;}
  .sc-tiktok{--sc-color:linear-gradient(135deg,#000000,#25F4EE 45%,#FE2C55 100%);}
  .sc-linkedin{--sc-color:#0A66C2;}
  .social-orbit{position:relative; display:flex; justify-content:center; margin:8px 0 56px; opacity:0; animation:photoIn 1s var(--ease) forwards; animation-delay:.15s;}
  .social-orbit .ring{position:absolute; border-radius:50%; border:1.5px solid #111111; opacity:.35;}
  .social-orbit .ring.r1{width:110px;height:110px; animation:ringSpin 16s linear infinite;}
  .social-orbit .ring.r2{width:170px;height:170px; animation:ringSpin 24s linear infinite reverse;}
  .social-orbit .ring.r3{width:230px;height:230px; animation:ringSpin 32s linear infinite;}
  .social-orbit .core{
    position:relative; z-index:1; width:74px; height:74px; border-radius:50%; background:#111111; color:#fff;
    display:flex; align-items:center; justify-content:center;
  }
  .social-orbit .core svg{width:30px;height:30px;}
  .social-note{font-size:12.5px; color:var(--ink-faint); font-style:italic; margin-top:26px; text-align:center;}

  /* ---------- HOME BUTTON (fine pagina) ---------- */
  .end-home{display:flex; flex-direction:column; align-items:center; gap:22px; padding:12px 0 96px;}
  .home-btn{
    position:relative; display:inline-flex; flex-direction:column; align-items:center; gap:10px;
    background:none; border:none; cursor:pointer; padding:6px;
  }
  .home-btn .home-ring{
    position:absolute; top:0; left:50%; width:64px; height:64px; margin-left:-32px;
    border-radius:50%; border:1.5px solid #111111; opacity:0;
    animation: homeRing 2.4s var(--ease) infinite;
  }
  .home-btn .home-ring.delay{animation-delay:1.2s;}
  .home-btn .home-circle{
    width:64px;height:64px;border-radius:50%; background:var(--ink); color:#ffffff;
    display:flex;align-items:center;justify-content:center; position:relative; z-index:1;
    box-shadow:0 14px 30px -14px rgba(0,0,0,.3);
    animation: homeFloat 2.8s ease-in-out infinite;
    transition:background .35s var(--ease), transform .3s var(--ease), box-shadow .35s var(--ease);
  }
  .home-btn .home-circle svg{width:24px;height:24px; transition:transform .35s var(--ease);}
  .home-btn:hover .home-circle{background:#111111; color:#ffffff; transform:translateY(-5px) scale(1.07); box-shadow:0 20px 36px -14px rgba(0,0,0,.35);}
  .home-btn:hover .home-circle svg{transform:scale(1.12) translateY(-1px);}
  .home-btn span.lbl{font-size:12px; font-weight:500; color:var(--ink-soft); letter-spacing:.06em; text-transform:uppercase; transition:color .3s var(--ease);}
  .home-btn:hover span.lbl{color:#111111;}
  @keyframes homeFloat{0%,100%{transform:translateY(0);} 50%{transform:translateY(-7px);}}
  @keyframes homeRing{0%{transform:scale(.85); opacity:.55;} 75%{transform:scale(1.4); opacity:0;} 100%{opacity:0;}}

  .social-row{display:flex; gap:16px;}
  .social-btn{
    width:44px; height:44px; border-radius:50%; flex:none;
    display:flex; align-items:center; justify-content:center;
    border:1px solid var(--border); background:var(--surface); color:var(--ink-soft);
    transition:transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  }
  .social-btn svg{width:19px;height:19px;}
  .social-btn:hover{
    background:#111111; border-color:#111111; color:#ffffff;
    transform:translateY(-5px) rotate(-6deg) scale(1.08);
    box-shadow:0 14px 26px -12px rgba(0,0,0,.3);
  }

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important;}
  }

  /* Su mobile fermiamo le animazioni decorative infinite (blob, anelli, home flottante):
     sono la causa principale della sensazione che la pagina "balli". Restano solo
     le animazioni di ingresso (una tantum), non quelle continue. */
  @media (max-width:760px){
    .home-btn .home-circle{animation:none;}
    .home-btn .home-ring{animation:none; display:none;}
    .social-orbit .ring{animation:none;}
  }

/* Pagine autonome: contenuti disponibili anche senza JavaScript. */
.page{display:block}.reveal{opacity:1;transform:none}.brand{text-decoration:none}
.home-btn{text-decoration:none;color:inherit}.post-head.article-link{text-decoration:none;color:inherit;display:flex}
.post-read-more{display:inline-block;margin-top:12px;font-size:14px;font-weight:500;text-decoration:underline;text-underline-offset:4px}
.article-page .post-full{max-height:none;overflow:visible;margin-top:20px;max-width:76ch;border-left:0;padding-left:0}
.article-page .post-full p{margin:0 0 20px}.article-page .post-media{margin:0 0 30px}
.article-page h1{max-width:23ch}.breadcrumbs{font-size:13px;color:var(--ink-soft);margin-bottom:20px}
.breadcrumbs a{text-decoration:underline;text-underline-offset:3px}.article-back{margin:36px 0 0}
.post-item .plus.link-arrow::before{transform:rotate(-35deg)}.post-item .plus.link-arrow::after{transform:rotate(55deg)}
.article-date{color:var(--ink-soft);font-size:14px;margin-top:15px}.error-state{padding:34px 0;color:var(--ink-soft)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Video esterni: attivazione separata, nessuna richiesta a YouTube di default. */
.post-media .yt-consent{max-width:640px;padding:20px;border:1px solid var(--border,#dedede);border-radius:12px;background:var(--surface,#fafafa);margin:20px 0;}
.yt-consent p{font-size:14px;line-height:1.6;}
.yt-consent button,.yt-footer-choice button{font:inherit;font-size:14px;cursor:pointer;border:1px solid currentColor;border-radius:8px;padding:10px 14px;background:var(--ink,#20241c);color:var(--bg,#fff);margin:4px 0;}
.yt-consent a{font-size:14px;color:inherit;text-decoration:underline;display:inline-block;margin:8px;}
.post-media .yt-consent .yt-embed{max-width:100%;}
.yt-consent [hidden]{display:none!important;}
.yt-consent-status{color:var(--ink-soft,#525252);}
.yt-consent-status:empty{display:none;}
.yt-footer-choice{margin:20px auto;padding:0 20px;text-align:center;}
.yt-footer-choice button{background:transparent;color:inherit;}
