/* =========================================================
   Black Swan Strategic Consulting — Design System
   Dark & Premium theme (black + gold)
   ========================================================= */

:root {
  --black:        #08080a;
  --black-2:      #0d0d10;
  --panel:        #121216;
  --panel-2:      #17171c;
  --line:         rgba(201, 162, 75, 0.16);
  --line-soft:    rgba(255, 255, 255, 0.07);

  --gold:         #3b82f6;
  --gold-2:       #93c5fd;
  --gold-grad:    linear-gradient(135deg, #93c5fd 0%, #3b82f6 45%, #1d4ed8 100%);

  --text:         #ececef;
  --muted:        #a2a2ac;
  --muted-2:      #74747e;

  --maxw:         1180px;
  --radius:       16px;
  --radius-sm:    10px;
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);

  --font-head:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Ambient background glow ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 80% -5%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(59,130,246,0.06), transparent 55%),
    var(--black);
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.text-gold { color: var(--gold-2); }
.gradient-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold {
  background: var(--gold-grad);
  color: #ffffff;
  box-shadow: 0 10px 30px -10px rgba(59,130,246,0.5);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(59,130,246,0.6); }
.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8,8,10,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-size: 1.18rem; font-weight: 600; letter-spacing: 0.01em; }
.brand__sub { font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-size: 15px; font-weight: 500; color: var(--muted);
  position: relative; transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--text); }
.nav__links a.active::after, .nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 16px; }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s var(--ease); border-radius: 2px; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 200px 0 130px; overflow: hidden; }
.hero__inner { max-width: 880px; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { max-width: 620px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__swan {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: min(620px, 48vw); opacity: 0.14; z-index: -1; pointer-events: none;
  filter: drop-shadow(0 0 60px rgba(59,130,246,0.25));
}
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 48px; margin-top: 72px;
  padding-top: 44px; border-top: 1px solid var(--line-soft);
}
.stat__num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; }
.stat__label { font-size: 13.5px; color: var(--muted); letter-spacing: 0.04em; margin-top: 4px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--black-2) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 38px 34px;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(400px 180px at 50% -20%, rgba(59,130,246,0.12), transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.card:hover::after { opacity: 1; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(59,130,246,0.10); border: 1px solid var(--line);
  color: var(--gold-2);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card__num {
  position: absolute; top: 26px; right: 30px;
  font-family: var(--font-head); font-size: 2.4rem; color: rgba(59,130,246,0.22); font-weight: 600;
}

/* ---------- Section heading block ---------- */
.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--muted); margin-top: 18px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split__media {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-2), var(--black-2));
  aspect-ratio: 4/3; display: grid; place-items: center; position: relative; overflow: hidden;
}
.split__media svg { width: 55%; opacity: 0.9; }
.check-list { margin-top: 26px; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--gold-2); margin-top: 1px; }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 0; margin-top: 30px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 26px;
  padding: 30px 0; border-top: 1px solid var(--line-soft); align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line-soft); }
.step__num {
  font-family: var(--font-head); font-size: 1.5rem; color: var(--gold-2);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(59,130,246,0.06);
}
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Team ---------- */
.member { text-align: left; }
.member__avatar {
  width: 84px; height: 84px; border-radius: 50%; margin-bottom: 20px;
  display: grid; place-items: center; font-family: var(--font-head); font-size: 1.7rem;
  color: var(--gold-2); background: rgba(59,130,246,0.10); border: 1px solid var(--line);
}
.member h3 { font-size: 1.3rem; }
.member .role { color: var(--gold-2); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 6px 0 14px; }
.member p { color: var(--muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 24px; padding: 70px 50px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #16130b 0%, #0d0d10 60%);
  border: 1px solid var(--line);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 240px at 50% 0%, rgba(59,130,246,0.16), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 34px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.info-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.info-row:first-child { padding-top: 0; }
.info-row__icon { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(59,130,246,0.08); border: 1px solid var(--line); color: var(--gold-2); }
.info-row__icon svg { width: 20px; height: 20px; }
.info-row h4 { font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); font-weight: 600; margin-bottom: 4px; }
.info-row a, .info-row p { color: var(--text); font-size: 16px; }
.info-row a:hover { color: var(--gold-2); }

form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; font-family: var(--font-body); font-size: 15.5px;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  color: var(--text); transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(59,130,246,0.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--muted-2); }
.form-status { font-size: 14.5px; padding: 12px 16px; border-radius: 10px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(59,130,246,0.12); border: 1px solid var(--line); color: var(--gold-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 70px 0 34px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.site-footer .brand { margin-bottom: 20px; }
.footer-about p { color: var(--muted); font-size: 15px; max-width: 320px; }
.footer-col h4 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
.footer-col a { display: block; color: var(--muted); font-size: 15px; padding: 6px 0; transition: color .3s; }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 30px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.footer-bottom p { color: var(--muted-2); font-size: 13.5px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-soft); color: var(--muted); transition: .3s var(--ease); }
.socials a:hover { color: var(--gold-2); border-color: var(--gold); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 180px 0 70px; position: relative; }
.page-hero .lead { max-width: 640px; }
.breadcrumb { font-size: 13.5px; color: var(--muted-2); margin-bottom: 26px; letter-spacing: 0.02em; }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb span { color: var(--gold-2); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__swan { opacity: 0.08; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,8,10,0.97); backdrop-filter: blur(14px); padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav.open .nav__links a { padding: 12px 0; font-size: 17px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 90px; }
  .hero__stats { gap: 32px; }
  .cta-band { padding: 50px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Header logo scroll color-shift (gold ⇄ white) ---------- */
.brand__mark--shift { position: relative; display: inline-block; width: 38px; height: 38px; flex: none; }
.brand__mark--shift img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__mark--shift .swan-white { opacity: 0; will-change: opacity; }

/* ---------- Careers / job listings ---------- */
.job { padding: 40px 38px; }
.job__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.job__head h3 { font-size: 1.55rem; }
.job__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job__tags span { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-2); border: 1px solid var(--line); background: rgba(59,130,246,0.06); padding: 6px 12px; border-radius: 999px; }
.job > p { color: var(--muted); font-size: 16px; }
.job__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 28px 0 30px; }
.job__cols h4 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.job__cols .check-list { margin-top: 0; }
@media (max-width: 720px) { .job { padding: 32px 24px; } .job__cols { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Clients & Partners logo wall ---------- */
.logos-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logo-chip {
  flex: 0 1 calc(25% - 12px); max-width: calc(25% - 12px);
  border-radius: 14px; height: 116px; display: grid; place-items: center; padding: 20px 24px;
  border: 1px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.logo-chip img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; }
.logo-chip--dp img { max-height: 60px; }
.logo-chip--light { background: #ffffff; border-color: rgba(20,20,25,0.10); }
.logo-chip--dark  { background: #141419; border-color: rgba(255,255,255,0.10); }
.logo-chip:hover { transform: translateY(-4px); box-shadow: 0 18px 42px -22px rgba(0,0,0,0.55); }
@media (max-width: 960px) { .logo-chip { flex-basis: calc(50% - 8px); max-width: calc(50% - 8px); } }
@media (max-width: 560px) { .logo-chip { height: 100px; } }

/* ---------- Start-a-Conversation Q&A wizard ---------- */
.wizard { max-width: 760px; margin: 0 auto; background: linear-gradient(180deg, var(--panel), var(--black-2)); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 42px; }
.wz-progress { height: 4px; background: rgba(255,255,255,0.07); border-radius: 99px; overflow: hidden; margin-bottom: 32px; }
.wz-progress__bar { height: 100%; width: 20%; background: var(--gold-grad); transition: width .4s var(--ease); }
.wz-step { display: none; }
.wz-step.active { display: block; animation: wzIn .4s var(--ease); }
@keyframes wzIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }
.wz-q { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 6px; }
.wz-hint { color: var(--muted); margin-bottom: 26px; font-size: 15px; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt { text-align: left; padding: 18px 20px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: rgba(255,255,255,0.02); color: var(--text); cursor: pointer; font-family: var(--font-body); font-size: 15.5px; font-weight: 500; transition: border-color .3s, transform .3s var(--ease), background .3s; display: flex; align-items: center; gap: 12px; }
.opt:hover { border-color: var(--gold); transform: translateY(-2px); }
.opt.selected { border-color: var(--gold); background: rgba(59,130,246,0.10); color: var(--gold-2); }
.opt__dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; }
.opt.selected .opt__dot { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px var(--black-2); }
.wz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 16px; }
.wz-back { background: none; border: none; color: var(--muted); cursor: pointer; font-family: var(--font-body); font-size: 15px; padding: 8px 4px; }
.wz-back:hover { color: var(--text); }
.wz-back[hidden] { visibility: hidden; }
.wz-rec { border: 1px solid var(--line); background: rgba(59,130,246,0.06); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 24px; }
.wz-rec span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.wz-rec strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--gold-2); margin-top: 4px; }
.wz-success { text-align: center; padding: 16px 0; }
.wz-success__icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: rgba(59,130,246,0.12); border: 1px solid var(--line); color: var(--gold-2); }
.wz-success__icon svg { width: 30px; height: 30px; }
@media (max-width: 620px) { .wizard { padding: 28px 20px; } .opt-grid { grid-template-columns: 1fr; } }

/* ---------- Case studies ---------- */
.case { border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, var(--panel), var(--black-2)); margin-bottom: 26px; transition: border-color .4s var(--ease); }
.case:hover { border-color: var(--line); }
.case__head { padding: 30px 36px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.case__head h3 { font-size: 1.5rem; }
.case__tag { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); border: 1px solid var(--line); background: rgba(59,130,246,0.06); padding: 6px 12px; border-radius: 999px; }
.case__body { padding: 32px 36px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.case__body h4 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.case__body p { color: var(--muted); font-size: 15px; }
.case__metrics { display: flex; gap: 44px; padding: 26px 36px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.case__metric .n { font-family: var(--font-head); font-size: 2.1rem; }
.case__metric .l { font-size: 13px; color: var(--muted); margin-top: 2px; }
@media (max-width: 760px) { .case__head, .case__body, .case__metrics { padding-left: 24px; padding-right: 24px; } .case__body { grid-template-columns: 1fr; gap: 22px; } }

/* =========================================================
   THEME ENRICHMENT
   ========================================================= */

/* Richer ambient background + subtle dot texture */
body::before {
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(147,197,253,0.14), transparent 60%),
    radial-gradient(760px 520px at -5% 105%, rgba(59,130,246,0.08), transparent 55%),
    radial-gradient(620px 620px at 108% 55%, rgba(30,64,175,0.07), transparent 60%),
    var(--black);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
  opacity: .6;
}

/* Animated hero visual (replaces static swan) */
.hero__visual { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(64px); }
.hero__orb--1 { width: 540px; height: 540px; right: -120px; top: -90px;
  background: radial-gradient(circle at 32% 30%, rgba(147,197,253,0.55), rgba(59,130,246,0.16) 46%, transparent 72%);
  animation: floatA 15s ease-in-out infinite; }
.hero__orb--2 { width: 440px; height: 440px; right: 140px; bottom: -160px;
  background: radial-gradient(circle at 50% 50%, rgba(37,99,235,0.42), transparent 70%);
  animation: floatB 19s ease-in-out infinite; }
.hero__ring { position: absolute; right: 40px; top: 50%; width: min(600px, 46vw); aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 18%, rgba(147,197,253,0.22) 38%, transparent 58% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  animation: spinRing 30s linear infinite; opacity: .7; }
@keyframes floatA { 0%,100% { transform: translate(0,0);} 50% { transform: translate(-34px,28px);} }
@keyframes floatB { 0%,100% { transform: translate(0,0);} 50% { transform: translate(26px,-22px);} }
@keyframes spinRing { to { transform: translateY(-50%) rotate(360deg);} }
@media (max-width: 720px) { .hero__ring { opacity: .4; } .hero__orb { filter: blur(48px); } }

/* Shimmering gold headings */
.gradient-text {
  background: linear-gradient(100deg, #93c5fd 0%, #dbeafe 22%, #3b82f6 48%, #93c5fd 72%, #1d4ed8 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmerText 9s linear infinite;
}
@keyframes shimmerText { to { background-position: 220% center; } }

/* Cards: animated top accent line */
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease); border-radius: var(--radius) var(--radius) 0 0; z-index: 1;
}
.card:hover::before { transform: scaleX(1); }

/* Gold buttons: shine sweep on hover */
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn--gold:hover::after { left: 140%; transition: left .75s var(--ease); }

/* Feature/icon panels: glow + gentle float */
.split__media { position: relative; overflow: hidden; }
.split__media::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(59,130,246,0.14), transparent 62%);
}
.split__media svg { position: relative; animation: floatIcon 7s ease-in-out infinite; }
@keyframes floatIcon { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

/* Eyebrow: soft glow dot before the line */
.eyebrow::before { box-shadow: 0 0 10px rgba(59,130,246,0.7); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: var(--gold-grad); box-shadow: 0 0 14px rgba(59,130,246,0.7);
  transition: width .08s linear;
}

/* Section-head accent underline on the H2 */
.section-head h2 { position: relative; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__orb, .hero__ring, .gradient-text, .split__media svg { animation: none !important; }
}

/* =========================================================
   LIGHT THEME
   ========================================================= */
html[data-theme="light"] {
  --black: #f5f4ef; --black-2: #eeece4; --panel: #ffffff; --panel-2: #f4f2ea;
  --text: #191a1f; --muted: #565761; --muted-2: #8a8b95;
  --gold: #2563eb; --gold-2: #2563eb;
  --line: rgba(37,99,235,0.28); --line-soft: rgba(20,20,25,0.10);
}
html[data-theme="light"] body::before {
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(59,130,246,0.18), transparent 60%),
    radial-gradient(760px 520px at -5% 105%, rgba(59,130,246,0.10), transparent 55%),
    var(--black);
}
html[data-theme="light"] body::after { background-image: radial-gradient(rgba(20,20,25,0.05) 1px, transparent 1px); opacity: .5; }
html[data-theme="light"] .site-header.scrolled { background: rgba(248,247,242,0.86); }
/* client logo tiles are fixed per-logo in both themes */
html[data-theme="light"] .brand__mark--shift .swan-white { display: none; }
html[data-theme="light"] .card { box-shadow: 0 22px 50px -34px rgba(20,20,25,0.30); }
html[data-theme="light"] .btn--ghost { background: rgba(20,20,25,0.02); }
html[data-theme="light"] .opt, html[data-theme="light"] .wz-progress { background: rgba(20,20,25,0.03); }

/* Theme toggle button */
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,0.02);
  color: var(--text); cursor: pointer; display: grid; place-items: center;
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .ic-sun { display: none; }
html[data-theme="light"] .theme-toggle .ic-sun { display: block; }
html[data-theme="light"] .theme-toggle .ic-moon { display: none; }

/* =========================================================
   MUTATING SERVICE-ICON CURSOR (desktop only)
   ========================================================= */
.svc-cursor {
  position: fixed; top: 0; left: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; pointer-events: none; z-index: 300; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(59,130,246,0.10);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  color: var(--gold-2); opacity: 0; transition: opacity .35s ease;
}
.svc-cursor.on { opacity: 1; }
.svc-cursor svg { width: 19px; height: 19px; transition: opacity .2s ease, transform .2s ease; }
.svc-cursor.swap svg { opacity: 0; transform: scale(.5) rotate(-30deg); }
@media (hover: none), (max-width: 720px) { .svc-cursor { display: none; } }

/* =========================================================
   ✦ REDESIGN v2 — "Out of this world" cosmic system
   (overrides; structure unchanged)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --font-head: 'Space Grotesk', 'Inter', sans-serif;
  --radius: 22px; --radius-sm: 14px;
  --gold:   #7d8cff;   /* periwinkle primary */
  --gold-2: #b9a7ff;   /* light violet for accent text */
  --gold-grad: linear-gradient(120deg, #5b8cff 0%, #8f6bff 52%, #c56bff 100%);
  --line: rgba(150,150,255,0.20);
  --line-soft: rgba(255,255,255,0.08);
  --black: #06060f; --black-2: #0b0b18; --panel: #10101e; --panel-2: #141426;
  --text: #eceefb; --muted: #9698b6; --muted-2: #66677f;
}

/* Cosmic ambient background: blue + violet aurora, fine grid */
body::before {
  background:
    radial-gradient(820px 560px at 78% -8%, rgba(120,110,255,0.20), transparent 60%),
    radial-gradient(760px 560px at 5% 108%, rgba(70,130,255,0.14), transparent 58%),
    radial-gradient(680px 620px at 108% 60%, rgba(200,100,255,0.12), transparent 60%),
    var(--black);
}
body::after {
  background-image:
    linear-gradient(rgba(150,150,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150,150,255,0.045) 1px, transparent 1px);
  background-size: 58px 58px, 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 20%, #000 20%, transparent 95%);
  mask-image: radial-gradient(ellipse 100% 80% at 50% 20%, #000 20%, transparent 95%);
  opacity: .7;
}

/* Type: modern grotesk, tighter */
h1, h2, h3, h4 { letter-spacing: -0.02em; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); font-weight: 600; line-height: 1.03; }
h2 { font-weight: 600; }
.eyebrow { letter-spacing: 0.26em; font-size: 12px; }
.brand__name { font-family: var(--font-head); letter-spacing: -0.01em; }

/* Floating glass nav capsule (Forward.digital style) */
.site-header { padding: 18px 0; border-bottom: none !important; }
.site-header, .site-header.scrolled { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.site-header .container { max-width: 1220px; }
.nav {
  background: rgba(16,16,32,0.55); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.09); border-radius: 999px;
  padding: 10px 12px 10px 22px; box-shadow: 0 16px 50px -24px rgba(0,0,0,0.8);
}
.site-header.scrolled { padding: 12px 0; }
.nav__links a { font-size: 14.5px; }

/* Buttons: gradient + glow, glass ghost */
.btn { border-radius: 999px; font-weight: 600; }
.btn--gold { background: var(--gold-grad); color: #fff; box-shadow: 0 14px 40px -14px rgba(120,110,255,0.6); }
.btn--gold:hover { box-shadow: 0 20px 50px -14px rgba(150,110,255,0.7); }
.btn--ghost { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Glassmorphism cards */
.card {
  background: rgba(255,255,255,0.035); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.09); border-radius: 22px;
}
.card::after { background: radial-gradient(460px 220px at 50% -20%, rgba(130,110,255,0.16), transparent 70%); }
.card:hover { border-color: rgba(150,140,255,0.35); box-shadow: 0 40px 80px -40px rgba(80,60,180,0.6); }
.card__icon { background: linear-gradient(135deg, rgba(91,140,255,0.18), rgba(197,107,255,0.14)); border-color: rgba(150,140,255,0.30); color: #c9b8ff; border-radius: 16px; }

/* Feature/icon panels → glass with aurora */
.split__media { background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(120,110,255,0.06)); border: 1px solid rgba(255,255,255,0.09); border-radius: 24px; }
.split__media::before { background: radial-gradient(circle at 50% 40%, rgba(150,110,255,0.20), transparent 62%); }
.split__media svg { stroke: #b9a7ff !important; }

/* Hero: animated canvas holder */
.hero { padding-top: 210px; }
.hero__visual { z-index: -1; }
.hero__orb, .hero__ring { display: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero .lead, .lead { color: var(--muted); }
.stat__num { font-family: var(--font-head); font-weight: 600; }

/* Gradient text → blue-violet */
.gradient-text { background: linear-gradient(110deg, #7fa8ff 0%, #c9b6ff 40%, #6d8bff 70%, #c56bff 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Eyebrow accent line → gradient */
.eyebrow::before { background: var(--gold-grad); box-shadow: 0 0 12px rgba(140,110,255,0.8); }

/* Cta band → cosmic */
.cta-band { background: linear-gradient(140deg, rgba(90,80,200,0.18), rgba(10,10,25,0.4)); border: 1px solid rgba(150,140,255,0.22); border-radius: 28px; }
.cta-band::before { background: radial-gradient(560px 260px at 50% 0%, rgba(140,110,255,0.28), transparent 70%); }

/* Case / job / wizard glass */
.case, .job, .wizard { background: rgba(255,255,255,0.035); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.09); }
.case__tag, .job__tags span { border-color: rgba(150,140,255,0.30); color: #c9b8ff; background: rgba(120,110,255,0.10); }
.opt.selected { background: rgba(120,110,255,0.14); border-color: var(--gold); color: #d9cfff; }
.wz-rec { background: rgba(120,110,255,0.10); border-color: rgba(150,140,255,0.30); }

/* Scroll progress + cursor glow already use --gold-grad/vars */
.svc-cursor { border-color: rgba(150,140,255,0.4); background: rgba(120,110,255,0.12); color: #c9b8ff; }

/* ---------- LIGHT theme v2 (bright lavender) ---------- */
html[data-theme="light"] {
  --black: #f4f4fb; --black-2: #ececf7; --panel: #ffffff; --panel-2: #f3f2fb;
  --text: #17172a; --muted: #55566e; --muted-2: #8688a0;
  --gold: #5b5bef; --gold-2: #5b47e0;
  --line: rgba(90,90,220,0.24); --line-soft: rgba(30,30,60,0.10);
}
html[data-theme="light"] body::before {
  background:
    radial-gradient(820px 560px at 78% -8%, rgba(120,110,255,0.20), transparent 60%),
    radial-gradient(680px 560px at 5% 108%, rgba(150,90,255,0.12), transparent 58%),
    var(--black);
}
html[data-theme="light"] body::after { background-image: linear-gradient(rgba(60,60,140,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(60,60,140,0.05) 1px, transparent 1px); }
html[data-theme="light"] .nav { background: rgba(255,255,255,0.7); border-color: rgba(30,30,60,0.10); box-shadow: 0 16px 50px -26px rgba(60,50,140,0.4); }
html[data-theme="light"] .card, html[data-theme="light"] .case, html[data-theme="light"] .job, html[data-theme="light"] .wizard { background: rgba(255,255,255,0.75); border-color: rgba(30,30,60,0.10); }
html[data-theme="light"] .btn--gold { color: #fff; }
html[data-theme="light"] .card__icon { color: #5b47e0; }
html[data-theme="light"] .split__media svg { stroke: #6a5be6 !important; }

/* Hero floating card collage (Forward.digital style) */
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 720px; }
.hero__collage { position: absolute; top: 205px; right: 3%; width: min(400px, 34vw); z-index: 1; }
.hcard { background: rgba(255,255,255,0.055); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 20px 22px; box-shadow: 0 34px 70px -34px rgba(0,0,0,0.75); margin-bottom: 20px; }
.hcard--a { margin-left: 40px; animation: floatA 7s ease-in-out infinite; }
.hcard--b { margin-left: 0; animation: floatB 8.5s ease-in-out infinite; }
.hcard--c { margin-left: 74px; animation: floatA 9s ease-in-out infinite; }
.hcard__n { font-family: var(--font-head); font-size: 2rem; font-weight: 600; line-height: 1; }
.hcard__l { color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.hcard__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hcard__pills span { font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(150,140,255,0.30); background: rgba(120,110,255,0.12); color: #c9b8ff; }
.hcard__row { display: flex; align-items: center; gap: 14px; }
.hcard__spark { width: 74px; height: 34px; flex: none; }
html[data-theme="light"] .hcard { background: rgba(255,255,255,0.82); border-color: rgba(30,30,60,0.10); box-shadow: 0 34px 70px -40px rgba(60,50,140,0.5); }
html[data-theme="light"] .hcard__pills span { color: #5b47e0; }
@media (max-width: 1120px) { .hero__collage { display: none; } .hero__inner { max-width: 880px; } }

/* Orbital animation (About / Who We Are) */
.orbit { position: relative; width: 100%; height: 100%; min-height: 360px; display: grid; place-items: center; transform: rotateX(10deg); }
.orbit__glow { position: absolute; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(130,110,255,0.5), transparent 65%); filter: blur(24px); animation: pulseCore 5s ease-in-out infinite; }
.orbit__core { position: absolute; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #d7cbff, #6d8bff 46%, #8a4fff 82%); box-shadow: 0 0 44px rgba(130,110,255,0.85); animation: pulseCore 4s ease-in-out infinite; }
.orbit__ring { position: absolute; border: 1px solid rgba(150,140,255,0.22); border-radius: 50%; animation: spin linear infinite; }
.orbit__ring--1 { width: 148px; height: 148px; animation-duration: 13s; }
.orbit__ring--2 { width: 246px; height: 246px; animation-duration: 20s; animation-direction: reverse; border-color: rgba(150,140,255,0.16); }
.orbit__ring--3 { width: 344px; height: 344px; animation-duration: 30s; border-color: rgba(150,140,255,0.12); }
.orbit__ring i { position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #8fb0ff, #c56bff); box-shadow: 0 0 16px rgba(150,120,255,0.95); }
.orbit__ring i.d2 { top: auto; bottom: -5px; left: calc(50% - 5px); background: linear-gradient(135deg, #7fd0ff, #6d8bff); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseCore { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.14); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .orbit__ring, .orbit__core, .orbit__glow { animation: none !important; } }

/* Story "different path" animation (About / Who We Are) */
.journey { width: 100%; height: auto; max-width: 460px; overflow: visible; }
.j-flat { stroke: rgba(160,160,195,0.30); stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; fill: none; }
.j-rise { stroke: url(#jg); stroke-width: 2.6; stroke-linecap: round; fill: none; stroke-dasharray: 360; stroke-dashoffset: 360; animation: jdraw 3s ease forwards; }
.j-origin { fill: #8a8ab6; }
.j-star { fill: url(#jg); transform-box: fill-box; transform-origin: center; animation: starPulse 2.6s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(150,110,255,0.85)); }
.j-spark { filter: drop-shadow(0 0 9px rgba(180,200,255,0.95)); }
@keyframes jdraw { to { stroke-dashoffset: 0; } }
@keyframes starPulse { 0%,100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.16); } }

/* Animated process timeline (Our Approach / five steps) */
.steps--anim { position: relative; }
.steps--anim::before { content: ""; position: absolute; left: 27px; top: 46px; bottom: 46px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(120,110,255,0.55), rgba(197,107,255,0.4) 55%, rgba(120,110,255,0.05)); }
.steps--anim::after { content: ""; position: absolute; left: 24px; width: 8px; height: 8px; border-radius: 50%;
  background: #e8ecff; box-shadow: 0 0 16px 3px rgba(150,120,255,0.9); animation: flowDown 4.6s cubic-bezier(.6,.2,.3,1) infinite; }
@keyframes flowDown { 0% { top: 42px; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: calc(100% - 50px); opacity: 0; } }
.steps--anim .step__num { position: relative; z-index: 1; background: rgba(120,110,255,0.12); border-color: rgba(150,140,255,0.45); color: #c9b8ff; box-shadow: 0 0 0 6px rgba(120,110,255,0.05); }
.steps--anim .step { transition: transform .4s var(--ease); }
.steps--anim .step:hover { transform: translateX(6px); }
.steps--anim .step:hover .step__num { box-shadow: 0 0 22px rgba(140,110,255,0.6); }

@media (prefers-reduced-motion: reduce) {
  .j-rise { stroke-dashoffset: 0; animation: none; } .j-star, .j-spark { animation: none; }
  .steps--anim::after { display: none; }
}

/* ---------- Nav legibility over light content (e.g. white logo cards) ---------- */
.nav {
  background: rgba(10,10,22,0.82);
  box-shadow: 0 16px 50px -20px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.site-header.scrolled .nav { background: rgba(9,9,20,0.9); }
.nav__links a { color: rgba(233,233,247,0.9); text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.nav__links a:hover, .nav__links a.active { color: #fff; }
.brand__name, .brand__sub { text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
html[data-theme="light"] .nav { background: rgba(255,255,255,0.9); box-shadow: 0 16px 50px -22px rgba(60,50,140,0.45), inset 0 0 0 1px rgba(30,30,60,0.05); }
html[data-theme="light"] .site-header.scrolled .nav { background: rgba(255,255,255,0.95); }
html[data-theme="light"] .nav__links a { color: #33344a; text-shadow: none; }
html[data-theme="light"] .nav__links a:hover, html[data-theme="light"] .nav__links a.active { color: #17172a; }
html[data-theme="light"] .brand__name, html[data-theme="light"] .brand__sub { text-shadow: none; }

/* ---------- Contact section: "getting in touch" animation ---------- */
.split__media--contact { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.split__media--contact img { display: none; }
.contact-anim { position: relative; width: 280px; height: 280px; display: flex; align-items: center; justify-content: center; }
.ca-ring { position: absolute; top: 50%; left: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; border: 1.5px solid rgba(150,140,255,0.55); opacity: 0; transform: scale(.4); animation: caPing 3.8s ease-out infinite; }
.ca-ring:nth-child(2) { animation-delay: 1.27s; }
.ca-ring:nth-child(3) { animation-delay: 2.54s; }
@keyframes caPing { 0% { transform: scale(.4); opacity: 0; } 8% { opacity: .7; } 80% { opacity: 0; } 100% { transform: scale(2.7); opacity: 0; } }
.ca-orbit { position: absolute; top: 50%; left: 50%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; border: 1px dashed rgba(150,140,255,0.20); animation: caSpin 15s linear infinite; }
.ca-orbit--2 { width: 158px; height: 158px; margin: -79px 0 0 -79px; animation-duration: 9.5s; animation-direction: reverse; border-color: rgba(120,180,255,0.18); }
@keyframes caSpin { to { transform: rotate(360deg); } }
.ca-node { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: linear-gradient(135deg,#7fa8ff,#c56bff); box-shadow: 0 0 14px rgba(140,120,255,0.85); }
.ca-node--2 { top: -5px; width: 10px; height: 10px; margin-left: -5px; background: linear-gradient(135deg,#5b8cff,#8f7bff); box-shadow: 0 0 12px rgba(120,150,255,0.8); }
.ca-core { position: relative; width: 100px; height: 100px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 34%, rgba(130,110,255,0.38), rgba(28,20,66,0.55)); border: 1px solid rgba(150,140,255,0.42); box-shadow: 0 0 40px -6px rgba(120,100,255,0.6), inset 0 0 22px rgba(120,100,255,0.28); animation: caPulse 3.8s ease-in-out infinite; }
@keyframes caPulse { 0%,100% { box-shadow: 0 0 40px -8px rgba(120,100,255,0.5), inset 0 0 22px rgba(120,100,255,0.25); } 50% { box-shadow: 0 0 64px -2px rgba(150,120,255,0.85), inset 0 0 28px rgba(150,120,255,0.38); } }
.ca-core svg { width: 46px; height: 46px; }
.ca-core svg .ca-dot { fill: #d9cfff; animation: caBlink 1.5s infinite; }
.ca-core svg .ca-dot:nth-child(3) { animation-delay: .22s; }
.ca-core svg .ca-dot:nth-child(4) { animation-delay: .44s; }
@keyframes caBlink { 0%,60%,100% { opacity: .28; } 30% { opacity: 1; } }
html[data-theme="light"] .ca-core { background: radial-gradient(circle at 50% 34%, rgba(130,110,255,0.24), rgba(255,255,255,0.72)); border-color: rgba(90,70,220,0.30); }
html[data-theme="light"] .ca-core svg .ca-dot { fill: #6a5be6; }
html[data-theme="light"] .ca-ring { border-color: rgba(110,90,230,0.45); }
@media (prefers-reduced-motion: reduce) { .ca-ring, .ca-orbit, .ca-core, .ca-dot { animation: none !important; } .ca-ring { opacity: .5; } }

.split__media--contact .ca-core svg .ca-dot { stroke: none !important; }

/* ============ CASE STUDIES v2 ============ */
.cs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.cs-stat { border-left: 2px solid rgba(150,140,255,0.35); padding-left: 16px; }
.cs-stat__n { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; }
.cs-stat__l { display: block; color: var(--muted); font-size: 13px; margin-top: 8px; max-width: 200px; }

.cs-wrap { display: flex; flex-direction: column; gap: 34px; }
.cs { background: rgba(255,255,255,0.035); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.09); border-radius: 26px; padding: 40px; position: relative; overflow: hidden; }
.cs::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 260px at 12% -10%, rgba(130,110,255,0.12), transparent 66%); pointer-events: none; }
.cs:hover { border-color: rgba(150,140,255,0.28); box-shadow: 0 50px 90px -50px rgba(80,60,180,0.55); }
.cs__eyebrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cs__idx { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; letter-spacing: .05em; }
.cs__tag { border: 1px solid rgba(150,140,255,0.30); background: rgba(120,110,255,0.10); color: #c9b8ff; padding: 4px 12px; border-radius: 999px; letter-spacing: .06em; }
.cs__time { color: var(--muted-2); letter-spacing: .04em; }
.cs__title { font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 16px 0 8px; }
.cs__sub { color: var(--muted); font-size: 1.02rem; max-width: 720px; }

.cs__metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 30px; }
.cs__metric { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 18px; }
.cs__n { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1; }
.cs__l { color: var(--muted); font-size: 12.5px; margin-top: 9px; }

.cs__body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.cs__narr { display: grid; gap: 20px; }
.cs__col h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #b9a7ff; margin-bottom: 7px; }
.cs__col p { color: var(--muted); font-size: 0.98rem; line-height: 1.66; }
.cs__col a { color: var(--gold-2); }

/* viz card */
.cs__viz { align-self: stretch; }
.viz-card { background: rgba(10,10,24,0.4); border: 1px solid rgba(150,140,255,0.16); border-radius: 20px; padding: 24px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.viz-title { font-size: 13px; letter-spacing: .06em; color: var(--muted); text-align: center; margin-bottom: 20px; }
.viz-note { font-size: 12.5px; color: var(--muted-2); text-align: center; margin-top: 18px; line-height: 1.5; }

/* donut */
.donut-wrap { position: relative; width: 190px; margin: 0 auto; }
.donut { width: 190px; height: 190px; display: block; }
.donut .track { stroke: rgba(150,140,255,0.16); }
.donut .val { stroke-dasharray: 377; stroke-dashoffset: 377; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }
.reveal.in .donut .val { stroke-dashoffset: 69; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-center__n { font-family: var(--font-head); font-weight: 700; font-size: 2rem; line-height: 1; }
.donut-center__l { font-size: 12px; color: var(--muted); margin-top: 4px; }
.viz-legend { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; font-size: 13px; color: var(--muted); }
.viz-legend span { display: flex; align-items: center; gap: 10px; }
.dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.dot--grad { background: linear-gradient(135deg,#7fa8ff,#c56bff); }
.dot--muted { background: rgba(150,140,255,0.28); }

/* ring */
.ring-wrap { position: relative; width: 200px; margin: 0 auto; }
.ring { width: 200px; height: 200px; display: block; }
.ring .track { stroke: rgba(150,140,255,0.16); }
.ring .val { stroke-dasharray: 390; stroke-dashoffset: 390; transition: stroke-dashoffset 1.5s cubic-bezier(.2,.8,.2,1); }
.reveal.in .ring .val { stroke-dashoffset: 187; }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-center__n { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; line-height: 1; }
.ring-center__l { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* horizontal bars */
.hbars { display: flex; flex-direction: column; gap: 16px; }
.hbar { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 12px; }
.hbar__label { font-size: 12.5px; color: var(--muted); }
.hbar__track { height: 14px; background: rgba(150,140,255,0.10); border-radius: 999px; overflow: hidden; }
.hbar__fill { height: 100%; width: 0; border-radius: 999px; background: var(--gold-grad); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.hbar__fill--muted { background: rgba(150,140,255,0.30); }
.reveal.in .hbar__fill { width: var(--w); }
.hbar__val { font-family: var(--font-head); font-weight: 600; font-size: 14px; min-width: 52px; text-align: right; }

/* vertical bars */
.vbars { display: flex; align-items: flex-end; justify-content: center; gap: 26px; height: 210px; }
.vbars--4 { gap: 20px; }
.vcol { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.vcol__val { font-family: var(--font-head); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.vbar { width: 46px; border-radius: 10px 10px 5px 5px; height: 0; background: var(--gold-grad); transition: height 1.2s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 26px -8px rgba(140,110,255,0.7); }
.vbar--muted { background: rgba(150,140,255,0.22); box-shadow: none; }
.reveal.in .vbar { height: var(--h); }
.vcol__cap { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* light theme */
html[data-theme="light"] .cs { background: rgba(255,255,255,0.75); border-color: rgba(30,30,60,0.10); }
html[data-theme="light"] .viz-card { background: rgba(255,255,255,0.6); border-color: rgba(90,70,220,0.16); }
html[data-theme="light"] .cs__tag { color: #5b47e0; }
html[data-theme="light"] .cs__col h4 { color: #6a5be6; }
html[data-theme="light"] .donut .track, html[data-theme="light"] .ring .track { stroke: rgba(90,70,220,0.14); }

/* responsive */
@media (max-width: 900px) {
  .cs-stats { grid-template-columns: repeat(2, 1fr); }
  .cs { padding: 28px 22px; }
  .cs__metrics { grid-template-columns: repeat(2, 1fr); }
  .cs__body { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 520px) {
  .cs__metrics { grid-template-columns: 1fr 1fr; }
  .hbar { grid-template-columns: 92px 1fr auto; }
}

/* ============ ANIMATED SERVICE ICON STORYBOARDS ============ */
.svc-ico { color: #b9a7ff; overflow: visible; }
html[data-theme="light"] .svc-ico { color: #6a5be6; }
.svc-ico g, .svc-ico circle, .svc-ico rect, .svc-ico path, .svc-ico text, .svc-ico ellipse { transform-box: fill-box; transform-origin: center; }
.svc-ico text { stroke: none !important; font-family: var(--font-head); font-weight: 700; }
html[data-theme="light"] .svc-ico text { stroke: none !important; }
/* profit / payoff tokens */
.svc-ico .pf { fill: rgba(90,224,168,0.16); stroke: #5be0a0 !important; }
.svc-ico .pf-ar, .svc-ico .pf-ln { stroke: #5be0a0 !important; }
.svc-ico .pf-t { fill: #5be0a0; font-size: 13px; }
html[data-theme="light"] .svc-ico .pf { stroke: #1fb37a !important; fill: rgba(31,179,122,0.14); }
html[data-theme="light"] .svc-ico .pf-ar, html[data-theme="light"] .svc-ico .pf-ln { stroke: #1fb37a !important; }
html[data-theme="light"] .svc-ico .pf-t { fill: #1fb37a; }

/* shared payoff pop */
@keyframes pfPop { 0%,50% { opacity: 0; transform: scale(0); } 63% { opacity: 1; transform: scale(1.08); } 70% { transform: scale(1); } 88% { opacity: 1; } 96%,100% { opacity: 0; } }

/* 01 MVA — crash, criteria burst out, compensation */
.svc-mva .mva-car { animation: mvaCar 5s ease-in-out infinite; }
@keyframes mvaCar { 0% { transform: translateX(-42px); opacity: 0; } 10% { opacity: 1; } 20% { transform: translateX(0); } 23% { transform: translateX(5px); } 27% { transform: translateX(0); } 90% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; } }
.svc-mva .mva-burst { opacity: 0; animation: mvaBurst 5s ease-out infinite; }
@keyframes mvaBurst { 0%,20% { opacity: 0; transform: scale(.3); } 25% { opacity: 1; transform: scale(1); } 36% { opacity: 0; transform: scale(1.6); } 100% { opacity: 0; } }
.svc-mva .mva-crit { opacity: 0; animation: mvaCrit 5s ease-out infinite; }
.svc-mva .c1 { animation-delay: 0s; } .svc-mva .c2 { animation-delay: .14s; } .svc-mva .c3 { animation-delay: .28s; }
@keyframes mvaCrit { 0%,30% { opacity: 0; transform: scale(0); } 44% { opacity: 1; transform: scale(1); } 84% { opacity: 1; transform: scale(1); } 92%,100% { opacity: 0; transform: scale(1); } }
.svc-mva .mva-coin { opacity: 0; animation: pfPop 5s ease-out infinite; }

/* 02 Affiliate — partner traffic into hub, converts to profit */
.svc-net .af-p { animation: afNode 5s ease-in-out infinite; }
.svc-net .af-p:nth-of-type(2) { animation-delay: .3s; } .svc-net .af-p:nth-of-type(3) { animation-delay: .6s; }
@keyframes afNode { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
.svc-net .d1 { opacity: 0; animation: afD1 5s linear infinite; }
.svc-net .d2 { opacity: 0; animation: afD2 5s linear infinite; }
.svc-net .d3 { opacity: 0; animation: afD3 5s linear infinite; }
@keyframes afD1 { 0% { transform: translate(0,0); opacity: 0; } 5% { opacity: 1; } 38% { transform: translate(34px,26px); opacity: 1; } 44%,100% { opacity: 0; transform: translate(34px,26px); } }
@keyframes afD2 { 0%,8% { transform: translate(0,0); opacity: 0; } 13% { opacity: 1; } 44% { transform: translate(36px,0); opacity: 1; } 50%,100% { opacity: 0; transform: translate(36px,0); } }
@keyframes afD3 { 0%,14% { transform: translate(0,0); opacity: 0; } 19% { opacity: 1; } 50% { transform: translate(34px,-26px); opacity: 1; } 56%,100% { opacity: 0; transform: translate(34px,-26px); } }
.svc-net .af-check { stroke-dasharray: 14; stroke-dashoffset: 14; animation: afCheck 5s ease-out infinite; }
@keyframes afCheck { 0%,42% { stroke-dashoffset: 14; } 54% { stroke-dashoffset: 0; } 88% { stroke-dashoffset: 0; } 96%,100% { stroke-dashoffset: 14; } }
.svc-net .af-out { stroke-dasharray: 14; stroke-dashoffset: 14; animation: afOut 5s ease-out infinite; }
@keyframes afOut { 0%,54% { stroke-dashoffset: 14; } 66% { stroke-dashoffset: 0; } 88% { stroke-dashoffset: 0; } 96%,100% { stroke-dashoffset: 14; } }
.svc-net .af-coin { opacity: 0; animation: pfPop 5s ease-out infinite; }

/* 03 Medicare — compliance ticks, verified quality lead */
.svc-med .tick { stroke-dasharray: 13; stroke-dashoffset: 13; }
.svc-med .m1 .tick { animation: medTick 5s ease-out infinite; }
.svc-med .m2 .tick { animation: medTick 5s ease-out infinite .18s; }
.svc-med .m3 .tick { animation: medTick 5s ease-out infinite .36s; }
@keyframes medTick { 0%,10% { stroke-dashoffset: 13; } 26% { stroke-dashoffset: 0; } 58% { stroke-dashoffset: 0; } 68%,100% { stroke-dashoffset: 13; } }
.svc-med .med-stamp { opacity: 0; animation: pfPop 5s ease-out infinite; }

/* 04 Data — messy data in, warehouse structures, clean streams out */
.svc-data .i1 { opacity: 0; animation: dtI1 5s ease-in infinite; }
.svc-data .i2 { opacity: 0; animation: dtI2 5s ease-in infinite; }
.svc-data .i3 { opacity: 0; animation: dtI3 5s ease-in infinite; }
@keyframes dtI1 { 0% { transform: translate(0,0); opacity: 0; } 6% { opacity: 1; } 38% { transform: translate(38px,14px); opacity: 1; } 44%,100% { opacity: 0; transform: translate(38px,14px); } }
@keyframes dtI2 { 0%,8% { transform: translate(0,0); opacity: 0; } 14% { opacity: 1; } 44% { transform: translate(41px,-2px); opacity: 1; } 50%,100% { opacity: 0; transform: translate(41px,-2px); } }
@keyframes dtI3 { 0%,14% { transform: translate(0,0); opacity: 0; } 20% { opacity: 1; } 50% { transform: translate(36px,-16px); opacity: 1; } 56%,100% { opacity: 0; transform: translate(36px,-16px); } }
.svc-data .dt-ring { animation: dtRing 5s ease-in-out infinite; }
@keyframes dtRing { 0%,40% { opacity: .2; } 50% { opacity: 1; } 62%,100% { opacity: .5; } }
.svc-data .dt-out { stroke-dasharray: 20; stroke-dashoffset: 20; }
.svc-data .o1 { animation: dtOut 5s ease-out infinite; }
.svc-data .o2 { animation: dtOut 5s ease-out infinite .14s; }
.svc-data .o3 { animation: dtOut 5s ease-out infinite .28s; }
@keyframes dtOut { 0%,52% { stroke-dashoffset: 20; } 66% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; } 97%,100% { stroke-dashoffset: 20; } }

/* 05 Email — send, deliver, opens/converts */
.svc-mail .ml-trail { opacity: 0; animation: mlTrail 5s ease-in-out infinite; }
@keyframes mlTrail { 0%,22% { opacity: 0; } 30% { opacity: .5; } 58% { opacity: .5; } 66%,100% { opacity: 0; } }
.svc-mail .ml-plane { opacity: 0; animation: mlPlane 5s ease-in-out infinite; }
@keyframes mlPlane { 0%,20% { transform: translate(0,0) rotate(0); opacity: 0; } 26% { opacity: 1; } 56% { transform: translate(26px,11px) rotate(6deg); opacity: 1; } 62%,100% { opacity: 0; transform: translate(30px,13px) rotate(6deg); } }
.svc-mail .ml-open { opacity: 0; animation: pfPop 5s ease-out infinite; }

/* 06 Enterprise IT — requirement blocks assemble, system powers on */
.svc-it .it-blk { opacity: 0; }
.svc-it .k1 { animation: itK1 5s ease-out infinite; }
.svc-it .k2 { animation: itK2 5s ease-out infinite .08s; }
.svc-it .k3 { animation: itK3 5s ease-out infinite .16s; }
.svc-it .k4 { animation: itK4 5s ease-out infinite .24s; }
@keyframes itK1 { 0% { opacity: 0; transform: translate(-22px,-20px) scale(.6); } 12% { opacity: 1; } 32% { opacity: 1; transform: translate(0,0) scale(1); } 84% { opacity: 1; transform: translate(0,0); } 92%,100% { opacity: 0; } }
@keyframes itK2 { 0% { opacity: 0; transform: translate(22px,-20px) scale(.6); } 12% { opacity: 1; } 32% { opacity: 1; transform: translate(0,0) scale(1); } 84% { opacity: 1; transform: translate(0,0); } 92%,100% { opacity: 0; } }
@keyframes itK3 { 0% { opacity: 0; transform: translate(-22px,20px) scale(.6); } 12% { opacity: 1; } 32% { opacity: 1; transform: translate(0,0) scale(1); } 84% { opacity: 1; transform: translate(0,0); } 92%,100% { opacity: 0; } }
@keyframes itK4 { 0% { opacity: 0; transform: translate(22px,20px) scale(.6); } 12% { opacity: 1; } 32% { opacity: 1; transform: translate(0,0) scale(1); } 84% { opacity: 1; transform: translate(0,0); } 92%,100% { opacity: 0; } }
.svc-it .it-power { opacity: 0; animation: pfPop 5s ease-out infinite; }

/* 07 FP&A — numbers, forecast, growth into profit */
.svc-fin .fn-bar { transform-origin: bottom; animation: fnBar 5s ease-out infinite; }
.svc-fin .b2 { animation-delay: .12s; } .svc-fin .b3 { animation-delay: .24s; }
@keyframes fnBar { 0%,8% { transform: scaleY(.14); } 40% { transform: scaleY(1); } 84% { transform: scaleY(1); } 94%,100% { transform: scaleY(.14); } }
.svc-fin .fn-line { stroke-dasharray: 74; stroke-dashoffset: 74; animation: fnLine 5s ease-out infinite; }
@keyframes fnLine { 0%,20% { stroke-dashoffset: 74; } 50% { stroke-dashoffset: 0; } 84% { stroke-dashoffset: 0; } 94%,100% { stroke-dashoffset: 74; } }
.svc-fin .fn-arw { opacity: 0; animation: fnArw 5s ease-out infinite; }
@keyframes fnArw { 0%,46% { opacity: 0; } 56% { opacity: 1; } 84% { opacity: 1; } 92%,100% { opacity: 0; } }
.svc-fin .fn-coin { opacity: 0; animation: pfPop 5s ease-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .svc-ico * { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; transform: none !important; }
}

/* ============ WHY CHOOSE US (unified) ============ */
/* Brighter brand subtext */
.brand__sub { color: rgba(226,226,248,0.74); }
html[data-theme="light"] .brand__sub { color: rgba(40,40,70,0.7); }

/* anchor offset for floating nav */
#services, #why, #about, #clients, #contact { scroll-margin-top: 104px; }

/* principle pillars */
.why-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.why-pillar { background: rgba(255,255,255,0.035); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.09); border-radius: 22px; padding: 28px; transition: border-color .3s, box-shadow .3s, transform .3s; }
.why-pillar:hover { border-color: rgba(150,140,255,0.30); box-shadow: 0 40px 80px -46px rgba(80,60,180,0.6); transform: translateY(-3px); }
.why-pillar .card__icon { margin-bottom: 16px; }
.why-pillar h3 { font-size: 1.25rem; margin-bottom: 10px; }
.why-pillar p { color: var(--muted); font-size: 15px; line-height: 1.62; }

/* shared inline case-study link */
.why-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: #b9a7ff; font-size: 13.5px; font-weight: 600; }
.why-link svg { width: 15px; height: 15px; transition: transform .25s; }
.why-link:hover { color: #d9cfff; }
.why-link:hover svg { transform: translateX(3px); }
html[data-theme="light"] .why-link { color: #5b47e0; }
html[data-theme="light"] .why-link:hover { color: #3f30b0; }

/* engagement journey */
.why-journey-head { margin-top: 72px; margin-bottom: 34px; }
.why-journey-head h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 8px; }
.engage { position: relative; display: grid; gap: 26px; }
.engage__line { position: absolute; left: 26px; top: 24px; bottom: 40px; width: 2px; background: rgba(150,140,255,0.16); border-radius: 2px; overflow: hidden; }
.engage__fill { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(180deg, #7fa8ff, #c56bff); transition: height 2s cubic-bezier(.4,0,.2,1); }
.engage.in .engage__fill { height: 100%; }
.jstep { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 20px; align-items: start; }
.jstep__node { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #c9b8ff; background: rgba(120,110,255,0.12); border: 1px solid rgba(150,140,255,0.45); box-shadow: 0 0 0 6px rgba(120,110,255,0.05); position: relative; z-index: 1; transition: box-shadow .5s, transform .5s, color .5s; }
.engage.in .jstep:nth-child(2) .jstep__node { transition-delay: .1s; }
.engage.in .jstep:nth-child(3) .jstep__node { transition-delay: .35s; }
.engage.in .jstep:nth-child(4) .jstep__node { transition-delay: .6s; }
.engage.in .jstep:nth-child(5) .jstep__node { transition-delay: .85s; }
.engage.in .jstep:nth-child(6) .jstep__node { transition-delay: 1.1s; }
.engage.in .jstep__node { box-shadow: 0 0 24px -2px rgba(140,110,255,0.7), 0 0 0 6px rgba(120,110,255,0.06); color: #fff; }
.jstep:hover .jstep__node { transform: scale(1.06); }
.jstep__body { padding-top: 4px; }
.jstep__body h4 { font-size: 1.2rem; margin-bottom: 7px; }
.jstep__body p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 620px; }
.proof { display: inline-flex; align-items: center; gap: 9px; margin-top: 13px; padding: 8px 15px; border-radius: 999px; background: rgba(90,224,168,0.08); border: 1px solid rgba(90,224,168,0.26); color: #a7eccf; font-size: 13px; line-height: 1.35; transition: background .25s, border-color .25s; }
.proof__tag { text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 700; color: #5be0a0; }
.proof svg { width: 14px; height: 14px; flex: none; transition: transform .25s; }
.proof:hover { background: rgba(90,224,168,0.15); border-color: rgba(90,224,168,0.45); }
.proof:hover svg { transform: translateX(3px); }
html[data-theme="light"] .proof { background: rgba(31,179,122,0.10); border-color: rgba(31,179,122,0.32); color: #1a7d57; }
html[data-theme="light"] .proof__tag { color: #1fb37a; }

@media (max-width: 900px) {
  .why-pillars { grid-template-columns: 1fr; }
  .engage__line { left: 22px; }
  .jstep { grid-template-columns: 46px 1fr; gap: 14px; }
  .jstep__node { width: 46px; height: 46px; font-size: 1rem; }
}

/* ============ Login link + footer legal ============ */
.nav__login { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: rgba(233,233,247,0.82); padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.10); transition: color .25s, border-color .25s, background .25s; }
.nav__login svg { width: 15px; height: 15px; }
.nav__login:hover { color: #fff; border-color: rgba(150,140,255,0.45); background: rgba(120,110,255,0.10); }
html[data-theme="light"] .nav__login { color: #33344a; border-color: rgba(30,30,60,0.14); }
html[data-theme="light"] .nav__login:hover { color: #17172a; border-color: rgba(90,70,220,0.4); background: rgba(90,70,220,0.06); }

.footer-legal { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: var(--muted-2); line-height: 1.5; }
.footer-legal__name { color: var(--muted); font-weight: 600; }
.footer-legal__addr { display: inline-flex; align-items: center; gap: 7px; color: var(--muted-2); transition: color .22s; }
.footer-legal__addr svg { width: 14px; height: 14px; flex: none; color: #b9a7ff; }
.footer-legal__addr:hover { color: var(--text); }
.footer-legal__addr:hover svg { color: #d9cfff; }
.footer-legal__ein { display: inline-flex; align-items: center; gap: 8px; }
.ein-tag { font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #c9b8ff; background: rgba(120,110,255,0.12); border: 1px solid rgba(150,140,255,0.35); padding: 2px 7px; border-radius: 6px; }
.ein-num { font-family: var(--font-head); letter-spacing: 0.06em; color: var(--muted); font-variant-numeric: tabular-nums; }
html[data-theme="light"] .footer-legal__addr svg { color: #6a5be6; }
html[data-theme="light"] .ein-tag { color: #5b47e0; background: rgba(90,70,220,0.10); border-color: rgba(90,70,220,0.32); }

.footer-bottom p { color: rgba(228,228,248,0.82); font-size: 14px; font-weight: 500; font-family: var(--font-head); letter-spacing: 0.01em; }
html[data-theme="light"] .footer-bottom p { color: rgba(30,30,55,0.78); }

@media (max-width: 720px) {
  .nav__login span, .nav__login { font-size: 13px; }
}

/* ============ Hero rotating proof line ============ */
.hero__proof { margin-top: 24px; display: flex; align-items: flex-start; gap: 14px; }
.hproof__label { flex: none; margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #5be0a0; border: 1px solid rgba(90,224,168,0.32); background: rgba(90,224,168,0.08); padding: 4px 9px; border-radius: 6px; }
.hproof__track { position: relative; flex: 1; min-height: 56px; }
.hproof__item { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; font-size: 1.04rem; line-height: 1.5; pointer-events: none; }
.hproof__item.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hproof__item .hp-need { color: var(--muted); }
.hproof__item .hp-res { color: var(--text); font-weight: 600; }
.hproof__item b { font-weight: 700; }
html[data-theme="light"] .hproof__label { color: #1fb37a; border-color: rgba(31,179,122,0.32); background: rgba(31,179,122,0.10); }
@media (max-width: 620px) { .hproof__track { min-height: 84px; } .hproof__item { font-size: 0.98rem; } }

/* ============ About: capabilities ecosystem animation ============ */
.split__media .about-viz { width: 100%; max-width: 430px; }
.about-viz { color: #b9a7ff; }
html[data-theme="light"] .about-viz { color: #6a5be6; }
.about-viz .av-base { stroke: rgba(150,140,255,0.5) !important; }
.about-viz .av-spoke { stroke-width: 1.6; opacity: .55; stroke-dasharray: 74; stroke-dashoffset: 74; transition: stroke-dashoffset .9s ease; }
.about-anim.in .av-spokes .av-spoke:nth-child(1) { stroke-dashoffset: 0; transition-delay: .10s; }
.about-anim.in .av-spokes .av-spoke:nth-child(2) { stroke-dashoffset: 0; transition-delay: .20s; }
.about-anim.in .av-spokes .av-spoke:nth-child(3) { stroke-dashoffset: 0; transition-delay: .30s; }
.about-anim.in .av-spokes .av-spoke:nth-child(4) { stroke-dashoffset: 0; transition-delay: .40s; }
.about-anim.in .av-spokes .av-spoke:nth-child(5) { stroke-dashoffset: 0; transition-delay: .50s; }
.about-anim.in .av-spokes .av-spoke:nth-child(6) { stroke-dashoffset: 0; transition-delay: .60s; }
.about-viz .av-growth { stroke: url(#avg) !important; stroke-dasharray: 236; stroke-dashoffset: 236; transition: stroke-dashoffset 1.5s cubic-bezier(.4,0,.2,1) .75s; }
.about-anim.in .av-growth { stroke-dashoffset: 0; }
html[data-theme="light"] .about-viz .av-growth { stroke: url(#avg) !important; }
.about-viz .av-node { fill: currentColor; stroke: none !important; transform-box: fill-box; transform-origin: center; animation: avNode 2.8s ease-in-out infinite; }
.about-viz .av-nodes .av-node:nth-child(2) { animation-delay: .25s; }
.about-viz .av-nodes .av-node:nth-child(3) { animation-delay: .5s; }
.about-viz .av-nodes .av-node:nth-child(4) { animation-delay: .75s; }
.about-viz .av-nodes .av-node:nth-child(5) { animation-delay: 1s; }
.about-viz .av-nodes .av-node:nth-child(6) { animation-delay: 1.25s; }
@keyframes avNode { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.28); opacity: 1; } }
.about-viz .av-hub { fill: rgba(120,110,255,0.16); stroke: #cbb8ff !important; }
.about-viz .av-hub-mark { stroke: #ece4ff !important; }
.about-viz .av-hub-glow { fill: rgba(140,110,255,0.20); stroke: none !important; transform-box: fill-box; transform-origin: center; animation: avGlow 2.8s ease-in-out infinite; }
html[data-theme="light"] .about-viz .av-node, html[data-theme="light"] .about-viz .av-hub-glow, html[data-theme="light"] .about-viz .av-star { stroke: none !important; }
@keyframes avGlow { 0%,100% { transform: scale(1); opacity: .45; } 50% { transform: scale(1.16); opacity: .85; } }
.about-viz .av-star { fill: url(#avg); stroke: none !important; transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(0) rotate(-25deg); transition: opacity .5s ease 2.05s, transform .6s cubic-bezier(.2,1.25,.4,1) 2.05s; }
.about-anim.in .av-star { opacity: 1; transform: scale(1) rotate(0); }
@media (prefers-reduced-motion: reduce) {
  .about-viz .av-spoke, .about-viz .av-growth { stroke-dashoffset: 0 !important; transition: none !important; }
  .about-viz .av-node, .about-viz .av-hub-glow { animation: none !important; }
  .about-viz .av-star { opacity: 1 !important; transform: none !important; }
}

/* ============ Footer legal links + legal pages ============ */
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); }

.legal-doc { max-width: 840px; }
.legal-doc .legal-updated { color: var(--muted-2); font-size: 13.5px; margin: 4px 0 8px; }
.legal-doc h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin: 36px 0 12px; }
.legal-doc h3 { font-size: 1.08rem; margin: 22px 0 8px; color: var(--text); }
.legal-doc p { color: var(--muted); line-height: 1.72; font-size: 15.5px; margin-bottom: 12px; }
.legal-doc ul { margin: 8px 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.legal-doc li { color: var(--muted); line-height: 1.6; font-size: 15.5px; }
.legal-doc a { color: var(--gold-2); }
.legal-doc strong { color: var(--text); }

/* ============ Uniform animated client logos ============ */
.logo-chip--light, .logo-chip--dark { background: rgba(255,255,255,0.045); border-color: rgba(255,255,255,0.10); }
html[data-theme="light"] .logo-chip--light, html[data-theme="light"] .logo-chip--dark { background: rgba(20,20,45,0.04); border-color: rgba(30,30,60,0.10); }
.logo-chip { position: relative; overflow: hidden; }
.logo-chip img { filter: brightness(0) invert(1); opacity: .78; transition: filter .45s ease, transform .45s var(--ease), opacity .45s ease; }
html[data-theme="light"] .logo-chip img { filter: brightness(0); opacity: .55; }
/* idle sheen sweep */
.logo-chip::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.10) 50%, transparent 80%);
  transform: translateX(-180%); pointer-events: none;
  animation: chipSheen 7s ease-in-out infinite;
}
html[data-theme="light"] .logo-chip::after { background: linear-gradient(115deg, transparent 20%, rgba(90,70,220,0.10) 50%, transparent 80%); }
.logo-chip:nth-child(2)::after { animation-delay: .5s; }
.logo-chip:nth-child(3)::after { animation-delay: 1s; }
.logo-chip:nth-child(4)::after { animation-delay: 1.5s; }
.logo-chip:nth-child(5)::after { animation-delay: 2s; }
.logo-chip:nth-child(6)::after { animation-delay: 2.5s; }
.logo-chip:nth-child(7)::after { animation-delay: 3s; }
.logo-chip:nth-child(8)::after { animation-delay: 3.5s; }
.logo-chip:nth-child(9)::after { animation-delay: 4s; }
.logo-chip:nth-child(10)::after { animation-delay: 4.5s; }
.logo-chip:nth-child(11)::after { animation-delay: 5s; }
.logo-chip:nth-child(12)::after { animation-delay: 5.5s; }
@keyframes chipSheen { 0% { transform: translateX(-180%); } 55%,100% { transform: translateX(320%); } }
/* hover: activate — colorize + lift + glow + fast sheen */
.logo-chip:hover { transform: translateY(-5px); border-color: rgba(150,140,255,0.45); box-shadow: 0 26px 54px -26px rgba(90,70,200,0.7); background: rgba(255,255,255,0.06); }
html[data-theme="light"] .logo-chip:hover { background: rgba(90,70,220,0.05); border-color: rgba(90,70,220,0.30); box-shadow: 0 26px 54px -30px rgba(90,70,200,0.5); }
.logo-chip:hover img { filter: none; opacity: 1; transform: scale(1.07); }
.logo-chip:hover::after { animation: chipSheenHover 0.9s ease-out; }
@keyframes chipSheenHover { 0% { transform: translateX(-180%); } 100% { transform: translateX(320%); } }
@media (prefers-reduced-motion: reduce) { .logo-chip::after { animation: none !important; display: none; } }

/* ============ Mobile fixes ============ */
html, body { overflow-x: hidden; }
img, svg { max-width: 100%; }

@media (max-width: 960px) {
  /* keep each service's image with its own text (no two icons in a row) */
  #services .split__media { order: 2; }
}

@media (max-width: 720px) {
  /* readable, integrated mobile menu */
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: rgba(14,14,26,0.98); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    padding: 14px 16px 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 34px 70px -22px rgba(0,0,0,0.78); z-index: 60;
  }
  .nav.open .nav__links a { color: rgba(240,240,255,0.94); padding: 14px 12px; font-size: 16.5px; border-radius: 11px; text-shadow: none; }
  .nav.open .nav__links a::after { display: none; }
  .nav.open .nav__links a:hover, .nav.open .nav__links a.active { color: #fff; background: rgba(120,110,255,0.16); }
  html[data-theme="light"] .nav.open .nav__links { background: rgba(255,255,255,0.99); border-color: rgba(30,30,60,0.12); box-shadow: 0 34px 70px -26px rgba(60,50,140,0.4); }
  html[data-theme="light"] .nav.open .nav__links a { color: #24243c; }
  html[data-theme="light"] .nav.open .nav__links a:hover, html[data-theme="light"] .nav.open .nav__links a.active { color: #0f0f22; background: rgba(90,70,220,0.10); }
  /* clearer hamburger tap target */
  .nav__toggle { display: flex; flex-direction: column; justify-content: center; width: 42px; height: 42px; border-radius: 11px; padding: 0; align-items: center; border: 1px solid rgba(255,255,255,0.12); }
  html[data-theme="light"] .nav__toggle { border-color: rgba(30,30,60,0.14); }
  .nav__toggle span { width: 20px; margin: 3px 0; }
  .nav { position: relative; }
}

/* ============ Client logos: uniform light tiles + ORIGINAL colors ============ */
.logo-chip--light, .logo-chip--dark { background: #f5f5f9; border-color: rgba(30,30,60,0.10); }
html[data-theme="light"] .logo-chip--light, html[data-theme="light"] .logo-chip--dark { background: #ffffff; border-color: rgba(30,30,60,0.10); }
.logo-chip img, html[data-theme="light"] .logo-chip img { filter: none; opacity: 1; }
.logo-chip:hover img, html[data-theme="light"] .logo-chip:hover img { filter: none; opacity: 1; transform: scale(1.07); }
/* sheen tuned for light tiles */
.logo-chip::after, html[data-theme="light"] .logo-chip::after {
  background: linear-gradient(115deg, transparent 20%, rgba(120,110,255,0.14) 50%, transparent 80%);
}
.logo-chip:hover { transform: translateY(-5px); border-color: rgba(120,110,255,0.5); box-shadow: 0 26px 54px -24px rgba(90,70,200,0.55); background: #ffffff; }
html[data-theme="light"] .logo-chip:hover { background: #ffffff; border-color: rgba(90,70,220,0.4); box-shadow: 0 26px 54px -28px rgba(90,70,200,0.45); }

/* ============ Responsive refinements ============ */
.nav__links a { white-space: nowrap; }
/* Hamburger from small-laptop down (prevents cramped nav wrapping) */
@media (max-width: 1120px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav { position: relative; }
  .nav__toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 42px; height: 42px; border-radius: 11px; padding: 0; border: 1px solid rgba(255,255,255,0.12); }
  html[data-theme="light"] .nav__toggle { border-color: rgba(30,30,60,0.14); }
  .nav__toggle span { width: 20px; margin: 3px 0; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: rgba(14,14,26,0.98); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    padding: 14px 16px 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 34px 70px -22px rgba(0,0,0,0.78); z-index: 60;
  }
  .nav.open .nav__links a { color: rgba(240,240,255,0.94); padding: 14px 12px; font-size: 16.5px; border-radius: 11px; text-shadow: none; white-space: nowrap; }
  .nav.open .nav__links a::after { display: none; }
  .nav.open .nav__links a:hover, .nav.open .nav__links a.active { color: #fff; background: rgba(120,110,255,0.16); }
  html[data-theme="light"] .nav.open .nav__links { background: rgba(255,255,255,0.99); border-color: rgba(30,30,60,0.12); box-shadow: 0 34px 70px -26px rgba(60,50,140,0.4); }
  html[data-theme="light"] .nav.open .nav__links a { color: #24243c; }
  html[data-theme="light"] .nav.open .nav__links a:hover, html[data-theme="light"] .nav.open .nav__links a.active { color: #0f0f22; background: rgba(90,70,220,0.10); }
}
/* small phones */
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cs-stats { grid-template-columns: 1fr; gap: 14px; }
  .cs__metrics { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .container { padding-inline: 18px; }
  .why-journey-head h3, .section-head h2 { line-height: 1.15; }
}
@media (max-width: 400px) {
  .cs__metrics { grid-template-columns: 1fr; }
  .hproof__track { min-height: 108px; }
}

/* Careers apply helper note */
.apply-note { color: var(--muted); font-size: 14px; margin: 6px 0 16px; }
.apply-note a { color: var(--gold-2); font-weight: 600; }

/* ============ Logo tiles: illuminated glass, theme-harmonized ============ */
.logo-chip--light, .logo-chip--dark {
  background: linear-gradient(157deg, #ffffff 0%, #eceefb 100%);
  border: 1px solid rgba(140,130,240,0.16);
  box-shadow: 0 16px 44px -22px rgba(90,70,200,0.40);
}
html[data-theme="light"] .logo-chip--light, html[data-theme="light"] .logo-chip--dark {
  background: linear-gradient(157deg, #ffffff 0%, #f3f3fb 100%);
  border-color: rgba(30,30,60,0.09);
  box-shadow: 0 14px 34px -26px rgba(60,50,140,0.24);
}
/* soft inner top-light so logos feel illuminated */
.logo-chip::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(130% 100% at 50% -10%, rgba(150,140,255,0.12), transparent 62%);
}
html[data-theme="light"] .logo-chip::before { background: radial-gradient(130% 100% at 50% -10%, rgba(120,110,255,0.07), transparent 62%); }
.logo-chip:hover { background: linear-gradient(157deg, #ffffff 0%, #eef0ff 100%); border-color: rgba(140,120,255,0.55); box-shadow: 0 30px 60px -24px rgba(100,80,220,0.6); }
html[data-theme="light"] .logo-chip:hover { background: #ffffff; border-color: rgba(90,70,220,0.4); box-shadow: 0 28px 56px -28px rgba(90,70,200,0.42); }

/* ============ Mobile nav fit + logo sheen layering ============ */
/* keep logo above the sheen so it never washes out */
.logo-chip img { position: relative; z-index: 2; }
.logo-chip::before { z-index: 0; }
.logo-chip::after { z-index: 1; }

/* move Login/CTA into the menu on mobile so the hamburger fits in the navbar */
.nav__m-only { display: none; }
@media (max-width: 1120px) {
  .nav__login { display: none; }
  .nav.open .nav__links .nav__m-only { display: block; }
  .nav.open .nav__links .nav__m-only a { color: #c9c2ff; }
  html[data-theme="light"] .nav.open .nav__links .nav__m-only a { color: #5b47e0; }
}
