﻿:root {
  --bg: #fdfdfc;
  --surface: #ffffff;
  --surface-soft: #f7f7f4;
  --text: #111111;
  --muted: #66665f;
  --line: rgba(17, 17, 17, 0.11);
  --line-strong: rgba(17, 17, 17, 0.2);
  --shadow-soft: 0 12px 30px rgba(17, 17, 17, 0.08);
  --shadow-hover: 0 20px 40px rgba(17, 17, 17, 0.1);
  --max: 1360px;
  --pad: clamp(18px, 3vw, 42px);
  --section-space: clamp(46px, 5.4vw, 68px);
  --section-space-tight: clamp(34px, 4.2vw, 52px);
  --details-row-min-h: clamp(64px, 5vw, 78px);
  --section-head-col: clamp(360px, 34vw, 520px);
  --content-split: var(--section-head-col);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --zoom-base: 1.02;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 20% -10%, rgba(180, 168, 145, 0.08), transparent 60%),
    radial-gradient(900px 640px at 100% 20%, rgba(140, 130, 115, 0.05), transparent 62%);
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
  background-color: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 0.96;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 20px var(--pad);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  transition: padding 0.34s var(--ease), box-shadow 0.34s var(--ease), background 0.34s var(--ease);
}

.header.scrolled {
  padding: 14px var(--pad);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.logo img {
  width: auto;
  height: 26px;
  max-height: 26px;
  object-fit: contain;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  opacity: 0.94;
  font-weight: 600;
  transition: opacity 0.24s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a.active {
  opacity: 1;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.hamburger-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease), transform 0.24s var(--ease);
}

.hamburger-toggle:hover {
  border-color: rgba(17, 17, 17, 0.35);
  transform: translateY(-1px);
}

.hamburger-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #171717;
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}

.hamburger-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(240px, calc(100vw - 30px));
  display: grid;
  gap: 12px;
  padding: 14px 16px 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s var(--ease);
  z-index: 1200;
}

.menu-panel .nav {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.menu-panel .nav a {
  font-size: 15.5px;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.menu-panel .nav a::after {
  bottom: -4px;
}

.menu-panel .lang-switch {
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding-top: 2px;
}

.menu-division-link {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 3px;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #3d3d39;
  font-size: 16px;
  line-height: 1.14;
}

.menu-division-link small {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-wrap.menu-ready {
  gap: 0;
}

.nav-wrap.menu-ready > .nav,
.nav-wrap.menu-ready > .lang-switch {
  display: none;
}

.nav-wrap.menu-ready .hamburger-toggle {
  display: inline-flex;
}

.nav-wrap.menu-ready.menu-open .menu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0;
}

.lang-switch button.active {
  color: var(--text);
}

.language-menu {
  position: relative;
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Invisible hover bridge across the visual gap above the dropdown. */
@media (hover: hover) and (min-width: 761px) {
  .language-menu.is-open::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1299;
    width: 174px;
    height: 10px;
  }
}

.language-menu-trigger {
  min-width: 52px;
  min-height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.language-menu-trigger svg {
  width: 10px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  transition: transform 0.2s var(--ease);
}

.language-menu.is-open .language-menu-trigger svg {
  transform: rotate(180deg);
}

.language-menu-trigger:focus-visible,
.language-menu-list a:focus-visible,
.language-mobile-select:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.language-menu-list {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 1300;
  min-width: 174px;
  padding: 7px;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.language-menu-list[hidden] {
  display: none;
}

.language-menu-list a {
  min-height: 36px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.language-menu-list a:hover,
.language-menu-list a:focus-visible,
.language-menu-list a[aria-current="true"] {
  background: var(--surface-soft);
}

.language-menu-list small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.language-mobile-label,
.language-mobile-select {
  display: none;
}

.page {
  padding-top: 80px;
}

.hero {
  padding: var(--section-space-tight) var(--pad) var(--section-space);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: clamp(20px, 2.5vw, 30px);
  align-items: start;
}

.hero-copy {
  max-width: 700px;
  padding-top: 8px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(42px, 5.8vw, 88px);
  line-height: 0.93;
  max-width: 740px;
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.09;
  max-width: 620px;
}

.hero-note {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.42;
  color: var(--muted);
  max-width: 610px;
}

.hero-visual,
.image-frame,
.model-image,
.configurator-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: none;
  border-radius: var(--radius);
  background: transparent;
}

.hero-visual {
  min-height: 48svh;
}

.image-frame {
  min-height: 34svh;
}

.image-frame.tall {
  min-height: 68svh;
}

.model-image {
  min-height: 34svh;
  display: block;
  cursor: pointer;
}

.hero-visual img,
.image-frame img,
.model-image img,
.configurator-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transform: scale(var(--zoom-scale, var(--zoom-base)));
  transition: transform 0.34s var(--ease), filter 0.34s var(--ease);
  will-change: transform;
  backface-visibility: hidden;
}

.zoom-focus {
  overflow: hidden;
}

.hero-label,
.model-copy small {
  display: none !important;
}

.section {
  padding: var(--section-space) var(--pad);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: var(--section-head-col) minmax(0, 1fr);
  gap: clamp(24px, 2.8vw, 38px);
  align-items: start;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.section-head > div {
  width: 100%;
  max-width: 760px;
  display: grid;
  gap: 10px;
  align-self: start;
  justify-self: start;
  min-width: 0;
}

.section-head h2 {
  max-width: none;
  min-width: 0;
}

.character-head {
  grid-template-columns: var(--section-head-col) minmax(0, 1fr);
  gap: clamp(24px, 2.8vw, 38px);
}

.character-head h2 {
  justify-self: start;
  text-align: start;
}

.character-head > div {
  justify-self: start;
  width: 100%;
  max-width: 760px;
  text-align: start;
}

.character-copy {
  display: grid;
  gap: 14px;
}

.character-block {
  width: 100%;
}

.character-head .muted {
  margin-top: 0;
}

.section-head p {
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.13;
  max-width: 760px;
}

.muted {
  margin-top: 0;
  max-width: 680px !important;
  color: var(--muted);
  font-size: 18px !important;
  line-height: 1.48 !important;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.home-media-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 16px;
}

.home-media-grid--flip {
  grid-template-columns: 0.86fr 1.14fr;
}

.home-media-grid--flip > .image-frame.tall {
  margin-top: 0;
  align-self: stretch;
  height: 100% !important;
}

.home-media-grid--flip > .image-frame.tall img {
  height: 100% !important;
  object-fit: cover !important;
}

.home-media-stack {
  display: grid;
  gap: 16px;
}

.models {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.model {
  border: 0;
  background: transparent;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto;
  transition: transform 0.34s var(--ease);
}

.model:hover {
  transform: translateY(-4px);
}

.model-copy {
  padding: 16px 2px 0;
}

.model-copy h3 {
  font-size: clamp(30px, 2.9vw, 46px);
  line-height: 0.96;
  margin-bottom: 10px;
}

.model-copy p {
  font-size: clamp(19px, 1.85vw, 23px);
  line-height: 1.16;
  max-width: 560px;
}

.model-copy a {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text);
}

.materials-rows,
.details-rows {
  display: grid;
  gap: 2px;
}

.material-row,
.details-row {
  display: grid;
  grid-template-columns: var(--content-split) minmax(0, 1fr);
  gap: clamp(24px, 2.8vw, 38px);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.details-head {
  grid-template-columns: var(--section-head-col) minmax(0, 1fr);
  gap: clamp(24px, 2.8vw, 38px);
}

.details-row {
  align-items: center;
  padding: 10px 0;
  min-height: var(--details-row-min-h);
}

.material-row {
  align-items: center;
  padding: clamp(20px, 2vw, 28px) 0;
}

.material-row:last-child,
.details-row:last-child {
  border-bottom: 0;
}

.material-row h3,
.details-row h3 {
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1;
}

.material-row p,
.details-row p {
  max-width: 780px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.34;
}

.brand-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.note-box {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
}

.note-box h4 {
  font-size: clamp(25px, 2vw, 30px);
  line-height: 1;
  margin-bottom: 12px;
}

.note-box p {
  font-size: 21px;
  line-height: 1.24;
}

.product-gallery-hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 16px;
}

.product-gallery-stack {
  display: grid;
  gap: 20px;
}

.product-gallery-hero .image-frame,
.product-gallery-hero .image-frame.tall {
  min-height: 42svh;
}

.product-gallery-hero .image-frame.tall {
  min-height: 68svh;
}

.product-text-block {
  max-width: 880px;
}

.cta {
  padding: var(--section-space) var(--pad) calc(var(--section-space) + 8px);
  border-top: 1px solid var(--line);
}

.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.cta-inner h2 {
  max-width: 880px;
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.05;
}

.cta-inner p {
  margin-top: 14px;
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.18;
}

.cta-inline {
  max-width: none;
  margin-top: 34px;
}

.cta-inline p {
  margin-top: 0;
  max-width: 760px;
  color: var(--text);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.18;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  padding: 16px 24px;
  border: 1px solid var(--text);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.button:hover {
  background: var(--text);
  color: #ffffff;
  transform: translateY(-2px);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 22px;
  align-items: start;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px;
}

.contact-card h3 {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 12px;
}

.contact-card p,
.contact-card a {
  font-size: 22px;
  line-height: 1.2;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px;
  display: grid;
  gap: 14px;
}

.contact-form h3 {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 4px;
}

.form-status {
  display: none;
  padding: 11px 12px;
  font-size: 16px;
  line-height: 1.3;
  border-radius: 2px;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(15, 121, 64, 0.1);
  border: 1px solid rgba(15, 121, 64, 0.32);
  color: #0f6b3a;
}

.form-status.is-error {
  background: rgba(171, 52, 40, 0.09);
  border: 1px solid rgba(171, 52, 40, 0.3);
  color: #8a2e23;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  font-size: 18px;
  line-height: 1.3;
  border-radius: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.15);
}

.contact-form .button {
  justify-self: start;
  margin-top: 2px;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.configurator {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px;
}

.configurator-controls {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.configurator-controls [data-config-group="metal"] {
  margin-top: auto;
}

.configurator-controls [data-config-group="metal"] legend {
  margin-top: clamp(30px, 4vw, 56px);
}

.config-group {
  border: 0;
  display: grid;
  gap: 10px;
}

.config-group legend {
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 2px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.config-options {
  display: grid;
  gap: 8px;
}

.config-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.config-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.config-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  padding: 10px 12px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.config-option input:checked + .config-card {
  border-color: var(--text);
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.08);
}

.config-option input:focus-visible + .config-card {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}

.config-swatch {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  flex: 0 0 auto;
}

.config-swatch.wood-naturale {
  background: url(duna-naturale.png) center/cover;
}

.config-swatch.wood-noce-profondo {
  background: url(duna-intenso.png) center/cover;
}

.config-swatch.wood-cenere-calda {
  background: url(duna-cenere.png) center/cover;
}

.config-swatch.wood-salvia {
  background: url(duna-salvia.png) center/cover;
}

body[data-title-it*="Nodo"] .config-swatch.wood-naturale  { background: url(nodo-naturale.png) center/cover; }
body[data-title-it*="Nodo"] .config-swatch.wood-noce-profondo  { background: url(nodo-intenso.png) center/cover; }
body[data-title-it*="Nodo"] .config-swatch.wood-cenere-calda   { background: url(nodo-cenere.png) center/cover; }
body[data-title-it*="Nodo"] .config-swatch.wood-salvia { background: url(nodo-salvia.png) center/cover; }

.config-swatch.metal-oro-specchio {
  background: url(metal-oro-specchio.png) center/cover;
}

.config-swatch.metal-oro-opaco {
  background: url(metal-oro-opaco.png) center/cover;
}

.config-swatch.metal-argento-specchio {
  background: url(metal-argento-specchio.png) center/cover;
}

.config-swatch.metal-argento-opaco {
  background: url(metal-argento-opaco.png) center/cover;
}

.config-swatch.metal-nero-profondo {
  background: url(metal-nero-profondo.png) center/cover;
}

.config-text {
  font-size: 20px;
  line-height: 1.1;
}

.configurator-viewer {
  display: grid;
  align-content: start;
  gap: 10px;
}

.configurator-canvas {
  min-height: 56svh;
  width: 100%;
  background:
    radial-gradient(85% 60% at 50% 38%, rgba(255, 255, 255, 0.95), rgba(238, 236, 232, 0.95) 55%, rgba(230, 227, 221, 0.95) 100%);
}

.configurator-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.viewer-hint {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.configurator-meta {
  margin-top: 2px;
  font-size: 18px;
  line-height: 1.28;
  color: var(--muted);
}

.lightbox-trigger {
  cursor: url('cursor-zoro.png') 21 14, zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 44px);
  background: rgba(5, 5, 5, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-stage {
  width: min(1320px, 94vw);
  height: min(88svh, 940px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  background-color: transparent;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.26);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

/* â”€â”€ GALLERY LIGHTBOX (frames gallery) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.93);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gl-stage {
  width: min(1320px, 90vw);
  height: min(88svh, 920px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  background-color: transparent;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.18s ease;
}

.gl-close,
.gl-prev,
.gl-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.gl-close:hover,
.gl-prev:hover,
.gl-next:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

.gl-close {
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 24px;
}

.gl-prev,
.gl-next {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  font-size: 28px;
}

.gl-prev { left: 20px; }
.gl-next { right: 20px; }

.gl-prev:hover { transform: translateY(-50%) translateX(-2px); }
.gl-next:hover { transform: translateY(-50%) translateX(2px); }

.gl-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
}

.gl-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gl-dot.active {
  background: #fff;
  transform: scale(1.5);
}

.gallery-lightbox[data-count="1"] .gl-prev,
.gallery-lightbox[data-count="1"] .gl-next,
.gallery-lightbox[data-count="1"] .gl-dots {
  display: none;
}

.frame { cursor: url('cursor-zoro.png') 21 14, zoom-in; }

@media (max-width: 640px) {
  .gl-prev { left: 8px; }
  .gl-next { right: 8px; }
  .gl-prev,
  .gl-next { width: 40px; height: 40px; font-size: 22px; }
  .gl-stage {
    width: 100vw;
    height: min(80svh, 600px);
  }
}

.floating-whatsapp {
  position: fixed;
  right: clamp(14px, 2.2vw, 28px);
  bottom: clamp(14px, 2.8vw, 30px);
  z-index: 1150;
}

.floating-whatsapp-link {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.floating-whatsapp-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(17, 17, 17, 0.22);
  filter: saturate(1.04);
}

.floating-whatsapp-link svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

footer {
  padding: 24px var(--pad) 34px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #707070;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.footer-instagram,
.footer-linkedin {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5f5f5a;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.footer-instagram:hover,
.footer-linkedin:hover {
  color: #161616;
  border-color: rgba(17, 17, 17, 0.36);
  transform: translateY(-1px);
}

.footer-instagram svg,
.footer-linkedin svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

[data-lang]:not(.active) {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-inner,
  .section-head,
  .product-gallery-hero,
  .cta-inner,
  .configurator,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .brand-note,
  .models,
  .home-media-grid {
    grid-template-columns: 1fr;
  }

  .model {
    grid-template-rows: auto auto;
  }

  .home-media-grid .image-frame.tall,
  .product-gallery-hero .image-frame.tall,
  .hero-visual {
    min-height: 44svh;
  }

  .cta-inner .button {
    justify-self: start;
  }

  .nav-wrap {
    gap: 18px;
  }

  .character-head {
    grid-template-columns: minmax(130px, 0.28fr) minmax(0, 0.72fr);
    gap: 16px;
  }

  .character-head h2 {
    justify-self: start;
    text-align: start;
  }

  .character-head > div {
    justify-self: end;
    width: 100%;
    max-width: 860px;
    text-align: start;
  }

  .configurator-controls {
    min-height: auto;
  }

  .configurator-controls [data-config-group="metal"] legend {
    margin-top: 24px;
  }
}

@media (max-width: 760px) {
  .header {
    padding: 16px;
  }

  .header.scrolled {
    padding: 12px 16px;
  }

  .header-inner {
    gap: 12px;
  }

  .logo img {
    height: 24px;
    max-height: 24px;
  }

  .nav {
    gap: 14px;
    font-size: 11.5px;
    letter-spacing: 0.12em;
  }

  .nav-wrap {
    gap: 12px;
  }

  .lang-switch {
    gap: 8px;
    font-size: 10px;
  }

  .menu-panel .language-menu {
    display: grid;
    gap: 7px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .menu-panel .language-menu-trigger,
  .menu-panel .language-menu-list {
    display: none;
  }

  .menu-panel .language-mobile-label {
    display: block;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .menu-panel .language-mobile-select {
    width: 100%;
    min-height: 42px;
    display: block;
    padding: 8px 34px 8px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .nav-wrap.menu-ready .menu-panel {
    width: min(340px, calc(100vw - 32px));
    top: calc(100% + 10px);
  }

  .nav-wrap.menu-ready .menu-panel .nav a {
    font-size: 12.7px;
    letter-spacing: 0.14em;
  }

  .hamburger-toggle {
    width: 40px;
    height: 40px;
  }

  .page {
    padding-top: 68px;
  }

  .hero {
    padding: 34px 16px 40px;
  }

  .hero-copy {
    padding-top: 0;
  }

  h1 {
    font-size: clamp(36px, 12vw, 62px);
  }

  .hero-sub {
    font-size: clamp(24px, 7vw, 30px);
  }

  .hero-note {
    font-size: 17px;
    max-width: none;
  }

  .section {
    padding: 46px 16px;
  }

  .cta {
    padding: 48px 16px 58px;
  }

  .cta-inline {
    margin-top: 28px;
  }

  .hero-visual,
  .image-frame,
  .image-frame.tall,
  .model-image,
  .product-gallery-hero .image-frame,
  .product-gallery-hero .image-frame.tall,
  .configurator-canvas {
    min-height: 34svh;
  }

  .section-head p,
  .cta-inner p,
  .contact-card p,
  .contact-card a,
  .material-row p,
  .details-row p,
  .note-box p,
  .config-text {
    font-size: 18px;
  }

  .muted {
    font-size: 16px !important;
  }

  .material-row,
  .details-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }

  .character-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .character-head > div {
    justify-self: start;
    width: 100%;
    max-width: none;
  }

  .details-row {
    min-height: auto;
  }

  .details-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .contact-card,
  .note-box,
  .configurator {
    padding: 18px;
  }

  .configurator-controls [data-config-group="metal"] legend {
    margin-top: 18px;
  }

  .floating-whatsapp-link {
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp-link svg {
    width: 25px;
    height: 25px;
  }

  footer {
    padding: 20px 16px 26px;
  }

  .footer-inner {
    justify-content: space-between;
    gap: 12px;
  }

  .footer-instagram {
    order: 3;
    flex-basis: 100%;
    margin: 8px auto 0;
  }

  /* iOS: previene auto-zoom su focus input (richiede font-size >= 16px) */
  input,
  textarea,
  select {
    font-size: 16px !important;
  }

  /* Rimuove tap highlight blu su iOS/Android */
  a,
  button,
  [role="button"],
  .concept-thumb,
  .concept-main-visual {
    -webkit-tap-highlight-color: transparent;
  }

  /* Elimina ritardo 300ms tap su mobile */
  a,
  button {
    touch-action: manipulation;
  }

  /* Footer safe-area per iPhone con notch/home indicator */
  footer {
    padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  }

  /* Floating WhatsApp: sopra home indicator iOS */
  .floating-whatsapp-link {
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
}



/* Home image refinement */
.hero-home .hero-visual img,
.home-media-grid .image-frame img {
  object-fit: cover;
  object-position: center center;
}

.hero-home .hero-visual {
  min-height: 44svh;
}

.home-media-grid .image-frame {
  min-height: 30svh;
}

.home-media-grid .image-frame.tall {
  min-height: 60svh;
}


/* 2026-04-19 visual fit cleanup: no artificial blur/padding around images */
.hero-visual,
.image-frame,
.model-image,
.configurator-preview {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: auto !important;
}

.hero-visual img,
.image-frame img,
.model-image img,
.configurator-preview img {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  transform: none !important;
}

/* Intro splash */
#site-intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

#site-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#site-intro img {
  width: clamp(100px, 16vw, 180px);
  height: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#site-intro.is-ready img {
  opacity: 1;
  transform: translateY(0);
}

/* Accessible text that remains available to assistive technology. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Barra di avanzamento condivisa dalle intro di home e pagine prodotto. */
.intro-progress {
  --intro-progress: 0%;
  width: clamp(100px, 16vw, 180px);
  height: 1px;
  margin-top: 22px;
  overflow: hidden;
  background: #d8d8d8;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.12s, transform 0.5s ease 0.12s;
}

#site-intro.is-ready .intro-progress,
#gallery-intro .intro-progress {
  opacity: 1;
  transform: translateY(0);
}

.intro-progress > span {
  display: block;
  width: var(--intro-progress);
  height: 100%;
  background: #111;
  transition: width 0.35s ease-out;
}

/* Gallery intro: schermata di caricamento con logo centrale per le pagine prodotto.
   Resta visibile finche' le 5 immagini del carosello non sono pronte e sincronizzate
   con l'inizio della rivelazione, evitando ritardi/scatti percepiti dall'utente. */
#gallery-intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

#gallery-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#gallery-intro img {
  width: clamp(100px, 16vw, 180px);
  height: auto;
  animation: gallery-intro-pulse 1.4s ease-in-out infinite;
}

@keyframes gallery-intro-pulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.85; }
}

/* Viewer loading overlay */
.viewer-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.viewer-loading-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.viewer-loading-overlay img {
  width: clamp(60px, 10vw, 110px);
  animation: viewer-logo-pulse 1.4s ease-in-out infinite;
}

@keyframes viewer-logo-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.75; }
}

.hero-inner,
.home-media-grid,
.home-media-stack,
.models,
.product-gallery-hero {
  align-items: start;
}

.hero-home .hero-visual,
.home-media-grid .image-frame,
.home-media-grid .image-frame.tall,
.product-gallery-hero .image-frame,
.product-gallery-hero .image-frame.tall,
.models .model-image {
  background: transparent !important;
}

.lightbox-stage img {
  width: auto;
  height: auto;
}

.viewer-shell model-viewer,
.viewer-canvas,
.viewer-shell canvas {
  background: transparent !important;
}

/* === Page transitions === */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: none; }
}

body.page-leaving main,
body.page-leaving header,
body.page-leaving footer {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  pointer-events: none;
}

/* === Hero stagger animations === */
.hero-copy.in .eyebrow {
  animation: slideInLeft 0.42s 0.08s var(--ease) both;
}

.hero-copy.in h1 {
  animation: slideInUp 0.56s 0.2s var(--ease) both;
}

.hero-copy.in .hero-sub {
  animation: slideInUp 0.52s 0.34s var(--ease) both;
}

.hero-copy.in .hero-note {
  animation: slideInUp 0.48s 0.46s var(--ease) both;
}

/* === Staggered reveal delays === */
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.28s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* === Note box hover lift === */
.note-box {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.note-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line-strong);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.contact-map {
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
  filter: saturate(0.7) contrast(0.95);
}

/* === Material row hover === */
.material-row {
  transition: background 0.24s ease;
}

.material-row:hover {
  background: rgba(17, 17, 17, 0.025);
}

/* === CTA button pulse === */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0); }
  60% { box-shadow: 0 0 0 10px rgba(17, 17, 17, 0.07); }
}

.cta .button,
.cta-inline .button {
  animation: ctaPulse 3.5s ease-in-out infinite;
}

.cta .button:hover,
.cta-inline .button:hover {
  animation: none;
}

/* === LUXURY ANIMATION SYSTEM === */

/* Cinematic reveal — upgrade to 1s */
.reveal {
  transition: opacity 1.0s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1.0s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Scroll storytelling — directional entrances */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1.0s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1.1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reveal-left.in {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 1.0s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1.1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reveal-right.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .reveal-left:not(.in),
  .reveal-right:not(.in) {
    transform: translateY(18px);
  }
}

/* Stagger delays for directional reveals */
.reveal-left[data-delay="1"],
.reveal-right[data-delay="1"] { transition-delay: 0.12s; }
.reveal-left[data-delay="2"],
.reveal-right[data-delay="2"] { transition-delay: 0.26s; }
.reveal-left[data-delay="3"],
.reveal-right[data-delay="3"] { transition-delay: 0.40s; }

/* Word-by-word h1 reveal */
.h1-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: inherit;
}

.h1-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.05em);
  transition-property: opacity, transform;
  transition-duration: 0.9s;
  transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-copy.in .h1-word {
  opacity: 1;
  transform: none;
}

/* Hero h1 line animations — override existing slideInUp for word-split mode */
.hero-copy.in.words-split h1 {
  animation: none;
}

/* Material rows — sequential stagger */
.materials-rows .material-row {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.materials-rows.in .material-row:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.materials-rows.in .material-row:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
.materials-rows.in .material-row:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.30s;
}

/* Parallax images — translateY applied via JS */
.parallax-img img {
  will-change: transform;
  transform: translateY(var(--px-y, 0px)) !important;
  transition: none !important;
}

/* === PRODUCT PAGE — layout due colonne sticky (norr11-inspired) === */

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 0;
}

.product-gallery {
  padding: var(--section-space-tight) var(--pad) var(--section-space);
  display: grid;
  gap: 10px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.product-info {
  position: sticky;
  top: 80px;
  padding: var(--section-space-tight) var(--pad) var(--section-space) clamp(18px, 2.5vw, 40px);
}

.product-info-inner {
  display: grid;
  gap: clamp(18px, 2vw, 26px);
}

.product-tagline {
  font-size: clamp(21px, 1.9vw, 29px);
  line-height: 1.12;
  max-width: 560px;
}

.product-desc {
  font-size: 19px;
  line-height: 1.48;
  color: var(--muted);
  max-width: 560px;
}

.product-traits {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.product-trait {
  display: grid;
  gap: 3px;
}

.product-trait strong {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: inherit;
}

.product-trait > span {
  font-size: 17px;
  line-height: 1.42;
  color: var(--muted);
}

/* Configuratore compatto nel pannello sticky — layout verticale */
.product-configurator {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 14px !important;
  padding: 16px !important;
}

.product-configurator .configurator-controls {
  display: grid;
  gap: 10px;
  min-height: auto !important;
}

.product-configurator .configurator-viewer {
  display: grid;
  gap: 8px;
}

.product-configurator [data-config-group="metal"] {
  margin-top: 0 !important;
}

.product-configurator [data-config-group="metal"] legend {
  margin-top: 14px !important;
}

.product-configurator .configurator-canvas {
  min-height: 340px !important;
  height: 340px !important;
  max-height: 340px !important;
  position: relative !important;
  width: 100% !important;
  background: transparent !important;
}

.product-configurator .configurator-canvas canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  inset: 0 !important;
}

/* model-viewer dentro il configuratore prodotto */
.product-configurator .configurator-canvas model-viewer {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  background: transparent !important;
  --poster-color: transparent;
}

/* Specifiche prodotto */
.product-specs {
  border-top: 1px solid var(--line);
  padding-top: 2px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.spec-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 auto;
}

.spec-value {
  font-size: 17px;
  text-align: end;
  color: var(--text);
}

.product-custom-note {
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--text);
  opacity: 0.85;
  margin: 16px 0 8px;
  line-height: 1.65;
  font-style: italic;
}

.product-cta {
  width: 100%;
  justify-content: center;
}

/* AR button — positioned below the 3D canvas */
.mv-ar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: calc(100% - 32px);
  min-height: 38px;
  padding: 10px 18px;
  margin-inline: auto;
  background: #efefed;
  color: #1a1612;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.25;
  box-sizing: border-box;
  cursor: pointer;
  justify-self: center;
  align-self: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.mv-ar-btn svg {
  flex-shrink: 0;
  opacity: 0.7;
}
.mv-ar-btn [data-lang] {
  display: none;
}
.mv-ar-btn [data-lang].active {
  display: inline;
}
.mv-ar-btn:hover {
  background: #e4e4e2;
  border-color: rgba(0, 0, 0, 0.2);
}

/* Download modello + brochure — affiancati sotto il viewer */
.viewer-download-actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 8px auto 16px;
  padding: 0 16px;
  box-sizing: border-box;
}

.viewer-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  align-self: center;
  flex: 1 1 0;
  max-width: 250px;
  min-width: 0;
  margin: 0;
  line-height: 1.25;
  text-align: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.viewer-download-btn svg {
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
.viewer-download-btn [data-lang] {
  display: none;
}
.viewer-download-btn [data-lang].active {
  display: inline;
}
.viewer-download-btn:hover {
  background: #efefed;
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--text);
  transform: translateY(-1px);
}
.viewer-download-btn:hover svg {
  opacity: 0.85;
}

/* Responsive product layout */
@media (max-width: 1100px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-info {
    position: static;
    max-height: none;
    overflow-y: visible;
    padding: 0 var(--pad) var(--section-space);
  }

  .product-gallery {
    padding-bottom: 0;
  }
}

@media (max-width: 760px) {
  .product-gallery,
  .product-info {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Hero 3D viewer on homepage */
.hero-3d-viewer {
  position: relative;
  min-height: 44svh;
}

.hero-3d-viewer [data-3d-canvas] {
  width: 100% !important;
  min-height: 44svh !important;
  height: 44svh !important;
  background: radial-gradient(85% 60% at 50% 38%,
    rgba(255, 255, 255, 0.95),
    rgba(238, 236, 232, 0.95) 55%,
    rgba(230, 227, 221, 0.95) 100%);
}

.hero-3d-viewer [data-3d-canvas] canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 760px) {
  .hero-3d-viewer,
  .hero-3d-viewer [data-3d-canvas] {
    min-height: 34svh !important;
    height: 34svh !important;
  }
}

/* === ABOUT PAGE === */

.about-story {
  display: grid;
  gap: clamp(22px, 2.4vw, 36px);
  max-width: 820px;
}

.about-block p {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.52;
  color: var(--muted);
}

.about-products {
  display: grid;
  gap: clamp(48px, 5vw, 72px);
  margin-top: clamp(24px, 2.8vw, 40px);
}

.about-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

.about-product:nth-child(even) {
  direction: rtl;
}

.about-product:nth-child(even) > * {
  direction: ltr;
}

html[dir="rtl"] .about-product:nth-child(even) > * {
  direction: rtl;
}

.about-product-image {
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  cursor: pointer;
  display: block;
}

.about-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-product-text {
  display: grid;
  gap: 16px;
}

.about-product-text h3 {
  font-size: clamp(30px, 2.8vw, 44px);
  font-weight: 300;
  line-height: 1;
}

.about-product-text p {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--muted);
}

.about-product-link {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
  margin-top: 6px;
  width: fit-content;
}

.about-product-link:hover {
  opacity: 0.5;
}

.concept-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid currentColor;
  padding: 4px 10px;
  border-radius: 2px;
  width: fit-content;
}

@media (max-width: 900px) {
  .about-product {
    grid-template-columns: 1fr;
  }

  .about-product:nth-child(even) {
    direction: ltr;
  }

  html[dir="rtl"] .about-product:nth-child(even) {
    direction: rtl;
  }
}

.about-inline-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(17, 17, 17, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.about-inline-link:hover {
  text-decoration-color: var(--text);
}

.about-tech-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
  margin-top: clamp(14px, 1.6vw, 22px);
  transition: opacity 0.2s ease;
}

.about-tech-link:hover {
  opacity: 0.5;
}

/* Mobile: canvas visibile anche durante caricamento */
@media (max-width: 900px) {
  .product-configurator .configurator-canvas {
    background: var(--surface-soft) !important;
    border-radius: var(--radius) !important;
  }
}

/* ============================================
   ABOUT PAGE — struttura editoriale
   ============================================ */

/* 1. Manifesto — testo sinistra, immagine destra */
.about-manifesto {
  min-height: 88svh;
  display: flex;
  align-items: stretch;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.about-manifesto-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 0.72fr 0.78fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.about-manifesto-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(48px, 6vw, 80px) 0 clamp(52px, 6vw, 84px);
}

.about-manifesto-image {
  align-self: center;
  overflow: hidden;
  height: clamp(68svh, 76svh, 84svh);
  border-radius: var(--radius);
}

.about-manifesto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  filter: saturate(0.88) brightness(1.03);
}

.about-manifesto h1 {
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin: clamp(18px, 2vw, 28px) 0 clamp(28px, 3vw, 44px);
  max-width: 14ch;
}

.about-manifesto-sub {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.48;
  color: var(--muted);
  max-width: 560px;
}

.about-manifesto-scroll {
  margin-top: clamp(40px, 4vw, 60px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--muted);
  opacity: 0.5;
}

/* 2. Origini — split testo 50/50 */
.about-origin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  border-top: 1px solid var(--line);
  padding-top: clamp(36px, 4vw, 56px);
}

.about-origin-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(14px, 1.4vw, 20px);
}

.about-origin-col h2 {
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: clamp(16px, 1.6vw, 24px);
}

.about-origin-logo {
  display: block;
  height: clamp(32px, 3.8vw, 52px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  margin-bottom: clamp(16px, 1.6vw, 24px);
}

.about-origin-col p {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.56;
  color: var(--muted);
}

@media (max-width: 860px) {
  .about-origin {
    grid-template-columns: 1fr;
    gap: clamp(32px, 4vw, 52px);
  }
}

/* 3. Founder — pullquote + bio */
.about-founder {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(36px, 4vw, 56px);
}

.about-founder-quote {
  display: grid;
  gap: 20px;
}

.pullquote {
  font-size: clamp(24px, 2.8vw, 42px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.22;
  color: var(--text);
  border: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.pullquote::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--text);
  margin-bottom: clamp(20px, 2vw, 32px);
}

.pullquote-cite {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--muted);
}

.about-founder-bio h2 {
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 300;
  margin-bottom: clamp(16px, 1.6vw, 24px);
}

.about-founder-bio p {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.56;
  color: var(--muted);
}

.about-founder-bio p + p {
  margin-top: 18px;
}

@media (max-width: 860px) {
  .about-founder {
    grid-template-columns: 1fr;
  }
}

/* 4. Lista approccio numerata */
.about-approach-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(24px, 2.4vw, 36px);
}

.about-approach-item {
  padding: clamp(28px, 3vw, 48px) clamp(20px, 2.5vw, 36px) clamp(28px, 3vw, 48px) 0;
  border-right: 1px solid var(--line);
  padding-right: clamp(20px, 2.5vw, 36px);
}

.about-approach-item:first-child {
  padding-left: 0;
}

.about-approach-item + .about-approach-item {
  padding-left: clamp(20px, 2.5vw, 36px);
}

.about-approach-item:last-child {
  border-right: none;
  padding-right: 0;
}

.about-approach-num {
  display: block;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 300;
  color: var(--line-strong);
  line-height: 1;
  margin-bottom: clamp(18px, 2vw, 28px);
  letter-spacing: -0.02em;
}

.about-approach-body h3 {
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 400;
  margin-bottom: 12px;
}

.about-approach-body p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.56;
  color: var(--muted);
}

@media (max-width: 860px) {
  .about-approach-list {
    grid-template-columns: 1fr;
  }

  .about-approach-item,
  .about-approach-item + .about-approach-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: clamp(24px, 3vw, 36px) 0;
  }

  .about-approach-item:last-child {
    border-bottom: none;
  }
}

/* 6. Materiali — griglia piena con numeri grandi */
.about-materials-section {
  border-top: 1px solid var(--line);
  margin-top: var(--section-space);
}

.about-materials-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 4vw, 56px) var(--pad) 0;
  display: grid;
  grid-template-columns: var(--section-head-col) minmax(0, 1fr);
  gap: clamp(24px, 2.8vw, 38px);
  align-items: start;
  margin-bottom: 0;
}

.about-materials-label {
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 300;
  line-height: 1.05;
}

.about-materials-header p {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.4;
  color: var(--muted);
  padding-top: 8px;
  max-width: 560px;
}

.about-materials-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(32px, 3.5vw, 52px);
}

.about-material-item {
  padding: clamp(32px, 3.5vw, 56px) clamp(24px, 2.5vw, 40px) clamp(32px, 3.5vw, 56px) 0;
  border-right: 1px solid var(--line);
}

.about-material-item:last-child {
  border-right: none;
  padding-right: 0;
}

.about-material-item + .about-material-item {
  padding-left: clamp(24px, 2.5vw, 40px);
}

.about-material-num {
  display: block;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 300;
  color: var(--line-strong);
  line-height: 1;
  margin-bottom: clamp(20px, 2.2vw, 32px);
  letter-spacing: -0.03em;
}

.about-material-item h3 {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 400;
  margin-bottom: clamp(12px, 1.2vw, 18px);
}

.about-material-item p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.56;
  color: var(--muted);
}

@media (max-width: 860px) {
  .about-materials-header {
    grid-template-columns: 1fr;
  }

  .about-materials-grid {
    grid-template-columns: 1fr;
  }

  .about-material-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: clamp(28px, 4vw, 44px) 0;
  }

  .about-material-item + .about-material-item {
    padding-left: 0;
  }

  .about-material-item:last-child {
    border-bottom: none;
  }
}

/* 7. Made in Italy — pannello invertito scuro */
.about-made-section {
  background: var(--text);
  color: var(--bg);
  padding: clamp(64px, 8vw, 112px) var(--pad);
  margin-top: var(--section-space);
}

.about-made-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.about-made-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 253, 252, 0.45);
  margin-bottom: clamp(20px, 2vw, 32px);
}

.about-made-inner h2 {
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 300;
  line-height: 1.06;
  color: var(--bg);
  margin-bottom: clamp(24px, 2.5vw, 40px);
}

.about-made-inner p {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.52;
  color: rgba(253, 253, 252, 0.6);
  max-width: 620px;
  margin: 0 auto;
}

/* reveal inside dark section */
.about-made-section .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.about-made-section .reveal.in {
  opacity: 1;
  transform: none;
}

/* 8. About manifesto — responsive */
@media (max-width: 860px) {
  .about-manifesto-inner {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .about-manifesto-content {
    padding-top: clamp(88px, 14vw, 120px);
    padding-bottom: clamp(44px, 7vw, 72px);
  }

  .about-manifesto-image {
    display: none;
  }
}

@media (max-width: 760px) {
  .about-manifesto h1 {
    font-size: clamp(36px, 10vw, 64px);
  }
}

/* ============================================
   HOME — product preview cards (after materials)
   ============================================ */

.home-products-preview {
  border-top: 1px solid var(--line);
}

/* ============================================
   HOME — statement section (sostituisce note boxes)
   ============================================ */

.home-statement-section {
  padding: var(--section-space) 0;
  border-top: 1px solid var(--line);
}

.home-statement {
  border-top: none;
  text-align: center;
  padding: 0;
}

.home-statement-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: clamp(20px, 2.2vw, 32px);
}

.home-statement-text {
  font-size: clamp(19px, 2.2vw, 36px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.22;
  max-width: 820px;
  margin: 0 auto clamp(36px, 4vw, 60px);
}

.home-statement-items {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
  justify-content: center;
  text-align: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 3vw, 44px);
  flex-wrap: wrap;
}

.home-statement-item {
  max-width: 280px;
}

.home-statement-item strong {
  display: block;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: inherit;
  font-weight: 500;
  margin-bottom: 10px;
}

.home-statement-item p {
  font-size: clamp(21px, 1.69vw, 23px);
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 760px) {
  .home-statement-items {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .home-statement-item {
    max-width: 100%;
    width: 100%;
    text-align: center;
  }
}


/* ============================================================
   CONCEPT PAGE — light editorial layout
   All rules scoped under .concept-page to avoid side effects
   ============================================================ */

/* â”€â”€ Main layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.concept-main {
  height: 100dvh;
  padding-top: 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.concept-hero {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 36% 64%;
}

/* Left panel */
.concept-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.5vw, 52px) clamp(20px, 3vw, 44px);
  border-right: none;
  overflow: hidden;
}

.concept-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.concept-h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(44px, 5.5vw, 86px);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 0.92;
  color: var(--text);
  margin: 0;
}

.concept-title-line {
  width: 28px;
  height: 1px;
  background: var(--text);
  margin: 16px 0 14px;
  opacity: 0.2;
}

.concept-tagline {
  font-size: clamp(9px, 0.85vw, 12px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.75;
}

.concept-hero-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.concept-hero-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.06em;
  line-height: 1;
}

.concept-hero-sep {
  font-size: 12px;
  color: var(--muted);
}

.concept-hero-name {
  font-size: clamp(9px, 0.85vw, 11px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Scroll hint */
.concept-scroll-hint {
  display: flex;
  align-items: center;
  gap: 14px;
}

.concept-scroll-label {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.3);
}

.concept-scroll-track {
  width: 1px;
  height: 36px;
  background: rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.concept-scroll-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: rgba(0, 0, 0, 0.4);
  animation: cpScrollDot 1.8s ease-in-out infinite;
}

@keyframes cpScrollDot {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(300%); opacity: 0; }
}

/* Right panel — media */
.concept-hero-right {
  position: relative;
  overflow: hidden;
  cursor: default;
  display: flex;
  justify-content: center;
  align-items: center;
}

.concept-hero-media {
  width: 100%;
  height: 100%;
  position: relative;
  transition: opacity 0.32s ease;
}

/* Expand icon on hover */
.concept-hero-expand {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.35;
  transition: opacity 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.concept-hero-expand svg {
  width: 14px;
  height: 14px;
  color: rgba(0, 0, 0, 0.65);
}

.concept-main-visual:hover .concept-hero-expand {
  opacity: 1;
}

/* â”€â”€ Shared media items â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cp-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
}

.cp-item.is-active {
  opacity: 1;
}

.cp-item img,
.cp-item video {
  width: 100%;
  height: 100%;
  display: block;
}

.concept-hero-media .cp-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.concept-hero-media .cp-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.concept-hero-media .cp-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concept-modal-media .cp-item img,
.concept-modal-media .cp-item video {
  object-fit: contain;
  background: #0a0a0a;
  width: 100%;
  height: 100%;
}

/* â”€â”€ Strip bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.concept-strip-bar {
  flex-shrink: 0;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 12px 0 10px;
  box-sizing: border-box;
  gap: 0;
}

.concept-strip-counter {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  min-width: 90px;
}

.concept-strip-cur {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.08em;
}

.concept-strip-csep {
  font-size: 13px;
  color: var(--muted);
}

.concept-strip-tot {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.concept-strip-arrows {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  padding: 0 20px;
}

.concept-strip-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.45);
  transition: border-color 0.25s, color 0.25s;
}

.concept-strip-btn:hover {
  border-color: var(--text);
  color: var(--text);
}

.concept-strip-btn svg {
  width: 16px;
  height: 16px;
}

.concept-strip-viewport {
  flex: 1;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 22%, black 78%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 22%, black 78%, transparent 100%);
  /* scrollLeft e il centraggio JavaScript usano coordinate fisiche LTR. */
  direction: ltr;
}

.concept-strip-viewport::-webkit-scrollbar {
  display: none;
}

.concept-strip-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  gap: 8px;
  padding: 0 8px;
  direction: ltr;
}

.concept-thumb {
  flex-shrink: 0;
  width: 130px;
  display: flex;
  flex-direction: column;
  background: #f4f3f1;
  border: 1.5px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.3s ease;
}

.concept-thumb:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.concept-thumb.is-active {
  border-color: var(--text);
}

.concept-thumb-img-wrap {
  height: 118px;
  overflow: hidden;
  position: relative;
}

.concept-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.concept-thumb:hover .concept-thumb-img {
  transform: scale(1.04);
}

.concept-thumb-num {
  display: none;
}

/* â”€â”€ Modal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.concept-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.concept-modal.is-open {
  pointer-events: all;
  opacity: 1;
}

.concept-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.94);
  cursor: pointer;
}

.concept-modal-box {
  position: relative;
  z-index: 1;
  width: min(92vw, 1160px);
  height: min(84vh, 760px);
  display: grid;
  grid-template-columns: 1fr 340px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.concept-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}

.concept-modal-close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.concept-modal-close svg {
  width: 13px;
  height: 13px;
}

/* Modal media side */
.concept-modal-media-side {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.concept-modal-media {
  width: 100%;
  height: 100%;
  position: relative;
}

.concept-modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}

.concept-modal-arrow:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.concept-modal-arrow svg {
  width: 15px;
  height: 15px;
}

.cp-arr-prev { left: 12px; }
.cp-arr-next { right: 12px; }

/* Modal info side */
.concept-modal-info-side {
  display: flex;
  flex-direction: column;
  padding: 36px 28px 28px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.05);
  gap: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.concept-modal-header {
  margin-bottom: 20px;
}

.concept-modal-num {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 64px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.concept-modal-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.concept-modal-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.025em;
  flex: 1;
}

/* Dots */
.concept-modal-dots {
  display: flex;
  gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.concept-dot {
  width: 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  cursor: pointer;
  padding: 4px 0;
  background-clip: content-box;
  transition: background-color 0.3s, width 0.3s;
}

.concept-dot.is-active {
  width: 34px;
  background-color: rgba(255, 255, 255, 0.75);
  background-clip: content-box;
}

/* â”€â”€ Mobile â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 860px) {
  .concept-main {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding-top: 64px;
  }

  .concept-hero {
    grid-template-columns: 1fr;
    flex: none;
    height: auto;
  }

  .concept-hero-left {
    padding: 18px 18px 14px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: 170px;
    gap: 10px;
  }

  .concept-h1 {
    font-size: clamp(48px, 14vw, 80px);
  }

  .concept-scroll-hint {
    display: none;
  }

  /* hero-right si adatta all'immagine quadrata */
  .concept-hero-right {
    height: auto;
  }

  .concept-strip-bar {
    height: 152px;
    padding: 8px 0 8px;
  }

  /* Riduce mask laterale: su schermi stretti il 22% taglia troppi thumbnail */
  .concept-strip-viewport {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    touch-action: pan-x;
  }

  .concept-thumb {
    width: 92px;
  }

  .concept-thumb-img-wrap {
    height: 84px;
  }

  /* Touch target minimo 44×44px (Apple HIG / Android) */
  .rot-btn {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }

  .concept-modal-box {
    width: 100vw;
    height: 100svh;
    max-height: 100svh;
    grid-template-columns: 1fr;
    grid-template-rows: 58% 42%;
    border-radius: 0;
  }

  .concept-modal-info-side {
    padding: 16px 18px 16px;
    border-inline-start: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .concept-modal-num {
    font-size: 40px;
    margin-bottom: 4px;
  }

  .concept-modal-desc {
    font-size: 12.5px;
    line-height: 1.75;
  }

  /* Arrow frecce più grandi per il touch */
  .concept-modal-arrow {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .rotation-control {
    display: none;
  }

  .concept-strip-viewport {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .concept-modal-box {
    grid-template-rows: 55% 45%;
  }
}

/* â”€â”€ Entry text (sinistra della foto, dentro hero-right) â”€ */
.concept-entry-text {
  flex-shrink: 0;
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(16px, 2vw, 38px) clamp(28px, 3.5vw, 52px);
  gap: 16px;
  border-inline-end: 1px solid var(--line);
}

.concept-entry-title {
  display: block;
  font-size: clamp(8px, 0.62vw, 10px);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.7;
}

.concept-entry-sub {
  display: block;
  font-size: clamp(7px, 0.54vw, 9px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 2.1;
}

/* â”€â”€ Main visual wrapper (foto + expand icon) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.concept-main-visual {
  position: relative;
  overflow: hidden;
  cursor: url('cursor-zoro.png') 21 14, zoom-in;
  aspect-ratio: 1 / 1;
  height: 100%;
  max-width: 100%;
}

/* â”€â”€ Rotation control (frecce sotto le thumbnail) â”€â”€â”€â”€â”€â”€â”€ */
.rotation-control {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 0 0;
}

.rot-btn {
  width: 72px;
  height: 26px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.rot-btn:hover {
  border-color: var(--text);
  color: var(--text);
  background: rgba(0, 0, 0, 0.03);
}

.rot-btn svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 860px) {
  .concept-entry-text {
    display: none;
  }

  .concept-hero-right {
    display: block;
  }

  .concept-main-visual {
    width: 100%;
    height: auto;
    display: block;
  }

  .rotation-control {
    padding: 0 10px;
    gap: 6px;
  }
}

/* === SCROLL ZOOM: scale 10% al passaggio per il centro viewport === */

.zoom-focus img {
  transform-origin: center center !important;
  transform: scale(var(--zoom-scale, 1.0)) !important;
  transition: transform 0.55s var(--ease) !important;
  will-change: transform;
  backface-visibility: hidden;
}

/* Parallax + zoom combinati: preserva translateY e aggiunge scale */
.zoom-focus.parallax-img img,
.zoom-focus .parallax-img img {
  transform: translateY(var(--px-y, 0px)) scale(var(--zoom-scale, 1.0)) !important;
  transition: none !important;
}

/* ============================================================
   PRODUCT STORY SECTION — storytelling artigianale
   ============================================================ */

.product-story-section {
  padding: var(--section-space) var(--pad);
  border-top: 1px solid var(--line);
}

.product-story-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.product-story-title {
  /* inherits h2 global styles */
}

.product-story-text {
  color: var(--muted);
  line-height: 1.48;
}

.product-story-intro {
  font-size: clamp(19px, 1.7vw, 24px);
  max-width: 680px;
}

/* Override .section-head p line-height (specificity 0,1,1) for intro */
.product-story-section .product-story-intro {
  line-height: 1.55;
}

.product-story-rows {
  display: grid;
  gap: 0;
  margin-top: clamp(52px, 5.8vw, 80px);
}

.product-story-row {
  display: grid;
  grid-template-columns: var(--content-split) minmax(0, 1fr);
  gap: clamp(32px, 4.4vw, 60px);
  padding: clamp(36px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
  transition: background 0.24s ease;
}

.product-story-row:hover {
  background: rgba(17, 17, 17, 0.025);
}

.product-story-row:last-child {
  border-bottom: 1px solid var(--line);
}

.product-story-row-label {
  font-size: clamp(14.3px, 1.17vw, 16.9px);
  line-height: 1.5;
  letter-spacing: 0.2em;
  align-self: start;
  padding-top: 0.3em;
}

.product-story-row-copy {
  max-width: 68ch;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.62;
}

.product-story-registration {
  display: block;
  margin-top: clamp(28px, 3vw, 44px);
  padding-top: clamp(20px, 2vw, 28px);
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
}

/* Homepage UIBM registration line */
.home-registration-line {
  display: block;
  margin-top: clamp(20px, 2.5vw, 34px);
  padding-top: clamp(16px, 1.8vw, 24px);
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
}

.mimit-logo {
  display: block;
  margin: clamp(14px, 1.8vw, 22px) auto 0;
  height: clamp(48px, 5.6vw, 70px);
  width: auto;
  opacity: 0.82;
}

@media (max-width: 1100px) {
  .product-story-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 760px) {
  .product-story-section {
    padding: 46px 16px;
  }

  .product-story-row {
    padding: 28px 0;
  }

  .product-story-row-label {
    font-size: 14.3px;
    padding-top: 0;
  }

  .product-story-row-copy,
  .product-story-intro {
    font-size: 18px;
  }
}

/* ============================================
   FRAMES GALLERY — 5 cornici a piramide centrata
   ============================================ */

.frames-gallery {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1.4fr 1fr 0.72fr;
  gap: 3px;
  height: 580px;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.frame {
  position: relative;
  overflow: hidden;
  cursor: url('cursor-zoro.png') 21 14, zoom-in;
  background: var(--bg);
}

/* Piramide simmetrica: centro massimo, decresce proporzionalmente verso gli estremi */
.frame--1, .frame--5 { height: 52%; }
.frame--2, .frame--4 { height: 72%; }
.frame--3             { height: 100%; }

.frame-slot {
  position: absolute;
  inset: 0;
}

.frame-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.frame-slot img.fslot-visible {
  opacity: 1;
}

.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.frame:hover::after {
  background: rgba(0, 0, 0, 0.07);
}

/* DUNA & NODO: reveal the five fixed frames from the center outwards, da sfocato a nitido. */
/* L'animazione parte solo quando script.js aggiunge .gallery-ready al body — cioe' quando
   le 5 immagini sono effettivamente caricate — cosi' la rivelazione e' sempre perfettamente
   sincronizzata con cio' che l'utente vede, senza ritardi o scatti. */
body[data-title-it*="Duna"] .frame-slot,
body[data-title-it*="Nodo"] .frame-slot {
  filter: blur(28px);
  opacity: 0;
  transform: scale(1.045);
}

body[data-title-it*="Duna"].gallery-ready .frame--3 .frame-slot,
body[data-title-it*="Nodo"].gallery-ready .frame--3 .frame-slot {
  animation: gallery-reveal-focus 1400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-title-it*="Duna"].gallery-ready .frame--2 .frame-slot,
body[data-title-it*="Duna"].gallery-ready .frame--4 .frame-slot,
body[data-title-it*="Nodo"].gallery-ready .frame--2 .frame-slot,
body[data-title-it*="Nodo"].gallery-ready .frame--4 .frame-slot {
  animation: gallery-reveal-focus 1400ms cubic-bezier(0.22, 1, 0.36, 1) 1400ms both;
}

body[data-title-it*="Duna"].gallery-ready .frame--1 .frame-slot,
body[data-title-it*="Duna"].gallery-ready .frame--5 .frame-slot,
body[data-title-it*="Nodo"].gallery-ready .frame--1 .frame-slot,
body[data-title-it*="Nodo"].gallery-ready .frame--5 .frame-slot {
  animation: gallery-reveal-focus 1400ms cubic-bezier(0.22, 1, 0.36, 1) 2800ms both;
}

@keyframes gallery-reveal-focus {
  from {
    filter: blur(28px);
    opacity: 0;
    transform: scale(1.045);
  }
  to {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-title-it*="Duna"] .frame-slot,
  body[data-title-it*="Nodo"] .frame-slot {
    animation: none;
    filter: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   PRODUCT SPLIT — info+materiali sinistra / 3D destra
   ============================================ */

.product-split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 0;
  min-height: 92svh;
  border-top: 1px solid var(--line);
}

.split-left {
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 56px);
  display: grid;
  align-content: start;
  gap: clamp(16px, 2vw, 22px);
  border-inline-end: 1px solid var(--line);
}

.split-right {
  position: sticky;
  top: 80px;
  height: calc(100svh - 80px);
  background: var(--bg);
  display: flex;
  align-items: stretch;
}

.split-right .configurator-viewer {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.split-right .configurator-canvas {
  flex: 1;
  min-height: 0;
  width: 100%;
  background: var(--bg);
}

.split-right .configurator-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.split-right .configurator-canvas model-viewer {
  width: 100%;
  height: 100%;
  display: block;
}

.split-right .viewer-hint {
  padding: 12px 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

/* ============================================
   SWATCH CERCHIETTI — colori solidi premium
   ============================================ */

.product-split .configurator-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: auto;
}

.product-split .configurator-controls [data-config-group="metal"] {
  margin-top: 0;
}

.product-split .configurator-controls [data-config-group="metal"] legend {
  margin-top: 0;
}

.product-split .config-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 8px;
  border: 0;
}

.product-split .config-group legend {
  display: block;
  width: 100%;
  flex-basis: 100%;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-split .config-option {
  display: flex;
  justify-content: center;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}

.product-split .config-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border: none;
  background: transparent;
  padding: 4px 2px;
  box-shadow: none;
}

.product-split .config-option input:checked + .config-card {
  border: none;
  background: transparent;
  box-shadow: none;
}

.product-split .config-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text);
  width: 100%;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.3;
}

body[data-title-it*="Duna"] .product-split .config-text,
body[data-title-it*="Nodo"] .product-split .config-text {
  color: var(--text);
}

.product-split .config-swatch {
  width: 100%;
  max-width: 72px;
  height: 40px;
  border-radius: 6px;
  border: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 1101px) {
  .product-split .config-swatch {
    max-width: 86px;
    height: 48px;
  }
}

.product-split .config-option input:checked + .config-card .config-swatch {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px var(--bg, #f5f1ea), 0 0 0 4px #b8895e;
}

.product-split .config-option:hover .config-swatch {
  transform: scale(1.05);
}

body[data-title-it*="Duna"] .product-split .config-swatch.wood-noce-profondo  { background: url(duna-intenso.png) center/cover; }
body[data-title-it*="Duna"] .product-split .config-swatch.wood-naturale  { background: url(duna-naturale.png) center/cover; }
body[data-title-it*="Duna"] .product-split .config-swatch.wood-cenere-calda   { background: url(duna-cenere.png) center/cover; }
body[data-title-it*="Duna"] .product-split .config-swatch.wood-salvia { background: url(duna-salvia.png) center/cover; }

body[data-title-it*="Nodo"] .product-split .config-swatch.wood-noce-profondo  { background: url(nodo-intenso.png) center/cover; }
body[data-title-it*="Nodo"] .product-split .config-swatch.wood-naturale  { background: url(nodo-naturale.png) center/cover; }
body[data-title-it*="Nodo"] .product-split .config-swatch.wood-cenere-calda   { background: url(nodo-cenere.png) center/cover; }
body[data-title-it*="Nodo"] .product-split .config-swatch.wood-salvia { background: url(nodo-salvia.png) center/cover; }

.product-split .config-swatch.metal-oro-opaco {
  background: url(metal-oro-opaco.png) center/cover;
}
.product-split .config-swatch.metal-oro-specchio {
  background: url(metal-oro-specchio.png) center/cover;
}
.product-split .config-swatch.metal-argento-opaco {
  background: url(metal-argento-opaco.png) center/cover;
}
.product-split .config-swatch.metal-argento-specchio {
  background: url(metal-argento-specchio.png) center/cover;
}
.product-split .config-swatch.metal-nero-profondo {
  background: url(metal-nero-profondo.png) center/cover;
}

/* ============================================
   SELETTORE FINITURE — card materiche a carosello infinito
   ============================================ */

.product-split .finish-selector {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.finish-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.045);
}

.finish-tab {
  min-height: 44px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: background-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

.finish-tab[aria-selected="true"] {
  background: var(--bg);
  box-shadow: 0 5px 15px rgba(17, 17, 17, 0.08);
}

.finish-tab:focus-visible,
.finish-carousel-viewport:focus-visible,
.finish-carousel-dot:focus-visible {
  outline: 2px solid var(--accent, #b08d57);
  outline-offset: 2px;
}

.product-split .finish-carousel.config-group {
  display: block;
  min-inline-size: 0;
  width: 100%;
  margin: 0;
  padding: 0 0 2px;
  overflow: hidden;
  border: 0;
}

.product-split .finish-carousel.config-group[hidden] {
  display: none !important;
}

.product-split .finish-carousel.config-group legend {
  display: block;
  width: 100%;
  margin: 0 0 9px;
  padding: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.finish-carousel-viewport {
  width: 100%;
  overflow: hidden;
  padding-block: 4px 10px;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  overscroll-behavior-x: contain;
}

.finish-carousel-viewport.is-dragging {
  cursor: grabbing;
}

html.is-finish-scroll-locked {
  scroll-behavior: auto;
}

.finish-carousel-drag-shield {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  cursor: grabbing;
  touch-action: none;
}

.finish-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  /* Il motore del carosello calcola translateX in coordinate fisiche LTR. */
  direction: ltr;
}

html[dir="rtl"] .product-split .finish-carousel .config-text {
  direction: rtl;
  text-align: start;
}

.finish-carousel-track.is-animating {
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-split .finish-carousel .config-option {
  display: block;
  flex: 0 0 calc(70% - 39px);
  min-width: 0;
  cursor: inherit;
  transform: scale(0.8);
  transform-origin: center;
  backface-visibility: hidden;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-split .finish-carousel .config-option.is-selected-visual {
  transform: scale(1);
}

.product-split .finish-carousel .config-option.is-previous-visual {
  transform-origin: right center;
}

.product-split .finish-carousel .config-option.is-next-visual {
  transform-origin: left center;
}

.product-split .finish-carousel .config-card {
  display: grid;
  grid-template-rows: auto 50px;
  gap: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.11);
  border-radius: 22px;
  background: var(--bg);
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.055);
  transition: border-color 1s ease, box-shadow 1s ease;
}

.product-split .finish-carousel .config-option.is-selected-visual .config-card,
.product-split .finish-carousel .config-option input:checked + .config-card {
  border-color: rgba(176, 141, 87, 0.46);
  background: var(--bg);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.095);
}

.product-split .finish-carousel .config-swatch,
.product-split .finish-carousel .config-option:hover .config-swatch,
.product-split .finish-carousel .config-option input:checked + .config-card .config-swatch {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.product-split .finish-carousel .config-text {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 50px;
  min-height: 50px;
  padding: 8px 10px;
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(25px, 2.1vw, 31px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.005em;
  text-align: start;
  text-transform: none;
  white-space: nowrap;
}

.finish-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 20px;
  margin-top: 3px;
}

.finish-carousel-dot {
  width: 9px;
  min-width: 9px;
  height: 9px;
  min-height: 9px;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.25);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.finish-carousel-dot.is-active {
  border-color: var(--text);
  background: var(--text);
  transform: scale(1.08);
}

.finish-carousel-hint {
  margin: 3px 0 0;
  color: var(--accent-strong, #9c7a45);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.035em;
  text-align: center;
}

/* Il viewer e il suo contenitore condividono un solo fondale, senza stacchi. */
.product-split .split-right,
.product-split .configurator-viewer,
.product-split .configurator-canvas,
.product-split .configurator-canvas model-viewer,
.product-split .configurator-canvas canvas {
  background-color: var(--bg) !important;
}

.product-split .configurator-canvas model-viewer {
  --poster-color: var(--bg);
}

@media (max-width: 760px) {
  .product-split .finish-selector {
    width: min(100%, calc(100vw - 32px));
  }

  .finish-carousel-viewport {
    /* Un dito resta agganciato al configuratore; oltre la soglia verticale
       viewer.js restituisce intenzionalmente lo scorrimento alla pagina. */
    touch-action: pinch-zoom;
    overscroll-behavior: contain;
  }

  .finish-tab {
    min-height: 42px;
    font-size: 14px;
  }

  .product-split .finish-carousel .config-option {
    flex-basis: calc(70% - 35px);
  }

  .product-split .finish-carousel .config-card {
    grid-template-rows: auto 47px;
    border-radius: 19px;
  }

  .product-split .finish-carousel .config-text {
    height: 47px;
    min-height: 47px;
    padding: 6px 9px;
    font-size: clamp(25px, 8vw, 30px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .finish-carousel-track.is-animating,
  .finish-tab,
  .product-split .finish-carousel .config-option,
  .product-split .finish-carousel .config-card,
  .finish-carousel-dot {
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   RESPONSIVE — frames gallery + product split
   ============================================ */

@media (max-width: 1100px) {
  .product-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .split-left {
    border-inline-end: none;
    border-bottom: 1px solid var(--line);
  }

  .split-right {
    position: static;
    height: 60svh;
    height: 60dvh;
  }

  /* On compact layouts the viewer is moved after the finish controls. */
  .split-left > .split-right {
    width: auto;
    margin-inline: calc(-1 * clamp(28px, 4vw, 56px));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .frames-gallery {
    height: 420px;
  }
}

@media (max-width: 760px) {
  .frames-gallery {
    height: 280px;
  }

  .frame--1, .frame--5 { height: 38%; }
  .frame--2, .frame--4 { height: 60%; }
  .frame--3             { height: 100%; }

  .split-left {
    padding: 28px 16px;
  }

  .split-right {
    height: 60svh;
    height: 60dvh;
    min-height: 360px;
  }

  .split-left > .split-right {
    margin-inline: -16px;
  }

  .split-right .mv-ar-btn { order: 3; }
  .split-right .viewer-download-actions { order: 4; }

  .viewer-download-actions {
    gap: 8px;
    padding-inline: 12px;
  }

  .viewer-download-actions .viewer-download-btn {
    padding-inline: 12px;
    font-size: 10px;
    letter-spacing: 0.11em;
  }
}

@media (max-width: 480px) {
  .frames-gallery {
    grid-template-columns: 1fr 1.4fr 1fr;
    height: 240px;
  }

  .frame--1,
  .frame--5 {
    display: none;
  }

  .frame--2,
  .frame--4 {
    height: 72%;
  }

  .frame--3 {
    height: 100%;
  }
}

/* ============================================================
   SITE REFINEMENT PASS (2026-06-05)
   Restrained brass accent + typographic rhythm. A nod to the
   brand's "ottone — portiamo la luce dove conta" story.
   Scoped via body[data-title-it…] to: home, collection,
   contacts, duna, nodo. about/concept intentionally untouched.
   No HTML changes.
   ============================================================ */
:root {
  --accent: #b08d57;                       /* ottone / brass */
  --accent-strong: #9c7a45;
  --accent-soft: rgba(176, 141, 87, 0.22);
}

/* ---- Eyebrow with a fine brass lead-rule ------------------ */
/* hero eyebrows (home / collection / contacts), product eyebrows
   (duna / nodo) and the process eyebrow on product pages.       */
body[data-title-it="Zoro Design"] .hero .eyebrow,
body[data-title-it*="Collezione"] .hero .eyebrow,
body[data-title-it*="Contatti"] .hero .eyebrow,
body[data-title-it*="Duna"] .split-left .eyebrow,
body[data-title-it*="Nodo"] .split-left .eyebrow,
body[data-title-it*="Duna"] .product-story-eyebrow,
body[data-title-it*="Nodo"] .product-story-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

body[data-title-it="Zoro Design"] .hero .eyebrow::before,
body[data-title-it*="Collezione"] .hero .eyebrow::before,
body[data-title-it*="Contatti"] .hero .eyebrow::before,
body[data-title-it*="Duna"] .split-left .eyebrow::before,
body[data-title-it*="Nodo"] .split-left .eyebrow::before,
body[data-title-it*="Duna"] .product-story-eyebrow::before,
body[data-title-it*="Nodo"] .product-story-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--accent);
  flex: 0 0 auto;
}

/* Hero eyebrows get a touch more breathing room below */
body[data-title-it="Zoro Design"] .hero .eyebrow,
body[data-title-it*="Collezione"] .hero .eyebrow,
body[data-title-it*="Contatti"] .hero .eyebrow {
  margin-bottom: 22px;
}

/* ---- Hero typographic grace (home / collection / contacts) - */
body[data-title-it="Zoro Design"] .hero h1,
body[data-title-it*="Contatti"] .hero h1 {
  letter-spacing: 0.012em;
}

body[data-title-it*="Collezione"] .hero h1 {
  letter-spacing: 0.012em;
  font-size: clamp(34px, 4.64vw, 70px);
}

body[data-title-it="Zoro Design"] .hero-sub,
body[data-title-it*="Collezione"] .hero-sub,
body[data-title-it*="Contatti"] .hero-sub {
  line-height: 1.15;
}

body[data-title-it="Zoro Design"] .hero-note,
body[data-title-it*="Collezione"] .hero-note,
body[data-title-it*="Contatti"] .hero-note {
  line-height: 1.5;
}

/* ---- Lead copy: open up interlinea ------------------------ */
body[data-title-it="Zoro Design"] .section-head p,
body[data-title-it*="Collezione"] .section-head p,
body[data-title-it*="Contatti"] .section-head p {
  line-height: 1.3;
}

body[data-title-it="Zoro Design"] .cta-inner p,
body[data-title-it="Zoro Design"] .cta-inline p,
body[data-title-it*="Collezione"] .cta-inner p,
body[data-title-it*="Contatti"] .cta-inner p,
body[data-title-it*="Duna"] .cta-inner p,
body[data-title-it*="Nodo"] .cta-inner p {
  line-height: 1.32;
}

/* Product tagline was tightly set (1.12) — give it air */
body[data-title-it*="Duna"] .product-tagline,
body[data-title-it*="Nodo"] .product-tagline {
  line-height: 1.2;
}

/* Product name logos replacing h1/h3 text */
.product-title-img,
.model-title-img {
  line-height: 1;
}

.product-title-logo {
  height: clamp(34px, 4.64vw, 70px);
  width: auto;
  display: block;
}

.model-title-logo {
  height: clamp(30px, 2.9vw, 46px);
  width: auto;
  display: block;
}

/* The logos already contain the model names; keep supporting SEO text off-screen. */
.product-title-img .visually-hidden,
.model-title-img .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ---- Made-in-Italy statement: centred brass rule + rhythm -- */
body[data-title-it="Zoro Design"] .home-statement-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

body[data-title-it="Zoro Design"] .home-statement-label::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

body[data-title-it="Zoro Design"] .home-statement-text {
  line-height: 1.32;
}

/* ---- Inline links: brass underline on hover (home) -------- */
body[data-title-it="Zoro Design"] .about-inline-link {
  text-decoration-color: var(--accent-soft);
}

body[data-title-it="Zoro Design"] .about-inline-link:hover {
  color: var(--accent-strong);
  text-decoration-color: var(--accent);
}

/* h1 home: riduzione 20% rispetto al valore globale */
body[data-title-it="Zoro Design"] h1 {
  font-size: clamp(31px, 4.18vw, 63px);
}

@media (max-width: 760px) {
  body[data-title-it="Zoro Design"] h1 {
    font-size: clamp(26px, 8.64vw, 45px);
  }
}

/* ============================================================
   SITE FOOTER — footer bianco con nav e logo ®
   ============================================================ */

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 80px) var(--pad) 0;
  --muted: #3f3f3a;
  -webkit-font-smoothing: antialiased;
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
}

.site-footer-logo-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 3px;
  margin-bottom: 18px;
  line-height: 0;
}

.site-footer-logo-img {
  height: 26px;
  width: auto;
  display: block;
}

.site-footer-reg {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
  margin-top: 1px;
  vertical-align: top;
  font-family: inherit;
}

.site-footer-tagline {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.52;
  color: var(--muted);
  max-width: 320px;
}

.site-footer-nav-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.site-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.site-footer-nav a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  opacity: 0.88;
  transition: opacity 0.22s ease;
}

.site-footer-nav a:hover {
  opacity: 1;
}

.site-footer-contact {
  display: flex;
  flex-direction: column;
}

.site-footer-email {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  opacity: 0.88;
  letter-spacing: 0.02em;
  transition: opacity 0.22s ease;
  margin-bottom: 20px;
}

.site-footer-email:hover {
  opacity: 1;
}

.site-footer-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.22s ease;
}

.site-footer-socials a:hover {
  color: var(--text);
}

.site-footer-socials svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(18px, 2vw, 26px) 0 clamp(24px, 3vw, 36px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer-bottom-end {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-footer-zorotech-divider {
  align-self: stretch;
  width: 100%;
  height: 1px;
  border: none;
  background: var(--line);
  margin: clamp(24px, 2.6vw, 36px) 0 clamp(14px, 1.6vw, 20px);
}

.site-footer-zorotech-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.site-footer-zorotech {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.site-footer-zorotech:hover {
  opacity: 1;
}

.site-footer-zorotech-logo {
  height: 26px;
  width: auto;
  display: block;
}

@media (max-width: 900px) {
  .site-footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer-top {
    grid-template-columns: 1fr;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .site-footer-bottom-end {
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding: clamp(40px, 6vw, 64px) 16px 0;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px));
  }

  .site-footer-bottom {
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
}
