/* Hero facts (27 Nov, mature direction): one soft white strip under the hero, a tinted icon well per fact,
   gentle dividers. Replaces the full-width ruled row. */
.vf-home .hero > .vf-facts {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-16);
  background: var(--white);
  box-shadow: var(--shadow-2);
}
.vf-home .hero > .vf-facts > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: var(--space-16);
  align-content: start;
  padding: var(--space-24);
}
.vf-home .hero > .vf-facts > div > :not(.vf-fact-icon) { grid-column: 2; }
.vf-fact-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--blue) 10%, var(--white));
  color: var(--blue-dark);
}
.vf-fact-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.vf-home .vf-cta,
.vf-home .contact-pill {
  background: var(--blue-dark);
  color: var(--white);
}

.vf-home .vf-cta:hover,
.vf-home .contact-pill:hover { background: var(--ink); }

.vf-home .home-cta-fallback { text-decoration: none; }

/* Capabilities */
.vf-home .vf-capabilities .section-heading { margin-bottom: var(--space-32); }
.vf-capabilities h2 { max-width: 22ch; }
.vf-capabilities h2 .accent { color: var(--blue-dark); }
.vf-home .vf-capabilities .section-heading .intro { margin-top: var(--space-16); }

.vf-capabilities-list { display: grid; }
.vf-capability { min-width: 0; }

.vf-capability h3 {
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.vf-capability-lead {
  margin-top: var(--space-8);
  font-size: var(--type-17);
  line-height: 1.5;
}


/* Capabilities (27 Nov, round 3, Michael: "floating in the middle of nothing… cards?"). Each capability sits in a
   soft white card like the non-clickable Lavora con noi tiles: flat, no arrow, no lift. The drawing keeps its left
   edge and one shared height, so the four titles start on one line. */
.vf-capabilities-visual .vf-capabilities-list { gap: var(--space-32); }
.vf-home .vf-capabilities-visual .vf-capability-lead { text-wrap: pretty; }
.vf-capabilities-visual .vf-capability {
  padding: var(--space-32);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-16);
  background: var(--white);
  box-shadow: var(--shadow-2);
}
.vf-capabilities-visual .vf-capability h3 { font-size: var(--type-24); }

.vf-capability-art {
  display: block;
  width: auto;
  height: 88px;
  max-width: 100%;
  margin: var(--space-8) 0 var(--space-32);
  color: var(--blue-dark);
  overflow: visible;
}
.vf-capability-art .cap-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.vf-capability-art .cap-strong { stroke-width: 3.25; }
.vf-capability-art .cap-soft { stroke: color-mix(in srgb, currentColor 60%, var(--white)); }
.vf-capability-art .cap-tile { fill: color-mix(in srgb, var(--blue) 8%, var(--white)); }
.vf-capability-art .cap-neutral { color: var(--muted); }
.vf-capability-art .cap-neutral.cap-line { fill: var(--white); }
.vf-capability-art .cap-done { color: color-mix(in srgb, var(--ok) 70%, var(--ink)); }
.vf-capability-art .cap-tick { fill: color-mix(in srgb, var(--ok) 12%, var(--white)); }

/* Sector signposts: one claim per sector, its key word in blue, whole card to the top of the page (Michael, 24 Nov). */
.vf-home .vf-sectors .section-heading { margin-bottom: var(--space-32); }
.home-sector-list { display: grid; gap: var(--space-16); }
.home-sector {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--space-24);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-16);
  background: var(--white);
  box-shadow: var(--shadow-2);
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-sector:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); color: var(--ink); }
.home-sector:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.home-sector-name { color: var(--blue-dark); font-size: var(--type-15); font-weight: 700; }
.home-sector-claim { margin: var(--space-8) 0 var(--space-16); font-size: var(--type-24); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.home-sector-claim em { font-style: normal; color: var(--blue); }
.home-sector-tease { color: var(--text-2); font-size: var(--type-15); line-height: 1.5; }
.home-sector-link { display: flex; align-items: center; gap: var(--space-8); margin-top: auto; padding-top: var(--space-24); color: var(--blue-dark); font-size: var(--type-15); font-weight: 700; }
.home-sector-arrow { flex: none; width: 18px; height: 18px; }
.home-sector-big { padding: var(--space-48) var(--space-32) var(--space-32); }
.home-sector-big .home-sector-claim { font-size: clamp(var(--type-32), 3.6vw, var(--type-56)); line-height: 1.05; letter-spacing: -.02em; }
.home-sector-big .home-sector-tease { font-size: var(--type-17); }
.home-sector-invite { background: color-mix(in srgb, var(--blue) 6%, var(--white)); }
.home-sector:hover .home-sector-arrow { transform: translateX(var(--space-8)); }
.home-sector-arrow { transition: transform .2s ease; }
@media (prefers-reduced-motion: reduce) { .home-sector, .home-sector-arrow { transition: none; } .home-sector:hover, .home-sector:hover .home-sector-arrow { transform: none; } }

/* Open section rhythm (27 Nov): air instead of a rule above each chapter; the hero facts strip closes the hero. */
.vf-home .vf-capabilities.section { padding-block: var(--space-128) 0; border-top: 0; }
.vf-home .vf-sectors.section { padding-block: var(--space-128) 0; border-top: 0; }
.vf-home .who.section { padding-top: var(--space-128); border-top: 0; background: transparent; }

@media (min-width: 600px) {
  .vf-capabilities-list,
  .home-sector-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .vf-capabilities-visual .vf-capabilities-list,
  .home-sector-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .home-sector-big { grid-column: span 2; }
}

@media (max-width: 599px) {
  .vf-home .vf-capabilities.section:not(.hero) { padding-block: var(--space-64) 0; }
  .vf-home .vf-sectors.section:not(.hero) { padding-block: var(--space-96) 0; }
  .vf-home .who.section { padding-top: var(--space-96); }
  .vf-capabilities-visual .vf-capabilities-list { gap: var(--space-16); }
  .vf-capabilities-visual .vf-capability { padding: var(--space-24); }
  .vf-home .hero > .vf-facts > div { padding: var(--space-16); }
  .vf-capability-art { height: 72px; margin: 0 0 var(--space-24); }

  .home-sector, .home-sector-big { padding: var(--space-24) var(--space-16); }
  .home-sector-big .home-sector-to { width: 20px; height: 20px; }
}
