/* ==========================================================================
   CDF Solution — Design System
   "Software cucito su misura" — un linguaggio visivo da atelier/laboratorio:
   punti sartoriali, tacche da cartamodello, arancio come colore guida.
   ========================================================================== */

:root {
  /* Palette — allineata al brand CDF Solution (blu, arancio, turchese) */
  --brand-navy: #1F6697;
  --brand-orange: #F7740F;
  --brand-teal: #42CFD4;
  --ink-accent: #b34d0a; /* arancio scurito, leggibile come testo su bianco */

  --navy-950: #060f18;
  --navy-900: #0a1826;
  --navy-800: #112438;
  --navy-700: #17324c;
  --navy-600: #1d4165;
  --ink: #0a1826;
  --ink-soft: #414d64;
  --paper: #ffffff;
  --paper-soft: #f6f3ee;
  --paper-line: #e4e0d6;

  --teal-500: #2bb8bd;
  --teal-400: var(--brand-teal);
  --teal-300: #8fe4e7;
  --amber-500: var(--brand-orange);

  --grad-hero: radial-gradient(120% 140% at 15% 0%, #163752 0%, var(--navy-950) 55%);
  --grad-accent: linear-gradient(120deg, var(--brand-orange) 0%, #ff9640 100%);

  /* Type — serif editoriale per i titoli, mono per etichette/numeri, sans per il corpo */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  /* Layout */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-card: 0 1px 2px rgba(11, 17, 31, 0.04), 0 10px 26px -18px rgba(11, 17, 31, 0.22);
  --shadow-card-hover: 0 4px 8px rgba(11, 17, 31, 0.05), 0 18px 36px -18px rgba(11, 17, 31, 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: inherit;
}
h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); font-weight: 600; font-optical-sizing: auto; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--brand-orange); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Eyebrow: etichetta in stile "punto sartoriale" */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 5px;
  background-image: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 9px);
  opacity: 0.85;
}
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--brand-teal); }

.section { padding: 100px 0; }
.section-tight { padding: 64px 0; }
.section-soft { background: var(--paper-soft); }
.section-dark { background: var(--grad-hero); color: #fff; }
.section-dark p { color: #b7c1d4; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.05rem; margin-top: 14px; }

/* ---------- Buttons ---------- */
/* Forma a "cartellino": angolo tagliato invece della solita pillola */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.btn-primary {
  background: var(--brand-orange);
  color: #1a0900;
  box-shadow: 0 10px 24px -10px rgba(247, 116, 15, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(247, 116, 15, 0.6); background: #ff8324; }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }
.btn-ghost {
  background: var(--paper-soft);
  color: var(--navy-950);
  border-color: var(--paper-line);
}
.btn-ghost:hover { background: #ece7db; transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 15, 24, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}
.logo-img {
  height: 46px;
  width: auto;
  padding: 5px 10px;
  background: #fff;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  color: #c7cfdd;
  font-size: 0.94rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand-orange);
}
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ---------- Hero ---------- */
/* Sfondo "carta millimetrata da cartamodello" invece del solito blob sfumato */
.hero {
  background: var(--grad-hero);
  color: #fff;
  padding: 90px 0 104px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 70% at 20% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -6%; top: 50%;
  width: 560px; height: 560px;
  transform: translateY(-50%);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><circle cx="32" cy="32" r="21.5" fill="none" stroke="%231F6697" stroke-width="2.4"/><rect x="9" y="14.5" width="32" height="7" rx="3" fill="%23F7740F"/><rect x="9" y="23.5" width="28" height="7" rx="3" fill="%2342CFD4"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero p.lead { font-size: 1.12rem; margin-top: 22px; max-width: 520px; color: #b7c1d4; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 54px;
  flex-wrap: wrap;
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #fff;
}
.hero-stats .stat span { font-family: var(--font-mono); color: #8b96ab; font-size: 0.75rem; letter-spacing: 0.03em; }

.hero-panel {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
  position: relative;
}
.hero-panel::before {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
}
.hero-panel .panel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px dashed rgba(255,255,255,0.14);
}
.hero-panel .panel-row:last-child { border-bottom: none; }
.hero-panel .icon-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1.5px dashed rgba(66, 207, 212, 0.55);
  color: var(--brand-teal);
  flex-shrink: 0;
}
.hero-panel .panel-row strong { display: block; color: #fff; font-size: 0.95rem; font-weight: 600; }
.hero-panel .panel-row span { color: #8b96ab; font-size: 0.82rem; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* "Cartellino tessuto": bordo netto + angolo tagliato al posto dell'ombra morbida generica */
.card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 14px 14px 0 0;
  border-color: var(--paper-soft) transparent transparent transparent;
  border-top-left-radius: var(--radius-md);
  transition: border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(247, 116, 15, 0.3); }
.card:hover::before { border-color: rgba(247, 116, 15, 0.16) transparent transparent transparent; }
.card .icon-badge {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1.5px dashed var(--brand-orange);
  color: var(--ink-accent);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; }
.card .tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
  color: var(--ink-soft);
  border: 1px solid var(--paper-line);
}

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-accent); font-size: 0.9rem; margin-top: 16px; }
.link-arrow svg { transition: transform .25s var(--ease); }
.card:hover .link-arrow svg, a:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- Stats strip ---------- */
.strip {
  background: var(--navy-900);
  color: #fff;
  padding: 40px 0;
  border-top: 1px dashed rgba(255,255,255,0.14);
  border-bottom: 1px dashed rgba(255,255,255,0.14);
}
.strip .grid-4 { text-align: center; }
.strip strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--brand-teal); }
.strip span { font-family: var(--font-mono); color: #8b96ab; font-size: 0.75rem; letter-spacing: 0.02em; }

/* ---------- Process ---------- */
.process-step {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px dashed var(--paper-line);
}
.process-step:last-child { border-bottom: 1px dashed var(--paper-line); }
.process-step .num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-orange);
  min-width: 48px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.process-step .num::before { content: "["; opacity: 0.5; }
.process-step .num::after { content: "]"; opacity: 0.5; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 64px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(247, 116, 15, 0.22), transparent 70%);
}
.cta-band h2 { max-width: 480px; position: relative; z-index: 1; }
.cta-band .actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Team ---------- */
.team-card { text-align: center; padding: 34px 24px; }
.avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1.5px dashed var(--brand-orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 auto 18px;
}
.team-card .role { font-family: var(--font-mono); color: var(--ink-accent); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.02em; margin-bottom: 10px; display:block; }

/* ---------- Values ---------- */
.value-item { display: flex; gap: 18px; align-items: flex-start; }
.value-item .icon-badge { flex-shrink: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 32px; border-left: 1px dashed var(--paper-line); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-orange);
}
.timeline-item .year { font-family: var(--font-mono); font-weight: 600; color: var(--ink-accent); font-size: 0.85rem; }

/* ---------- Case studies ---------- */
.case-card { overflow: hidden; padding: 0; }
.case-card::before { display: none; }
.case-card .case-top {
  padding: 30px;
  background: var(--navy-900);
  color: #fff;
}
.case-card .case-body { padding: 26px 30px 30px; }
.case-card .metric-row { display: flex; gap: 24px; margin-top: 18px; flex-wrap: wrap; }
.case-card .metric strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--ink-accent); }
.case-card .metric span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-soft); }
.sector-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-teal);
  background: rgba(66, 207, 212, 0.12);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  border: 1px solid rgba(66, 207, 212, 0.3);
}
.note-banner {
  background: #fdf3e6;
  border: 1px dashed #e7b876;
  color: #7a4a12;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  margin-bottom: 40px;
}

/* ---------- Product portfolio ---------- */
.product-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.product-card::before { display: none; }
.product-top {
  min-height: 148px;
  padding: 26px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: #fff;
  background: var(--navy-900);
}
.product-top-orange { background: linear-gradient(135deg, #692b08, #e66a12 78%); }
.product-top-teal { background: linear-gradient(135deg, #06454c, #168d92 78%); }
.product-top-blue { background: linear-gradient(135deg, #0c2a48, #2871a2 78%); }
.product-kicker { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.product-mark { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; color: rgba(255,255,255,.86); }
.product-logo-surface { width: min(100%, 220px); min-height: 58px; padding: 5px 10px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #fff; }
.product-logo-super { width: 52px; height: 52px; object-fit: contain; }
.product-logo-wordmark { width: 100%; max-height: 52px; object-fit: contain; }
.product-content { padding: 28px 30px 32px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.product-content h3 { font-size: 1.45rem; margin-top: 12px; }
.product-content p { margin-top: 12px; flex: 1; }
.product-content .link-arrow { margin-top: 22px; }
.product-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.product-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-live { color: #16745a; }
.status-soon { color: #8a5200; }
.status-example { color: #5d6170; }
.product-hero { background-image: radial-gradient(ellipse at 80% 5%, rgba(66,207,212,.17), transparent 36%); }
.product-hero h1 { max-width: 820px; }
.product-hero .lead { max-width: 700px; }
.product-content .btn { white-space: normal; }
.product-card a:focus-visible { outline: 3px solid var(--brand-teal); outline-offset: 4px; }
.founder-card { padding: 38px; background: linear-gradient(145deg, #fff, #f6f3ee); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; color: var(--navy-950); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--paper-line);
  background: var(--paper-soft);
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  background: #fff;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 14px; }
.form-success {
  display: none;
  background: #e9f9f4;
  border: 1px solid #b7e9dd;
  color: #0d6c58;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.form-success.visible { display: block; }
.form-error {
  display: none;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fdecec;
  color: #8a1f1f;
  border: 1px solid #f3c2c2;
  font-size: 0.95rem;
}
.form-error.visible { display: block; }

/* ---------- Contact info cards ---------- */
.info-card { display: flex; gap: 16px; align-items: flex-start; }

/* ---------- Blog ---------- */
.post-card .post-meta { display: flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-soft); margin-bottom: 14px; }
.post-card .post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-soft); }

/* ---------- Footer ---------- */
.policy-content { max-width: 860px; }
.policy-content h1 { margin: 16px 0 12px; }
.policy-content h2 { margin: 38px 0 14px; font-size: 1.55rem; }
.policy-content p, .policy-content li { margin: 0 0 16px; line-height: 1.8; }
.policy-content ul { list-style: disc; padding-left: 24px; margin: 14px 0 24px; }
.policy-content a { color: var(--brand-navy); text-decoration: underline; text-underline-offset: 3px; }
.site-footer {
  background: var(--navy-950);
  color: #8b96ab;
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
}
.site-footer h4 { font-family: var(--font-mono); color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #8b96ab; font-size: 0.9rem; transition: color .2s; }
.site-footer a:hover { color: var(--brand-teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 12px;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  display: grid;
  place-items: center;
  transition: background .2s, border-color .2s;
}
.social-row a:hover { background: rgba(247, 116, 15, 0.16); border-color: var(--brand-orange); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--grad-hero);
  color: #fff;
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 100% at 85% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero p.lead { max-width: 620px; color: #b7c1d4; font-size: 1.05rem; margin-top: 16px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 0.78rem; color: #8b96ab; margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--brand-teal); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: .88rem; }
  .nav-cta .btn-outline { display: none; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px; }
  .section { padding: 64px 0; }
  .case-card .metric-row { gap: 16px; }
}
