/* ==========================================================================
   JE Labs — main stylesheet
   Graphite + mist surfaces, JE Labs green (#06F5B7) as the single accent.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand */
  --green: #06F5B7;
  --green-2: #45F9CA;
  --green-deep: #006F55;   /* green text on light surfaces (AA) */
  --green-ink: #03261B;    /* text on green */

  /* dark surfaces */
  --bg-0: #0B0E0D;
  --bg-1: #101413;
  --bg-2: #161B19;
  --fg: #F1F5F3;
  --fg-2: #A9B3AE;
  --fg-3: #7C8681;
  --line-d: rgba(255, 255, 255, .1);

  /* light surfaces */
  --mist: #E6EBE8;
  --paper: #F5F7F6;
  --ink: #0F1412;
  --ink-2: #48514D;
  --ink-3: #5F6964;
  --line-l: rgba(15, 20, 18, .12);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(96px, 11vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg-0);
}
html:has(dialog[open]), html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

::selection { background: var(--green); color: var(--green-ink); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.theme-light :focus-visible { outline-color: var(--green-deep); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--green); color: var(--green-ink);
  font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- themes & atmosphere ---------- */
.theme-dark { background: var(--bg-1); color: var(--fg); }
.theme-light { background: var(--mist); color: var(--ink); }

.section { position: relative; isolation: isolate; padding-block: var(--section-y); }

.atmos { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.atmos::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--noise);
  opacity: .07; mix-blend-mode: overlay;
}
.theme-light .atmos::after { opacity: .14; mix-blend-mode: soft-light; }

.glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c, rgba(6, 245, 183, .3)), transparent);
}
.glow--hero-a { width: 80vw; height: 70vw; left: -26vw; top: -36vw; --c: rgba(6, 245, 183, .16); }
.glow--hero-b { width: 70vw; height: 44vw; right: -24vw; top: 30%; --c: rgba(6, 245, 183, .10); }
.glow--mint-a { width: 64vw; height: 56vw; left: -18vw; top: -22vw; --c: rgba(6, 245, 183, .30); }
.glow--mint-b { width: 56vw; height: 50vw; right: -18vw; bottom: -18vw; --c: rgba(125, 250, 214, .45); }
.glow--mint-c { width: 70vw; height: 60vw; right: -24vw; top: -18vw; --c: rgba(6, 245, 183, .26); }
.glow--why-a  { width: 70vw; height: 64vw; left: -30vw; top: 10%; --c: rgba(6, 245, 183, .14); }
.glow--why-b  { width: 50vw; height: 50vw; right: -20vw; bottom: -10%; --c: rgba(6, 245, 183, .08); }
.glow--team   { width: 60vw; height: 60vw; left: -10vw; top: 0; --c: rgba(6, 245, 183, .12); }
.glow--voices { width: 90vw; height: 50vw; left: 5vw; top: -8vw; --c: rgba(6, 245, 183, .16); }
.glow--contact-a { width: 80%; height: 130%; left: -24%; top: -46%; --c: rgba(6, 245, 183, .34); }
.glow--contact-b { width: 70%; height: 120%; right: -26%; bottom: -60%; --c: rgba(6, 245, 183, .20); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-2);
}
.theme-light .eyebrow { color: var(--ink-2); }
.eyebrow__num {
  display: inline-grid; place-items: center;
  min-width: 30px; height: 22px; padding: 0 6px;
  border-radius: 999px;
  background: var(--green); color: var(--green-ink);
  font-size: 11px; letter-spacing: .04em;
}

.display {
  margin: 18px 0 0;
  font-size: clamp(44px, 7vw, 112px);
  font-weight: 700;
  letter-spacing: -.048em;
  line-height: .94;
}

.lead {
  margin: 0;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 46ch;
}
.theme-light .lead { color: var(--ink-2); }

.text-link {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .3s;
}
.text-link:hover { color: var(--green-2); }

.section-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: end;
  column-gap: clamp(32px, 6vw, 96px);
}

/* ---------- buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }

.btn--primary {
  background: var(--green); color: var(--green-ink);
  box-shadow: 0 12px 32px -12px rgba(6, 245, 183, .65), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--primary:hover { background: var(--green-2); box-shadow: 0 18px 44px -12px rgba(6, 245, 183, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--primary:active { transform: translateY(1px); }

.btn--ghost { background: transparent; color: var(--fg); border-color: rgba(255, 255, 255, .24); }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .4); }
.theme-light .btn--ghost { color: var(--ink); border-color: rgba(15, 20, 18, .22); }
.theme-light .btn--ghost:hover { background: rgba(15, 20, 18, .05); border-color: rgba(15, 20, 18, .4); }
.btn--ghost:hover svg[aria-hidden] { transform: none; }
a.btn--ghost[href^="#"]:hover svg { transform: translateY(2px); }

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity .9s var(--ease-out) var(--d, 0s),
    translate 1.1s var(--ease-out) var(--d, 0s),
    transform .5s var(--ease),
    box-shadow .5s var(--ease),
    background-color .3s, border-color .3s;
}
.js [data-reveal].is-in { opacity: 1; translate: none; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 12px clamp(12px, 2vw, 24px) 0;
  pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  max-width: calc(var(--container) + 44px); height: 62px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .45s, border-color .45s, box-shadow .45s, -webkit-backdrop-filter .45s, backdrop-filter .45s;
}
.nav.is-scrolled .nav__inner,
.menu-open .nav__inner {
  background: rgba(12, 16, 15, .84);
  border-color: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6);
}
.nav__logo { flex: none; border-radius: 8px; }
.nav__logo img { height: 26px; width: auto; }

.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: 9px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--fg-2);
  text-decoration: none;
  transition: color .3s, background-color .3s;
}
.nav__links a:hover { color: var(--fg); background: rgba(255, 255, 255, .06); }
.nav__links a.is-active { color: var(--fg); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--green);
}
.nav__cta { flex: none; }

.nav__toggle {
  display: none; flex: none;
  width: 46px; height: 46px; margin-left: 4px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  cursor: pointer; position: relative;
}
.nav__toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.6px; border-radius: 2px;
  background: var(--fg);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 104px var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: rgba(9, 12, 11, .97);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  overflow-y: auto;
  opacity: 0; transition: opacity .35s ease;
}
.menu.is-open { opacity: 1; }
.menu[hidden] { display: none; }
.menu__links { display: grid; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-d);
  font-size: clamp(34px, 9vw, 52px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05;
  color: var(--fg); text-decoration: none;
  translate: 0 14px; opacity: 0;
  transition: translate .6s var(--ease-out), opacity .6s var(--ease-out), color .3s;
}
.menu.is-open .menu__links a { translate: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .12s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .16s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .2s; }
.menu__links a:hover { color: var(--green); }
.menu__links span { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--green); }
.menu__foot { display: grid; gap: 18px; justify-items: start; }
.menu__mail { color: var(--fg-2); text-decoration: none; }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  padding-top: clamp(96px, 11vh, 124px);
  background: var(--bg-0);
  overflow: clip;
}
.hero .atmos { z-index: -2; }
.hero__eyebrow b { color: var(--green); font-weight: 700; }
.pulse-dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 245, 183, .6); }
  100% { box-shadow: 0 0 0 12px rgba(6, 245, 183, 0); }
}

/* JE mark: big gradient symbol behind the right half — fades in, floats, catches a light sweep,
   and drifts a little with the pointer */
.hero__art {
  position: absolute; z-index: -1;
  top: clamp(84px, 7.6vw, 128px);
  right: calc(-1 * clamp(24px, 4.8vw, 100px));
  width: clamp(380px, 49vw, 860px);
  aspect-ratio: 306 / 220;
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  transition: translate 1.2s var(--ease-out);
  animation: mark-in 1.8s var(--ease-out) both, mark-float 14s ease-in-out 1.8s infinite;
  pointer-events: none;
}
.hero__mark {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, transparent 40%, rgba(170, 255, 230, .30) 50%, transparent 60%),
    linear-gradient(180deg, rgba(6, 245, 183, .17), rgba(6, 245, 183, .035) 76%);
  background-size: 250% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: 110% 0, 0 0;
  -webkit-mask: url("../img/brand/mark.svg") center / contain no-repeat;
  mask: url("../img/brand/mark.svg") center / contain no-repeat;
  animation: mark-sheen 7.5s ease-in-out 2.4s infinite;
}
@keyframes mark-in { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
@keyframes mark-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes mark-sheen {
  0% { background-position: 110% 0, 0 0; }
  42%, 100% { background-position: -10% 0, 0 0; }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 492px);
  align-items: end;
  gap: 32px clamp(32px, 4vw, 64px);
}

/* Launch. Grow. Scale. — brightness steps up line by line */
.hero__words {
  margin: 0 0 0 -.04em;
  font-size: clamp(120px, 13.2vw, 228px);
  font-weight: 740;
  letter-spacing: -.062em;
  line-height: .86;
}
.hero__line { display: block; clip-path: inset(-.3em -.2em -.02em -.2em); }
.hero__line > span { display: inline-block; }
.hero__line:nth-child(2) > span { --d: .12s; }
.hero__line:nth-child(3) > span { --d: .24s; }
/* opacity on the whole word (not a translucent colour) so overlapping letters don't show seams */
.w1 { color: var(--fg); opacity: .28; }
.w2 { color: var(--fg); opacity: .62; }
.hero__kern { letter-spacing: -.026em; }   /* opens up the tight L–a pair */
.w3 { color: var(--green); }
.w3 i { font-style: normal; color: var(--fg); }
.js .hero__line > span { transform: translateY(140%); }
.js .hero.is-ready .hero__line > span { transform: none; transition: transform 1.25s var(--ease-out) var(--d, 0s); }

.hero__copy { padding-bottom: clamp(2px, .5vw, 8px); }
.hero__eyebrow { margin-bottom: 22px; }
.hero__title { margin: 0; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.hero__title-main { display: block; font-size: clamp(34px, 3.3vw, 52px); white-space: nowrap; }
.hero__title-sub {
  display: block; margin-top: 12px;
  font-size: clamp(17px, 1.55vw, 22px); font-weight: 500; letter-spacing: -.015em; line-height: 1.3;
  color: #8E9894;
}
.hero__title-sub b { font-weight: 600; color: var(--fg); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 2.4vw, 32px); }
.hero__ctas .btn--ghost { background: rgba(11, 14, 13, .4); }

/* stats bar */
.hero__stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(24px, 2.6vw, 40px) 0 0; padding: 0; list-style: none;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero__stat { padding: clamp(20px, 1.9vw, 26px) clamp(20px, 2.2vw, 32px); border-left: 1px solid rgba(255, 255, 255, .1); min-width: 0; }
.hero__stat:first-child { border-left: 0; }
.hero__stat strong {
  display: block;
  font-size: clamp(26px, 2.3vw, 34px); font-weight: 720; letter-spacing: -.045em; line-height: 1;
  color: var(--green); font-variant-numeric: tabular-nums;
}
.hero__stat > span { display: block; margin-top: 9px; font-size: 13.5px; line-height: 1.35; color: var(--fg-2); }
.hero__stat-arrow { display: inline-block; width: .7em; height: .7em; margin: 0 .14em; vertical-align: -.04em; }

/* trust strip */
.trust {
  position: relative; z-index: 2;
  display: grid; gap: 18px;
  padding: clamp(18px, 1.6vw, 28px) 0 clamp(52px, 6vw, 80px);
}
.trust__row {
  display: grid; grid-template-columns: minmax(170px, 250px) 1fr;
  align-items: center; gap: 12px 32px;
}
.trust__label {
  margin: 0;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3);
}
.trust__list {
  display: flex; flex-wrap: wrap; gap: 8px clamp(22px, 3vw, 44px);
  margin: 0; padding: 0; list-style: none;
}
.trust__logos { align-items: center; gap: 18px clamp(28px, 3.2vw, 46px); }
.trust__logos li { display: flex; align-items: center; min-height: 40px; }
.trust__logos img {
  height: calc(var(--h, 24px) * var(--logo-scale, 1));
  width: auto; max-width: none;
  opacity: .6;
  transition: opacity .35s var(--ease);
}
.trust__logos li:hover img { opacity: 1; }

/* ==========================================================================
   2. SERVICES
   ========================================================================== */
.board {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(15, 20, 18, .14);
  border-radius: clamp(28px, 3.4vw, 44px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .28));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 50px 100px -50px rgba(18, 48, 38, .28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.stage { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.2vw, 48px); }
.stage + .stage::before {
  content: ""; position: absolute; left: 0; width: 1px;
  top: clamp(28px, 3.2vw, 48px); bottom: clamp(28px, 3.2vw, 48px);
  background: rgba(15, 20, 18, .14);
}
.stage__top { display: flex; align-items: center; justify-content: space-between; }
.orb {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #F4FFFB 0, #A7FCE3 26%, #06F5B7 62%, #03C491 100%);
  box-shadow: 0 10px 26px -6px rgba(6, 200, 150, .75);
}
.stage__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-3); }
.stage__title {
  margin: clamp(32px, 3.4vw, 52px) 0 14px;
  font-size: clamp(46px, 5.2vw, 78px); font-weight: 700;
  letter-spacing: -.055em; line-height: .9;
}
.stage__intro { margin: 0 0 clamp(26px, 2.6vw, 36px); max-width: 30ch; font-size: 16.5px; color: var(--ink-2); }
.svc { padding: 18px 0 20px; border-top: 1px solid rgba(15, 20, 18, .1); }
.svc h4 { margin: 0 0 12px; font-size: 15.5px; font-weight: 650; letter-spacing: -.015em; color: var(--ink); }
.svc ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.svc li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.svc li::before {
  content: ""; position: absolute; left: 1px; top: .55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px rgba(6, 245, 183, .2);
}
.svc small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 300px; }
.chips--grid .chip { text-align: center; white-space: nowrap; }
.chip {
  padding: 7px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); border: 1px solid rgba(15, 20, 18, .1);
  font-size: 12.5px; line-height: 1; color: var(--ink);
}
.stage__cta {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: auto; padding-top: 28px;
  font-size: 15px; font-weight: 600; color: var(--green-deep); text-decoration: none;
}
.stage__cta svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.stage__cta:hover svg { transform: translateX(4px); }

/* ==========================================================================
   3. WHY JE LABS
   ========================================================================== */
.why {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 120px); align-items: start;
}
.why__aside { position: sticky; top: clamp(100px, 14vh, 140px); }
.why__title { font-size: clamp(62px, 8.8vw, 140px); }

.orbs { position: relative; width: min(100%, 470px); aspect-ratio: 1 / .92; margin-top: clamp(36px, 4.4vw, 60px); }
.orb-stat {
  position: absolute; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center;
}
.orb-stat strong { font-weight: 720; letter-spacing: -.06em; line-height: .85; font-variant-numeric: tabular-nums; }
.orb-stat > span { max-width: 15ch; font-size: clamp(12.5px, 1vw, 14.5px); line-height: 1.3; }
.orb-stat--lg {
  top: 0; right: 0; width: 76%;
  color: #fff;
  background:
    radial-gradient(120% 120% at 24% 12%, rgba(6, 245, 183, .42), rgba(6, 245, 183, .1) 46%, rgba(255, 255, 255, .03) 76%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .2),
    inset 0 -50px 90px -50px rgba(6, 245, 183, .35),
    0 60px 120px -50px rgba(6, 245, 183, .4);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.orb-stat--lg strong { font-size: clamp(66px, 7.8vw, 124px); }
.orb-stat--lg > span { color: rgba(241, 245, 243, .78); }
.orb-stat--sm {
  left: 0; bottom: 0; width: 45%;
  color: var(--ink);
  background: radial-gradient(120% 120% at 30% 18%, #FFFFFF, #E9F7F0 52%, #C9EADC);
  box-shadow: 0 34px 70px -26px rgba(0, 0, 0, .7), inset 0 -10px 28px rgba(0, 120, 90, .14);
}
.orb-stat--sm strong { font-size: clamp(34px, 3.8vw, 58px); }
.orb-stat--sm > span { color: var(--ink-2); max-width: 12ch; }

.reasons { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-d); }
.reason {
  display: grid; grid-template-columns: clamp(52px, 6vw, 92px) minmax(0, 1fr);
  gap: 0 12px;
  padding: clamp(28px, 3.2vw, 44px) 0;
  border-bottom: 1px solid var(--line-d);
}
.reason__n {
  padding-top: .3em;
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.02em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.reason h3 { margin: 0 0 12px; font-size: clamp(25px, 2.5vw, 38px); font-weight: 650; letter-spacing: -.038em; line-height: 1.06; }
.reason p { margin: 0; max-width: 54ch; font-size: clamp(16px, 1.2vw, 18px); color: var(--fg-2); }
.hubs { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.hubs li {
  padding: 7px 11px; border-radius: 999px;
  border: 1px solid var(--line-d);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-2);
}

/* ==========================================================================
   4. CASES
   ========================================================================== */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.case {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid rgba(15, 20, 18, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(15, 20, 18, .04);
}
.case:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 44px 80px -40px rgba(12, 44, 32, .45); }

.case__visual {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 16 / 10.4;
  margin: 8px 8px 0; padding: clamp(18px, 1.6vw, 22px);
  border-radius: 21px;
  background: #0E1211; color: #fff;
}
.case__visual::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: radial-gradient(closest-side at var(--gx, 70%) var(--gy, 20%), rgba(6, 245, 183, .46), rgba(6, 245, 183, 0) 72%);
  transition: transform 1.4s var(--ease);
}
.case__visual::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--noise); opacity: .09; mix-blend-mode: overlay;
}
.case:hover .case__visual::before { transform: scale(1.18) rotate(8deg); }
.case__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case__logo { width: 46px; height: 46px; border-radius: 11px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .7); }
.case__stage, .case__badge {
  padding: 7px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; line-height: 1;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.case__badge { letter-spacing: .08em; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.case__metric { margin: 0; }
.case__metric strong { display: block; font-size: clamp(46px, 4.7vw, 74px); font-weight: 720; letter-spacing: -.06em; line-height: .86; }
.case__metric span { display: block; margin-top: 10px; font-size: 14px; color: rgba(241, 245, 243, .74); }

.case__photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.case--photo .case__visual::before {
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 10, .45), rgba(8, 11, 10, .08) 38%, rgba(8, 11, 10, .88));
}
.case--photo:hover .case__visual::before { transform: none; }
.case--photo:hover .case__photo { transform: scale(1.05); }

.case__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 22px; }
.case__meta {
  margin: 0 0 9px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.case__title { margin: 0; font-size: clamp(19px, 1.5vw, 22px); font-weight: 650; letter-spacing: -.028em; line-height: 1.2; }
.case__kpis {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin: 20px 0 0; padding-top: 16px;
  border-top: 1px solid rgba(15, 20, 18, .1);
}
.case__kpis div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 3px; min-width: 0; }
.case__kpis dt { font-size: 12.5px; line-height: 1.3; color: var(--ink-3); }
.case__kpis dd { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.025em; color: var(--ink); }
.case__open {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: auto; padding: 20px 0 0;
  border: 0; background: none; cursor: pointer;
  font-size: 14.5px; font-weight: 600; color: var(--green-deep);
}
.case__open::after { content: ""; position: absolute; inset: 0; border-radius: 28px; }
.case__open svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.case:hover .case__open svg { transform: translateX(4px); }
.case__open:focus-visible { outline: none; }
.case__open:focus-visible::after { outline: 2px solid var(--green-deep); outline-offset: 3px; }

/* ==========================================================================
   5. TEAM
   ========================================================================== */
.team {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 112px); align-items: center;
}
.portrait {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 1; border-radius: clamp(28px, 3vw, 40px);
  background: var(--green);
  box-shadow: 0 70px 140px -70px rgba(6, 245, 183, .6);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__tag {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(9, 12, 11, .74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg);
}
.team__name { font-size: clamp(58px, 7.8vw, 124px); }
.team__role { margin: 16px 0 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; color: var(--green); }
.team__quote {
  margin: 34px 0 0; padding-left: 22px;
  border-left: 2px solid var(--green);
  font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.025em; line-height: 1.28;
}
.team__bio { margin: 26px 0 0; max-width: 62ch; color: var(--fg-2); }
.team__bio p { margin: 0; }
.team__bio p + p { margin-top: .8em; }
.team__bio strong { font-weight: 600; color: var(--green); white-space: nowrap; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 36px 0 0; }
.facts div { padding: 14px 0; border-top: 1px solid var(--line-d); }
.facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.facts dd { margin: 6px 0 0; font-size: 16px; }
.team__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.pill-link {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px 0 15px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 14.5px; font-weight: 500; text-decoration: none;
  transition: border-color .3s, color .3s, background-color .3s;
}
.pill-link svg { width: 16px; height: 16px; }
.pill-link:hover { border-color: var(--green); color: var(--green); background: rgba(6, 245, 183, .06); }

/* team members */
.crew { margin-top: clamp(72px, 9vw, 128px); }
.crew__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px;
  padding-top: clamp(24px, 2.6vw, 36px); margin-bottom: clamp(24px, 2.6vw, 36px);
  border-top: 1px solid var(--line-d);
}
.crew__title { margin: 0; font-size: clamp(28px, 3vw, 42px); font-weight: 700; letter-spacing: -.038em; line-height: 1.05; }
.crew__lead { margin: 0; max-width: 56ch; font-size: 16px; color: var(--fg-2); }
.crew__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); margin: 0; padding: 0; list-style: none; }
.member {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08);
}
.member:hover { transform: translateY(-4px); border-color: rgba(6, 245, 183, .32); }
.member__photo { width: 100%; aspect-ratio: 1; object-fit: cover; background: #6CEFC7; }
.member__body { display: grid; gap: 6px; padding: 18px 20px 22px; }
.member__name { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -.025em; line-height: 1.1; }
.member__role {
  margin: 0;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green);
}
.member__focus { margin: 8px 0 0; font-size: 14px; line-height: 1.4; color: var(--fg); }
.member__bio { margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: var(--fg-2); }

/* ==========================================================================
   6. INSIGHTS
   ========================================================================== */
.insights .section-head { margin-bottom: clamp(36px, 4vw, 56px); }
.insights__side { display: grid; gap: 26px; }
.insights__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.insights__actions .btn svg { width: 15px; height: 15px; }
.insights__actions .btn:hover svg { transform: none; }
.rail-nav { display: flex; gap: 8px; }
.rail-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(15, 20, 18, .18); background: rgba(255, 255, 255, .55);
  color: var(--ink); cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, opacity .3s;
}
.rail-btn svg { width: 18px; height: 18px; }
.rail-btn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-btn:disabled { opacity: .35; cursor: default; }

.rail {
  --inset: max(var(--gutter), calc((100% - var(--container)) / 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(282px, 33vw, 456px);
  gap: clamp(14px, 1.5vw, 20px);
  padding: 6px var(--inset) 30px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--inset);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -4px; }
.post {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  border-radius: 24px; overflow: hidden;
  background: var(--paper); border: 1px solid rgba(15, 20, 18, .08);
  color: inherit; text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.post:hover { transform: translateY(-5px); box-shadow: 0 34px 64px -36px rgba(12, 44, 32, .45); }
.post img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; background: #000; }
.post__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 18px 20px 20px; }
.post__meta {
  display: flex; justify-content: space-between; gap: 12px; margin: 0;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.post__meta span:last-child { color: var(--green-deep); }
.post__title { margin: 0; font-size: clamp(18px, 1.35vw, 20px); font-weight: 620; letter-spacing: -.022em; line-height: 1.28; }
.post__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--green-deep); }
.post__cta svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.post:hover .post__cta svg { transform: translate(2px, -2px); }

/* ==========================================================================
   7. TESTIMONIALS
   ========================================================================== */
.voices { background: var(--bg-0); overflow: hidden; }
.voices__head { display: grid; justify-items: center; text-align: center; }
.voices__title { font-size: clamp(62px, 10.4vw, 172px); }
.voices__feature { margin: clamp(30px, 3.4vw, 48px) 0 0; max-width: 940px; }
.voices__feature blockquote {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 46px); font-weight: 600; letter-spacing: -.038em; line-height: 1.1;
  text-wrap: balance;
}
.voices__feature figcaption {
  margin-top: 20px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-3);
}

.marquees { display: grid; gap: 14px; margin-top: clamp(52px, 6vw, 88px); }
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex; flex: none; gap: 14px;
  margin: 0; padding: 2px 14px 2px 0; list-style: none;
  animation: marquee var(--dur, 60s) linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.bubble {
  display: flex; align-items: center; gap: 14px; flex: none;
  padding: 11px 26px 11px 11px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .09);
  font-size: clamp(16px, 1.35vw, 19px); letter-spacing: -.012em; white-space: nowrap;
}
.bubble__avatar {
  width: 44px; height: 44px; flex: none; overflow: hidden;
  display: grid; place-items: end center; border-radius: 50%;
  background: hsl(calc(150deg + var(--t) * 8deg) 16% calc(30% + var(--t) * 4%));
  color: hsl(160deg 30% 88% / .85);
}
.bubble__avatar svg { width: 40px; height: 40px; }

/* ==========================================================================
   8. CONTACT
   ========================================================================== */
.contact { padding-top: clamp(24px, 3vw, 56px); background: var(--bg-0); }
.contact__panel {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(32px, 6vw, 88px);
  border-radius: clamp(28px, 4vw, 48px);
  background: #111715;
  border: 1px solid rgba(255, 255, 255, .08);
}
.contact__title { font-size: clamp(48px, 7.6vw, 124px); }
.contact__panel .lead { margin-top: 26px; }
.contact__ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 68px); }
.cta-card {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px;
  min-height: 132px; padding: 24px;
  border-radius: 26px;
  text-decoration: none;
  transition: background-color .3s, border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cta-card__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; }
.cta-card__icon svg { width: 26px; height: 26px; }
.cta-card__text { display: grid; gap: 6px; min-width: 0; }
.cta-card__label { font-size: clamp(22px, 2.1vw, 30px); font-weight: 700; letter-spacing: -.036em; line-height: 1.05; color: inherit; text-decoration: none; }
.cta-card__sub { font-size: 15px; opacity: .78; overflow-wrap: anywhere; }
.cta-card--primary {
  background: var(--green); color: var(--green-ink);
  box-shadow: 0 30px 70px -34px rgba(6, 245, 183, .75), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.cta-card--primary:hover { background: var(--green-2); transform: translateY(-3px); }
.cta-card--primary .cta-card__icon { background: rgba(3, 38, 27, .1); }
.cta-card__arrow {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-ink); color: var(--green);
  transition: transform .45s var(--ease);
}
.cta-card__arrow svg { width: 18px; height: 18px; }
.cta-card--primary:hover .cta-card__arrow { transform: rotate(45deg); }
.cta-card--secondary { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: var(--fg); }
.cta-card--secondary:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.cta-card--secondary .cta-card__icon { background: rgba(255, 255, 255, .07); color: var(--green); }
.cta-card__mailto::after { content: ""; position: absolute; inset: 0; border-radius: 26px; }
.cta-card__mailto:focus-visible { outline: none; }
.cta-card__mailto:focus-visible::after { outline: 2px solid var(--green); outline-offset: 3px; }
.cta-card__copy {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(9, 12, 11, .4);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: border-color .3s, color .3s, background-color .3s;
}
.cta-card__copy svg { width: 16px; height: 16px; }
.cta-card__copy:hover { border-color: var(--green); color: var(--green); }
.cta-card__copy .icon-check { display: none; }
.cta-card__copy.is-copied { color: var(--green); border-color: var(--green); }
.cta-card__copy.is-copied .icon-copy { display: none; }
.cta-card__copy.is-copied .icon-check { display: block; }

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer { position: relative; overflow: hidden; padding-top: clamp(72px, 8vw, 112px); background: var(--bg-0); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer__brand img { height: 34px; width: auto; }
.footer__brand p { margin: 20px 0 0; font-size: 18px; line-height: 1.4; letter-spacing: -.015em; color: var(--fg-2); }
.footer__heading {
  margin: 4px 0 18px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3);
}
.footer__col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__col a { text-decoration: none; transition: color .3s; }
.footer__col a:hover { color: var(--green); }
.footer .social { display: flex; gap: 10px; }
.social a {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .3s, border-color .3s, color .3s;
}
.social svg { width: 18px; height: 18px; }
.social svg.icon-xhs { width: 30px; height: 30px; }
.footer .social a:hover { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: clamp(52px, 6vw, 88px); padding: 22px 0;
  border-top: 1px solid var(--line-d);
  font-size: 14px; color: var(--fg-3);
}
.footer__bottom p { margin: 0; }
.footer__motto b { color: var(--green); font-weight: 700; }
.footer__word {
  height: clamp(72px, 15.5vw, 236px);
  margin: 6px var(--gutter) 0;
  background: linear-gradient(180deg, rgba(6, 245, 183, .5), rgba(6, 245, 183, .02) 92%);
  -webkit-mask: url("../img/brand/logo.svg") center top / 100% auto no-repeat;
  mask: url("../img/brand/logo.svg") center top / 100% auto no-repeat;
}

/* ==========================================================================
   CASE DIALOGS
   ========================================================================== */
.cd {
  width: min(920px, calc(100% - 32px));
  max-width: none; max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: 30px;
  background: transparent; color: var(--ink);
  overflow: visible;
}
.cd--wide { width: min(1040px, calc(100% - 32px)); }
.cd:focus, .cd:focus-visible { outline: none; }
.cd::backdrop { background: rgba(5, 8, 7, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cd[open] { animation: cd-in .55s var(--ease-out); }
.cd[open]::backdrop { animation: fade-in .4s ease; }
@keyframes cd-in { from { opacity: 0; transform: translateY(28px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.cd__panel {
  max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain;
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7);
}
.cd__head {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(26px, 4vw, 48px);
  background: #0E1211; color: var(--fg);
}
.cd__head::before {
  content: ""; position: absolute; z-index: -1;
  width: 80%; height: 180%; right: -30%; top: -80%;
  background: radial-gradient(closest-side, rgba(6, 245, 183, .32), transparent);
}
.cd__bar {
  position: sticky; top: 0; z-index: 5;
  height: 0;
  display: flex; justify-content: flex-end;
  pointer-events: none;
}
.cd__close {
  position: relative; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(14, 18, 17, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff; cursor: pointer; pointer-events: auto;
  transition: background-color .3s, border-color .3s;
}
.cd__close svg { width: 16px; height: 16px; }
.cd__close:hover { background: rgba(30, 36, 34, .9); border-color: rgba(255, 255, 255, .34); }
.cd__client { display: flex; align-items: center; gap: 18px; padding-right: 56px; }
.cd__client > img { width: 58px; height: 58px; flex: none; border-radius: 14px; }
.cd__glyph {
  width: 58px; height: 58px; flex: none; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(6, 245, 183, .1); border: 1px solid rgba(6, 245, 183, .3);
}
.cd__glyph img { width: 34px; height: auto; }
.cd__kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green);
}
.cd__title { margin: 0; font-size: clamp(24px, 3vw, 36px); font-weight: 700; letter-spacing: -.038em; line-height: 1.08; }
.cd__metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: clamp(26px, 3vw, 36px) 0 0; }
.cd__metrics div {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px;
  padding: 16px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
}
.cd__metrics dt { font-size: 13px; line-height: 1.3; color: var(--fg-2); }
.cd__metrics dd { margin: 0; font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.cd__metrics dd small { font-size: .42em; font-weight: 500; letter-spacing: 0; color: var(--fg-2); }
.cd__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.cd__tags li { padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; color: var(--fg-2); }

.cd__body { display: grid; gap: clamp(28px, 3vw, 40px); padding: clamp(26px, 4vw, 48px); }
.cd__body h3 {
  margin: 0 0 14px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep);
}
.cd__body p { margin: 0 0 12px; max-width: 70ch; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.cd__body section > :last-child { margin-bottom: 0; }
.cd__intro { font-size: 18px !important; color: var(--ink) !important; }
.cd__steps, .cd__results { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cd__steps li {
  padding: 16px 18px; border-radius: 16px;
  background: #fff; border: 1px solid rgba(15, 20, 18, .08);
  font-size: 16px; line-height: 1.55; color: var(--ink-2);
}
.cd__steps b { font-weight: 650; color: var(--ink); }
.cd__results li { position: relative; padding-left: 28px; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.cd__results li::before {
  content: ""; position: absolute; left: 2px; top: .42em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--green-deep); border-bottom: 2px solid var(--green-deep);
  transform: rotate(-45deg);
}
.cd__quote { margin: 0; padding: clamp(22px, 3vw, 30px); border-radius: 20px; background: #0E1211; color: var(--fg); }
.cd__quote blockquote { margin: 0; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; letter-spacing: -.018em; }
.cd__quote figcaption { margin-top: 14px; font-size: 14px; color: var(--fg-2); }
.cd__quote b { color: var(--fg); font-weight: 600; }
.cd__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 20px 20px 24px; border-radius: 20px;
  background: #fff; border: 1px solid rgba(15, 20, 18, .08);
}
.cd__cta p { margin: 0 !important; font-size: 18px !important; font-weight: 600; letter-spacing: -.02em; color: var(--ink) !important; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: #d9dfdc; }
.events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.event {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px; border-radius: 18px;
  background: #fff; border: 1px solid rgba(15, 20, 18, .08);
}
.cd__body .event p { margin: 0; font-size: 15px; line-height: 1.5; }
.cd__body .event .event__where {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.event h4 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.022em; line-height: 1.2; }
.event a {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  margin-top: auto; padding-top: 6px;
  font-size: 14px; font-weight: 600; color: var(--green-deep); text-decoration: none;
}
.event a svg { width: 13px; height: 13px; }
.event a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; }
}

@media (max-width: 1100px) {
  .crew__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__words { font-size: clamp(80px, 21vw, 210px); }
  .hero__copy { max-width: 560px; }
  .hero__art { width: clamp(340px, 72vw, 720px); top: 96px; right: -14vw; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__stat:nth-child(3) { border-left: 0; }
  .hero__stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .section-head--split { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .why__aside { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 0 40px; }
  .why__aside .eyebrow, .why__aside .why__title { grid-column: 1; }
  .why__aside .orbs { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; justify-self: end; width: min(100%, 400px); }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 48px; }
}

@media (max-width: 960px) {
  .board { grid-template-columns: 1fr; }
  .stage + .stage::before { left: clamp(28px, 3.2vw, 48px); right: clamp(28px, 3.2vw, 48px); top: 0; bottom: auto; width: auto; height: 1px; }
  .stage__intro { max-width: 46ch; }
  .team { grid-template-columns: 1fr; }
  .portrait { max-width: 520px; }
  .contact__ctas { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding-top: 100px; }
  .hero__words { font-size: 26.5vw; margin-left: -.05em; }
  .hero__title-main { font-size: clamp(28px, 8.7vw, 36px); }
  .hero__title-sub { font-size: 17px; }
  .hero__ctas .btn { flex: 1 1 0; padding: 0 14px; font-size: 15px; }
  .hero__art { width: 100vw; right: -32vw; top: 88px; }
  .hero__stat { padding: 16px 18px; }
  .hero__stat strong { font-size: 24px; }
  .hero__stat > span { font-size: 12px; }
  .crew__grid { grid-template-columns: 1fr; }
  .member { flex-direction: row; align-items: flex-start; }
  .member__photo { width: 112px; flex: none; margin: 12px 0 12px 12px; border-radius: 16px; }
  .member__body { padding: 14px 16px 16px; }
  .member__name { font-size: 19px; }
  .member__bio { font-size: 13.5px; }
  .trust__row { grid-template-columns: 1fr; }
  .trust__logos { --logo-scale: .8; gap: 14px 28px; }
  .trust__logos li { min-height: 32px; }
  .why__aside { grid-template-columns: 1fr; }
  .why__aside .orbs { grid-column: 1; grid-row: auto; justify-self: center; margin-top: 36px; }
  .reason { grid-template-columns: 44px minmax(0, 1fr); }
  .cases { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: auto minmax(0, 1fr); }
  .cta-card__arrow { display: none; }
  .cta-card__copy { grid-column: 1 / -1; justify-self: start; }
  .footer__grid { grid-template-columns: 1fr; }
  .bubble { padding-right: 20px; }
  .bubble__avatar { width: 38px; height: 38px; }
  .bubble__avatar svg { width: 34px; height: 34px; }

  .cd { width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .cd__panel { max-height: 94dvh; border-radius: 26px 26px 0 0; }
  .cd[open] { animation-name: sheet-in; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .events { grid-template-columns: 1fr; }
}
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 350px) {
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .js .hero__line > span { transform: none; }
  .hero__art, .hero__mark { animation: none; translate: none; }
  .marquee { overflow-x: auto; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .marquee__track { animation: none; }
}
