/* ============================================================
   VINICIO PAJARO — Sito 2026 · Campagna "Mirror / Color Flash"
   Palette: rosa campagna, inchiostro prugna, rosso, viola
   ============================================================ */
/* --- font serviti dal sito: nessuna chiamata a Google (GDPR) --- */
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodonimoda-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodonimoda-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodonimoda-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --porcelain: #F8F3F4;
  --ink: #170710;
  --pink: #E3A4B4;
  --pink-soft: #F0C6D0;
  --plum: #26101F;
  --red: #B01230;
  --violet: #6C2E63;
  --stone: #8E7F87;
  --hairline: rgba(23, 7, 16, 0.14);
  --display: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  /* Jost ha occhio medio più piccolo di Helvetica: 17px pareggia la leggibilità */
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }

.label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
}
.label--acc { color: var(--red); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 18px; z-index: 200; }
.skip:focus { left: 0; }

/* ---------- header ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(20px, 3vw, 44px); height: 74px;
  /* il menu si inverte su ciò che passa sotto. Funziona solo se il fondo
     resta lontano dal grigio medio: ci pensa il velo in cima all'hero. */
  color: #fff; mix-blend-mode: difference;
}
.top--solid {
  position: sticky; mix-blend-mode: normal; color: var(--ink);
  background: color-mix(in srgb, var(--porcelain) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.logo { display: block; text-decoration: none; line-height: 0; }
/* il tracciato usa currentColor: il logo segue il colore dell'header */
.logo__mark { width: 132px; height: auto; display: block; }
.foot .logo__mark { width: 150px; }
.nav { display: flex; gap: clamp(18px, 2.6vw, 38px); }
.nav a {
  text-decoration: none; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  border-bottom: 1px solid currentColor; transition: right .35s cubic-bezier(.2,.7,.2,1);
}
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { right: 0; }
.langs { display: flex; gap: 12px; font-size: 11px; letter-spacing: 0.14em; }
.langs a { text-decoration: none; opacity: .55; }
.langs a[aria-current="true"] { opacity: 1; border-bottom: 1px solid currentColor; }
/* header solido quando la pagina è scrollata oltre l'hero */
.top.scrolled {
  mix-blend-mode: normal; color: var(--ink);
  background: color-mix(in srgb, var(--porcelain) 94%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

/* ---------- hamburger + drawer (mobile) ---------- */
.burger {
  display: none; position: relative; z-index: 130;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; padding: 0; cursor: pointer; color: inherit;
}
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .2s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 120;
  background: var(--plum); color: #F8F0F5;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(24px, 8vw, 56px);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s cubic-bezier(.7,0,.3,1);
  visibility: hidden;
}
.drawer.open { clip-path: inset(0 0 0% 0); visibility: visible; }
.drawer a {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(30px, 9vw, 46px); letter-spacing: .04em; line-height: 1.5;
  text-decoration: none; opacity: 0; transform: translateY(18px);
}
.drawer.open a { animation: drawerIn .55s cubic-bezier(.2,.7,.2,1) forwards; }
.drawer.open a:nth-child(1) { animation-delay: .18s; }
.drawer.open a:nth-child(2) { animation-delay: .24s; }
.drawer.open a:nth-child(3) { animation-delay: .30s; }
.drawer.open a:nth-child(4) { animation-delay: .36s; }
.drawer.open a:nth-child(5) { animation-delay: .42s; }
.drawer.open a:nth-child(6) { animation-delay: .48s; }
@keyframes drawerIn { to { opacity: 1; transform: none; } }
.drawer__foot {
  position: absolute; left: clamp(24px, 8vw, 56px); right: clamp(24px, 8vw, 56px); bottom: 40px;
  font-size: 13px; color: #C8B2C0; line-height: 1.9;
}
.drawer__foot a { font-family: var(--sans); font-size: 13px; text-transform: none; letter-spacing: 0; opacity: 1; transform: none; animation: none; color: inherit; }
body.locked { overflow: hidden; }

@media (max-width: 960px) {
  .top { height: 64px; }
  .top.menu-open { mix-blend-mode: normal; background: none; color: #F8F0F5; z-index: 130; }
  .top.menu-open .logo, .top.menu-open .langs { color: #F8F0F5; }
  .logo__mark { width: 104px; }
  .nav { display: none; }
  .langs { gap: 10px; margin-left: auto; margin-right: 8px; }
  .burger { display: block; }
}

/* ---------- hero video ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  display: grid; align-items: end; isolation: isolate; overflow: hidden;
  color: #fff; background: var(--plum);
}
.hero video, .hero > img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* fascia alta scura: tiene il fondo sotto il menu fuori dal grigio medio,
     dove il mix-blend-mode difference si annullerebbe */
  background: linear-gradient(180deg, rgba(23,7,16,.66) 0%, rgba(23,7,16,.28) 16%, rgba(23,7,16,0) 40%, rgba(23,7,16,.58) 100%);
}
.hero__in { width: 100%; padding: 0 clamp(20px, 4vw, 60px) clamp(28px, 5vh, 56px); }
.hero .kicker {
  display: block; font-size: 12px; letter-spacing: .34em; text-transform: uppercase;
  opacity: 0; animation: rise 1s ease-out both .3s;
}
.hero h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(52px, 11.5vw, 190px);
  line-height: .92; letter-spacing: .028em; margin: 12px 0 20px;
  opacity: 0; animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both .45s;
}
.hero h1 em { font-style: italic; text-transform: none; letter-spacing: -0.015em; }
.hero__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  opacity: 0; animation: rise 1s ease-out both .7s;
}
.hero__claim { font-family: var(--display); font-style: italic; font-size: clamp(17px, 2vw, 24px); margin: 0; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

.btn {
  display: inline-block; text-decoration: none;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 15px 34px; border: 1px solid currentColor;
  position: relative; overflow: hidden; z-index: 1;
  transition: color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: currentColor; transform: scaleY(0); transform-origin: bottom;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.hero .btn:hover, .hero .btn:focus-visible { color: var(--ink); }
.hero .btn::before { background: #fff; }
.btn--ink { color: var(--ink); }
.btn--ink:hover, .btn--ink:focus-visible { color: var(--porcelain); }
.btn--ink::before { background: var(--ink); }

/* ---------- sections ---------- */
.sec { max-width: 1360px; margin: 0 auto; padding: clamp(72px, 10vh, 120px) clamp(20px, 4vw, 44px); }
.sec h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(32px, 4.6vw, 60px); line-height: 1.06; margin: 12px 0 0;
  /* minuscolo grande: tracking negativo, altrimenti il Bodoni si sfilaccia */
  letter-spacing: -0.012em; text-wrap: balance;
}
.ghost {
  position: relative;
}
.ghost::before {
  content: attr(data-word); position: absolute; top: -0.4em; left: -0.02em; z-index: 0;
  font-family: var(--display); font-size: clamp(90px, 16vw, 260px); line-height: 1;
  text-transform: uppercase; letter-spacing: .04em;
  color: transparent; -webkit-text-stroke: 1px rgba(23,7,16,.13);
  pointer-events: none; white-space: nowrap;
}
.ghost > * { position: relative; z-index: 1; }
/* su mobile il lettering fantasma affollerebbe i titoli */
@media (max-width: 760px) { .ghost::before { display: none; } }

/* ---------- editorial grids ---------- */
.edit3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: 56px; }
.edit3 > a:nth-child(2) { transform: translateY(clamp(20px, 4vw, 56px)); }
.tile { text-decoration: none; display: block; }
.tile figure { margin: 0; overflow: hidden; aspect-ratio: 3 / 4; background: var(--pink-soft); }
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.6,.2,1), filter .6s;
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); filter: saturate(1.15); }
.tile figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.tile figcaption b { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: .05em; }
.tile figcaption span { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); align-self: center; }
@media (max-width: 900px) { .edit3 { grid-template-columns: 1fr; } .edit3 > a:nth-child(2) { transform: none; } }

/* split duo — collezioni */
.duo { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: 56px; }
.duo .panel {
  position: relative; overflow: hidden; text-decoration: none;
  aspect-ratio: 4 / 5; display: grid; align-items: end; color: #fff; isolation: isolate;
}
.duo .panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1s cubic-bezier(.2,.6,.2,1);
}
.duo .panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(23,7,16,0) 55%, rgba(23,7,16,.55) 100%);
}
.duo .panel:hover img, .duo .panel:focus-visible img { transform: scale(1.05); }
.duo .panel h3 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 4.5vw, 64px); letter-spacing: .06em;
  margin: 0; padding: 28px;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.duo .panel:hover h3 { transform: translateY(-8px); }
.duo .panel .go {
  position: absolute; top: 24px; right: 24px;
  font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.7); padding: 10px 18px;
  opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .4s;
}
.duo .panel:hover .go { opacity: 1; transform: none; }
@media (max-width: 1000px) { .duo { grid-template-columns: 1fr 1fr; }
  .duo .panel:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 7; } }
@media (max-width: 680px) { .duo { grid-template-columns: 1fr; }
  .duo .panel:nth-child(3) { aspect-ratio: 4 / 5; } }

/* heritage */
.herit { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 64px; align-items: start; }
.herit__years {
  font-family: var(--display); font-size: clamp(80px, 11vw, 170px);
  line-height: .9; letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--red), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.herit__years small { display: block; font-size: .22em; color: var(--ink); letter-spacing: .2em; margin-top: 14px; text-transform: uppercase; }
.herit p { max-width: 62ch; margin: 18px 0 0; color: #4E3E48; }
.more {
  display: inline-block; margin-top: 30px; text-decoration: none;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  border-bottom: 1px solid var(--red); padding-bottom: 6px;
  transition: letter-spacing .3s;
}
.more:hover { letter-spacing: .38em; color: var(--red); }
.stats { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline); }
.stats div { padding: 28px 8px 0 24px; border-left: 1px solid var(--hairline); }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); }
@media (max-width: 900px) {
  .herit { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .stats div:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* dark band */
.band { background: var(--plum); color: #F2E8EE; }
.band .sec h2 { color: #F8F0F5; }
.band p { max-width: 68ch; color: #C8B2C0; margin: 22px 0 0; }
.marks { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 16px 56px; align-items: baseline; }
.marks span {
  font-family: var(--display); font-size: 21px; letter-spacing: .22em;
  text-transform: uppercase; color: #A8809B; white-space: nowrap;
  transition: color .3s;
}
.marks span:hover { color: var(--pink); }
.band .more { color: #F2E8EE; border-bottom-color: var(--pink); }
.band .more:hover { color: var(--pink); }

/* boutiques */
.shops { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--hairline); }
.shops article { border-left: 1px solid var(--hairline); padding: 30px 26px 6px; }
.shops article:first-child { border-left: 0; padding-left: 0; }
.shops h3 { font-family: var(--display); font-weight: 400; font-size: 23px; margin: 10px 0 8px; letter-spacing: 0; }
.shops p { margin: 0; font-size: 14px; color: #4E3E48; }
.shops .tel { margin-top: 10px; font-size: 13px; color: var(--stone); }
.shops a { text-decoration: none; }
.shops a:hover { color: var(--red); }
@media (max-width: 1000px) {
  .shops { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .shops article:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) { .shops { grid-template-columns: 1fr; } .shops article { border-left: 0; padding-left: 0; } }

/* pink CTA */
.appt { background: var(--pink); text-align: center; }
.appt p { max-width: 52ch; margin: 20px auto 38px; color: #4E2735; }

/* page hero (inner pages) */
.phero {
  position: relative; min-height: 56vh; display: grid; align-items: end;
  color: #fff; isolation: isolate; overflow: hidden; background: var(--plum);
}
.phero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; z-index: -2; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,7,16,.66) 0%, rgba(23,7,16,.26) 18%, rgba(23,7,16,.62) 100%); }
.phero__in { width: 100%; max-width: 1360px; margin: 0 auto; padding: 120px clamp(20px, 4vw, 44px) 48px; }
.phero h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 8vw, 120px); line-height: .95; letter-spacing: .035em; margin: 10px 0 0;
}
.phero--pink { background: var(--pink); color: var(--ink); }
.phero--pink::after { display: none; }
.phero--pink .phero__in { padding-top: 140px; }

/* gallery masonry */
.masonry { columns: 3 320px; column-gap: clamp(16px, 2vw, 26px); margin-top: 56px; }
.masonry figure {
  margin: 0 0 clamp(16px, 2vw, 26px); break-inside: avoid; overflow: hidden;
  background: var(--pink-soft);
}
.masonry img { width: 100%; transition: transform .9s cubic-bezier(.2,.6,.2,1); }
.masonry figure:hover img { transform: scale(1.05); }

/* prose */
.prose { max-width: 68ch; }
.prose p { color: #4E3E48; margin: 18px 0 0; }
.prose p:first-of-type { font-size: 19px; line-height: 1.7; }

/* two-col with image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split figure { margin: 0; overflow: hidden; }
.split img { width: 100%; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* loghi partner: marchi monocromatici estratti dai loro fondi */
.logos {
  margin-top: 52px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.logos figure {
  margin: 0; height: 92px;
  display: grid; place-items: center;
}
.logos img {
  /* altezze in px: dentro la griglia le percentuali non si risolvono */
  max-width: 100%; max-height: 92px; width: auto; height: auto;
  object-fit: contain;
  opacity: .62; transition: opacity .4s, transform .4s cubic-bezier(.2,.7,.2,1);
}
/* i marchi verticali pesano di più a parità di altezza: li allineo otticamente */
.logos figure:nth-child(3) img, .logos figure:nth-child(4) img,
.logos figure:nth-child(5) img, .logos figure:nth-child(6) img { max-height: 76px; }
.logos figure:hover img { opacity: 1; transform: translateY(-3px); }

/* elenco mondiale */
.world { margin-top: 44px; }
.world h3 {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--pink); font-weight: 500; margin: 0 0 18px;
}
.world ul {
  list-style: none; margin: 0 0 52px; padding: 0;
  columns: 6 130px; column-gap: 28px;
  font-size: 13.5px; line-height: 2;
}
.world li { break-inside: avoid; color: #C8B2C0; }
.world--light h3 { color: var(--red); }
.world--light li { color: #4E3E48; }

/* footer */
footer { background: var(--ink); color: #BCA9B4; }
.foot {
  max-width: 1360px; margin: 0 auto; padding: 64px clamp(20px, 4vw, 44px) 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; font-size: 13.5px;
}
.foot .logo { color: #F8F0F5; font-size: 22px; }
.foot p { margin: 16px 0 0; line-height: 1.8; }
.foot h4 { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: #7D6875; margin: 0 0 14px; font-weight: 500; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #F8F0F5; }
.foot__base {
  border-top: 1px solid rgba(248,240,245,.12);
  max-width: 1360px; margin: 0 auto; padding: 22px clamp(20px, 4vw, 44px) 30px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12px; color: #7D6875;
}
@media (max-width: 800px) { .foot { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- reveals ---------- */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
/* il clip sta sull'IMG interna: la figure resta "visibile" per IntersectionObserver */
.rv-img > img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.6,.2,1), filter .6s;
}
.rv-img.in > img { clip-path: inset(0 0 0% 0); }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .hero .kicker, .hero h1, .hero__foot { animation: none; opacity: 1; }
  .rv { opacity: 1; transform: none; transition: none; }
  .rv-img > img { clip-path: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   EDITORIALE — sipario d'ingresso, cursore, lookbook orizzontale,
   macro della materia, titoli a comparsa
   ============================================================ */

/* --- sipario d'ingresso --- */
#curtain {
  position: fixed; inset: 0; z-index: 500;
  background: var(--ink); color: #F8F0F5;
  display: grid; place-items: center;
  transition: transform 1s cubic-bezier(.76,0,.24,1);
}
#curtain.up { transform: translateY(-101%); }
#curtain .logo__mark { width: min(260px, 52vw); opacity: 0; animation: markIn 1.1s cubic-bezier(.2,.7,.2,1) forwards .15s; }
#curtain .line {
  position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%);
  width: min(200px, 40vw); height: 1px; background: rgba(248,240,245,.25); overflow: hidden;
}
#curtain .line i { display: block; height: 100%; width: 0; background: var(--pink); animation: lineIn 1.15s ease-out forwards .2s; }
@keyframes markIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lineIn { to { width: 100%; } }
body.loading { overflow: hidden; }

/* --- cursore editoriale (solo puntatore fine) --- */
#cur, #curDot { position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none; will-change: transform; }
#cur {
  width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border: 1px solid rgba(248,240,245,.85); border-radius: 50%;
  display: grid; place-items: center;
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: #F8F0F5;
  transform: scale(0); transition: transform .38s cubic-bezier(.2,.7,.2,1), opacity .3s;
  mix-blend-mode: difference;
}
#cur.on { transform: scale(1); }
#curDot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: #F8F0F5; mix-blend-mode: difference; transition: opacity .3s;
}
#cur.on ~ #curDot, #curDot.hide { opacity: 0; }
@media (hover: none), (pointer: coarse) { #cur, #curDot { display: none; } }

/* --- titoli a comparsa da sotto una maschera --- */
.mask { display: block; overflow: hidden; }
.mask > span { display: block; transform: translateY(105%); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.mask.in > span { transform: none; }

/* --- lookbook a scorrimento orizzontale --- */
.lookbook { padding-bottom: clamp(56px, 8vh, 96px); }
.lookbook__head {
  max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.lookbook__hint { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--stone); }
.rail {
  margin-top: 44px; display: flex; gap: clamp(14px, 2vw, 28px);
  overflow-x: auto;
  /* niente scroll-snap: con "mandatory" un gesto anche solo un po' diagonale
     durante lo scroll verticale agganciava il carosello e spostava le foto */
  overscroll-behavior-x: contain;
  padding: 0 clamp(20px, 4vw, 44px) 12px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; }
.rail figure {
  margin: 0; flex: 0 0 auto; width: clamp(230px, 30vw, 400px);
  position: relative;
}
/* ritmo da rivista: i look pari scendono, i dispari salgono */
.rail figure:nth-child(even) { margin-top: clamp(20px, 4vw, 64px); }
.rail figure > div { overflow: hidden; aspect-ratio: 3 / 4.2; background: var(--pink-soft); }
.rail img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.6,.2,1); }
.rail figure:hover img { transform: scale(1.05); }
.rail figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; align-items: baseline; }
.rail .n {
  font-family: var(--display); font-size: 15px; letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}
.rail .t { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); }

/* --- macro della materia, a piena larghezza --- */
.macro { position: relative; overflow: hidden; background: var(--plum); }
.macro__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.macro__grid figure { margin: 0; overflow: hidden; aspect-ratio: 3 / 4; }
.macro__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.6,.2,1), filter .8s; }
.macro__grid figure:hover img { transform: scale(1.06); }
.macro__over {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  pointer-events: none; color: #F8F0F5;
  background: radial-gradient(ellipse at center, rgba(23,7,16,.72) 0%, rgba(23,7,16,.28) 70%);
}
.macro__over h2 {
  font-family: var(--display); font-weight: 400; margin: 0;
  font-size: clamp(34px, 6.5vw, 96px); line-height: 1; letter-spacing: .035em;
  text-transform: uppercase;
}
.macro__over em { font-style: italic; text-transform: none; }
.macro__over p { margin: 18px auto 0; max-width: 42ch; color: #E4D6DE; font-size: 15px; padding: 0 24px; }
@media (max-width: 760px) { .macro__grid { grid-template-columns: 1fr; } .macro__grid figure:nth-child(n+2) { display: none; } }

/* --- transizione tra pagine --- */
#wipe {
  position: fixed; inset: 0; z-index: 450; background: var(--ink);
  transform: translateY(101%); pointer-events: none;
}
#wipe.go { transform: none; transition: transform .55s cubic-bezier(.76,0,.24,1); }

@media (prefers-reduced-motion: reduce) {
  #curtain, #cur, #curDot, #wipe { display: none; }
  .mask > span { transform: none; transition: none; }
  .rail img, .macro__grid img { transition: none; }
}

/* --- domande frequenti --- */
.faq { border-top: 1px solid var(--hairline); margin-top: 56px; }
.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--display); font-size: clamp(19px, 2.2vw, 25px);
  letter-spacing: 0; display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--sans); font-size: 20px; color: var(--red);
  transition: transform .35s cubic-bezier(.2,.7,.2,1); flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 14px 0 0; max-width: 68ch; color: #4E3E48; }

/* --- archivio delle campagne --- */
.archivio {
  margin-top: 52px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
.archivio figure {
  margin: 0; overflow: hidden; aspect-ratio: 1; background: var(--pink-soft);
  position: relative;
}
.archivio img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.25);
  transition: transform .9s cubic-bezier(.2,.6,.2,1), filter .5s;
}
.archivio figure:hover img { transform: scale(1.06); filter: grayscale(0); }
.archivio figcaption {
  position: absolute; inset: auto 0 0 0; padding: 10px 12px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: #F8F0F5; background: linear-gradient(180deg, rgba(23,7,16,0), rgba(23,7,16,.85));
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s;
}
.archivio figure:hover figcaption { opacity: 1; transform: none; }
@media (max-width: 560px) { .archivio { grid-template-columns: repeat(2, 1fr); } }

/* --- rassegna stampa --- */
.stampa {
  margin-top: 52px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.stampa figure { margin: 0; overflow: hidden; background: var(--pink-soft); aspect-ratio: 3 / 4.2; }
.stampa img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .9s cubic-bezier(.2,.6,.2,1); }
.stampa .uscita:hover img { transform: scale(1.04); }
.uscita__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 16px; }
.uscita__meta h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0; letter-spacing: .02em; }
.uscita__meta .label { color: var(--stone); }

/* --- modulo di contatto --- */
.modulo { display: grid; gap: 18px; max-width: 34rem; margin-top: 30px; }
.modulo label { display: grid; gap: 7px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.modulo input, .modulo textarea, .modulo select {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--hairline);
  padding: 10px 0; border-radius: 0;
}
.modulo select { appearance: auto; cursor: pointer; }
.modulo input:focus, .modulo textarea:focus, .modulo select:focus { outline: none; border-bottom-color: var(--red); }
.modulo textarea { resize: vertical; min-height: 110px; }
.modulo .consenso {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; letter-spacing: 0; text-transform: none; color: #4E3E48; line-height: 1.5;
}
.modulo .consenso input { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--red); }
.modulo button {
  justify-self: start; font-family: var(--sans);
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  padding: 15px 34px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; transition: background .3s, color .3s;
}
.modulo button:hover { background: var(--ink); color: var(--porcelain); }

/* hero su immagini molto chiare (sposa): serve più velo per leggere il titolo */
.phero--chiaro::after {
  background: linear-gradient(180deg, rgba(23,7,16,.72) 0%, rgba(23,7,16,.42) 30%, rgba(23,7,16,.68) 100%);
}

/* --- la sede nella sezione maison --- */
.sede { margin: clamp(44px, 6vw, 72px) 0 0; }
.sede img { width: 100%; height: auto; }
.sede figcaption {
  margin-top: 14px; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--stone);
}
/* il poster del video segue il formato dello schermo */
@media (max-width: 760px) {
  .hero video { object-position: center center; }
}


/* il marchio al posto della foto in Chi siamo:
   multiply toglie il fondo bianco del jpg sul colore della pagina */
.marchio {
  display: grid; place-items: center;
  padding: clamp(24px, 6vw, 72px) clamp(16px, 4vw, 48px);
  background: none;
}
.marchio img {
  width: 100%; max-width: 420px; height: auto;
  mix-blend-mode: multiply;
  clip-path: none;
}
@media (max-width: 900px) { .marchio { padding: 8px 0 0; } .marchio img { max-width: 300px; } }

.quattroOhQuattro {
  margin-top: 52px; display: flex; flex-wrap: wrap;
  gap: clamp(20px, 4vw, 48px);
}
.quattroOhQuattro .more { margin-top: 0; }

/* --- senza JavaScript: niente reveal nascosti, tutto è già visibile --- */
.no-js .rv, .no-js .rv-img > img, .no-js .mask > span,
.no-js .hero .kicker, .no-js .hero h1, .no-js .hero__foot {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  animation: none !important;
  transition: none !important;
}
.no-js #curtain, .no-js #cur, .no-js #curDot, .no-js #wipe { display: none !important; }

/* --- focus da tastiera sempre visibile, anche fuori da :focus-visible --- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
