/* Due E Abbigliamento — foglio di stile (versione 2)
   Colori in variabili: i temi ?tema=perla|cipria|cammello|notte cambiano solo questi valori. */

@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../assets/fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../assets/fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root, [data-tema="perla"] {
  --bg: #edecef;          /* perla dell'insegna */
  --bg-2: #f8f7f9;        /* carta */
  --ink: #2a1d17;         /* moro */
  --ink-soft: #5a4a42;
  --accent: #8e3f17;      /* cognac */
  --accent-2: #d57c44;    /* caramello, solo su fondi scuri */
  --dark: #2a1d17;        /* fondi scuri */
  --dark-ink: #f3eeea;
  --dark-soft: #cfc4bd;
  --velvet: #4e1620;      /* vino del camerino */
  --velvet-2: #7a2433;
  --line: #d6d3d8;
  --line-dark: rgba(255, 255, 255, .16);
}
[data-tema="cipria"] {
  --bg: #f4e9e7; --bg-2: #fbf5f4; --ink: #3b1f24; --ink-soft: #6a4a4f; --accent: #9b3a4a; --accent-2: #f0a3ad;
  --dark: #3b1f24; --dark-ink: #fbefee; --dark-soft: #e0c6c8; --velvet: #5a1d2c; --velvet-2: #8a3348; --line: #e3d3d1;
}
[data-tema="cammello"] {
  --bg: #efe6d8; --bg-2: #f8f2e8; --ink: #2b2016; --ink-soft: #5e4c3a; --accent: #8a4b14; --accent-2: #e0a15e;
  --dark: #3a2a1c; --dark-ink: #f6eee3; --dark-soft: #d9c8b3; --velvet: #3d2a1a; --velvet-2: #6b4a2a; --line: #dccfbd;
}
[data-tema="notte"] {
  --bg: #1d1714; --bg-2: #261e1a; --ink: #f1e9e3; --ink-soft: #c9bcb3; --accent: #e0a15e; --accent-2: #e9b77a;
  --dark: #120e0c; --dark-ink: #f1e9e3; --dark-soft: #c9bcb3; --velvet: #3c1119; --velvet-2: #6a1f2d; --line: #3b302a;
}

:root {
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 82rem;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header: 3.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1rem); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.015em; }
h2 em, h1 em, .hero-title em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: var(--bg); padding: .75rem 1rem; }
.skip:focus { left: 1rem; }
.visually-hidden { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.5rem;
  font: 500 1rem/1.15 var(--sans); letter-spacing: .01em; text-align: center; text-decoration: none; cursor: pointer;
  border: 1px solid currentColor; border-radius: 999px; background: transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--solid { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--line { color: var(--ink); }
.btn--light { background: var(--dark-ink); border-color: var(--dark-ink); color: var(--dark); }
.btn--line-light { color: var(--dark-ink); border-color: rgba(255,255,255,.55); }
@media (hover: hover) {
  .btn--solid:hover { background: var(--accent); border-color: var(--accent); }
  .btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
  .btn--light:hover { background: var(--accent-2); border-color: var(--accent-2); }
  .btn--line-light:hover { background: var(--dark-ink); color: var(--dark); border-color: var(--dark-ink); }
}
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Barra di progresso e header ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 110; height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 var(--gutter);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s;
  border-bottom: 1px solid transparent;
}
.header.is-solid { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.wordmark { font-family: var(--serif); font-style: italic; font-size: 1.75rem; line-height: 1; color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.status { margin: 0 auto 0 1.5rem; font-size: .875rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ink-soft); flex: none; }
.status.is-open .dot, .set-now.is-open::before { background: #3f8a52; box-shadow: 0 0 0 4px rgba(63, 138, 82, .18); }
.menu-btn { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: 0 .25rem; background: none; border: 0; cursor: pointer; font-weight: 500; }
.menu-lines { width: 26px; height: 9px; position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.menu-lines::before { top: 0; } .menu-lines::after { bottom: 0; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-3.75px) rotate(-45deg); }
.menu-open .header { color: var(--dark-ink); background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.menu-open .status { color: var(--dark-soft); }
@media (max-width: 560px) { .status { font-size: .8125rem; margin-left: .75rem; } .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- Menu a tutto schermo ---------- */
.menu { position: fixed; inset: 0; z-index: 105; background: var(--dark); color: var(--dark-ink); overflow-y: auto; }
.menu-inner { min-height: 100%; display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--gutter); padding: calc(var(--header) + 2rem) var(--gutter) 2rem; max-width: var(--max); margin: 0 auto; align-items: center; }
.menu-preview { aspect-ratio: 3 / 4; overflow: hidden; max-height: 70vh; }
.menu-preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease), transform 1.2s var(--ease); }
.menu-preview img.is-swap { opacity: 0; transform: scale(1.04); }
.menu-list { counter-reset: m; }
.menu-list a { display: flex; align-items: baseline; gap: 1rem; color: var(--dark-ink); text-decoration: none; font-family: var(--serif); font-size: clamp(2.25rem, 5.5vw, 4.5rem); line-height: 1.1; padding: .1em 0; }
.menu-list a::before { counter-increment: m; content: counter(m, decimal-leading-zero); font: 400 .875rem var(--sans); color: var(--dark-soft); }
.menu-list a span { transition: transform .4s var(--ease), color .3s; display: inline-block; }
.menu-list a:hover span, .menu-list a:focus-visible span { transform: translateX(.4rem); color: var(--accent-2); font-style: italic; }
.menu-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 2rem; border-top: 1px solid var(--line-dark); padding-top: 1.25rem; color: var(--dark-soft); font-size: .9375rem; }
.menu-foot p { margin: 0; }
.menu-foot a { color: var(--dark-ink); display: inline-flex; min-height: 44px; align-items: center; }
.js .menu:not([hidden]) .menu-list li { animation: menuIn .6s var(--ease) both; }
.menu-list li:nth-child(2) { animation-delay: .04s !important; } .menu-list li:nth-child(3) { animation-delay: .08s !important; }
.menu-list li:nth-child(4) { animation-delay: .12s !important; } .menu-list li:nth-child(5) { animation-delay: .16s !important; } .menu-list li:nth-child(6) { animation-delay: .2s !important; }
@keyframes menuIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .menu-inner { grid-template-columns: 1fr; align-content: start; padding-top: calc(var(--header) + 1rem); }
  .menu-preview { aspect-ratio: 16 / 9; max-height: 26vh; }
}

/* ---------- Apertura ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: repeat(12, 1fr); align-items: stretch; }
.hero-copy { grid-column: 1 / span 7; padding: calc(var(--header) + clamp(2rem, 7vh, 5rem)) var(--gutter) clamp(2rem, 6vh, 4rem); display: flex; flex-direction: column; justify-content: center; }
.hero-kicker { font-size: .9375rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.hero-title { font-size: clamp(3.25rem, 7vw, 8rem); line-height: .9; letter-spacing: -.03em; margin-bottom: 1.5rem; max-width: 9ch; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero-title .w > * { display: inline-block; }
.hero-payoff { font-family: var(--serif); font-style: italic; font-size: clamp(1.375rem, 2.2vw, 1.875rem); margin-bottom: 1rem; }
.hero-lead { color: var(--ink-soft); max-width: 34rem; font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0 1.5rem; }
.hero-where { font-size: .9375rem; color: var(--ink-soft); margin: 0; }
.hero-media { grid-column: 8 / -1; position: relative; overflow: hidden; min-height: 100%; }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 40%; }
.hero-media figcaption { position: absolute; left: 1rem; bottom: 1rem; color: #fff; font-size: .8125rem; background: rgba(42, 29, 23, .82); padding: .3rem .7rem; border-radius: 999px; }
.js .hero-title .w > * { transform: translateY(105%); }
.js .hero-kicker, .js .hero-payoff, .js .hero-lead, .js .hero-actions, .js .hero-where { opacity: 0; transform: translateY(12px); }
.js .hero-media img { clip-path: inset(0 0 100% 0); }
.is-loaded .hero-title .w > * { transform: none; transition: transform 1s var(--ease); }
.is-loaded .hero-title .w:nth-child(2) > * { transition-delay: .08s; } .is-loaded .hero-title .w:nth-child(3) > * { transition-delay: .16s; } .is-loaded .hero-title .w:nth-child(4) > * { transition-delay: .24s; }
.is-loaded .hero-kicker, .is-loaded .hero-payoff, .is-loaded .hero-lead, .is-loaded .hero-actions, .is-loaded .hero-where { opacity: 1; transform: none; transition: opacity .9s var(--ease) .35s, transform .9s var(--ease) .35s; }
.is-loaded .hero-media img { clip-path: inset(0); transition: clip-path 1.5s var(--ease) .1s; }
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-media { order: -1; height: 52svh; min-height: 300px; }
  .hero-media img { object-position: 50% 18%; }
  .hero-copy { padding: 1.75rem var(--gutter) 2.5rem; margin-top: -3.5rem; position: relative; background: var(--bg); width: calc(100% - var(--gutter)); }
  .hero-title { font-size: clamp(2.5rem, 11.6vw, 5.5rem); }
  .header { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom-color: var(--line); }
  .hero-lead { font-size: 1.0625rem; }
}
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
  .hero-media { order: 0; grid-column: 2; grid-row: 1; height: auto; min-height: 100%; }
  .hero-copy { grid-column: 1; grid-row: 1; margin-top: 0; width: auto; padding: calc(var(--header) + 1rem) var(--gutter) 1.5rem; }
  .hero-title { font-size: 2.75rem; margin-bottom: .75rem; }
  .hero-lead { display: none; }
}

/* ---------- Nastro ---------- */
.ticker { background: var(--ink); color: var(--bg); overflow: hidden; padding: .9rem 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker-track span { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.75rem); white-space: nowrap; padding: 0 1.25rem; display: inline-flex; align-items: center; gap: 2.5rem; }
.ticker-track span::after { content: "E"; font-style: normal; font-size: .6em; color: var(--accent-2); }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Storia e numeri ---------- */
.storia { background: var(--bg-2); padding: clamp(4.5rem, 11vw, 9rem) 0 clamp(3rem, 7vw, 5rem); }
.storia-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; }
.due-e { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.due-e p { margin: 0; display: flex; align-items: flex-end; gap: clamp(.75rem, 3vw, 2rem); padding: clamp(1.25rem, 3vw, 2.5rem) 0; }
.due-e p + p { border-left: 1px solid var(--line); padding-left: clamp(1rem, 4vw, 3rem); }
.big-e { font-family: var(--serif); font-style: italic; font-size: clamp(6.5rem, 20vw, 17rem); line-height: .72; color: var(--accent); }
.big-e--2 { color: var(--ink); }
.due-e-txt { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 2rem); line-height: 1.15; padding-bottom: .4rem; }
.due-e-txt small { display: block; font: 400 .9375rem/1.4 var(--sans); color: var(--ink-soft); margin-top: .4rem; }
.storia-foto { grid-column: 1 / span 6; }
.storia-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.storia-testo { grid-column: 8 / span 5; }
.storia-testo h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin-bottom: 1.5rem; max-width: 12ch; }
.storia-testo p { max-width: 36em; font-size: 1.125rem; }
.firma { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--accent); margin-top: 1.5rem; }
.numeri { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: clamp(3rem, 7vw, 5.5rem); }
.numeri li { border-top: 1px solid var(--ink); padding-top: 1rem; }
.numeri strong { display: block; font: 400 clamp(3rem, 6vw, 5rem)/1 var(--serif); margin-bottom: .5rem; }
.numeri li > span { color: var(--ink-soft); font-size: .9375rem; }
@media (max-width: 900px) {
  .storia-foto, .storia-testo { grid-column: 1 / -1; }
  .numeri { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
}
@media (max-width: 560px) { .due-e { grid-template-columns: 1fr; } .due-e p + p { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }

/* ---------- Il camerino ---------- */
.camerino { background: var(--velvet); color: var(--dark-ink); padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; overflow: hidden; }
.camerino::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 2px, transparent 2px 46px); opacity: .5; pointer-events: none; }
.camerino .wrap { position: relative; }
.cam-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.cam-kicker { color: var(--dark-soft); font-size: .9375rem; }
.cam-head h2 { font-size: clamp(2.75rem, 7vw, 6rem); margin-bottom: 1.25rem; }
.cam-head h2 em { color: var(--accent-2); }
.cam-head p:last-child { color: var(--dark-soft); font-size: 1.125rem; max-width: 40em; }
.cam-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.cam-form { display: grid; gap: 1.75rem; }
.cam-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.cam-step legend { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .9rem; padding: 0; display: flex; align-items: baseline; gap: .6rem; }
.cam-step legend small { font: 400 .875rem var(--sans); color: var(--dark-soft); }
.cam-n { font: 500 .8125rem var(--sans); width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1px solid var(--line-dark); display: inline-grid; place-items: center; flex: none; transform: translateY(-.15rem); }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .55rem 1.05rem; cursor: pointer;
  font: 400 .9375rem/1.15 var(--sans); border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.pill[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill-n { font-size: .8125rem; opacity: .7; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .pill:hover { border-color: var(--ink); } }
.camerino .pill { color: var(--dark-ink); border-color: var(--line-dark); }
.camerino .pill[aria-pressed="true"] { background: var(--dark-ink); color: var(--velvet); border-color: var(--dark-ink); }
@media (hover: hover) { .camerino .pill:hover { border-color: var(--dark-ink); } }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.swatch { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; min-height: 44px; padding: .5rem; border-radius: 10px; border: 1px solid var(--line-dark); background: transparent; color: var(--dark-ink); cursor: pointer; text-align: left; font-size: .8125rem; line-height: 1.2; transition: border-color .25s, background-color .25s; }
.swatch i { display: block; width: 100%; height: 26px; border-radius: 5px; background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.swatch i.fantasia { background: repeating-linear-gradient(45deg, var(--c1) 0 6px, var(--c2) 6px 9px, #b9653a 9px 12px); }
.swatch[aria-pressed="true"] { border-color: var(--dark-ink); background: rgba(255,255,255,.1); }
.swatch[aria-pressed="true"]::after { content: "scelto"; font-size: .75rem; color: var(--accent-2); }
.cam-booth { scroll-margin-top: calc(var(--header) + .75rem); position: relative; min-height: 36rem; position: sticky; top: calc(var(--header) + 1rem); background: linear-gradient(180deg, #e9e2dc, #d9cfc6); border: 10px solid #1f1410; border-top-width: 26px; overflow: hidden; color: #2a1d17; }
.cam-rod { position: absolute; left: 0; right: 0; top: 2.25rem; height: 6px; background: linear-gradient(#b8945a, #7d5b2c); z-index: 1; }
.cam-inside { position: relative; z-index: 2; padding: 3.75rem 0 1.25rem; height: 100%; }
.cam-inside { display: flex; flex-direction: column; align-items: center; padding: 3.25rem 1.5rem 1.5rem; min-height: 100%; }
.tag {
  position: relative; width: min(21rem, 100%); margin-top: 1.25rem; padding: 2.75rem 1.75rem 1.75rem;
  background: #fbf8f2; color: #2a1d17; border-radius: 4px 4px 10px 10px; transform-origin: 50% -3rem;
  box-shadow: 0 22px 40px -26px rgba(0, 0, 0, .55);
  clip-path: polygon(14% 0, 86% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
}
.tag::before { content: ""; position: absolute; left: 50%; top: 1rem; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #d9cfc6; box-shadow: inset 0 0 0 2px #b8a796; }
.tag::after { content: ""; position: absolute; left: 50%; top: -3.1rem; width: 1.5px; height: 4.3rem; background: #8a6a43; }
.cam-inside::before { content: ""; position: absolute; left: 50%; top: 2.25rem; width: 1.5px; height: 2.4rem; background: #8a6a43; }
.cam-inside { position: relative; }
.tag-to { font: italic 400 1.75rem/1.1 var(--serif); color: #8e3f17; margin: 0 0 1rem; text-align: center; }
.tag dl { margin: 0; }
.tag dl div { padding: .55rem 0; border-top: 1px dashed #c9b9aa; }
.tag dt { font: 500 .75rem var(--sans); letter-spacing: .04em; color: #5a4a42; }
.tag dd { margin: .15rem 0 0; font: italic 400 1.25rem/1.25 var(--serif); }
.js .tag.is-swing { animation: tagSwing 1.2s var(--ease); }
@keyframes tagSwing { 0% { transform: rotate(4deg); } 35% { transform: rotate(-3deg); } 65% { transform: rotate(1.2deg); } 100% { transform: none; } }
.cam-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.5rem; }
.cam-actions .btn--solid { background: #2a1d17; border-color: #2a1d17; color: #fbf8f2; }
.cam-actions .btn--line { color: #2a1d17; border-color: #2a1d17; }
.cam-note { font-size: .8125rem; color: #5a4a42; margin: 1rem 0 0; text-align: center; }
.cam-note a { color: #8e3f17; }
.pills--slot { margin-top: .6rem; }
.cam-jump { display: none; justify-self: start; }
@media (max-width: 900px) { .cam-jump { display: inline-flex; } }
.pill--soft { border-style: dashed; }
.pill--round { min-width: 44px; justify-content: center; padding: .55rem .8rem; }
.curtain { position: absolute; top: 2rem; bottom: 0; width: 51%; z-index: 3; background:
  linear-gradient(90deg, rgba(0,0,0,.35), transparent 18%, rgba(255,255,255,.08) 30%, transparent 42%, rgba(0,0,0,.3) 55%, transparent 68%, rgba(255,255,255,.07) 80%, rgba(0,0,0,.35)),
  var(--velvet-2); background-size: 120px 100%, auto; transition: transform 1.1s var(--ease); }
.curtain--l { left: 0; } .curtain--r { right: 0; }
.cam-booth.is-open .curtain--l { transform: translateX(-94%); }
.cam-booth.is-open .curtain--r { transform: translateX(94%); }
.cam-sign { position: absolute; z-index: 4; left: 50%; top: 45%; transform: translate(-50%, -50%); margin: 0; font: italic 1.375rem var(--serif); color: #f3eeea; border: 1px solid rgba(255,255,255,.4); padding: .4rem 1.1rem; transition: opacity .4s; pointer-events: none; }
.cam-booth.is-open .cam-sign { opacity: 0; }
@media (max-width: 900px) {
  .cam-grid { grid-template-columns: 1fr; }
  .cam-booth { position: relative; top: auto; min-height: 31rem; margin: 0 calc(var(--gutter) * -1); border-left-width: 0; border-right-width: 0; }
}
@media (max-width: 380px) { .swatches { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Reparti ---------- */
.reparti { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.rep-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.rep-head h2 { grid-column: 1 / span 7; font-size: clamp(2.75rem, 6.5vw, 6rem); line-height: .95; }
.rep-head p { grid-column: 9 / span 4; color: var(--ink-soft); margin: 0; }
.rep-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1rem, 2vw, 1.75rem); }
.rep:nth-child(4n + 2), .rep:nth-child(4n + 4) { margin-top: clamp(2rem, 5vw, 4.5rem); }
.rep { display: flex; flex-direction: column; }
.rep-foto { overflow: hidden; background: var(--bg-2); }
.rep-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.1s var(--ease); }
@media (hover: hover) { .rep:hover .rep-foto img { transform: scale(1.05); } }
.rep-body { padding-top: 1rem; display: flex; flex-direction: column; flex: 1; }
.rep-n { font: italic 400 1rem var(--serif); color: var(--accent); }
.rep-body h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); margin: .2rem 0 .6rem; }
.rep-testo { color: var(--ink-soft); font-size: 1rem; margin: 0 0 .6rem; }
.rep-marchi { font: italic 400 1.0625rem var(--serif); margin: 0 0 .5rem; }
.rep-cta { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: .9375rem; color: var(--accent); }
@media (max-width: 1100px) { .rep-list { grid-template-columns: repeat(2, 1fr); } .rep:nth-child(4n + 4) { margin-top: 0; } .rep:nth-child(2n) { margin-top: clamp(2rem, 6vw, 4rem); } }
@media (max-width: 900px) { .rep-head h2, .rep-head p { grid-column: 1 / -1; } }
@media (max-width: 520px) {
  .rep-list { grid-template-columns: 1fr; gap: 1.75rem; }
  .rep:nth-child(n) { margin-top: 0; }
  .rep { display: grid; grid-template-columns: 38% 1fr; gap: 1rem; align-items: start; }
  .rep-foto img { aspect-ratio: 3 / 4; }
  .rep-body { padding-top: 0; }
  .rep-body h3 { font-size: 1.375rem; }
  .rep-testo { font-size: .9375rem; }
  .rep-marchi { font-size: 1rem; }
}

/* ---------- Banner "non solo" ---------- */
.banner { position: relative; min-height: clamp(26rem, 80vh, 46rem); overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) clamp(2.5rem, 6vw, 4.5rem); }
.banner-bg { position: absolute; inset: -12% 0; }
.banner-bg picture, .banner-bg img { width: 100%; height: 100%; }
.banner-bg img { object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 14, 6, .2) 0%, rgba(30, 14, 6, .55) 45%, rgba(30, 14, 6, .85) 100%); }
.banner-word { position: relative; z-index: 1; margin: 0; font: italic 400 clamp(5rem, 24vw, 22rem)/.8 var(--serif); letter-spacing: -.04em; }
.banner-line { position: relative; z-index: 1; margin: 1.5rem 0 0; max-width: 32rem; font-size: 1.125rem; }
.banner-line em { font-family: var(--serif); font-size: 1.2em; }

/* ---------- Il negozio ---------- */
.negozio { background: var(--bg-2); padding: clamp(4.5rem, 10vw, 8rem) 0; }
.neg-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; margin-bottom: 2.5rem; }
.neg-head h2 { grid-column: 1 / span 7; font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
.neg-head p { grid-column: 8 / span 5; color: var(--ink-soft); margin: 0; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(7rem, 12vw, 11rem); gap: clamp(.5rem, 1.2vw, 1rem); grid-auto-flow: dense; }
.m { padding: 0; border: 0; background: var(--bg); cursor: zoom-in; overflow: hidden; display: block; }
.m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
@media (hover: hover) { .m:hover img { transform: scale(1.05); } }
.m1 { grid-column: span 2; grid-row: span 4; } .m2 { grid-column: span 4; grid-row: span 2; }
.m3 { grid-column: span 2; grid-row: span 2; } .m4 { grid-column: span 2; grid-row: span 2; }
.m5 { grid-column: span 3; grid-row: span 2; } .m6 { grid-column: span 3; grid-row: span 2; }
.servizi { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: clamp(3rem, 6vw, 5rem); }
.servizi li { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.servizi h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.servizi p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
@media (max-width: 900px) {
  .neg-head h2, .neg-head p { grid-column: 1 / -1; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 9rem; }
  .m { grid-column: span 1 !important; grid-row: span 2 !important; }
  .m2 { grid-column: span 2 !important; grid-row: span 2 !important; }
  .servizi { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .servizi { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 12, 8, .92); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 80vh; width: auto; object-fit: contain; }
.lightbox p { color: #f3eeea; margin: 1rem 1rem 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.25rem; }
.lb-btn, .lb-close { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.35); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-prev { left: 1rem; top: 50%; } .lb-next { right: 1rem; top: 50%; } .lb-close { right: 1rem; top: 1rem; }
.lb-btn::before { content: ""; width: 10px; height: 10px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.lb-prev::before { transform: rotate(-135deg); margin-left: 4px; } .lb-next::before { transform: rotate(45deg); margin-left: -4px; }
.lb-close::before, .lb-close::after { content: ""; position: absolute; width: 18px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.lb-close::after { transform: rotate(-45deg); }

/* ---------- Marchi ---------- */
.marchi { background: var(--accent); color: #fff; padding: clamp(4rem, 9vw, 7rem) 0; }
[data-tema="notte"] .marchi { color: #1d1714; }
.marchi h2 { font: 500 1rem var(--sans); letter-spacing: .02em; margin-bottom: 1.5rem; color: inherit; }
.marchi-list { display: flex; flex-wrap: wrap; gap: .1em .6em; font-family: var(--serif); font-size: clamp(2.25rem, 6.5vw, 5.5rem); line-height: 1.1; }
.marchi-list a { color: inherit; text-decoration: none; display: inline-flex; align-items: baseline; gap: .6em; min-height: 44px; }
.marchi-list li:not(:last-child) a::after { content: "E"; font-size: .35em; font-style: italic; opacity: .6; }
@media (hover: hover) { .marchi-list a:hover { font-style: italic; } }
.marchi-list a:focus-visible { outline-color: #fff; }
.marchi-note { margin: 1.75rem 0 0; max-width: 34rem; }

/* ---------- Recensioni ---------- */
.recensioni { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.rec-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.rec-voto { grid-column: 1 / span 5; }
.rec-voto h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1rem; }
.rec-num { font: 400 clamp(6rem, 15vw, 12rem)/.85 var(--serif); margin: 0 0 1rem; letter-spacing: -.04em; }
.rec-num small { font-size: .3em; color: var(--ink-soft); letter-spacing: 0; }
.rec-meta { color: var(--ink-soft); }
.rec-temi { grid-column: 7 / span 6; counter-reset: t; }
.rec-temi li { padding: 1.5rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; }
.rec-temi li::before { counter-increment: t; content: counter(t); grid-row: span 2; font: italic 2.5rem/1 var(--serif); color: var(--accent); }
.rec-temi h3 { font-size: 1.625rem; margin-bottom: .35rem; }
.rec-temi p { color: var(--ink-soft); margin: 0; }
.rec-nota { grid-column: 7 / span 6; font-size: .875rem; color: var(--ink-soft); }
@media (max-width: 900px) { .rec-voto, .rec-temi, .rec-nota { grid-column: 1 / -1; } }

/* ---------- La settimana ---------- */
.settimana { background: var(--bg-2); padding: clamp(4.5rem, 10vw, 8rem) 0; }
.set-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; }
.set-testo { grid-column: 1 / span 4; }
.set-testo h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin-bottom: 1.25rem; }
.set-now { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; display: flex; align-items: center; gap: .6rem; }
.set-now::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--ink-soft); flex: none; }
.week { grid-column: 6 / span 7; position: relative; padding-left: 6.5rem; }
.week-row { display: grid; grid-template-columns: 6.5rem 1fr; margin-left: -6.5rem; align-items: center; min-height: 3rem; border-top: 1px solid var(--line); }
.week-row:last-of-type { border-bottom: 1px solid var(--line); }
.week-day { font-size: .9375rem; }
.week-row.is-today .week-day { font-weight: 500; color: var(--accent); }
.week-track { position: relative; height: 1.25rem; }
.week-bar { position: absolute; top: 0; bottom: 0; background: var(--ink); border-radius: 999px; transform-origin: left; }
.week-row.is-today .week-bar { background: var(--accent); }
.week-closed { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font: italic 1rem var(--serif); color: var(--ink-soft); }
.week-now { position: absolute; top: -.5rem; bottom: -.5rem; width: 2px; background: var(--accent); }
.week-now::after { content: "adesso"; position: absolute; top: -1.2rem; left: 50%; transform: translateX(-50%); font-size: .75rem; color: var(--accent); white-space: nowrap; }
.week-scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-soft); margin-bottom: .5rem; }
.js .week .week-bar { transform: scaleX(0); }
.js .week.is-in .week-bar { transform: none; transition: transform 1s var(--ease); }
@media (max-width: 900px) { .set-testo, .week { grid-column: 1 / -1; } .week { padding-left: 4.5rem; } .week-row { grid-template-columns: 4.5rem 1fr; margin-left: -4.5rem; } }

/* ---------- FAQ ---------- */
.faq { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.faq h2 { grid-column: 1 / span 4; font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.faq-list { grid-column: 6 / span 7; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; padding: 1.15rem 0; font: 400 1.5rem/1.2 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: var(--ink-soft); max-width: 38em; margin: 0 0 1.25rem; }
@media (max-width: 900px) { .faq h2, .faq-list { grid-column: 1 / -1; } }

/* ---------- Finale ---------- */
.finale { background: var(--dark); color: var(--dark-ink); padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 9vw, 7rem); overflow: hidden; }
.finale-word { margin: 0 0 clamp(1.5rem, 4vw, 3rem); padding: 0 var(--gutter); font: italic 400 clamp(6rem, 30vw, 28rem)/.8 var(--serif); letter-spacing: -.05em; color: var(--accent-2); white-space: nowrap; }
.finale-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; }
.finale-testo { grid-column: 1 / span 5; }
.finale-testo h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin-bottom: 1.25rem; }
.finale-testo h2 em { color: var(--accent-2); }
.finale address { font-style: normal; font-size: 1.1875rem; color: var(--dark-soft); margin-bottom: 1.75rem; }
.finale-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.map-box { grid-column: 7 / span 6; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: url("../assets/img/galleria-01-600.webp") center / cover no-repeat; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 1.5rem; background: linear-gradient(to top, rgba(20, 12, 8, .88), rgba(20, 12, 8, .2) 70%); }
.map-ph p { max-width: 32ch; font-size: .9375rem; color: #f3eeea; }
.map-ph a { color: #fff; }
@media (max-width: 900px) { .finale-testo, .map-box { grid-column: 1 / -1; } .map-box { aspect-ratio: 1 / 1; } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--dark-soft); border-top: 1px solid var(--line-dark); padding: 3.5rem 0 2rem; font-size: 1rem; }
.footer a, .footer .linklike { color: var(--dark-ink); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gutter); padding-bottom: 2.5rem; }
.wordmark--big { font-size: 3rem; color: var(--dark-ink); }
.footer-payoff { font-family: var(--serif); font-style: italic; font-size: 1.25rem; }
.footer h2 { font: 500 1rem var(--sans); color: var(--dark-ink); margin-bottom: .75rem; }
.footer li a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line-dark); padding-top: 1.25rem; font-size: .875rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Barra azioni su mobile ---------- */
.action-bar { display: none; }
@media (max-width: 900px) {
  .footer { padding-bottom: calc(2rem + 64px + env(safe-area-inset-bottom)); }
  .action-bar { position: fixed; inset: auto 0 0 0; z-index: 90; display: grid; grid-template-columns: repeat(4, 1fr); background: #2a1d17; border-top: 1px solid rgba(255,255,255,.16); padding-bottom: env(safe-area-inset-bottom); transition: transform .3s var(--ease); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-height: 62px; color: #f3eeea; text-decoration: none; font-size: .8125rem; font-weight: 500; }
  .action-bar a + a { border-left: 1px solid rgba(255,255,255,.12); }
  .action-bar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
  .banner-open .action-bar, .menu-open .action-bar { transform: translateY(110%); }
}

/* ---------- Banner cookie ---------- */
.cookie { position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 140; max-width: 34rem; margin-left: auto; background: #fbf8f2; color: #2a1d17; border: 1px solid #d6cbc2; padding: 1.5rem; box-shadow: 0 24px 50px -24px rgba(0,0,0,.5); }
.cookie h2 { font-size: 1.375rem; margin-bottom: .5rem; }
.cookie p { font-size: .9375rem; color: #5a4a42; }
.cookie a { color: #8e3f17; }
.cookie .btn--line { color: #2a1d17; }
.cookie .btn--solid { background: #2a1d17; border-color: #2a1d17; color: #fbf8f2; }
@media (hover: hover) { .cookie .btn--line:hover { background: #2a1d17; border-color: #2a1d17; color: #fbf8f2; } }
.cookie-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1rem; }
.cookie-actions .btn { padding: .75rem .5rem; font-size: .9375rem; }
.cookie-prefs { border-top: 1px solid #d6cbc2; margin-top: 1rem; padding-top: 1rem; }
.pref { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .5rem 0; }
.pref strong { font-weight: 500; display: block; }
.pref span { font-size: .875rem; color: #5a4a42; }
.pref input { width: 22px; height: 22px; accent-color: #8e3f17; flex: none; margin-top: .2rem; }
.pref-row { margin-top: .75rem; }
@media (max-width: 560px) {
  .cookie { left: .5rem; right: .5rem; bottom: .5rem; padding: 1rem 1rem .9rem; }
  .cookie h2 { font-size: 1.125rem; }
  .cookie p { font-size: .875rem; line-height: 1.45; margin-bottom: .5rem; }
  .cookie-actions { gap: .35rem; margin-top: .5rem; }
  .cookie-actions .btn { font-size: .8125rem; padding: .5rem .25rem; min-height: 44px; }
}
@media (max-width: 330px) { .cookie-actions { grid-template-columns: 1fr; } }

/* ---------- Pagine legali e 404 ---------- */
.page { padding: calc(var(--header) + clamp(2.5rem, 7vw, 5rem)) 0 clamp(3rem, 8vw, 6rem); }
.page .wrap { max-width: 46rem; }
.page h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.page h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; }
.page .meta { color: var(--ink-soft); font-size: .875rem; }
.page table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 1rem 0; }
.page th, .page td { text-align: left; vertical-align: top; padding: .6rem .5rem .6rem 0; border-bottom: 1px solid var(--line); }
.page th { font-weight: 500; }
.table-scroll { overflow-x: auto; }
.da-compilare { background: #fff3c4; color: #5a3d00; padding: 0 .25em; }
.header--page { background: var(--bg); border-bottom-color: var(--line); }
.header--page .btn { min-height: 44px; padding: .5rem 1.1rem; }
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }
.nf b { display: block; font: italic 400 clamp(6rem, 25vw, 14rem)/.8 var(--serif); color: var(--accent); }
.nf h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 1rem 0; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-kicker, .js .hero-payoff, .js .hero-lead, .js .hero-actions, .js .hero-where { opacity: 1; transform: none; }
  .js .hero-title .w > * { transform: none; }
  .js .hero-media img { clip-path: none; }
  .js .week .week-bar { transform: none; }
  .ticker-track { flex-wrap: wrap; width: auto; }
}
