/* =================================================================
   PIGMERA — Talent Agency · minimal fashion
   Pure white · black type · whisper of gold
   Type: Archivo (grotesque) + Playfair Display italic (accent)
   ================================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

@font-face {
  font-family: "Couture";
  src: url("font/Couture.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink:      #0a0a0a;
  --ink-2:    #1c1c1c;
  --graphite: #565656;
  --mist:     #9b9b9b;
  --line:     #e9e7e3;
  --line-2:   #d9d6d0;
  --paper:    #ffffff;
  --paper-2:  #faf9f7;

  --gold:      #a4843f;
  --gold-soft: #c2a468;

--sans:  "montserrat", system-ui, -apple-system, "Helvetica Neue", sans-serif;
--serif: "Playfair Display", Georgia, serif;

  --container: 1640px;
  --gutter: clamp(18px, 4vw, 56px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}
[data-accent="rose"] { --gold:#9c6450; --gold-soft:#c08f7c; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h2,
h2.display,
.h2 {
  font-family: "Couture", var(--sans) !important;
  font-weight: 400;
}
h1,h2,h3,h4 { color: var(--ink); font-weight: 600; line-height: 1; }
p { text-wrap: pretty; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.bleed { padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 168px); }
.section--tight { padding-block: clamp(48px, 7vw, 104px); }
.center { text-align: center; }
.measure { max-width: 56ch; }

/* ---------- type ---------- */
.wordmark { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.34em; }
.mega    { font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(2.6rem, 5vw, 9rem); line-height: 0.92; }
.display { font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: -0.015em; font-size: clamp(2rem, 5.4vw, 4.6rem); }
.h2      { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.02; }
.h3      { font-family: var(--sans); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.4rem); letter-spacing: 0; }
.serif-it{ font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--gold); }
.lead    { font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.5; color: var(--graphite); font-weight: 400; }

.label { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.label--gold { color: var(--gold); }
.label--mist { color: var(--mist); }
.kicker { display: inline-flex; align-items: center; gap: 0.8em; font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content:""; width: 26px; height: 1px; background: currentColor; }
.kicker--plain::before { display: none; }

/* ---------- buttons / links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  padding: 1.05em 2em; background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::after { content:""; position:absolute; inset:0; z-index:-1; background: var(--gold); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover { color: #fff; border-color: var(--gold); }
.btn:hover::after { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--ghost:hover { color: #fff; }

.ulink { position: relative; display: inline-flex; align-items: center; gap: 0.55em; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.ulink::after { content:""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink); transform: scaleX(1); transform-origin: right; transition: transform .4s var(--ease), background .3s; }
.ulink:hover { color: var(--gold); }
.ulink:hover::after { transform: scaleX(0); }
.ulink svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.ulink:hover svg { transform: translateX(4px); }

/* ---------- placeholder ---------- */
.ph { position: relative; background-color: #ededea; background-image: repeating-linear-gradient(45deg, rgba(10,10,10,.035) 0 12px, rgba(10,10,10,0) 12px 24px); overflow: hidden; }
.ph::after { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1em; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(10,10,10,.3); }
.ph--dark { background-color: #15140f; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 12px, rgba(255,255,255,0) 12px 24px); }
.ph--dark::after { color: rgba(255,255,255,.4); }

/* =================================================================
   NAV
   ================================================================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; transition: background .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease); border-bottom: 1px solid transparent; }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.nav__brand { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.32em; text-transform: uppercase; text-align: center; color: #fff; padding-left: 0.32em; transition: color .4s var(--ease); }
.nav__left, .nav__right { display: flex; align-items: center; gap: 2rem; }
.nav__right { justify-content: flex-end; }
.nav__link { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; position: relative; transition: color .4s var(--ease); }
.nav__link::after { content:""; position:absolute; left:0; bottom:-5px; height:1px; width:0; background: var(--gold); transition: width .35s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__toggle { display: inline-flex; align-items: center; gap: 0.6em; background: none; border: none; cursor: pointer; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; transition: color .4s var(--ease); }
.nav__toggle .bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav__toggle .bars span { width: 20px; height: 1.4px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.nav.menu-open .bars span:nth-child(1){ transform: translateY(5.4px) rotate(45deg); }
.nav.menu-open .bars span:nth-child(2){ opacity: 0; }
.nav.menu-open .bars span:nth-child(3){ transform: translateY(-5.4px) rotate(-45deg); }
.nav.is-scrolled { height: 60px; background: rgba(255,255,255,.86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-color: var(--line); }
.nav.is-scrolled .nav__brand, .nav.is-scrolled .nav__link, .nav.is-scrolled .nav__toggle { color: var(--ink); }
.nav.menu-open .nav__brand, .nav.menu-open .nav__link, .nav.menu-open .nav__toggle { color: var(--ink); }

/* overlay menu */
.menu-overlay { position: fixed; inset: 0; z-index: 99; background: var(--paper); padding: calc(var(--nav-h) + 5vh) var(--gutter) 4vh; display: grid; grid-template-rows: 1fr auto; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s var(--ease); }
.menu-overlay.is-open { opacity: 1; visibility: visible; }
.menu-overlay__links { display: flex; flex-direction: column; justify-content: center; gap: 0.05em; }
.menu-overlay__link { font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(1rem, 7vw, 4.6rem); line-height: 1.08; color: var(--ink); display: flex; align-items: baseline; gap: 0.6em; transition: color .3s var(--ease), padding-left .4s var(--ease); }
.menu-overlay__link .idx { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; color: var(--mist); }
.menu-overlay__link:hover { color: var(--gold); padding-left: 0.25em; }
.menu-overlay__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--line); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); }
.menu-overlay__foot a:hover { color: var(--gold); }

/* =================================================================
   HERO — full-screen cycling image
   ================================================================= */
.hero { position: relative; height: 100svh; min-height: 460px; overflow: hidden; background: #eceae6; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease-io); }
.hero__slide.is-active { opacity: 1; }
.hero__slide .ph { width: 100%; height: 100%; }
.hero__veil { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(8,8,8,.18) 0%, rgba(8,8,8,0) 24% 58%, rgba(8,8,8,.42) 100%); pointer-events: none; }
.hero__inner { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) clamp(64px, 10vh, 104px); color: #fff; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.hero__tagline { max-width: min(92vw, 30ch); }
.hero__tagline .reveal-mask > span { white-space: nowrap; }
.img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__tagline .display { color: #fff; font-size: clamp(1.7rem, 2.4vw, 3.7rem); line-height: 1.04; }
.hero__tagline .serif-it { color: var(--gold-soft); }
.hero__credit { font-size: 0.74rem; letter-spacing: 0.06em; text-align: right; opacity: .9; }
.hero__credit b { font-weight: 600; }
.hero__credit em { font-family: var(--serif); color: var(--gold-soft); }
.hero__top-label { position: absolute; top: calc(var(--nav-h) + 18px); left: var(--gutter); z-index: 3; color: #fff; }
.hero__top-label .kicker { color: rgba(255,255,255,.85); }
.hero__top-label .kicker::before { background: var(--gold-soft); }
.hero__dots { display: flex; gap: 7px; margin-top: 1.2rem; }
.hero__dot { width: 26px; height: 2px; background: rgba(255,255,255,.35); cursor: pointer; border: none; padding: 0; transition: background .3s var(--ease); }
.hero__dot.is-active { background: #fff; }
.hero__scroll { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.8); font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll .bar { width: 1px; height: 34px; background: currentColor; opacity: .55; animation: scrollBar 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollBar { 0%,100%{ transform: scaleY(.3); opacity:.3 } 50%{ transform: scaleY(1); opacity:.7 } }
@media (prefers-reduced-motion: reduce){ .hero__scroll .bar { animation: none; } }

/* =================================================================
   MARQUEE
   ================================================================= */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(16px, 2.2vw, 26px); }
.marquee__track { display: inline-flex; white-space: nowrap; will-change: transform; }
.marquee__track span { display: inline-flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(1.2rem, 2.2vw, 1.9rem); color: var(--ink); }
.marquee__track span::after { content:"✦"; color: var(--gold); font-size: 0.62em; }

/* =================================================================
   INTRO
   ================================================================= */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: end; }
.intro__big { font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: -0.015em; font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: 1.04; color: var(--ink); }
.intro__big .serif-it { display: inline; }
.intro__aside { display: flex; flex-direction: column; gap: 1.6rem; }
.intro__meta { display: flex; gap: 2.6rem; flex-wrap: wrap; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.intro__num { font-family: var(--sans); font-weight: 500; font-size: clamp(2rem,3vw,2.8rem); color: var(--ink); line-height: 1; }
.intro__num-l { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); margin-top: 6px; }

/* =================================================================
   WORK — stacked horizontal images
   ================================================================= */
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.6rem); }
.work__stack { display: flex; flex-direction: column; gap: clamp(40px, 7vw, 120px); }
.wfig { display: block; }
.wfig__media { position: relative; overflow: hidden; background: #ededea; }
.wfig__media .ph, .wfig__media .img { width: 100%; height: 100%; transition: transform 1.1s var(--ease); }
.wfig:hover .wfig__media .ph, .wfig:hover .wfig__media .img { transform: scale(1.035); }
.wfig--wide .wfig__media { aspect-ratio: 16/8; }
.wfig--duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.5vw, 20px); }
.wfig--duo .wfig__media { aspect-ratio: 4/5; }
.wfig__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1rem; }
.wfig__title { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--ink); }
.wfig__role { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.wfig__num { font-family: var(--serif); font-style: italic; color: var(--mist); font-size: 1rem; }

/* =================================================================
   CAROUSEL
   ================================================================= */
.carousel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(248px, 26vw, 400px); gap: clamp(12px, 1.4vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; cursor: grab; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.cslide { scroll-snap-align: start; }
.cslide__media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #ededea; }
.cslide__media .ph, .cslide__media .img { width: 100%; height: 100%; transition: transform 1s var(--ease), filter .5s var(--ease); }
.cslide:hover .cslide__media .ph, .cslide:hover .cslide__media .img { transform: scale(1.05); }
.cslide__idx { position: absolute; top: 12px; left: 14px; z-index: 2; color: #fff; font-family: var(--serif); font-style: italic; font-size: 1rem; mix-blend-mode: difference; }
.cslide__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 0.9rem; }
.cslide__name { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1rem; color: var(--ink); }
.cslide__role { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.carousel__foot { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 1.8rem; }
.carousel__progress { flex: 1; height: 1px; background: var(--line); position: relative; max-width: 60%; }
.carousel__progress span { position: absolute; left: 0; top: 0; height: 100%; width: 20%; background: var(--ink); transition: left .2s var(--ease), width .2s var(--ease); }
.carousel__nav { display: flex; gap: 0.6rem; }
.cbtn { width: 52px; height: 52px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s; }
.cbtn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cbtn svg { width: 17px; height: 17px; }

/* =================================================================
   CTA
   ================================================================= */
.cta { text-align: center; }
.cta .mega { color: var(--ink); }
.cta__row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }

/* =================================================================
   FOOTER
   ================================================================= */


.footer {
  background: #050505;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: clamp(54px, 7vw, 90px) 2rem;
}

.footer .container {
  position: relative;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(2.4rem, 4vw, 3.4rem);
}

.footer .wordmark {
  color: #fff;
}

.footer__desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,.68);
  max-width: 36ch;
  margin-top: 1rem;
  line-height: 1.75;
}

/* ==============================
   FOOTER - TITOLI PLAYFAIR + LINK COMPATTI
   ============================== */

.footer h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.footer__list a,
.footer__list span {
  line-height: 1.35;
}

.footer__list a {
  display: inline-block;
  width: fit-content;
  color: rgba(255,255,255,.78);
  transition: color .3s var(--ease), transform .3s var(--ease);
  will-change: transform;
}

.footer__list a:hover {
  color: var(--gold-soft);
  transform: translateX(4px);
}
/* Footer: linee bianche tra le colonne */
.footer__top {
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
}

.footer__top > div:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.38);
  padding-left: clamp(22px, 3vw, 42px);
}
@media (max-width: 980px) {
  .footer__top > div:not(:first-child) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 1.4rem;
  }
}
/* tolta la scritta grande Pigmera */
.footer__big {
  display: none !important;
}

.footer__bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
}

.footer__social {
  display: flex;
  gap: 1.4rem;
}

.footer__social a {
  color: rgba(255,255,255,.66);
  transition: color .3s var(--ease);
}

.footer__social a:hover {
  color: var(--gold);
}

@media (max-width: 980px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.4rem;
  }
}

@media (max-width: 520px) {
  .footer {
    padding-block: 46px 1.6rem;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =================================================================
   ANIM — gated under html.anim (added by JS only if clock runs)
   ================================================================= */
.reveal-mask { display: block; overflow: hidden; }

html.anim [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.anim [data-reveal].in { opacity: 1; transform: none; }

html.anim [data-stagger] > * { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.anim [data-stagger].in > * { opacity: 1; transform: none; }
html.anim [data-stagger].in > *:nth-child(1){transition-delay:0s}
html.anim [data-stagger].in > *:nth-child(2){transition-delay:.1s}
html.anim [data-stagger].in > *:nth-child(3){transition-delay:.2s}
html.anim [data-stagger].in > *:nth-child(4){transition-delay:.3s}
html.anim [data-stagger].in > *:nth-child(5){transition-delay:.4s}
html.anim [data-stagger].in > *:nth-child(n+6){transition-delay:.48s}

html.anim [data-reveal] .reveal-mask > span { display: block; transform: translateY(112%); transition: transform 1.05s var(--ease); }
html.anim [data-reveal].in .reveal-mask:nth-of-type(1) > span { transform: translateY(0); }
html.anim [data-reveal].in .reveal-mask:nth-of-type(2) > span { transform: translateY(0); transition-delay:.1s; }
html.anim [data-reveal].in .reveal-mask:nth-of-type(3) > span { transform: translateY(0); transition-delay:.2s; }
html.anim [data-reveal].in .reveal-mask:nth-of-type(4) > span { transform: translateY(0); transition-delay:.3s; }

/* image clip-reveal */
html.anim [data-clip] .ph, html.anim [data-clip] .img { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--ease-io); }
html.anim [data-clip].in .ph, html.anim [data-clip].in .img { clip-path: inset(0 0 0% 0); }

/* hero: contenuto visibile da subito (nessuna entrata che nasconde) */

@media (prefers-reduced-motion: reduce) {
  html.anim [data-reveal], html.anim [data-stagger] > *, html.anim .reveal-mask > span,
  html.anim [data-clip] .ph, html.anim .hero__top-label, html.anim .hero__credit, html.anim .hero__dots
  { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; animation: none !important; }
}
.nav__brand--logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  line-height: 1;
  font-size: 0;
  letter-spacing: 0;
}

.nav__brand-logo {
  width: clamp(130px, 12vw, 190px);
  max-height: 42px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Se il logo è scuro e in home sta sopra immagini scure */
.nav:not(.is-scrolled):not(.nav--solid) .nav__brand-logo {
  filter: brightness(0) invert(1);
}

/* Nelle pagine interne torna normale */
.nav.is-scrolled .nav__brand-logo,
.nav.nav--solid .nav__brand-logo,
.nav.menu-open .nav__brand-logo {
  filter: none;
}

@media (max-width: 980px) {
  .nav__brand-logo {
    width: 145px;
    max-height: 52px;
  }
}

@media (max-width: 520px) {
  .nav__brand-logo {
    width: 125px;
    max-height: 46px;
  }
}
/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-height: 680px) {
  .hero__tagline .display { font-size: clamp(1.5rem, 6vw, 2.4rem); }
  .hero__dots { margin-top: 0.8rem; }
  .hero__scroll { display: none; }
}
@media (max-width: 980px) {
  .nav__left { display: none; }
  .intro { grid-template-columns: 1fr; gap: 2rem; }
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 2.4rem; }
}
@media (max-width: 720px) {
  .nav__right .nav__link { display: none; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .hero__credit { text-align: left; }
  .wfig--wide .wfig__media { aspect-ratio: 4/3; }
  .carousel__progress { max-width: 40%; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .wfig--duo { grid-template-columns: 1fr; gap: clamp(28px,8vw,40px); }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .carousel__foot { flex-direction: column; align-items: stretch; gap: 1.2rem; }
  .carousel__progress { max-width: none; }
}
/* Navbar sempre visibile sulle pagine interne */
.nav--solid {
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav--solid .nav__brand,
.nav--solid .nav__link,
.nav--solid .nav__toggle {
  color: var(--ink);
}

.page-main {
  padding-top: var(--nav-h);
}

/* Contact page */
.contact-page {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}

.contact-title {
  margin-top: 1.4rem;
  margin-bottom: 1.6rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--graphite);
}

.contact-info a:hover {
  color: var(--gold);
}

.contact-form {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: clamp(24px, 4vw, 46px);
}

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

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  background: #fff;
  padding: 15px 16px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color .3s var(--ease);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form .btn {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 22px;
  }
}

/* =================================================================
   HOME PIGMERA — sezioni aggiunte
   ================================================================= */

/* ---------- Home visual menu ---------- */
.home-menu-section {
  background: var(--paper);
}

.home-menu-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(12px, 1.4vw, 22px);
}

.home-menu-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: clamp(280px, 34vw, 560px);
  background: #ddd;
  isolation: isolate;
}

.home-menu-card--large {
  grid-row: span 2;
  min-height: clamp(580px, 70vw, 1142px);
}

.home-menu-card .img {
  transition: transform 1s var(--ease), filter .55s var(--ease);
}

.home-menu-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.62));
  opacity: .9;
  transition: opacity .45s var(--ease);
}

.home-menu-card:hover .img {
  transform: scale(1.055);
  filter: blur(4px);
}

.home-menu-card:hover::after {
  opacity: 1;
}

.home-menu-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(20px, 3vw, 38px);
  color: #fff;
}

.home-menu-card__overlay span {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-soft);
}

.home-menu-card__overlay h3 {
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: .95;
}

/* ---------- Method section ---------- */
.method-section {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.method-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}

.method-copy {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  max-width: 760px;
}

.method-copy p:not(.lead) {
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.75;
}

/* ---------- Services home ---------- */
.services-home {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.2vw, 18px);
}

.service-card {
  position: relative;
  min-height: clamp(480px, 52vw, 720px);
  overflow: hidden;
  background: #111;
  color: #fff;
  isolation: isolate;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.08) 0%,
    rgba(0,0,0,.28) 42%,
    rgba(0,0,0,.82) 100%
  );
  opacity: 0;
  transition: opacity .45s var(--ease);
}

.service-card__content span {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-soft);
}

.service-card__content h3 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 3.3rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.service-card__content p {
  color: rgba(255,255,255,.88);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-top: 0.9rem;
  max-width: 34ch;
}
.service-card:hover::after {
  opacity: 1;
}

.service-card .img {
  transition: transform 1s var(--ease), filter .55s var(--ease);
}

.service-card:hover .img {
  transform: scale(1.06);
  filter: blur(4px);
}

.service-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: clamp(22px, 2.5vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;

  opacity: 0;
  transform: translateY(28px);
  pointer-events: none;

  transition:
    opacity .45s var(--ease),
    transform .45s var(--ease);
}

.service-card:hover .service-card__content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.service-card__content span {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-soft);
}

.service-card__content h3 {
  color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 2.8rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.service-card__content p {
  color: rgba(255,255,255,.86);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 0.9rem;
}

/* ---------- Training ---------- */
.training-section {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.training-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(34px, 7vw, 112px);
  align-items: center;
}

.training-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ddd;
}

.training-copy {
  max-width: 760px;
}

.training-copy .display {
  margin-bottom: 1.6rem;
}

.training-copy p {
  margin-top: 1.2rem;
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.75;
}

.training-copy .lead {
  color: var(--graphite);
}

/* ---------- Why section ---------- */
.why-section {
  background: var(--paper);
  text-align: center;
}

.why-box {
  max-width: 1180px;
  margin-inline: auto;
}

.why-box .mega {
  margin-bottom: 2rem;
}

.why-box .lead {
  max-width: 760px;
  margin: 1rem auto 0;
}

/* ---------- Responsive home additions ---------- */
@media (max-width: 1100px) {
  .home-menu-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-menu-card--large {
    grid-row: span 1;
    min-height: clamp(360px, 58vw, 560px);
  }

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

  .service-card__content {
    opacity: 0;
    transform: translateY(28px);
  }

  .service-card:hover .service-card__content,
  .service-card:focus-within .service-card__content {
    opacity: 1;
    transform: translateY(0);
  }


  .method-grid,
  .training-layout {
    grid-template-columns: 1fr;
  }
}

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

  .home-menu-card,
  .home-menu-card--large {
    min-height: 360px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .service-card {
    min-height: 640px;
  }
}
.field select {
  width: 100%;
  border: 1px solid var(--line-2);
  background: #fff;
  padding: 15px 16px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color .3s var(--ease);
  appearance: none;
}

.field select:focus {
  border-color: var(--gold);
}

.field input[type="file"] {
  padding: 13px 16px;
  background: #fff;
}

.field-help {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--mist);
}

.form-microcopy {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--graphite);
  margin-bottom: 1.4rem;
  padding-top: 0.4rem;
}

.contact-workwith {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.contact-closing {
  margin-top: clamp(70px, 10vw, 140px);
  max-width: 920px;
}

.contact-closing .display {
  margin-bottom: 1.2rem;
}

@media (max-width: 900px) {
  .contact-closing {
    margin-top: 70px;
  }
}
/* =================================================================
   ARTISTS PAGE
   ================================================================= */

.artists-hero {
  background: var(--paper);
}

.artists-hero__grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(36px, 7vw, 112px);
  align-items: end;
}

.artists-title {
  max-width: 13ch;
}

.artists-hero__text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.artists-hero__text p:not(.lead) {
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.75;
}

.artists-filter-section {
  background: var(--paper);
  border-block: 1px solid var(--line);
  padding-block: 18px;
  position: relative;
  z-index: 1;
}

.artists-filters {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.artists-filters::-webkit-scrollbar {
  display: none;
}

.artist-filter {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  padding: 0.85em 1.3em;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

.artist-filter:hover,
.artist-filter.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.artists-page {
  background: var(--paper-2);
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.5vw, 24px);
}

.artist-card {
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

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

.artist-card__button {
  width: 100%;
  display: block;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.artist-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e7e4de;
}

.artist-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.58) 100%);
  opacity: .78;
  transition: opacity .4s var(--ease);
}

.artist-card__media .img {
  transition: transform 1s var(--ease), filter .55s var(--ease);
}

.artist-card:hover .artist-card__media .img {
  transform: scale(1.055);
  filter: blur(3px);
}

.artist-card:hover .artist-card__media::after {
  opacity: 1;
}

.artist-card__idx {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  mix-blend-mode: difference;
}

.artist-card__content {
  padding-top: 1rem;
}

.artist-card__role {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.artist-card__content h2 {
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.artist-card__content p {
  margin-top: 0.45rem;
  color: var(--graphite);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.35;
}

.artist-card__cta {
  display: inline-flex;
  margin-top: 0.9rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  transition: color .3s var(--ease);
}

.artist-card:hover .artist-card__cta {
  color: var(--gold);
}

.artists-cta {
  background: var(--paper);
  text-align: center;
}

.artists-cta__box {
  max-width: 1100px;
  margin-inline: auto;
}

.artists-cta__box .mega {
  margin-bottom: 1.8rem;
}

.artists-cta__box .lead {
  max-width: 720px;
  margin-inline: auto;
}

/* ---------- Modal ---------- */
.artist-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}

.artist-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.artist-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.artist-modal__panel {
  position: relative;
  z-index: 2;
  width: min(100%, 840px);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 58px);
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
}

.artist-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.artist-modal__panel .display {
  margin-top: 1.2rem;
  margin-bottom: 0.8rem;
}

.artist-modal__title {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  margin-bottom: 2rem;
}

.artist-modal__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  margin-bottom: 2rem;
}

.artist-modal__meta div {
  background: var(--paper-2);
  padding: 1.2rem;
}

.artist-modal__meta span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.artist-modal__meta strong {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
}

.artist-modal__bio {
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .artists-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .artists-hero__grid {
    grid-template-columns: 1fr;
  }

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


}

@media (max-width: 560px) {
  .artists-grid {
    grid-template-columns: 1fr;
  }

  .artist-modal {
    padding: 14px;
  }

  .artist-modal__panel {
    max-height: 92vh;
    padding: 28px 22px;
  }

  .artist-modal__meta {
    grid-template-columns: 1fr;
  }
}

/* =================================================================
   PORTFOLIO PAGE
   ================================================================= */

.portfolio-hero {
  background: var(--paper);
}

.portfolio-hero__grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(36px, 7vw, 112px);
  align-items: end;
}

.portfolio-title {
  max-width: 13ch;
}

.portfolio-hero__text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.portfolio-hero__text p:not(.lead) {
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.75;
}

/* ---------- Opening editorial grid ---------- */

.portfolio-opening {
  background: var(--paper);
}

.portfolio-editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: minmax(260px, 1fr);
  gap: clamp(12px, 1.4vw, 22px);
}

.portfolio-editorial-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: clamp(260px, 28vw, 460px);
  background: #ddd;
  isolation: isolate;
}

.portfolio-editorial-card--large {
  grid-row: span 2;
  min-height: clamp(540px, 58vw, 940px);
}

.portfolio-editorial-card--wide {
  grid-column: span 2;
}

.portfolio-editorial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.68));
  opacity: .86;
  transition: opacity .4s var(--ease);
}

.portfolio-editorial-card .img {
  transition: transform 1s var(--ease), filter .55s var(--ease);
}

.portfolio-editorial-card:hover .img {
  transform: scale(1.055);
  filter: blur(4px);
}

.portfolio-editorial-card__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(20px, 3vw, 38px);
  color: #fff;
}

.portfolio-editorial-card__content span {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-soft);
}

.portfolio-editorial-card__content h2 {
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: .95;
}

/* ---------- Portfolio visual ---------- */

.portfolio-visual {
  background: var(--paper);
}

.portfolio-visual-head {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 56px);
}

.portfolio-visual-head .display {
  max-width: 16ch;
}

.portfolio-visual-head .lead {
  max-width: 620px;
}

.portfolio-filters--visual {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: clamp(24px, 3vw, 42px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}

.portfolio-filters--visual::-webkit-scrollbar {
  display: none;
}

.portfolio-filter {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  padding: 0.85em 1.3em;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ---------- Griglia immagini visual ---------- */

.portfolio-visual-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(120px, 13vw, 220px);
  gap: clamp(10px, 1.2vw, 18px);
}

.portfolio-shot {
  min-height: 260px;
}

.portfolio-shot.is-hidden {
  display: none;
}
/* Quando uso un filtro, passo da masonry a griglia normale */
.portfolio-visual-grid--cinematic.is-filtered {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  columns: auto;
  column-gap: 0;
}

/* Le card filtrate tornano una accanto all'altra */
.portfolio-visual-grid--cinematic.is-filtered .portfolio-shot {
  display: block;
  width: 100%;
  margin: 0;
  break-inside: auto;
}

/* Mantengo comunque formati diversi */
.portfolio-visual-grid--cinematic.is-filtered .portfolio-shot--hero {
  aspect-ratio: 16 / 10;
}

.portfolio-visual-grid--cinematic.is-filtered .portfolio-shot--poster {
  aspect-ratio: 3 / 4.4;
}

.portfolio-visual-grid--cinematic.is-filtered .portfolio-shot--wide {
  aspect-ratio: 16 / 8.5;
}

.portfolio-visual-grid--cinematic.is-filtered .portfolio-shot--landscape {
  aspect-ratio: 4 / 3;
}

.portfolio-visual-grid--cinematic.is-filtered .portfolio-shot--small {
  aspect-ratio: 1 / 1;
}

@media (max-width: 991px) {
  .portfolio-visual-grid--cinematic.is-filtered {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .portfolio-visual-grid--cinematic.is-filtered {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.portfolio-shot--large {
  grid-column: span 3;
  grid-row: span 3;
}

.portfolio-shot--wide {
  grid-column: span 3;
  grid-row: span 2;
}

.portfolio-shot--tall {
  grid-column: span 2;
  grid-row: span 3;
}

.portfolio-shot--square {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-shot--small {
  grid-column: span 1;
  grid-row: span 2;
}

.portfolio-shot__button {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #ddd;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.portfolio-shot__button .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter .55s var(--ease);
}

.portfolio-shot__button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.68));
  opacity: 0;
  transition: opacity .45s var(--ease);
}

.portfolio-shot__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(18px, 2.2vw, 34px);
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}

.portfolio-shot__overlay h3 {
  color: #fff;
  font-size: clamp(1rem, 1.7vw, 1.55rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  max-width: 24ch;
}

.portfolio-shot__overlay span {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.portfolio-shot:hover .img {
  transform: scale(1.055);
  filter: blur(3px);
}

.portfolio-shot:hover .portfolio-shot__button::after {
  opacity: 1;
}

.portfolio-shot:hover .portfolio-shot__overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Area copy ---------- */

.portfolio-area-copy {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.portfolio-area-copy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.portfolio-area-copy-card {
  background: var(--paper);
  padding: clamp(22px, 3vw, 38px);
}

.portfolio-area-copy-card span {
  display: block;
  margin-bottom: 1.2rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
}

.portfolio-area-copy-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.portfolio-area-copy-card p {
  color: var(--graphite);
  line-height: 1.7;
}

.portfolio-area-copy-card ul {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.portfolio-area-copy-card li {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.portfolio-area-copy-card small {
  display: block;
  margin-top: 1.2rem;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.4;
}

/* ---------- CTA ---------- */

.portfolio-cta {
  background: var(--paper);
  text-align: center;
  border-top: 1px solid var(--line);
}

.portfolio-cta__box {
  max-width: 1100px;
  margin-inline: auto;
}

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

@media (max-width: 1100px) {
  .portfolio-hero__grid,
  .portfolio-visual-head {
    grid-template-columns: 1fr;
  }

  .portfolio-editorial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-editorial-card--large {
    grid-row: span 1;
    min-height: clamp(320px, 50vw, 560px);
  }

  .portfolio-editorial-card--wide {
    grid-column: span 2;
  }

  .portfolio-visual-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(120px, 18vw, 210px);
  }

  .portfolio-shot--large,
  .portfolio-shot--wide {
    grid-column: span 4;
    grid-row: span 2;
  }

  .portfolio-shot--tall,
  .portfolio-shot--square,
  .portfolio-shot--small {
    grid-column: span 2;
    grid-row: span 2;
  }

  .portfolio-area-copy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .portfolio-editorial-grid,
  .portfolio-area-copy-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-editorial-card--wide {
    grid-column: span 1;
  }

  .portfolio-editorial-card,
  .portfolio-editorial-card--large {
    min-height: 360px;
  }

  .portfolio-visual-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .portfolio-shot,
  .portfolio-shot--large,
  .portfolio-shot--wide,
  .portfolio-shot--tall,
  .portfolio-shot--square,
  .portfolio-shot--small {
    grid-column: span 1;
    grid-row: auto;
    min-height: auto;
  }

  .portfolio-shot__button {
    aspect-ratio: 4 / 5;
  }

  .portfolio-shot:nth-child(3n) .portfolio-shot__button {
    aspect-ratio: 1 / 1;
  }

  .portfolio-shot:nth-child(4n) .portfolio-shot__button {
    aspect-ratio: 16 / 10;
  }

  .portfolio-shot__button::after,
  .portfolio-shot__overlay {
    opacity: 1;
    transform: none;
  }
}

.artist-modal__bio {
  display: block !important;
  margin-top: 2rem;
  color: inherit;
  line-height: 1.8;
  white-space: normal;
  max-height: 320px;
  overflow-y: auto;
}

/* ==============================
   CONTACT - secondo blocco scuro
   ============================== */

.contact-workwith {
  background: #050505;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
}

.contact-workwith .contact-intro .kicker {
  color: var(--gold);
}

.contact-workwith .contact-title,
.contact-workwith .display,
.contact-workwith .h2 {
  color: #fff;
}

.contact-workwith .serif-it {
  color: var(--gold-soft);
}

.contact-workwith .lead {
  color: rgba(255,255,255,.72);
}

.contact-workwith .contact-closing {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: clamp(42px, 6vw, 70px);
}

.contact-workwith .contact-closing .display {
  color: #fff;
}

.contact-workwith .contact-closing .lead {
  color: rgba(255,255,255,.68);
}

/* Form scuro */
.contact-form--dark {
  background: #101010;
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
}

.contact-form--dark h2 {
  color: #fff;
}

.contact-form--dark .field label {
  color: var(--gold);
}

.contact-form--dark .field input,
.contact-form--dark .field textarea,
.contact-form--dark .field select {
  background: #050505;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
}

.contact-form--dark .field input::placeholder,
.contact-form--dark .field textarea::placeholder {
  color: rgba(255,255,255,.38);
}

.contact-form--dark .field input:focus,
.contact-form--dark .field textarea:focus,
.contact-form--dark .field select:focus {
  border-color: var(--gold);
}

.contact-form--dark .field-help {
  color: rgba(255,255,255,.48);
}

.contact-form--dark input[type="file"] {
  background: #050505;
  color: rgba(255,255,255,.76);
}

.contact-form--dark .btn {
  background: #fff;
  color: #050505;
  border-color: #fff;
}

.contact-form--dark .btn:hover {
  color: #fff;
  border-color: var(--gold);
}

/* ==============================
   INTRO AGENZIA - SISTEMATA
   ============================== */

.intro-section {
  background: var(--paper);
  padding-block: clamp(90px, 11vw, 170px);
}

.intro--pigmera {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(44px, 7vw, 120px);
  align-items: center;
}

.intro__headline {
  max-width: 760px;
}

.intro__headline .kicker {
  margin-bottom: 1.4rem;
}

.intro__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(4.4rem, 4.8vw, 4.2rem);
  line-height: 0.99;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.intro__title .serif-it {
  display: inline;
  color: var(--gold);
  white-space: nowrap;
}

.intro--pigmera .intro__aside {
  max-width: 680px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.intro--pigmera .intro__aside .lead {
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink-2);
  font-weight: 400;
}

.intro--pigmera .intro__aside p:not(.lead) {
  color: var(--graphite);
  font-size: 1.02rem;
  line-height: 1.8;
}

.intro--pigmera .intro__meta {
  margin-top: 0.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: clamp(1.8rem, 3vw, 3.4rem);
  flex-wrap: wrap;
}

.intro--pigmera .intro__num {
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  line-height: 1;
  color: var(--ink);
}

.intro--pigmera .intro__num-l {
  margin-top: 0.45rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.intro--pigmera .ulink {
  margin-top: 0.2rem;
  width: fit-content;
}

@media (max-width: 980px) {
  .intro--pigmera {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .intro__headline,
  .intro--pigmera .intro__aside {
    max-width: 760px;
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .intro-section {
    padding-block: 72px;
  }

  .intro__title {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .intro__title .serif-it {
    white-space: normal;
  }

  .intro--pigmera .intro__meta {
    gap: 1.5rem;
  }
}
.intro__title .f-sans {
  font-family: var(--sans) !important;
  font-weight: 500 !important;
  font-style: normal !important;
  text-transform: uppercase !important;
  letter-spacing: -0.02em !important;
}
/* Font veloci */
.f-sans {
  font-family: var(--sans) !important;
}

.f-serif  {
  font-family: var(--serif) !important;
  font-weight: 500;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--gold) !important;
}

.f-couture {
  font-family: "Couture", var(--sans) !important;
  font-weight: 400;
  text-transform: uppercase;
}
.why-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-title-small {
  display: block;
  white-space: nowrap;
  line-height: 1;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.why-title-main {
  display: block;
}
@media (max-width: 560px) {
  .why-title-small {
    display: block;
    white-space: nowrap;
    font-size: clamp(1.15rem, 6vw, 1.8rem);
    line-height: 1.05;
  }
}
.portfolio-area-copy-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  isolation: isolate;
  transition:
    transform .55s var(--ease),
    box-shadow .55s var(--ease);
}

.portfolio-area-copy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #050505;
  opacity: 0;
  z-index: -1;
  transition: opacity .65s var(--ease);
}

.portfolio-area-copy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.portfolio-area-copy-card:hover::before {
  opacity: 1;
}

.portfolio-area-copy-card span,
.portfolio-area-copy-card h3,
.portfolio-area-copy-card p,
.portfolio-area-copy-card li,
.portfolio-area-copy-card small {
  transition: color .55s var(--ease);
}

.portfolio-area-copy-card:hover span,
.portfolio-area-copy-card:hover small {
  color: var(--gold-soft);
}

.portfolio-area-copy-card:hover h3 {
  color: var(--gold);
}

.portfolio-area-copy-card:hover p,
.portfolio-area-copy-card:hover li {
  color: rgba(255, 255, 255, 0.82);
}

.menu-overlay__link {
  position: relative;
  width: fit-content;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  padding-left: 0;
  transition:
    color .75s var(--ease),
    transform .75s var(--ease);
}

.menu-overlay__link:hover {
  color: var(--gold) !important;
  font-weight: 700;
  transform: translateX(10px);
}

/* =========================================================
   FIX FINALE - HOME MOBILE
   Servizi Make-up + Perché collaborare
   Solo mobile, desktop invariato
========================================================= */

body.menu-lock {
  overflow: hidden;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__toggle {
  position: relative;
  z-index: 101;
}

/* TABLET / MOBILE */
@media (max-width: 900px) {

  /* SERVIZI MAKE-UP: 2 vicine, più piccole, attaccate */
  .services-home .service-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }

  .services-home .service-card {
    min-height: 430px !important;
    height: 430px !important;
    display: block !important;
    overflow: hidden !important;
    margin: 0 !important;
    border-radius: 0 !important;
    cursor: default !important;
  }

  .services-home .service-card::after {
    opacity: 1 !important;
  }

  .services-home .service-card .img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  .services-home .service-card__content {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: none !important;
    padding: 14px !important;
  }

  .services-home .service-card__content span {
    font-size: 0.7rem !important;
    margin-bottom: 0.35rem !important;
  }

  .services-home .service-card__content h3 {
    font-size: clamp(1.05rem, 4vw, 1.35rem) !important;
    line-height: 1.05 !important;
    margin-bottom: 0.45rem !important;
  }

  .services-home .service-card__content p {
    font-size: clamp(0.72rem, 2.7vw, 0.84rem) !important;
    line-height: 1.38 !important;
    margin-top: 0.42rem !important;
    max-width: 100% !important;
  }

  .services-home .service-card__content p:last-child {
    display: block !important;
  }

  /* PERCHÉ COLLABORARE: 2 a 2, attaccate, più basse */
  .cta-image-strip {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-top: clamp(2.2rem, 6vw, 3.5rem) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    overflow: hidden !important;
  }

  .cta-image-strip img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  .cta-image-strip img:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 280px !important;
  }

  .cta-image-strip img:hover {
    transform: none !important;
  }
}

/* TELEFONI */
@media (max-width: 560px) {

  .services-home .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }

  .services-home .service-card {
    min-height: 360px !important;
    height: 360px !important;
  }

  .services-home .service-card__content {
    padding: 11px !important;
  }

  .services-home .service-card__content span {
    font-size: 0.66rem !important;
    margin-bottom: 0.25rem !important;
  }

  .services-home .service-card__content h3 {
    font-size: 1rem !important;
    margin-bottom: 0.35rem !important;
  }

  .services-home .service-card__content p {
    font-size: 0.68rem !important;
    line-height: 1.32 !important;
    margin-top: 0.34rem !important;
  }

  .cta-image-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }

  .cta-image-strip img {
    height: 295px !important;
  }

  .cta-image-strip img:last-child:nth-child(odd) {
    height: 205px !important;
  }
}

/* TELEFONI MOLTO PICCOLI */
@media (max-width: 390px) {

  .services-home .service-card {
    min-height: 340px !important;
    height: 340px !important;
  }

  .services-home .service-card__content {
    padding: 10px !important;
  }

  .services-home .service-card__content p {
    font-size: 0.65rem !important;
    line-height: 1.28 !important;
  }

  .cta-image-strip img {
    height: 165px !important;
  }

  .cta-image-strip img:last-child:nth-child(odd) {
    height: 185px !important;
  }
}

/* Logo G&A bianco nel footer */
.footer__gea-link {
  display: inline-flex !important;
  width: fit-content !important;
  margin-top: 22px !important;
}

.footer__gea-logo {
  width: 70px !important;
  max-width: 70px !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  opacity: 0.95;
}

.footer__gea-link:hover .footer__gea-logo {
  opacity: 1;
  transform: translateY(-2px);
}

/* Contenitore badge social footer */
.footer__badges {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-top: 18px !important;
}

/* Badge Instagram / WhatsApp */
.footer__badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  width: fit-content !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.78rem !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

/* Icone social: impedisce che diventino giganti */
.footer__badge-icon {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  max-width: 17px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.footer__badge-icon svg,
.footer__badge svg {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  max-width: 17px !important;
  min-height: 17px !important;
  max-height: 17px !important;
  display: block !important;
  fill: currentColor !important;
}

/* Se per caso hai immagini icona invece degli svg */
.footer__badge-icon img,
.footer__badge img {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  max-width: 17px !important;
  object-fit: contain !important;
}

/* Hover pulito */
.footer__badge:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  transform: translateY(-2px);
}

.footer__badge--instagram:hover {
  background: rgba(225, 48, 108, 0.16) !important;
}

.footer__badge--whatsapp:hover {
  background: rgba(37, 211, 102, 0.16) !important;
}

/* Firma Mistralab */
.footer__credits {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: rgba(255, 255, 255, 0.45) !important;
}

.footer__credits a {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none !important;
}

.footer__credits a:hover {
  color: #fff !important;
}

/* Mobile footer */
@media (max-width: 680px) {
  .footer__gea-logo {
    width: 70px !important;
    max-width: 70px !important;
  }

  .footer__badges {
    align-items: flex-start !important;
  }

  .footer__credits {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
}
/* =========================================================
   SOLO DESKTOP - FASCIA IMMAGINI PERCHÉ COLLABORARE
   Alte, attaccate, senza gap e senza spazio bianco sotto
========================================================= */

@media (min-width: 901px) {
  .why-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .why-box {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .cta-image-strip {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
    column-gap: 0 !important;
    row-gap: 0 !important;

    overflow: hidden !important;
    line-height: 0 !important;
    background: transparent !important;
  }

  .cta-image-strip img {
    width: 100% !important;
    height: 460px !important;
    display: block !important;

    object-fit: cover !important;
    object-position: center !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .cta-image-strip img:last-child:nth-child(odd) {
    grid-column: auto !important;
    width: 100% !important;
    height: 460px !important;
  }

  .cta-image-strip img:hover {
    transform: none !important;
  }

  .footer {
    margin-top: 0 !important;
  }
}

@media (min-width: 1400px) {
  .cta-image-strip img,
  .cta-image-strip img:last-child:nth-child(odd) {
    height: 520px !important;
  }
}