/* MeTeOra · landing
   Forme: pulsanti e chip a pillola, card 22px, campi 12px, ritratti ad arco.
   Accento unico: magenta del logo. La scia ciano→magenta è la firma, usata solo per la "meteora". */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/schibsted-grotesk-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #F3F4F7;
  --surface: #FBFBFD;
  --ink: #141836;
  --ink-2: #474C68;
  --line: rgba(20, 24, 54, .12);
  --accent: #A8158F;
  --accent-press: #8A0F75;
  --accent-tint: #F5E7F2;
  --cyan: #12B8D0;
  --trail: linear-gradient(90deg, #12B8D0, #6E5BD8 55%, #C21FA6);
  --night: #12163A;
  --night-ink: #E8EAF4;
  --night-2: #B9BDD6;

  --r-card: 22px;
  --r-field: 12px;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(80px, 11vw, 152px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(16.5px, .35vw + 15.2px, 18.5px)/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(36px, 4.6vw, 72px); }
h3 { font-size: clamp(20px, 1.5vw, 24px); letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff;
  font: 600 16px/1 var(--font); letter-spacing: -.005em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--accent-press); }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--surface); color: var(--accent); }
.btn--light:hover { background: #fff; color: var(--accent-press); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* segnaposto: visibili solo in bozza */
.is-draft .ph { outline: 2px dashed var(--accent); outline-offset: 8px; }
.is-draft span.ph { display: inline-block; outline-offset: 2px; padding: 1px 8px; margin-left: 2px; border-radius: 6px; font-size: .8em; font-weight: 600; color: var(--accent); background: var(--accent-tint); }
span.ph { display: none; }
.is-draft.hide-ph .ph { outline: 0; }
.is-draft.hide-ph span.ph { display: none; }
.draft { position: fixed; left: 12px; bottom: 12px; z-index: 60; display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 24px); padding: 8px 8px 8px 14px; border-radius: 999px; background: #FFF4C9; color: #4D3B00; font-size: 13px; box-shadow: 0 8px 24px -12px rgba(20, 24, 54, .4); }
.draft button { font: 600 12px var(--font); border: 0; border-radius: 999px; padding: 7px 12px; background: #4D3B00; color: #FFF4C9; cursor: pointer; }

/* barra evento + nav */
.eventbar { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 10px var(--gutter); background: var(--night); color: #fff; text-decoration: none; font-size: 14.5px; text-align: center; }
.eventbar__dot { width: 8px; height: 8px; border-radius: 50%; background: #C21FA6; box-shadow: 0 0 0 0 rgba(194, 31, 166, .6); }
.eventbar__count { color: #A6ECF5; }
.eventbar__go { font-weight: 700; color: #F3C6EC; }
.nav { position: sticky; top: 0; z-index: 40; background: rgba(243, 244, 247, .84); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); transition: box-shadow .3s; }
.nav.is-stuck { box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; border-radius: 8px; }
.brand img { width: 235px; height: 47px; flex: none; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }

/* stelline: puntini ciano→magenta ripresi dall'anello del logo */
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* HERO */
.hero { position: relative; isolation: isolate; overflow-x: clip; padding-block: clamp(32px, 5vw, 80px) clamp(56px, 7vw, 112px); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 4.5vw, 76px); line-height: .96; letter-spacing: -.045em; }
.split__line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split__line > span { display: inline-block; }
.hero__sub { margin-top: clamp(20px, 2vw, 32px); max-width: 30ch; font-size: clamp(19px, 1.4vw, 23px); line-height: 1.45; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 44px); }

.hero__meta { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.hero__art { position: relative; width: 100%; max-width: 460px; aspect-ratio: 400 / 420; justify-self: center; }
.hero__art { --px: 0; --py: 0; }
.trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; translate: calc(var(--px) * 6px) calc(var(--py) * 6px); }
.trail__base, .trail__pulse { fill: none; stroke: url(#trail-g); stroke-linecap: round; }
.trail__base { stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 0; }
.trail__pulse { stroke-width: 3.2; stroke-dasharray: .055 1.2; stroke-dashoffset: .055; opacity: 0; }
.trail__ring { fill: none; stroke-width: 1; opacity: .45; }
.trail__node:nth-of-type(1) .trail__ring { stroke: #12B8D0; }
.trail__node:nth-of-type(2) .trail__ring { stroke: #6E5BD8; }
.trail__node:nth-of-type(3) .trail__ring { stroke: #C21FA6; }
.trail__node circle { transform-box: fill-box; transform-origin: center; }
.word { position: absolute; z-index: 1; overflow: hidden; padding: .04em .12em .14em 0; translate: calc(var(--px) * var(--depth, 10) * 1px) calc(var(--py) * var(--depth, 10) * 1px); font-size: clamp(56px, 7vw, 108px); line-height: 1; }
/* le parole sono in Arial come la scritta del logo, già in tracciati (index.html) */
.word svg { height: 1em; overflow: visible; }
.word--me { left: 26%; top: 1%; color: #00707F; }
.word--te { left: 60%; top: 35%; color: #5B4FC4; }
.word--ora { left: 28%; top: 73%; color: var(--accent); }

/* FACTS */
.facts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts__list > div { padding: 28px 24px 0 0; }
.facts__list > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-size: clamp(30px, 3.4vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.facts dd { margin-top: 10px; max-width: 26ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }

/* PER CHI */
.who { padding-top: var(--sec); }
.who h2 { max-width: 16ch; }
.who__picker { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 3vw, 44px); }
.who__picker button {
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0;
  background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  font: 500 16px/1.2 var(--font); cursor: pointer; text-align: left;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.who__picker button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.who__picker button { position: relative; z-index: 1; }
.who__picker button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.has-ind .who__picker button[aria-selected="true"] { background: transparent; }
.who__ind { position: absolute; inset: 0; z-index: 0; background: var(--ink); pointer-events: none; clip-path: inset(var(--t, 0) var(--r, 100%) var(--b, 100%) var(--l, 0) round 999px); transition: clip-path .6s cubic-bezier(.76, 0, .24, 1); }
.who__panels { margin-top: 20px; }
.who__panel {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end;
  padding: clamp(28px, 4vw, 56px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line);
  position: relative; overflow: hidden;
}
.who__panel[hidden] { display: none; }
.who__lead { font-size: clamp(24px, 2.4vw, 38px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.who__panel p:last-child { color: var(--ink-2); max-width: 46ch; }

/* METODO: da 1024px la sezione si "blocca" a schermo; titolo fermo, la parola e il testo cambiano scorrendo */
.method { position: relative; margin-top: var(--sec); height: 250svh; }
.method__pin { position: sticky; top: 76px; height: calc(100svh - 76px); display: flex; align-items: center; }
.method__head { max-width: 980px; }
.method__intro { margin-top: 18px; max-width: 62ch; font-size: clamp(18px, 1.4vw, 21px); color: var(--ink-2); }
.method__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; margin-top: clamp(28px, 5svh, 64px); }
.method__stage { display: flex; align-items: center; gap: 28px; }
.method__word { position: relative; flex: 1; height: 1.3em; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); font-size: clamp(110px, min(14vw, 26svh), 240px); font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.method__strip { display: flex; flex-direction: column; padding-top: .1em; will-change: transform; }
.method__strip span { display: block; height: 1.1em; line-height: 1.1; will-change: opacity; }
.method__strip span[data-w="ora"] { color: var(--accent); }
.method__meter { width: 3px; height: 1.6em; font-size: clamp(110px, min(14vw, 26svh), 240px); border-radius: 3px; background: var(--line); overflow: hidden; }
.method__meter span { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, #12B8D0, #6E5BD8 55%, #C21FA6); transform-origin: top; transform: scaleY(.04); will-change: transform; }
.method__steps { display: grid; }
.step { grid-area: 1 / 1; will-change: opacity, transform; }
.step:not(:first-child) { opacity: 0; }
.step h3 { font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.03em; }
.step__w { display: none; }
.step p { margin-top: 16px; max-width: 46ch; color: var(--ink-2); }
.step .step__tools { margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--accent); }

/* frecce e pallini delle schede da scorrere (visibili sotto i 1024px) */
.swipe-nav { display: none; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.swipe-nav__dots { display: flex; gap: 6px; }
.swipe-nav__dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: transform .3s var(--ease), background-color .3s; }
.swipe-nav__dots span.is-on { transform: scale(1.35); background: var(--accent); }
.swipe-nav__arrows { display: flex; gap: 10px; }
.swipe-nav__arrows button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: opacity .2s, transform .15s; }
.swipe-nav__arrows button[data-dir="-1"] svg { transform: scaleX(-1); }
.swipe-nav__arrows button[data-dir="1"] { background: var(--ink); color: #fff; box-shadow: none; }
.swipe-nav__arrows button:active { transform: scale(.94); }
.swipe-nav__arrows button:disabled { opacity: .3; cursor: default; }
@media (prefers-reduced-motion: no-preference) {
  .swipe-nav.is-hint [data-dir="1"] svg { animation: nudge 1.6s ease-in-out infinite; }
}
@keyframes nudge { 0%, 60%, 100% { translate: 0; } 30% { translate: 5px; } }

/* PERCORSO */
.path { padding-top: var(--sec); }
.path h2 { max-width: 15ch; }
.path__line { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 5vw, 80px); padding-top: 44px; }
.path__line::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: var(--trail); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.path__line.is-in::before { transform: none; }
.path__line > li { position: relative; transform-origin: left top; }
.path__line > li, .js .path__line > li.reveal { transition: transform .9s var(--ease), opacity .6s var(--ease), scale .7s cubic-bezier(.16, 1, .3, 1); transition-delay: 0s; }
.path__yr::before { content: ""; position: absolute; top: -44px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); transition: transform .5s cubic-bezier(.16, 1, .3, 1), background-color .3s, box-shadow .3s; }
.path__yr::after { content: ""; position: absolute; top: -58px; left: -14px; width: 44px; height: 44px; }
.path__line > li:last-child .path__yr::before { background: var(--accent); box-shadow: none; }
.path__yr { display: block; margin: 0 0 10px; padding: 0; border: 0; background: none; font: 600 15px/1.3 var(--font); color: var(--ink-2); cursor: pointer; transition: color .3s; }
.path__yr:hover { color: var(--accent); }
.path__yr:hover::before { transform: scale(1.25); }
.path__yr[aria-pressed="true"] { color: var(--accent); }
.path__yr[aria-pressed="true"]::before { transform: scale(1.4); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-tint); }
.path__line > li.is-active { scale: 1.05; }
.path__line h3 { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.03em; }
.path__line p:not(.path__yr):not(.path__cert) { margin-top: 14px; color: var(--ink-2); max-width: 36ch; }
.path__cert { margin-top: 18px; font-size: 14.5px; font-weight: 600; }
.path__cert--final { color: var(--accent); }

.yr-prog { margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.yr-prog summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.yr-prog summary::-webkit-details-marker { display: none; }
.yr-prog summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 100% no-repeat; transition: transform .35s var(--ease); }
.yr-prog[open] summary::after { transform: rotate(45deg); }
.yr-prog ul { padding-bottom: 14px; }
.yr-prog li { position: relative; padding: 5px 0 5px 16px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.yr-prog li::before { content: ""; position: absolute; left: 0; top: .95em; width: 7px; height: 1.5px; background: var(--ink-2); }

.outlets { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(40px, 4vw, 64px); }
.outlets h3 { font-size: 17px; }
.outlets ul { display: flex; flex-wrap: wrap; gap: 8px; }
.outlets li { padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; background: var(--surface); }

/* DOCENTI */
.team { padding-top: var(--sec); }
.team__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); margin-top: clamp(36px, 4vw, 64px); align-items: start; }
.team__names { display: grid; border-top: 1px solid var(--line); }
.team__names button {
  display: grid; gap: 6px; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line);
  background: none; color: var(--ink-2); text-align: left; cursor: pointer; font-family: var(--font);
  transition: color .3s var(--ease);
}
.team__names button span { font-size: clamp(28px, 3vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.team__names button small { font-size: 15px; font-weight: 500; }
.team__names button:hover { color: var(--ink); }
.team__names button > * { transition: transform .4s var(--ease); }
.team__names button[aria-selected="true"] { color: var(--ink); }
.team__names button[aria-selected="true"] > * { transform: translateX(20px); }
.team__names button[aria-selected="true"] small { color: var(--accent); }
.bio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: end; }
.bio[hidden] { display: none; }
.bio img, .bio__empty { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: var(--r-card); background: #E3E6EE; }
.bio__empty { display: flex; align-items: flex-end; padding: 20px; background: linear-gradient(165deg, #DCE8F4, #EEDDED); }
.bio__empty span { font-size: 14px; font-weight: 600; color: var(--accent); }
.bio h3 { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.03em; }
.bio__role { margin-top: 8px; font-weight: 600; color: var(--accent); font-size: 15.5px; }
.bio p:last-child { margin-top: 16px; color: var(--ink-2); }

/* TESTIMONIANZE */
.voices { padding-top: var(--sec); }
.voices__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 16px; margin-top: clamp(36px, 4vw, 64px); }
.voice { margin: 0; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.voice blockquote { margin: 0; font-size: clamp(19px, 1.5vw, 23px); font-weight: 500; letter-spacing: -.015em; line-height: 1.35; }
.voice--big { grid-row: span 2; background: var(--accent-tint); box-shadow: none; }
.voice--big blockquote { font-size: clamp(26px, 2.8vw, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.voice figcaption { font-size: 15px; color: var(--ink-2); }
.voice figcaption strong { display: block; color: var(--ink); }

/* PROVA (bento) */
.try { padding-top: var(--sec); }
.try__intro { margin-top: 20px; max-width: 48ch; font-size: clamp(18px, 1.4vw, 21px); color: var(--ink-2); }
.try__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; margin-top: clamp(36px, 4vw, 64px); }
.try__grid > article { border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); }
.ticket { grid-column: 1 / 8; grid-row: span 2; position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--night-ink); display: flex; flex-direction: column; }
.ticket > :not(.stars) { position: relative; z-index: 1; }
.ticket h3 { font-size: clamp(30px, 3.2vw, 50px); letter-spacing: -.035em; line-height: 1.02; color: #fff; }
.ticket__when { margin-top: 18px; font-size: clamp(19px, 1.5vw, 23px); font-weight: 600; color: #fff; line-height: 1.35; }
.ticket__where { margin-top: 6px; color: var(--night-2); }
.ticket ul { margin: 28px 0 32px; display: grid; gap: 12px; }
.ticket li { padding-left: 28px; position: relative; color: var(--night-ink); }
.ticket li::before { content: ""; position: absolute; left: 0; top: .72em; width: 16px; height: 2px; background: var(--cyan); }
.ticket .btn { align-self: flex-start; margin-top: auto; }
.ticket__free { margin-bottom: auto; margin-top: 14px; font-size: 14.5px; color: var(--night-2); }
.next { grid-column: 8 / 13; background: var(--accent-tint); }
.next ul { margin-top: 18px; display: grid; gap: 14px; }
.next li { display: grid; gap: 2px; }
.next li span { font-size: 15px; color: var(--ink-2); }
.price { grid-column: 8 / 13; background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.price__big { font-size: clamp(40px, 4vw, 60px); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin-top: 4px; }
.price__big span { font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.price p:not(.price__big) { color: var(--ink-2); font-size: 15.5px; }
.price .btn { align-self: flex-start; margin-top: 8px; }
.practical { grid-column: 1 / 13; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.practical dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.practical dt { font-size: 14.5px; font-weight: 600; color: var(--accent); }
.practical dd { margin-top: 6px; font-size: 15.5px; line-height: 1.45; }

/* FAQ */
.faq { padding-top: var(--sec); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 108px; }
.faq__head p { margin-top: 18px; color: var(--ink-2); }
.faq__head a { color: var(--accent); font-weight: 600; text-underline-offset: 4px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { position: relative; padding: 24px 44px 24px 0; cursor: pointer; list-style: none; font-size: clamp(18px, 1.4vw, 21px); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .35s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding-bottom: 26px; max-width: 62ch; color: var(--ink-2); }

/* CTA finale: unico cambio di tema della pagina, la "notte" dove arriva la meteora */
.cta { margin-top: var(--sec); padding-block: var(--sec); background: var(--night); color: var(--night-ink); position: relative; isolation: isolate; overflow: hidden; }
.cta__grid { position: relative; z-index: 1; }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--trail); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.cta h2 { color: #fff; font-size: clamp(44px, 6vw, 96px); letter-spacing: -.045em; }
.cta__copy > p { margin-top: 22px; max-width: 38ch; font-size: clamp(18px, 1.4vw, 21px); color: var(--night-2); }
.cta__alt { margin-top: 36px; display: grid; gap: 12px; }
.cta__alt a { color: #fff; font-weight: 500; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 5px; transition: text-decoration-color .2s; }
.cta__alt a:hover { text-decoration-color: var(--cyan); }

.form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: var(--surface); color: var(--ink); }
.form__choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__choice legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.form__choice label { position: relative; cursor: pointer; }
.form__choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.form__choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(20, 24, 54, .2); font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s, box-shadow .2s; }
.form__choice input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.form__choice input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select { height: 52px; padding: 0 16px; border: 0; border-radius: var(--r-field); background: #fff; box-shadow: inset 0 0 0 1.5px rgba(20, 24, 54, .28); font: 400 16px var(--font); color: var(--ink); transition: box-shadow .2s; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141836' stroke-width='2'/%3E%3C/svg%3E") right 16px center no-repeat; }
.field input:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B42318; }
.field__err, .form__err { font-size: 14px; font-weight: 600; color: #B42318; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }

.foot { background: #0E1130; color: var(--night-2); padding: 56px 0 120px; font-size: 14.5px; line-height: 1.7; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1.6fr 1.2fr 1fr; gap: 32px; }
.foot__brand { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #fff; line-height: 1.2; }
.foot__brand span { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--night-2); }
.foot a { color: var(--night-ink); text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; }
.foot__social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot__social p { color: #fff; font-weight: 600; }
.foot__social ul { display: flex; flex-wrap: wrap; gap: 10px; }
.foot__social a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 12px; border-radius: 999px; color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.foot__social a:hover { background: #fff; color: var(--ink); box-shadow: none; }
.foot__social svg { flex: none; }

.mbar { display: none; }

/* animazioni: entrano solo con JS attivo e senza "riduci movimento" */
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes wordUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes nodeIn { from { transform: scale(0); opacity: 0; } to { transform: none; } }
@keyframes pulseRun {
  0% { stroke-dashoffset: .055; opacity: 0; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  4% { opacity: 1; }
  38% { opacity: 1; }
  42% { stroke-dashoffset: -1; opacity: 0; }
  100% { stroke-dashoffset: -1; opacity: 0; }
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(194, 31, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(194, 31, 166, 0); } }

@media (prefers-reduced-motion: no-preference) {
  .js .split__line > span { animation: lineUp 1s var(--ease) both; }
  .js .split__line:nth-child(2) > span { animation-delay: .1s; }
  .js .rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * .1s); }
  .js .hero__art { animation: rise 1.1s .15s var(--ease) both; }
  .js .trail__base { stroke-dashoffset: 1; animation: draw 2.4s .3s cubic-bezier(.65, 0, .35, 1) forwards; }
  .js .trail__pulse { animation: pulseRun 7s 3s infinite; }
  .js .trail__node circle { animation: nodeIn 1s var(--d) cubic-bezier(.16, 1, .3, 1) both; }
  .js .word > span { display: block; animation: wordUp 1.1s var(--d) cubic-bezier(.16, 1, .3, 1) both; }
  .js .hero__art.is-tracking .word, .js .hero__art.is-tracking .trail { transition: translate .9s cubic-bezier(.16, 1, .3, 1); }
  .js .eventbar__dot { animation: pulse 2s infinite; }
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--stagger, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .who__panel:not([hidden]) { animation: panelIn .6s var(--ease) both; }
  .js .bio:not([hidden]) { animation: panelIn .4s var(--ease) both; }
  .js .faq__list details[open] p, .js .yr-prog[open] ul { animation: panelIn .5s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor__glow, .cursor__ring { animation: none !important; }
  .path__line::before { transform: none; transition: none; }
}


/* INTERAZIONI (solo mouse) */
.cursor { --c: 168, 21, 143; position: fixed; left: 0; top: 0; z-index: 90; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.cursor.is-on { opacity: 1; }
.cursor__glow, .cursor__ring { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; max-width: none; transition: scale .5s cubic-bezier(.16, 1, .3, 1); }
.cursor__glow { border-radius: 50%; background: radial-gradient(circle closest-side, rgba(var(--c), .55) 0%, rgba(var(--c), .42) 40%, rgba(var(--c), .3) 75%, rgba(var(--c), .22) 94%, rgba(var(--c), 0) 100%); }
.cursor__ring { overflow: visible; }
.cursor__ring circle { fill: none; stroke: rgba(var(--c), .85); stroke-width: .6; transition: stroke .3s; }
.cursor.is-hover .cursor__glow, .cursor.is-hover .cursor__ring { animation: cursorPulse 1s infinite; }
.cursor.is-hover .cursor__ring circle { stroke: rgba(var(--c), 1); }
.cursor.is-down .cursor__glow, .cursor.is-down .cursor__ring { scale: .75; animation: none; }
.cursor.on-dark { --c: 243, 198, 236; }
.cursor.on-accent { --c: 255, 255, 255; }
.cursor.is-text { opacity: 0; }
@keyframes cursorPulse {
  0% { transform: scale(1); animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
  50% { transform: scale(1.7); animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
  100% { transform: scale(1); }
}
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor * { cursor: none !important; }
  .has-cursor input:not([type="checkbox"]):not([type="radio"]), .has-cursor select, .has-cursor textarea { cursor: text !important; }
  .has-cursor select { cursor: pointer !important; }
}

[data-spot] { position: relative; isolation: isolate; }
[data-spot]::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(168, 21, 143, .09), transparent 62%); }
[data-spot][data-dark]::after { z-index: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .07), transparent 62%); }
[data-spot]:hover::after { opacity: 1; }

.btn { transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), translate .5s cubic-bezier(.16, 1, .3, 1); }

@media (prefers-reduced-motion: no-preference) {
  .js h2.reveal { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); translate: 0 .4em; transition: clip-path 1.1s cubic-bezier(.16, 1, .3, 1), translate 1.1s cubic-bezier(.16, 1, .3, 1); }
  .js h2.reveal.is-in { clip-path: inset(-10% -5% -20% -5%); translate: 0 0; }
  .js .bio:not([hidden]) img, .js .bio:not([hidden]) .bio__empty { animation: photoIn .45s cubic-bezier(.16, 1, .3, 1) both; }
}
@keyframes photoIn { from { opacity: .35; scale: 1.025; } to { opacity: 1; scale: 1; } }

/* percorso: la linea segue lo scorrimento dove il browser lo supporta */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
    .path__line::before { transition: none; animation: growX linear both; animation-timeline: view(); animation-range: entry 30% cover 55%; }
  }
}
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* schermi bassi: la sezione metodo scorre normalmente (stessa soglia in main.js) */
@media (min-width: 1024px) and (max-height: 620px), (max-width: 1023px) and (max-height: 639px) {
  .method { height: auto; }
  .method__pin { position: static; height: auto; display: block; }
  .method__steps { gap: 40px; }
  .step, .step:not(:first-child) { grid-area: auto; opacity: 1 !important; transform: none !important; }
  .method__stage { display: none; }
  .method__body { grid-template-columns: 1fr; }
  .step__w { display: block; font-size: 72px; font-weight: 800; letter-spacing: -.06em; line-height: 1; margin-bottom: 8px; }
}

/* ≥ 1600: schermi grandi */
@media (min-width: 1600px) {
  :root { --wrap: 1440px; }
}

/* < 1280: portatili piccoli */
@media (max-width: 1279px) {
  .nav__links { gap: 22px; }
  .practical dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* < 1024: tablet */
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav .btn--sm { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__sub { max-width: 36ch; }
  .hero__art { justify-self: center; max-width: 380px; }
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__list > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts__list > div:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line); }
  .who__panel { grid-template-columns: 1fr; align-items: start; }
  /* metodo: resta ferma e Me, Te, Ora cambiano scorrendo col dito, come con la rotella */
  .method__body { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
  .method__stage { gap: 18px; }
  .method__word, .method__meter { font-size: clamp(76px, 22vw, 150px); }
  .step__w { font-size: clamp(64px, 14vw, 110px); }
  .step[data-step="ora"] .step__w { color: var(--accent); }
  .path__line { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; gap: 40px; }
  .path__line::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, #12B8D0, #6E5BD8 55%, #C21FA6); transform-origin: top; transform: scaleY(0); }
  .path__line.is-in::before { transform: none; }
  .path__yr::before { top: 4px; left: -40px; }
  .path__yr::after { top: -10px; left: -54px; }
  .path__line > li.is-active { scale: 1.03; }
  .team__grid { grid-template-columns: 1fr; }
  .team__names { display: none; }
  .bio[hidden] { display: grid; }
  /* docenti: una scheda alla volta a tutta larghezza, si scorrono col dito o con le frecce */
  [data-swipe] { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  [data-swipe]::-webkit-scrollbar { display: none; }
  [data-swipe] > * { scroll-snap-align: start; scroll-snap-stop: always; }
  [data-swipe] .bio { align-items: start; align-content: start; }
  .swipe-nav { display: flex; }
  .voices__grid { grid-template-columns: 1fr 1fr; }
  .voice--big { grid-column: 1 / -1; grid-row: auto; }
  .try__grid > article { grid-column: 1 / -1; grid-row: auto; }
  .try__grid > .next, .try__grid > .price { grid-column: span 6; }
  .practical dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .cta__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

/* < 640: telefono */
@media (max-width: 639px) {
  .nav__in { height: 68px; }
  .method__pin { top: 68px; height: calc(100svh - 68px); }
  .brand img { width: 200px; height: 40px; }
  .nav .btn--sm { display: none; }
  .hero { padding-top: 16px; }
  .hero h1 { font-size: clamp(42px, 12vw, 56px); }
  .hero__cta .btn { width: 100%; }
  .hero__art { display: none; }
  .eventbar { font-size: 13px; gap: 6px; }
  .eventbar__count { display: none; }
  .facts__list > div { padding-right: 12px; }
  .facts__list > div + div { padding-left: 14px; }
  .facts__list > div:nth-child(3) { padding-left: 0; }
  .facts dt { font-size: clamp(26px, 7.4vw, 30px); }
  .facts dd { font-size: 14.5px; }
  .who__picker button { width: 100%; }
  .bio { grid-template-columns: 1fr; }
  .voices__grid { grid-template-columns: 1fr; }
  .try__grid > .next, .try__grid > .price { grid-column: 1 / -1; }
  .practical dl { grid-template-columns: 1fr; }
  .ticket .btn, .price .btn { align-self: stretch; }
  .foot__grid { grid-template-columns: 1fr; }
  .mbar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(243, 244, 247, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar .btn { flex: 1; min-height: 50px; }
  .mbar__wa { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #1C9D52; color: #fff; }
  .draft { bottom: 84px; padding: 6px; }
  .draft p { display: none; }
}

/* Conversione: varianti hero, profili con invito, Open Day, costi, modulo in due passaggi */

.draft__v { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.draft__v a { color: #4D3B00; text-underline-offset: 3px; }
.draft__v a[aria-current="true"] { text-decoration-thickness: 2px; color: #000; }

.hero__sub { max-width: 38ch; }
.hero h1.is-variant { font-size: clamp(40px, 3.9vw, 66px); }

/* profili: testo e invito su misura */
.who__body { display: grid; gap: 22px; }
.who__body p { color: var(--ink-2); max-width: 46ch; }
.who__go { justify-self: start; color: var(--accent); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease); }
.who__go:hover { background-size: 100% 1.5px; }

/* Open Day */
.agenda { margin: 26px 0 28px; display: grid; gap: 12px; }
.agenda li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; color: var(--night-ink); }
.ticket .agenda li { padding-left: 0; }
.ticket .agenda li::before { display: none; }
.agenda time { font: 700 1em var(--font); color: var(--cyan); }
.is-draft .ticket .agenda.ph { outline-color: #F3C6EC; }
.before { grid-column: 8 / 13; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.before h3 { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -.02em; }
.before ul { margin-top: 18px; display: grid; gap: 14px; }
.before li { padding-left: 28px; position: relative; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.before li::before { content: ""; position: absolute; left: 0; top: .7em; width: 16px; height: 2px; background: var(--accent); }
.next a { color: var(--accent); font-weight: 600; }

/* docenti e testimonianze */
.team__intro, .voices__class { margin-top: 20px; max-width: 52ch; font-size: clamp(18px, 1.4vw, 21px); color: var(--ink-2); }

/* costi */
.costs .price { grid-column: 1 / 6; grid-row: span 2; gap: 0; background: var(--accent-tint); box-shadow: none; }
.price__label { font-size: 14.5px; font-weight: 600; color: var(--accent) !important; }
.costs .price__big { margin-top: 10px; font-size: clamp(48px, 5vw, 76px); }
.price__month { margin-top: 10px; }
.price__years { position: relative; margin: 32px 0 0; display: grid; gap: 20px; padding-left: 30px; }
.price__years::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #12B8D0, #6E5BD8 55%, #C21FA6); }
.price__years li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(168, 21, 143, .16); }
.price__years li:last-child { padding-bottom: 0; border-bottom: 0; }
.price__years li::before { content: ""; position: absolute; left: -30px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-tint); box-shadow: inset 0 0 0 2px var(--ink); }
.price__years li.is-final::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(168, 21, 143, .18); }
.price__yr { font-weight: 700; letter-spacing: -.01em; }
.price__amt { font-weight: 600; }
.price__cert { grid-column: 1 / -1; font-size: 14.5px; color: var(--ink-2); }
.is-final .price__cert { color: var(--accent); font-weight: 600; }
.price__note { margin: 28px 0 24px; color: var(--ink) !important; font-weight: 600; }
.costs .price .btn { margin-top: auto; }
.costs .practical { grid-column: 6 / 13; }
.practical__tiles { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.practical__tiles li { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 1px solid var(--line); }
.practical__tiles strong { font-size: clamp(28px, 2.6vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.practical__tiles span { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
html:not(.is-draft) .practical__tiles li.ph { display: none; }
.costs__voice { grid-column: 6 / 13; margin: 0; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 18px; }
.costs__voice blockquote { margin: 0; font-size: clamp(19px, 1.5vw, 23px); font-weight: 500; letter-spacing: -.015em; line-height: 1.35; }
.costs__voice figcaption { font-size: 15px; color: var(--ink-2); }
.costs__voice figcaption strong { display: block; color: var(--ink); }

/* modulo in due passaggi */
.form__step { display: grid; gap: 18px; }
.form__step[hidden] { display: none; }
.form__count { display: flex; align-items: center; gap: 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.form__back { border: 0; padding: 0; background: none; font: 600 13.5px var(--font); color: var(--accent); cursor: pointer; }
.form__choice[hidden] { display: none; }
.form__choice--sm span { min-height: 40px; font-size: 14.5px; }
.field__opt { font-weight: 400; color: var(--ink-2); font-size: 13.5px; margin-left: 6px; }
.form__legal { font-size: 13.5px; color: var(--ink-2); text-align: center; }
.form__legal a { color: var(--ink-2); }

@media (max-width: 1023px) {
  .try__grid > .before { grid-column: span 6; }
  .costs .price, .costs .practical, .costs__voice { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 639px) {
  .try__grid > .before { grid-column: 1 / -1; }
  .practical__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .draft__v { font-size: 12px; gap: 6px; }
}
/* il programma dell'Open Day è una proposta: online resta nascosto finché non viene confermato */
html:not(.is-draft) .agenda.ph { display: none; }

/* Eventi: i testi arrivano da eventi.json; finché non sono pronti restano invisibili (niente salto di date) */
.js:not(.ev-ready) [data-ev] { visibility: hidden; }
[data-ev][hidden] { display: none !important; }
.is-empty .ticket { grid-column: 1 / -1; }
.ticket__free a { color: #fff; text-underline-offset: 4px; }

/* prossimi eventi a calendarino: il clic li scambia con la scheda */
.next .cal { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; width: 100%; padding: 10px 14px 10px 10px; border: 0; border-radius: 16px; background: var(--surface); box-shadow: 0 1px 0 rgba(20, 24, 54, .08); font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: box-shadow .25s var(--ease), translate .25s var(--ease); }
.next .cal:hover { box-shadow: 0 10px 24px -14px rgba(20, 24, 54, .35); translate: 0 -1px; }
.next .cal:active { translate: 0 0; }
.next .cal__date { display: grid; justify-items: center; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 24, 54, .12); line-height: 1; }
.next .cal__mon { width: 100%; padding: 5px 0 4px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.next .cal__day { padding-top: 7px; font-size: 24px; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.next .cal__wd { padding: 3px 0 7px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.next .cal__txt { display: grid; gap: 2px; min-width: 0; }
.next .cal__txt strong { font-size: 16.5px; line-height: 1.25; }
.next li .cal__txt span { font-size: 14.5px; }
.next .cal__go { font-size: 14px; font-weight: 600; color: var(--accent); }
.next li:has(.cal) { display: block; }
.ticket.is-swap > :not(.stars) { animation: evSwap .45s var(--ease) both; }
@keyframes evSwap { from { opacity: 0; translate: 0 8px; } }
@media (prefers-reduced-motion: reduce) { .ticket.is-swap > :not(.stars) { animation: none; } }
