/* ==========================================================================
   Francesco Pifferi — Portfolio
   Token di design dal handoff (colors_and_type.css) + layout desktop 1440
   + linee guida responsive (< 900px).
   ========================================================================== */

/* Font brand (Adobe Fonts, non inclusi): se installati localmente vengono
   usati per primi. Fallback Google: Syncopate / Krona One / Hanken Grotesk. */
@font-face { font-family: 'FP Display'; font-weight: 700; src: local('Anisette Std Bold'), local('AnisetteStd-Bold'), local('Anisette Std'); }
@font-face { font-family: 'FP Grand';   font-weight: 700; src: local('Cy Grotesk Std Grand Bold'), local('CyGroteskStd-GrandBold'); }
@font-face { font-family: 'FP Grand';   font-weight: 600; src: local('Cy Grotesk Std Grand Demi'), local('CyGroteskStd-GrandDemi'); }
@font-face { font-family: 'FP Grand';   font-weight: 500; src: local('Cy Grotesk Std Grand Medium'), local('CyGroteskStd-GrandMedium'); }
@font-face { font-family: 'FP Grand';   font-weight: 400; src: local('Cy Grotesk Std Grand Regular'), local('CyGroteskStd-GrandRegular'); }
@font-face { font-family: 'FP Grand';   font-weight: 300; src: local('Cy Grotesk Std Grand Light'), local('CyGroteskStd-GrandLight'); }
@font-face { font-family: 'FP Key';     font-weight: 300; src: local('Cy Grotesk Std Key Light'), local('CyGroteskStd-KeyLight'); }
@font-face { font-family: 'FP Key';     font-weight: 400; src: local('Cy Grotesk Std Key Regular'), local('CyGroteskStd-KeyRegular'); }
@font-face { font-family: 'FP Key';     font-weight: 700; src: local('Cy Grotesk Std Key Bold'), local('CyGroteskStd-KeyBold'); }

:root {
  /* Palette */
  --fp-black: #000000;
  --fp-white: #FFFFFF;
  --fp-red: #DB1E1E;
  --fp-red-dot: #E6302A;
  --fp-red-circle: #DC1E20;
  --fp-teal: #4C7181;
  --fp-ink-900: #0A0A0A;
  --fp-ink-800: #141414;
  --fp-ink-700: #1E1E1E;
  --fp-grey-500: #8A8A8A;
  --fp-grey-300: #BDBDBD;

  /* Semantic */
  --bg: var(--fp-black);
  --bg-raised: var(--fp-ink-800);
  --fg1: var(--fp-white);
  --fg2: rgba(255,255,255,.72);
  --fg3: rgba(255,255,255,.48);
  --accent: var(--fp-red);
  --accent-2: var(--fp-teal);
  --line: rgba(255,255,255,.14);
  --line-strong: rgba(255,255,255,.9);

  /* Families */
  --font-display: 'FP Display', 'Syncopate', 'Krona One', sans-serif;
  --font-grand: 'FP Grand', 'Krona One', 'Syncopate', sans-serif;
  --font-key: 'FP Key', 'Hanken Grotesk', 'Helvetica Neue', sans-serif;

  /* Type scale */
  --fs-hero: 72px; --fs-h1: 46px; --fs-h2: 40px; --fs-h3: 30px; --fs-h4: 25px;
  --fs-lead: 19px; --fs-body: 15px; --fs-small: 13px; --fs-micro: 11px;
  --lh-tight: 1.1; --lh-snug: 1.25; --lh-body: 1.45;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;
  --margin-page: 56px;
  --header-h: 70px;

  /* Radii */
  --r-0: 0; --r-logo: 4px; --r-card: 6px;

  /* Motion */
  --ease-cine: cubic-bezier(.22,.61,.36,1);
  --dur-fast: 180ms; --dur-med: 420ms; --dur-slow: 900ms;
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--fg1); margin: 0; }
body {
  font-family: var(--font-key);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
p { margin: 0; font-family: var(--font-key); font-weight: 300; font-size: var(--fs-body); line-height: var(--lh-body); }
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

.fp-accent { color: var(--accent); }
.fp-tagline { font-family: var(--font-grand); font-weight: 300; font-size: var(--fs-small); letter-spacing: .02em; }
.fp-h4 { font-family: var(--font-key); font-weight: 700; font-size: var(--fs-h4); text-transform: uppercase; color: var(--accent); }
.fp-eyebrow { font-family: var(--font-key); font-weight: 700; font-size: var(--fs-body); text-transform: uppercase; letter-spacing: .02em; color: var(--fg1); }
.fp-lead { font-family: var(--font-key); font-weight: 300; font-size: var(--fs-lead); line-height: var(--lh-body); }

/* --------------------------------------------------------------- Buttons */
.fp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 13px var(--font-key);
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: 15px 24px; border: 1.5px solid; border-radius: var(--r-0);
  cursor: pointer; line-height: 1;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.fp-btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.fp-btn-primary:hover { background: #fff; color: #000; border-color: #fff; }
.fp-btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.fp-btn-ghost:hover { background: #fff; color: #000; }
.btn-play { font-size: 10px; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--margin-page);
  background: linear-gradient(rgba(0,0,0,.8), transparent);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.header-logo img { height: 26px; width: auto; }
.site-nav { display: flex; gap: 36px; }
.nav-link {
  font: 500 14px var(--font-grand); color: #fff; text-decoration: none;
  transition: color var(--dur-fast);
}
.nav-link:hover, .nav-link.is-active { color: var(--accent); }
.menu-toggle { display: none; }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; height: 820px; overflow: hidden; background: #000; }
.hero-photo {
  position: absolute; inset: 0 0 0 25%; display: block; overflow: hidden;
  animation: kenburns 18s var(--ease-cine) infinite alternate;
  will-change: transform;
}
.hero-photo-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #000 30%, transparent 60%); }
.hero-brand { position: absolute; left: var(--margin-page); top: 130px; }
.hero-wordmark { width: 520px; height: auto; }
.hero-tagline { display: block; font-size: 18px; margin-top: 14px; margin-left: 70px; }
.hero-copy { position: absolute; left: 90px; bottom: 110px; }
.hero-claim { font: 400 26px var(--font-grand); color: var(--accent); margin-bottom: 12px; }
.hero-paragraph { font-size: 17px; max-width: 440px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ------------------------------------------------------------- Portfolio */
.portfolio { padding-top: 90px; }
.gallery-tabs { display: flex; gap: 32px; padding: 0 var(--margin-page) 22px; flex-wrap: wrap; }
.gallery-tab {
  font: 500 18px var(--font-grand);
  color: rgba(255,255,255,.45);
  padding-bottom: 6px; border-bottom: 2px solid transparent;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.gallery-tab:hover { color: #fff; }
.gallery-tab.is-active { color: #fff; border-bottom-color: var(--accent); }

.gallery-stage { position: relative; min-height: 760px; }
.gallery-mosaic {
  position: relative;
  display: grid; gap: 0;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-cine);
}
.gallery-mosaic[hidden] { display: none; }
.gallery-mosaic.is-active { opacity: 1; pointer-events: auto; }
/* Design: 2 colonne → righe da 380px (2×2 = 760px); 3 colonne → riga unica da 760px.
   Con più foto la griglia aggiunge righe della stessa altezza (full-bleed, nessun gutter). */
.gallery-mosaic.cols-2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 380px; }
.gallery-mosaic.cols-3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 760px; }
/* Ultima riga incompleta: l'ultimo tile si allarga per non lasciare celle vuote */
.gallery-mosaic.cols-2 .gallery-tile:nth-of-type(2n+1):last-of-type { grid-column: span 2; }
.gallery-mosaic.cols-3 .gallery-tile:nth-of-type(3n+1):last-of-type { grid-column: span 3; }
.gallery-mosaic.cols-3 .gallery-tile:nth-of-type(3n+2):last-of-type { grid-column: span 2; }

.section-label {
  position: absolute; left: 28px; top: 20px; z-index: 2;
  font: 500 30px var(--font-grand); color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
  pointer-events: none;
}
.gallery-tile {
  position: relative; overflow: hidden; cursor: zoom-in;
  background: #000; min-width: 0; min-height: 0;
  display: block; width: 100%; height: 100%;
}
.tile-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: brightness(.92);
  transition: transform var(--dur-slow) var(--ease-cine), filter var(--dur-slow) var(--ease-cine), opacity var(--dur-med) var(--ease-cine);
}
.gallery-tile:hover .tile-img, .gallery-tile:focus-visible .tile-img { transform: scale(1.03); filter: brightness(1.05); }
/* fade-in al caricamento (JS aggiunge .is-loaded) */
.tile-img[data-fade] { opacity: 0; }
.tile-img.is-loaded { opacity: 1; }

/* ----------------------------------------------------------------- About */
.about {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
  padding: 140px var(--margin-page) 100px;
}
.about-photo { width: 100%; height: 100%; min-height: 640px; object-fit: cover; border-radius: 0; display: block; background: #000; }
.about-body { max-width: 820px; }
.about-title { font: 600 var(--fs-h2)/var(--lh-tight) var(--font-grand); color: var(--accent); margin-bottom: 32px; }
.about-p1 { margin-bottom: 14px; }
.about-p2 { margin-bottom: 40px; }
.acts-title { margin-bottom: 22px; }
.act { max-width: 680px; margin-bottom: 20px; }
.act-title { margin-bottom: 4px; }

/* ------------------------------------------------------------- Manifesto */
.manifesto { position: relative; overflow: hidden; padding: 120px var(--margin-page); }
.manifesto-statement {
  position: relative;
  font: 700 46px/1.25 var(--font-grand); color: #fff;
  max-width: 1180px; margin-left: 40px;
}
.manifesto-rows { position: relative; margin-left: 330px; margin-top: 110px; max-width: 900px; }
.manifesto-row { margin-bottom: 28px; }

/* --------------------------------------------------------------- Reviews
   "Dicono di me": titolo con cerchio rosso dietro, sotto tre colonne sfalsate
   di recensioni Google + bolle WhatsApp su fondo nero, con parallax leggero
   (JS, solo desktop). */
.reviews {
  position: relative; overflow: hidden; background: #000;
  padding: 120px var(--margin-page) 140px;
}
.reviews-intro { position: relative; z-index: 2; margin-bottom: 72px; }
.reviews-title {
  display: inline-block; position: relative; isolation: isolate;
  font: 700 46px/1.05 var(--font-grand); letter-spacing: -.005em; color: #fff;
  margin: 12px 12px 12px 40px;
}
.reviews-title::before {
  content: ""; position: absolute; z-index: -1;
  left: -.62em; top: 50%; width: 3.1em; height: 3.1em; border-radius: 50%;
  background: var(--fp-red-dot); transform: translateY(-50%);
}

.wall {
  position: relative; width: 100%; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr 1fr 1.1fr; gap: 22px; align-items: start;
}
.wall-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; will-change: transform; }
.wall-col-b { margin-top: 110px; }
.wall-col-c { margin-top: 44px; }

/* Reveal: parte nascosto, entra in 900ms con stagger (classe .on dal JS) */
.wall-item { position: relative; }
.wall-in { opacity: 0; transform: translateY(36px); transition: opacity var(--dur-slow) var(--ease-cine), transform var(--dur-slow) var(--ease-cine); }
.wall-item.on .wall-in { opacity: 1; transform: none; }
.no-js .wall-in { opacity: 1; transform: none; }

/* Bolle WhatsApp */
.chat {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
.bub {
  position: relative; max-width: 100%; margin: 0;
  background: #D9FDD3; color: #111b21; font-size: 16.5px; line-height: 1.3; font-weight: 400;
  padding: 10px 16px; border-radius: 20px; box-shadow: 0 14px 40px rgba(0,0,0,.6);
}
.bub-time { float: right; font-size: 12.5px; line-height: 1; color: #667781; margin: 10px 0 -4px 14px; }
.bub.tail { border-bottom-left-radius: 6px; }
.bub.tail::before {
  content: ""; position: absolute; left: -7px; bottom: 0; width: 18px; height: 18px;
  background: #D9FDD3; clip-path: path('M18 0 C18 10 14 16 0 18 L18 18 Z');
}

/* Card recensione Google (taglie sm / md / lg) */
.rev {
  background: #fff; color: #202124; border-radius: var(--r-card);
  padding: 18px 20px 20px; box-shadow: 0 14px 40px rgba(0,0,0,.7);
  font-family: Roboto, Arial, sans-serif; font-weight: 400;
}
.rev-head { display: flex; gap: 12px; align-items: center; }
.rev-avatar { width: 38px; height: 38px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 18px; flex: none; }
.rev-name { font-size: 15px; font-weight: 500; line-height: 1.2; }
.rev-meta { font-size: 12.5px; color: #70757a; }
.rev-dots { margin-left: auto; align-self: flex-start; color: #5f6368; letter-spacing: 1px; font-size: 18px; line-height: 1; }
.rev-stars { color: #fbbc04; margin: 12px 0 8px; letter-spacing: 2px; font-size: 16px; }
.rev-text { font-size: 15px; line-height: 1.5; }
.rev.sm { padding: 15px 16px 16px; }
.rev.sm .rev-avatar { width: 30px; height: 30px; font-size: 14px; }
.rev.sm .rev-name { font-size: 13.5px; }
.rev.sm .rev-meta { font-size: 11.5px; }
.rev.sm .rev-stars { font-size: 13px; margin: 9px 0 6px; }
.rev.sm .rev-text { font-size: 13px; line-height: 1.45; }
.rev.lg { padding: 22px 24px 24px; }
.rev.lg .rev-avatar { width: 46px; height: 46px; font-size: 22px; }
.rev.lg .rev-name { font-size: 18px; }
.rev.lg .rev-meta { font-size: 14px; }
.rev.lg .rev-stars { font-size: 20px; margin: 14px 0 10px; }
.rev.lg .rev-text { font-size: 18px; line-height: 1.42; }

/* ≤1180px: collage a 2 colonne */
@media (max-width: 1180px) {
  .reviews { padding: 90px 22px 100px; }
  .reviews-intro { margin-bottom: 40px; }
  .reviews-title { font-size: 36px; margin-left: 12px; }
  .wall { grid-template-columns: 1fr 1fr; max-width: none; }
  .wall-col { display: contents; }
  .wall-col-b, .wall-col-c { margin-top: 0; }
}
@media (max-width: 640px) {
  .wall { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- Contact */
.contact { position: relative; min-height: 820px; overflow: hidden; display: flex; align-items: center; }
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.85); }
/* Velatura: scura ai bordi per fondersi col nero della pagina, più leggera al centro dove sta il testo */
.contact-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 18%, rgba(0,0,0,.55) 82%, #000 100%),
    linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.15) 50%, rgba(0,0,0,.35));
}
.contact-inner {
  position: relative; width: 100%; max-width: 1040px; margin: 0 auto;
  padding: 120px var(--margin-page);
  display: flex; flex-direction: column; align-items: center;
}
.contact-head { display: flex; align-items: center; gap: 56px; }
.contact-portrait {
  width: 230px; height: 230px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 24px 60px rgba(0,0,0,.6);
}
.contact-quote {
  width: 480px; text-align: left;
  font: 500 26px/1.35 var(--font-grand); color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.6);
}
.contact-hint {
  margin-top: 72px; text-align: center;
  font: 500 22px/1.3 var(--font-grand); color: var(--fg2);
  text-shadow: 0 2px 16px rgba(0,0,0,.6);
}
.contact-links {
  margin-top: 40px;
  display: grid; grid-template-columns: auto auto; gap: 34px 90px;
}
.contact-link {
  display: flex; gap: 16px; align-items: center;
  font: 500 21px var(--font-grand); color: #fff; text-decoration: none;
  text-shadow: 0 2px 16px rgba(0,0,0,.6);
  transition: color var(--dur-fast);
}
.contact-link:hover { color: var(--accent); }
.contact-link .icon { flex: none; filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
.contact-label { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: rgba(255,255,255,.6); }
.contact-link-phone { font: 700 26px var(--font-key); }
.contact-link-mail { font-size: 17px; }

/* ---------------------------------------------------------------- Footer */
.site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 36px var(--margin-page);
  border-top: 1px solid var(--line);
  font: 300 13px var(--font-key); color: var(--fg2);
}
.footer-monogram { height: 34px; width: auto; }

/* -------------------------------------------------------------- Overlays */
.overlay {
  position: fixed; inset: 0; background: #000;
  display: grid; place-items: center;
  animation: overlay-fade var(--dur-med) var(--ease-cine);
}
.overlay[hidden] { display: none; }
.overlay.is-closing { animation: overlay-fade var(--dur-med) var(--ease-cine) reverse forwards; }
@keyframes overlay-fade { from { opacity: 0; } to { opacity: 1; } }
.overlay-close {
  position: absolute; top: 26px; right: var(--margin-page);
  font: 500 14px var(--font-grand); color: #fff;
  transition: color var(--dur-fast);
}
.overlay-close:hover { color: var(--accent); }

.lightbox { z-index: 50; cursor: zoom-out; }
.lightbox-img { max-width: 88vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; cursor: default; }
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; display: grid; place-items: center;
  font: 500 22px var(--font-grand); color: rgba(255,255,255,.72);
  transition: color var(--dur-fast);
}
.lightbox-arrow:hover { color: var(--accent); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.video-modal { z-index: 60; }
.video-frame { position: relative; width: 72vw; }
.video-player {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: #000 center / cover no-repeat;
}
.video-player video, .video-player iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000;
}
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center;
  transition: background var(--dur-fast);
}
.video-play:hover { background: #fff; }
.video-play-triangle {
  display: block; margin-left: 8px;
  border-left: 28px solid #fff; border-top: 17px solid transparent; border-bottom: 17px solid transparent;
  transition: border-left-color var(--dur-fast);
}
.video-play:hover .video-play-triangle { border-left-color: #000; }
.video-player.is-playing .video-play { display: none; }
.video-meta {
  position: absolute; left: 0; right: 0; bottom: -34px;
  display: flex; justify-content: space-between;
  font: 300 14px var(--font-key); color: var(--fg2);
}
.video-watch { color: var(--fg2); text-underline-offset: 4px; transition: color var(--dur-fast); }
.video-watch:hover { color: var(--accent); }

/* ------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo { animation: none; }
  .tile-img, .gallery-tile:hover .tile-img { transition: none; transform: none; }
  .overlay, .overlay.is-closing { animation: none; }
  .gallery-mosaic { transition: none; }
  .wall-in { opacity: 1; transform: none; transition: none; }
  .wall-col { transform: none !important; }
}

/* ------------------------------------------------------------- Tablet */
@media (max-width: 1200px) {
  .hero-wordmark { width: min(520px, 60vw); }
  .manifesto-rows { margin-left: 160px; }
  .contact-head { gap: 40px; }
  .contact-quote { width: 380px; font-size: 22px; }
  .contact-links { gap: 28px 48px; }
}

/* ------------------------------------------------------------- Mobile */
@media (max-width: 900px) {
  :root { --margin-page: 22px; --header-h: 64px; }

  /* Header: hamburger + overlay nero pieno */
  .site-header { padding: 20px var(--margin-page); }
  .header-logo img { height: 22px; max-width: 62vw; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 40px; height: 40px; position: relative; z-index: 31; margin-right: -8px;
  }
  .menu-toggle span { display: block; height: 1.5px; width: 26px; background: #fff; margin: 0 auto; transition: transform var(--dur-fast), opacity var(--dur-fast); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; z-index: 30; background: #000;
    flex-direction: column; justify-content: center; align-items: center; gap: 36px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity var(--dur-med) var(--ease-cine), visibility var(--dur-med);
  }
  .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .site-nav .nav-link { font-size: 22px; }

  /* Hero: foto piena, gradiente dal basso */
  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--margin-page) 48px; }
  .hero-photo { inset: 0; }
  .hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.2) 35%, #000 82%); }
  .hero-brand { position: relative; left: 0; top: 0; margin-bottom: 40px; }
  .hero-wordmark { width: 100%; max-width: 420px; }
  .hero-tagline { margin-left: 0; font-size: 14px; }
  .hero-copy { position: relative; left: 0; bottom: 0; }
  .hero-claim { font-size: 22px; }
  .hero-paragraph { font-size: 16px; }

  /* Portfolio: 1 colonna, 4:5 */
  .portfolio { padding-top: 64px; }
  .gallery-tabs { gap: 20px; }
  .gallery-tab { font-size: 15px; }
  .gallery-stage { min-height: 0; }
  /* Mobile: ogni foto mantiene il suo formato nativo (nessun crop → nessun upscaling).
     Orizzontali a piena larghezza; verticali affiancate a coppie (2 colonne) per non diventare troppo alte. */
  .gallery-mosaic.cols-2, .gallery-mosaic.cols-3 { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .gallery-mosaic .gallery-tile:last-of-type { grid-column: auto; }
  .gallery-tile { aspect-ratio: var(--ar, 3 / 2); height: auto; }
  .gallery-tile.is-landscape { grid-column: 1 / -1; }
  .gallery-tile.is-portrait { grid-column: span 1; aspect-ratio: 2 / 3; }
  /* verticale rimasta sola: piena larghezza con crop minimo (foto 2:3 → 4:5) */
  .gallery-tile.is-portrait.is-solo { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .section-label { left: 20px; top: 16px; font-size: 24px; }

  /* Approccio: colonna singola con foto sopra */
  .about { grid-template-columns: 1fr; gap: 32px; padding: 72px var(--margin-page) 56px; }
  .about-photo { min-height: 0; aspect-ratio: 4 / 5; max-height: 520px; }
  .about-title { font-size: 30px; }

  /* Manifesto */
  .manifesto { padding: 80px var(--margin-page); }
  .manifesto-statement { font-size: 30px; margin-left: 0; }
  .manifesto-rows { margin-left: 0; margin-top: 56px; }
  .manifesto-row { font-size: 17px; }

  /* Recensioni: layout gestito dai breakpoint 1180/640 nel blocco Reviews */

  /* Contatti: flusso normale */
  .contact { min-height: 0; }
  .contact-inner { padding: 72px var(--margin-page) 80px; }
  .contact-head { flex-direction: column; gap: 28px; text-align: center; }
  .contact-portrait { width: 180px; height: 180px; }
  .contact-quote { width: auto; text-align: center; font-size: 22px; }
  .contact-hint { margin-top: 40px; font-size: 18px; }
  .contact-links { margin-top: 28px; grid-template-columns: 1fr; gap: 22px; justify-items: start; width: 100%; max-width: 360px; }
  .contact-link { font-size: 18px; }
  .contact-link-phone { font-size: 22px; }
  .contact-link-mail { font-size: 14px; }
  .contact-link-mail .contact-label { word-break: normal; overflow-wrap: anywhere; }
  .contact-link .icon { width: 28px; height: 28px; }

  /* Footer */
  .site-footer { flex-direction: column; gap: 14px; padding: 28px var(--margin-page); text-align: center; }

  /* Overlays */
  .overlay-close { right: var(--margin-page); top: 20px; }
  .lightbox-img { max-width: 94vw; max-height: 80vh; }
  .lightbox-arrow { top: auto; bottom: 24px; transform: none; }
  .video-frame { width: 94vw; }
  .video-play { width: 72px; height: 72px; }
  .video-play-triangle { border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; margin-left: 6px; }
}
