/* ==========================================================================
   gabriel-v2 — sections: hero, trust, about, work, apps, platforms,
   capabilities, timeline, contact
   ========================================================================== */

/* ---------- HERO ---------- */
/* Two-column grid: left = copy/stats, right = full-bleed portrait.
   The name lives in the left column flow (so it never collides with
   the intro copy) but is allowed to overflow into the portrait column
   and paint above it. */

.hero {
  --hero-sidebar: 56px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 55% at 15% 25%, rgba(16, 185, 129, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 55% 65%, rgba(236, 72, 153, 0.04) 0%, transparent 55%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: 0;
  background-image: radial-gradient(circle at 1.25px 1.25px, rgba(11, 14, 12, 0.09) 1.25px, transparent 1.25px);
  background-size: 28px 24px;
  mask-image: radial-gradient(circle at 35% 35%, black 40%, transparent 92%);
  -webkit-mask-image: radial-gradient(circle at 35% 35%, black 40%, transparent 92%);
  pointer-events: none;
}

.hero__side {
  position: absolute;
  top: 96px;
  left: 20px;
  z-index: 6;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gray-500);
  opacity: 0.7;
}

.hero__left {
  position: relative;
  z-index: 4; /* above portrait so overflowing name stays readable */
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: clamp(12px, 2.2vh, 26px) var(--gutter) clamp(32px, 5vh, 64px);
  padding-left: calc(var(--hero-sidebar) + var(--gutter));
  overflow: visible;
}

.hero__top {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 36px);
  padding-top: 5vh;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--green-ink);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: var(--green-soft);
}

.hero__chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}

/* top stat blocks (+20 / +15 / +250K monthly users row) */

.hero__statblocks {
  display: flex;
  gap: clamp(14px, 2.2vw, 28px);
}

.statblock {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: clamp(12px, 1.4vw, 18px);
  border-left: 2px solid var(--line);
}

.statblock:first-child { border-left-color: var(--green); }

.statblock .stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.statblock__label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gray-500);
  line-height: 1.5;
  padding-top: 4px;
}

/* screen-filling name — in flow between stats and intro, overflows into portrait */

.hero__name {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: clamp(14px, 2vw, 34px);
  width: max-content;
  max-width: none;
  margin: clamp(14px, 2.4vh, 28px) 0 clamp(10px, 1.8vh, 20px);
  white-space: nowrap;
  font-size: clamp(3rem, 5.6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  pointer-events: none;
}

.hero__name-outline {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: clamp(1.5px, 0.16vw, 2.25px) var(--ink);
}

.hero__name-solid {
  display: inline-block;
  color: var(--ink);
}

/* Desktop depth layers — scroll + pointer parallax (see initHeroDepth) */
@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  .hero__portrait {
    /* Extra headroom so image can drift without hard clipping */
    overflow: hidden;
  }

  .hero__portrait img {
    will-change: transform;
    transform-origin: 64% 28%;
    backface-visibility: hidden;
  }

  .hero__name-outline,
  .hero__name-solid {
    will-change: transform;
    backface-visibility: hidden;
  }

  .hero__cards {
    will-change: transform;
  }
}

/* lower intro block */

.hero__lower {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.6vh, 26px);
  max-width: 540px;
  margin-top: auto; /* pin intro + CTAs to the bottom of the hero */
}

.hero__statement {
  margin: 0 0 10px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero__tagline {
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero__sub {
  margin-top: 16px;
  max-width: 42ch;
  font-size: 1rem;
  color: var(--gray-600);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero__chips li {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(18px, 2.6vh, 26px);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  transition: color 0.25s var(--ease);
}

.hero__scroll:hover { color: var(--ink); }

/* portrait — fills the right column edge to edge */

.hero__portrait {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  z-index: 3;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__portrait::before {
  content: "";
  position: absolute;
  inset: -100px;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, rgba(236, 72, 153, 0.05) 45%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
}

.hero__portrait img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 64% 32%;
}

/* floating proof-point cards — colorful glanceable facts over the portrait */

.hero__cards {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(11, 14, 12, 0.08);
  box-shadow: 0 16px 36px rgba(11, 14, 12, 0.12);
  animation: cardFloat 6s ease-in-out infinite;
  pointer-events: auto;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.hero-card:hover {
  box-shadow: 0 22px 48px rgba(11, 14, 12, 0.2);
  border-color: rgba(16, 185, 129, 0.35);
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-card--status {
  top: 7%;
  right: 6%;
  min-width: 172px;
}

.hero-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-card__status-copy { display: flex; flex-direction: column; gap: 2px; }
.hero-card__status-copy strong { font-size: 0.8125rem; font-weight: 700; color: var(--ink); }
.hero-card__status-copy span { font-size: 0.6875rem; color: var(--gray-500); }

.hero-card--badge {
  top: 66%;
  left: 43%;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  border-color: rgba(249, 115, 22, 0.25);
  background: linear-gradient(120deg, rgba(249, 115, 22, 0.16), rgba(236, 72, 153, 0.14));
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9a3412;
  animation-delay: 1.4s;
}

.hero-card__badge-icon {
  display: inline-flex;
  color: #f97316;
}

.hero-card--chart {
  bottom: 12%;
  right: 30%;
  width: 190px;
  flex-direction: column;
  align-items: stretch;
  animation-delay: 0.8s;
}

.hero-card__label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.hero-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.hero-card__delta {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--green-deep);
}

.hero-card__bars {
  display: block;
  width: 100%;
  height: 44px;
  overflow: visible;
}

.hero-card__bars rect {
  fill: var(--green);
  transform-box: fill-box;
  transform-origin: bottom;
  animation: barGrow 0.6s cubic-bezier(0.22, 0.9, 0.25, 1) both;
}

.hero-card__bars rect:nth-child(1) { fill: #6ee7b7; animation-delay: 0.15s; }
.hero-card__bars rect:nth-child(2) { fill: #34d399; animation-delay: 0.28s; }
.hero-card__bars rect:nth-child(3) { fill: var(--green); animation-delay: 0.41s; }
.hero-card__bars rect:nth-child(4) { fill: var(--green-deep); animation-delay: 0.54s; }

.hero-card--chart:hover .hero-card__bars rect { filter: brightness(1.12); }

@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.hero-card--stat {
  bottom: 12%;
  right: 6%;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 130px;
  animation-delay: 2.2s;
}

.hero-card--stat strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.hero-card--stat span {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ---------- HERO 2026: interactive product-stage refresh ---------- */

.hero {
  --hero-pointer-x: 58%;
  --hero-pointer-y: 42%;
  --hero-header-height: 75px;
  grid-template-columns: minmax(575px, 1fr) minmax(0, 1fr);
  height: calc(100vh - var(--hero-header-height));
  height: calc(100dvh - var(--hero-header-height));
  min-height: 720px;
  isolation: isolate;
  background:
    radial-gradient(ellipse 58% 64% at 82% 45%, rgba(99, 102, 241, 0.07) 0%, transparent 68%),
    radial-gradient(ellipse 42% 42% at 55% 82%, rgba(236, 72, 153, 0.025) 0%, transparent 70%),
    linear-gradient(135deg, #fdfdfc 0%, #fff 48%, #fbfafc 100%);
}

.hero::before {
  inset: -90px;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(11, 14, 12, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 14, 12, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 1.25px 1.25px, rgba(11, 14, 12, 0.12) 1.1px, transparent 1.2px);
  background-size: 112px 96px, 112px 96px, 28px 24px;
  mask-image: radial-gradient(ellipse 82% 84% at 48% 42%, black 15%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 82% 84% at 48% 42%, black 15%, transparent 90%);
}

.hero::after { display: none; }

.hero__cursor-light {
  position: absolute;
  left: var(--hero-pointer-x);
  top: var(--hero-pointer-y);
  z-index: 1;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  opacity: 0.28;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(148, 163, 184, 0.05) 38%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}

.hero__left {
  z-index: 5;
  justify-content: center;
  gap: clamp(20px, 2.6vh, 30px);
  padding-top: clamp(28px, 4vh, 48px);
  padding-bottom: clamp(66px, 8vh, 88px);
}

.hero__top {
  gap: 0;
  padding-top: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin: 0;
  color: #697083;
  font-family: var(--font-mono);
  font-size: clamp(0.64rem, 0.72vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: #a6abba;
}

.hero__eyebrow span {
  color: #b0b4c0;
}

.hero__chip {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.07);
}

.hero__chip::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.78), transparent 75%);
  animation: heroChipScan 5.5s 2.2s ease-in-out infinite;
}

.hero__statblocks {
  gap: clamp(12px, 1.8vw, 25px);
}

.statblock {
  position: relative;
}

.statblock::after {
  content: "";
  position: absolute;
  left: -2px;
  bottom: 0;
  width: 2px;
  height: 0;
  border-radius: 2px;
  background: var(--green);
  transition: height 0.45s var(--ease);
}

.statblock:hover::after {
  height: 100%;
}

.hero__name {
  z-index: 7;
  gap: clamp(13px, 1.45vw, 26px);
  width: auto;
  max-width: 100%;
  margin: 0;
  font-size: clamp(3.35rem, 5vw, 5.35rem);
  line-height: 0.9;
  text-shadow: none;
}

.hero__name-outline {
  position: relative;
  display: grid;
}

.hero__name-outline-base,
.hero__name-outline-fill {
  grid-area: 1 / 1;
  display: block;
}

.hero__name-outline-base {
  color: transparent;
  -webkit-text-stroke: clamp(1.5px, 0.16vw, 2.25px) var(--ink);
}

.hero__name-outline-fill {
  color: var(--ink);
  clip-path: inset(0 100% 0 0);
}

.hero__name-solid {
  text-shadow: 0 0 0 transparent;
}

.hero__lower {
  gap: clamp(14px, 1.8vh, 20px);
  max-width: 525px;
  margin-top: 0;
}

.hero__focus {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: min(100%, 500px);
  margin: 0 0 14px;
  padding: 8px 11px;
  border: 1px solid rgba(11, 14, 12, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 36px rgba(11, 14, 12, 0.055);
  backdrop-filter: blur(12px);
}

.hero__focus::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.1);
}

.hero__focus-label {
  display: none;
}

.hero__focus-window {
  min-width: 0;
  overflow: hidden;
}

.hero__focus-role {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.hero__focus-index {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gray-500);
}

.hero__focus-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__statement {
  max-width: 43ch;
  margin-bottom: 12px;
  color: #242833;
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  font-weight: 600;
  line-height: 1.48;
}

.hero__tagline {
  font-size: clamp(1.8rem, 2.35vw, 2.3rem);
  line-height: 1.08;
}

.hero__zero {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.hero__zero::after {
  content: "";
  position: absolute;
  left: -0.02em;
  right: -0.04em;
  bottom: -0.02em;
  z-index: -1;
  height: 0.12em;
  border-radius: 999px;
  opacity: 0.42;
  background: #fb7185;
  transform: scaleX(0);
  transform-origin: left center;
  animation: heroZeroUnderline 0.65s 1.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__sub {
  max-width: 43ch;
  margin-top: 14px;
  color: #697083;
  font-size: clamp(0.91rem, 0.96vw, 0.98rem);
  line-height: 1.62;
}

.hero__chips {
  gap: 7px;
  margin-top: 15px;
}

.hero__chips li {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 5px 20px rgba(11, 14, 12, 0.025);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.hero__chips li small {
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--green-ink);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  white-space: nowrap;
  transition: max-width 0.45s var(--ease), margin 0.35s var(--ease), opacity 0.25s ease;
}

.hero__chips li:hover {
  z-index: 2;
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.32);
  box-shadow: 0 13px 28px rgba(11, 14, 12, 0.08);
}

.hero__chips li:hover small {
  max-width: 122px;
  margin-left: 8px;
  opacity: 1;
}

.hero__actions {
  margin-top: 24px;
}

.hero__actions .btn {
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.hero__actions .btn--brand {
  box-shadow: 0 16px 30px -16px rgba(16, 185, 129, 0.62);
}

.hero__actions .btn--brand::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-115%);
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.34), transparent 75%);
  transition: transform 0.7s var(--ease);
}

.hero__actions .btn--brand:hover::before {
  transform: translateX(115%);
}

.hero__actions .btn--brand svg {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__actions .btn--brand:hover svg,
.hero__actions .btn--brand:focus-visible svg {
  transform: translate3d(3px, -3px, 0);
}

.hero__proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 510px);
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(11, 14, 12, 0.11);
}

.hero__proof-strip > div {
  display: grid;
  gap: 5px;
  padding: 0 17px;
  border-left: 1px solid rgba(11, 14, 12, 0.1);
}

.hero__proof-strip > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__proof-strip dt,
.hero__proof-strip dd {
  margin: 0;
}

.hero__proof-strip dt {
  color: #191c24;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
}

.hero__proof-strip dd {
  color: #7b8190;
  font-family: var(--font-mono);
  font-size: clamp(0.52rem, 0.6vw, 0.61rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  left: 0;
  bottom: -47px;
  margin: 0;
}

.hero__scroll::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--line);
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.hero__scroll:hover::before {
  width: 42px;
  background: var(--green);
}

.hero__side {
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  color: var(--green-ink);
  opacity: 0.62;
}

.hero__product-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-product {
  --hero-product-opacity: 0.58;
  position: absolute;
  width: min(24vw, 390px);
  opacity: 1;
  will-change: transform;
  perspective: 1100px;
  filter: saturate(0.68) contrast(0.94);
}

.hero-product__shell {
  overflow: hidden;
  opacity: var(--hero-product-opacity);
  border: 1px solid rgba(11, 14, 12, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 28px 58px rgba(30, 35, 52, 0.11),
    0 7px 20px rgba(30, 35, 52, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  animation: none;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-product__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 29px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(11, 14, 12, 0.07);
  color: var(--gray-500);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  background: rgba(249, 250, 251, 0.9);
}

.hero-product__dots {
  display: flex;
  gap: 4px;
}

.hero-product__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d1d5db;
}

.hero-product__dots i:first-child { background: #fb7185; }
.hero-product__dots i:nth-child(2) { background: #fbbf24; }
.hero-product__dots i:last-child { background: #34d399; }

.hero-product img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-product footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 7px 11px;
  color: var(--gray-500);
  font-size: 0.58rem;
  background: rgba(255, 255, 255, 0.96);
}

.hero-product footer strong {
  color: var(--ink);
  font-size: 0.61rem;
}

.hero-product--traffic {
  left: 53%;
  top: 33%;
  transform: rotate(-3.5deg);
}

.hero-product--health {
  --hero-product-opacity: 0.42;
  top: 7%;
  right: 1.5%;
  width: min(21vw, 340px);
  opacity: 1;
  transform: rotate(2.5deg);
}

.hero-product--health .hero-product__shell {
  animation-delay: -2.8s;
}

.hero-product--finance {
  right: 4%;
  bottom: 7%;
  width: min(21vw, 330px);
  opacity: 0.7;
  transform: rotate(3.5deg);
}

.hero-product--finance .hero-product__shell {
  animation-delay: -5.1s;
}

.hero__portrait {
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}

.hero__portrait::before {
  inset: 6% -8% 0 -2%;
  background: radial-gradient(circle at 61% 42%, rgba(99, 102, 241, 0.095), rgba(148, 163, 184, 0.035) 44%, transparent 73%);
  filter: blur(58px);
  opacity: 0.78;
  will-change: transform, opacity;
  animation: heroAtmosphereDrift 18s ease-in-out infinite alternate;
}

.hero__portrait picture {
  position: absolute;
  right: -2.5%;
  bottom: 0;
  z-index: 2;
  display: flex;
  width: min(48vw, 835px);
  height: 104%;
  align-items: flex-end;
  justify-content: flex-end;
  filter: drop-shadow(-22px 28px 40px rgba(22, 26, 39, 0.12));
  will-change: transform;
}

.hero__portrait img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.hero__portrait-ring {
  position: absolute;
  right: 2.5%;
  top: 9%;
  z-index: 1;
  width: min(42vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 32px rgba(99, 102, 241, 0.018),
    0 0 0 80px rgba(148, 163, 184, 0.014);
}

.hero__portrait-ring::before,
.hero__portrait-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero__portrait-ring::before {
  inset: 9%;
  border: 1px dashed rgba(99, 102, 241, 0.09);
  animation: none;
}

.hero__portrait-ring::after {
  top: 8%;
  left: 18%;
  width: 7px;
  height: 7px;
  background: #9295b8;
  box-shadow: 0 0 0 7px rgba(99, 102, 241, 0.055);
}

.hero__portrait-axis {
  position: absolute;
  right: 3.5%;
  top: 16%;
  z-index: 1;
  width: 1px;
  height: 45%;
  background: linear-gradient(transparent, rgba(11, 14, 12, 0.12), transparent);
}

.hero__cards {
  z-index: 7;
}

.hero-card {
  animation: none;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 24px 60px rgba(11, 14, 12, 0.13);
}

.hero-card--badge {
  top: 57%;
  left: 47%;
  align-items: flex-start;
  padding: 11px 14px 11px 11px;
  border-radius: 13px;
  color: var(--ink);
}

.hero-card--badge > span:last-child {
  display: grid;
  gap: 2px;
}

.hero-card--badge strong {
  font-family: var(--font-display);
  font-size: 0.7rem;
}

.hero-card--badge small {
  color: var(--gray-500);
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
}

.hero-card--stat {
  right: 3.5%;
  bottom: 4.5%;
  min-width: 158px;
  padding: 14px;
}

.hero-card--stat i {
  display: block;
  width: 100%;
  height: 3px;
  margin: 7px 0 3px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.12);
}

.hero-card--stat i b {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #6366f1);
  transform-origin: left;
  animation: heroProofGrow 1.2s 1.2s var(--ease) both;
}

.hero-card--stat small {
  max-width: 130px;
  color: var(--gray-500);
  font-size: 0.55rem;
  line-height: 1.35;
}

@keyframes heroChipScan {
  0%, 58% { transform: translateX(-110%); }
  76%, 100% { transform: translateX(110%); }
}

@keyframes heroZeroUnderline {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes heroAtmosphereDrift {
  from {
    opacity: 0.7;
    transform: translate3d(-3px, -2px, 0) scale(0.99);
  }
  to {
    opacity: 0.84;
    transform: translate3d(3px, 3px, 0) scale(1.01);
  }
}

@keyframes heroProductFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes heroRingRotate {
  to { transform: rotate(360deg); }
}

@keyframes heroProofGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (min-width: 1025px) and (max-width: 1380px) {
  .hero {
    grid-template-columns: minmax(560px, 1fr) minmax(0, 0.82fr);
  }

  .hero__left {
    padding-left: calc(42px + var(--gutter));
  }

  .hero__name {
    font-size: clamp(3.15rem, 5.1vw, 4.55rem);
  }

  .hero-product--traffic {
    left: 54%;
    top: 29%;
    width: min(27vw, 350px);
  }

  .hero-product--health {
    display: none;
  }

  .hero__portrait picture {
    right: -4%;
    width: min(51vw, 720px);
  }

  .hero__portrait-ring {
    right: 1%;
    width: min(45vw, 620px);
  }
}

@media (min-width: 1025px) and (max-width: 1120px) {
  .hero__portrait picture {
    right: -22%;
    width: min(47vw, 540px);
    height: 102%;
  }
}

@media (min-width: 1025px) and (max-height: 790px) {
  .hero {
    min-height: 650px;
  }

  .hero__left {
    gap: 9px;
    padding-top: 20px;
    padding-bottom: 58px;
  }

  .hero__top {
    gap: 12px;
  }

  .hero__name {
    margin-block: 2px;
    font-size: clamp(3rem, 5vw, 4.7rem);
  }

  .hero__statement {
    margin-bottom: 8px;
  }

  .hero__actions {
    margin-top: 13px;
  }

  .hero__proof-strip {
    margin-top: 18px;
    padding-top: 13px;
  }

  .hero__scroll {
    bottom: -35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero__chip::after,
  .hero__zero::after,
  .hero__portrait::before,
  .hero-product__shell,
  .hero__portrait-ring::before,
  .hero-card--stat i b {
    animation: none;
  }

  .hero__zero::after {
    transform: scaleX(1);
  }

  .hero__actions .btn--brand svg {
    transition: none;
    transform: none !important;
  }

  .hero-product__shell {
    transition: none;
  }

  .hero-card--stat i b {
    transform: scaleX(1);
  }
}

/* legacy stat helpers (reused by counters elsewhere) */

.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ---------- TRUST BAND ---------- */

.trust {
  border-bottom: 1px solid var(--line);
  background: var(--paper-tint);
  padding-block: clamp(56px, 7vw, 90px);
}

.trust__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(28px, 4vw, 44px);
  /* Wider than the site container so 7 logos per row have room */
  max-width: min(100%, 1560px);
}

.trust__inner .sec-head {
  max-width: 52rem;
}

.trust__grid {
  --trust-cols: 7;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 36px);
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

.trust__grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  flex: 0 1 calc((100% - (var(--trust-cols) - 1) * clamp(20px, 2.4vw, 36px)) / var(--trust-cols));
  max-width: calc((100% - (var(--trust-cols) - 1) * clamp(20px, 2.4vw, 36px)) / var(--trust-cols));
}

.trust__grid img {
  display: block;
  max-height: clamp(52px, 6.5vw, 80px);
  max-width: min(100%, 200px);
  width: auto;
  height: auto;
  object-fit: contain;
  /* Multiply strips white background from jpegs against the light section bg */
  mix-blend-mode: multiply;
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}

.trust__grid li:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

/* Logos with solid dark backgrounds — multiply would crush them */
.trust__grid img.trust__logo--on-dark {
  mix-blend-mode: normal;
  border-radius: 10px;
  filter: grayscale(1) opacity(0.55);
}

.trust__grid li:hover img.trust__logo--on-dark {
  filter: grayscale(0) opacity(1);
}

/* Keep original logo colors — no grayscale / recolor */
.trust__grid img.trust__logo--natural {
  mix-blend-mode: multiply;
  filter: none;
}

.trust__grid li:hover img.trust__logo--natural {
  filter: none;
}

@media (max-width: 1100px) {
  .trust__grid { --trust-cols: 4; }
}

@media (max-width: 700px) {
  .trust__grid { --trust-cols: 3; }
}

@media (max-width: 520px) {
  .trust__grid { --trust-cols: 2; }
}

/* ---------- IMPACT SCALE ---------- */

.impact {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 10vw, 140px);
  background: #0b0e0c; /* section--dark handles text color mostly, but setting explicit bg here */
}

.impact__grid-bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

.impact__grid-bg .dot {
  width: 4px;
  height: 4px;
  background: var(--green);
  border-radius: 50%;
  margin: 16px;
  transform: scale(0);
}

.impact__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.impact__header.sec-head {
  margin-bottom: 0;
  max-width: none;
}

.impact__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
}

.impact__metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 24px;
}

.impact__metric:nth-child(even) {
  border-left-color: rgba(16, 185, 129, 0.4);
}

.impact__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.impact__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 246, 245, 0.6);
  max-width: 28ch;
  line-height: 1.4;
}

.impact__label-note {
  display: block;
  margin-top: 4px;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(244, 246, 245, 0.42);
  line-height: 1.35;
}

/* ---------- LINE CHART PRIMITIVES (used by capabilities bento) ---------- */

.gridlines line { stroke: var(--line); stroke-width: 1; }
.line-area { fill: rgba(16, 185, 129, 0.08); }
.line-path { fill: none; stroke: var(--green-deep); stroke-width: 2.5; stroke-linecap: round; }
.line-tip { fill: var(--green-deep); }

/* ---------- MOBILE APPS ---------- */

.apps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.app-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(11, 14, 12, 0.09);
}

.app-card__shot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 8px;
  min-height: 240px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, var(--green-soft), transparent 70%),
    var(--paper-tint);
}

.app-card__shot img {
  max-height: 230px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(11, 14, 12, 0.16));
}

.app-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.app-card__body h3 {
  font-size: 1.0313rem;
  font-weight: 700;
}

.app-card__body p { font-size: 0.875rem; color: var(--gray-600); flex: 1; }

.app-card__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.app-card__feats li {
  font-family: var(--font-mono);
  font-size: 0.6563rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
}

.apps__extra {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 20px 26px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

/* ---------- PLATFORM GRID ---------- */

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.filter__btn {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--gray-600);
  background: #fff;
  transition: all 0.3s var(--ease);
}

.filter__btn sup {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  margin-left: 3px;
  color: var(--green-ink);
}

.filter__btn:hover { border-color: var(--ink); color: var(--ink); }

.filter__btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.filter__btn.is-active sup { color: var(--green); }

.platforms > .container {
  max-width: min(1520px, calc(100vw - (var(--gutter) * 2)));
}

.platforms__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}

.p-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.p-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 18px 40px rgba(11, 14, 12, 0.07);
}

.p-card.is-hidden { display: none; }

.p-card__tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-ink);
}

.p-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }

@media (max-width: 1280px) {
  .platforms__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.p-card p { font-size: 0.875rem; color: var(--gray-600); flex: 1; }

.p-card__stat {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--gray-500);
  padding-top: 12px;
  border-top: 1px solid var(--paper-tint);
}

/* ---------- CAPABILITIES (dark bento) ---------- */

.caps.section--dark {
  background:
    radial-gradient(ellipse 55% 45% at 85% 0%, rgba(16, 185, 129, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(124, 58, 237, 0.1), transparent 65%),
    #0b0e0c;
}

.section-sub--light { color: rgba(244, 246, 245, 0.6); }

.sec-head .caps__phases,
.caps__phases {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.caps__phases li {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: rgba(244, 246, 245, 0.7);
}

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas:
    "core flow tenx"
    "core screens tenx"
    "reports screens portals"
    "reports type portals";
  gap: clamp(12px, 1.6vw, 20px);
}

.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 34px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.bento__card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.bento__card h3 {
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bento__card p { font-size: 0.875rem; color: rgba(244, 246, 245, 0.6); }

.bento__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  padding: 5px 12px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  align-self: flex-start;
}

.bento__card--core { grid-area: core; }
.bento__card--flow { grid-area: flow; justify-content: center; }
.bento__card--tenx { grid-area: tenx; justify-content: center; }
.bento__card--screens { grid-area: screens; }
.bento__card--reports { grid-area: reports; }
.bento__card--type { grid-area: type; }
.bento__card--portals { grid-area: portals; }

.bento__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.bento__chips li {
  font-family: var(--font-mono);
  font-size: 0.6563rem;
  padding: 6px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: rgba(244, 246, 245, 0.72);
}

/* form -> approved flow */

.bento__flow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bento__flow-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 8px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.bento__flow-pill--done {
  border-color: rgba(16, 185, 129, 0.45);
  color: var(--green);
  background: rgba(16, 185, 129, 0.08);
}

.bento__flow-arrow {
  flex: 1;
  height: 2px;
  min-width: 40px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), var(--green));
  position: relative;
}

.bento__flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: translateY(-50%) rotate(45deg);
}

/* 10x card */

.bento__tenx {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 5.5vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
}

.bento__chevrons { display: block; }

/* skeleton screens illustration */

.bento__skeleton {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 8px;
}

.bento__skeleton-dots { display: flex; gap: 6px; }
.bento__skeleton-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.85;
}
.bento__skeleton-dots i:last-child { background: rgba(244, 246, 245, 0.35); }

.bento__skeleton-bar {
  height: 9px;
  border-radius: 999px;
  background: rgba(244, 246, 245, 0.14);
  width: 72%;
}
.bento__skeleton-bar--wide { width: 94%; background: rgba(244, 246, 245, 0.22); }
.bento__skeleton-bar--short { width: 46%; }

/* live reports chart */

.bento__chart-card {
  margin-top: 0;
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.bento__chart-head,
.bento__chart-legend {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 246, 245, 0.5);
}

.bento__chart-head { margin-bottom: 12px; }
.bento__chart-head span:first-child { color: rgba(244, 246, 245, 0.8); }
.bento__chart-legend { margin-top: 10px; }

.bento__chart { width: 100%; height: auto; display: block; }
.bento .gridlines line { stroke: rgba(255, 255, 255, 0.08); }
.bento .line-area { fill: rgba(16, 185, 129, 0.12); }
.bento .line-path { stroke: var(--green); }
.bento .line-tip { fill: var(--green); }

.bento__report-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: auto 0 0;
}

.bento__report-metrics div {
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.24);
}

.bento__report-metrics dt {
  color: rgba(203, 213, 225, 0.48);
  font-size: 0.55rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.bento__report-metrics dd {
  margin: 5px 0 0;
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* typography specimen */

.bento__specimen {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  white-space: nowrap;
}

/* client portals illustration */

.bento__portal {
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(255, 255, 255, 0.03));
  margin-bottom: 8px;
}

.bento__portal-bar {
  display: block;
  height: 12px;
  width: 70%;
  border-radius: 999px;
  background: rgba(244, 246, 245, 0.24);
}

/* Capabilities: live delivery system */

.caps.section--dark {
  --caps-x: 78%;
  --caps-y: 30%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--caps-x) var(--caps-y), rgba(34, 211, 238, 0.1), transparent 24%),
    radial-gradient(ellipse 55% 45% at 85% 0%, rgba(16, 185, 129, 0.11), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(124, 58, 237, 0.13), transparent 65%),
    #080c0a;
}

.caps.section--dark::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 88%, transparent);
  pointer-events: none;
}

.caps.section--dark::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 9%;
  right: -12%;
  width: min(46vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(52, 211, 153, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(52, 211, 153, 0.018),
    0 0 0 160px rgba(96, 165, 250, 0.015);
  animation: caps-orbit 16s linear infinite;
  pointer-events: none;
}

.caps .container {
  position: relative;
  z-index: 1;
}

.caps .sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "eyebrow phases"
    "title phases"
    "description phases";
  align-items: end;
  column-gap: clamp(32px, 7vw, 110px);
  max-width: none;
  margin-bottom: clamp(38px, 5vw, 70px);
}

.caps .sec-head__eyebrow { grid-area: eyebrow; }
.caps .sec-head__title { grid-area: title; max-width: 15ch; }
.caps .sec-head__desc { grid-area: description; max-width: 62ch; }

.caps .caps__phases {
  grid-area: phases;
  position: relative;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
  margin: 0;
  padding-left: 34px;
}

.caps .caps__phases::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  width: 1px;
  background: linear-gradient(180deg, #34d399, #38bdf8, #a78bfa, #fb7185);
}

.caps .caps__phases li {
  position: relative;
  border: 0;
  padding: 3px 0;
  font-size: 0.66rem;
}

.caps .caps__phases li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -28px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.08);
  transform: translateY(-50%);
}

.caps .caps__phases li:nth-child(2) { color: #7dd3fc; }
.caps .caps__phases li:nth-child(3) { color: #c4b5fd; }
.caps .caps__phases li:nth-child(4) { color: #fda4af; }

.bento {
  perspective: 1400px;
}

.bento__card {
  --caps-rx: 0deg;
  --caps-ry: 0deg;
  --caps-card-x: 50%;
  --caps-card-y: 50%;
  background:
    radial-gradient(circle 220px at var(--caps-card-x) var(--caps-card-y), rgba(255, 255, 255, 0.055), transparent 72%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 24px 60px -46px rgba(0, 0, 0, 0.85);
  transform: perspective(900px) rotateX(var(--caps-rx)) rotateY(var(--caps-ry)) translateY(0);
  transform-style: preserve-3d;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.38s var(--ease);
}

.bento__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.05) 46%, transparent 68%);
  transform: translateX(-120%);
  pointer-events: none;
}

.caps.is-motion-ready .bento__card::after {
  animation: caps-sheen 7s ease-in-out infinite;
}

.bento__card:nth-child(2)::after { animation-delay: 0.7s; }
.bento__card:nth-child(3)::after { animation-delay: 1.4s; }
.bento__card:nth-child(4)::after { animation-delay: 2.1s; }
.bento__card:nth-child(5)::after { animation-delay: 2.8s; }
.bento__card:nth-child(6)::after { animation-delay: 3.5s; }
.bento__card:nth-child(7)::after { animation-delay: 4.2s; }

.bento__card:hover {
  border-color: rgba(125, 211, 252, 0.22);
  background:
    radial-gradient(circle 260px at var(--caps-card-x) var(--caps-card-y), rgba(103, 232, 249, 0.09), transparent 72%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 32px 72px -42px rgba(14, 116, 144, 0.36);
  transform: perspective(900px) rotateX(var(--caps-rx)) rotateY(var(--caps-ry)) translateY(-4px);
}

.bento__card--core {
  background:
    radial-gradient(circle at 10% 0%, rgba(52, 211, 153, 0.11), transparent 45%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.bento__card--tenx {
  background:
    radial-gradient(circle at 100% 0%, rgba(251, 113, 133, 0.1), transparent 48%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.bento__stat-label {
  max-width: 15ch;
  color: #f8fafc;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.bento__chevrons {
  width: max-content;
}

.caps.is-motion-ready .bento__chevrons {
  animation: caps-chevrons 2s ease-in-out infinite;
}

.bento__flow {
  gap: clamp(5px, 0.7vw, 9px);
}

.bento__flow-pill {
  flex: 0 0 auto;
  padding: 8px clamp(7px, 0.75vw, 10px);
  font-size: clamp(0.56rem, 0.7vw, 0.67rem);
  white-space: nowrap;
}

.bento__flow-pill--review {
  border-color: rgba(56, 189, 248, 0.34);
  background: rgba(56, 189, 248, 0.07);
  color: #7dd3fc;
}

.bento__flow-arrow {
  min-width: 10px;
  overflow: hidden;
}

.bento__flow-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #f8fafc, transparent);
  transform: translateX(-120%);
}

.caps.is-motion-ready .bento__flow-arrow::before {
  animation: caps-flow 2.4s ease-in-out infinite;
}

.bento__skeleton {
  gap: 8px;
}

.bento__skeleton-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  color: rgba(226, 232, 240, 0.52);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bento__ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.32);
}

.bento__ui-row small {
  color: rgba(203, 213, 225, 0.5);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  text-transform: uppercase;
}

.bento__ui-row strong {
  color: #e2e8f0;
  font-size: 0.68rem;
}

.bento__ui-row strong.is-ready {
  color: #6ee7b7;
}

.bento__chart .line-path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bento__chart .line-tip {
  transform-origin: center;
  transform-box: fill-box;
}

.caps.is-motion-ready .bento__chart .line-tip {
  animation: caps-node 1.8s ease-in-out infinite;
}

.bento__training-stat {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.bento__handover {
  display: grid;
  gap: 7px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.bento__handover li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.25);
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.72rem;
}

.bento__handover li span {
  color: #34d399;
  font-family: var(--font-mono);
  font-size: 0.56rem;
}

.caps.is-motion-ready .bento__handover li {
  animation: caps-list-in 0.55s var(--ease) both;
}

.caps.is-motion-ready .bento__handover li:nth-child(2) { animation-delay: 0.12s; }
.caps.is-motion-ready .bento__handover li:nth-child(3) { animation-delay: 0.24s; }

.bento__portal {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding: 16px;
}

.bento__eyebrow--violet {
  border-color: rgba(167, 139, 250, 0.34);
  color: #c4b5fd;
}

.bento__portal-journey {
  position: relative;
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.bento__portal-journey::before {
  content: "";
  position: absolute;
  top: 21px;
  bottom: 21px;
  left: 18px;
  width: 1px;
  background: linear-gradient(180deg, #a78bfa, #38bdf8);
  opacity: 0.42;
}

.bento__portal-journey li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.3);
}

.bento__portal-journey > li > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 50%;
  background: #11131a;
  color: #c4b5fd;
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.bento__portal-journey li div {
  display: grid;
  gap: 3px;
}

.bento__portal-journey strong {
  color: rgba(248, 250, 252, 0.88);
  font-size: 0.72rem;
}

.bento__portal-journey small {
  color: rgba(203, 213, 225, 0.48);
  font-size: 0.58rem;
  line-height: 1.35;
}

.caps.is-motion-ready .bento__portal-journey li {
  animation: caps-list-in 0.55s var(--ease) both;
}

.caps.is-motion-ready .bento__portal-journey li:nth-child(2) { animation-delay: 0.12s; }
.caps.is-motion-ready .bento__portal-journey li:nth-child(3) { animation-delay: 0.24s; }

.bento__portal-head,
.bento__portal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bento__portal-head {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: #f8fafc;
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.bento__portal-head em {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.12);
  color: #c4b5fd;
  font-size: 0.52rem;
  font-style: normal;
  text-transform: uppercase;
}

.bento__portal-row small {
  color: rgba(203, 213, 225, 0.5);
  font-size: 0.6rem;
}

.bento__portal-row strong {
  color: rgba(248, 250, 252, 0.84);
  font-size: 0.64rem;
}

.bento__portal-progress {
  height: 5px;
  margin-top: 3px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.bento__portal-progress i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cf6, #38bdf8);
  transform-origin: left;
}

.caps.is-motion-ready .bento__portal-progress i {
  animation: caps-progress 3.6s var(--ease) infinite alternate;
}

@keyframes caps-sheen {
  0%, 68% { transform: translateX(-120%); opacity: 0; }
  76% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes caps-chevrons {
  0%, 100% { transform: translateX(0); opacity: 0.65; }
  50% { transform: translateX(8px); opacity: 1; }
}

@keyframes caps-flow {
  0%, 28% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}

@keyframes caps-node {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.5); opacity: 1; }
}

@keyframes caps-list-in {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes caps-progress {
  from { transform: scaleX(0.5); }
  to { transform: scaleX(1); }
}

@keyframes caps-orbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .caps .sec-head {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "description"
      "phases";
  }

  .caps .caps__phases {
    flex-direction: row;
    min-width: 0;
    margin-top: 20px;
    padding: 0;
  }

  .caps .caps__phases::before,
  .caps .caps__phases li::before {
    display: none;
  }

  .caps .caps__phases li {
    padding: 6px 12px;
    border: 1px solid currentColor;
    border-radius: 999px;
  }

  .bento__flow {
    flex-wrap: wrap;
  }

  .bento__flow-arrow {
    min-width: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .caps.section--dark::after,
  .caps.is-motion-ready .bento__card::after,
  .caps.is-motion-ready .bento__chevrons,
  .caps.is-motion-ready .bento__flow-arrow::before,
  .caps.is-motion-ready .bento__chart .line-tip,
  .caps.is-motion-ready .bento__handover li,
  .caps.is-motion-ready .bento__portal-journey li,
  .caps.is-motion-ready .bento__portal-progress i {
    animation: none;
  }

  .bento__card,
  .bento__card:hover {
    transform: none;
  }
}

/* ---------- TIMELINE ---------- */

.timeline__list {
  position: relative;
  display: flex;
  flex-direction: column;
}

.tl {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding-block: 26px;
  border-top: 1px solid var(--line);
  position: relative;
}

.tl:last-child { border-bottom: 1px solid var(--line); }

.tl__year {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--green-ink);
  padding-top: 3px;
}

.tl__body h3 { font-size: 1.125rem; font-weight: 700; }
.tl__body p { margin-top: 6px; font-size: 0.9375rem; color: var(--gray-600); max-width: 64ch; }

/* ---------- CONTACT ---------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact__email {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 2px solid var(--green);
  padding-bottom: 3px;
  transition: color 0.25s var(--ease);
}
.contact__email:hover { color: var(--green-ink); }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 18px 48px rgba(11, 14, 12, 0.05);
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.field input,
.field textarea {
  font: inherit;
  font-size: 0.9375rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper-tint);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-deep);
  background: #fff;
}

.contact__note {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
}

.contact__honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.contact__status {
  min-height: 0;
  margin: -2px 0 0;
  color: var(--gray-500);
  font-size: 0.8125rem;
  line-height: 1.55;
  text-align: center;
}

.contact__status:empty { display: none; }

.contact__status--success {
  padding: 11px 13px;
  border: 1px solid rgba(16, 132, 80, .22);
  border-radius: 9px;
  background: rgba(16, 132, 80, .07);
  color: #0d7547;
  font-weight: 600;
}

.contact__status--error {
  padding: 11px 13px;
  border: 1px solid rgba(187, 55, 58, .22);
  border-radius: 9px;
  background: rgba(187, 55, 58, .07);
  color: #a12e32;
  font-weight: 600;
}

.contact__form .btn:disabled {
  opacity: .64;
  cursor: wait;
}

/* ---------- WHY INSTITUTIONS CHOOSE GABRIEL ---------- */

.why-choice {
  --why-x: 72%;
  --why-y: 22%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 8vw, 112px) 0;
  background:
    radial-gradient(circle 520px at var(--why-x) var(--why-y), rgba(99, 102, 241, 0.075), transparent 72%),
    radial-gradient(circle 440px at 14% 88%, rgba(16, 185, 129, 0.065), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fbfcfc 100%);
}

.why-choice::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.022) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.why-choice__routes {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.82;
}

.why-choice__routes svg {
  width: 100%;
  height: 100%;
}

.why-choice__route {
  fill: none;
  stroke: rgba(99, 102, 241, 0.16);
  stroke-width: 1.1;
  stroke-dasharray: 9 18;
  vector-effect: non-scaling-stroke;
  animation: why-route-drift 22s linear infinite;
}

.why-choice__route--two {
  stroke: rgba(16, 185, 129, 0.15);
  animation-duration: 28s;
  animation-direction: reverse;
}

.why-choice__route--three {
  stroke: rgba(249, 115, 22, 0.11);
  animation-duration: 34s;
}

.why-choice__route-nodes circle {
  fill: #fff;
  stroke: rgba(16, 185, 129, 0.5);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  animation: why-node-pulse 3.4s ease-in-out infinite;
}

.why-choice__route-nodes circle:nth-child(2n) {
  stroke: rgba(99, 102, 241, 0.54);
  animation-delay: -1.3s;
}

.why-choice__route-nodes circle:nth-child(3n) {
  animation-delay: -2.4s;
}

.why-choice__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: 75.5rem;
  margin: 0 auto clamp(30px, 5vw, 64px);
  padding-inline: var(--gutter);
}

.why-choice__header .sec-head {
  flex: 1;
  min-width: 0;
}

.why-choice__reach {
  display: flex;
  max-width: 570px;
  align-items: center;
  gap: 11px;
  margin: 20px 0 0;
  color: #334155;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.why-choice__reach span {
  white-space: nowrap;
}

.why-choice__reach i {
  position: relative;
  display: block;
  width: clamp(28px, 4.5vw, 72px);
  height: 1px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.14);
}

.why-choice__reach i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform: translateX(-100%);
  animation: why-reach-pulse 3.8s var(--ease) infinite;
}

.why-choice__reach i:nth-of-type(2)::after {
  animation-delay: 0.7s;
}

.why-choice__controls {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

.why-choice__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  transition:
    transform 0.25s var(--ease),
    color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.why-choice__arrow svg {
  width: 20px;
  height: 20px;
}

.why-choice__arrow:hover:not(:disabled) {
  transform: translateY(-2px);
  color: var(--ink);
  background: var(--green);
}

.why-choice__arrow:disabled {
  color: #adb5b0;
  background: #eef1ef;
  cursor: not-allowed;
}

.why-choice__viewport-wrap {
  position: relative;
  z-index: 1;
}

.why-choice__viewport-wrap::before,
.why-choice__viewport-wrap::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: 112px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.why-choice__viewport-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #fff, #fff 30%, rgba(255, 255, 255, 0));
}

.why-choice__viewport-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #fff, #fff 30%, rgba(255, 255, 255, 0));
}

.why-choice__viewport-wrap.whyChooseZBSection_fadeStart__VDobl::before,
.why-choice__viewport-wrap.whyChooseZBSection_fadeEnd__qNswl::after {
  opacity: 1;
}

.why-choice__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding-block: 8px 22px;
  scroll-behavior: smooth;
  scroll-padding-left: max(3rem, calc((100vw - 75.5rem) / 2 + 3rem));
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.why-choice__viewport::-webkit-scrollbar {
  display: none;
}

.why-choice__track {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  width: max-content;
  padding-inline:
    max(3rem, calc((100vw - 75.5rem) / 2 + 3rem));
}

.why-choice__card {
  position: relative;
  flex: 0 0 350px;
  width: 350px;
  height: 483px;
  overflow: hidden;
  border-radius: 20px;
  clip-path: inset(0 round 20px);
  color: #171e25;
  scroll-snap-align: start;
  isolation: isolate;
  transform: translateZ(0);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.why-choice__card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 55px rgba(11, 14, 12, 0.16);
}

.why-choice__card-bg,
.why-choice__shade,
.why-choice__data-wash,
.why-choice__mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.why-choice__card-bg {
  z-index: -3;
  object-fit: cover;
}

.why-choice__card--photo {
  color: #fff;
  background: #3b2d22;
}

.why-choice__card--photo .why-choice__card-bg {
  object-position: 58% 16%;
  transform: scale(1.08);
}

.why-choice__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 14, 12, 0.12) 0%, rgba(11, 14, 12, 0.08) 28%, rgba(11, 14, 12, 0.83) 100%),
    linear-gradient(90deg, rgba(94, 55, 25, 0.42), transparent 70%);
}

.why-choice__card--lavender {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), transparent 48%),
    linear-gradient(160deg, #fafaff 0%, #e5e2fb 58%, #cbc8f5 100%);
}

.why-choice__orb {
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.54;
}

.why-choice__orb--one {
  top: -115px;
  right: -82px;
  background: rgba(16, 185, 129, 0.2);
}

.why-choice__orb--two {
  right: -95px;
  bottom: -85px;
  background: rgba(99, 102, 241, 0.28);
}

.why-choice__card--security {
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(236, 72, 153, 0.32), transparent 22%),
    radial-gradient(circle at 68% 28%, rgba(59, 130, 246, 0.34), transparent 32%),
    #080b0a;
}

.why-choice__card--security::before,
.why-choice__card--security::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 390px;
  height: 88px;
  right: -130px;
  top: 72px;
  border-radius: 18px;
  background: linear-gradient(90deg, #8b5cf6, #ec4899 42%, #f97316 72%, #38bdf8);
  filter: blur(1px);
  opacity: 0.66;
  transform: rotate(-19deg);
}

.why-choice__card--security::after {
  top: 126px;
  right: -170px;
  opacity: 0.22;
  filter: blur(10px);
}

.why-choice__security-light {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    repeating-linear-gradient(105deg, transparent 0 32px, rgba(255, 255, 255, 0.035) 33px 34px),
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.5));
}

.why-choice__card--data {
  background: #e9f4f2;
}

.why-choice__card-bg--device {
  width: 118%;
  height: 72%;
  top: -15px;
  left: 16%;
  object-fit: contain;
  object-position: 100% 0;
  opacity: 0.3;
  filter: saturate(0.65) contrast(0.88);
}

.why-choice__data-wash {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(233, 244, 242, 0.05) 0%, rgba(233, 244, 242, 0.6) 42%, #e9f4f2 68%),
    linear-gradient(90deg, #e9f4f2 0%, transparent 66%);
}

.why-choice__card--mint {
  background:
    radial-gradient(circle at 25% 10%, rgba(255, 255, 255, 0.96), transparent 38%),
    linear-gradient(145deg, #e6f7f4 0%, #f5f7e9 55%, #f5ead8 100%);
}

.why-choice__card--global {
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(45, 212, 191, 0.28), transparent 28%),
    radial-gradient(circle at 20% 90%, rgba(99, 102, 241, 0.28), transparent 34%),
    linear-gradient(145deg, #0b1320 0%, #111c2f 58%, #0b1020 100%);
}

.why-choice__global-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 76% 24%, #000, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 76% 24%, #000, transparent 68%);
}

.why-choice__global-orbit {
  position: absolute;
  z-index: -1;
  top: 42px;
  right: -48px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 50%;
  animation: why-orbit 18s linear infinite;
}

.why-choice__global-orbit::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 28px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 0 7px rgba(94, 234, 212, 0.12);
}

.why-choice__global-orbit--two {
  top: 78px;
  right: -10px;
  width: 152px;
  height: 152px;
  border-color: rgba(129, 140, 248, 0.3);
  animation-duration: 13s;
  animation-direction: reverse;
}

.why-choice__global-orbit--two::after {
  top: auto;
  bottom: 15px;
  left: 42px;
  width: 6px;
  height: 6px;
  background: #a5b4fc;
  box-shadow: 0 0 0 6px rgba(165, 180, 252, 0.1);
}

.why-choice__card--payments {
  background:
    radial-gradient(circle at 85% 12%, rgba(249, 115, 22, 0.2), transparent 30%),
    radial-gradient(circle at 10% 94%, rgba(236, 72, 153, 0.12), transparent 34%),
    linear-gradient(145deg, #fffaf6 0%, #f8eee8 54%, #f2e6ef 100%);
}

.why-choice__payment-card {
  position: absolute;
  z-index: -1;
  top: 58px;
  right: -34px;
  display: flex;
  width: 210px;
  height: 126px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  box-shadow: 0 25px 55px rgba(117, 54, 20, 0.16);
  transform: rotate(-8deg);
  animation: why-payment-float 6s ease-in-out infinite;
}

.why-choice__payment-card--back {
  top: 32px;
  right: -72px;
  background: linear-gradient(135deg, #0f172a, #334155);
  opacity: 0.66;
  transform: rotate(8deg);
  animation-delay: -2.1s;
}

.why-choice__payment-card--front {
  color: #fff;
  background: linear-gradient(135deg, #f97316, #ec4899 62%, #7c3aed);
}

.why-choice__payment-card--front i {
  width: 31px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
  box-shadow: inset 0 0 0 1px rgba(120, 53, 15, 0.18);
}

.why-choice__payment-card--front b {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.why-choice__mesh {
  z-index: -1;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(5, 150, 105, 0.36) 1px, transparent 1.2px),
    linear-gradient(135deg, transparent 55%, rgba(255, 255, 255, 0.7));
  background-size: 22px 22px, 100% 100%;
  mask-image: radial-gradient(circle at 90% 15%, #000, transparent 58%);
  -webkit-mask-image: radial-gradient(circle at 90% 15%, #000, transparent 58%);
}

.why-choice__content {
  position: relative;
  height: 100%;
}

.why-choice__icon {
  position: absolute;
  top: 28px;
  left: 49px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.why-choice__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-choice__bottom {
  position: absolute;
  top: 218px;
  right: 49px;
  bottom: 38px;
  left: 49px;
  display: flex;
  flex-direction: column;
}

.why-choice__bottom--compact {
  top: 184px;
}

.why-choice__subtitle {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.why-choice__stat {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.why-choice__stat--words {
  font-size: 2.35rem;
  line-height: 1.02;
}

.why-choice__divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 20px 0;
  background: currentColor;
  opacity: 0.35;
}

.why-choice__description {
  font-size: 0.9rem;
  line-height: 1.46;
}

.why-choice__dots {
  display: none;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
}

.why-choice__dot {
  width: 32px;
  height: 32px;
  border: 11px solid #fff;
  border-radius: 50%;
  background: #d8dcda;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.why-choice__dot.is-active {
  transform: scale(1.15);
  background: var(--green-deep);
}

@keyframes why-route-drift {
  to { stroke-dashoffset: -216; }
}

@keyframes why-node-pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.42; }
  50% { transform: scale(1.25); opacity: 1; }
}

@keyframes why-reach-pulse {
  0%, 22% { transform: translateX(-100%); opacity: 0; }
  48% { opacity: 1; }
  76%, 100% { transform: translateX(100%); opacity: 0; }
}

@keyframes why-orbit {
  to { transform: rotate(360deg); }
}

@keyframes why-payment-float {
  0%, 100% { translate: 0 0; }
  50% { translate: -4px -8px; }
}

@media (prefers-reduced-motion: reduce) {
  .why-choice__route,
  .why-choice__route-nodes circle,
  .why-choice__reach i::after,
  .why-choice__global-orbit,
  .why-choice__payment-card {
    animation: none;
  }
}

/* ---------- reveal helper ---------- */

.reveal { will-change: transform, opacity; }

@media (prefers-reduced-motion: no-preference) {
  .sec-head > *,
  .training__intro > *,
  .training__tile,
  .training__stack-list li,
  .portfolio-showcase__stage,
  .screen-gallery__item,
  .trust__grid li,
  .contact__form {
    will-change: transform, opacity;
  }
}

/* short laptop viewports: keep name + intro clear of each other */
@media (max-height: 900px) and (min-width: 1025px) {
  .hero__name {
    font-size: clamp(2.9rem, 5.2vw, 4.9rem);
    margin: 10px 0 8px;
  }
  .hero__top { gap: 14px; padding-top: 3vh; }
  .hero__lower { gap: 10px; max-width: 520px; }
  .hero__statement { margin-bottom: 4px; font-size: clamp(0.9rem, 1.2vw, 1.05rem); }
  .hero__tagline { font-size: clamp(1.3rem, 2.3vw, 1.85rem); }
  .hero__sub { margin-top: 8px; }
  .hero__chips { margin-top: 12px; }
  .hero__actions { margin-top: 14px; }
}

@media (max-height: 780px) and (min-width: 1025px) {
  .hero__name {
    font-size: clamp(2.8rem, 5.8vw, 4.6rem);
    margin: 6px 0 4px;
  }
  .hero__top { gap: 10px; padding-top: 1.5vh; }
  .hero__statblocks { gap: 12px; }
  .hero__lower { gap: 8px; }
  .hero__chips { display: none; }
  .hero__scroll { display: none; }
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  .hero__side { display: none; }
  .hero__cards { display: none; }
  .hero__left {
    grid-column: unset;
    height: auto;
    padding: clamp(16px, 3vh, 28px) var(--gutter) 0;
    justify-content: flex-start;
    gap: 20px;
  }
  .hero__top { padding-top: 1.5vh; max-width: 100%; gap: 12px; }
  .hero__chip {
    white-space: normal;
    max-width: 100%;
    font-size: 0.75rem;
    line-height: 1.45;
  }
  .statblock__label {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
  }
  .hero__portrait {
    grid-column: unset;
    order: 3;
    width: 100%;
    height: auto;
    max-height: 42vh;
    margin-top: 4px;
  }
  .hero__portrait img {
    height: 100%;
    max-height: 42vh;
    object-position: top center;
  }
  .hero__name {
    margin: 8px 0;
    width: auto;
    max-width: 100%;
    white-space: normal;
    flex-wrap: wrap;
  }
  .hero__lower { margin-top: 4px; padding: 0 var(--gutter) clamp(28px, 5vh, 48px); }
  .hero__actions { flex-wrap: wrap; }
  .hero__scroll { display: none; }
  
  .impact__inner { grid-template-columns: 1fr; gap: 48px; }
  .impact__header { text-align: center; }
  .impact__header .sec-head__eyebrow { justify-content: center; }
  .impact__header .sec-head__desc { margin-inline: auto; }
  .impact__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact__metric { padding-left: 20px; }

  .why-choice__header {
    padding-inline: 24px;
  }

  .why-choice__viewport {
    scroll-padding-left: 24px;
  }

  .why-choice__track {
    gap: 16px;
    padding-inline: 24px;
  }

  .apps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms > .container { max-width: var(--container); }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "core tenx"
      "core flow"
      "screens reports"
      "type reports"
      "portals reports";
  }

  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section-title br { display: none; }

  .impact__metrics { grid-template-columns: 1fr; gap: 32px; }
  .impact__metric { border-left-color: rgba(16, 185, 129, 0.4); }

  .hero__statblocks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }
  .statblock {
    min-width: 0;
    padding-right: 0;
  }
  .statblock .stat__num {
    font-size: clamp(1.5rem, 7vw, 1.85rem);
  }
  .statblock__label {
    font-size: 0.625rem;
    letter-spacing: 0.06em;
  }
  .hero__name { font-size: clamp(2.1rem, 11vw, 2.85rem); gap: 8px; }
  .hero__tagline { font-size: clamp(1.2rem, 5.5vw, 1.55rem); }
  .hero__tagline br { display: none; }
  .hero__chips { gap: 8px; }
  .hero__chips li { font-size: 0.75rem; padding: 7px 12px; }
  .hero__portrait,
  .hero__portrait img { max-height: 36vh; }

  .trust__grid {
    gap: 16px 20px;
  }
  .trust__grid img {
    max-height: 58px;
    filter: grayscale(0.25) opacity(0.88);
  }
  .trust__grid img.trust__logo--on-dark {
    filter: grayscale(0.15) opacity(0.92);
  }
  .trust__grid img.trust__logo--natural {
    filter: none;
    opacity: 1;
  }

  .why-choice {
    padding-block: 64px;
  }

  .why-choice__header {
    justify-content: center;
    margin-bottom: 28px;
    padding-inline: var(--gutter);
    text-align: center;
  }

  .why-choice__header .sec-head__eyebrow {
    justify-content: center;
  }

  .why-choice__header .sec-head__desc {
    margin-inline: auto;
  }

  .why-choice__header .sec-head__title {
    font-size: 1.75rem;
  }

  .why-choice__controls {
    display: none;
  }

  .why-choice__viewport-wrap::before,
  .why-choice__viewport-wrap::after {
    width: min(48px, 12vw);
  }

  .why-choice__viewport {
    scroll-padding-left: max(var(--gutter), calc(50% - min(42vw, 150px)));
  }

  .why-choice__track {
    gap: 14px;
    padding-inline: max(var(--gutter), calc(50% - min(42vw, 150px)));
  }

  .why-choice__card {
    flex: 0 0 min(300px, 84vw);
    flex-basis: min(300px, 84vw);
    width: min(300px, 84vw);
    height: min(440px, 128vw);
    scroll-snap-align: center;
  }

  .why-choice__card:hover {
    transform: none;
  }

  .why-choice__icon {
    left: clamp(20px, 6vw, 36px);
  }

  .why-choice__bottom {
    right: clamp(20px, 6vw, 36px);
    left: clamp(20px, 6vw, 36px);
  }

  .why-choice__dots {
    display: flex;
  }

  .apps__grid { grid-template-columns: 1fr; }
  .platforms__grid { grid-template-columns: 1fr; }

  .bento {
    grid-template-columns: 1fr;
    grid-template-areas:
      "core" "flow" "tenx" "screens" "reports" "type" "portals";
  }

  .bento__specimen { white-space: normal; }

  .tl { grid-template-columns: 64px minmax(0, 1fr); }
}
