/* Ekonbee refined site — builds on colors_and_type.css tokens */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-default);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--ekb-orange); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-nav); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ekb-purple);
}
.eyebrow::before {
  content: ""; display: inline-block; width: 22px; height: 2px;
  background: var(--grad-brand);
}
.eyebrow--on-dark { color: #ffd88a; }
.eyebrow--on-dark::before { background: linear-gradient(90deg,var(--ekb-grad-1),var(--ekb-grad-3)); }

h1,h2,h3,h4,h5 { font-family: var(--font-heading); color: var(--fg-heading); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.section-title { font-size: 40px; margin: 12px 0 16px; letter-spacing: -.015em; }
.section-lede { font-size: 17px; line-height: 1.65; color: var(--fg-muted); max-width: 720px; margin: 0; }

/* ------- Top utility bar ------- */
.utility {
  background: #1a1513; color: #e7e1dc; font-size: 13px;
  font-family: var(--font-nav);
}
.utility__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.utility__left { display: flex; gap: 24px; align-items: center; }
.utility__left span i { color: var(--ekb-grad-2); font-style: normal; margin-right: 6px; }
.utility__social { display: flex; gap: 14px; }
.utility__social a { color: rgba(255,255,255,.6); }
.utility__social a:hover { color: var(--ekb-grad-1); }
.utility__chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  padding: 4px 10px; border-radius: 999px; font-size: 11px; letter-spacing: .04em;
}
.utility__chip .dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }

/* ------- Header ------- */
.hdr {
  position: sticky; top: 0; z-index: 50; background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  backdrop-filter: saturate(1.2) blur(8px);
}
.hdr__inner { display: flex; justify-content: space-between; align-items: center; height: 78px; }
.hdr__logo { display: flex; align-items: center; gap: 10px; }
.hdr__logo img { height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.hdr__logo .wordmark { font-family: var(--font-heading); font-weight: 800; color: var(--fg-heading); font-size: 22px; letter-spacing: .5px; }
/* Dark-mode logo (transparent mark + CSS wordmark) — hidden in light mode */
.hdr__logo-img--dark { display: none; height: 36px !important; width: auto; }
.hdr__logo-word {
  display: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--fg-heading) !important;
}
.hdr__nav { display: flex; align-items: center; gap: 2px; }
.hdr__item { position: relative; }
.hdr__nav a {
  font-family: var(--font-nav); font-size: 14.5px; font-weight: 500;
  color: #1e1a17; padding: 10px 14px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.hdr__nav a:hover { color: var(--ekb-purple); background: rgba(170,59,170,.06); }
.hdr__nav a.is-active { color: var(--ekb-purple); }
.hdr__nav .chev { font-size: 11px; transition: transform .28s var(--ease); }
.hdr__item--mega.is-open > a .chev { transform: rotate(180deg); }
.hdr__item--mega > a { position: relative; }
.hdr__item--mega.is-open > a { color: var(--ekb-purple); background: rgba(170,59,170,.06); }

.hdr__cta { display: flex; gap: 10px; align-items: center; }

/* ============================================================
   MEGA MENU — single source of truth
   Panel is owned by <body> (moved by JS). No per-item hover bridge
   needed; JS tracks enter/leave on both trigger and panel with a
   small close delay.  No card-level animations — just a single
   fade+slide on the panel itself.
   ============================================================ */
.mega-panel {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex; justify-content: center;
  padding: 0 24px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  /* Tightened: shorter outro fade, no transform delay on entry */
  transition: opacity .18s ease-out, transform .22s cubic-bezier(.32,.72,0,1), visibility 0s linear .22s;
  visibility: hidden;
}
/* Close the 6px gap between trigger and panel — hovering across it was the flicker source.
   We add an invisible bridge area to keep the panel from closing as the cursor crosses. */
.mega-panel::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto 0;
  height: 18px;
  background: transparent;
  pointer-events: auto;
}
.mega-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition: opacity .18s ease-out, transform .22s cubic-bezier(.32,.72,0,1), visibility 0s;
}
.mega-panel__inner {
  width: min(1160px, 100%);
  background: #fff;
  border: 1px solid rgba(26,21,19,.08);
  border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(26,21,19,.28), 0 12px 30px -16px rgba(26,21,19,.18);
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
}
.mega-panel__intro {
  padding: 32px 28px;
  background: linear-gradient(168deg, #13100f 0%, #1f1a18 100%);
  color: #f3eee9;
  position: relative;
  overflow: hidden;
}
.mega-panel__intro::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(280px 180px at 100% 0%, rgba(193,38,140,.28), transparent 60%),
    radial-gradient(240px 180px at 0% 100%, rgba(238,144,2,.22), transparent 60%);
}
.mega-panel__intro > * { position: relative; }
.mega-panel__eyebrow {
  display: inline-block; font-family: var(--font-nav);
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #ffd08a; margin-bottom: 14px;
}
.mega-panel__intro h3 {
  font-family: var(--font-heading);
  font-size: 22px; line-height: 1.2; font-weight: 600;
  color: #fff; margin: 0 0 10px;
  letter-spacing: -.01em;
}
.mega-panel__intro p {
  font-size: 13.5px; line-height: 1.6;
  color: rgba(243,238,233,.72); margin: 0 0 18px;
}
.mega-panel__all {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-nav); font-size: 13px; font-weight: 600;
  color: #ffd08a;
  text-decoration: none;
  transition: gap .22s ease;
}
.mega-panel__all:hover { gap: 12px; color: #fff; }
.mega-panel__stats {
  display: flex; gap: 20px; margin-top: 24px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
}
.mega-panel__stats > div { display: flex; flex-direction: column; }
.mega-panel__stats strong {
  display: block; font-family: var(--font-heading);
  font-size: 20px; font-weight: 600; color: #fff;
  letter-spacing: -.01em;
}
.mega-panel__stats strong em {
  font-size: 12px; font-weight: 500; font-style: normal;
  color: rgba(255,255,255,.55); margin-left: 2px;
}
.mega-panel__stats span {
  font-size: 11px; color: rgba(243,238,233,.55);
  margin-top: 2px; letter-spacing: .01em;
}

.mega-panel__grid {
  padding: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #fbf9f6;
}
.mega-panel__card {
  position: relative;
  display: grid; grid-template-columns: 40px 1fr 16px;
  align-items: start; gap: 14px;
  padding: 14px 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: background .2s ease;
}
.mega-panel__card:hover { background: #fff; box-shadow: 0 8px 20px -14px rgba(26,21,19,.18); }
.mega-panel__card:hover .mega-panel__arr { transform: translateX(3px); color: var(--ekb-purple); opacity: 1; }
.mega-panel__icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px;
  box-shadow: 0 6px 14px -8px rgba(26,21,19,.35);
}
.mega-panel__card h4 {
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 600; line-height: 1.3;
  color: var(--fg-heading); margin: 2px 0 3px;
  letter-spacing: -.005em;
}
.mega-panel__card p {
  font-size: 12.5px; line-height: 1.5;
  color: var(--fg-muted); margin: 0;
}
.mega-panel__arr {
  align-self: center;
  font-size: 14px;
  color: rgba(26,21,19,.25);
  opacity: 0;
  transition: transform .22s ease, color .22s ease, opacity .22s ease;
}

.mega-backdrop {
  position: fixed; inset: 0;
  background: rgba(20,15,13,.22);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 55;
}
.mega-backdrop.is-on { opacity: 1; pointer-events: auto; }

@media (max-width: 1024px) {
  .mega-panel { display: none !important; }
}

/* ------- Buttons ------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-nav); font-weight: 600; font-size: 14.5px; cursor: pointer;
  transition: transform .2s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--fg-heading); color: #fff; }
.btn--primary:hover { background: #2a211e; color: #fff; }
.btn--accent { background: var(--ekb-orange); color: #fff; box-shadow: 0 10px 24px -12px rgba(238,144,2,.7); }
.btn--accent:hover { background: color-mix(in srgb, var(--ekb-orange), #000 8%); color: #fff; }
.btn--outline { background: transparent; color: var(--fg-heading); border-color: rgba(0,0,0,.18); }
.btn--outline:hover { border-color: var(--fg-heading); }
.btn--ghost-on-dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.btn--ghost-on-dark:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn .arr { transition: transform .25s var(--ease); display: inline-flex; }
.btn:hover .arr { transform: translateX(3px); }

/* ------- Hero ------- */
.hero {
  position: relative; padding: 80px 0 100px; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(170,59,170,.10), transparent 60%),
    radial-gradient(900px 500px at 5% 90%, rgba(238,144,2,.10), transparent 60%),
    #faf7f4;
  border-bottom: 1px solid rgba(0,0,0,.05);
}

/* Stage hero — full-bleed animated network background, centered copy on top */
.hero--stage {
  padding: 0;
  min-height: min(780px, 92vh);
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(1200px 700px at 50% 40%, rgba(170,59,170,.10), transparent 65%),
    radial-gradient(900px 520px at 50% 100%, rgba(238,144,2,.10), transparent 65%),
    #faf7f4;
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
}
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(250,247,244,.55) 0%, rgba(250,247,244,0) 60%),
    linear-gradient(180deg, transparent 0%, transparent 65%, rgba(250,247,244,.9) 100%);
}
.hero__stage {
  position: relative; z-index: 2;
  text-align: center;
  padding: 120px 24px 100px;
  max-width: 1040px;
}
.hero__stage .eyebrow { justify-content: center; }
.hero__stage .eyebrow::before { display: none; }
.hero__stage h1 { max-width: 920px; margin: 18px auto 22px; }
.hero__stage .hero__lede { margin: 0 auto; }
.hero__stage .hero__cta { justify-content: center; }
.hero__stage .hero__trust { justify-content: center; }

.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 {
  font-size: clamp(42px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.025em;
  margin: 18px 0 22px;
}
.hero h1 .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { font-size: 19px; line-height: 1.6; color: #3b3330; max-width: 560px; }
.hero__cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 28px; margin-top: 44px; align-items: center; color: #6b6462; font-size: 13px; }
.hero__trust .divider { width: 1px; height: 24px; background: rgba(0,0,0,.12); }
.hero__trust strong { color: var(--fg-heading); font-weight: 700; font-size: 20px; font-family: var(--font-heading); display: block; }
.hero__visual {
  position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-left: auto;
}
.hero__orb {
  position: absolute; inset: 8%; border-radius: 50%;
  background: var(--grad-brand-diag);
  filter: blur(0.5px);
  box-shadow: 0 40px 80px -20px rgba(194,38,140,.35), inset 0 -30px 60px rgba(0,0,0,.15);
}
.hero__orb::after {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.6), transparent 45%);
}
.hero__card {
  position: absolute; background: #fff; border-radius: 14px;
  box-shadow: 0 22px 50px -18px rgba(30,20,16,.28), 0 2px 6px rgba(30,20,16,.08);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-nav); font-size: 13px; color: var(--fg-heading); font-weight: 500;
}
.hero__card--1 { top: 8%; left: -10%; }
.hero__card--2 { top: 50%; right: -8%; }
.hero__card--3 { bottom: 6%; left: 12%; }
.hero__card .ico { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.hero__card .sub { display: block; color: var(--fg-muted); font-weight: 400; font-size: 11.5px; margin-top: 2px; letter-spacing: .02em; }

/* ------- Logo strip ------- */
.logos { padding: 40px 0; background: #fff; border-bottom: 1px solid rgba(0,0,0,.06); }
.logos__label { text-align: center; color: var(--fg-muted); font-family: var(--font-nav); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 52px; align-items: center; opacity: .85; }
.logos__row .logo {
  font-family: var(--font-heading); font-weight: 800; font-size: 22px; letter-spacing: .02em;
  color: #8a807a;
}
.logos__row .logo.stylized { font-style: italic; font-weight: 700; }

/* ------- Stats ------- */
.stats { padding: 64px 0; background: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  padding: 28px 24px; border-radius: 16px; background: #faf7f4;
  border: 1px solid rgba(0,0,0,.05);
}
.stat__num { font-family: var(--font-heading); font-size: 44px; font-weight: 800; color: var(--fg-heading); line-height: 1; letter-spacing: -.02em; }
.stat__num sup { font-size: 22px; color: var(--ekb-orange); margin-left: 2px; font-weight: 700; }
.stat__label { font-size: 14px; color: var(--fg-muted); margin-top: 10px; line-height: 1.5; }

/* ------- Services ------- */
.services { padding: 100px 0; background: #faf7f4; }
.services__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 50px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: #fff; border-radius: 18px; padding: 32px 28px 28px;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
}
.svc::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-brand); opacity: 0; transition: opacity .3s var(--ease);
}
.svc:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 26px 50px -24px rgba(30,20,16,.25); }
.svc:hover::before { opacity: 1; }
.svc__icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; }
.svc h3 { font-size: 22px; }
.svc p { color: var(--fg-muted); font-size: 14.5px; line-height: 1.6; margin: 0; flex: 1; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.svc__tags span { font-family: var(--font-nav); font-size: 11.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.04); color: var(--fg-heading); }

/* ------- Capability deep-dive ------- */
.capability { padding: 100px 0; background: #1d1918; color: #f3eee9; position: relative; overflow: hidden; }
.capability::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 90% 110%, rgba(170,59,170,.25), transparent 60%),
    radial-gradient(700px 400px at 10% -10%, rgba(238,144,2,.18), transparent 60%);
  pointer-events: none;
}
.capability .container { position: relative; }
.capability h2 { color: #fff; font-size: 42px; }
.capability__row { display: grid; grid-template-columns: 1fr .85fr; gap: 48px; align-items: center; margin-top: 40px; }
.capability__lede { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.65; margin: 0 0 28px; max-width: 520px; }
.capability__bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.capability__bullets li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.55; }
.capability__bullets li i { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(238,144,2,.18); color: var(--ekb-grad-1); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-style: normal; }
.capability__panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px; padding: 26px 22px; backdrop-filter: blur(8px);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.panel:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.panel h4 { color: #fff; font-size: 18px; margin: 10px 0 8px; font-weight: 700; }
.panel p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.55; margin: 0; }
.panel .kbd { font-family: var(--font-nav); font-size: 11px; letter-spacing: .12em; color: var(--ekb-grad-1); text-transform: uppercase; }
.panel--highlight {
  background: linear-gradient(135deg, rgba(170,59,170,.18), rgba(45,182,250,.10));
  border-color: rgba(170,59,170,.35);
}

/* ------- Methodology timeline ------- */
.method { padding: 100px 0; background: #fff; }
.method__head { text-align: center; margin-bottom: 60px; }
.method__head .section-lede { margin: 16px auto 0; }
.method__steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 18px; position: relative;
}
.method__steps::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 36px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.15) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px;
  background: #fff; border: 2px solid var(--fg-heading);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 24px; font-weight: 800; color: var(--fg-heading);
  position: relative;
}
.step__num::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed rgba(0,0,0,.18);
}
.step:nth-child(1) .step__num { background: #fdb813; border-color: #fdb813; color: #1d1918; }
.step:nth-child(2) .step__num { background: #f26722; border-color: #f26722; color: #fff; }
.step:nth-child(3) .step__num { background: #e53e3e; border-color: #e53e3e; color: #fff; }
.step:nth-child(4) .step__num { background: #c1268c; border-color: #c1268c; color: #fff; }
.step:nth-child(5) .step__num { background: #7e3fbf; border-color: #7e3fbf; color: #fff; }
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.5; margin: 0; }

/* ------- Industries ------- */
.industries { padding: 100px 0; background: #f1ece6; }
.industries__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.ind {
  background: #fff; border-radius: 16px; padding: 28px;
  display: flex; align-items: flex-start; gap: 16px;
  border: 1px solid rgba(0,0,0,.05);
  transition: all .25s var(--ease);
}
.ind:hover { border-color: var(--ekb-purple); box-shadow: 0 20px 40px -20px rgba(170,59,170,.35); }
.ind__ico {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  background: rgba(170,59,170,.1); color: var(--ekb-purple);
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
}
.ind h4 { font-size: 17px; margin-bottom: 6px; }
.ind p { font-size: 13.5px; color: var(--fg-muted); margin: 0; line-height: 1.5; }

/* ------- Case study ------- */
.case { padding: 100px 0; background: #fff; }
.case__card {
  background: linear-gradient(135deg, #1d1918 0%, #39312f 100%);
  border-radius: 24px; padding: 60px; color: #fff;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.case__card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 90% 10%, rgba(170,59,170,.3), transparent 60%);
}
.case__card > * { position: relative; }
.case__quote {
  font-family: var(--font-heading); font-size: 28px; line-height: 1.35; font-weight: 600;
  color: #fff; letter-spacing: -.01em; margin: 16px 0 24px;
}
.case__quote::before { content: "“"; font-size: 56px; color: var(--ekb-orange); line-height: 0; vertical-align: -20px; margin-right: 6px; font-family: Georgia, serif; }
.case__who { display: flex; align-items: center; gap: 14px; }
.case__who .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-brand-diag); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-heading);
}
.case__who strong { font-family: var(--font-heading); font-weight: 700; display: block; color: #fff; }
.case__who span { color: rgba(255,255,255,.6); font-size: 13px; }
.case__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.case__metric {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 22px 20px;
}
.case__metric .num { font-family: var(--font-heading); font-size: clamp(22px, 5.6vw, 36px); font-weight: 800; color: #fff; letter-spacing: -.02em; word-break: break-word; hyphens: auto; }
.case__metric .num sup { color: var(--ekb-orange); font-size: 18px; margin-left: 2px; }
.case__metric .label { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 8px; line-height: 1.4; }

/* ------- Testimonials ------- */
.testi { padding: 100px 0; background: #faf7f4; }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.testi__card {
  background: #fff; border-radius: 18px; padding: 28px; border: 1px solid rgba(0,0,0,.05);
  display: flex; flex-direction: column; gap: 16px;
}
.testi__stars { color: var(--ekb-yellow); font-size: 14px; letter-spacing: 2px; }
.testi__text { font-size: 15px; line-height: 1.6; color: var(--fg-heading); flex: 1; margin: 0; }
.testi__who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.06); }
.testi__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-brand-diag); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.testi__who strong { display: block; font-family: var(--font-heading); font-size: 14px; color: var(--fg-heading); }
.testi__who span { font-size: 12px; color: var(--fg-muted); }

/* ------- Insights ------- */
.insights { padding: 100px 0; background: #fff; }
.insights__head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; margin-bottom: 40px; }
.insights__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.post { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.18); }
.post__hero { aspect-ratio: 16/9; background: var(--grad-brand-diag); position: relative; overflow: hidden; }
.post__hero.alt-1 { background: linear-gradient(135deg, #0492ce 0%, #2db6fa 100%); }
.post__hero.alt-2 { background: linear-gradient(135deg, #ee9002 0%, #e53e3e 100%); }
.post__hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.3), transparent 50%);
}
.post__hero .tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); color: var(--fg-heading); font-family: var(--font-nav); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; }
.post__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__meta { font-family: var(--font-nav); font-size: 12px; color: var(--fg-muted); letter-spacing: .02em; }
.post h3 { font-size: 19px; letter-spacing: -.01em; }
.post p { font-size: 14px; color: var(--fg-muted); line-height: 1.55; margin: 0; flex: 1; }
.post__link { font-family: var(--font-nav); font-size: 13.5px; font-weight: 600; color: var(--ekb-purple); display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.post__link:hover { color: var(--ekb-orange); }
.post--feature .post__hero { aspect-ratio: 4/3.2; }
.post--feature .post__body { padding: 28px 30px 30px; gap: 14px; }
.post--feature h3 { font-size: 26px; }

/* ------- CTA ------- */
.cta { padding: 100px 0; background: #faf7f4; }
.cta__card {
  border-radius: 24px; padding: 60px; position: relative; overflow: hidden;
  background:
    radial-gradient(700px 400px at 80% 50%, rgba(170,59,170,.28), transparent 60%),
    radial-gradient(700px 400px at 10% 120%, rgba(238,144,2,.35), transparent 60%),
    #1d1918;
  color: #fff;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta h2 { color: #fff; font-size: 40px; letter-spacing: -.02em; }
.cta p { color: rgba(255,255,255,.75); font-size: 17px; margin: 16px 0 0; line-height: 1.6; max-width: 520px; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }
.cta__actions .btn { justify-content: center; }
.cta__mini { font-size: 13px; color: rgba(255,255,255,.55); text-align: center; }

/* ------- Footer ------- */
.ftr { background: #1d1918; color: #c4bdb7; padding: 72px 0 0; }
.ftr__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ftr__brand { font-family: var(--font-heading); font-size: 24px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.ftr p { font-size: 14px; line-height: 1.6; margin: 14px 0 0; color: rgba(255,255,255,.65); }
.ftr h5 { color: #fff; font-size: 13px; font-family: var(--font-nav); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr ul li { padding: 6px 0; }
.ftr ul a { color: rgba(255,255,255,.7); font-size: 14px; }
.ftr ul a:hover { color: var(--ekb-orange); }
.ftr__social { display: flex; gap: 12px; margin-top: 20px; }
.ftr__social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); font-size: 14px;
  transition: all .25s var(--ease);
}
.ftr__social a:hover { background: var(--ekb-orange); color: #fff; transform: translateY(-2px); }
.ftr__news input {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: #fff; padding: 12px 14px; border-radius: 10px; font-family: var(--font-default); font-size: 14px;
  margin-bottom: 10px; outline: none;
}
.ftr__news input:focus { border-color: var(--ekb-orange); }
.ftr__news .btn { width: 100%; justify-content: center; }
.ftr__bottom { padding: 26px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: rgba(255,255,255,.5); }
.ftr__bottom a { color: rgba(255,255,255,.5); margin-left: 20px; }
.ftr__bottom a:hover { color: #fff; }

/* ------- Floating nav dot on scroll up ------- */

/* ------- Migrations grid ------- */
.migrations { padding: 100px 0; background: var(--bg-subtle, #f5f1ec); }
.migrations__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.migrations__head .section-lede { margin: 16px auto 0; }
.migrations__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.mig {
  position: relative; background: #fff; border: 1px solid rgba(0,0,0,.06);
  border-radius: 20px; padding: 36px 32px; transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column; gap: 14px;
}
.mig:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(26,21,19,.22); }
.mig__num {
  font-family: var(--font-heading); font-size: 14px; font-weight: 700;
  color: var(--ekb-grad-1, #ee9002); letter-spacing: .08em;
}
.mig__badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 5px 11px; border-radius: 999px;
  background: linear-gradient(135deg, #aa3baa, #c1268c);
  color: #fff; font-family: var(--font-nav, Inter, sans-serif);
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
}
.mig__badge--alt { background: linear-gradient(135deg, #ee9002, #fdb813); color: #1a1513; }
.mig h3 { margin: 4px 0 0; font-size: 22px; line-height: 1.25; color: var(--fg-heading); }
.mig p { margin: 0; color: var(--fg-body); font-size: 15px; line-height: 1.6; }
.mig__meta { list-style: none; padding: 14px 0 0; margin: auto 0 0; border-top: 1px dashed rgba(0,0,0,.08); display: grid; gap: 6px; }
.mig__meta li { font-size: 13.5px; color: var(--fg-body); padding-left: 16px; position: relative; }
.mig__meta li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ekb-grad-1, #ee9002);
}

/* ------- Global footprint ------- */
.footprint {
  padding: 100px 0; background: #1d1918; color: #f3eee9;
  position: relative; overflow: hidden;
}
.footprint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 400px at 15% 20%, rgba(170,59,170,.22), transparent 55%),
    radial-gradient(700px 380px at 85% 80%, rgba(238,144,2,.18), transparent 55%);
}
.footprint .container { position: relative; }
.footprint__head { max-width: 760px; margin-bottom: 48px; }
.footprint__head h2 { color: #fff; font-size: 42px; margin: 10px 0 16px; }
.footprint__lede { color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.65; margin: 0; }
.footprint__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.office {
  position: relative; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.office:hover { transform: translateY(-3px); border-color: rgba(238,144,2,.4); background: rgba(255,255,255,.06); }
.office__role {
  font-family: var(--font-nav, Inter, sans-serif);
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ekb-grad-1, #ee9002);
}
.office__city {
  font-family: var(--font-heading); font-size: 30px; line-height: 1.1; font-weight: 700; color: #fff;
  margin-top: 2px;
}
.office__country {
  font-size: 13px; color: rgba(255,255,255,.55); letter-spacing: .02em;
}
.office p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.78); margin: 6px 0 0; }
.office__addr {
  margin-top: auto; padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.12);
  font-family: var(--font-nav, Inter, sans-serif);
  font-size: 12.5px; color: rgba(255,255,255,.55);
}
.office--alt { background: rgba(238,144,2,.06); border-color: rgba(238,144,2,.22); }

.footprint__strip {
  margin-top: 36px; padding: 20px 24px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: baseline;
  background: rgba(0,0,0,.2);
}
.footprint__strip span {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.footprint__strip strong {
  font-family: var(--font-heading); font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.85); letter-spacing: .01em;
}

/* ------- Responsive ------- */
@media (max-width: 1024px) {
  .hero__grid, .services__head, .capability__row, .case__card, .cta__card, .insights__head, .insights__grid { grid-template-columns: 1fr; }
  .services__grid, .ind, .testi__grid, .method__steps, .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .migrations__grid { grid-template-columns: 1fr; }
  .footprint__grid { grid-template-columns: repeat(2, 1fr); }
  .footprint__head h2 { font-size: 34px; }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .case__metrics { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .hdr__nav { display: none; }
  .method__steps::before { display: none; }
  .hero__visual { margin: 40px auto 0; }
}
@media (max-width: 640px) {
  .services__grid, .testi__grid, .stats__grid, .industries__grid, .method__steps, .insights__grid, .ftr__grid, .case__metrics { grid-template-columns: 1fr; }
  .footprint__grid { grid-template-columns: 1fr; }
  .mig { padding: 28px 22px; }
  .hero h1 { font-size: 40px; }
  .case__card, .cta__card { padding: 36px 24px; }
  .utility { display: none; }
}
