/* ==========================================================================
   Mondo Pavimenti / Luxury Style — Design System
   Palette: warm anthracite ground + satin gold, parquet-grain geometry
   ========================================================================== */

:root {
  /* Color — OKLCH, single gold hue (~90°) carried through every neutral,
     surface, and text token so elevation reads as lightness, not a shadow. */
  --bg-void: oklch(10.5% 0.01 245);
  --bg-panel: oklch(15.8% 0.012 235);
  --bg-panel-alt: oklch(20% 0.015 230);
  --bg-panel-raised: oklch(24% 0.016 225);
  --gold: oklch(87% 0.165 91);
  --gold-soft: oklch(96% 0.075 94);
  --gold-dim: oklch(87% 0.165 91 / 0.5);
  --line: oklch(84% 0.022 220 / 0.14);
  --line-strong: oklch(84% 0.022 220 / 0.3);
  --text-primary: oklch(95% 0.01 210);
  --text-secondary: oklch(74% 0.018 220);
  --text-muted: oklch(57% 0.018 225);

  /* Type */
  --font-display: "Marcellus", "Cormorant Garamond", serif;
  --font-kicker: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;

  /* Layout */
  --edge: clamp(24px, 5vw, 96px);
  --radius-s: 2px;
  --radius-m: 4px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-scale semantica */
  --z-nav: 100;
  --z-floating-tools: 150;
  --z-menu-overlay: 200;
  --z-exit-panel: 250;
  --z-loader: 999;
}

/* -------------------------------- Reset -------------------------------- */

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

#realizzazioni,
#risultati,
#faq,
#surface-lab,
#collezioni,
#metodo,
#cataloghi,
#scelta-guidata {
  scroll-margin-top: 86px;
}

#surface-lab,
#collezioni,
#metodo {
  scroll-margin-top: 150px;
}

body {
  margin: 0;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: calc(var(--z-nav) + 1);
  height: 2px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: page-progress linear both;
    animation-timeline: scroll(root block);
  }

  @keyframes page-progress {
    to { transform: scaleX(1); }
  }
}

img {
  max-width: 100%;
  display: block;
}

/* L'attributo hidden deve vincere su qualunque display author-level */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.3rem;
}

/* Parquet-block signature marker: a rotated square used wherever content
   is sequenced (process steps, material rows). Echoes the herringbone
   tile geometry described in the case histories. */
.lux-kicker,
[class$="__intro"] .lux-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-kicker);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
}

.lux-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

/* Varianti "a filo": le due metà arrivano da direzioni opposte
   e si incontrano sulla giunzione, come gres e parquet in posa */
.reveal--left {
  transform: translateX(-40px);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--active {
  opacity: 1;
  transform: none;
}

/* La losanga appare solo a pezzo posato (fine reveal) */
.reveal .lux-kicker::before {
  transform: rotate(45deg) scale(0);
  transition: transform 0.35s var(--ease-out) 0.55s;
}

.reveal--active .lux-kicker::before {
  transform: rotate(45deg) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------- Pagine collezione e configuratore visuale v23 ---------------- */

.collection-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.menu-panel__collection-links {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 10px 22px;
  padding: 10px 0 18px 28px;
}

.menu-panel__collection-links a {
  width: fit-content;
  padding: 0;
  color: var(--text-muted);
  border: 0;
  font-family: var(--font-body);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.menu-panel__collection-links a::before { display: none; }
.menu-panel__collection-links a:hover,
.menu-panel__collection-links a:focus-visible { padding-left: 0; color: var(--gold-soft); }

.selector-result figure { position: relative; isolation: isolate; }
.selector-result figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 46%, rgba(3, 6, 7, 0.78));
  pointer-events: none;
}

.selector-result__material {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 32%;
  opacity: 0.24;
  background-image: repeating-linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,.34) 18.15% 18.35%, transparent 18.5% 36%);
  transform: perspective(540px) rotateX(62deg) scale(1.35);
  transform-origin: bottom;
  transition: opacity 240ms var(--ease-out), filter 240ms var(--ease-out);
  pointer-events: none;
}

.selector-result[data-selector-pattern="spina"] .selector-result__material {
  background-image: repeating-linear-gradient(45deg, transparent 0 22px, rgba(255,255,255,.32) 23px 24px, transparent 25px 46px), repeating-linear-gradient(-45deg, transparent 0 22px, rgba(255,255,255,.2) 23px 24px, transparent 25px 46px);
}
.selector-result[data-selector-pattern="libero"] .selector-result__material { opacity: 0.12; filter: blur(1px); }
.selector-result[data-selector-tone="chiaro"] img { filter: saturate(.76) brightness(1.08) contrast(.96); }
.selector-result[data-selector-tone="profondo"] img { filter: saturate(.8) brightness(.72) contrast(1.12); }

.selector-result__selection {
  position: absolute;
  right: clamp(20px, 3vw, 38px);
  bottom: clamp(20px, 3vw, 34px);
  left: clamp(20px, 3vw, 38px);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  color: var(--text-primary);
}
.selector-result__selection span { font-family: var(--font-display); font-size: clamp(1rem, 1.6vw, 1.35rem); }
.selector-result__selection small { color: var(--gold-soft); font-size: .58rem; text-transform: uppercase; letter-spacing: .08em; }
.selector-result__actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.selector-result__link { color: var(--gold-soft); font-size: .72rem; text-transform: uppercase; border-bottom: 1px solid var(--gold-dim); padding-bottom: 5px; }

@media (max-width: 700px) {
  .menu-panel__collection-links { grid-template-columns: repeat(2, auto); padding-left: 0; }
  .selector-result__selection { display: grid; }
  .selector-result__selection small { order: -1; }
  .selector-result__actions { display: grid; align-items: stretch; }
  .selector-result__link { width: fit-content; }
}

/* -------------------------------- Buttons ------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out), transform 0.3s var(--ease-out);
}

.button:active {
  transform: scale(0.97);
}

.button--primary {
  background: var(--gold);
  color: #16150d;
}

.button--primary:hover {
  background: var(--gold-soft);
}

.button--ghost {
  border-color: var(--line-strong);
  color: var(--text-primary);
}

.button--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* --------------------------------- Loader -------------------------------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  overflow: hidden;
}

.loader__curtain {
  position: absolute;
  left: 0;
  right: 0;
  height: 51%;
  background: var(--bg-void);
  transition: transform 0.75s var(--ease-out);
}

.loader__curtain--top {
  top: 0;
  border-bottom: 1px solid var(--line);
}

.loader__curtain--bottom {
  bottom: 0;
  border-top: 1px solid var(--line);
}

.loader--complete .loader__curtain--top {
  transform: translateY(-100%);
}

.loader--complete .loader__curtain--bottom {
  transform: translateY(100%);
}

.loader__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.loader--complete .loader__content {
  opacity: 0;
  transform: scale(0.94);
}

.loader--complete {
  pointer-events: none;
}

.loader__glyph path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: loader-draw 0.85s var(--ease-out) forwards;
}

@keyframes loader-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.loader__rule {
  width: 0;
  height: 1px;
  background: var(--gold-dim);
  animation: loader-rule 0.6s var(--ease-out) 1.2s forwards;
}

@keyframes loader-rule {
  to {
    width: 120px;
  }
}

.loader__word {
  font-family: var(--font-kicker);
  font-style: italic;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(6px);
  animation: loader-fade-in 0.6s var(--ease-out) 1.4s forwards;
}

.loader__count {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
  opacity: 0;
  animation: loader-fade-in 0.6s var(--ease-out) 1.5s forwards;
}

@keyframes loader-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body:not(.is-ready) {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .loader__curtain,
  .loader__content {
    transition: none;
  }
  .loader__glyph path,
  .loader__rule,
  .loader__word,
  .loader__count {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
    width: 120px;
    transform: none;
  }
}

/* ---------------------------------- Nav ---------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--edge);
  background: rgba(11, 12, 9, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.35s var(--ease-out);
}

.nav--hidden {
  transform: translateY(-100%);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-mark span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-mark strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-primary);
}

.brand-mark small {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__has-mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 620px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: 0 32px 70px -24px rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out),
    visibility 0.3s;
  z-index: 120;
}

.nav__has-mega:hover .mega-menu,
.nav__has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega-menu__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--bg-panel);
  transition: background 0.3s var(--ease-out);
}

.mega-menu__item:hover {
  background: var(--bg-panel-raised);
}

.mega-menu__swatch {
  display: block;
  height: 56px;
  border: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
}

.mega-menu__swatch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-menu__item strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--text-primary);
}

.mega-menu__item small {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.nav__links a {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 4px;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__cta {
  padding: 11px 22px;
}

.menu-button {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.menu-button span {
  width: 22px;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

body.menu-is-open .menu-button span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.menu-is-open .menu-button span:nth-child(2) {
  opacity: 0;
}

body.menu-is-open .menu-button span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ------------------- Overlay di navigazione full-screen ------------------- */

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu-overlay);
  visibility: hidden;
  transition: visibility 0s 0.7s;
}

body.menu-is-open .menu-panel {
  visibility: visible;
  transition-delay: 0s;
}

.menu-panel__surface {
  position: absolute;
  inset: 0;
  background: var(--bg-void);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px var(--edge) 28px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-out);
}

body.menu-is-open .menu-panel__surface {
  clip-path: inset(0);
}

.menu-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  color: var(--gold-soft);
}

.menu-panel__close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.menu-panel__close:hover {
  color: var(--text-primary);
}

.menu-panel__body {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: center;
  min-height: 0;
}

.menu-panel__links {
  display: flex;
  flex-direction: column;
}

.menu-panel__links a {
  position: relative;
  display: block;
  padding: clamp(10px, 2vh, 18px) 0 clamp(10px, 2vh, 18px) 34px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

body.menu-is-open .menu-panel__links a {
  opacity: 1;
  transform: translateY(0);
}

body.menu-is-open .menu-panel__links a:nth-child(1) { transition-delay: 0.20s; }
body.menu-is-open .menu-panel__links a:nth-child(2) { transition-delay: 0.24s; }
body.menu-is-open .menu-panel__links a:nth-child(3) { transition-delay: 0.28s; }
body.menu-is-open .menu-panel__links a:nth-child(4) { transition-delay: 0.32s; }
body.menu-is-open .menu-panel__links a:nth-child(5) { transition-delay: 0.36s; }
body.menu-is-open .menu-panel__links a:nth-child(6) { transition-delay: 0.40s; }
body.menu-is-open .menu-panel__links a:nth-child(7) { transition-delay: 0.44s; }

.menu-panel__links a::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  background: var(--gold);
  transform: rotate(45deg) scale(0);
  transition: transform 0.3s var(--ease-out);
}

.menu-panel__links a:hover,
.menu-panel__links a:focus-visible {
  transform: translateX(10px);
}

.menu-panel__links a:hover::before,
.menu-panel__links a:focus-visible::before {
  transform: rotate(45deg) scale(1);
}

.menu-panel__links strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--text-primary);
}

.menu-panel__links small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 2px;
}

.menu-panel__preview {
  position: relative;
  align-self: stretch;
  margin: 24px 0 24px 40px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.menu-panel__preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.menu-panel__preview img.is-active {
  opacity: 0.55;
}

.menu-panel__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-void), transparent 45%);
}

.menu-panel__foot {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.menu-panel__cta {
  margin-left: auto;
  text-align: center;
}

@media (max-width: 960px) {
  .menu-panel__body {
    grid-template-columns: 1fr;
  }

  .menu-panel__preview {
    display: none;
  }

  .menu-panel__links strong {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .menu-panel__foot {
    flex-wrap: wrap;
    gap: 10px;
  }

  .menu-panel__cta {
    margin-left: 0;
    width: 100%;
  }
}

/* ---------------------------------- Hero ---------------------------------- */

.site-shell {
  padding-top: 0;
}

.lux-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: 96px var(--edge) 120px;
}

.hero-cinematic {
  opacity: 0;
  transform: scale(1.03);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-out) 0.2s, transform 0.9s var(--ease-out) 0.2s,
    filter 0.9s var(--ease-out) 0.2s;
}

body.is-ready .hero-cinematic {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-cinematic {
    transition: opacity 0.3s;
    filter: none;
    transform: none;
  }
}

.lux-hero__copy h1 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 4.4vw, 3.7rem);
  line-height: 1.08;
}

.hero-word {
  color: var(--text-primary);
  font: inherit;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.94), 0 0 34px rgba(0, 0, 0, 0.82);
}

/* Titolo hero: rivelazione per riga, agganciata all'apertura della tendina */
.lux-hero__copy h1 .line {
  display: block;
  overflow: hidden;
}

.lux-hero__copy h1 .line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease-out);
}

body.is-ready .lux-hero__copy h1 .line:nth-child(1) > span {
  transform: none;
  transition-delay: 0.15s;
}

body.is-ready .lux-hero__copy h1 .line:nth-child(2) > span {
  transform: none;
  transition-delay: 0.27s;
}

.hero-rise {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out) 0.45s, transform 0.6s var(--ease-out) 0.45s;
}

.hero-rise--2 {
  transition-delay: 0.55s;
}

.hero-rise--3 {
  transition-delay: 0.65s;
}

body.is-ready .hero-rise {
  opacity: 1;
  transform: none;
}

.lux-hero__copy p {
  margin-top: 24px;
  max-width: 44ch;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.lux-hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.lux-stage {
  position: relative;
}

.lux-stage__image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
}

/* -------------------------- Surface light laboratory -------------------------- */

.surface-lab {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
  min-height: min(900px, 92svh);
  padding: 110px var(--edge);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.surface-lab__copy h2 {
  max-width: 13ch;
  margin-top: 18px;
  font-size: clamp(2.2rem, 4.4vw, 4.7rem);
  line-height: 1.02;
}

.surface-lab__copy > p {
  max-width: 44ch;
  margin-top: 24px;
  color: var(--text-secondary);
}

.surface-lab__controls {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.surface-choice {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 4px;
  color: var(--text-secondary);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  transition: color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.surface-choice:hover,
.surface-choice.is-active {
  color: var(--text-primary);
  transform: translateX(6px);
}

.surface-choice__swatch {
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  background-size: cover;
}

.surface-choice__swatch--wood {
  background: repeating-linear-gradient(105deg, #392f29 0 4px, #756354 4px 5px, #292522 5px 10px);
}

.surface-choice__swatch--stone {
  background: linear-gradient(135deg, #697075, #282d31 45%, #aab1b4 47%, #3f464a 51%, #171b1e);
}

.surface-choice__swatch--resilient {
  background: repeating-linear-gradient(90deg, #30383c 0 7px, #667075 7px 8px);
}

.surface-choice strong,
.surface-choice small {
  display: block;
}

.surface-choice strong {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 600;
}

.surface-choice small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.74rem;
}

.surface-light {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.surface-light input {
  width: 100%;
  accent-color: var(--gold);
}

.surface-lab__viewport {
  --rx: -4deg;
  --ry: 7deg;
  --light-x: 58%;
  --light-y: 28%;
  position: relative;
  min-height: clamp(470px, 62vw, 720px);
  display: grid;
  place-items: center;
  perspective: 1200px;
  outline: none;
  isolation: isolate;
}

.surface-lab__halo {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(194, 217, 220, 0.14), transparent 66%);
  filter: blur(20px);
  opacity: 0.68;
}

.surface-lab__sample {
  position: relative;
  width: min(82%, 620px);
  aspect-ratio: 4 / 5;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.surface-lab__viewport.is-interacting .surface-lab__sample {
  transition-duration: 80ms;
}

.surface-lab__sample img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(228, 236, 234, 0.26);
  box-shadow: 0 50px 90px -38px rgba(0, 0, 0, 0.9);
}

.surface-lab__sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--light-x) var(--light-y), rgba(242, 246, 241, 0.34), rgba(210, 225, 225, 0.08) 18%, transparent 48%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.surface-lab__edge {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: translateZ(18px);
  pointer-events: none;
}

.surface-lab__readout {
  position: absolute;
  right: 0;
  bottom: 7%;
  width: min(220px, 42%);
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(24, 31, 34, 0.78);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.surface-lab__readout span,
.surface-lab__readout small {
  display: block;
}

.surface-lab__readout span {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.surface-lab__readout small {
  margin-top: 5px;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .surface-lab {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .surface-lab__copy h2 {
    max-width: 16ch;
  }

  .surface-lab__viewport {
    min-height: 590px;
  }
}

@media (max-width: 640px) {
  .surface-lab__viewport {
    min-height: 470px;
  }

  .surface-lab__sample {
    width: 78%;
  }

  .surface-lab__readout {
    right: 2%;
    bottom: 2%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }

  .surface-lab__sample,
  .surface-choice {
    transition: none;
    transform: none;
  }

  .surface-lab__halo,
  .lux-stage__light {
    display: none;
  }
}

.lux-stage__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(205, 222, 226, 0.08), transparent 38%, rgba(8, 12, 14, 0.42));
  pointer-events: none;
}

.lux-stage__light {
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle at var(--hero-light-x, 68%) var(--hero-light-y, 24%), rgba(224, 235, 232, 0.2), transparent 24%);
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
}

/* Ken Burns lentissimo sul wrapper interno; il parallasse mouse agisce
   sul wrapper stesso via JS (translate) — mai due transform sullo stesso nodo */
.kenburns {
  width: 100%;
  height: 100%;
  animation: kenburns 18s linear infinite alternate;
  transition: translate 0.5s var(--ease-out);
  will-change: transform;
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.lux-stage__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lux-stage__card {
  position: absolute;
  left: -40px;
  bottom: -32px;
  width: 240px;
  background: var(--bg-panel-raised);
  border: 1px solid var(--line-strong);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}

.lux-stage__mark {
  width: 28px;
  flex-shrink: 0;
}

.lux-stage__card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.lux-stage__materials {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.lux-stage__materials span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.lux-stage__materials small {
  font-family: var(--font-kicker);
  font-style: italic;
  color: var(--gold);
}

/* ------------------------------- Brand split ------------------------------- */

.brand-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  margin: 0 var(--edge);
  border: 1px solid var(--line);
}

.brand-split article {
  background: var(--bg-panel);
  padding: 56px;
}

.brand-split h2 {
  margin-top: 16px;
  font-size: 1.7rem;
}

.brand-split p {
  margin-top: 18px;
  color: var(--text-secondary);
}

/* ----------------------------- Quiet statement ----------------------------- */

.quiet-statement {
  padding: 120px var(--edge);
  text-align: center;
}

.quiet-statement p {
  max-width: 52ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.5;
  color: var(--gold-soft);
}

/* ------------------------------ Material atelier ---------------------------- */

.material-atelier {
  padding: 80px var(--edge) 120px;
  border-top: 1px solid var(--line);
}

.material-atelier__intro {
  max-width: 56ch;
}

.material-atelier__intro h2 {
  margin-top: 16px;
}

.material-atelier__intro p {
  margin-top: 20px;
  color: var(--text-secondary);
}

.material-atelier__rows {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
}

.material-atelier__rows article {
  display: grid;
  grid-template-columns: 80px 240px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.material-atelier__rows article:last-child {
  border-bottom: 1px solid var(--line);
}

.material-atelier__rows span {
  font-family: var(--font-kicker);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
  position: relative;
  padding-left: 16px;
}

.material-atelier__rows span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--gold);
}

.material-atelier__rows p {
  color: var(--text-secondary);
}

/* ---------------------------- Editorial banner ------------------------------ */

.editorial-banner {
  position: relative;
  height: 56vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.editorial-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.55);
}

.editorial-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 9, 0.4), rgba(11, 12, 9, 0.75));
}

.editorial-banner p {
  position: relative;
  max-width: 22ch;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  line-height: 1.2;
  color: var(--text-primary);
  padding: 0 var(--edge);
}

.editorial-banner p em {
  font-style: italic;
  color: var(--gold-soft);
}

/* ------------------------------ Collections -------------------------------- */

.collections-section {
  padding: 80px var(--edge) 120px;
}

.collections-section > h2 {
  margin-top: 16px;
}

.collections-section > p {
  margin-top: 20px;
  max-width: 56ch;
  color: var(--text-secondary);
}

.collections-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.filter-chip {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--text-secondary);
  padding: 9px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out),
    background 0.3s var(--ease-out);
}

.filter-chip:hover {
  border-color: var(--gold-dim);
  color: var(--text-primary);
}

.filter-chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #16150d;
}

.collections-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px;
}

.collection-card.is-hidden {
  display: none;
}

.collection-card--featured {
  grid-column: span 2;
}

.collection-card--featured .collection-card__visual {
  aspect-ratio: 32 / 10;
}

.collection-card__footer {
  padding: 0 24px 24px;
}

.collection-card__preview-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(11, 12, 9, 0.55);
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.cases-section__intro {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 50px;
}

.collection-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.collection-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.collection-card__visual {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: flex-end;
  padding: 18px 24px;
  background: linear-gradient(160deg, var(--bg-panel-raised), var(--bg-panel));
  position: relative;
  overflow: hidden;
}

/* Herringbone-inspired backdrop lines: fallback texture only when no photo is present */
.collection-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    var(--line) 0,
    var(--line) 1px,
    transparent 1px,
    transparent 22px
  );
  opacity: 0.5;
}

.collection-card__visual:has(img)::before {
  display: none;
}

.collection-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 12, 9, 0.55), rgba(11, 12, 9, 0) 55%);
}

.collection-card__visual span {
  position: relative;
  font-family: var(--font-kicker);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.collection-card__content {
  padding: 24px;
}

.collection-card__content h3 {
  color: var(--text-primary);
}

.collection-card__content p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.collection-cta {
  width: 100%;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--gold-soft);
  padding: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.collection-cta:hover {
  background: var(--gold);
  color: #16150d;
  border-color: var(--gold);
}

/* ------------------------------- Couture process ---------------------------- */

.couture-process {
  padding: 80px var(--edge) 120px;
  border-top: 1px solid var(--line);
}

.couture-process__intro h2 {
  margin-top: 16px;
  max-width: 40ch;
}

.couture-process ol {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.couture-process li {
  background: var(--bg-panel);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.couture-process li span {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-kicker);
  font-style: italic;
  font-size: 0.75rem;
}

.couture-process li strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-primary);
}

.couture-process li small {
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* ---------------------------------- Cases ----------------------------------- */

.cases-section {
  padding: 80px var(--edge) 120px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cases-section > h2 {
  margin-top: 16px;
}

.cases-grid {
  margin-top: 56px;
  display: grid;
  gap: 24px;
  text-align: left;
}

.case-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
}

.case-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.case-header h3 {
  font-size: 1.2rem;
}

.case-header span {
  font-family: var(--font-kicker);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 0.95rem;
}

.case-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.case-side {
  background: var(--bg-panel);
  padding: 24px 28px;
}

.case-side h4 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.case-side p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --------------------------- Global Atelier --------------------------- */
.showroom-section {
  padding: clamp(100px, 11vw, 164px) 0 0;
  text-align: left;
  background: var(--bg-void);
}

/* -------------------- Materia, collezioni e FORMA v2 -------------------- */

.surface-lab {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: start;
  min-height: 0;
  padding: clamp(110px, 12vw, 176px) var(--edge);
  background: var(--bg-void);
  border-block: 1px solid var(--line);
}

.surface-lab__copy {
  position: sticky;
  top: 130px;
}

.surface-lab__copy h2 {
  max-width: 9ch;
  margin-top: 18px;
  font-size: clamp(3rem, 5.8vw, 6.4rem);
  line-height: 0.96;
}

.surface-lab__copy > p {
  max-width: 40ch;
  margin-top: 26px;
}

.surface-lab__viewport {
  position: relative;
  min-height: min(68vw, 720px);
  overflow: hidden;
  outline: 0;
  isolation: isolate;
}

.surface-lab__viewport > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms var(--ease-out), scale 800ms var(--ease-out);
}

.surface-lab__viewport:hover > img {
  scale: 1.025;
}

.surface-lab__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 8, 9, 0.9));
  pointer-events: none;
}

.surface-lab__readout {
  right: clamp(24px, 4vw, 54px);
  bottom: clamp(24px, 4vw, 52px);
  left: clamp(24px, 4vw, 54px);
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.surface-lab__readout span {
  font-size: clamp(1.8rem, 3.3vw, 3.8rem);
  line-height: 1;
}

.surface-lab__readout small {
  margin-top: 12px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.surface-lab__controls {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 8px;
  border-block: 1px solid var(--line);
}

.surface-choice {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 6px 16px;
  min-height: 132px;
  padding: 28px 30px;
  color: var(--text-secondary);
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  transition: color 220ms var(--ease-out), background 220ms var(--ease-out);
}

.surface-choice:last-child {
  border-right: 0;
}

.surface-choice:hover,
.surface-choice.is-active {
  color: var(--text-primary);
  background: var(--bg-panel);
  transform: none;
}

.surface-choice > span {
  grid-row: 1 / 3;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.surface-choice strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.surface-choice small {
  margin: 0;
  color: var(--text-muted);
}

.collections-section {
  padding: clamp(110px, 12vw, 176px) var(--edge);
  background: var(--bg-panel);
}

.collections-section > h2 {
  max-width: 12ch;
  margin-top: 18px;
  font-size: clamp(3rem, 6.6vw, 7rem);
  line-height: 0.94;
}

.collections-section > p {
  max-width: 52ch;
  margin-top: 28px;
}

.collections-grid {
  display: block;
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line-strong);
}

.collection-card,
.collection-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  min-height: 610px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  transform: none;
}

.collection-card:hover {
  border-color: var(--line-strong);
  transform: none;
}

.collection-card:nth-child(even) .collection-card__visual {
  order: 2;
}

.collection-card__visual,
.collection-card--featured .collection-card__visual {
  min-height: 610px;
  aspect-ratio: auto;
  padding: clamp(28px, 4vw, 54px);
}

.collection-card__visual::after {
  background: linear-gradient(180deg, transparent 52%, rgba(5, 8, 9, 0.72));
}

.collection-card__visual img {
  filter: saturate(0.84) contrast(1.01);
}

.collection-card:hover .collection-card__visual img {
  filter: saturate(0.96) contrast(1);
  transform: scale(1.025);
}

.collection-card__visual > span {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 86px);
}

.collection-card__content h3 {
  max-width: 12ch;
  font-size: clamp(2.1rem, 3.8vw, 4.2rem);
  line-height: 1;
  font-weight: 500;
}

.collection-card__content p {
  max-width: 42ch;
  margin-top: 24px;
  line-height: 1.7;
}

.collection-card__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 46px;
  padding: 0;
}

.collection-cta {
  width: auto;
  min-height: 46px;
}

.collection-add {
  width: auto;
  min-height: 46px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid transparent;
}

.couture-process {
  padding: clamp(110px, 12vw, 176px) var(--edge);
}

.couture-process__intro--visual {
  min-height: min(72svh, 780px);
  padding: clamp(36px, 6vw, 82px);
  align-items: flex-end;
}

.couture-process__intro--visual::after {
  background: linear-gradient(90deg, rgba(5, 8, 9, 0.9), rgba(5, 8, 9, 0.34) 62%, rgba(5, 8, 9, 0.12));
}

.couture-process__intro--visual > img {
  transition: opacity 220ms var(--ease-out), scale 900ms var(--ease-out);
}

.couture-process__intro-content {
  max-width: 720px;
}

.couture-process__intro-content > small {
  display: block;
  margin-top: 28px;
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.couture-process__intro-content h2 {
  max-width: 11ch;
  margin-top: 16px;
  font-size: clamp(2.8rem, 5.7vw, 6.2rem);
  line-height: 0.96;
}

.couture-process__intro-content p {
  max-width: 48ch;
  margin-top: 24px;
  color: var(--text-secondary);
}

.couture-process ol {
  margin-top: 0;
  background: transparent;
}

.couture-process li {
  padding: 0;
  background: transparent;
}

.process-step {
  position: relative;
  width: 100%;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 26px 22px;
  color: var(--text-secondary);
  text-align: left;
  background: var(--bg-panel);
  border: 0;
  transition: color 220ms var(--ease-out), background 220ms var(--ease-out);
}

.process-step::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms var(--ease-out);
}

.process-step:hover,
.process-step.is-active {
  color: var(--text-primary);
  background: var(--bg-panel-alt);
}

.process-step.is-active::before {
  transform: scaleX(1);
}

.couture-process .process-step span {
  width: auto;
  height: auto;
  border: 0;
  color: var(--gold);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.couture-process .process-step strong {
  font-size: 1.08rem;
  font-weight: 500;
}

.couture-process .process-step small {
  color: var(--text-muted);
}

.footer__visual-note {
  max-width: 72ch;
  margin: 18px auto 0;
  color: var(--text-muted);
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  .surface-lab {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .surface-lab__copy {
    position: static;
  }

  .surface-lab__viewport {
    min-height: min(86vw, 620px);
  }

  .surface-lab__controls {
    grid-column: 1;
  }

  .collection-card,
  .collection-card--featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .collection-card:nth-child(even) .collection-card__visual {
    order: 0;
  }

  .collection-card__visual,
  .collection-card--featured .collection-card__visual {
    min-height: min(74vw, 580px);
  }

  .couture-process ol {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
    scrollbar-width: thin;
  }
}

@media (max-width: 640px) {
  .surface-lab,
  .collections-section,
  .couture-process {
    padding: 84px 24px;
  }

  .surface-lab__controls {
    grid-template-columns: 1fr;
  }

  .surface-choice {
    min-height: 102px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .surface-choice:last-child {
    border-bottom: 0;
  }

  .surface-lab__viewport {
    min-height: 112vw;
  }

  .collection-card__visual,
  .collection-card--featured .collection-card__visual {
    min-height: 78vw;
  }

  .collection-card__content {
    padding: 38px 0 52px;
  }

  .collection-card__footer {
    grid-template-columns: 1fr;
  }

  .couture-process__intro--visual {
    min-height: 68svh;
    padding: 28px 24px;
  }

  .couture-process ol {
    margin-inline: 0;
  }

  .process-step {
    min-height: 126px;
  }
}

.global-atelier__intro {
  width: min(1320px, calc(100% - (var(--edge) * 2)));
  margin: 0 auto clamp(48px, 7vw, 92px);
}

.global-atelier__intro h2 {
  margin-top: 18px;
  max-width: 12ch;
  font-size: clamp(3rem, 6.8vw, 7rem);
  line-height: 0.93;
}

.global-atelier__intro p {
  margin-top: 24px;
  max-width: 48ch;
  color: var(--text-secondary);
}

.global-atelier {
  --atelier-x: 64%;
  --atelier-y: 32%;
  position: relative;
  min-height: min(78svh, 780px);
  overflow: hidden;
  border-block: 1px solid var(--line);
  isolation: isolate;
  scroll-margin-top: 86px;
}

.atelier-scenes,
.atelier-scene,
.atelier-scene img,
.atelier-scenes__scrim,
.atelier-lightfall {
  position: absolute;
  inset: 0;
}

.atelier-scene {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 680ms var(--ease-out), visibility 680ms;
}

.atelier-scene.is-active {
  opacity: 1;
  visibility: visible;
}

.atelier-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  scale: 1.035;
  transition: scale 1100ms var(--ease-out), filter 680ms var(--ease-out);
}

.atelier-scene.is-active img {
  filter: saturate(0.96) contrast(1);
  scale: 1;
}

.atelier-scenes__scrim {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(4, 7, 8, 0.9) 0%, rgba(4, 7, 8, 0.45) 44%, rgba(4, 7, 8, 0.08) 72%),
    linear-gradient(180deg, rgba(4, 7, 8, 0.12), rgba(4, 7, 8, 0.65));
}

.atelier-lightfall {
  z-index: 3;
  pointer-events: none;
  opacity: 0.52;
  background: radial-gradient(circle at var(--atelier-x) var(--atelier-y), rgba(231, 239, 236, 0.18), transparent 28%);
  mix-blend-mode: screen;
  transition: opacity 240ms var(--ease-out);
}

.atelier-copy {
  position: absolute;
  bottom: clamp(48px, 7vw, 82px);
  left: var(--edge);
  z-index: 5;
  width: min(610px, 52vw);
  opacity: 0;
  translate: 0 18px;
  pointer-events: none;
  transition: opacity 360ms var(--ease-out), translate 520ms var(--ease-out);
}

.atelier-copy.is-active {
  opacity: 1;
  translate: 0;
}

.atelier-copy small {
  color: var(--gold-soft);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.atelier-copy h3 {
  margin-top: 14px;
  max-width: 15ch;
  font-size: clamp(2.1rem, 4.5vw, 5rem);
  line-height: 0.98;
  font-weight: 500;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.34);
}

.atelier-copy p {
  margin-top: 18px;
  max-width: 46ch;
  color: oklch(86% 0.014 220);
  line-height: 1.62;
}

.atelier-tabs {
  position: absolute;
  right: var(--edge);
  bottom: clamp(48px, 7vw, 82px);
  z-index: 5;
  display: grid;
  width: min(300px, 26vw);
}

.atelier-tabs button {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 0;
  color: oklch(76% 0.014 220);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(232, 238, 235, 0.25);
  text-align: left;
  font-size: 0.78rem;
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.atelier-tabs button::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--gold-soft);
  transition: width 260ms var(--ease-out);
}

.atelier-tabs button:hover,
.atelier-tabs button.is-active {
  color: var(--text-primary);
  border-color: var(--gold-dim);
}

.atelier-tabs button.is-active::before {
  width: 28px;
}

.atelier-tabs button:focus-visible {
  outline: 1px solid var(--gold-soft);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .global-atelier {
    min-height: 720px;
  }

  .atelier-scene img {
    object-position: 60% center;
  }

  .atelier-scenes__scrim {
    background: linear-gradient(180deg, rgba(4, 7, 8, 0.08), rgba(4, 7, 8, 0.38) 42%, rgba(4, 7, 8, 0.92) 82%);
  }

  .atelier-copy {
    right: 24px;
    bottom: 154px;
    left: 24px;
    width: auto;
  }

  .atelier-copy h3 {
    max-width: 13ch;
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .atelier-tabs {
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    width: auto;
    gap: 16px;
  }

  .atelier-tabs button {
    display: block;
    flex: 1;
    min-width: 0;
    min-height: 44px;
    font-size: 0.65rem;
  }

  .atelier-tabs button::before {
    display: none;
  }
}

/* --------------------------------- Proof band -------------------------------- */

.proof-band {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(350px, 1.35fr) repeat(2, minmax(160px, 0.55fr));
  align-items: stretch;
  padding: clamp(88px, 9vw, 136px) var(--edge);
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-band__intro {
  padding-right: clamp(30px, 5vw, 72px);
}

.proof-band__intro h2 {
  max-width: 9ch;
  margin-top: 18px;
  font-size: clamp(2.4rem, 4.4vw, 4.8rem);
  line-height: 0.98;
}

.proof-band article {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 12px clamp(22px, 2.6vw, 42px) 4px;
  text-align: left;
  border-left: 1px solid var(--line);
}

.proof-band span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.4rem);
  color: var(--gold-soft);
  white-space: nowrap;
}

.proof-band__lead span {
  font-size: clamp(3.2rem, 5.6vw, 6.5rem);
  line-height: 0.9;
}

.proof-band strong {
  display: block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 500;
  color: var(--text-primary);
}

.proof-band p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* --------------------------------- Showroom ----------------------------------- */

.showroom-section {
  padding: 96px var(--edge);
  text-align: center;
}

.showroom-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  text-align: left;
}

.showroom-card {
  padding: 32px 28px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
}

.showroom-card span {
  font-family: var(--font-kicker);
  font-style: italic;
  color: var(--gold);
}

.showroom-card h3 {
  margin-top: 12px;
}

.showroom-card p {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --------------------------------- Contact ------------------------------------- */

.contact-section {
  padding: 96px var(--edge) 120px;
  border-top: 1px solid var(--line);
}

.contact-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.contact-info h2 {
  max-width: 20ch;
}

.contact-info > p {
  margin-top: 20px;
  color: var(--text-secondary);
  max-width: 40ch;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.contact-detail-item h4 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-detail-item p {
  margin-top: 6px;
  color: var(--text-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-control,
.form-select {
  background: var(--bg-void);
  border: 1px solid var(--line-strong);
  color: var(--text-primary);
  padding: 12px 14px;
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.3s var(--ease-out);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-submit-btn {
  margin-top: 4px;
  align-self: flex-start;
}

.form-submit-btn--sent {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: #16150d;
  cursor: default;
}

.contact-form__fallback {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: -6px;
}

.contact-form__fallback a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__status {
  font-size: 0.85rem;
  color: var(--gold-soft);
  min-height: 1.2em;
}

/* ---------------------------------- Footer -------------------------------------- */

footer {
  padding: 40px var(--edge);
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* --------------------------------- Responsive ------------------------------------ */

@media (max-width: 960px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .lux-hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .lux-stage__card {
    position: static;
    width: 100%;
    margin-top: 24px;
  }

  .brand-split {
    grid-template-columns: 1fr;
  }

  .material-atelier__rows article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .couture-process ol {
    grid-template-columns: 1fr 1fr;
  }

  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-menu {
    width: min(620px, 88vw);
  }

  .case-body {
    grid-template-columns: 1fr;
  }

  .proof-band {
    grid-template-columns: 1fr;
  }

  .proof-band__intro {
    padding: 0 0 44px;
  }

  .proof-band article {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 28px 0;
  }

  .faq-section {
    grid-template-columns: 1fr;
  }

  .faq-section__intro {
    position: static;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lux-hero {
    gap: 32px;
    padding: 32px 24px 44px;
  }

  .lux-hero__copy h1 {
    margin-top: 12px;
    font-size: clamp(2.15rem, 11vw, 2.75rem);
    line-height: 1.02;
  }

  .lux-hero__copy p {
    margin-top: 20px;
    font-size: 0.94rem;
  }

  .lux-hero__actions {
    gap: 10px;
    margin-top: 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .couture-process ol {
    grid-template-columns: 1fr;
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }

  .collection-card--featured {
    grid-column: span 1;
  }

  .lux-stage__image {
    aspect-ratio: 16 / 9;
  }

  .lux-stage__card,
  .lux-stage__materials {
    display: none;
  }

  .lux-hero__actions .button {
    width: 100%;
    padding-block: 12px;
  }
}

/* ------------- Reduced motion: blocco unico per le novità v2 ------------- */

@media (prefers-reduced-motion: reduce) {
  .menu-panel__surface {
    clip-path: inset(0);
    transition: none;
    opacity: 0;
  }

  body.menu-is-open .menu-panel__surface {
    opacity: 1;
  }

  .menu-panel__links a {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .menu-panel__preview img {
    transition: none;
  }
}

/* ---------------- Scroll-driven (CSS puro, progressivo) ---------------- */

@supports (animation-timeline: view()) {
  .editorial-banner img {
    animation: bannerdrift linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }

  @keyframes bannerdrift {
    from {
      transform: scale(1.12) translateY(-3%);
    }
    to {
      transform: scale(1.12) translateY(3%);
    }
  }
}

/* ---------- Reduced motion: integrazioni motion "La Posa" ---------- */

@media (prefers-reduced-motion: reduce) {
  .kenburns {
    animation: none;
  }

  .lux-hero__copy h1 .line > span,
  .hero-rise {
    transform: none;
    opacity: 1;
    transition: none;
  }

  .reveal--left,
  .reveal--right {
    transform: none;
  }

  .reveal .lux-kicker::before {
    transform: rotate(45deg) scale(1);
    transition: none;
  }

  .nav {
    transition: none;
  }

  .button:active {
    transform: none;
  }

  @supports (animation-timeline: view()) {
    .editorial-banner img {
      animation: none;
    }
  }
}

/* --------------------- Comparatore Materia (elemento firma) --------------------- */

.materia-compare {
  padding: 80px var(--edge) 100px;
  border-top: 1px solid var(--line);
}

.materia-compare h2 {
  margin-top: 16px;
  max-width: 24ch;
}

.compare {
  position: relative;
  margin-top: 40px;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: ew-resize;
  touch-action: none;
  --split: 50%;
}

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

.compare__over {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 1px;
  background: var(--gold);
}

.compare__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 6px rgba(11, 12, 9, 0.45);
}

.compare__label {
  position: absolute;
  bottom: 14px;
  font-family: var(--font-kicker);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-soft);
  background: rgba(11, 12, 9, 0.55);
  padding: 4px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  pointer-events: none;
}

.compare__label--left {
  left: 14px;
}

.compare__label--right {
  right: 14px;
}

.compare .collection-card__preview-tag {
  top: 14px;
  right: 14px;
}

.compare__hint {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.compare:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

/* ----------------------------- Retention (F5) ----------------------------- */

/* Marquee social-proof: solo fatti reali, losanga come separatore */
.proof-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.proof-marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.proof-marquee:hover .proof-marquee__track {
  animation-play-state: paused;
}

.proof-marquee__track span {
  white-space: nowrap;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.proof-marquee__track i {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* FAQ */
.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(56px, 9vw, 140px);
  padding: clamp(96px, 11vw, 160px) var(--edge);
  border-top: 1px solid var(--line);
}

.faq-section__intro {
  position: sticky;
  top: 132px;
  align-self: start;
}

.faq-section__intro h2 {
  max-width: 10ch;
  margin-top: 18px;
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  line-height: 0.98;
}

.faq-section__intro p {
  max-width: 38ch;
  margin-top: 24px;
  color: var(--text-secondary);
}

.faq-list {
  max-width: 820px;
  counter-reset: faq;
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  counter-increment: faq;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  padding: 28px 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: counter(faq, decimal-leading-zero);
  font-family: var(--font-body);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.faq-list summary::after {
  content: "+";
  justify-self: end;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gold-soft);
  transition: transform 280ms var(--ease-out), color 280ms var(--ease-out);
}

.faq-list details[open] summary::after {
  color: var(--gold);
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 46px 28px 62px;
  color: var(--text-secondary);
  max-width: 62ch;
  line-height: 1.72;
}

/* Campionario flottante */
.tray {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--z-floating-tools);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-panel-raised);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--gold-soft);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  box-shadow: 0 18px 45px -18px rgba(0, 0, 0, 0.7);
}

.tray__diamond {
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

.tray:hover {
  border-color: var(--gold);
}

.collection-add {
  width: 100%;
  margin-top: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 8px;
  transition: color 0.3s var(--ease-out);
}

.collection-add:hover {
  color: var(--gold-soft);
}

.collection-add.is-added {
  color: var(--gold);
}

/* Pannello exit-intent */
.exit-panel {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: var(--z-exit-panel);
  width: min(340px, calc(100vw - 36px));
  background: var(--bg-panel-raised);
  border: 1px solid var(--line-strong);
  padding: 22px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.75);
}

.exit-panel strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.exit-panel p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.exit-panel__form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.exit-panel__form .form-control {
  flex: 1;
  min-width: 0;
}

.exit-panel__form .button {
  padding: 12px 18px;
}

.exit-panel__close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 8px 10px;
}

.exit-panel__status {
  margin-top: 10px;
  color: var(--gold-soft);
  font-size: 0.82rem;
  min-height: 1em;
}

/* Form a 2 passi */
.contact-form__progress {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.form-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-step__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.form-back-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 12px 6px;
}

.form-back-btn:hover {
  color: var(--text-primary);
}

.form-next-btn {
  align-self: flex-start;
}

/* Barra di lettura */
@supports (animation-timeline: scroll()) {
  .read-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform-origin: left;
    transform: scaleX(0);
    z-index: var(--z-loader);
    animation: readprogress linear both;
    animation-timeline: scroll();
    pointer-events: none;
  }

  @keyframes readprogress {
    to {
      transform: scaleX(1);
    }
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (max-width: 960px) {
  .tray {
    bottom: 70px;
    right: 12px;
  }

  .exit-panel {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof-marquee__track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
  }

  .faq-list summary::after {
    transition: none;
  }

  .read-progress {
    animation: none;
    transform: scaleX(0);
  }
}

/* --------------------------- Rifinitura maison (F6) --------------------------- */

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--gold);
  color: #16150d;
}

html {
  scrollbar-color: var(--gold-dim) var(--bg-void);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 4px;
}

/* Hover d'autore */
.collection-card__visual img {
  transition: transform 0.6s var(--ease-out);
}

.collection-card:hover .collection-card__visual img {
  transform: scale(1.04);
}

.case-card {
  transition: border-color 0.35s var(--ease-out);
}

.case-card:hover {
  border-color: var(--line-strong);
}

.case-header span {
  transition: color 0.35s var(--ease-out);
}

.case-card:hover .case-header span {
  color: var(--gold);
}

.showroom-card {
  transition: border-color 0.35s var(--ease-out);
}

.showroom-card:hover {
  border-color: var(--line-strong);
}

@media (hover: none) {
  .collection-card:hover .collection-card__visual img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .collection-card__visual img,
  .case-card,
  .case-header span,
  .showroom-card {
    transition: none;
  }
}

/* WhatsApp click-to-chat */
.whatsapp-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--z-floating-tools);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-panel-raised);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  padding: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  box-shadow: 0 18px 45px -18px rgba(0, 0, 0, 0.7);
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

body.floating-contact-quiet .whatsapp-btn {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.whatsapp-btn:hover {
  color: var(--gold-soft);
  border-color: var(--gold);
}

@media (max-width: 960px) {
  .whatsapp-btn {
    right: 12px;
    bottom: 18px;
  }
}

/* ------------------- Integrazione immagini F2 (case/showroom/metodo) ------------------- */

.case-header--visual {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  align-items: flex-end;
}

.case-header__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-header--visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 12, 9, 0.82), rgba(11, 12, 9, 0.35));
}

.case-header--visual h3,
.case-header--visual > span {
  position: relative;
  z-index: 1;
}

.case-header--visual .collection-card__preview-tag {
  z-index: 1;
}

.showroom-card {
  padding: 0;
  overflow: hidden;
}

.showroom-card__visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.showroom-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.showroom-card:hover .showroom-card__visual img {
  transform: scale(1.04);
}

.showroom-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 12, 9, 0.5), rgba(11, 12, 9, 0) 55%);
}

.showroom-card > span,
.showroom-card > h3,
.showroom-card > p {
  padding-left: 28px;
  padding-right: 28px;
}

.showroom-card > span {
  display: inline-block;
  margin-top: 24px;
}

.showroom-card > p {
  padding-bottom: 28px;
}

.couture-process__intro--visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: clamp(32px, 6vw, 64px);
}

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

.couture-process__intro--visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 12, 9, 0.9), rgba(11, 12, 9, 0.4));
}

.couture-process__intro-content {
  position: relative;
  z-index: 1;
}

@media (hover: none) {
  .showroom-card:hover .showroom-card__visual img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showroom-card__visual img {
    transition: none;
  }
}

/* ------------------------- Fix da critique F8 ------------------------- */

/* Il drag del comparatore non deve bloccare lo scroll verticale su touch */
.compare {
  touch-action: pan-y;
}

.editorial-banner__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
}

/* Hardening menu mobile: nessun bleed orizzontale dal translateX di hover/focus */
.menu-panel__surface {
  overflow-x: hidden;
}

@media (pointer: coarse) {
  .menu-panel__links a:hover,
  .menu-panel__links a:focus-visible {
    transform: none;
  }
}

@media (max-width: 480px) {
  .menu-panel__surface {
    padding: 18px 24px 20px;
  }

  .menu-panel__top {
    padding-bottom: 14px;
  }

  .menu-panel__links a {
    padding: 9px 0 9px 34px;
  }

  .menu-panel__links strong {
    font-size: 1.55rem;
  }

  .menu-panel__links small {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .menu-panel__foot {
    gap: 6px;
    padding-top: 12px;
    font-size: 0.74rem;
  }

  .menu-panel__cta {
    padding-block: 11px;
  }
}

/* --------------------------- Immersive hero v3 --------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  background: linear-gradient(180deg, rgba(7, 10, 11, 0.86), rgba(7, 10, 11, 0.42) 72%, transparent);
  backdrop-filter: blur(8px) saturate(115%);
  border-bottom-color: rgba(228, 235, 232, 0.1);
}

.lux-hero {
  --hero-light-x: 68%;
  --hero-light-y: 28%;
  position: relative;
  min-height: calc(100svh - 26px);
  display: flex;
  align-items: flex-end;
  padding: clamp(150px, 20vh, 230px) var(--edge) clamp(92px, 13vh, 132px);
  overflow: hidden;
  isolation: isolate;
}

.hero-scenes,
.hero-scene,
.hero-scenes__veil,
.hero-scenes__light {
  position: absolute;
  inset: 0;
}

.hero-scenes {
  z-index: -2;
  background: var(--bg-void);
}

.hero-scene {
  margin: 0;
  opacity: 0;
  transition: opacity 900ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-scene.is-active {
  opacity: 1;
}

.hero-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  scale: 1.01;
  translate: 0 0;
  transition: scale 7000ms cubic-bezier(0.4, 0, 0.2, 1), translate 600ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: scale, translate;
}

.hero-scene.is-active img {
  scale: 1.055;
}

.hero-scenes__veil {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 8, 9, 0.93) 0%, rgba(5, 8, 9, 0.74) 32%, rgba(5, 8, 9, 0.16) 66%, rgba(5, 8, 9, 0.1) 100%),
    linear-gradient(180deg, rgba(5, 8, 9, 0.2), transparent 46%, rgba(5, 8, 9, 0.76));
  pointer-events: none;
}

.hero-scenes__light {
  z-index: 3;
  inset: -18%;
  background: radial-gradient(circle at var(--hero-light-x) var(--hero-light-y), rgba(230, 238, 235, 0.16), transparent 23%);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: background-position 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lux-hero__copy {
  position: relative;
  z-index: 4;
  width: min(720px, 62vw);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.36);
}

.lux-hero__copy h1 {
  margin-top: 18px;
  max-width: 13ch;
  font-size: clamp(3.2rem, 6vw, 6.35rem);
  line-height: 0.98;
}

.lux-hero__copy .hero-word {
  position: relative;
  z-index: 0;
  display: inline-block;
  margin-bottom: -0.2em;
  padding-bottom: 0.2em;
  color: var(--gold-soft);
  -webkit-text-stroke: 0.65px rgba(255, 252, 231, 0.34);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.98),
    0 8px 24px rgba(0, 0, 0, 0.96),
    0 0 48px rgba(0, 0, 0, 0.9);
}

body.is-ready .lux-hero__copy h1 .line:nth-child(2) {
  overflow: visible;
}

.lux-hero__copy .hero-word::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -0.08em -0.22em -0.02em;
  background: radial-gradient(ellipse at center, rgba(3, 5, 6, 0.78), rgba(3, 5, 6, 0.36) 52%, transparent 76%);
  filter: blur(9px);
  pointer-events: none;
}

.lux-hero__copy p {
  max-width: 40ch;
  color: oklch(84% 0.016 220);
}

.lux-hero .button--ghost {
  background: rgba(8, 12, 13, 0.24);
  backdrop-filter: blur(12px);
}

.hero-scene-controls {
  position: absolute;
  right: max(var(--edge), 156px);
  bottom: clamp(38px, 6vh, 62px);
  z-index: 5;
  display: flex;
  gap: 24px;
}

.hero-scene-controls button {
  min-width: 72px;
  padding: 10px 0;
  color: oklch(76% 0.014 220);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(232, 238, 235, 0.24);
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.hero-scene-controls button:hover,
.hero-scene-controls button.is-active {
  color: var(--text-primary);
  border-color: var(--gold);
}

.hero-scene-controls button:active {
  transform: scale(0.97);
}

@media (max-width: 960px) {
  .lux-hero {
    min-height: calc(100svh - 22px);
    padding: 138px var(--edge) 116px;
  }

  .lux-hero__copy {
    width: min(680px, 86vw);
  }

  .lux-hero__copy h1 {
    max-width: 12ch;
  }

  .hero-scene-controls {
    right: var(--edge);
  }
}

@media (max-width: 640px) {
  .lux-hero {
    min-height: calc(100svh - 18px);
    padding: 112px 24px 160px;
  }

  .hero-scene img {
    object-position: 64% center;
  }

  .hero-scenes__veil {
    background:
      linear-gradient(90deg, rgba(5, 8, 9, 0.82), rgba(5, 8, 9, 0.2)),
      linear-gradient(180deg, rgba(5, 8, 9, 0.28), rgba(5, 8, 9, 0.18) 35%, rgba(5, 8, 9, 0.9) 84%);
  }

  .lux-hero__copy {
    width: 100%;
  }

  .lux-hero__copy h1 {
    max-width: 10ch;
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .lux-hero__copy p {
    max-width: 32ch;
  }

  .lux-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .lux-hero__actions .button {
    min-width: 0;
    padding-inline: 10px;
    font-size: 0.68rem;
  }

  .hero-scene-controls {
    right: 82px;
    bottom: 24px;
    left: 24px;
    justify-content: flex-end;
    gap: 16px;
  }

  .hero-scene-controls button {
    min-width: 58px;
    font-size: 0.66rem;
  }

  .whatsapp-btn {
    width: 46px;
    height: 46px;
  }
}

html,
body {
  overflow-x: clip;
}

/* ------------------------ Materia in tre atti ------------------------ */
.craft-story {
  padding: clamp(90px, 10vw, 150px) 0 0;
  background: var(--bg-void);
  scroll-margin-top: 86px;
}

.craft-story__intro {
  width: min(760px, calc(100% - (var(--edge) * 2)));
  margin: 0 auto clamp(38px, 5vw, 64px);
  text-align: center;
}

.craft-story__intro h2 {
  margin: 18px auto 20px;
  max-width: 17ch;
  scroll-margin-top: 132px;
}

.craft-story__intro p {
  margin-inline: auto;
  max-width: 56ch;
  color: var(--text-secondary);
}

.craft-panels {
  display: flex;
  height: min(72svh, 720px);
  min-height: 540px;
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.craft-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  color: var(--text-primary);
  background: var(--bg-void);
  border: 0;
  border-right: 1px solid rgba(232, 238, 235, 0.14);
  text-align: left;
  cursor: pointer;
  transition: flex 520ms var(--ease-out);
}

.craft-panel:last-child {
  border-right: 0;
}

.craft-panel.is-active {
  flex: 1.9 1 0;
}

.craft-panel img,
.craft-panel__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.craft-panel img {
  object-fit: cover;
  filter: saturate(0.76) contrast(1.04);
  scale: 1.04;
  transition: scale 900ms var(--ease-out), filter 520ms var(--ease-out);
}

.craft-panel.is-active img {
  filter: saturate(0.94) contrast(1.02);
  scale: 1;
}

.craft-panel__veil {
  background: linear-gradient(180deg, rgba(5, 8, 9, 0.08) 25%, rgba(5, 8, 9, 0.9) 100%);
}

.craft-panel__index {
  position: absolute;
  top: 28px;
  left: 30px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: rgba(245, 245, 240, 0.72);
}

.craft-panel__copy {
  position: absolute;
  right: 30px;
  bottom: 34px;
  left: 30px;
  z-index: 2;
  display: grid;
  gap: 9px;
}

.craft-panel__copy small {
  color: var(--gold-soft);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.craft-panel__copy strong {
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.7rem);
  line-height: 1.02;
  font-weight: 500;
}

.craft-panel__copy > span {
  max-width: 42ch;
  color: oklch(84% 0.014 220);
  line-height: 1.55;
  opacity: 0;
  translate: 0 10px;
  transition: opacity 320ms var(--ease-out) 80ms, translate 320ms var(--ease-out) 80ms;
}

.craft-panel.is-active .craft-panel__copy > span {
  opacity: 1;
  translate: 0;
}

.craft-panel:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: -4px;
}

/* ---------------------- Case history editoriali ---------------------- */
.cases-section {
  padding: clamp(100px, 11vw, 164px) var(--edge);
  text-align: left;
}

.cases-section > h2 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 5.8vw, 6rem);
  line-height: 0.98;
}

.cases-section__intro {
  max-width: 54ch;
  margin: 24px 0 0;
  text-align: left;
}

.cases-grid {
  margin-top: clamp(56px, 8vw, 104px);
  gap: 0;
  border-top: 1px solid var(--line);
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 540px;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.case-card:nth-child(even) .case-header {
  order: 2;
}

.case-header--visual {
  min-height: 540px;
  align-content: flex-end;
  padding: clamp(30px, 4vw, 54px);
  border: 0;
}

.case-header__img {
  filter: saturate(0.82) contrast(1.02);
  scale: 1.015;
  transition: scale 800ms var(--ease-out), filter 500ms var(--ease-out);
}

.case-card:hover .case-header__img,
.case-card:focus-within .case-header__img {
  filter: saturate(0.94) contrast(1);
  scale: 1.045;
}

.case-header--visual::after {
  background: linear-gradient(180deg, rgba(5, 8, 9, 0.08) 20%, rgba(5, 8, 9, 0.9) 100%);
}

.case-header h3 {
  width: 100%;
  max-width: 18ch;
  font-size: clamp(1.8rem, 3.3vw, 3.6rem);
  line-height: 1.02;
  font-weight: 500;
}

.case-header--visual > span:not(.collection-card__preview-tag) {
  width: 100%;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-body {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 0;
  padding: clamp(34px, 5vw, 72px);
  background: var(--bg-panel);
}

.case-side {
  padding: 30px 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.case-side:last-child {
  border-bottom: 0;
}

.case-side h4 {
  color: var(--gold-soft);
}

.case-side p {
  max-width: 58ch;
  font-size: 0.94rem;
  line-height: 1.72;
}

@media (max-width: 800px) {
  .case-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .case-card:nth-child(even) .case-header {
    order: 0;
  }

  .case-header--visual {
    min-height: min(96vw, 430px);
  }

  .case-body {
    padding: 22px 24px 30px;
  }
}

@media (max-width: 760px) {
  .proof-band {
    padding: 76px 24px;
  }

  .proof-band__lead span {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .faq-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    padding: 84px 24px;
  }

  .faq-section__intro {
    position: static;
  }

  .faq-section__intro h2 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .faq-list summary {
    grid-template-columns: 32px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 24px 0;
  }

  .faq-list details p {
    padding: 0 0 24px 44px;
  }

  .craft-story__intro {
    text-align: left;
  }

  .craft-story__intro h2 {
    margin-inline: 0;
  }

  .craft-panels {
    display: grid;
    height: auto;
    min-height: 0;
  }

  .craft-panel,
  .craft-panel.is-active {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid rgba(232, 238, 235, 0.14);
    transition: min-height 420ms var(--ease-out);
  }

  .craft-panel.is-active {
    min-height: 390px;
  }

  .craft-panel__copy {
    right: 24px;
    bottom: 26px;
    left: 24px;
  }

  .craft-panel__index {
    top: 22px;
    left: 24px;
  }

  .craft-panel__copy strong {
    font-size: clamp(1.65rem, 8vw, 2.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene,
  .hero-scene img,
  .hero-scenes__light,
  .hero-scene-controls button {
    transition: none;
  }

  .hero-scene img,
  .hero-scene.is-active img {
    scale: 1;
    translate: 0;
  }

  .hero-scenes__light {
    display: none;
  }

  .craft-panel,
  .craft-panel img,
  .craft-panel__copy > span,
  .case-header__img,
  .atelier-scene,
  .atelier-scene img,
  .atelier-copy,
  .atelier-lightfall,
  .atelier-tabs button,
  .atelier-tabs button::before {
    transition: none;
  }

  .atelier-lightfall {
    display: none;
  }
}

/* Cascade lock: the immersive atelier supersedes the legacy showroom grid. */
.showroom-section {
  padding: clamp(100px, 11vw, 164px) 0 0;
  text-align: left;
  background: var(--bg-void);
}

/* Cataloghi ufficiali e specifiche: oggetti editoriali, non card decorative. */
.catalog-library {
  padding: clamp(96px, 11vw, 168px) var(--edge);
  color: oklch(16% 0.012 235);
  background: oklch(97% 0.008 90);
}

.catalog-library .lux-kicker {
  color: oklch(42% 0.11 88);
}

.catalog-library__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: end;
}

.catalog-library__intro .lux-kicker {
  grid-column: 1 / -1;
}

.catalog-library__intro h2 {
  color: inherit;
  font-size: clamp(3.2rem, 7vw, 7.6rem);
  line-height: 0.9;
}

.catalog-library__intro p {
  max-width: 44ch;
  padding-bottom: 0.5rem;
  color: oklch(42% 0.018 235);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 38px);
  margin-top: clamp(64px, 9vw, 120px);
}

.catalog-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid oklch(20% 0.01 235 / 0.28);
}

.catalog-item figure {
  grid-column: 1 / -1;
  aspect-ratio: 0.707;
  margin: 0 0 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px oklch(14% 0.01 235 / 0.12);
}

.catalog-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 700ms var(--ease-out), filter 500ms var(--ease-out);
}

.catalog-item:hover img,
.catalog-item:focus-visible img {
  scale: 1.018;
  filter: contrast(1.05);
}

.catalog-item span {
  display: grid;
  gap: 2px;
}

.catalog-item strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.catalog-item small {
  color: oklch(48% 0.015 235);
  font-size: 0.72rem;
}

.catalog-item em {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: oklch(17% 0.01 235);
  font-size: 1.25rem;
  font-style: normal;
  border: 1px solid oklch(20% 0.01 235 / 0.34);
  border-radius: 50%;
  transition: color 220ms var(--ease-out), background 220ms var(--ease-out);
}

.catalog-item:hover em {
  color: var(--bg-void);
  background: var(--gold);
}

.technical-ledger {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(60px, 9vw, 150px);
  padding: clamp(96px, 11vw, 168px) var(--edge);
  background: var(--bg-void);
}

.technical-ledger header h2 {
  margin-top: 18px;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.98;
}

.technical-ledger dl {
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.technical-ledger dl > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.technical-ledger dt {
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.technical-ledger dd {
  margin: 0;
  color: var(--text-secondary);
}

.technical-ledger__note {
  grid-column: 2;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 0.72rem;
}

@media (max-width: 980px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 56px;
  }
}

@media (max-width: 700px) {
  .catalog-library__intro,
  .technical-ledger {
    grid-template-columns: 1fr;
  }

  .catalog-library__intro .lux-kicker,
  .technical-ledger__note {
    grid-column: 1;
  }

  .catalog-library__intro h2 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-item figure {
    width: min(100%, 430px);
  }

  .technical-ledger dl > div {
    grid-template-columns: 100px 1fr;
  }
}

/* Final responsive lock: legacy process rules must not restack FORMA. */
@media (max-width: 900px) {
  .couture-process ol {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .couture-process li {
    scroll-snap-align: start;
  }
}

/* ---------------- Hero video, selector e accordion v22 ---------------- */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  scale: 1.01;
  filter: saturate(0.82) contrast(1.03) brightness(0.88);
}

.hero-video-toggle {
  position: absolute;
  right: var(--edge);
  bottom: clamp(38px, 6vh, 62px);
  z-index: 6;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--text-primary);
  background: rgba(8, 12, 13, 0.42);
  border: 1px solid rgba(238, 241, 239, 0.3);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out), background 180ms var(--ease-out);
}

.hero-video-toggle:hover,
.hero-video-toggle:focus-visible {
  color: var(--bg-void);
  background: var(--gold);
  border-color: var(--gold);
}

.hero-video-toggle span {
  font-size: 0.72rem;
  font-weight: 700;
}

.lux-hero__copy h1 {
  margin-bottom: clamp(34px, 5vh, 58px);
}

.lux-hero__copy > p {
  margin-top: 0;
}

.catalog-item b {
  width: fit-content;
  margin-top: 10px;
  color: oklch(31% 0.08 88);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.catalog-download-status {
  min-height: 1.5em;
  margin-top: 32px;
  color: oklch(38% 0.075 88);
  font-size: 0.78rem;
}

.parquet-selector {
  display: grid;
  grid-template-columns: minmax(250px, 0.68fr) minmax(340px, 0.72fr) minmax(390px, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(100px, 12vw, 180px) var(--edge);
  border-top: 1px solid var(--line);
  background: var(--bg-panel);
}

.parquet-selector__intro h2 {
  max-width: 10ch;
  margin-top: 18px;
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: 0.96;
}

.parquet-selector__intro p {
  max-width: 40ch;
  margin-top: 26px;
  color: var(--text-secondary);
}

.parquet-selector__controls { align-self: center; }

.parquet-selector fieldset {
  margin: 0;
  padding: 24px 0 30px;
  border: 0;
  border-top: 1px solid var(--line);
}

.parquet-selector fieldset:last-child { border-bottom: 1px solid var(--line); }

.parquet-selector legend {
  margin-bottom: 16px;
  color: var(--gold-soft);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selector-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selector-options button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 13px;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  transition: color 180ms var(--ease-out), background 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.selector-options button:hover,
.selector-options button[aria-pressed="true"] {
  color: var(--bg-void);
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.tone-swatch {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.tone-swatch--light { background: #d9d0bf; }
.tone-swatch--natural { background: #9b7654; }
.tone-swatch--deep { background: #3f342d; }

.selector-result {
  align-self: stretch;
  display: grid;
  grid-template-rows: minmax(330px, 1.1fr) auto;
  min-width: 0;
  background: var(--bg-void);
}

.selector-result figure {
  min-height: 330px;
  margin: 0;
  overflow: hidden;
}

.selector-result img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  transition: opacity 260ms var(--ease-out), scale 800ms var(--ease-out);
}

.selector-result > div { padding: clamp(28px, 3vw, 46px); }
.selector-result small { color: var(--gold); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.selector-result h3 { margin-top: 10px; font-size: clamp(2.2rem, 4vw, 4rem); }
.selector-result p { max-width: 48ch; margin-top: 14px; color: var(--text-secondary); }

.selector-result ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 30px;
  color: var(--text-primary);
  font-size: 0.75rem;
}

.selector-result li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.selector-result .button { width: fit-content; }

.faq-list summary { transition: color 180ms var(--ease-out), padding-left 240ms var(--ease-out); }
.faq-list summary:hover { color: var(--gold-soft); padding-left: 8px; }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 360ms var(--ease-out), opacity 240ms var(--ease-out);
}

.faq-answer p,
.faq-list details .faq-answer p {
  min-height: 0;
  overflow: hidden;
  padding: 0 46px 0 62px;
  transition: padding-bottom 360ms var(--ease-out);
}

.faq-list details[open] .faq-answer { grid-template-rows: 1fr; opacity: 1; }
.faq-list details[open] .faq-answer p { padding-bottom: 30px; }

@media (max-width: 1180px) {
  .parquet-selector { grid-template-columns: 1fr 1fr; }
  .parquet-selector__intro { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .parquet-selector { grid-template-columns: 1fr; padding-inline: 24px; }
  .parquet-selector__intro { grid-column: 1; }
  .selector-result { grid-template-rows: min(92vw, 430px) auto; }
  .faq-list details .faq-answer p { padding-right: 0; padding-left: 44px; }
  .hero-video { object-position: 58% center; }
  .hero-video-toggle { right: 82px; bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-scenes--video { background: url("/public/assets/video/luxury-style-parquet-poster.jpg") center / cover no-repeat; }
  .hero-video-toggle { display: none; }
  .faq-answer, .faq-answer p { transition: none; }
}
