/* KesefSmart v2.1 homepage wow layer, footer builder's share: W2 three numbers at NDS scale, W3 manifesto.
   Loaded on index.html after home.css. Tokens from css/v2/kesef.css only. */

/* ---------- W2: three numbers, a ledger of rows with the figures at 104px ---------- */
.h-three__grid { grid-template-columns: 1fr; border-top: 1px solid var(--hair-strong); }
.h-three__card, .h-three__card + .h-three__card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; padding: clamp(22px, 2.6vw, 34px) 0 clamp(18px, 2.2vw, 28px); border-right: 0; border-bottom: 1px solid var(--hair); }
.h-three__fig { grid-column: 2; grid-row: 1; justify-self: end; font-size: clamp(56px, 7.2vw, 104px); letter-spacing: -0.035em; line-height: 1; }
.h-three__cap { grid-column: 1; grid-row: 1; margin: 0; padding-bottom: .55em; font-size: 18px; color: var(--ink-2); }
.h-three__card--hi .h-three__fig::after { height: .26em; bottom: .06em; }
/* digits roll through a soft window, so passing digits fade at the edges instead of hard-cropping */
.h-three__fig .ks-odo .cell { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
@media (max-width: 860px) {
  .h-three__card, .h-three__card + .h-three__card { grid-template-columns: 1fr; padding: 24px 0 22px; border-bottom: 1px solid var(--hair); }
  .h-three__fig { grid-column: 1; grid-row: 1; justify-self: start; font-size: clamp(56px, 18vw, 96px); }
  .h-three__cap { grid-row: 2; padding: 12px 0 0; font-size: 16px; }
}

/* ---------- W3: manifesto, one paragraph that inks on word by word ---------- */
.h-manifesto { padding: clamp(96px, 12vw, 176px) 0; }
.h-manifesto .ks-eyebrow { margin-bottom: clamp(24px, 3vw, 36px); }
.h-manifesto__text { margin: 0; max-width: 21.5em; font-family: var(--font-display); font-weight: 300; font-size: clamp(32px, 3.9vw, 56px); line-height: 1.16; letter-spacing: -0.022em; font-variation-settings: 'opsz' 72; color: var(--ink); text-wrap: pretty; }
.h-manifesto__words > span { transition: color .3s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  /* unlit words use the display dim token (passes 3:1 for large text), lit words full ink */
  .h-manifesto__text.is-armed .h-manifesto__words > span { color: var(--ink-dim); }
  .h-manifesto__text.is-armed .h-manifesto__words > span.is-on { color: var(--ink); }
}
