/* ============================================
   RESPLANET V6 — Fix mobile + hero + logo
   Nero · Lime · Cinematografico
   ============================================ */

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

:root {
  --black:   #080808;
  --dark:    #111111;
  --white:   #F0EDE6;
  --mid:     #666666;
  --accent:  #C8FF00;
  --border:  rgba(240,237,230,.08);

  --display: 'Anton', Impact, sans-serif;
  --body:    'DM Sans', system-ui, sans-serif;
  --mono:    'Space Mono', monospace;

  --nav-h:   64px;
  --pad:     clamp(20px, 5.5vw, 72px);
  --max:     min(1440px, 96vw);
}

html { scroll-behavior: smooth; font-size: 16px; }


/* BG CANVAS — particelle fisse in background */
#bgCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .7;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

/* GRAIN */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 1;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grainShift .4s steps(1) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-2%,-1%); }
  50%  { transform: translate(1%,2%); }
  75%  { transform: translate(-1%,1%); }
  100% { transform: translate(2%,-2%); }
}

/* CURSOR */
.cur {
  position: fixed;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .35s cubic-bezier(.23,1,.32,1),
              height .35s cubic-bezier(.23,1,.32,1);
  mix-blend-mode: difference;
}
.cur.expand { width: 56px; height: 56px; }
@media (max-width: 1023px) { .cur { display: none; } 
/* BG CANVAS — particelle fisse in background */
#bgCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .7;
}

body { cursor: auto; } }

/* SPLASH */
.splash {
  position: fixed; inset: 0;
  background: var(--accent);
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.splash__word {
  font-family: var(--display);
  font-size: clamp(52px, 12vw, 150px);
  color: var(--black);
  line-height: .88;
  letter-spacing: -.02em;
  transition: transform .8s cubic-bezier(.77,0,.175,1), opacity .6s ease;
}
.splash.go .splash__word   { transform: translateY(-120%); opacity: 0; }
.splash.go .splash__word--2 { transform: translateY(120%); opacity: 0; transition-delay: .06s; }
.splash.gone { display: none; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  z-index: 1000;
  /* NO mix-blend-mode su mobile — causa problemi */
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo img {
  height: 40px;
  width: auto;
  /* logo-lime.png — già colorato, zero filtri */
  filter: none;
  transition: opacity .3s;
}
.nav__logo:hover img {
  opacity: .75;
}
.nav__logo-text {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: .06em;
  color: var(--white);
}

.nav__links {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  list-style: none;
}
.nav__links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  opacity: .7;
  transition: opacity .25s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .35s ease;
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: transform .35s cubic-bezier(.77,0,.175,1), opacity .3s;
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }

/* ============================================
   HERO — FIX TITOLO + MOBILE
   ============================================ */
.s-hero {
  position: relative;
  min-height: 100svh;
  /* FIX: justify-content flex-end ma con padding top per il nav */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}






/* Contenuto hero — al fondo, con spazio sufficiente */
.s-hero__content {
  position: relative;
  z-index: 2;
  /* FIX KEY: padding top abbondante per evitare taglio titolo */
  padding: clamp(96px, 16vh, 160px) var(--pad) clamp(36px, 6vh, 72px);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.s-hero__pre {
  font-family: var(--mono);
  font-size: clamp(9px, 1.1vw, 11px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(12px, 2.5vh, 24px);
  opacity: 0;
  animation: fadeUp .6s .9s ease forwards;
}

/* TITOLO — FIX overflow hidden che tagliava */
.s-hero__title {
  font-family: var(--display);
  /* Mobile-first: parte da 56px, cresce */
  font-size: clamp(52px, min(12vw, 16vh), 175px);
  line-height: .88;
  letter-spacing: -.01em;
  display: flex;
  flex-direction: column;
  /* FIX: niente overflow hidden sul container */
  margin-bottom: clamp(24px, 4vh, 48px);
}

.hl {
  display: block;
  /* FIX: overflow hidden SOLO sullo span interno, non sul titolo */
  /* Aggiunto padding per evitare taglio ascendenti/discendenti */
  padding-top: .06em;
  opacity: 0;
  transform: translateY(60px);
  animation: slideUp .85s cubic-bezier(.16,1,.3,1) forwards;
  will-change: transform, opacity;
}
.hl.italic  { font-style: italic; }
.hl.accent  { color: var(--accent); }

.hl[data-i="0"] { animation-delay: 1s; }
.hl[data-i="1"] { animation-delay: 1.14s; }
.hl[data-i="2"] { animation-delay: 1.28s; }
.hl[data-i="3"] { animation-delay: 1.42s; }

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero bottom */
.s-hero__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .7s 1.6s ease forwards;
}
.s-hero__sub {
  font-size: clamp(13px, 1.6vw, 17px);
  color: rgba(240,237,230,.7);
  line-height: 1.75;
  font-weight: 300;
  max-width: 420px;
}
.s-hero__sub em { color: var(--white); font-style: italic; }

/* Arrow link */
.arr-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap .35s ease;
}
.arr-link:hover { gap: 20px; }
.arr-link__line {
  display: block;
  width: 28px; height: 1px;
  background: var(--accent);
  transition: width .35s ease;
}
.arr-link:hover .arr-link__line { width: 48px; }

/* Scroll indicator */
.s-hero__scroll-label {
  position: absolute;
  right: var(--pad);
  bottom: clamp(32px, 5vh, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(240,237,230,.3);
  writing-mode: vertical-rl;
  opacity: 0;
  animation: fadeUp .6s 1.9s ease forwards;
  z-index: 2;
}
.s-hero__scroll-track {
  width: 1px; height: 48px;
  background: rgba(240,237,230,.12);
  position: relative; overflow: hidden;
}
.s-hero__scroll-fill {
  position: absolute; top: 0; left: 0; right: 0;
  height: 30%;
  background: var(--accent);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { top: -30%; } 100% { top: 100%; }
}

/* ============================================
   MANIFESTO
   ============================================ */
.s-manifesto {
  padding: clamp(72px,10vw,140px) var(--pad);
  border-top: 1px solid var(--border);
}
.s-manifesto__num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .2em; color: var(--accent);
  margin-bottom: 40px;
}
.s-manifesto__
/* BG CANVAS — particelle fisse in background */
#bgCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .7;
}

body { max-width: var(--max); margin: 0 auto; }
.s-manifesto__title {
  font-family: var(--display);
  font-size: clamp(40px, 7.5vw, 110px);
  line-height: .93;
  margin-bottom: clamp(40px, 6vw, 80px);
  letter-spacing: -.01em;
}
.s-manifesto__title em { color: var(--accent); font-style: italic; }

.s-manifesto__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 760px;
  margin-bottom: clamp(48px, 7vw, 100px);
}


@media (min-width: 640px) {
  .s-manifesto__cols { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.s-manifesto__cols p {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(240,237,230,.6);
  line-height: 1.85;
  font-weight: 300;
}
.s-manifesto__cols p strong { color: var(--white); font-weight: 400; }

.s-manifesto__statement {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px,4vw,48px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.big-num {
  font-family: var(--display);
  font-size: clamp(56px, 9vw, 120px);
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.big-label {
  font-family: var(--mono);
  font-size: clamp(11px, 1.4vw, 14px);
  letter-spacing: .08em;
  line-height: 2;
  color: rgba(240,237,230,.55);
  text-transform: uppercase;
}

/* ============================================
   OPERE — layout verticale su mobile
   ============================================ */
.s-opere { border-top: 1px solid var(--border); }
.s-opere__header {
  padding: clamp(56px,8vw,96px) var(--pad) 0;
  max-width: var(--max); margin: 0 auto;
}
.s-opere__num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .2em; color: var(--accent); margin-bottom: 14px;
}
.s-opere__title {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 100px);
  line-height: .93;
  margin-bottom: clamp(40px, 5vw, 72px);
  letter-spacing: -.01em;
}
.s-opere__title em { color: var(--accent); font-style: italic; }

/* OPERA FULL */
.opera--full {
  position: relative;
  height: clamp(400px, 60vh, 760px);
  overflow: hidden;
}
.opera__img-wrap { position: absolute; inset: 0; }
.opera__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}
.opera--full:hover .opera__img-wrap img { transform: scale(1.04); }
.opera__img-cover {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.92) 0%, rgba(8,8,8,.2) 55%, transparent 100%);
}
.opera__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(24px,3.5vw,48px) var(--pad);
  display: flex; flex-direction: column; gap: 8px;
  z-index: 1;
}
.opera__n {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .18em; color: var(--accent);
}
.opera__caption h3 {
  font-family: var(--display);
  font-size: clamp(24px, 3.5vw, 48px);
  line-height: 1; letter-spacing: -.01em;
}
.opera__caption p {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .1em; color: rgba(240,237,230,.5);
  margin-bottom: 10px;
}

/* OPERA SPLIT — impilato su mobile */
.opera--split {
  display: grid;
  grid-template-columns: 1fr;
}
.opera--split {
  margin-bottom: clamp(40px, 6vw, 80px);
}
@media (min-width: 640px) {
  .opera--split { grid-template-columns: 1fr 1fr; }
}
.opera__half--img {
  overflow: hidden;
  aspect-ratio: 16/9;
}
.opera__half--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(1.25) contrast(1.05);
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}
.opera--split:hover .opera__half--img img { transform: scale(1.04); }
.opera__half--text {
  padding: clamp(36px,5vw,64px) var(--pad);
  display: flex; flex-direction: column;
  justify-content: center; gap: 14px;
  background: var(--dark);
}
.opera__half--text h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1; letter-spacing: -.01em;
}
.opera__half--text h3 em { color: var(--accent); font-style: italic; }
.opera__half--text p {
  font-size: clamp(14px, 1.4vw, 15px);
  color: rgba(240,237,230,.6);
  line-height: 1.8; font-weight: 300;
}

/* OPERA EDITORIAL — stack su mobile */
.opera--editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
}

.opera__editorial-txt {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(56px,7vw,110px) var(--pad);
  padding-bottom: clamp(40px, 6vw, 80px);
}

@media (min-width: 768px) {
  .opera--editorial {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: clamp(40px,6vw,80px);
  }
}

.opera__editorial-txt h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1; letter-spacing: -.01em;
}
.opera__editorial-txt h3 em { color: var(--accent); font-style: italic; }
.opera__editorial-txt p {
  font-size: clamp(14px, 1.4vw, 15px);
  color: rgba(240,237,230,.6);
  line-height: 1.8; font-weight: 300;
}
.opera__editorial-img {
  overflow: hidden;
  aspect-ratio: 1280 / 679;
  margin-top: 32px;
}
@media (min-width: 768px) { .opera__editorial-img { margin-top: 0; } }
.opera__editorial-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(1.25) contrast(1.05);
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}
.opera--editorial:hover .opera__editorial-img img { transform: scale(1.04); }

/* OPERA DARK */
.opera--dark { background: var(--dark); border-top: 1px solid var(--border); }
.opera__dark-inner {
  display: grid;
  grid-template-columns: 1fr;
}

.opera__dark-text h3 em { color: var(--accent); font-style: italic; }
@media (min-width: 640px) {
  .opera__dark-inner { grid-template-columns: 1fr 1fr; }
}

.opera__dark-text {
  padding: clamp(36px,5vw,56px) var(--pad);
  display: flex; flex-direction: column;
  justify-content: center; gap: 14px;
}
.opera__dark-text h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1; letter-spacing: -.01em;
}
.opera__dark-text p {
  font-size: clamp(14px,1.4vw,15px);
  color: rgba(240,237,230,.6);
  line-height: 1.8; font-weight: 300;
}

/* ============================================
   METODO
   ============================================ */
.s-metodo {
  padding: clamp(72px,10vw,140px) var(--pad);
  border-top: 1px solid var(--border);
  background: var(--dark);
}
.s-metodo__num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .2em; color: var(--accent); margin-bottom: 40px;
}
.s-metodo__inner { max-width: var(--max); margin: 0 auto; }
.s-metodo__title {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 100px);
  line-height: .93; letter-spacing: -.01em;
  margin-bottom: clamp(48px,6vw,88px);
}
.s-metodo__title em { color: var(--accent); font-style: italic; }

.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: clamp(16px, 2.5vw, 40px);
  align-items: start;
  padding: clamp(24px, 3vw, 44px) 0;
  border-top: 1px solid var(--border);
  transition: border-color .3s;
}
.step:last-of-type { border-bottom: 1px solid var(--border); }
.step__n {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .1em; color: var(--accent);
  padding-top: 3px;
}
.step__body h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2.8vw, 36px);
  letter-spacing: -.01em; margin-bottom: 12px; line-height: 1;
}
.step__body p {
  font-size: clamp(14px, 1.4vw, 15px);
  color: rgba(240,237,230,.55);
  line-height: 1.85; font-weight: 300;
}

.s-metodo__quote {
  margin-top: clamp(48px,6vw,88px);
  padding: clamp(32px,4vw,56px);
  border: 1px solid var(--border);
  position: relative;
}
.s-metodo__quote::before {
  content: '"';
  position: absolute;
  top: -.25em; left: clamp(20px,3.5vw,44px);
  font-family: var(--display);
  font-size: clamp(60px, 8vw, 120px);
  color: var(--accent);
  line-height: 1;
  pointer-events: none;
}
.s-metodo__quote blockquote {
  font-size: clamp(16px, 2vw, 22px);
  font-style: italic; font-weight: 300;
  line-height: 1.7;
  color: rgba(240,237,230,.75);
  padding-top: 20px;
}

/* ============================================
   CONTATTO
   ============================================ */
.s-contatto {
  padding: clamp(72px,10vw,140px) var(--pad);
  border-top: 1px solid var(--border);
}
.s-contatto__num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .2em; color: var(--accent); margin-bottom: 40px;
}
.s-contatto__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 768px) {
  .s-contatto__inner { grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
}
.s-contatto__title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: .93; letter-spacing: -.01em;
  margin-bottom: 24px;
}
.s-contatto__title em { color: var(--accent); font-style: italic; }
.s-contatto__left > p {
  font-size: clamp(14px, 1.4vw, 15px);
  color: rgba(240,237,230,.55);
  font-weight: 300; line-height: 1.8; margin-bottom: 36px;
}

.c-links { display: flex; flex-direction: column; gap: 14px; }
.c-link {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 13px;
  color: rgba(240,237,230,.5); text-decoration: none;
  transition: color .25s;
}
.c-link:hover { color: var(--accent); }
.c-link__icon {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: center; font-size: 13px;
  transition: border-color .3s;
  flex-shrink: 0;
}
.c-link:hover .c-link__icon { border-color: var(--accent); }

/* FORM */
.c-form { display: flex; flex-direction: column; gap: 20px; }
.fg { position: relative; }
.fg input, .fg select, .fg textarea {
  width: 100%; background: transparent;
  border: none; border-bottom: 1px solid var(--border);
  color: var(--white); font-family: var(--body);
  font-size: 15px; font-weight: 300;
  padding: 16px 0 10px; outline: none; resize: vertical;
  transition: border-color .3s;
  -webkit-appearance: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--accent); }
.fg label {
  position: absolute; top: 16px; left: 0;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--mid); pointer-events: none;
  transition: top .25s, font-size .25s, color .25s;
}
.fg input:not(:placeholder-shown) ~ label,
.fg input:focus ~ label,
.fg textarea:not(:placeholder-shown) ~ label,
.fg textarea:focus ~ label { top: -2px; font-size: 9px; color: var(--accent); }
.fg--sel select { cursor: pointer; appearance: none; }
.fg--sel select option { background: var(--dark); color: var(--white); }

.c-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: var(--accent); color: var(--black);
  border: none; font-family: var(--mono);
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: 18px 22px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .25s; -webkit-appearance: none;
  min-height: 56px;
}
.c-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--white);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.77,0,.175,1);
}
.c-btn:hover::before { transform: scaleX(1); }
.c-btn:hover { transform: translateY(-2px); }
.c-btn > * { position: relative; z-index: 1; }

.c-ok {
  display: none; padding: 14px 18px;
  border: 1px solid var(--accent);
  background: rgba(200,255,0,.06);
  color: var(--accent); font-family: var(--mono);
  font-size: 11px; letter-spacing: .08em; text-align: center;
}
.c-ok.show { display: block; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: clamp(36px,5vw,56px) var(--pad);
}
.footer__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 12px; text-align: center;
}
.footer__logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .7;
  margin-bottom: 4px;
}
.footer__logo {
  font-family: var(--display);
  font-size: clamp(18px, 2.5vw, 24px);
  letter-spacing: .08em;
}
.footer__claim {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--mid);
}
.footer__copy { font-size: 10px; color: rgba(240,237,230,.2); font-family: var(--mono); }

/* ============================================
   REVEAL
   ============================================ */
.rev {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}
.rev.in { opacity: 1; transform: none; }
.rev-d1 { transition-delay: .12s; }
.rev-d2 { transition-delay: .24s; }
.rev-d3 { transition-delay: .36s; }

/* ============================================
   MOBILE — nav overlay + fix generali
   ============================================ */
@media (max-width: 767px) {

  .nav__burger { display: flex; }
  .nav { z-index: 9001 !important; }
  .nav__burger { z-index: 9002 !important; }

  /* overlay menu mobile */
  .nav__links {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: var(--black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    transform: translateX(100%);
    transition: transform .5s cubic-bezier(.77,0,.175,1);
    z-index: 9000 !important;
  }
  .nav__links.open { transform: translateX(0) !important; }
  .nav__links a {
    font-size: 14px;
    opacity: 1;
  }

  /* hero su mobile: titolo non deve uscire */
  .s-hero__content {
    padding-top: clamp(80px, 14vh, 120px);
    padding-bottom: clamp(80px, 12vh, 120px);
  }

  /* scroll label nascosto su mobile piccolo */
  .s-hero__scroll-label { display: none; }

  /* hero bottom in colonna su mobile */
  .s-hero__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  /* form full width */
  .c-form { gap: 24px; }

  /* quote più compatta */
  .s-metodo__quote::before { display: none; }
  .s-metodo__quote blockquote { padding-top: 0; }
}

@media (max-width: 480px) {
  /* titolo hero ancora più controllato su schermi piccoli */
  .s-hero__title {
    font-size: clamp(48px, min(13vw, 13vh), 90px);
  }
}

/* footer logo img */
.footer__logo-img img {
  height: 44px; width: auto;
  filter: none;
  opacity: 1;
}
.footer__ig {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  transition: opacity .25s;
}
.footer__ig:hover { opacity: .7; }

/* ============================================
   LOGO FIXES
   ============================================ */
.nav__logo img {
  height: 40px;
  width: auto;
  /* logo-lime.png — già lime, nessun filtro */
  filter: none;
  transition: opacity .3s;
}
.nav__logo:hover img { opacity: .75; }

/* ============================================
   HERO FIX — testo non più troppo in basso
   ============================================ */
.s-hero {
  justify-content: center !important;
}
.s-hero__content {
  /* centrato verticalmente con padding per nav e per label scroll */
  padding-top: clamp(80px, 14vh, 140px) !important;
  padding-bottom: clamp(60px, 8vh, 100px) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Overlay più denso in alto — protegge leggibilità titolo */
.s-hero__img-overlay {
  
}

/* ============================================
   PLACEHOLDER GENERATIVI — opere
   ============================================ */
.opera__gen {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.opera__gen--2,
.opera__gen--3 {
  position: relative;
  width: 100%;
  height: 100%;
}
.gen-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
/* Cover sopra il canvas nella full */
.opera--full .opera__img-cover {
  z-index: 1;
}
.opera--full .opera__caption {
  z-index: 2;
}

.opera__caption h3 em { color: var(--accent); font-style: italic; }

/* ============================================
   CHI SONO
   ============================================ */
.s-chi {
  padding: clamp(32px,4vw,48px) var(--pad) clamp(48px,6vw,80px);
  border-top: 1px solid var(--border);
}
.s-chi__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 768px) {
  .s-chi__inner {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
  }
}

.s-chi__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--accent);
  display: block;
  margin-bottom: 28px;
}

/* Contenitore foto */
.s-chi__photo-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  max-width: 400px;
}
.s-chi__photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}
.s-chi__photo-wrap:hover img { transform: scale(1.03); }

/* Placeholder foto — canvas animato finché non c'è la foto */
.s-chi__photo-placeholder {
  width: 100%; height: 100%;
  position: relative;
  background: var(--dark);
  aspect-ratio: 3/4;
}
.s-chi__photo-placeholder canvas {
  width: 100%; height: 100%;
  display: block;
}
.s-chi__photo-label {
  position: absolute;
  bottom: 20px; left: 0; right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(240,237,230,.3);
}

/* Bordo lime decorativo sulla foto */
.s-chi__photo-wrap::after,
.s-chi__photo-placeholder::after {
  content: '';
  display: none;
  position: absolute;
  bottom: -12px; right: -12px;
  width: 60%; height: 60%;
  border: 1px solid rgba(200,255,0,.25);
  pointer-events: none;
  z-index: 1;
}

.s-chi__title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: .93;
  letter-spacing: -.01em;
  margin-bottom: 28px;
}
.s-chi__title em { color: var(--accent); font-style: italic; }

.s-chi__right p {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(240,237,230,.6);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 20px;
}
.s-chi__right p strong { color: var(--white); font-weight: 400; }
.s-chi__right .arr-link { margin-top: 16px; }

/* ============================================
   SOCIAL ICONS — contatto
   ============================================ */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.si {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  color: var(--mid);
  text-decoration: none;
  transition: color .3s, border-color .3s, transform .3s;
  flex-shrink: 0;
}
.si svg {
  width: 18px;
  height: 18px;
}
.si:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ============================================
   PARTNER STRIP — cinematica, senza sfondo
   ============================================ */
.partners {
  /* Nessun background — trasparente sul nero del body */
  padding: clamp(32px, 5vw, 56px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

/* Fade sui bordi — effetto cinematico */
.partners::before,
.partners::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(60px, 10vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.partners::before {
  left: 0;
  background: linear-gradient(to right, var(--black), transparent);
}
.partners::after {
  right: 0;
  background: linear-gradient(to left, var(--black), transparent);
}

.partners__track-wrap {
  overflow: hidden;
  width: 100%;
}

.partners__track {
  display: flex;
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  width: max-content;
  animation: partnerScroll 28s linear infinite;
}

.partners__track:hover {
  animation-play-state: paused;
}

@keyframes partnerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Singolo partner */
.partner {
  display: flex;
  align-items: center;
  color: rgba(200, 255, 0, 0.25);
  text-decoration: none;
  flex-shrink: 0;
  transition: color .4s ease;
}

.partner:hover {
  color: rgba(200, 255, 0, 0.85);   /* lime pieno all'hover */
}

.partner__logo {
  height: 28px;
  width: auto;
  display: block;
}

/* Se userai img PNG reali invece degli SVG: */
.partner img {
  height: 130px;
  width: auto;
  display: block;
  /* PNG già lime con trasparenza — zero filtri */
  filter: none;
  opacity: .3;
  transition: opacity .4s ease;
}
.partner:hover img {
  opacity: 1;
}

/* Partner img reale — altezza maggiore per loghi figurativi */
.partner__img {
  height: px;
  width: auto;
  display: block;
  filter: none;
  opacity: .28;
  transition: opacity .4s ease;
}
.partner:hover .partner__img {
  opacity: .9;
}

.nav.solid {
  background: rgba(8,8,8,.5);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240,237,230,.06);
}

@media (max-width: 639px) {
  .opera--split {
    display: flex;
    flex-direction: column;
  }
  .opera__half--img {
    min-height: 260px;
  }
  .opera__half--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .opera__half--text {
    padding: 32px 20px;
  }
}

/* Togli la vecchia regola alle righe 585-589 e quella a 1213-1216,
   e usa solo questa: */

.opera__dark-visual {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  /* niente min-height fissa, niente aspect-ratio: ci pensa l'img */
}

.opera__dark-visual img {
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}
.opera--dark:hover .opera__dark-visual img { transform: scale(1.04); }

.opera__screenshot {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(1.25) contrast(1.05);
}