:root {
  color-scheme: light;
  --paper: #fbf8f3;
  --paper-deep: #efe7db;
  --ink: #211a17;
  --muted: #594b43;
  --line: #d9ccbd;
  --accent: #805039;
  --light-text: #fcf4e9;
  --light-muted: #e1d2c4;
  --dark-line: #614d41;
  --focus: #8c5137;
  --display: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1.125rem, 4.3vw, 4.5rem);
  --section-space: clamp(3.5rem, 7vw, 7rem);
  --shell: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
}

::selection { background: #e6d3c2; color: var(--ink); }
html { -webkit-tap-highlight-color: rgb(128 80 57 / .18); accent-color: var(--accent); caret-color: var(--accent); scrollbar-color: #b9a593 var(--paper); }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
a { color: inherit; touch-action: manipulation; }
img { display: block; max-width: 100%; }
h1, h2, p, figure, dl, dd, ul { margin: 0; }
h1, h2 { font: 400 1em/.99 var(--display); letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: 1.25rem; }

.shell {
  width: min(var(--shell), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  inset: .75rem auto auto .75rem;
  padding: .6rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(calc(-100% - 1.25rem));
}

.skip-link:focus { transform: translateY(0); }

.site-header, .hero, .site-footer {
  --focus: #f3c9ab;
  background: var(--ink);
  color: var(--light-text);
}

.site-header { color-scheme: dark; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 5rem;
}

.home-page .header-inner { border-bottom: 1px solid var(--dark-line); }

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: .7rem;
  text-decoration: none;
}

.brand img { border-radius: 50%; }
.brand-name { font: 400 1.85rem/.85 var(--display); }
.brand small { display: block; margin-top: .35rem; font: 500 .73rem/1.1 var(--body); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 3vw, 2.5rem);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  position: relative;
  min-height: 44px;
  color: var(--light-muted);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 .28rem;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--light-text); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { border-color: currentColor; }

.hero { position: relative; isolation: isolate; overflow: hidden; }

.hero-grid {
  display: grid;
  align-items: center;
  min-height: clamp(30rem, 48vw, 42rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding: 4rem 0 4.5rem;
}

.hero h1 { font-size: clamp(3.35rem, 7vw, 6rem); }
.hero-copy p { max-width: 35ch; margin-top: 1.4rem; color: var(--light-muted); font-size: clamp(1rem, 1.35vw, 1.14rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.3rem; }

/* Foto dei cinturini a tutta larghezza dietro al testo */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  overflow: hidden;
}

.finish-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Velo marrone sotto il testo, così si legge su qualsiasi cinturino */
  background:
    radial-gradient(ellipse 58% 85% at 16% 55%, rgb(46 28 18 / .93) 0%, rgb(46 28 18 / .78) 38%, rgb(46 28 18 / .3) 64%, rgb(46 28 18 / 0) 82%),
    linear-gradient(180deg, var(--ink) 0, rgb(33 26 23 / 0) 16%);
  pointer-events: none;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  width: fit-content;
  min-height: 44px;
  padding-block: .35rem;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}

.hero .action-link, .site-footer .action-link { color: var(--light-text); }
.action-link:hover { color: var(--ink); }
.hero .action-link:hover, .site-footer .action-link:hover { color: var(--focus); }


.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .6rem 1rem;
  border: 1px solid transparent;
  background: var(--contact-fill, var(--light-text));
  color: var(--contact-text, var(--ink));
  font: 700 .94rem/1.25 var(--body);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.contact-button[hidden] { display: none; }
.contact-button:hover { background: var(--contact-hover, var(--paper-deep)); }

.contact-button-secondary {
  border-color: currentColor;
  background: transparent;
  color: var(--contact-secondary, var(--light-text));
}

.contact-button-secondary:hover { background: var(--contact-secondary-hover, var(--dark-line)); }

.contact-dialog {
  --contact-fill: var(--ink);
  --contact-text: var(--light-text);
  --contact-hover: var(--accent);
  --contact-secondary: var(--ink);
  --contact-secondary-hover: var(--paper-deep);
  width: min(28rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior: contain;
}

.contact-dialog:not([open]) { display: none; }
.contact-dialog::backdrop { background: rgb(33 26 23 / .76); }
.contact-panel { position: relative; padding: clamp(1.2rem, 5vw, 2rem); }
.contact-panel h2 { padding-right: 3rem; font-size: clamp(2.45rem, 8vw, 3.6rem); }

.contact-close {
  position: absolute;
  inset: .7rem .7rem auto auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
}

.contact-close::before, .contact-close::after {
  content: "";
  grid-area: 1 / 1;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.contact-close::after { transform: rotate(-45deg); }
.contact-close:hover { background: var(--paper-deep); }

.contact-options { display: flex; flex-wrap: wrap; gap: .65rem; }
.contact-panel .contact-options { margin-top: 1.25rem; }
.contact-note { margin-top: .75rem; font-size: .85rem; }
.contact-panel .contact-note { color: var(--muted); }
.contact-fallback-options { margin-top: 1rem; }

.link-arrow {
  --turn: 0deg;
  position: relative;
  display: inline-block;
  flex: 0 0 1.05rem;
  width: 1.05rem;
  height: .7rem;
  transform: rotate(var(--turn));
}

.link-arrow::before, .link-arrow::after { content: ""; position: absolute; }

.link-arrow::before {
  inset: 50% .12rem auto 0;
  border-top: 1px solid currentColor;
}

.link-arrow::after {
  top: 50%;
  right: .13rem;
  width: .4rem;
  height: .4rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-43%) rotate(45deg);
}

.link-arrow-external { --turn: -45deg; }

.finish-preview, .catalog { padding-block: var(--section-space); }

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: end;
  padding-bottom: 1.65rem;
  border-bottom: 1px solid var(--line);
}

.section-intro h2, .bio h2 { font-size: clamp(2.8rem, 5.2vw, 5rem); }
.section-intro p { max-width: 38ch; padding-bottom: .18rem; color: var(--muted); }
.catalog-intro h1 { font-size: clamp(4rem, 8vw, 6rem); }

.finish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
  margin-top: clamp(1.25rem, 3vw, 2.25rem);
  padding: 0;
  list-style: none;
}

.finish-link {
  display: block;
  height: 100%;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.finish-link:hover { color: var(--accent); border-color: currentColor; }
.finish-price { display: block; margin-top: -.2rem; padding-bottom: .8rem; color: var(--muted); font-size: .95rem; font-variant-numeric: lining-nums; }

.finish-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.3;
  background: var(--paper-deep);
}

.finish-photo-squama img { object-position: center; }
.finish-photo-razza img { object-position: 50% 36%; }
.finish-photo-athena img { object-position: center; }

.finish-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  min-height: 3.4rem;
  padding-block: .65rem;
  font: 400 clamp(1.7rem, 3vw, 2.45rem)/1.05 var(--display);
}

.product { display: flex; flex-direction: column; align-items: flex-start; }
.product .finish-photo { width: 100%; }
.product:target .finish-photo { outline: 1px solid var(--accent); outline-offset: 4px; }
.product:target h2 { color: var(--accent); }
.product h2 { margin-top: 1.25rem; font-size: clamp(2.3rem, 3.8vw, 3.4rem); text-wrap: initial; }
.product > p { margin: .55rem 0 1.1rem; color: var(--muted); }
.product > .product-material { margin: .2rem 0 0; color: var(--accent); }
.product-price { color: var(--muted); font-size: .95rem; }
.product-price strong { color: var(--ink); font: 400 1.45rem/1 var(--display); font-variant-numeric: lining-nums; letter-spacing: -.01em; }
.product > .product-price { margin: -.35rem 0 1.15rem; }
.product-info .product-price { margin-top: 1.1rem; }

.product-details {
  width: 100%;
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  font-size: .94rem;
}

.product-details dd { margin-top: .15rem; }
.product .contact-button {
  --contact-fill: var(--ink);
  --contact-text: var(--light-text);
  --contact-hover: var(--accent);
  margin-top: .85rem;
}

/* Schede prodotto */
.product-photo-link { display: block; width: 100%; text-decoration: none; }
.product-material {
  margin-top: .3rem;
  color: var(--accent);
  font-size: .95rem;
  font-weight: 600;
}
.product h2 a { text-decoration: none; }
.product h2 a:hover { color: var(--accent); }

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: 1rem;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgb(128 80 57 / .06) 14px 15px),
    var(--paper-deep);
  color: var(--muted);
  text-align: center;
}
.photo-placeholder-name { font: 400 clamp(2rem, 3.4vw, 2.8rem)/1 var(--display); color: var(--ink); }
.photo-placeholder-note { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Carosello foto */
.gallery { width: 100%; min-width: 0; }
.gallery-frame { position: relative; }
.gallery-track {
  display: flex;
  aspect-ratio: 1;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: var(--paper-deep);
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .3rem .6rem;
  background: var(--ink);
  color: var(--light-text);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.gallery-btn {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgb(251 248 243 / .92);
  box-shadow: 0 1px 6px rgb(33 26 23 / .25);
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
  touch-action: manipulation;
}
.gallery-btn:hover { background: var(--light-text); color: var(--accent); }
.gallery-btn:disabled { opacity: 0; pointer-events: none; }
.gallery-prev { left: .6rem; }
.gallery-next { right: .6rem; }
.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  color: var(--muted);
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
}
/* "Vedi i colori": un vero bottone, con tre pallini di pelle per far capire che ci sono più colori */
.gallery-colors {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 40px;
  padding: 0 .9rem 0 .7rem;
  border: 1.5px solid var(--ink);
  background: var(--paper, #fff);
  color: var(--ink);
  font: 700 .88rem/1 var(--body);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 160ms ease, color 160ms ease;
}
.gallery-colors:hover { background: var(--ink); color: var(--light-text); }
.gallery-colors-dots { display: inline-flex; }
.gallery-colors-dots span {
  width: .8rem;
  height: .8rem;
  border: 1.5px solid var(--paper, #fff);
  border-radius: 50%;
  background: #9a6234;
}
.gallery-colors-dots span + span { margin-left: -.3rem; }
.gallery-colors-dots span:nth-child(2) { background: #3f6b4b; }
.gallery-colors-dots span:nth-child(3) { background: #34497a; }
.gallery-thumbs { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .3rem; }
.gallery-thumb {
  flex: 0 0 4rem;
  height: 4rem;
  padding: 0;
  border: 2px solid transparent;
  background: var(--paper-deep);
  cursor: pointer;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb[aria-current="true"] { border-color: var(--ink); }
.gallery:not([data-gallery]) + h2 { margin-top: 1.25rem; }
.product .gallery[data-gallery] + h2 { margin-top: .4rem; }

.product .lavorazioni-note { margin: .85rem 0 0; }
.product-info .product-actions { margin-top: 1rem; }

.field-label { display: block; font-weight: 700; }
.field-select {
  width: 100%;
  min-height: 48px;
  margin-top: .45rem;
  padding: .6rem 2.4rem .6rem .85rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 1.15rem center / .4rem .4rem no-repeat,
    linear-gradient(-45deg, transparent 50%, var(--ink) 50%) right .9rem center / .4rem .4rem no-repeat,
    var(--paper);
  color: var(--ink);
  font: 500 1rem/1.3 var(--body);
  appearance: none;
  cursor: pointer;
}
.field-select:hover { border-color: var(--accent); }
.field-single { margin-top: .45rem; }
.field-single span { color: var(--muted); }

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
  margin-top: .85rem;
}
.product-actions .contact-button { margin-top: 0; }
.catalog-noscript { grid-column: 1 / -1; color: var(--muted); }

/* Pagina del singolo prodotto */
.product-page { padding-block: clamp(1.5rem, 4vw, 3rem) var(--section-space); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
}
.back-link:hover { color: var(--accent); }
.link-arrow-back { --turn: 180deg; }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: 1rem;
}
.product-page-photo { aspect-ratio: 1; }
.product-page-photo .photo-placeholder-name { font-size: clamp(2.6rem, 5vw, 4rem); }
.product-info .product-material { margin-top: .6rem; font-size: 1.02rem; }
.product-info h1 { margin-top: 0; font-size: clamp(3.2rem, 6vw, 5rem); }
.product-lead { margin-top: 1rem; color: var(--muted); font-size: 1.06rem; max-width: 40ch; }

.lavorazioni-note { margin-top: .6rem; color: var(--muted); font-size: .9rem; }

.product-note { margin-top: 1.25rem; color: var(--muted); font-size: .94rem; }
.product-info .contact-button {
  --contact-fill: var(--ink);
  --contact-text: var(--light-text);
  --contact-hover: var(--accent);
  margin-top: 1rem;
}

/* Pulsante "Lavorazioni" */
.product .contact-button-outline,
.product-info .contact-button-outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}
.product .contact-button-outline:hover,
.product-info .contact-button-outline:hover { background: var(--paper-deep); }
.product-info .product-actions { margin-top: 1rem; }

/* Foto cliccabili per ingrandirle */
.gallery-zoom {
  display: block;
  touch-action: manipulation;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gallery-zoom:focus-visible { outline-offset: -4px; }

/* Finestre: foto ingrandite, colori e lavorazioni */
html:has(dialog[open]) { overflow: hidden; }
.modal {
  --focus: var(--accent);
  width: min(60rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior: contain;
}
.modal:not([open]) { display: none; }
.modal::backdrop { background: rgb(20 15 13 / .84); }
.modal-panel { display: flex; flex-direction: column; max-height: calc(100dvh - 1.5rem); }
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(.9rem, 2.5vw, 1.25rem) clamp(1rem, 3vw, 1.5rem);
  border-bottom: 1px solid var(--line);
}
.modal-kicker { margin-top: .3rem; color: var(--accent); font-size: .92rem; font-weight: 600; }
.modal-kicker:empty { display: none; }
.modal-head h2 { margin-top: 0; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.modal-close {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: -.35rem -.5rem 0 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
}
.modal-close::before, .modal-close::after {
  content: "";
  grid-area: 1 / 1;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.modal-close::after { transform: rotate(-45deg); }
.modal-close:hover { background: var(--paper-deep); }
.modal-body { min-height: 0; overflow-y: auto; }

.lightbox { width: min(72rem, calc(100% - 1.5rem)); }
.lightbox .modal-body { display: flex; flex-direction: column; overflow: hidden; }
.lightbox-stage {
  position: relative;
  height: min(74dvh, 52rem);
  overflow: hidden;
  background: #17110f;
  touch-action: pan-y pinch-zoom;
}
.lightbox-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-stage.is-zoomed { display: block; overflow: auto; touch-action: auto; }
.lightbox-stage.is-zoomed .lightbox-img { position: static; height: auto; max-width: none; cursor: zoom-out; }
.lightbox-stage.is-zoomed .gallery-btn { display: none; }
.lightbox-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1rem;
  padding: .75rem clamp(1rem, 3vw, 1.5rem);
  color: var(--muted);
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
}
.modal .contact-button {
  --contact-fill: var(--ink);
  --contact-text: var(--light-text);
  --contact-hover: var(--accent);
}

.lav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  list-style: none;
}
.lav-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); }
.lav-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-deep); }
.lav-name { padding: .6rem .7rem 0; font-weight: 700; line-height: 1.25; }
.lav-card small { padding: .2rem .7rem .75rem; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.lav-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding: 0 clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem);
}
.lav-footer p { color: var(--muted); }

/* Biografia */
.bio { background: var(--paper-deep); }
.bio-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
  padding-block: var(--section-space);
}
.bio-intro { position: sticky; top: 2rem; }
.bio-photo { max-width: 26rem; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; }
.bio-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.bio-lead { max-width: 30ch; margin-top: 1.4rem; font: 400 clamp(1.45rem, 2.3vw, 1.9rem)/1.25 var(--display); }
.bio-text p { max-width: 58ch; color: var(--muted); }
.bio-text p + p { margin-top: 1rem; }
.bio-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}
.bio-values li { padding-top: .8rem; border-top: 1px solid var(--ink); }
.bio-values strong { display: block; }
.bio-values span { display: block; margin-top: .2rem; color: var(--muted); font-size: .92rem; }
.bio-quote { margin: 2.25rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.bio-quote p { font: 400 clamp(2rem, 3.6vw, 3rem)/1.05 var(--display); letter-spacing: -.02em; }
.bio-quote footer { margin-top: .8rem; color: var(--muted); font-size: .9rem; font-weight: 600; }

/* Footer: un'unica sezione con invito, contatti, marchio e dati legali */
.footer-contact {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: var(--section-space) clamp(2.5rem, 5vw, 3.5rem);
}
.footer-contacts {
  display: grid;
  gap: .9rem;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--dark-line);
}
.footer-intro h2 { max-width: 16ch; font-size: clamp(2.8rem, 5.2vw, 5rem); }
.footer-intro p { max-width: 38ch; margin-top: 1.1rem; color: var(--light-muted); }
.footer-contacts h3 { margin: 0; color: var(--light-muted); font: 600 .9rem/1.2 var(--body); }
.contact-button svg { flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-right: .55rem; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-block: 0 1.75rem;
}
.footer-brand img { flex-shrink: 0; border-radius: 50%; }
.footer-brand strong { display: block; font: 400 1.5rem/1 var(--display); }
.footer-brand p { margin-top: .3rem; color: var(--light-muted); font-size: .9rem; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1.5rem;
  padding-block: .6rem;
  border-top: 1px solid var(--dark-line);
  color: var(--light-muted);
  font-size: .82rem;
}
.footer-legal p { display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; margin: 0; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; }
.footer-legal a:hover { color: var(--light-text); }

/* Informativa privacy */
.legal-page { max-width: 46rem; padding-block: clamp(2rem, 5vw, 4rem) var(--section-space); }
.legal-page h1 { font-size: clamp(3rem, 7vw, 4.6rem); }
.legal-updated { margin-top: .8rem; color: var(--muted); font-size: .9rem; }
.legal-page h2 { margin-top: 2.25rem; font: 400 clamp(1.7rem, 3vw, 2.2rem)/1.1 var(--display); }
.legal-page p, .legal-page ul { margin-top: .75rem; color: var(--muted); }
.legal-page ul { padding-left: 1.2rem; }
.legal-page li + li { margin-top: .35rem; }
.legal-page strong { color: var(--ink); }
.legal-page a { color: var(--accent); text-underline-offset: .2em; }
.legal-card { margin-top: 1rem; padding: 1rem 1.15rem; border: 1px solid var(--line); background: #fff; }
.legal-card p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero-visual > img { animation: settle 1100ms cubic-bezier(.16, 1, .3, 1) both; }
  .link-arrow, .finish-link img { transition: transform 240ms cubic-bezier(.2, .7, .3, 1); }
  .action-link:hover .link-arrow, .finish-link:hover .link-arrow { transform: translateX(3px) rotate(var(--turn)); }
  .finish-link:hover img { transform: scale(1.035); }
}

@keyframes settle {
  from { transform: scale(1.045); }
  to { transform: scale(1); }
}

@media (max-width: 740px) {
  .header-inner { min-height: 4.35rem; gap: .75rem; }
  .brand { gap: .45rem; }
  .brand img { width: 2.35rem; height: 2.35rem; }
  .brand-name { font-size: 1.55rem; }
  .brand small { font-size: .64rem; margin-top: .3rem; }
  .site-nav { gap: clamp(.5rem, 2.5vw, 1.2rem); }
  .site-nav a { font-size: clamp(.75rem, 2.7vw, .875rem); }

  /* Su telefono la foto resta dietro al testo ma più piccola, così si vedono tutti i cinturini;
     il titolo sale sulla parte bassa della foto, dove la sfumatura marrone lo rende leggibile */
  .hero { background: #2e1c12; }
  .hero-grid { align-items: start; min-height: 0; }
  .hero-copy { padding: 40vw 0 2.4rem; }
  .hero h1 { font-size: clamp(3.2rem, 13vw, 5.5rem); }
  .hero-copy p { margin-top: .9rem; }
  .hero-actions { margin-top: 1.1rem; }
  .hero-visual { inset: 0 0 auto; height: 72vw; }
  .hero-visual > img { object-position: 50% 50%; }
  .hero-visual::after {
    background:
      linear-gradient(180deg, var(--ink) 0, rgb(33 26 23 / 0) 12%, rgb(46 28 18 / 0) 34%, rgb(46 28 18 / .72) 60%, rgb(46 28 18 / .93) 82%, #2e1c12 100%);
  }

  .section-intro { grid-template-columns: 1fr; gap: .8rem; padding-bottom: 1.2rem; }
  .finish-grid { grid-template-columns: 1fr; gap: 1.45rem; }
  .catalog-grid { gap: 2.7rem; }
  .finish-photo { aspect-ratio: 1.35; }
  .finish-label { font-size: 2.15rem; }

  .product-layout { grid-template-columns: minmax(0, 1fr); }
  .product-page-photo { aspect-ratio: 1.35; }

  .bio-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .bio-intro { position: static; }
  .bio-values { grid-template-columns: 1fr; }
  .lav-grid { grid-template-columns: 1fr 1fr; }
  .lightbox-stage { height: min(70dvh, 40rem); }
  .modal, .lightbox { width: calc(100% - 1rem); }
}

@media (max-width: 430px) {
  .brand small { display: none; }
  .site-nav { gap: .75rem; }
}

@media (max-width: 355px) {
  .brand img { width: 2rem; height: 2rem; }
  .brand small { display: none; }
  .hero h1 { font-size: 2.9rem; }
}

@media (hover: none) {
  .finish-link:hover img { transform: none; }
}

.finish-all { margin-top: clamp(1.25rem, 3vw, 2rem); }
