@charset "UTF-8";
/**
 * Emanuele BDC — Architecture & Editorial Design System
 * Swiss Modernist Clean Paper · Deep Ink · Acid Fluo Punch · Zero Unreadable Text
 * https://emaf205.com/
 */

:root {
  /* Tavolozza Primaria: Carta Architettonica & Inchiostro Puro */
  --bg-page: #fbfbfc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f3f4f7;
  --bg-dark-accent: #0c0d12;
  --bg-dark-card: #14161f;
  
  /* Inchiostro & Tipografia ad Altissimo Contrasto (WCAG AAA) */
  --ink: #0a0b0f;
  --ink-secondary: #262933;
  --ink-muted: #1a1e24;
  --ink-subtle: #262933;
  --ink-inverted: #ffffff;
  --ink-inverted-muted: #e2e8f0;

  /* Accento Identitario IMF205 (Acid Fluo Tecnico) */
  --acid: #e4ff00;
  --acid-hover: #f3ff54;
  --acid-ink: #0a0b0f;
  --acid-border: #0a0b0f;
  --acid-glow: rgba(228, 255, 0, 0.4);

  /* Bordi & Struttura Architettonica */
  --border-line: 2px solid #0a0b0f;
  --border-subtle: 1px solid rgba(10, 11, 15, 0.14);
  --border-dark: 1px solid rgba(255, 255, 255, 0.15);
  --shadow-brutal: 4px 4px 0px #0a0b0f;
  --shadow-brutal-hover: 6px 6px 0px #0a0b0f;
  --shadow-brutal-acid: 4px 4px 0px #e4ff00;

  /* Tipografia */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background-color: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  background-color: var(--bg-page);
  background-image: radial-gradient(rgba(10, 11, 15, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  overflow-x: clip;
  padding-bottom: max(24px, env(safe-area-inset-bottom, 24px));
}

/* CANONE VISIVO EMAF205: ZERO TESTO MICROSCOPICO & TOTAL BOLD (WCAG AAA) */
p, li, td, th, input, select, textarea, button, label, small, span, a, kbd, figcaption {
  font-size: max(16px, 1rem);
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 span, h2 span, h3 span, h4 span, .hero-title span, .section-title span, .monolith-title span, .brand-link span {
  font-size: inherit;
}

.tabular-nums, .stat-num, .counter-num, .quick-metric-value, .meta-value, [data-counter], .header-status-pill {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

h1, h2, h3, .hero-title, .section-title, .monolith-title {
  letter-spacing: -0.025em;
  font-weight: 900;
}

/* Touch targets minimi 48px con feedback tattile */
button, .btn, .btn-primary, .btn-header-cta, .btn-menu-trigger, .fs-nav-item, a.btn-cta {
  min-height: 48px;
  box-sizing: border-box;
}
button:active, .btn:active, .btn-header-cta:active, .btn-menu-trigger:active {
  transform: scale(0.97);
}

/* Accessibilità e Focus */
:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}
a, button {
  touch-action: manipulation;
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 14px 22px;
  background: var(--acid);
  color: var(--acid-ink);
  font-weight: 900;
  border: 2px solid #000;
  box-shadow: 4px 4px 0px #000;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* Griglia & Contenitore */
.wrap {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

@media (max-width: 480px) {
  .wrap {
    width: min(1240px, calc(100% - 24px));
  }
}

h1, h2, h3, .section-title, .hero-title {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Indicatore di Scroll */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--acid);
  border-bottom: 1px solid #000;
  z-index: 200;
  transition: width 0.08s ease-out;
}

/* TOP HEADER & NAVBAR */
.site-header {
  height: 84px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 252, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--ink);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: var(--ink);
}
.brand-link span.accent-tag {
  background: var(--acid);
  color: var(--acid-ink);
  padding: 2px 7px;
  border: 1.5px solid var(--ink);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.header-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  background: #ffffff;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 6px 14px;
  box-shadow: 2px 2px 0px var(--ink);
  white-space: nowrap;
}
.status-indicator-dot {
  width: 8px;
  height: 8px;
  background: #00cc44;
  border: 1px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 204, 68, 0.5);
  animation: pulse-dot 2.2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

/* Header Actions & Trigger Menu a Tutto Schermo */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-cta {
  background: var(--acid);
  color: #000000 !important;
  font-weight: 900 !important;
  font-size: 1rem;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0px var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.btn-header-cta:hover {
  background: var(--acid-hover);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--ink);
}

.btn-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0px var(--ink);
  padding: 9px 18px;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-menu-trigger:hover {
  background: var(--acid);
  color: #000000 !important;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--ink);
}
.btn-menu-trigger .menu-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* FULLSCREEN NAV TAKEOVER (DESKTOP & MOBILE) */
.fullscreen-nav {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #0a0b0f;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #ffffff;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(20px, 3vw, 40px);
}
.fullscreen-nav.open {
  display: flex;
  animation: fsFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fsFadeIn {
  from { opacity: 0; transform: scale(0.99); }
  to { opacity: 1; transform: scale(1); }
}
.fullscreen-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: clamp(16px, 2.5vw, 28px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}
.fullscreen-nav-header .brand-link {
  color: #ffffff;
}
.btn-menu-close {
  background: var(--acid);
  color: #000000 !important;
  font-weight: 900 !important;
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 10px 20px;
  border: 2px solid #000000;
  box-shadow: 3px 3px 0px #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-menu-close:hover {
  background: #ffffff;
  color: #000000 !important;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--acid);
}
.fullscreen-nav-body {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(20px, 3.5vw, 40px);
}
.fullscreen-nav-meta {
  margin-bottom: clamp(18px, 2.5vw, 32px);
}
.fs-tag {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900;
  color: var(--acid);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}
.fullscreen-nav-meta p {
  font-size: 1.05rem;
  color: var(--ink-inverted-muted);
  max-width: 640px;
}
.fullscreen-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fs-nav-item {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  padding: clamp(12px, 1.8vw, 20px) clamp(16px, 2vw, 28px);
  background: #14161f;
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.fs-nav-item:hover,
.fs-nav-item:focus {
  background: var(--acid);
  color: #000000 !important;
  border-color: #000000;
  box-shadow: 6px 6px 0px #ffffff;
  transform: translateX(6px);
}
.fs-num {
  font-family: var(--font-mono);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 900;
  color: var(--acid);
  border: 1.5px solid var(--acid);
  padding: 3px 7px;
  white-space: nowrap;
}
.fs-nav-item:hover .fs-num {
  color: #000000 !important;
  border-color: #000000;
  background: transparent;
}
.fs-label {
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 900;
  letter-spacing: -0.04em;
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.15;
}
.fs-label small {
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 700;
  letter-spacing: normal;
  color: var(--ink-inverted-muted);
}
.fs-nav-item:hover .fs-label small {
  color: #1a1a1a !important;
  font-weight: 800;
}
.fs-arrow {
  margin-left: auto;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 900;
  color: var(--acid);
}
.fs-nav-item:hover .fs-arrow {
  color: #000000 !important;
  transform: translateX(4px);
}
.fullscreen-nav-footer {
  margin-top: clamp(28px, 4vw, 56px);
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.fs-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-ghost-light {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-weight: 900;
  font-size: 1rem;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ghost-light:hover {
  background: #ffffff;
  color: #000000 !important;
}
.fs-footer-note {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--ink-inverted-muted);
}

/* PULSANTI E CTA GENERALI */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--acid);
  color: var(--acid-ink);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  padding: 16px 28px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-brutal);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}
.btn-primary:hover {
  background: var(--acid-hover);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal-hover);
}
.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--ink);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  padding: 16px 28px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-brutal);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: var(--bg-surface-alt);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal-hover);
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  padding: 16px 24px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-brutal);
  cursor: pointer;
  transition: all 0.15s ease;
  background: #ffffff;
}
.btn-ghost-dark:hover {
  background: var(--acid);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal-hover);
}

/* HERO SECTION: ARCHITECTURAL & BOLD */
.hero-section {
  padding-block: clamp(56px, 8vw, 100px);
  border-bottom: 2px solid var(--ink);
  background: var(--bg-surface);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--acid);
  color: var(--acid-ink);
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900;
  padding: 6px 14px;
  margin-bottom: 22px;
  box-shadow: 2px 2px 0px var(--ink);
}

.hero-title {
  font-size: clamp(38px, 4.4vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-title .highlight-yellow {
  background: var(--acid);
  color: var(--acid-ink);
  padding: 2px 10px;
  border: 2px solid var(--ink);
  display: inline-block;
  box-shadow: 3px 3px 0px var(--ink);
  margin-top: 4px;
}

.hero-lead {
  font-size: clamp(1.1rem, 1.25vw, 1.3rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0px var(--ink);
  padding: 6px 12px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

/* HERO VISUAL FRAME */
.hero-visual-frame {
  position: relative;
  border: 2px solid var(--ink);
  background: #ffffff;
  padding: 10px;
  box-shadow: 8px 8px 0px var(--ink);
}
.hero-visual-image {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border: 1px solid var(--ink);
  display: block;
}

/* QUICK BAND / METRICHE CHIAVE */
.quick-band {
  background: var(--bg-surface-alt);
  border-bottom: 2px solid var(--ink);
  padding-block: 28px;
}
.quick-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0px var(--ink);
  padding: 14px 18px;
}
.quick-icon-box {
  width: 44px;
  height: 44px;
  background: var(--acid);
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--acid-ink);
  flex-shrink: 0;
}
.quick-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.quick-text span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-muted);
}

/* SEZIONI GENERALI */
.section-block {
  padding-block: clamp(72px, 8vw, 112px);
  border-bottom: 2px solid var(--ink);
  position: relative;
}
.section-head {
  max-width: 840px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900;
  background: var(--acid);
  color: var(--acid-ink);
  border: 1.5px solid var(--ink);
  padding: 3px 10px;
  box-shadow: 2px 2px 0px var(--ink);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: balance;
}
.section-title .accent-highlight {
  background: var(--acid);
  color: var(--acid-ink);
  padding: 0 6px;
  border-bottom: 3px solid var(--ink);
}
.section-desc {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-secondary);
}

/* 01. GRIGLIA SERVIZI */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-brutal);
  padding: clamp(28px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.15s ease;
}
.service-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px var(--acid), 7px 7px 0px 2px var(--ink);
}
.service-card-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.service-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.service-badge {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900;
  background: var(--bg-surface-alt);
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 4px 10px;
}
.service-title {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.service-sub {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink-secondary);
  border-left: 3px solid var(--acid);
  padding-left: 8px;
}
.service-desc {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-secondary);
}
.service-card-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1.5px solid rgba(10, 11, 15, 0.12);
}
.service-link {
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s;
}
.service-link:hover {
  background: var(--acid);
  padding-inline: 4px;
}

/* 02. METODO (SWISS CLEAN HIGH-CONTRAST) */
.method-theme {
  background: #ffffff;
}
.method-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.method-statement {
  background: var(--bg-dark-accent);
  color: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-brutal);
  padding: clamp(32px, 4vw, 44px);
}
.method-statement h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  color: #ffffff;
}
.method-statement p {
  font-size: 1.05rem;
  color: var(--ink-inverted-muted);
  margin-bottom: 26px;
  line-height: 1.6;
}

.steps-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  border-top: 2px solid var(--ink);
}
.step-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding-block: 26px;
  border-bottom: 2px solid var(--ink);
  align-items: start;
}
.step-num {
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  font-family: var(--font-mono);
  color: var(--ink);
  background: var(--acid);
  border: 1.5px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  box-shadow: 2px 2px 0px var(--ink);
}
.step-body h4 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--ink);
}
.step-body p {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-secondary);
}

/* 03. SIMULATORE OPERATIVO DI REPARTO & ROI */
.simulator-box {
  background: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0px var(--ink);
  padding: clamp(24px, 4vw, 44px);
}
.simulator-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--ink);
}
.dept-btn {
  background: var(--bg-surface-alt);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0px var(--ink);
  font-size: 1rem;
  font-weight: 800;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.15s;
}
.dept-btn:hover {
  background: var(--acid);
}
.dept-btn.active {
  background: var(--acid);
  color: var(--acid-ink);
  box-shadow: 4px 4px 0px var(--ink);
  transform: translate(-2px, -2px);
}

.simulator-result-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.res-col {
  background: var(--bg-surface-alt);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0px var(--ink);
  padding: 24px 28px;
}
.res-col.good {
  border-left: 8px solid #00aa44;
}
.res-col.bad {
  border-left: 8px solid #dd2222;
}
.res-col h4 {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.res-col.good h4 { color: #008833; }
.res-col.bad h4 { color: #cc1111; }
.res-col p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 600;
}

.simulator-meta-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--bg-dark-accent);
  color: #ffffff;
  border: 2px solid var(--ink);
  padding: 20px 24px;
  box-shadow: 4px 4px 0px var(--ink);
}
.roi-metric span {
  display: block;
  font-size: 1rem;
  font-family: var(--font-mono);
  color: var(--ink-inverted-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.roi-metric strong {
  display: block;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  color: var(--acid);
  letter-spacing: -0.02em;
}

/* 04. SETTORI */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sector-card {
  background: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-brutal);
  padding: 28px;
  transition: all 0.15s;
}
.sector-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0px var(--acid), 6px 6px 0px 2px var(--ink);
}
.sector-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900;
  background: var(--acid);
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 2px 8px;
  margin-bottom: 12px;
}
.sector-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
}
.sector-card p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-secondary);
}

/* 05. STATISTICHE & NUMERI */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-box {
  background: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-brutal);
  padding: clamp(32px, 4vw, 44px);
  text-align: center;
}
.stat-number {
  display: block;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--ink);
  font-family: var(--font-mono);
  margin-bottom: 10px;
}
.stat-label {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 6px;
}
.stat-note {
  font-size: 1rem;
  color: var(--ink-muted);
}

/* 06. BLOG & IDEAS VETRINA */
.blog-experience-banner {
  background: #0a0b0f;
  color: #ffffff;
  border: 3px solid #000000;
  box-shadow: 6px 6px 0px var(--acid);
  padding: clamp(32px, 4vw, 52px);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.blog-banner-kicker {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: var(--acid);
  color: #000000 !important;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 16px;
  border: 1.5px solid #000000;
}
.blog-banner-title {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 14px;
  max-width: 900px;
}
.blog-banner-lead {
  font-size: 1.08rem;
  color: var(--ink-inverted-muted);
  line-height: 1.6;
  max-width: 820px;
  margin-bottom: 28px;
}
.blog-banner-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.blog-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.post-card {
  background: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0px var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 7px 7px 0px var(--acid), 7px 7px 0px 2px var(--ink);
}
.post-card-thumb-wrap {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #0a0b0f;
  border-bottom: 2px solid var(--ink);
  display: block;
}
.post-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(115%);
  transition: transform 0.35s ease, filter 0.35s ease;
}
.post-card:hover .post-card-thumb {
  transform: scale(1.05);
  filter: grayscale(100%) contrast(130%);
}
.post-card-inner {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.post-category-badge {
  background: var(--acid);
  color: #000000 !important;
  font-weight: 900 !important;
  padding: 2px 7px;
  border: 1px solid #000000;
}
.post-time {
  color: var(--ink-muted);
}
.post-title {
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--ink);
}
.post-title a:hover {
  background: var(--acid);
  color: #000000 !important;
}
.post-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin-bottom: 20px;
}
.post-footer-link {
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-footer-link:hover {
  background: var(--acid);
  color: #000000 !important;
}

.blog-all-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

/* CALLOUT EDITORIALE */
.editorial-callout {
  padding: 24px 28px;
  background: var(--bg-surface-alt);
  border: 2px solid var(--ink);
  border-left: 8px solid var(--acid);
  box-shadow: 4px 4px 0px var(--ink);
  margin-top: 40px;
}
.editorial-callout p {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* 07. SEZIONE CONTATTI */
.contact-section {
  background: var(--bg-surface-alt);
  padding-block: clamp(72px, 8vw, 120px);
  border-bottom: 2px solid var(--ink);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  color: var(--ink);
}
.contact-info p.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 32px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0px var(--ink);
  padding: 18px 20px;
  flex-wrap: wrap;
}
.contact-channel-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.channel-label {
  font-size: 1rem;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-weight: 900;
  letter-spacing: 0.05em;
}
.obfuscated-email-indicator {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ink);
}
.channel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-copy-email {
  background: var(--acid);
  color: #000000 !important;
  font-weight: 900 !important;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0px var(--ink);
  padding: 7px 14px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-copy-email:hover {
  background: var(--acid-hover);
  transform: translate(-1px, -1px);
}
.btn-client-mail {
  background: #ffffff;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0px var(--ink);
  padding: 7px 14px;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-client-mail:hover {
  background: var(--bg-surface-alt);
  transform: translate(-1px, -1px);
}
.btn-linkedin {
  background: #0077b5;
  color: #ffffff !important;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0px var(--ink);
  padding: 7px 16px;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.btn-linkedin:hover {
  background: #005f93;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--ink);
}
.btn-copy-email:hover {
  background: var(--acid-hover);
  transform: translate(-1px, -1px);
}

/* MODULO DI CONTATTO COMPATTO */
.contact-form-card {
  background: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0px var(--ink);
  padding: clamp(28px, 4vw, 40px);
}
.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--ink);
}
.contact-form-card p {
  color: var(--ink-secondary);
  font-size: 1rem;
  margin-bottom: 22px;
}
.form-field {
  margin-bottom: 16px;
}
.form-field label {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: #ffffff;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 14px;
  outline: none;
  transition: all 0.15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  background: #fafbff;
  box-shadow: 3px 3px 0px var(--acid), 3px 3px 0px 2px var(--ink);
}

/* TOAST */
#toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--acid);
  color: var(--acid-ink);
  font-weight: 900;
  padding: 14px 22px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0px var(--ink);
  z-index: 999;
  display: none;
  font-size: 1rem;
}
#toast-notification.show {
  display: block;
  animation: slideInToast 0.25s ease;
}
@keyframes slideInToast {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* FOOTER COLOPHON */
.site-footer {
  background: #ffffff;
  padding-block: 56px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--ink);
}
.footer-brand strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}
.footer-brand p {
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  max-width: 380px;
}
.footer-links-group {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-links-col h4 {
  font-size: 1rem;
  font-family: var(--font-mono);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links-col a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: all 0.15s;
}
.footer-links-col a:hover {
  color: #000000 !important;
  background: var(--acid);
  font-weight: 900 !important;
  display: inline-block;
  padding-inline: 4px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-muted);
}

/* STILI PAGINE SECONDARIE (SERVIZI.PHP & CHI-SONO.PHP) */
.page-hero {
  padding-block: clamp(48px, 6vw, 80px);
  background: #ffffff;
  border-bottom: 2px solid var(--ink);
}
.page-hero-title {
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 16px;
  color: var(--ink);
}
.page-hero-desc {
  font-size: 1.15rem;
  color: var(--ink-secondary);
  max-width: 720px;
  line-height: 1.6;
}

.compliance-box {
  background: var(--bg-surface-alt);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0px var(--ink);
  padding: clamp(28px, 4vw, 44px);
  margin-bottom: 48px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .quick-band-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid, .blog-showcase-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .sectors-grid, .stats-grid {
    grid-template-columns: 1fr;
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-status-pill, .btn-header-cta {
    display: none;
  }
  .btn-menu-trigger {
    padding: 8px 14px;
    font-size: 1rem;
  }
  .quick-band-grid {
    grid-template-columns: 1fr;
  }
  .simulator-result-card {
    grid-template-columns: 1fr;
  }
  .simulator-meta-strip {
    grid-template-columns: 1fr;
  }
  .btn-primary, .btn-secondary, .btn-ghost-dark {
    white-space: normal !important;
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
  }
  .blog-experience-banner {
    padding: 24px 18px;
  }
  .blog-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-banner-actions .btn-primary, .blog-banner-actions .btn-ghost-light {
    width: 100%;
    text-align: center;
    justify-content: center;
    white-space: normal !important;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn-primary, .hero-actions .btn-ghost-dark {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* BARRA RAPIDA INFERIORE MOBILE (APP-LIKE FEEL) */
.mobile-quick-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #ffffff;
  border-top: 2px solid var(--ink);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.14);
  padding: 10px 12px;
  gap: 8px;
}
@media (max-width: 768px) {
  .mobile-quick-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  body {
    padding-bottom: 72px;
  }
}
.quick-btn-menu, .quick-btn-copy, .quick-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 900;
  font-family: var(--font-mono);
  padding: 9px 8px;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0px var(--ink);
  cursor: pointer;
  text-decoration: none;
  flex: 1;
  white-space: nowrap;
  text-align: center;
}
.quick-btn-menu {
  background: #ffffff;
  color: var(--ink);
}
.quick-btn-copy {
  background: var(--bg-surface-alt);
  color: var(--ink);
}
.quick-btn-cta {
  background: var(--acid);
  color: #000000 !important;
}

@media (max-width: 360px) {
  .mobile-quick-bar {
    padding: 8px 6px;
    gap: 4px;
  }
  .quick-btn-menu, .quick-btn-copy, .quick-btn-cta {
    padding: 7px 4px;
    font-size: 1rem;
    gap: 3px;
  }
  .quick-btn-menu svg, .quick-btn-copy svg, .quick-btn-cta svg {
    width: 13px;
    height: 13px;
  }
}

/* ==========================================================================
   REGOLA SUPREMA DI CONTRASTO: ZERO AMBIGUITÀ (FONDO GIALLO = NERO BOLD, NIENTE GIALLO SU BIANCO)
   ========================================================================== */
.footer-cta-pill {
  color: #000000 !important;
  font-weight: 900 !important;
  background: var(--acid) !important;
  padding: 6px 14px;
  border: 2px solid #000000;
  box-shadow: 2px 2px 0px #000000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.15s;
}
.footer-cta-pill:hover {
  background: var(--acid-hover) !important;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #000000;
  color: #000000 !important;
}

/* Tutti gli elementi con sfondo giallo devono AVERE rigorosamente testo nero inchiostro bold */
[style*="background:var(--acid)"],
[style*="background: #e4ff00"],
[style*="background:#e4ff00"],
.bg-acid,
.highlight-yellow,
.accent-highlight,
.btn-primary,
.badge-cms,
.section-kicker,
.step-num,
.hero-meta-badge {
  color: #000000 !important;
  font-weight: 900 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Qualsiasi link/bottone che in hover prende lo sfondo giallo DEVE passare istantaneamente a testo nero bold */
a:hover[style*="background:var(--acid)"],
a:hover[style*="background:#e4ff00"],
.nav-desktop a:hover,
.mobile-drawer-links a:hover,
.btn-ghost-dark:hover,
.service-link:hover,
.post-title a:hover,
.post-footer-link:hover,
.footer-links a:hover,
.dept-btn:hover,
.dept-btn.active {
  color: #000000 !important;
  font-weight: 900 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Testi highlight compatti e contrastati */
.accent-highlight {
  background: var(--acid);
  color: #000000 !important;
  font-weight: 900 !important;
  padding: 0 8px;
  border: 2px solid #000000;
  box-shadow: 2px 2px 0px #000000;
  display: inline-block;
  margin-block: 2px;
}

/* ==========================================================================
   SPECIAL EFFECTS & KINETIC UPGRADES (v5 TAKEOVER)
   ========================================================================== */


/* 2. Hero Visual Stage (Doppio Livello Composito) */
.hero-visual-stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.hero-monolith-card {
  background: #ffffff;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0px var(--ink), 16px 16px 0px var(--acid);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-monolith-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 12px 12px 0px var(--ink), 20px 20px 0px var(--acid);
}

.monolith-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #0a0b0f;
  color: #ffffff;
  border-bottom: 2.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.monolith-tag {
  color: var(--acid);
  font-weight: 900;
}
.monolith-coords {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}
.monolith-pill {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 700;
}

.hero-visual-frame {
  position: relative;
  border: none;
  border-bottom: 2.5px solid var(--ink);
  background: #000000;
  padding: 0;
  overflow: hidden;
  margin: 0;
  box-shadow: none;
}

.hero-visual-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: contrast(1.05);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-visual-frame:hover .hero-visual-image {
  transform: scale(1.03);
}

.hero-profile-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: none;
  padding: 16px 20px;
  box-shadow: none;
  transition: background 0.2s ease;
}
.hero-profile-avatar {
  width: 68px;
  height: 68px;
  border-radius: 0;
  border: 1.5px solid var(--ink);
  object-fit: cover;
  filter: contrast(1.05);
  flex-shrink: 0;
}
.hero-profile-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-profile-info strong {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-profile-info span {
  font-size: 1rem;
  color: var(--ink-secondary);
  font-weight: 600;
}
.profile-live-pill {
  font-family: var(--font-mono);
  font-size: 1rem !important;
  font-weight: 900 !important;
  color: #008822 !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}


/* 4. Servizi Visual Frames */
.service-num-badge {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.04em;
  border-bottom: 3px solid var(--acid);
  line-height: 1;
  padding-bottom: 2px;
}
.service-visual-wrap {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  aspect-ratio: 16 / 9;
  background: #000000;
  margin-block: 10px 14px;
}
.service-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.12);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease;
}
.service-card:hover .service-visual-img {
  transform: scale(1.06);
  filter: grayscale(70%) contrast(1.18);
}
.visual-coord-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--acid);
  color: #000000 !important;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900 !important;
  padding: 2px 8px;
  border: 1px solid #000000;
  box-shadow: 2px 2px 0px #000000;
}

/* 5. Metodo in 4 Fasi: Visual Chapter Grid */
.method-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.method-card-visual {
  background: #111319;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 6px 6px 0px var(--acid);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.method-card-visual:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0px var(--acid);
  border-color: #ffffff;
}
.method-card-visual-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
  border-bottom: 2px solid var(--acid);
}
.method-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.15);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.method-card-visual:hover .method-visual-img {
  transform: scale(1.06);
}
.method-phase-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--acid);
  color: #000000 !important;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900 !important;
  padding: 3px 10px;
  border: 1.5px solid #000000;
  box-shadow: 2px 2px 0px #000000;
  z-index: 2;
}
.method-card-visual-content {
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.method-card-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.method-step-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--acid);
  line-height: 1;
  letter-spacing: -0.04em;
}
.method-step-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.method-step-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 4px;
}

/* 6. Settori con Visual Card */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.sector-card {
  background: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-brutal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.sector-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-brutal-hover);
}
.sector-visual-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
  border-bottom: 2px solid var(--ink);
}
.sector-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.12);
  transition: transform 0.4s ease;
}
.sector-card:hover .sector-visual-img {
  transform: scale(1.05);
}
.sector-card-inner {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 7. Sheen Specular Reflection Layer per Card Tilt 3D */
.card-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  border-radius: inherit;
  transition: background 0.15s ease;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .method-visual-grid,
  .sectors-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   STRUMENTI PER AZIENDE & HOMEPAGE INTERACTIVE ROI ENGINE
   ========================================================================== */

/* Regola tassativa: Elimina sovratitoli e kickers piccoli */
.section-kicker,
.hero-meta-badge,
.visual-coord-badge,
.fs-tag {
  display: none !important;
}

/* Tipografia gigante, ultra-bold ad altissimo contrasto */
body {
  font-size: 19px !important;
  line-height: 1.6;
}

.hero-title {
  font-size: clamp(42px, 5.5vw, 76px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.05 !important;
}

.hero-lead {
  font-size: clamp(1.2rem, 1.4vw, 1.45rem) !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  color: #111111 !important;
  max-width: 720px !important;
}

.section-title {
  font-size: clamp(38px, 4.5vw, 64px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.1 !important;
  color: var(--ink) !important;
}

.section-desc {
  font-size: clamp(1.2rem, 1.4vw, 1.4rem) !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  color: #1a1a1a !important;
  max-width: 860px !important;
}

/* Tools Hero Section */
.tools-hero-section {
  padding-block: clamp(64px, 8vw, 110px);
  background: #ffffff;
  border-bottom: 2.5px solid var(--ink);
}
.tools-hero-title {
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 20px;
}
.tools-hero-subtitle {
  font-size: clamp(1.18rem, 1.35vw, 1.4rem);
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 880px;
  margin-bottom: 36px;
}
.tools-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Sezioni Tool */
.tool-section-block {
  padding-block: clamp(72px, 8vw, 112px);
  border-bottom: 2.5px solid var(--ink);
}
.tool-section-block.dark-theme {
  background: #0a0b0f;
  color: #ffffff;
}
.tool-section-block.light-theme {
  background: var(--bg-surface);
  color: var(--ink);
}
.tool-title-giant {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.dark-theme .tool-title-giant {
  color: #ffffff;
}
.tool-desc-lead {
  font-size: clamp(1.15rem, 1.3vw, 1.35rem);
  font-weight: 600;
  line-height: 1.6;
  max-width: 860px;
  margin-bottom: 40px;
}
.dark-theme .tool-desc-lead {
  color: rgba(255, 255, 255, 0.82);
}

/* Scanner App Container */
.scanner-container {
  background: #111319;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 8px 8px 0px var(--acid);
  padding: clamp(24px, 4vw, 44px);
  max-width: 900px;
}
.scanner-step {
  display: none;
}
.scanner-step.active {
  display: block;
}
.step-question {
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  font-weight: 900;
  color: var(--acid);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.25;
}
.scanner-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.option-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #181b24;
  border: 2px solid rgba(255, 255, 255, 0.15);
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.option-label:hover {
  border-color: var(--acid);
  background: #202432;
}
.option-label input[type="radio"] {
  accent-color: var(--acid);
  width: 22px;
  height: 22px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
}
.option-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
}
.step-nav-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scanner Result */
.scanner-result-box {
  background: #181b24;
  border: 2.5px solid var(--acid);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 6px 6px 0px #000000;
}
.result-badge {
  display: inline-block;
  background: var(--acid);
  color: #000000 !important;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900 !important;
  padding: 6px 16px;
  border: 2px solid #000000;
  margin-bottom: 20px;
}
.result-title {
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.result-desc {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}
.result-actions-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Policy Builder Grid */
.policy-builder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.policy-inputs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.policy-inputs .form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.policy-inputs input,
.policy-inputs textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 700;
  border: 2px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  box-sizing: border-box;
}
.policy-preview-wrap {
  display: flex;
  flex-direction: column;
  background: #0a0b0f;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0px var(--ink);
}
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--acid);
  border-bottom: 2px solid var(--ink);
}
.preview-header strong {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900;
  color: #000000;
}
.btn-copy-small {
  background: #000000;
  color: #ffffff;
  font-weight: 900;
  font-size: 1rem;
  padding: 6px 14px;
  border: 1.5px solid #000000;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-copy-small:hover {
  background: var(--acid);
  color: #000000 !important;
}
.policy-preview-box {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-wrap;
  overflow-y: auto;
  max-height: 520px;
}

/* ROI Calculator Grid & Interactive Sliders */
.roi-calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.roi-sliders {
  background: #111319;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 8px 8px 0px var(--acid);
  padding: clamp(24px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.slider-head label {
  font-size: 1.05rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.slider-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--acid);
  white-space: nowrap;
}
.slider-group input[type="range"] {
  width: 100%;
  height: 10px;
  border-radius: 0;
  background: #252a3a;
  outline: none;
  cursor: pointer;
  accent-color: var(--acid);
}
.slider-group input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  background: var(--acid);
  border: 2px solid #000000;
  cursor: pointer;
  border-radius: 0;
}

.roi-results-board {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.metric-card {
  background: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0px var(--ink);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.metric-card.highlight {
  background: #0a0b0f;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 6px 6px 0px var(--acid);
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--ink-secondary);
}
.metric-card.highlight .metric-label {
  color: rgba(255, 255, 255, 0.7);
}
.metric-number {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--acid);
  line-height: 1;
}
.metric-number-yellow {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.metric-note {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-secondary);
  line-height: 1.45;
}
.metric-card.highlight .metric-note {
  color: rgba(255, 255, 255, 0.75);
}
.roi-payback-text {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 600;
}

/* Dynamic Progress Bar Gauge */
.roi-visual-progress-track {
  width: 100%;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}
.roi-visual-progress-fill {
  height: 100%;
  background: var(--acid);
  transition: width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Tool Feature Cards in Homepage */
.tool-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}
.tool-feature-card {
  background: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-brutal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.15s ease;
  position: relative;
}
.tool-feature-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-brutal-hover);
}
.tool-feature-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.tool-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.15);
  transition: transform 0.4s ease;
}
.tool-feature-card:hover .tool-feature-img {
  transform: scale(1.06);
}
.tool-feature-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.tool-feature-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.tool-feature-desc {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  font-weight: 600;
}
.tool-feature-foot {
  padding: 18px 24px;
  border-top: 1.5px solid rgba(10, 11, 15, 0.15);
}

/* Media Query Responsive for Tools */
@media (max-width: 900px) {
  .policy-builder-grid,
  .roi-calc-grid,
  .tool-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ANTIGRAVITY CREATIVE MOTION ENGINE — 60/120 FPS HIGH PERFORMANCE
   Swiss Brutalist Kinetic System · Spring Physics · Zero Layout Thrashing
   ========================================================================== */

/* 1. Ambient Generative Canvas Matrix Backdrop */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

/* 2. Staged Hero Typography & Monolith Reveal */
.hero-meta-badge {
  opacity: 0;
  transform: translate3d(0, -10px, 0);
  clip-path: inset(0 100% 0 0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, clip-path;
}

.hero-animated .hero-meta-badge {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  clip-path: inset(0 0 0 0);
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-title .hero-word {
  display: inline-block;
  transform: translate3d(0, 115%, 0);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s ease;
  will-change: transform, opacity;
}

.hero-animated .hero-title .hero-word {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.hero-title .highlight-yellow {
  display: inline-block;
  position: relative;
  transition: box-shadow 0.4s ease;
}

.hero-animated .hero-title .highlight-yellow {
  animation: neonPulse 3.2s ease-in-out infinite 1.2s;
}

@keyframes neonPulse {
  0%, 100% {
    box-shadow: 2px 2px 0px var(--ink);
  }
  50% {
    box-shadow: 2px 2px 0px var(--ink), 0 0 18px rgba(228, 255, 0, 0.6);
  }
}

.hero-lead {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.75s ease 0.32s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.32s;
  will-change: transform, opacity;
}

.hero-animated .hero-lead {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-actions {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.75s ease 0.45s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
  will-change: transform, opacity;
}

.hero-animated .hero-actions {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-chips {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.75s ease 0.58s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.58s;
  will-change: transform, opacity;
}

.hero-animated .hero-chips {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-monolith-card {
  opacity: 0;
  transform: perspective(1000px) rotateY(-5deg) rotateX(3deg) translate3d(24px, 20px, 0) scale(0.96);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
  will-change: transform, opacity;
}

.hero-animated .hero-monolith-card {
  opacity: 1;
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translate3d(0, 0, 0) scale(1);
}

/* 3. Scroll-Driven Multi-Staggered Reveal System */
.motion-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.motion-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-reveal.stagger-1 { transition-delay: 0.08s; }
.motion-reveal.stagger-2 { transition-delay: 0.16s; }
.motion-reveal.stagger-3 { transition-delay: 0.24s; }
.motion-reveal.stagger-4 { transition-delay: 0.32s; }
.motion-reveal.stagger-5 { transition-delay: 0.40s; }

/* Section Title Animated Underline Line */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: var(--acid);
  margin-top: 8px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
  box-shadow: 1px 1px 0px var(--ink);
}

.section-title.is-revealed::after,
.is-revealed .section-title::after {
  transform: scaleX(1);
}


/* 5. Magnetic & Tactile Physics for Interactive Elements */
.btn-primary, .btn-ghost-dark, .btn-ghost-light, .dept-btn, .quick-item {
  position: relative;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.btn-primary:active, .btn-ghost-dark:active, .btn-ghost-light:active, .dept-btn:active {
  transform: scale(0.96) translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px var(--ink) !important;
}

/* 6. Interactive Card Focus Brutalist Shadows */
.method-card-visual, .sector-card, .tool-feature-card, .post-card, .service-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.method-card-visual:hover, .sector-card:hover, .tool-feature-card:hover, .post-card:hover, .service-card:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 8px 8px 0px var(--ink), 13px 13px 0px var(--acid) !important;
}

/* 7. Fluid Slider & ROI Animations */
input[type="range"], .range-slider {
  transition: filter 0.2s ease;
}

input[type="range"]:active, .range-slider:active {
  filter: drop-shadow(0 0 6px rgba(228, 255, 0, 0.8));
}

.roi-graph-fill {
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width;
}

/* 8. GPU-Accelerated Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 100%;
  background: var(--acid);
  box-shadow: 0 0 8px rgba(228, 255, 0, 0.85);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
}

/* 9. Header Scroll Backdrop Shadow */
.site-header {
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 0px rgba(10, 11, 15, 0.08);
  background-color: rgba(251, 251, 252, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* 10. Accessibility & Zero Layout Thrashing (Prefers-Reduced-Motion) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-word,
  .hero-lead,
  .hero-actions,
  .hero-monolith-card,
  .hero-meta-badge,
  .motion-reveal {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .section-title::after {
    transform: scaleX(1) !important;
  }
}

/* 11. ADAPTIVE MOBILE EXPERIENCE INTELLIGENCE (320px - 600px) */
@media (max-width: 600px) {
  .wrap {
    width: min(100%, calc(100% - 24px));
    box-sizing: border-box;
  }
  .roi-calc-grid,
  .delegate-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .roi-sliders {
    padding: 18px 14px !important;
    box-shadow: 4px 4px 0px var(--ink) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .slider-head {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .slider-head label {
    font-size: 1rem !important;
  }
  .slider-val {
    font-size: 1.05rem !important;
  }
  .metric-card {
    padding: 16px 14px !important;
    box-shadow: 4px 4px 0px var(--ink) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .metric-card.highlight {
    box-shadow: 4px 4px 0px var(--acid) !important;
  }
  .dept-selector, .dept-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .dept-btn {
    flex: 1 1 calc(50% - 8px) !important;
    min-height: 44px !important;
    padding: 8px 10px !important;
    font-size: 1rem !important;
    text-align: center !important;
  }
  .delegate-card {
    padding: 16px 14px !important;
    box-shadow: 4px 4px 0px var(--ink) !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 360px) {
  .wrap {
    width: min(100%, calc(100% - 16px)) !important;
  }
  .hero-title {
    font-size: 1.85rem !important;
  }
  .roi-sliders,
  .metric-card,
  .delegate-card {
    padding: 12px 10px !important;
    box-shadow: 3px 3px 0px var(--ink) !important;
  }
  .btn-primary,
  .btn-ghost-dark,
  .btn-ghost-light {
    padding: 12px 12px !important;
    font-size: 1rem !important;
  }
  .mobile-quick-bar {
    padding: 6px 6px !important;
    gap: 4px !important;
  }
}

/* ==========================================================================
   12. PMI EXECUTIVE NARRATIVE & KINETIC CONTRAST BANDS
   ========================================================================== */
.provocative-band {
  background-color: #0a0b0f;
  background-image: url('/assets/bg-constructivist-grid.webp');
  background-repeat: repeat;
  background-size: 600px 338px;
  color: #ffffff;
  border-top: 3px solid var(--acid);
  border-bottom: 3px solid var(--ink);
  padding-block: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

.provocative-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 900px) {
  .provocative-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.provocative-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: var(--acid);
  color: var(--acid-ink);
  padding: 4px 12px;
  border: 1.5px solid var(--ink);
  margin-bottom: 20px;
}

.provocative-title {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #ffffff !important;
  margin-bottom: 20px;
}

.provocative-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92) !important;
  margin-bottom: 24px;
}

.provocative-quote-box {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(228, 255, 0, 0.4);
  box-shadow: 6px 6px 0px rgba(228, 255, 0, 0.8);
  padding: clamp(24px, 3vw, 36px);
}

.provocative-quote-box strong {
  display: block;
  font-size: 1.15rem;
  color: var(--acid) !important;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.provocative-quote-box p {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* PITFALLS SECTION */
.pitfalls-section {
  padding-block: clamp(60px, 8vw, 100px);
  background: #fbfbfc;
  border-bottom: 2.5px solid var(--ink);
}

.pitfalls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

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

.pitfall-card {
  background: #ffffff;
  border: 2.5px solid var(--ink);
  box-shadow: 6px 6px 0px var(--ink);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pitfall-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px var(--acid), 9px 9px 0px 2.5px var(--ink);
}

.pitfall-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: #0a0b0f;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.pitfall-tag.alert {
  background: #ff3b30;
  color: #ffffff;
}

.pitfall-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 14px;
}

.pitfall-problem {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}

.pitfall-solution {
  background: var(--bg-surface-alt);
  border-left: 3.5px solid var(--acid);
  padding: 12px 14px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  border-top: 1px solid rgba(10, 11, 15, 0.08);
  border-right: 1px solid rgba(10, 11, 15, 0.08);
  border-bottom: 1px solid rgba(10, 11, 15, 0.08);
}

.pitfall-solution strong {
  color: var(--ink);
  display: block;
  font-size: 1rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* KINETIC STATEMENT BREAK */
.kinetic-break {
  background: var(--acid);
  color: var(--ink);
  border-block: 3px solid var(--ink);
  padding-block: clamp(48px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.kinetic-statement {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.14;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--ink);
}

.kinetic-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
  max-width: 860px;
}


