/* =================================================================
   Sidamo Studio — foglio di stile
   Neri caldi, un accento ambra, muschio per le etichette.
   Archivo per titoli e testo, Martian Mono per etichette e dati.
   ================================================================= */

/* ---------- Font (ospitati in locale) ---------- */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('../fonts/archivo-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('../fonts/archivo-var-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('../fonts/archivo-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('../fonts/archivo-var-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap;
  src: url('../fonts/martian-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap;
  src: url('../fonts/martian-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Token ---------- */
:root {
  --bg:        #0c0b09;
  --bg-2:      #110f0c;
  --bg-3:      #18150f;
  --card:      rgba(243,239,232,.03);
  --card-hi:   rgba(243,239,232,.06);
  --line:      rgba(243,239,232,.10);
  --line-2:    rgba(243,239,232,.19);
  --text:      #f3efe8;
  --text-2:    #c6bfb3;
  --muted:     #8b8377;
  --accent:      #e9a23b;
  --accent-ink:  #2a1a04;
  --accent-soft: rgba(233,162,59,.14);
  --accent-glow: rgba(233,162,59,.26);
  --moss:        #a3b088;
  --moss-soft:   rgba(163,176,136,.14);
  --err:         #e07a6a;

  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --radius: 12px; --radius-sm: 8px;
  --container: 1180px;
  --gutter:  clamp(20px, 4vw, 40px);
  --section: clamp(76px, 10vw, 132px);
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--sans); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; font-family: var(--sans); }
.skip:focus { left: 8px; }

/* ---------- Tipografia ---------- */
.display { font-size: clamp(2.9rem, 8vw, 6.2rem); font-weight: 700; line-height: .96; letter-spacing: -.04em; font-stretch: 104%; }
.h2      { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.h3      { font-size: 1.4rem; letter-spacing: -.02em; }
.lead    { font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--text-2); line-height: 1.55; }
.muted   { color: var(--muted); }
.text-2  { color: var(--text-2); }
.accent  { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--moss { color: var(--moss); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head p { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.prose p { color: var(--text-2); max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin: 32px 0 10px; }
.prose ul { display: grid; gap: 8px; margin: 0 0 1.2em; padding-left: 1.2em; list-style: disc; color: var(--text-2); }
.blockquote {
  margin: 30px 0 0; padding-left: 20px; border-left: 2px solid var(--accent);
  font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 1.9vw, 1.6rem); color: var(--text); line-height: 1.4;
}

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--alt { background: var(--bg-2); }
.section--line { border-top: 1px solid var(--line); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr !important; } .split--rev > :first-child { order: 0; } }

/* colonne piane con filetti, al posto delle card */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.cols > * { padding: 6px clamp(18px, 3vw, 36px) 6px; border-left: 1px solid var(--line); }
.cols > *:first-child { border-left: 0; padding-left: 0; }
.cols > *:last-child { padding-right: 0; }
.cols h3 { margin-bottom: 10px; font-size: 1.3rem; }
.cols p { color: var(--text-2); font-size: 1rem; margin: 0; }
.cols .ico { width: 26px; height: 26px; color: var(--accent); margin-bottom: 18px; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } .cols > * { border-left: 0; padding: 22px 0; border-top: 1px solid var(--line); } .cols > *:first-child { border-top: 0; padding-top: 0; } }

/* righe editoriali numerate */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 72px 1.1fr 1.6fr auto; gap: clamp(16px, 3vw, 40px); align-items: start; padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.row--3 { grid-template-columns: 72px 1.1fr 1.6fr; }
@media (max-width: 800px) { .row, .row--3 { grid-template-columns: 48px 1fr !important; } .row__d { grid-column: 2; } .row .link, .row > .muted { grid-column: 2; } }
.row__n { font-family: var(--mono); font-size: .82rem; color: var(--muted); padding-top: 12px; }
.row__t { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.row__t small { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--moss); font-weight: 500; margin-bottom: 8px; }
.row__d { color: var(--text-2); margin: 0; padding-top: 4px; }
.row .link { padding-top: 8px; white-space: nowrap; }

/* fatti in una riga */
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-2); font-size: .98rem; }
.facts b { font-family: var(--mono); font-weight: 600; font-size: 1.15rem; color: var(--text); margin-right: 6px; }

/* passi come lista */
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step-list--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .step-list, .step-list--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .step-list, .step-list--3 { grid-template-columns: 1fr; } }
.step-list > div { padding: 28px clamp(16px, 2.5vw, 32px) 28px 0; border-right: 1px solid var(--line); }
.step-list > div:last-child { border-right: 0; }
.step-list > div + div { padding-left: clamp(16px, 2.5vw, 32px); }
@media (max-width: 900px) { .step-list > div:nth-child(2n) { border-right: 0; } .step-list > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .step-list > div { border-right: 0; padding-left: 0; } .step-list > div:nth-child(n+2) { border-top: 1px solid var(--line); } }
.step-list .n { font-family: var(--mono); color: var(--accent); font-size: .82rem; font-weight: 500; margin-bottom: 14px; }
.step-list h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step-list p { color: var(--text-2); font-size: .98rem; margin: 0; }

/* lista con spunte */
.list-check { display: grid; gap: 12px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.list-check .ico { color: var(--accent); margin-top: 4px; width: 18px; height: 18px; }

/* filetto a onda (dal logo) */
.rule-wave { height: 14px; border: 0; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0,7 C10,7 12,1.5 20,1.5 S30,12.5 40,12.5 S50,1.5 60,1.5 S70,12.5 80,12.5 S90,3.5 100,3.5 S110,7 120,7' fill='none' stroke='%23e9a23b' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x center / 120px 14px; }
.rule-wave--muted { opacity: .26; }

/* ---------- Bottoni e link ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px var(--accent-glow); }
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: var(--card-hi); box-shadow: none; }
.btn--sm { padding: 11px 18px; font-size: .92rem; border-radius: 8px; }
.btn--lg { padding: 18px 30px; font-size: 1.06rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-family: var(--sans); font-weight: 600; }
.link .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover .ico { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Card (solo dove serve un oggetto contenuto) ---------- */
.card { position: relative; padding: clamp(24px, 3vw, 34px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card__icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.card__icon .ico { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 1rem; }
.card--empty { text-align: center; max-width: 620px; margin-inline: auto; }
.card--empty .card__icon { margin-inline: auto; }
.card--empty .link { margin-top: 6px; }

/* ---------- Pill ---------- */
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 11px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(12,11,9,.55); backdrop-filter: blur(8px); font-family: var(--mono); font-size: .76rem; color: var(--text-2); }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 10px var(--moss); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px var(--gutter) 0; pointer-events: none; font-family: var(--sans); }
.site-header__bar {
  pointer-events: auto; width: min(var(--container), 100%); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); padding: 0 12px 0 22px;
  background: rgba(12,11,9,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 14px; transition: background .3s, border-color .3s, box-shadow .3s;
}
.is-scrolled .site-header__bar { background: rgba(12,11,9,.88); border-color: var(--line-2); box-shadow: 0 12px 40px -20px rgba(0,0,0,.8); }
.brand img { height: 34px; width: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list > li > a:not(.btn) { display: block; padding: 10px 14px; border-radius: 8px; font-size: .95rem; font-weight: 500; color: var(--text-2); transition: color .2s, background .2s; }
.nav__list > li > a:not(.btn):hover { color: var(--text); background: var(--card-hi); }
.nav__list > li > a[aria-current="page"] { color: var(--text); }
.nav__cta { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border-radius: 8px; color: var(--text); }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + 10px); display: none; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; background: rgba(12,11,9,.97); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }
  .nav__list > li > a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav__cta { margin: 8px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; padding: 15px; }
  [aria-expanded="true"] .nav-toggle__open { display: none; }
  [aria-expanded="true"] .nav-toggle__close { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.hero__content { max-width: 760px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 600px; margin-bottom: 32px; }
.hero__brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); font-weight: 500; }
.hero__brandline::before { content: ''; width: 26px; height: 1px; background: var(--moss); }
.hero__alt { margin-top: 24px; font-size: .95rem; color: var(--text-2); }
.hero__alt a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.hero__alt a:hover { border-color: var(--accent); }
.hero .pill { margin-bottom: 26px; }
/* con fotografia */
.hero--photo { min-height: min(100svh, 980px); display: flex; align-items: flex-end; padding-bottom: clamp(110px, 12vw, 150px); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; filter: saturate(.88) contrast(1.04); }
.hero__media::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,11,9,.30) 0%, rgba(12,11,9,.22) 30%, rgba(12,11,9,.80) 68%, var(--bg) 100%),
              linear-gradient(90deg, rgba(12,11,9,.55) 0%, rgba(12,11,9,.05) 55%, rgba(12,11,9,.35) 100%); }
.hero--photo .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
@media (max-width: 960px) { .hero--photo .container { grid-template-columns: 1fr; } }
/* con visual di sfondo, contenuto centrato (landing) */
.hero--visual { min-height: min(92svh, 900px); display: flex; align-items: flex-start; padding-bottom: clamp(200px, 24vw, 300px); }
.hero--visual .hero__media { bottom: auto; height: 126%; }
.hero--visual .hero__media img { object-position: center 50%; filter: none; }
.hero--visual .hero__media::after { background: linear-gradient(180deg, rgba(12,11,9,.85) 0%, rgba(12,11,9,.6) 40%, rgba(12,11,9,.05) 68%, rgba(12,11,9,.05) 82%, var(--bg) 100%); }
@media (max-width: 700px) {
  .hero--visual { min-height: 0; padding-bottom: 300px; }
  .hero--visual .hero__media { top: auto; bottom: 0; height: 320px; }
  .hero--visual .hero__media img { object-position: center 70%; }
  .hero--visual .hero__media::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(12,11,9,.2) 40%, rgba(12,11,9,.05) 75%, var(--bg) 100%); }
}
/* con immagine a lato (pagine interne) */
.hero--split .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero--split .hero__visual { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-3); }
.hero--split .hero__visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero--split .container { grid-template-columns: 1fr; } .hero--split .hero__visual { aspect-ratio: 16 / 9; } }
/* senza fotografia, centrato o a sinistra */
.hero--plain { padding-top: calc(var(--header-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(40px, 6vw, 72px); }
.hero--center .hero__content { margin-inline: auto; text-align: center; max-width: 820px; }
.hero--center .lead { margin-inline: auto; max-width: 640px; }
.hero--center .actions { justify-content: center; }
.hero--center .hero__brandline { justify-content: center; }
.hero--center .hero__brandline::before { display: none; }

/* bottone "ascolta" */
.btn--sound { gap: 14px; padding-left: 16px; }
.btn--sound .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(42,26,4,.18); }
.btn--sound .dot .ico { width: 16px; height: 16px; }
.btn--sound .ico-pause { display: none; }
.is-playing .btn--sound .ico-pause { display: block; }
.is-playing .btn--sound .ico-play { display: none; }
.btn--sound small { font-weight: 500; opacity: .8; margin-left: 2px; }

/* le tre porte */
.doors { display: flex; flex-direction: column; background: rgba(12,11,9,.66); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-family: var(--sans); }
.doors a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 20px 22px; border-top: 1px solid var(--line); transition: background .25s; }
.doors a:first-child { border-top: 0; }
.doors a:hover { background: var(--card-hi); }
.doors__k { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--moss); font-weight: 500; margin-bottom: 5px; }
.doors__t { display: block; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: var(--text); }
.doors__d { display: block; color: var(--text-2); font-family: var(--sans); font-size: .94rem; margin-top: 4px; }
.doors .ico { color: var(--accent); width: 22px; height: 22px; transition: transform .25s var(--ease); }
.doors a:hover .ico { transform: translateX(4px); }

/* waveform in fondo al hero */
.wave { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none; }
.wave canvas { width: 100%; height: 100%; opacity: .9; }

/* ---------- Immagini ---------- */
.mosaic { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(420px, 44vw, 600px); }
.mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.mosaic figure:first-child { grid-row: 1 / 3; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
@media (max-width: 600px) { .mosaic { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 300px 180px; } }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-3); }
.gallery figcaption { font-family: var(--mono); font-size: .72rem; color: var(--muted); padding: 10px 2px 0; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure:last-child { grid-column: 1 / -1; } .gallery figure:last-child img { aspect-ratio: 16 / 9; } }
.portrait { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; background: var(--bg-3); position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; font-family: var(--mono); font-size: .72rem; color: var(--text-2); background: linear-gradient(transparent, rgba(12,11,9,.85)); }

/* ---------- Testimonial ---------- */
.quote-big { max-width: 900px; margin: 0 auto clamp(48px, 7vw, 80px); text-align: center; }
.quote-big p { font-style: italic; font-weight: 400; font-size: clamp(1.35rem, 2.4vw, 1.95rem); line-height: 1.35; color: var(--text); margin: 0 0 26px; text-wrap: pretty; }
.quote-big footer { font-family: var(--mono); color: var(--text-2); font-size: .8rem; }
.quote-big footer b { color: var(--text); font-weight: 600; }
.quotes--plain blockquote { margin: 0; }
.quotes--plain p { color: var(--text-2); font-size: .98rem; margin: 0 0 14px; }
.quotes--plain footer { font-family: var(--sans); }
.quotes--plain footer b { display: block; color: var(--text); font-weight: 600; font-size: .95rem; }
.quotes--plain footer small { color: var(--muted); font-family: var(--mono); font-size: .74rem; }

/* ---------- Player ---------- */
.player-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.player { display: grid; grid-template-columns: 52px 1fr 2fr auto; gap: 18px; align-items: center; padding: 14px 18px 14px 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--sans); transition: border-color .3s, background .3s; }
.player.is-playing { border-color: var(--accent); background: var(--card-hi); }
.player__btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); transition: transform .2s var(--ease); }
.player__btn:hover { transform: scale(1.05); }
.player__btn .ico { width: 22px; height: 22px; }
.player__pause { display: none; }
.is-playing .player__play { display: none; }
.is-playing .player__pause { display: block; }
.player__meta { display: flex; flex-direction: column; min-width: 0; }
.player__meta strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__meta small { color: var(--muted); font-size: .84rem; }
.player__wave { position: relative; height: 44px; border-radius: 6px; overflow: hidden; background: rgba(243,239,232,.04); cursor: pointer; }
.player__wave img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: .5; }
.player__progress { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--accent-glow); border-right: 2px solid var(--accent); transition: width .1s linear; }
.player__time { font-family: var(--mono); color: var(--muted); font-size: .8rem; min-width: 44px; text-align: right; }
@media (max-width: 640px) { .player { grid-template-columns: 48px 1fr auto; } .player__wave { grid-column: 1 / -1; } }
/* prima / dopo */
.player--ab { grid-template-columns: 52px 1fr auto auto; }
.ab { display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.ab button { padding: 9px 14px; font-family: var(--sans); font-weight: 600; font-size: .88rem; color: var(--text-2); transition: background .2s, color .2s; }
.ab button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 640px) { .player--ab { grid-template-columns: 48px 1fr; } .player--ab .ab, .player--ab .player__time { grid-column: 1 / -1; } .player--ab .player__time { text-align: left; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s; }
.faq__item[open] { border-color: var(--line-2); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--sans); font-weight: 600; font-size: 1.05rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ico { width: 20px; height: 20px; color: var(--muted); transition: transform .3s var(--ease); flex: none; }
.faq__item[open] summary .ico { transform: rotate(180deg); color: var(--accent); }
.faq__item p { margin: 0; padding: 0 22px 22px; color: var(--text-2); }

/* ---------- Form ---------- */
.form-wrap { max-width: 860px; margin-inline: auto; }
.form { padding: clamp(24px, 4vw, 44px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--sans); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field > span, .field > legend { font-size: .9rem; font-weight: 500; color: var(--text-2); padding: 0; }
.field em { color: var(--accent); font-style: normal; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(243,239,232,.04); border: 1px solid var(--line-2); border-radius: 8px; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-3); color: var(--text); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label, .check { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; color: var(--text-2); font-size: .95rem; transition: border-color .2s, color .2s; }
.checks label:has(:checked) { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.check { border: 0; padding: 0; align-items: flex-start; }
.check a { color: var(--text); border-bottom: 1px solid var(--line-2); }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); margin: 2px 0 0; flex: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: .95rem; border: 1px solid var(--line-2); background: var(--card-hi); font-family: var(--sans); }
.notice--error { border-color: var(--err); background: rgba(224,122,106,.1); color: #f0b8ae; }

/* ---------- Contatti ---------- */
.kv { display: grid; gap: 18px; font-family: var(--sans); }
.kv > div { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.kv .ico { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }
.kv b { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.kv a, .kv span { font-size: 1.05rem; color: var(--text); }
.kv a:hover { color: var(--accent); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); aspect-ratio: 16 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) invert(.92) hue-rotate(180deg) contrast(.9) brightness(.9); }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- CTA e footer ---------- */
.cta-band { text-align: center; }
.cta-band .h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 16px; }
.cta-band .lead { max-width: 560px; margin-inline: auto; margin-bottom: 34px; }
.cta-band .actions { justify-content: center; }
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(56px, 7vw, 88px) 0 32px; font-family: var(--sans); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand p { color: var(--muted); font-size: .95rem; margin: 20px 0; line-height: 1.55; font-family: var(--sans); }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col h2 { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.site-footer__col a, .site-footer__col span { display: inline-flex; align-items: center; gap: 9px; color: var(--text-2); font-size: .97rem; transition: color .2s; }
.site-footer__col a:hover { color: var(--text); }
.site-footer__col .ico { width: 17px; height: 17px; color: var(--muted); flex: none; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--text-2); transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--line-2); color: var(--text); }
.social .ico { width: 19px; height: 19px; }
.site-footer__legal { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .86rem; color: var(--muted); }

/* ---------- Consenso cookie ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin-inline: auto;
  padding: 18px 20px; background: rgba(24,21,15,.97); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
  font-family: var(--sans); font-size: .93rem; color: var(--text-2); display: none; }
.consent.is-on { display: block; }
.consent p { margin: 0 0 14px; }
.consent a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.consent .actions { gap: 10px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Utility ---------- */
.ico { width: 20px; height: 20px; flex: none; }
.center { text-align: center; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =================================================================
   v3 — impatto e movimento
   Palco con waveform viva, titoli parola per parola, nastro,
   schede impilate, numeri, citazione che si accende, timecode.
   ================================================================= */

/* ---------- grana su tutto il sito ---------- */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- header: timecode e testina di lettura ---------- */
.site-header__bar { position: relative; overflow: visible; }
.site-header__bar::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #ffcf7a); transform-origin: left; transform: scaleX(var(--p, 0));
  box-shadow: 0 0 12px var(--accent-glow);
}
.tc { display: inline-flex; align-items: center; gap: 8px; margin-left: 18px; margin-right: auto;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.tc i { width: 7px; height: 7px; border-radius: 50%; background: #e0574a; box-shadow: 0 0 10px rgba(224,87,74,.7); animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: .25; } }
@media (max-width: 1180px) { .tc { display: none; } }

/* ---------- titoli: ingresso parola per parola ---------- */
.js .wsplit .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js .wsplit .sw > span { display: inline-block; transform: translateY(108%); transition: transform 1s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--d, 0) * 55ms); }
.js .wsplit.is-visible .sw > span { transform: none; }

/* ---------- palco (hero home) ---------- */
.stage { position: relative; min-height: min(100svh, 1040px); display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 72px); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 55% at 72% 52%, rgba(233,162,59,.10), transparent 70%),
    radial-gradient(50% 40% at 10% 100%, rgba(163,176,136,.06), transparent 70%),
    var(--bg); }
.stage__wave { position: absolute; left: 0; right: 0; top: 18%; height: 52%; width: 100%; z-index: -1; pointer-events: none; }
.stage__inner { position: relative; }
.stage__meta { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 34px);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.stage__meta span { display: inline-flex; align-items: center; gap: 12px; }
.stage__meta span:first-child::before { content: ''; width: 26px; height: 1px; background: var(--moss); }
.mega { font-size: clamp(4.4rem, 15vw, 13.5rem); font-weight: 800; line-height: .84; letter-spacing: -.06em; font-stretch: 110%;
  margin: 0 0 clamp(26px, 4vw, 48px); text-wrap: initial; }
.mega .dot { color: var(--accent); }
.stage__row { display: grid; grid-template-columns: minmax(0, 560px) auto; justify-content: space-between; align-items: end; gap: 28px 48px; }
.stage__row .lead { margin: 0; }
@media (max-width: 900px) { .stage__row { grid-template-columns: 1fr; } }
.stage__doors { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(44px, 7vw, 84px); border-top: 1px solid var(--line-2); }
.stage__doors a { position: relative; display: grid; gap: 6px; padding: 24px 28px 34px 0; transition: background .3s; overflow: hidden; }
.stage__doors a + a { padding-left: 28px; border-left: 1px solid var(--line); }
.stage__doors a::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.stage__doors a:hover::before { transform: scaleX(1); }
.stage__doors a::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(233,162,59,.10), transparent 70%); }
.stage__doors a:hover::after { opacity: 1; }
.stage__doors .doors__k { margin: 0; }
.stage__doors .doors__t { font-size: clamp(1.3rem, 2vw, 1.65rem); }
.stage__doors .doors__d { color: var(--text-2); }
.stage__doors .ico { position: absolute; top: 24px; right: 22px; color: var(--accent); width: 22px; height: 22px; transition: transform .35s var(--ease); }
.stage__doors a:hover .ico { transform: translate(4px, -4px) rotate(-45deg); }
@media (max-width: 800px) {
  .stage__doors { grid-template-columns: 1fr; }
  .stage__doors a, .stage__doors a + a { padding: 20px 40px 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .stage__doors a:first-child { border-top: 0; }
  .stage__wave { top: 11%; height: 24%; }
}

/* ---------- nastro scorrevole ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(18px, 2.6vw, 30px); background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; transform-origin: center; }
.marquee__track > span { display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 44px); padding-right: clamp(22px, 3vw, 44px);
  font-size: clamp(2.4rem, 6.5vw, 5.6rem); font-weight: 800; letter-spacing: -.045em; font-stretch: 112%; line-height: 1; white-space: nowrap;
  transform: skewX(var(--skew, 0deg)); transition: transform .1s linear; }
.marquee__track > span.o { color: transparent; -webkit-text-stroke: 1.5px rgba(243,239,232,.55); }
.marquee__track > span::after { content: ''; width: clamp(14px, 1.6vw, 22px); height: clamp(14px, 1.6vw, 22px); border-radius: 50%; background: var(--accent); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- schede impilate ---------- */
.stack { display: grid; gap: clamp(28px, 5vh, 56px); }
.stack__card { position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; min-height: min(62vh, 540px); overflow: hidden;
  background: linear-gradient(160deg, #1c1912 0%, #120f0b 100%); border: 1px solid var(--line-2); border-radius: 22px;
  transition: border-color .4s, transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s; }
.stack__card:hover { border-color: rgba(233,162,59,.35); transform: translateY(-4px); box-shadow: 0 30px 70px -40px rgba(233,162,59,.35); }
.stack__card:nth-child(even) { grid-template-columns: .95fr 1.05fr; }
.stack__card:nth-child(even) .stack__media { order: -1; border-left: 0; border-right: 1px solid var(--line); }
.stack__card:nth-child(even) .stack__media::after { background: linear-gradient(270deg, rgba(18,15,11,.55), transparent 40%); }
.stack__card::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 30%), rgba(233,162,59,.09), transparent 70%); }
.stack__body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 56px); }
.stack__n { font-size: clamp(4rem, 9vw, 8rem); font-weight: 800; line-height: .8; letter-spacing: -.06em; font-stretch: 112%;
  color: transparent; -webkit-text-stroke: 1.5px rgba(233,162,59,.7); }
.stack__k { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--moss); margin: 0 0 12px; }
.stack__t { font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 800; letter-spacing: -.045em; line-height: .95; font-stretch: 108%; margin-bottom: 18px; }
.stack__d { color: var(--text-2); max-width: 46ch; margin: 0 0 26px; font-size: 1.05rem; }
.stack__media { position: relative; margin: 0; overflow: hidden; border-left: 1px solid var(--line); background: var(--bg); }
.stack__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.stack__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,15,11,.55), transparent 40%); }
.stack__media figcaption { position: absolute; z-index: 2; left: 18px; bottom: 14px; font-family: var(--mono); font-size: .66rem; color: var(--text-2); letter-spacing: .04em; }
@media (max-width: 860px) {
  .stack__card, .stack__card:nth-child(even) { grid-template-columns: 1fr; min-height: 0; }
  .stack__card:nth-child(even) .stack__media { border-right: 0; }
  .stack__media { order: -1; height: 200px; border-left: 0; border-bottom: 1px solid var(--line); }
  .stack__n { font-size: 3.6rem; }
}

/* ---------- immagini: apertura a sipario + parallax ---------- */
.js .clip { clip-path: inset(14% 0 14% 0 round var(--radius)); transition: clip-path 1.3s cubic-bezier(.16,1,.3,1); }
.js .clip.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
[data-parallax] { will-change: transform; transform: scale(1.14); }

/* ---------- numeri ---------- */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line-2); }
.numbers > div { padding: 28px 24px 0 0; }
.numbers > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.numbers b { display: block; font-size: clamp(4rem, 10vw, 8.5rem); font-weight: 800; line-height: .85; letter-spacing: -.06em; font-stretch: 112%;
  color: var(--text); font-variant-numeric: tabular-nums; }
.numbers b::first-letter { color: var(--text); }
.numbers span { display: block; margin-top: 14px; font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); max-width: 22ch; }
@media (max-width: 700px) { .numbers { grid-template-columns: 1fr; } .numbers > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; } }

/* ---------- citazione che si accende ---------- */
.is-fill .wf { color: rgba(243,239,232,.18); transition: color .35s; }
.is-fill .wf.on { color: var(--text); }
.quote-big--xl p { font-size: clamp(1.6rem, 3.4vw, 2.9rem); font-style: normal; font-weight: 600; letter-spacing: -.025em; line-height: 1.18; }

/* ---------- passi: la linea si disegna ---------- */
.step-list { position: relative; }
.step-list::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 1.8s cubic-bezier(.65,0,.35,1) .2s; }
.step-list.is-visible::before { transform: scaleX(1); }
.js .step-list > div { opacity: .25; transition: opacity .6s; }
.js .step-list.is-visible > div { opacity: 1; }
.js .step-list.is-visible > div:nth-child(2) { transition-delay: .55s; }
.js .step-list.is-visible > div:nth-child(3) { transition-delay: 1s; }
.js .step-list.is-visible > div:nth-child(4) { transition-delay: 1.45s; }

/* ---------- linea del tempo del sound logo (landing) ---------- */
.timeline { margin-top: clamp(48px, 7vw, 80px); padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--line-2); border-radius: 18px;
  background: linear-gradient(160deg, #1a1711, #110e0a); font-family: var(--mono); }
.timeline__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); }
.timeline__head b { color: var(--accent); font-weight: 500; }
.timeline__track { position: relative; height: 96px; border-radius: 10px; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(243,239,232,.10) 0 1px, transparent 1px 10%),
    rgba(243,239,232,.03); }
.timeline__wave { position: absolute; inset: 14px 0; width: 100%; height: calc(100% - 28px); }
.timeline__wave path { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.timeline.is-visible .timeline__wave path { animation: draw 3s linear forwards .3s; }
.timeline__head__ph { }
.timeline__ph { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #fff; box-shadow: 0 0 14px rgba(255,255,255,.6); opacity: 0; }
.timeline.is-visible .timeline__ph { animation: playhead 3s linear forwards .3s; }
.timeline__marks { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; font-size: .74rem; color: var(--text-2); }
.timeline__marks span:nth-child(2) { text-align: center; } .timeline__marks span:nth-child(3) { text-align: right; }
.timeline__marks b { display: block; color: var(--text); font-weight: 500; margin-bottom: 4px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes playhead { 0% { left: 0; opacity: 1; } 99% { opacity: 1; } 100% { left: calc(100% - 2px); opacity: .0; } }

/* ---------- CTA finale e parola gigante nel footer ---------- */
.cta-band .h2.cta-xl { font-size: clamp(3rem, 9vw, 7.6rem); font-weight: 800; letter-spacing: -.055em; line-height: .9; font-stretch: 110%; }
.footer-mega { margin: clamp(40px, 6vw, 72px) 0 0; font-size: clamp(3.6rem, 15.5vw, 15rem); font-weight: 800; letter-spacing: -.06em; line-height: .8;
  font-stretch: 112%; color: transparent; -webkit-text-stroke: 1px rgba(243,239,232,.16); white-space: nowrap; user-select: none; overflow: hidden; }

/* ---------- movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .tc i { animation: none; }
  .js .clip { clip-path: none; transition: none; }
  .stack__card:hover { transform: none; }
  .step-list::before { transform: scaleX(1); transition: none; }
  .js .step-list > div { opacity: 1; }
  .timeline__wave path { stroke-dashoffset: 0; }
  .timeline.is-visible .timeline__wave path, .timeline.is-visible .timeline__ph { animation: none; }
}

/* =================================================================
   v3.1 — lo stesso movimento su tutte le pagine
   ================================================================= */

/* hero delle pagine interne: etichetta, testo e bottoni salgono in sequenza dopo il titolo */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.js .hero__content > .hero__brandline { animation: rise .8s cubic-bezier(.16,1,.3,1) both; }
.js .hero__content > .lead { animation: rise 1s cubic-bezier(.16,1,.3,1) .35s both; }
.js .hero__content > .actions,
.js .hero__content > .facts,
.js .hero__content > .hero__alt { animation: rise 1s cubic-bezier(.16,1,.3,1) .55s both; }
.js .stage__row, .js .stage__meta { animation: rise 1s cubic-bezier(.16,1,.3,1) .45s both; }
.js .stage__doors { animation: rise 1.1s cubic-bezier(.16,1,.3,1) .7s both; }

/* landing: la waveform del hero respira */
@keyframes breathe { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.035); filter: brightness(1.18); } }
.hero--visual .hero__media img { animation: breathe 7s ease-in-out infinite; transform-origin: 50% 60%; }

/* righe: una linea ambra le attraversa al passaggio, il titolo si sposta */
.row { position: relative; }
.row::before { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.row:hover::before { transform: scaleX(1); }
.row__t { transition: transform .5s cubic-bezier(.16,1,.3,1), color .3s; }
.row:hover .row__t { transform: translateX(8px); }
.row:hover .row__n { color: var(--accent); }

/* colonne e liste: ingresso a cascata */
.fx .cols.reveal > *, .fx .list-check > li, .fx .kv > div { opacity: 0; transform: translateY(16px); transition: opacity .7s, transform .9s cubic-bezier(.16,1,.3,1); }
.fx .cols.reveal.is-visible > *, .fx .is-visible .list-check > li, .fx .list-check.is-visible > li, .fx .kv.is-visible > div { opacity: 1; transform: none; }
.fx .cols.reveal > *:nth-child(2), .fx .list-check > li:nth-child(2), .fx .kv > div:nth-child(2) { transition-delay: .12s; }
.fx .cols.reveal > *:nth-child(3), .fx .list-check > li:nth-child(3), .fx .kv > div:nth-child(3) { transition-delay: .24s; }
.fx .list-check > li:nth-child(4), .fx .kv > div:nth-child(4) { transition-delay: .36s; }
.fx .list-check > li:nth-child(5), .fx .kv > div:nth-child(5) { transition-delay: .48s; }
.fx .list-check > li:nth-child(6) { transition-delay: .6s; }
.cols > * .ico { transition: transform .5s cubic-bezier(.16,1,.3,1); }
.cols > *:hover .ico { transform: translateY(-4px) scale(1.1); }

/* FAQ che si aprono e chiudono morbide (browser recenti) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height .45s cubic-bezier(.16,1,.3,1), content-visibility .45s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}
.faq__item { transition: border-color .3s, background .3s; }
.faq__item:hover { border-color: var(--line-2); background: var(--card-hi); }

/* galleria, mosaico, ritratti, visual: zoom lento al passaggio */
.gallery figure { overflow: hidden; border-radius: var(--radius); }
.gallery img, .hero__visual img, .portrait img { transition: transform 1.2s cubic-bezier(.16,1,.3,1), filter .6s; }

/* CTA finali: stessa scala ovunque */
.cta-band .h2 { font-size: clamp(3rem, 9vw, 7.6rem); font-weight: 800; letter-spacing: -.055em; line-height: .9; font-stretch: 110%; }

@media (prefers-reduced-motion: reduce) {
  .js .hero__content > *, .js .stage__row, .js .stage__meta, .js .stage__doors { animation: none; }
  .hero--visual .hero__media img { animation: none; }
  .fx .cols.reveal > *, .fx .list-check > li, .fx .kv > div { opacity: 1; transform: none; transition: none; }
  .row:hover .row__t { transform: none; }
}

/* =================================================================
   Animazione "come funziona un sound logo"
   ================================================================= */
.slanim { margin: clamp(44px, 6vw, 72px) auto 0; max-width: 1120px; text-align: left; }
.slanim__screen { position: relative; aspect-ratio: 16 / 7.2; overflow: hidden; border: 1px solid var(--line-2); border-radius: 20px;
  background: radial-gradient(70% 80% at 50% 45%, rgba(233,162,59,.07), transparent 70%), linear-gradient(160deg, #17140f, #0d0b08); }
.slanim__screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.slanim__cap { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: start; margin-top: 20px; }
.slanim__steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.slanim__step { position: relative; text-align: left; padding: 12px 0 0; border-top: 2px solid var(--line-2); cursor: pointer;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; color: var(--muted); transition: color .3s; }
.slanim__step::before { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--accent);
  transform: scaleX(var(--fill, 0)); transform-origin: left; box-shadow: 0 0 10px var(--accent-glow); }
.slanim__step b { display: block; margin-top: 5px; font-family: var(--sans); font-size: .98rem; font-weight: 600; letter-spacing: -.01em; color: var(--text-2); transition: color .3s; }
.slanim__step[aria-current="true"], .slanim__step[aria-current="true"] b, .slanim__step:hover b { color: var(--text); }
.slanim__step[aria-current="true"] { color: var(--accent); }
.slanim__text { margin: 0; max-width: 62ch; min-height: 3.3em; color: var(--text-2); font-size: 1.05rem; }
.slanim__pause { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 8px; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); transition: border-color .2s, color .2s; }
.slanim__pause:hover { border-color: var(--accent); color: var(--text); }
@media (max-width: 760px) {
  .slanim__screen { aspect-ratio: 4 / 5; }
  .slanim__steps { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .slanim__step b { font-size: .9rem; }
}
/* versione compatta, dentro la scheda della home */
.slanim--compact { position: absolute; inset: 0; margin: 0; max-width: none; }
.slanim--compact .slanim__screen { position: absolute; inset: 0; aspect-ratio: auto; border: 0; border-radius: 0; background: radial-gradient(70% 70% at 50% 45%, rgba(233,162,59,.08), transparent 70%), #0f0d0a; }
.slanim--compact .slanim__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; margin: 0; grid-template-columns: 1fr; gap: 8px; }
.slanim--compact .slanim__label { font-family: var(--mono); font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.slanim--compact .slanim__steps { gap: 6px; }
.slanim--compact .slanim__step { padding-top: 0; font-size: 0; border-top-width: 2px; cursor: default; }
.slanim--compact .slanim__step b { display: none; }
.stack__media--anim::after { display: none; }
@media (max-width: 860px) { .stack__media--anim { height: 320px !important; } }

/* ---------- mobile: bersagli comodi per il pollice (min. 44 px) ---------- */
@media (max-width: 760px), (hover: none) {
  .link { min-height: 44px; }
  .brand { display: flex; align-items: center; min-height: 44px; }
  .slanim__pause { min-height: 44px; padding-inline: 16px; }
  .check { padding-block: 10px; }
  input[type="checkbox"] { width: 22px; height: 22px; }
}

/* ---------- correzioni mobile ---------- */
/* righe a due colonne (titolo + testo), che su mobile vanno in colonna */
.row--2 { grid-template-columns: 1fr 1.6fr; }
.row--2 .row__t { font-size: 1.35rem; }
@media (max-width: 800px) {
  .row--2 { grid-template-columns: 1fr !important; gap: 8px; padding-block: 22px; }
  .row--2 .row__d { grid-column: 1; padding-top: 0; }
}
/* hero home su mobile: titolo intero sopra la waveform, niente sovrapposizioni */
@media (max-width: 700px) {
  .stage { min-height: 0; padding-top: calc(var(--header-h) + 40px); }
  .stage__meta { flex-direction: column; gap: 6px; margin-bottom: 18px; }
  .mega { font-size: clamp(3.4rem, 17vw, 5rem); margin-bottom: 22px; }
  .stage__wave { top: 150px; bottom: auto; height: 170px; opacity: .6; }
  .stage__row .actions { flex-direction: column; align-items: stretch; }
  .stage__row .actions .btn { justify-content: center; }
  .stage__doors { margin-top: 36px; }
  .marquee__track > span { font-size: 2.1rem; }
}
/* scheda 01 con animazione: più alta su mobile, didascalia leggibile */
@media (max-width: 860px) {
  .stack__media--anim { height: 360px !important; }
  .slanim--compact .slanim__label { font-size: .7rem; }
}
/* box privacy dei moduli: la casella sta sulla stessa riga del testo */
.check { flex-direction: row !important; align-items: flex-start; gap: 12px; }
.check > input { margin-top: 2px; }
