/* =========================================================
   KONTON — stili condivisi (v2 — borderless, fresh, dynamic)
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --bg-2: #0e0e0e;
  --text: #f5f5f5;
  --text-muted: #9a9a9a;
  --text-dim: #666;
  --accent: #ff2d2d;
  --accent-soft: rgba(255, 45, 45, 0.12);
  --accent-glow: rgba(255, 45, 45, 0.45);
  --accent-hover: #ff4d4d;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.04);
  --hairline: rgba(255, 255, 255, 0.06);
  --whatsapp: #25d366;
  --container: 1200px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient background glow — a soft, slowly drifting mood light */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(255, 45, 45, 0.08), transparent 70%),
    radial-gradient(700px 500px at -10% 100%, rgba(255, 45, 45, 0.05), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Subtle film grain — adds texture without weight */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
input, textarea { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; }

.eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; width: 18px; height: 1px; background: var(--accent);
  display: inline-block;
}

.section-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800; line-height: 1.02; letter-spacing: -2px;
}
.section-title em.red,
em.red {
  font-style: normal; color: var(--accent);
  position: relative;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  transition: background 280ms var(--ease-out), backdrop-filter 280ms var(--ease-out);
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 0.75cm;
  padding: 0 44px; position: relative;
}
.nav-inner > a[aria-label="Konton — home"] { justify-self: start; }
.nav-inner > .nav-links { justify-self: center; }
.nav-inner > .nav-cta { justify-self: end; }

/* CTA: la versione desktop sta fuori dalla ul, quella mobile dentro la ul */
.nav-cta-mobile { display: none; }

/* Bottone "Parliamo" più compatto dentro la navbar, così l'altezza scende davvero */
.nav-inner .btn-primary {
  padding: 6px 14px;
  font-size: 12px;
  gap: 8px;
}

.nav-logo {
  width: 28px; height: auto; color: var(--text);
  transition: filter 320ms var(--ease-out), transform 320ms var(--ease-out), color 320ms var(--ease-out);
  animation: nav-logo-idle 4s ease-in-out infinite;
}
.nav-logo:hover {
  color: var(--accent);
  filter:
    drop-shadow(0 0 8px var(--accent))
    drop-shadow(0 0 18px var(--accent-glow))
    drop-shadow(0 0 32px rgba(255, 45, 45, 0.35));
  transform: translateY(-2px) scale(1.05);
  animation: nav-logo-pulse 1.2s ease-in-out infinite;
}
@keyframes nav-logo-idle {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50%      { filter: drop-shadow(0 0 6px rgba(255, 45, 45, 0.15)); }
}
@keyframes nav-logo-pulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 8px var(--accent))
      drop-shadow(0 0 18px var(--accent-glow));
  }
  50% {
    filter:
      drop-shadow(0 0 14px var(--accent))
      drop-shadow(0 0 30px var(--accent-glow))
      drop-shadow(0 0 50px rgba(255, 45, 45, 0.4));
  }
}

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links .lang-toggle {
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 5px 12px;
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.nav-links .lang-toggle:hover,
.nav-links .lang-toggle:focus-visible {
  color: var(--text);
  border-color: var(--accent);
  background: var(--surface);
}
.nav-links a {
  font-size: 14px; color: var(--text-muted);
  position: relative; padding: 6px 2px;
  transition: color 200ms var(--ease-out);
  font-weight: 500;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0; background: var(--accent);
  transition: width 280ms var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-links .btn-primary::after { display: none; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 999px;
  text-decoration: none;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms var(--ease-out);
  position: relative;
  white-space: nowrap;
  line-height: 1;
}
.btn span { display: inline-block; line-height: 1; }
.btn .arrow {
  display: inline-block;
  transition: transform 280ms var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 24px -10px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px var(--accent-glow);
}
.btn-primary:active { transform: translateY(0); }

.btn-large {
  padding: 18px 32px; font-size: 16px; gap: 14px;
}

/* secondary button — outline, niente background */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--hairline);
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* gruppo di bottoni nel CTA-strip della home */
.cta-strip-actions {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  position: relative;
}

/* =========================================================
   PAGINA CONTATTI — sezioni aggiuntive
   ========================================================= */

/* hero della pagina contatti: testo a sinistra + logo animato a destra */
.page-header-hero { padding-bottom: 24px; }

/* =========================================================
   ANIMAZIONE LOGO "NOX-STYLE" — stagger reveal + glow ovale
   I 3 polygon del logo K appaiono in sequenza dal centro
   ai lati con un fade-in + blur che si stringe.
   ========================================================= */
.hero-visual-nox {
  position: relative;
  isolation: isolate;
}
.nox-glow {
  position: absolute;
  inset: 12% -8%;
  background:
    radial-gradient(ellipse at center,
      rgba(255, 255, 255, 0.10) 0%,
      rgba(255, 45, 45, 0.06) 40%,
      transparent 70%);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
  animation: nox-glow 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.logo-nox {
  position: relative;
  z-index: 1;
  color: #ffffff;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.12));
}
.lo-fill {
  fill: currentColor;
  opacity: 0;
  transform-origin: 50% 50%;
  transform-box: fill-box;
  animation: nox-stagger 7s cubic-bezier(0.32, 0, 0.18, 1) infinite;
}
/* delay: p2 (corpo centrale) prima, poi p1 (basso-destra), poi p3 (alto-sinistra) */
.lo-fill.p2 { animation-delay: 0.15s; }
.lo-fill.p1 { animation-delay: 0.55s; }
.lo-fill.p3 { animation-delay: 0.95s; }

@keyframes nox-stagger {
  0%    { opacity: 0; transform: scale(0.92); filter: blur(4px); }
  10%   { opacity: 1; transform: scale(1);    filter: blur(0); }
  82%   { opacity: 1; transform: scale(1);    filter: blur(0); }
  90%   { opacity: 0; transform: scale(1.04); filter: blur(4px); }
  100%  { opacity: 0; transform: scale(1);    filter: blur(4px); }
}
@keyframes nox-glow {
  0%, 4%   { opacity: 0;  transform: scale(0.65); }
  16%, 82% { opacity: 1;  transform: scale(1);    }
  92%, 100%{ opacity: 0;  transform: scale(1.12); }
}

/* riduci movimento per chi lo preferisce */
@media (prefers-reduced-motion: reduce) {
  .lo-fill { opacity: 1; animation: none; }
  .nox-glow { opacity: 1; animation: none; }
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 12px;
}
.page-hero-text h1 { margin-bottom: 18px; }
.page-hero-text p {
  color: var(--text-muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  max-width: 520px;
}
.page-header-hero .hero-visual {
  max-width: 360px;
  margin: 0 auto;
}
.page-header-hero .logo-outline {
  width: 100%;
  max-width: 320px;
}

/* "Cosa includere nel messaggio" */
.contact-tips {
  padding: 80px 0 60px;
}
.tips-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 56px; flex-wrap: wrap;
}
.tips-head p {
  max-width: 380px;
  color: var(--text-muted);
  font-size: 15px; line-height: 1.6;
}
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tip-card {
  padding: 32px 28px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  position: relative;
  transition: transform 320ms var(--ease-out), border-color 320ms var(--ease-out);
}
.tip-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 45, 0.3);
}
.tip-num {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
  margin-bottom: 18px;
}
.tip-card h3 {
  font-size: 19px; font-weight: 700; letter-spacing: -0.3px;
  margin-bottom: 10px; color: var(--text);
}
.tip-card p {
  font-size: 14px; line-height: 1.6; color: var(--text-muted);
}

/* Sezione "WhatsApp / email diretta" in fondo */
.contact-alt {
  padding: 60px 0 130px;
}
.alt-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  padding: 48px 44px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 45, 45, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.alt-inner > div:first-child { flex: 1; min-width: 280px; }
.alt-inner h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.alt-inner p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 480px;
}
.alt-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--surface);
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

/* =========================================================
   HERO (landing)
   ========================================================= */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-headline {
  font-size: clamp(54px, 8vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -3px;
}
.hero-headline .red {
  color: var(--accent);
  display: block;
  font-style: italic;
  font-weight: 800;
}
.hero-lead {
  margin-top: 28px;
  max-width: 480px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.65;
}

/* Hero visual — logo outline bianco che si disegna in linea */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  justify-self: center;
  width: 100%;
}

.logo-outline {
  width: 78%;
  max-width: 380px;
  height: auto;
  color: #ffffff;
  overflow: visible;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.08));
}

.lo-poly {
  /* I valori vengono settati via JS con getTotalLength() per precisione */
  stroke-dasharray: var(--len, 2500);
  stroke-dashoffset: var(--len, 2500);
  animation: line-draw 8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  vector-effect: non-scaling-stroke;
}
.lo-poly.p1 { animation-delay: 0.2s; }
.lo-poly.p2 { animation-delay: 0s;   }
.lo-poly.p3 { animation-delay: 0.4s; }

@keyframes line-draw {
  0%   { stroke-dashoffset: var(--len, 2500); }
  45%  { stroke-dashoffset: 0; }
  55%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: calc(var(--len, 2500) * -1); }
}

/* =========================================================
   MARQUEE — sfondo rosso, loghi bianchi, scorre e basta
   ========================================================= */
.marquee {
  background: var(--accent);
  overflow: hidden;
  padding: 22px 0;
  position: relative;
  pointer-events: none;
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 40s linear infinite;
  /* niente gap: lo spacing è gestito da margin-right per un loop matematicamente seamless */
}
.marquee-logo {
  width: 38px; height: 46px;
  color: #ffffff;
  flex-shrink: 0;
  margin-right: 56px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   WORKS — landing grid (borderless)
   ========================================================= */
.works { padding: 100px 0 130px; }
.works-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 56px;
}
.works-link {
  color: var(--accent); font-weight: 700; font-size: 14px;
  display: inline-flex; gap: 6px;
  transition: gap 220ms var(--ease-out);
}
.works-link:hover { gap: 14px; }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.works-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.work-card {
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  transition: transform 320ms var(--ease-out), background 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
  display: block;
  position: relative;
}
.work-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent-glow), transparent 50%);
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.work-card:hover {
  transform: translateY(-8px);
  background: var(--surface-2);
  box-shadow: 0 30px 70px -30px rgba(255, 45, 45, 0.3);
}
.work-card:hover::after { opacity: 0.4; }

.work-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.04), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent);
  display: grid; place-items: center;
  overflow: hidden;
}
.work-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.work-thumb .thumb-mark { width: 28%; color: #fff; opacity: 0.05; position: relative; }
.work-card.tint-red .work-thumb {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 45, 45, 0.18), transparent 70%),
    linear-gradient(135deg, rgba(255, 45, 45, 0.05), transparent);
}

/* thumb con immagine reale */
.work-thumb.has-image { background: #0f0f0f; }
.work-thumb.has-image::before { display: none; }
.work-thumb.has-image > img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  position: relative; z-index: 1;
  transition: transform 0.6s var(--ease-out);
}
.work-card:hover .work-thumb.has-image > img { transform: scale(1.04); }
.work-thumb.has-image .thumb-mark { display: none; }

.work-pill {
  position: absolute; top: 16px; left: 16px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
  padding: 7px 14px; border-radius: 999px;
  z-index: 1;
}

.work-body { padding: 26px 26px 28px; }
.work-num { color: var(--text-muted); font-size: 12px; letter-spacing: 0.18em; margin-bottom: 8px; font-weight: 700; }
.work-title { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.work-meta { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.work-cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 700; font-size: 13px;
  margin-top: 18px;
  transition: gap 220ms var(--ease-out);
}
.work-card:hover .work-cta { gap: 12px; }

/* =========================================================
   CONTATTI (borderless)
   ========================================================= */
.contact { padding: 0 0 120px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-intro p { color: var(--text-muted); font-size: 17px; margin-top: 22px; max-width: 460px; line-height: 1.65; }

.form { margin-top: 36px; display: grid; gap: 22px; }
.field { display: grid; gap: 10px; position: relative; }
.field label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700;
}
.field input, .field textarea {
  background: transparent;
  color: var(--text);
  padding: 14px 0;
  font-size: 16px;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  transition: border-color 240ms var(--ease-out);
  resize: none;
}
.field textarea { resize: vertical; min-height: 120px; padding-top: 14px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.form .btn-primary { width: 100%; justify-content: center; padding: 18px 22px; font-size: 15px; margin-top: 10px; }

.form-success,
.form-error {
  margin-top: 14px; padding: 16px 18px;
  border-radius: 14px;
  color: var(--text);
  font-size: 14px; display: none;
}
.form-success {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.22), rgba(37, 211, 102, 0.06));
}
.form-error {
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.22), rgba(255, 45, 45, 0.06));
}
.form-success.visible,
.form-error.visible { display: block; }

.form .btn-primary:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* Info cards — fully borderless, glass-like */
.info-list { display: grid; gap: 16px; }
.info-card {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 0;
  position: relative;
  transition: transform 220ms var(--ease-out);
}
.info-card + .info-card { border-top: 1px solid var(--hairline); }
.info-card:hover { transform: translateX(4px); }
.info-dot {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.info-dot::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.info-card:hover .info-dot {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--accent-glow);
}
.info-content { flex: 1; min-width: 0; }
.info-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.info-value { font-size: 17px; font-weight: 700; margin-top: 6px; word-break: break-word; }
.info-value a:hover { color: var(--accent); }

.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--whatsapp); color: #0a0a0a;
  font-weight: 700; font-size: 12px;
  padding: 7px 14px; border-radius: 999px;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
  margin-left: 12px;
}
.whatsapp-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px -10px var(--whatsapp); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative; padding: 36px 0; overflow: hidden;
  margin-top: 40px;
}
.footer::before {
  content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 1px;
  background: var(--hairline);
}
.footer-watermark {
  position: absolute; right: -40px; bottom: -60px;
  width: 240px; color: #fff; opacity: 0.025; pointer-events: none;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; position: relative; z-index: 1; }
.footer-left { display: flex; align-items: center; gap: 14px; color: var(--text-muted); font-size: 13px; }
.footer-logo { width: 22px; color: var(--text); }
.footer-links { display: flex; gap: 22px; list-style: none; }
.footer-links a { color: var(--text-muted); font-size: 13px; transition: color 200ms var(--ease-out); }
.footer-links a:hover { color: var(--accent); }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.floating-wa {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #0a0a0a;
  display: grid; place-items: center;
  box-shadow:
    0 14px 40px -10px rgba(37, 211, 102, 0.6),
    0 0 0 0 rgba(37, 211, 102, 0.45);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
  animation: wa-pulse 2.6s ease-out infinite;
}
.floating-wa svg { width: 28px; height: 28px; }
.floating-wa:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 46px -10px rgba(37, 211, 102, 0.75);
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 14px 40px -10px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 14px 40px -10px rgba(37, 211, 102, 0.5), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 14px 40px -10px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================================
   PAGE HEADER (lavori / project pages)
   ========================================================= */
.page-header { padding: 90px 0 56px; }
.page-header .eyebrow { margin-bottom: 18px; }
.page-header h1 {
  font-size: clamp(54px, 9vw, 110px);
  font-weight: 800; line-height: 0.95; letter-spacing: -3px;
}
.page-header h1 .red { color: var(--accent); font-style: italic; }
.page-header p { color: var(--text-muted); font-size: 19px; max-width: 580px; margin-top: 26px; line-height: 1.6; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 13px; font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  transition: color 220ms var(--ease-out), gap 220ms var(--ease-out);
}
.back-link:hover { color: var(--accent); gap: 14px; }

/* Filtri visivi (borderless pills) */
.filter-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 36px 0 64px;
}
.filter-pill {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 11px 20px; border-radius: 999px;
  background: var(--surface); color: var(--text-muted);
  transition: background 220ms var(--ease-out), color 220ms var(--ease-out);
}
.filter-pill:hover { background: var(--surface-2); color: var(--text); }
.filter-pill.is-active { background: var(--accent); color: #fff; }

/* =========================================================
   PROJECT DETAIL PAGE (borderless)
   ========================================================= */
.project-hero { padding: 60px 0 56px; }
.project-meta-top {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 26px;
}
.project-meta-top .work-pill { position: static; background: var(--accent-soft); }
.project-meta-top .year {
  font-size: 13px; color: var(--text-muted); letter-spacing: 0.06em;
}
.project-title {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800; line-height: 0.95; letter-spacing: -3px;
}
.project-subtitle {
  color: var(--text-muted); font-size: 19px; line-height: 1.65;
  max-width: 720px; margin-top: 26px;
}

.project-cover {
  margin-top: 56px;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 45, 45, 0.08), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.project-cover::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.project-cover .watermark { width: 22%; color: #fff; opacity: 0.07; position: relative; }
.project-cover .visual-tag {
  position: absolute; bottom: 18px; left: 22px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim);
}

/* immagini reali — cover progetto + gallery item */
.project-cover.has-image,
.gallery-item.has-image {
  background: #0f0f0f;
  padding: 0;
}
.project-cover.has-image::before,
.gallery-item.has-image::before { display: none; }
.project-cover.has-image > img,
.gallery-item.has-image > img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: inherit;
  position: relative; z-index: 1;
}
.project-cover.has-image .watermark,
.project-cover.has-image .visual-tag,
.gallery-item.has-image .watermark { display: none; }

.project-body { padding: 90px 0; }
.project-grid {
  display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: start;
}
.project-info {
  position: sticky; top: 100px;
  display: grid; gap: 24px;
}
.info-block {
  display: grid; gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.info-block:last-child { border-bottom: none; padding-bottom: 0; }
.info-block .info-label { color: var(--text-muted); }
.info-block .info-value { font-size: 16px; font-weight: 700; color: var(--text); margin-top: 2px; }

.project-content { display: grid; gap: 64px; }
.content-block .eyebrow { margin-bottom: 14px; }
.content-block h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800; letter-spacing: -1px; line-height: 1.15;
  margin-bottom: 20px;
}
.content-block p {
  color: var(--text-muted); font-size: 17px; line-height: 1.75;
  max-width: 680px;
}
.content-block p + p { margin-top: 18px; }

.project-gallery { padding: 0 0 80px; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.04), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.gallery-item::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.gallery-item .watermark { width: 30%; color: #fff; opacity: 0.06; position: relative; }
.gallery-item.tint-red {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 45, 45, 0.16), transparent 70%),
    linear-gradient(135deg, rgba(255, 45, 45, 0.04), transparent);
}

/* Sezione video ──────────────────────────────────────── */
.project-videos { padding: 0 0 100px; }
.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.videos-grid.single {
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 0 auto;
}
.video-item {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #0f0f0f;
  border: 1px solid var(--hairline);
}
.video-item video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.video-item.video-missing video { display: none; }
.video-item.video-missing::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 45, 45, 0.12), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent);
}
.video-item.video-missing::after {
  content: '▶  inserisci video in video/<progetto>/';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--text-dim);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  z-index: 1;
}

.project-nav-section {
  padding: 64px 0 90px;
  position: relative;
}
.project-nav-section::before {
  content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 1px;
  background: var(--hairline);
}
.project-nav-inner {
  display: flex; justify-content: space-between; align-items: stretch;
  gap: 24px;
}
.proj-nav-link {
  flex: 1;
  padding: 32px;
  border-radius: 22px;
  background: var(--surface);
  display: grid; gap: 10px;
  transition: background 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.proj-nav-link:hover { background: var(--surface-2); transform: translateY(-4px); }
.proj-nav-link.next { text-align: right; }
.proj-nav-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.proj-nav-title { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }

/* =========================================================
   POSTERS — galleria con tilt 3D (borderless)
   ========================================================= */
.posters { padding: 50px 0 130px; }

.posters-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 56px;
}
.posters-head p {
  color: var(--text-muted); font-size: 16px; max-width: 460px; line-height: 1.6;
}

.posters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  perspective: 1400px;
}

.poster-card {
  position: relative;
  padding: 0; background: none; border: none; text-align: left;
  cursor: pointer; display: block;
  transform-style: preserve-3d;
}
.poster-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 16px; }

.poster-tilt {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  transform-style: preserve-3d;
  transition: box-shadow 380ms var(--ease-out), transform 220ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.poster-card:hover .poster-tilt {
  box-shadow:
    0 40px 80px -30px rgba(255, 45, 45, 0.45),
    0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

.poster-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms var(--ease-out);
}
.poster-card:hover .poster-img { transform: scale(1.05); }

.poster-shine {
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 40%);
  mix-blend-mode: screen;
  opacity: 0; transition: opacity 320ms var(--ease-out);
  pointer-events: none;
}
.poster-card:hover .poster-shine { opacity: 1; }

.poster-zoom {
  position: absolute; bottom: 14px; right: 14px;
  width: 42px; height: 42px; border-radius: 999px;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(12px);
  display: grid; place-items: center;
  color: var(--text); font-size: 14px; font-weight: 700;
  opacity: 0; transform: translateY(8px);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), background 220ms var(--ease-out);
  pointer-events: none;
}
.poster-card:hover .poster-zoom {
  opacity: 1; transform: translateY(0);
  background: var(--accent);
}

.poster-caption {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-top: 18px;
}
.poster-num {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
.poster-title {
  font-size: 18px; font-weight: 700; letter-spacing: -0.3px;
  color: var(--text);
}
.poster-year {
  font-size: 13px; color: var(--text-muted); margin-left: auto;
}

/* =========================================================
   T-SHIRTS SECTION
   ========================================================= */
.tshirts {
  padding: 40px 0 120px;
  position: relative;
}
.tshirts-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 56px; flex-wrap: wrap;
}
.tshirts-head p {
  max-width: 380px;
  color: var(--text-muted);
  font-size: 15px; line-height: 1.6;
}

.tshirts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  perspective: 1400px;
}

.tshirt-card {
  position: relative;
  display: block;
  cursor: default;
  transform-style: preserve-3d;
}

.tshirt-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 24px 24px;
  transform-style: preserve-3d;
  transition:
    transform 280ms cubic-bezier(.2,.8,.2,1),
    box-shadow 420ms var(--ease-out);
  will-change: transform;
  border: 1px solid var(--hairline);
}
.tshirt-card:hover .tshirt-frame {
  box-shadow:
    0 50px 100px -40px rgba(255, 45, 45, 0.35),
    0 25px 50px -20px rgba(0, 0, 0, 0.7);
}

/* varianti colore impilate: la attiva sopra, le altre invisibili */
.tshirt-variant {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 360ms var(--ease-out);
}
.tshirt-variant.is-active {
  opacity: 1; visibility: visible;
}

/* fronte + retro impilati sulla stessa variante */
.tshirt-variant .face {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 520ms var(--ease-out), transform 620ms var(--ease-out);
  backface-visibility: hidden;
}
.tshirt-variant .face.front { opacity: 1;  transform: scale(1); }
.tshirt-variant .face.back  { opacity: 0;  transform: scale(1.04); }

/* hover sulla card → mostra il retro */
.tshirt-card:hover .tshirt-variant.is-active .face.front { opacity: 0; transform: scale(1.04); }
.tshirt-card:hover .tshirt-variant.is-active .face.back  { opacity: 1; transform: scale(1); }

/* placeholder se l'immagine non carica: grafica tipografica elegante */
.tshirt-variant.is-empty::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, #141414 0%, #0c0c0c 100%);
}
.tshirt-variant.is-empty::after {
  content: attr(data-color) '  ·  T-SHIRT';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--text-dim);
  font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
}
.tshirt-variant.is-empty .face { display: none; }

/* badge fronte/retro in alto a sinistra */
.tshirt-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700;
  z-index: 3;
  transition: background 260ms var(--ease-out);
  pointer-events: none;
}
.tshirt-card:hover .tshirt-badge {
  background: var(--accent);
}

/* caption sotto */
.tshirt-caption {
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.caption-row {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.tshirt-num {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
.tshirt-title {
  font-size: 18px; font-weight: 700; letter-spacing: -0.3px;
  color: var(--text);
}
.tshirt-year {
  font-size: 13px; color: var(--text-muted); margin-left: auto;
}

/* pallini colore */
.tshirt-swatches {
  display: flex; gap: 10px; align-items: center;
}
.swatch {
  width: 22px; height: 22px;
  padding: 0; border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--c, #111);
  cursor: pointer;
  position: relative;
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.swatch:hover { transform: scale(1.15); border-color: rgba(255, 255, 255, 0.3); }
.swatch::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  opacity: 0;
  transition: opacity 220ms var(--ease-out);
}
.swatch.is-active::after { opacity: 1; }
.swatch:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  display: none;
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}
.lightbox.is-open { display: block; }
.lightbox.is-visible { opacity: 1; }

.lightbox-inner {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 80px 80px 180px;
}
.lightbox-stage {
  position: relative;
  max-width: min(78vw, 900px);
  max-height: calc(100vh - 260px);
  display: grid; place-items: center;
  transform: scale(0.96); opacity: 0;
  transition: transform 340ms var(--ease-out), opacity 280ms var(--ease-out);
}
.lightbox.is-visible .lightbox-stage { transform: scale(1); opacity: 1; }

.lightbox-image {
  max-width: 100%; max-height: calc(100vh - 260px);
  border-radius: 12px;
  box-shadow: 0 30px 120px -30px rgba(255, 45, 45, 0.4), 0 20px 70px rgba(0, 0, 0, 0.8);
  display: block;
}

/* Video poster: la card mostra un mini-loop, la lightbox il player completo */
.poster-tilt > video.poster-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 500ms var(--ease-out);
}
.poster-card:hover .poster-tilt > video.poster-img { transform: scale(1.05); }

.lightbox-video {
  max-width: min(78vw, 900px);
  max-height: calc(100vh - 260px);
  border-radius: 12px;
  box-shadow: 0 30px 120px -30px rgba(255, 45, 45, 0.4), 0 20px 70px rgba(0, 0, 0, 0.8);
  display: none;
  background: #000;
  pointer-events: none; /* disabilita click/pausa manuale sul video */
}
.lightbox-stage.is-video .lightbox-image { display: none; }
.lightbox-stage.is-video .lightbox-video { display: block; }

/* placeholder per le miniature di poster video */
.lightbox-thumb .thumb-video-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2a1414, #140909);
  color: var(--accent);
  font-size: 18px;
}

.lightbox-meta {
  position: absolute; left: 50%; bottom: -56px;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px;
  white-space: nowrap;
  color: var(--text);
  font-size: 15px;
}
.lightbox-meta .divider { width: 24px; height: 1px; background: var(--accent); }
.lightbox-meta .title { font-weight: 700; letter-spacing: -0.2px; }
.lightbox-meta .year { color: var(--text-muted); }
.lightbox-meta .index { color: var(--text-muted); font-variant-numeric: tabular-nums; }

.lightbox-btn {
  position: absolute;
  width: 52px; height: 52px; border-radius: 999px;
  background: rgba(20, 20, 20, 0.6);
  color: var(--text);
  display: grid; place-items: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 240ms var(--ease-out), transform 240ms var(--ease-out);
  z-index: 2;
}
.lightbox-btn:hover { background: var(--accent); transform: scale(1.08); }
.lightbox-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { top: 50%; left: 24px; transform: translateY(-50%); }
.lightbox-next  { top: 50%; right: 24px; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.08); }

.lightbox-thumbs {
  position: absolute; left: 0; right: 0; bottom: 20px;
  display: flex; justify-content: center; gap: 10px;
  padding: 0 24px;
  overflow-x: auto;
}
.lightbox-thumbs::-webkit-scrollbar { height: 0; }
.lightbox-thumb {
  width: 56px; height: 74px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.lightbox-thumb:hover { opacity: 0.85; transform: translateY(-2px); }
.lightbox-thumb.is-active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--accent);
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

body.lightbox-locked { overflow: hidden; }

/* =========================================================
   CHI SONO PAGE
   ========================================================= */
.about-hero {
  padding: 100px 0 70px;
  position: relative;
}
.about-hero::after {
  content: '';
  position: absolute;
  right: -10%; top: 30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 45, 45, 0.08), transparent 70%);
  pointer-events: none; z-index: -1;
}

.display {
  font-size: clamp(56px, 9vw, 130px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -4px;
  margin-bottom: 30px;
}
.display em.red {
  font-style: italic;
  color: var(--accent);
}
.display-lead {
  color: var(--text-muted);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  max-width: 640px;
}

/* Stats line */
.stats-line {
  padding: 70px 0 80px;
  position: relative;
}
.stats-line::before {
  content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 1px;
  background: var(--hairline);
}
.stats-line-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-block {
  display: grid; gap: 14px;
}
.stat-number {
  font-size: clamp(50px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-block:nth-child(odd) .stat-number { color: var(--accent); }
.stat-text {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.4;
  font-weight: 500;
}

/* BIO */
.bio { padding: 70px 0 90px; }
.bio-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
}
.bio-eyebrow .eyebrow { margin-bottom: 0; }
.bio-content { max-width: 720px; }
.bio-lead {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 26px;
}
.bio-content p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
}
.bio-content p + p { margin-top: 18px; }

/* SERVIZI */
.services { padding: 90px 0; }
.services-head { margin-bottom: 56px; }
.services-list {
  display: grid;
  gap: 0;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 280px 1fr;
  gap: 40px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
  transition: padding 280ms var(--ease-out);
  position: relative;
}
.service-row:last-child { border-bottom: 1px solid var(--hairline); }
.service-row::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 380ms var(--ease-out);
}
.service-row:hover::before { width: 100%; }
.service-row:hover { padding-left: 16px; padding-right: 16px; }
.service-num {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
}
.service-name {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
}
.service-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* TOOLS */
.tools { padding: 90px 0; position: relative; }
.tools::before {
  content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 1px;
  background: var(--hairline);
}
.tools .section-title { margin-bottom: 50px; }
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
}
.tools-grid li {
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  transition: background 240ms var(--ease-out), color 240ms var(--ease-out), transform 240ms var(--ease-out);
  cursor: default;
}
.tools-grid li:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* TIMELINE */
.timeline { padding: 90px 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 1px;
  background: var(--hairline);
}
.timeline .section-title { margin-bottom: 50px; }
.timeline-list {
  list-style: none;
  display: grid;
  gap: 0;
}
.timeline-list li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 26px 0;
  border-top: 1px solid var(--hairline);
  align-items: baseline;
}
.timeline-list li:last-child { border-bottom: 1px solid var(--hairline); }
.t-year {
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.t-text {
  font-size: 18px;
  color: var(--text);
  line-height: 1.55;
  max-width: 620px;
}

/* CTA STRIP */
.cta-strip {
  padding: 100px 0 130px;
  position: relative;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 56px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 45, 45, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  position: relative;
  overflow: hidden;
}
.cta-strip-inner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cta-strip-inner h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  position: relative;
}
.cta-strip-inner em.red { font-style: italic; color: var(--accent); }
.cta-strip-inner .btn { position: relative; }

/* =========================================================
   SCROLL REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE — breakpoint 768px
   ========================================================= */
@media (max-width: 900px) {
  .stats-line-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .bio-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-row { grid-template-columns: 60px 1fr; gap: 24px; }
  .service-row .service-desc { grid-column: 1 / -1; padding-left: 84px; }
  .timeline-list li { grid-template-columns: 120px 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .nav-inner {
    display: flex;
    justify-content: space-between;
    gap: 0;
    grid-template-columns: none;
    min-height: 0.75cm;
    padding: 0 20px;
  }
  /* su mobile: il CTA desktop è nascosto, quello dentro la ul (nel dropdown) si vede */
  .nav-cta { display: none; }
  .nav-cta-mobile { display: list-item; }

  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(18px);
    padding: 18px 24px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    color: var(--text);
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links .btn-primary {
    display: inline-flex; margin-top: 14px;
    border-bottom: none;
  }
  .nav-links .lang-toggle {
    display: block;
    width: auto;
    margin: 14px 0 0;
    text-align: left;
    font-size: 13px;
    padding: 8px 14px;
  }
  .nav-toggle { display: inline-flex; }

  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-headline { letter-spacing: -2px; }
  .hero-visual { max-width: 340px; }
  .logo-spark.sp-1 { animation-name: spark-orbit-1-m; }
  .logo-spark.sp-2 { animation-name: spark-orbit-2-m; }
  .logo-spark.sp-3 { animation-name: spark-orbit-3-m; }
  @keyframes spark-orbit-1-m {
    from { transform: rotate(0deg) translateX(90px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(90px) rotate(-360deg); }
  }
  @keyframes spark-orbit-2-m {
    from { transform: rotate(120deg) translateX(118px) rotate(-120deg); }
    to   { transform: rotate(480deg) translateX(118px) rotate(-480deg); }
  }
  @keyframes spark-orbit-3-m {
    from { transform: rotate(240deg) translateX(145px) rotate(-240deg); }
    to   { transform: rotate(600deg) translateX(145px) rotate(-600deg); }
  }

  .marquee-logo { width: 32px; height: 38px; margin-right: 38px; }

  .works { padding: 70px 0 80px; }
  .works-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .works-grid, .works-grid.cols-2 { grid-template-columns: 1fr; }

  .contact { padding-bottom: 90px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }

  .page-header { padding: 56px 0 32px; }

  .project-hero { padding: 32px 0 40px; }
  .project-cover { margin-top: 32px; aspect-ratio: 4/3; border-radius: 20px; }
  .project-body { padding: 60px 0; }
  .project-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-info { position: static; }
  .project-content { gap: 48px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; gap: 16px; }
  .video-item { border-radius: 16px; }
  .project-nav-inner { flex-direction: column; }
  .proj-nav-link.next { text-align: left; }

  /* posters */
  .posters { padding: 24px 0 80px; }
  .posters-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .posters-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .poster-caption { margin-top: 12px; }
  .poster-title { font-size: 15px; }
  .poster-year { font-size: 12px; }

  /* tshirts */
  .tshirts { padding: 24px 0 80px; }
  .tshirts-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 36px; }
  .tshirts-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .tshirt-title { font-size: 15px; }
  .tshirt-year { font-size: 12px; }
  .tshirt-frame { border-radius: 16px; }
  .tshirt-badge { font-size: 9px; padding: 5px 9px; top: 10px; left: 10px; }

  /* lightbox mobile */
  .lightbox-inner { padding: 60px 16px 160px; }
  .lightbox-btn { width: 44px; height: 44px; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-prev  { left: 10px; }
  .lightbox-next  { right: 10px; }
  .lightbox-meta { bottom: -48px; font-size: 13px; gap: 10px; }
  .lightbox-thumbs { bottom: 14px; gap: 8px; }
  .lightbox-thumb { width: 40px; height: 54px; }
  /* video lightbox: usa tutta la larghezza disponibile come l'immagine */
  .lightbox-video {
    max-width: 100%;
    max-height: calc(100vh - 220px);
  }

  /* chi sono mobile */
  .about-hero { padding: 60px 0 40px; }
  .stats-line { padding: 50px 0 60px; }
  .stats-line-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .bio { padding: 50px 0 70px; }
  .services, .tools, .timeline { padding: 60px 0; }
  .service-row { padding: 22px 0; grid-template-columns: 50px 1fr; gap: 18px; }
  .service-row .service-desc { padding-left: 68px; font-size: 15px; }
  .service-row:hover { padding-left: 0; padding-right: 0; }
  .timeline-list li { grid-template-columns: 100px 1fr; gap: 18px; padding: 22px 0; }
  .t-text { font-size: 16px; }
  /* contatti page — mobile */
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page-header-hero .hero-visual { max-width: 240px; order: 2; }
  .contact-tips { padding: 40px 0 30px; }
  .tips-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .tips-grid { grid-template-columns: 1fr; gap: 16px; }
  .tip-card { padding: 24px 22px; }

  .contact-alt { padding: 30px 0 90px; }
  .alt-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
  .alt-actions { width: 100%; }
  .alt-actions .btn { flex: 1; justify-content: center; }

  .cta-strip-actions { width: 100%; }
  .cta-strip-actions .btn { flex: 1; justify-content: center; }

  .cta-strip { padding: 70px 0 100px; }
  .cta-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 40px 28px;
  }

  .floating-wa {
    width: 50px; height: 50px;
    right: 16px; bottom: 16px;
  }
  .floating-wa svg { width: 24px; height: 24px; }
}

@media (max-width: 520px) {
  .posters-grid { grid-template-columns: 1fr; gap: 18px; }
  .tshirts-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-line-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

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