/* Stili aggiunti nella migrazione (base.css contiene il design originale). */
.rv { transition-property: opacity, transform, filter; transition-timing-function: ease; will-change: opacity, transform; }
.rv-fade-up { opacity: 0; transform: translateY(1rem); }
.rv-fade-down { opacity: 0; transform: translateY(-1rem); }
.rv-zoom-in { opacity: 0; transform: scale(0.9); }
.rv-focus { opacity: 0; filter: blur(8px); transform: scale(1.03); }
.rv.rv-in { opacity: 1; transform: none; filter: none; }

/* position: sticky richiede che html/body non siano contenitori di scroll */
html, body { overflow-x: clip !important; }
.site-wrapper { overflow: clip !important; }

/* ================= LAVORI (home) ================= */
.works { --ease: cubic-bezier(0.16, 1, 0.3, 1); position: relative; width: 100vw; margin-left: calc(50% - 50vw); --bg: #0B0C0D; background: var(--bg); color: #fff; font-family: 'Inter', -apple-system, sans-serif; text-align: left; }
.works-aura, .works-head, .works-dots { display: none; }
.work { display: grid; grid-template-columns: 1fr; gap: 2.2rem; max-width: 1240px; margin: 0 auto; padding: 4.5rem 24px; align-items: center; }
.work-visual { display: flex; justify-content: center; }
.work-text { position: relative; z-index: 1; min-width: 0; container-type: inline-size; }
.sleeve-wrap { position: relative; width: min(68vw, 46vh, 460px); aspect-ratio: 1; }
.sleeve { position: relative; z-index: 2; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.work-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.work-tags li { padding: .38rem .7rem; border: 1px solid rgba(255,255,255,.14); border-radius: 100px; font-size: .5rem; font-weight: 700; letter-spacing: 2px; line-height: 1; text-transform: uppercase; color: rgba(255,255,255,.62); white-space: nowrap; }
.work-title { margin: 0 0 28px; font-size: clamp(34px, 15cqw, 104px); font-weight: 900; line-height: .86; letter-spacing: -.05em; text-transform: uppercase; }
.work-title .ln { display: block; overflow-x: visible; overflow-y: clip; padding: .06em .06em .04em 0; margin-top: -.06em; }
.work-title .ln > span { display: block; white-space: nowrap; }
.work-credits { margin: 0 0 1.8rem; max-width: 600px; border-bottom: 1px solid rgba(255,255,255,.09); }
.work-credits > div { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); align-items: baseline; gap: 1rem; padding: .62rem 0; border-top: 1px solid rgba(255,255,255,.09); }
.work-credits dt { font-size: .54rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); }
.work-credits dd { margin: 0; font-size: .74rem; line-height: 1.35; color: #fff; text-wrap: balance; }
/* "My work" e "Listen" sono righe della tabella dei crediti (prima: pillole con bordo, bocciate come "troppo AI") */
.work-credits .is-mine dt { color: #c98cf0; }
.work-credits .is-mine dd { font-weight: 600; }
.work-credits .is-listen dd { display: flex; flex-wrap: wrap; gap: .2rem 1.3rem; }
.work-credits dd a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-decoration-thickness: 1px; text-underline-offset: 5px; white-space: nowrap; transition: text-decoration-color .3s; }
.work-credits dd a::after { content: '↗'; display: inline-block; margin-left: .35em; color: rgba(255,255,255,.45); transition: transform .4s var(--ease), color .3s; }
.work-credits dd a:hover { text-decoration-color: #c98cf0; }
.work-credits dd a:hover::after { transform: translate(2px, -2px); color: #fff; }
.work-credits dd a:focus-visible, .works-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (min-width: 900px) {
  .work { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; padding: 6rem 48px; }
  .work-visual { order: 2; }
  .sleeve-wrap { width: min(34vw, 62vh, 500px); }
}

/* ---- Modalita' "live": palco fisso, un lavoro alla volta guidato dallo scorrimento ---- */
.works--live { height: calc(var(--n) * 48vh + 100vh); } /* scorrimento per ogni lavoro: era 85vh, troppo lungo */
.works--live .works-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.works--live .works-aura { display: block; position: absolute; inset: 0; }
.works--live .works-aura img { position: absolute; top: 50%; left: 62%; width: 70vmax; height: 70vmax; object-fit: cover; transform: translate(-50%, -50%) scale(1.1); filter: blur(110px) saturate(1.5); opacity: 0; transition: opacity 1.4s ease; }
.works--live .works-aura img.on { opacity: .34; }
.works--live .works-aura::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 62% 50%, transparent 0, var(--bg) 72%), linear-gradient(var(--bg), transparent 18% 82%, var(--bg)); }
.works--live .works-head { display: flex; position: absolute; z-index: 5; top: 92px; left: 0; right: 0; max-width: 1240px; margin: 0 auto; padding: 0 48px; justify-content: space-between; align-items: center; font-size: .62rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,.4); }
.works-count { display: inline-flex; align-items: center; gap: .8rem; font-variant-numeric: tabular-nums; }
.works-count b { color: #fff; font-weight: 700; }
.works-count i { display: block; width: 44px; height: 1px; background: rgba(255,255,255,.25); }
.works--live .work { position: absolute; inset: 0; padding-top: 120px; padding-bottom: 60px; pointer-events: none; visibility: hidden; transition: visibility 0s 1s; }
.works--live .work.is-active { pointer-events: auto; visibility: visible; transition-delay: 0s; z-index: 2; }
/* testo */
.works--live .work-title .ln > span { transform: translateY(112%); transition: transform 1s var(--ease); }
.works--live .work.is-past .work-title .ln > span { transform: translateY(-112%); }
.works--live .work-tags, .works--live .work-credits > div, .works--live .work-listen { opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity .6s ease, transform .9s var(--ease), filter .6s ease; }
.works--live .work.is-past .work-tags, .works--live .work.is-past .work-credits > div, .works--live .work.is-past .work-listen { transform: translateY(-18px); }
.works--live .work.is-active .work-title .ln > span { transform: none; transition-delay: .25s; }
.works--live .work.is-active .work-title .ln:nth-child(2) > span { transition-delay: .33s; }
.works--live .work.is-active .work-tags, .works--live .work.is-active .work-credits > div, .works--live .work.is-active .work-listen { opacity: 1; transform: none; filter: none; transition-delay: .45s; }
.works--live .work.is-active .work-credits > div:nth-child(2) { transition-delay: .52s; }
.works--live .work.is-active .work-credits > div:nth-child(3) { transition-delay: .59s; }
.works--live .work.is-active .work-credits > div:nth-child(4) { transition-delay: .66s; }
.works--live .work.is-active .work-credits > div:nth-child(5) { transition-delay: .73s; }
.works--live .work.is-active .work-credits > div:nth-child(6) { transition-delay: .8s; }
.works--live .work.is-active .work-listen { transition-delay: .75s; }
/* copertina */
.works--live .work-visual { perspective: 1400px; }
.works--live .sleeve-wrap { transform-style: preserve-3d; opacity: 0; transform: translateY(46vh) rotateY(-38deg) rotateZ(7deg) scale(.82); transition: opacity .7s ease, transform 1.2s var(--ease); }
.works--live .work.is-past .sleeve-wrap { transform: translateY(-46vh) rotateY(38deg) rotateZ(-7deg) scale(.82); }
.works--live .work.is-active .sleeve-wrap { opacity: 1; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition-delay: .1s; }
.works--live .work.is-active .sleeve-wrap.tilting { transition: opacity .7s ease, transform .25s ease-out; transition-delay: 0s; }
/* indicatori */
.works--live .works-dots { display: flex; position: absolute; z-index: 5; right: 28px; top: 50%; transform: translateY(-50%); flex-direction: column; gap: 10px; }
.works-dots button { all: unset; cursor: pointer; width: 2px; height: 34px; padding: 0 10px; background: rgba(255,255,255,.18); background-clip: content-box; transition: background-color .4s, height .5s var(--ease); }
.works-dots button.on { background-color: #fff; height: 56px; }
@media (max-width: 899px) {
  .works--live { height: calc(var(--n) * 36vh + 100vh); }
  .works--live .works-head { top: 76px; padding: 0 24px; }
  .works--live .work { padding: 104px 40px 28px 24px; gap: 1.3rem; align-content: center; }
  .works--live .sleeve-wrap { width: min(56vw, 30svh); }
  .works--live .work-title { margin-bottom: 20px; }
  .works--live .work-tags { margin-bottom: 1rem; }
  .works--live .work-tags li { font-size: .44rem; letter-spacing: 1.5px; padding: .32rem .55rem; }
  .works--live .work-credits { margin-bottom: 1.2rem; }
  .works--live .work-credits > div { grid-template-columns: 4.6rem minmax(0, 1fr); padding: .48rem 0; gap: .6rem; }
  .works--live .work-credits dt { font-size: .46rem; }
  .works--live .work-credits dd { font-size: .62rem; }
  .works--live .listen-pill { padding: .7rem 1.05rem; font-size: .6rem; letter-spacing: 2px; }
  .works--live .works-dots { right: 6px; }
  .works--live .works-aura img { left: 50%; top: 30%; }
  .works--live .works-aura::after { background: radial-gradient(ellipse at 50% 30%, transparent 0, var(--bg) 75%), linear-gradient(var(--bg), transparent 15% 85%, var(--bg)); }
}

/* ================= BARRA SUPERIORE ================= */
.sn { --pad: clamp(20px, 3.4vw, 48px); position: fixed; z-index: 1000; inset: 0 0 auto 0; font-family: 'Inter', -apple-system, sans-serif; color: #fff; transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1); }
.sn::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.08); opacity: 0; transition: opacity .4s ease; }
.sn.is-solid::before, .sn.is-open::before { opacity: 1; }
.sn.is-hidden { transform: translateY(-100%); }
.sn-bar { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); max-width: 1336px; margin: 0 auto; height: 68px; padding: 0 var(--pad); padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }
.sn a { color: inherit; text-decoration: none; }
.sn-logo { display: flex; align-items: baseline; gap: 14px; margin-right: auto; font-size: 16px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.sn-logo span { font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.4); }
.sn-links { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.sn-links a { position: relative; padding: 8px 0; font-size: 11px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; color: rgba(255,255,255,.62); transition: color .3s; white-space: nowrap; }
.sn-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1); }
.sn-links a:hover, .sn-links a[aria-current] { color: #fff; }
.sn-links a:hover::after, .sn-links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.sn-cta { padding: 11px 22px; border-radius: 100px; background: #fff; color: #000 !important; font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; white-space: nowrap; transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), background .3s; }
.sn-cta:hover { transform: translateY(-2px); background: #dcdcdc; }
.sn a:focus-visible, .sn-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.sn-toggle { all: unset; display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; }
.sn-toggle i { position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; background: #fff; transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1); }
.sn-toggle i:first-child { transform: translateY(-4.5px); } .sn-toggle i:last-child { transform: translateY(4.5px); }
.sn.is-open .sn-toggle i:first-child { transform: rotate(45deg); } .sn.is-open .sn-toggle i:last-child { transform: rotate(-45deg); }
.sn-menu { display: none; }
@media (max-width: 1040px) { .sn-logo span { display: none; } }
@media (max-width: 860px) {
  .sn-links, .sn-cta { display: none; }
  .sn-toggle { display: block; }
  .sn-bar { height: 60px; }
  .sn-menu { display: flex; flex-direction: column; justify-content: space-between; position: fixed; inset: 0; z-index: 1; height: 100vh; height: 100dvh; padding: 96px var(--pad) max(28px, env(safe-area-inset-bottom)); background: #000; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s .35s; }
  .sn.is-open .sn-menu { visibility: visible; opacity: 1; transition-delay: 0s; }
  .sn-menu-links { display: flex; flex-direction: column; }
  .sn-menu-links a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: clamp(30px, 10vw, 46px); font-weight: 900; letter-spacing: -.045em; line-height: 1; text-transform: uppercase; opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .7s cubic-bezier(0.16, 1, 0.3, 1); }
  .sn-menu-links small { width: 22px; font-size: 10px; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,.35); }
  .sn-menu-links a[aria-current] { color: rgba(255,255,255,.45); }
  .sn.is-open .sn-menu-links a { opacity: 1; transform: none; }
  .sn.is-open .sn-menu-links a:nth-child(1) { transition-delay: .08s; } .sn.is-open .sn-menu-links a:nth-child(2) { transition-delay: .14s; }
  .sn.is-open .sn-menu-links a:nth-child(3) { transition-delay: .2s; } .sn.is-open .sn-menu-links a:nth-child(4) { transition-delay: .26s; }
  .sn-menu-foot { margin-top: 36px; }
  .sn-menu-cta { display: block; padding: 20px; border-radius: 100px; background: #fff; color: #000 !important; text-align: center; font-size: 13px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; }
  .sn-menu-foot p { display: flex; justify-content: center; gap: 30px; margin: 22px 0 0; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.5); }
}
html { scroll-padding-top: 68px; }
/* azzera i margini che il CSS ereditato da Carrd applica ai figli diretti */
.sn, .sn-bar, .sn-menu, .sn-menu-links { margin-top: 0 !important; margin-bottom: 0 !important; }
.sn-menu-foot { margin: 36px 0 0 !important; }
.sn-menu-foot p { margin: 22px 0 0 !important; }

/* ================= SISTEMA COMUNE (home: bio, servizi, portal, chiusura) ================= */
.u-out { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.55); letter-spacing: -.01em; }
.u-btn { display: inline-block; padding: 20px 52px; border-radius: 100px; background: #fff; color: #000 !important; text-decoration: none; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), background .4s, color .4s, box-shadow .4s, opacity .9s ease, filter .9s ease; }
.u-btn:hover { transform: translateY(-4px); background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1px #fff; }
.u-js .u-rv { opacity: 0; transform: translateY(30px); filter: blur(10px); transition: opacity .9s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter .9s ease; }
.u-js .u-rv.in { opacity: 1; transform: none; filter: none; }
.u-lines .ln { display: block; overflow: hidden; padding: .08em 0 .06em; margin-top: -.08em; }
.u-lines .ln > span { display: inline-block; }
.u-js .u-lines .ln > span { transform: translateY(112%); transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.u-js .u-lines.in .ln > span { transform: none; }
.u-js .u-lines.in .ln:nth-child(2) > span { transition-delay: .1s; }

.hm { --ease: cubic-bezier(0.16, 1, 0.3, 1); --line: rgba(255,255,255,.14); width: 100vw; margin: 0 0 0 calc(50% - 50vw) !important; padding: 130px 0; color: #fff; font-family: 'Inter', -apple-system, sans-serif; text-align: left; line-height: 1.5; }
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
.hm h2, .hm h3, .hm p, .hm dt, .hm dd, .hm a { font-family: inherit; }
.hm--dark { background: #000; } .hm--soft { background: #0B0C0D; }
.hm-wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.hm-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.hm-eyebrow::before { content: ''; width: 28px; height: 1px; background: rgba(255,255,255,.35); }
.hm-title { margin: 0 0 64px; font-size: clamp(54px, 8vw, 124px); font-weight: 900; line-height: .86; letter-spacing: -.05em; text-transform: uppercase; }
.hm-title--xl { font-size: clamp(64px, 12vw, 190px); margin-bottom: 48px; }
.hm strong { color: #fff; font-weight: 600; }
.hm-n { display: block; font-size: 11px; font-weight: 700; letter-spacing: 3px; color: rgba(255,255,255,.35); font-variant-numeric: tabular-nums; }
.hm-photo { overflow: hidden; border-radius: 6px; background: #0a0a0a; }
.hm-photo img { display: block; width: 100%; height: 100%; object-fit: cover; scale: 1.14; translate: 0 var(--py, 0px); transition: scale 1.8s var(--ease); will-change: translate; }
/* la maschera sta sull'immagine, non sul contenitore: un contenitore ritagliato a zero non viene mai rilevato come visibile */
.u-js .hm-photo.u-rv { opacity: 1; transform: none; filter: none; background: transparent; }
.u-js .hm-photo.u-rv img { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease), scale 1.8s var(--ease); }
.u-js .hm-photo.u-rv.in img { clip-path: inset(0); }
.u-js .hm-photo.u-rv:not(.in) img { scale: 1.45; }

/* bio */
.hm-bio { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.hm-bio > .hm-photo { aspect-ratio: 4 / 5; }
.hm-statement { margin: 0 0 48px; font-size: clamp(22px, 2.5vw, 36px); font-weight: 500; line-height: 1.28; letter-spacing: -.025em; color: #85858b; }
.hm-statement .w { color: #3a3a3f; transition: color .5s ease; } .hm-statement .w.on { color: #9a9aa0; } .hm-statement strong .w.on { color: #fff; }
.u-js .hm-facts > div { border-top-color: transparent; background: linear-gradient(var(--line), var(--line)) 0 0 / 0% 1px no-repeat; transition: opacity .9s ease, transform 1.1s var(--ease), filter .9s ease, background-size 1.4s var(--ease); }
.u-js .hm-facts > div.in { background-size: 100% 1px; }
.hm-facts > div:nth-child(2) { transition-delay: .12s; }
.hm-facts { margin: 0; border-bottom: 1px solid var(--line); }
.hm-facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); }
.hm-facts dt { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.4); }
.hm-facts dd { margin: 0; font-size: 16.5px; line-height: 1.55; color: #a0a0a6; }
.hm-facts dd b { display: block; font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; letter-spacing: -.035em; line-height: 1; text-transform: uppercase; color: #fff; }
.hm-facts dd span { display: block; margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.45); }

/* servizi */
.hm-svcs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-svc { padding: 0 56px 56px 0; }
.hm-svc + .hm-svc { padding: 0 0 56px 56px; border-left: 1px solid var(--line); }
.hm-svc-visual { height: 300px; display: flex; align-items: center; justify-content: center; }
.hm-svc h3 { margin: 18px 0 20px; font-size: clamp(34px, 4.2vw, 62px); font-weight: 900; line-height: .92; letter-spacing: -.045em; text-transform: uppercase; }
.hm-svc p { margin: 0; max-width: 460px; font-size: 16.5px; line-height: 1.65; color: #85858b; }
.hm-svc p strong { color: #b9b9be; transition: color .4s; } .hm-svc:hover p strong { color: #fff; }
.hm-svc { display: flex; flex-direction: column; }
.hm-svc p { flex: 1; }
.hm-wave { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; height: 150px; }
.hm-wave span { width: 3px; height: calc(var(--h) * 1%); border-radius: 2px; background: #56565c; transform-origin: center; animation: hm-wave 1.9s ease-in-out infinite; animation-delay: calc(var(--i) * -95ms); transition: background .5s; }
.hm-svc:hover .hm-wave span { background: #fff; }
@keyframes hm-wave { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }
.hm-field { display: block; width: 100%; height: 100%; }
.hm-cred { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; align-items: center; gap: 22px; margin-top: 40px; padding: 22px 0 0; border-top: 1px solid var(--line); color: #fff; text-decoration: none; }
.hm-cred img { display: block; max-width: 100%; height: 38px; width: auto; object-fit: contain; object-position: left center; opacity: .9; transition: opacity .4s; }
.hm-cred img.is-dolby { height: 30px; }
.hm-cred b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.hm-cred small { display: block; margin-top: 4px; font-size: 10.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.45); }
.hm-cred i { font-style: normal; font-size: 18px; color: rgba(255,255,255,.5); transition: transform .5s var(--ease), color .3s; }
.hm-cred:hover img { opacity: 1; } .hm-cred:hover i { transform: translate(4px, -4px); color: #fff; }
.hm-cred:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
/* Su telefono: una riga di etichetta, sotto il marchio, freccia a destra. Il titolo in grassetto ripeteva il marchio: resta nel codice per chi legge con lo screen reader e per i motori, ma non si vede. */
@media (max-width: 899px) {
  .hm-cred { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label go" "logo go"; align-items: center; column-gap: 16px; row-gap: 14px; margin-top: 30px; padding-top: 20px; }
  .hm-cred img { grid-area: logo; height: 34px; } .hm-cred img.is-dolby { height: 26px; }
  .hm-cred > span { grid-area: label; }
  .hm-cred b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hm-cred small { margin: 0; font-size: 10px; letter-spacing: 2.5px; }
  .hm-cred small span { display: none; }
  .hm-cred i { grid-area: go; align-self: center; }
}
@media (max-width: 899px) { .hm-wave { height: 120px; gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .hm-wave span { animation: none; transform: scaleY(.7); } }
/* portal */
.hm-portal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.hm-portal .hm-title { margin-bottom: 40px; }
.hm-lead { margin: 0 0 18px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.025em; line-height: 1.25; color: #85858b; }
.hm-body { margin: 0; max-width: 470px; font-size: 16.5px; line-height: 1.65; color: #85858b; }
.hm-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #050505; }
.hm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (hover: hover) and (pointer: fine) { .hm-video iframe { pointer-events: none; } }

/* chiusura */
.hm-close { text-align: center; padding: 150px 0 160px; }
.hm-close .hm-title { margin-bottom: 44px; }

@media (max-width: 899px) {
  .hm { padding: 84px 0; }
  .hm-wrap { padding: 0 24px; }
  .hm-title { font-size: clamp(50px, 16vw, 84px); margin-bottom: 40px; }
  .hm-title--xl { font-size: clamp(64px, 22vw, 120px); margin-bottom: 34px; }
  .hm-bio, .hm-portal { grid-template-columns: 1fr; gap: 36px; }
  .hm-bio > .hm-photo { aspect-ratio: 1; }
  .hm-statement { margin-bottom: 32px; }
  .hm-facts > div { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .hm-svcs { grid-template-columns: 1fr; }
  .hm-svc, .hm-svc + .hm-svc { padding: 0 0 40px; border-left: 0; }
  .hm-svc + .hm-svc { border-top: 1px solid var(--line); }
  .hm-svc-visual { height: 220px; }
  .hm-badges { justify-content: center; margin-top: 36px; }
  .hm-portal .hm-title { margin-bottom: 28px; }
  .hm-close { padding: 100px 0 110px; }
  .u-btn { padding: 18px 40px; }
}
.hm-video { width: 100%; min-width: 0; }

/* coppia di foto dello studio: stessa altezza, stessa resa, quella su cui passi si allarga */
.hm-duo { display: flex; gap: 12px; height: clamp(300px, 31vw, 440px); margin-top: 90px; }
.hm-duo .hm-photo { position: relative; flex: 1 1 0; min-width: 0; height: 100%; transition: flex-grow 1.1s var(--ease); }
.hm-duo .hm-duo-a img { object-position: 50% 26%; }
.hm-duo .hm-photo.hm-duo-b { flex-grow: 1.3; }
.hm-duo .hm-duo-b img { object-position: 50% 50%; scale: 1.02; translate: none; filter: saturate(.96) contrast(1.06) brightness(.96); }
.u-js .hm-duo .hm-duo-b.u-rv:not(.in) img { scale: 1.22; }
.hm-duo .hm-duo-b::after { opacity: .55; }
.hm-duo .hm-photo img { filter: saturate(.8) contrast(1.12) brightness(.82); transition: clip-path 1.5s var(--ease), scale 1.8s var(--ease), filter .9s ease; }
.hm-duo .hm-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 45%, rgba(0,0,0,.5) 100%); }
.hm-duo .hm-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; opacity: .35; }
.hm-duo .hm-duo-b.u-rv img { transition-delay: .14s, .14s, 0s; }
@media (hover: hover) and (pointer: fine) {
  .hm-duo:hover .hm-photo { flex-grow: 1; }
  .hm-duo .hm-photo.hm-duo-a:hover { flex-grow: 1.45; }
  .hm-duo .hm-photo.hm-duo-b:hover { flex-grow: 1.5; }
  .hm-duo:hover .hm-photo.hm-duo-b:not(:hover) { flex-grow: 1; }
  .hm-duo .hm-photo:hover img { filter: saturate(1) contrast(1.04) brightness(1); }
  .hm-duo:hover .hm-photo:not(:hover) img { filter: saturate(.6) contrast(1.08) brightness(.62); }
}
@media (max-width: 899px) {
  .hm-duo { flex-direction: column; height: auto; gap: 10px; margin-top: 44px; }
  .hm-duo .hm-photo { flex: none; height: auto; }
  .hm-duo .hm-duo-a { aspect-ratio: 4 / 3; } .hm-duo .hm-duo-b { aspect-ratio: 3 / 2; }
  .hm-duo .hm-photo img { filter: saturate(.9) contrast(1.08) brightness(.92); }
}

/* Hero: un solo h1, le tre righe sono span (prima erano tre h1) */
h1.hero-text-overlay { margin: 0; padding: 0; font: inherit; }
.hero-text-overlay .mask, .hero-text-overlay .hero-title { display: block; }
/* Il riquadro che ritaglia ogni riga era largo quanto il testo: con la spaziatura negativa l'ultima lettera
   (la N di VISION) finiva sul bordo e perdeva l'asta destra. 14px di margine per lato, senza spostare nulla. */
.hero-text-overlay .mask { padding-left: 14px; padding-right: 14px; margin-left: -14px; margin-right: -14px; }

/* ================= HERO: su computer sta tutta in una schermata, fino al pulsante ================= */
@media (min-width: 900px) {
  .page-home .hero-apple-motion { box-sizing: border-box; height: 100vh; height: 100svh; min-height: 560px; padding: 84px 24px 30px; }
  .page-home .hero-wrapper { gap: 3vh; justify-content: center; }
  .page-home .hero-title { font-size: min(8.5vw, 10.6vh); white-space: nowrap; }
  .page-home .hero-image-wrap { width: auto; max-width: none; }
  .page-home .hero-image-wrap .image-container { width: auto; height: 34vh; aspect-ratio: 16 / 9; margin: 0 auto; }
  .page-home .hero-subtitle { margin: 2.2vh 0 0; white-space: nowrap; }
  .page-home .hero-footer { margin-top: 0; }
  .page-home .apple-btn { padding: 16px 42px; }
}

/* ================= FOOTER ================= */
.ft { width: 100vw; margin: 0 0 0 calc(50% - 50vw) !important; padding: 56px 0 30px; background: #000; color: #fff; font-family: 'Inter', -apple-system, sans-serif; text-align: left; border-top: 1px solid rgba(255,255,255,.08); }
.ft *, .ft *::before { box-sizing: border-box; }
.ft a { color: rgba(255,255,255,.72); text-decoration: none; font-family: inherit; transition: color .3s; }
.ft a:hover { color: #fff; }
.ft a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.ft-wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.ft-main { display: grid; grid-template-columns: 1fr 190px 190px 220px; gap: 40px; align-items: start; }
.ft-brand { margin: 0; font-size: 26px; font-weight: 900; line-height: .95; letter-spacing: -.5px; text-transform: uppercase; color: #fff; }
.ft-label { margin: 0 0 16px; font-size: 10px; font-weight: 700; letter-spacing: 3.5px; line-height: 1; text-transform: uppercase; color: rgba(255,255,255,.35); }
.ft-col ul { list-style: none; margin: 0; padding: 0; }
.ft-col li { margin: 0; padding: 0; }
.ft-col a { display: block; padding: 6px 0; font-size: 15px; font-weight: 500; line-height: 1.3; }
.ft-legal { margin: 52px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.4); }
@media (max-width: 899px) {
  .ft { padding: 44px 0 max(24px, env(safe-area-inset-bottom)); }
  .ft-wrap { padding: 0 24px; }
  .ft-main { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .ft-brand { grid-column: 1 / -1; font-size: 24px; }
  .ft-col a { padding: 10px 0; font-size: 16px; }
  .ft-col--legal { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); }
  .ft-col--legal a { font-size: 14.5px; color: rgba(255,255,255,.6); }
  .ft-legal { margin-top: 28px; font-size: 12px; }
}
/* niente fascia vuota sotto il footer (spazio ereditato da Carrd) */
.site-main > .inner { padding-bottom: 0 !important; }

/* ================= BANNER COOKIE ================= */
.ck { --acc: #c98cf0; position: fixed; z-index: 1100; left: 24px; bottom: 24px; width: min(430px, calc(100vw - 48px)); margin: 0 !important; padding: 26px 26px 22px; box-sizing: border-box; background: #0B0C0D; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; color: #fff; font-family: 'Inter', -apple-system, sans-serif; text-align: left; opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .6s cubic-bezier(0.16, 1, 0.3, 1); }
.ck.on { opacity: 1; transform: none; }
.ck *, .ck *::before, .ck *::after { box-sizing: border-box; font-family: inherit; }
.ck-k { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.ck-t { margin: 0 34px 0 0; font-size: 14px; line-height: 1.6; color: #a0a0a6; }
.ck-t a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ck button { all: unset; box-sizing: border-box; cursor: pointer; }
.ck button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ck .ck-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; }
.ck-x i { position: absolute; inset: 0; }
.ck-x i::before, .ck-x i::after { content: ''; position: absolute; left: 9px; right: 9px; top: 15.5px; height: 1px; background: rgba(255,255,255,.6); transform: rotate(45deg); transition: background .3s; }
.ck-x i::after { transform: rotate(-45deg); }
.ck-x:hover i::before, .ck-x:hover i::after { background: #fff; }
.ck-opts { margin-top: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.ck-opts[hidden] { display: none; }
.ck-opt { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); cursor: pointer; }
.ck-opt span { font-size: 12.5px; line-height: 1.45; color: #85858b; }
.ck-opt b { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 700; color: #fff; }
.ck-opt input { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 38px; height: 20px; margin: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; background: transparent; cursor: pointer; transition: background .3s, border-color .3s; }
.ck-opt input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; background: rgba(255,255,255,.6); transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), background .3s; }
.ck-opt input:checked { background: var(--acc); border-color: var(--acc); }
.ck-opt input:checked::after { transform: translateX(18px); background: #000; }
.ck-opt input:disabled { opacity: .45; cursor: default; }
.ck-opt input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ck-act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.ck-act button { padding: 14px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 100px; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #fff; transition: background .3s, color .3s, border-color .3s; }
.ck-act button:hover { background: #fff; border-color: #fff; color: #000; }
.ck .ck-more { display: block; width: 100%; margin-top: 14px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.6); transition: color .3s; }
.ck .ck-more:hover { color: #fff; }
.ck .ck-more.is-save { padding: 14px 10px; border-radius: 100px; background: #fff; color: #000; font-weight: 800; }
.ck .ck-more.is-save:hover { color: #000; background: #dcdcdc; }
@media (max-width: 600px) { .ck { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; padding: 22px 20px 18px; } }
