/* =========================================================
   OBJ Consulting — Design System
   Modern minimal / Tech advisory
   ---------------------------------------------------------
   Per cambiare i colori del brand modifica le variabili in
   :root qui sotto. Tutte le pagine erediteranno le modifiche.
   ========================================================= */

:root {
  /* -------- Brand colors OBJ Consulting -------- */
  --purple:       #3F2D75;   /* viola brand (lettere OBJ del logo) */
  --purple-deep:  #261A4D;   /* viola scuro / sezioni dark */
  --purple-soft:  #5B4595;   /* viola hover / link */
  --purple-tint:  #EFEAFA;   /* viola chiaro per hover sottili */

  --gold:         #BF9842;   /* oro brand (CONSULTING + freccia) */
  --gold-deep:    #9C7A2C;   /* oro scuro */
  --gold-soft:    #D4B061;   /* oro chiaro */
  --gold-tint:    #F7EFD9;   /* oro chiaro tinta cream */

  --ink:          #1A1530;   /* near-black con nuance viola del logo */
  --ink-soft:     #2D2745;   /* testo body scuro */
  --muted:        #6E6685;   /* testo secondario, leggera nuance viola */
  --line:         #E5E1ED;   /* divisori sottili */
  --paper:        #FFFFFF;
  --cream:        #FAF8F2;   /* off-white caldo */
  --cream-deep:   #F2EEE0;

  /* alias retro-compatibili con i file esistenti */
  --accent:       var(--gold);
  --accent-ink:   var(--gold-deep);
  --success:      #1C7A4A;

  /* -------- Type scale -------- */
  --font-display: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-hero:   clamp(3rem, 8vw + 0.5rem, 7.5rem);
  --fs-h1:     clamp(2.5rem, 5vw + 0.5rem, 5rem);
  --fs-h2:     clamp(2rem, 3.5vw + 0.5rem, 3.5rem);
  --fs-h3:     clamp(1.25rem, 1.2vw + 0.75rem, 1.5rem);
  --fs-lead:   clamp(1.1rem, 0.5vw + 1rem, 1.35rem);
  --fs-body:   1rem;
  --fs-small:  0.875rem;
  --fs-xs:     0.75rem;

  /* -------- Spacing -------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* -------- Layout -------- */
  --container: 1240px;
  --container-narrow: 880px;
  --radius: 6px;
  --radius-lg: 12px;

  /* -------- Motion -------- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 600ms;
}

/* =========================================================
   Reset & Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

::selection { background: var(--ink); color: var(--paper); }

/* =========================================================
   Typography
   ========================================================= */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 var(--space-5);
}

h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 60ch;
}

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }

/* =========================================================
   Layout
   ========================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

section { padding: var(--space-8) 0; }
section.compact { padding: var(--space-7) 0; }
section.cream { background: var(--cream); }
section.ink {
  background: var(--purple-deep);
  color: #D5CFEC;
  position: relative;
}
section.ink::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, transparent 0%, rgba(63,45,117,0.4) 100%);
  pointer-events: none;
}

/* Sezione "Come lavoriamo" con foto stock di sfondo (duotone viola) */
section.ink--photo {
  background-image:
    linear-gradient(155deg, rgba(26,21,48,0.94) 0%, rgba(38,26,77,0.88) 50%, rgba(26,21,48,0.96) 100%),
    url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

/* Lifestyle band — banda visiva full-width con persone al lavoro */
.lifestyle-band {
  position: relative;
  height: clamp(280px, 38vw, 520px);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin: 0;
}
.lifestyle-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(38,26,77,0.45) 0%, rgba(38,26,77,0.55) 50%, rgba(38,26,77,0.85) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.lifestyle-band__caption {
  position: absolute;
  bottom: var(--space-7); left: 0; right: 0;
  padding: 0 var(--space-5);
  max-width: var(--container);
  margin: 0 auto;
  color: #fff;
}
.lifestyle-band__caption small {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: var(--space-4);
}
.lifestyle-band__caption small::before {
  content: "";
  width: 28px; height: 1px; background: var(--gold);
}
.lifestyle-band__caption p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.6vw + 0.7rem, 1.9rem);
  letter-spacing: -0.015em;
  line-height: 1.3;
  max-width: 50ch;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

/* Inline photo strip — 3 foto a colonne ravvicinate */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin: var(--space-7) 0;
}
@media (min-width: 720px) { .photo-strip { grid-template-columns: repeat(3, 1fr); } }
.photo-strip__cell {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.photo-strip__cell::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38,26,77,0.10) 0%, rgba(38,26,77,0.30) 45%, rgba(38,26,77,0.85) 100%);
  transition: background 0.4s ease;
}
.photo-strip__cell:hover::after {
  background: linear-gradient(180deg, rgba(38,26,77,0.20) 0%, rgba(38,26,77,0.45) 45%, rgba(38,26,77,0.92) 100%);
}
.photo-strip__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-5);
  z-index: 1;
  color: #fff;
}
.photo-strip__number {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: var(--space-2);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(191, 152, 66, 0.5);
}
.photo-strip__title {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.photo-strip__desc {
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  line-height: 1.45;
  max-width: 32ch;
}
@media (max-width: 720px) {
  .photo-strip__content { padding: var(--space-4); }
  .photo-strip__title { font-size: 1.2rem; }
  .photo-strip__desc { font-size: 0.88rem; }
}
/* Vecchio span lascio per backward compatibility se per qualche motivo torna */
.photo-strip__cell > span {
  position: absolute;
  bottom: var(--space-4); left: var(--space-4); right: var(--space-4);
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 1;
}

/* Photo card per teaser profilo / about */
.photo-card {
  position: relative;
  min-height: 380px;
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(63,45,117,0.55) 0%, rgba(38,26,77,0.85) 100%),
    url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1200&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}
.photo-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.photo-card__caption {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.photo-card__caption small {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: var(--space-3);
}
section.ink > * { position: relative; }
section.ink h1, section.ink h2, section.ink h3 { color: #FFFFFF; }
section.ink .lead { color: #C7BFE3; }
section.ink .eyebrow { color: var(--gold-soft); }
section.ink .eyebrow::before { background: var(--gold); }

@media (max-width: 720px) {
  section { padding: var(--space-7) 0; }
}

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--purple-deep);
  text-decoration: none;
}
.brand__logo { height: 36px; width: auto; flex-shrink: 0; }
.brand__logo-img { height: 44px; width: auto; display: block; flex-shrink: 0; }
@media (max-width: 720px) { .brand__logo-img { height: 38px; } }
.brand__name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--purple-deep);
  line-height: 1;
}
.brand__name em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}
.brand__sub {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: var(--space-3);
  padding-left: var(--space-3);
  border-left: 1px solid var(--line);
}
@media (max-width: 720px) { .brand__sub { display: none; } }

.nav__links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-small);
}
.nav__links a {
  position: relative;
  padding: var(--space-2) 0;
  color: var(--ink-soft);
  transition: color 160ms ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: var(--space-4); }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}
.nav__toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 200ms var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--ink);
  transition: transform 200ms var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    inset: 64px 0 0 0;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-7) var(--space-5);
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 320ms var(--ease);
    font-size: 1.5rem;
    font-family: var(--font-display);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__cta .btn { display: none; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 26px;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform 200ms var(--ease), background 200ms ease, color 200ms ease, border-color 200ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--purple);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 24px -12px rgba(63,45,117,0.4);
}
.btn--primary:hover { background: var(--purple-deep); }
.btn--gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 24px -12px rgba(191,152,66,0.5);
}
.btn--gold:hover { background: var(--gold-deep); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--quiet {
  background: transparent;
  color: var(--ink);
  padding: 8px 0;
  border-radius: 0;
}
.btn--quiet .arrow { transition: transform 220ms var(--ease); }
.btn--quiet:hover .arrow { transform: translateX(6px); }
.btn--quiet:hover { transform: none; }

.arrow { font-size: 1.1em; line-height: 1; }

/* =========================================================
   Hero — big-4 style oversized
   ========================================================= */
.hero {
  padding: clamp(var(--space-7), 8vw, var(--space-9)) 0 0;
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: stretch;
}
@media (min-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1.55fr 1fr;
    gap: var(--space-8);
    min-height: 70vh;
  }
}
.hero__visual {
  position: relative;
  min-height: 380px;
  background: var(--purple-deep);
  overflow: hidden;
  border-radius: 4px;
  background-image:
    linear-gradient(155deg, rgba(38,26,77,0.85) 0%, rgba(63,45,117,0.7) 50%, rgba(38,26,77,0.92) 100%),
    url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1200&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}
.hero__visual::before {
  /* sottile texture grain + accent oro */
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(38,26,77,0.85) 100%);
  pointer-events: none;
}
.hero__visual::after {
  /* linea oro decorativa che richiama il logo */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.7;
}
.hero__visual-label {
  position: absolute;
  top: var(--space-5); left: var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  z-index: 2;
}
.hero__visual-figure {
  position: absolute;
  bottom: var(--space-6); left: var(--space-5); right: var(--space-5);
  z-index: 2;
}
.hero__visual-figure strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem);
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero__visual-figure span {
  display: block;
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.7);
  margin-top: var(--space-3);
  max-width: 24ch;
}

@media (max-width: 1099px) {
  .hero__visual { min-height: 240px; }
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: end;
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-9);
  }
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--ink);
  margin: var(--space-5) 0 var(--space-7);
}

/* Hero editoriale — full-width type, niente blocco visivo */
.hero--editorial {
  padding: clamp(var(--space-8), 10vw, var(--space-9)) 0 var(--space-9);
  background:
    radial-gradient(ellipse 800px 400px at 100% 0%, rgba(63,45,117,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 600px 300px at 0% 100%, rgba(191,152,66,0.05) 0%, transparent 60%),
    var(--paper);
  background-image: none;
  position: relative;
}
.hero--editorial::before, .hero--editorial::after { display: none; }
.hero__title--wide {
  max-width: 18ch;
  font-size: clamp(3rem, 9vw + 0.5rem, 8rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: var(--space-5) 0 var(--space-8);
}
.hero__editorial-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 1240px;
  padding-top: var(--space-7);
  border-top: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 900px) {
  .hero__editorial-meta {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-9);
  }
}
.hero__editorial-lead {
  font-family: var(--font-sans);
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
  max-width: 60ch;
}
.hero__title em {
  font-style: normal;
  color: var(--purple);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.14em;
  background: var(--gold);
  opacity: 0.55;
  z-index: -1;
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: var(--space-5);
}
.hero__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 56ch;
}
.hero__meta p { color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.55; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

/* Stats strip below hero */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  margin-top: var(--space-8);
}
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  background: var(--paper);
  padding: var(--space-6) var(--space-5);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3vw + 1rem, 3.25rem);
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  letter-spacing: -0.035em;
}
.stat__value sup { font-size: 0.5em; vertical-align: top; color: var(--gold); margin-left: 2px; }
.stat__label {
  margin-top: var(--space-3);
  font-size: var(--fs-small);
  color: var(--muted);
}

/* =========================================================
   Impact — full-bleed dark stat strip (big-4 style)
   ========================================================= */
.impact {
  background: var(--purple-deep);
  color: #fff;
  padding: var(--space-8) 0;
  position: relative;
  overflow: hidden;
}
.impact::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(63,45,117,0.0) 0%, rgba(63,45,117,0.4) 100%);
  pointer-events: none;
}
.impact > * { position: relative; z-index: 1; }
.impact__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}
.impact__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw + 0.5rem, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 28ch;
}
.impact__head .eyebrow { color: var(--gold-soft); }
.impact__head .eyebrow::before { background: var(--gold); }

.impact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 720px) { .impact__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .impact__grid { grid-template-columns: repeat(4, 1fr); } }

.impact__item {
  border-top: 2px solid var(--gold);
  padding-top: var(--space-5);
}
.impact__value {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4vw + 1rem, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
}
.impact__value sup {
  font-size: 0.4em;
  vertical-align: top;
  color: var(--gold);
  margin-left: 4px;
  font-weight: 700;
}
.impact__label {
  margin-top: var(--space-4);
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.7);
  max-width: 22ch;
  line-height: 1.4;
}

/* =========================================================
   Cookie banner GDPR
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  max-width: 720px;
  margin: 0 auto;
  background: var(--purple-deep);
  color: #fff;
  padding: var(--space-5) var(--space-6);
  border-radius: 8px;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.4);
  z-index: 200;
  display: none;
  border-left: 4px solid var(--gold);
}
.cookie-banner.show { display: block; animation: cookieIn 320ms var(--ease); }
@keyframes cookieIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}
.cookie-banner__text {
  font-size: var(--fs-small);
  color: #C5BCE0;
  line-height: 1.55;
  margin: 0 0 var(--space-4);
}
.cookie-banner__text a { color: var(--gold-soft); text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.cookie-banner__actions .btn { font-size: var(--fs-xs); padding: 10px 18px; }

/* =========================================================
   Manifesto editoriale (wow factor — big-4 / boutique premium)
   ========================================================= */
.manifesto {
  background: var(--purple-deep);
  color: #fff;
  padding: var(--space-9) 0;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(135deg, transparent 0%, rgba(191,152,66,0.06) 50%, transparent 100%);
  pointer-events: none;
}
.manifesto > * { position: relative; z-index: 1; }
.manifesto__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: var(--space-7);
  padding-left: var(--space-5);
  border-left: 2px solid var(--gold);
}
.manifesto__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.2vw + 0.7rem, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 30ch;
  margin: 0;
}
.manifesto__text em {
  font-style: normal;
  color: var(--gold-soft);
  display: inline;
}
.manifesto__signature {
  margin-top: var(--space-7);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* Differentiators grid — "Cosa ci rende diversi" */
.diff {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 900px) { .diff { grid-template-columns: 1fr 1fr; } }
.diff__item {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 900px) {
  .diff__item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: var(--space-6); }
  .diff__item:nth-child(even) { padding-left: var(--space-6); }
  .diff__item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .diff__item:last-child { border-bottom: 0; }
}
.diff__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
}
.diff__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--purple-deep);
  margin: 0 0 var(--space-3);
  line-height: 1.3;
}
.diff__body p {
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.6;
  margin: 0;
}

/* FAQ accordion */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 0.6vw + 0.85rem, 1.25rem);
  letter-spacing: -0.015em;
  color: var(--purple-deep);
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  transition: color 200ms ease;
}
.faq__q:hover { color: var(--purple); }
.faq__icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  border-radius: 1px;
}
.faq__icon::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); transition: transform 240ms var(--ease); }
.faq__item[open] .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a {
  padding: 0 0 var(--space-5);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 70ch;
}
.faq__a p { margin: 0 0 var(--space-3); }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a strong { color: var(--purple-deep); }

/* Lead magnet card */
.magnet {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding: var(--space-7) var(--space-6);
  background: var(--paper);
  border: 1px solid var(--gold);
  border-left: 4px solid var(--gold);
  align-items: center;
}
@media (min-width: 900px) { .magnet { grid-template-columns: 1.5fr 1fr; gap: var(--space-7); padding: var(--space-7); } }
.magnet h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.2vw + 0.7rem, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--purple-deep);
  margin: 0 0 var(--space-3);
}
.magnet p { font-size: var(--fs-small); color: var(--muted); margin: 0 0 var(--space-3); }
.magnet__form {
  display: flex;
  gap: var(--space-3);
  flex-direction: column;
}
@media (min-width: 600px) { .magnet__form { flex-direction: row; } }
.magnet__form input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--cream);
}
.magnet__form input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(63,45,117,0.08);
}

/* =========================================================
   Testimonials — referenze pubbliche LinkedIn
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 720px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .testimonials { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }

.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  transition: border-color 240ms ease, box-shadow 240ms ease;
}
.testimonial:hover { border-color: var(--purple); box-shadow: 0 18px 32px -22px rgba(63,45,117,0.18); }
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: var(--space-3); right: var(--space-5);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
  flex-grow: 1;
}
.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.testimonial__author strong {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--purple-deep);
  letter-spacing: -0.005em;
}
.testimonial__author span {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.4;
}
.testimonial__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--line);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.testimonial__meta a {
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  text-decoration: none;
}
.testimonial__meta a:hover { color: var(--purple-deep); }

/* =========================================================
   Problems — "Riconosci uno di questi problemi?"
   ========================================================= */
.problems {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 720px) { .problems { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .problems { grid-template-columns: repeat(5, 1fr); gap: var(--space-4); } }

.problem {
  position: relative;
  padding: var(--space-6) var(--space-5);
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform 280ms var(--ease), border-color 200ms ease, box-shadow 240ms ease;
}
.problem:hover {
  transform: translateY(-3px);
  border-color: var(--purple);
  box-shadow: 0 18px 32px -22px rgba(63,45,117,0.25);
}
.problem__quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--purple-deep);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0;
}
.problem__quote::before { content: "\201C "; color: var(--gold); }
.problem__quote::after { content: " \201D"; color: var(--gold); }
.problem__answer {
  font-size: var(--fs-small);
  color: var(--muted);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.problem__answer strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: var(--space-2);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}

/* How we work blocks */
.how {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 720px) { .how { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .how { grid-template-columns: repeat(4, 1fr); } }

.how__item {
  padding: var(--space-6) var(--space-5);
  background: var(--paper);
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.how__item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--purple-deep);
  margin: 0;
}
.how__item p {
  font-size: var(--fs-small);
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.how__item__icon {
  width: 32px; height: 32px;
  color: var(--purple);
  margin-bottom: var(--space-2);
}

/* =========================================================
   Capabilities — riga per riga (big-4 capabilities list)
   ========================================================= */
.capabilities {
  border-top: 1px solid var(--line);
}
.capability {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 220ms ease, padding 220ms var(--ease);
}
@media (min-width: 900px) {
  .capability {
    grid-template-columns: 80px 0.95fr 1.55fr auto;
    gap: var(--space-7);
    align-items: start;
  }
}
.capability:hover { background: var(--cream); padding-left: var(--space-4); padding-right: var(--space-4); }
.capability__no {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}
.capability__title h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.2vw + 0.7rem, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--purple-deep);
  margin: 0;
}
.capability__title small {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: var(--space-3);
}
.capability__desc {
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: var(--fs-body);
  margin: 0;
}
.capability__arrow {
  font-size: 1.5rem;
  color: var(--purple);
  transition: transform 240ms var(--ease);
  align-self: center;
}
.capability:hover .capability__arrow { transform: translateX(8px); }
@media (max-width: 900px) {
  .capability__arrow { display: none; }
}

/* =========================================================
   Industries — logo/icon grid
   ========================================================= */
.industries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
@media (min-width: 720px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .industries { grid-template-columns: repeat(4, 1fr); } }

.industry {
  padding: var(--space-6) var(--space-5);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: background 200ms ease, color 200ms ease;
  cursor: default;
}
.industry:hover { background: var(--purple-deep); color: #fff; }
.industry:hover .industry__name { color: #fff; }
.industry:hover .industry__hint { color: rgba(255,255,255,0.7); }
.industry__icon {
  width: 32px; height: 32px;
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.industry__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.industry__hint {
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* =========================================================
   Insights — editorial cards (thought leadership)
   ========================================================= */
.insights {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 720px) { .insights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .insights { grid-template-columns: repeat(3, 1fr); } }

.insight {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-decoration: none;
  color: inherit;
  transition: transform 280ms var(--ease);
}
.insight:hover { transform: translateY(-4px); }
.insight__cover {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.insight__cover::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70%;
  background-image:
    linear-gradient(to top, var(--gold) 25%, transparent 25%),
    linear-gradient(to top, var(--gold) 50%, transparent 50%),
    linear-gradient(to top, var(--gold) 70%, transparent 70%);
  background-position: 15% 100%, 50% 100%, 85% 100%;
  background-size: 18% 100%, 18% 100%, 18% 100%;
  background-repeat: no-repeat;
  opacity: 0.18;
}
.insight__cover-tag {
  position: absolute;
  top: var(--space-4); left: var(--space-4);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
}
.insight__cover--gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); }
.insight__cover--gold .insight__cover-tag { color: rgba(255,255,255,0.85); }
.insight__cover--cream { background: var(--cream-deep); }
.insight__cover--cream .insight__cover-tag { color: var(--purple); }
.insight__cover--cream::before {
  background-image:
    linear-gradient(to top, var(--purple) 25%, transparent 25%),
    linear-gradient(to top, var(--purple) 50%, transparent 50%),
    linear-gradient(to top, var(--purple) 70%, transparent 70%);
  opacity: 0.12;
}

.insight__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.insight__meta strong { color: var(--purple); font-weight: 500; }
.insight h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.insight__more {
  font-size: var(--fs-small);
  color: var(--purple);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
}
.insight__more .arrow { transition: transform 220ms var(--ease); }
.insight:hover .insight__more .arrow { transform: translateX(4px); }

/* =========================================================
   Section header
   ========================================================= */
.sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 1fr 1.2fr; gap: var(--space-9); align-items: end; }
}
.sec-head__lead { max-width: 60ch; }

/* =========================================================
   Services / pillars
   ========================================================= */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  background: var(--paper);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: background 240ms ease, transform 240ms var(--ease);
  position: relative;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.pillar:hover { background: var(--cream); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__no {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.pillar h3 { margin: 0; color: var(--purple-deep); }
.pillar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--fs-small);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: var(--space-4);
}
.pillar ul li::before {
  content: "—";
  color: var(--gold);
  margin-right: var(--space-3);
  font-weight: 500;
}

/* =========================================================
   Case studies
   ========================================================= */
.cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 900px) { .cases { grid-template-columns: repeat(2, 1fr); gap: var(--space-7); } }

.case {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform 280ms var(--ease), border-color 200ms ease, box-shadow 240ms ease;
}
.case:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
  box-shadow: 0 20px 40px -24px rgba(63,45,117,0.25);
}
.case__tag {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  gap: var(--space-3);
  font-weight: 500;
}
.case__tag span { color: var(--muted); }
.case h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.2vw + 0.8rem, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}
.case__metric {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.case__metric strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.case__metric span {
  font-size: var(--fs-small);
  color: var(--muted);
}

.case--feature {
  grid-column: 1 / -1;
  background: var(--purple-deep);
  color: #C5BCE0;
  border-color: var(--purple-deep);
  position: relative;
  overflow: hidden;
}
.case--feature::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 100%;
  background-image:
    linear-gradient(to top, var(--gold) 30%, transparent 30%),
    linear-gradient(to top, var(--gold) 50%, transparent 50%),
    linear-gradient(to top, var(--gold) 75%, transparent 75%);
  background-position: 0 100%, 60px 100%, 120px 100%;
  background-size: 40px 100%, 40px 100%, 40px 100%;
  background-repeat: no-repeat;
  opacity: 0.10;
  pointer-events: none;
}
.case--feature > * { position: relative; z-index: 1; }
.case--feature h3 { color: #fff; }
.case--feature .case__tag { color: var(--gold-soft); }
.case--feature .case__metric strong { color: #fff; }
.case--feature .case__metric { border-top-color: rgba(255,255,255,0.12); }
.case--feature:hover { transform: translateY(-4px); border-color: var(--purple); box-shadow: 0 30px 60px -30px rgba(38,26,77,0.6); }

/* =========================================================
   Team
   ========================================================= */
.team {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 720px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); } }

.member {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.member__avatar {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--purple-deep) 0%, var(--purple) 100%);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  transition: transform 320ms var(--ease);
}
.member__avatar::before {
  /* mini bar-chart pattern dietro le iniziali */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to top, var(--gold) 30%, transparent 30%),
    linear-gradient(to top, var(--gold) 55%, transparent 55%),
    linear-gradient(to top, var(--gold) 80%, transparent 80%);
  background-position: 70% 100%, 82% 100%, 94% 100%;
  background-size: 12px 100%, 12px 100%, 12px 100%;
  background-repeat: no-repeat;
  opacity: 0.18;
}
.member:hover .member__avatar { transform: translateY(-3px); }
.member__avatar::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.20);
  letter-spacing: -0.04em;
}

/* Foto reale dei membri — sostituisce le iniziali quando presente */
.member__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  display: block;
}
.member__avatar:has(img)::before,
.member__avatar:has(img)::after { display: none; }
.member__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
.member__role {
  font-size: var(--fs-xs);
  color: var(--gold-deep);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
}
.member__name { color: var(--purple-deep); }
.member__bio {
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: 1.55;
  margin: var(--space-2) 0 0;
}

/* =========================================================
   Insight / process steps
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  counter-increment: step;
}
@media (min-width: 720px) {
  .step { grid-template-columns: 100px 1fr 2fr; gap: var(--space-7); align-items: start; }
}
.step__no {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--gold);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 700;
}
.step__no::before { content: "0" counter(step); }
.step h3 { margin: 0 0 var(--space-3); font-size: 1.35rem; color: var(--purple-deep); }
.step p { color: var(--muted); }

/* =========================================================
   CTA / lead-gen blocks
   ========================================================= */
.cta-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding: var(--space-7) var(--space-5);
  background: var(--purple-deep);
  color: #C5BCE0;
  align-items: center;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 280px; height: 100%;
  background-image:
    linear-gradient(to top, var(--gold) 25%, transparent 25%),
    linear-gradient(to top, var(--gold) 45%, transparent 45%),
    linear-gradient(to top, var(--gold) 65%, transparent 65%),
    linear-gradient(to top, var(--gold) 85%, transparent 85%);
  background-position: 0 100%, 60px 100%, 120px 100%, 180px 100%;
  background-size: 50px 100%, 50px 100%, 50px 100%, 50px 100%;
  background-repeat: no-repeat;
  opacity: 0.10;
  pointer-events: none;
}
.cta-block > * { position: relative; z-index: 1; }
@media (min-width: 900px) { .cta-block { grid-template-columns: 1.4fr 1fr; padding: var(--space-8); } }
.cta-block h2 { color: #fff; margin: var(--space-4) 0 var(--space-4); }
.cta-block .eyebrow { color: var(--gold-soft); }
.cta-block .eyebrow::before { background: var(--gold); }
.cta-block .lead { color: #C5BCE0; }
.cta-block__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.cta-block .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-block .btn--ghost:hover { background: #fff; color: var(--purple-deep); border-color: #fff; }

/* =========================================================
   Forms
   ========================================================= */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 720px) { .form { grid-template-columns: 1fr 1fr; } }
.form__field { display: flex; flex-direction: column; gap: var(--space-2); }
.form__field--full { grid-column: 1 / -1; }
.form__field label {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.form__field input,
.form__field select,
.form__field textarea {
  font: inherit;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11,18,32,0.08);
}
.form__field textarea { resize: vertical; min-height: 140px; }
.form__field--invalid input,
.form__field--invalid textarea,
.form__field--invalid select {
  border-color: #B0413E;
}
.form__error {
  font-size: var(--fs-xs);
  color: #B0413E;
  display: none;
}
.form__field--invalid .form__error { display: block; }

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-small);
  color: var(--muted);
  grid-column: 1 / -1;
}
.form__consent input { margin-top: 4px; }
.form__submit { grid-column: 1 / -1; display: flex; justify-content: flex-start; }

.form__success {
  display: none;
  padding: var(--space-6);
  background: var(--cream);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--ink);
}
.form__success.show { display: block; }

/* =========================================================
   Footer
   ========================================================= */
footer.footer {
  background: var(--purple-deep);
  color: #C5BCE0;
  padding: var(--space-8) 0 var(--space-5);
  margin-top: var(--space-7);
  position: relative;
  overflow: hidden;
}
footer.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.4;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--space-4);
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.footer a { color: #C5BCE0; transition: color 160ms ease; font-size: var(--fs-small); }
.footer a:hover { color: var(--gold-soft); }
.footer__brand { font-family: var(--font-display); color: #fff; font-size: 1.65rem; }
.footer__logo-img {
  height: 56px;
  width: auto;
  display: block;
  /* Rende il logo viola/oro leggibile sul fondo viola scuro del footer */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
/* Se in futuro carichi una versione "light" del logo (es. LogoOBJ_Bianco.png),
   aggiungi la classe .footer__logo-img--native per disattivare il filtro:
   <img class="footer__logo-img footer__logo-img--native" src="assets/LogoOBJ_Bianco.png"> */
.footer__logo-img--native { filter: none; opacity: 1; }
.footer__tagline { color: #8A93A4; max-width: 36ch; margin-top: var(--space-3); font-size: var(--fs-small); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-5);
  font-size: var(--fs-xs);
  color: #6B7385;
  letter-spacing: 0.04em;
}

/* =========================================================
   Generic page hero (interior pages)
   ========================================================= */
.page-hero {
  padding: var(--space-7) 0 var(--space-7);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 600px 300px at 100% 0%, rgba(63,45,117,0.06) 0%, transparent 60%),
    var(--paper);
}
.page-hero h1 {
  font-size: var(--fs-h1);
  max-width: 18ch;
}
.page-hero .lead { margin-top: var(--space-5); }

/* =========================================================
   Animations on scroll
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }

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

/* =========================================================
   Utilities
   ========================================================= */
.divider {
  height: 1px;
  background: var(--line);
  margin: var(--space-8) 0;
}
.flex-end { display: flex; justify-content: flex-end; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}
.tag-list li {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--purple-deep);
  background: var(--paper);
  transition: border-color 200ms ease, color 200ms ease;
}
.tag-list li:hover { border-color: var(--purple); color: var(--purple); }

/* Eyebrow color override on dark/cream backgrounds */
.cream .eyebrow, section.cream .eyebrow { color: var(--gold-deep); }
.cream .eyebrow::before, section.cream .eyebrow::before { background: var(--gold); }

/* Two-column editorial */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1.3fr; gap: var(--space-9); }
}

/* Big quote */
.quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw + 0.8rem, 2.4rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.025em;
  max-width: 32ch;
}
.quote::before { content: "\201C"; color: var(--gold); margin-right: 0.05em; }
.quote::after { content: "\201D"; color: var(--gold); }
.quote__author {
  display: block;
  margin-top: var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
