/* ============================================================
   NEMO HUB — Editorial Burgundy · v3 (bold, animated, legible)
   Light editorial base · dark statement breaks · GSAP motion.
   ============================================================ */

:root {
  --bg:          #f4efe6;   /* avorio caldo */
  --bg-2:        #ece2d2;   /* avorio più caldo (sezioni alternate) */
  --surface:     #fbf8f1;   /* carta chiara */
  --ink-block:   #140709;   /* blocco scuro vinaccia */
  --ink-block-2: #240d12;

  --ink:         #19090d;   /* quasi-nero vinaccia */
  --ink-soft:    #4a2f34;   /* corpo secondario */
  --mute:        #6e545a;   /* label */

  --accent:      #7a2335;   /* BURGUNDY */
  --accent-2:    #a82a41;   /* wine acceso */
  --accent-soft: rgba(122,35,53,0.08);
  --gold:        #c89a4e;   /* oro caldo (su scuro) */

  --line:        rgba(25,9,13,0.14);
  --line-strong: rgba(25,9,13,0.30);

  --sans:     "Space Grotesk", "Helvetica Neue", sans-serif;
  --sans-alt: "Inter", "Helvetica Neue", sans-serif;
  --serif:    "Fraunces", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --gutter: clamp(20px, 5vw, 76px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans-alt);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 80% 6%, rgba(122,35,53,0.09), transparent 70%),
    radial-gradient(55% 50% at 4% 96%, rgba(168,42,65,0.06), transparent 70%);
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { cursor: pointer; font: inherit; color: inherit; background: none; border: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---- animation primitives (hidden only when JS is active) ---- */
.has-js .reveal { opacity: 0; }
.anim-lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.anim-lines .line-inner { display: block; }
.has-js .anim-lines .line-inner { opacity: 0; }
.has-js .anim-words .word { opacity: 0.18; }
.anim-words .word { transition: none; }

/* Animazioni forzate su tutti i device: prefers-reduced-motion ignorato (scelta cliente). */

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 200;
}

/* ============================================================
   CUSTOM CURSOR (desktop only)
   ============================================================ */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  z-index: 9999; pointer-events: none;
  display: none;
  mix-blend-mode: multiply;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease);
}
body.has-cursor .cursor { display: block; }
body.has-cursor a, body.has-cursor button,
body.has-cursor [data-cursor] { cursor: none; }
.cursor.grow {
  width: 84px; height: 84px;
  background: rgba(122,35,53,0.12);
  border: 1px solid var(--accent);
  mix-blend-mode: normal;
}
.cursor::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
  opacity: 0;
}
.cursor.labeled::after { opacity: 1; }

/* ============================================================
   PRELOADER / INTRO
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
}
body.loaded .preloader { display: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.preloader-mono { width: clamp(110px, 16vw, 190px); height: auto; }
.preloader-bar {
  width: clamp(160px, 24vw, 260px); height: 2px;
  background: var(--line); overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
}
.preloader-pct {
  position: absolute; bottom: 32px; right: var(--gutter);
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.1em; color: var(--mute);
}
.preloader-pct b { color: var(--accent); font-weight: 700; }
.preloader-pct i { font-style: normal; }
/* preloader sempre visibile (reduced-motion ignorato) */

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  background: rgba(244,239,230,0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; padding: 0 var(--gutter); height: 66px; gap: 32px;
}
.topbar-brand {
  font-family: var(--sans); font-weight: 700; font-size: 14px;
  letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap;
}
.topbar-brand span { color: var(--accent); }
.topbar-nav { display: flex; gap: 4px; justify-content: center; }
.topbar-nav a {
  font-family: var(--sans-alt); font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 999px; position: relative;
  transition: color 0.3s var(--ease);
}
.topbar-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.topbar-nav a:hover { color: var(--ink); }
.topbar-nav a:hover::after, .topbar-nav a.active::after { transform: scaleX(1); }
.topbar-nav a.active { color: var(--accent); }
.topbar-cta {
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 11px 20px; background: var(--ink); color: var(--bg) !important;
  border-radius: 999px; white-space: nowrap;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.topbar-cta:hover { background: var(--accent); transform: translateY(-2px); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 66px 0 0 0; z-index: 140;
  background: var(--bg); border-top: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 24px var(--gutter) 40px; gap: 4px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--sans); font-weight: 500; font-size: clamp(26px, 8vw, 40px);
  letter-spacing: -0.02em; color: var(--ink); padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a .idx { font-size: 13px; color: var(--mute); font-family: var(--sans-alt); letter-spacing: 0.1em; }
.mobile-menu a.active { color: var(--accent); }
.mobile-menu .mm-cta { margin-top: 24px; background: var(--accent); color: #fff; justify-content: center; border-radius: 999px; border: none; font-size: 18px; padding: 18px; }

/* ============================================================
   HERO — fullscreen video + logo + claim
   ============================================================ */
.hero {
  position: relative; z-index: 3;
  min-height: 100svh;
  padding: 104px var(--gutter) 0;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; overflow: hidden;
  background: var(--ink-block); color: var(--bg);
}
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.5;
  background: var(--ink-block);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16,6,8,0.74) 0%, rgba(16,6,8,0.40) 32%, rgba(16,6,8,0.46) 60%, rgba(16,6,8,0.88) 100%),
    radial-gradient(58% 52% at 50% 44%, rgba(122,35,53,0.30), transparent 64%);
}
.has-js .hero-actions { opacity: 0; }
.hero-actions {
  position: relative; z-index: 2; width: 100%;
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px;
  margin-bottom: clamp(20px, 4vh, 48px);
}
.hero-fab {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
}
.hero-fab-icn {
  width: clamp(44px, 5vw, 56px); height: clamp(44px, 5vw, 56px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(244,239,230,0.10); border: 1px solid rgba(200,154,78,0.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--gold); box-shadow: 0 10px 26px -12px rgba(0,0,0,0.55);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero-fab-icn svg { width: 44%; height: 44%; }
.hero-fab:hover .hero-fab-icn { transform: translateY(-3px) scale(1.06); background: rgba(200,154,78,0.2); border-color: var(--gold); }
.hero-fab-lbl {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; color: rgba(244,239,230,0.78); text-shadow: 0 1px 8px rgba(0,0,0,0.5); white-space: nowrap;
}
@media (max-width: 560px) {
  .hero-fab-lbl { font-size: 9px; }
}

/* ---- Intro splash: big choice, holds, then flies into the small hero-fabs ---- */
.intro-splash {
  position: fixed; inset: 0; z-index: 900; display: none;
  align-items: center; justify-content: center;
}
.has-js .intro-splash { display: flex; }
.intro-splash-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,6,8,0.94) 0%, rgba(16,6,8,0.90) 100%),
    radial-gradient(60% 55% at 50% 40%, rgba(122,35,53,0.35), transparent 70%);
}
.intro-splash-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(28px, 5vw, 52px); padding: 0 24px; text-align: center;
}
.intro-headline {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(22px, 4.2vw, 44px); line-height: 1.18; letter-spacing: -0.02em;
  color: var(--bg); max-width: 16ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.intro-fab-row { display: flex; align-items: flex-start; gap: clamp(28px, 8vw, 96px); }
.intro-fab .hero-fab-icn { width: clamp(64px, 12vw, 132px); height: clamp(64px, 12vw, 132px); }
.intro-fab .hero-fab-lbl { font-size: clamp(11px, 1.8vw, 16px); white-space: normal; max-width: 14ch; }
.hero-content {
  position: relative; z-index: 2; margin: auto 0;
  display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 3.4vh, 44px);
}
.hero-logo-mark {
  width: clamp(94px, 11vw, 150px); height: auto;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,0.55));
}

.hero-title {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(32px, 6vw, 104px); line-height: 0.94; letter-spacing: -0.04em;
  color: var(--bg); max-width: 18ch;
  text-shadow: 0 2px 34px rgba(0,0,0,0.45);
}
.hero-title .thin, .sec-head h2 .thin, .contact-big .thin {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
}
.sec-head h2 .thin { color: var(--accent); }
.hero-title .thin, .contact-big .thin { color: var(--gold); }
.hero-title .thin { display: inline-block; }

.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 28px; border-radius: 999px;
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  transition: transform 0.3s var(--ease), gap 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.hero-cta i { font-style: normal; transition: transform 0.3s var(--ease); }
.hero-cta:hover { transform: translateY(-2px); gap: 18px; background: var(--gold); }
.hero-cta:hover i { transform: translateX(4px); }

/* Marquee strips (hero + reused) */
.hero-marquee {
  position: relative; z-index: 2; width: 100%; margin-top: clamp(18px, 3vh, 36px);
  border-top: 1px solid rgba(244,239,230,0.14); border-bottom: 1px solid rgba(244,239,230,0.14);
  overflow: hidden; padding: 14px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; will-change: transform; }
.marquee-track span {
  font-family: var(--sans); font-weight: 500; font-size: clamp(15px, 2vw, 22px);
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--bg); white-space: nowrap; padding-right: 0.4em;
}
.marquee-track b { color: var(--gold); padding: 0 0.35em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; z-index: 3; }
.sec { padding: clamp(80px, 12vw, 180px) var(--gutter); position: relative; background: var(--bg); }
.sec.theme-warm { background: var(--bg-2); }
.sec.theme-cream { background: var(--bg); }
.sec.theme-accent { background: var(--surface); }

/* Dark vinaccia sections with burgundy reflections (alternating rhythm) */
.sec.theme-dark { background: var(--ink-block); color: var(--bg); overflow: hidden; isolation: isolate; }
.sec.theme-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52% 60% at 84% 6%, rgba(168,42,65,0.30), transparent 70%),
    radial-gradient(50% 62% at 4% 102%, rgba(122,35,53,0.30), transparent 70%);
}
.sec.theme-dark .sec-label { color: rgba(244,239,230,0.7); }
.sec.theme-dark .sec-label::before { background: var(--gold); }
.sec.theme-dark .sec-head-meta p { color: rgba(244,239,230,0.72); }
.sec.theme-dark .sec-head h2 { color: var(--bg); }
.sec.theme-dark .sec-head h2 .thin { color: var(--gold); }
.sec.theme-dark .map-copy .lead { color: var(--bg); }
.sec.theme-dark .map-copy p { color: rgba(244,239,230,0.8); }
.sec.theme-dark .regions-chips span { color: var(--bg); border-color: rgba(244,239,230,0.3); }
.sec.theme-dark .regions-chips span:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.sec.theme-dark .italy-solid { filter: drop-shadow(0 24px 50px rgba(0,0,0,0.55)); }

.sec-head {
  display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 56px);
  margin: 0 auto clamp(56px, 8vw, 110px); align-items: end; max-width: 1640px;
}
.sec-head-meta { padding-bottom: 10px; }
.sec-label {
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--mute);
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 600;
}
.sec-label::before { content: ""; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.sec-head-meta p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; max-width: 220px; }
.sec-head h2 {
  font-family: var(--sans); font-weight: 600; font-size: clamp(48px, 9vw, 138px);
  line-height: 0.86; letter-spacing: -0.04em; color: var(--ink);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 90px); max-width: 1640px; margin: 0 auto; }
.about-body p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.about-body .lead { font-family: var(--sans); font-weight: 500; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.28; color: var(--ink); letter-spacing: -0.015em; }
.about-body p + p { margin-top: 20px; }
.about-stats { margin: clamp(56px, 8vw, 100px) auto 0; max-width: 1640px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.about-stats .cell { padding: clamp(40px, 5vw, 60px) 28px 0 clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); }
.about-stats .cell:first-child { padding-left: 0; }
.about-stats .cell:last-child { border-right: none; }
.about-stats .num { font-family: var(--sans); font-weight: 600; font-size: clamp(56px, 10vw, 124px); letter-spacing: -0.04em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.about-stats .lbl { font-size: 11px; letter-spacing: 0.2em; color: var(--mute); text-transform: uppercase; margin-top: 14px; font-weight: 600; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-lead {
  font-family: var(--sans); font-weight: 500; font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.35; letter-spacing: -0.01em; color: var(--ink);
  max-width: 1640px; margin: 0 auto clamp(36px, 5vw, 56px);
}
.svc-list { max-width: 1640px; margin: 0 auto; border-top: 1px solid var(--line-strong); }
.svc-row {
  display: grid; grid-template-columns: 72px 1.5fr 2fr 60px; gap: clamp(16px, 3vw, 44px);
  padding: clamp(22px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: center;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease); position: relative;
}
.svc-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease); }
.svc-row:hover { padding-left: 24px; background: var(--accent-soft); }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row:hover .svc-title { color: var(--accent); }
.svc-row:hover .svc-arrow { transform: translateX(8px); color: var(--accent); }
.svc-num { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0.05em; color: var(--accent); }
.svc-title { font-family: var(--sans); font-weight: 500; font-size: clamp(22px, 3vw, 38px); line-height: 1.05; letter-spacing: -0.025em; color: var(--ink); transition: color 0.3s var(--ease); }
.svc-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.6; max-width: 560px; }
.svc-arrow { justify-self: end; font-size: 28px; color: var(--ink); transition: transform 0.4s var(--ease), color 0.3s var(--ease); }
/* Altri servizi — horizontal slider */
.svc-extra { max-width: 1640px; margin: clamp(48px, 7vw, 90px) auto 0; }
.svc-extra-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; margin-bottom: 26px; border-top: 1px solid var(--line);
}
.svc-extra-head .k { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.svc-extra-nav { display: flex; gap: 10px; }
.svc-extra-nav button {
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 18px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.svc-extra-nav button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.svc-extra-nav button:disabled { opacity: 0.3; pointer-events: none; }
.svc-extra-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: none; -ms-overflow-style: none;
}
.svc-extra-track::-webkit-scrollbar { display: none; }
.svc-card {
  flex: 0 0 clamp(258px, 32vw, 372px); scroll-snap-align: start;
  background: rgba(122,35,53,0.08); border: 1px solid rgba(122,35,53,0.22); border-radius: 2px;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 12px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.svc-card:hover { background: rgba(122,35,53,0.15); border-color: rgba(122,35,53,0.45); transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(122,35,53,0.5); }
.svc-card-num { font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 0.05em; color: var(--accent); }
.svc-card h4 { font-family: var(--sans); font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; color: var(--ink); }
.svc-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ============================================================
   MANIFESTO — dark statement break, word-by-word reveal
   ============================================================ */
.manifesto {
  position: relative; z-index: 3; overflow: hidden;
  background: var(--ink-block); color: var(--bg);
  padding: clamp(96px, 16vw, 220px) var(--gutter);
}
.manifesto::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 60% at 80% 10%, rgba(168,42,65,0.30), transparent 70%),
              radial-gradient(50% 60% at 10% 100%, rgba(122,35,53,0.28), transparent 70%);
}
.manifesto-mono { position: absolute; top: 50%; left: 50%; width: min(60vw, 520px); max-height: 80%; height: auto; object-fit: contain; transform: translate(-50%, -50%); opacity: 0.06; z-index: 0; pointer-events: none; }
.manifesto-inner { position: relative; z-index: 2; max-width: 1500px; margin: 0 auto; }
.manifesto-kicker { font-family: var(--sans); font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: clamp(28px, 4vw, 48px); }
.manifesto-quote {
  font-family: var(--sans); font-weight: 500; font-size: clamp(28px, 5vw, 80px);
  line-height: 1.08; letter-spacing: -0.03em; color: var(--bg); max-width: 16ch;
}
.manifesto-quote .word { display: inline-block; }
.manifesto-foot {
  display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: clamp(40px, 6vw, 72px);
  padding-top: 28px; border-top: 1px solid rgba(244,239,230,0.2);
}
.manifesto-foot span {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500; color: var(--bg); padding: 9px 16px; border: 1px solid rgba(244,239,230,0.28); border-radius: 999px;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cases { max-width: 1640px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(72px, 11vw, 150px); }
.case { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.case.flip { grid-template-columns: 1.15fr 1fr; }
.case.flip .case-visual { order: 2; }
.case-visual { aspect-ratio: 4 / 5; background: var(--ink); position: relative; overflow: hidden; border-radius: 6px; box-shadow: 0 30px 60px -34px rgba(25,9,13,0.5); }
.case-visual.v-warm { background: var(--accent-2); }
.case-visual.v-accent { background: var(--accent); }
.case-visual.v-light { background: var(--bg-2); }
.case-photo { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; z-index: 0; }
.case-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,7,9,0.34)); pointer-events: none; z-index: 1; }
.case-visual-meta { position: absolute; top: 20px; left: 20px; right: 20px; z-index: 2; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.case-visual.v-light .case-visual-meta { color: var(--mute); }
.case-visual-center { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; text-align: center; }
.case-visual-center .label { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 18px; }
.case-visual-center h5 { font-family: var(--sans); font-weight: 600; font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -0.03em; line-height: 0.95; color: #fff; }
.case-visual.v-light .case-visual-center h5 { color: var(--ink); }
.case-visual.v-light .case-visual-center .label { color: var(--mute); }
.case-visual-footer { position: absolute; bottom: 20px; left: 20px; right: 20px; z-index: 2; display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.case-visual.v-light .case-visual-footer { color: var(--mute); }
.case-info .tags { display: flex; flex-wrap: wrap; gap: 12px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); margin-bottom: 26px; font-weight: 600; }
.case-info .tags span.primary { color: var(--accent); }
.case-info h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(34px, 5.4vw, 74px); letter-spacing: -0.035em; line-height: 0.96; color: var(--ink); margin-bottom: 26px; }
.case-info h3 .thin { font-weight: 300; font-style: italic; color: var(--mute); }
.case-info p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 16px; max-width: 560px; }
.case-meta { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 560px; }
.case-meta .k { font-size: 9px; letter-spacing: 0.2em; color: var(--mute); text-transform: uppercase; margin-bottom: 7px; font-weight: 600; }
.case-meta .v { font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--ink); }
/* Section 04 — all texts bumped ~2px */
#case .sec-label { font-size: 12px; }
#case .sec-head-meta p { font-size: 15px; }
#case .case-info .tags { font-size: 12px; }
#case .case-info h3 { font-size: clamp(36px, 5.6vw, 76px); }
#case .case-info p { font-size: 17px; line-height: 1.62; }
#case .case-meta .k { font-size: 11px; }
#case .case-meta .v { font-size: 16px; }

/* ============================================================
   TERRITORY
   ============================================================ */
.map-wrap { max-width: 1640px; margin: 0 auto; display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.map-copy .lead { font-family: var(--sans); font-weight: 500; font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); margin-bottom: 22px; }
.map-copy p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 540px; }
.regions-chips { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 9px; }
.regions-chips span { font-size: 11px; letter-spacing: 0.12em; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); text-transform: uppercase; font-weight: 500; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.regions-chips span:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.italy-map { position: relative; aspect-ratio: 3839 / 4813; width: 82%; max-width: 480px; margin: 0 auto; }
.italy-solid {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, var(--accent-2), var(--accent));
  -webkit-mask-image: url("assets/italy-pin.png"); mask-image: url("assets/italy-pin.png");
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  filter: drop-shadow(0 24px 40px rgba(122,35,53,0.4));
}
/* Gold diffusion overlay — clipped by the Italy silhouette */
.italy-gold {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: url("assets/italy-pin.png"); mask-image: url("assets/italy-pin.png");
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.italy-blob {
  position: absolute; left: 16%; top: 20%; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,172,92,0.98), rgba(200,154,78,0.55) 55%, rgba(200,154,78,0) 72%);
  transform: scale(0); will-change: transform;
}
.italy-link { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.italy-link path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* base trail — draws itself once, then stays as a faint guide */
.italy-link .line-base {
  stroke: var(--gold); stroke-width: 0.8; opacity: 0.45;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
/* flowing comet — a bright dash that travels Sanremo→Milano on a loop */
.italy-link .line-flow {
  stroke: var(--gold); stroke-width: 1.5;
  filter: drop-shadow(0 0 3px rgba(216,172,92,1));
  stroke-dasharray: 0.14 0.86; stroke-dashoffset: 1; opacity: 0;
}
.italy-link.flowing .line-flow { opacity: 1; animation: lineflow 2.4s linear infinite; }
@keyframes lineflow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* line-flow sempre animata (reduced-motion ignorato) */
.map-pin { position: absolute; transform: translate(-50%, -50%); z-index: 3; }
.map-pin .dot {
  display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--gold);
  transform: scale(0); box-shadow: 0 0 8px 1px rgba(200,154,78,0.85);
}
.map-pin.on .dot { transform: scale(1); animation: pingPulse 2.2s ease-out infinite; }
@keyframes pingPulse {
  0% { box-shadow: 0 0 8px 1px rgba(200,154,78,0.8), 0 0 0 0 rgba(200,154,78,0.5); }
  70% { box-shadow: 0 0 8px 1px rgba(200,154,78,0.6), 0 0 0 16px rgba(200,154,78,0); }
  100% { box-shadow: 0 0 8px 1px rgba(200,154,78,0.8), 0 0 0 0 rgba(200,154,78,0); }
}
.map-pin .lbl {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  white-space: nowrap; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; color: var(--bg); opacity: 0;
  padding: 4px 9px; background: rgba(20,7,9,0.72); border: 1px solid rgba(200,154,78,0.45);
  border-radius: 7px;
}
/* Territory: tighten title→content gap on desktop */
#dove .sec-head { margin-bottom: clamp(28px, 4vw, 52px); }
#dove .map-wrap { align-items: start; }

/* ============================================================
   CLIENTS — dual marquee
   ============================================================ */
.clients-sec .sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.logo-marquee { display: flex; flex-direction: column; gap: 18px; }
.logo-row { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.logo-track { display: flex; width: max-content; align-items: center; gap: clamp(28px, 5vw, 72px); animation: logoscroll 48s linear infinite; will-change: transform; }
.logo-row.reverse .logo-track { animation-name: logoscroll-rev; animation-duration: 40s; }
.logo-row:hover .logo-track { animation-play-state: paused; }
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes logoscroll-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.logo-cell { flex: 0 0 auto; width: clamp(120px, 14vw, 180px); height: clamp(58px, 8vw, 84px); display: flex; align-items: center; justify-content: center; }
.logo-color { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1) opacity(0.55); transition: filter 0.35s var(--ease), transform 0.35s var(--ease); }
.logo-cell:hover .logo-color { filter: grayscale(0) opacity(1); transform: scale(1.08); }

/* ============================================================
   CONTACT / FOOTER — dark statement block
   ============================================================ */
.contact-wrap {
  position: relative; z-index: 3; overflow: hidden;
  min-height: 86vh; padding: clamp(80px, 12vw, 160px) var(--gutter) 48px;
  background: var(--ink-block); color: var(--bg);
}
.contact-wrap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 85% 0%, rgba(168,42,65,0.32), transparent 70%),
              radial-gradient(50% 60% at 0% 100%, rgba(122,35,53,0.3), transparent 70%);
}
.contact-mono { position: absolute; bottom: -12%; right: -6%; width: min(56vw, 620px); height: auto; opacity: 0.06; z-index: 0; pointer-events: none; }
.contact-wrap > *:not(.contact-mono) { position: relative; z-index: 2; max-width: 1640px; margin-left: auto; margin-right: auto; }
.contact-wrap .sec-label { color: rgba(244,239,230,0.7); }
.contact-wrap .sec-label::before { background: var(--gold); }
.contact-big {
  font-family: var(--sans); font-weight: 600; font-size: clamp(34px, 6vw, 96px);
  line-height: 1.0; letter-spacing: -0.035em; color: var(--bg); max-width: 1300px; margin-top: 28px;
}
.contact-big .thin { color: var(--gold); }
.contact-big a { color: #fff; border-bottom: 3px solid var(--accent-2); transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.contact-big a:hover { color: var(--gold); border-color: var(--gold); }
.contact-grid { margin-top: clamp(56px, 8vw, 90px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 28px; border-top: 1px solid rgba(244,239,230,0.18); }
.contact-grid .k { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 600; }
.contact-grid .v { font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--bg); line-height: 1.45; }
.footer-bottom { margin-top: clamp(56px, 8vw, 90px); padding-top: 26px; border-top: 1px solid rgba(244,239,230,0.18); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 10px; letter-spacing: 0.2em; color: rgba(244,239,230,0.6); text-transform: uppercase; }
.footer-legal { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 11px; letter-spacing: 0.06em; }
.footer-legal a, .footer-legal button { color: rgba(244,239,230,0.7); font-family: var(--sans-alt); font-size: 11px; transition: color 0.25s var(--ease); border-bottom: 1px solid transparent; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--gold); border-bottom-color: rgba(200,154,78,0.5); }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks { position: fixed; bottom: 20px; right: 20px; z-index: 500; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 16px; min-width: 240px; font-family: var(--sans-alt); font-size: 12px; display: none; box-shadow: 0 24px 48px rgba(25,9,13,0.18); }
.tweaks.show { display: block; }
.tweaks h5 { color: var(--ink); font-family: var(--sans); font-weight: 600; margin-bottom: 14px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.tweaks label { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; color: var(--ink); gap: 10px; }
.tweaks input[type="color"] { border: none; width: 36px; height: 24px; padding: 0; background: none; }

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cc-root { position: fixed; inset: 0; z-index: 1100; pointer-events: none; }
.cc-root:has(.cc-panel)::before {
  content: ""; position: fixed; inset: 0; background: rgba(8,3,5,0.6);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); pointer-events: auto;
}
.cc-banner, .cc-panel { pointer-events: auto; }
.cc-banner {
  position: fixed; left: clamp(12px,3vw,24px); right: clamp(12px,3vw,24px); bottom: clamp(12px,3vw,24px);
  max-width: 720px; background: var(--ink-block); color: var(--bg);
  border: 1px solid rgba(244,239,230,0.2); border-radius: 12px;
  padding: clamp(18px,3vw,26px); box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6);
  display: grid; gap: 18px;
}
.cc-title { font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.cc-body .cc-title { margin-bottom: 8px; }
.cc-body p { font-size: 13.5px; line-height: 1.6; color: rgba(244,239,230,0.82); }
.cc-body a, .cc-panel-head a { color: var(--gold); border-bottom: 1px solid rgba(200,154,78,0.5); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-btn {
  flex: 1 1 auto; min-width: 120px; min-height: 44px; padding: 11px 18px;
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  border: 1px solid rgba(244,239,230,0.5); border-radius: 999px;
  background: transparent; color: var(--bg);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cc-btn:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cc-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.cc-panel {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(92vw, 560px); max-height: 86vh; overflow-y: auto;
  background: var(--ink-block); color: var(--bg);
  border: 1px solid rgba(244,239,230,0.2); border-radius: 14px;
  padding: clamp(20px,3vw,30px); box-shadow: 0 40px 90px -20px rgba(0,0,0,0.7);
}
.cc-panel-head .cc-title { margin-bottom: 8px; }
.cc-panel-head p { font-size: 13.5px; color: rgba(244,239,230,0.8); line-height: 1.6; }
.cc-cats { margin: 22px 0; display: grid; gap: 14px; }
.cc-cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid rgba(244,239,230,0.18); border-radius: 10px; }
.cc-cat-name { font-family: var(--sans); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cc-tag { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(200,154,78,0.5); border-radius: 999px; padding: 2px 8px; font-weight: 500; }
.cc-cat-text p { font-size: 12.5px; color: rgba(244,239,230,0.72); line-height: 1.55; }
.cc-switch { width: 44px; height: 26px; flex: 0 0 auto; -webkit-appearance: none; appearance: none; background: rgba(244,239,230,0.22); border-radius: 999px; position: relative; cursor: pointer; transition: background 0.25s var(--ease); margin-top: 2px; }
.cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); transition: transform 0.25s var(--ease); }
.cc-switch:checked { background: var(--gold); }
.cc-switch:checked::after { transform: translateX(18px); }
.cc-switch:disabled { opacity: 0.55; cursor: not-allowed; }
@media (max-width: 560px) { .cc-actions { flex-direction: column; } .cc-btn { width: 100%; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-logo { width: min(64vw, 360px); }
  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .sec-head-meta { order: -1; }
  .about-body { grid-template-columns: 1fr; }
  .map-wrap { grid-template-columns: 1fr; gap: 36px; }
  .italy-map { width: 90%; max-width: 540px; margin: 8px auto 0; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar { grid-template-columns: 1fr auto; height: 60px; }
  .topbar-nav, .topbar-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { inset: 60px 0 0 0; }
  .cursor { display: none !important; }

  .hero { padding-top: 84px; padding-bottom: 28px; }
  .hero-logo { width: 74vw; }
  .hero-title { font-size: clamp(27px, 8.2vw, 52px); }
  .svc-row { grid-template-columns: 46px 1fr; grid-template-areas: "num title" "desc desc"; gap: 6px 14px; align-items: baseline; }
  .svc-row .svc-num { grid-area: num; }
  .svc-row .svc-title { grid-area: title; }
  .svc-row .svc-desc { grid-area: desc; margin-top: 8px; }
  .svc-arrow { display: none; }
  .svc-row:hover { padding-left: 12px; }
  .svc-card { flex-basis: 78vw; }
  .case, .case.flip { grid-template-columns: 1fr; gap: 28px; }
  .case.flip .case-visual { order: 0; }
  .case-visual { aspect-ratio: 5 / 4; }
  .logo-cell { width: clamp(104px, 30vw, 150px); height: 60px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .about-stats { grid-template-columns: 1fr; }
  .about-stats .cell { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
  .case-meta { grid-template-columns: 1fr 1fr; }
}
