@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap");

:root {
  --void: oklch(8% 0.012 220);
  --panel: oklch(12% 0.014 220);
  --panel-2: oklch(16% 0.015 220);
  --text: oklch(95% 0.01 220);
  --muted: oklch(70% 0.018 220);
  --gold: oklch(87% 0.165 91);
  --gold-soft: oklch(93% 0.075 91);
  --line: rgba(220, 229, 226, 0.16);
  --edge: clamp(24px, 5vw, 92px);
  --serif: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --display: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --sans: "Lato", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body { margin: 0; color: var(--text); background: var(--void); font-family: var(--sans); letter-spacing: 0; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.collection-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 88px;
  padding: 0 var(--edge);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(5, 8, 9, 0.86), rgba(5, 8, 9, 0.2));
  backdrop-filter: blur(16px);
}

.collection-brand { display: flex; align-items: center; gap: 12px; width: fit-content; }
.collection-brand img { width: 28px; height: 28px; object-fit: contain; }
.collection-brand span { display: grid; }
.collection-brand strong { font-family: var(--display); font-weight: 400; font-size: 1rem; }
.collection-brand small { color: var(--muted); font-size: 0.58rem; text-transform: uppercase; }

.collection-nav__siblings { display: flex; align-items: center; gap: 26px; }
.collection-nav__siblings a { color: var(--muted); font-size: 0.72rem; transition: color 180ms ease; }
.collection-nav__siblings a:hover,
.collection-nav__siblings a[aria-current="page"] { color: var(--gold-soft); }

.collection-menu-button {
  justify-self: end;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.collection-menu-button span { display: block; width: 24px; height: 1px; margin: 6px auto; background: currentColor; }

.collection-hero { position: relative; min-height: 94svh; overflow: hidden; display: flex; align-items: flex-end; }
.collection-hero__media { position: absolute; inset: 0; margin: 0; }
.collection-hero__media img { width: 100%; height: 100%; object-fit: cover; scale: 1.015; animation: heroSettle 1.8s var(--ease) both; }
.collection-hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 6, 7, 0.86) 0%, rgba(3, 6, 7, 0.32) 58%, rgba(3, 6, 7, 0.2)), linear-gradient(0deg, rgba(3, 6, 7, 0.72), transparent 58%); }
.collection-hero__copy { position: relative; z-index: 2; width: min(920px, 84vw); padding: 160px var(--edge) clamp(70px, 10vh, 112px); }
.collection-kicker { color: var(--gold); font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.collection-hero h1 { margin: 20px 0 0; font-family: var(--serif); font-size: clamp(5.5rem, 13vw, 12rem); font-weight: 400; line-height: 0.78; }
.collection-hero__lead { max-width: 48ch; margin: 40px 0 0; color: oklch(88% 0.012 220); font-family: var(--display); font-size: clamp(1.05rem, 1.7vw, 1.5rem); line-height: 1.45; }
.collection-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.collection-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid rgba(255,255,255,.34); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; transition: background 180ms ease, color 180ms ease, border-color 180ms ease; }
.collection-button--primary { color: var(--void); background: var(--gold); border-color: var(--gold); }
.collection-button:hover { color: var(--void); background: var(--gold-soft); border-color: var(--gold-soft); }

.collection-signature { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: clamp(52px, 10vw, 160px); align-items: start; padding: clamp(100px, 12vw, 180px) var(--edge); border-bottom: 1px solid var(--line); }
.collection-signature h2 { max-width: 9ch; margin: 18px 0 0; font-family: var(--serif); font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 400; line-height: .92; }
.collection-signature__body { padding-top: 40px; }
.collection-signature__body > p { max-width: 52ch; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.collection-signature__notes { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 52px; border-top: 1px solid var(--line); }
.collection-signature__notes div { padding: 24px 24px 0 0; border-right: 1px solid var(--line); }
.collection-signature__notes div + div { padding-left: 24px; border-right: 0; }
.collection-signature__notes small { display: block; color: var(--gold); font-size: .62rem; text-transform: uppercase; letter-spacing: .09em; }
.collection-signature__notes strong { display: block; margin-top: 12px; font-family: var(--display); font-size: 1.08rem; font-weight: 400; line-height: 1.45; }

.collection-specs { padding: clamp(90px, 10vw, 150px) var(--edge); background: var(--panel); }
.collection-specs__head { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.collection-specs h2 { max-width: 12ch; margin: 16px 0 0; font-family: var(--serif); font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; line-height: .95; }
.collection-specs__head p { max-width: 42ch; margin: 0; color: var(--muted); line-height: 1.65; }
.collection-ledger { display: grid; grid-template-columns: repeat(4, 1fr); margin: 64px 0 0; border-block: 1px solid var(--line); }
.collection-ledger div { min-width: 0; padding: 28px 24px 34px 0; border-right: 1px solid var(--line); }
.collection-ledger div + div { padding-left: 24px; }
.collection-ledger div:last-child { border-right: 0; }
.collection-ledger dt { color: var(--gold-soft); font-family: var(--serif); font-size: clamp(2.2rem, 3.5vw, 4rem); line-height: 1; }
.collection-ledger dd { margin: 14px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }

.collection-detail { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 720px; }
.collection-detail__media { min-height: 620px; margin: 0; overflow: hidden; }
.collection-detail__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.collection-detail:hover img { scale: 1.02; }
.collection-detail__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(64px, 8vw, 128px) var(--edge); background: var(--void); }
.collection-detail__copy h2 { margin: 18px 0 0; font-family: var(--serif); font-size: clamp(3rem, 5.5vw, 5.8rem); font-weight: 400; line-height: .95; }
.collection-detail__copy p { margin: 28px 0 0; color: var(--muted); line-height: 1.75; }
.collection-detail__copy ul { display: grid; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.collection-detail__copy li { padding-top: 14px; border-top: 1px solid var(--line); color: oklch(86% 0.015 220); font-size: .82rem; }

.collection-final { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.collection-final article { padding: clamp(72px, 8vw, 128px) var(--edge); background: var(--panel); }
.collection-final article:last-child { background: var(--gold); color: var(--void); }
.collection-final h2 { max-width: 10ch; margin: 18px 0 0; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 400; line-height: .94; }
.collection-final p { max-width: 45ch; margin: 24px 0 34px; color: var(--muted); line-height: 1.65; }
.collection-final article:last-child p,
.collection-final article:last-child .collection-kicker { color: rgba(3, 6, 7, .7); }
.collection-final article:last-child .collection-button { border-color: var(--void); }

.collection-footer { display: flex; justify-content: space-between; gap: 28px; padding: 34px var(--edge); color: var(--muted); background: var(--void); font-size: .68rem; }

.collection-menu { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-rows: auto 1fr auto; padding: 34px var(--edge); background: rgba(4, 7, 8, .98); opacity: 0; visibility: hidden; transition: opacity 220ms ease, visibility 220ms ease; }
body.menu-open .collection-menu { opacity: 1; visibility: visible; }
.collection-menu__top,.collection-menu__foot { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.collection-menu__close { padding: 0; color: var(--text); background: transparent; border: 0; cursor: pointer; }
.collection-menu nav { align-self: center; display: grid; width: min(900px, 100%); margin: auto; }
.collection-menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 6rem); line-height: 1; transition: color 180ms ease, padding-left 260ms var(--ease); }
.collection-menu nav a:hover { padding-left: 18px; color: var(--gold-soft); }

.reveal { opacity: 0; translate: 0 30px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.reveal.is-visible { opacity: 1; translate: 0 0; }
@keyframes heroSettle { from { opacity: .35; scale: 1.07; } to { opacity: 1; scale: 1.015; } }

@media (max-width: 900px) {
  .collection-nav { grid-template-columns: 1fr auto; }
  .collection-nav__siblings { display: none; }
  .collection-signature { grid-template-columns: 1fr; }
  .collection-signature__body { padding-top: 0; }
  .collection-specs__head { display: block; }
  .collection-specs__head p { margin-top: 28px; }
  .collection-ledger { grid-template-columns: repeat(2, 1fr); }
  .collection-ledger div:nth-child(2) { border-right: 0; }
  .collection-ledger div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .collection-detail { grid-template-columns: 1fr; }
  .collection-detail__media { min-height: min(100vw, 680px); }
  .collection-final { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .collection-nav { min-height: 74px; }
  .collection-hero { min-height: 88svh; }
  .collection-hero__copy { width: 100%; padding-bottom: 58px; }
  .collection-hero h1 { font-size: clamp(4.2rem, 23vw, 7rem); line-height: .84; }
  .collection-hero__lead { margin-top: 28px; font-size: 1rem; }
  .collection-hero__actions { display: grid; }
  .collection-button { width: 100%; }
  .collection-signature__notes { grid-template-columns: 1fr; }
  .collection-signature__notes div { border-right: 0; }
  .collection-signature__notes div + div { padding-left: 0; border-top: 1px solid var(--line); }
  .collection-ledger { grid-template-columns: 1fr; }
  .collection-ledger div,
  .collection-ledger div + div { padding-left: 0; border-right: 0; border-top: 1px solid var(--line); }
  .collection-ledger div:first-child { border-top: 0; }
  .collection-detail__media { min-height: 118vw; }
  .collection-footer { display: grid; }
  .collection-menu nav a { font-size: clamp(2rem, 12vw, 3.6rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; translate: none; }
}

/* ---------------- Shared Luxury Style editorial system v25 ---------------- */
:root {
  --void: #0b0c0b;
  --panel: #171817;
  --panel-2: #d8d7d2;
  --text: #f4f2ed;
  --muted: #73746e;
  --gold: #c5a04a;
  --gold-soft: #e4d298;
  --line: rgba(255,255,255,.16);
  --serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, .collection-brand strong, .collection-menu nav a { font-family: var(--display); font-weight: 300; letter-spacing: -.035em; }
body { font-family: var(--sans); }
.collection-nav { background: rgba(11,12,11,.92); border-bottom-color: rgba(255,255,255,.2); }
.collection-brand img { width: 72px; height: 48px; }
.collection-brand strong { font-size: 1.15rem; letter-spacing: 0; }
.collection-kicker { font-family: var(--sans); font-weight: 700; color: var(--gold); }
.collection-hero h1 { font-weight: 300; letter-spacing: -.06em; }
.collection-hero__lead { font-family: var(--sans); font-weight: 300; }

.collection-signature { background: #f3f2ee; color: #171817; border-color: rgba(23,24,23,.16); }
.collection-signature h2,
.collection-signature__notes strong { color: #171817; }
.collection-signature__body > p { color: #555650; }
.collection-signature__notes { border-color: rgba(23,24,23,.16); }
.collection-signature__notes div { border-color: rgba(23,24,23,.16); }
.collection-signature__notes small { color: #7d6526; }

.collection-specs { background: #f3f2ee; color: #171817; }
.collection-specs h2 { color: #171817; }
.collection-specs__head p, .collection-ledger dd { color: #555650; }
.collection-ledger { border-color: rgba(23,24,23,.2); }
.collection-ledger div { border-color: rgba(23,24,23,.2); }
.collection-ledger dt { color: #171817; }
.collection-ledger dt::after { content: ""; display: block; width: 28px; height: 2px; margin-top: 12px; background: var(--gold); }

.collection-detail__copy { background: #171817; }
.collection-detail__copy h2 { color: #f3f2ee; }
.collection-detail__copy li { color: #d2d1cb; }
.collection-final article:first-child { background: #f3f2ee; color: #171817; }
.collection-final article:first-child h2 { color: #171817; }
.collection-final article:first-child p { color: #555650; }
.collection-final article:last-child { background: #171817; color: #f3f2ee; }
.collection-final article:last-child p, .collection-final article:last-child .collection-kicker { color: #b7b7b1; }
.collection-final article:last-child .collection-button { color: #171817; background: #c5a04a; border-color: #c5a04a; }
.collection-footer { background: #0b0c0b; }

.collection-menu { background: rgba(11,12,11,.94); }
.collection-menu nav a { color: #f3f2ee; }
.collection-menu nav a:hover { color: var(--gold-soft); }

/* Menu stabile: il testo non deve spostarsi quando si passa o si seleziona una collezione. */
.collection-menu nav a:hover,
.collection-menu nav a:focus-visible,
.collection-menu nav a[aria-current="page"] { padding-left: 0; transform: none; }

/* Movimento più discreto sulle immagini, per una navigazione più fluida. */
.collection-tile:hover img { scale: 1.015; }
.collection-detail:hover img { scale: 1.01; }

@media (max-width: 700px) {
  .collection-brand img { width: 76px; height: 52px; }
}

.collection-brand img { width: 112px; height: 72px; object-fit: contain; }
@media (max-width: 700px) { .collection-brand img { width: 88px; height: 58px; } }
.collection-brand img { width: 78px; height: 66px; object-fit: contain; }
@media (max-width: 700px) { .collection-brand img { width: 64px; height: 54px; } }

/* Shared brand lockup: never crop or stretch the Emmesse mark. */
.collection-brand img { width: 78px; height: 64px; object-fit: contain; flex: 0 0 auto; }
@media (max-width: 700px) { .collection-brand img { width: 64px; height: 52px; } }

/* Definitive hover lock: collection menu labels stay anchored. */
.collection-menu nav a:hover,
.collection-menu nav a:focus-visible,
.collection-menu nav a[aria-current="page"] { padding-left: 0 !important; transform: none !important; translate: none !important; }
.collection-detail:hover img,
.collection-detail__media img { scale: 1 !important; transform: none !important; }

/* Final no-shift policy: hover may change color, never geometry. */
a:hover, a:focus-visible,
button:hover, button:focus-visible,
summary:hover, summary:focus-visible { transform: none !important; translate: none !important; }
.collection-menu nav a:hover, .collection-menu nav a:focus-visible { padding-left: 0 !important; }

/* Sibling collection navigation: fixed geometry, color-only hover. */
.collection-nav__siblings { flex: 0 0 auto; }
.collection-nav__siblings a,
.collection-nav__siblings a:hover,
.collection-nav__siblings a:focus-visible,
.collection-nav__siblings a[aria-current="page"] {
  flex: 0 0 auto;
  display: inline-block;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  translate: none !important;
  scale: 1 !important;
  font-size: 0.72rem !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  transition: color 180ms ease !important;
}

/* Final shared type lock: Raleway headings, Lato body copy. */
:root { --serif: "Raleway", "Helvetica Neue", Arial, sans-serif; --display: "Raleway", "Helvetica Neue", Arial, sans-serif; --sans: "Lato", Arial, sans-serif; }
body, button, input, textarea, select { font-family: var(--sans) !important; }
.collection-hero h1,
.collection-signature h2,
.collection-specs h2,
.collection-detail__copy h2,
.collection-final h2,
.collection-menu nav a,
.collection-brand strong { font-family: var(--serif) !important; }
.collection-hero__lead,
.collection-signature__notes strong { font-family: var(--sans) !important; }

/* ---------------- Kicker readability on the light chapters ----------------
   The bright gold is tuned for the dark surfaces; on the paper/grey panels it
   drops to ~2:1 contrast. These chapters get the darker gold instead. */
.collection-signature .collection-kicker,
.collection-specs .collection-kicker,
.collection-final article:first-child .collection-kicker {
  color: #7d6526;
}

.collection-specs p,
.collection-signature p {
  color: #4f504c;
}

/* Small print on the dark nav/footer sat just under the readable threshold. */
.collection-brand small,
.collection-nav__siblings a,
.collection-footer,
.collection-footer span { color: #8d8e87; }

/* ==================== Scala tipografica allineata alla homepage ====================
   Le pagine collezione usavano un hero quasi doppio rispetto alla home (187px
   contro 86px) e un sottotitolo a 24px contro 16.3px. Stessi valori della home. */
.collection-hero h1 { font-size: clamp(3.2rem, 6vw, 6.35rem); }
.collection-hero__lead { font-size: 1.02rem; }

.collection-signature h2,
.collection-specs h2,
.collection-detail__copy h2,
.collection-final h2 { font-size: clamp(2.8rem, 5.8vw, 6rem); }

.collection-ledger dt { font-size: clamp(1.35rem, 2.2vw, 2.2rem); }
.collection-kicker { font-size: 0.64rem; }
