/* CraftByMarco — sito-03 · sistema visivo condiviso
   Palette A "Grafite + ambra", Manrope per testi e interfaccia, Barlow Semi Condensed per i titoli
   (come in studio-04), firma Traccia: linea sottile con nodo quadrato. Dark only. */

@font-face { font-family: Manrope; src: url('../fonts/manrope-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url('../fonts/manrope-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Manrope; src: url('../fonts/manrope-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; src: url('../fonts/barlow-semi-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #161718;
  --surface: #242625;
  --surface-2: #1c1d1e;
  --text: #F3F0E8;
  --muted: #B8B9B4;
  --amber: #EDB567;
  --amber-hi: #F4C991;
  --price: #0C0E0E;
  --line: #676B68;
  --weak: #3B403D;
  --warm: #453321;
  --paper: #EFE7D4;
  --paper-2: #E6DCC5;
  --print: #F4EFE3;
  --ink: #332E25;
  --ink-soft: #5E5446;
  --ink-line: #B9AD95;
  --font: Manrope, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --display: 'Barlow Semi Condensed', 'Arial Narrow', Arial, sans-serif;
  --gutter: 20px;
  --max: 1240px;
  --nav: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --grain: url('../img/grana-carta.png');
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line) var(--bg); scrollbar-width: thin; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.62 var(--font); font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
p { max-width: 66ch; }
p + p { margin-top: 1em; }
strong { font-weight: 600; }
::selection { background: var(--amber); color: var(--price); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--nav) + 20px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: fixed; left: 16px; top: -120px; z-index: 200; background: var(--amber); color: var(--price); padding: 12px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- tipografia */
.display, h1 { font-family: var(--display); font-weight: 600; letter-spacing: -.018em; line-height: .98; }
h1 { font-size: clamp(44px, 6.4vw, 94px); text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 4.7vw, 66px); line-height: 1; letter-spacing: -.015em; text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.3vw, 30px); line-height: 1.08; letter-spacing: -.005em; }
h1 em, h2 em { font-style: normal; color: var(--amber); }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.6; }

/* eyebrow con il nodo quadrato della Traccia */
.eyebrow { display: flex; align-items: center; gap: 12px; font: 600 12px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--amber); flex: none; }

/* la Traccia come separatore: linea debole, primo tratto in ambra, nodo quadrato */
.trace { position: relative; height: 1px; background: var(--weak); margin-bottom: 30px; }
.trace::before { content: ''; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; background: var(--amber); }
.trace::after { content: ''; position: absolute; left: 0; top: 0; height: 1px; width: min(260px, 30%); background: var(--amber); }

/* ---------------------------------------------------------------- bottoni e link */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 50px; padding: 14px 20px; background: var(--amber); color: var(--price); border: 1px solid var(--amber); font: 600 14.5px/1.3 var(--font); text-decoration: none; transition: background .2s, border-color .2s, transform .15s; }
.btn:hover { background: var(--amber-hi); border-color: var(--amber-hi); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--amber); color: var(--amber); }
.btn--wide { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14.5px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); padding-block: 6px; transition: color .2s, border-color .2s; }
.link-arrow:hover { color: var(--amber); border-color: var(--amber); }
.link-arrow .icon { width: 16px; height: 16px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }

/* ---------------------------------------------------------------- pulsanti in basso a destra (dall'11/10/2026): WhatsApp e, in home, il 3D */
.fab { position: fixed; z-index: 70; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fab-wa { display: grid; place-items: center; width: 54px; height: 54px; background: var(--amber); color: var(--price); border: 1px solid var(--amber); box-shadow: 0 8px 24px rgba(0, 0, 0, .38); transition: background .2s; }
.fab-wa:hover { background: var(--amber-hi); }
.fab-wa .icon { width: 25px; height: 25px; stroke-width: 1.8; }
.fab-3d { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; background: rgba(22, 23, 24, .9); border: 1px solid var(--line); color: var(--text); box-shadow: 0 6px 18px rgba(0, 0, 0, .32); transition: border-color .2s; }
.fab-3d[hidden] { display: none; }
.fab-3d:hover { border-color: var(--amber); }
.fab-3d .icon { width: 18px; height: 18px; stroke: var(--amber); }

/* ---------------------------------------------------------------- testata */
.header { position: sticky; top: 0; z-index: 60; height: var(--nav); background: rgba(22, 23, 24, .94); border-bottom: 1px solid rgba(59, 64, 61, .7); }
@supports (backdrop-filter: blur(1px)) { .header { background: rgba(22, 23, 24, .8); backdrop-filter: blur(14px) saturate(1.2); } }
.header-inner { height: 100%; display: flex; align-items: center; gap: 14px; }
.wordmark { font: 600 20px/1 var(--font); letter-spacing: -.04em; text-decoration: none; color: var(--text); margin-right: auto; white-space: nowrap; }
.wordmark span { font-weight: 400; }
.nav-main { display: none; }
.nav-main a { position: relative; font-size: 13.5px; color: var(--muted); text-decoration: none; padding: 10px 0; transition: color .2s; }
.nav-main a:hover, .nav-main a[aria-current] { color: var(--text); }
.nav-main a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--amber); }
.menu-btn { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 2px 0 6px; background: none; border: 0; font: 500 13.5px/1 var(--font); }
.menu-btn .bars { width: 18px; height: 10px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 8.5px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 4.25px; transform: rotate(-45deg); }

/* menu mobile: foglio a tutto schermo */
.menu-panel { position: fixed; inset: var(--nav) 0 0; z-index: 59; background: var(--bg); padding: 26px var(--gutter) 34px; display: flex; flex-direction: column; overflow-y: auto; }
.menu-panel[hidden] { display: none; }
.menu-panel nav { display: flex; flex-direction: column; border-top: 1px solid var(--weak); }
.menu-panel nav a { display: flex; align-items: center; justify-content: space-between; min-height: 68px; border-bottom: 1px solid var(--weak); font: 600 clamp(34px, 10vw, 44px)/1 var(--display); text-decoration: none; letter-spacing: -.01em; }
.menu-panel nav a[aria-current] { color: var(--amber); }
.menu-panel nav a .num { font: 500 12px/1 var(--font); color: var(--muted); letter-spacing: .1em; }
.menu-foot { margin-top: auto; padding-top: 30px; display: grid; gap: 16px; }
.menu-foot .btn { justify-content: space-between; }
.menu-foot p { font-size: 13px; color: var(--muted); }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- carta: il foglio di lavoro */
.sheet { position: relative; color: var(--ink); background-color: var(--paper); background-image: linear-gradient(115deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 45%, rgba(92, 70, 40, .08)), var(--grain); background-blend-mode: normal, multiply; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 6px 14px 30px rgba(0, 0, 0, .28), 1px 2px 4px rgba(0, 0, 0, .18); }
.sheet a:focus-visible, .print:focus-visible { outline-color: #6E5230; }
.sheet .sheet-title { font: 600 clamp(38px, 4.2vw, 50px)/1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.sheet .sheet-kicker { font: 600 11px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.sheet .sheet-kicker::before { content: ''; width: 7px; height: 7px; background: #B07A3A; }

/* clip metallica disegnata (versione semplice e pagine) */
.clip { position: absolute; top: -18px; width: 58px; height: 30px; }
.clip::before { content: ''; position: absolute; inset: 9px 4px 0; background: linear-gradient(180deg, #2a2a2c, #0e0e10); border-radius: 3px 3px 2px 2px; box-shadow: 0 3px 6px rgba(0, 0, 0, .35); }
.clip::after { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 16px; border: 2px solid #9d9a95; border-bottom: 0; border-radius: 10px 10px 0 0; }

/* ---------------------------------------------------------------- polaroid */
.print { position: relative; display: block; background-color: var(--print); background-image: linear-gradient(160deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 40%, rgba(90, 70, 40, .07)), var(--grain); background-blend-mode: normal, multiply; color: var(--ink); text-decoration: none; text-align: left; border: 0; padding: 14px 14px 20px; box-shadow: 5px 12px 26px rgba(0, 0, 0, .3), 1px 2px 4px rgba(0, 0, 0, .2); }
.print-pic { position: relative; display: block; aspect-ratio: 356 / 300; overflow: hidden; background: #D9D1BF; }
.print-pic img, .print-pic video { width: 100%; height: 100%; object-fit: cover; }
[data-surface="agora"] .print-pic img { object-position: 0 0; }
.print-pic::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); pointer-events: none; }
.print-caption { display: block; padding: 16px 4px 0; }
.print-caption h3 { font: 600 24px/1.1 var(--display); letter-spacing: -.005em; color: var(--ink); }
.print-caption p { font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); margin-top: 6px; }
.print-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 14px; font-weight: 600; }
.print-action .icon { width: 18px; height: 18px; }
.print .tag { display: inline-block; font: 600 11.5px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: #8A5B25; margin-bottom: 8px; }
.peg { position: absolute; left: 50%; top: -22px; width: 14px; height: 44px; margin-left: -7px; background: linear-gradient(90deg, #8a6440, #b88d5f 45%, #7a5636); border-radius: 2px; box-shadow: 1px 3px 5px rgba(0, 0, 0, .3); z-index: 2; }
.peg::after { content: ''; position: absolute; left: -2px; right: -2px; top: 14px; height: 5px; background: #9b9892; border-radius: 3px; }

/* ---------------------------------------------------------------- prezzi (fondo scuro dedicato) */
.offers { display: grid; gap: 18px; }
.offer { position: relative; display: flex; flex-direction: column; background: var(--price); border: 1px solid var(--weak); padding: 26px 22px 24px; }
.offer.is-featured { border-color: rgba(237, 181, 103, .55); background: #0f1111; }
.offer.is-featured::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--amber); }
.offer-kind { font: 600 11px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.offer h3 { font-size: clamp(30px, 2.8vw, 38px); margin-top: 10px; }
.offer .for { font-size: 14px; color: var(--muted); margin-top: 8px; min-height: 2.8em; }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 24px 0 4px; }
.price { font: 600 clamp(54px, 5.2vw, 70px)/.9 var(--display); letter-spacing: -.02em; color: var(--amber); white-space: nowrap; }
.price .cur { font-size: .52em; letter-spacing: 0; margin-left: 3px; }
.price-from { font-size: 13px; color: var(--muted); }
.price-note { font-size: 13px; color: var(--muted); }
.offer .desc { font-size: 14.5px; color: var(--muted); margin: 18px 0 16px; }
.checks { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; }
.checks li { position: relative; padding: 7px 0 7px 26px; border-top: 1px solid rgba(59, 64, 61, .7); }
.checks li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 10px; height: 6px; border-left: 1.6px solid var(--amber); border-bottom: 1.6px solid var(--amber); transform: rotate(-45deg); }
.checks.no li { color: var(--muted); }
.checks.no li::before { width: 10px; height: 0; border-left: 0; border-bottom: 1.6px solid var(--line); transform: none; top: 18px; }
.list-label { font: 600 11.5px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 0 4px; }
.offer .btn, .offer .link-arrow { margin-top: auto; }
.offer .offer-foot { font-size: 12.5px; color: var(--muted); margin: 4px 0 20px; }

/* ---------------------------------------------------------------- targhetta sulla scheda prezzo (un cartellino appuntato) */
.offer-badge { position: absolute; top: -14px; right: 16px; z-index: 2; margin: 0; max-width: none; transform: rotate(-3deg); }
.offer-badge span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 10px; background: var(--amber); color: var(--price); font: 600 11px/1 var(--font); letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 8px 18px rgba(0, 0, 0, .4); }
.offer-badge span::before { content: ''; width: 6px; height: 6px; background: var(--price); flex: none; }

/* segni a mano: cerchio e sottolineatura disegnati, inchiostro ambra bruciato */
.mark-circle, .mark-under { position: relative; white-space: nowrap; color: var(--ink); font-weight: 600; }
.mark-circle::after { content: ''; position: absolute; left: -9px; right: -9px; top: -6px; bottom: -6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 44' preserveAspectRatio='none'%3E%3Cpath d='M9 26C4 13 30 4 55 5c24 1 42 8 39 20-3 13-37 17-58 15C17 38 6 31 9 21' fill='none' stroke='%23B8621F' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; pointer-events: none; }
.mark-under::after { content: ''; position: absolute; left: -2px; right: -4px; bottom: -7px; height: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6c20-3 44-4 70-3 16 1 30 2 46 1' fill='none' stroke='%23B8621F' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; pointer-events: none; }

/* ---------------------------------------------------------------- evidenziatore: segno di lettura (come la selezione del testo) */
.mark-hl { background: var(--amber); color: var(--price); padding: .08em .32em .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; font-weight: 600; }

/* ---------------------------------------------------------------- chi gestisce il sito: due linguette sulla stessa cartella */
.roads-tabs { display: none; }
.roads[data-ready] .roads-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-items: end; }
.roads-tab { position: relative; display: grid; gap: 7px; align-content: end; min-height: 78px; padding: 14px 14px 13px; text-align: left; background: #111213; border: 1px solid var(--weak); border-bottom: 0; color: var(--muted); transition: background .2s, color .2s, padding .25s var(--ease); }
.roads-tab-kicker { display: flex; align-items: center; gap: 8px; font: 600 10.5px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.roads-tab-kicker::before { content: ''; width: 7px; height: 7px; border: 1px solid currentColor; flex: none; }
.roads-tab-title { font: 600 clamp(19px, 2.2vw, 27px)/1.02 var(--display); letter-spacing: -.005em; }
.roads-tab:hover { color: var(--text); background: #17191a; }
.roads-tab[aria-selected="true"] { z-index: 1; margin-bottom: -1px; padding-top: 22px; background: var(--surface-2); color: var(--text); }
.roads-tab[aria-selected="true"]::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--amber); }
.roads-tab[aria-selected="true"] .roads-tab-kicker { color: var(--amber); }
.roads-tab[aria-selected="true"] .roads-tab-kicker::before { background: var(--amber); border-color: var(--amber); }
.road { display: grid; gap: 28px; background: var(--surface-2); border: 1px solid var(--weak); padding: 28px 20px 26px; }
.roads:not([data-ready]) .road + .road { margin-top: 16px; }
.road[hidden] { display: none; }
.road-label { display: none; font: 600 11px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.roads:not([data-ready]) .road-label { display: block; }
.road h3 { font-size: clamp(30px, 3.2vw, 42px); max-width: 18ch; }
.road-main > p { color: var(--muted); font-size: 15.5px; margin-top: 14px; max-width: 46ch; }
.road-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 26px; }
.road-price .price { font-size: clamp(54px, 5.2vw, 70px); }
.road-note { font-size: 13.5px; color: var(--muted); margin-top: 10px; max-width: 44ch; }
.road-note strong { color: var(--text); }
.road-side .list-label:first-child { margin-top: 0; }
.road-side .checks { margin-bottom: 18px; }
.road-exit { font-size: 13.5px; color: var(--muted); border-left: 2px solid var(--amber); padding: 2px 0 2px 12px; }
html.motion .road.is-entering { animation: road-in .38s var(--ease); }
@keyframes road-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------------------------------------------------------------- contatti: un pulsante basta */
.contact-note { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 16px; }
.contact-note a { color: var(--text); }
.btn .btn-sub { display: block; font-weight: 500; font-size: 12.5px; opacity: .78; margin-top: 3px; }

/* ---------------------------------------------------------------- dialogo video */
.video-dialog { background: var(--bg); color: var(--text); border: 1px solid var(--weak); padding: 16px; width: min(760px, 94vw); max-height: 94svh; }
.video-dialog::backdrop { background: rgba(7, 8, 7, .88); }
.video-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.video-top h2 { font: 600 22px/1.1 var(--display); letter-spacing: 0; }
.video-top button { min-height: 44px; padding: 0 16px; background: none; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 10px; }
.video-dialog video { width: 100%; max-height: 76svh; background: #000; object-fit: contain; }
.video-dialog .video-error { margin-top: 12px; color: var(--amber); font-size: 14px; }

/* ---------------------------------------------------------------- chiusura e footer */
.closing { padding-block: 90px 100px; border-top: 1px solid var(--weak); }
.closing h2 { max-width: 16ch; }
.closing .lead { margin-top: 20px; }
.footer { position: relative; z-index: 5; background: var(--bg); border-top: 1px solid var(--weak); padding: 56px 0 28px; color: var(--muted); font-size: 13.5px; }
.footer-grid { display: grid; gap: 34px; }
.footer .wordmark { font-size: 26px; display: inline-block; }
.footer-tag { margin-top: 12px; }
.footer nav { display: grid; gap: 10px; }
.footer nav a, .footer-contacts a { text-decoration: none; color: var(--text); width: fit-content; }
.footer nav a:hover, .footer-contacts a:hover { color: var(--amber); }
.footer-contacts { display: grid; gap: 10px; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--weak); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 12.5px; line-height: 1.7; }
.footer-bottom a { color: var(--muted); }
.footer .mode-switch { background: none; border: 1px solid var(--line); color: var(--muted); min-height: 38px; padding: 0 12px; font-size: 12.5px; }
.footer .mode-switch:hover { color: var(--text); border-color: var(--amber); }

/* ---------------------------------------------------------------- comparse sobrie (solo con movimento) */
.reveal { opacity: 1; }
html.motion .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
html.motion .reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ---------------------------------------------------------------- breakpoint */
@media (min-width: 760px) {
  :root { --gutter: 36px; }
  .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
  .roads[data-ready] .roads-tabs { gap: 8px; }
  .roads-tab { padding: 16px 22px 15px; min-height: 86px; }
  .roads-tab[aria-selected="true"] { padding-top: 26px; }
  .road { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; padding: 42px 40px 38px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1080px) {
  :root { --gutter: 56px; --nav: 72px; }
  .nav-main { display: flex; align-items: center; gap: 28px; margin-right: 10px; }
  .menu-btn { display: none; }
  .offer { padding: 32px 30px 28px; }
  .offer.is-featured { margin-block: -18px; padding-block: 50px 46px; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .wordmark { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-forced) *, html:not(.motion-forced) *::before, html:not(.motion-forced) *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* ---------------------------------------------------------------- il gesto da fare (home in 3D, stanza di Lavori)
   Il dito su tutto quello che non ha un mouse (telefono, tablet); la rotella solo con hover + pointer fine.
   Si decide dal tipo di puntatore, mai dalla larghezza: su un dispositivo touch il mouse non compare mai. */
.gesture { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 42px; }
.gesture .g-finger { width: 30px; height: 38px; fill: none; stroke: var(--text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; animation: swipe 1.8s var(--ease) infinite; }
.gesture .g-finger .g-trail { stroke: var(--amber); }
.gesture .g-mouse { display: none; width: 20px; height: 31px; border: 1.6px solid var(--text); border-radius: 11px; position: relative; }
.gesture .g-mouse::after { content: ''; position: absolute; left: 50%; top: 6px; width: 2px; height: 7px; margin-left: -1px; background: var(--amber); animation: wheel 1.6s var(--ease) infinite; }
@media (hover: hover) and (pointer: fine) {
  .gesture .g-finger { display: none; }
  .gesture .g-mouse { display: block; }
}
@keyframes swipe { 0% { transform: translateY(8px); opacity: 0; } 25% { opacity: 1; } 70% { transform: translateY(-6px); opacity: 1; } 100% { transform: translateY(-8px); opacity: 0; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }
.g-text-mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .g-text-touch { display: none; } .g-text-mouse { display: inline; } }
