/* ==========================================================================
   Fasola Gioielleria — grafica
   Nero dominante, avorio per le sezioni di lettura, oro solo nei dettagli.
   Token pensati per diventare Global Colors / Global Fonts di Elementor.
   Breakpoint allineati a Elementor: tablet ≤ 1024, mobile ≤ 767.
   ========================================================================== */

:root {
  /* Colori */
  --c-black: #0a0a0a;
  --c-ink: #141414;
  --c-coal: #1c1c1c;
  --c-ivory: #f4f1ec;
  --c-paper: #e9e5de;
  --c-card: #f8f6f2;
  --c-text: #161514;
  --c-gold: #b79b6b;

  /* Font */
  --f-display: 'Instrument Serif', 'Times New Roman', serif;
  --fs: 1.1; /* Instrument Serif è stretto: i titoli crescono un po' */
  --f-sans: 'Jost', Futura, 'Century Gothic', sans-serif;

  /* Layout */
  --wrap: 1360px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --sec: clamp(88px, 11vw, 168px);
  --sec-tight: clamp(56px, 7vw, 104px);
  --gap: clamp(16px, 2vw, 28px);
  --header-h: 112px;
  --safe-b: clamp(96px, 12vh, 132px); /* spazio libero in fondo alle scene: c'è la barra dei capitoli */

  /* Movimento */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

/* Contesti colore: ogni sezione dichiara fondo, testo, testo secondario e linee */
body, .s--ivory, .manifesto, .track--light {
  --bg: var(--c-ivory); --fg: var(--c-text); --soft: #3f3c38; --muted: #6f6a63;
  --line: rgba(22, 21, 20, .14); --line-strong: rgba(22, 21, 20, .4);
}
.s--paper { --bg: var(--c-paper); --fg: var(--c-text); --soft: #3f3c38; --muted: #6f6a63; --line: rgba(22, 21, 20, .14); --line-strong: rgba(22, 21, 20, .4); }
.s--dark, .hero, .page-hero, .brand-hero, .topbar, .header, .footer, .marquee, .mmenu, .map__card, .opener, .spotlight, .track, .lab, .chapters {
  --bg: var(--c-black); --fg: #f4f1ec; --soft: #cdc8c0; --muted: #9a958e;
  --line: rgba(244, 241, 236, .14); --line-strong: rgba(244, 241, 236, .42);
}
.s, .hero, .page-hero, .brand-hero, .topbar, .header, .footer, .marquee, .manifesto, .opener, .spotlight, .track, .lab { background: var(--bg); color: var(--fg); }
/* vetrina chiara: ridichiara i colori chiari, perché .track (scuro) viene dopo e li sovrascriverebbe */
.track--light { --bg: var(--c-paper); --fg: var(--c-text); --soft: #3f3c38; --muted: #6f6a63; --line: rgba(22, 21, 20, .14); --line-strong: rgba(22, 21, 20, .4); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--c-black); color: var(--fg);
  font-family: var(--f-sans); font-size: 16.5px; font-weight: 400; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
p + p { margin-top: 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol, dl, dd { margin: 0; padding: 0; }
::selection { background: var(--c-gold); color: #000; }
:focus-visible { outline: 1px solid var(--c-gold); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia ---------- */
.h1, .h2, .h3 { font-family: var(--f-display); font-weight: var(--fw, 400); }
.h1 { font-size: calc(clamp(46px, 7.4vw, 124px) * var(--fs, 1)); line-height: 1.02; letter-spacing: -0.02em; }
.h2 { font-size: calc(clamp(36px, 4.6vw, 72px) * var(--fs, 1)); line-height: 1.06; letter-spacing: -0.02em; }
.h3 { font-size: calc(clamp(22px, 1.9vw, 28px) * var(--fs, 1)); line-height: 1.2; }
.h1 em, .h2 em, .h3 em { font-style: italic; }
/* Le righe dei titoli salgono da una maschera (SplitText) che taglia ciò che esce dalla riga:
   la maschera si allarga sotto e sopra per discendenti (g, p) e accenti, senza spostare il testo */
.h1 > div, .h2 > div, .manifesto__title > div { padding-block: .14em .24em; margin-block: -.14em -.24em; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; font-weight: 300; color: var(--soft); }
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--c-gold); flex: none; }
.prose p { color: var(--soft); }
.prose .lead { margin-bottom: 1.4em; color: var(--fg); }
.center { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.crumbs { margin-bottom: 28px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }

/* ---------- Bottoni e link ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn {
  --btn-bg: var(--fg); --btn-fg: var(--bg); --btn-bd: var(--fg); --btn-fill: var(--bg); --btn-fg-h: var(--fg);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 32px;
  font-family: var(--f-sans); font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd);
  cursor: pointer; transition: color .5s var(--ease-io);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill); transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-io);
}
.btn:hover, .btn:focus-visible { color: var(--btn-fg-h); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--line-strong); --btn-fill: var(--fg); --btn-fg-h: var(--bg); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 10.5px; }

.link {
  display: inline-block; margin-top: 28px; padding-bottom: 4px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
}
.link:hover { animation: sinapps-underline .8s var(--ease-io); }
@keyframes sinapps-underline {
  0% { background-size: 100% 1px; background-position: 100% 100%; }
  50% { background-size: 0 1px; background-position: 100% 100%; }
  50.01% { background-size: 0 1px; background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}
.arrow { font-size: .95em; letter-spacing: 0; }

/* ---------- Foto ---------- */
.ph { position: relative; margin: 0; width: 100%; aspect-ratio: var(--ar, 4/3); overflow: hidden; background: #ddd8d0; }
.s--dark .ph, .hero .ph, .page-hero .ph, .brand-hero .ph { background: var(--c-coal); }
.ph__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
  transition: transform 1.2s var(--ease-out);
}
.ph--logo { display: grid; place-items: center; background: #111 !important; }
.ph__logo { width: 58%; max-height: 30%; object-fit: contain; transition: transform 1.2s var(--ease-out); }
.ph--product { background: transparent !important; }
.ph--product .ph__img { inset: 7%; width: 86%; height: 86%; object-fit: contain; }
.ph--empty { display: grid; place-items: center; background: var(--c-coal); }
.ph--empty figcaption { font-size: 12px; color: var(--muted); padding: 16px; text-align: center; }

/* ---------- Topbar + header ---------- */
.topbar { font-size: 12px; letter-spacing: .06em; color: var(--muted); background: #000; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; }
.topbar a { text-decoration: none; transition: color .3s; }
.topbar a:hover { color: var(--fg); }

.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); transition: transform .5s var(--ease-io); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); transition: height .35s var(--ease-out); }
.header__logo img { height: 80px; width: auto; transition: height .35s var(--ease-out); }
.header.is-scrolled .header__inner { height: 80px; }
.header.is-scrolled .header__logo img { height: 56px; }

.nav--left { justify-self: start; }
.nav--right { justify-self: end; }
.nav__list { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); list-style: none; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: inline-block; padding-block: 14px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: var(--soft); transition: color .3s;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: var(--c-gold); transform: scaleX(0); transition: transform .5s var(--ease-io);
}
.nav__link:hover, .nav__link.is-active { color: var(--fg); }
.nav__link:hover::after, .nav__link.is-active::after, .has-dropdown:focus-within > .nav__link::after { transform: scaleX(1); }

.dropdown {
  position: absolute; top: 100%; left: -32px; z-index: 5;
  padding: 28px 32px 30px; background: var(--c-ink); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s var(--ease-out);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown__list { list-style: none; columns: 2; column-gap: 40px; min-width: 460px; }
.dropdown__list li { break-inside: avoid; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .5s var(--ease-out); }
.has-dropdown:hover .dropdown__list li, .has-dropdown:focus-within .dropdown__list li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 35ms + 80ms); }
.dropdown__list a { display: block; padding: 5px 0; font-family: var(--f-display); font-size: 22px; text-decoration: none; color: var(--soft); transition: color .3s; }
.dropdown__list a:hover { color: var(--fg); font-style: italic; }
.dropdown__all { display: inline-block; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); width: 100%; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--c-gold); }

.header__call, .header__burger { display: none; }
.header__burger { width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
.header__burger span { display: block; width: 28px; height: 1px; background: var(--fg); transition: transform .3s; }
.header__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.header__call { min-height: 44px; align-items: center; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--soft); }

.mmenu {
  position: fixed; top: var(--menu-top, var(--header-h)); left: 0; right: 0; bottom: 0;
  overflow-y: auto; overscroll-behavior: contain; padding: 24px var(--gutter) 48px;
  background: var(--c-black); color: var(--fg);
}
.mmenu[hidden] { display: none; }
.mmenu__list { list-style: none; margin-bottom: 32px; }
.mmenu__list > li { border-bottom: 1px solid var(--line); padding-block: 16px; }
.mmenu__link { font-family: var(--f-display); font-size: 36px; line-height: 1.2; text-decoration: none; }
.mmenu__sub { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 12px; }
.mmenu__sub a { font-size: 14px; color: var(--muted); text-decoration: none; }
.mmenu__info { margin-top: 28px; color: var(--muted); font-size: 15px; }
.mmenu:not([hidden]) .mmenu__list > li { animation: sinapps-rise .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes sinapps-rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Sezioni ---------- */
.s { padding-block: var(--sec); }
.s--tight { padding-block: var(--sec-tight); }

.section-head {
  display: grid; grid-template-columns: 7fr 5fr; align-items: end; gap: var(--gap) clamp(32px, 6vw, 96px);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head p { color: var(--soft); }
.section-head .link { margin-top: 20px; }
.section-head--row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px; }
.section-head--row .link { margin-top: 0; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap) clamp(40px, 7vw, 120px); }
.split--center { align-items: center; }

.feature { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 104px); align-items: center; }
.feature--reverse { grid-template-columns: 5fr 7fr; }
.feature--reverse .feature__media { order: 2; }
.feature__text .h2 { margin-bottom: 32px; }
.feature__text p { color: var(--soft); }

.cards { display: grid; gap: clamp(20px, 2.4vw, 36px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card .ph, .card__visual { margin-bottom: 22px; }
.card__visual { position: relative; display: block; }
.card__visual .ph { margin-bottom: 0; }
.card__meta { font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.card__title { font-family: var(--f-display); font-size: calc(clamp(26px, 2.3vw, 34px) * var(--fs, 1)); line-height: 1.1; margin-block: 6px 4px; }
.card:hover .ph__img { transform: scale(1.06); }
.card:hover .ph__logo { transform: scale(1.06); }
.card:hover .card__title { font-style: italic; }
.card--brand .card__title { order: 2; }
.card--brand .card__meta { order: 3; letter-spacing: .04em; text-transform: none; font-size: 15px; line-height: 1.5; }
.card--brand .card__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0) 45%); pointer-events: none; }
.card__logo { position: absolute; left: 24px; bottom: 22px; z-index: 1; width: auto; max-width: 58%; height: 38px; object-fit: contain; object-position: left bottom; }

/* ---------- Hero home: la vetrina che si apre dal logo ---------- */
/* Senza JS si vede lo stato finale (foto piena, titolo); anim.js parte dal logo chiuso. */
.is-stage .topbar { display: none; }
.is-stage .header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; transition: transform .5s var(--ease-io), background .4s, border-color .4s; }
.is-stage .header.is-solid { background: var(--c-black); border-bottom-color: var(--line); }
.is-stage .header__inner { height: 80px; }
.is-stage .header__logo img { height: 56px; }
.js .is-home .header:not(.show-logo) .header__logo { opacity: 0; }
.is-home .header__logo { transition: opacity .25s; }

.hero { position: relative; height: 100svh; min-height: 480px; }
.hero__stage { position: relative; height: 100%; overflow: hidden; background: var(--c-black); }
.hero__window { position: absolute; inset: 0; margin: 0; overflow: hidden; clip-path: inset(0px 0px 0px 0px round 0px); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero__light {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(circle at var(--lx, 55%) var(--ly, 45%), rgba(0,0,0,0) 0, rgba(0,0,0,0) 14%, rgba(0,0,0,.5) 46%, rgba(0,0,0,.72) 80%),
    linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0) 55%);
}
.hero__mark { --mark: clamp(150px, 16vw, 230px); position: absolute; left: calc(50% - var(--mark) / 2); top: calc(50% - var(--mark) * 249 / 248 / 2); z-index: 3; width: var(--mark); height: calc(var(--mark) * 249 / 248); opacity: 0; }
.hero__mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__mark-base { opacity: .55; }
.hero__mark-shine {
  -webkit-mask-image: linear-gradient(105deg, transparent 35%, #000 48%, #000 52%, transparent 65%);
  mask-image: linear-gradient(105deg, transparent 35%, #000 48%, #000 52%, transparent 65%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: sinapps-shine 3.6s var(--ease-io) .6s infinite;
}
@keyframes sinapps-shine {
  0% { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  60%, 100% { -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}
.hero__content { position: absolute; left: 0; right: 0; bottom: clamp(56px, 9vw, 120px); z-index: 4; }
.hero__content .h1 { font-size: clamp(42px, 5.8vw, 96px); }
.hero__hint {
  position: absolute; left: 50%; bottom: 28px; z-index: 4; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); opacity: 0;
}
.hero__hint::after { content: ''; width: 1px; height: 44px; background: linear-gradient(var(--fg), transparent); animation: sinapps-hint 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes sinapps-hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Intestazione pagine interne ---------- */
.page-hero { padding-top: clamp(64px, 9vw, 140px); }
.page-hero .h1 { max-width: 16ch; }
.page-hero .lead { max-width: 50ch; margin-top: 32px; }
.page-hero__media { margin-top: clamp(48px, 6vw, 88px); }
.page-hero--text { padding-bottom: var(--sec-tight); }

/* ---------- Home: chi siamo ---------- */
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; }
.intro__eyebrow { grid-column: 1 / 4; margin-top: 18px; }
.intro__title { grid-column: 4 / 13; }
.intro__text { grid-column: 7 / 13; }
.intro__media { margin-top: clamp(56px, 7vw, 104px); }

/* ---------- Home: gioielleria ---------- */
.jewels__cards { margin-top: clamp(72px, 9vw, 136px); }

/* ---------- Home: orologeria ---------- */
.shots { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: var(--gap); align-items: end; }
.shot { text-decoration: none; display: block; }
.shot__label { display: block; margin-top: 16px; font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.shot:hover .ph__img { transform: scale(1.06); }
.shot:hover .shot__label { color: var(--fg); }

/* ---------- Fascia loghi ---------- */
.marquee { padding-block: clamp(36px, 4.5vw, 56px); overflow: hidden; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: sinapps-marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; gap: clamp(56px, 6vw, 96px); padding-right: clamp(56px, 6vw, 96px); list-style: none; }
.marquee__list img { width: auto; max-width: 200px; object-fit: contain; opacity: .7; transition: opacity .4s; }
.marquee__list a:hover img, .marquee__list a:focus-visible img { opacity: 1; }
@keyframes sinapps-marquee { to { transform: translateX(-50%); } }

/* ---------- Servizi ---------- */
.service .ph { margin-bottom: 24px; }
.service__num { font-family: var(--f-display); font-style: italic; font-size: 23px; color: var(--c-gold); margin-bottom: 6px; }
.service .h3 { margin-bottom: 10px; }
.service p:last-child { color: var(--soft); }

/* ---------- Legame ---------- */
.legame__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.legame__text > p { color: var(--soft); max-width: 44ch; }
.legame__text .h2 { margin-bottom: 32px; }
.cities-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.cities-list > div { padding-top: 18px; border-top: 1px solid var(--line); }
.cities-list dt { font-family: var(--f-display); font-style: italic; font-size: 25px; margin-bottom: 6px; }
.cities-list dd { color: var(--muted); font-size: 15px; }

/* ---------- Visita in negozio ---------- */
.visit__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.visit__text .h2 { margin-bottom: 28px; }
.visit .info-list { margin-top: 36px; }
.info-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); }
.info-list > div:last-child { border-bottom: 1px solid var(--line); }
.info-list dt { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.info-list .link { margin-top: 10px; }

/* ---------- Storia ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.timeline li { position: relative; padding-top: 28px; }
.timeline li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-strong); transform: scaleX(var(--line, 1)); transform-origin: left; }
.timeline__year { display: block; margin-bottom: 18px; font-family: var(--f-display); font-style: italic; font-size: calc(clamp(36px, 3.4vw, 52px) * var(--fs, 1)); line-height: 1; color: var(--c-gold); }
.timeline .h3 { margin-bottom: 10px; }
.timeline p { color: var(--soft); font-size: 15.5px; }

.cities { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.city .ph, .city__mark { margin-bottom: 28px; }
.city .h3 { margin-bottom: 10px; }
.city > p:not(.eyebrow) { color: var(--soft); }
.city__mark { display: grid; place-items: center; aspect-ratio: 4/3; background: var(--c-black); }
.city__mark span {
  padding: clamp(28px, 3vw, 44px) clamp(32px, 3.6vw, 56px);
  border: 1px solid rgba(244, 241, 236, .55); border-radius: 22px;
  font-family: var(--f-display); font-style: italic; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.05; text-align: center; color: var(--c-ivory);
}

.gallery { display: grid; gap: var(--gap); }
.gallery--store { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery--jewels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery--brand { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.gallery--n1 { --n: 1; max-width: 720px; }
.gallery--n2 { --n: 2; }
.gallery--n3 { --n: 3; }
.gallery--n4 { --n: 4; }

/* ---------- Fasola: le pietre ---------- */
.stones__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 104px); align-items: center; }
.stones__list { list-style: none; }
.stones__list li {
  padding-block: clamp(14px, 1.6vw, 22px); border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-style: italic; font-size: calc(clamp(40px, 6vw, 96px) * var(--fs, 1)); line-height: 1.05;
}
.stones__list li:first-child { border-top: 1px solid var(--line); }

/* ---------- Pagina brand ---------- */
.brand-hero { padding-block: clamp(56px, 7vw, 112px); }
.brand-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.brand-hero__logo { width: auto; max-width: min(380px, 80%); max-height: 110px; object-fit: contain; object-position: left center; margin-bottom: 36px; }
.brand-hero .lead { max-width: 38ch; }
.seal {
  display: flex; align-items: center; gap: 12px; margin-top: 32px;
  font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.seal::before { content: ''; width: 28px; height: 1px; background: var(--c-gold); }
.seal-img { width: 200px; margin-top: 32px; }

.models { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.model a { display: flex; flex-direction: column; height: 100%; padding-bottom: 28px; text-decoration: none; background: var(--c-card); transition: background .4s; }
.model a:hover { background: #fff; }
.model .ph { margin-bottom: 8px; }
.model__family, .model__name, .model__ref, .model__cta { padding-inline: 28px; }
.model__family { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.model__name { margin-top: 6px; font-family: var(--f-display); font-size: calc(clamp(20px, 1.7vw, 25px) * var(--fs, 1)); line-height: 1.2; }
.model__ref { margin-top: 4px; font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.model__cta { margin-top: auto; padding-top: 22px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.model a:hover .ph__img { transform: scale(1.05); }
.model a:hover .model__name { font-style: italic; }

.banner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-block: 40px; border-block: 1px solid var(--line); }
.banner p:not(.eyebrow) { color: var(--soft); margin-top: 8px; max-width: 56ch; }
.banner .eyebrow { margin-bottom: 14px; }

.embed {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(64px, 8vw, 128px) clamp(24px, 4vw, 64px); border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 0%, #1d1d1d, var(--c-black) 70%);
}
.embed__logo { height: 64px; width: auto; max-width: 280px; object-fit: contain; margin-bottom: 40px; }
.embed .h2 { margin-bottom: 24px; }
.embed p { color: var(--soft); max-width: 52ch; }
.embed .btns { justify-content: center; }

.others .eyebrow { margin-bottom: 32px; }
.others__list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(40px, 5vw, 72px); }
.others__list img { width: auto; max-width: 170px; object-fit: contain; opacity: .6; transition: opacity .4s; }
.others__list a:hover img { opacity: 1; }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.form { display: grid; gap: 26px; padding: clamp(28px, 4vw, 56px); background: var(--c-card); }
.form .h3 { margin-bottom: 6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form label { display: grid; gap: 6px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 46px; padding: 10px 0;
  font: inherit; font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--c-gold); }
.form textarea { resize: vertical; }
.form .check { display: flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--soft); }
.form .check input { width: 18px; min-height: 18px; height: 18px; margin: 0; accent-color: var(--c-text); }
.form .btn { justify-self: start; margin-top: 8px; }

.map { position: relative; background: var(--c-black); }
.map__card { position: absolute; right: var(--gutter); bottom: clamp(24px, 4vw, 56px); padding: 36px 40px; background: var(--c-black); color: var(--fg); }
.map__card p:not(.eyebrow) { margin-bottom: 24px; color: var(--soft); }

/* Tabella mappa pagine */
.table-box { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.table th { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { padding-top: clamp(80px, 9vw, 128px); font-size: 15px; color: var(--soft); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer__brand img { width: 104px; margin-bottom: 24px; }
.footer__brand p { font-family: var(--f-display); font-style: italic; font-size: 23px; line-height: 1.35; color: var(--fg); }
.footer__title { margin-bottom: 16px; font-family: var(--f-sans); font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--c-gold); }
.footer p + p { margin-top: 12px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--fg); }
.footer__links { list-style: none; display: grid; gap: 6px; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(56px, 7vw, 96px); padding-block: 28px; border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: .06em; color: var(--muted);
}
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- Tablet ≤ 1024 ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 80px; }
  .nav--left, .nav--right { display: none; }
  .header__call { display: inline-flex; justify-self: start; grid-column: 1; grid-row: 1; }
  .header__logo { grid-column: 2; grid-row: 1; }
  .header__burger { display: inline-flex; justify-self: end; grid-column: 3; grid-row: 1; }
  .header__logo img, .header.is-scrolled .header__logo img { height: 56px; }
  .header.is-scrolled .header__inner { height: var(--header-h); }

  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--n4 { --n: 2; }
  .intro__eyebrow { grid-column: 1 / -1; margin-top: 0; }
  .intro__title { grid-column: 1 / -1; }
  .intro__text { grid-column: 4 / -1; }
}

/* ---------- Mobile ≤ 767 ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .topbar__inner > a { display: none; }
  .section-head, .split, .feature, .feature--reverse, .contact, .brand-hero__grid, .cities, .legame__grid, .visit__grid, .stones__grid { grid-template-columns: minmax(0, 1fr); }
  .feature--reverse .feature__media { order: 0; }
  .intro__text { grid-column: 1 / -1; }
  .cards--2, .cards--3 { grid-template-columns: minmax(0, 1fr); }
  .gallery--jewels, .gallery--brand, .gallery--store { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--n1 { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .shots { grid-template-columns: 1fr 1fr; }
  .shot--wide { grid-column: 1 / -1; }
  .models { gap: 12px; }
  .model__family, .model__name, .model__ref, .model__cta { padding-inline: 16px; }
  .model a { padding-bottom: 18px; }
  .info-list > div { grid-template-columns: 1fr; gap: 2px; }
  .cities-list { grid-template-columns: 1fr; }
  .brand-hero__media { order: -1; }
  .map__card { position: static; padding: 32px var(--gutter) 40px; }
  .marquee__list img { transform: scale(.78); }
  .hero__hint { display: none; }
}


/* ==========================================================================
   Home a capitoli (sul modello di un racconto a scorrimento)
   ========================================================================== */

/* Barra dei capitoli, fissa in basso */
.chapters {
  position: fixed; left: 50%; bottom: 20px; z-index: 40;
  transform: translate(-50%, 160%); transition: transform .6s var(--ease-io);
  background: rgba(10, 10, 10, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); color: var(--fg);
}
.chapters.is-visible { transform: translate(-50%, 0); }
.chapters.is-visible.is-tucked { transform: translate(-50%, 160%); }
.chapters__progress { position: absolute; left: 0; right: 0; top: -1px; height: 1px; }
.chapters__progress i { display: block; height: 100%; background: var(--c-gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.chapters__list { list-style: none; display: flex; }
.chapters__list a {
  display: flex; align-items: baseline; gap: 10px; padding: 14px 20px; white-space: nowrap;
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: var(--muted); transition: color .3s;
}
.chapters__n { font-family: var(--f-display); font-style: italic; font-size: 17px; letter-spacing: 0; color: var(--c-gold); }
.chapters__list a:hover, .chapters__list a.is-active { color: var(--fg); }

/* Manifesto con foto che fluttuano */
.manifesto { position: relative; overflow: hidden; padding-block: clamp(150px, 19vw, 280px); text-align: center; }
.manifesto__text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.manifesto .eyebrow { justify-content: center; }
.manifesto__title { margin: 0; font-family: var(--f-display); font-weight: var(--fw, 400); font-size: calc(clamp(54px, 9.2vw, 152px) * var(--fs, 1)); line-height: 1.02; letter-spacing: -0.02em; }
.manifesto__title em { font-style: italic; }
.manifesto__lead { max-width: 46ch; margin-top: 44px; font-weight: 300; font-size: clamp(17px, 1.3vw, 20px); color: var(--soft); }
.float { position: absolute; z-index: 1; margin: 0; overflow: hidden; }
.float img { width: 100%; height: 100%; object-fit: cover; }
.float--1 { width: clamp(130px, 16vw, 250px); aspect-ratio: 4 / 5; left: 4%; top: 9%; }
.float--2 { width: clamp(110px, 12.5vw, 200px); aspect-ratio: 3 / 4; right: 6%; top: 15%; }
.float--3 { width: clamp(120px, 14vw, 220px); aspect-ratio: 4 / 3; left: 8%; bottom: 11%; }
.float--4 { width: clamp(140px, 17vw, 270px); aspect-ratio: 1 / 1; right: 3%; bottom: 7%; }

/* Apertura di capitolo: parola gigante e riquadro del logo che si apre */
.opener__stage { --s: clamp(180px, min(24vw, 38vh), 360px); position: relative; height: 100svh; min-height: 480px; overflow: hidden; }
.opener__num { position: absolute; top: clamp(100px, 14vh, 150px); left: var(--gutter); z-index: 3; font-size: 11px; font-weight: 500; letter-spacing: .3em; color: var(--muted); }
.opener__num span { font-family: var(--f-display); font-style: italic; font-size: 34px; letter-spacing: 0; color: var(--c-gold); margin-right: 6px; }
.opener__word {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; margin: 0; pointer-events: none;
  font-family: var(--f-display); font-style: italic; font-weight: var(--fw, 400); font-size: calc(clamp(64px, min(var(--wv, 16.5) * 1vw, 40vh), 360px) * var(--fs, 1));
  line-height: 1; letter-spacing: -0.03em; white-space: nowrap;
  /* la parola sta davanti alla foto e resta piena: si legge per tutta l'apertura (--wo la sfuma quando arrivano i testi) */
  color: rgba(244, 241, 236, var(--wo, 1)); text-shadow: 0 4px 48px rgba(0, 0, 0, calc(.4 * var(--wo, 1)));
}
.opener__window img { position: absolute; inset: 0; }
/* velo sulla foto: la parola chiara davanti resta leggibile anche sulle foto chiare */
.opener:not(.opener--logo) .opener__window::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(0, 0, 0, .4); }
.opener__window {
  position: absolute; inset: 0; z-index: 1; margin: 0;
  clip-path: inset(calc(50% - var(--s) / 2) calc(50% - var(--s) / 2) round 22px);
}
.opener__window img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.opener__frame {
  position: absolute; left: calc(50% - var(--s) / 2 - 14px); top: calc(50% - var(--s) / 2 - 14px); z-index: 3;
  width: calc(var(--s) + 28px); height: calc(var(--s) + 28px);
  border: 1px solid rgba(244, 241, 236, .55); border-radius: 30px; pointer-events: none;
}
.opener__sub { position: absolute; left: 0; right: 0; bottom: var(--safe-b); z-index: 3; text-align: center; font-size: 11.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--soft); }

/* In primo piano: un gioiello a tutto schermo con i dettagli */
.spotlight { --bg: #000; }
.spotlight__stage { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
.spotlight__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spotlight__head { position: absolute; left: 0; right: 0; top: clamp(72px, 12vh, 150px); z-index: 2; text-align: center; }
.spotlight__head .eyebrow { justify-content: center; }
.spotlight__head .h2, .spotlight__tags li { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.opener__shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: linear-gradient(to bottom, rgba(0,0,0,.74), rgba(0,0,0,.28) 36%, rgba(0,0,0,.22) 58%, rgba(0,0,0,.82)); }
.opener__extra { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.opener__extra a { pointer-events: auto; }
.spotlight__foot { position: absolute; left: 0; right: 0; bottom: var(--safe-b); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 28px; padding-inline: var(--gutter); }
.spotlight__tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.spotlight__tags li {
  padding: 9px 16px; border: 1px solid var(--line-strong);
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* Vetrina che scorre in orizzontale */
.track__stage { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 5vh, 72px); padding-block: clamp(56px, 11vh, 140px) var(--safe-b); overflow: hidden; }
.track__head { display: grid; grid-template-columns: 7fr 5fr; align-items: end; gap: 32px; }
.track__head > p { color: var(--soft); }
.track__rail { display: flex; align-items: flex-end; gap: clamp(20px, 2.5vw, 40px); width: max-content; padding-inline: var(--gutter); will-change: transform; }
.track__item { flex: none; margin: 0; }
/* le foto si misurano anche sull'altezza dello schermo, così la vetrina sta tutta sopra la barra */
.track__item--l { width: clamp(160px, min(27vw, 30vh), 420px); }
.track__item--m { width: clamp(140px, min(22vw, 30vh), 330px); }
.track__item--s { width: clamp(120px, min(16vw, 24vh), 250px); }
.track__item figcaption, .collage__label { display: block; margin-top: 14px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.track__card { flex: none; align-self: stretch; width: clamp(220px, min(25vw, 36vh), 380px); display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; border: 1px solid var(--line); text-decoration: none; transition: background .4s; }
.track__card:hover { background: var(--c-ink); }
.track__card-title { margin-bottom: 4px; font-family: var(--f-display); font-size: calc(clamp(30px, 3vw, 46px) * var(--fs, 1)); line-height: 1.05; }
.track__brand { flex: none; width: clamp(130px, min(17vw, 24vh), 270px); text-decoration: none; }
.track__brand-name { display: block; margin-top: 14px; font-family: var(--f-display); font-size: 27px; }
.track__item:hover .ph__img, .track__brand:hover .ph__img, .track__brand:hover .ph__logo { transform: scale(1.06); }

/* Collage orologeria */
.collage { overflow: hidden; }
.collage__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(40px, 5vw, 80px); align-items: start; }
.collage__item { display: block; text-decoration: none; }
.collage__item:hover .ph__img { transform: scale(1.06); }
.collage__item:hover .collage__label { color: var(--fg); }
.collage__item--1 { grid-column: 1 / 5; grid-row: 1 / span 2; }
.collage__text { grid-column: 6 / 12; grid-row: 1; align-self: center; }
.collage__text .h2 { margin-bottom: 28px; }
.collage__text p { color: var(--soft); max-width: 46ch; }
.collage__item--2 { grid-column: 9 / 13; grid-row: 2; }
.collage__item--3 { grid-column: 3 / 7; grid-row: 3; margin-top: -4vw; }
.collage__item--4 { grid-column: 8 / 11; grid-row: 3; margin-top: 6vw; }

/* Laboratorio: testo fisso, le foto cambiano mentre si scorre */
.lab { height: 300vh; }
.lab__stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 104px); align-items: center; }
.lab__text .h2 { margin-bottom: 36px; }
.lab__steps { list-style: none; }
.lab__step { padding-block: 22px; border-top: 1px solid var(--line); opacity: .38; transition: opacity .6s var(--ease-out); }
.lab__step:last-child { border-bottom: 1px solid var(--line); }
.lab__step.is-active { opacity: 1; }
.lab__step .h3 { display: inline; }
.lab__num { margin-right: 14px; font-family: var(--f-display); font-style: italic; font-size: 21px; color: var(--c-gold); }
.lab__step p { max-height: 0; overflow: hidden; opacity: 0; color: var(--soft); transition: max-height .7s var(--ease-out), opacity .5s, margin .5s; }
.lab__step.is-active p { max-height: 140px; opacity: 1; margin-top: 12px; }
.lab__inline { display: none; }
.lab__media { position: relative; height: min(76vh, 720px); overflow: hidden; background: var(--c-coal); }
.lab__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1s var(--ease-out), transform 1.8s var(--ease-out); }
.lab__img.is-active { opacity: 1; transform: scale(1); }

@media (max-width: 1024px) {
  .collage__item--1 { grid-column: 1 / 6; }
  .collage__text { grid-column: 7 / 13; }
}
@media (max-width: 767px) {
  :root { --safe-b: 78px; }
  .chapters { bottom: 12px; max-width: calc(100% - 24px); }
  .chapters__list a { padding: 12px 12px; gap: 6px; }
  .chapters__list a:not(.is-active) .chapters__label { display: none; }
  .manifesto { padding-block: 120px; }
  .float { opacity: .9; }
  .float--1 { width: 28vw; left: 3%; top: 3%; }
  .float--2 { width: 24vw; right: 4%; top: 6%; }
  .float--3 { width: 26vw; left: 4%; bottom: 3%; }
  .float--4 { width: 28vw; right: 3%; bottom: 2%; }
  .manifesto__text { padding-block: 22vw; }
  .opener__stage { height: 86svh; min-height: 520px; --s: 56vw; }
  .opener[data-stage] .opener__stage { height: 100svh; }
  .opener__logo { max-width: 70vw; }
  .track__step, .track__model { width: 68vw; scroll-snap-align: start; }
  .track__head { grid-template-columns: minmax(0, 1fr); }
  .track__rail { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .track__rail::-webkit-scrollbar { display: none; }
  .track__item, .track__card, .track__brand { scroll-snap-align: start; }
  .track__item--l, .track__item--m, .track__item--s, .track__brand { width: 68vw; }
  .track__card { width: 68vw; }
  .collage__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collage__text { grid-column: 1 / -1; grid-row: 1; }
  .collage__item--1, .collage__item--2, .collage__item--3, .collage__item--4 { grid-column: auto; grid-row: auto; margin-top: 0; }
  .collage__item--2, .collage__item--4 { margin-top: 48px; }
  .lab { height: auto; }
  .lab__stage { position: static; height: auto; grid-template-columns: minmax(0, 1fr); padding-block: var(--sec); }
  .lab__media { display: none; }
  .lab__inline { display: block; margin-top: 18px; }
  .lab__step { opacity: 1; }
  .lab__step p { max-height: none; opacity: 1; margin-top: 12px; }
}

/* ---------- Pagine interne a capitoli ---------- */
/* apertura col logo del brand: il logo sta sotto il riquadro; quando il riquadro si apre sale sulla foto (anim.js) */
.opener__logo { position: absolute; left: 0; right: 0; top: calc(50% + var(--s) / 2 + 14px + clamp(20px, 4vh, 44px)); z-index: 4; width: auto; max-width: min(56vw, 560px); max-height: 16vh; margin-inline: auto; object-fit: contain; }
.opener__num a { text-decoration: none; color: var(--fg); }
.opener__num a:hover { text-decoration: underline; text-underline-offset: 4px; }
.spotlight__lead { max-width: 46ch; text-align: center; font-weight: 300; font-size: clamp(17px, 1.4vw, 21px); color: var(--fg); text-shadow: 0 1px 18px rgba(0,0,0,.5); }
.spotlight__btns { justify-content: center; margin-top: 0; }
.spotlight__foot .seal, .spotlight__foot .seal-img { margin-top: 0; }
.spotlight__foot .seal-img { width: 150px; }

/* manifesto: testi in più sotto il lead */
.manifesto__body { max-width: 58ch; margin-top: 28px; color: var(--soft); font-size: 15.5px; }
.float--product { background: transparent; overflow: visible; }
.float--product img { object-fit: contain; }

/* vetrina orizzontale: tappe (testo) e modelli (schede prodotto) */
.track__step {
  flex: none; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end;
  width: clamp(240px, min(26vw, 36vh), 380px); padding: 32px 28px; border-top: 1px solid var(--line-strong);
}
.track__year { display: block; margin-bottom: 18px; font-family: var(--f-display); font-style: italic; font-size: calc(clamp(44px, 4.4vw, 72px) * var(--fs, 1)); line-height: 1; color: var(--c-gold); }
.track__step .h3 { margin-bottom: 10px; }
.track__step p { color: var(--soft); font-size: 15.5px; }
.track__model {
  flex: none; display: flex; flex-direction: column; width: clamp(150px, min(20vw, 25vh), 300px);
  padding-bottom: 22px; text-decoration: none; background: var(--c-card); transition: background .4s;
  align-self: stretch; /* tutte le schede alte uguali, qualunque sia la lunghezza del nome: il link resta sul fondo */
}
.track__model:hover { background: #fff; }
.track__model .ph { margin-bottom: 8px; }
.track__model .model__family, .track__model .model__name, .track__model .model__ref, .track__model .model__cta { padding-inline: 22px; }
.track__model:hover .ph__img { transform: scale(1.05); }
.track__model:hover .model__name { font-style: italic; }
/* schede e card finale misurate anche sull'altezza: la vetrina sta sopra la barra anche in finestre basse */
.track__model .model__family, .track__model .model__name, .track__model .model__ref, .track__model .model__cta { padding-inline: 18px; }
.track__model .model__name { font-size: calc(clamp(18px, 1.5vw, 22px) * var(--fs, 1)); }
.track__model .model__cta { padding-top: 16px; }
.track__card { width: clamp(220px, min(24vw, 40vh), 360px); padding: 28px; }
.track__card-title { font-size: calc(clamp(26px, 2.2vw, 38px) * var(--fs, 1)); }

/* vetrina chiara: la card finale non diventa nera al passaggio */
.track--light .track__card:hover { background: var(--c-card); }

/* ---------- Pagine brand, caso 1: catalogo ufficiale del brand incorporato ---------- */
.embed-s__head { display: grid; grid-template-columns: 7fr 5fr; align-items: end; gap: 32px; margin-bottom: clamp(32px, 5vw, 64px); }
.embed-s__head > p { color: var(--soft); }
.embed-live { min-height: 420px; background: #fff; }
.embed-live[data-domain] { min-height: 0; background: none; }
.embed-live iframe { display: block; width: 100%; border: 0; }
.embed-s__btns { justify-content: center; margin-top: clamp(32px, 4vw, 56px); }
/* catalogo attivato dal brand solo sul dominio vero: qui se ne vede un'anteprima che sfuma */
.embed-preview { margin: 0; }
.embed-preview__img { position: relative; max-height: min(1100px, 130vh); overflow: hidden; }
.embed-preview__img img { display: block; width: 100%; height: auto; }
.embed-preview__img::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 280px; background: linear-gradient(to bottom, rgba(244, 241, 236, 0), var(--c-ivory)); }
.embed-preview figcaption { max-width: 60ch; margin: 4px auto 0; text-align: center; font-size: 14px; color: var(--muted); }
.seal-link { display: inline-block; }

/* ---------- Scheda del modello (pagine interne IWC) ---------- */
.product { padding-block: var(--sec-tight); }
.product__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 112px); align-items: start; }
.product__media { position: sticky; top: 112px; background: var(--c-paper); }
.product__name { margin-top: 4px; }
.product__ref { margin-top: 14px; font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.product__summary { margin-top: 28px; color: var(--soft); max-width: 52ch; }
.product__made { margin-top: 12px; font-family: var(--f-display); font-style: italic; font-size: calc(21px * var(--fs, 1)); }
.product__info .btns { margin-top: 32px; }
.specs { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-strong); }
.specs__group { border-bottom: 1px solid var(--line); }
.specs__group summary {
  display: flex; justify-content: space-between; align-items: center; min-height: 60px; cursor: pointer; list-style: none;
  font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
}
.specs__group summary::-webkit-details-marker { display: none; }
.specs__icon { position: relative; width: 14px; height: 14px; flex: none; }
.specs__icon::before, .specs__icon::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .4s var(--ease-out); }
.specs__icon::after { transform: rotate(90deg); }
.specs__group[open] .specs__icon::after { transform: rotate(0); }
.specs__group ul { list-style: none; padding-bottom: 24px; columns: 2; column-gap: 32px; }
.specs__group li { break-inside: avoid; padding-block: 6px; color: var(--soft); font-size: 15px; }
.specs__group summary:hover { color: var(--c-gold); }

@media (max-width: 767px) {
  .embed-s__head { grid-template-columns: minmax(0, 1fr); }
  .product__grid { grid-template-columns: minmax(0, 1fr); }
  .product__media { position: static; }
  .specs__group ul { columns: 1; }
}

/* ---------- Telefono: zone da toccare comode e ritocchi ---------- */
@media (max-width: 767px) {
  .header__call { min-width: 48px; }
  .link { position: relative; }
  .link::after { content: ''; position: absolute; left: -4px; right: -4px; top: -12px; bottom: -12px; }
  .crumbs a { display: inline-block; padding-block: 12px; margin-block: -12px; }
  .footer__links { gap: 0; }
  .footer__links a, .footer__legal a { display: inline-block; padding-block: 11px; }
  .footer p a { display: inline-block; padding-block: 9px; }
  .footer__legal { gap: 0 24px; }
  .others__list a { display: inline-flex; align-items: center; min-height: 44px; }
  .form .check { min-height: 44px; }
  .chapters__list a { padding: 12px 14px; }
  .model__cta { white-space: nowrap; font-size: 11px; }
  .model__cta-long { display: none; }
  .gallery--n3 > :first-child { grid-column: 1 / -1; }
  .spotlight__tags { gap: 4px 14px; }
  .spotlight__tags li { padding: 2px 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 11px; letter-spacing: .14em; }
  .spotlight__tags li + li::before { content: '·'; margin-right: 14px; color: var(--c-gold); }
  .spotlight__foot { gap: 20px; }
  .arrow { font-size: 1em; }
}

/* ---------- Movimento ---------- */
/* Pagina: entra in dissolvenza quando le animazioni sono pronte, esce sui link interni */
.js main, .js .footer { transition: opacity .6s ease; }
.js:not(.is-ready) main { opacity: 0; }
.js:not(.is-ready) #sinapps-hero .hero__content { visibility: hidden; }
.is-leaving main, .is-leaving .footer { opacity: 0; transition-duration: .25s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; }
}

/* Lenis (scroll morbido) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
