/* =========================================================
   webit — site styles
   Brand: dark-first, scroll storytelling, Galano Grotesque
   ========================================================= */

/* ---------- Fonts: Galano Grotesque ---------- */
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/Galano_Grotesque.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/Galano_Grotesque_Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/Galano_Grotesque_SemiBold.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/Galano_Grotesque_Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/Galano_Grotesque_ExtraBold.otf') format('opentype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/Galano_Grotesque_Heavy.otf') format('opentype');
  font-weight: 850; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/Galano_Grotesque_Black.otf') format('opentype');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --dark: #30243C;
  --dark-2: #251B30;
  --dark-3: #1A1325;
  --primary: #885EA4;
  --secondary: #008FC7;
  --gradient: linear-gradient(135deg, #885EA4, #008FC7);
  --gradient-h: linear-gradient(90deg, #885EA4, #008FC7);
  --white: #FFFFFF;
  --body: #333333;
  --muted: #6B7280;
  --surface: #F8F7FA;
  --surface-lav: #F3EFF7;
  --surface-cyan: #EDF6FA;
  --border: rgba(136, 94, 164, 0.15);
  --on-dark: rgba(255,255,255,0.92);
  --on-dark-muted: rgba(255,255,255,0.58);
  --on-dark-faint: rgba(255,255,255,0.32);
  --on-dark-line: rgba(255,255,255,0.10);

  --font: 'Galano Grotesque', 'Manrope', system-ui, -apple-system, sans-serif;
  --container: 1240px;
  --gutter: 32px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --section-py: 140px;
  --section-py-sm: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, p { margin: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: var(--section-py) 0;
  position: relative;
}
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--light { background: var(--white); color: var(--body); }
.section--surface { background: var(--surface); color: var(--body); }

@media (max-width: 768px) {
  :root { --section-py: 80px; --gutter: 20px; }
}
@media (max-width: 1440px) {
  :root { --container: 1100px; --section-py: 110px; }
}
@media (min-width: 769px) and (max-height: 850px) {
  :root { --section-py: 96px; }
}

/* ---------- Typography ---------- */
.h-display {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h1 {
  font-weight: 900;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h2 {
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.h3 {
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.label {
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.label--primary { color: var(--primary); }
.label--secondary { color: var(--secondary); }
.label--on-dark {
  color: transparent;
  background: var(--gradient-h);
  background-clip: text;
  -webkit-background-clip: text;
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--on-dark-muted);
  max-width: 60ch;
}
.lead--light { color: var(--muted); }

.gradient-text {
  background: var(--gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  will-change: transform;
}
.btn .lucide { width: 18px; height: 18px; stroke-width: 2.25; }
.btn--gradient { background: var(--gradient-h); color: #fff; }
.btn--gradient:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(136,94,164,0.35), 0 4px 10px rgba(0,143,199,0.18); opacity: 0.96; }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.28); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 18px 34px; font-size: 1rem; }

/* ---------- Background depth ---------- */
.bg-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg-orbs::before, .bg-orbs::after {
  content: '';
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  filter: blur(20px);
}
.bg-orbs::before {
  background: radial-gradient(circle, rgba(136,94,164,0.45), transparent 62%);
  top: -180px; left: -200px;
}
.bg-orbs::after {
  background: radial-gradient(circle, rgba(0,143,199,0.38), transparent 62%);
  bottom: -240px; right: -160px;
}
.bg-grid {
  position: absolute; inset: 0;
  background-image: repeating-radial-gradient(
    circle at 50% 38%,
    rgba(255,255,255,0.045) 0px,
    rgba(255,255,255,0.045) 1px,
    transparent 1px,
    transparent 130px
  );
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.25) 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.25) 70%, transparent 100%);
  z-index: 0;
}
.bg-noise {
  position: absolute; inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
}
.loader__bar-wrap {
  width: 240px;
  height: 2px;
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
  overflow: hidden;
}
.loader__bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-h);
}
.loader__logo {
  height: 44px;
  width: auto;
  opacity: 0.92;
}
.loader__label {
  color: var(--on-dark-faint);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
body.loaded .loader { pointer-events: none; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  transition: background .35s ease, padding .25s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 12px 40px;
  background: rgba(26, 19, 37, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(255,255,255,0.07);
}
.navbar__logo { display: flex; align-items: center; gap: 10px; }
.navbar__logo img { height: 36px; width: auto; }
.navbar__nav { display: flex; align-items: center; gap: 34px; }
.navbar__link {
  color: var(--on-dark);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  letter-spacing: -0.005em;
  transition: color .2s;
}
.navbar__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gradient-h);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.65,.05,.25,1);
}
.navbar__link:hover::after { transform: scaleX(1); }
.navbar__cta { display: flex; align-items: center; gap: 12px; }
.navbar__cta .btn { padding: 10px 18px; font-size: 0.9rem; }

.navbar__burger { display: none; background: none; border: 0; color: #fff; padding: 8px; }
@media (max-width: 900px) {
  .navbar { padding: 14px 20px; }
  .navbar.scrolled { padding: 10px 20px; }
  .navbar__nav { display: none; }
  .navbar__burger { display: flex; }
  .navbar__cta .btn--ghost { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(26,19,37,0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 88px 28px 32px;
  gap: 12px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.65,.05,.25,1);
}
.drawer.open { transform: translateX(0); }
.drawer a {
  font-size: 1.8rem; font-weight: 800; color: #fff;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: -0.02em;
}
.drawer__close { position: absolute; top: 18px; right: 20px; background: none; border: 0; color: #fff; }

/* ---------- Hero (Scene 1) ---------- */
.hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero__pre {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: var(--gradient-h);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(2.1rem, 4.2vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 26px;
}
.hero__title em {
  font-style: normal;
  background: var(--gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 1.12rem;
  color: var(--on-dark-muted);
  line-height: 1.6;
  margin-bottom: 38px;
  max-width: 50ch;
  font-weight: 500;
}
.hero__sub strong { color: var(--on-dark); font-weight: 600; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__side {
  position: relative;
  height: min(440px, 52vh);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__orbit {
  width: 100%;
  max-width: min(420px, 42vh);
  position: relative;
}
.hero__orbit-ring { width: 100%; height: auto; opacity: 0.9; }
.hero__orbit-symbol {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46%;
  height: auto;
}
.hero__orbit-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(circle, rgba(136,94,164,0.38), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}

/* Hero variant: centered */
.hero--centered .hero__inner {
  grid-template-columns: 1fr;
  text-align: center;
}
.hero--centered .hero__title,
.hero--centered .hero__sub { margin-left: auto; margin-right: auto; }
.hero--centered .hero__ctas { justify-content: center; }
.hero--centered .hero__side { display: none; }
.hero--centered .hero__bg-orbit {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
}
.hero__bg-orbit { display: none; }
.hero--centered .hero__bg-orbit img {
  position: absolute;
  width: 760px;
  top: 50%; left: 50%;
  transform: translate(-50%, -42%);
}

@media (max-width: 900px) {
  .hero { padding: 110px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__side { height: 280px; }
  .hero__title { margin-bottom: 22px; }
  /* On mobile the hero stacks and the orbit logo sits at the bottom, so the
     absolutely-positioned scroll cue lands on top of the logo. Hide it here;
     touch users scroll naturally and the cue is decorative. */
  .hero__scroll { display: none; }
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--on-dark-muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--secondary), transparent);
  animation: scrollBob 2s ease-in-out infinite;
}
@keyframes scrollBob {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.3); transform-origin: top; }
}

/* ---------- Marquee strip ---------- */
.marquee {
  background: var(--dark);
  border-top: 1px solid var(--on-dark-line);
  border-bottom: 1px solid var(--on-dark-line);
  overflow: hidden;
  padding: 22px 0;
  color: var(--on-dark-muted);
}
.marquee__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.marquee__item .lucide { width: 18px; height: 18px; color: var(--secondary); }
.marquee__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gradient-h);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Pain Points (Scene 2) ---------- */
.pain {
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.pain__stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.pain__inner {
  width: 100%;
  text-align: center;
  position: relative;
}
.pain__count {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: 28px;
}
.pain__count strong {
  color: var(--secondary);
  font-weight: 800;
  margin: 0 4px;
}
.pain__items {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 340px;
}
.pain__item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  opacity: 0;
  text-align: center;
}
.pain__num {
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--secondary);
}
.pain__text {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 20ch;
}
.pain__text em {
  font-style: normal;
  background: var(--gradient-h);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.pain__progress {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 56px;
}
.pain__progress-dot {
  width: 36px;
  height: 2px;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.pain__progress-dot::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-h);
  width: 0%;
  transition: width .3s ease;
}

/* Mobile: pain points fall back to a static stack (no pin).
   Items are spaced out so each one reveals on its own as the user scrolls.
   Opacity/transform are left to GSAP (do NOT force opacity:1 here, or every
   text shows at once instead of fading in one by one). */
@media (max-width: 900px) {
  .pain__stage { min-height: auto; padding: 80px 0 100px; }
  .pain__items { min-height: 0 !important; }
  .pain__item {
    position: static !important;
    inset: auto;
  }
  /* Spacing between items is set inline by the reveal script (viewport-aware),
     so it is not duplicated here. */
  .pain__count { margin-bottom: 28px; }
}

/* ---------- Approach (Scene 3) ---------- */
.approach {
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.approach__stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 100px 0;
}
.approach__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
  width: 100%;
}
.approach__intro { position: sticky; top: 140px; }
.approach__intro .label { color: var(--secondary); }
.approach__intro .h2 { color: #fff; margin: 18px 0 22px; }
.approach__intro p { color: var(--on-dark-muted); }
.approach__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.approach__step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--on-dark-line);
  align-items: start;
}
@media (min-width: 901px) and (max-height: 880px) {
  .approach__step { padding: 20px 0; }
  .approach__step-desc { font-size: 0.95rem; }
  .approach__stage { padding: 70px 0; }
}
.approach__step:last-child { border-bottom: 1px solid var(--on-dark-line); }
.approach__step-num {
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  background: var(--gradient-h);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}
.approach__step-title {
  font-weight: 800;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 10px;
}
.approach__step-desc {
  color: var(--on-dark-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 56ch;
}
.approach__step-meta {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.approach__chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--on-dark);
  border: 1px solid var(--on-dark-line);
}

@media (max-width: 900px) {
  .approach__stage { min-height: auto; padding: 80px 0; }
  .approach__inner { grid-template-columns: 1fr; gap: 40px; }
  .approach__intro { position: static; }
  /* Steps always visible on mobile — never animate from hidden, so a slow
     scroll can never land on a blank/half-faded frame between steps */
  .approach__step { opacity: 1 !important; transform: none !important; }
}

/* ---------- Services ---------- */
.services { background: var(--white); }
.services__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 72px;
}
.services__head .h2 { color: var(--dark); }
.services__head p { color: var(--muted); max-width: 48ch; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.svc {
  background: #fff;
  padding: 38px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
  transition: background .3s ease;
}
.svc { grid-column: span 2; }
.svc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-h);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.65,.05,.25,1);
}
.svc:hover::before { transform: scaleX(1); }
.svc:hover { background: var(--surface); }
.svc__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.svc__icon .lucide { width: 26px; height: 26px; stroke-width: 2.2; }
.svc__num {
  position: absolute;
  top: 28px; right: 28px;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.svc__title {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.svc__desc { color: var(--muted); font-size: 1rem; line-height: 1.55; }

@media (max-width: 900px) {
  .services__head { grid-template-columns: 1fr; gap: 24px; }
  .services__grid { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(n) { grid-column: span 1; }
}

/* ---------- Proof / Portfolio ---------- */
.proof {
  background: var(--surface-lav);
  position: relative;
}
.proof__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
.proof__head .h2 { color: var(--dark); }
.proof__head p { color: var(--muted); max-width: 48ch; }

/* Layout: GRID (default) */
.proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--border);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}
.case::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-h);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.65,.05,.25,1);
}
.case:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(48,36,60,0.10), 0 4px 14px rgba(48,36,60,0.05);
}
.case:hover::before { transform: scaleX(1); }
.case__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.case__sector {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 12px;
  background: rgba(136,94,164,0.08);
  border-radius: 999px;
}
.case:nth-child(even) .case__sector {
  color: #00729F;
  background: rgba(0,143,199,0.08);
}
.case__geo {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.case__client {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.case__lines { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.case__line {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: baseline;
  font-size: 0.93rem;
  line-height: 1.5;
}
.case__line dt {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.case__line dd { margin: 0; color: var(--body); }
.case__outcome {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  line-height: 1.4;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.case__outcome .lucide { color: var(--secondary); flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; }

/* Layout: FEATURED + GRID */
.proof--featured .proof__grid {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
}
.proof--featured .case:first-child {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--dark);
  color: var(--on-dark);
  border-color: transparent;
  padding: 48px 44px;
  justify-content: space-between;
}
.proof--featured .case:first-child .case__client { color: #fff; font-size: 2rem; }
.proof--featured .case:first-child .case__sector { background: rgba(255,255,255,0.10); color: #fff; }
.proof--featured .case:first-child .case__geo { color: var(--on-dark-muted); }
.proof--featured .case:first-child .case__line dt { color: var(--on-dark-faint); }
.proof--featured .case:first-child .case__line dd { color: var(--on-dark); }
.proof--featured .case:first-child .case__outcome {
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  font-size: 1.1rem;
}
.proof--featured .case:first-child .case__outcome .lucide { color: var(--secondary); }

/* Layout: LIST */
.proof--list .proof__grid {
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.proof--list .case {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 60px 1.4fr 2fr 1.3fr;
  gap: 32px;
  align-items: center;
  padding: 28px 36px;
  min-height: unset;
}
.proof--list .case::before { display: none; }
.proof--list .case:hover { transform: none; box-shadow: none; background: var(--surface); }
.proof--list .case:last-child { border-bottom: 0; }
.proof--list .case__num {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--muted);
  letter-spacing: -0.02em;
}
.proof--list .case__top { flex-direction: column; align-items: flex-start; gap: 6px; }
.proof--list .case__lines { flex-direction: row; flex: 1; gap: 24px; margin: 0; }
.proof--list .case__line { grid-template-columns: 1fr; gap: 4px; font-size: 0.88rem; }
.proof--list .case__outcome { margin: 0; padding: 0; border: 0; font-size: 0.9rem; max-width: 28ch; }
.proof--list .case__line dd { font-size: 0.92rem; }
.proof--list .case__num { display: block; }
.case__num { display: none; }

@media (max-width: 900px) {
  .proof__head { grid-template-columns: 1fr; gap: 20px; }
  .proof__grid { grid-template-columns: 1fr !important; }
  .proof--featured .case:first-child { grid-column: span 1; grid-row: span 1; padding: 36px 28px; }
  .proof--list .case { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px; }
}

/* ---------- Metrics strip ---------- */
.metrics {
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  padding: 80px 0;
  border-top: 1px solid var(--on-dark-line);
  border-bottom: 1px solid var(--on-dark-line);
  overflow: hidden;
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}
.metric { text-align: left; }
.metric__num {
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  background: var(--gradient-h);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-block;
}
.metric__label {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--on-dark-muted);
  line-height: 1.45;
  max-width: 24ch;
}
@media (max-width: 768px) {
  .metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ---------- Sectors / capabilities band ---------- */
.cap {
  background: var(--white);
  padding: 100px 0;
}
.cap__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.cap__head .h2 { color: var(--dark); }
.cap__head p { color: var(--muted); margin-top: 18px; max-width: 44ch; }
.cap__spec {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--secondary);
  color: var(--dark) !important;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.cap__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
}
.cap__group h4 {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.cap__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.cap__list li {
  display: flex; gap: 10px; align-items: center;
  color: var(--body); font-size: 1rem;
}
.cap__list li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gradient-h);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .cap__inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Final CTA (Scene 6) ---------- */
.final {
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  padding: 160px 0;
}
.final__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.final__pre {
  color: transparent;
  background: var(--gradient-h);
  -webkit-background-clip: text; background-clip: text;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.final__title {
  font-weight: 900;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 32px;
}
.final__title em {
  font-style: normal;
  background: var(--gradient-h);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.final__sub {
  font-size: 1.2rem;
  color: var(--on-dark-muted);
  margin-bottom: 48px;
  max-width: 56ch;
  margin-left: auto; margin-right: auto;
  line-height: 1.55;
}
.final__orbit {
  position: absolute;
  width: 720px; height: 720px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.12;
  z-index: 0;
}

/* ---------- Post-contract journey band ---------- */
.post {
  background: var(--surface-cyan);
  padding: 110px 0;
}
.post__head { max-width: 640px; margin-bottom: 56px; }
.post__head .h2 { color: var(--dark); margin-top: 18px; }
.post__head p { color: var(--muted); margin-top: 16px; }
.post__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post__item {
  background: #fff;
  border: 1px solid rgba(0,143,199,0.14);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.post__num {
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--secondary);
}
.post__title {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
  letter-spacing: -0.015em;
}
.post__desc { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
.post__desc a { color: var(--secondary); font-weight: 700; }
.post__desc a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .post__grid { grid-template-columns: 1fr; }
  .post { padding: 80px 0; }
}

/* ---------- Testimonials ---------- */
.testi {
  background: var(--dark-2);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.testi__head { text-align: center; max-width: 620px; margin: 0 auto 60px; position: relative; z-index: 2; }
.testi__head .h2 { color: #fff; margin-top: 18px; }
.testi__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.testi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testi-card__mark {
  font-weight: 900;
  font-size: 3rem;
  line-height: 0.6;
  background: var(--gradient-h);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.testi-card__quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--on-dark);
  font-weight: 500;
}
.testi-card__who {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-card__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.testi-card__role {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.testi-card__org {
  font-size: 0.85rem;
  color: var(--on-dark-muted);
  margin-top: 4px;
}
@media (max-width: 900px) {
  .testi__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-3);
  color: var(--on-dark);
  padding: 80px 0 36px;
  border-top: 1px solid var(--on-dark-line);
  position: relative;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
.footer__brand img { height: 28px; width: auto; opacity: 0.95; }
.footer__brand p {
  margin-top: 16px;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  max-width: 32ch;
  line-height: 1.55;
}
.footer__col h5 {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: 22px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col li {
  color: var(--on-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color .2s;
}
.footer__col a:hover { color: var(--secondary); }
.footer__col address {
  color: var(--on-dark-muted);
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.55;
}
.footer__col address + address { margin-top: 16px; }
.footer__bottom {
  padding-top: 26px;
  border-top: 1px solid var(--on-dark-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--on-dark-faint);
  flex-wrap: wrap;
  gap: 14px;
}
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a { color: var(--on-dark-muted); transition: color .2s; }
.footer__legal a:hover { color: var(--secondary); }
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ---------- Tweaks panel ---------- */
.tweaks {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 320px;
  background: rgba(26, 19, 37, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  padding: 18px 18px 16px;
  color: #fff;
  font-family: var(--font);
  z-index: 180;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  display: none;
}
.tweaks.active { display: block; }
.tweaks__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.tweaks__title {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.tweaks__close {
  background: none; border: 0; color: rgba(255,255,255,0.55);
  padding: 4px;
}
.tweaks__close:hover { color: #fff; }
.tweaks__group { margin-bottom: 16px; }
.tweaks__group:last-child { margin-bottom: 0; }
.tweaks__group-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.tweaks__seg {
  display: flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.tweaks__seg button {
  flex: 1;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.7);
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: 7px;
  transition: background .2s, color .2s;
  letter-spacing: -0.005em;
}
.tweaks__seg button.active {
  background: var(--gradient-h);
  color: #fff;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

