/* ============================================
   Kind of Blue — System CSS (shared)
   Theme switcher: carta (default) + dark (blu notte)
   - Default: carta. Si attiva via [data-theme="dark"] su <html>
   - Rispetta prefers-color-scheme: dark al primo accesso
   ============================================ */
:root {
  /* --- TEMA CARTA (default) --- */
  --blue: #fafaf7;       /* fondo principale - bianco sporco */
  --blue-2: #f4f4f0;     /* sfumatura mid */
  --blue-3: #eeeeea;     /* sfumatura deep + evidenziazione box */
  --cyan: #18a7e6;       /* accento - resta il blu del logo (firma) */
  --cyan-soft: rgba(24,167,230,.22);
  --white: #1a1a1a;      /* testi principali - carbone profondo */
  --muted: rgba(26,26,26,.65);    /* testi secondari */
  --muted-2: rgba(26,26,26,.48);  /* testi terziari */
  --faint: rgba(26,26,26,.12);    /* divisori */
  --line: rgba(24,167,230,.55);   /* linee accento */
  --line-soft: rgba(24,167,230,.32);
  --orange: #d98722;
  --magenta: #be1c96;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Variabili tematiche specifiche per evidenziazioni e veli */
  --hover-bg: rgba(0,0,0,.025);
  --active-bg: rgba(0,0,0,.05);
  --border-soft: rgba(26,26,26,.18);
  --veil-radial-1: transparent;
  --veil-radial-2: transparent;
  --map-filter: grayscale(.4) contrast(.95);
  --map-opacity: .92;
  --map-blend: normal;
  --map-blend-opacity: 0;
  --thumb-tag-bg: #d98722;           /* arancio pieno: tag progetti, leggibilità su thumb chiare */
  /* Overlay per gradient su immagini (es. card progetti) e box translucidi */
  --overlay-soft: rgba(250,250,247,.5);     /* card thumbnail bottom gradient */
  --overlay-mid: rgba(250,250,247,.7);      /* tag su immagini */
  --overlay-strong: rgba(250,250,247,.92);  /* card progetti home, ecc */
  --overlay-form: rgba(250,250,247,.4);     /* form contatti */
  --overlay-light: rgba(255,255,255,.08);   /* map pre-loading, ecc */
  /* Pattern punti hero — colore dei punti */
  --dot-pattern-color: rgba(26,26,26,.5);
  /* Bagliore atmosferico nel menu laterale */
  --menu-glow: rgba(255,255,255,.55);
}

/* --- TEMA NOTTE (blu) — si attiva con [data-theme="dark"] su <html> --- */
[data-theme="dark"] {
  --blue: #030a25;
  --blue-2: #06153d;
  --blue-3: #04112f;
  --cyan: #18a7e6;
  --cyan-soft: rgba(24,167,230,.22);
  --white: #f5f5f2;
  --muted: rgba(245,245,242,.72);
  --muted-2: rgba(245,245,242,.52);
  --faint: rgba(245,245,242,.12);
  --line: rgba(24,167,230,.42);
  --line-soft: rgba(24,167,230,.28);

  --hover-bg: rgba(255,255,255,.03);
  --active-bg: rgba(24,167,230,.06);
  --border-soft: rgba(245,245,242,.18);
  --veil-radial-1: rgba(24,167,230,.22);
  --veil-radial-2: rgba(24,167,230,.10);
  --map-filter: grayscale(1) invert(1) contrast(1.1) brightness(.9);
  --map-opacity: 1;
  --map-blend: color;
  --map-blend-opacity: 1;
  --thumb-tag-bg: rgba(24,167,230,.85);
  --overlay-soft: rgba(3,10,37,.5);
  --overlay-mid: rgba(3,10,37,.7);
  --overlay-strong: rgba(3,10,37,.92);
  --overlay-form: rgba(3,10,37,.4);
  --overlay-light: rgba(255,255,255,.04);
  /* Pattern punti hero — sul blu i punti sono bianchi più visibili (compensa la minor opacità del fondo) */
  --dot-pattern-color: rgba(245,245,242,.5);
  /* Bagliore atmosferico nel menu laterale */
  --menu-glow: rgba(24,167,230,.58);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--blue); }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Selezione testo: libera su desktop (puntatore preciso), disabilitata su touch
   per evitare selezioni accidentali durante lo scroll con il dito.
   Eccezioni: campi form, codice, e qualunque elemento con .is-selectable. */
@media (hover: none) and (pointer: coarse) {
  body {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
  }
  input, textarea, [contenteditable="true"],
  pre, code,
  .is-selectable, .is-selectable * {
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--cyan);
  color: var(--blue);
  padding: 12px 18px;
  z-index: 100;
  font-weight: 600;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

.site { min-height: 100vh; position: relative; overflow: hidden; }

.container {
  width: calc(100% - 120px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 22px 0;
  transition: transform .55s var(--ease), background .55s var(--ease), backdrop-filter .55s var(--ease), padding .4s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-scrolled {
  background: var(--overlay-mid);
  backdrop-filter: blur(18px);
  padding: 14px 0;
}

.header-inner {
  width: 100%;
  padding: 0 32px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .75;
  font-size: clamp(34px, 4.2vw, 58px);
  display: inline-block;
  transition: font-size .4s var(--ease);
}
.logo .logo-of {
  font-weight: 300;
  letter-spacing: -.05em;
}
.logo small {
  display: block;
  color: var(--white);
  letter-spacing: -.04em;
  font-weight: 400;
  line-height: 1.15;
  font-size: clamp(14px, 1.4vw, 20px);
  margin-top: 8px;
  opacity: .9;
}

/* Asterisco-decorazione sulla "e" finale di "blue" (Variante B).
   La "e" è wrappata in <span class="logo-e">, dentro c'è la lettera + un SVG
   asterisco posizionato come accento in alto a destra. Pulsa al hover del logo. */
.logo-e {
  position: relative;
  display: inline-block;
}
.logo-asterisk {
  position: absolute;
  /* Dimensione proporzionale al logo: ~18% della font-size ottico.
     Su header grande ~10px, su footer più piccolo ~5px. */
  width: 0.22em;
  height: 0.22em;
  /* Posizione: in alto a destra della "e", come una piccola traccia */
  top: 0.05em;
  right: -0.28em;
  color: var(--cyan);
  opacity: 0.75;
  transform-origin: center;
  transition: transform 600ms var(--ease), opacity 400ms var(--ease);
  pointer-events: none;
}
.logo-asterisk line {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
}
/* Al hover sul logo intero, l'asterisco pulsa una volta + ruota di 45° */
.logo:hover .logo-asterisk {
  animation: logo-asterisk-pulse 1.2s var(--ease) 1;
  opacity: 1;
}
@keyframes logo-asterisk-pulse {
  0%   { transform: scale(1) rotate(0deg); }
  40%  { transform: scale(1.6) rotate(135deg); }
  100% { transform: scale(1) rotate(180deg); }
}
/* Reduced motion: l'asterisco resta visibile ma non si anima */
@media (prefers-reduced-motion: reduce) {
  .logo-asterisk { transition: opacity 200ms ease; }
  .logo:hover .logo-asterisk {
    animation: none;
    opacity: 1;
  }
}

.header.is-scrolled .logo { font-size: clamp(26px, 2.8vw, 36px); }
.header.is-scrolled .logo small { font-size: 12px; margin-top: 4px; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta-link {
  display: none;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan);
  transition: color .3s var(--ease);
}
.header-cta-link:hover { color: var(--white); }
.header.is-scrolled .header-cta-link { display: inline-block; }

/* Theme switcher button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color .3s var(--ease);
  font-family: inherit;
}
.theme-toggle:hover { color: var(--cyan); }
/* Mostra il label corretto in base al tema corrente:
   in tema carta vedi "Blue Mode" (per passare al dark)
   in tema dark vedi "Light Mode" (per tornare al light) */
.theme-toggle .theme-label-light { display: none; }
.theme-toggle .theme-label-dark { display: inline; }
[data-theme="dark"] .theme-toggle .theme-label-light { display: inline; }
[data-theme="dark"] .theme-toggle .theme-label-dark { display: none; }

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.lang-switch a {
  padding: 4px 6px;
  transition: color .3s var(--ease);
}
.lang-switch a:hover { color: var(--cyan); }
.lang-switch a.is-current { color: var(--cyan); }
.lang-switch .sep { color: var(--faint); }

.burger {
  width: 42px;
  height: 32px;
  display: grid;
  place-items: center;
  transition: opacity .4s var(--ease);
}
/* Su subpage anche il CTA "Parliamone" del header è visibile */
body.subpage .header-cta-link { display: inline-block; }
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 31px;
  height: 3px;
  background: var(--white);
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.burger span::before { transform: translateY(-8px); }
.burger span::after { transform: translateY(5px); }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(0) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-3px) rotate(-45deg); }

/* ============ MENU ============ */
.menu {
  position: fixed;
  z-index: 45;
  inset: 0 0 auto auto;
  width: min(430px, 100%);
  min-height: 100svh;
  padding: 160px 34px 36px;
  background: linear-gradient(150deg, var(--overlay-strong), var(--overlay-soft));
  backdrop-filter: blur(28px) saturate(140%);
  border-left: 1px solid rgba(24,167,230,.26);
  transform: translateX(100%);
  transition: transform .72s var(--ease);
  overflow: hidden;
}
.menu::before {
  content: "";
  position: absolute;
  inset: 20% -20% auto auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--menu-glow), transparent 65%);
  filter: blur(18px);
  opacity: .75;
}
body.menu-open .menu { transform: translateX(0); }

/* Quando il menu viene aperto programmaticamente al load (es. dopo cambio lingua),
   disabilita le transizioni del menu/backdrop per evitare lo slide-in iniziale. */
body.no-menu-anim .menu,
body.no-menu-anim .menu-backdrop {
  transition: none !important;
}
.menu nav { position: relative; z-index: 2; display: flex; flex-direction: column; }
.menu a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid rgba(24,167,230,.34);
  padding: 22px 0;
  font-size: 22px;
  transition: color .35s var(--ease), transform .35s var(--ease), padding-left .35s var(--ease);
  position: relative;
}
.menu a::before {
  content: attr(data-num);
  font-family: var(--sans);
  font-style: normal;
  font-size: 15px;
  letter-spacing: -.04em;
  color: var(--cyan);
  opacity: .7;
  font-weight: 300;
}
.menu a:hover { color: var(--cyan); transform: translateX(10px); }
.menu a:focus { outline: none; }
.menu a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
.menu a.is-current { color: var(--cyan); padding-left: 12px; }
.menu a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 22px;
  background: var(--cyan);
}

/* Social nel menu laterale — staccati dalla navigazione, sempre a portata di pollice su mobile */
.menu-social {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  display: flex;
  gap: 18px;
}
.menu-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  opacity: .75;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  transition: opacity .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.menu-social a:focus,
.menu-social a:focus-visible,
.menu-social a:active,
.menu-social a:visited {
  outline: none;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.menu-social a::before,
.menu-social a::after {
  content: none;
  display: none;
  border: 0;
  background: none;
}
.menu-social a:hover { opacity: 1; color: var(--cyan); transform: translateY(-2px); }
.menu-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}
/* Variante del bottone audio dentro il menu a tendina.
   Eredita stile minimal dei social menu (no cerchio, no bordo, opacity .75) ma resta
   un button: serve override esplicito di width/height e disabilito pulse animation. */
.kob-audio-btn--menu {
  width: 40px !important;
  height: 40px !important;
  color: var(--white);
  opacity: .75;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.kob-audio-btn--menu:hover { opacity: 1; color: var(--cyan); transform: translateY(-2px); background: transparent !important; }
.kob-audio-btn--menu .kob-audio-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
}
.kob-audio-btn--menu .kob-audio-icon--pause { stroke: none; }
.kob-audio-btn--menu:hover .kob-audio-icon { fill: var(--cyan); stroke: var(--cyan); }
.kob-audio-btn--menu:hover .kob-audio-icon--pause { fill: var(--cyan); stroke: none; }
/* Disabilita pulse e shadow nel menu (qui non c'è bordo da pulsare) */
.kob-audio-btn--menu.is-playing { animation: none; box-shadow: none; }
.kob-audio-btn--menu.is-playing { color: var(--cyan); opacity: 1; }
/* Riposiziona il tooltip per il menu (sopra non basta, può essere tagliato) */
.kob-audio-btn--menu[data-tooltip]::after {
  bottom: auto;
  top: calc(100% + 8px);
  transform: translateX(-50%) translateY(-4px);
}
.kob-audio-btn--menu:hover[data-tooltip]::after,
.kob-audio-btn--menu:focus-visible[data-tooltip]::after {
  transform: translateX(-50%) translateY(0);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0,0,0,.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease);
}
body.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }

/* Lang-switch affiancato alle icone social — utility discreta, leggera.
   Si trova dentro .menu-social ed è spinto a destra con margin-left: auto.
   Va resettato per non ereditare lo stile delle icone social (40x40) né delle voci di menu. */
.menu .menu-social {
  align-items: center;
}
.menu .menu-social .lang-switch {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 300;
}
.menu .menu-social .lang-switch a {
  /* Reset di tutte le ereditarietà aggressive (.menu a, .menu-social a) */
  display: inline;
  align-items: initial;
  justify-content: initial;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  opacity: 1;
  color: var(--muted);
  transform: none !important;
  transition: color .25s var(--ease);
}
.menu .menu-social .lang-switch a::before,
.menu .menu-social .lang-switch a::after {
  content: none;
  display: none;
}
.menu .menu-social .lang-switch a.is-current {
  color: var(--white);
  padding-left: 0;
}
.menu .menu-social .lang-switch a:hover {
  color: var(--cyan);
  opacity: 1;
  transform: none;
}
.menu .menu-social .lang-switch .sep {
  color: var(--faint);
  font-size: 10px;
}

/* ============ TIPOGRAFIA SISTEMA ============ */
.kicker {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}
.kicker::before { content: "—  "; color: var(--cyan); }

/* Section title — bold MAIUSCOLO compatto */
.section-title {
  font-family: var(--sans);
  font-size: clamp(24px, 2.6vw, 38px);
  letter-spacing: -.025em;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.section { position: relative; z-index: 2; padding: clamp(56px, 6.5vw, 92px) 0; }

/* Quando una section è l'ultima di main, padding-bottom a zero:
   la linea di chiusura della section si appoggia direttamente alla linea
   border-top del footer, senza intercapedine vuota. */
main > .section:last-of-type { padding-bottom: 0; }

.section-intro { max-width: 760px; margin-bottom: 36px; }
.section-intro.is-right { margin-left: auto; margin-right: auto; }
.section-intro.is-offset { margin-left: auto; margin-right: auto; }
.section-intro h2,
.page-h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 22px;
  color: var(--white);
}
.section-intro p,
.page-lead {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
  color: var(--muted);
  font-weight: 300;
  max-width: 620px;
}

/* ============ EXPANDABLE LIST (sistema condiviso) ============ */
.ex-list { max-width: 1280px; border-top: 1px solid var(--border-soft); }
.ex-list.is-right { margin-left: auto; margin-right: auto; }

.ex-item {
  position: relative;
  border-bottom: 1px solid var(--border-soft);
  min-height: 126px;
  transition: min-height .6s var(--ease), background .4s var(--ease);
}
/* Linea verticale ciano sul bordo sinistro in hover (coerente con Metodo) */
.ex-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--cyan);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease);
  z-index: 2;
}

.core-badge {
  position: absolute;
  top: 22px;
  right: 0;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
  z-index: 3;
}

.ex-link {
  width: 100%;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 32px;
  gap: 32px;
  align-items: baseline;
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 44px);
  text-decoration: none;
  cursor: pointer;
  outline: none;
  background: transparent;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}
.ex-link.is-static { cursor: default; pointer-events: none; }
.ex-number {
  font-family: var(--serif);
  color: var(--cyan);
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  transition: color .4s var(--ease);
}
.ex-title {
  display: block;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 300;
  color: var(--white);
  transition: color .4s var(--ease);
}
.ex-sublabel {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: 14px;
  opacity: 0;
  transition: opacity .45s var(--ease);
  font-weight: 500;
}
.ex-plus {
  align-self: center;
  width: 28px;
  height: 28px;
  position: relative;
  transition: transform .5s var(--ease);
}
.ex-plus::before,
.ex-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--cyan);
  transition: opacity .4s var(--ease);
}
.ex-plus::before {
  width: 14px;
  height: 1px;
  transform: translate(-50%, -50%);
}
.ex-plus::after {
  width: 1px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.ex-body {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 32px;
  gap: 32px;
  max-height: 0;
  opacity: 0;
  transition: max-height .6s var(--ease), opacity .4s var(--ease), padding-bottom .6s var(--ease);
}
.ex-body-content { grid-column: 2 / 3; max-width: 720px; padding: 0 32px 0 0; }
.ex-body p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 300;
}
.ex-body p:last-child { margin-bottom: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--border-soft);
  padding: 5px 12px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.ex-item:not(.is-open):hover, .ex-item:not(.is-open):focus-within {
  min-height: 220px;
  background: var(--active-bg);
}
.ex-item:not(.is-open):hover::before, .ex-item:not(.is-open):focus-within::before {
  transform: scaleY(1);
}
.ex-item:not(.is-open):hover .ex-title, .ex-item:not(.is-open):focus-within .ex-title {
  color: var(--cyan);
}
.ex-item:not(.is-open):hover .ex-sublabel, .ex-item:not(.is-open):focus-within .ex-sublabel {
  opacity: 1;
}
.ex-item:not(.is-open):hover .ex-plus, .ex-item:not(.is-open):focus-within .ex-plus {
  transform: rotate(45deg);
}
.ex-item:not(.is-open):hover .ex-body, .ex-item:not(.is-open):focus-within .ex-body {
  max-height: 360px;
  opacity: 1;
  padding-bottom: 32px;
}
.ex-item:not(.is-open):hover .tag, .ex-item:not(.is-open):focus-within .tag {
  opacity: 1;
}

/* Stato "espanso" via click — coerente con il comportamento hover ma persistente.
   Necessario su touch dove il :hover non esiste o è inaffidabile. */
.ex-item.is-expanded::before { transform: scaleY(1); }
.ex-item.is-expanded .ex-title { color: var(--cyan); }
.ex-item.is-expanded .ex-sublabel { opacity: 1; }
.ex-item.is-expanded .ex-plus { transform: rotate(45deg); }
.ex-item.is-expanded .ex-body {
  max-height: 360px;
  opacity: 1;
  padding-bottom: 32px;
}
.ex-item.is-expanded .tag { opacity: 1; }

/* CTA "Parliamone →" dentro l'accordion espanso.
   Azione esplicita verso i contatti, sostituisce il vecchio comportamento
   in cui l'intera card era un link (causa di tap doppi e salti improvvisi). */
.ex-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cyan);
  text-decoration: none;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.ex-cta svg {
  width: 14px;
  height: 10px;
  transition: transform .3s var(--ease);
}
.ex-cta:hover {
  gap: 14px;
  color: var(--white);
}
.ex-cta:hover svg { transform: translateX(2px); }

/* Variante "open" — Studio: sempre aperto, senza plus.
   Importante: niente animazione max-height qui, altrimenti su iOS Safari
   i figli con aspect-ratio (es. .founder-portrait con immagini absolute)
   calcolano l'altezza prima che max-height venga "rilasciato", e finiscono
   per uscire dal contenitore. Forziamo height auto e transition: none.
   In più: usiamo display:block invece di grid per .ex-body is-open,
   perché iOS Safari su grid annidati con contenuto a calcolo deferito
   (immagini, details, etc.) calcola altezza zero del row e il contenuto
   sborda fuori dal contenitore, sovrapponendosi all'item successivo. */
.ex-item.is-open { min-height: auto; }
.ex-item.is-open::before { display: none; }
.ex-item.is-open .ex-body {
  display: block;
  max-height: none;
  height: auto;
  opacity: 1;
  padding: 0 0 32px 0;
  transition: none;
  overflow: visible;
}
.ex-item.is-open .ex-link {
  cursor: default;
}
.ex-item.is-open .ex-body-content {
  max-width: 720px;
  padding: 0;
  margin-left: 132px; /* 100px numero + 32px gap, allinea col body-content desktop */
}
.ex-item.is-open .ex-sublabel { opacity: 1; }
.ex-item.is-open .ex-plus { display: none; }

/* CTA in chiusura di lista soluzioni — usata sia in home (#soluzioni) che in pagina deep */
.solutions-cta {
  max-width: 1240px;
  margin: 60px auto 0;
  padding: 38px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;  /* testo a sx, bottone a dx, allineati ai bordi del container */
  gap: 48px;
  flex-wrap: wrap;
}
.solutions-cta-text {
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.18;
  letter-spacing: -.02em;
  max-width: 560px;
  font-weight: 400;
  margin: 0;
}
@media (max-width: 900px) {
  .solutions-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 0;
  }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color .3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  background: transparent;
  border: 0;
  padding: 0;
}
.btn-primary {
  color: var(--cyan);
}
.btn-primary:hover {
  color: var(--white);
}
.btn-secondary {
  color: var(--muted);
}
.btn-secondary:hover {
  color: var(--cyan);
}
.btn .arrow {
  display: inline-block;
  width: 14px;
  transition: transform .35s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ============ PAGE CONTENT (pagine semplici tipo Diario, Cultura) ============ */
.page-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 60px;
}
.page-content.is-narrow {
  max-width: 720px;
}
.page-content > * + * { margin-top: 24px; }
.page-content h2 {
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-top: 60px;
  margin-bottom: 16px;
  color: var(--white);
}
.page-content h3 {
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--white);
}
.page-content p {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
  max-width: 720px;
}
.page-content p strong { color: var(--white); font-weight: 500; }
.page-content blockquote {
  font-family: var(--sans);
  font-style: normal;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -.015em;
  color: var(--white);
  border-left: 2px solid var(--cyan);
  padding-left: 24px;
  margin: 40px 0;
  max-width: 720px;
}

/* ============ ARTICLE CARD (Diario) ============ */
.article-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.article-card {
  display: block;
  position: relative;
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
  transition: padding-left .35s var(--ease);
}
.article-card:hover { padding-left: 12px; }
.article-card:last-child {
  border-bottom: 1px solid var(--border-soft);
}
.article-card .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 16px;
}
.article-card .article-meta .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--cyan);
}
.article-card h2 {
  font-family: var(--sans);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--white);
  transition: color .3s var(--ease);
}
.article-card:hover h2 { color: var(--cyan); }
.article-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 300;
  max-width: 540px;
}

@media (max-width: 800px) {
  .article-grid { grid-template-columns: 1fr; }
}

/* ============ EDITORIAL TYPOGRAPHY (Bodoni Moda) ============
   Uso disciplinato di un didone graziato in soli tre punti del sito:
   - Italic 400 → blockquote degli articoli Diario (citazioni, "voce dell'altro")
   - Italic 400 → lead degli articoli Diario (occhiello editoriale)
   - Roman  400 → numeri del carosello hero della home (counter slide)

   Tutto il resto del sito resta Inter, mono-famiglia.
   Variabile dedicata per centralizzare la decisione e poter rollback in 1 modifica.
   ============================================================== */
:root {
  --serif: "Bodoni Moda", "Bodoni 72", "Didot", "GFS Didot", Georgia, serif;
}

/* Blockquote nei singoli articoli del Diario.
   Specificità body.subpage per scavalcare le regole inline degli articoli.
   Tocco SOLO font-family/style/weight/letter-spacing — il resto (size, color,
   border, padding, margin) resta come definito nel singolo articolo. */
body.subpage .article-body blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.005em;
}

/* Lead di apertura nei singoli articoli del Diario.
   Stessa logica di sopra: solo proprietà tipografiche, niente size/color. */
body.subpage .article-lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.005em;
}

/* Regola tipografica classica: italic dentro italic si ribalta in roman tondo.
   Le <em> e <cite> dentro lead e blockquote — già in italic — si rimettono dritte
   per riacquisire il valore di enfasi. */
body.subpage .article-lead em,
body.subpage .article-lead cite,
body.subpage .article-body blockquote em,
body.subpage .article-body blockquote cite {
  font-style: normal;
}

/* Attribuzione delle citazioni: <cite> nel blockquote diventa elemento di blocco,
   va a capo con un trattino em davanti, dimensione leggermente ridotta.
   Convenzione editoriale: il citato ha la voce piena, l'attribuzione è un'etichetta
   sotto. La regola precedente già rende <cite> in tondo (Roman dentro Italic). */
body.subpage .article-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.78em;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.85;
}
body.subpage .article-body blockquote cite::before {
  content: "— "; /* trattino em + spazio */
}

/* Pullquote nei case study (es. progetti/lockbox-unina.html).
   Stessa famiglia editoriale di blockquote/lead, dimensione ridotta da 48px a 36px
   perché un Bodoni grande diventa drammatico — qui basta presenza, non urlo.
   Il colore è gestito a due livelli con la classe .pull-claim (ciano = la voce del
   progetto, citazione tra virgolette) vs il resto (neutro = la nostra glossa).
   Nota: per evitare conflitti, le regole tipografiche inline nei singoli case study
   devono restare ESCLUSIVAMENTE per layout/spacing — font, size e colore sono qui. */
.case-pullquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--white); /* neutro: la nostra glossa */
}
.case-pullquote .pull-claim {
  color: var(--cyan); /* ciano: la voce del progetto, frase tra virgolette */
}
/* Anche qui: italic dentro italic si ribalta */
.case-pullquote p em,
.case-pullquote p cite {
  font-style: normal;
}

/* Per il numero del carosello hero della home (Roman tondo) la regola è
   gestita inline in index.html dove la classe è già definita. */

/* ============ KOB SIGNATURE MARK ============
   Due varianti del segno-firma del sito, entrambe in ciano (currentColor),
   geometriche pulite, statiche di default, animate al hover.

   .kob-mark             → V1 raggera radiale (8 raggi corti, centro vuoto)
                           usata nel footer del sito → "marchio brand"
   .kob-mark--type       → V5 asterisco tipografico (4 linee passanti per il centro)
                           usata alla fine degli articoli Diario → "marchio editoriale"

   Tre dimensioni preset: sm 12px (inline), md 18px (default), lg 28px.
   Si usa con <span class="kob-mark"></span> oppure <span class="kob-mark kob-mark--type"></span>.
   ============================================== */
.kob-mark {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: var(--kob-mark-svg-radial);
          mask-image: var(--kob-mark-svg-radial);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  color: var(--cyan);
  opacity: 0.85;
  transition: transform 800ms var(--ease), opacity 300ms var(--ease);
  cursor: default;
}
/* Hover sul segno stesso o sul contenitore (.kob-mark-trigger) → ruota */
.kob-mark:hover,
.kob-mark-trigger:hover .kob-mark {
  transform: rotate(180deg); /* V1 a 180° torna identico, ma il movimento si vede */
  opacity: 1;
}

/* Variante tipografica (V5) — asterisco classico passante per il centro */
.kob-mark--type {
  -webkit-mask-image: var(--kob-mark-svg-type);
          mask-image: var(--kob-mark-svg-type);
}
.kob-mark--type:hover,
.kob-mark-trigger:hover .kob-mark--type {
  transform: rotate(45deg); /* la variante tipografica fa un quarto di giro: simmetria */
}

/* Dimensioni */
.kob-mark--sm { width: 12px; height: 12px; }
.kob-mark--lg { width: 28px; height: 28px; }

/* Definisco gli SVG come variabili CSS.
   Entrambi: viewBox 0 0 24 24, stroke 1.5px, linecap round, fill nessuno
   (il colore lo dà la maschera applicata al background-color). */
:root {
  /* V1 — raggera radiale: 8 raggi corti, centro vuoto.
     Ogni raggio va da raggio-interno=8 a raggio-esterno=11 dal centro (12,12).
     Otto direzioni a 45°: N, NE, E, SE, S, SW, W, NW. */
  --kob-mark-svg-radial: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'><line x1='12' y1='4' x2='12' y2='9'/><line x1='12' y1='15' x2='12' y2='20'/><line x1='4' y1='12' x2='9' y2='12'/><line x1='15' y1='12' x2='20' y2='12'/><line x1='6.34' y1='6.34' x2='9.88' y2='9.88'/><line x1='14.12' y1='14.12' x2='17.66' y2='17.66'/><line x1='17.66' y1='6.34' x2='14.12' y2='9.88'/><line x1='9.88' y1='14.12' x2='6.34' y2='17.66'/></svg>");

  /* V5 — asterisco tipografico: 4 linee complete passanti per il centro.
     Le quattro direzioni: verticale, orizzontale, NE-SW, NW-SE. */
  --kob-mark-svg-type: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'><line x1='12' y1='3' x2='12' y2='21'/><line x1='3' y1='12' x2='21' y2='12'/><line x1='5.64' y1='5.64' x2='18.36' y2='18.36'/><line x1='18.36' y1='5.64' x2='5.64' y2='18.36'/></svg>");
}

/* Rispetto reduced-motion: chi ha disattivato le animazioni vede solo il segno fermo */
@media (prefers-reduced-motion: reduce) {
  .kob-mark {
    transition: opacity 200ms ease;
  }
  .kob-mark:hover,
  .kob-mark-trigger:hover .kob-mark {
    transform: none;
  }
}

/* ============ ARTICLE SHARE (bottoni condivisione singolo articolo) ============ */
.article-share {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px clamp(24px, 3vw, 48px);
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.article-share-label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.article-share-list {
  display: flex;
  gap: 10px;
  align-items: center;
}
.article-share-list a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
  text-decoration: none;
  color: var(--muted);
}
.article-share-list a:hover {
  border-color: var(--cyan);
  background: rgba(24, 167, 230, .1);
  transform: translateY(-2px);
  color: var(--cyan);
}
.article-share-list svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  transition: fill .3s var(--ease);
}

@media (max-width: 480px) {
  .article-share { gap: 14px; }
  .article-share-label { font-size: 10px; }
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  z-index: 2;
  border-top: 2px solid var(--line);
  padding: 40px 0 40px;
}
.footer > .container {
  width: 100%;
  padding: 0 32px;
  margin: 0;
  max-width: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.footer-claim {
  font-family: var(--sans);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -.025em;
  max-width: 430px;
  font-weight: 300;
}
.footer nav { display: flex; flex-direction: column; gap: 12px; color: var(--muted); }
.footer nav a {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.footer nav a::before {
  content: attr(data-num);
  font-family: var(--sans);
  font-style: normal;
  color: var(--cyan);
  opacity: .6;
  letter-spacing: -.04em;
  text-transform: none;
  font-size: 14px;
  font-weight: 300;
}
.footer nav a:hover { color: var(--cyan); padding-left: 6px; }

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--muted);
}
.footer-contacts-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contacts-label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.footer-contacts-value,
.footer-contacts-value a {
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  font-weight: 300;
  letter-spacing: -.005em;
  line-height: 1.45;
  transition: color .25s var(--ease);
}
.footer-contacts-value a:hover { color: var(--cyan); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-bottom .credit {
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: -.02em;
  font-size: 14px;
}

/* Link "torna in cima" — sobrio, allineato a destra, sopra il footer-bottom */
.footer-back {
  display: flex;
  justify-content: flex-end;
  padding: 32px 0 24px;
}
.footer-back a {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.footer-back a:hover {
  color: var(--cyan);
  gap: 14px;
}
.footer-back a::after {
  content: "↑";
  display: inline-block;
  font-size: 12px;
  transition: transform .3s var(--ease);
}
.footer-back a:hover::after {
  transform: translateY(-3px);
}

/* ============ SOCIAL LINKS (sistema condiviso) ============ */
.social-links { display: flex; gap: 14px; }
.social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.social-links a:hover { border-color: var(--cyan); background: rgba(24,167,230,.1); transform: translateY(-3px); }
.social-links svg { width: 14px; fill: var(--white); transition: fill .3s var(--ease); }
.social-links a:hover svg { fill: var(--cyan); }

/* Variante più discreta nel footer */
.footer .social-links { gap: 10px; margin-top: 16px; }
.footer .social-links a { width: 30px; height: 30px; border-color: var(--faint); }
.footer .social-links svg { width: 12px; fill: var(--muted); }
.footer .social-links a:hover { border-color: var(--cyan); }
.footer .social-links a:hover svg { fill: var(--cyan); }

/* ============ KOB AUDIO BUTTON ============ */
/* Easter egg sonoro nel footer. Stessa forma dei social: cerchio, stesso bordo, stessa icona size.
   Differenza visiva: pulsa lievemente per segnalare che è cliccabile e che il sito ha un suono. */
.kob-audio-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--faint);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.kob-audio-btn:hover { border-color: var(--cyan); background: rgba(24,167,230,.1); transform: translateY(-3px); }
.kob-audio-icon { width: 13px; height: 13px; fill: var(--muted); stroke: var(--muted); stroke-width: 1.5; transition: fill .3s var(--ease), stroke .3s var(--ease); }
.kob-audio-icon--pause { fill: var(--muted); stroke: none; }
.kob-audio-btn:hover .kob-audio-icon { fill: var(--cyan); stroke: var(--cyan); }
.kob-audio-btn:hover .kob-audio-icon--pause { fill: var(--cyan); stroke: none; }
/* Quando suona, il vinile gira lentamente */
.kob-audio-btn.is-playing .kob-audio-icon--play {
  animation: kobVinylSpin 3s linear infinite;
  transform-origin: 50% 50%;
}
@keyframes kobVinylSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .kob-audio-btn.is-playing .kob-audio-icon--play { animation: none; }
}
/* Stato: play visibile per default, pause nascosto; al play si invertono.
   Selettore con .kob-audio-btn davanti per battere la specificità di .menu-social svg (0,1,1). */
.kob-audio-btn .kob-audio-icon--pause { display: none; }
.kob-audio-btn.is-playing .kob-audio-icon--play { display: none; }
.kob-audio-btn.is-playing .kob-audio-icon--pause { display: block; }
/* Quando suona, l'anello pulsa lentamente: segnale visivo discreto */
.kob-audio-btn.is-playing {
  border-color: var(--cyan);
  animation: kobAudioPulse 2.6s ease-in-out infinite;
}
@keyframes kobAudioPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(24,167,230,.35); }
  50%      { box-shadow: 0 0 0 6px rgba(24,167,230,0); }
}
@media (prefers-reduced-motion: reduce) {
  .kob-audio-btn.is-playing { animation: none; }
}
/* Tooltip discreto al hover, posizionato sopra al bottone */
.kob-audio-btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--faint);
  padding: 5px 9px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.kob-audio-btn:hover[data-tooltip]::after,
.kob-audio-btn:focus-visible[data-tooltip]::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.kob-audio-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ PAGINE INTERNE — header atmosferico ============ */
.page-header {
  position: relative;
  /* Altezza FISSA, identica alla hero della home (100svh).
     Indipendente dal contenuto: in futuro ogni pagina avrà un'immagine/video
     a piena viewport, e l'inquadratura deve essere sempre la stessa. */
  height: 100svh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(140px, 13vw, 190px) 0 clamp(72px, 8vw, 120px);
  overflow: hidden;
  z-index: 2;
}
.page-header.is-compact {
  /* Variante compatta non più usata, mantenuta per retrocompatibilità */
  height: 100svh;
  min-height: 100svh;
}
.page-header-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: var(--blue);
}

/* Velo di luce pulsante — registro minore rispetto al canvas hero della home.
   Solo opacità che respira, no movimento. Ciclo ~14s, asimmetrico. */
.page-header-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 30% 35%, var(--veil-radial-1), transparent 65%),
    radial-gradient(ellipse 60% 70% at 75% 65%, var(--veil-radial-2), transparent 70%),
    linear-gradient(135deg, var(--blue), var(--blue-2) 62%, var(--blue-3));
  pointer-events: none;
  animation: veilBreathe 14s ease-in-out infinite;
  will-change: opacity;
}
.page-header-veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--dot-pattern-color) 1px, transparent 1.5px);
  background-size: 28px 28px;
  background-position: 0 0;
  opacity: .16;
  pointer-events: none;
}
@keyframes veilBreathe {
  0%, 100% { opacity: .85; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .page-header-veil { animation: none; opacity: .95; }
}

.page-header > .container {
  position: relative;
  z-index: 3;
}

.page-header-inner {
  display: block;
  max-width: 1280px;
}
.page-header-inner > * + * { margin-top: 24px; }
.page-header-inner .page-lead { margin-top: 32px; }

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 32px;
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.page-back:hover { color: var(--cyan); gap: 16px; }
.page-back svg { width: 14px; transition: transform .3s var(--ease); }
.page-back:hover svg { transform: translateX(-4px); }

/* Hero-label coerente, in basso a sinistra delle pagine interne */
.page-label {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 5vw, 64px);
  bottom: 40px;
  color: var(--cyan);
  font-size: clamp(18px, 2vw, 25px);
  line-height: .88;
  letter-spacing: -.04em;
  text-transform: uppercase;
  font-weight: 300;
}

/* ============ CRISIS / RESPONSIVE ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 900px) {
  .container { width: calc(100% - 40px); }
  .header-inner { width: 100%; padding: 0 20px; }
  .footer > .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .menu { width: 100%; }
  .page-header { min-height: 60svh; }
  .page-label { left: 20px; bottom: 24px; }
}

@media (max-width: 620px) {
  .ex-link, .ex-body { grid-template-columns: 50px minmax(0, 1fr) 24px; gap: 16px; padding: 24px 20px; }
  .ex-item.is-open .ex-link { grid-template-columns: 50px minmax(0, 1fr); }
  .ex-item.is-open .ex-body { padding: 0 20px 24px 20px; }
  .ex-title { font-size: clamp(24px, 7vw, 32px); }
  .ex-number { font-size: clamp(22px, 6vw, 28px); }
  .ex-plus { width: 24px; height: 24px; }
  .ex-body-content { grid-column: 1 / 4; padding: 0 20px 0 66px; }
  .ex-item.is-open .ex-body-content { margin-left: 66px; padding: 0; }
  .ex-body p { font-size: 14px; }
  .ex-item:not(.is-open):hover .ex-body, .ex-item:not(.is-open):focus-within .ex-body { max-height: 480px; }
  .core-badge { top: 16px; font-size: 9px; }
}

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 480px;
  z-index: 60;
  padding: 24px 28px;
  background: var(--overlay-strong);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  transform: translateY(120%);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 300;
}
.cookie-banner p a {
  color: var(--cyan);
  border-bottom: 1px solid currentColor;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  border: 1px solid var(--line);
  color: var(--white);
  background: transparent;
}
.cookie-btn.is-primary {
  background: var(--cyan);
  color: var(--blue);
  border-color: var(--cyan);
}
.cookie-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.cookie-btn.is-primary:hover { background: var(--white); color: var(--blue); border-color: var(--white); }

/* ============================================
   PONTE METODO ↔ DIARIO
   Link editoriale che compare in fondo ai punti
   del metodo che hanno un articolo corrispondente
   nel Diario.
   ============================================ */

.method-diary {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 0.5px solid var(--faint);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cyan);
  text-decoration: none;
  transition: color .25s var(--ease);
  align-self: flex-start;
  position: relative;
  z-index: 2;
}

.method-diary .method-diary-arrow {
  font-size: 13px;
  line-height: 1;
  display: inline-block;
  transition: transform .3s var(--ease);
}

.method-diary em {
  font-style: italic;
  text-transform: none;
  letter-spacing: -.01em;
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
  transition: color .25s var(--ease);
}

.method-diary:hover .method-diary-arrow { transform: translateX(4px); }
.method-diary:hover em { color: var(--white); }

/* ==================================================================
   BIO FONDATORI: toggle "Bio" + accordion + link PDF
   Aggiornato — maggio 2026 (v1.3, post-AIAP)
================================================================== */

/* AIAP — affiliazione mostrata sotto i ruoli */
.founder-affiliation {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}

/* ==================================================================
   COMPONENTI CONDIVISI (migrati da inline IT/EN/FR per dedup)
   ================================================================== */

/* ============ HERO CTA — slide editoriali con kicker e CTA ============ */
.hero-kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 18px;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cyan);
  text-decoration: none;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.hero-link svg {
  width: 14px;
  height: 10px;
  transition: transform .3s var(--ease);
}
.hero-link:hover { gap: 16px; color: var(--white); }
.hero-link:hover svg { transform: translateX(2px); }

/* ============ KICKER ROW + RSS PILL (usato nel diario index) ============ */
.kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
/* Annulla margin-bottom del kicker quando è dentro kicker-row */
.kicker-row .kicker { margin-bottom: 0; }
.rss-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  text-decoration: none;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.rss-link svg { width: 11px; height: 11px; }
.rss-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(24,167,230,.06);
}

/* ============ FOUNDERS GRID (usato in studio) ============ */
.founders-grid {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  align-items: flex-start;
}
.founder {
  flex: 1 1 0;
  min-width: 0;
  transition: transform .4s var(--ease);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
@media (hover: hover) and (pointer: fine) {
  .founder:hover { transform: translateY(-4px); }
  .founder:hover .founder-portrait img { transform: scale(1.04); }
}
.founder-portrait {
  width: 100%;
  background: var(--blue-2);
  border: 1px solid rgba(26,26,26,.12);
  margin-bottom: 18px;
  overflow: hidden;
}
.founder-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.founder > strong {
  display: block;
  font-size: 16px;
  letter-spacing: -.015em;
  margin-bottom: 4px;
  font-weight: 500;
  color: var(--white);
}
.founder > span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}
.founder a.founder-mail {
  display: inline-block;
  margin-top: 8px;
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: -.005em;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
  align-self: flex-start;
}
.founder a.founder-mail:hover { border-bottom-color: var(--cyan); }

@media (max-width: 900px) {
  .founders-grid {
    flex-direction: column;
    gap: 40px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============ SOLUTION CLUSTERS (3 macro-aree: Pensiero/Voce/Forma) ============ */
.solution-cluster {
  max-width: 1240px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding-top: clamp(48px, 6vw, 80px); /* primo cluster: respiro dall'hero */
}
/* I cluster successivi sono separati dalla sola etichetta grande (Voce, Forma):
   il padding-top sopra basta come ritmo visivo, nessun divisore necessario. */
.solution-cluster-header {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: clamp(28px, 3vw, 44px);
  align-items: baseline;
}
.solution-cluster-kicker {
  font-family: "Oswald", var(--sans);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -.005em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--cyan);
}
.solution-cluster-intro {
  font-family: var(--sans);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.45;
  color: var(--muted);
  font-weight: 300;
  max-width: 540px;
  margin: 0;
}
@media (max-width: 720px) {
  .solution-cluster-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}


/* ============================================================
   KOB Chat Widget — bolla flottante + pannello chat
   Backend: https://chat.kindofblue.it
   ============================================================ */
.kob-chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--blue);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .2s ease;
}
.kob-chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 30px rgba(0,0,0,.35); }
.kob-chat-fab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.kob-chat-fab svg { width: 24px; height: 24px; pointer-events: none; }
.kob-chat-fab.is-open svg { display: none; }
.kob-chat-fab.is-open::before {
  content: "×";
  font-family: var(--sans);
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}

.kob-chat-panel {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 380px;
  height: min(560px, calc(100vh - 140px));
  background: var(--blue-2);
  border: 1px solid var(--cyan-soft);
  border-radius: 14px;
  box-shadow: 0 16px 50px rgba(0,0,0,.4);
  z-index: 91;
  display: none;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.kob-chat-panel.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.kob-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--cyan-soft);
  color: var(--white);
  flex-shrink: 0;
}
.kob-chat-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.02em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kob-chat-title-asterisk { color: var(--cyan); font-weight: 400; }
.kob-chat-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  opacity: .6;
  padding: 4px 8px;
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
  transition: opacity .2s ease;
}
.kob-chat-close:hover { opacity: 1; }

.kob-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan-soft) transparent;
}
.kob-chat-body::-webkit-scrollbar { width: 6px; }
.kob-chat-body::-webkit-scrollbar-thumb { background: var(--cyan-soft); border-radius: 3px; }

.kob-chat-msg {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 85%;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.kob-chat-msg.is-user {
  background: var(--cyan);
  color: var(--blue);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.kob-chat-msg.is-agent {
  background: var(--blue-3);
  color: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.kob-chat-typing {
  display: flex;
  gap: 4px;
  padding: 14px 16px;
  background: var(--blue-3);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.kob-chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: kob-typing 1.4s infinite ease-in-out;
}
.kob-chat-typing span:nth-child(2) { animation-delay: .2s; }
.kob-chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes kob-typing {
  0%, 80%, 100% { opacity: .3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-4px); }
}

.kob-chat-error {
  font-family: var(--sans);
  font-size: 13px;
  color: #ff7a7a;
  padding: 8px 14px;
  background: rgba(255,122,122,.1);
  border-radius: 8px;
  align-self: flex-start;
  max-width: 85%;
}

.kob-chat-form {
  border-top: 1px solid var(--cyan-soft);
  padding: 12px;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  flex-shrink: 0;
}
.kob-chat-input {
  flex: 1;
  background: var(--blue-3);
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 12px;
  resize: none;
  outline: none;
  min-height: 40px;
  max-height: 120px;
  transition: border-color .2s ease;
}
.kob-chat-input:focus { border-color: var(--cyan); }
.kob-chat-input::placeholder { color: var(--muted); }
.kob-chat-send {
  background: var(--cyan);
  color: var(--blue);
  border: none;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.kob-chat-send:hover:not(:disabled) { transform: translateY(-1px); }
.kob-chat-send:disabled { opacity: .4; cursor: not-allowed; }
.kob-chat-send svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .kob-chat-fab { right: 16px; bottom: 16px; }
  .kob-chat-panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kob-chat-fab,
  .kob-chat-panel { transition: none; }
  .kob-chat-typing span { animation: none; opacity: .6; }
}

/* ============================================================
   KOB Chat Widget — Voce (microfono + audio playback)
   ============================================================ */
.kob-chat-header-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}

.kob-chat-icon-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  opacity: .55;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s ease, background .2s ease;
}
.kob-chat-icon-btn:hover { opacity: 1; background: rgba(255,255,255,.06); }
.kob-chat-icon-btn svg { width: 18px; height: 18px; }
.kob-chat-icon-btn.is-active { opacity: 1; color: var(--cyan); }

.kob-chat-mic {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--cyan-soft);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s ease;
  position: relative;
}
.kob-chat-mic:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan); }
.kob-chat-mic:disabled { opacity: .4; cursor: not-allowed; }
.kob-chat-mic svg { width: 18px; height: 18px; }

.kob-chat-mic.is-recording {
  background: #e74c3c;
  border-color: #e74c3c;
  color: white;
  animation: kob-mic-pulse 1.4s infinite;
}
.kob-chat-mic.is-recording::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  border: 2px solid rgba(231,76,60,.5);
  animation: kob-mic-ring 1.4s infinite;
}
@keyframes kob-mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231,76,60,.5); }
  50% { box-shadow: 0 0 0 8px rgba(231,76,60,0); }
}
@keyframes kob-mic-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.kob-chat-recording-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(231,76,60,.12);
  border-radius: 10px;
  align-self: stretch;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--white);
}
.kob-chat-recording-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e74c3c;
  animation: kob-rec-blink 1s infinite;
  flex-shrink: 0;
}
@keyframes kob-rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
.kob-chat-recording-time {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  margin-left: auto;
  opacity: .8;
}

.kob-chat-msg.is-agent.is-speaking {
  border-left: 3px solid var(--cyan);
  padding-left: 11px;
}

@media (prefers-reduced-motion: reduce) {
  .kob-chat-mic.is-recording { animation: none; }
  .kob-chat-mic.is-recording::after { animation: none; opacity: .5; }
  .kob-chat-recording-dot { animation: none; }
}

/* L'asterisco nell'header pulsa rapidamente quando KOB sta parlando — un "respiro" mosso dalle parole. */
.kob-chat-title-asterisk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  color: var(--cyan);
  transform-origin: center;
  flex-shrink: 0;
}
.kob-chat-title-asterisk svg {
  width: 100%;
  height: 100%;
  display: block;
}
.kob-chat-title-asterisk svg line {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
}
.kob-chat-panel.is-kob-speaking .kob-chat-title-asterisk {
  animation: kob-speak-pulse 0.7s ease-in-out infinite;
}
@keyframes kob-speak-pulse {
  0%   { transform: scale(1);    opacity: .7; }
  18%  { transform: scale(1.50); opacity: 1;  }
  38%  { transform: scale(1.10); opacity: .8; }
  58%  { transform: scale(1.60); opacity: 1;  }
  78%  { transform: scale(1.15); opacity: .85; }
  100% { transform: scale(1);    opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  .kob-chat-panel.is-kob-speaking .kob-chat-title-asterisk { animation: none; opacity: .9; }
}

/* ============================================================
   Preloader di pagina — asterisco brand che pulsa mentre il sito carica.
   Iniettato come primo child del <body> in ogni pagina HTML.
   Rimosso da system.js al window.load (immagini/video pronti).
   ============================================================ */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .55s var(--ease), visibility .55s;
}
.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-loader-asterisk {
  width: 64px;
  height: 64px;
  color: var(--cyan);
  animation: site-loader-pulse 0.95s ease-in-out infinite;
  transform-origin: center;
}
.site-loader-asterisk svg {
  width: 100%;
  height: 100%;
  display: block;
}
.site-loader-asterisk svg line {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
}
@keyframes site-loader-pulse {
  0%, 100% { transform: scale(1);    opacity: .55; }
  50%      { transform: scale(1.25); opacity: 1;   }
}
@media (prefers-reduced-motion: reduce) {
  .site-loader-asterisk { animation: none; opacity: .85; }
}

/* Link al PDF del profilo professionale, sotto la mail del founder */
.founder-cv {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--mono, var(--sans));
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.founder-cv:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
