@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-tight-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-tight-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Odile Renk, concept site by Davide Lo Bartolo */

:root {
  --carta: #F4F4F2;
  --nero: #0B0B0B;
  --fondo-foto: #E4E4E0;
  --m: 20px;
  --f: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --vh: 1vh;
  --gigante: clamp(64px, 15.4vw, 330px);
  --titolino: clamp(34px, 4.7vw, 88px);
  --titolino-striscia: clamp(26px, 4.7vh, 62px);
}

@supports (height: 1svh) { :root { --vh: 1svh; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--carta); color: var(--nero);
  font: 500 12px/1.25 var(--f); letter-spacing: .02em; text-transform: uppercase;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
img { display: block; }
:focus-visible { outline: 2px solid var(--nero); outline-offset: 2px; box-shadow: 0 0 0 4px var(--carta); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* labels */
.et { display: inline-block; padding: 5px 7px 4px; background: var(--nero); color: var(--carta); line-height: 1; white-space: nowrap; }
button.et { border: 0; border-radius: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
a.et:hover, button.et:hover, .et[aria-current] { background: var(--carta); color: var(--nero); }
.et[aria-current] { pointer-events: none; }

.sc, .sc-t { color: #fff; white-space: nowrap; }
.sc-t { font-size: var(--titolino); line-height: 1; letter-spacing: -.045em; text-transform: none; }
.striscia .sc, .striscia .sc-t { mix-blend-mode: difference; }
.fermo { mix-blend-mode: normal !important; }
.fermo.su-chiaro.sc, .fermo.su-chiaro.sc-t { color: var(--nero); }

.salta { position: fixed; z-index: 220; left: var(--m); top: var(--m); transform: translateY(-400%); }
.salta:focus { transform: none; }

/* cursor */
.cursore-et { display: none; position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; }
.con-cursore [data-c="View"], .con-cursore [data-c="View"] * { cursor: none; }
.con-cursore .cursore-et { display: block; }
.con-cursore .cursore-et.fuori { visibility: hidden; }

/* header */
.testa { position: fixed; z-index: 30; left: 0; right: 0; top: 0; padding: var(--m); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; pointer-events: none; }
.testa-sin, .testa-des { display: flex; gap: 2px; pointer-events: auto; }

.piede { position: fixed; z-index: 20; right: var(--m); bottom: var(--m); display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.piede-passi { display: flex; gap: 2px; margin-top: 10px; }
.piede-passi .et { padding: 7px 11px 6px; }

.titolo {
  position: absolute; z-index: 2; left: var(--m); bottom: calc(var(--m) - .13em);
  pointer-events: none;
  font-size: var(--gigante); font-weight: 500; line-height: 1.12; letter-spacing: -.06em; text-transform: none; white-space: nowrap;
  color: #fff; mix-blend-mode: difference;
}
.titolo span { display: block; padding-right: .08em; }
.titolo.fermo.su-chiaro { color: var(--nero); }

/* page cut */
.stacco { display: none; position: fixed; inset: 0; z-index: 200; background: var(--nero); color: var(--carta); pointer-events: none; }
.js .stacco { display: block; }
.stacco-t { position: absolute; left: var(--m); bottom: calc(var(--m) - .13em); height: 1.12em; font-size: var(--gigante); line-height: 1.12; letter-spacing: -.06em; text-transform: none; white-space: nowrap; }
.stacco-n { position: absolute; left: var(--m); top: var(--m); }
.stacco-n:empty { display: none; }
.aperto .stacco { animation: via .21s steps(3, end) forwards; }
@keyframes via { from { clip-path: inset(0); } to { clip-path: inset(0 0 100% 0); } }
.chiuso .stacco { display: block; animation: none; clip-path: none; }
.carica .stacco, .senza .stacco { display: none; }

/* loader, first visit only */
.intro { display: none; position: fixed; inset: 0; z-index: 210; }
.carica .intro { display: block; }
.intro svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; text-transform: none; letter-spacing: 0; }
.intro-n { position: absolute; right: var(--m); bottom: var(--m); }
.carica .tavola .sopra { visibility: hidden; }
.testa, .casa .piede { transition: opacity .9s ease .25s, transform 1.1s cubic-bezier(.16, 1, .3, 1) .25s; }
.carica .testa, .carica .piede { opacity: 0; transition: none; }
.carica .testa { transform: translateY(-14px); }
.carica .piede { transform: translateY(14px); }

/* home: spreads */
.tavola { position: relative; height: 100vh; height: 100svh; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, 1fr); background: var(--carta); overflow: hidden; }
.js .ferma { overflow: hidden; height: 100%; }
html.js:has(.ferma) { height: 100%; overflow: hidden; }
.js .tavole { position: fixed; inset: 0; touch-action: none; }
.js .tavola { position: absolute; inset: 0; height: auto; visibility: hidden; }
.js .tavola.attiva { visibility: visible; z-index: 1; }
.js .tavola.entra { visibility: visible; z-index: 2; background: none; }
.tavola.entra .tessera, .tavola.entra .sopra { visibility: hidden; }
.tavola.entra .tessera.su, .tavola.entra .sopra.su { visibility: visible; animation: scatto .07s steps(1, end); }
@keyframes scatto { from { filter: brightness(0); } to { filter: none; } }

.tessera { position: relative; overflow: hidden; min-width: 0; min-height: 0; background: var(--fondo-foto); }
a.tessera { display: block; }
.tessera img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
a.tessera:focus-visible { outline-offset: -8px; }

.carta-p, .carta-s { background: var(--carta); padding: var(--m); display: flex; flex-direction: column; gap: 14px; }
.carta-p b { display: block; margin-left: -.05em; font-weight: 500; font-size: clamp(60px, 10.6vw, 236px); line-height: .76; letter-spacing: -.07em; }
.carta-testo { max-width: 27ch; font-size: clamp(14px, 1.1vw, 18px); line-height: 1.18; letter-spacing: -.01em; text-transform: none; text-wrap: pretty; }

.t6 .q1 { grid-area: 1 / 1 / 13 / 6; }   .t6 .q2 { grid-area: 1 / 6 / 8 / 9; }
.t6 .q3 { grid-area: 1 / 9 / 6 / 13; }   .t6 .q4 { grid-area: 8 / 6 / 13 / 9; }
.t6 .q5 { grid-area: 6 / 9 / 13 / 11; }  .t6 .q6 { grid-area: 10 / 11 / 13 / 13; }
.t6 .carta-p { grid-area: 6 / 11 / 10 / 13; }
.t4 .q1 { grid-area: 1 / 7 / 13 / 11; }  .t4 .q2 { grid-area: 1 / 1 / 7 / 7; }
.t4 .q3 { grid-area: 1 / 11 / 7 / 13; }  .t4 .q4 { grid-area: 7 / 1 / 13 / 5; }
.t4 .carta-p { grid-area: 7 / 5 / 13 / 7; } .t4 .carta-s { grid-area: 7 / 11 / 13 / 13; }
.t4.modo-centro .carta-p { justify-content: flex-end; }
.t3 .q1 { grid-area: 1 / 1 / 13 / 5; }   .t3 .q2 { grid-area: 1 / 5 / 9 / 10; }
.t3 .q3 { grid-area: 4 / 10 / 13 / 13; }
.t3 .carta-p { grid-area: 1 / 10 / 4 / 13; justify-content: flex-end; }
.t3 .carta-p b { font-size: clamp(60px, min(10.6vw, 33vh - 86px), 236px); }
.t3 .carta-s { grid-area: 9 / 5 / 13 / 10; padding-left: 52%; }
.t2 .q1 { grid-area: 1 / 1 / 13 / 7; }   .t2 .q2 { grid-area: 1 / 9 / 9 / 13; }
.t2 .carta-p { grid-area: 1 / 7 / 5 / 9; } .t2 .carta-s { grid-area: 9 / 9 / 13 / 12; }

/* giant titles, inverted */
.tavola-t {
  position: absolute; z-index: 3; pointer-events: none; padding-bottom: .12em;
  font-size: var(--gigante); font-weight: 500; line-height: .82; letter-spacing: -.06em; text-transform: none; white-space: nowrap;
  color: #fff; mix-blend-mode: difference;
}
.tavola-t span { display: block; }
.tv-basso { left: var(--m); bottom: calc(var(--m) - .1em); }
.tv-alto { left: var(--m); top: calc(var(--m) * 2 + 30px); }
.tv-centro { left: 50%; top: 50%; transform: translate(-50%, -52%); font-size: calc(var(--gigante) * 1.4); }
.tv-verticale { left: calc(var(--m) - .06em); bottom: var(--m); padding: 0 0 0 .12em; font-size: min(var(--gigante), 27vh); writing-mode: vertical-rl; transform: rotate(180deg); }
.tv-fascia { left: 0; right: 0; top: 50%; transform: translateY(-50%); padding: .07em var(--m) .13em; background: var(--carta); mix-blend-mode: normal; }
.tv-fascia span { width: fit-content; background-size: cover; background-position: 50% 30%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.tv-spezzato { inset: 0; padding: 0; }
.tv-spezzato span { position: absolute; }
.tv-spezzato span:first-child { left: var(--m); top: calc(var(--m) * 2 + 30px); }
.tv-spezzato span:last-child { right: calc(var(--m) + .04em); bottom: calc(var(--m) + 112px); }
.t6 .tv-spezzato span:last-child { right: calc(16.667% + var(--m)); bottom: calc(var(--m) + .02em); }
.t4.modo-spezzato .carta-s { grid-area: 7 / 5 / 13 / 7; justify-content: flex-end; background: none; }
.t2.modo-spezzato .carta-s { grid-area: 9 / 7 / 13 / 9; }

/* index */
.elenco { overflow: hidden; height: 100%; }
html:has(.elenco) { height: 100%; overflow: hidden; }
.indice { position: fixed; left: 0; right: 0; bottom: 0; top: calc(var(--m) * 2 + 21px); display: flex; flex-direction: column; }
.striscia {
  position: relative; flex: 1 1 0; min-height: 0; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: var(--m); padding: 0 var(--m);
  background: var(--fondo-foto); transition: flex-grow .24s steps(4, end);
}
.striscia img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.striscia > span { position: relative; }
.striscia-n { justify-self: start; }
.striscia-t { font-size: var(--titolino-striscia); }
.striscia-k { display: flex; gap: 1.4em; justify-self: end; }
@media (hover: hover) { .striscia:hover { flex-grow: 5; } }
.striscia:focus-visible { flex-grow: 5; outline-offset: -6px; }
.js .striscia { visibility: hidden; }
.js .striscia.su { visibility: visible; animation: scatto .07s steps(1, end); }

/* project page */
.fondo { position: absolute; inset: 0; z-index: 0; background: var(--carta); }
.tavola.entra .tessera.fondo.su { animation: none; }

.copertina { position: absolute; inset: 0; }

.scheda-dati { display: grid; grid-template-columns: auto 1fr; gap: 3px 22px; align-content: start; justify-self: start; }
.scheda-dati dt { opacity: .5; }
.scheda-testo { max-width: 21em; font-size: clamp(21px, 2.35vw, 44px); line-height: 1.06; letter-spacing: -.035em; text-transform: none; text-wrap: pretty; }
.detto {
  grid-area: 2 / 1 / 11 / 13; z-index: 1; align-self: start; justify-self: start; max-width: 25ch;
  margin: max(0px, calc(var(--m) * 2 + 26px - var(--vh) * 8.333)) var(--m) 0;
  font-size: clamp(26px, min(5.2vw, calc(var(--vh) * 8.4)), 104px); line-height: 1.02; letter-spacing: -.045em; text-transform: none; text-wrap: balance;
}
.detto-n { position: absolute; z-index: 1; left: calc(var(--m) - .05em); bottom: var(--m); font-size: min(26vw, calc(var(--vh) * 42)); font-weight: 500; line-height: .76; letter-spacing: -.07em; }
.detto-dati { grid-area: 9 / 8 / 13 / 12; z-index: 1; align-self: end; padding-bottom: var(--m); }
@media (max-width: 999px) { .detto-dati { grid-column: 6 / 11; } }
@media (min-width: 720px) and (max-height: 560px) {
  .detto { max-width: 34ch; font-size: clamp(20px, calc(var(--vh) * 6.6), 92px); }
  .detto-n { font-size: calc(var(--vh) * 34); }
}

.intera { position: absolute; z-index: 1; width: min(var(--l, 40vw), calc(min(var(--vh) * var(--h, 84), var(--alt, 9999px)) * var(--a))); aspect-ratio: var(--a); }
.taglio { position: absolute; z-index: 1; }
.taglio img { object-position: var(--fx) var(--fy); transform: scale(var(--z, 1)); transform-origin: var(--fx) var(--fy); }

.c-a .intera { right: max(12.5%, 150px); top: 50%; transform: translateY(-50%); --alt: calc(var(--vh) * 100 - 122px); }
.c-a .taglio { left: 0; top: 33.333%; width: 33.333%; height: 25%; --z: 1.1; }
.c-b .intera { left: 8.333%; bottom: var(--m); --h: 80; --alt: calc(var(--vh) * 100 - 81px); }
.c-b .taglio { right: 0; top: 0; width: 16.667%; height: 66.667%; --z: 1.5; }
.c-c .intera { left: 50%; top: 50%; transform: translate(-50%, -50%); --alt: calc(var(--vh) * 100 - 122px); }
.c-c .taglio { left: 0; bottom: 0; width: 25%; aspect-ratio: 1; --z: 2; }
.c-d .intera { right: max(16.667%, 150px); top: calc(var(--m) * 3 + 21px); --h: 78; --alt: calc(var(--vh) * 83.333 - 93px); }
.c-d .taglio { left: 0; bottom: 0; width: 41.667%; height: 16.667%; }
.c-l .intera { left: 8.333%; top: 50%; transform: translateY(-50%); --l: 66.667vw; --h: 80; --alt: calc(var(--vh) * 100 - 122px); }
.c-l .taglio { right: 0; top: 0; width: 16.667%; aspect-ratio: 1; --z: 2.2; }
.c-m .intera { right: max(8.333%, 150px); top: 50%; transform: translateY(-50%); --l: min(66.667vw, calc(100vw - max(8.333vw, 150px) - 16.667vw - 24px)); --h: 80; --alt: calc(var(--vh) * 100 - 122px); }
.c-m .taglio { left: 0; bottom: 0; width: 16.667%; aspect-ratio: 1; --z: 2.2; }
.c-2 .i1 { left: 8.333%; top: max(12%, calc(var(--m) * 2 + 44px)); --l: 25vw; --h: 56; }
.c-2 .i2 { right: max(12.5%, 150px); bottom: var(--m); --l: 36vw; --h: 80; --alt: calc(var(--vh) * 100 - 81px); }
.c-3 .i1 { left: 8.333%; top: calc(var(--m) * 3 + 21px); --l: 36vw; --h: 80; --alt: calc(var(--vh) * 100 - 101px); }
.c-3 .i2 { right: max(16.667%, 150px); bottom: var(--m); --l: 22vw; --h: 50; }

.poi-striscia { position: absolute; z-index: 1; left: 0; right: 0; top: 41.667%; height: 33.333%; transition: height .21s steps(3, end); }
@media (hover: hover) { .poi-striscia:hover { height: 45%; } }
.poi-striscia:focus-visible { height: 45%; outline-offset: -6px; }
.poi-nota { position: absolute; z-index: 1; left: 0; right: 0; bottom: 58.333%; display: flex; gap: 1.4em; padding: 0 var(--m) 10px; }
.poi-nota span:first-child { margin-right: auto; }

/* about */
.chi-pagina {
  --col: calc(100vw / 12); --rig: calc(var(--vh) * 100 / 12);
  --fw: max(81vw, calc(var(--vh) * 71.3)); --fh: calc(var(--fw) * 1.5);
  --fx0: calc(var(--col) * 8 - var(--fw) * .517);
  --fy0: calc(var(--rig) * 5 - var(--fh) * .41);
  --benda: calc(var(--col) * 2);
}
.chi-pagina .tavola { grid-template-columns: repeat(12, 1fr); }
.finestra, .pezzo { grid-area: var(--r) / var(--c) / span var(--h) / span var(--w); z-index: 1; }
.finestra { background: none; }
.finestra img {
  position: absolute; max-width: none; object-fit: fill; width: var(--fw); height: var(--fh);
  left: calc(var(--fx0) - (var(--c) - 1) * var(--col)); top: calc(var(--fy0) - (var(--r) - 1) * var(--rig));
}
.pezzo { display: flex; flex-direction: column; padding: var(--m); background: var(--carta); }

.sotto { --c: 4; --r: 1; grid-area: 1 / 4 / 13 / 13; position: relative; z-index: 0; overflow: hidden; }
.sotto img { position: absolute; max-width: none; width: var(--fw); height: var(--fh); left: calc(var(--fx0) - (var(--c) - 1) * var(--col)); top: var(--fy0); }
.tavola.entra .sotto { visibility: hidden; }
.s-ritratto .p1 { --c: 1; --r: 1; --w: 3; --h: 6; padding-top: calc(var(--m) * 3 + 21px); }
.s-ritratto .p2 { --c: 1; --r: 7; --w: 3; --h: 6; }
.s-ritratto .f1 { --c: 4; --r: 1; --w: 4; --h: 8; }
.s-ritratto .f2 { --c: 8; --r: 1; --w: 2; --h: 4; }
.s-ritratto .f3 { --c: 8; --r: 7; --w: 2; --h: 6; }
.s-ritratto .f4 { --c: 10; --r: 1; --w: 3; --h: 6; }
.s-ritratto .f5 { --c: 10; --r: 7; --w: 3; --h: 6; }
.s-ritratto .f6 { --c: 4; --r: 9; --w: 4; --h: 4; }
a.benda {
  --c: 8; --r: 5; --w: 2; --h: 2; display: flex; justify-content: space-between;
  padding: clamp(7px, calc(var(--benda) / 20), 12px); font-size: clamp(9px, calc(var(--benda) / 11), 12px);
}

.s-parole .f1 { --c: 9; --r: 1; --w: 2; --h: 12; }
.detto.chi-detto { grid-column: 1 / 9; max-width: min(25ch, calc(var(--col) * 8 - var(--m) * 3)); }
.chi-poi { position: absolute; z-index: 1; left: var(--m); bottom: var(--m); max-width: min(21em, calc(var(--col) * 8 - var(--m) * 3)); }

.s-incarichi .f1 { --c: 4; --r: 5; --w: 9; --h: 2; }
.chi-sopra { position: absolute; z-index: 1; left: var(--m); top: calc(var(--m) * 3 + 21px); max-width: min(21em, calc(100vw - var(--m) * 2)); }
.voci {
  position: absolute; z-index: 1; left: calc(var(--m) - .04em); bottom: calc(var(--m) - .08em); margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; justify-content: start; column-gap: .7em;
  font-size: min(7.2vw, calc((100vw - 190px) / 11.7), calc(var(--vh) * 12.5)); line-height: .92; letter-spacing: -.06em; text-transform: none; white-space: nowrap;
}

.s-contatto { color: var(--carta); }
.fondo.nero { background: var(--nero); }
.s-contatto .f1 { --c: 8; --r: 5; --w: 2; --h: 2; }
.contatto-dati { grid-area: 5 / 1 / 9 / 5; z-index: 1; padding-left: var(--m); }
.contatto-nota { grid-area: 5 / 10 / 9 / 13; z-index: 1; padding: 0 var(--m); opacity: .5; }
.posta {
  position: absolute; z-index: 1; left: calc(var(--m) - .04em); bottom: calc(var(--m) - .13em); padding: 0 .07em 0 .04em;
  font-size: min(9.4vw, calc((100vw - 190px) / 8.8), calc(var(--vh) * 22)); line-height: 1.12; letter-spacing: -.06em; text-transform: none; white-space: nowrap;
}
@media (hover: hover) { .posta:hover { background: var(--carta); color: var(--nero); } }
.posta:focus-visible { outline-color: var(--carta); box-shadow: none; }

/* portrait screens */
@media (orientation: portrait) {
  .chi-pagina {
    --fw: max(104vw, calc(var(--vh) * 71)); --fx0: calc(50vw - var(--fw) * .517); --fy0: calc(var(--rig) * 4.5 - var(--fh) * .41);
    --benda: calc(var(--col) * 4);
  }
  .s-ritratto .p1 { --c: 1; --r: 1; --w: 6; --h: 3; padding-top: var(--m); justify-content: flex-end; }
  .s-ritratto .p2 { --c: 1; --r: 11; --w: 4; --h: 2; }
  .sotto { --c: 1; grid-area: 1 / 1 / 13 / 13; }
  .s-ritratto .f1 { --c: 1; --r: 4; --w: 4; --h: 7; }
  .s-ritratto .f2 { --c: 5; --r: 4; --w: 4; --h: 1; }
  .s-ritratto .f3 { --c: 5; --r: 6; --w: 4; --h: 3; }
  .s-ritratto .f4 { --c: 7; --r: 1; --w: 6; --h: 3; }
  .s-ritratto .f5 { --c: 9; --r: 4; --w: 4; --h: 5; }
  .s-ritratto .f6 { --c: 5; --r: 9; --w: 8; --h: 4; }
  a.benda { --c: 5; --r: 5; --w: 4; --h: 1; }
  .s-parole .f1 { --c: 9; --r: 1; --w: 4; --h: 12; }
  .s-incarichi .f1 { --c: 1; --r: 5; --w: 12; --h: 1; }
  .s-contatto .f1 { --c: 5; --r: 5; --w: 4; --h: 1; }
  .voci { display: block; font-size: 12.3vw; }
  .posta { bottom: var(--m); font-size: 16vw; line-height: .98; }
  .posta span { display: block; }
  .contatto-dati { grid-area: 7 / 1 / 9 / 9; }
  .contatto-nota { grid-area: 9 / 1 / 12 / 9; }
}
@media (orientation: portrait) and (min-width: 720px) {
  .voci { font-size: min(12.3vw, calc((100vw - 190px) / 6.8)); }
  .posta { font-size: min(16vw, calc((100vw - 190px) / 5.6)); }
}
@media (orientation: portrait) and (max-width: 359px) {
  .s-ritratto .p1 { --w: 8; }
  .s-ritratto .f4 { --c: 9; --w: 4; }
}

/* phone */
@media (max-width: 719px) {
  :root { --m: 14px; --gigante: 17.2vw; --titolino: clamp(28px, 8.6vw, 42px); --titolino-striscia: clamp(22px, 3.7vh, 34px); }

  .tavola { grid-template-columns: repeat(6, 1fr); }
  .ferma .piede { top: calc(var(--m) + 23px); left: var(--m); right: auto; bottom: auto; flex-direction: row; }
  .piede-passi { display: none; }
  .carta-p, .carta-s { padding: 10px; gap: 8px; }
  .carta-p b { font-size: 21vw; }
  .carta-testo { font-size: 13px; max-width: none; }
  .tavola .q4, .tavola .q5, .tavola .q6 { display: none; }
  .tavola .q1 { grid-area: 1 / 1 / 8 / 5; }
  .tavola .q2 { grid-area: 4 / 5 / 8 / 7; }
  .tavola .q3 { grid-area: 8 / 1 / 13 / 4; }
  .tavola .carta-p { grid-area: 1 / 5 / 4 / 7; justify-content: flex-end; }
  .tavola .carta-s { grid-area: 8 / 4 / 13 / 7; padding-left: 10px; }
  .t6 .q3 { grid-area: 8 / 1 / 13 / 7; }
  .t2 .q2 { grid-area: 8 / 1 / 13 / 4; }

  .tv-alto, .tv-spezzato span:first-child { top: calc(var(--m) * 2 + 50px); }
  .tavola .tv-spezzato span:last-child { right: var(--m); bottom: var(--m); }
  .tavola.modo-spezzato .carta-s { grid-area: 8 / 4 / 13 / 7; justify-content: flex-start; background: var(--carta); }
  .tv-verticale { font-size: min(var(--gigante), 13.5vh); }

  .striscia-k .sc:first-child { display: none; }

  .scheda-testo { font-size: 23px; }
  .chi-poi { font-size: 17px; line-height: 1.16; letter-spacing: -.02em; }
  .chi-sopra { top: calc(var(--m) * 2 + 62px); }

  .detto { grid-area: 1 / 1 / 11 / 7; margin-top: calc(var(--m) * 2 + 62px); max-width: none; font-size: min(8vw, calc(var(--vh) * 5)); }
  .detto-n { font-size: min(44vw, calc(var(--vh) * 28)); }
  .detto-dati { grid-area: auto; position: absolute; left: var(--m); bottom: calc(var(--m) + min(44vw, calc(var(--vh) * 28)) * .76 + 18px); padding: 0; }
}
@media (max-width: 719px) and (orientation: portrait) {
  .intera { --l: 80vw; --h: 64; }
  .c-a .intera { right: var(--m); top: calc(var(--m) * 2 + 56px); transform: none; --h: 60; }
  .c-a .taglio { left: 0; top: auto; bottom: 0; width: 100%; height: 20%; }
  .c-b .intera { left: var(--m); bottom: var(--m); --l: 70vw; --h: 62; }
  .c-b .taglio { width: 22%; height: 50%; }
  .c-c .intera { top: calc(var(--m) * 2 + 56px); transform: translateX(-50%); --l: 76vw; --h: 60; }
  .c-c .taglio { width: 38%; }
  .c-d .intera { right: var(--m); top: auto; bottom: var(--m); --l: 76vw; --h: 64; }
  .c-d .taglio { top: 0; bottom: auto; width: 100%; height: 18%; }
  .c-l .intera, .c-m .intera { left: 0; right: auto; top: 46%; --l: 100vw; --h: 60; --alt: 9999px; }
  .c-l .taglio { top: auto; bottom: 0; width: 38%; }
  .c-m .taglio { width: 38%; }
  .c-2 .i1, .c-3 .i1 { left: var(--m); top: calc(var(--m) * 2 + 56px); --l: 56vw; --h: 36; }
  .c-2 .i2, .c-3 .i2 { right: var(--m); bottom: var(--m); --l: 56vw; --h: 36; }
  .poi-striscia { top: 36%; height: 28%; }
  .poi-nota { bottom: 64%; }
}
@media (max-height: 420px) { .scheda-testo.chi-sopra { top: calc(var(--m) * 2 + 50px); max-width: none; font-size: 17px; } }

@media (prefers-reduced-motion: reduce) {
  .aperto .stacco { animation: none; display: none; }
  .tavola.entra .tessera.su, .js .striscia.su { animation: none; }
  .striscia, .testa, .casa .piede { transition: none; }
  .poi-striscia { transition: none; }
}

/* credits */
html:has(.crediti), .crediti { height: auto; overflow: auto; }
.crediti-foglio { padding: calc(var(--m) * 7) var(--m) calc(var(--m) * 3); }
.crediti-titolo { font-size: var(--gigante); font-weight: 500; line-height: .82; letter-spacing: -.05em; text-transform: none; margin-left: -.04em; }
.crediti-intro { max-width: 34em; margin: calc(var(--m) * 2) 0 calc(var(--m) * 4); font-size: 14px; line-height: 1.35; }
.crediti-intro a { text-decoration: underline; text-underline-offset: 2px; }
.crediti-elenco { list-style: none; }
.crediti-riga { display: grid; grid-template-columns: 4ch minmax(0, 5fr) minmax(0, 4fr) minmax(0, 5fr); column-gap: var(--m); align-items: baseline; padding: 14px 0; }
.crediti-serie { font-size: var(--titolino); line-height: 1; letter-spacing: -.045em; text-transform: none; }
.crediti-serie:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.crediti-chi { display: flex; flex-wrap: wrap; gap: 6px; }
.crediti-foto { line-height: 1.6; }
.crediti-foto a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .crediti-foglio { padding-top: calc(var(--m) * 5); }
  .crediti-riga { grid-template-columns: 4ch minmax(0, 1fr); row-gap: 8px; padding: 18px 0; }
  .crediti-chi, .crediti-foto { grid-column: 2; }
}
