/* More by Siste's — feminine, no limits */

:root {
  /* Palette: crema/sabbia caldo + ink soft + accent terracotta */
  --bg: #faf6ee;
  --bg-warm: #ede2cf;
  --ink: #1d140e;
  --ink-soft: #3d2e22;
  --ink-mute: #8a7a6a;
  --line: rgba(29, 20, 14, 0.14);
  --line-soft: rgba(29, 20, 14, 0.06);
  --gold: #c0492b;       /* accent terracotta caldo */
  --gold-soft: #e8a787;

  /* Font: display Italiana (display) + Cardo serif body + Inter mono */
  --f-display: "Italiana", "Playfair Display", "Times New Roman", Times, serif;
  --f-serif: "Cardo", "Cormorant Garamond", "Times New Roman", Times, serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --tracking-wide: 0.32em;
  --tracking-mid: 0.18em;
  --tracking-tight: 0.02em;

  --max: 1480px;
  --gutter: 32px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body { margin: 0; padding: 0; }

/* Scroll-margin per ancoraggi (compensa topbar fixed 60px) */
html, section[id], div[id="maison"], div[id="collections"], div[id="gold"], div[id="lookbook"], div[id="b2b"], div[id="contact"] { scroll-margin-top: 60px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

::selection { background: var(--ink); color: var(--bg); }

/* Type system */
.eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-mute);
}

.eyebrow-mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.h-display {
  font-family: var(--f-display);
  font-weight: 200;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  white-space: pre-line;
}

.h-serif {
  font-family: var(--f-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
  white-space: pre-line;
}

.h-section {
  font-family: var(--f-display);
  font-weight: 200;
  font-size: clamp(36px, 4.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  white-space: pre-line;
}

.body-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 56ch;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  /* Fallback typographic */
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
  filter: invert(1) brightness(1.15);
  transition: filter 400ms var(--ease);
}
@media (max-width: 640px) {
  .logo img { height: 32px; }
}
.topbar.is-solid .logo img {
  filter: none;
}
/* Footer logo (dark bg) needs to invert */
.logo--footer img {
  filter: invert(1) brightness(1.1);
  height: 24px;
}

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: calc(22px + env(safe-area-inset-top)) var(--gutter) 22px;
  color: var(--bg);
  transition: background 600ms var(--ease), color 600ms var(--ease), border-color 600ms var(--ease), padding 400ms var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.is-solid {
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom-color: var(--line-soft);
  padding-top: calc(16px + env(safe-area-inset-top));
  padding-bottom: 16px;
}
.topbar__nav {
  display: flex;
  gap: 36px;
  justify-self: center;
}
.topbar__nav a {
  font-size: 11px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: opacity 0.3s var(--ease);
  cursor: pointer;
}
.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease);
}
.topbar__nav a:hover::after { transform: scaleX(1); }
.topbar__util {
  display: flex;
  gap: 22px;
  justify-self: end;
  align-items: center;
}
.lang-toggle {
  display: inline-flex;
  gap: 4px;
  font-size: 11px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
}
.lang-toggle button {
  background: none;
  border: 0;
  color: inherit;
  padding: 4px;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.3s var(--ease);
}
.lang-toggle button.is-on { opacity: 1; }
.lang-toggle__sep { opacity: 0.45; padding: 4px 0; }
.icon-btn {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 6px;
  display: grid;
  place-items: center;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease);
}
.icon-btn:hover { opacity: 1; }

/* Hamburger — mobile only */
.topbar__burger {
  display: none;
  background: none;
  border: 0;
  /* Il <button> non eredita il colore da solo: senza questo currentColor sui
     trattini resta il nero di default del browser. */
  color: inherit;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.topbar__burger span {
  display: block;
  width: 22px;
  height: 1px;
  /* Segue il colore della barra: chiaro sopra la foto, scuro quando la barra
     diventa piena scorrendo. Prima era fisso scuro e sull'apertura spariva
     dentro la foto, mentre tutto il resto era bianco (Simone, 25/08/2026). */
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
  transform-origin: center;
}
.topbar__burger.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.topbar__burger.is-open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* Mobile menu — fullscreen overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open {
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu__inner {
  min-height: 100%;
  padding: 88px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 22px 4px;
  font-family: var(--f-display);
  font-weight: 200;
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.mobile-menu__nav a span {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  flex: 0 0 auto;
}
.mobile-menu.is-open .mobile-menu__nav a {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(6) { transition-delay: 0.38s; }
.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.mobile-menu__lang {
  display: flex;
  gap: 8px;
}
.mobile-menu__lang button {
  flex: 1;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.mobile-menu__lang button.is-on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.mobile-menu__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: #0a0a0a;
}
.hero__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1400ms var(--ease);
}
.hero__layer.is-active { opacity: 1; }
.hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  /* background-position viene impostato inline per slide tramite il campo `focus` */
  transform-origin: center 30%;
  transform: scale(1.03);
  animation: kenburns 16s var(--ease) forwards;
}
.hero__layer.is-active .hero__img { animation: kenburns 18s var(--ease) forwards; }

@keyframes kenburns {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.05); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 var(--gutter) 48px;
  color: #fff;
}
.hero__copy {
  /* In basso, non in mezzo: il blocco di testo e i bottoni al centro spezzavano
     la foto in due (Stefano 25/08/2026). Cosi' la foto resta intera e le scritte
     stanno appoggiate sul fondo, sopra la didascalia. */
  align-self: end;
  max-width: 720px;
  padding-top: 0;
  padding-bottom: 8px;
}
.hero__eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.85;
}
.hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.hero__title {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 9vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
}
.hero__title span {
  display: block;
  overflow: hidden;
}
.hero__title span > span {
  display: block;
  transform: translateY(110%);
  animation: rise 1100ms var(--ease-out) forwards;
}
.hero__title span:nth-child(2) > span { animation-delay: 180ms; }
@keyframes rise { to { transform: translateY(0); } }

.hero__sub {
  font-size: 16px;
  font-weight: 300;
  max-width: 36ch;
  opacity: 0.85;
  margin: 0 0 40px;
}

.hero__ctas {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  font-size: 11px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn:hover {
  background: currentColor;
}
.btn:hover .btn__label,
.btn:hover .btn__arrow { color: var(--ink); mix-blend-mode: difference; }
.btn--filled {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
/* Nell'apertura il bottone pieno faceva una macchia bianca sopra la foto: li'
   resta solo il contorno, discreto (Stefano 25/08/2026). */
.hero__ctas .btn--filled {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.75);
}
.hero__ctas .btn--filled:hover {
  background: rgba(255,255,255,0.14);
}
.btn--filled:hover {
  background: transparent;
  color: #fff;
}
.btn--ghost {
  border-color: currentColor;
}

.btn--link {
  border: 0;
  padding: 0;
  background: none;
  position: relative;
  padding-bottom: 6px;
}
.btn--link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
}

.hero__foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero__foot-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__foot-meta strong { font-weight: 400; }
.hero__dots {
  display: flex;
  gap: 10px;
  justify-self: center;
}
.hero__dot {
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.35);
  border: 0;
  padding: 12px 0;
  background-clip: content-box;
  cursor: pointer;
  position: relative;
}
.hero__dot::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: rgba(255,255,255,0.4);
  transform: translateY(-50%);
}
.hero__dot.is-on::after { background: #fff; height: 2px; }

.hero__nav {
  justify-self: end;
  display: flex;
  gap: 14px;
  align-items: center;
}
.hero__nav button {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero__nav button:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(56px, 7vw, 96px);
  max-width: var(--max);
  margin: 0 auto;
}
.section--full {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.section--warm { background: var(--bg-warm); }
.section--dark { background: #0e0e0e; color: #f0ede4; }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.section__head .eyebrow { padding-bottom: 8px; border-top: 1px solid var(--line); padding-top: 28px; }

/* ---------- Intro / Maison ---------- */
.intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: stretch;
}
.intro__visual {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #ddd;
}
.intro__visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.intro__visual:hover img { transform: scale(1.04); }
.intro__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}
.intro__title { white-space: pre-line; }
.intro__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 28px;
}
.intro__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.intro__stat strong {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 40px;
  line-height: 1;
}
.intro__stat span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- Collections grid ---------- */
.collections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 32px;
}
.coll-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.coll-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eee;
  margin-bottom: 20px;
}
.coll-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.coll-card:hover .coll-card__media img { transform: scale(1.05); }
.coll-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.25));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.coll-card:hover .coll-card__media::after { opacity: 1; }
.coll-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  padding: 6px 10px;
}
.coll-card__season {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  mix-blend-mode: difference;
}
.coll-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
.coll-card__name {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
}
.coll-card__arrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}
.coll-card:hover .coll-card__arrow { transform: translateX(6px); color: var(--ink); }
.coll-card__desc {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 38ch;
}

/* ---------- Gold ---------- */
.gold {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  min-height: 100vh;
  background: var(--bg-warm);
}
.gold__visual {
  position: relative;
  overflow: hidden;
  background: #ebe2d2;
}
.gold__hero-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.94) saturate(1.06);
  transition: transform 1.6s cubic-bezier(.2,.6,.2,1);
}
.gold:hover .gold__hero-img { transform: scale(1.03); }
.gold__hero-grain {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(243,238,228,0.18), transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(243,238,228,0.12), transparent 50%);
  pointer-events: none;
}
.gold__copy {
  background: var(--bg-warm);
  color: var(--ink);
  padding: clamp(60px, 7vw, 110px) clamp(40px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.gold__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.gold__location {
  font-family: var(--f-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 22, 18, 0.5);
}
.gold__logo {
  width: clamp(260px, 38vw, 440px);
  height: auto;
  margin: 4px 0 6px -8px;
  filter: drop-shadow(0 1px 30px rgba(182, 145, 98, 0.18));
}
.gold__body {
  font-size: 17px;
  line-height: 1.6;
  max-width: 56ch;
  color: var(--ink-soft);
  margin: 0;
}
.gold__eyebrow { color: var(--gold); }
.gold__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.gold__gal-item {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ebe2d2;
  cursor: pointer;
}
.gold__gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.92);
  transition: filter 0.5s ease, transform 0.8s cubic-bezier(.2,.6,.2,1);
}
.gold__gal-item:hover img {
  filter: brightness(1.04);
  transform: scale(1.06);
}
.gold__gal-item figcaption {
  position: absolute;
  left: 8px; bottom: 8px; right: 8px;
  font-family: var(--f-mono, monospace);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 22, 18, 0);
  background: transparent;
  padding: 4px 6px;
  transition: color 0.4s ease, background 0.4s ease;
}
.gold__gal-item:hover figcaption {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(26, 22, 18, 0.55);
}
.gold__cta {
  align-self: flex-start;
  border-color: var(--gold);
  color: var(--gold);
  margin-top: 6px;
}
.gold__cta:hover {
  background: var(--gold);
  color: var(--bg-warm);
}

/* ---------- Lookbook (editorial grid alla MiuMiu) ---------- */
.lookbook {
  background: var(--bg);
  color: var(--ink);
  padding: clamp(48px, 6vw, 88px) var(--gutter);
}
.lookbook .eyebrow { color: var(--ink-mute); }
.lookbook .body-lede { color: var(--ink-soft); }

.lb-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.lb-grid__cell {
  margin: 0;
  cursor: zoom-in;
  overflow: hidden;
  background: var(--bg-warm);
  position: relative;
}
.lb-grid__cell img {
  width: 100%;
  height: 100%;
  /* Stefano 2026-05-13: contain invece di cover per non tagliare scarpe né testa */
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}
/* Hover swap: indossato (main) <-> scontornato (hover) */
.lb-grid__cell-main { position: relative; z-index: 1; }
.lb-grid__cell-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background: var(--bg-warm);
  object-position: center 30%;
}
.lb-grid__cell:hover .lb-grid__cell-main { opacity: 0; }
.lb-grid__cell:hover .lb-grid__cell-hover { opacity: 1; }
/* Per le celle senza scontornato, mantieni effetto zoom soft */
.lb-grid__cell:hover .lb-grid__cell-main:only-of-type { opacity: 1; transform: scale(1.04); }
.lb-grid__cell figcaption {
  position: absolute;
  bottom: 10px;
  right: 12px;
  z-index: 3;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(26, 22, 18, 0.5);
  background: transparent;
  padding: 0;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.lb-grid__cell:hover figcaption { opacity: 1; }

/* Layout asimmetrico — aspect-ratio coerente con foto sorgente */
/* tall = foto verticali studio (2:3) — testa al sicuro nel crop */
/* wide = foto outdoor campaign (3:2) — orizzontali */
.lb-grid__cell--tall { grid-column: span 2; aspect-ratio: 3/4; }
.lb-grid__cell--wide { grid-column: span 3; aspect-ratio: 16/10; }

/* Foto verticali tall: object-position center 40% per mostrare meglio la modella intera */
/* Foto lookbook: object-position alto per non tagliare la testa (regola fissa) */
.lb-grid__cell--tall img { object-position: center center; }
.lb-grid__cell--wide img { object-position: center center; }

@media (max-width: 768px) {
  .lb-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .lb-grid__cell--tall { grid-column: span 1; aspect-ratio: 2/3; }
  .lb-grid__cell--wide { grid-column: span 2; aspect-ratio: 3/2; }
  .lb-grid__cell figcaption { font-size: 9px; bottom: 8px; left: 8px; padding: 3px 6px; }
}

/* Lightbox lookbook */
.lb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(243, 238, 228, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
}
.lb-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-out;
}
.lb-lightbox__btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 56px;
  cursor: pointer;
  padding: 4px 14px;
  z-index: 230;
  opacity: 0.65;
  transition: opacity 0.2s var(--ease);
  line-height: 1;
}
.lb-lightbox__btn:hover { opacity: 1; }
.lb-lightbox__btn--prev { left: 16px; }
.lb-lightbox__btn--next { right: 16px; }
.lb-lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 36px;
  cursor: pointer;
  z-index: 230;
  line-height: 1;
  font-family: serif;
}
.lb-lightbox__count {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(26, 22, 18, 0.6);
}

@media (max-width: 640px) {
  .lb-lightbox { padding: 40px 16px; }
  .lb-lightbox__btn { font-size: 40px; padding: 4px 8px; }
}

/* Vecchie classi lookbook__* (slideshow) — rimaste per safety, non usate piu' */
.lookbook__head { max-width: var(--max); margin: 0 auto 60px; }
.lookbook__head {
  max-width: var(--max);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: end;
}
.lookbook__head .eyebrow { color: rgba(240,237,228,0.6); border-color: rgba(240,237,228,0.18); }
.lookbook__head h2 { color: inherit; }

.lookbook__stage {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 70vh;
}
.lookbook__viewer {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #1a1a1a;
}
.lookbook__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms var(--ease);
}
.lookbook__slide.is-on { opacity: 1; }
.lookbook__slide img { width: 100%; height: 100%; object-fit: cover; }

.lookbook__meta {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.lookbook__counter {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,237,228,0.55);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.lookbook__counter strong {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 88px;
  line-height: 1;
  font-weight: 300;
  color: #f0ede4;
}
.lookbook__title {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1;
  margin: 0;
}
.lookbook__code {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(240,237,228,0.55);
}
.lookbook__progress {
  height: 1px;
  background: rgba(240,237,228,0.18);
  position: relative;
  margin-top: 8px;
}
.lookbook__progress span {
  position: absolute;
  inset: 0;
  background: var(--gold-soft);
  transform-origin: left;
  transition: transform 600ms var(--ease);
}

.lookbook__nav {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.lookbook__nav button {
  width: 56px; height: 56px;
  border: 1px solid rgba(240,237,228,0.3);
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lookbook__nav button:hover {
  background: rgba(240,237,228,0.08);
  border-color: var(--gold-soft);
}

.lookbook__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.lookbook__thumb {
  width: 56px;
  height: 72px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.4s var(--ease), outline 0.3s var(--ease);
  outline: 1px solid transparent;
}
.lookbook__thumb.is-on {
  opacity: 1;
  outline: 1px solid var(--gold-soft);
  outline-offset: 4px;
}

/* ---------- B2B ---------- */
.b2b {
  padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(56px, 7vw, 96px);
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.b2b__head {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.b2b__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.b2b-card {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #1a1a1a;
}
.b2b-card__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.b2b-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 1.6s var(--ease);
}
.b2b-card:hover .b2b-card__img img {
  transform: scale(1.06);
}
.b2b-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 36px;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.7) 100%);
}
.b2b-card__top {
  display: flex;
  justify-content: flex-end;   /* il contatore "01 / 02" e' stato tolto: il tag resta a destra */
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.b2b-card__tag {
  border: 1px solid rgba(255,255,255,0.45);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.b2b-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.b2b-card__label {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 22px);
  line-height: 1.05;
  white-space: nowrap;
  overflow: visible;
  letter-spacing: -0.01em;
  max-width: 14ch;
}
.b2b-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;                 /* senza questo si toccavano appena la card si stringe */
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.b2b-card__host {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: rgba(255,255,255,0.78);
}
.b2b-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;       /* "ACCEDI AL PORTALE" non deve mai spezzarsi a meta' */
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: gap 0.3s var(--ease);
}
.b2b-card:hover .b2b-card__cta { gap: 16px; }
.b2b__foot {
  display: flex;
  justify-content: flex-end;
}
.b2b__note {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.b2b__note a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  margin-left: 8px;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact__visual {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.contact__visual img { width: 100%; height: 100%; object-fit: cover; }
.contact__copy { display: flex; flex-direction: column; gap: 40px; }
.contact__blocks {
  display: grid;
  gap: 32px;
}
.contact__block {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.contact__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact__lines {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 16px;
}

/* ---------- Footer ---------- */
.footer {
  background: #0a0a0a;
  color: #d8d4c8;
  padding: 80px var(--gutter) 32px;
}
.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(216, 212, 200, 0.12);
}
.footer__brand .logo { font-size: 18px; }
.footer__tagline {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.1;
  margin-top: 24px;
  color: #f0ede4;
}
.footer__col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  color: #f0ede4;
  margin: 0 0 20px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; color: rgba(216, 212, 200, 0.7); transition: color 0.3s; }
.footer__col a:hover { color: #f0ede4; }
.footer__newsletter h4 { margin-bottom: 8px; }
.footer__newsletter p {
  font-size: 13px;
  color: rgba(216, 212, 200, 0.7);
  margin: 0 0 24px;
  max-width: 32ch;
  line-height: 1.5;
}
.footer__form {
  display: flex;
  border-bottom: 1px solid rgba(216, 212, 200, 0.4);
  padding-bottom: 4px;
}
.footer__form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #f0ede4;
  font: inherit;
  font-size: 14px;
  padding: 8px 0;
}
.footer__form input::placeholder { color: rgba(216, 212, 200, 0.4); }
.footer__form button {
  background: transparent;
  border: 0;
  color: #f0ede4;
  cursor: pointer;
  padding: 8px 0 8px 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer__bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(216, 212, 200, 0.5);
}
.footer__social { display: flex; gap: 24px; }

/* ---------- Marquee divider ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 24px 0;
  background: var(--bg);
}
.marquee__track {
  display: inline-block;
  animation: marquee 40s linear infinite;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  color: var(--ink);
}
.marquee__track span { padding: 0 32px; }
.marquee__track .dot { color: var(--gold); padding: 0 16px; vertical-align: middle; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1100ms var(--ease-out), transform 1100ms var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Tweaks: themes ---------- */
body.theme-warm { --bg: #faf8f3; --bg-warm: #f3eee4; --ink: #1a1a1a; }
body.theme-stone { --bg: #ecebe6; --bg-warm: #dbd8d0; --ink: #2a2a2a; --line: rgba(42,42,42,0.14); }
body.theme-dark {
  --bg: #0e0e0e; --bg-warm: #161616; --ink: #f0ede4;
  --ink-soft: #c5c0b3; --ink-mute: #8a857a;
  --line: rgba(240,237,228,0.14); --line-soft: rgba(240,237,228,0.06);
}
body.theme-dark .topbar.is-solid { background: rgba(14,14,14,0.85); color: var(--ink); }
body.theme-dark .marquee { background: var(--bg); }
body.theme-dark .section--warm { background: var(--bg-warm); }

body.font-serif .h-display,
body.font-serif .h-section { font-family: var(--f-serif); font-style: italic; font-weight: 300; }

body.font-display .hero__title,
body.font-display .gold__title,
body.font-display .lookbook__title,
body.font-display .footer__tagline,
body.font-display .marquee__track,
body.font-display .coll-card__name,
body.font-display .intro__stat strong {
  font-family: var(--f-display); font-style: normal; font-weight: 200;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .topbar { grid-template-columns: 1fr auto; padding: calc(14px + env(safe-area-inset-top)) 18px 14px; gap: 12px; }
  .topbar__nav { display: none; }
  .topbar__util { gap: 12px; }
  .topbar .lang-toggle { display: none; }
  .topbar__search { display: none; }
  .topbar__burger { display: flex; }

  .section { padding: 64px 20px; }
  .section__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  .intro, .gold, .contact, .lookbook__stage, .lookbook__head { grid-template-columns: 1fr; gap: 32px; }
  .b2b__cards { grid-template-columns: 1fr; }
  .gold { min-height: auto; }
  .gold__copy { padding: 56px 22px; }
  .gold__visual { aspect-ratio: 4/5; min-height: 60vh; }
  .gold__gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 20px 56px; }
  .gold__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .collections { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bar { flex-direction: column; gap: 16px; align-items: flex-start; }

  /* Hero */
  .hero__inner { padding: 0 22px 28px; }
  .hero__copy { max-width: 100%; gap: 18px; }
  .hero__title { font-size: clamp(44px, 12vw, 72px); }
  .hero__sub { font-size: 14px; max-width: 92%; }
  /* Scritte piu' discrete sul telefono (Stefano 25/08/2026): i bottoni erano due
     fasce piene larghe quanto lo schermo e coprivano la foto. Ora sono piccoli,
     affiancati e a filo sinistra: si vedono, ma la foto resta la protagonista. */
  .hero__ctas { flex-direction: row; align-items: center; flex-wrap: wrap;
                gap: 8px; width: auto; max-width: none; }
  .hero__ctas .btn { width: auto; justify-content: center;
                     padding: 10px 16px; min-height: 0; font-size: 10px; gap: 8px; }
  .hero__ctas .btn__arrow { display: none; }
  .hero__sub { opacity: 0.75; margin-bottom: 22px; }
  .hero__foot-meta { opacity: 0.75; }
  .hero__foot { grid-template-columns: 1fr; gap: 14px; text-align: left; padding-top: 22px; }
  .hero__nav, .hero__dots { justify-self: start; }
  .hero__foot-meta { font-size: 10px; letter-spacing: 0.14em; }

  /* Maison */
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .stats__cell { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .stats__cell:first-child { border-top: 0; }
  .stat__num { font-size: clamp(48px, 14vw, 72px); }

  /* Collezioni */
  .coll-card__visual { aspect-ratio: 3/4; }

  /* B2B */
  .b2b-card { aspect-ratio: 3/4; }
  .b2b-card__inner { padding: 22px; }

  /* Contatti */
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .contact__visual { position: static; aspect-ratio: 4/5; max-height: 56vh; }
  .contact__list { grid-template-columns: 1fr; gap: 20px; }

  /* Marquee — slow down for mobile readability */
  .marquee__track { animation-duration: 32s; }

  /* Tap targets */
  .btn { padding: 14px 22px; min-height: 48px; }
  .btn--ghost { padding: 14px 18px; }
  .icon-btn { width: 44px; height: 44px; }
}

@media (max-width: 600px) {
  .section { padding: 56px 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .h-display { font-size: clamp(40px, 11vw, 64px); }
  .h-section { font-size: clamp(34px, 9vw, 56px); }
  .body-lede { font-size: 15px; }
  .gold__gallery { grid-template-columns: 1fr 1fr; padding: 0 18px 48px; }
  .lookbook__thumbs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ig__bar { flex-wrap: wrap; padding: 18px 16px; gap: 14px; }
  .ig__bar .ig__stats { gap: 18px; }
}

/* ---------- Contact form ---------- */
.contact-form {
  margin: 48px 0 56px;
  padding: 36px 0 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
}
.contact-form__intro {
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  margin: 0 0 4px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field__label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field__label em {
  font-style: normal;
  color: var(--gold);
  margin-left: 2px;
}
.field input[type="text"],
.field input[type="email"],
.field textarea {
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 8px 0 10px;
  outline: none;
  transition: border-color 0.3s var(--ease);
  resize: none;
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--ink);
}
.contact-form__captcha {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
}
.captcha-display {
  display: flex;
  gap: 4px;
  padding: 10px 16px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--gold) 14%, transparent),
    color-mix(in srgb, var(--ink) 6%, transparent));
  border: 1px solid var(--rule);
  border-radius: 2px;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  overflow: hidden;
}
.captcha-display::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 4px, color-mix(in srgb, var(--ink) 4%, transparent) 4px 5px),
    repeating-linear-gradient(-45deg, transparent 0 7px, color-mix(in srgb, var(--ink) 4%, transparent) 7px 8px);
  pointer-events: none;
}
.captcha-display span {
  font-family: var(--f-display, var(--f-serif));
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: inline-block;
  position: relative;
  z-index: 1;
  font-weight: 500;
}
.captcha-display span:nth-child(2n) { color: var(--gold); }
.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}
.field--check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.field--check span {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.contact-form__error {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b03a30;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, #b03a30 30%, transparent);
  background: color-mix(in srgb, #b03a30 6%, transparent);
}
.contact-form__submit {
  align-self: flex-start;
  margin-top: 12px;
}
.contact-form--sent {
  text-align: center;
  padding: 64px 24px;
  border-top: 1px solid var(--rule);
}
.contact-form__check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

@media (max-width: 720px) {
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form__captcha { grid-template-columns: 1fr; align-items: stretch; }
  .captcha-display { justify-content: center; }
}

/* ---------- Instagram ---------- */
.ig__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.ig__head .h-section { margin: 0; }
.ig__head .body-lede { margin: 0; max-width: 480px; }
.ig__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  padding: 24px 32px;
  margin: 0 auto 32px;
  max-width: 720px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  flex-wrap: wrap;
}
.ig__profile {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ig__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), color-mix(in srgb, var(--gold) 50%, var(--ink)));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-family: var(--f-display, var(--f-serif));
  font-style: italic;
  font-size: 22px;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--rule);
}
.ig__id {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ig__id strong {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.ig__id span {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.ig__stats {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}
.ig__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.ig__stat strong {
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.ig__stat span {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.ig__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: gap 0.3s var(--ease);
}
.ig__cta:hover { gap: 12px; }
.ig__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.ig__tile {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: block;
}
.ig__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.ig__tile:hover img { transform: scale(1.06); }
.ig__tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s var(--ease);
}
.ig__tile:hover .ig__tile-overlay {
  background: rgba(0,0,0,0.3);
  opacity: 1;
}
.ig__tile-icon {
  color: #fff;
  font-size: 24px;
  font-family: var(--f-display, var(--f-serif));
}
@media (max-width: 900px) {
  .ig__grid { grid-template-columns: repeat(3, 1fr); }
  .ig__bar { padding: 20px; gap: 20px; }
}
@media (max-width: 480px) {
  .ig__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Custom overrides Sistes (post-handoff) ---------- */
.lookbook { padding: clamp(48px, 6vw, 88px) var(--gutter); scroll-margin-top: 60px; }
.lookbook__viewer { aspect-ratio: 4/5; max-height: 70vh; }
.lookbook__slide img { object-position: center 25%; }

/* ---------- Gold Lookbook Modal ---------- */
.gold-lb-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-warm);
  color: var(--ink);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.gold-lb-modal__head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  background: rgba(243, 238, 228, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 22, 18, 0.1);
}
.gold-lb-modal__title { display: flex; flex-direction: column; gap: 6px; }
.gold-lb-modal__eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 22, 18, 0.55);
}
.gold-lb-modal__title h2 {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3vw, 36px);
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.gold-lb-modal__close {
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 0 8px;
  font-family: serif;
}
.gold-lb-modal__grid {
  max-width: 1480px;
  margin: 32px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}
.gold-lb-modal__cell {
  margin: 0;
  cursor: zoom-in;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #ebe2d2;
}
.gold-lb-modal__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.gold-lb-modal__cell:hover img { transform: scale(1.04); }

/* Lightbox singola foto */
.gold-lb-modal__lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(243, 238, 228, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
}
.gold-lb-modal__lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-out;
}
.gold-lb-modal__lb-prev,
.gold-lb-modal__lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 56px;
  cursor: pointer;
  padding: 4px 14px;
  z-index: 230;
  opacity: 0.65;
  transition: opacity 0.2s var(--ease);
  line-height: 1;
}
.gold-lb-modal__lb-prev:hover,
.gold-lb-modal__lb-next:hover { opacity: 1; }
.gold-lb-modal__lb-prev { left: 16px; }
.gold-lb-modal__lb-next { right: 16px; }
.gold-lb-modal__lb-count {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(26, 22, 18, 0.6);
}

@media (max-width: 640px) {
  .gold-lb-modal__head { padding: 16px 20px; }
  .gold-lb-modal__grid { grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 0 8px; }
  .gold-lb-modal__lightbox { padding: 40px 16px; }
  .gold-lb-modal__lb-prev, .gold-lb-modal__lb-next { font-size: 40px; padding: 4px 8px; }
}

/* ---------- Lookbook pagination ---------- */
.lb-pagination {
  max-width: var(--max);
  margin: 56px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 0 var(--gutter);
}
.lb-pagination__btn {
  background: none;
  border: 1px solid transparent;
  color: var(--ink-mute);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 8px 14px;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lb-pagination__btn:hover { color: var(--ink); }
.lb-pagination__btn.is-active {
  color: var(--ink);
  border-color: rgba(26, 22, 18, 0.3);
}

/* ============================================================
   Lookbook: spazi compatti (no taglio foto su click "Lookbook")
   ============================================================ */
section#lookbook { scroll-margin-top: 20px; }
.lookbook { padding: clamp(24px, 3vw, 48px) var(--gutter) !important; }
.lookbook .section__head { margin-bottom: clamp(24px, 3vw, 44px); }

/* ============================================================
   NM Campaign — grid editorial
   ============================================================ */
.campaign-nm {
  background: var(--bg);
  color: var(--ink);
  padding: clamp(48px, 6vw, 88px) var(--gutter);
}
.campaign-nm .eyebrow { color: var(--ink-mute); }
.campaign-nm .body-lede { color: var(--ink-soft); }

.campaign-nm__grid {
  /* VERSIONE B — righe giustificate.
     Ogni riga e' una fila di foto con la STESSA altezza, e la riga finisce
     esatta al bordo destro. La larghezza di ogni foto e' proporzionale alla sua
     forma (flex-grow = larghezza/altezza della foto), quindi:
     - niente da tagliare, perche' la casella prende la forma della foto
     - niente buchi, perche' la riga si riempie sempre tutta
     E' l'impaginazione movimentata senza i due difetti di prima (25/08/2026). */
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.campaign-nm__riga {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.campaign-nm__cell {
  margin: 0;
  overflow: hidden;
  background: var(--bg-warm);
  position: relative;
  flex-basis: 0;
  min-width: 0;
}
.campaign-nm__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.campaign-nm__cell:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  /* Su schermi stretti al massimo due foto per riga, altrimenti diventano
     francobolli. Le righe da tre si spezzano da sole. */
  .campaign-nm__riga { flex-wrap: wrap; }
  .campaign-nm__cell { flex-basis: 40%; }
}
@media (max-width: 620px) {
  /* Foto affiancate a due a due, come nella versione che a Stefano piaceva:
     le foto a tutta larghezza una sotto l'altra non gli piacciono (25/08/2026).
     Altezze libere, cosi' nessuna foto viene tagliata; in cambio i bordi in
     basso non sono sempre allineati al pixel.
     La foto verticale prende la riga intera: e' l'unica con proporzioni molto
     diverse e affiancata restava piu' stretta lasciando bianco a destra. */
  .campaign-nm__grid, .campaign-nm__riga { gap: 6px; }
  /* Le due foto di una coppia arrivano alla stessa altezza: la piu' bassa viene
     allargata e ritagliata quel poco che serve. Stefano lo ha chiesto vedendo la
     coppia con le bolle di sapone piu' corta della compagna (25/08/2026). Dove le
     forme si somigliano il ritaglio e' quasi zero, quindi le coppie che gia'
     andavano bene non cambiano. */
  .campaign-nm__riga { flex-wrap: wrap; align-items: stretch; }
  .campaign-nm__cell { min-width: calc(50% - 3px); }
  .campaign-nm__cell img { height: 100%; object-fit: cover; object-position: 50% 35%; }
  .campaign-nm__cell.is-verticale { min-width: 100%; flex-basis: 100%; }
}
}
}
}

/* Tipografia More: titoli display + serif italic per hero */
body { font-family: var(--f-serif); }
.h-display, .h-section, .hero__title, .section__title { font-family: var(--f-display); font-weight: 400; }

/* ============================================================
   NM Hero video (More) — full-bleed, no head crop
   ============================================================ */
.hero--video .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}
.hero--video .hero__layer { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero--video .hero__layer.is-active { opacity: 1; }
.hero--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 40%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero--video .hero__inner { position: relative; z-index: 2; }
.hero--video .hero__title,
.hero--video .hero__sub,
.hero--video .hero__eyebrow,
.hero--video .hero__foot-meta { color: #fff; text-shadow: 0 1px 18px rgba(0,0,0,0.45); }

/* Override per video specifici (slot 1=hero-2 abito beige, 2=hero-3 abito rosa) */
.hero--video .hero__video--1 { object-position: center 5%; }    /* abito beige mare */
.hero--video .hero__video--2 { object-position: center top; }   /* abito rosa palme */

/* Fix object-position foto Campaign NM: centratura sulla testa, non sui piedi */
.campaign-nm__cell img { object-position: center 18%; }
/* Sezione Maison + Contact: foto col viso visibile */
.intro__visual img { object-position: center 18% !important; }
.contact__visual img { object-position: center 18% !important; }

/* ---------- Visore campagna: scorrimento verticale ----------
   Aperta una foto della campagna, si scorrono tutte in verticale una sotto
   l'altra, partendo da quella toccata. Sul telefono e' il gesto naturale;
   le frecce avanti/indietro no (Stefano 25/08/2026). */
.camp-viewer {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(12, 10, 9, 0.96);
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.camp-viewer__scroll {
  width: 100%;
  max-width: 1100px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 12px 0 40px;
}
.camp-viewer__slide {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.camp-viewer__slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.camp-viewer__close {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.camp-viewer__count {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
}
@media (max-width: 960px) {
  .camp-viewer__scroll { padding: 8px 0 36px; }
  .camp-viewer__slide { margin-bottom: 8px; }
}


/* B2B: su schermo stretto indirizzo e bottone vanno uno sopra l'altro.
   Affiancati si toccavano e si leggeva "b2b.morebysistes.itPORTALE". */
@media (max-width: 640px) {
  .b2b-card__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
