/* ════════════════════════════════════════════════════════════════════════════
   Made to Sell — Sito Corporate
   Apple-inspired, light/dark theme, Made to Sell DS tokens
   ════════════════════════════════════════════════════════════════════════════ */

/* Self-hosted fonts (no third-party calls — GDPR-friendly). Latin subset. */
@font-face{font-family:'Archivo';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/Archivo-400.woff2') format('woff2')}
@font-face{font-family:'Archivo';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/Archivo-500.woff2') format('woff2')}
@font-face{font-family:'Archivo';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/Archivo-600.woff2') format('woff2')}
@font-face{font-family:'Archivo';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/Archivo-700.woff2') format('woff2')}
@font-face{font-family:'Archivo';font-style:normal;font-weight:800;font-display:swap;src:url('assets/fonts/Archivo-800.woff2') format('woff2')}
@font-face{font-family:'Archivo';font-style:normal;font-weight:900;font-display:swap;src:url('assets/fonts/Archivo-900.woff2') format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/JetBrainsMono-400.woff2') format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/JetBrainsMono-500.woff2') format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/JetBrainsMono-600.woff2') format('woff2')}

:root {
  /* Brand */
  --m2s-blue: #1F7CC9;
  --m2s-blue-600: #1A6BB0;
  --m2s-cyan: #2EB7E6;
  --m2s-navy: #0C0F15;
  --m2s-navy-2: #15315E;
  --m2s-deep: #07090D;

  /* Light theme (default) */
  --bg: #FFFFFF;
  --bg-2: #F7F8FA;
  --bg-3: #EFF2F6;
  --bg-dark: #0C0F15;
  --bg-deep: #07090D;
  --fg: #0C0F15;
  --fg-2: #4A5C75;
  --fg-3: #8896A8;
  --fg-on-dark: #FFFFFF;
  --fg-on-dark-2: rgba(255,255,255,0.72);
  --fg-on-dark-3: rgba(255,255,255,0.48);
  --line: rgba(10, 26, 51, 0.08);
  --line-2: rgba(10, 26, 51, 0.16);
  --line-dark: rgba(255, 255, 255, 0.10);
  --line-dark-2: rgba(255, 255, 255, 0.18);
  --accent: #14171D;
  --accent-soft: rgba(20,23,29,0.07);

  /* Type */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-base: 220ms;

  /* Radii / shadow */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --shadow-soft: 0 12px 40px rgba(10,26,51,0.08);
  --shadow-card: 0 1px 2px rgba(10,26,51,0.04), 0 8px 30px rgba(10,26,51,0.06);
}

/* ── Dark theme override ────────────────────────────────────────────────── */
[data-theme="dark"] {
  --bg: #07090D;
  --bg-2: #0C0F15;
  --bg-3: #15181F;
  --bg-dark: #07090D;
  --bg-deep: #020304;
  --fg: #FFFFFF;
  --fg-2: rgba(255,255,255,0.72);
  --fg-3: rgba(255,255,255,0.48);
  --line: rgba(255,255,255,0.10);
  --line-2: rgba(255,255,255,0.18);
  --accent: #FFFFFF;
  --accent-soft: rgba(255,255,255,0.12);
  --shadow-soft: 0 12px 40px rgba(0,0,0,0.35);
  --shadow-card: 0 1px 2px rgba(0,0,0,0.4), 0 8px 30px rgba(0,0,0,0.4);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }

/* ── Type ───────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
  color: var(--fg);
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 6.2vw, 92px); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(32px, 3.6vw, 52px); }
h3 { font-size: clamp(24px, 2.4vw, 36px); }
h4 { font-size: 20px; }
p { margin: 0; color: var(--fg-2); text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.5vw, 22px); color: var(--fg-2); line-height: 1.5; max-width: 60ch; }
/* Tinted subtitle directly under a section title (agency look) */
.section h2 + .lead, #offering h2 + .lead, #modes h2 + .lead,
.section--dark h2 + .lead { color: var(--sub-tint, #8AA6D8); }
.section--dark h2 + .lead { color: #9FB6E0; }

/* Bold uppercase display headings — agency-style impact (site-wide) */
.hero h1,
.section h2,
#offering h2,
#modes h2,
.offer-diss__name,
.cta h2,
.page-hero h1,
.teaserrow__title,
.worldmap__title,
.cycle__title {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero h1 { line-height: 0.94; }
.hero h1 em, .page-hero h1 em, .cta h2 em { font-style: normal; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--accent);
  display: inline-block;
}
.mono { font-family: var(--font-mono); }

/* ── Layout primitives ───────────────────────────────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 920px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--dark { background: var(--bg-dark); color: var(--fg-on-dark); position: relative; overflow: hidden; }
.section--dark > .wrap { position: relative; z-index: 1; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 8% 0%, rgba(108,92,231,0.16) 0%, transparent 60%),
    radial-gradient(42% 55% at 96% 12%, rgba(31,124,201,0.18) 0%, transparent 62%),
    radial-gradient(50% 60% at 60% 100%, rgba(46,183,230,0.12) 0%, transparent 60%);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--fg-on-dark); }
.section--dark p { color: var(--fg-on-dark-2); }
.section--dark .eyebrow { color: rgba(255,255,255,0.55); }
.section--soft { background: var(--bg-2); }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, #0A1A33 90%, transparent);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: white;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.nav[data-scrolled="true"] {
  background: color-mix(in srgb, #0A1A33 90%, transparent);
}
.nav[data-on-dark="true"] {
  background: color-mix(in srgb, #0A1A33 90%, transparent);
  border-bottom-color: rgba(255,255,255,0.10);
  color: white;
}
.nav[data-on-dark="true"][data-scrolled="true"] {
  background: color-mix(in srgb, #0A1A33 90%, transparent);
}
.nav__inner {
  max-width: 1320px; margin: 0 auto; padding: 0 20px;
  min-height: 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav__left {
  display: flex; align-items: center; gap: 24px;
}
.nav__logo {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; cursor: pointer; position: relative;
  flex: none;
}
.nav__logo-img {
  height: 100%; width: auto; display: block;
  transition: none;
}
/* Nav is permanently navy → always show white logo + white links */
.nav__logo-img--light { position: absolute; inset: 0; opacity: 1; }
.nav__logo-img--dark  { opacity: 0; }

/* Offering — two dropdown triggers side by side */
.nav__offer {
  display: flex; align-items: center; gap: 4px;
}
.nav-dd { position: relative; }
.nav-dd__trigger {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.005em;
  color: #fff; opacity: 0.78;
  padding: 8px 14px;
  border-radius: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.nav-dd__trigger:hover {
  opacity: 1;
  background: rgba(255,255,255,0.10);
}
.nav-dd__trigger.active {
  opacity: 1;
  color: #fff;
}
.nav-dd__trigger.is-open {
  background: rgba(255,255,255,0.10);
  opacity: 1;
}
.nav-dd__trigger svg {
  transition: transform var(--dur-fast) var(--ease-out);
  opacity: 0.7;
}
.nav-dd__trigger.is-open svg { transform: rotate(180deg); }
.nav[data-on-dark="true"] .nav-dd__trigger:hover,
.nav[data-on-dark="true"] .nav-dd__trigger.is-open {
  background: rgba(255,255,255,0.10);
}
.nav[data-on-dark="true"] .nav-dd__trigger.active { color: #fff; }

.nav-dd__menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 110;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(10,26,51,0.14);
  padding: 6px; margin: 0;
  min-width: 280px;
  display: flex; flex-direction: column; gap: 2px;
  animation: ddIn 180ms var(--ease-out);
}
@keyframes ddIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.nav[data-on-dark="true"] .nav-dd__menu {
  background: #0E1E3D;
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.nav-dd__opt {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 2px;
  color: var(--fg);
  transition: background var(--dur-fast) var(--ease-out);
}
.nav[data-on-dark="true"] .nav-dd__opt { color: white; }
.nav-dd__opt:hover { background: var(--bg-2); }
.nav[data-on-dark="true"] .nav-dd__opt:hover { background: rgba(255,255,255,0.06); }
.nav-dd__opt-name {
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
}
.nav-dd__opt-desc {
  font-size: 12px; color: var(--fg-3); font-weight: 500;
}
.nav[data-on-dark="true"] .nav-dd__opt-desc { color: rgba(255,255,255,0.55); }
.nav-dd__opt.on .nav-dd__opt-name { color: var(--accent); }
.nav[data-on-dark="true"] .nav-dd__opt.on .nav-dd__opt-name { color: #fff; }

/* RIGHT — links + cta */
.nav__right { display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; gap: 22px; }
.nav__links a {
  font-size: 13px; font-weight: 500; opacity: 0.78; cursor: pointer;
  color: rgba(255,255,255,0.82);
  transition: opacity var(--dur-fast) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.nav__links a:hover, .nav__links a.active { opacity: 1; color: #fff; }
.nav[data-on-dark="true"] .nav__links a { color: rgba(255,255,255,0.82); }
.nav[data-on-dark="true"] .nav__links a:hover,
.nav[data-on-dark="true"] .nav__links a.active { color: white; opacity: 1; }
@media (max-width: 1080px) {
  .nav__links { display: none; }
}
@media (max-width: 720px) {
  .nav__inner { gap: 12px; padding: 0 16px; min-height: 80px; }
  .nav__offer { display: none; }
  .nav__logo { height: 44px; }
  .nav__cta { display: none; }
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 14px; letter-spacing: -0.005em;
  padding: 12px 22px; border-radius: var(--r-pill);
  cursor: pointer; border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--fg); color: var(--bg); }
[data-theme="dark"] .btn--primary { background: var(--fg-on-dark); color: var(--bg-dark); }
.btn--primary:hover { box-shadow: 0 8px 24px rgba(10,26,51,0.18); }
.btn--accent { background: #2EB7E6; color: #fff; }
.btn--accent:hover { filter: brightness(1.06); }
[data-theme="dark"] .btn--accent { color: var(--bg-dark); }
.btn--ghost { color: inherit; border-color: currentColor; opacity: 0.85; background: transparent; }
.btn--ghost:hover { opacity: 1; }
.btn--link {
  padding: 0; background: transparent; color: inherit;
  font-size: 14px; font-weight: 600;
}
.btn--link::after {
  content: "→"; margin-left: 4px;
  transition: transform var(--dur-fast) var(--ease-out);
  display: inline-block;
}
.btn--link:hover::after { transform: translateX(4px); }
.btn--sm { padding: 8px 16px; font-size: 13px; }

/* ── Reveal ─────────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px);
          transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
/* Hero is above-the-fold: render visible by default so the Typewriter's
   per-tick re-renders can't freeze the reveal transition at frame 0. */
.hero .reveal { opacity: 1; transform: none; transition: none; }
.reveal[data-d="1"] { transition-delay: 80ms; }
.reveal[data-d="2"] { transition-delay: 160ms; }
.reveal[data-d="3"] { transition-delay: 240ms; }
.reveal[data-d="4"] { transition-delay: 320ms; }
.reveal[data-d="5"] { transition-delay: 400ms; }

/* ────────────────────────────────────────────────────────────────────────
   HOMEPAGE — HERO (cinematic, photo-free, navy gradient + cyan glows)
   ──────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: #07090D;
  color: white;
  overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: brightness(1.02) contrast(1.02);
  transition: opacity 1.4s linear;
}
.hero__video--b { opacity: 0; }
/* Blue duotone tint over the video */
.hero__bg::after,
.hero__video + .hero__tint { }
.hero__tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,16,32,0.12) 0%, rgba(7,16,32,0.30) 100%);
  mix-blend-mode: normal;
}
/* Static deep navy gradient — no pulsing, no animation */
.hero__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(36% 30% at 22% 32%, rgba(46,183,230,0.14) 0%, transparent 60%),
    radial-gradient(30% 26% at 78% 24%, rgba(31,124,201,0.10) 0%, transparent 62%),
    linear-gradient(180deg, rgba(7,16,32,0.06) 0%, rgba(7,16,32,0.18) 100%);
}
/* Subtle blue spark accents + thin light lines */
.hero__spark {
  position: absolute; border-radius: 50%;
  pointer-events: none;
}
.hero__spark--1 {
  width: 5px; height: 5px; top: 30%; left: 16%;
  background: var(--m2s-cyan);
  box-shadow: 0 0 12px 2px rgba(46,183,230,0.7);
  animation: sparkPulse 4.5s ease-in-out infinite;
}
.hero__spark--2 {
  width: 4px; height: 4px; top: 62%; left: 72%;
  background: #4D9DDD;
  box-shadow: 0 0 10px 2px rgba(31,124,201,0.6);
  animation: sparkPulse 5.5s ease-in-out infinite 1.2s;
}
.hero__spark--3 {
  width: 3px; height: 3px; top: 22%; left: 58%;
  background: var(--m2s-cyan);
  box-shadow: 0 0 8px 1px rgba(46,183,230,0.55);
  animation: sparkPulse 6s ease-in-out infinite 2.4s;
}
@keyframes sparkPulse {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50%      { opacity: 0.9; transform: scale(1.15); }
}
.hero__line {
  position: absolute; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(46,183,230,0.4), transparent);
}
.hero__line--1 { width: 220px; top: 40%; right: 9%; transform: rotate(-8deg); opacity: 0.5; }
.hero__line--2 { width: 160px; bottom: 24%; left: 11%; transform: rotate(6deg); opacity: 0.32; }

/* Fine grid texture — barely visible */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image: radial-gradient(80% 60% at 50% 50%, rgba(0,0,0,0.8), transparent 80%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 50%, rgba(0,0,0,0.8), transparent 80%);
  opacity: 0.5;
  pointer-events: none;
}

/* Morphing orbs — removed (kept rules dormant in case of revert) */
.hero__blob { display: none; }

/* Morphing liquid orbs — abstract "moving image" behind the hero text */
.hero__blob {
  position: absolute;
  z-index: 1; pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
}
.hero__blob--a {
  width: 720px; height: 720px;
  top: -10%; right: -8%;
  background: radial-gradient(circle at 35% 35%, #2EB7E6 0%, #1F7CC9 45%, transparent 70%);
  animation: blobMorphA 18s var(--ease-in-out) infinite,
             blobDriftA 28s var(--ease-in-out) infinite;
}
.hero__blob--b {
  width: 640px; height: 640px;
  bottom: -18%; left: -10%;
  background: radial-gradient(circle at 60% 60%, #1F7CC9 0%, #15315E 40%, transparent 65%);
  animation: blobMorphB 22s var(--ease-in-out) infinite,
             blobDriftB 36s var(--ease-in-out) infinite;
  opacity: 0.7;
}
.hero__blob--c {
  width: 480px; height: 480px;
  top: 40%; left: 38%;
  background: radial-gradient(circle at 50% 50%, rgba(46,183,230,0.55) 0%, transparent 60%);
  animation: blobMorphA 26s var(--ease-in-out) -8s infinite,
             blobDriftC 32s var(--ease-in-out) infinite;
  opacity: 0.5;
}
@keyframes blobMorphA {
  0%, 100% { border-radius: 64% 36% 47% 53% / 49% 56% 44% 51%; transform: rotate(0deg); }
  25%      { border-radius: 38% 62% 65% 35% / 55% 40% 60% 45%; transform: rotate(90deg); }
  50%      { border-radius: 55% 45% 33% 67% / 42% 58% 42% 58%; transform: rotate(180deg); }
  75%      { border-radius: 47% 53% 58% 42% / 64% 36% 64% 36%; transform: rotate(270deg); }
}
@keyframes blobMorphB {
  0%, 100% { border-radius: 50% 50% 60% 40% / 45% 55% 45% 55%; transform: rotate(0deg) scale(1); }
  33%      { border-radius: 70% 30% 45% 55% / 38% 62% 38% 62%; transform: rotate(120deg) scale(1.06); }
  66%      { border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%; transform: rotate(240deg) scale(0.96); }
}
@keyframes blobDriftA {
  0%, 100% { translate: 0 0; }
  50%      { translate: -6% 4%; }
}
@keyframes blobDriftB {
  0%, 100% { translate: 0 0; }
  50%      { translate: 5% -5%; }
}
@keyframes blobDriftC {
  0%, 100% { translate: 0 0; }
  33%      { translate: -8% 6%; }
  66%      { translate: 7% -4%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__blob { animation: none !important; }
  .hero__bg::before { animation: none !important; }
}

.hero__inner {
  position: relative; z-index: 3; width: 100%;
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero h1 {
  color: white; font-size: clamp(38px, 4.8vw, 72px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 0.98;
  max-width: 18ch;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; font-weight: 500; color: #2EB7E6; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.6); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: ""; width: 32px; height: 1px; background: rgba(255,255,255,0.4); opacity: 0.7;
}
.hero__sub {
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5;
  color: rgba(255,255,255,0.78); max-width: 52ch;
  margin: 36px 0 40px;
}
.hero__typewriter {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: white;
  min-height: 1.3em;
  line-height: 1.1;
  display: inline-block;
}
.twr {
  display: inline-flex; align-items: baseline; gap: 2px;
}
.twr__text { white-space: pre; }
.twr__cursor {
  display: inline-block;
  width: 3px; height: 0.95em;
  background: white;
  margin-left: 6px;
  transform: translateY(2px);
  animation: twrBlink 0.9s steps(2, end) infinite;
}
@keyframes twrBlink {
  50% { opacity: 0; }
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0 0; }
.hero__scroll {
  position: absolute; left: 32px; bottom: 32px; z-index: 3;
  color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; display: flex; align-items: center; gap: 12px;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 32px; background: rgba(255,255,255,0.3);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 0.8; }
}

/* ─── Hero motion graphic (la scienza della performance) ─────────────── */
/* ── Hero client strip (mini reel) ───────────────────────────────────── */
.hero__clients {
  margin-top: 96px;
  display: flex; align-items: center; gap: 28px;
  max-width: 960px;
}
.hero__clients-label {
  flex: none;
  display: flex; flex-direction: column; line-height: 1.2;
}
.hero__clients-label span {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.6);
}
.hero__clients-label strong {
  font-size: 15px; font-weight: 700; color: #2EB7E6; letter-spacing: -0.01em;
}
.hero__clients-divider {
  flex: none;
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.18);
}
.reel--mini {
  flex: 1; min-width: 0;
  margin-top: 0; padding: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 82%, transparent 100%);
}
.reel--mini .reel__row { margin-bottom: 28px; }
.reel--mini .reel__track { gap: 0; padding: 0; animation-duration: 68s; }
.reel--mini .reel__logo { height: 28px; margin-right: 52px; }
.reel--mini .reel__logo img { max-width: 116px; }
.reel--mini .reel__logo--wide img { max-width: 150px; }
.reel--mini .reel__logo--xwide { height: 24px; }
.reel--mini .reel__logo--xwide img { max-width: 190px; }
.reel--mini .reel__logo--tall { height: 52px; }
.reel--mini .reel__logo--tall img { max-width: 130px; }
.reel--mini .reel__logo--tallsq { height: 56px; }
.reel--mini .reel__logo--tallsq img { max-width: 78px; }
@media (max-width: 720px) {
  .hero__clients { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__clients-divider { display: none; }
  .reel--mini { width: 100%; }
}

.hv {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(95% 95% at 50% 50%, rgba(0,0,0,1) 60%, rgba(0,0,0,0.25) 100%);
  -webkit-mask-image: radial-gradient(95% 95% at 50% 50%, rgba(0,0,0,1) 60%, rgba(0,0,0,0.25) 100%);
}
.hv__svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
}
/* Dot grid — performance network */
.hv-dot {
  opacity: 0;
  animation: hv-dot-pulse 4s var(--ease-in-out) infinite;
  animation-delay: var(--delay);
  transform-box: fill-box; transform-origin: center;
  filter: drop-shadow(0 0 4px rgba(46,183,230,0.45));
}
@keyframes hv-dot-pulse {
  0%   { opacity: 0;    transform: scale(0.4); }
  25%  { opacity: 0.9;  transform: scale(1.2); }
  65%  { opacity: 0.6;  transform: scale(1);   }
  100% { opacity: 0;    transform: scale(0.6); }
}
/* Connector lines */
.hv-link {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: hv-link-draw 5.5s var(--ease-in-out) infinite;
  opacity: 0;
  stroke-width: 1;
}
@keyframes hv-link-draw {
  0%   { stroke-dashoffset: 200; opacity: 0; }
  25%  { opacity: 0.6; }
  60%  { stroke-dashoffset: 0;   opacity: 0.4; }
  100% { stroke-dashoffset: -200; opacity: 0; }
}
/* Curved data flows */
.hv-flow {
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
  animation: hv-flow-draw 5.5s var(--ease-in-out) infinite;
  stroke-width: 1.6 !important;
  filter: drop-shadow(0 0 6px rgba(46,183,230,0.35));
}
@keyframes hv-flow-draw {
  0%   { stroke-dashoffset: 2200; }
  45%  { stroke-dashoffset: 0;    }
  100% { stroke-dashoffset: -2200; }
}
.hv-flow-glow {
  opacity: 0.7;
  stroke-dasharray: 280 2000;
  stroke-dashoffset: 0;
  stroke-width: 3 !important;
  animation: hv-flow-sweep 4.6s linear infinite;
  filter: drop-shadow(0 0 10px rgba(46,183,230,0.5));
}
@keyframes hv-flow-sweep {
  0%   { stroke-dashoffset: 2200; }
  100% { stroke-dashoffset: -280; }
}
/* Bars */
.hv-bar {
  transform-box: fill-box; transform-origin: bottom;
  animation: hv-bar-rise 1.2s var(--ease-out) backwards;
  animation-iteration-count: 1;
}
@keyframes hv-bar-rise {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}
.hv-trend {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  stroke-width: 1.8 !important;
  animation: hv-trend-draw 1.8s var(--ease-out) 0.5s forwards;
  filter: drop-shadow(0 0 5px rgba(46,183,230,0.7));
}
@keyframes hv-trend-draw {
  to { stroke-dashoffset: 0; }
}
/* Gauge */
.hv-gauge-arc {
  stroke-dasharray: 502.6;
  stroke-dashoffset: 502.6;
  stroke-width: 3 !important;
  animation: hv-gauge-fill 2s var(--ease-out) 0.4s forwards;
  filter: drop-shadow(0 0 10px rgba(46,183,230,0.65));
}
@keyframes hv-gauge-fill {
  to { stroke-dashoffset: 120; }
}
/* Scan light sweep across the hero */
.hv-scan {
  animation: hv-scan-x 7s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.18 !important;
}
@keyframes hv-scan-x {
  0%   { transform: translateX(0); }
  100% { transform: translateX(3200px); }
}

/* Floating metric cards */
.hv-cards {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hv-card {
  position: absolute; transform: translate(-50%, -50%);
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(10,26,51,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: white;
  display: flex; flex-direction: column; gap: 4px;
  min-width: 130px;
  opacity: 0;
  animation: hv-card-float 7s var(--ease-in-out) infinite;
  animation-delay: calc(var(--f) * 1.2s);
  box-shadow: 0 8px 24px rgba(5,13,31,0.5);
}
.hv-card__l {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.18em; color: var(--m2s-cyan);
  font-weight: 600; text-transform: uppercase;
}
.hv-card__row {
  display: flex; align-items: baseline; gap: 6px;
}
.hv-card__v {
  font-family: var(--font-mono); font-size: 19px; font-weight: 700;
  color: white;
}
.hv-card__d {
  font-size: 10px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
}
@keyframes hv-card-float {
  0%, 100% { opacity: 0; transform: translate(-50%, -45%); }
  15%      { opacity: 1; transform: translate(-50%, -50%); }
  85%      { opacity: 1; transform: translate(-50%, -55%); }
}

/* Hide most of the motion clutter on tiny screens */
@media (max-width: 640px) {
  .hv-cards { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-dot, .hv-link, .hv-flow, .hv-flow-glow, .hv-bar, .hv-trend, .hv-gauge-arc, .hv-scan, .hv-card {
    animation: none !important;
  }
  .hv-card { opacity: 0.9; }
}

/* ────────────────────────────────────────────────────────────────────────
   MANIFESTO — type-driven, generous whitespace
   ──────────────────────────────────────────────────────────────────────── */
.manifesto { text-align: center; }
.manifesto h2 {
  font-size: clamp(34px, 4.4vw, 68px);
  white-space: pre-line;
  margin: 18px auto 36px;
  max-width: 16ch;
}
.manifesto__lead { margin: 0 auto 80px; text-align: left; max-width: 60ch; }
.manifesto .lead { margin: 0 auto; }
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: left;
}
.pillar { background: var(--bg); padding: 48px 32px 48px 0; }
/* ─── Fishbone (Ishikawa) method diagram ────────────────────────────── */
#manifesto .reveal { opacity: 1 !important; transform: none !important; }
.fish { margin-top: 40px; }
.fish__board {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column;
}
.fish__row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px; padding: 0 7% 0 14%;
}
.fish__row--top { align-items: end; }
.fish__row--bottom { align-items: start; }
.fish-branch__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fish-branch__num {
  width: 34px; height: 34px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--m2s-cyan);
  color: var(--m2s-cyan);
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
}
.fish-branch__name {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.01em;
  color: white; margin: 0;
}
.fish-branch__sub {
  list-style: none; margin: 0; padding: 0 0 0 46px;
  display: flex; flex-direction: column; gap: 6px;
}
.fish-branch__sub li {
  font-size: 13px; color: rgba(255,255,255,0.62);
  letter-spacing: 0.01em;
  position: relative; padding-left: 16px;
}
.fish-branch__sub li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(46,183,230,0.55);
}
/* connector line from branch toward spine */
.fish-branch { position: relative; }
.fish-branch--top { padding-bottom: 28px; }
.fish-branch--bottom { padding-top: 28px; }
.fish-branch--top::after,
.fish-branch--bottom::after {
  content: ""; position: absolute; left: 17px;
  width: 1px; height: 28px;
  background: linear-gradient(var(--dir, 180deg), rgba(46,183,230,0.5), rgba(46,183,230,0));
}
.fish-branch--top::after { bottom: 0; --dir: 0deg; }
.fish-branch--bottom::after { top: 0; }

/* Spine */
.fish__spine {
  display: flex; align-items: center; gap: 0;
  margin: 14px 0;
  padding: 0 0 0 2%;
}
.fish__platform {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 150px; text-align: center;
}
.fish__platform-mark {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(46,183,230,0.10);
  border: 1px solid rgba(46,183,230,0.45);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
  align-content: center; justify-content: center; padding: 16px;
}
.fish__platform-mark i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--m2s-cyan); opacity: 0.85;
}
.fish__platform-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.75); line-height: 1.3;
  text-transform: uppercase;
}
.fish__arrow {
  flex: 1; height: 44px; position: relative;
  background: linear-gradient(90deg, rgba(31,124,201,0.55), var(--m2s-cyan));
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(0 22%, calc(100% - 28px) 22%, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, calc(100% - 28px) 78%, 0 78%);
}
.fish__arrow-label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: white; font-weight: 600;
  padding-right: 28px;
}
.fish__kci {
  flex: none; display: flex; align-items: center; gap: 12px;
  width: 180px; padding-left: 18px;
}
.fish__kci-num {
  width: 40px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--m2s-cyan); color: #07090D;
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
}
.fish__kci-name {
  font-family: var(--font-serif); font-weight: 500; font-size: 28px;
  color: white; line-height: 1;
}
.fish__kci-desc {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-top: 4px;
}
/* Mobile: stack as a vertical numbered list */
@media (max-width: 860px) {
  .fish__board { gap: 0; }
  .fish__row { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .fish__row--top { order: 0; }
  .fish__spine { order: 1; flex-direction: column; gap: 20px; margin: 24px 0; padding: 0; }
  .fish__row--bottom { order: 2; }
  .fish__arrow { width: 100%; height: 36px; flex: none; align-self: stretch;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px)); }
  .fish__platform, .fish__kci { width: auto; }
  .fish-branch { padding: 22px 0 !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .fish-branch::after { display: none; }
  .fish-branch__sub { padding-left: 46px; }
}
/* ─── Method cycle (continuous loop visual) ─────────────────────────── */
.cycle {
  margin: 56px auto 0;
  display: flex; justify-content: center;
}
.cycle__viz {
  position: relative;
  width: 540px; height: 540px;
  max-width: 94vw;
  --cycle-ring: var(--line-2);
}
.section--dark .cycle__viz { --cycle-ring: rgba(255,255,255,0.22); }
.cycle__svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: visible;
}
.cycle__arc {
  transition: transform .7s var(--ease-in-out);
}
.cycle__dot { transition: r .4s var(--ease-out), fill .4s var(--ease-out); }
.cycle__node {
  position: absolute; transform: translate(-50%, -50%);
  background: var(--bg); border: 1px solid var(--line-2);
  color: var(--fg-2); cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  padding: 9px 18px; border-radius: var(--r-pill);
  white-space: nowrap;
  transition: all .35s var(--ease-out);
  z-index: 2;
}
.cycle__node:hover { border-color: var(--fg-2); color: var(--fg); }
.cycle__node.is-active {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
  box-shadow: 0 8px 24px rgba(10,26,51,0.18);
}
[data-theme="dark"] .cycle__node.is-active { background: var(--fg-on-dark); color: var(--bg-dark); }
.cycle__center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 22%;
}
.cycle__num, .cycle__title, .cycle__desc { transition: opacity .35s var(--ease-out); }
@keyframes cycleCenterIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: none; }
}
.cycle__num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  color: var(--accent); font-weight: 600; margin-bottom: 10px;
}
.cycle__title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.8vw, 52px); font-weight: 500;
  letter-spacing: -0.01em; line-height: 1.04; color: var(--fg);
  margin-bottom: 14px;
}
.cycle__desc {
  font-size: 15px; line-height: 1.6; color: var(--fg-2); margin: 0;
}
.section--dark .cycle__node {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.7);
}
.section--dark .cycle__node:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.section--dark .cycle__node.is-active { background: #fff; color: var(--bg-dark); border-color: #fff; }
.section--dark .cycle__title { color: #fff; }
.section--dark .cycle__desc { color: rgba(255,255,255,0.72); }
.section--dark .cycle__num { color: rgba(255,255,255,0.55); }

.cycle__viz--converge .cycle__node { padding: 10px 20px; font-size: 15px; display: inline-flex; align-items: center; gap: 9px; }
.cycle__node-n { font-family: var(--font-mono); font-size: 11px; opacity: 0.6; }
.cycle__node-ic {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--node-c) 18%, transparent);
  color: var(--node-c);
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
}
.cycle__node.is-active .cycle__node-ic { background: var(--node-c); color: #fff; }
.cycle__pulse { filter: drop-shadow(0 0 4px var(--m2s-cyan)); }
.cycle__corepulse { transform-origin: 200px 200px; animation: corePulse 2.6s ease-out infinite; }
@keyframes corePulse {
  0% { transform: scale(1); opacity: 0.9; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.cycle__core-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  pointer-events: none; z-index: 3;
}
.cycle__core-k {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(38px, 4vw, 56px);
  letter-spacing: -0.02em; line-height: 1;
  background: linear-gradient(135deg, var(--m2s-blue), var(--m2s-cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.cycle__core-sub {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3); margin-top: 6px; font-weight: 600;
}
.section--dark .cycle__core-sub { color: rgba(255,255,255,0.55); }
.cycle__caption {
  display: flex; gap: 16px; align-items: flex-start;
  max-width: 560px; margin: 8px auto 0; text-align: left;
  animation: cycleCenterIn .4s var(--ease-out);
}
.cycle__cap-n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-weight: 700; padding-top: 3px; }
.cycle__cap-t { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 17px; letter-spacing: -0.01em; color: var(--fg); margin-bottom: 4px; }
.cycle__cap-d { font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0; }
.cycle__converge-note { max-width: 560px; margin: 20px auto 0; text-align: center; font-size: 14px; line-height: 1.6; color: var(--fg-3); }
.section--dark .cycle__cap-t { color: #fff; }
.section--dark .cycle__cap-d { color: rgba(255,255,255,0.72); }
.section--dark .cycle__converge-note { color: rgba(255,255,255,0.55); }
.section--dark .cycle__converge-note strong { color: var(--m2s-cyan); }
.cycle { flex-direction: column; align-items: center; }
.cycle--split {
  flex-direction: row; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.cycle--split .cycle__side {
  max-width: 360px; text-align: left;
  display: flex; flex-direction: column; gap: 24px;
}
.cycle--split .cycle__caption { margin: 0; }
.cycle--split .cycle__converge-note { margin: 0; text-align: left; }
@media (max-width: 880px) {
  .cycle--split { flex-direction: column; gap: 24px; }
  .cycle--split .cycle__side { text-align: center; align-items: center; }
  .cycle--split .cycle__caption { text-align: left; }
  .cycle--split .cycle__converge-note { text-align: center; }
}

@media (max-width: 520px) {
  .cycle__viz { width: 340px; height: 340px; }
  .cycle__node { font-size: 11px; padding: 7px 13px; }
  .cycle__center { padding: 0 22%; }
}
@media (prefers-reduced-motion: reduce) {
  .cycle__arc, .cycle__center { animation: none !important; transition: none !important; }
}
.pillar:not(:first-child) { padding-left: 32px; }
.pillar__num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  color: var(--accent); font-weight: 600; margin-bottom: 16px;
}
.pillar h4 {
  font-size: clamp(22px, 1.8vw, 26px); font-weight: 700;
  letter-spacing: -0.02em; margin: 0 0 12px;
}
.pillar p { font-size: 15px; color: var(--fg-2); line-height: 1.6; }
.section--soft .pillar { background: var(--bg-2); }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 32px 0 !important; }
}

/* ────────────────────────────────────────────────────────────────────────
   DIVISIONS — large editorial cards
   ──────────────────────────────────────────────────────────────────────── */
.divs__head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 48px; margin-bottom: 64px;
}
.divs__head h2 {
  font-size: clamp(34px, 4vw, 58px);
  white-space: pre-line; max-width: 18ch;
}
.divs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.div-card {
  background: var(--bg-2);
  border-radius: var(--r-xl);
  padding: 40px 36px 36px;
  display: flex; flex-direction: column;
  min-height: 460px;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background var(--dur-fast) var(--ease-out);
  position: relative; overflow: hidden;
}
[data-theme="dark"] .div-card { background: var(--bg-3); }
.div-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.div-card__tag {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; color: var(--accent);
  font-weight: 600; margin-bottom: 32px;
}
.div-card__name {
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.05; margin: 0 0 16px;
}
.div-card__name em { color: var(--accent); font-style: normal; }
.div-card__copy {
  font-size: 15px; color: var(--fg-2); line-height: 1.55;
  margin: 0 0 auto; max-width: 32ch;
}
.div-card__list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-direction: column;
}
.div-card__list li {
  font-size: 13px; color: var(--fg);
  padding: 12px 0; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.div-card__list li::before {
  content: "→"; color: var(--accent); font-weight: 700; font-size: 12px;
}
.div-card__cta {
  margin-top: 28px; font-size: 13px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--dur-fast) var(--ease-out);
}
.div-card:hover .div-card__cta { gap: 10px; }
@media (max-width: 940px) {
  .divs { grid-template-columns: 1fr; }
  .divs__head { flex-direction: column; align-items: start; }
}

/* ────────────────────────────────────────────────────────────────────────
   PLATFORM (dark section, big visual)
   ──────────────────────────────────────────────────────────────────────── */
.platform {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px;
  align-items: center;
}
.platform__left h2 {
  white-space: pre-line; margin: 18px 0 28px;
  font-size: clamp(32px, 3.8vw, 52px);
}
.platform__sub {
  font-size: 17px; line-height: 1.6;
  color: rgba(255,255,255,0.72); max-width: 48ch; margin-bottom: 36px;
}
.platform__visual {
  position: relative; aspect-ratio: 4/3;
  border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(180deg, #0C0F15 0%, #07090D 100%);
  border: 1px solid var(--line-dark);
}
.platform__visual img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.85;
}
.platform__mods {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  background: linear-gradient(180deg, transparent 0%, rgba(5,13,31,0.85) 60%);
}
.platform__mod {
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  font-size: 12px; font-weight: 600; color: white;
  display: flex; align-items: center; gap: 8px;
}
.platform__mod i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--m2s-cyan);
  display: block;
}
@media (max-width: 940px) {
  .platform { grid-template-columns: 1fr; gap: 48px; }
}

/* ─── PlatformIndicators dashboard mock ─────────────────────────────── */
.pi {
  position: absolute; inset: 0;
  padding: 28px 28px 24px;
  color: white;
  display: flex; flex-direction: column; gap: 18px;
  font-family: var(--font-display);
}
.pi__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pi__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
}
.pi__brand-mark {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 7px;
  background: var(--m2s-blue);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em;
  color: white;
}
.pi__brand-name { letter-spacing: -0.01em; }
.pi__live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; color: rgba(255,255,255,0.6);
}
.pi__live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--m2s-cyan);
  animation: piPulse 1.6s ease-in-out infinite;
}
@keyframes piPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,183,230,0.7); }
  70%      { box-shadow: 0 0 0 7px rgba(46,183,230,0); }
}

.pi__hero {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px;
  align-items: end;
}
.pi__hero-l {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; color: var(--m2s-cyan);
  font-weight: 600;
}
.pi__hero-n {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(48px, 5vw, 68px); letter-spacing: -0.045em;
  line-height: 1; margin: 8px 0 6px;
  color: white;
}
.pi__hero-n span {
  color: rgba(255,255,255,0.4); font-size: 0.4em; font-weight: 500;
  margin-left: 4px; letter-spacing: 0;
}
.pi__hero-d {
  font-size: 11px; color: rgba(255,255,255,0.55);
  font-family: var(--font-mono); letter-spacing: 0.04em;
}
.pi__chart {
  width: 100%; aspect-ratio: 100/36;
}

.pi__rows {
  display: flex; flex-direction: column; gap: 1px;
  margin-top: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px; overflow: hidden;
}
.pi__row {
  display: grid; grid-template-columns: 1.4fr 1fr 90px;
  gap: 16px; align-items: center;
  padding: 10px 14px;
  background: rgba(10,26,51,0.55);
  font-size: 12px;
}
.pi__row--bold { background: rgba(31,124,201,0.16); }
.pi__row-l { color: rgba(255,255,255,0.85); font-weight: 500; letter-spacing: -0.005em; }
.pi__row--bold .pi__row-l { color: white; font-weight: 600; }
.pi__row-bar {
  height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.06); overflow: hidden;
}
.pi__row-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--m2s-blue), var(--m2s-cyan));
  border-radius: 2px;
  transform-origin: left;
  animation: piBarRise 1.2s var(--ease-out) backwards;
}
.pi__row:nth-child(1) .pi__row-bar span { animation-delay: 0s; }
.pi__row:nth-child(2) .pi__row-bar span { animation-delay: 0.12s; }
.pi__row:nth-child(3) .pi__row-bar span { animation-delay: 0.24s; }
.pi__row:nth-child(4) .pi__row-bar span { animation-delay: 0.36s; }
@keyframes piBarRise {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.pi__row-n {
  font-family: var(--font-mono); font-size: 14px;
  font-weight: 700; color: white;
  text-align: right; letter-spacing: -0.01em;
}
.pi__row-n small {
  font-size: 10px; color: rgba(255,255,255,0.5);
  margin-left: 3px; font-weight: 500;
}
.pi__row--bold .pi__row-n small { color: var(--m2s-cyan); }

@media (max-width: 940px) {
  .pi { padding: 20px 18px; }
  .pi__hero { grid-template-columns: 1fr; }
  .pi__hero-n { font-size: 48px; }
}

/* Module chips in the left column, below the CTA */
.platform__chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 32px;
  max-width: 460px;
}
.platform__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.005em;
}
.platform__chip i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--m2s-cyan);
  flex: none;
}

/* ────────────────────────────────────────────────────────────────────────
   PROOF — big numbers strip
   ──────────────────────────────────────────────────────────────────────── */
.proof__head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 48px; margin-bottom: 64px;
}
.proof__head h2 { max-width: 16ch; }
.proof {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.proof__cell {
  padding: 48px 24px;
  border-right: 1px solid var(--line);
}
.proof__cell:last-child { border-right: 0; }
.proof__n {
  font-size: clamp(40px, 3.6vw, 56px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  color: var(--fg);
}
/* ─── Project modes (integrated vs one-shot) ────────────────────────── */
.modes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 940px; margin: 0 auto;
}
.mode {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.mode:hover { transform: translateY(-3px); border-color: var(--accent); }
.mode__icon {
  width: 64px; height: 64px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 24px;
}
.mode__title {
  font-size: clamp(22px, 2.2vw, 28px); font-weight: 700;
  letter-spacing: -0.02em; margin: 0 0 14px;
}
.mode__copy { font-size: 15px; line-height: 1.6; color: var(--fg-2); margin: 0; }
@media (max-width: 760px) {
  .modes { grid-template-columns: 1fr; }
}

/* ─── Team / Firenze teaser row ─────────────────────────────────────── */
.teaserrow {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px;
  align-items: center;
}
.teaserrow__media {
  border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4/3.4; background: var(--bg-3);
}
.teaserrow__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(0.92);
}
.teaserrow__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.6vw, 52px); font-weight: 500;
  letter-spacing: -0.01em; line-height: 1.05;
  margin: 16px 0 20px;
}
.teaserrow__copy {
  font-size: 17px; line-height: 1.65; color: var(--fg-2);
  margin: 0 0 28px; max-width: 46ch;
}
@media (max-width: 880px) {
  .teaserrow { grid-template-columns: 1fr; gap: 32px; }
}
/* ─── World map (presided countries) ────────────────────────────────── */
.worldmap { margin-top: 96px; }
.worldmap__head { text-align: center; margin-bottom: 32px; }
.worldmap__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 44px); font-weight: 500;
  letter-spacing: -0.01em; line-height: 1.05; color: var(--fg);
  margin-top: 14px;
}
.worldmap__viz {
  max-width: 980px; margin: 0 auto;
}
.worldmap__svg { width: 100%; height: auto; display: block; overflow: visible; }
.worldmap__dot { fill: var(--line-2); }
.worldmap__pin { fill: var(--accent); }
.worldmap__halo {
  fill: var(--accent); opacity: 0.18;
  transform-box: fill-box; transform-origin: center;
  animation: wmPulse 2.8s ease-in-out infinite;
}
.worldmap__mk:nth-child(2n) .worldmap__halo { animation-delay: -0.9s; }
.worldmap__mk:nth-child(3n) .worldmap__halo { animation-delay: -1.6s; }
@keyframes wmPulse {
  0%, 100% { transform: scale(1); opacity: 0.18; }
  50%      { transform: scale(1.5); opacity: 0.05; }
}
.worldmap__legend {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 40px auto 0; max-width: 760px;
}
.worldmap__tag {
  font-size: 12px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--fg-2);
  padding: 6px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
}
@media (prefers-reduced-motion: reduce) {
  .worldmap__halo { animation: none !important; }
}
.proof__l {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3); font-weight: 600; margin-top: 16px;
}
.proof__d {
  font-size: 13px; color: var(--fg-2); line-height: 1.5;
  margin-top: 10px; max-width: 24ch;
}
@media (max-width: 880px) {
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof__cell { border-bottom: 1px solid var(--line); }
  .proof__cell:nth-child(2n) { border-right: 0; }
  .proof__cell:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
  .proof { grid-template-columns: 1fr; }
  .proof__cell { border-right: 0; }
}

/* ────────────────────────────────────────────────────────────────────────
   METHODOLOGY — KCI / EXI tabs
   ──────────────────────────────────────────────────────────────────────── */
.method__tabs {
  display: flex; gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
}
.method__tab {
  background: transparent; border: 1px solid var(--line-2); color: var(--fg);
  padding: 10px 20px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.method__tab:hover { border-color: var(--fg-2); }
.method__tab.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
[data-theme="dark"] .method__tab.active { background: var(--fg-on-dark); color: var(--bg-dark); }
.method__panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  padding: 56px; border-radius: var(--r-xl);
  background: var(--bg-2);
  align-items: center;
}
[data-theme="dark"] .method__panel { background: var(--bg-3); }
.method__panel h3 {
  font-size: clamp(28px, 3.2vw, 44px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1; margin: 12px 0 16px;
}
.method__panel p { font-size: 16px; line-height: 1.6; }
.method__panel ul {
  list-style: none; padding: 0; margin: 24px 0 0;
}
.method__panel li {
  padding: 12px 0; border-top: 1px solid var(--line);
  font-size: 14px; display: flex; gap: 12px; align-items: center;
}
.method__panel li .mono { color: var(--accent); font-size: 11px; min-width: 32px; }

.method__viz {
  position: relative; aspect-ratio: 1; max-width: 380px; margin: 0 auto;
}
@media (max-width: 940px) {
  .method__panel { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
}

/* ─── Industries — horizontal scroller ─────────────────────────────── */
.industries-scroller {
  position: relative;
  margin-top: 56px;
}
.industries-scroller__track {
  display: flex; gap: 16px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.industries-scroller__track::-webkit-scrollbar { display: none; }
.industries-scroller__pad-l,
.industries-scroller__pad-r {
  flex: 0 0 max(32px, calc((100vw - 1240px) / 2 + 32px));
  scroll-snap-align: none;
}
.industries-scroller .industry-card {
  flex: 0 0 420px;
  height: 540px;
  aspect-ratio: auto;
  scroll-snap-align: start;
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-3);
  cursor: pointer;
  isolation: isolate;
}
.industry-card__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
  transition: transform 600ms var(--ease-out), filter var(--dur-base) var(--ease-out);
  filter: saturate(0.7);
}
.industry-card__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10,26,51,0.32) 0%,
      rgba(10,26,51,0.55) 50%,
      rgba(5,13,31,0.92) 100%),
    linear-gradient(135deg,
      rgba(31,124,201,0.15) 0%,
      transparent 60%);
  transition: opacity var(--dur-base) var(--ease-out);
}
.industry-card__meta {
  position: absolute; left: 0; right: 0; bottom: 0; top: 0;
  padding: 28px 30px;
  color: white;
  display: flex; flex-direction: column; justify-content: space-between;
  z-index: 1;
}
.industry-card__n {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; color: rgba(255,255,255,0.72);
  font-weight: 600;
}
.industry-card__name {
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.022em; line-height: 1.1;
  color: white;
}
.industry-card:hover .industry-card__img {
  transform: scale(1.08);
  filter: saturate(1);
}

/* Nav arrows */
.industries-scroller__nav {
  display: flex; gap: 8px; justify-content: flex-end;
  max-width: 1240px; margin: 24px auto 0;
  padding: 0 32px;
}
.iscr-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--fg);
  font-size: 16px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast) var(--ease-out);
}
.iscr-btn:hover:not(:disabled) {
  background: var(--fg); color: var(--bg);
  border-color: var(--fg);
  transform: translateY(-1px);
}
[data-theme="dark"] .iscr-btn:hover:not(:disabled) { color: var(--bg-dark); }
.iscr-btn:disabled { opacity: 0.3; cursor: default; }

@media (max-width: 760px) {
  .industries-scroller .industry-card { flex: 0 0 320px; height: 440px; }
  .industry-card__meta { padding: 22px 24px; }
  .industry-card__name { font-size: 24px; }
}

/* ─── Clients — horizontal scroller (dark section) ─────────────────── */
.clients-scroller { position: relative; margin-top: 48px; }
.clients-scroller__track {
  display: flex; gap: 12px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.clients-scroller__track::-webkit-scrollbar { display: none; }
.clients-scroller__pad-l,
.clients-scroller__pad-r {
  flex: 0 0 max(32px, calc((100vw - 1240px) / 2 + 32px));
  scroll-snap-align: none;
}
.client-card {
  flex: 0 0 280px;
  height: 240px;
  scroll-snap-align: start;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column;
  padding: 32px;
  justify-content: space-between;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
  cursor: default;
}
.client-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.client-card__logo {
  flex: 1; min-height: 0;
  display: flex; align-items: center; gap: 16px;
  padding: 4px 0;
}
.client-card__img {
  width: 56px; height: 56px;
  flex: none;
  object-fit: contain;
  border-radius: 10px;
  background: white;
  padding: 6px;
}
.client-card__name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.15;
  color: white;
}
.client-card__name {
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.015em; color: white;
}
.client-card__tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); font-weight: 600;
}
.clients-scroller__nav {
  display: flex; gap: 8px; justify-content: flex-end;
  max-width: 1240px; margin: 24px auto 0;
  padding: 0 32px;
}
.iscr-btn--dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: white;
}
.iscr-btn--dark:hover:not(:disabled) {
  background: white; color: var(--bg-dark);
  border-color: white;
}
@media (max-width: 760px) {
  .client-card { flex: 0 0 220px; height: 220px; padding: 22px; }
}

/* ────────────────────────────────────────────────────────────────────────
   CLIENTS strip
   ──────────────────────────────────────────────────────────────────────── */
.clients {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: 56px;
}
.client {
  padding: 36px 12px; text-align: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: 13px; letter-spacing: 0.06em;
  color: var(--fg-3);
  border-right: 1px solid var(--line);
  transition: color var(--dur-fast) var(--ease-out);
}
.client:nth-child(6n) { border-right: 0; }
.client:hover { color: var(--fg); }
@media (max-width: 760px) {
  .clients { grid-template-columns: repeat(3, 1fr); }
  .client:nth-child(3n) { border-right: 0; }
  .client:nth-child(6n) { border-right: 1px solid var(--line); }
}

/* ────────────────────────────────────────────────────────────────────────
   INSIGHT cards
   ──────────────────────────────────────────────────────────────────────── */
.insight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.insight__card {
  background: var(--bg-2); border-radius: var(--r-xl);
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
  min-height: 320px; cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
[data-theme="dark"] .insight__card { background: var(--bg-3); }
.insight__card:hover { transform: translateY(-4px); }
.insight__row {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3);
}
.insight__row .tag { color: var(--accent); font-weight: 700; }
.insight__title {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.25; color: var(--fg); flex: 1;
}
.insight__foot {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--fg-2);
}
@media (max-width: 880px) {
  .insight { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────────────────────────────────
   FINAL CTA — dark, big claim
   ──────────────────────────────────────────────────────────────────────── */
.cta {
  background: var(--bg-deep); color: white;
  padding: 110px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(48% 45% at 14% 8%, rgba(108,92,231,0.20) 0%, transparent 60%),
    radial-gradient(52% 50% at 88% 10%, rgba(31,124,201,0.20) 0%, transparent 60%),
    radial-gradient(60% 40% at 50% 30%, rgba(46,183,230,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta__inner { position: relative; }
.cta h2 {
  font-size: clamp(36px, 4.2vw, 62px);
  white-space: pre-line; max-width: 14ch; margin: 0 auto 28px;
  color: white;
}
.cta__sub {
  max-width: 52ch; margin: 0 auto 40px;
  color: rgba(255,255,255,0.72); font-size: 18px;
}

/* ────────────────────────────────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, #0A1A33 0%, #050D1F 100%);
  color: white; padding: 36px 0;
  position: relative; z-index: 2; overflow: hidden;
  margin-top: 0;
  border-top: 1px solid var(--line);
}
.footer::before { display: none; }
@keyframes footerWave {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .footer__wave svg { animation: none; }
}
.footer__inner { position: relative; z-index: 1; padding-top: 8px; }
.footer__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  padding-bottom: 48px;
}
.footer__logo { display: inline-block; cursor: pointer; }
.footer__logo img { height: clamp(48px, 6vw, 76px); width: auto; display: block; }
.footer__actions { display: flex; align-items: center; gap: 12px; }
.footer__contact {
  background: rgba(8,20,40,0.55); color: white; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 14px;
  padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 6px 22px rgba(8,20,40,0.35);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.footer__contact:hover { transform: translateY(-1px); background: rgba(8,20,40,0.78); }
.footer__soc {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(8,20,40,0.55); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; cursor: pointer;
  box-shadow: 0 6px 22px rgba(8,20,40,0.30);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.footer__soc:hover { transform: translateY(-2px); background: rgba(8,20,40,0.8); }
.footer__nav {
  display: grid; grid-template-columns: repeat(4, auto); gap: 24px 64px;
  justify-content: start;
  padding: 8px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 40px;
}
.footer__navcol h5 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin: 0 0 14px; font-weight: 700;
}
.footer__navcol a {
  display: block; color: rgba(255,255,255,0.72); font-size: 13px;
  padding: 6px 0; cursor: pointer;
}
.footer__navcol a:hover { color: white; }
.footer__bot {
  display: flex; justify-content: flex-start; gap: 20px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 12px; color: rgba(255,255,255,0.7);
}
@media (max-width: 760px) {
  .footer__nav { grid-template-columns: repeat(2, auto); justify-content: start; gap: 24px 48px; }
  .footer__navcol--contacts { justify-self: start; grid-column: 1 / -1; }
  .footer__bot { flex-direction: column; gap: 8px; }
}

/* ────────────────────────────────────────────────────────────────────────
   INNER PAGE — generic
   ──────────────────────────────────────────────────────────────────────── */
.page-hero {
  padding: 130px 0 80px;
  background: var(--bg);
}
.page-hero__eyebrow { margin-bottom: 28px; display: inline-block; }
.page-hero h1 {
  font-size: clamp(32px, 4vw, 58px);
  max-width: 16ch; margin-bottom: 32px;
}
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero--photo { position: relative; overflow: hidden; min-height: 88vh; display: flex; align-items: center; text-align: left; }
.page-hero--photo > .wrap { width: 100%; }
.page-hero--photo > .wrap { position: relative; z-index: 2; }
.page-hero__photo { position: absolute; inset: 0; z-index: 0; }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.88) 52%, rgba(255,255,255,0.52) 80%, rgba(255,255,255,0.24) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.10) 45%, rgba(255,255,255,0.55) 100%);
}
.page-hero__photo img { filter: brightness(0.72) saturate(1.04); }
/* Consulting retail: no full-bleed white-wash; only the horizontal __tint veil */
.page-hero--consulting .page-hero__photo::after { display: none; }
/* Platform hero: cancel the light consulting white-wash overlay + base brightening */
.page-hero--platform .page-hero__photo::after { display: none !important; }
.page-hero--platform .page-hero__photo::before { display: none !important; }
.page-hero--platform .page-hero__video--plat { filter: brightness(0.58) contrast(1.03) !important; transform: none !important; }
.page-hero__tint--plat {
  background:
    linear-gradient(180deg, rgba(7,16,32,0.0) 0%, rgba(7,16,32,0.06) 100%) !important;
  mix-blend-mode: normal !important;
}
.page-hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
  filter: saturate(0.82) brightness(1.16);
  transition: opacity 0.5s ease;
}
.page-hero__tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(248,250,252,0.92) 0%, rgba(248,250,252,0.9) 40%, rgba(248,250,252,0.78) 52%, rgba(248,250,252,0.0) 62%, rgba(248,250,252,0) 100%);
}
.page-hero__tint--corp {
  background:
    linear-gradient(90deg, rgba(244,238,238,0.92) 0%, rgba(244,238,238,0.9) 40%, rgba(244,238,238,0.78) 52%, rgba(244,238,238,0.0) 62%, rgba(244,238,238,0) 100%) !important;
  mix-blend-mode: normal !important;
}
.page-hero__video { transition: opacity 1.1s ease; }
.page-hero__video--corp { filter: saturate(0.9) brightness(0.72) contrast(1.06); transition: opacity 1.1s ease; left: auto !important; right: 0 !important; width: 54% !important; object-position: center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 14%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 14%, #000 34%); }
.page-hero--corp .page-hero__tint, .page-hero__tint--corp { background: linear-gradient(90deg, #F4EEEE 0%, #F4EEEE 22%, rgba(244,238,238,0.82) 38%, rgba(244,238,238,0.5) 52%, rgba(244,238,238,0.2) 66%, rgba(244,238,238,0) 82%) !important; }
.page-hero__video--plat { filter: saturate(1.15) brightness(0.82) contrast(1.02); transition: opacity 1.4s linear; }
.page-hero__tint--plat {
  background: linear-gradient(180deg, rgba(7,18,36,0) 0%, rgba(5,14,28,0.04) 100%) !important;
  mix-blend-mode: normal !important;
}
.page-hero__tint--plat-OLD {
  background:
    linear-gradient(180deg, rgba(2,6,14,0.5) 0%, rgba(2,6,14,0.7) 100%),
    radial-gradient(50% 40% at 30% 30%, rgba(46,183,230,0.12) 0%, transparent 60%) !important;
  mix-blend-mode: normal !important;
}
.page-hero--photo { border-bottom: 1px solid var(--line-2); }
.page-hero--photo .page-hero__sub { max-width: 34ch; color: #283446; }
.page-hero__sub {
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5;
  color: var(--fg-2); max-width: 60ch;
}
.page-hero--dark {
  background: var(--bg-dark); color: white;
  padding: 150px 0 96px;
  position: relative; overflow: hidden;
}
.page-hero--dark::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(42% 48% at 8% 4%, rgba(108,92,231,0.20) 0%, transparent 60%),
    radial-gradient(50% 45% at 92% 14%, rgba(31,124,201,0.24) 0%, transparent 64%),
    radial-gradient(55% 55% at 70% 100%, rgba(46,183,230,0.16) 0%, transparent 62%),
    radial-gradient(40% 40% at 30% 88%, rgba(31,124,201,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero--platform.page-hero--photo::after,
.page-hero--platform.page-hero--photo::before { background: none !important; }
.page-hero--dark h1 { color: white; }
.page-hero--dark .page-hero__sub { color: rgba(255,255,255,0.72); }
.page-hero--dark .eyebrow { color: rgba(255,255,255,0.55); }
.page-hero--dark > .wrap { position: relative; z-index: 1; }
/* Retail hero photo background */
.page-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,13,31,0.92) 0%, rgba(5,13,31,0.78) 42%, rgba(5,13,31,0.45) 100%),
    linear-gradient(180deg, rgba(5,13,31,0.55) 0%, rgba(5,13,31,0.30) 50%, rgba(5,13,31,0.65) 100%);
}
/* Page-hero content visible by default (route-mount reveal can stall) */
.page-hero .reveal { opacity: 1; transform: none; transition: none; }

/* ── Division page ─────────────────────────────────────────────────────── */
.division-deliverables {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 56px;
}
.deliverable {
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 200px;
  transition: background var(--dur-fast) var(--ease-out);
}
[data-theme="dark"] .deliverable { background: var(--bg-3); }
.deliverable__code {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; color: var(--accent); font-weight: 600;
}
.deliverable__name {
  font-size: 18px; font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.25;
}
.deliverable__desc {
  font-size: 14px; color: var(--fg-2); line-height: 1.55;
}
@media (max-width: 760px) {
  .division-deliverables { grid-template-columns: 1fr; }
}

.process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); margin-top: 56px;
}
.process__step {
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.process__step:last-child { border-right: 0; }
.process__step:not(:first-child) { padding-left: 24px; }
.process__num {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
  font-weight: 700; letter-spacing: 0.14em; margin-bottom: 14px;
}
.process__name {
  font-size: 18px; font-weight: 700; letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.process__desc { font-size: 13px; line-height: 1.55; color: var(--fg-2); }
@media (max-width: 760px) {
  .process { grid-template-columns: 1fr; }
  .process__step { padding: 24px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .process__step:last-child { border-bottom: 0; }
}

/* ── Platform page ─────────────────────────────────────────────────────── */
.platform-modules {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 32px;
  align-items: start;
}
.pmod {
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 8px;
  cursor: default;
  transition: transform var(--dur-base) var(--ease-out);
}
.pmod__num { margin-top: 4px; }
[data-theme="dark"] .pmod { background: var(--bg-3); }
.pmod:hover { transform: translateY(-4px); }
.pmod__ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: var(--m2s-cyan); margin-bottom: 0;
}
.pmod__ic svg { width: 26px; height: 26px; }
.pmod__num {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  font-weight: 600; letter-spacing: 0.14em;
}
.pmod__name {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
}
.pmod__desc { font-size: 14px; color: var(--fg-2); line-height: 1.55; }
.pmod__feats {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;
}
.pmod__feats span {
  font-size: 11px; padding: 4px 10px;
  background: var(--bg); border-radius: var(--r-pill);
  color: var(--fg-2);
  border: 1px solid var(--line);
}
@media (max-width: 880px) {
  .platform-modules { grid-template-columns: 1fr; }
}

/* ── About page ─────────────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center;
}
.about-grid img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--r-xl); filter: grayscale(0.1);
}
.about-grid h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  white-space: pre-line; margin-bottom: 24px;
}
.about-grid p { font-size: 17px; line-height: 1.65; margin-bottom: 20px; }
.about-grid p:last-child { margin-bottom: 0; }
@media (max-width: 940px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 64px;
}
.timeline .tl-item:nth-child(4n) { border-right: 0; }
.timeline .tl-item:nth-child(n+5) { border-top: 1px solid var(--line); }
.tl-item--ongoing .tl-year { color: var(--m2s-cyan); }
.tl-item {
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--line);
}
.tl-item:last-child { border-right: 0; }
.tl-item:not(:first-child) { padding-left: 24px; }
.tl-year {
  font-family: var(--font-mono); font-size: 15px; color: var(--accent);
  font-weight: 700; letter-spacing: 0.04em; margin-bottom: 12px;
}
.tl-title {
  font-size: 17px; font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.25; margin: 0 0 10px;
}
.tl-desc { font-size: 13px; color: var(--fg-2); line-height: 1.55; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; }
  .tl-item { padding: 24px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .tl-item:last-child { border-bottom: 0; }
}

.values {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  margin-top: 56px;
}
.value {
  flex: 0 1 calc(33.333% - 11px);
  padding: 36px 32px;
  background: var(--bg-2);
  border-radius: var(--r-xl);
  min-height: 240px;
}
@media (max-width: 760px) { .value { flex: 0 1 calc(50% - 8px); } }
@media (max-width: 520px) { .value { flex: 1 1 100%; } }
[data-theme="dark"] .value { background: var(--bg-3); }
.value__ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(46,183,230,0.12); border: 1px solid rgba(46,183,230,0.30);
  color: var(--m2s-cyan);
}
.value__ic svg { width: 24px; height: 24px; }
.value h4 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px;
}
.value p { font-size: 14px; color: var(--fg-2); line-height: 1.6; }

/* ── Contact page ───────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 96px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 32px; font-size: clamp(32px, 3.8vw, 50px); }
.contact-info p { font-size: 17px; line-height: 1.6; max-width: 44ch; margin-bottom: 32px; }
.contact-info__block { margin-top: 40px; }
.contact-info__block h5 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 12px; font-weight: 700;
}
.contact-info__block p {
  font-size: 15px; color: var(--fg); margin: 0; line-height: 1.6;
}
.contact-info__block a { color: var(--fg); }
.contact-info__block a:hover { color: var(--accent); }

.contact-form {
  background: var(--bg-2);
  border-radius: var(--r-xl);
  padding: 48px;
  display: flex; flex-direction: column; gap: 20px;
}
[data-theme="dark"] .contact-form { background: var(--bg-3); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px; font-weight: 600; color: var(--fg-2);
  letter-spacing: 0.04em;
}
.field input, .field textarea, .field select {
  font: inherit;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 14px 16px; font-size: 15px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; color: var(--fg-2); line-height: 1.5;
  cursor: pointer;
}
.checkbox input { margin-top: 2px; accent-color: var(--accent); }
.contact-form__submit { margin-top: 8px; }

.success-banner {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 16px 20px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 12px;
}

@media (max-width: 940px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 32px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ── Demo widget (KCI/EXI scroller) ──────────────────────────────────── */
.demo-widget {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  background: var(--bg-deep); color: white;
  border-radius: var(--r-xl);
  padding: 64px; margin-top: 56px;
  position: relative; overflow: hidden;
  border: 1px solid var(--line-dark);
}
.demo-widget::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 90% 10%, rgba(31,124,201,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.demo-widget > * { position: relative; z-index: 1; }
.demo-widget h3 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1; color: white;
  margin-bottom: 18px;
}
.demo-widget p { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
.demo-widget__board {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg); padding: 28px;
}
.demo-widget__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.demo-pulse { display: inline-flex; align-items: center; gap: 8px; color: var(--m2s-cyan); }
.demo-pulse i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--m2s-cyan);
  animation: demoPulse 1.6s ease-in-out infinite;
}
@keyframes demoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,183,230,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(46,183,230,0); }
}
.demo-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.demo-row:last-child { border-bottom: 0; }
.demo-row__l {
  font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500;
}
.demo-row__bar {
  width: 140px; height: 6px; background: rgba(255,255,255,0.08);
  border-radius: 3px; overflow: hidden;
}
.demo-row__bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--m2s-blue), var(--m2s-cyan));
  transition: width 1.2s var(--ease-out);
}
.demo-row__n {
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  color: white; min-width: 48px; text-align: right;
}
@media (max-width: 880px) {
  .demo-widget { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
}

/* ── Sectors filter chips (Empowerment-style) ─────────────────────────── */
.chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px;
}
.chip {
  background: transparent; border: 1px solid var(--line-2); color: var(--fg);
  padding: 8px 16px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500; cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.chip:hover { border-color: var(--fg-2); }
.chip.active { background: var(--accent); color: white; border-color: var(--accent); }

/* ── Modal ─────────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5,13,31,0.65);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn 240ms var(--ease-out);
}
.modal {
  background: var(--bg); color: var(--fg);
  border-radius: var(--r-xl);
  max-width: 560px; width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  animation: modalIn 320ms var(--ease-out);
}
.modal__close {
  position: absolute; top: 16px; right: 16px;
  background: transparent; border: 0; cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%;
  color: var(--fg-2); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast);
}
.modal__close:hover { background: var(--bg-2); color: var(--fg); }
.modal h3 { font-size: 28px; margin: 0 0 8px; }
.modal p { font-size: 15px; color: var(--fg-2); line-height: 1.55; margin: 0 0 24px; }
.modal--cal { max-width: 760px; }
.modal__cal { width: 100%; height: 620px; max-height: 70vh; border: 0; border-radius: var(--r-md); }
.modal__cal-fallback { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* ── Misc utilities ────────────────────────────────────────────────────── */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.spacer-md { height: 64px; }
.spacer-lg { height: 96px; }


/* ─── Scale section (mirato → multifattoriale) ──────────────────────── */
.scale2 { display: grid; grid-template-columns: 1fr auto 1.25fr; gap: 24px; align-items: center; margin-top: 8px; }
.scale2__card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 30px; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.scale2__card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(10,26,51,0.10); }
.scale2__card--a { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); position: relative; overflow: hidden; }
.scale2__card--a::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--m2s-blue), var(--m2s-cyan)); }
.scale2__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.scale2__viz { flex: none; width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--accent) 8%, var(--bg)); border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); color: var(--accent); }
.scale2__card--a .scale2__viz { width: 64px; height: 64px; }
.scale2__viz svg { width: 34px; height: 34px; }
.scale2__card--a .scale2__viz svg { width: 40px; height: 40px; }
.scale2__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
.scale2__name { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.04; margin: 4px 0 0; font-size: clamp(18px, 1.7vw, 23px); }
.scale2__card--a .scale2__name { font-size: clamp(20px, 2vw, 28px); }
.scale2__copy { font-size: 13.5px; line-height: 1.55; color: var(--fg-2); margin: 0 0 18px; }
.scale2__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.scale2__chips span { font-size: 12px; font-weight: 500; padding: 6px 13px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: none; outline: none; color: var(--fg-2); }
.scale2__chips span span, .scale2__chips span .__om-t { border: 0 !important; background: none !important; padding: 0 !important; border-radius: 0 !important; }
.scale2__chip--hot { background: color-mix(in srgb, var(--accent) 12%, var(--bg)) !important; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)) !important; color: var(--accent) !important; font-weight: 700 !important; }
.scale2__arrow { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scale2__arrow-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.scale2__arrow svg { width: 96px; height: 32px; }
@media (max-width: 900px) {
  .scale2 { grid-template-columns: 1fr; }
  .scale2__arrow { flex-direction: row; gap: 12px; }
  .scale2__arrow svg { transform: rotate(90deg); width: 60px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
  .hero__inner { padding: 120px 20px 80px; }
  .hero h1 { font-size: clamp(40px, 13vw, 60px); max-width: 100%; overflow-wrap: break-word; }
  .hero__typewriter { font-size: clamp(22px, 7vw, 34px); }
  .offerings, .offer2, .offer2--modes { grid-template-columns: 1fr !important; }
  .nav__inner { gap: 10px; }
}

/* ════════════════════════════════════════════════════════════════════════
   PATH POPUP — small modal asking retail/corporate after a CTA click
   ════════════════════════════════════════════════════════════════════════ */
.path-pop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5,13,31,0.65);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn 220ms var(--ease-out);
}
.path-pop__card {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  border-radius: 20px;
  padding: 36px;
  max-width: 520px; width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.30);
  animation: modalIn 280ms var(--ease-out);
}
.path-pop__close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--fg-2);
  cursor: pointer; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast);
}
.path-pop__close:hover { background: var(--bg-2); color: var(--fg); }
.path-pop__title {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1;
  margin: 14px 0 10px;
}
.path-pop__sub {
  font-size: 14px; line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 24px;
}
.path-pop__choices {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 540px) { .path-pop__choices { grid-template-columns: 1fr; } }
.path-pop__opt {
  text-align: left; cursor: pointer;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
  color: inherit; font: inherit;
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.path-pop__opt:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--bg-2));
}
.path-pop__opt-name {
  font-size: 17px; font-weight: 700; letter-spacing: -0.015em;
}
.path-pop__opt-desc {
  font-size: 12px; color: var(--fg-3); line-height: 1.45;
}









/* ─── Client strip (light band under hero) ──────────────────────────── */
.clientstrip { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.clientstrip__label { text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; margin-bottom: 34px; }
/* light reel: dark logos on light bg */
.reel--light .reel__logo img { filter: brightness(0) saturate(0) opacity(0.5); transition: filter .3s ease; }
.reel--light .reel__logo:hover img { filter: none; }
.reel--light { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

/* ─── Clients reel above KCI (manifesto, dark) ──────────────────────── */
.clients-seal { position: relative; overflow: hidden; padding-bottom: 88px; background: var(--bg-deep); }
.clients-seal::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(48% 45% at 14% 8%, rgba(108,92,231,0.20) 0%, transparent 60%),
    radial-gradient(52% 50% at 88% 10%, rgba(31,124,201,0.20) 0%, transparent 60%),
    radial-gradient(60% 40% at 50% 30%, rgba(46,183,230,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.clients-seal > * { position: relative; }
.clients-seal .reel--mini .reel__row { margin-bottom: 56px; }
.clients-seal .reel--mini .reel__row:last-child { margin-bottom: 0; }
.clients-seal + .cta { padding-top: 40px; }
.clients-seal + .cta { padding-top: 40px; }
.manifesto__clients { margin-bottom: 64px; text-align: center; }
.manifesto__clients .hero__clients-label { justify-content: center; margin-bottom: 28px; display: flex; }
.manifesto__clients .reel--mini { margin: 0; }

/* ─── Clients seal enhancements (grayscale→color, fades, rhythm, hairlines) ── */
.clients-seal { border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.clients-seal .reel--mini {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.clients-seal .reel__logo {
  margin-right: 84px;
  opacity: 0.85;
  transition: opacity .3s ease;
}
.clients-seal .reel__logo img {
  filter: none;
}
.clients-seal .reel__logo:hover { opacity: 1; }
.clients-seal .reel__logo:hover img { filter: none; }


/* ─── Journey explorer progress dots ────────────────────────────────── */
.jexp__dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.jexp__dot { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: color-mix(in srgb, var(--fg) 22%, transparent); transition: all var(--dur-base) var(--ease-out); }
.jexp__dot:hover { background: color-mix(in srgb, var(--accent) 55%, transparent); }
.jexp__dot.is-active { width: 26px; background: var(--accent); }

/* ─── Journey explorer (auto-highlighting cards + detail panel) ──────── */
.jexp__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.jexp__card {
  position: relative; text-align: left; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 20px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  overflow: hidden; font: inherit; color: inherit;
}
.jexp__card .jexp__border {
  position: absolute; inset: 0; border-radius: 16px; padding: 2px; pointer-events: none;
  background: linear-gradient(120deg, var(--accent), #2EB7E6, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease;
}
.jexp__card.is-active { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,26,51,.10); background: #fff; }
.jexp__card.is-active .jexp__border { opacity: 1; }
.jexp__ic {
  width: 44px; height: 44px; border-radius: 11px; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 8px;
  background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--accent);
  transition: background .25s ease, color .25s ease;
}
.jexp__card.is-active .jexp__ic { background: var(--accent); color: #fff; }
.jexp__ic svg { width: 22px; height: 22px; }
.jexp__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--accent); font-weight: 700; }
.jexp__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.jexp__name { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 16px; line-height: 1.18; color: var(--fg); letter-spacing: -.01em; }
/* detail panel */
.jexp__detail {
  margin-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 28px;
  align-items: center; background: var(--bg); border: 1px solid var(--line);
  border-radius: 18px; padding: 32px 36px;
  box-shadow: 0 10px 34px rgba(10,26,51,.05);
  animation: jexpIn .4s ease;
}
@keyframes jexpIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.jexp__detail-ic {
  width: 64px; height: 64px; border-radius: 15px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
}
.jexp__detail-ic svg { width: 30px; height: 30px; }
.jexp__detail-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.jexp__detail-n { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.jexp__detail-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
.jexp__detail-name { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; color: var(--fg); margin: 0 0 10px; letter-spacing: -.015em; }
.jexp__detail-desc { font-size: 16px; line-height: 1.6; color: var(--fg-2); margin: 0; max-width: 64ch; }
.jexp__detail-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.jexp__chip { font-size: 12px; padding: 6px 13px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 7%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); font-weight: 500; cursor: default; }

.jexp__detail-chipwrap { margin-top: 18px; }
.jexp__detail-chiplabel { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; margin-bottom: 10px; }
.jexp__detail-chipwrap .jexp__detail-chips { margin-top: 0; }

@media (max-width: 860px) {
  .jexp__row { grid-template-columns: repeat(2, 1fr); }
  .jexp__detail { grid-template-columns: 1fr; gap: 18px; padding: 26px 24px; }
  .jexp__detail-ic { width: 52px; height: 52px; }
}
@media (max-width: 480px) { .jexp__row { grid-template-columns: 1fr; } }

/* ─── Journey card grid (Consulting method) ─────────────────────────── */
.jgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
#journey.section { padding-bottom: 40px; }
.jcard {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.jcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--m2s-blue), var(--m2s-cyan));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.jcard:hover::before { transform: scaleX(1); }
.jcard:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(10,26,51,0.10); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.jcard:hover .jcard__ic { transform: scale(1.06); background: var(--accent); color: #fff; border-color: var(--accent); }
.jcard--feat {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 130px 1.1fr 1.3fr; column-gap: 28px; row-gap: 4px;
  align-items: center;
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 7%, var(--bg)) 0%, var(--bg) 60%);
}
.jcard--feat .jcard__n { grid-column: 1; grid-row: 1; justify-self: center; }
.jcard--feat .jcard__kicker { grid-column: 1; grid-row: 2; justify-self: center; }
.jcard--feat .jcard__ic { grid-column: 1; grid-row: 3; margin: 6px 0 0; justify-self: center; }
.jcard--feat .jcard__name { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0; }
.jcard--feat .jcard__desc { grid-column: 3; grid-row: 1 / 4; align-self: center; max-width: 52ch; font-size: 16px; padding-left: 28px; border-left: 1px solid var(--line-2); }
.jcard--feat .jcard__ic { width: 58px; height: 58px; background: var(--accent); color: #fff; border-color: var(--accent); }
@media (max-width: 760px) {
  .jcard--feat { grid-template-columns: 1fr; text-align: center; }
  .jcard--feat .jcard__n, .jcard--feat .jcard__kicker, .jcard--feat .jcard__ic, .jcard--feat .jcard__name, .jcard--feat .jcard__desc { grid-column: 1; grid-row: auto; }
  .jcard--feat .jcard__desc { padding-left: 0; border-left: 0; margin-top: 8px; }
}
.jcard--feat::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--m2s-blue), var(--m2s-cyan)); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.jcard__ic {
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 9%, var(--bg)); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.jcard__ic { transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.jcard__ic svg { width: 24px; height: 24px; }
.jcard__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--accent); font-weight: 600; }
.jcard__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
.jcard__name { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -0.015em; line-height: 1.12; margin: 2px 0 4px; color: var(--fg); }
.jcard__desc { font-size: 14.5px; line-height: 1.6; color: var(--fg-2); margin: 0; }
.jcard__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.jcard__chip {
  font-size: 11.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--fg-2);
}
@media (max-width: 920px) { .jgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .jgrid { grid-template-columns: 1fr; } }

/* ─── Retail journey (Assessment → Analisi → Empowerment → EXI) ──────── */
#journey .reveal { opacity: 1; transform: none; transition: none; }
.journey {
  max-width: 880px; margin: 0 auto;
  display: flex; flex-direction: column;
}
.journey__step {
  display: grid; grid-template-columns: 64px 1fr; gap: 28px;
}
.journey__rail {
  position: relative;
  display: flex; justify-content: center;
}
.journey__rail::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; transform: translateX(-50%);
  background: var(--line-2);
}
.journey__step:first-child .journey__rail::before { top: 32px; }
.journey__step:last-child .journey__rail::before { bottom: calc(100% - 32px); }
.journey__dot {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--line-2);
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--accent);
}
.journey__dot--cxi {
  background: var(--accent); border-color: var(--accent);
  color: #fff; font-size: 18px;
}
.journey__body { padding-bottom: 56px; }
.journey__step--outcome .journey__body { padding-bottom: 0; }
.journey__kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
}
.journey__name {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.4vw, 32px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.1; color: var(--fg);
  text-transform: uppercase;
  margin: 10px 0 12px;
}
.journey__desc {
  font-size: 16px; line-height: 1.6; color: var(--fg-2);
  margin: 0 0 18px; max-width: 52ch;
}
.journey__items {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px;
}
.journey__item {
  display: grid; grid-template-columns: 16px 1fr; gap: 4px 10px;
  align-items: start;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.journey__item:hover { border-color: var(--accent); transform: translateY(-2px); }
.journey__item-bullet {
  width: 7px; height: 7px; border-radius: 50%; margin-top: 6px;
  background: linear-gradient(135deg, var(--m2s-blue), var(--m2s-cyan));
}
.journey__item-t {
  font-size: 13.5px; font-weight: 700; color: var(--fg); letter-spacing: -0.01em;
  align-self: center;
}
.journey__item-d {
  grid-column: 2;
  font-size: 13px; line-height: 1.5; color: var(--fg-2);
}
@media (max-width: 640px) {
  .journey__items { grid-template-columns: 1fr; }
}
.journey__outcome {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-xl);
  padding: 40px 44px;
}
.journey__kicker--cxi { color: var(--accent); }
@media (max-width: 640px) {
  .journey__step { grid-template-columns: 44px 1fr; gap: 18px; }
  .journey__dot { width: 40px; height: 40px; }
  .journey__outcome { padding: 28px 24px; }
}

/* ════════════════════════════════════════════════════════════════════════
   CONSULTING PAGE — 3-pillar grid + cross-sell band
   ════════════════════════════════════════════════════════════════════════ */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-card {
  background: var(--bg-2);
  padding: 48px 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.section--soft .why-card { background: var(--bg); }
.why-card__num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  color: var(--accent); font-weight: 700;
}
.why-card h3 {
  font-size: clamp(24px, 2.2vw, 32px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1; color: var(--fg);
  margin: 0;
}
.why-card p {
  font-size: 15px; line-height: 1.65; color: var(--fg-2);
  margin: 0;
}
@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; }
}
.cross-platform {
  display: grid; grid-template-columns: 1.6fr auto; gap: 56px;
  align-items: end; padding: 56px 64px;
  background: var(--bg-2);
  border-radius: var(--r-xl);
}
@media (max-width: 880px) {
  .cross-platform { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; align-items: start; }
}
.intro-grid { display: grid; gap: 96px; }
@media (max-width: 880px) {
  .intro-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
}

.offerings {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: 1100px; margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  align-items: stretch;
}
.offering {
  position: relative;
  padding: 32px 30px;
  border: 0;
  background: transparent;
  display: flex; flex-direction: column;
  min-height: 0;
  min-width: 0;
  transition: background var(--dur-base) var(--ease-out);
  overflow: hidden;
}
.offering + .offering {
  border-left: 1px solid var(--line-2);
}
.offering::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 100% 0%, var(--accent-soft) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0.6;
}
.offering > * { position: relative; }
.offering:hover {
  background: color-mix(in srgb, var(--accent) 4%, var(--bg-2));
}
.offering__tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); font-weight: 700;
  margin-bottom: 18px;
}
.offering__name {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.15;
  margin: 0 0 12px;
}
.offering__copy {
  font-size: 14px; line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 22px;
  max-width: 46ch;
}
.offering__list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px;
  border-top: 1px solid var(--line);
}
.offering__list li {
  font-size: 13px;
  padding: 9px 0;
  display: flex; align-items: center; gap: 8px;
  font-weight: 500;
}
.offering__list li::before {
  content: "→"; color: var(--accent); font-weight: 700; font-size: 12px;
}

/* ─── Cosa ci distingue (differentiators) ───────────────────────────── */
#distinct .reveal { opacity: 1 !important; transform: none !important; }
#distinct.section--dark { background: #07090D; }
#distinct.section--dark::before { display: none; }
.distinct {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}
.distinct__card {
  background: transparent;
  padding: 8px 24px 8px 0;
  display: flex; flex-direction: column; gap: 16px;
}
.distinct__ic {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent); margin-bottom: 4px;
}
.distinct__num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  color: var(--accent); font-weight: 600;
}
.distinct__name {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(21px, 2vw, 28px); letter-spacing: -0.015em; line-height: 1.12;
  color: var(--fg); margin: 0;
}
.distinct__copy { font-size: 15px; line-height: 1.65; color: var(--fg-2); margin: 0; }
@media (max-width: 860px) { .distinct { grid-template-columns: 1fr; } }

/* ─── Tabs: agency-style switcher ───────────────────────────────────── */
.tabs { max-width: 1080px; margin: 0 auto; }
.tabs__bar {
  display: flex; gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.tabs__tab {
  background: transparent; border: 0; cursor: pointer;
  font: inherit; color: var(--fg-3);
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.tabs__tab:hover { color: var(--fg-2); }
.tabs__tab.is-active { color: var(--fg); border-bottom-color: var(--accent); }
.tabs__tab-n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--accent); }
.tabs__tab-l { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.tabs__panel {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px;
  align-items: center;
  background: #0C3458; color: white;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  padding: 48px 48px;
  position: relative; overflow: hidden;
  animation: tabIn 360ms var(--ease-out);
}
.tabs__panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 60% at 100% 0%, rgba(108,92,231,0.16) 0%, transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(31,124,201,0.16) 0%, transparent 60%);
}
.tabs__panel > * { position: relative; z-index: 1; }
@keyframes tabIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tabs__name {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -0.02em; line-height: 1.05;
  color: white; margin: 0 0 16px;
}
.tabs__copy { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.72); margin: 0 0 22px; max-width: 46ch; }
.tabs__panel .btn--link { color: var(--m2s-cyan); }
.tabs__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.tabs__list li {
  font-size: 14px; color: rgba(255,255,255,0.85); font-weight: 500;
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; gap: 10px;
}
.tabs__list li::before { content: "→"; color: var(--m2s-cyan); font-weight: 700; font-size: 12px; }
@media (max-width: 760px) {
  .tabs__bar { overflow-x: auto; }
  .tabs__tab { padding: 14px 16px; white-space: nowrap; }
  .tabs__panel { grid-template-columns: 1fr; gap: 28px; padding: 32px 26px; }
}

/* ─── Two offerings side by side (static, dark cards) ───────────────── */
.offer2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px;
}
.offer2__card {
  background: var(--bg-2); color: var(--fg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px 30px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.offer2__card--media {
  padding: 0;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.offer2__card--media:hover { transform: translateY(-4px); box-shadow: 0 22px 54px rgba(10,26,51,0.12); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.offer2__card--media .offer2__photo {
  margin: 0; border-radius: 0; aspect-ratio: 3 / 2;
}
.offer2__card--media .offer2__photo img { transition: transform 1.2s var(--ease-out); image-rendering: -webkit-optimize-contrast; }
.offer2__card--media:hover .offer2__photo img { transform: scale(1.05); }
.offer2__body { padding: 32px 36px 36px; display: flex; flex-direction: column; flex: 1; }
.offer2__card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 100% 0%, rgba(46,134,230,0.08) 0%, transparent 60%);
}
.offer2__card > * { position: relative; z-index: 1; }
.offer2__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.offer2__n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--m2s-cyan); }
.offer2__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.offer2__name {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.05;
  margin: 0 0 14px; color: var(--fg);
}
.offer2__copy { font-size: 13.5px; line-height: 1.55; color: var(--fg-2); margin: 0 0 20px; }
.offer2__photo {
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 24px;
  aspect-ratio: 16 / 10; background: var(--bg-dark);
}
.offer2__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer2 .tabviz { min-height: 200px; margin-bottom: 24px; }
.offer2 .tabviz--platform { min-height: 0; }
.offer2 .tabviz--platform { min-height: 0; background: var(--bg-dark); border-color: rgba(255,255,255,0.12); }
.offer2 .tabviz--consulting { background: var(--bg-dark); }
.offer2__list { list-style: none; margin: 0 0 24px; padding: 0;
  display: flex; flex-direction: column; gap: 8px; border-top: 0; }
.offer2__list li {
  font-size: 13.5px; color: var(--fg); font-weight: 500;
  padding: 11px 14px; border-bottom: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 5%, transparent);
  display: flex; align-items: center; gap: 12px;
}
.offer2__list li:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); transform: none; }
.offer2__list li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
  -webkit-mask: no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  mask: no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}
.offer2__card .btn--link { color: var(--accent); margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) {
  .offer2 { grid-template-columns: 1fr; }
  .offer2__card { padding: 32px 26px; }
  .offer2__card--media { padding: 0; }
  .offer2__body { padding: 28px 26px 32px; }
}
/* Light variant for project-mode cards */
.offer2__card--light {
  background: var(--bg-2); color: var(--fg);
  border: 1px solid var(--line);
}
.offer2__card--light::before {
  background: radial-gradient(60% 60% at 100% 0%, rgba(28,95,176,0.10) 0%, transparent 60%);
}
.offer2__card--light .offer2__n { color: var(--accent); }
.offer2__card--light .offer2__tag { color: var(--fg-3); }
.offer2__card--light .offer2__name { color: var(--fg); }
.offer2__card--light .offer2__copy { color: var(--fg-2); }
.offer2__card--light .offer2__list { border-top: 0; }
.offer2__card--light .offer2__list li { color: var(--fg); border-bottom: 0; }
/* Icon list variant */
.offer2__list--ico li::before { display: none; }
.offer2__list--ico li > svg {
  flex: none; width: 22px; height: 22px;
  padding: 5px; border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  box-sizing: content-box;
}
/* Mode cards: small concept diagram next to the head */
.modecard__top { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.modecard__top .offer2__head { margin-bottom: 0; }
.modecard__viz {
  height: 56px; width: 72px; flex: none; margin-bottom: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--accent) 5%, var(--bg));
  border: 1px solid var(--line);
  overflow: hidden;
}
.modecard__viz svg { width: 72px; height: 44px; }
.modecard__ico { color: var(--accent); }
.modecard:hover .modecard__viz { background: color-mix(in srgb, var(--accent) 9%, var(--bg)); }
.modecard { transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.modecard:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(10,26,51,0.10); }
.modecard--feat { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.modecard--feat2 { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.modecard--feat2::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--m2s-cyan), var(--m2s-blue));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.modecard--feat::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--m2s-blue), var(--m2s-cyan));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.mv-node { transform-box: fill-box; transform-origin: center; animation: mvPulse 2.4s var(--ease-in-out) infinite; }
@keyframes mvPulse { 0%,100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.18); } }
.mv-pulse { opacity: 0; animation: mvFlow 2.2s var(--ease-in-out) infinite; }
@keyframes mvFlow { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(60px, 24px); } }
.mv-ring { transform-box: fill-box; transform-origin: center; animation: mvRing 3s var(--ease-in-out) infinite; }
@keyframes mvRing { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.mv-core { transform-box: fill-box; transform-origin: center; animation: mvPulse 2.4s var(--ease-in-out) infinite; }
@media (prefers-reduced-motion: reduce) {
  .mv-node, .mv-pulse, .mv-ring, .mv-core { animation: none !important; }
}
.tabviz {
  position: relative; align-self: stretch;
  min-height: 280px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.tabviz--consulting svg { width: 86%; max-width: 320px; height: auto; }
.tabviz__sweep { animation: tvSweep 4.5s linear infinite; }
@keyframes tvSweep { to { transform: rotate(360deg); } }
.tabviz__pt { opacity: 0; animation: tvPt 3.2s ease-in-out infinite; }
@keyframes tvPt {
  0%, 100% { opacity: 0.25; r: 3; }
  50% { opacity: 1; r: 5; }
}
/* platform dashboard mock */
.tabviz--platform {
  flex-direction: column; align-items: stretch; justify-content: center;
  gap: 18px; padding: 30px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
}
.tabviz__head {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 8px; letter-spacing: 0.01em;
}
.tabviz__dot { width: 8px; height: 8px; border-radius: 50%; background: #2E86E6;
  box-shadow: 0 0 0 0 rgba(46,134,230,0.6); animation: tvPulse 1.8s ease-out infinite; }
@keyframes tvPulse { 0% { box-shadow: 0 0 0 0 rgba(46,134,230,0.5); } 70% { box-shadow: 0 0 0 9px rgba(46,134,230,0); } 100% { box-shadow: 0 0 0 0 rgba(46,134,230,0); } }
.tabviz__score { display: flex; align-items: baseline; gap: 12px; }
.tabviz__score-n { font-family: var(--font-head); font-weight: 800; font-size: 56px; line-height: 1;
  color: #fff; letter-spacing: -0.03em; }
.tabviz__score-l { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); line-height: 1.3; }
.tabviz__bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; }
.tabviz__bar { flex: 1; background: linear-gradient(180deg, #2E86E6, rgba(46,134,230,0.25));
  border-radius: 3px 3px 0 0; height: 0; animation: tvBar 0.9s var(--ease-out) forwards; }
@keyframes tvBar { to { height: var(--h); } }
.tabviz__rows { display: flex; flex-direction: column; gap: 9px; }
.tabviz__row { display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.75); }
.tabviz__row i { width: 34px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.12);
  position: relative; overflow: hidden; }
.tabviz__row i::after { content: ""; position: absolute; inset: 0; background: #2E86E6;
  transform: translateX(-100%); animation: tvFill 2.4s var(--ease-in-out) infinite; }
@keyframes tvFill { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .tabviz__sweep, .tabviz__pt, .tabviz__dot, .tabviz__bar, .tabviz__row i::after { animation: none; }
  .tabviz__bar { height: var(--h); }
}

/* ─── Duo: editorial two-column (replaces boxed offering cards) ──────── */
.gami {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 1080px; margin: 0 auto;
}
.gami__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.gami__card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.07); }
.gami__ic {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(46,183,230,0.12); border: 1px solid rgba(46,183,230,0.28);
  color: var(--m2s-cyan);
}
.gami__name { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: #fff; margin: 4px 0 0; }
.gami__copy { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.7); margin: 0; }
@media (max-width: 880px) { .gami { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gami { grid-template-columns: 1fr; } }

.duo {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.duo__item {
  padding: 36px 56px 8px;
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: flex-start;
}
.duo__item + .duo__item { border-left: 1px solid var(--line); }
.duo__tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
  margin-bottom: 18px;
}
.duo__name {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.01em; line-height: 1.05;
  color: var(--fg); margin: 0 0 16px;
}
.duo__copy {
  font-size: 15px; line-height: 1.6; color: var(--fg-2);
  margin: 0 0 22px; max-width: 42ch;
}
.duo__item .btn--link { margin-top: 4px; }
@media (max-width: 760px) {
  .duo { grid-template-columns: 1fr; gap: 40px; }
  .duo__item { padding: 0; }
  .duo__item + .duo__item { border-left: 0; border-top: 1px solid var(--line); padding-top: 40px; }
}

/* ─── Offering full-bleed dissolve (scroll) ─────────────────────────── */
.offer-diss {
  position: relative;
  height: 200vh;
  margin-top: 24px;
  margin-bottom: -8vh;
}
.offer-diss__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  transition: background .08s linear;
}
.offer-diss__panel {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 32px;
  will-change: transform, opacity, filter;
}
.offer-diss__inner {
  width: 100%; max-width: 720px;
}
.offer-diss__card {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 52px 52px 44px;
  box-shadow: var(--shadow-soft);
}
.offer-diss__card--dark {
  background: var(--bg-dark);
  border-color: rgba(255,255,255,0.12);
}
.offer-diss__name {
  font-size: clamp(30px, 3.6vw, 50px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.04; margin: 16px 0 20px;
  color: var(--fg);
}
.offer-diss__panel--dark .offer-diss__name { color: #fff; }
.offer-diss__copy {
  font-size: 17px; line-height: 1.65; color: var(--fg-2);
  margin: 0 0 28px; max-width: 56ch;
}
.offer-diss__panel--dark .offer-diss__copy { color: rgba(255,255,255,0.74); }
.offer-diss__list { border-top: 1px solid var(--line); }
.offer-diss__panel--dark .offer-diss__list li { border-top-color: rgba(255,255,255,0.12); color: #fff; }
.offer-diss__panel--dark .btn--link { color: var(--m2s-cyan); }
@media (prefers-reduced-motion: reduce) {
  .offer-diss { height: auto; margin-bottom: 0; }
  .offer-diss__stage { position: static; height: auto; background: var(--bg-2) !important; padding: 24px 0; }
  .offer-diss__panel { position: relative; inset: auto; opacity: 1 !important; transform: none !important; filter: none !important; margin-bottom: 16px; }
  .offer-diss__panel--dark { background: var(--bg-dark); border-radius: var(--r-xl); padding: 32px; }
  .offer-hscroll__tabs { display: none; }
}
@media (max-width: 640px) {
  .offer-diss__inner { padding: 0; }
  .offer-diss__card { padding: 36px 28px; }
}
.offer-hscroll__tabs {
  position: absolute; top: 9vh; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  z-index: 3;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.offer-hscroll__tabs span { color: var(--fg-3); transition: color .3s var(--ease-out); }
.offer-hscroll__tabs span.is-active { color: var(--accent); }
.offer-hscroll__rail {
  width: 80px; height: 2px; border-radius: 2px;
  background: var(--line-2); overflow: hidden;
}
.offer-hscroll__rail i {
  display: block; height: 100%; background: var(--accent);
  transform-origin: left;
}
.offer-hscroll__track {
  display: flex;
  width: 200%; height: 100%;
  will-change: transform;
}
.offer-hscroll__track {
  display: flex;
  width: 200%; height: 100%;
  will-change: transform;
}
.offer-hpanel {
  flex: 0 0 50%;
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 32px;
}
.offer-hpanel__card {
  width: 100%; max-width: 720px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 56px 56px 48px;
  box-shadow: var(--shadow-soft);
}
.offer-hpanel__card--dark {
  background: var(--bg-dark); color: white;
  border-color: rgba(255,255,255,0.12);
}
.offer-panel__name {
  font-size: clamp(30px, 3.4vw, 46px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.05; margin: 14px 0 18px;
}
.offer-hpanel__card--dark .offer-panel__name { color: white; }
.offer-panel__copy {
  font-size: 16px; line-height: 1.65; color: var(--fg-2);
  margin: 0 0 28px; max-width: 56ch;
}
.offer-hpanel__card--dark .offer-panel__copy { color: rgba(255,255,255,0.72); }
.offer-hpanel__card--dark .offering__list li {
  border-top-color: rgba(255,255,255,0.10); color: white;
}
.offer-hpanel__card--dark .btn--link { color: var(--m2s-cyan); }
@media (prefers-reduced-motion: reduce) {
  .offer-stack { height: auto; }
  .offer-stack__stage { position: static; height: auto; display: block; padding: 24px 0; }
  .offer-stack__card { position: relative; inset: auto; opacity: 1 !important; transform: none !important; margin-bottom: 16px; }
  .offer-hscroll__tabs { display: none; }
}
@media (max-width: 640px) {
  .offer-hpanel__card { padding: 36px 28px; }
}
.offering .btn--link {
  margin-top: auto;
  align-self: flex-start;
  color: var(--accent);
}
@media (max-width: 720px) {
  .offerings { grid-template-columns: 1fr; }
  .offering { padding: 36px 28px; min-height: 0; }
  .offering + .offering { border-left: 0; border-top: 1px solid var(--line-2); }
}
/* Modes cards carry less content → no tall min-height */
#modes .offering { min-height: 0; padding: 44px 40px; }
   ════════════════════════════════════════════════════════════════════════ */
.reel {
  margin-top: 0;
  padding: 24px 0;
  overflow: hidden;
  width: 100%;
}
.reel__row {
  display: flex;
  margin-bottom: 120px;
}
.reel__row:last-child { margin-bottom: 0; }
.reel__track {
  display: flex; gap: 0;
  width: max-content;
  align-items: center;
  padding: 0;
  will-change: transform;
  white-space: nowrap;
}
.reel__row--1 .reel__track { animation: reelMarq 52s linear infinite; }
.reel__row--2 .reel__track { animation: reelMarq 46s linear infinite reverse; }
.reel__logo {
  flex: none;
  margin-right: 64px;
  height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
  opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.reel__logo:hover { opacity: 1; }
.reel__logo img {
  max-height: 100%; max-width: 210px;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}
/* wide wordmarks: allow more width so they read at full height */
.reel__logo--wide img { max-width: 300px; }
/* very wide wordmarks: cap height a bit so they don't dominate */
.reel__logo--xwide { height: 44px; }
.reel__logo--xwide img { max-width: 420px; }
/* stacked logos (symbol above wordmark): taller so the mark reads big */
.reel__logo--tall { height: 132px; }
.reel__logo--tall img { max-width: 300px; }
/* near-square stacked logos (shield + wordmark): extra height to match mass */
.reel__logo--tallsq { height: 150px; }
.reel__logo--tallsq img { max-width: 170px; }
@keyframes reelMarq { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(calc(-1 * var(--reel-w, 50%)),0,0); } }
@keyframes reelL { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes reelR { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .reel__track { animation: none !important; }
}

/* ════════════════════════════════════════════════════════════════════════
   PATH SYSTEM — Retail (cool) / Corporate (warm)
   Only soft surfaces change; brand accent stays.
   ════════════════════════════════════════════════════════════════════════ */
/* Retail default (cool tones, same as the base palette). */
:root[data-surface="retail"] {
  --bg-2: #F4F7FA;
  --bg-3: #E9EEF4;
  --line:   rgba(10, 26, 51, 0.08);
  --line-2: rgba(10, 26, 51, 0.16);
}
/* Corporate — warm stone surfaces + bordeaux accent */
:root[data-surface="corporate"] {
  --bg-2: #F6F1F0;
  --bg-3: #ECE3E2;
  --line:   rgba(70, 30, 36, 0.10);
  --line-2: rgba(70, 30, 36, 0.18);
  --accent: #27374F;
}
/* Section badge in the context bar — colored dot per path */
.ctxbar__here::before {
  content: ""; display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  margin-right: 9px; vertical-align: 1px;
  background: #1C5FB0;
}
:root[data-path="corporate"] .ctxbar__here::before { background: #27374F; }
.platform-page .ctxbar__here::before,
:root[data-path="corporate"] .platform-page .ctxbar__here::before { background: var(--m2s-cyan); }
/* In dark theme paths share the dark palette — no override needed. */
[data-theme="dark"]:root[data-surface="retail"],
[data-theme="dark"]:root[data-surface="corporate"] {
  --bg-2: #0C0F15;
  --bg-3: #15181F;
}

/* ════════════════════════════════════════════════════════════════════════
   SPLASH — first-visit Retail / Corporate chooser
   ════════════════════════════════════════════════════════════════════════ */
.splash {
  position: fixed; inset: 0; z-index: 9000;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(31,124,201,0.18) 0%, transparent 65%),
    linear-gradient(180deg, #07090D 0%, #0C0F15 60%, #10141C 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  overflow: hidden;
  animation: splashIn 600ms var(--ease-out);
}
.splash__veil {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.splash__veil::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(80% 60% at 50% 50%, rgba(0,0,0,0.8), transparent 85%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 50%, rgba(0,0,0,0.8), transparent 85%);
  opacity: 0.55;
}
.splash__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  mix-blend-mode: screen;
  opacity: 0.65;
}
.splash__orb--a {
  width: 760px; height: 760px;
  top: -22%; left: -14%;
  background: radial-gradient(circle, #1F7CC9 0%, transparent 65%);
  animation: orbDriftA 22s ease-in-out infinite alternate;
}
.splash__orb--b {
  width: 680px; height: 680px;
  bottom: -24%; right: -10%;
  background: radial-gradient(circle, #2EB7E6 0%, transparent 65%);
  animation: orbDriftB 26s ease-in-out infinite alternate;
  opacity: 0.55;
}
.splash__orb--c {
  width: 560px; height: 560px;
  top: 28%; left: 40%;
  background: radial-gradient(circle, rgba(31,124,201,0.6) 0%, transparent 70%);
  animation: orbDriftC 30s ease-in-out infinite alternate;
  opacity: 0.45;
}
.splash__orb--d {
  width: 420px; height: 420px;
  top: 8%; right: 18%;
  background: radial-gradient(circle, rgba(46,183,230,0.55) 0%, transparent 70%);
  animation: orbDriftD 36s ease-in-out infinite alternate;
  opacity: 0.4;
}
@keyframes orbDriftA {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8%, 5%) scale(1.12); }
}
@keyframes orbDriftB {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-7%, -6%) scale(1.08); }
}
@keyframes orbDriftC {
  0%   { transform: translate(0, 0) scale(0.95); }
  100% { transform: translate(-9%, 7%) scale(1.12); }
}
@keyframes orbDriftD {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, -4%) scale(1.1); }
}

/* Aurora — slow sweeping light band */
.splash__aurora {
  position: absolute;
  top: -20%; left: -30%;
  width: 160%; height: 140%;
  background: linear-gradient(115deg,
    transparent 0%,
    transparent 35%,
    rgba(46,183,230,0.10) 45%,
    rgba(46,183,230,0.20) 50%,
    rgba(46,183,230,0.10) 55%,
    transparent 65%,
    transparent 100%);
  mix-blend-mode: screen;
  animation: auroraSweep 14s ease-in-out infinite;
  opacity: 0.6;
  filter: blur(20px);
}
@keyframes auroraSweep {
  0%, 100% { transform: translateX(-15%) translateY(-2%); }
  50%      { transform: translateX(15%)  translateY(2%);  }
}

/* Curved data lines being drawn slowly */
.splash__lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.7;
}
.splash__line {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: lineDraw 9s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(46,183,230,0.45));
}
.splash__line--1 { animation-delay: 0s;   }
.splash__line--2 { animation-delay: 2.4s; }
.splash__line--3 { animation-delay: 4.8s; }
@keyframes lineDraw {
  0%   { stroke-dashoffset: 2400; }
  50%  { stroke-dashoffset: 0;    }
  100% { stroke-dashoffset: -2400; }
}

@media (prefers-reduced-motion: reduce) {
  .splash__orb, .splash__aurora, .splash__line { animation: none !important; }
}
@keyframes splashIn { from { opacity: 0; } to { opacity: 1; } }
.splash__inner {
  position: relative; z-index: 2;
  max-width: 1080px; width: 100%;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.splash__logo {
  width: 88px; height: auto; opacity: 0.95;
  margin-bottom: 40px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.3));
}
.splash__logo img { width: 100%; }
.splash__eyebrow {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--m2s-cyan);
  margin-bottom: 18px;
}
.splash__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.02;
  margin: 0 0 24px;
  color: white !important;
}
.splash__sub {
  font-size: 17px; line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 56ch; margin: 0 auto 56px;
}

.splash__choices {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  width: 100%; max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) { .splash__choices { grid-template-columns: 1fr; } }

.splash__card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  transition: transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  min-height: 320px;
  display: flex; flex-direction: column;
}
.splash__card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
}
.splash__card-art {
  flex: 1; min-height: 120px; position: relative;
  background: linear-gradient(180deg, rgba(31,124,201,0.20) 0%, transparent 100%);
  overflow: hidden;
}
.splash__card-art--warm {
  background: linear-gradient(180deg, rgba(217,158,90,0.22) 0%, transparent 100%);
}
.splash__card-orb {
  position: absolute; border-radius: 50%;
  filter: blur(40px); opacity: 0.55;
}
.splash__card-orb--a {
  width: 180px; height: 180px; top: -40px; right: -30px;
  background: var(--m2s-cyan);
}
.splash__card-orb--b {
  width: 140px; height: 140px; bottom: -30px; left: -20px;
  background: var(--m2s-blue);
}
.splash__card-art--warm .splash__card-orb--a { background: #E8B66A; }
.splash__card-art--warm .splash__card-orb--b { background: #B6824A; }

.splash__card-body {
  padding: 24px 28px 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.splash__card-n {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--m2s-cyan); letter-spacing: 0.18em; font-weight: 600;
}
.splash__card--corporate .splash__card-n { color: #E8B66A; }
.splash__card-body h3 {
  font-size: 30px; font-weight: 700; letter-spacing: -0.025em;
  color: white; margin: 0;
}
.splash__card-body p {
  font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.72);
  margin: 0;
}
.splash__card-cta {
  margin-top: 12px;
  font-size: 13px; font-weight: 600; color: var(--m2s-cyan);
  display: inline-flex; align-items: center; gap: 6px;
}
.splash__card--corporate .splash__card-cta { color: #E8B66A; }

.splash__foot {
  margin-top: 40px; font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* When the splash is open, dim nav (it's covered anyway, but in case) */
.splash + .nav { display: none; }

/* ════════════════════════════════════════════════════════════════════════
   STEPPER — accordion of services for the current path
   ════════════════════════════════════════════════════════════════════════ */
.stepper {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.stepper__item {
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-base) var(--ease-out);
}
.stepper__item.is-open {
  background: var(--bg);
}
.stepper__head {
  width: 100%;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  background: transparent; border: 0; cursor: pointer;
  font: inherit; color: inherit;
  text-align: left;
}
.stepper__n {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.stepper__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  color: var(--fg);
  transition: color var(--dur-base) var(--ease-out);
}
.stepper__chevron {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--fg-2);
  transition: transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
}
.stepper__item.is-open .stepper__chevron {
  transform: rotate(180deg);
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
[data-theme="dark"] .stepper__item.is-open .stepper__chevron { color: var(--bg-dark); }
.stepper__head:hover .stepper__chevron {
  border-color: var(--fg-2);
}
.stepper__head:hover .stepper__name {
  color: var(--accent);
}
.stepper__item.is-open .stepper__head:hover .stepper__name {
  color: var(--fg);
}

.stepper__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 480ms var(--ease-out);
}
.stepper__item.is-open .stepper__body {
  grid-template-rows: 1fr;
}
.stepper__body-inner {
  overflow: hidden;
  min-height: 0;
}
.stepper__item.is-open .stepper__body-inner {
  padding: 0 0 40px;
  display: grid;
  grid-template-columns: 80px 1fr 320px;
  gap: 32px;
  align-items: start;
}
.stepper__item.is-open .stepper__body-inner::before {
  content: ""; /* visual spacer for column 1 */
}
.stepper__claim {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fg);
  max-width: 36ch;
  grid-column: 2;
}
.stepper__claim em { font-style: normal; color: var(--accent); }
.stepper__copy {
  grid-column: 2;
  margin-top: 16px;
  font-size: 16px; line-height: 1.65;
  color: var(--fg-2);
  max-width: 56ch;
}
.stepper__list {
  list-style: none; margin: 0; padding: 0;
  grid-column: 3; grid-row: 1 / span 2;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.stepper__bullet {
  border-bottom: 1px solid var(--line);
}
.stepper__bullet--plain {
  font-size: 14px; color: var(--fg);
  padding: 14px 0;
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
}
.stepper__bullet--plain::before {
  content: "→"; color: var(--accent); font-weight: 700; font-size: 12px;
}
.stepper__bullet--exp { display: block; }
.stepper__bullet-head {
  width: 100%;
  background: transparent; border: 0; cursor: pointer;
  font: inherit; color: inherit;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  text-align: left;
  font-size: 14px; font-weight: 500;
  color: var(--fg);
  transition: color var(--dur-fast) var(--ease-out);
}
.stepper__bullet-head:hover { color: var(--accent); }
.stepper__bullet-name {
  display: inline-flex; align-items: center; gap: 10px;
}
.stepper__bullet-name::before {
  content: "→"; color: var(--accent); font-weight: 700; font-size: 12px;
}
.stepper__bullet-chev {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--fg-2);
  transition: transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
  flex: none;
}
.stepper__bullet--exp.is-open .stepper__bullet-chev {
  transform: rotate(180deg);
  background: var(--accent-soft);
  color: var(--accent);
}
.stepper__bullet-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms var(--ease-out);
}
.stepper__bullet--exp.is-open .stepper__bullet-body {
  grid-template-rows: 1fr;
}
.stepper__bullet-body > p {
  overflow: hidden;
  margin: 0;
  font-size: 13px; line-height: 1.55;
  color: var(--fg-2);
  padding-right: 22px;
}
.stepper__bullet--exp.is-open .stepper__bullet-body > p {
  padding-bottom: 14px;
  padding-top: 2px;
}
@media (max-width: 880px) {
  .stepper__head { grid-template-columns: 48px 1fr auto; gap: 16px; padding: 24px 0; }
  .stepper__chevron { width: 32px; height: 32px; }
  .stepper__item.is-open .stepper__body-inner {
    grid-template-columns: 1fr;
    padding: 0 0 32px;
  }
  .stepper__claim, .stepper__copy { grid-column: 1; }
  .stepper__list { grid-column: 1; grid-row: auto; margin-top: 8px; }
}

/* ════════════════════════════════════════════════════════════════════════
   KCI SECTION — path-aware dashboard mock
   ════════════════════════════════════════════════════════════════════════ */
.kci-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
  align-items: center;
}
.kci-pill {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
}
.kci-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 32px;
}
.kci-card__head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.kci-card__brand {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--m2s-blue);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; color: white;
  flex: none;
}
.kci-card__title {
  flex: 1;
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.01em;
  color: white;
}
.kci-card__pulse {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; color: rgba(255,255,255,0.6);
}
.kci-card__pulse i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--m2s-cyan);
  animation: kciPulse 1.6s ease-in-out infinite;
}
@keyframes kciPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,183,230,0.7); }
  70%      { box-shadow: 0 0 0 8px rgba(46,183,230,0); }
}
.kci-card__rows {
  display: flex; flex-direction: column;
}
.kci-row {
  display: grid; grid-template-columns: 1.4fr 1fr 100px;
  gap: 20px; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.kci-row:last-child { border-bottom: 0; }
.kci-row--bold {
  background: linear-gradient(90deg, rgba(31,124,201,0.10) 0%, transparent 80%);
  margin: 8px -16px 0;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(46,183,230,0.18);
}
.kci-row__l {
  font-size: 13px; color: rgba(255,255,255,0.85);
  font-weight: 500; letter-spacing: -0.005em;
}
.kci-row--bold .kci-row__l { color: white; font-weight: 600; font-size: 14px; }
.kci-row__bar {
  height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.06); overflow: hidden;
}
.kci-row__bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--m2s-blue), var(--m2s-cyan));
  border-radius: 2px;
  transition: width 1.2s var(--ease-out);
}
.kci-row__n {
  font-family: var(--font-mono); font-size: 16px;
  font-weight: 700; color: white;
  text-align: right; letter-spacing: -0.01em;
}
.kci-row__n small {
  font-size: 10px; color: rgba(255,255,255,0.5);
  margin-left: 3px; font-weight: 500;
}
.kci-row--bold .kci-row__n { font-size: 20px; color: var(--m2s-cyan); }
.kci-row--bold .kci-row__n small { color: var(--m2s-cyan); }
@media (max-width: 940px) {
  .kci-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ════════════════════════════════════════════════════════════════════════
   INSIGHT PAGE — larger card grid
   ════════════════════════════════════════════════════════════════════════ */
.insight-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.insight__card--lg { min-height: 320px; }
@media (max-width: 880px) {
  .insight-list { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════
   CAREERS — openings list
   ════════════════════════════════════════════════════════════════════════ */
.openings {
  display: flex; flex-direction: column;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.opening {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.opening__main { display: flex; flex-direction: column; gap: 6px; }
.opening__role {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700; letter-spacing: -0.015em;
  color: var(--fg);
}
.opening__meta {
  font-size: 13px; color: var(--fg-2);
  display: inline-flex; gap: 8px; align-items: center;
}
.opening__dot { color: var(--fg-3); }
@media (max-width: 640px) {
  .opening { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
}


/* ═══ PLATFORM PAGE — dark + cyan world (distinct from light Consulting) ═══ */
.platform-page { background: var(--bg-deep); color: #fff; --accent: var(--m2s-cyan); }
.platform-page .section { background: transparent; }
.platform-page .section--dark { background: transparent; }
.platform-page .eyebrow { color: var(--m2s-cyan); }
.platform-page h1, .platform-page h2, .platform-page h3, .platform-page h4 { color: #fff; }
.platform-page .lead, .platform-page p { color: rgba(255,255,255,0.72); }
.platform-page .ctxbar {
  background: rgba(255,255,255,0.04);
  border-bottom-color: rgba(255,255,255,0.10);
}
.platform-page .ctxbar__here { color: rgba(255,255,255,0.7); }
.platform-page .ctxbar__links button { color: var(--m2s-cyan); }
.platform-page .pmod {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
}
.platform-page .pmod__name { color: #fff; }
.platform-page .pmod__desc { color: rgba(255,255,255,0.7); }
.platform-page .pmod__feats span {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
}
.platform-page .duo__item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
}
.platform-page .duo__name { color: #fff; }
.platform-page .duo__copy { color: rgba(255,255,255,0.7); }
.platform-page .duo__tag { color: var(--m2s-cyan); }
/* subtle cyan glow only on the platform hero */
.page-hero--platform::after {
  background: radial-gradient(60% 50% at 78% 18%, rgba(46,183,230,0.22) 0%, transparent 65%) !important;
}




/* ─── Footer sedi & contatti ────────────────────────────────────────── */
.footer__navcol--contacts { min-width: 240px; justify-self: start; text-align: left; }
.footer__addr { margin-bottom: 14px; display: flex; flex-direction: column; gap: 3px; }
.footer__addr-h { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); }
.footer__addr-p { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.72); line-height: 1.5; }

/* ─── KCI convergence diagram (two streams → KCI) ───────────────────── */
.kcix { margin-top: 48px; display: grid; grid-template-columns: 1fr auto 0.9fr; gap: 0; align-items: center; }
.kcix__streams { display: flex; flex-direction: column; gap: 28px; }
.kci-stream { display: grid; grid-template-columns: 1fr 40px auto; align-items: center; gap: 0;
  opacity: 0.55; transition: opacity .4s var(--ease-out); }
.kci-stream.is-hot { opacity: 1; }
.kci-stream__sources { display: flex; flex-direction: column; gap: 8px; }
.kci-src { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.kci-src__k { font-weight: 700; font-size: 14px; color: #fff; letter-spacing: -0.01em; }
.kci-src__v { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.35; }
.kci-stream__arrow { height: 1.5px; background: linear-gradient(90deg, transparent, var(--m2s-cyan)); position: relative; }
.kci-stream__arrow::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--m2s-cyan); }
.kci-stream__node { background: rgba(46,183,230,0.10); border: 1px solid rgba(46,183,230,0.4);
  border-radius: 14px; padding: 14px 18px; max-width: 220px; display: flex; flex-direction: column; gap: 3px; }
.kci-stream.is-hot .kci-stream__node { box-shadow: 0 0 0 3px rgba(46,183,230,0.12); }
.kci-stream__node-k { font-weight: 700; font-size: 15px; color: var(--m2s-cyan); }
.kci-stream__node-d { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.4; }
.kcix__merge { width: 90px; align-self: stretch; display: flex; align-items: center; }
.kcix__merge svg { width: 100%; height: 200px; }
.kcix__result { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.kcix__core { width: 150px; height: 150px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 50% 40%, rgba(46,183,230,0.30), rgba(31,124,201,0.12));
  border: 2px solid var(--m2s-cyan); display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(46,183,230,0.25); animation: kcixPulse 3s var(--ease-in-out) infinite; }
@keyframes kcixPulse { 0%,100% { box-shadow: 0 0 40px rgba(46,183,230,0.20); } 50% { box-shadow: 0 0 60px rgba(46,183,230,0.4); } }
.kcix__core-k { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: #fff; letter-spacing: -0.02em; }
.kcix__core-sub { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--m2s-cyan); }
.kcix__note { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.7); max-width: 30ch; margin: 0; }
@media (max-width: 880px) {
  .kcix { grid-template-columns: 1fr; gap: 8px; }
  .kcix__merge { width: 100%; height: 48px; transform: rotate(90deg); }
  .kcix__merge svg { height: 80px; }
  .kci-stream { opacity: 1; }
  .kcix__result { margin-top: 16px; }
}


/* ─── KCI equation (Potenziale + Comportamento = KCI) ───────────────── */
.kceq { margin-top: 56px; display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.kceq__addend { display: flex; flex-direction: column; gap: 14px; max-width: 260px;
  opacity: 0.6; transition: opacity .4s var(--ease-out); }
.kceq__addend.is-hot { opacity: 1; }
.kceq__card { background: rgba(46,183,230,0.08); border: 1px solid rgba(46,183,230,0.35);
  border-radius: 16px; padding: 22px 22px; display: flex; flex-direction: column; gap: 6px; text-align: center; }
.kceq__addend.is-hot .kceq__card { box-shadow: 0 0 0 4px rgba(46,183,230,0.10); }
.kceq__card-k { font-family: var(--font-head); font-weight: 700; font-size: clamp(17px, 1.6vw, 21px);
  color: var(--m2s-cyan); letter-spacing: -0.01em; }
.kceq__card-d { font-size: 12.5px; color: rgba(255,255,255,0.7); line-height: 1.45; }
.kceq__srcs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.kceq__src { font-size: 11px; color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.kceq__op { font-family: var(--font-head); font-weight: 300; color: rgba(255,255,255,0.5);
  font-size: clamp(32px, 4vw, 52px); line-height: 1; flex: none; }
.kceq__result { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 240px; }
.kceq__core { width: 138px; height: 138px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 50% 40%, rgba(46,183,230,0.32), rgba(31,124,201,0.12));
  border: 2px solid var(--m2s-cyan); display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 44px rgba(46,183,230,0.28); animation: kcixPulse 3s var(--ease-in-out) infinite; }
@keyframes kcixPulse { 0%,100% { box-shadow: 0 0 40px rgba(46,183,230,0.20); } 50% { box-shadow: 0 0 64px rgba(46,183,230,0.42); } }
.kceq__core-k { font-family: var(--font-head); font-weight: 800; font-size: 38px; color: #fff; letter-spacing: -0.02em; }
.kceq__core-sub { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--m2s-cyan); }
.kceq__note { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,0.7); margin: 0; }
@media (max-width: 860px) {
  .kceq { flex-direction: column; gap: 18px; }
  .kceq__addend { max-width: 360px; opacity: 1; }
  .kceq__op { transform: rotate(90deg); }
}


/* ─── KCI node diagram (sources → center) ───────────────────────────── */

/* ─── KCI formula layout (Potenziale + Comportamento = KCI) ─────────── */
.kform { margin-top: 48px; }
.kform__row {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch; gap: 18px;
}
.kform__block {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.kform__block-k {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -0.01em; color: #fff;
}
.kform__block-d { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
.kform__sources { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.kform__sources li {
  display: flex; flex-direction: column; gap: 1px;
  padding: 11px 0; border-top: 1px solid rgba(255,255,255,0.10);
}
.kform__src-k { font-size: 13.5px; font-weight: 600; color: #fff; }
.kform__src-v { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.4; }
.kform__op {
  align-self: center; font-family: var(--font-head); font-weight: 300;
  font-size: clamp(28px, 3vw, 44px); color: var(--m2s-cyan); line-height: 1;
}
.kform__result {
  background: linear-gradient(160deg, rgba(28,95,176,0.22), rgba(14,58,116,0.32));
  border: 1px solid rgba(159,224,255,0.30);
  border-radius: var(--r-lg); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  position: relative; overflow: hidden;
}
.kform__result-core {
  width: 64px; height: 64px; border-radius: 50%; margin-bottom: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 38% 32%, #4DA3F0, #1C5FB0 55%, #0E3A74);
  box-shadow: 0 0 0 6px rgba(46,183,230,0.10), 0 8px 28px rgba(28,95,176,0.5);
}
.kform__result-core span { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: #fff; letter-spacing: 0.02em; }
.kform__result-name {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(17px, 1.6vw, 22px); color: #fff;
}
.kform__result-d { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.7); margin: 0; }
@media (max-width: 860px) {
  .kform__row { grid-template-columns: 1fr; }
  .kform__op { justify-self: center; transform: rotate(90deg); margin: 2px 0; }
}



/* ─── About story stats + timeline polish ───────────────────────────── */
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.about-stat { display: flex; flex-direction: column; gap: 2px; }
.about-stat__n { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 3vw, 38px); color: var(--accent); letter-spacing: -0.02em; line-height: 1; }
.about-stat__l { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
@media (max-width: 540px) { .about-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; } }
/* Timeline: connecting rail + dots */
.timeline { position: relative; }
.tl-item { position: relative; padding-top: 26px; }
.tl-item::before { content: ""; position: absolute; top: 4px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); z-index: 1; transition: transform var(--dur-base) var(--ease-out); }
.tl-item::after { content: ""; position: absolute; top: 9px; left: 16px; right: 0; height: 1px; background: var(--line); }
.tl-item:last-child::after { display: none; }
.tl-item:hover::before { transform: scale(1.35); }
.tl-item--ongoing::before { background: var(--m2s-cyan); box-shadow: 0 0 0 4px color-mix(in srgb, var(--m2s-cyan) 20%, transparent), 0 0 14px 2px color-mix(in srgb, var(--m2s-cyan) 45%, transparent); animation: tlPulse 2.4s var(--ease-in-out) infinite; }
@keyframes tlPulse { 0%,100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--m2s-cyan) 20%, transparent), 0 0 10px 1px color-mix(in srgb, var(--m2s-cyan) 35%, transparent); } 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--m2s-cyan) 26%, transparent), 0 0 18px 3px color-mix(in srgb, var(--m2s-cyan) 55%, transparent); } }
.tl-item--ongoing .tl-title { color: var(--m2s-cyan); }
@media (prefers-reduced-motion: reduce) { .tl-item--ongoing::before { animation: none; } }

/* ─── KCI v3 (clean merge, big core) ────────────────────────────────── */
#manifesto { background: #010512; }
.kcd3--img { margin-top: 40px; text-align: center; }
.kcd3__img {
  width: 100%; max-width: 980px; height: auto; margin: 0 auto; display: block;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect;
}
.modecard__viz--img { padding: 0; overflow: hidden; }
.modecard__viz--img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.kcd3 { margin-top: 40px; }
/* KCI image hotspots */
.kcimap { position: relative; max-width: 920px; margin: 0 auto; }
.kcimap .kcd3__img { max-width: 100%;
  -webkit-mask-image:
    radial-gradient(130% 130% at 50% 50%, #000 62%, transparent 92%),
    linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(130% 130% at 50% 50%, #000 62%, transparent 92%),
    linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-composite: intersect;
}
.kcimap__hot {
  position: absolute; transform: translate(-50%, -50%);
  width: 18%; height: 7%; min-width: 80px;
  background: transparent; border: 0; cursor: pointer; padding: 0;
  border-radius: 999px;
}
.kcimap__tip {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%) translateY(6px);
  width: 230px; max-width: 56vw;
  background: rgba(8,20,40,0.96); border: 1px solid rgba(120,190,255,0.35);
  border-radius: 12px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 5px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5); z-index: 5;
  text-align: left;
}
.kcimap__hot.is-on .kcimap__tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.kcimap__hot:nth-child(n+5) .kcimap__tip { /* right column tooltips */ }
.kcimap__tip b { color: #9FE0FF; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.kcimap__tip span { color: rgba(255,255,255,0.82); font-size: 12.5px; line-height: 1.45; }
.kcimap__hot::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(120,190,255,0); transition: box-shadow .2s;
}
.kcimap__hot.is-on::after { box-shadow: 0 0 0 2px rgba(120,190,255,0.45); }
@media (max-width: 640px) {
  .kcimap__hot { display: none; }
}
.kcd3__groups { display: flex; justify-content: space-between; max-width: 760px; margin: 0 auto 4px; padding: 0 10px; }
.kcd3__group { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--m2s-cyan); font-weight: 600; }
.kcd3__stage { position: relative; max-width: 760px; margin: 0 auto; }
.kcd3__svg { width: 100%; height: auto; display: block; overflow: visible; }
.kcd3__svg line { transition: stroke .3s; }
.kcd3__svg line.is-hot { stroke: rgba(159,224,255,0.85); }
.kcd3__ring  { transform-box: fill-box; transform-origin: center; animation: k3pulse 3.4s var(--ease-in-out) infinite; }
.kcd3__ring2 { transform-box: fill-box; transform-origin: center; animation: k3pulse 3.4s var(--ease-in-out) .7s infinite; }
@keyframes k3pulse { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }

/* KCI diagram (kcd3) hover tooltip */
.kcd3__tip {
  position: absolute; z-index: 6; pointer-events: none;
  transform: translate(-50%, calc(-100% - 18px));
  width: 230px; padding: 12px 14px; border-radius: 12px;
  background: rgba(8,24,46,0.96); border: 1px solid rgba(159,224,255,0.30);
  box-shadow: 0 14px 40px rgba(0,0,0,0.4);
  display: flex; flex-direction: column; gap: 4px;
  animation: kcd3TipIn .18s ease-out;
}
.kcd3__tip--l { transform: translate(-6%, calc(-100% - 18px)); }
.kcd3__tip--r { transform: translate(-94%, calc(-100% - 18px)); }
.kcd3__tip-k { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: -0.01em; color: #9FE0FF; }
.kcd3__tip-v { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.82); }
@keyframes kcd3TipIn { from { opacity: 0; transform: translate(-50%, calc(-100% - 12px)); } }
@media (max-width: 640px) { .kcd3__tip { width: 180px; } }

.kcd3__core-t { fill: #fff; font-family: var(--font-head); font-weight: 800; font-size: 26px; letter-spacing: 0.02em; }
.kcd3__core-sub { fill: rgba(255,255,255,0.75); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.kcd3__labels { position: absolute; inset: 0; pointer-events: none; }
.kcd3__tag {
  position: absolute; transform: translate(-50%, -50%); pointer-events: auto;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); white-space: nowrap;
  background: rgba(8,20,40,0.6); border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 13px; border-radius: 999px; transition: all .3s;
}
.kcd3__tag--l { transform: translate(calc(-100% - 18px), -50%); }
.kcd3__tag--r { transform: translate(18px, -50%); }
.kcd3__tag.is-hot { color: #fff; border-color: rgba(159,224,255,0.6); background: rgba(28,95,176,0.4); }
@media (max-width: 680px) {
  .kcd3__tag { font-size: 11px; padding: 4px 9px; }
  .kcd3__groups { font-size: 9px; }
}

.kcd2 { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.kcd2__stage { position: relative; width: min(820px, 96vw); }
.kcd2__svg { width: 100%; height: auto; display: block; overflow: visible; }
.kcd2__core-ring { animation: kcixPulse 3s var(--ease-in-out) infinite; transform-box: fill-box; transform-origin: center; }
.kcd2__core-ring2 { animation: kcixPulse 3s var(--ease-in-out) 0.6s infinite; transform-box: fill-box; transform-origin: center; }
.kcd2__dot { opacity: 0.9; animation: kcd2Flow 2.6s var(--ease-in-out) infinite; }
@keyframes kcd2Flow {
  0% { offset-distance: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.kcd2__labels { position: absolute; inset: 0; pointer-events: none; }
.kcd2__group { position: absolute; top: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.kcd2__group--left { left: 4%; }
.kcd2__group--right { right: 4%; text-align: right; }
.kcd2__node { transition: opacity .4s var(--ease-out); opacity: 0.5; }
.kcd2__node.is-hot { opacity: 1; }
.kcd2__line { transition: stroke .4s var(--ease-out), opacity .4s var(--ease-out); opacity: 0.55; }
.kcd2__line.is-hot { opacity: 1; stroke: rgba(159,224,255,0.9); }
.kcd2__core-ring { animation: kcixPulse 3s var(--ease-in-out) infinite; transform-box: fill-box; transform-origin: center; }
.kcd2__tag {
  position: absolute;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.82);
  white-space: nowrap; pointer-events: auto; cursor: default;
  text-shadow: 0 1px 6px rgba(5,13,31,0.85);
  transition: color .3s var(--ease-out);
}
.kcd2__tag--l { transform: translate(calc(-100% - 30px), -50%); }
.kcd2__tag--r { transform: translate(30px, -50%); }
.kcd2__tag.is-hot { color: #fff; }
.kcd2__tag-dot {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.7), rgba(127,208,255,0.2) 70%);
  border: 1px solid rgba(127,208,255,0.7);
  box-shadow: 0 0 10px rgba(63,169,245,0.5);
}
.kcd2__core-label { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.kcd2__core-k { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: #fff; letter-spacing: -0.01em; text-shadow: 0 2px 12px rgba(5,13,31,0.6); }
.kcd2__core-sub { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(159,224,255,0.85); margin-top: 2px; }
.kcd2__node.is-hover circle:first-child { opacity: 1; }
.kcd2__tip {
  position: absolute; z-index: 5; pointer-events: none;
  transform: translate(-50%, calc(-100% - 26px));
  width: max-content; max-width: 260px;
  background: rgba(10,26,51,0.95); border: 1px solid rgba(99,170,245,0.4);
  border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 12px 40px rgba(5,13,31,0.55);
  display: flex; flex-direction: column; gap: 4px;
  animation: kcdTipIn .18s var(--ease-out);
}
.kcd2__tip-k { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.kcd2__tip-v { font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,0.74); }
.kcd2__tip::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%) rotate(45deg);
  width: 11px; height: 11px; background: rgba(10,26,51,0.95);
  border-right: 1px solid rgba(99,170,245,0.4); border-bottom: 1px solid rgba(99,170,245,0.4);
}
@keyframes kcdTipIn { from { opacity: 0; transform: translate(-50%, calc(-100% - 18px)); } to { opacity: 1; } }
/* left-column nodes → tooltip to the left; right-column → to the right */
.kcd2__tip--l { transform: translate(calc(-100% - 30px), -50%); animation: kcdTipInL .18s var(--ease-out); }
.kcd2__tip--l::after { top: 50%; left: auto; right: -6px; bottom: auto; transform: translateY(-50%) rotate(45deg); border: 0; border-top: 1px solid rgba(99,170,245,0.4); border-right: 1px solid rgba(99,170,245,0.4); }
.kcd2__tip--r { transform: translate(30px, -50%); animation: kcdTipInR .18s var(--ease-out); }
.kcd2__tip--r::after { top: 50%; left: -6px; bottom: auto; transform: translateY(-50%) rotate(45deg); border: 0; border-bottom: 1px solid rgba(99,170,245,0.4); border-left: 1px solid rgba(99,170,245,0.4); }
@keyframes kcdTipInL { from { opacity: 0; transform: translate(calc(-100% - 22px), -50%); } to { opacity: 1; } }
@keyframes kcdTipInR { from { opacity: 0; transform: translate(22px, -50%); } to { opacity: 1; } }
@media (max-width: 640px) { .kcd2__tip { max-width: 200px; } }
.kcd2__caption { font-size: 14px; line-height: 1.65; color: var(--fg-2); max-width: 64ch; text-align: center; margin: 0 auto; }
.kcd2__caption strong { color: var(--accent); }
.kcd2__caption em { font-style: normal; color: #fff; font-weight: 600; }
@media (max-width: 640px) {
  .kcd2__tag { font-size: 10.5px; gap: 6px; }
  .kcd2__tag-dot { width: 9px; height: 9px; }
  .kcd2__group { font-size: 9px; }
  .kcd2__core-k { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .kcd2__dot, .kcd2__core-ring { animation: none !important; }
}


/* platform-page uniform dark */
.platform-page { background: var(--bg-dark); color: #fff; }
.platform-page .section { background: transparent !important; }
.platform-page .page-hero--platform { background: transparent !important; }
.platform-page .section h2,
.platform-page .section h3,
.platform-page .section h4 { color: #fff; }
.platform-page .section .lead,
.platform-page .section p { color: rgba(255,255,255,0.72); }
.platform-page .duo__item { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.platform-page .duo__name { color: #fff; }
.platform-page .duo__copy { color: rgba(255,255,255,0.72); }
.platform-page .duo__tag { color: var(--m2s-cyan); }
.platform-page .pmod { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); }
.platform-page .pmod__name { color: #fff; }
.platform-page .pmod__desc { color: rgba(255,255,255,0.68); }
.platform-page .pmod__feats span { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.78); }
/* keep the final CTA as the one transition moment */
.platform-page .cta { background: var(--bg-deep); }


/* ─── Header CTA (Prenota videocall) ────────────────────────────────── */
.nav__cta { font-size: 13px; padding: 10px 18px; white-space: nowrap; }
@media (max-width: 1080px) { .nav__cta { display: none; } }

/* ─── Language toggle ───────────────────────────────────────────────── */
.nav__lang { display: inline-flex; align-items: center; gap: 2px; cursor: pointer; padding: 5px 5px; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; background: rgba(10,26,51,0.55); font-family: var(--font-mono, monospace); font-size: 12px; font-weight: 700; letter-spacing: 0.03em; color: rgba(255,255,255,0.85); transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.nav__lang span { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; padding: 3px 0; border-radius: 999px; color: #fff; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.nav__lang span.on { background: var(--m2s-cyan); color: #06121f; }
.nav__lang .nav__lang-sep { display: none; }
.nav__lang:hover { border-color: rgba(255,255,255,0.6); }
.nav:not([data-on-dark="true"]) .nav__lang { border-color: color-mix(in srgb, var(--fg) 30%, transparent); background: color-mix(in srgb, var(--fg) 78%, transparent); }
.nav:not([data-on-dark="true"]) .nav__lang span { color: #fff; }
.nav:not([data-on-dark="true"]) .nav__lang span.on { background: var(--m2s-cyan); color: #06121f; }
.nav:not([data-on-dark="true"]) .nav__lang:hover { border-color: color-mix(in srgb, var(--fg) 45%, transparent); }

.footer__cookiebtn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; opacity: 0.72; text-decoration: underline; text-underline-offset: 2px; transition: opacity var(--dur-fast) var(--ease-out); }
.footer__cookiebtn:hover { opacity: 1; }

/* ─── Cookie banner ─────────────────────────────────────────────────── */
.ckbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 16px; display: flex; justify-content: center; animation: ckup .4s var(--ease-out); }
@keyframes ckup { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.ckbar__inner { width: min(1080px, 100%); background: #0A1A33; color: #fff; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,0.35); padding: 22px 24px; display: flex; gap: 28px; align-items: flex-start; }
.ckbar__main { flex: 1; min-width: 0; }
.ckbar__title { color: #fff; font-family: var(--font-display, inherit); font-size: 17px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.01em; }
.ckbar__body { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.72); margin: 0; }
.ckbar__link { color: var(--m2s-cyan); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.ckbar__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding-top: 2px; }
.ckbar__ghost { background: none; border: 0; color: rgba(255,255,255,0.7); font-size: 13.5px; font-weight: 600; cursor: pointer; padding: 10px 12px; border-radius: 999px; transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.ckbar__ghost:hover { color: #fff; background: rgba(255,255,255,0.08); }
.ckbar__btn { white-space: nowrap; }
.ckbar__prefs { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }
.ckpref__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ckpref__name { font-size: 14px; font-weight: 600; }
.ckpref__always { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--m2s-cyan); }
.ckpref__desc { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,0.6); margin: 4px 0 0; }
.ckpref__toggle { width: 40px; height: 22px; border-radius: 999px; border: 0; background: rgba(255,255,255,0.22); cursor: pointer; padding: 0; position: relative; transition: background var(--dur-fast) var(--ease-out); flex-shrink: 0; }
.ckpref__toggle span { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform var(--dur-fast) var(--ease-out); }
.ckpref__toggle.on { background: var(--m2s-cyan); }
.ckpref__toggle.on span { transform: translateX(18px); }
@media (max-width: 720px) {
  .ckbar { padding: 10px; }
  .ckbar__inner { flex-direction: column; gap: 16px; padding: 18px; }
  .ckbar__actions { width: 100%; flex-wrap: wrap; }
  .ckbar__btn { flex: 1; }
}

/* ─── Legal modal ───────────────────────────────────────────────────── */
.legal-modal { max-width: 720px; width: min(720px, 100%); max-height: 86vh; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.legal-modal__tabs { display: flex; gap: 4px; padding: 18px 24px 0; border-bottom: 1px solid var(--hair, rgba(10,26,51,0.12)); flex-shrink: 0; }
.legal-modal__tab { background: none; border: 0; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--fg-2, #667); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.legal-modal__tab:hover { color: var(--fg); }
.legal-modal__tab.is-on { color: var(--accent); border-bottom-color: var(--accent); }
.legal-modal__body { padding: 24px 28px 32px; overflow-y: auto; }
.legal-modal__title { font-family: var(--font-display, inherit); font-size: 24px; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.01em; }
.legal-modal__updated { font-size: 12.5px; color: var(--fg-3, #99a); margin: 0 0 20px; }
.legal-modal__prose h4 { font-size: 14px; font-weight: 700; margin: 20px 0 6px; color: var(--fg); }
.legal-modal__prose p { font-size: 14px; line-height: 1.7; color: var(--fg-2, #556); margin: 0 0 4px; }
.legal-modal__prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ─── Mobile nav (hamburger drawer) ─────────────────────────────────── */
.nav__burger { display: none; }
.nav__burger span { background: currentColor; }
.nav[data-on-dark="true"] .nav__burger { color: #fff; }
.nav:not([data-on-dark="true"]) .nav__burger { color: var(--fg); }
@media (max-width: 1080px) {
  .nav__burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; border: 0; background: none; cursor: pointer; padding: 0;
  }
  .nav__burger span { display: block; height: 2px; width: 22px; margin: 0 auto;
    background: currentColor; border-radius: 2px; transition: .2s; }
}
.navm { position: fixed; inset: 0; z-index: 200; background: rgba(5,13,31,0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .2s var(--ease-out); }
.navm__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 400px);
  background: #0C3458; color: #fff; padding: 18px 22px 26px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 18px; box-shadow: -20px 0 60px rgba(0,0,0,.4);
  animation: navmIn .28s var(--ease-out); }
@keyframes navmIn { from { transform: translateX(100%); } to { transform: none; } }
.navm__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.navm__brand { height: 30px; width: auto; }
.navm__close { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06);
  border-radius: 50%; color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) var(--ease-out); }
.navm__close:hover { background: rgba(255,255,255,0.14); }
.navm__list { display: flex; flex-direction: column; }
.navm__row { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,0.1); cursor: pointer; text-align: left; width: 100%;
  color: #fff; font-family: var(--font-head); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; padding: 16px 2px;
  transition: color var(--dur-fast) var(--ease-out); }
.navm__row:hover { color: var(--m2s-cyan); }
.navm__row.is-active { color: var(--m2s-cyan); }
.navm__row--cta { justify-content: center; background: var(--accent); color: #fff; border: 0; border-radius: 12px;
  font-size: 16px; padding: 15px; margin-bottom: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.navm__row--cta:hover { color: #fff; filter: brightness(1.08); }
.navm__row--exp svg { transition: transform var(--dur-fast) var(--ease-out); opacity: 0.7; }
.navm__row--exp.is-open svg { transform: rotate(180deg); }
.navm__row--exp.is-open { border-bottom-color: transparent; color: var(--m2s-cyan); }
.navm__sub { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 14px; border-bottom: 1px solid rgba(255,255,255,0.1);
  animation: navmSubIn .22s var(--ease-out); }
@keyframes navmSubIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.navm__sub button { display: flex; flex-direction: column; gap: 2px; text-align: left; cursor: pointer;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 13px 16px;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.navm__sub button:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.09); }
.navm__sub-name { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.navm__sub-desc { font-size: 12px; line-height: 1.4; color: rgba(255,255,255,0.62); }
.navm__lang-toggle { margin-top: 20px; align-self: flex-start; display: inline-flex; gap: 2px; padding: 5px;
  border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; background: rgba(255,255,255,0.06);
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; cursor: pointer; color: rgba(255,255,255,0.6); }
.navm__lang-toggle span { min-width: 34px; padding: 6px 0; text-align: center; border-radius: 999px; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.navm__lang-toggle span.on { background: var(--m2s-cyan); color: #06121f; }


/* ─── Offer card dual CTAs ──────────────────────────────────────────── */
.offer2__ctas { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-top: 4px; }
.offer2__ctas .btn--link { font-size: 14px; }
.btn--pathpick {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; text-align: center;
  padding: 9px 20px; border-radius: 999px;
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent);
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .1s;
}
.btn--pathpick:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--pathpick:active { transform: translateY(1px); }
.offer2__card--media .btn--pathpick { background: transparent; }

/* ─── FAQ accordion ─────────────────────────────────────────────────── */
.faq-wrap { max-width: 880px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer;
  font: inherit; text-align: left; color: var(--fg);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: clamp(16px, 1.5vw, 19px); font-weight: 600;
  letter-spacing: -0.01em;
}
.faq__chev {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); color: var(--accent);
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.faq__item.is-open .faq__chev { transform: rotate(180deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-base) var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a-inner p { margin: 0; padding: 0 0 24px; max-width: 64ch; color: var(--fg-2); line-height: 1.6; font-size: 15px; }
/* Platform (dark) variant */
.platform-page .faq { border-top-color: rgba(255,255,255,0.12); }
.platform-page .faq__item { border-bottom-color: rgba(255,255,255,0.12); }
.platform-page .faq__q { color: #fff; }
.platform-page .faq__chev { border-color: rgba(255,255,255,0.2); color: var(--m2s-cyan); }
.platform-page .faq__item.is-open .faq__chev { background: var(--m2s-cyan); color: #07101F; border-color: var(--m2s-cyan); }
.platform-page .faq__a-inner p { color: rgba(255,255,255,0.72); }


/* FAQ header (icon + title, no category) */
.faq-head { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.faq-head__ic {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
}
.faq-head__title { font-size: clamp(28px, 3.4vw, 44px); margin: 0; }
.platform-page .faq-head__ic { background: rgba(46,183,230,0.14); color: var(--m2s-cyan); }
.faq__q { transition: color var(--dur-fast) var(--ease-out); }
.faq__q:hover { color: var(--accent); }
.platform-page .faq__q:hover { color: var(--m2s-cyan); }


/* FAQ — centered header + card items (screenshot style) */
.faq-head--center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 48px; }
.faq-head--center .eyebrow { color: var(--accent); }
.platform-page .faq-head--center .eyebrow { color: var(--m2s-cyan); }
.faq-head__title { font-size: clamp(28px, 3.6vw, 46px); margin: 0; line-height: 1.04; }
.faq { border-top: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border-bottom: 0 !important;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 24px;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.faq__item.is-open { border-color: var(--accent); }
.faq__q { padding: 22px 0; }
.faq__plus {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); color: var(--accent);
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base), color var(--dur-base);
}
.faq__plus-v { transition: opacity var(--dur-base) var(--ease-out); transform-origin: center; }
.faq__item.is-open .faq__plus { transform: rotate(135deg); background: var(--accent); color: #fff; border-color: var(--accent); }
/* Platform dark cards */
.platform-page .faq__item { background: rgba(255,255,255,0.035); border-color: rgba(255,255,255,0.10); }
.platform-page .faq__item.is-open { border-color: var(--m2s-cyan); }
.platform-page .faq__plus { border-color: rgba(255,255,255,0.2); color: var(--m2s-cyan); }
.platform-page .faq__item.is-open .faq__plus { background: var(--m2s-cyan); color: #07101F; border-color: var(--m2s-cyan); }

/* ─── Context bar (orientation inside inner pages) ──────────────────── */
.ctxbar { background: var(--bg-2); border-bottom: 1px solid var(--line); position: sticky; top: 64px; z-index: 40; }
.ctxbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.ctxbar__here { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); font-weight: 600; }
.ctxbar__links { display: flex; gap: 20px; flex-wrap: wrap; }
.ctxbar__links button { background: none; border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; color: var(--accent); transition: opacity .16s; }
.ctxbar__links button:hover { opacity: 0.7; }
@media (max-width: 600px) { .ctxbar__inner { justify-content: flex-start; gap: 12px; } .ctxbar__links { gap: 14px; } }


.hero-cf { transition: opacity 1.4s linear; filter: saturate(0.9) brightness(0.72) contrast(1.06); }
.hero-cf:not(.page-hero__video--corp) { object-position: center; transform: none; left: auto !important; right: 0 !important; width: 54% !important; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 14%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 14%, #000 34%); }
/* Consulting hero: pull the text block further left, give the video more room */
.page-hero--consulting > .wrap { max-width: 1440px; }
.page-hero--consulting .page-hero__sub { max-width: 30ch; }
.page-hero--photo:not(.page-hero--corp) .page-hero__tint { background: linear-gradient(90deg, #F8FAFC 0%, #F8FAFC 22%, rgba(248,250,252,0.82) 38%, rgba(248,250,252,0.5) 52%, rgba(248,250,252,0.2) 66%, rgba(248,250,252,0) 82%); }
/* Option 2 — dark consulting hero: FULL-BLEED video background, white text */
.page-hero--consulting.page-hero--dark { background: #0A1A33; }
.page-hero--consulting.page-hero--dark .hero-cf,
.page-hero--consulting.page-hero--dark .page-hero__video--corp { filter: saturate(0.95) brightness(0.82) contrast(1.02) !important; left: 0 !important; right: 0 !important; width: 100% !important; -webkit-mask-image: none !important; mask-image: none !important; object-position: center; }
.page-hero--consulting.page-hero--dark .page-hero__tint { background: linear-gradient(90deg, rgba(8,22,44,0.9) 0%, rgba(8,26,52,0.76) 35%, rgba(18,86,150,0.34) 62%, rgba(31,124,201,0.28) 100%) !important; }
.page-hero--consulting.page-hero--dark .page-hero__tint--corp { background: linear-gradient(90deg, rgba(14,18,28,0.92) 0%, rgba(20,26,38,0.8) 35%, rgba(38,55,79,0.46) 62%, rgba(58,78,104,0.36) 100%) !important; }
.page-hero--consulting.page-hero--dark .page-hero__eyebrow { color: var(--m2s-cyan); }
.page-hero--consulting.page-hero--dark h1 { color: #fff; }
.page-hero--consulting.page-hero--dark h1 em { color: var(--m2s-cyan); font-style: normal; }
.page-hero--consulting.page-hero--dark .page-hero__sub { color: rgba(255,255,255,0.78); }
.hero-cf--b { opacity: 0; }

/* ─── Cybersecurity compliant badge ─────────────────────────────────── */
.cyber-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
  padding: 9px 18px 9px 15px; border-radius: 999px;
  background: color-mix(in srgb, var(--m2s-cyan) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--m2s-cyan) 45%, transparent);
  color: var(--m2s-cyan); font-family: var(--font-head);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.cyber-badge svg { width: 18px; height: 18px; flex: none; }

/* ─── Job cards (careers openings) ──────────────────────────────────── */
.openings--cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; border-top: 0; }
.jobcard { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px 34px; display: flex; flex-direction: column; }
.jobcard .opening__role { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; color: var(--fg); line-height: 1.1; }
.jobcard__loc { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-top: 8px; }
.jobcard__desc { font-size: 14px; line-height: 1.6; color: var(--fg-2); margin: 18px 0 0; }
.jobcard__reqlabel { font-size: 13.5px; font-weight: 700; color: var(--fg); margin: 18px 0 12px; }
.jobcard__req { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.jobcard__req li { font-size: 13.5px; line-height: 1.5; color: var(--fg-2); padding-left: 20px; position: relative; }
.jobcard__req li::before { content: "–"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.jobcard__cta { margin-top: 28px; align-self: flex-start; }
@media (max-width: 760px) { .openings--cards { grid-template-columns: 1fr; } }

/* ─── Careers application form ──────────────────────────────────────── */
.apply { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.apply__intro h2 { color: var(--fg); }
.apply__contactline { margin-top: 22px; font-size: 14px; color: var(--fg-2); }
.apply__contactline a { color: var(--accent); font-weight: 600; }
.apply__form { display: flex; flex-direction: column; gap: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; }
.apply__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.apply__form label { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--fg-2); letter-spacing: 0.01em; }
.apply__form input, .apply__form select, .apply__form textarea { font: inherit; font-size: 14px; font-weight: 400; color: var(--fg); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; outline: none; transition: border-color .15s; }
.apply__form input:focus, .apply__form select:focus, .apply__form textarea:focus { border-color: var(--accent); }
.apply__form textarea { resize: vertical; }
.apply__file input { padding: 9px 13px; }
@media (max-width: 860px) { .apply { grid-template-columns: 1fr; gap: 32px; } .apply__row { grid-template-columns: 1fr; } }

/* ─── Case study (refined) ──────────────────────────────────────────── */
.casestudy { }
.casestudy__box { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: center;
  background: linear-gradient(160deg, #0C2036 0%, var(--bg-deep) 100%); color: #fff;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 26px; padding: 68px 64px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(5,13,31,0.35); }
.casestudy__box::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--m2s-blue), var(--m2s-cyan)); }
.casestudy__box::after { content: ""; position: absolute; bottom: -30%; right: -8%; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(46,183,230,0.14), transparent 70%); pointer-events: none; }
.casestudy__box > * { position: relative; z-index: 1; }
.casestudy__mark { position: absolute; top: 20px; left: 48px; font-family: Georgia, serif; font-size: 200px;
  line-height: 1; color: var(--m2s-cyan); opacity: 0.14; pointer-events: none; z-index: 0; }
.casestudy__eyebrow { color: var(--m2s-cyan); }
.casestudy__quote { font-family: var(--font-serif, Georgia, serif); font-weight: 400;
  font-size: clamp(23px, 2.5vw, 34px); line-height: 1.34; letter-spacing: -0.01em; margin: 20px 0 30px; color: #fff; }
.casestudy__author { display: flex; align-items: center; gap: 16px; }
.casestudy__author-line { width: 34px; height: 1px; background: var(--m2s-cyan); flex: none; opacity: 0.7; }
.casestudy__author-txt { display: flex; flex-direction: column; gap: 3px; }
.casestudy__author-txt strong { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0.01em; }
.casestudy__author-txt span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.casestudy__metrics { display: flex; flex-direction: column; gap: 26px; border-left: 1px solid rgba(255,255,255,0.14); padding-left: 44px; }
.casestudy__n { font-family: var(--font-head); font-weight: 800; font-size: clamp(36px, 4.2vw, 56px); color: var(--m2s-cyan); letter-spacing: -0.025em; line-height: 1; }
.casestudy__l { font-size: 13px; color: rgba(255,255,255,0.62); margin-top: 8px; letter-spacing: 0.01em; }
@media (max-width: 820px) { .casestudy__box { grid-template-columns: 1fr; gap: 34px; padding: 44px 30px; }
  .casestudy__mark { left: 24px; font-size: 130px; }
  .casestudy__metrics { flex-direction: row; flex-wrap: wrap; gap: 26px 40px; border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); padding-left: 0; padding-top: 30px; } }

/* A11Y pass — visible focus states + minor contrast lifts */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
.btn:focus-visible, .nav__links a:focus-visible, .jexp__dot:focus-visible, .kcimap__hot:focus-visible {
  outline: 2px solid var(--m2s-cyan); outline-offset: 3px; border-radius: 4px;
}
.apply__form input:focus-visible, .apply__form select:focus-visible, .apply__form textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
/* Slightly lift the faintest greys for readability */
.jcard__loc, .tl-desc { color: var(--fg-2); }


/* ─── KCI native diagram v2 (kdi2) ──────────────────────────────────── */
.kdi2 { margin-top: 8px; text-align: center; }
.kdi2__title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  font-size: clamp(19px, 2.4vw, 34px); color: #fff; margin: 0 auto; }
.kdi2__title::after { content: ""; display: block; width: 130px; height: 2px; margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--m2s-cyan), transparent); }
.kdi2__stage { position: relative; max-width: 1020px; margin: 28px auto 24px; }
.kdi2__svg { width: 100%; height: auto; display: block; overflow: visible; }
.kdi2__conn { transition: stroke-width .3s, opacity .3s; opacity: 0.9; }
.kdi2__conn.is-hot { stroke: #9FE0FF; stroke-width: 2.6; opacity: 1; }
.kdi2__halo { animation: kdiHaloPulse 4s var(--ease-in-out) infinite; transform-box: fill-box; transform-origin: center; }
.kdi2__ring { animation: kdiHaloPulse 4s var(--ease-in-out) 0.4s infinite; transform-box: fill-box; transform-origin: center; }
.kdi2__ring2 { animation: kdiHaloPulse 4s var(--ease-in-out) 0.8s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes kdiHaloPulse { 0%,100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
.kdi2__flow { opacity: 0.9; animation: kdiFlow 2.6s var(--ease-in-out) infinite; }
@keyframes kdiFlow { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.kdi2__core-t { font-family: var(--font-head); font-weight: 800; font-size: 42px; fill: #fff; letter-spacing: 0.02em; }
.kdi2__core-sub { font-family: var(--font-body); font-weight: 600; font-size: 9.5px; fill: rgba(159,224,255,0.9); letter-spacing: 0.16em; }
.kdi2__group { position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 12px; color: var(--m2s-cyan); }
.kdi2__pill { position: absolute; transform: translate(-100%, -50%); white-space: nowrap;
  background: rgba(10,26,51,0.6); border: 1px solid rgba(120,190,255,0.35); color: #eaf4ff;
  font-family: var(--font-body); font-weight: 500; font-size: 14px; padding: 11px 22px; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: default;
  transition: border-color .25s, background .25s, transform .25s; }
.kdi2__pill--r { transform: translate(0, -50%); }
.kdi2__pill.is-hot { border-color: var(--m2s-cyan); background: rgba(28,95,176,0.35); }
.kdi2__tip { position: absolute; top: 50%; z-index: 6; width: 230px; white-space: normal;
  background: #0b2244; border: 1px solid rgba(120,190,255,0.4); border-radius: 12px; padding: 10px 14px;
  font-size: 12.5px; line-height: 1.5; font-weight: 400; color: rgba(255,255,255,0.85);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.kdi2__tip--l { right: calc(100% + 12px); transform: translateY(-50%); text-align: left; }
.kdi2__tip--r { left: calc(100% + 12px); transform: translateY(-50%); text-align: left; }
@media (max-width: 760px) {
  .kdi2__svg { display: none; }
  .kdi2__stage { display: flex; flex-direction: column; gap: 10px; }
  .kdi2__group { position: static; transform: none; display: block; margin: 12px 0 2px; }
  .kdi2__pill, .kdi2__pill--r { position: static; transform: none; width: 100%; max-width: 360px; margin: 0 auto; text-align: center; }
  .kdi2__tip { position: static; width: auto; margin-top: 6px; }
  .kdi2__tip--l, .kdi2__tip--r { right: auto; left: auto; transform: none; }
}

/* ─── KCI native diagram (kdi) ──────────────────────────────────────── */
.kdi { margin-top: 40px; text-align: center; }
.kdi__title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: clamp(20px, 2.6vw, 36px); color: #fff; margin: 0 auto 6px; }
.kdi__title::after { content: ""; display: block; width: 120px; height: 2px; margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, var(--m2s-cyan), transparent); }
.kdi__stage { position: relative; max-width: 1000px; margin: 40px auto 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; min-height: 440px; }
.kdi__wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.kdi__wire { stroke-dasharray: 6 8; animation: kdiFlow 2.5s linear infinite; }
@keyframes kdiFlow { to { stroke-dashoffset: -28; } }
.kdi__col { display: flex; flex-direction: column; gap: 34px; position: relative; z-index: 1; }
.kdi__col--l { align-items: flex-start; }
.kdi__col--r { align-items: flex-end; }
.kdi__collabel { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 12px; color: var(--m2s-cyan); margin-bottom: 6px; }
.kdi__col--r .kdi__collabel { align-self: flex-end; }
.kdi__pill { position: relative; display: flex; align-items: center; gap: 14px; width: 300px; max-width: 100%;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(120,190,255,0.28); border-radius: 999px;
  padding: 16px 24px; cursor: pointer; font: inherit; color: #fff; text-align: left;
  transition: border-color .25s, background .25s, transform .25s; }
.kdi__pill--r { justify-content: flex-end; text-align: right; }
.kdi__pill-txt { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; flex: 1; }
.kdi__pill--r .kdi__pill-txt { text-align: right; }
.kdi__dot { width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--m2s-cyan);
  box-shadow: 0 0 10px 2px rgba(46,183,230,0.7); }
.kdi__pill:hover, .kdi__pill.is-on { border-color: var(--m2s-cyan); background: rgba(46,183,230,0.08); transform: translateY(-1px); }
.kdi__tip { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px);
  width: 230px; background: #0E2440; border: 1px solid rgba(120,190,255,0.3); border-radius: 12px;
  padding: 12px 14px; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,0.85); text-align: left;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 5; box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.kdi__pill.is-on .kdi__tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.kdi__core { position: relative; width: 300px; height: 300px; z-index: 1; display: flex; align-items: center; justify-content: center; margin: 0 -30px; }
.kdi__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(46,183,230,0.4); }
.kdi__ring--1 { inset: 0; border-color: rgba(46,183,230,0.18); animation: kdiSpin 24s linear infinite; border-style: dashed; }
.kdi__ring--2 { inset: 34px; border-color: rgba(46,183,230,0.5); box-shadow: 0 0 40px rgba(46,183,230,0.25) inset; }
.kdi__ring--3 { inset: 60px; border-color: rgba(120,190,255,0.7); box-shadow: 0 0 30px rgba(46,183,230,0.4); animation: kdiPulseR 3s ease-in-out infinite; }
@keyframes kdiSpin { to { transform: rotate(360deg); } }
@keyframes kdiPulseR { 0%,100% { box-shadow: 0 0 24px rgba(46,183,230,0.35); } 50% { box-shadow: 0 0 44px rgba(46,183,230,0.6); } }
.kdi__core-inner { position: relative; width: 168px; height: 168px; border-radius: 50%;
  background: radial-gradient(circle at 42% 36%, #2A7DCE, #0A2A52 72%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 60px rgba(46,183,230,0.5), inset 0 0 34px rgba(120,190,255,0.4); border: 1px solid rgba(150,210,255,0.65); z-index: 3; }
.kdi__core-kci { font-family: var(--font-head); font-weight: 800; font-size: 52px; color: #fff; letter-spacing: 0.02em; line-height: 1; }
.kdi__core-sub { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(200,230,255,0.85); margin-top: 4px; }
.kdi__caption { max-width: 720px; margin: 44px auto 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.72); }
.kdi__caption b { color: var(--m2s-cyan); font-weight: 700; }
.kdi__caption em { color: var(--m2s-cyan); font-style: normal; font-weight: 600; }
@media (max-width: 760px) {
  .kdi__wires { display: none; }
  .kdi__stage { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .kdi__col { align-items: center !important; gap: 16px; }
  .kdi__pill, .kdi__pill--r { width: 100%; max-width: 340px; justify-content: flex-start; text-align: left; flex-direction: row; }
  .kdi__pill--r .kdi__pill-txt { text-align: left; }
  .kdi__core { order: -1; margin: 0 auto; width: 240px; height: 240px; }
  .kdi__col--r .kdi__collabel { align-self: center; }
  .kdi__tip { position: static; transform: none; opacity: 1; width: auto; margin-top: 8px; background: transparent; border: 0; box-shadow: none; padding: 0; color: rgba(255,255,255,0.6); }
}
