:root{
  --bg:#000;--fg:#e8e8e8;--red:#ff0000;--yellow:#fffb00;--green:#00ff1a;--line:#fff;
}
*{box-sizing:border-box;margin:0;padding:0}
html{background:var(--bg);overflow-x:clip;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{background:var(--bg);color:var(--fg);font-family:Inter,system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:clip}
.canvas{overflow-x:clip}
.nb .s{display:none}
a{color:inherit;text-decoration:none}
img,video,iframe{display:block}

/* ---------- scaled canvas (desktop/tablet ≥ 769px) ----------
   The whole layout is drawn on a 1024px-wide canvas, like the Readymag original,
   and scaled to the window width by site.js (CSS zoom). */
.scaled{width:1024px}
.topbar,.foot,.canvas{width:1024px;position:relative}
.foot{z-index:500}
.canvas{height:var(--ch)}
.it{position:absolute;left:var(--l);top:var(--t);width:var(--w);height:var(--h)}

/* header */
.topbar{height:60px;overflow:hidden;z-index:5}
.topbar .pattern{position:absolute;left:-15px;top:-6px;width:1040px;height:34px;object-fit:cover;background:#fff}
.nav{position:absolute;left:0;top:28px;width:100%;height:32px;display:flex}
.nb{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;color:#000;font-size:20px;letter-spacing:-.2px;line-height:32px;white-space:nowrap}
.nb svg{width:14px;height:14px;fill:#000}
.nb{background:rgb(var(--c)/1)}
.nb.y{--c:255 251 0}.nb.g{--c:0 255 26}.nb.r{--c:255 0 0}
.nb:hover{background:rgb(var(--c)/.8)}
@media (min-width:769px){.nb.y{flex:0 0 349.64px;margin-left:-6.15px}.nb.g{flex:0 0 342px}.nb.r{flex:0 0 345.6px}}
.canvas{margin-top:-60px}
.canvas .it{z-index:1}

/* ticker */
.ticker{position:relative;overflow:hidden;contain:paint;white-space:nowrap;color:var(--red);font-size:20px;line-height:30px;background:#000}
.tk{display:inline-flex;animation:tick 40s linear infinite;will-change:transform;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.tk span{padding-right:.3em}
@keyframes tick{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
.band{background:transparent;padding-top:8px;z-index:3!important}
.band .ticker{background:transparent}
.foot{height:125px}
.foot .ticker{position:absolute;left:0;top:13px;width:100%;height:30px}
.foot .nav{top:60px}

/* dotted red lines above and below the PORTFOLIO ticker (as in the original: 1px dots, 4.5px and 25.5px below the text top) */
.ticker::before,.ticker::after{content:"";position:absolute;left:0;right:0;height:1px;pointer-events:none;
  background:repeating-linear-gradient(90deg,var(--red) 0 2px,transparent 2px 3px)}
.ticker::before{top:calc(var(--pt,0px) + 4px)}
.ticker::after{top:calc(var(--pt,0px) + 25px)}

/* text */
.txt p,.txt h2,.txt li{white-space:pre-wrap;word-wrap:break-word}
.txt ul{list-style:none}
.txt a:hover span{color:rgba(255,0,0,.8)!important;text-decoration:none!important}
.hero{font-weight:400}
.hero span{text-transform:uppercase}

/* media */
.pic img{width:100%;height:100%;object-fit:cover}
.vid .media,.wide .media{width:100%;height:100%;object-fit:cover;background:#000;border:0}
.vid iframe{width:100%;height:100%}

/* home grid */
.bar{border:1px solid var(--line);display:flex;align-items:center;padding-left:20px;font-size:16px;line-height:16px;color:#fff}
.cell{border:1px solid var(--line);overflow:hidden}
.cell img{position:absolute;left:var(--il);top:var(--it);width:var(--iw);height:var(--ih);object-fit:contain;transition:opacity .2s ease}
.cell a.ci{display:contents}
.cell a.ci:hover img{opacity:.8}
.cell .vwrap{position:absolute;left:var(--il);top:var(--it);width:var(--iw);height:var(--ih)}
.cell .vwrap .media{width:100%;height:100%;background:transparent}
.next .nt{text-align:center}
@media (min-width:769px){.next .nt>p{position:absolute;left:65.5px;top:192px;width:195px}.next .nt>p+p{left:109.5px;top:227px;width:105px}}
.wide{overflow:hidden}

/* ---------- mobile (≤ 768px): stacked layout ---------- */
@media (max-width:768px){
  .topbar,.foot,.canvas{width:100%}
  .canvas{height:auto;margin-top:0;display:flex;flex-direction:column;gap:20px;padding:24px 16px 40px}
  .it{position:relative;left:auto;top:auto;width:auto;height:auto}
  .topbar{height:60px}
  .nb{font-size:11px;gap:4px}.nb svg{width:10px;height:10px}
  .ticker{font-size:16px}

  .pic,.vid,.wide{width:100%;aspect-ratio:var(--ar)}
  .project .pic,.project .vid{max-width:100%}
  /* small detail images stay smaller */
  .project .pic[style*="--w:1"],.project .pic[style*="--w:2"]{width:60%;align-self:center}
  .txt p,.txt h2{line-height:1.45!important}
  .txt span{font-size:15px!important}
  .project .txt:first-of-type span{font-size:15px!important}

  .hero-img{width:60%;align-self:flex-end;margin-top:-8px}
  .hero{order:-1}
  .hero{white-space:normal}.hero p{line-height:1.08!important;white-space:normal;font-size:clamp(28px,9vw,44px)!important}.hero p:empty,.hero p:last-child{display:none}
  .hero span{font-size:clamp(28px,9vw,44px)!important;letter-spacing:-.5px!important}
  .band{margin:0 -16px;width:auto}
  .bio span{font-size:16px!important}

  .grp{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:12px}
  .grp .bar{grid-column:1/-1;height:30px}
  .grp .cell{position:relative;aspect-ratio:316/418;margin:0}
  .grp .cell img{position:absolute;inset:8%;width:84%;height:84%;left:8%;top:8%}
  .grp .cell .vwrap{position:absolute;inset:0;width:100%;height:100%;left:0;top:0}
  .soc .cell:last-child{grid-column:1/-1;aspect-ratio:1}
  .play{grid-template-columns:1fr}
  .play .wide{aspect-ratio:946/614;height:auto}
  .next .nt span{font-size:13px!important}
  .foot{height:87px!important}
  .nb .l{display:none}.nb .s{display:inline}
  .vid iframe{background:#0b0b0b}
}
@media (prefers-reduced-motion:reduce){.tk{animation:none}}

/* tennis balls over the hero (appear under the pointer / finger). The span is the fixed hit area,
   the img inside animates on the GPU (transform + opacity only). */
.herowrap{z-index:2}
.balls{position:absolute;inset:0;z-index:3}
.ball{position:absolute;display:block;width:53px;height:66px;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.ball img{width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .33s ease;will-change:opacity;transform:translateZ(0);backface-visibility:hidden;-webkit-backface-visibility:hidden;pointer-events:none}
.ball.on img{opacity:1;transition:opacity .3s ease}
@media (hover:hover){.ball:hover img{opacity:1;transition:opacity .3s ease}}
@media (min-width:769px){.ball img{position:absolute;left:1.3px;top:8px;width:51.2px;height:51.6px}}
@media (max-width:768px){
  .herowrap{order:-1;position:relative;left:auto;top:auto;width:auto;height:auto}
  .herowrap .hero{position:relative!important;left:auto!important;top:auto!important;width:auto!important;height:auto!important}
  .ball{left:var(--bl)!important;top:var(--bt)!important;width:13vw;height:16vw;max-width:53px;max-height:66px}
}
@media (max-width:768px){.project .shape{width:100%;aspect-ratio:var(--ar)}}

/* ================= MOBILE REDESIGN (≤768px) =================
   Not a copy of Readymag's mobile layout: designed from the desktop version for phones.
   - contacts bar fixed at the bottom (thumb reach), 56px touch targets, safe-area aware
   - 20px side margins, 16px body text at 1.5 line-height, consistent 24px vertical rhythm
   - every media block full width, natural aspect ratio */
@media (max-width:768px){
  body{padding-bottom:calc(56px + env(safe-area-inset-bottom))}
  .topbar{height:24px}
  .topbar .pattern{height:24px}
  .topbar .nav{position:fixed;left:0;right:0;top:auto;bottom:0;height:calc(56px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);z-index:1000;box-shadow:0 -1px 0 rgba(255,255,255,.12)}
  .topbar{overflow:visible}
  .nav .nb{font-size:15px;gap:6px;letter-spacing:0;line-height:1;min-height:56px}
  .nav .nb svg{width:13px;height:13px}
  .nb:active{background:rgb(var(--c)/.8)}
  .foot{height:auto!important;padding:8px 0 16px}
  .foot .nav{display:none}
  .foot .ticker{position:relative;top:0;height:45px}

  .canvas{gap:24px;padding:24px 20px 48px}
  .band{margin:0 -20px}
  .txt p,.txt h2,.txt li{line-height:1.5!important}
  .txt span{font-size:16px!important}
  .project .txt:first-of-type span{font-size:17px!important}
  .txt a{display:inline-flex;align-items:center;min-height:44px}
  .hero p,.hero span{font-size:clamp(30px,10vw,48px)!important;line-height:1.05!important}
  .hero-img{width:62%}
  .bio span{font-size:17px!important}

  .grp .bar{height:40px;font-size:15px}
  .cell a.ci:active img{opacity:.8}
  .next{grid-column:1/-1;aspect-ratio:auto!important;padding:40px 16px;display:flex;align-items:center;justify-content:center}
  .next .nt span{font-size:15px!important}

  /* SYN: phone video sits on the green panel */
  .project .shape{display:none}
  .project .vid[style*="--t:1774"]{background:rgb(19,255,146);padding:24px 18%;aspect-ratio:auto}
  .project .vid[style*="--t:1774"] .media{aspect-ratio:278/479;height:auto}
}

/* sound toggle on videos with audio (SYN Rec 1) */
.vid .snd{position:absolute;right:12px;bottom:12px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2;transition:background .2s}
.vid .snd:hover{background:rgba(0,0,0,.8)}
.vid .snd svg{width:20px;height:20px;fill:#fff}
.vid .snd .on{display:none}.vid .snd[aria-pressed="true"] .on{display:inline}.vid .snd[aria-pressed="true"] .off{display:none}
@media (max-width:768px){.vid .snd{width:44px;height:44px}}
@media (max-width:768px){.topbar .pattern{left:0;top:0;width:100%;height:100%}}
@media (max-width:768px){.topbar{z-index:1000}}

/* ===== 28/11/2026 ===== */
/* header: glitch video behind the three buttons, visible through them on hover */
.nav .navfx{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none;background:#000}
.nav .nb{position:relative;z-index:1}
@media (max-width:768px){.nb:active{background:rgb(var(--c)/.72)}}

/* SYN: full-width green band with the LOGIN phones, the iso composition and the MARK video */
.greenband{background:rgb(19,255,146)}
.greenband .it{z-index:1}
.greenband .mark{z-index:2}
.vid.mark .media{background:transparent;object-fit:fill;
  -webkit-mask:url(img/syn-mark2-mask.png) center/100% 100% no-repeat;mask:url(img/syn-mark2-mask.png) center/100% 100% no-repeat}
.vid.rec1 .media{background:#000}

@media (max-width:768px){
  .project .greenband{display:grid;grid-template-columns:1fr 1fr;column-gap:12px;row-gap:28px;align-items:end;
    margin:8px -20px;width:auto;height:auto;padding:40px 20px 44px}
  .project .greenband .gp{width:74%!important;justify-self:center;align-self:end;margin:0}
  .project .greenband .gp3{grid-column:1/-1;width:100%!important}
  .project .greenband .mark{grid-column:1/-1;justify-self:center;width:62%;max-width:300px;aspect-ratio:var(--ar);height:auto;margin-top:-4px}
}
.greenband{overflow:hidden}
@media (max-width:768px){
  .project .greenband{grid-template-columns:1fr}
  .project .greenband .gp12{width:112%!important;max-width:none;justify-self:start;margin-left:-2%}
  .project .greenband .gp3{width:128%!important;max-width:none;justify-self:start;margin-left:-4%}
}
.vid.mark{filter:drop-shadow(16px 20px 22px rgba(0,45,22,.32))}
@media (max-width:768px){.next .nt>p{line-height:1.35!important}.next .nt>p+p{margin-top:10px}.next .nt>p+p span{font-size:11px!important;letter-spacing:.04em!important}}
/* mobile Featured: "the next project" sits next to the 5th project, so the 2-column grid closes without an empty cell */
@media (max-width:768px){.grp .cell.next{grid-column:auto;aspect-ratio:316/418!important;padding:16px 12px}.next .nt span{font-size:14px!important}}

/* ===== 28/11/2026 sera: mobile v2 (richieste di Greta dal telefono) ===== */
.herozone,.lkrow,.row2,.row3{display:contents}
@media (max-width:768px){
  /* header in alto come su desktop (striscia pattern + 3 rettangoli, più sottili) */
  body{padding-bottom:calc(42px + env(safe-area-inset-bottom))}
  .topbar{height:56px;overflow:hidden;z-index:5}
  .topbar .pattern{left:0;top:0;width:100%;height:22px}
  .topbar .nav{position:absolute;left:0;right:0;top:22px;bottom:auto;height:34px;padding:0;box-shadow:none;z-index:2}
  .nav .nb{min-height:0;font-size:14px;gap:6px;line-height:1}
  .nav .nb svg{width:12px;height:12px}
  /* barra fissa in basso: stessi rettangoli, sottili */
  .foot{padding:8px 0 16px}
  .foot .nav{display:flex;position:fixed;left:0;right:0;top:auto;bottom:0;height:calc(42px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);z-index:1000;box-shadow:0 -1px 0 rgba(255,255,255,.12)}
  .nb:active{background:rgb(var(--c)/.8)}

  /* apertura home su telefono (richieste di Greta): stessa composizione del desktop ma con titolo e foto più grandi.
     Foto a destra larga metà schermo, titolo su tre righe (GRETA CAVALIERE / _GRAPHIC DESIGNER / _UX/UI DESIGNER) che può passare sopra la foto,
     fascia PORTFOLIO a 20px con le linee tratteggiate, sovrapposta al fondo della foto come su desktop. */
  .herozone{--ph:72.15vw;display:block;position:relative;width:auto;height:calc(var(--ph) * .913 + 45px);margin:-24px -20px 0;flex:none;order:-2}
  .herozone .it{margin:0!important;order:0!important;max-width:none!important;align-self:auto!important}
  .herozone .hero-img{position:absolute!important;right:0;left:auto!important;top:0!important;width:50vw!important;height:var(--ph)!important;aspect-ratio:auto!important}
  .herozone .herowrap{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:var(--ph)!important}
  .herozone .herowrap .hero{position:absolute!important;left:16px!important;top:calc(var(--ph) * .29)!important;width:calc(100% - 16px)!important;height:auto!important;white-space:normal}
  .herozone .hero p,.herozone .hero span{font-size:min(9.4vw,46px)!important;line-height:1.1!important;letter-spacing:-.02em!important}
  .herozone .hero p{white-space:nowrap!important}
  .herozone .hero p:last-child{display:none!important}
  .herozone .ball{width:10vw!important;height:12.4vw!important;max-width:53px!important;max-height:66px!important}
  .herozone .band{position:absolute!important;left:0!important;right:0;top:calc(var(--ph) * .913)!important;width:auto!important;height:45px!important;padding-top:8px}
  .herozone .band .ticker{font-size:20px;line-height:30px}
  .foot .ticker{font-size:20px!important}

  /* bio più compatta */
  .txt.bio p{font-size:15px!important;line-height:1.35!important}
  .txt.bio span{font-size:15px!important}
  /* titoli di sezione +1 punto */
  .grp .bar{font-size:16px}
  /* Featured: telefono SYN un po' più piccolo */
  .grp .cell a[href*="syn"] img{left:17%;top:15%;width:66%;height:70%;inset:auto}
  /* Social: tre video in riga come su desktop, contenuto più grande */
  .grp.soc{grid-template-columns:repeat(3,1fr)}
  .soc .cell:last-child{grid-column:auto;aspect-ratio:316/418}
  .soc .cell .vwrap .media{transform:scale(1.16);transform-origin:50% 50%}
  /* Playground: video intero, senza tagli */
  .play .wide{aspect-ratio:1726/848!important}

  /* pagine progetto: Instagram e Behance in orizzontale */
  .lkrow{display:flex;gap:32px;align-items:center;margin-top:-8px}
  .lkrow .it{position:relative;left:auto;top:auto;width:auto;height:auto}
  /* tre immagini in riga (Formikolio, Rubino) e bambina + mano (Besso), nei margini */
  .row3{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
  .row2{display:grid;grid-template-columns:1fr 1fr;gap:9px}
  .project .row3 .pic,.project .row2 .pic{width:100%!important;align-self:auto;margin:0}

  /* SYN: telefoni in orizzontale come su desktop (stessa composizione rimpicciolita), video MARK invariato sotto */
  .project .greenband{display:block!important;position:relative;margin:8px -20px;width:auto!important;height:auto!important;padding:calc(575px * var(--s,.38)) 0 44px!important}
  .project .greenband .gp{position:absolute!important;left:calc(var(--l) * var(--s,.38))!important;top:calc((var(--t) - 30px) * var(--s,.38))!important;width:calc(var(--w) * var(--s,.38))!important;height:calc(var(--h) * var(--s,.38))!important;margin:0!important;max-width:none!important}
  .project .greenband .mark{position:relative!important;left:auto!important;top:auto!important;display:block;margin:0 auto!important;width:calc((100% - 40px) * .62)!important;max-width:300px;height:auto!important;aspect-ratio:var(--ar)}
}
/* telefoni: video glitch sempre visibile sotto i rettangoli (scelta di Greta) */
@media (max-width:768px) and (hover:none){.nav .nb{background:rgb(var(--c)/.8)}.nav .nb:active{background:rgb(var(--c)/.65)}}
/* lightbox immagini progetto (telefono) */
@media (max-width:768px){.project main.canvas .pic img{cursor:zoom-in;-webkit-tap-highlight-color:transparent}}
.lb{position:fixed;inset:0;z-index:3000;background:#000;animation:lbin .18s ease}
@keyframes lbin{from{opacity:0}to{opacity:1}}
.lb-track{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.lb-track::-webkit-scrollbar{display:none}
.lb-slide{flex:0 0 100%;height:100%;scroll-snap-align:center;display:flex;align-items:center;justify-content:center;padding:56px 10px calc(48px + env(safe-area-inset-bottom))}
.lb-slide img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}
.lb-x{position:absolute;top:calc(8px + env(safe-area-inset-top));right:8px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font:300 30px/44px Inter,system-ui,sans-serif;cursor:pointer}
.lb-n{position:absolute;left:0;right:0;bottom:calc(16px + env(safe-area-inset-bottom));text-align:center;color:rgba(255,255,255,.7);font-size:13px;letter-spacing:.04em}
/* telefono: la barra fissa in basso compare solo quando l'header in alto non si vede */
@media (max-width:768px){
  .foot .nav{transition:transform .28s ease,visibility 0s linear 0s}
  body.navtop-on .foot .nav{transform:translateY(100%);visibility:hidden;transition:transform .28s ease,visibility 0s linear .28s}
}
/* telefono: barre dei titoli di sezione più basse; riquadro Playground un po' più alto (il video lo riempie a filo, si stringe appena ai lati) */
@media (max-width:768px){
  .grp .bar{height:32px!important;padding-left:14px}
  .play .wide{aspect-ratio:1.85!important}
  .play .wide .media{object-fit:cover!important;object-position:50% 0}
}
/* telefono: immagini Featured con ingombro visivo simile (stessa superficie circa), centrate */
@media (max-width:768px){
  .grp .cell a[href^="besso-kids/"] img{inset:auto;width:64.8%;height:53.9%;left:17.6%;top:23.1%}
  .grp .cell a[href^="syn/"] img{inset:auto;width:39%;height:68.6%;left:30.5%;top:15.7%}
  .grp .cell a[href^="formikolio/"] img{inset:auto;width:73.6%;height:47.4%;left:13.2%;top:26.3%}
  .grp .cell a[href^="giovanni-rubino/"] img{inset:auto;width:82.3%;height:47.2%;left:8.9%;top:26.4%}
  .grp .cell a[href^="ancient-future/"] img{inset:auto;width:63%;height:55.4%;left:18.5%;top:22.3%}
}
/* telefono: bordi sovrapposti come su desktop (linee interne da 1px, non doppie) */
@media (max-width:768px){
  .grp > .cell{margin-top:-1px}
  .grp.feat > .cell:nth-child(odd),.grp.soc > .cell:nth-child(n+3){margin-left:-1px}
}
@media (max-width:768px){.grp.feat > .cell:nth-child(odd),.grp.soc > .cell:nth-child(n+3){aspect-ratio:auto!important;align-self:stretch}}
/* telefono: riquadro Playground verticale-quadrato (richiesta di Greta), video a filo e centrato */
@media (max-width:768px){.play .wide{aspect-ratio:1/1!important}.play .wide .media{object-position:50% 50%}}
.mbr{display:none}
@media (max-width:768px){.herozone .mbr{display:inline}}
/* telefono: foto un po' più piccola; titolo in verticale (GRETA CAVALIERE / _GRAPHIC / DESIGNER / _UX/UI DESIGNER) */
@media (max-width:768px){
  .herozone{--ph:63.5vw}
  .herozone .hero-img{width:44vw!important}
  .herozone .herowrap .hero{top:calc(var(--ph) * .12)!important}
}
/* telefono: PORTFOLIO un po' più piccolo (17px) con linee tratteggiate proporzionate; in apertura la linea di sotto coincide col fondo della foto */
@media (max-width:768px){
  .ticker,.herozone .band .ticker,.foot .ticker{font-size:17px!important;line-height:26px!important}
  .ticker::before{top:3px}.ticker::after{top:21px}
  .foot .ticker{height:26px!important}
  .herozone{height:calc(var(--ph) + 6px)}
  .herozone .band{top:calc(var(--ph) - 30px)!important;height:34px!important;padding-top:8px}
  /* bio: prima riga unica, testo +2, interlinea un po' più stretta */
  .txt.bio p,.txt.bio span{font-size:17px!important}
  .txt.bio p{line-height:1.25!important}
  .txt.bio p:first-child,.txt.bio p:nth-child(2){display:inline}
  .txt.bio p:first-child::after{content:" "}
  .txt.bio p:nth-child(2)::after{content:"";display:block}
}
@media (max-width:768px){
  .herozone .herowrap .hero{top:calc(var(--ph) * .045)!important}
  .herozone .hero p,.herozone .hero span{line-height:1.04!important}
}
/* telefono: striscia video bianco/nero in alto alta quanto i rettangoli dell'header (34px) */
@media (max-width:768px){.topbar{height:68px}.topbar .pattern{height:34px}.topbar .nav{top:34px}}
/* telefono: titolo su sei righe (GRETA / CAVALIERE / _GRAPHIC / DESIGNER / _UX/UI / DESIGNER) ricalibrato sopra la fascia; a capo nel paragrafo dopo "focus" e "original" */
@media (max-width:768px){
  .herozone .herowrap .hero{top:calc(var(--ph) * .02)!important}
  .herozone .hero p,.herozone .hero span{font-size:min(8.9vw,44px)!important;line-height:1!important}
  .txt.bio .mbr{display:inline}
}
@media (max-width:370px){.txt.bio p,.txt.bio span{font-size:16px!important}}
@media (max-width:768px){.lkrow{align-items:flex-start}.lkrow p{line-height:20px!important}.lkrow .txt a{min-height:0}}
/* Playground: su desktop il riquadro ha le proporzioni del video (si vede intero); su telefono linea bianca di chiusura sempre sopra al video */
@media (max-width:768px){
  .play .wide{position:relative}
  .play .wide .media{position:absolute;inset:0;width:100%;height:100%}
  .play .wide::after{content:"";position:absolute;inset:-1px;border:1px solid var(--line);pointer-events:none;z-index:2}
}
/* desktop: Playground = file "poster video def" intero, senza ritagli né zoom */
@media (min-width:769px){.play .wide .media{object-fit:contain!important}}
/* telefono: Playground con lo stesso video intero del desktop; il riquadro prende l'altezza del video, così il bordo bianco lo chiude sotto */
@media (max-width:768px){
  .play .wide{aspect-ratio:auto!important;height:auto!important;overflow:visible}
  .play .wide::after{display:none}
  .play .wide .media{position:static!important;display:block;width:100%!important;height:auto!important;aspect-ratio:1726/1080;object-fit:contain!important}
  /* titolo +2px, a sinistra, centrato in altezza tra header e linea tratteggiata superiore della fascia PORTFOLIO */
  .herozone .herowrap .hero{top:0!important;height:calc(var(--ph) - 19px)!important;display:flex;flex-direction:column;justify-content:center}
  .herozone .hero p,.herozone .hero span{font-size:calc(min(8.9vw,44px) + 2px)!important}
}
@media (max-width:768px){.herozone{--ph:68vw}}
/* telefono (Safari/Chrome iOS): il video copriva il bordo inferiore. Il video sta 1px dentro il riquadro e la linea di chiusura è un elemento separato sopra */
@media (max-width:768px){
  .play .wide{padding:0;border-bottom:0;isolation:isolate}
  .grp.play::after{content:"";display:block;height:1px;background:var(--line);margin-top:0;position:relative;z-index:5}
}
