/* ML Production — 2026
   Palco nero, rosso del logo, luce di tungsteno.
   Titoli: Hubot Sans (GitHub/Degarism) — grotesk tecnico con angoli tagliati.
   Testi: Mona Sans, la famiglia gemella. Dati tecnici: Martian Mono.
   Tutti con licenza SIL Open Font License. */

@font-face {
  font-family: "Hubot Sans"; font-style: normal; font-display: swap;
  font-weight: 200 900; font-stretch: 75% 125%;
  src: url("../fonts/hubot-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hubot Sans"; font-style: normal; font-display: swap;
  font-weight: 200 900; font-stretch: 75% 125%;
  src: url("../fonts/hubot-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans"; font-style: normal; font-display: swap;
  font-weight: 200 900; font-stretch: 75% 125%;
  src: url("../fonts/mona-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mona Sans"; font-style: normal; font-display: swap;
  font-weight: 200 900; font-stretch: 75% 125%;
  src: url("../fonts/mona-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Martian Mono"; font-style: normal; font-display: swap;
  font-weight: 100 800; font-stretch: 75% 112.5%;
  src: url("../fonts/martian-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Martian Mono"; font-style: normal; font-display: swap;
  font-weight: 100 800; font-stretch: 75% 112.5%;
  src: url("../fonts/martian-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #000;
  --white: #fff;
  --red: #cc0033;
  --red-deep: #a3002a;
  --steel: #a3a3a3;
  --line: rgba(255, 255, 255, .22);
  --tungsten: 255, 196, 138;

  --font: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "Hubot Sans", "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 4.5vw, 72px);
  --max: 1520px;

  --t-body: clamp(17px, 1.05vw + 10px, 19px);
  --t-small: 15px;
  --t-lead: clamp(20px, 1.4vw + 12px, 27px);
  --t-h3: clamp(24px, 2.3vw, 38px);
  --t-h2: clamp(38px, 5.6vw, 98px);
  --t-d1: clamp(46px, 8.2vw, 150px);

  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  font-variant-ligatures: no-common-ligatures;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--red); color: var(--white); }

:focus-visible {
  outline: 3px solid rgb(var(--tungsten));
  outline-offset: 3px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--black);
  padding: 10px 16px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */

.display, .h2, .h3 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 100%;
  margin: 0;
  letter-spacing: -.03em;
  word-spacing: .07em;
  font-kerning: normal;
}
.display { font-size: var(--t-d1); line-height: .92; }
.h2 { font-size: var(--t-h2); line-height: .96; }
.h3 { font-size: var(--t-h3); line-height: 1.05; font-weight: 750; letter-spacing: -.025em; }
.mono { font-family: var(--mono); font-stretch: 87.5%; font-size: 13px; letter-spacing: 0; }
.lead { font-size: var(--t-lead); line-height: 1.4; max-width: 34ch; }
.measure { max-width: 62ch; }
.muted { color: var(--steel); }
.deg { font-weight: inherit; }
.small { font-size: var(--t-small); }

/* ---------- buttons ---------- */

.btn {
  --bg: var(--white); --fg: var(--black);
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 52px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bg);
  font: 700 15.5px/1 var(--display); font-stretch: 112%; letter-spacing: -.005em; word-spacing: .12em;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { --bg: var(--red); --fg: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--onred:hover { --bg: var(--black); --fg: var(--white); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */

.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, transform .35s var(--ease);
}
.top.is-solid { background: var(--black); }
.top.is-hidden { transform: translateY(-100%); }
.top__in {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand span { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 19px; letter-spacing: -.02em; word-spacing: .1em; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 16px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; border-bottom-width: 2px; }
.nav .btn:hover { border-color: var(--red); }

.burger {
  display: none; background: none; border: 0; color: var(--white);
  width: 48px; height: 48px; padding: 12px; cursor: pointer;
}
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 40;
  background: var(--red);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .5s var(--ease);
  visibility: hidden;
}
.menu-open .drawer { clip-path: inset(0); visibility: visible; }
.drawer a {
  display: block; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: clamp(40px, 11vw, 68px); line-height: 1.02; letter-spacing: -.035em;
}
.drawer__meta { margin-top: 32px; display: grid; gap: 4px; font-size: 17px; }
.drawer__meta a { font: inherit; font-size: 17px; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (min-width: 901px) { .drawer { display: none; } }

/* ---------- hero: occhio di bue ---------- */

.spot {
  position: relative; min-height: 100svh; overflow: hidden;
  background: var(--black);
  display: flex; align-items: flex-end;
  --x: 62%; --y: 42%; --r: 0px;
  cursor: crosshair;
}
.spot__img, .spot__lit {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 40%;
}
.spot__img { filter: brightness(.11) saturate(.4); }
.spot__lit {
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, #000 52%, rgba(0,0,0,.55) 72%, transparent 100%);
          mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, #000 52%, rgba(0,0,0,.55) 72%, transparent 100%);
  filter: brightness(1.45) contrast(1.08) saturate(1.1);
}
/* fascio volumetrico: canvas a bassa risoluzione, sfocato -> bordi morbidi */
.spot__beam, .spot__dust {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; mix-blend-mode: screen;
}
.spot__beam { filter: blur(10px); opacity: 0; transition: opacity 1.2s; }
.is-lit .spot__beam { opacity: 1; }
.spot__dust { opacity: .9; }
.spot__haze {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle calc(var(--r) * 1.15) at var(--x) var(--y), rgba(var(--tungsten), .30), rgba(var(--tungsten), .10) 55%, transparent 100%);
  mix-blend-mode: screen;
}
.spot__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.35) 38%, transparent 60%),
              linear-gradient(to bottom, rgba(0,0,0,.6), transparent 18%);
}
.spot__copy {
  position: relative; z-index: 2; width: 100%;
  padding-top: 120px; padding-bottom: clamp(28px, 5vh, 64px);
  pointer-events: none;
}
.spot__copy a, .spot__copy button { pointer-events: auto; }
.spot__copy h1, .spot__copy .punch, .spot__copy .lead, .spot__foot p { text-shadow: 0 2px 28px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.35); }
@media (max-width: 760px) { .punch span { color: #d6d6d6; } }
.spot__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end;
}
.spot h1 { max-width: 11ch; }
.punch { margin: 0; display: grid; gap: .1em; text-align: right; padding-bottom: .4em; }
.punch span {
  display: block;
  font-family: var(--display); font-weight: 750; font-size: clamp(22px, 2.6vw, 46px); line-height: 1.08; letter-spacing: -.025em; word-spacing: .08em;
  color: var(--steel);
}
.punch span:last-child { color: var(--white); }
.spot__foot {
  display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between;
  margin-top: clamp(28px, 4vh, 48px); padding-top: 24px; border-top: 1px solid var(--line);
}
.spot__foot p { margin: 0; font-size: var(--t-lead); line-height: 1.3; max-width: 30ch; }

/* sequenza di apertura */
.js .punch span, .js .spot__foot { opacity: 0; transform: translateY(14px); }
.is-lit .punch span, .is-lit .spot__foot { opacity: 1; transform: none; transition: opacity .6s, transform .8s var(--ease); }
.is-lit .punch span:nth-child(1) { transition-delay: .5s; }
.is-lit .punch span:nth-child(2) { transition-delay: 1.1s; }
.is-lit .punch span:nth-child(3) { transition-delay: 1.8s; }
.is-lit .spot__foot { transition-delay: 2.3s; }

@media (max-width: 760px) {
  .spot__grid { grid-template-columns: 1fr; }
  .punch { text-align: left; padding-bottom: 0; }
  .spot__img { background-position: 62% 40%; }
  .spot__lit { background-position: 62% 40%; }
}

.spot--page { min-height: 92svh; }
.spot--page .spot__img, .spot--page .spot__lit { background-position: center 35%; }
.spot--page .spot__copy .lead { margin-top: 22px; }
.spot--page .spot__copy .btns { margin-top: 30px; }
.spot--page h1 { max-width: 16ch; }
.js .spot--page .spot__reveal { opacity: 0; transform: translateY(14px); }
.is-lit .spot__reveal { opacity: 1 !important; transform: none !important; transition: opacity .7s .5s, transform .9s .5s var(--ease); }

/* ---------- page hero (pagine interne) ---------- */

.phero {
  position: relative; min-height: 86svh; display: flex; align-items: flex-end; overflow: hidden;
}
.phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.25) 100%);
}
.phero__copy { position: relative; z-index: 1; width: 100%; padding-top: 140px; padding-bottom: clamp(36px, 7vh, 80px); }
.phero__copy .lead { margin-top: 24px; }
.phero__copy .btns { margin-top: 32px; }
.crumb { display: inline-block; margin-bottom: 20px; font-size: var(--t-small); color: var(--steel); text-decoration: none; }
.crumb:hover { color: var(--white); }

/* ---------- sezioni ---------- */

.sec { padding-block: clamp(80px, 12vw, 180px); }
.sec--tight { padding-block: clamp(56px, 7vw, 100px); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.sec__head p { margin: 0; color: var(--steel); max-width: 44ch; }
@media (max-width: 860px) { .sec__head { grid-template-columns: 1fr; } }

.flood { background: var(--red); color: var(--white); }
.flood .muted, .flood .sec__head p { color: rgba(255,255,255,.82); }
.flood ::selection { background: var(--black); }

/* manifesto */
.manifesto { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px clamp(40px, 7vw, 120px); align-items: start; }
.manifesto__body { padding-top: .6em; }
.manifesto__body .lead { margin-bottom: 1.2em; max-width: 28ch; }
.manifesto__body strong { font-weight: 700; }
@media (max-width: 900px) { .manifesto { grid-template-columns: 1fr; } }

/* servizi come fader */
.faders { border-top: 1px solid var(--line); position: relative; z-index: 2; }
.fader {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30ch) 56px;
  gap: 16px 48px; align-items: center;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none; isolation: isolate;
}
.fader::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: rgba(204, 0, 51, .78);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.fader:hover::before, .fader:focus-visible::before { transform: scaleY(1); }
.fader:focus-visible { outline: none; }
.fader__name { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 6.6vw, 116px); line-height: .92; letter-spacing: -.035em; word-spacing: .08em; }
.fader__desc { margin: 0; color: var(--steel); transition: color .3s; }
.fader:hover .fader__desc, .fader:focus-visible .fader__desc { color: var(--white); }
.fader__go {
  width: 56px; height: 56px; border: 2px solid currentColor; border-radius: 50%;
  display: grid; place-items: center; transition: background .3s, color .3s;
}
.fader__go svg { width: 22px; height: 22px; }
.fader:hover .fader__go, .fader:focus-visible .fader__go { background: var(--white); color: var(--red); }
.fader__thumb { display: none; }

/* anteprima = cerchio di luce morbido che segue il cursore */
.peek {
  position: fixed; left: 0; top: 0; z-index: 1; pointer-events: none;
  width: clamp(300px, 29vw, 460px); aspect-ratio: 1;
  opacity: 0; transform: translate(-50%, -50%) scale(.6);
  transition: opacity .35s, transform .5s var(--ease);
}
.peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
/* alone caldo intorno al cerchio, come la luce che diffonde nel fumo */
.peek::before {
  content: ""; position: absolute; inset: -22%; border-radius: 50%;
  background: radial-gradient(circle closest-side, rgba(var(--tungsten), .34), rgba(var(--tungsten), .1) 55%, transparent 100%);
  mix-blend-mode: screen;
}
.peek__lens {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 0%, #000 50%, rgba(0,0,0,.6) 72%, transparent 100%);
          mask-image: radial-gradient(circle closest-side, #000 0%, #000 50%, rgba(0,0,0,.6) 72%, transparent 100%);
}
.peek img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity .3s, transform .6s var(--ease);
  filter: brightness(1.3) contrast(1.08);
}
.peek img.is-on { opacity: 1; transform: scale(1); }
/* punto caldo al centro del fascio */
.peek__lens::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle closest-side at 45% 42%, rgba(var(--tungsten), .28), transparent 70%);
  mix-blend-mode: screen;
}

@media (max-width: 860px) {
  .fader { grid-template-columns: minmax(0, 1fr) 48px; }
  .fader__desc { grid-column: 1 / -1; grid-row: 3; }
  .fader__go { width: 48px; height: 48px; }
  .fader__thumb { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
  .peek { display: none; }
}
@media (hover: none) { .peek { display: none; } }

/* sul campo: striscia orizzontale */
.reel { position: relative; }
.reel__track {
  display: flex; gap: clamp(12px, 1.6vw, 24px); align-items: flex-end;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  cursor: grab;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.reel figure { margin: 0; flex: none; scroll-snap-align: start; }
.reel img {
  height: clamp(260px, 42vw, 560px); width: auto; object-fit: cover; user-select: none; -webkit-user-drag: none;
  filter: brightness(calc(.22 + var(--lit, 1) * .78)) saturate(calc(.15 + var(--lit, 1) * .85));
}
.reel figure:hover img { --lit: 1; }
.reel figure.is-tall img { height: clamp(320px, 52vw, 700px); }
.reel figcaption { margin-top: 12px; font-family: var(--mono); font-stretch: 87.5%; font-size: 12.5px; color: var(--steel); }
.reel figcaption b { color: var(--white); font-weight: 600; }
.reel__ctrl { display: flex; gap: 10px; }
.icon-btn {
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--white);
  background: transparent; color: var(--white); display: grid; place-items: center; cursor: pointer;
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--white); color: var(--black); }
.icon-btn svg { width: 22px; height: 22px; }

/* catena del segnale */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.chain::before {
  content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0 14px, transparent 14px 22px);
}
.chain li { position: relative; padding-right: 28px; }
.chain__n {
  position: relative; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--black);
  border: 2px solid var(--red); font-family: var(--mono); font-size: 14px; margin-bottom: 28px;
}
.chain h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 750; font-size: clamp(21px, 1.7vw, 27px); line-height: 1.05; letter-spacing: -.025em; }
.chain p { margin: 0; color: var(--steel); font-size: 16px; }
@media (max-width: 1000px) {
  .chain { grid-template-columns: 1fr; gap: 36px; }
  .chain::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--red) 0 14px, transparent 14px 22px); }
  .chain li { display: grid; grid-template-columns: 56px 1fr; gap: 0 24px; padding: 0; }
  .chain__n { margin: 0; grid-row: span 2; }
}

/* attrezzatura */
.gear { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.gear li { list-style: none; display: grid; place-items: center; height: clamp(96px, 9vw, 132px); padding: 20px 14%; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gear img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .62; transition: opacity .2s; }
.gear li:hover img { opacity: 1; }
.gear { margin: 0; padding: 0; }

/* crew */
.crew { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); }
.crew article:nth-child(2) { margin-top: clamp(0px, 12vw, 200px); }
.crew img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 24px; }
.crew h3 { margin: 0; }
.crew .role { margin: 8px 0 18px; color: #ff5c7a; font-weight: 600; }
.flood .crew .role { color: var(--white); opacity: .85; }
.crew p { color: var(--steel); }
.crew .links { display: flex; gap: 20px; margin-top: 18px; font-weight: 600; }
.crew .links a { text-underline-offset: 4px; }
@media (max-width: 760px) { .crew { grid-template-columns: 1fr; } .crew article:nth-child(2) { margin-top: 0; } }

/* blocchi testo + foto (pagine interne) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.split + .split { margin-top: clamp(80px, 10vw, 160px); }
.split--flip > :first-child { order: 2; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .h3 { margin-bottom: 24px; }
.split .btns { margin-top: 28px; }
.split p { color: rgba(255,255,255,.86); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }

.rider { columns: 2; column-gap: clamp(32px, 6vw, 96px); list-style: none; margin: 0; padding: 0; }
.rider li { break-inside: avoid; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.35); display: grid; grid-template-columns: 1fr auto; gap: 16px; font-family: var(--display); font-size: clamp(20px, 1.6vw, 25px); font-weight: 700; letter-spacing: -.02em; }
.rider li span { opacity: .8; font-family: var(--mono); font-stretch: 87.5%; font-size: 12.5px; align-self: center; }
@media (max-width: 760px) { .rider { columns: 1; } }

/* griglia foto */
.grid-photos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(110px, 15vw, 250px); grid-auto-flow: dense; gap: clamp(8px, 1.2vw, 18px); }
:where(.grid-photos button) { all: unset; }
.grid-photos button { cursor: zoom-in; display: block; overflow: hidden; position: relative; min-width: 0; }
.grid-photos button:focus-visible { outline: 3px solid rgb(var(--tungsten)); outline-offset: 3px; }
.grid-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.grid-photos button:hover img { transform: scale(1.04); }
.g-a { grid-column: span 7; }
.g-b { grid-column: span 5; }
.g-c { grid-column: span 4; }
.g-d { grid-column: span 8; }
.g-e { grid-column: span 6; }
.g-f { grid-column: span 4; }
.g-a, .g-b, .g-c, .g-d, .g-e { grid-row: span 2; }
@media (max-width: 760px) {
  .g-a, .g-d { grid-column: span 12; }
  .g-b, .g-c, .g-e, .g-f { grid-column: span 6; grid-row: span 2; }
}

/* lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(0,0,0,.94); }
.lb[open] { display: grid; place-items: center; }
.lb img { max-width: min(92vw, 1600px); max-height: 84vh; width: auto; object-fit: contain; }
.lb p { color: var(--steel); text-align: center; margin-top: 14px; font-size: var(--t-small); }
.lb .icon-btn { position: fixed; top: 20px; right: 20px; }

/* domande frequenti */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 7vw, 120px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.flood .faq__list { border-color: rgba(255,255,255,.4); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 28px; gap: 20px; align-items: center;
  padding: 22px 0;
  font-family: var(--display); font-weight: 700; letter-spacing: -.02em; word-spacing: .06em;
  font-size: clamp(19px, 1.5vw, 24px); line-height: 1.2;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover span { color: #ff5c7a; }
.faq__item i { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 2px solid currentColor; }
.faq__item i::before, .faq__item i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq__item i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item p { margin: 0; padding: 0 48px 24px 0; color: rgba(255,255,255,.8); max-width: 62ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* contatti */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px clamp(40px, 7vw, 120px); align-items: start; }
.contact__direct { display: grid; gap: 28px; margin-top: 40px; }
.contact__direct a { text-decoration: none; display: block; }
.contact__direct small { display: block; font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; opacity: .85; margin-bottom: 6px; }
.contact__direct strong { font-family: var(--display); font-weight: 750; font-size: clamp(24px, 2.5vw, 40px); line-height: 1.2; letter-spacing: -.03em; border-bottom: 2px solid rgba(255,255,255,.4); transition: border-color .2s; overflow-wrap: anywhere; }
.contact__direct a:hover strong { border-color: var(--white); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 16px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 18px/1.4 var(--font); color: var(--white);
  background: transparent; border: 0; border-bottom: 2px solid rgba(255,255,255,.55);
  padding: 10px 0; border-radius: 0; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 20px; padding-right: 28px; }
.field select option { color: #000; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.78); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--white); background: rgba(0,0,0,.08); }
.form .btns { grid-column: 1 / -1; margin-top: 8px; }
.form__note { grid-column: 1 / -1; font-size: var(--t-small); opacity: .85; margin: 0; }
.form__err { grid-column: 1 / -1; margin: 0; font-weight: 600; background: var(--black); padding: 10px 14px; }
.form__err[hidden] { display: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* fascia CTA */
.cta { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; }
.cta .h2 { max-width: 12ch; }

/* footer */
.foot { padding: clamp(64px, 8vw, 120px) 0 32px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot h2 { font-size: 16px; font-weight: 600; color: var(--steel); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__phil { color: var(--steel); max-width: 38ch; margin-top: 18px; }
.foot__word {
  position: relative; display: grid;
  margin: clamp(56px, 8vw, 120px) 0 28px;
  font-family: var(--display); font-weight: 900; font-stretch: 112%; line-height: .9;
  font-size: 11.2vw; letter-spacing: -.045em; word-spacing: .06em;
  white-space: nowrap;
}
@media (min-width: 1680px) { .foot__word { font-size: 192px; } }
.foot__word span { grid-area: 1 / 1; }
.foot__word .w-out { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.3); }
.foot__word .w-fill {
  color: var(--white);
  -webkit-mask-image: radial-gradient(circle 260px at var(--fx, -999px) var(--fy, -999px), #000 0%, rgba(0,0,0,.6) 40%, transparent 100%);
          mask-image: radial-gradient(circle 260px at var(--fx, -999px) var(--fy, -999px), #000 0%, rgba(0,0,0,.6) 40%, transparent 100%);
}
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--steel); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* whatsapp flottante */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 35;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--white); color: var(--black);
  display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 6px 24px rgba(0,0,0,.45);
  transition: transform .25s var(--ease), background .2s, color .2s, opacity .3s;
}
.wa.is-away { opacity: 0; transform: scale(.6); pointer-events: none; }
.wa:hover { transform: scale(1.06); background: var(--red); color: var(--white); }
.wa svg { width: 28px; height: 28px; }

/* grana pellicola */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .055;
}

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; }
}
