/* Corde */
@font-face { font-family: 'Inter'; src: url('/corde/assets/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #06080a;
  --ink: #f4efe9;
  --ink-2: rgba(244, 239, 233, .78);
  --ink-3: rgba(244, 239, 233, .55);
  --ink-4: rgba(244, 239, 233, .38);
  --line: rgba(244, 239, 233, .12);
  --surface: rgba(255, 255, 255, .045);
  --card: rgba(14, 14, 17, .9);
  --accent: #d6b26c;
  --alive: #9fd6b0;
  --legno-c: #3b2417;
  --ottone-c: #a8834a;
  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 48px);
  --lato: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* I fondali generati: il build scrive qui le variabili --sf-* solo per i file
   che esistono davvero, e ogni uso ha un colore sotto. */
:root { --sf-legno: url(/corde/assets/sfondi/legno-palissandro.webp); --sf-ottone: url(/corde/assets/sfondi/ottone-spazzolato.webp); --sf-velluto: url(/corde/assets/sfondi/velluto-nero.webp); }

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
html.reduce { scroll-behavior: auto; }
body { margin: 0; overflow-x: hidden; letter-spacing: -0.01em; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
section[id] { scroll-margin-top: 64px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* il velluto dell'astuccio sotto tutte le sezioni di testo */
main { position: relative; isolation: isolate; }
main::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--sf-velluto, none); background-size: 720px; opacity: .55; pointer-events: none; }

/* etichetta di sezione: pillola con il punto che pulsa */
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .01em; color: var(--ink-2); padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255, 255, 255, .04); margin-bottom: 28px; }
.label::before, .dot { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(214, 178, 108, .55); animation: pulse 2.6s cubic-bezier(.3, 0, .4, 1) infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(214, 178, 108, .55); }
  60% { box-shadow: 0 0 0 7px rgba(214, 178, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 178, 108, 0); }
}

h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -0.035em; font-weight: 400; text-wrap: balance; }
.tag { font-size: 12px; color: var(--ink-3); letter-spacing: .03em; text-transform: uppercase; }

/* Variable Text Proximity: ogni lettera ha il suo peso, che lo script muove */
.c { font-weight: inherit; transition: font-weight .14s linear; }

/* Liquid Glass Button: vetro spesso con il riflesso che segue il puntatore */
.glass { position: relative; isolation: isolate; overflow: hidden; --x: 50%; --y: 50%; border: 1px solid rgba(255, 255, 255, .22); background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, .11)); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .35), inset 0 0 22px rgba(255, 255, 255, .05), 0 10px 30px rgba(0, 0, 0, .35); color: var(--ink); }
.glass::before { content: ''; position: absolute; inset: -30%; background: radial-gradient(circle at var(--x) var(--y), rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 36%); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; z-index: -1; }
.glass:hover::before, .glass:focus-visible::before { opacity: 1; }
.glass::after { content: ''; position: absolute; inset: 1px; border-radius: inherit; background: linear-gradient(to bottom, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 55%); pointer-events: none; z-index: -1; }
.btn { display: inline-block; text-decoration: none; padding: 13px 26px; border-radius: 100px; font-size: 14px; font-weight: 500; font-family: var(--font); cursor: pointer; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .42); }
.btn:active { transform: translateY(0) scale(.98); }

/* barra fissa con velo, il pulsante del suono e le lingue */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; }
.top-scrim { position: absolute; inset: 0; height: 150px; background: linear-gradient(to bottom, rgba(6, 8, 10, .96) 0%, rgba(6, 8, 10, .9) 40%, rgba(6, 8, 10, .55) 65%, rgba(6, 8, 10, .2) 85%, rgba(6, 8, 10, 0) 100%); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.top.scrolled .top-scrim { opacity: 1; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; position: relative; }
.brand { text-decoration: none; font-weight: 500; font-size: 15px; }
.menu { display: flex; gap: 26px; }
.menu a { text-decoration: none; font-size: 14px; color: var(--ink-2); transition: color .4s var(--ease); }
.menu a:hover { color: var(--ink); }
.top-right { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; gap: 2px; background: rgba(255, 255, 255, .08); border-radius: 100px; padding: 3px; backdrop-filter: blur(6px); }
.langs a { text-decoration: none; font-size: 12px; letter-spacing: .04em; padding: 5px 10px; border-radius: 100px; color: var(--ink-3); transition: color .3s, background-color .3s; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { background: var(--ink); color: var(--bg); }
.muto { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 8px; border-radius: 100px; font: 500 12px/1 var(--font); color: var(--ink-2); cursor: pointer; transition: color .3s, border-color .3s; }
.muto:hover { color: var(--ink); border-color: rgba(255, 255, 255, .4); }
.muto svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.muto .cassa { fill: currentColor; stroke: none; }
.muto .barra { display: none; }
.muto.spento .barra { display: block; }
.muto.spento .onda1, .muto.spento .onda2 { opacity: .3; }

/* hero: la chitarra vista dall'alto. Il legno sotto, il crinale che ondeggia
   davanti al legno, il testo in alto e le sei corde nella metà bassa. */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.legno { position: absolute; inset: 0; background: var(--legno-c) var(--sf-legno, none) center / cover no-repeat; }
.crinale { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60%; display: block; }
.hero-velo { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(6, 8, 10, .94) 0%, rgba(6, 8, 10, .86) 28%, rgba(6, 8, 10, .5) 52%, rgba(6, 8, 10, .22) 78%, rgba(6, 8, 10, .7) 100%); }
.hero-in { position: relative; z-index: 1; align-self: center; padding: 84px 0 20px; text-align: center; max-width: 820px; opacity: calc(1 - var(--p, 0) * 1.6); transform: translate3d(0, calc(var(--p, 0) * -90px), 0); }
.kicker { font-size: 13.5px; color: var(--ink-2); display: inline-block; justify-self: center; padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 400; margin: 20px 0 18px; text-wrap: balance; }
.hero h1 .t { display: block; }
.hero .lead { font-size: clamp(15px, 1.3vw, 18px); color: var(--ink-2); max-width: 540px; margin-inline: auto; }
.hero .cerco { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); max-width: 520px; margin-inline: auto; }
.cta { margin-top: 22px; }

/* le corde: righe a tutta larghezza, l'etichetta del capitolo sulla meccanica
   a sinistra, la nota sul ponte a destra, la buca dietro */
.corde-wrap { position: relative; z-index: 1; padding: 1vh 0 2.5vh; }
.buca { position: absolute; left: 50%; top: 48%; width: min(54vh, 460px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #040507 0 55%, rgba(4, 5, 7, .8) 60%, rgba(4, 5, 7, 0) 67%); pointer-events: none; }
.buca::after { content: ''; position: absolute; inset: 3%; border-radius: 50%; border: 2px solid rgba(214, 178, 108, .3); box-shadow: 0 0 0 7px rgba(214, 178, 108, .07), inset 0 0 0 6px rgba(214, 178, 108, .09); }
.corde { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.corda { position: relative; height: clamp(36px, 5.6vh, 50px); cursor: pointer; --c: #cfa96a; --w: 3.2; }
.corda[data-n="1"] { --w: 2.7; }
.corda[data-n="2"] { --w: 2.3; }
.corda[data-n="3"] { --c: #dedee2; --w: 1.7; }
.corda[data-n="4"] { --c: #dedee2; --w: 1.4; }
.corda[data-n="5"] { --c: #dedee2; --w: 1.1; }
.corda-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .6)); }
.corda-svg path { fill: none; stroke: var(--c); stroke-width: calc(var(--w) * 1px); vector-effect: non-scaling-stroke; stroke-linecap: round; }
.corda-svg .ombra { fill: var(--c); stroke: none; opacity: 0; transition: opacity .3s; }
.corda.vibra .corda-svg .ombra { opacity: .22; }
.corda.vibra .corda-svg { filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .6)) drop-shadow(0 0 6px rgba(255, 240, 200, .35)); }
.corda-tag { position: absolute; z-index: 1; left: var(--lato); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 100px; background: rgba(6, 8, 10, .74); border: 1px solid rgba(244, 239, 233, .14); backdrop-filter: blur(6px); font-size: 13.5px; color: var(--ink-2); text-decoration: none; transition: color .3s, border-color .3s, transform .3s var(--ease); }
.corda:hover .corda-tag, .corda.vibra .corda-tag { color: var(--ink); border-color: rgba(214, 178, 108, .55); }
.corda.vibra .corda-tag { transform: translateY(-50%) translateX(3px); }
.tasto { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #1a1408; background: var(--ottone-c) var(--sf-ottone, none) center / cover; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .4), 0 1px 3px rgba(0, 0, 0, .5); }
.nota { position: absolute; z-index: 1; right: var(--lato); top: 50%; transform: translateY(-50%); font-size: 11px; letter-spacing: .1em; color: var(--ink-4); padding: 3px 8px; border-radius: 6px; background: rgba(6, 8, 10, .55); font-variant-numeric: tabular-nums; }
.corde-hint { position: relative; z-index: 1; text-align: center; font-size: 12.5px; color: var(--ink-4); margin-top: 12px; padding: 0 var(--gutter); }

/* il pannello: i sistemi in esercizio, l'ora di Las Palmas, l'aurora che respira */
.monitor-wrap { position: relative; z-index: 1; margin-top: 40px; }
.monitor { width: 100%; margin-inline: auto; background: rgba(11, 11, 14, .84); border: 1px solid rgba(244, 239, 233, .16); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 120px rgba(0, 0, 0, .65); backdrop-filter: blur(12px); overflow: hidden; }
.monitor-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.monitor-top .status { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.monitor .dot { background: var(--alive); box-shadow: 0 0 0 0 rgba(159, 214, 176, .6); animation-name: pulse-green; }
.clock { font-variant-numeric: tabular-nums; }
.clock time { color: var(--ink); margin-left: 6px; }
.clock b { font-weight: 400; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.monitor-body { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
.systems { list-style: none; margin: 0; padding: 8px 22px 14px; }
.systems li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.systems li:first-child { border-top: 0; }
.systems .dot { animation-delay: calc(var(--i, 0) * .65s); }
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(159, 214, 176, .6); }
  60% { box-shadow: 0 0 0 7px rgba(159, 214, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(159, 214, 176, 0); }
}
.sys-name { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.sys-stack { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sys-who { grid-column: 2 / -1; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.aurora { position: relative; overflow: hidden; background: #0a0b10; border-left: 1px solid var(--line); min-height: 240px; }
.blob { position: absolute; display: block; width: 62%; aspect-ratio: 1; border-radius: 50%; filter: blur(46px); opacity: .6; mix-blend-mode: screen; will-change: transform; }
.b1 { background: #d6b26c; left: -14%; top: -28%; animation: drift1 16s ease-in-out infinite alternate; }
.b2 { background: #5b6b8a; right: -18%; top: 6%; animation: drift2 21s ease-in-out infinite alternate; }
.b3 { background: #2f5d5a; left: 22%; bottom: -46%; animation: drift3 18s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(22%, 26%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-24%, 18%) scale(.9); } }
@keyframes drift3 { to { transform: translate(-16%, -30%) scale(1.2); } }
.pulse { position: absolute; left: 0; right: 0; top: 50%; height: 80px; width: 100%; transform: translateY(-50%); }
.pulse path { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; opacity: .8; stroke-dasharray: .35 1; stroke-dashoffset: 1.35; animation: sweep 4.2s linear infinite; }
@keyframes sweep { to { stroke-dashoffset: 0; } }

/* 3D card: la scheda si inclina verso il puntatore, con un riflesso */
[data-card] { position: relative; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease); }
[data-card].tilt { transition: transform .1s linear, border-color .4s var(--ease), background-color .4s var(--ease); }
[data-card]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 42%); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; z-index: 3; }
[data-card].tilt::after { opacity: 1; }

/* chi sono: quattro schede impilate con una scena */
.about { padding: 100px 0 100px; }
[data-scrub] .line-in { opacity: calc(.3 + .7 * var(--p, 1)); transition: none; }

.stack { position: relative; padding: 40px 0 6vh; }
.stack-card { position: sticky; top: 92px; margin-bottom: 8vh; transform-origin: 50% 0; transform: scale(calc(1 - .085 * var(--p, 0))) translate3d(0, calc(-22px * var(--p, 0)), 0); opacity: calc(1 - .86 * var(--p, 0) - .14 * var(--q, 0)); will-change: transform, opacity; }
.card-in { background: #0e0e11; border: 1px solid var(--line); border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 30px 80px rgba(0, 0, 0, .5); display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); min-height: min(64vh, 540px); overflow: hidden; }
.card-text { padding: 44px 44px 40px; display: grid; align-content: center; }
.card-text .tag { margin-bottom: 16px; display: flex; gap: 14px; align-items: baseline; }
.num { color: var(--accent); font-variant-numeric: tabular-nums; }
.card-text h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 18px; text-wrap: balance; }
.card-body p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; margin-bottom: 12px; }
.card-body p:last-child { margin-bottom: 0; }

/* la scena: il paesaggio notturno in piccolo, e sopra il disegno */
.card-scene { position: relative; overflow: hidden; background: #07080b; border-right: 1px solid var(--line); min-height: 100%; }
.card-in.flip { grid-template-columns: minmax(0, 12fr) minmax(0, 11fr); }
.card-in.flip .card-scene { order: 2; border-right: 0; border-left: 1px solid var(--line); }
.scene-sky, .scene-hill, .scene-ridge { position: absolute; left: -8%; right: -8%; }
.scene-sky { top: -10%; bottom: 0; }
.scene-sky img { width: 100%; height: 100%; object-fit: cover; object-position: center 85%; }
.scene-hill { top: 22%; bottom: -2%; }
.scene-ridge { top: 44%; bottom: -4%; }
.scene-hill img, .scene-ridge img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.scene-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-art text { font-family: var(--font); fill: var(--ink-2); font-size: 12px; letter-spacing: -0.01em; }
.scene-art line, .scene-art path, .scene-art circle, .scene-art rect { vector-effect: non-scaling-stroke; }
.scene-laspalmas .scene-sky img { object-position: center 100%; }

.art-radio .bars rect { fill: var(--ink); transform-box: fill-box; transform-origin: 50% 50%; animation: voce 1.8s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.17s); }
.art-radio .brace { font-size: 40px; fill: var(--ink-3); font-weight: 300; }
.art-radio .code line { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.card-in.in .art-radio .code line { animation: draw1 .9s var(--ease) forwards; animation-delay: calc(.5s + var(--i) * .12s); }
@keyframes draw1 { to { stroke-dashoffset: 0; } }

.art-rotta .sole { transform-box: fill-box; transform-origin: 50% 50%; animation: respira 6s ease-in-out infinite alternate; }
@keyframes respira { to { transform: scale(1.14); } }
.art-rotta .da { fill: var(--ink-3); }
.art-rotta .rotta { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.card-in.in .art-rotta .rotta { animation: draw1 1.6s var(--ease) forwards; animation-delay: .4s; }
.art-rotta .a { fill: var(--accent); }
.art-rotta .onda { fill: none; stroke: var(--accent); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.card-in.in .art-rotta .onda { animation: onda 2.8s ease-out infinite; animation-delay: 2s; }
@keyframes onda { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(5); opacity: 0; } }

.art-rete line { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; }
.card-in.in .art-rete line { animation: draw1 1s var(--ease) forwards; animation-delay: calc(.3s + var(--i) * .1s); }
.art-rete .hub { fill: rgba(255, 255, 255, .06); stroke: var(--ink-2); stroke-width: 1; }
.art-rete .hub-t { fill: var(--ink); font-size: 13px; font-weight: 500; }
.art-rete .nodo { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(.9s + var(--i) * .1s); }
.card-in.in .art-rete .nodo { opacity: 1; }
.art-rete .nodo circle { fill: var(--accent); }

.art-onde .onda-f { fill: rgba(214, 178, 108, .07); }
.art-onde .onda-l { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.art-onde .onda { opacity: calc(.95 - var(--i) * .2); animation: scorre linear infinite; animation-duration: calc(16s + var(--i) * 5s); }
.art-onde .onda:nth-child(even) { animation-direction: reverse; }
@keyframes scorre { to { transform: translateX(-400px); } }

/* come lavoro: le due schede, i tre numeri che contano, il pannello, la frase che si accende */
.how { position: relative; padding: 120px 0 140px; overflow: hidden; }
.how > .wrap { position: relative; z-index: 1; }
.head-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; }
.head-2 .label { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
.head-2 h2 { max-width: 520px; }
.head-2 .lead, .head-2 .note { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 440px; justify-self: end; }
.head-2 .note { color: var(--ink-3); font-size: 15px; }
.how-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px; margin-top: 64px; }
.day, .yes { border: 1px solid var(--line); border-radius: 18px; padding: 32px 36px; background: rgba(10, 10, 13, .55); backdrop-filter: blur(8px); }
.day h3, .yes h3 { font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.day p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.yes dl div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.yes dl div:first-child { border-top: 0; padding-top: 0; }
.yes dt { font-size: 15px; }
.yes dd { font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* Number Ticker: i numeri in ottone, contano quando arrivano in vista */
.numeri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.numero { border-top: 1px solid var(--line); padding-top: 20px; }
.numero .big { display: flex; align-items: baseline; gap: 10px; font-size: clamp(40px, 4.8vw, 66px); letter-spacing: -0.04em; line-height: 1; margin-bottom: 10px; }
.ticker { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--ottone-c); background: var(--ottone-c) var(--sf-ottone, none) center / cover; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.numero .unit { font-size: 16px; color: var(--ink-2); letter-spacing: 0; }
.numero > p:last-child { color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.credo { margin-top: 140px; text-align: center; }
.credo p { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.25; letter-spacing: -0.035em; max-width: 880px; margin-inline: auto; text-wrap: balance; }

/* fuori dal lavoro: tessere con un disegno che si muove, e il blocco musica */
.life { padding: 60px 0 140px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.tile { grid-column: span 3; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 22px 22px 24px; min-width: 0; }
.tile:hover { border-color: rgba(244, 239, 233, .22); background: rgba(255, 255, 255, .06); }
.tile.wide { grid-column: span 4; }
.tile.music { grid-column: span 8; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; background: var(--card); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.tile .art { margin-bottom: 14px; }
.tile .art svg { width: 100%; height: auto; display: block; }
.tile h3 { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 6px; }
.tile p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.tile.music .tag { margin-bottom: 12px; }
.tile.music h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 12px; }
.tile.music .art { margin: 0; }
.art line, .art path, .art circle, .art rect { vector-effect: non-scaling-stroke; }
.didascalia { margin-top: 10px; font-size: 12.5px; color: var(--ink-4); }

/* il diagramma dell'accordo: si strimpella con il pulsante */
.art .capo { stroke: var(--ink); stroke-width: 4; }
.art .tasto-l { stroke: var(--ink-4); stroke-width: 1; }
.art .corda-l { stroke: var(--ink-2); stroke-width: 1.2; transform-box: fill-box; transform-origin: 50% 50%; }
.art .aperta { fill: none; stroke: var(--ink-3); stroke-width: 1.2; }
.art .dito { fill: var(--accent); }
.tile.suona .corda-l { animation: strimpellata .7s ease-out; animation-delay: calc(var(--i) * 55ms); }
@keyframes strimpellata {
  0%, 100% { transform: translateX(0); }
  12% { transform: translateX(3px); }
  30% { transform: translateX(-2.4px); }
  48% { transform: translateX(1.6px); }
  66% { transform: translateX(-.8px); }
  84% { transform: translateX(.3px); }
}
.strimpella { margin-top: 16px; padding: 8px 14px; border-radius: 100px; font: 500 12.5px/1.2 var(--font); color: var(--ink-2); cursor: pointer; transition: color .3s, border-color .3s; }
.strimpella:hover { color: var(--ink); border-color: rgba(255, 255, 255, .4); }
.strimpella .accordo { color: var(--ink); }

/* la scacchiera: CSS, posizione iniziale, vista un po' di sbieco */
.scacchiera { display: grid; grid-template-columns: repeat(8, 1fr); aspect-ratio: 1; width: min(100%, 210px); margin: 6px auto 16px; border: 2px solid rgba(214, 178, 108, .4); background: #1b1410; box-shadow: 0 16px 34px rgba(0, 0, 0, .45); transform: perspective(520px) rotateX(24deg); transform-origin: 50% 100%; }
.scacchiera i { display: grid; place-items: center; font: 400 clamp(11px, 1.2vw, 17px)/1 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols 2', 'DejaVu Sans', sans-serif; font-style: normal; }
.scacchiera .bianca { background: #e6d8bf; }
.scacchiera .nera { background: #7b5336; }
.scacchiera i::before { content: attr(data-p); }
.scacchiera .pn::before { color: #181009; }
.scacchiera .pb::before { color: #fff8ea; text-shadow: 0 0 1px #3a2a1a, 0 0 2px #3a2a1a; }

.art .voce, .art-radio .bars rect { fill: var(--ink-2); }
.art .voce { transform-box: fill-box; transform-origin: 50% 50%; animation: voce 2.2s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.27s); }
@keyframes voce { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.art .corona { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linejoin: round; }
.art .gemma { fill: var(--accent); opacity: .25; animation: gemma 3s ease-in-out infinite; animation-delay: calc(var(--i) * .4s); }
@keyframes gemma { 0%, 100% { opacity: .25; } 30% { opacity: 1; } }
.art .foglio { fill: rgba(255, 255, 255, .03); stroke: var(--ink-3); stroke-width: 1; }
.art .riga { stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
.art .scrive { stroke: var(--ink); transform-box: fill-box; transform-origin: 0 50%; animation: scrive 5s steps(12, end) infinite; }
@keyframes scrive { 0% { transform: scaleX(.05); } 70%, 100% { transform: scaleX(1); } }
.art .cursore { fill: var(--accent); animation: blink 1s steps(1) infinite; }
.art .testo { stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.art .suono { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 2 3; opacity: .8; transform-box: fill-box; transform-origin: 50% 50%; animation: voce 3s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.21s); }

/* portfolio: indice per categoria che resta appeso, griglia a tre colonne */
.work { padding: 60px 0 40px; }
.work-index { position: sticky; top: 64px; z-index: 10; margin-top: 48px; background: linear-gradient(to bottom, rgba(6, 8, 10, .96), rgba(6, 8, 10, .9)); backdrop-filter: blur(8px); }
.index-in { display: flex; gap: 6px; padding: 12px 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.index-in::-webkit-scrollbar { display: none; }
.index-in a { flex: none; text-decoration: none; font-size: 14px; color: var(--ink-3); padding: 8px 14px; border-radius: 100px; border: 1px solid transparent; transition: color .3s, background-color .3s, border-color .3s; }
.index-in a span { color: var(--ink-4); margin-left: 4px; font-variant-numeric: tabular-nums; }
.index-in a:hover { color: var(--ink); }
.index-in a[aria-current] { color: var(--ink); background: rgba(255, 255, 255, .07); border-color: var(--line); }
.cat { padding-top: 56px; scroll-margin-top: 130px; }
.cat-head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 20px; }
.cat-head h3 { font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid[data-n="2"][data-featured] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid[data-n="1"] .proj { grid-column: 1 / -1; }
.proj { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 26px 28px; display: grid; gap: 24px; min-width: 0; }
.proj:hover { border-color: rgba(244, 239, 233, .22); background: rgba(255, 255, 255, .06); }
.proj.featured { grid-column: span 2; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 32px; }
.proj.full { grid-column: 1 / -1; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; }
.proj-text { display: grid; gap: 20px; align-content: start; min-width: 0; }
.proj.largo { grid-column: span 2; }
.grid[data-n="1"] .proj:not(.featured) .proj-text, .proj.largo .proj-text { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; }
.proj h4 { font-size: 20px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; margin-top: 10px; }
.proj .role { color: var(--accent); font-size: 13px; margin-top: 6px; }
.proj .what { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin-top: 12px; }
.facts { display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.facts dt { color: var(--ink-3); }
.facts dd { color: var(--ink); }
.link { display: inline-block; margin-top: 16px; font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--ink-3); padding-bottom: 2px; transition: border-color .3s; }
.link:hover { border-color: var(--ink); }
.proj-media { min-width: 0; }
.proj-shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 1px 32px rgba(0, 0, 0, .35); }
.proj-shot img { width: 100%; height: auto; }

/* Interactive Blur Reveal: il velo sfoca la schermata e si apre attorno al
   puntatore; in vista sul telefono se ne va del tutto */
@property --r0 { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --r1 { syntax: '<length>'; inherits: false; initial-value: 0px; }
.reveal { position: relative; --x: 50%; --y: 50%; }
.reveal .zoom { filter: blur(7px) brightness(.78); transition: filter .55s var(--ease); }
.reveal .nitido { position: absolute; inset: 0; z-index: 2; pointer-events: none; -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), #000 var(--r0), transparent var(--r1)); mask-image: radial-gradient(circle at var(--x) var(--y), #000 var(--r0), transparent var(--r1)); transition: --r0 .55s var(--ease), --r1 .55s var(--ease); }
.reveal .nitido picture, .reveal .nitido img { width: 100%; height: 100%; object-fit: cover; }
.reveal.fuoco .nitido { --r0: 110px; --r1: 240px; }
.reveal.vista .zoom { filter: none; }
.reveal.vista .nitido { display: none; }
.frame.sfoca img { filter: blur(5px); transition: filter .6s var(--ease); }
.frame.sfoca:hover img, .frame.sfoca.vista img { filter: none; }

/* schema di KonservaAI: le linee si disegnano quando arriva in vista */
.schema { margin: 0; }
.schema svg { width: 100%; height: auto; font-family: var(--font); font-size: 13px; overflow: visible; }
.schema rect { fill: rgba(255, 255, 255, .04); stroke: rgba(244, 239, 233, .35); stroke-width: 1; }
.schema text { fill: var(--ink); }
.schema .arrow { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 400; stroke-dashoffset: 400; }
.schema.in .arrow { animation: draw 1.4s var(--ease) forwards; animation-delay: .3s; }
.schema .node { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(var(--i) * 120ms); }
.schema.in .node { opacity: 1; }
.schema figcaption { font-size: 12px; color: var(--ink-3); margin-top: 12px; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* le schermate: una riga per progetto, la striscia si trascina di lato e
   arriva fino al bordo destro dello schermo */
.reel { padding: 120px 0 60px; }
.rows { margin-top: 56px; display: grid; gap: 44px; }
.row { overflow: hidden; }
.row-in { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: end; will-change: transform; }
.row-name { padding: 0 0 30px 18px; border-left: 1px solid var(--line); align-self: stretch; display: grid; align-content: end; }
.row-name h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; margin: 8px 0 8px; }
.reel-open { display: inline-block; justify-self: start; margin-top: 4px; font-size: 13px; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--ink-4); padding-bottom: 2px; cursor: zoom-in; transition: color .3s, border-color .3s; }
.reel-open:hover { color: var(--ink); border-color: var(--ink); }
.row-nav { display: flex; gap: 6px; margin-top: 16px; }
.row-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--ink-2); font: 300 22px/1 var(--font); cursor: pointer; transition: background-color .3s, color .3s; }
.row-nav button:hover { background: rgba(255, 255, 255, .12); color: var(--ink); }
.row-track { display: flex; gap: 20px; align-items: flex-start; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 0 8px; margin-right: calc(-1 * var(--lato)); padding-right: var(--lato); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 90px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 90px), transparent); cursor: grab; user-select: none; }
.row-track::-webkit-scrollbar { display: none; }
.row-track.grab { cursor: grabbing; scroll-snap-type: none; }
.row-track img { -webkit-user-drag: none; }
.frame { margin: 0; flex: none; scroll-snap-align: start; }
.frame picture { display: block; height: 30vh; min-height: 220px; max-height: 340px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.frame img { height: 100%; width: auto; max-width: none; display: block; }
.frame figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; max-width: 44ch; line-height: 1.4; }

.before { padding: 40px 0 120px; }
.before-text { font-size: clamp(22px, 2.4vw, 30px); color: var(--ink-2); letter-spacing: -0.03em; }

.quotes { padding: 0 0 120px; }
.quotes blockquote { margin: 0 0 32px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; max-width: 720px; }
.quotes blockquote p { font-size: 18px; line-height: 1.5; }
.quotes footer { margin-top: 14px; color: var(--ink-3); font-size: 14px; }

/* contatto: fermo, senza strati */
.contact { padding: 120px 0 140px; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact .lead { color: var(--ink-2); margin-top: 20px; max-width: 420px; }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; color: var(--ink-3); }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; transition: border-color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(244, 239, 233, .5); }
.field textarea { resize: vertical; min-height: 96px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.status { font-size: 14px; }
.status.ok { color: var(--alive); }
.status.error { color: #e79a92; }
.status.info { color: var(--ink-3); }
.privacy-note { margin-top: 22px; font-size: 13px; line-height: 1.55; color: var(--ink-4); max-width: 520px; }

/* in chiusura torna il legno, con le sei corde ferme, prima del piè di pagina */
.outro { position: relative; height: 36vh; min-height: 220px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%); mask-image: linear-gradient(to bottom, transparent 0%, #000 55%); }
.outro .legno { opacity: .9; }
.outro-corde { position: absolute; left: 0; right: 0; top: 24%; width: 100%; height: 76%; }
.outro-corde line { vector-effect: non-scaling-stroke; stroke: #cfa96a; stroke-width: 3; opacity: .85; }
.outro-corde .c1 { stroke-width: 2.6; }
.outro-corde .c2 { stroke-width: 2.2; }
.outro-corde .c3 { stroke: #dedee2; stroke-width: 1.7; }
.outro-corde .c4 { stroke: #dedee2; stroke-width: 1.4; }
.outro-corde .c5 { stroke: #dedee2; stroke-width: 1.1; }
.outro-haze { position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to bottom, rgba(6, 8, 10, 0), rgba(6, 8, 10, .92)); }

/* le schermate si aprono in grande */
.zoom { display: block; cursor: zoom-in; color: inherit; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; gap: 14px; padding: 48px 84px 28px; background: rgba(6, 8, 10, .93); backdrop-filter: blur(10px); cursor: zoom-out; animation: fade .25s var(--ease); }
.lightbox.serie img { cursor: e-resize; }
.lb-foot { display: flex; gap: 16px; align-items: baseline; justify-content: center; flex-wrap: wrap; max-width: 820px; }
.lb-foot .count { font-size: 12px; color: var(--ink-4); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .08); color: var(--ink); font: 300 30px/1 var(--font); cursor: pointer; display: none; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lightbox.serie .lb-prev, .lightbox.serie .lb-next { display: block; }
.lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .16); }
@keyframes fade { from { opacity: 0; } }
.lightbox img { max-width: min(1600px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); min-height: 0; }
.lightbox p { font-size: 13px; color: var(--ink-3); text-align: center; max-width: 720px; }
.lightbox .lb-close { position: absolute; top: 16px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .08); color: var(--ink); font: 300 26px/1 var(--font); cursor: pointer; }
.lightbox .lb-close:hover { background: rgba(255, 255, 255, .16); }

.foot { border-top: 1px solid var(--line); padding: 32px 0; font-size: 13px; color: var(--ink-3); }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.privacy { margin-top: 20px; font-size: 13px; line-height: 1.6; }
.privacy summary { cursor: pointer; color: var(--ink-2); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::before { content: ''; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(-45deg); transition: transform .3s var(--ease); }
.privacy[open] summary::before { transform: rotate(45deg); }
.privacy p { margin-top: 12px; color: var(--ink-3); max-width: 680px; }

/* ingressi: parole che si mettono a fuoco, righe che salgono da una maschera */
.line { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.line-in { display: inline-block; transition: transform .9s var(--ease), opacity .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.w { display: inline-block; transition: transform .7s var(--ease), opacity .7s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + var(--l, 0) * 220ms); }
.js:not(.reduce) [data-reveal]:not(.in) .line-in { transform: translateY(110%); opacity: 0; }
.js:not(.reduce) [data-reveal]:not(.in) .w { transform: translateY(.5em); opacity: 0; filter: blur(6px); }
.js:not(.reduce) [data-reveal]:not([data-split]):not(.in) > :not(.line):not(.w), .js:not(.reduce) .cta:not(.in) .btn { opacity: 0; transform: translateY(18px); }
[data-reveal]:not([data-split]) > * { transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal]:not([data-split]).in > :nth-child(2) { transition-delay: 90ms; }
[data-reveal]:not([data-split]).in > :nth-child(3) { transition-delay: 180ms; }
[data-reveal]:not([data-split]).in > :nth-child(4) { transition-delay: 270ms; }
[data-reveal]:not([data-split]).in > :nth-child(5) { transition-delay: 360ms; }
/* le corde entrano una dopo l'altra, dalla più grave */
.js:not(.reduce) .corde-wrap:not(.in) .corda { opacity: 0; transform: translateX(-12px); }
.corda { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js:not(.reduce) [data-reveal].corde-wrap:not(.in) > .corde-hint { opacity: 0; }

.reduce * { transition: none !important; animation: none !important; }
.reduce .hero-in, .reduce .monitor-wrap, .reduce .stack-card, .reduce .row-in, .reduce [data-card], .reduce .corda { transform: none !important; opacity: 1 !important; filter: none !important; }
.reduce .pulse path { stroke-dasharray: none; }
.reduce .stack-card { position: relative; top: auto; }
.reduce .schema .arrow, .reduce .art-radio .code line, .reduce .art-rotta .rotta, .reduce .art-rete line { stroke-dashoffset: 0; }
.reduce .schema .node, .reduce .art-rete .nodo { opacity: 1; }
.reduce .art-rotta .onda { display: none; }
.reduce .scrive { transform: none; }
.reduce .corda.vibra .corda-svg path { stroke: #fff; }
.reduce .reveal .nitido { display: none; }

@media (max-width: 900px) {
  .menu { display: none; }
  .muto { padding: 0 8px; }
  .muto-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero-in { padding: 88px 0 16px; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); margin: 22px 0 18px; }
  .hero .cerco { font-size: 14px; }
  .cta { margin-top: 24px; }
  .corde-wrap { padding: 2vh 0 3vh; }
  .corda { height: 44px; }
  .corda-tag { font-size: 12.5px; padding: 4px 11px 4px 4px; gap: 8px; }
  .tasto { width: 20px; height: 20px; font-size: 10px; }
  .nota { font-size: 10px; padding: 2px 6px; }
  .buca { width: 68vw; top: 46%; }
  .corde-hint { font-size: 12px; margin-top: 12px; }
  .about { padding: 80px 0 40px; }
  .stack { padding-top: 20px; }
  .stack-card { position: relative; top: auto; transform: none; opacity: 1; margin-bottom: 20px; }
  .card-in, .card-in.flip { grid-template-columns: 1fr; min-height: 0; }
  .card-in.flip .card-scene { order: 0; border-left: 0; }
  .card-scene { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .scene-hill { top: 30%; }
  .scene-ridge { top: 52%; }
  .card-text { padding: 26px 22px 28px; }
  .head-2, .how-grid, .contact-grid { grid-template-columns: 1fr; }
  .head-2 .lead, .head-2 .note { justify-self: start; }
  .how { padding: 80px 0 100px; }
  .how-grid, .numeri { margin-top: 40px; }
  .day, .yes { padding: 24px 22px; }
  .yes dl div { grid-template-columns: 1fr; gap: 4px; }
  .numeri { grid-template-columns: 1fr; gap: 20px; }
  .monitor-wrap { margin-top: 28px; }
  .monitor-body { grid-template-columns: 1fr; }
  .aurora { order: -1; min-height: 150px; border-left: 0; border-bottom: 1px solid var(--line); }
  .systems { padding: 4px 18px 10px; }
  .credo { margin-top: 90px; }
  .life { padding: 20px 0 100px; }
  .bento { margin-top: 32px; gap: 14px; }
  .tile, .tile.wide, .tile.music { grid-column: span 12; }
  .tile.music { grid-template-columns: 1fr; }
  .tile .art svg { max-height: 130px; margin-inline: auto; }
  .scacchiera i { font-size: 15px; }
  .work-index { margin-top: 32px; }
  .cat { padding-top: 40px; scroll-margin-top: 120px; }
  .grid, .grid[data-n="2"] { grid-template-columns: 1fr; }
  .proj, .proj.featured, .proj.full, .proj.largo { grid-column: auto; grid-template-columns: 1fr; padding: 22px 20px; }
  .grid[data-n="1"] .proj:not(.featured) .proj-text, .proj.largo .proj-text { grid-template-columns: 1fr; gap: 20px; }
  .reel { padding: 80px 0 40px; }
  .rows { margin-top: 32px; gap: 36px; }
  .row-in { grid-template-columns: 1fr; gap: 14px; transform: none !important; }
  .row-name { padding: 0 0 4px 14px; }
  .row-track { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .frame picture { height: 26vh; min-height: 180px; }
  .row-nav { display: none; }
  .lightbox { padding: 48px 12px 24px; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
  .before { padding: 20px 0 80px; }
  .contact { padding: 80px 0 100px; }
  .outro { height: 26vh; min-height: 180px; }
}
