/* =====================================================================
   HAIRSYNC · variante "Sync"
   Idea: il nome è fatto di due segnali, rosso e ciano. Sovrapposti fanno il
   bianco ("in sync"); quando ti muovi o scorri si separano e restano le
   frange. Il sito vive tra questi due stati, guidato da una sola variabile
   (D.ds in fx.js). Verbo del movimento: AGGANCIARE (scatta in sync).
   Home di notte (fondo nero, fili), pagine dei moduli di giorno (carta).
   Regola colore: rosso e ciano sono fondi, frange e linee; il testo lungo è
   sempre nero su carta o bianco su nero.
   ===================================================================== */

/* ---------- 1 · variabili ---------- */
:root {
  --ground: #f2eee6;
  --paper: #ffffff;
  --sunk: #e8e3d9;
  --ink: #0b0a0f;
  --muted: #5d5963;
  --line: #d8d2c6;
  --red: #ff3d2e;
  --cyan: #12ffff;
  --cyan-ink: #00a6b8;
  --tinta: var(--red);
  --on-tinta: #0b0a0f;
  --danger: #b3261e;
  --ok: #12573a;

  --r: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --snap: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --display: "Tanker", Impact, "Arial Narrow", sans-serif;
  --sans: "Supreme", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: -4px 0 0 var(--red), 4px 0 0 var(--cyan);   /* pannelli: leggermente fuori registro */
}
body.home { --ground: #0b0a0f; --paper: #16151c; --sunk: #16151c; --ink: #f2eee6; --muted: #a8a4af; --line: #2c2a33; --on-tinta: #0b0a0f; }

/* ---------- 2 · base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: .92; letter-spacing: .005em; text-transform: uppercase; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
a { color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
body.home :focus-visible, header.site :focus-visible, footer.site :focus-visible { outline-color: var(--cyan); }
::selection { background: var(--red); color: #0b0a0f; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 120; background: var(--cyan); color: #0b0a0f; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- 3 · fondamenta del movimento ---------- */
html.motion:not(.is-ready) [data-in] { opacity: 0; }
html.is-loading { overflow: hidden; }
#loader { position: fixed; inset: 0; z-index: 60; background: #0b0a0f; color: #f2eee6; display: none; }
html.is-loading #loader { display: block; }
#loader-label { position: absolute; left: var(--gut); top: calc(var(--gut) + 8px); margin: 0; font: 500 .95rem/1 var(--sans); letter-spacing: .02em; color: #a8a4af; }
#loader-num { position: absolute; right: var(--gut); top: calc(var(--gut) + 8px); margin: 0; font: 400 clamp(1.8rem, 4vw, 3rem)/1 var(--display); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
#loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--cyan)); transform: scaleX(0); transform-origin: left; }
html.is-loading .hero .wm { position: relative; z-index: 70; }   /* il nome sta SOPRA il caricamento: è lui che si aggancia */

#curtain { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; overflow: hidden; }
#curtain i { position: absolute; inset: 0; }
#curtain .c1 { background: var(--red); }
#curtain .c2 { background: var(--cyan); }
html.pt-cover #curtain { visibility: visible; }

#cursor { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0; transition: opacity .3s; display: none; }
html.has-cursor #cursor { display: block; }
#cursor.on { opacity: 1; }
#cursor .cr, #cursor .cc { position: absolute; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid; mix-blend-mode: screen; transition: scale .35s var(--snap); }
#cursor .cr { border-color: var(--red); }
#cursor .cc { border-color: var(--cyan); }
#cursor .cl { position: absolute; left: 0; top: 0; margin: 22px 0 0 22px; padding: 5px 11px; border-radius: 999px; background: var(--cyan); color: #0b0a0f; font: 600 .8rem/1 var(--sans); white-space: nowrap; opacity: 0; transition: opacity .2s; }
#cursor.label .cl { opacity: 1; }
#cursor.hot .cr, #cursor.hot .cc { scale: 1.9; }
body:not(.home) #cursor .cr, body:not(.home) #cursor .cc { mix-blend-mode: multiply; }
body:not(.home) #cursor .cc { border-color: var(--cyan-ink); }

/* titoli: la frangia appare solo mentre ti muovi (--ds la guida) */
[data-sync].fringe { text-shadow: calc(var(--ds, 0) * -6px) 0 0 rgba(255, 61, 46, .92), calc(var(--ds, 0) * 6px) 0 0 rgba(18, 255, 255, .92); }

/* ---------- 4 · pulsanti e link (verbo: agganciare) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 54px; padding: 0 1.8rem; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--ground); font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: box-shadow .4s var(--snap), transform .2s var(--ease);
}
.btn:hover, .btn:focus-visible { box-shadow: -5px 0 0 var(--red), 5px 0 0 var(--cyan); }
.btn:active { box-shadow: 0 0 0 var(--red), 0 0 0 var(--cyan); transform: scale(.97); }   /* premendo, si aggancia */
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-sm { min-height: 44px; padding: 0 1.3rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-accent { background: var(--red); color: #0b0a0f; border-color: #0b0a0f; }
body.home .btn-accent { border-color: var(--red); }

.link, .linklike {
  font: inherit; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; border: 0; padding: 0 .1em;
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 100% 3px; transition: background-size .3s var(--ease), color .3s, box-shadow .35s var(--snap);
}
button.linklike { background-color: transparent; }
.link:hover, .linklike:hover, .link:focus-visible, .linklike:focus-visible { background-size: 100% 100%; color: #0b0a0f; }

/* ---------- 5 · header ---------- */
header.site { position: sticky; top: 0; z-index: 40; min-height: 72px; background: #0b0a0f; color: #f2eee6; }
body.home header.site { position: fixed; left: 0; right: 0; background: transparent; transition: background .4s; }
body.home.scrolled header.site { background: rgba(11, 10, 15, .88); backdrop-filter: blur(10px); }
.nav { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.logo { margin-right: auto; font: 400 2.1rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: #f2eee6; text-decoration: none; transition: text-shadow .35s var(--snap); }
.logo b { font-weight: 400; color: var(--cyan); }
.logo:hover { text-shadow: -3px 0 0 var(--red), 3px 0 0 var(--cyan); }
.menu { display: flex; align-items: center; gap: 2px; }
.nav-link { font: 500 1rem/1 var(--sans); color: #f2eee6; text-decoration: none; cursor: pointer; border: 0; background: none; padding: 11px 15px; border-radius: 999px; transition: text-shadow .35s var(--snap); }
.nav-link:hover, .nav-link:focus-visible { text-shadow: -2px 0 0 var(--red), 2px 0 0 var(--cyan); }
.nav-link[aria-current="page"] { background: #f2eee6; color: #0b0a0f; text-shadow: none; }
header.site .btn { background: #f2eee6; color: #0b0a0f; border-color: #f2eee6; }
.burger { display: none; width: 46px; height: 46px; border: 2px solid #f2eee6; border-radius: 50%; background: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; background: #f2eee6; transition: transform .3s var(--ease); }
body.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
html.is-ready header.site .nav > * { animation: hdrIn .9s var(--ease) both; }
html.is-ready header.site .nav > *:nth-child(2) { animation-delay: .06s; }
html.is-ready header.site .nav > *:nth-child(3) { animation-delay: .12s; }
@keyframes hdrIn { from { opacity: 0; transform: translateY(-14px); } }
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px var(--gut) 26px; background: #0b0a0f; border-bottom: 3px solid var(--red); }
  body.menu-open .menu { display: flex; }
  .nav-link { text-align: left; font-size: 1.2rem; padding: 15px 16px; }
}

/* ---------- 6 · il nome a due strati ---------- */
.wm { position: relative; --dx: 0px; user-select: none; line-height: .8; --wm-fallback: calc((min(100vw, var(--wrap)) - 2 * var(--gut)) * .2959); }   /* dimensione provvisoria = quella finale, così il nome non salta */
.wm-r, .wm-c { margin: 0; font: 400 var(--wm-size, var(--wm-fallback))/.8 var(--display); text-transform: uppercase; letter-spacing: 0; white-space: nowrap; width: max-content; }
.wm-r { position: relative; color: var(--red); translate: calc(var(--dx) * -1) 0; }
.wm-c { position: absolute; left: 0; top: 0; color: var(--cyan); translate: var(--dx) 0; mix-blend-mode: screen; pointer-events: none; }
.wm-r span, .wm-c span { display: inline-block; }
@media (max-width: 699px) { .wm { --wm-fallback: calc((100vw - 2 * var(--gut)) * .5618); } .wm-r span, .wm-c span { display: block; } }

/* ---------- 7 · apertura ---------- */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; background: #0b0a0f; }
.strands { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
html:not(.gl-on) .hero {
  background:
    repeating-linear-gradient(172deg, rgba(255, 61, 46, .34) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(172deg, rgba(18, 255, 255, .28) 0 2px, transparent 2px 22px) 7px 0,
    #0b0a0f;
}
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11, 10, 15, .62) 0%, rgba(11, 10, 15, .12) 38%, rgba(11, 10, 15, .5) 100%); }
.hero-grid { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 28px; width: 100%; padding-block: 104px 30px; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.hero-status { margin: 0; display: inline-flex; align-items: center; gap: .55em; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(242, 238, 230, .35); font-size: .95rem; background: rgba(11, 10, 15, .5); }
.open { display: inline-block; width: .65em; height: .65em; border-radius: 50%; background: #3ddc84; flex: none; }
.open.closed { background: var(--red); }
.hero-next { display: inline-flex; align-items: center; gap: .6em; min-height: 40px; white-space: nowrap; max-width: 100%; padding: 9px 16px; border-radius: 999px; background: var(--cyan); color: #0b0a0f; text-decoration: none; font-weight: 500; font-size: .95rem; transition: box-shadow .4s var(--snap); }
.hero-next b { font-weight: 700; }
.hero-next:hover, .hero-next:focus-visible { box-shadow: -4px 0 0 var(--red), 4px 0 0 #fff; }
@media (max-width: 699px) { .hero-top { display: grid; justify-items: start; gap: 10px; } }   /* stato e posto libero su due righe fisse: il testo che arriva dopo non sposta niente */
.hero-mid { align-self: center; max-width: 34em; }
.hero .lead { font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.35; margin-bottom: 26px; max-width: 28ch; }
.ctas { display: flex; gap: 14px 24px; align-items: center; flex-wrap: wrap; }
.hero .link { color: #f2eee6; }
.hero .link:hover { color: #0b0a0f; }
.hero .wm { margin-top: 6px; margin-bottom: -.04em; }

/* striscia di parole */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 16px; white-space: nowrap; }
.mq-track { display: inline-flex; align-items: center; will-change: translate; }
.mq-track span { font: 400 clamp(2.6rem, 7.4vw, 6rem)/1 var(--display); text-transform: uppercase; padding-inline: .35em; }
.mq-track i { display: inline-block; width: .34em; height: .34em; border-radius: 50%; background: var(--red); flex: none; }
.mq-track i:nth-of-type(even) { background: var(--cyan); }

/* frase d'apertura: le parole si accendono scorrendo */
.manifesto { padding-block: clamp(96px, 15vw, 220px); }
.manifesto p { font: 400 clamp(2rem, 5.6vw, 4.8rem)/1.04 var(--display); text-transform: uppercase; max-width: 21em; margin: 0; }

/* ---------- 8 · sezioni ---------- */
.sec { padding-block: clamp(72px, 10vw, 150px); }
.sec h2 { font-size: clamp(3.2rem, 9.4vw, 8.4rem); line-height: .88; }
.sec-head { margin-bottom: clamp(28px, 4.5vw, 64px); display: grid; gap: 18px; }
.sec-head p { color: var(--muted); max-width: 46ch; margin: 0; }

/* listino come indice */
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(110px, .7fr) minmax(0, 3.2fr) auto auto; gap: 6px 28px; align-items: baseline; padding: clamp(14px, 2vw, 26px) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.row-name { font: 400 clamp(2.3rem, 6.2vw, 5.2rem)/.92 var(--display); text-transform: uppercase; transition: text-shadow .4s var(--snap); }
.row:hover .row-name, .row:focus-visible .row-name { text-shadow: -4px 0 0 var(--red), 4px 0 0 var(--cyan); }
.row-cat, .row-meta { color: var(--muted); font-size: .95rem; }
.row-price { font: 400 clamp(1.7rem, 3.2vw, 2.6rem)/1 var(--display); white-space: nowrap; }
.row-price small { font: 500 .8rem var(--sans); margin-right: .35em; opacity: .7; }
.row-thumb { display: none; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
@media (hover: none) { .row { grid-template-columns: 56px minmax(0, 1fr) auto; } .row-thumb { display: block; grid-column: 1; grid-row: 1 / span 2; align-self: center; } .row-cat { display: none; } .row-name { grid-column: 2; } .row-meta { grid-column: 2; } .row-price { grid-column: 3; grid-row: 1 / span 2; align-self: center; } }
@media (max-width: 760px) { .row { grid-template-columns: minmax(0, 1fr) auto; } .row-cat { display: none; } .row-name { grid-column: 1; } .row-meta { grid-column: 1; } .row-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; } }
.preview { position: fixed; left: 0; top: 0; width: min(21vw, 300px); aspect-ratio: 4 / 5; pointer-events: none; translate: -50% -50%; opacity: 0; visibility: hidden; z-index: 50; border-radius: var(--r); overflow: hidden; box-shadow: -7px 0 0 var(--red), 7px 0 0 var(--cyan); background: #16151c; }
.preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .preview { display: none; } }

/* posti liberi */
.slots-band { background: var(--red); color: #0b0a0f; }
.slots-band h2 { margin-bottom: 14px; }
.slots-band .sub { margin: 0 0 clamp(26px, 4vw, 50px); font-size: 1.1rem; }
.slot-chips { display: flex; flex-wrap: wrap; gap: 14px; min-height: 96px; }
.slot-chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 150px; padding: 16px 24px 14px; border: 2px solid #0b0a0f; border-radius: 22px; color: #0b0a0f; text-decoration: none; font: 500 1rem/1 var(--sans); transition: box-shadow .4s var(--snap), background-color .2s; }
.slot-chip b { font: 400 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.slot-chip:hover, .slot-chip:focus-visible { background: var(--cyan); box-shadow: -6px 0 0 #fff, 6px 0 0 #0b0a0f; }
.slots-band .link { color: #0b0a0f; background-image: linear-gradient(#0b0a0f, #0b0a0f); }
.slots-band .link:hover { color: var(--red); }
.slots-band .btn { background: #0b0a0f; color: #f2eee6; border-color: #0b0a0f; }
.slots-band .btn-row { margin-top: clamp(26px, 4vw, 46px); }
.none { margin: 0; }

/* team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 30px); }
.member .mono { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: #16151c; display: grid; place-items: center; font: 400 4rem var(--display); }
.member .mono img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .6s var(--ease), scale .8s var(--ease); }
.member:hover .mono img, .member:focus-within .mono img { filter: none; scale: 1.04; }
@media (hover: none) { .member .mono img { filter: none; } }
.member h3 { font-size: clamp(2.2rem, 3.4vw, 3rem); margin: 18px 0 4px; }
.member .role { font-weight: 600; margin: 0 0 8px; }
.member .bio { color: var(--muted); font-size: .96rem; margin-bottom: 12px; }
.member .tags { font-size: .88rem; color: var(--muted); }
@media (max-width: 980px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }

/* salone */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); align-items: stretch; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery .shot { flex: 1; min-height: 220px; position: relative; overflow: hidden; border-radius: var(--r); background: #16151c; }
.gallery .shot img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.gallery figcaption { font: 600 .95rem var(--sans); }
.g1 { grid-column: 1 / 8; grid-row: 1 / 3; }
.g2 { grid-column: 8 / 13; }
.g3 { grid-column: 8 / 13; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } .g1, .g2, .g3 { grid-column: auto; grid-row: auto; } .gallery .shot { min-height: 240px; } }

/* orari e indirizzo */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); }
.visit h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin-bottom: 22px; }
.hours { list-style: none; margin: 0; padding: 0; max-width: 480px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; margin-inline: -14px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hours li.today { background: var(--red); color: #0b0a0f; font-weight: 600; border-bottom-color: transparent; border-radius: 12px; }
.where address { font: 400 clamp(1.8rem, 3vw, 2.6rem)/1.05 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.contacts { display: grid; gap: 6px; margin-top: 22px; }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }

/* invito finale */
.cta-band { padding-block: clamp(90px, 13vw, 190px); border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(4.2rem, 17vw, 16rem); line-height: .82; margin-bottom: 34px; }

/* ---------- 9 · footer ---------- */
footer.site { background: #0b0a0f; color: #f2eee6; padding: clamp(48px, 7vw, 90px) 0 96px; min-height: 240px; }
.wm-foot { margin-bottom: clamp(26px, 4vw, 48px); }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 28px; border-top: 1px solid #2c2a33; }
.foot-h { font: 600 1rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; margin-bottom: 10px; color: var(--cyan); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a, .foot-legal a { text-decoration: none; transition: text-shadow .35s var(--snap); }
.foot-grid a:hover, .foot-legal a:hover { text-shadow: -2px 0 0 var(--red), 2px 0 0 var(--cyan); }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; padding-top: 18px; border-top: 1px solid #2c2a33; font-size: .9rem; color: #a8a4af; }
.foot-legal span a { margin-right: 16px; color: #f2eee6; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- 8 · pagine interne ---------- */
.page { padding-bottom: clamp(48px, 8vw, 110px); min-height: 80vh; }
#step-host { min-height: 380px; }
.page-head { padding-block: clamp(32px, 6vw, 80px) clamp(20px, 3vw, 40px); }
.page-head h1 { font-size: clamp(2.7rem, 7.4vw, 6rem); line-height: .95; letter-spacing: -.03em; }
.page-head .lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; margin: 18px 0 0; }
.legal-text h2 { font-size: 1.7rem; margin: 38px 0 12px; }
.legal-text p, .legal-text li { line-height: 1.65; }
.legal-text ul { padding-left: 22px; display: grid; gap: 8px; }
.legal-text a { font-weight: 600; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.chip { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--ink); background: linear-gradient(var(--tinta), var(--tinta)) no-repeat 0 100% / 100% 0; transition: background-size .3s var(--ease), color .3s; }
.chip:hover, .chip:focus-visible { background-size: 100% 100%; color: var(--on-tinta); }
.chip[aria-current="true"] { background: var(--ink); color: var(--ground); }
.pricelist .menu-group { scroll-margin-top: 100px; }
.pricelist .item { grid-template-columns: minmax(0, 1fr) auto; }
.pricelist .lead-dots { display: none; }
.pricelist .meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .92rem; color: var(--muted); }
.pricelist .meta .link { color: var(--ink); }

/* ---------- 9 · moduli ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; font-weight: 600; font-size: .96rem; }
.hint { font-weight: 400; color: var(--muted); font-size: .88rem; margin-left: 6px; }
.input { width: 100%; min-height: 54px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); color: var(--ink); font: 400 1.05rem var(--sans); }
textarea.input { padding: 14px 16px; min-height: 116px; resize: vertical; }
select.input { padding-right: 12px; }
.input:focus { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 7px var(--tinta); }
.input:disabled { background: var(--sunk); color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.notice { padding: 13px 16px; border-radius: 12px; border: 2px solid var(--ink); background: var(--paper); font-size: .96rem; margin: 0; }
.notice.err { background: #fbe3e0; color: #7e1912; border-color: #7e1912; }
.notice.ok { background: #d9f2e6; color: var(--ok); border-color: var(--ok); }
.form-foot { font-size: .95rem; }

.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: var(--wrap); width: 100%; margin: 0 auto; padding: clamp(32px, 5vw, 72px) var(--gut) clamp(56px, 8vw, 110px); }
.auth-photo { aspect-ratio: 4 / 5; max-height: 640px; box-shadow: var(--shadow); }
.auth-box { width: 100%; max-width: 460px; }
.auth-box h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); line-height: .98; letter-spacing: -.036em; margin-bottom: 14px; }
.auth-box > p, .auth-box [id^="step-"] > p { color: var(--muted); margin-bottom: 8px; }
.auth-box .form { margin-top: 24px; }
.auth-alt { margin-top: 28px; padding-top: 20px; border-top: 2px solid var(--ink); font-size: .98rem; }
@media (max-width: 820px) { .auth { grid-template-columns: 1fr; } .auth-photo { display: none; } }

/* ---------- 10 · prenotazione ---------- */
.steps { list-style: none; margin: 0 0 36px; padding: 0; display: flex; gap: 8px 12px; flex-wrap: wrap; counter-reset: s; font-weight: 600; }
.steps li { counter-increment: s; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px 0 8px; border: 2px solid var(--line); border-radius: 999px; color: var(--muted); }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: .82rem; }
.steps li.on { border-color: var(--ink); background: var(--tinta); color: var(--on-tinta); }
.steps li.done { border-color: var(--ink); color: var(--ink); }
.steps li.done::before { content: "✓"; background: var(--ink); border-color: var(--ink); color: var(--ground); }
@media (max-width: 640px) { .steps li:not(.on) span { display: none; } .steps li:not(.on) { padding: 0 8px; } }

.step { animation: stepIn .35s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } }
.step > h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 24px; }
.back { margin-top: 28px; background: none; border: 0; padding: 8px 0; cursor: pointer; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.who { max-width: 540px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); margin-bottom: 8px; }
.seg button { border: 0; background: none; min-height: 44px; border-radius: 999px; cursor: pointer; font: 600 .98rem var(--sans); color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--ground); }
.who .form { margin-top: 22px; }
.who .intro { color: var(--muted); font-size: .96rem; margin-top: 16px; }
.who-me { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); }
.who-me .mono { width: 52px; height: 52px; border-radius: 50%; background: var(--tinta); color: var(--on-tinta); border: 2px solid var(--ink); display: grid; place-items: center; font: 800 1.5rem var(--display); }

.choice-list { max-width: 780px; }
.choice-group + .choice-group { margin-top: 32px; }
.choice-group h3 { font-size: 1.4rem; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.choice {
  width: calc(100% + 28px); margin-inline: -14px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; text-align: left;
  padding: 17px 14px; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; font: inherit; color: var(--ink);
  background: linear-gradient(var(--tinta), var(--tinta)) no-repeat 0 100% / 100% 0; transition: background-size .38s var(--ease), color .3s;
}
.choice:hover, .choice:focus-visible { background-size: 100% 100%; color: var(--on-tinta); }
.choice[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.choice strong { font: 700 1.2rem/1.2 var(--display); letter-spacing: -.01em; }
.choice .muted { color: inherit; opacity: .75; }
.choice .price { font: 700 1.2rem var(--display); white-space: nowrap; }

.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; max-width: 940px; }
.staff-pick { display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px; border-radius: var(--r); border: 2px solid var(--ink); background: var(--paper); cursor: pointer; font: inherit; color: var(--ink); transition: background-color .25s; }
.staff-pick:hover, .staff-pick:focus-visible { background: var(--tinta); color: var(--on-tinta); }
.staff-pick[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.staff-pick .av { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--ink); background: var(--tinta); color: var(--on-tinta); display: grid; place-items: center; font: 800 1.5rem var(--display); overflow: hidden; isolation: isolate; }
.staff-pick .av.any { font-size: .85rem; font-family: var(--sans); font-weight: 700; }
.staff-pick .av img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); mix-blend-mode: multiply; }
.staff-pick strong { display: block; font: 700 1.15rem var(--display); }
.staff-pick .muted { color: inherit; opacity: .75; }

.agenda { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 52px); align-items: start; }
.agenda > div { min-width: 0; }
.month { font: 800 2rem/1 var(--display); letter-spacing: -.02em; margin-bottom: 16px; }
.month::first-letter { text-transform: uppercase; }
.days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 16px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day { flex: 0 0 78px; height: 98px; border: 2px solid var(--ink); border-radius: 16px; background: var(--paper); color: var(--ink); display: grid; grid-template-rows: auto 1fr auto; place-items: center; padding: 9px 4px; cursor: pointer; scroll-snap-align: start; font: inherit; transition: background-color .25s; }
.day .wd { font-size: .82rem; font-weight: 500; }
.day .dn { font: 800 1.9rem/1 var(--display); }
.day .ct { font-size: .75rem; }
.day:hover:not(:disabled) { background: var(--tinta); color: var(--on-tinta); }
.day[aria-checked="true"] { background: var(--ink); color: var(--ground); }
.day:disabled { opacity: .35; cursor: default; border-style: dashed; }
.period { margin-top: 26px; }
.period h4 { font: 700 .95rem var(--sans); letter-spacing: 0; margin-bottom: 12px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.slot { min-height: 48px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; font: 600 1rem var(--sans); font-variant-numeric: tabular-nums; transition: background-color .25s; }
.slot:hover { background: var(--tinta); color: var(--on-tinta); }
.slot[aria-checked="true"] { background: var(--ink); color: var(--ground); }
.summary { position: sticky; top: 100px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 26px; }
.summary h3 { font-size: 1.6rem; margin-bottom: 16px; }
.summary dl { margin: 0 0 22px; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: .96rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
@media (max-width: 900px) { .agenda { grid-template-columns: 1fr; } .summary { position: static; } }

.panel { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(22px, 3.2vw, 34px); }
.panel h2 { font-size: 1.9rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.success { text-align: center; }
.success h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 8px 0 14px; }
.success p { margin-bottom: 14px; }
.success .kv { text-align: left; max-width: 420px; margin: 20px auto; }
.check-mark { width: 68px; height: 68px; margin: 0 auto 10px; border-radius: 50%; background: var(--tinta); color: var(--on-tinta); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; }
.manage-link { display: grid; gap: 8px; text-align: left; margin-top: 22px; }
.manage-link .manage-row { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.manage-link .manage-row .input { flex: 1; min-width: 180px; font-size: .88rem; min-height: 46px; }
.skeleton { background: linear-gradient(90deg, var(--sunk) 25%, var(--ground) 50%, var(--sunk) 75%); background-size: 200% 100%; animation: sk 1.3s linear infinite; border-radius: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { padding: 26px 0; color: var(--muted); }

/* ---------- 11 · area cliente e gestione ---------- */
.dash { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.appt { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.appt:last-child { border-bottom: 0; }
.appt .date { text-align: center; line-height: 1; background: var(--tinta); color: var(--on-tinta); border: 2px solid var(--ink); border-radius: 14px; padding: 8px 4px 6px; }
.appt .date span { font-size: .78rem; font-weight: 600; display: block; text-transform: capitalize; }
.appt .date b { font: 800 1.9rem/1.1 var(--display); }
.appt .act { display: flex; gap: 10px; align-items: center; justify-self: end; flex-wrap: wrap; }
.pill { font: 600 .8rem var(--sans); padding: 5px 12px; border-radius: 999px; background: #d9f2e6; color: var(--ok); border: 1.5px solid var(--ok); white-space: nowrap; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .appt { grid-template-columns: 58px 1fr; } .appt .act { grid-column: 2; justify-self: start; } }
.shortcuts { margin-top: 22px; }
.shortcut { display: grid; gap: 4px; padding: 18px; border: 2px solid var(--ink); border-radius: 14px; text-decoration: none; background: linear-gradient(var(--tinta), var(--tinta)) no-repeat 0 100% / 100% 0; transition: background-size .38s var(--ease), color .3s; }
.shortcut:hover, .shortcut:focus-visible { background-size: 100% 100%; color: var(--on-tinta); }
.shortcut b { font: 800 1.3rem var(--display); letter-spacing: -.02em; }
.notice-panel { border-left-width: 10px; }
#link-box { margin-bottom: 26px; }
#link-box .panel p { margin: 8px 0 16px; }

/* ---------- 12 · elementi fissi ---------- */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 20px 0 15px; border-radius: 999px; background: var(--ink); color: var(--ground); border: 2px solid var(--ink); font-weight: 600; text-decoration: none; transition: background-color .25s, color .25s; }
.wa:hover, .wa:focus-visible { background: var(--tinta); color: var(--on-tinta); }
@media (max-width: 520px) { .wa span { display: none; } .wa { width: 54px; padding: 0; justify-content: center; } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--ground); padding: 13px 22px; border-radius: 999px; font-weight: 500; max-width: calc(100vw - 32px); transition: transform .3s var(--ease), opacity .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.err { background: var(--danger); }
.demo-note { position: relative; background: var(--ink); color: #cfcbc2; font-size: .85rem; padding: 9px 52px 9px var(--gut); text-align: center; }
.demo-note b { color: var(--ground); font-weight: 600; }
.demo-note .linklike { color: var(--ground); margin-left: 6px; font-size: .85rem; }
.demo-close { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 1.3rem; color: #cfcbc2; border-radius: 50%; }
.demo-close:hover { background: rgba(255, 255, 255, .14); }

/* ---------- 13 · 404 ---------- */
.nf { min-height: 60vh; display: grid; align-content: center; gap: 20px; padding-block: 60px; }
.nf .big { font: 800 clamp(7rem, 30vw, 22rem)/.85 var(--display); letter-spacing: -.05em; color: var(--ink); text-shadow: .05em .05em 0 var(--tinta); margin: 0; }
.nf h1 { font-size: clamp(2rem, 5vw, 3.4rem); }

/* ---------- 14 · movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 15 · ritocchi di questa variante ---------- */
/* titoli delle pagine interne: Tanker, grandi */
.page-head h1, .auth-box h1, .success h2, .step > h2, .month, .panel h2, .summary h3, .nf h1, .legal-text h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .92; }
.page-head h1 { font-size: clamp(3.6rem, 11vw, 9.5rem); line-height: .88; }
.page-head .lead { color: var(--muted); }
.auth-box h1 { font-size: clamp(3.2rem, 7.4vw, 6rem); }
.step > h2 { font-size: clamp(2.5rem, 4.6vw, 3.8rem); }
.month { font-size: 2.6rem; }
.panel h2 { font-size: 2.3rem; }
.summary h3 { font-size: 2.1rem; }
.legal-text h2 { font-size: 2rem; }
.menu-group h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; }
/* testo piccolo in Supreme (Tanker è solo per i titoli) */
.choice strong, .staff-pick strong, .item .nm { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; letter-spacing: 0; text-transform: none; }
.item .nm small { font-weight: 400; }
.price, .item .pr { font-family: var(--display); font-size: 1.5rem; font-weight: 400; }
/* stati al passaggio: frangia rossa e ciano che scatta in sede */
.choice, .staff-pick, .day, .slot, .chip, .shortcut, .seg button { background-image: none; transition: box-shadow .4s var(--snap), background-color .2s, color .2s; }
.choice:hover, .staff-pick:hover, .day:hover:not(:disabled), .slot:hover, .chip:hover, .shortcut:hover, .choice:focus-visible, .staff-pick:focus-visible, .slot:focus-visible, .chip:focus-visible, .shortcut:focus-visible {
  background-color: var(--paper); color: var(--ink); box-shadow: -4px 0 0 var(--red), 4px 0 0 var(--cyan);
}
.choice[aria-pressed="true"], .staff-pick[aria-pressed="true"], .day[aria-checked="true"], .slot[aria-checked="true"], .chip[aria-current="true"] { background-color: var(--ink); color: var(--ground); box-shadow: none; }
.slot, .day, .choice, .staff-pick { border-radius: 14px; }
.summary dl { gap: 0 16px; }
.summary dt, .summary dd { padding: 11px 0; border-bottom: 2px dashed var(--line); }
.auth-photo { overflow: hidden; border-radius: var(--r); background: var(--sunk); border: 0; box-shadow: -8px 0 0 var(--red), 8px 0 0 var(--cyan); }
.auth-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.wa { background: #f2eee6; color: #0b0a0f; border-color: #f2eee6; transition: box-shadow .4s var(--snap); }
.wa:hover, .wa:focus-visible { background: #f2eee6; color: #0b0a0f; box-shadow: -4px 0 0 var(--red), 4px 0 0 var(--cyan); }
.legal-text a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; background: none; }
.nf .big { font-family: var(--display); color: var(--red); text-shadow: -.04em 0 0 var(--red), .04em 0 0 var(--cyan); -webkit-text-stroke: 0; line-height: .8; }
