/* =========================================================================
   Ekonbee — Enterprise refinement layer
   Loaded AFTER styles.css + pages.css. Only overrides specific rules to
   bring a more refined, editorial, "boutique-consultancy" feel. No layout
   changes — just type, spacing, color restraint, and motion discipline.
   ========================================================================= */

:root {
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-card:   0 1px 0 rgba(26,21,19,.04), 0 8px 24px -18px rgba(26,21,19,.18);
  --shadow-card-hi:0 1px 0 rgba(26,21,19,.04), 0 24px 48px -24px rgba(26,21,19,.28);
  --rule:          1px solid rgba(26,21,19,.08);
  --rule-strong:   1px solid rgba(26,21,19,.12);
  --paper:         #faf7f4;
  --paper-warm:    #f5f0e9;
  --ink:           #17110f;
  --ink-2:         #3d332f;
  --ink-3:         #6b6057;
}

/* ---------- Type refinements ---------- */
body {
  font-feature-settings: "ss01", "cv11", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .hero h1, .section-title, .capability h2, .footprint h2 {
  letter-spacing: -.015em;
  font-weight: 600;
}
.hero h1 { font-weight: 600; letter-spacing: -.025em; }
.section-title { font-weight: 600; letter-spacing: -.018em; }
.eyebrow, .eyebrow--on-dark {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .5;
}
.eyebrow--on-dark { color: #ffd08a; }
.eyebrow--on-dark::before { background: #ffd08a; opacity: .6; }

/* Gradient word — make more restrained */
.hero .grad {
  background: linear-gradient(110deg, #d97757 0%, #aa3baa 60%, #7e3fbf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

/* ---------- Header polish ---------- */
.hdr { border-bottom: var(--rule); }
.hdr__inner { height: 72px; }
/* Logo: dark-mode mark + wordmark are hidden in light */
.hdr__logo-img--dark { display: none !important; }
.hdr__logo-word { display: none !important; }
.hdr__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 9px 14px;
  border-radius: 6px;
  letter-spacing: -.005em;
}
.hdr__nav a:hover { color: var(--ink); background: rgba(26,21,19,.04); }
.hdr__nav a.is-active { color: var(--ink); background: rgba(26,21,19,.05); }

/* Utility bar — thinner, more discreet */
.utility { font-size: 12.5px; background: #13100f; color: rgba(241,236,230,.75); }
.utility__inner { height: 34px; }
.utility__chip {
  background: transparent; border: 1px solid rgba(255,255,255,.14);
  padding: 3px 9px; font-size: 10.5px; letter-spacing: .06em;
}

/* ---------- Buttons ---------- */
.btn {
  padding: 11px 20px;
  font-size: 14px;
  letter-spacing: -.005em;
  box-shadow: none !important;
  border-width: 1px;
}
.btn--accent {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn--accent:hover { background: #000; color: #fff; }
.btn--outline {
  background: #fff;
  border-color: rgba(26,21,19,.15);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--ink); background: #fff; color: var(--ink); }

/* ---------- Hero ---------- */
.hero--stage { min-height: min(720px, 86vh); }
.hero--stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(26,21,19,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26,21,19,.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  opacity: .7;
  z-index: 0;
}
.hero__stage { position: relative; z-index: 2; }
.hero__stage .eyebrow { color: var(--ink-3); }
.hero h1 {
  font-size: clamp(44px, 5.5vw, 68px);
  line-height: 1.05;
  margin: 18px 0 22px;
  max-width: 900px;
}
.hero__lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 680px;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero__cta { gap: 12px; margin-bottom: 56px; flex-wrap: wrap; }
@media (max-width: 1024px) {
  .hero__cta { margin-bottom: 36px; }
  .hero__cta .btn { padding-left: 18px; padding-right: 18px; }
}
.hero__trust {
  border-top: var(--rule);
  padding-top: 28px;
  gap: 36px;
  flex-wrap: wrap;
}
.hero__trust > div:not(.divider) { display: flex; flex-direction: column; gap: 3px; }
.hero__trust strong {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.005em;
}
.hero__trust span {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .02em;
}
.hero__trust .divider { width: 1px; height: 36px; background: rgba(26,21,19,.1); }

/* ---------- Experience strip ---------- */
.logos--experience {
  background: #fff;
  border-top: var(--rule);
  border-bottom: var(--rule);
  padding: 56px 0;
}
.logos__label {
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 36px;
  text-align: center;
  font-weight: 500;
}
.exp-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: var(--rule);
}
.exp {
  padding: 18px 28px;
  border-right: var(--rule);
  display: flex; flex-direction: column; gap: 8px;
}
.exp__num {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.02em;
}
.exp__num sup { font-size: 18px; top: -20px; color: var(--ink-3); font-weight: 400; }
.exp__label {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* ---------- Stats / principles ---------- */
.stats { padding: 88px 0; background: var(--paper); border-bottom: var(--rule); }
.stats__grid { gap: 0; border-left: var(--rule); }
.stat {
  padding: 28px 32px;
  border-right: var(--rule);
  border-top: var(--rule);
  border-bottom: var(--rule);
  background: #fff;
}
.stat__num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.012em;
}
.stat__label { font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Services grid ---------- */
.services { padding: 96px 0; background: #fff; }
.services__head { gap: 40px; margin-bottom: 48px; }
.services__head h2 { font-size: clamp(34px, 4vw, 44px); }
.services__grid { gap: 1px; background: rgba(26,21,19,.08); border: var(--rule); border-radius: 4px; overflow: hidden; }
.svc {
  background: #fff; padding: 32px 28px;
  border: none; border-radius: 0;
  transition: background .25s ease;
}
.svc:hover { background: var(--paper); transform: none; box-shadow: none; }
.svc__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  /* Let the inline gradient on each .svc__icon show — no grey wash. */
  color: #fff !important;
  margin-bottom: 20px;
}
.svc h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -.005em;
}
.svc p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.svc__tags span {
  background: transparent;
  border: 1px solid rgba(26,21,19,.12);
  color: var(--ink-2);
  font-size: 11px;
  padding: 3px 9px;
  font-weight: 500;
  letter-spacing: .01em;
}
.svc__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.005em;
}
.svc__link:hover { color: var(--ink); }

/* ---------- Capability (dark section) ---------- */
.capability { background: #0f0c0b; padding: 96px 0; }
.capability h2 {
  font-size: clamp(34px, 4vw, 44px);
  color: #fff;
  font-weight: 600;
}
.capability__lede { color: rgba(255,255,255,.72); font-size: 16px; }
.capability__bullets li { color: rgba(255,255,255,.78); font-size: 14.5px; }
.capability__bullets li i {
  background: rgba(255,255,255,.06) !important;
  color: #ffd08a !important;
  width: 24px; height: 24px; font-size: 13px;
}
.panel {
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 10px;
  padding: 24px !important;
}
.panel h4 { color: #fff; font-size: 17px; font-weight: 600; margin: 6px 0 6px !important; }
.panel p { color: rgba(255,255,255,.65); font-size: 13px; }
.panel .kbd {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  font-size: 10.5px;
  padding: 3px 8px;
  letter-spacing: .08em;
  font-weight: 500;
}
.panel--highlight {
  background: linear-gradient(145deg, rgba(238,144,2,.1), rgba(170,59,170,.06)) !important;
  border-color: rgba(238,144,2,.2) !important;
}

/* ---------- Migrations ---------- */
.migrations { background: var(--paper); padding: 96px 0; border-top: var(--rule); border-bottom: var(--rule); }
.migrations__head h2 { font-size: clamp(34px, 4vw, 44px); }
.migrations__grid { gap: 1px; background: rgba(26,21,19,.08); border: var(--rule); border-radius: 4px; overflow: hidden; }
.mig {
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 32px 32px 28px;
  gap: 16px;
  transition: background .25s ease;
}
.mig:hover { background: var(--paper); transform: none; box-shadow: none; }
.mig__num {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--ink-3);
}
.mig__badge {
  align-self: flex-start;
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid rgba(26,21,19,.15);
  font-size: 10.5px;
  padding: 3px 9px;
  letter-spacing: .06em;
  font-weight: 500;
}
.mig__badge--alt {
  background: var(--ink) !important;
  color: #fff !important;
  border-color: var(--ink);
}
.mig h3 {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.012em;
  line-height: 1.25;
}
.mig p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.mig__meta {
  padding-top: 16px;
  border-top: var(--rule);
  border-top-style: solid;
  gap: 7px;
}
.mig__meta li {
  font-size: 13px;
  color: var(--ink-2);
}
.mig__meta li::before {
  background: var(--ink) !important;
  width: 4px; height: 4px; top: 10px;
}

/* ---------- Method timeline ---------- */
.method { padding: 96px 0; background: #fff; }
.method__head h2 { font-size: clamp(34px, 4vw, 44px); }
.method__head { text-align: left; max-width: 720px; margin-bottom: 56px; }
.method__head .section-lede { margin: 14px 0 0; }

/* ---------- Case ---------- */
.case { padding: 96px 0; background: var(--paper); border-top: var(--rule); border-bottom: var(--rule); }
.case__card {
  background: #0f0c0b;
  border-radius: 8px;
  padding: 56px 48px;
}
.case__card::before { opacity: .5; }
.case__quote {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
}

/* ---------- Testimonials ---------- */
.testi { padding: 96px 0; background: #fff; }
.testi__grid { gap: 0; border-left: var(--rule); }

/* ---------- Footprint ---------- */
.footprint {
  background: #0f0c0b;
  padding: 96px 0;
}
.footprint h2 {
  font-size: clamp(34px, 4vw, 44px);
  color: #fff;
  font-weight: 600;
  letter-spacing: -.018em;
}
.footprint__grid { gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: 6px; overflow: hidden; }
.office {
  background: #13100f !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 28px 26px;
  transition: background .25s ease;
}
.office:hover { background: #1a1513 !important; transform: none; }
.office--alt { background: #13100f !important; }
.office__role {
  color: #ffd08a !important;
  font-size: 10.5px !important;
  letter-spacing: .18em !important;
  font-weight: 500 !important;
}
.office__city {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.015em;
}
.office__country {
  color: rgba(255,255,255,.5);
  font-size: 12.5px;
}
.office p { font-size: 13.5px; color: rgba(255,255,255,.7); }
.office__addr {
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
}

.footprint__strip {
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 18px 24px;
}
.footprint__strip span {
  font-size: 10.5px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.5);
}
.footprint__strip strong {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,.8);
  letter-spacing: 0;
}

/* ---------- CTA card ---------- */
.cta { padding: 96px 0; background: #fff; }
.cta__card {
  background: var(--ink);
  border-radius: 8px;
  padding: 64px 56px;
}
.cta__card h2 {
  font-size: clamp(32px, 3.6vw, 40px);
  color: #fff;
  font-weight: 600;
  letter-spacing: -.018em;
}
.cta__card p { color: rgba(255,255,255,.7); font-size: 16px; }

/* ---------- Footer ---------- */
.ftr { background: #0a0807; padding: 72px 0 36px; }
.ftr__brand {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.ftr p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.65; }
.ftr h5 {
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ftr ul a { color: rgba(255,255,255,.75); font-size: 13.5px; }
.ftr ul a:hover { color: #fff; }
.ftr__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.ftr__bottom a {
  color: rgba(255,255,255,.6);
  font-size: 12px;
  margin-left: 16px;
}
.ftr__bottom a:hover { color: #fff; }

/* ---------- Insights ---------- */
.insights { padding: 96px 0; background: var(--paper); border-top: var(--rule); }
.insights__head h2 { font-size: clamp(34px, 4vw, 44px); }
.insights article {
  background: #fff;
  border: var(--rule);
  border-radius: 6px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.insights article:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

/* ---------- Container ---------- */
.container { max-width: 1240px; padding-left: 28px; padding-right: 28px; }

@media (max-width: 1024px) {
  .exp-row { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .testi__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .exp-row { grid-template-columns: 1fr; }
  .hero__trust { gap: 20px; }
  .cta__card { padding: 40px 28px; }
  .case__card { padding: 40px 28px; }
  .container { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   Mobile hero — kill the noisy network canvas + labels.
   On phones the canvas labels overlap the headline. Replace with
   a clean gradient backdrop and tighter type.
   ============================================================ */
/* Dark mode hero — soften the canvas so it doesn't fight the headline */
html[data-theme="dark"] .hero--stage {
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(193,38,140,.18), transparent 65%),
    radial-gradient(800px 450px at 15% 90%, rgba(238,144,2,.12), transparent 65%),
    #060504 !important;
}
/* Dark hero — full-strength network with light vignette only at edges */
html[data-theme="dark"] .hero__canvas {
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: brightness(1.25) saturate(1.15);
}
html[data-theme="dark"] .hero__vignette {
  background:
    radial-gradient(80% 80% at 50% 50%, transparent 35%, rgba(6,5,4,.45) 75%, rgba(6,5,4,.85) 100%),
    linear-gradient(180deg, transparent 70%, rgba(6,5,4,.95) 100%) !important;
}
/* Hero H1 centering safety — applies only to non-split centered heroes */
html[data-theme="dark"] .hero__stage:not(.hero__grid) { text-align: center; }
html[data-theme="dark"] .hero__stage:not(.hero__grid) h1 { text-align: center; margin-left: auto; margin-right: auto; }
html[data-theme="dark"] .hero--split .hero__cta { justify-content: flex-start !important; }
html[data-theme="dark"] .hero h1 { color: #f5efe8 !important; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
html[data-theme="dark"] .hero__lede { color: #d6cfc8 !important; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
html[data-theme="dark"] .hero__stage .eyebrow { color: #c4bbb3 !important; }

/* Hero lede swap — long copy on desktop, one-liner on mobile.
   The two spans are inside .hero__lede; we toggle them at 768px. */
.hero__lede-short { display: none; }
@media (max-width: 768px) {
  .hero__lede-long { display: none; }
  .hero__lede-short { display: inline; }
}

/* ============================================================
   FAQ — accordion with hex-accented summary
   ============================================================ */
.faq { padding: 96px 0; background: #fff; }
.faq__head { max-width: 760px; margin-bottom: 48px; }
.faq__head h2 { font-size: clamp(34px, 4vw, 44px); margin: 12px 0 14px; }
.faq__head .section-lede { font-size: 17px; line-height: 1.65; color: var(--ink-2, #3d332f); margin: 0; }
.faq__head a { color: var(--ekb-orange, #ee9002); text-decoration: underline; text-underline-offset: 3px; }

.faq__list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(26,21,19,.08);
  border-bottom: 1px solid rgba(26,21,19,.08);
}
.faq__item {
  border-bottom: 1px solid rgba(26,21,19,.08);
  transition: background .2s ease;
}
.faq__item:last-child { border-bottom: none; }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px 24px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  position: relative;
  user-select: none;
  transition: background .2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "";
  position: absolute;
  left: 22px; top: 50%;
  width: 18px; height: 21px;
  transform: translateY(-50%);
  clip-path: var(--hex-clip, polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%));
  background: linear-gradient(135deg, #fdb813, #f26722);
  transition: transform .3s ease, background .3s ease;
}
.faq__item[open] summary::before {
  background: linear-gradient(135deg, #c1268c, #7e3fbf);
  transform: translateY(-50%) rotate(60deg);
}
.faq__item:hover summary { background: rgba(253,184,19,.05); }
.faq__q {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--fg-heading, #1a1513);
  line-height: 1.4;
}
.faq__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(26,21,19,.04);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--ink-2, #3d332f);
  transition: transform .3s cubic-bezier(.32,.72,0,1), background .25s ease, color .25s ease;
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, #fdb813, #f26722);
  color: #fff;
}
.faq__a {
  padding: 0 28px 26px 56px;
  animation: faq-slide .35s cubic-bezier(.32,.72,0,1) both;
}
.faq__a p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2, #3d332f);
  margin: 0;
  max-width: 760px;
}
@keyframes faq-slide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq__foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  margin-top: 36px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(253,184,19,.06), rgba(193,38,140,.04));
  border: 1px solid rgba(26,21,19,.06);
  border-radius: 14px;
}
.faq__foot span {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-heading, #1a1513);
}

/* Dark mode for FAQ */
html[data-theme="dark"] .faq { background: var(--bg, #0e0c0b); }
html[data-theme="dark"] .faq__list,
html[data-theme="dark"] .faq__item { border-color: rgba(245,239,232,.10); }
html[data-theme="dark"] .faq__item:hover summary { background: rgba(253,184,19,.04); }
html[data-theme="dark"] .faq__q { color: var(--fg-heading) !important; }
html[data-theme="dark"] .faq__a p { color: var(--fg) !important; }
html[data-theme="dark"] .faq__icon { background: rgba(245,239,232,.06); color: var(--fg-muted); }
html[data-theme="dark"] .faq__foot {
  background: linear-gradient(135deg, rgba(253,184,19,.08), rgba(193,38,140,.06));
  border-color: rgba(245,239,232,.10);
}
html[data-theme="dark"] .faq__foot span { color: var(--fg-heading) !important; }

@media (max-width: 640px) {
  .faq { padding: 64px 0; }
  .faq__item summary { padding: 18px 16px 18px 48px; gap: 16px; }
  .faq__item summary::before { left: 16px; }
  .faq__q { font-size: 16px; }
  .faq__a { padding: 0 16px 22px 48px; }
  .faq__a p { font-size: 15px; }
  .faq__foot { padding: 18px 20px; }
  .faq__foot .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   READABILITY — global muted-text contrast bump (audit fix)
   Many .fg-muted uses on body-size text were too low contrast.
   Push neutral copy darker by ~10% across the site.
   ============================================================ */
:root {
  --ink-2: #2a2018;
  --ink-3: #5a4f47;
  --fg-muted: #5a4f47;
}
.section-lede, .post p, .testi__card p, .mig p, .step p, .svc p,
.ind-card p, .panel p, .office p, .careers-pillar p {
  color: var(--ink-2);
}
html[data-theme="dark"] {
  /* Already handled in dark.css token block */
}
   Audit fix: better hierarchy, balanced ratio, no overlap.
   ============================================================ */
.hero--split { padding: 0; min-height: auto; display: block; }
.hero--split .hero__bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 600px at 95% 5%, rgba(193,38,140,.10), transparent 60%),
    radial-gradient(800px 500px at 5% 95%, rgba(238,144,2,.10), transparent 60%),
    linear-gradient(180deg, #faf7f4 0%, #ffffff 100%);
}
.hero--split.hero--stage { background: transparent !important; min-height: auto !important; }
.hero--split.hero--stage::before { display: none !important; }
.hero--split .hero__vignette { display: none !important; }
.hero--split .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 88px 28px 96px !important;
  text-align: left !important;
  max-width: 1280px !important;
  position: relative; z-index: 1;
}
.hero--split .hero__copy { max-width: 620px; }
.hero--split .hero__copy .eyebrow {
  justify-content: flex-start !important;
  margin-bottom: 18px;
}
.hero--split .hero__copy h1 {
  text-align: left !important;
  margin: 0 0 22px !important;
  max-width: none !important;
  font-size: clamp(40px, 4.4vw, 60px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.025em !important;
}
.hero--split .hero__lede {
  text-align: left !important;
  margin: 0 0 32px !important;
  max-width: 560px !important;
  color: #2a2018 !important;
  font-size: 18.5px !important;
  line-height: 1.6 !important;
}
.hero--split .hero__cta {
  justify-content: flex-start !important;
  gap: 12px !important;
  margin-bottom: 36px !important;
}
/* Trust signals row — small icons + labels under CTAs */
.hero__trust-row {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 40px;
  border-top: 1px solid rgba(26,21,19,.08);
  padding-top: 22px;
}
@media (min-width: 900px) {
  .hero__trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hero__trust-row li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  font-family: var(--font-nav);
  font-size: 13px; font-weight: 400; letter-spacing: .01em;
  color: var(--ink-2, #2a2018); text-transform: none;
  line-height: 1.5;
  min-width: 0;
}
.hero__trust-row li strong {
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-heading, #1a1513);
  display: block; white-space: nowrap;
  margin-bottom: 4px;
  font-size: 12.5px;
}
.hero__trust-row li i {
  font-size: 22px;
  color: var(--ekb-orange, #ee9002);
  line-height: 1;
  margin-bottom: 2px;
}
.hero__trust-row li span { display: block; max-width: 220px; }
.hero__trust-row i {
  font-size: 15px;
  color: var(--ekb-orange, #ee9002);
}

/* Visual column — network canvas blends into the page; no card frame */
.hero--split .hero__visual {
  position: relative;
  width: 130%;
  aspect-ratio: 1 / 1;
  max-width: 900px;
  margin-inline: auto;
  margin-top: -180px;
  margin-left: -120px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  /* Soft radial fade so the network dissolves into the page bg.
     Strongest in the center, gone by the edges. */
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 55% 50%, #000 35%, rgba(0,0,0,.85) 55%, rgba(0,0,0,.4) 78%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse 75% 75% at 55% 50%, #000 35%, rgba(0,0,0,.85) 55%, rgba(0,0,0,.4) 78%, rgba(0,0,0,0) 100%);
}
.hero--split .hero__visual-glow { display: none; }
.hero--split .hero__canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block;
}
/* Override the legacy fullscreen canvas rule from styles.css */
.hero--split .hero__visual > .hero__canvas {
  position: absolute !important;
  inset: 0 !important;
}
.hero--split .hero__visual-glow {
  position: absolute; inset: -2px; pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, transparent 55%, rgba(250,247,244,.7) 90%);
}

/* Dark mode for split hero */
html[data-theme="dark"] .hero--split .hero__bg {
  background:
    radial-gradient(900px 600px at 95% 5%, rgba(193,38,140,.22), transparent 60%),
    radial-gradient(800px 500px at 5% 95%, rgba(238,144,2,.16), transparent 60%),
    linear-gradient(180deg, #0e0c0b 0%, #060504 100%);
}
html[data-theme="dark"] .hero--split .hero__visual {
  background: transparent;
  border: 0;
  box-shadow: none;
}
html[data-theme="dark"] .hero--split .hero__visual-glow { display: none; }
html[data-theme="dark"] .hero--split .hero__lede { color: #c4bbb3 !important; text-shadow: none !important; }
html[data-theme="dark"] .hero--split .hero__copy h1 { text-shadow: none !important; }
html[data-theme="dark"] .hero__trust-row { border-top-color: rgba(245,239,232,.10); }
html[data-theme="dark"] .hero__trust-row li { color: #9d928a; }
html[data-theme="dark"] .hero__trust-row i { color: #ffd08a; }

/* Tablet — keep split but tighter */
@media (max-width: 1100px) {
  .hero--split { position: relative; }
  .hero--split .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 64px 24px 72px !important;
    position: relative;
    z-index: 2;
  }
  /* Visual becomes a full-bleed background layer behind the copy */
  .hero--split .hero__visual {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    z-index: 0 !important;
    pointer-events: none;
    opacity: .55;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 30%, rgba(0,0,0,.65) 60%, rgba(0,0,0,.2) 85%, rgba(0,0,0,0) 100%) !important;
            mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 30%, rgba(0,0,0,.65) 60%, rgba(0,0,0,.2) 85%, rgba(0,0,0,0) 100%) !important;
  }
  .hero--split .hero__copy { order: 1; max-width: 720px; position: relative; z-index: 2; }
  .hero--split .hero__copy h1 { font-size: clamp(36px, 6vw, 52px) !important; }
}

/* Mobile — visual smaller */
@media (max-width: 640px) {
  .hero--split .hero__grid {
    padding: 48px 20px 56px !important;
    gap: 28px;
  }
  .hero--split .hero__visual { opacity: .42 !important; }
  .hero--split .hero__copy h1 { font-size: clamp(30px, 8vw, 40px) !important; }
  .hero--split .hero__lede { font-size: 16.5px !important; }
  .hero--split .hero__cta { flex-direction: column; align-items: stretch; }
  .hero--split .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__trust-row { gap: 12px; }
  .hero__trust-row li { font-size: 11.5px; }
}

@media (max-width: 768px) {
  /* Keep the network animation on phones, but tone it down so the headline reads clean.
     The JS also auto-hides labels at this width — see hero-network.js. */
  .hero__canvas { opacity: .55; }
  /* Lift the soft vignette so the gradient backdrop reads clean */
  .hero__vignette {
    background:
      radial-gradient(70% 60% at 50% 30%, rgba(170,59,170,.10), transparent 70%),
      radial-gradient(70% 60% at 50% 95%, rgba(238,144,2,.10), transparent 70%) !important;
  }
  /* Tighter hero spacing + type so the eyebrow/H1/lede breathe */
  .hero--stage { min-height: 0; }
  .hero__stage {
    padding: 56px 20px 64px !important;
  }
  .hero__stage .eyebrow {
    font-size: 11px;
    letter-spacing: .14em;
  }
  .hero h1 {
    font-size: clamp(34px, 8.5vw, 44px) !important;
    line-height: 1.08 !important;
    margin: 14px 0 16px !important;
  }
  .hero__lede {
    font-size: 16px !important;
    line-height: 1.55 !important;
    max-width: 540px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 24px;
  }
  .hero__cta .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }
}
