/* Daniele Cernuto · "Il calco e la lastra"
   Il braccio come un calco in gesso da studiare, i tutori come lastre termoplastiche forate modellate sulla mano.
   Palette dal logo (ardesia + grafite) con gesso e un cobalto clinico per i punti caldi. */
:root {
  --gesso: #f3f0ea;
  --gesso-2: #e9e4db;
  --carta: #fbfaf7;
  --white: #fff;
  --ink: #23292f;
  --ink2: #454d50;
  --ink3: #6a7377;
  --ardesia: #8fa7b5;
  --ardesia-d: #56707f;
  --notte: #17212b;
  --notte-2: #22303d;
  --cobalto: #3552c4;
  --cobalto-d: #27409f;
  --cobalto-soft: #e4e9f8;
  --line: rgba(35, 41, 47, .12);
  --wa: #25d366;
  --ff-title: "Hedvig Letters Serif", Georgia, serif;
  --ff-body: "Literata", Georgia, serif;
  --ff-ui: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .9, .25, 1);
  --q-dark: #1f2c38;
  --q-acc: #3552c4;
  --q-ok: #2f8a6a;
  --q-soft: #dfe5ec;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--ff-body); font-size: 17px; line-height: 1.8; color: var(--ink2); background: var(--gesso); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul, ol { list-style: none; }
.wrap { width: min(1220px, 100% - 48px); margin: 0 auto; }

/* Titoli: Hedvig Letters Serif con opsz basso, peso unico, enfasi col colore */
.title, .hero-title, .closing-title { font-family: var(--ff-title); font-weight: 400; font-variation-settings: "opsz" 18; color: var(--ink); letter-spacing: -.01em; }
.title { font-size: clamp(2.05rem, 4.2vw, 3.2rem); line-height: 1.08; margin-bottom: 18px; }
.acc { color: var(--cobalto); }
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-ui); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ardesia-d); margin-bottom: 16px; }
.label::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.label.light { color: var(--ardesia); }
.sub { color: var(--ink3); max-width: 560px; }
p + p { margin-top: 1em; }
mark { background: linear-gradient(transparent 58%, rgba(53, 82, 196, .2) 58%, rgba(53, 82, 196, .2) 92%, transparent 92%); color: inherit; padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.section { position: relative; padding: clamp(80px, 11vw, 130px) 0; }

/* Pulsanti piccoli */
.btn, .btn-ghost, .btn-sm, .btn-light { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--ff-ui); font-weight: 600; font-size: 14px; line-height: 1; padding: 11px 22px; border-radius: 99px; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; -webkit-tap-highlight-color: transparent; }
.btn { background: var(--ink); color: #fff; }
.btn:hover { background: var(--cobalto); transform: translateY(-2px); }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { background: transparent; color: var(--cobalto); border: 1.5px solid currentColor; padding: 9px 18px; font-size: 13.5px; }
.btn-sm:hover { background: var(--cobalto); color: #fff; border-color: var(--cobalto); }
.btn-light { background: var(--carta); color: var(--notte); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
:focus-visible { outline: 2px solid var(--cobalto); outline-offset: 3px; }

/* CTA discreta tra le sezioni */
.soft-cta { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.soft-cta p { font-style: italic; color: var(--ink3); margin: 0; }
.soft-cta.center { justify-content: center; text-align: center; max-width: 720px; }

/* ═══ Menu ═══ */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(243, 240, 234, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s; }
.site-header.scrolled { border-color: var(--line); }
.site-header.hide { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; fill: none; stroke: var(--ink2); stroke-width: 32; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark .b1 { stroke: var(--ardesia); }
.brand-name { font-family: var(--ff-ui); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); line-height: 1.2; }
.brand-name small { display: block; font-weight: 500; font-size: 11px; letter-spacing: .12em; color: var(--ink3); }
.nav { display: flex; gap: 26px; font-family: var(--ff-ui); font-size: 14px; font-weight: 500; color: var(--ink2); }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--cobalto); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav-cta { font-family: var(--ff-ui); font-weight: 600; font-size: 13.5px; background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 99px; transition: background .25s; }
.nav-cta:hover { background: var(--cobalto); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s; }
.nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 24px; }
.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ═══ APERTURA: testo · calco 3D · elenco a cartellini ═══ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 100px 0 40px; background:
  radial-gradient(42% 52% at 52% 46%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%),
  linear-gradient(180deg, var(--gesso) 0%, var(--gesso-2) 100%); overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.hero-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr) minmax(0, .9fr); gap: 28px; align-items: start; }
.hero-text { padding-top: 8vh; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--ff-ui); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; color: var(--ink3); margin-bottom: 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalto); box-shadow: 0 0 0 4px rgba(53, 82, 196, .14); }
.hero-title { font-size: clamp(2.5rem, 4.4vw, 3.7rem); line-height: 1.06; margin-bottom: 22px; }
.swap { display: inline-grid; vertical-align: bottom; color: var(--ardesia-d); }
.swap > * { grid-area: 1 / 1; white-space: nowrap; }
.swap .sizer { visibility: hidden; }
.swap .w { opacity: 0; transform: translateY(.18em); transition: opacity 1.1s ease, transform 1.1s var(--ease); }
.swap .w.on { opacity: 1; transform: none; }
.hero-lead { max-width: 430px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.hero-who { display: flex; align-items: center; gap: 16px; }
.hero-who img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 4px var(--carta), 0 10px 26px rgba(23, 33, 43, .18); }
.hero-who p { font-family: var(--ff-ui); font-size: 13px; line-height: 1.45; color: var(--ink3); }
.hero-who strong { display: block; font-size: 15px; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* Il calco 3D */
.arto { position: relative; }
.arto-stage { position: relative; height: calc(100svh - 140px); min-height: 560px; max-height: 820px; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.arto-stage:active { cursor: grabbing; }
.arto-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity 1.2s ease; }
.arto.ready canvas { opacity: 1; }
.plinto { position: absolute; left: 50%; bottom: 7%; width: 58%; height: 34px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 33, 43, .1), rgba(23, 33, 43, 0)); transition: opacity .6s; }
.is-focus .plinto { opacity: 0; }
.arto-riserva { display: none; position: absolute; inset: 0; margin: auto; height: 92%; width: auto; object-fit: contain; }
.no-3d .arto-riserva { display: block; }
.no-3d .arto-hot, .no-3d .arto-hint { display: none; }
.no-3d .arto-stage { cursor: default; }
.arto-hot { position: absolute; inset: 0; pointer-events: none; }
.arto-hot button { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; pointer-events: auto; transition: opacity .45s; -webkit-tap-highlight-color: transparent; opacity: 0; }
.arto.ready .arto-hot button { opacity: 1; }
.arto-hot button::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--cobalto); box-shadow: 0 0 0 3px rgba(255, 255, 255, .95), 0 2px 8px rgba(23, 33, 43, .3); transition: transform .3s var(--ease); }
.arto-hot button::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px solid var(--cobalto); animation: polso 2.6s ease-out infinite; }
.arto-hot button:hover::before, .arto-hot button.on::before { transform: scale(1.25); }
.arto-hot button span { position: absolute; left: 34px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--ff-ui); font-size: 12px; font-weight: 600; color: var(--ink); background: rgba(251, 250, 247, .94); padding: 5px 10px; border-radius: 99px; box-shadow: 0 2px 10px rgba(23, 33, 43, .1); transition: opacity .3s; }
.arto-hot button.on::before { background: #d6332a; transform: scale(1.25); box-shadow: 0 0 0 3px rgba(255, 255, 255, .95), 0 0 14px rgba(214, 51, 42, .6); }
.arto-hot button.on::after { border-color: #d6332a; animation-duration: 1.4s; }
.arto-hot button.on span { color: #b3261e; }
.arto-hot button.sx span { left: auto; right: 34px; }
.arto-hot button.dietro { opacity: .4 !important; }
.arto-hot button.fuori { opacity: 0 !important; pointer-events: none; }
.is-focus .arto-hot button:not(.on) { opacity: .55; }
.is-focus .arto-hot button:not(.on) span { opacity: 0; }
.is-focus .arto-hot button:not(.on):hover span { opacity: 1; }
@keyframes polso { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.arto-hint { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; font-family: var(--ff-ui); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); white-space: nowrap; transition: opacity .6s; pointer-events: none; }
.hand-ico { display: inline-block; font-size: 15px; color: var(--cobalto); animation: gira 2.4s ease-in-out infinite; }
@keyframes gira { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.touched .arto-hint, .is-focus .arto-hint { opacity: 0; }
.arto-back { position: absolute; left: 50%; top: 8px; transform: translate(-50%, -8px); font-family: var(--ff-ui); font-size: 12.5px; font-weight: 600; color: var(--ink); background: rgba(251, 250, 247, .95); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.is-focus .arto-back { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

/* Elenco delle patologie: cartellini da museo numerati */
.pat-list { align-self: start; padding-top: 4vh; }
.pat-head { font-family: var(--ff-title); font-variation-settings: "opsz" 18; font-size: 1.55rem; color: var(--ink); margin-bottom: 10px; }
.pat-tabs { display: grid; border-top: 1px solid var(--line); }
.pat-tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pat-tab:hover .pat-name, .pat-tab.on .pat-name { color: var(--cobalto); }
.pat-n { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ardesia); font-family: var(--ff-ui); font-size: 11px; font-weight: 600; color: var(--ardesia-d); transition: background .3s, color .3s, border-color .3s; }
.pat-tab.on .pat-n { background: var(--cobalto); border-color: var(--cobalto); color: #fff; }
.pat-name { font-family: var(--ff-ui); font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--ink); transition: color .25s; }
.pat-name small { display: block; font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin-top: 1px; }
/* una sola scheda, sempre qui sotto */
.pat-panels { margin-top: 16px; }
.pat-empty { font-family: var(--ff-ui); font-size: 13px; color: var(--ink3); padding: 14px 16px; border: 1.5px dashed rgba(143, 167, 181, .6); border-radius: 12px; }
.has-pick .pat-empty { display: none; }
.pat-panel { background: var(--carta); border-radius: 14px; border-left: 3px solid var(--cobalto); padding: 16px 18px 18px; font-size: 15px; line-height: 1.6; box-shadow: 0 10px 30px rgba(23, 33, 43, .07); }
.pat-panel + .pat-panel { margin-top: 12px; }
.pat-js .pat-panel { display: none; }
.pat-js .pat-panel.on { display: block; animation: apri .45s var(--ease); }
@keyframes apri { from { opacity: 0; transform: translateY(-6px); } }
.pat-area { font-family: var(--ff-ui); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalto); }
.pat-panel h3 { font-family: var(--ff-title); font-weight: 400; font-variation-settings: "opsz" 18; font-size: 1.4rem; line-height: 1.15; color: var(--ink); margin: 2px 0 8px; }
.pat-what { color: var(--ink); }
.pat-k { font-family: var(--ff-ui); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ardesia-d); margin: 10px 0 2px; }
.pat-panel ul li { position: relative; padding-left: 14px; }
.pat-panel ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--ardesia); }
.pat-panel p + p { margin-top: 0; }
.pat-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--ff-ui); font-size: 13px; font-weight: 600; color: #fff; background: #1faa53; padding: 9px 16px; border-radius: 99px; transition: transform .25s; }
.pat-wa:hover { transform: translateY(-2px); }
.pat-note { font-family: var(--ff-ui); font-size: 11.5px; color: var(--ink3); margin-top: 12px; }

/* ═══ QUIZ: lastre termoplastiche forate con un velcro ═══ */
.quiz-sec { background: var(--carta); }
.quiz-sec::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(143, 167, 181, .22) 2px, transparent 2.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(60% 70% at 50% 60%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 50% 60%, #000, transparent 75%); pointer-events: none; }
.quiz-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.quiz-head .sub { margin: 0 auto; }
.q-front { position: relative; overflow: hidden; background-color: var(--q-dark); background-image: radial-gradient(circle, rgba(255, 255, 255, .07) 2.4px, transparent 3px); background-size: 20px 20px; border-radius: 30px 30px 30px 30px / 34px 34px 26px 26px; }
.q-strap { position: absolute; left: -10px; right: -10px; top: 26px; height: 22px; background: repeating-linear-gradient(90deg, rgba(143, 167, 181, .55) 0 2px, rgba(143, 167, 181, .3) 2px 4px); transform: rotate(-2deg); box-shadow: 0 2px 0 rgba(0, 0, 0, .15); }
.q-strap::after { content: ""; position: absolute; right: 14%; top: -5px; width: 44px; height: 32px; border-radius: 6px; border: 2px solid rgba(255, 255, 255, .35); }
.q-front .q-num { margin-top: 26px; }
.q-back { border-radius: 30px 30px 30px 30px / 34px 34px 26px 26px; }
.qcard.behind-1 .q-front { background-color: #2b3f8a; }
.quiz-note { text-align: center; font-family: var(--ff-ui); font-size: 13px; color: var(--ink3); margin-top: 28px; }
.quiz-note a { color: var(--cobalto); text-decoration: underline; text-underline-offset: 3px; }

/* ═══ CHI SONO ═══ */
.about-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-photo { position: relative; margin: 0 26px 26px 0; }
/* la foto appoggiata su una lastra termoplastica forata, sfalsata dietro */
.about-photo::before { content: ""; position: absolute; inset: 26px -26px -26px 26px; border-radius: 18px; background-color: var(--gesso-2); background-image: radial-gradient(circle, rgba(86, 112, 127, .35) 2.4px, transparent 3px); background-size: 18px 18px; box-shadow: inset 0 0 0 1.5px rgba(143, 167, 181, .5); }
.about-photo::after { content: ""; position: absolute; left: -12px; top: -12px; width: 64px; height: 64px; border-left: 2px solid var(--cobalto); border-top: 2px solid var(--cobalto); border-radius: 14px 0 0 0; }
.about-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; filter: saturate(.9); box-shadow: 0 22px 50px rgba(23, 33, 43, .16); }
.about-photo figcaption { z-index: 1; }
.about-photo figcaption { position: absolute; right: -18px; bottom: 34px; background: var(--carta); padding: 14px 18px 14px 16px; border-left: 3px solid var(--cobalto); font-family: var(--ff-ui); font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.4; box-shadow: 0 14px 34px rgba(23, 33, 43, .14); }
.about-photo figcaption span { display: block; font-size: 10.5px; letter-spacing: .16em; color: var(--ardesia-d); margin-bottom: 4px; }
.about-photo figcaption em { font-style: normal; font-weight: 500; color: var(--ink3); }
.drop::first-letter { float: left; font-family: var(--ff-title); font-size: 4.4em; line-height: .82; margin: .08em .1em 0 0; color: var(--cobalto); }

/* Decorazioni a tratto a cavallo tra le sezioni */
.deco { position: absolute; top: -46px; width: 110px; height: 110px; fill: none; stroke: var(--ardesia); stroke-width: 1.4; stroke-linecap: round; opacity: .45; animation: sway 9s ease-in-out infinite; pointer-events: none; }
.deco-a { right: 6%; }
.deco-b { left: 5%; }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* ═══ COME LAVORO: la lastra ═══ */
.how { background: var(--gesso-2); }
.how-head { max-width: 680px; }
/* i passi lungo una linea: binario sottile, tratto cobalto che si disegna, un punto che si accende per passo */
.how-steps { --gap: clamp(28px, 4vw, 56px); position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 64px; padding-top: 44px; }
.how-steps::before, .how-steps::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1px; }
.how-steps::before { background: rgba(86, 112, 127, .3); }
.how-steps::after { height: 2px; top: 9.5px; background: linear-gradient(90deg, var(--ardesia), var(--cobalto)); transform: scaleX(0); transform-origin: left; transition: transform 2.2s cubic-bezier(.65, 0, .35, 1); }
.how-steps.in::after { transform: scaleX(1); }
.how-steps li { position: relative; opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.how-steps.in li { opacity: 1; transform: none; }
.how-steps li:nth-child(2) { transition-delay: .6s; } .how-steps li:nth-child(3) { transition-delay: 1.2s; }
.hs-dot { position: absolute; left: 0; top: -44px; width: 21px; height: 21px; border-radius: 50%; background: var(--gesso-2); box-shadow: inset 0 0 0 1.5px var(--ardesia); transition: background .5s, box-shadow .5s; }
.hs-dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--cobalto); opacity: 0; transform: scale(.6); }
.how-steps.in .hs-dot { background: var(--cobalto); box-shadow: inset 0 0 0 1.5px var(--cobalto), 0 0 0 5px var(--gesso-2); }
.how-steps.in .hs-dot::after { animation: accendi 1.4s ease-out forwards; }
.how-steps.in li:nth-child(1) .hs-dot, .how-steps.in li:nth-child(1) .hs-dot::after { transition-delay: .2s; animation-delay: .2s; }
.how-steps.in li:nth-child(2) .hs-dot, .how-steps.in li:nth-child(2) .hs-dot::after { transition-delay: 1s; animation-delay: 1s; }
.how-steps.in li:nth-child(3) .hs-dot, .how-steps.in li:nth-child(3) .hs-dot::after { transition-delay: 1.8s; animation-delay: 1.8s; }
@keyframes accendi { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }
.hs-k { display: flex; align-items: baseline; gap: 10px; font-family: var(--ff-ui); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ardesia-d); margin-bottom: 12px; }
.hs-k b { font-family: var(--ff-title); font-weight: 400; font-size: 1.05rem; letter-spacing: 0; color: var(--cobalto); }
.how-steps h3 { font-family: var(--ff-title); font-weight: 400; font-variation-settings: "opsz" 20; font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.08; color: var(--ink); margin-bottom: 12px; }
.how-steps p { padding-top: 14px; border-top: 1px solid var(--line); font-size: 16px; }

/* ═══ SERVIZI: fisarmonica ═══ */
.services-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.services-head { position: sticky; top: 110px; }
.acc-list details { border-bottom: 1px solid var(--line); }
.acc-list details:first-child { border-top: 1px solid var(--line); }
.acc-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; cursor: pointer; list-style: none; font-family: var(--ff-title); font-variation-settings: "opsz" 18; font-size: 1.35rem; color: var(--ink); line-height: 1.25; }
.acc-list summary::-webkit-details-marker { display: none; }
.acc-list summary i { flex-shrink: 0; position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); transition: background .3s, border-color .3s; }
.acc-list summary i::before, .acc-list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; background: var(--ink); transition: transform .3s var(--ease), background .3s; }
.acc-list summary i::after { transform: rotate(90deg); }
.acc-list details[open] summary i { background: var(--cobalto); border-color: var(--cobalto); }
.acc-list details[open] summary i::before, .acc-list details[open] summary i::after { background: #fff; }
.acc-list details[open] summary i::after { transform: rotate(0); }
.acc-body { padding: 0 2px 22px; animation: apri .5s var(--ease); }
.tipi { margin-top: 10px; display: grid; gap: 8px; }
.tipi li { padding: 10px 14px; background: var(--carta); border-radius: 10px; border-left: 3px solid var(--ardesia); }
.tipi strong { color: var(--ink); font-family: var(--ff-ui); font-size: 14px; margin-right: 4px; }
.pat-groups { display: grid; gap: 14px; }
.pat-groups h4 { font-family: var(--ff-ui); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalto); margin-bottom: 2px; }
.pat-groups p { font-size: 15.5px; line-height: 1.7; }

/* ═══ PRIMO INCONTRO: cartellini inventariati ═══ */
.first { background: var(--carta); }
.first-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 18px; }
.first-cards article { position: relative; background: var(--gesso); padding: 34px 28px 30px; border-radius: 4px; box-shadow: 0 1px 0 var(--line); }
.first-cards article::before { content: ""; position: absolute; top: 14px; right: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--carta); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); }
.first-cards article:nth-child(2) { transform: translateY(28px); }
.first-cards article:nth-child(3) { transform: translateY(56px); }
.first-cards article.reveal { transition-delay: calc(var(--i, 0) * 1ms); }
.fc-inv { display: inline-block; font-family: var(--ff-ui); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cobalto); border: 1px solid currentColor; padding: 3px 8px; border-radius: 3px; margin-bottom: 14px; }
.first-cards h3 { font-family: var(--ff-title); font-weight: 400; font-size: 1.55rem; color: var(--ink); margin-bottom: 8px; }
.first-cards p { font-size: 16px; }
.first .wrap { padding-bottom: 56px; }

/* ═══ PERCORSO: un dito con le sue falangi ═══ */
.path { background: var(--gesso); }
.path-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.path-head { position: sticky; top: 110px; }
.albo { margin-top: 18px; display: inline-block; font-family: var(--ff-ui); font-size: 12.5px; color: var(--ink3); padding: 8px 12px; border: 1px dashed var(--ardesia); border-radius: 8px; }
.dito { position: relative; padding-left: 64px; }
/* il dito: una lunga capsula che si colora dall'alto mentre entra */
.dito::before { content: ""; position: absolute; left: 14px; top: 6px; bottom: 6px; width: 22px; border-radius: 22px; background: var(--gesso-2); box-shadow: inset 0 0 0 1.5px rgba(143, 167, 181, .5); }
.dito::after { content: ""; position: absolute; left: 14px; top: 6px; width: 22px; height: calc(100% - 12px); border-radius: 22px; background: linear-gradient(180deg, var(--ardesia), var(--cobalto)); transform: scaleY(0); transform-origin: top; transition: transform 2.4s var(--ease) .2s; }
.dito.in::after { transform: scaleY(1); }
.dito li { position: relative; padding: 0 0 44px; }
.dito li:last-child { padding-bottom: 0; }
.nocca { position: absolute; left: -58px; top: 4px; width: 32px; height: 32px; border-radius: 50%; background: var(--carta); box-shadow: 0 0 0 1.5px var(--ardesia), 0 4px 10px rgba(23, 33, 43, .1); z-index: 1; transition: transform .6s var(--ease); }
.nocca::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--ardesia); }
.dito li.now .nocca::after { background: var(--cobalto); }
.dito li.in .nocca { transform: scale(1.06); }
.yr { font-family: var(--ff-ui); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalto); }
.dito h3 { font-family: var(--ff-title); font-weight: 400; font-size: 1.45rem; line-height: 1.25; color: var(--ink); margin: 4px 0 4px; }
.dito p { font-size: 16px; }

/* ═══ DOVE RICEVO + RECENSIONI ═══ */
.studio { background: var(--carta); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.studio-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; clip-path: polygon(0 0, 100% 0, 100% 86%, 88% 100%, 0 100%); }
.addr { margin-top: 18px; padding: 14px 16px; background: var(--gesso); border-radius: 8px; font-size: 16px; }
.addr strong { color: var(--ink); }
.also { font-size: 14.5px; color: var(--ink3); }
.reviews { margin-top: clamp(70px, 9vw, 110px); }
.rev-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 20px; }
.rev-head .label { margin: 0; }
.rev-src { font-family: var(--ff-ui); font-size: 12.5px; color: var(--ink3); }
.rev-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 6px 0 18px; }
.review { scroll-snap-align: start; background: var(--gesso); padding: 28px 26px; border-radius: 6px; position: relative; display: flex; flex-direction: column; }
.review::before { content: "“"; font-family: var(--ff-title); font-size: 4rem; line-height: .6; color: var(--ardesia); height: 26px; }
.review p { font-size: 15.5px; line-height: 1.7; color: var(--ink2); flex: 1; }
.review cite { display: block; margin-top: 14px; font-family: var(--ff-ui); font-style: normal; font-size: 13px; font-weight: 600; color: var(--ink); }
.review cite::before { content: "★★★★★ "; color: #d9a33c; letter-spacing: .1em; }
.rev-foot { margin-top: 10px; font-family: var(--ff-ui); font-size: 14px; font-weight: 600; }
.rev-foot a { color: var(--cobalto); }

/* ═══ FAQ ═══ */
.faq { background: var(--gesso); }
.faq-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative; font-family: var(--ff-ui); font-size: 16px; font-weight: 600; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 400; color: var(--cobalto); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 20px; animation: apri .45s var(--ease); }

/* ═══ CHIUSURA: la mano disegnata in luce ═══ */
.closing { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 170px) 0; background: radial-gradient(60% 80% at 50% 40%, var(--notte-2), var(--notte) 70%); color: #fff; text-align: center; }
.closing-mark { position: absolute; left: 50%; top: 50%; width: min(520px, 90vw); height: auto; transform: translate(-50%, -50%); fill: none; stroke: rgba(143, 167, 181, .22); stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.closing-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.closing-mark path:nth-child(2) { transition-delay: .3s; } .closing-mark path:nth-child(3) { transition-delay: .5s; } .closing-mark path:nth-child(4) { transition-delay: .7s; }
.closing.in .closing-mark path { stroke-dashoffset: 0; }
.closing-mark { animation: respiro 7s ease-in-out infinite; }
@keyframes respiro { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .9; } 50% { transform: translate(-50%, -50%) scale(1.04); opacity: 1; } }
.closing-in { position: relative; }
.closing-title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.12; margin: 0 auto 34px; max-width: 900px; }
.closing-title mark { color: #fff; background: linear-gradient(transparent 60%, rgba(143, 167, 181, .45) 60%, rgba(143, 167, 181, .45) 92%, transparent 92%); }

/* ═══ CONTATTI ═══ */
.contacts { background: var(--gesso-2); }
.contacts-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.info { display: grid; gap: 16px; margin: 6px 0 28px; }
.info dt { font-family: var(--ff-ui); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ardesia-d); }
.info dd { color: var(--ink); font-size: 17px; line-height: 1.55; }
.info dd a { border-bottom: 1px solid var(--ardesia); }
.map { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; background: var(--carta); box-shadow: 0 0 0 10px rgba(251, 250, 247, .7), 0 24px 60px rgba(23, 33, 43, .12); }
.map.loaded { border-radius: 20px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 40px; color: var(--cobalto); background-image: radial-gradient(circle, rgba(143, 167, 181, .25) 1.6px, transparent 2px); background-size: 18px 18px; }
.map-ph p { color: var(--ink2); font-size: 16px; line-height: 1.5; }
.map-ph strong { color: var(--ink); }
.map-btn { font-family: var(--ff-ui); font-weight: 600; font-size: 14px; color: #fff; background: var(--ink); border: 0; border-radius: 99px; padding: 11px 22px; cursor: pointer; transition: background .25s; }
.map-btn:hover { background: var(--cobalto); }
.map-open { font-family: var(--ff-ui); font-size: 13px; font-weight: 600; color: var(--cobalto); text-decoration: underline; text-underline-offset: 3px; }
.map-ph small { font-family: var(--ff-ui); font-size: 11px; color: var(--ink3); }

/* ═══ FOOTER ═══ */
.site-footer { background: var(--notte); color: rgba(255, 255, 255, .72); text-align: center; padding: 50px 24px 100px; font-family: var(--ff-ui); font-size: 13px; line-height: 1.7; display: grid; gap: 6px; justify-items: center; }
.site-footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.brand-mark.foot { width: 44px; height: 44px; stroke: rgba(255, 255, 255, .6); margin-bottom: 8px; }
.foot-credit3d { font-size: 11.5px; color: rgba(255, 255, 255, .5); max-width: 640px; }
.credit { margin-top: 8px; }

/* WhatsApp fisso: solo il tondo verde */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); -webkit-tap-highlight-color: transparent; transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.06); }

/* ═══ Reveal ═══ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .first-cards article.reveal:nth-child(2).in { transform: translateY(28px); }
.js .first-cards article.reveal:nth-child(3).in { transform: translateY(56px); }
.js .first-cards article.reveal:nth-child(2) { transition-delay: .12s; }
.js .first-cards article.reveal:nth-child(3) { transition-delay: .24s; }

/* ═══ APERTURA COL LOGO, stile cinema ═══ */
.intro { display: none; }
.js .intro { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(ellipse 70% 60% at 50% 45%, #203041, var(--notte) 70%, #0b1118); animation: introOut 1s ease 2.8s forwards; overflow: hidden; }
.no-intro .intro { display: none !important; }
html.intro-on, html.intro-on body { overflow: hidden; }
.intro-glow { position: absolute; left: 50%; top: 42%; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 167, 181, .3), transparent 62%); opacity: 0; animation: glowIn 1.6s ease .2s forwards; }
.intro-mark { position: relative; width: 150px; height: 150px; margin-bottom: 30px; animation: markZoom 1.15s cubic-bezier(.7, 0, .84, 0) 2.35s forwards; }
.intro-mark svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: url(#metallo); stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 18px rgba(143, 167, 181, .35)); }
.intro-mark .im { stroke-dasharray: 1; stroke-dashoffset: 1; animation: traccia .9s var(--ease) forwards; }
.intro-mark .s1 { animation-delay: .25s; } .intro-mark .s2 { animation-delay: .55s; } .intro-mark .s3 { animation-delay: .75s; } .intro-mark .s4 { animation-delay: .95s; animation-duration: 1.1s; }
.intro-name { font-family: var(--ff-ui); font-weight: 500; font-size: clamp(1.05rem, 3.4vw, 1.45rem); line-height: 1; color: #fff; text-transform: uppercase; letter-spacing: .85em; padding-left: .85em; opacity: 0; animation: nameIn 1.4s var(--ease) 1.05s forwards, fadeAway .5s ease 2.35s forwards; }
.intro-line { display: block; width: 140px; height: 1px; margin: 20px 0 16px; background: linear-gradient(90deg, transparent, var(--ardesia), transparent); transform: scaleX(0); animation: lineIn 1s var(--ease) 1.4s forwards, fadeAway .5s ease 2.35s forwards; }
.intro-sub { font-family: var(--ff-ui); font-size: .72rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--ardesia); opacity: 0; animation: fadeUp .8s var(--ease) 1.6s forwards, fadeAway .5s ease 2.35s forwards; }
@keyframes traccia { to { stroke-dashoffset: 0; } }
@keyframes glowIn { to { opacity: 1; } }
@keyframes nameIn { from { opacity: 0; letter-spacing: 1.4em; filter: blur(6px); } to { opacity: 1; letter-spacing: .5em; filter: none; } }
@keyframes lineIn { to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeAway { to { opacity: 0; } }
@keyframes markZoom { to { transform: scale(14); opacity: 0; filter: blur(8px); } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.hero-in { transition: opacity 1.2s ease .1s, transform 1.6s var(--ease); }
.intro-on .hero-in { opacity: 0; transform: scale(1.04); }
.intro-on .hero *, .intro-on .swap .w { animation-play-state: paused; }

/* ═══ Schermi medi ═══ */
@media (max-width: 1180px) {
  .nav { gap: 18px; font-size: 13.5px; }
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "text text" "arto list"; row-gap: 10px; }
  .hero-text { grid-area: text; padding-top: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 40px; align-items: end; }
  .hero-text .eyebrow, .hero-text .hero-title { grid-column: 1 / -1; }
  .hero-title { font-size: clamp(2.4rem, 6vw, 3.6rem); }
  .arto { grid-area: arto; }
  .arto-stage { min-height: 580px; }
  .pat-list { grid-area: list; padding-top: 0; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav-open .nav { display: flex; position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--carta); padding: 10px 24px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(23, 33, 43, .1); }
  .nav-open .nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .header-inner { gap: 12px; }
}

/* ═══ Telefono ═══ */
@media (max-width: 899px) {
  body { font-size: 16.5px; }
  .wrap { width: calc(100% - 40px); }
  .hero { padding-top: 88px; }
  .hero-in { grid-template-columns: 1fr; grid-template-areas: "text" "arto" "list"; gap: 0; min-height: 0; }
  .hero-text { display: block; padding-top: 0; }
  .hero-title { font-size: clamp(2.15rem, 9.4vw, 3rem); }
  .hero-lead { font-size: 16px; }
  .hero-cta { margin-bottom: 24px; }
  .hero-who img { width: 72px; height: 72px; }
  .arto { margin: 6px -20px 0; }
  .arto-stage { height: 64vh; height: 64svh; min-height: 430px; max-height: 600px; }
  .arto-hot button span { font-size: 11px; padding: 4px 8px; left: 30px; }
  .arto-hint { top: 6px; bottom: auto; font-size: 10.5px; }
  .brand-name small { white-space: nowrap; }
  .pat-list { margin-top: 6px; padding-top: 0; }
  .pat-name small { display: none; }
  .pat-tab { padding: 8px 2px; }
  .is-focus .arto-back { opacity: 0; pointer-events: none; }
  .is-focus .plinto { opacity: 1; }

  .about-in, .services-in, .path-in, .faq-in, .studio-grid, .contacts-in { grid-template-columns: 1fr; }
  .about-photo { max-width: 400px; margin: 0 22px 22px 0; }
  .about-photo::before { inset: 22px -22px -22px 22px; }
  .about-photo figcaption { right: 10px; }
  .services-head, .path-head { position: static; }
  /* sul telefono la linea scende in verticale a sinistra */
  .how-steps { grid-template-columns: 1fr; gap: 40px; padding: 4px 0 0 44px; margin-top: 44px; }
  .how-steps::before, .how-steps::after { left: 10px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .how-steps::after { width: 2px; left: 9.5px; background: linear-gradient(180deg, var(--ardesia), var(--cobalto)); transform: scaleY(0); transform-origin: top; }
  .how-steps.in::after { transform: scaleY(1); }
  .hs-dot { left: -44px; top: 2px; }
  .first-cards { grid-template-columns: 1fr; gap: 14px; }
  .first-cards article:nth-child(n), .js .first-cards article.reveal:nth-child(n).in { transform: none; }
  .first-cards article:nth-child(2) { margin-left: 18px; } .first-cards article:nth-child(3) { margin-left: 36px; }
  .first .wrap { padding-bottom: 0; }
  .rev-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; margin: 0 -20px; padding: 6px 20px 18px; scroll-padding: 0 20px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .deco { display: none; }
  .closing-title br { display: none; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 13px; letter-spacing: .1em; }
  .brand-name small { font-size: 10px; }
  .nav-cta { padding: 8px 14px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .dito::after { transform: scaleY(1); }
  .closing-mark path { stroke-dashoffset: 0; }
  .how-steps li { opacity: 1; transform: none; }
  .how-steps::after { transform: none; }
}

/* ═══ Pagina privacy ═══ */
.legal { max-width: 760px; padding: 70px 0 20px; }
.legal .label a { color: var(--cobalto); }
.legal h2 { font-family: var(--ff-title); font-weight: 400; font-size: 1.5rem; color: var(--ink); margin: 34px 0 8px; }
.legal a { color: var(--cobalto); text-decoration: underline; text-underline-offset: 3px; }
.legal-list { display: grid; gap: 8px; margin: 10px 0; }
.legal-list li { position: relative; padding-left: 18px; }
.legal-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--ardesia); }
.legal-date { font-family: var(--ff-ui); font-size: 13px; color: var(--ink3); margin-top: 26px; }
.legal + .site-footer { padding-bottom: 50px; }

/* ═══ Mettiti alla prova a temi: si sceglie la zona, poi il mazzo di lastre ═══ */
.temi { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; max-width: 1040px; margin: 0 auto; }
.temi-tabs { border-top: 1px solid var(--line); margin-top: 26px; }
.tema { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tema-n { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ardesia); font-family: var(--ff-title); font-size: 1rem; color: var(--ardesia-d); transition: background .3s, color .3s, border-color .3s; }
.tema-txt b { display: block; font-family: var(--ff-title); font-weight: 400; font-variation-settings: "opsz" 18; font-size: 1.4rem; line-height: 1.15; color: var(--ink3); transition: color .3s; }
.tema-txt small { display: block; font-family: var(--ff-ui); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin-top: 3px; }
.tema:hover .tema-txt b, .tema.on .tema-txt b { color: var(--ink); }
.tema.on .tema-n { background: var(--cobalto); border-color: var(--cobalto); color: #fff; }
.temi .quiz { width: 100%; margin: 0; }
.temi-data { grid-column: 1 / -1; }
.temi.pronto .temi-data { display: none; }
.q-num b { font-weight: 700; }
.q-sum { font-family: var(--ff-title); font-variation-settings: "opsz" 18; font-size: 1.5rem; line-height: 1.2; color: #fff; }
.q-help { font-family: var(--ff-body); font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .86); text-align: left; padding-left: 14px; border-left: 2px solid var(--ardesia); }
.q-help b { display: block; font-family: var(--ff-ui); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #cfdbe3; margin-bottom: 3px; }
.q-other { font-family: var(--ff-ui); font-size: 14px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .4); padding: 10px 20px; border-radius: 99px; cursor: pointer; }
.q-other:hover { background: rgba(255, 255, 255, .18); }
@media (max-width: 899px) {
  .temi { grid-template-columns: 1fr; gap: 20px; }
  .temi-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 0; margin: 0; }
  .tema { flex-direction: column; justify-content: center; gap: 6px; padding: 12px 4px; border: 1.5px solid var(--line); border-radius: 14px; text-align: center; }
  .tema.on { border-color: var(--cobalto); background: var(--cobalto-soft); }
  .tema-n, .tema-txt small { display: none; }
  .tema-txt b { font-size: 1.02rem; color: var(--ink); }
}

/* ═══ I tutori, dal vero: due foto sfalsate che si sovrappongono ═══ */
.tutori { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; align-items: start; margin-top: clamp(64px, 8vw, 100px); }
.t-testo { grid-column: 1 / 6; grid-row: 1; padding-top: 10px; }
.t-titolo { font-family: var(--ff-title); font-weight: 400; font-variation-settings: "opsz" 18; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; color: var(--ink); margin-bottom: 14px; }
.t-testo .btn-sm { margin-top: 18px; }
.t-foto { position: relative; }
.t-foto img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 20px 48px rgba(23, 33, 43, .18); }
.t-foto figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--carta); padding: 7px 12px; border-left: 3px solid var(--cobalto); font-family: var(--ff-ui); font-size: 12px; font-weight: 600; color: var(--ink); box-shadow: 0 6px 18px rgba(23, 33, 43, .14); }
.t-verde { grid-column: 7 / 13; grid-row: 1; }
.t-verde img { aspect-ratio: 11 / 8.5; object-fit: cover; object-position: 50% 100%; }
.t-blu { grid-column: 2 / 10; grid-row: 2; margin-top: -36px; z-index: 1; }
.t-foto.t-verde figcaption { left: auto; right: 14px; }
.t-blu img { box-shadow: 0 0 0 6px var(--gesso-2), 0 24px 54px rgba(23, 33, 43, .22); }
@media (max-width: 899px) {
  .tutori { display: flex; flex-direction: column; gap: 22px; margin-top: 56px; }
  .t-blu { margin-top: 0; }
  .t-blu img { box-shadow: 0 16px 36px rgba(23, 33, 43, .18); }
}

/* ═══ La lastra che diventa tutore (3D) ═══ */
.tut { position: relative; max-width: 1040px; margin: 26px auto 0; }
.tut-stage { position: relative; aspect-ratio: 16 / 9.4; pointer-events: none; }
.tut-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; -webkit-mask-image: linear-gradient(to right, #000 74%, transparent 98%); mask-image: linear-gradient(to right, #000 74%, transparent 98%); }
.tut-riserva { display: none; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.tut.no-3d .tut-riserva { display: block; }
.tut.no-3d .tut-cap, .tut.no-3d .tut-rivedi { display: none; }
.tut-cap { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; margin-top: 6px; font-family: var(--ff-ui); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.tut-cap li { opacity: .45; transition: opacity .35s, color .35s; }
.tut-cap li.fatto { opacity: .75; }
.tut-cap li.on { opacity: 1; color: var(--cobalto); }
.tut-testo { max-width: 560px; margin: 14px auto 0; text-align: center; font-size: 15.5px; color: var(--ink3); }
.tut-rivedi { position: absolute; right: 0; top: 8px; font-family: var(--ff-ui); font-size: 13px; font-weight: 600; color: var(--cobalto); background: var(--carta); border: 1.5px solid var(--cobalto); border-radius: 99px; padding: 8px 16px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .4s, background .25s, color .25s; -webkit-tap-highlight-color: transparent; }
.tut.finito .tut-rivedi { opacity: 1; pointer-events: auto; }
.tut-rivedi:hover { background: var(--cobalto); color: #fff; }
@media (max-width: 899px) {
  .tut { margin-left: -20px; margin-right: -20px; }
  .tut-stage { aspect-ratio: 1 / 1; }
  .tut-cap { gap: 4px 12px; font-size: 10px; letter-spacing: .1em; padding: 0 16px; }
  .tut-testo { padding: 0 20px; font-size: 15px; }
  .tut-rivedi { right: 16px; top: 0; }
}
