/* Nicomena · Atelier */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap; src: url(/fonts/cormorant-garamond-latin-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300; font-display: swap; src: url(/fonts/cormorant-garamond-latin-300-italic.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/cormorant-garamond-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/cormorant-garamond-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/instrument-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/instrument-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/instrument-sans-latin-600-normal.woff2) format('woff2'); }

:root {
  --bg: #14110E;
  --deep: #0B0907;
  --surface: #1C1814;
  --text: #EEE5D4;
  --muted: #A89D88;
  --muted-deep: #8F8571;
  --gold: #CFA75C;
  --line: #352E26;
  --line-deep: #29231D;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 9vw, 120px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
a:hover { color: var(--text); }
input, select, textarea, button { font: inherit; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--bg); padding: 10px 16px; font-family: var(--sans); font-size: 13px; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- struttura */

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 980px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-text { max-width: 760px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-bottom { padding-bottom: var(--section); }
.page-head { padding-top: clamp(56px, 8vw, 110px); padding-bottom: 40px; display: flex; flex-direction: column; gap: 22px; }
.page-head-sm { padding-top: clamp(32px, 5vw, 56px); padding-bottom: 28px; }
.contact.page-head { padding-bottom: var(--section); }
.dark { background: var(--deep); color: var(--text); }
.surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.line-top { border-top: 1px solid var(--line); }

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.stack-md { display: flex; flex-direction: column; gap: 24px; }
.stack-lg { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-top { align-items: start; padding-top: 40px; }
.split-end { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 80px; align-items: end; padding-bottom: 56px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- tipografia */

.eyebrow { font-family: var(--sans); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.eyebrow-line { display: flex; align-items: center; gap: 14px; }
.eyebrow-line::before { content: ''; width: 40px; height: 1px; background: var(--gold); flex: none; }
.display { font-size: clamp(56px, 10vw, 160px); line-height: .9; letter-spacing: -.02em; max-width: 9em; text-wrap: balance; }
.display em, .h1 em { font-style: italic; color: var(--gold); }
.h1 { font-size: clamp(46px, 6.4vw, 96px); line-height: .98; text-wrap: balance; }
.h1-sm { font-size: clamp(40px, 5vw, 64px); line-height: 1; text-wrap: balance; }
.h2 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1; text-wrap: balance; }
.h2.big { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; }
.h3 { font-size: 32px; font-weight: 400; line-height: 1.08; }
.h3-lg { font-size: 40px; line-height: 1.05; }
.h4 { font-size: 28px; font-weight: 400; line-height: 1.15; margin-top: 12px; }
.narrow { max-width: 14em; }
.h1.narrow { max-width: 12em; }
.lead { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; color: var(--muted); max-width: 30em; text-wrap: pretty; }
.lead-lg { font-size: clamp(26px, 2.6vw, 34px); font-weight: 300; line-height: 1.3; text-wrap: pretty; }
.body-xl { font-size: 22px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.body-lg { font-size: 21px; line-height: 1.6; color: var(--muted); max-width: 30em; text-wrap: pretty; }
.body-md { font-size: 19px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.sign { font-family: var(--sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.diamond { width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); flex: none; }
.diamond-sm { display: inline-block; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); margin-right: 12px; vertical-align: middle; }
.break { overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- pulsanti */

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px 28px; min-height: 50px; cursor: pointer;
  font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid; transition: color .2s, background-color .2s, border-color .2s;
}
.btn-gold { border-color: var(--gold); background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-outline { border-color: var(--text); background: transparent; color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.link-arrow {
  display: inline-block; border-bottom: 1px solid var(--gold); padding: 4px 0; color: var(--gold);
  font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.link-arrow.small { font-size: 11px; align-self: flex-start; margin-top: 4px; }
.link-back { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }

/* ---------------------------------------------------------------- testata */

.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { padding-top: 16px; padding-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { color: var(--text); display: flex; flex-direction: column; gap: 3px; }
.brand:hover { color: var(--text); }
.brand-name { font-size: 30px; font-weight: 500; letter-spacing: .04em; line-height: 1; }
.brand-tag { font-family: var(--sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); margin-left: auto; }
.nav-link {
  padding: 6px 0; color: var(--text); display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
}
.nav-link:hover { color: var(--gold); }
.nav-link i { width: 5px; height: 5px; }
.nav-link.is-active i { background: var(--gold); transform: rotate(45deg); }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); padding: 2px; flex: none; }
.lang a { padding: 5px 9px; font-family: var(--sans); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.lang a:hover { color: var(--text); }
.lang a.is-active { background: var(--text); color: var(--bg); }

@media (min-width: 761px) and (max-width: 1100px) {
  .bar { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'brand lang' 'nav nav'; gap: 10px 16px; padding-bottom: 0; }
  .brand { grid-area: brand; }
  .brand-name { font-size: 26px; }
  .lang { grid-area: lang; }
  .nav {
    grid-area: nav; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
    overflow-x: auto; scrollbar-width: none; gap: 18px; justify-content: space-between; border-top: 1px solid var(--line);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav-link { padding: 12px 0 8px; font-size: 11px; letter-spacing: .12em; }
  html { scroll-padding-top: 130px; }
}

/* ---------------------------------------------------------------- foto */

.ph { width: 100%; height: 100%; background: repeating-linear-gradient(135deg, #1C1814 0 10px, #221D18 10px 20px); }
.frame { border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.frame > img, .frame > .ph { width: 100%; height: 100%; object-fit: cover; }
.frame-4-5 { aspect-ratio: 4 / 5; }
.frame-5-4 { aspect-ratio: 5 / 4; }
.frame-16-10 { aspect-ratio: 16 / 10; }

/* ---------------------------------------------------------------- home */

.hero {
  position: relative; min-height: calc(100svh - 80px); display: flex; align-items: flex-end; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, #1A1612 0 12px, #17130F 12px 24px);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,17,14,.92) 0%, rgba(20,17,14,.55) 45%, rgba(20,17,14,.25) 100%); }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 45% at 68% 38%, rgba(207,167,92,.22), transparent 70%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: clamp(48px, 8vw, 110px); padding-bottom: clamp(48px, 8vw, 110px); display: flex; flex-direction: column; gap: 28px; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

.facts-band { border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.fact { padding: 30px 24px 30px 0; display: flex; align-items: baseline; gap: 16px; }
.fact-big { font-size: 44px; font-weight: 300; color: var(--gold); line-height: 1; }
.fact-small { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; line-height: 1.45; color: var(--muted); }

.manifesto { padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.manifesto-text { font-size: clamp(28px, 3.4vw, 46px); font-weight: 300; line-height: 1.25; text-wrap: balance; }

.service-list { display: flex; flex-direction: column; }
.service-row { border-top: 1px solid var(--line); padding: 16px 0; color: var(--text); display: grid; grid-template-columns: 48px 1fr auto; align-items: baseline; gap: 12px; }
.service-row:hover { color: var(--gold); }
.service-n { font-family: var(--sans); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.service-name { font-size: 26px; line-height: 1.15; }
.service-arrow { font-size: 20px; color: var(--gold); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--line-deep); }
.step { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.step-n { font-size: 40px; font-style: italic; font-weight: 300; color: var(--gold); line-height: 1; }
.step-name { font-size: 26px; line-height: 1.1; }
.step-short { font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--muted-deep); }
.dark .link-arrow { color: var(--gold); }

.works { display: grid; gap: 20px; }
.works-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.works-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 36px 20px; }
.work { display: flex; flex-direction: column; gap: 12px; color: var(--text); }
.work:hover { color: var(--gold); }
.work-img { aspect-ratio: 3 / 4; border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.work-img img, .work-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work:hover .work-img img { transform: scale(1.03); }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.work-title { font-size: 23px; line-height: 1.2; }
.work-cat { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.work-price, .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.price-amount { font-size: 22px; color: var(--gold); line-height: 1.1; }
.price-note { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.work-price { margin-top: -4px; }
.work-img { position: relative; }
.sold-tag {
  position: absolute; top: 12px; left: 12px; padding: 6px 10px; background: rgba(20,17,14,.88); border: 1px solid var(--gold);
  font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.price-sold { font-family: var(--sans); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.price { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; gap: 6px 16px; }
.price .price-amount { font-size: 34px; font-weight: 300; }
.price .price-note { font-size: 12px; letter-spacing: .2em; }

.cta-final { padding-top: var(--section); padding-bottom: var(--section); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.cta-final .body-lg { max-width: 30em; }
.cta-band { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band .h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; max-width: 16em; }

/* ---------------------------------------------------------------- laboratorio */

.steps-long { display: flex; flex-direction: column; }
.step-long { border-top: 1px solid var(--line); padding: 32px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px 48px; align-items: baseline; }
.step-head { display: flex; align-items: baseline; gap: 20px; }
.step-head .step-n { font-size: 44px; min-width: 56px; }
.step-name-lg { font-size: 32px; line-height: 1.1; }

/* ---------------------------------------------------------------- servizi */

.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); border-left: 1px solid var(--line); }
.service-group { display: contents; }
.service-area, .service-sign { display: none; }
.service-card { border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: -1px; padding: 36px 32px 40px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.service-card summary { list-style: none; display: flex; flex-direction: column; gap: 14px; cursor: default; }
.service-card summary::-webkit-details-marker { display: none; }
.service-body { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.service-tag { font-family: var(--sans); font-size: 12px; color: var(--gold); letter-spacing: .12em; }

/* ---------------------------------------------------------------- creazioni */

.page-head:has(+ .chips-bar) { padding-bottom: 22px; }
.chips-bar { padding-bottom: 40px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); color: var(--text); padding: 10px 18px; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-active { border-color: var(--text); background: var(--text); color: var(--bg); }
.empty { padding: 40px 0; }

.work-detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
/* foto del prodotto: una alla volta, si scorrono di lato */
.work-gallery { position: relative; min-width: 0; }
.work-photos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.work-photos::-webkit-scrollbar { display: none; }
.work-photos > .frame { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1 / 1; }
.work-photos img { width: 100%; height: 100%; object-fit: cover; }
.work-dots { display: flex; justify-content: center; align-items: center; gap: 12px; height: 24px; margin-top: 14px; }
.work-dots span { width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); transition: background-color .2s; }
.work-dots span.is-active { background: var(--gold); }
.gal-nav {
  position: absolute; top: calc(50% - 19px); width: 48px; height: 48px; margin-top: -24px; cursor: pointer;
  background: rgba(20, 17, 14, .75); border: 1px solid var(--line); color: var(--text); font-size: 18px; transition: opacity .2s, border-color .2s, color .2s;
}
.gal-nav:hover { border-color: var(--gold); color: var(--gold); }
.gal-nav, .lb-nav { opacity: 0; pointer-events: none; transition: opacity .3s, border-color .2s, color .2s; }
/* le frecce compaiono quando si muove il mouse sulla foto e spariscono da ferme */
.show-nav .gal-nav, .show-nav .lb-nav, .gal-nav:focus-visible, .lb-nav:focus-visible { opacity: 1; pointer-events: auto; }
.show-nav .gal-nav:disabled, .gal-nav:disabled { opacity: 0; pointer-events: none; }
.gal-prev { left: 16px; }
.gal-next { right: 16px; }
@media (hover: none) { .gal-nav { display: none; } }
.work-info { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 22px; }
/* telefono e tablet: prima le foto, poi nome, prezzo e pulsanti */
@media (max-width: 900px) {
  .work-detail { grid-template-columns: 1fr; }
  .work-info { position: static; }
  .work-photos > .frame { aspect-ratio: 4 / 5; }
}

/* foto a schermo intero */
.zoomable { display: block; cursor: zoom-in; }
body.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 100; background: var(--deep); display: flex; flex-direction: column; }
.lb[hidden] { display: none; }
.lb-bar { flex: none; height: 60px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.lb-count { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; color: var(--muted); }
.lb-close { min-height: 44px; padding: 0 0 0 16px; background: none; border: 0; cursor: pointer; color: var(--gold); font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.lb-close:hover { color: var(--text); }
.lb-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: none; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; cursor: zoom-in; }
.lb.is-zoomed .lb-img { cursor: grab; }
.lb-img.is-anim { transition: transform .25s ease; }
.lb-nav {
  position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; cursor: pointer;
  background: rgba(20, 17, 14, .75); border: 1px solid var(--line); color: var(--text); font-size: 18px;
}
.lb-nav:hover { border-color: var(--gold); color: var(--gold); }
.lb-prev { left: var(--gutter); }
.lb-next { right: var(--gutter); }
.lb-nav[hidden] { display: none; }
.lb-hint { flex: none; margin: 0; padding: 12px var(--gutter) calc(14px + env(safe-area-inset-bottom)); text-align: center; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .lb-nav { display: none; } }

/* ---------------------------------------------------------------- contatti */

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(48px, 6vw, 96px); align-items: start; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; border-top: 1px solid var(--line); padding-top: 28px; }
.info { display: flex; flex-direction: column; gap: 8px; }
.info-label { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.info-text { font-size: 23px; line-height: 1.35; }
.info-text a { color: var(--text); }
.info-text a:hover { color: var(--gold); }
.hours { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.hours dt { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.hours dd { margin: 0; font-size: 23px; line-height: 1.35; }
.notice { border: 1px solid var(--gold); padding: 16px 20px; font-size: 21px; line-height: 1.4; }

.map { position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) sepia(.3) contrast(.9); }
.map-cover {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center;
  background: repeating-linear-gradient(135deg, #1C1814 0 10px, #201B16 10px 20px);
}
.map-cover small { font-family: var(--sans); font-size: 12px; color: var(--muted); max-width: 32em; }

.form-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.form { display: flex; flex-direction: column; gap: 18px; font-family: var(--sans); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  border: 0; border-bottom: 1px solid var(--text); border-radius: 0; background: transparent; padding: 10px 0;
  font-size: 17px; color: var(--text); letter-spacing: 0; text-transform: none; width: 100%; min-width: 0;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23CFA75C' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 24px; }
.field select option { background: var(--surface); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.form-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px; }
.form-note { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------------------------------------------------------------- piè di pagina */

.footer-inner { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand .brand-name { font-size: 32px; }
.footer-text { font-size: 20px; line-height: 1.5; color: var(--muted-deep); }
.footer-text a { color: var(--muted); }
.footer-text a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-deep); padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--sans); font-size: 12px; letter-spacing: .08em; color: var(--muted-deep); }
.footer-bottom a { color: var(--muted); }

/* ---------------------------------------------------------------- telefono */

.menu-btn, .m-menu, .tabbar, .m-only, .step-text { display: none; }

@media (max-width: 760px) {
  :root { --section: 56px; }
  html { scroll-padding-top: 76px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body.menu-open { overflow: hidden; }
  .d-only { display: none !important; }
  .m-only { display: revert; }

  /* testata e menu */
  .bar { height: 60px; padding-top: 0; padding-bottom: 0; }
  .brand { gap: 2px; }
  .brand-name { font-size: 25px; }
  .brand-tag { font-size: 9px; letter-spacing: .28em; }
  .site-header .nav, .site-header .lang { display: none; }
  .menu-btn:not([hidden]) {
    display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; padding: 0 10px;
  }
  .burger { display: flex; flex-direction: column; gap: 7px; }
  .burger i { width: 22px; height: 1px; background: var(--text); }
  .menu-btn-open { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn-close { display: none; font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
  .menu-btn[aria-expanded="true"] .burger { display: none; }
  .menu-btn[aria-expanded="true"] .menu-btn-close { display: inline; }

  .m-menu:not([hidden]) {
    display: flex; flex-direction: column; gap: 32px; position: fixed; top: 60px; bottom: calc(68px + env(safe-area-inset-bottom)); left: 0; right: 0; z-index: 30;
    background: var(--bg); overflow-y: auto; padding: 28px var(--gutter) 32px;
  }
  .m-nav { display: flex; flex-direction: column; }
  .m-nav-link { border-bottom: 1px solid var(--line); padding: 16px 0; color: var(--text); display: flex; align-items: baseline; gap: 16px; }
  .m-nav-n { font-family: var(--sans); font-size: 11px; color: var(--gold); letter-spacing: .1em; width: 22px; }
  .m-nav-label { font-size: 38px; font-weight: 300; line-height: 1; flex: 1; }
  .m-nav-link.is-active i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); align-self: center; }
  .m-lang { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .m-lang-label { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
  .m-lang .lang a { min-width: 52px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 12px; }
  .m-info { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 18px; }
  .m-info .info { gap: 6px; }
  .m-info .info-label { font-size: 10px; }
  .m-info-text { font-size: 21px; line-height: 1.3; }
  .quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
  .quick-actions .btn { min-height: 52px; padding: 0 8px; letter-spacing: .18em; }

  /* barra in basso */
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    height: calc(68px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--deep); border-top: 1px solid var(--line);
  }
  .tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 0 2px; color: var(--muted);
    font-family: var(--sans); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  }
  .tab i { width: 5px; height: 5px; transform: rotate(45deg); }
  .tab.is-active { color: var(--gold); }
  .tab.is-active i { background: var(--gold); }
  .tab-cta { margin: 9px 2px; gap: 4px; background: var(--gold); color: var(--bg); font-weight: 600; letter-spacing: .12em; }
  .tab-cta i { width: 6px; height: 6px; background: var(--bg); }
  .tab-cta:hover, .tab-cta.is-active { color: var(--bg); }
  .tab-cta.is-active i { background: var(--bg); }
  @media (max-width: 390px) { .tab { font-size: 9px; letter-spacing: .04em; } }

  /* tipografia */
  .eyebrow { font-size: 11px; letter-spacing: .26em; }
  .eyebrow-line::before { width: 28px; }
  .display { font-size: 58px; line-height: .92; }
  .h1, .h1-sm { font-size: 44px; line-height: 1; }
  .h2, .h2.big { font-size: 38px; line-height: 1.05; }
  .lead { font-size: 20px; }
  .lead-lg { font-size: 25px; }
  .body-lg, .body-xl { font-size: 19px; line-height: 1.55; }
  .body-md { font-size: 18px; line-height: 1.55; }
  .page-head { padding-top: 40px; padding-bottom: 24px; gap: 16px; }
  .btn { min-height: 56px; }

  /* home */
  .hero { min-height: calc(100svh - 128px); }
  .hero-inner { padding-top: 40px; padding-bottom: 32px; gap: 20px; }
  .hero-btns { display: none; }
  .facts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; padding: 0; }
  .facts::-webkit-scrollbar, .steps::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
  .fact { flex: 0 0 72%; scroll-snap-align: start; padding: 24px 20px; border-right: 1px solid var(--line); gap: 14px; }
  .fact-big { font-size: 38px; }
  .fact-small { letter-spacing: 0; }
  .manifesto { padding-top: 64px; padding-bottom: 64px; gap: 22px; }
  .manifesto-text { font-size: 28px; line-height: 1.28; }
  .sign { font-size: 11px; }
  .split { gap: 26px; }
  .service-row { min-height: 60px; padding: 14px 0; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; }
  .service-row:nth-child(n + 5) { display: none; }
  .service-n { font-size: 11px; }
  .service-name { font-size: 23px; }
  .service-arrow { font-size: 18px; }
  .service-more { display: flex; align-items: center; height: 56px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
  .steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 0; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .stack-lg { gap: 28px; }
  .step { flex: 0 0 78%; scroll-snap-align: start; border: 1px solid var(--line-deep); padding: 24px 20px; gap: 10px; min-height: 190px; }
  .step-n { font-size: 36px; }
  .step-short { display: none; }
  .step-text { display: block; font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--muted); }
  .swipe { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: -8px; }
  .head-row { flex-wrap: nowrap; gap: 16px; }
  .head-row .link-arrow { border: 0; flex: none; font-size: 11px; letter-spacing: .18em; }
  .works-4, .works-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .works-4 { gap: 12px; }
  .work { gap: 8px; }
  .work-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .work-title { font-size: 19px; line-height: 1.15; }
  .work-cat { font-size: 10px; white-space: normal; }
  .work-price { margin-top: 0; gap: 2px 8px; }
  .price-amount { font-size: 19px; }
  .price-note { font-size: 10px; letter-spacing: .12em; }
  .price .price-amount { font-size: 30px; }
  .work-info .btn-row .btn { flex: 1 1 100%; }
  .cta-final { gap: 20px; }
  .cta-final .btn { width: 100%; }

  /* laboratorio */
  .split-top { padding-top: 0; }
  .step-long { padding: 22px 0; gap: 10px; }
  .step-head { gap: 16px; }
  .step-head .step-n { font-size: 32px; min-width: 40px; }
  .step-name-lg { font-size: 27px; }

  /* servizi: elenco a fisarmonica raggruppato per area */
  .split-end { padding-bottom: 24px; gap: 16px; }
  .service-grid { display: flex; flex-direction: column; gap: 28px; border: 0; }
  .service-group { display: flex; flex-direction: column; }
  .service-area { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
  .service-card { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 0; min-height: 0; gap: 0; }
  .service-card summary { display: grid; grid-template-columns: 36px 1fr 24px; align-items: center; gap: 10px; min-height: 60px; padding: 14px 0; cursor: pointer; }
  .service-tag { font-size: 11px; letter-spacing: .1em; }
  .service-tag-area { display: none; }
  .service-card .h3 { font-size: 24px; line-height: 1.15; }
  .service-sign { display: block; font-family: var(--sans); font-size: 20px; color: var(--gold); text-align: center; }
  .service-sign::before { content: '+'; }
  .service-card[open] .service-sign::before { content: '−'; }
  .service-body { margin: 0; padding: 0 0 20px 46px; }
  .cta-band .btn { width: 100%; }

  /* creazioni: filtri fermi sotto la testata */
  .page-head:has(+ .chips-bar) { padding-bottom: 20px; }
  .chips-bar { position: sticky; top: 60px; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); padding: 0; margin-bottom: 20px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .chip { flex: none; height: 40px; display: flex; align-items: center; padding: 0 16px; font-size: 11px; letter-spacing: .14em; }

  /* contatti: modulo subito dopo l'introduzione */
  .contact { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .contact > .stack-lg { display: contents; }
  .contact .stack .quick-actions { margin-top: 8px; }
  .contact .info-grid { order: 3; padding-top: 24px; gap: 24px; }
  .contact .map { order: 4; aspect-ratio: 4 / 3; }
  .form-card { order: 2; padding: 28px 20px; gap: 22px; }
  .h3-lg { font-size: 32px; }
  .form-foot .btn { width: 100%; }
  .info-label { font-size: 10px; }
  .info-text, .hours dd { font-size: 22px; }

  /* piè di pagina */
  .footer-inner { padding-top: 36px; padding-bottom: 28px; gap: 24px; }
  .footer-grid { gap: 18px; }
  .footer-brand .brand-name { font-size: 26px; }
  .footer-brand .brand-tag { font-size: 9px; }
  .footer-text { font-size: 18px; }
  .footer-bottom { font-size: 11px; letter-spacing: .06em; padding-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
