/* Shared hero ferlo-capcards (fullbleed-overlay/capability-cards) — Bilvo library. Scoped to .sh-ferlo-capcards. */
/* Shared hero: ferlo-capcards — lifted from Ferlo variants "hero-e".
   Full-bleed working photo under a long bottom fade; label + headline centred low on the photo, buttons centred under
   it; a composed story row (1–3 flat surface cards) along the bottom — freedom: the build writes it and picks the row. Contract tokens only (heroes/CONTRACT.md). */
.sh-ferlo-capcards { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--hero-tuck, 0px)); min-height: clamp(760px, calc(100svh - var(--nav-offset, 0px) + var(--hero-tuck, 0px)), 960px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 30px; background: var(--ink-bg); color: var(--on-dark); }
.sh-ferlo-capcards .sh-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--sh-focus, 50% 40%); }
.sh-ferlo-capcards::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, calc(.3 * var(--sh-scrim, 1))) 0%, rgba(0, 0, 0, calc(.14 * var(--sh-scrim, 1))) 22%, rgba(0, 0, 0, calc(.58 * var(--sh-scrim, 1))) 46%, rgba(0, 0, 0, calc(.94 * var(--sh-scrim, 1))) 100%); }
.sh-ferlo-capcards .sh-in { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; padding-top: calc(200px + var(--hero-tuck, 0px)); }
.sh-ferlo-capcards .sh-head { max-width: 820px; margin-inline: auto; display: grid; justify-items: center; gap: 16px; text-align: center; }
.sh-ferlo-capcards .sh-eyebrow { margin: 0; font-family: var(--font-label, var(--font)); font-size: var(--label-size, 11px); font-weight: var(--label-weight, 400); letter-spacing: var(--label-tracking, .07em); text-transform: var(--label-transform, uppercase); line-height: 1.2; color: var(--on-dark); }
.sh-ferlo-capcards h1 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: var(--display-size, 64px); line-height: var(--display-lh, .95); letter-spacing: var(--display-tracking, -.039em); color: var(--on-dark); text-wrap: balance; }
.sh-ferlo-capcards h1 em { font-style: var(--display-em, normal); }
.sh-ferlo-capcards .sh-lead { margin: 8px 0 0; max-width: 560px; font-size: var(--lead-size, 20px); font-weight: var(--body-weight, 400); line-height: 1.4; color: var(--on-dark); text-wrap: pretty; }
.sh-ferlo-capcards .sh-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;   /* side-by-side buttons 10–20px apart (Farhan 2026-10-23) */ margin-top: 40px; }
.sh-ferlo-capcards .sh-story { margin: 96px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
/* freedom: the build picks how the bottom row sits — full width (source), or a shorter row to the left / right that leaves the photo's subject open */
.sh-ferlo-capcards .sh-story[data-pos="row-left"] { width: min(66%, 760px); margin-right: auto; }
.sh-ferlo-capcards .sh-story[data-pos="row-right"] { width: min(66%, 760px); margin-left: auto; }
/* the story kit: flat surface cards (or use the host skill's own kit) — .sh-card (b + small) or .sh-cap (h2 + p) */
.sh-ferlo-capcards .sh-story .sh-card, .sh-ferlo-capcards .sh-story .sh-cap { background: var(--surface); color: var(--text); border-radius: var(--r-hero, var(--r-sm)); padding: 24px; display: grid; gap: 8px; align-content: start; font-size: 14px; line-height: 1.45; text-align: left; }
.sh-ferlo-capcards .sh-story .sh-card > br { display: none; }
.sh-ferlo-capcards .sh-story .sh-card b, .sh-ferlo-capcards .sh-story .sh-cap h2 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: 24px; line-height: 1.15; letter-spacing: -.02em; color: var(--text); }
.sh-ferlo-capcards .sh-story .sh-card small, .sh-ferlo-capcards .sh-story .sh-cap p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.sh-ferlo-capcards .sh-story .sh-num { font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: 40px; line-height: 1.05; letter-spacing: var(--display-tracking, -.03em); color: var(--text); }
@media (max-width: 1024px) { .sh-ferlo-capcards h1 { font-size: calc(var(--display-size, 64px) * .82); } }
@media (max-width: 600px) {
  .sh-ferlo-capcards { min-height: 0; }
  .sh-ferlo-capcards .sh-in { padding-top: calc(220px + var(--hero-tuck, 0px)); }
  .sh-ferlo-capcards::after { background: linear-gradient(180deg, rgba(0, 0, 0, calc(.2 * var(--sh-scrim, 1))) 0%, rgba(0, 0, 0, calc(.55 * var(--sh-scrim, 1))) 18%, rgba(0, 0, 0, calc(.86 * var(--sh-scrim, 1))) 34%, rgba(0, 0, 0, calc(.96 * var(--sh-scrim, 1))) 100%); }
  .sh-ferlo-capcards h1 { font-size: var(--display-size-sm, 42px); }
  .sh-ferlo-capcards .sh-story, .sh-ferlo-capcards .sh-story[data-pos] { width: auto; grid-template-columns: 1fr; margin-top: 56px; gap: 8px; }
  .sh-ferlo-capcards .sh-story .sh-card, .sh-ferlo-capcards .sh-story .sh-cap { padding: 20px; }
}
