/* ════════════════════════════════════════════════════════════════
   Turan Business Development — redesign system (v2)
   Brand-true: logo gradient #4C62FF → #17D1C6, navy #021C4F,
   Geologica (display) + Inter (text). Elevated motion & hover.
   ════════════════════════════════════════════════════════════════ */

:root {
  --navy: #021C4F;
  --navy-deep: #02153A;
  --blue: #4C62FF;
  --teal: #17D1C6;
  --ink: #10173A;
  --bg: #F4F5FA;
  --bg-soft: #EEF0F8;
  --white: #FFFFFF;
  --muted: #5A6178;
  --muted-2: #8990A8;
  --line: rgba(2, 28, 79, 0.09);
  --line-soft: rgba(2, 28, 79, 0.06);

  --grad: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  --grad-rev: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  --grad-soft: linear-gradient(135deg, color-mix(in srgb, var(--blue) 14%, transparent), color-mix(in srgb, var(--teal) 14%, transparent));

  --shadow-sm: 0 2px 8px -3px rgba(2, 28, 79, 0.10);
  --shadow: 0 10px 30px -14px rgba(2, 28, 79, 0.16), 0 2px 8px -4px rgba(2, 28, 79, 0.06);
  --shadow-lg: 0 36px 70px -28px rgba(2, 28, 79, 0.32), 0 10px 24px -12px rgba(2, 28, 79, 0.14);
  --shadow-brand: 0 22px 48px -18px rgba(76, 98, 255, 0.45);

  --radius: 22px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --font-head: "Geologica", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(76, 98, 255, 0.18); }

.container {
  width: var(--maxw);
  max-width: calc(100% - 56px);
  margin: 0 auto;
}

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

/* ── Kicker / eyebrow ───────────────────────────────────────── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.kicker.center { justify-content: center; }
.on-dark .kicker { background: none; -webkit-text-fill-color: #fff; color: #fff; }

/* ── Section heads ──────────────────────────────────────────── */
.section { padding: 86px 0; }
.section.tight { padding: 60px 0; }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.sec-head .left { max-width: none; }
.sec-head h2 { margin-top: 16px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); }
h2.display {
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.sec-head .sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 16px;
  max-width: none;
  text-wrap: pretty;
}
.on-dark h2.display { color: #fff; }
.on-dark .sub { color: rgba(255,255,255,0.72); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
}
.btn svg { transition: transform 0.3s var(--ease); }

.btn-grad {
  height: 54px;
  padding: 0 34px;
  font-size: 16px;
  color: #fff;
  background: var(--grad);
  background-size: 160% 160%;
  background-position: 0% 50%;
  box-shadow: 0 10px 26px -14px rgba(76, 98, 255, 0.5);
}
.btn-grad:hover {
  background-position: 100% 50%;
  box-shadow: 0 14px 30px -12px rgba(76, 98, 255, 0.55);
}
.btn-grad:hover svg { transform: translateX(4px); }
.btn-grad:active { transform: scale(0.99); }
.btn-white:hover svg { transform: translateX(4px); }

.btn-sm { height: 44px; padding: 0 24px; font-size: 14px; }

.btn-ghost {
  height: 54px;
  padding: 0 26px;
  font-size: 16px;
  color: var(--navy);
  background: transparent;
}
.btn-ghost .play {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn-ghost:hover .play { transform: scale(1.06); box-shadow: var(--shadow); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-white {
  height: 54px;
  padding: 0 36px;
  font-size: 16px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.3);
}
.btn-white:hover { box-shadow: 0 18px 36px -16px rgba(0,0,0,0.34); }

.btn-outline-light {
  height: 54px; padding: 0 30px; font-size: 16px;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.18); }

:where(a, button):focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 8px;
}

/* link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15px; color: var(--navy);
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translate(4px, -4px); }

/* ── Header ─────────────────────────────────────────────────── */
/* Fixed size & position at all times — never resizes or jumps on scroll.
   On scroll it only fades in a subtle glass layer (bg + blur + hairline +
   soft shadow). The header-style tweak swaps the scrolled treatment. */
.site-header {
  position: sticky; top: 0; z-index: 80;
  height: 84px;
  display: flex; align-items: center;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease),
              border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
/* Glass (default) */
.site-header.scrolled,
[data-header="glass"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 32px -18px rgba(2, 28, 79, 0.20);
}
/* Solid */
[data-header="solid"] .site-header.scrolled {
  background: #fff;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 32px -18px rgba(2, 28, 79, 0.18);
}
/* Off — stays flat, no treatment */
[data-header="off"] .site-header.scrolled {
  background: #fff;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
.site-header .container { display: flex; align-items: center; gap: 34px; }
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { height: 54px; width: auto; }

.main-nav { display: flex; align-items: center; justify-content: center; gap: 28px; flex: 1; min-width: 0; }
.main-nav a {
  position: relative;
  font-size: 14.5px; font-weight: 500; color: var(--navy); white-space: nowrap;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--navy); font-weight: 600; }

.header-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang-pill {
  display: flex; align-items: center; gap: 5px;
  height: 38px; padding: 0 14px;
  border-radius: var(--radius-pill);
  background: rgba(2,28,79,0.05);
  border: 1px solid transparent;
  font-size: 14px; font-weight: 500; color: var(--navy);
  cursor: pointer; font-family: var(--font-body);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lang-pill:hover { background: rgba(2,28,79,0.09); }
.lang-pill > span { min-width: 28px; text-align: center; }
.lang-pill svg { transition: transform 0.3s var(--ease); }
.lang-pill:hover svg { transform: translateY(2px); }
.lang-pill.open svg { transform: rotate(180deg); }

/* Language dropdown */
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 120;
  min-width: 184px; padding: 7px;
  background: #fff; border: 1px solid rgba(2,28,79,0.07); border-radius: 16px;
  box-shadow: 0 20px 50px -18px rgba(2,28,79,0.30);
  opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top right;
  pointer-events: none; transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.lang-pill.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-opt {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent;
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px; border-radius: 10px; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--navy); text-align: left;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.lang-opt .lo-short { font-size: 12px; font-weight: 600; color: var(--muted-2); letter-spacing: 0.03em; }
.lang-opt .lo-right { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.lang-opt .lo-flag { font-size: 17px; line-height: 1; }
.lang-opt:hover { background: var(--bg-soft); }
.lang-opt.active { background: var(--grad-soft); color: var(--blue); }
.lang-opt.active .lo-short { color: var(--blue); }

/* Mobile: language becomes a bottom-sheet drawer (controls stay on the right) */
@media (max-width: 900px) {
  .site-header .header-right { margin-left: auto; }
  .site-header .nav-toggle { margin-left: -10px; }
}
@media (max-width: 760px) {
  .lang-pill.open::before {
    content: ""; position: fixed; inset: 0; z-index: 200;
    background: rgba(2,21,58,0.42);
  }
  .lang-menu {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto;
    width: 100%; min-width: 0; max-width: none;
    border-radius: 22px 22px 0 0; padding: 14px 14px calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%); opacity: 1; z-index: 210;
    box-shadow: 0 -18px 44px -14px rgba(2,28,79,0.34); transition: transform 0.28s var(--ease);
  }
  .lang-menu::before { display: none; }
  .lang-pill.open .lang-menu { transform: translateY(0) !important; opacity: 1; pointer-events: auto; }
  .lang-opt { padding: 15px 14px; font-size: 16.5px; border-radius: 12px; }
  .lang-opt .lo-flag { font-size: 21px; }
  .lang-opt .lo-label { font-family: var(--font-head); font-weight: 600; }
}

.social-row { display: flex; align-items: center; gap: 8px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}
.social-row a:hover { transform: scale(1.08); box-shadow: 0 6px 14px -6px rgba(0,0,0,0.35); }

/* ── Mobile nav (hamburger + drawer) ────────────────────────── */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; margin-left: 4px;
  border: none; background: transparent; cursor: pointer; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 0 auto; border-radius: 2px;
  background: var(--navy);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 95; visibility: hidden; }
.mobile-nav .backdrop {
  position: absolute; inset: 0; background: rgba(2,21,58,0.42);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
/* Bottom-sheet drawer — slides up from the bottom (no logo, single grab handle) */
.mobile-nav-panel {
  position: absolute; left: 0; right: 0; bottom: 0; top: auto;
  width: 100%; max-height: 88vh;
  background: #fff; box-shadow: 0 -26px 60px -24px rgba(2,28,79,0.4);
  border-radius: 28px 28px 0 0;
  transform: translateY(100%); transition: transform 0.46s var(--ease);
  display: flex; flex-direction: column; padding: 12px 26px calc(26px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}
.mobile-nav.open { visibility: visible; }
.mobile-nav.open .backdrop { opacity: 1; }
.mobile-nav.open .mobile-nav-panel { transform: none; }
.mobile-nav-handle {
  appearance: none; border: none; cursor: pointer; background: transparent;
  width: 100%; padding: 8px 0 18px; margin: 0; display: flex; justify-content: center; flex-shrink: 0;
}
.mobile-nav-handle::before {
  content: ""; width: 44px; height: 5px; border-radius: 3px; background: var(--line);
  transition: background 0.2s var(--ease);
}
.mobile-nav-handle:hover::before { background: var(--muted-2); }
.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--navy);
  padding: 15px 0; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  transition: color 0.2s var(--ease), padding-left 0.25s var(--ease);
}
.mobile-nav-links a svg { opacity: 0; transform: translateX(-6px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); color: var(--blue); }
.mobile-nav-links a:hover, .mobile-nav-links a.active { color: var(--blue); padding-left: 6px; }
.mobile-nav-links a:hover svg, .mobile-nav-links a.active svg { opacity: 1; transform: none; }
.mobile-nav-foot { margin-top: 28px; padding-top: 24px; display: flex; flex-direction: column; gap: 22px; }
.mobile-nav-foot .btn { width: 100%; }
.mobile-social { display: flex; justify-content: center; gap: 16px; margin: 18px 0; }
.mobile-social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  transition: transform 0.3s var(--ease);
}
.mobile-social a:hover { transform: scale(1.08); }
html { scrollbar-gutter: stable; }
html.menu-open { overflow: hidden; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero { position: relative; padding: 44px 0 34px; overflow: hidden; }
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 40px;
  align-items: center;
}
.hero-bg-blob {
  position: absolute; pointer-events: none; z-index: 0;
  width: 720px; height: 720px; border-radius: 50%;
  right: -180px; top: -160px;
  background: radial-gradient(circle at 50% 50%, rgba(76,98,255,0.16), rgba(23,209,198,0.05) 55%, transparent 70%);
  filter: blur(8px);
}
.hero-grid-fade {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(2,28,79,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(2,28,79,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000, transparent 75%);
  opacity: 0.6;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 {
  font-weight: 700;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 26px 0 0;
  white-space: nowrap;
}
.hero-copy .lede {
  font-size: 19px; line-height: 1.6; color: var(--muted);
  max-width: 460px; margin-top: 24px; text-wrap: pretty;
}
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

.hero-visual { position: relative; z-index: 1; justify-self: end; width: 100%; min-width: 0; }
.hero-visual .photo {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-left: auto;
}
.hero-visual .photo img { width: 100%; max-width: 100%; height: auto; display: block; filter: drop-shadow(0 40px 60px rgba(2, 28, 79, 0.22)); }

/* floating glass chips on hero — compact, text-only, kept off faces */
.hero-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: baseline; gap: 8px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 13px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.hero-chip .n { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--navy); line-height: 1; }
.hero-chip .l { font-size: 11.5px; color: var(--muted); }
/* Faces sit across the upper-center band; chips live in the empty top-left
   corner and the two lower corners (over torsos/arms), never over a face. */
.hero-chip.c1 { left: 58%; top: 60%; transform: translateX(-50%); z-index: 5; }
.hero-chip.c2 { right: -10px; bottom: 12%; }
.hero-chip.c3 { left: -6px; bottom: 16%; }

/* ── Marquee ────────────────────────────────────────────────── */
.clients { padding: 20px 0 44px; }
.clients .label {
  text-align: center; font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: 28px;
}
.marquee {
  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; align-items: center; gap: 76px; width: max-content;
  animation: marquee 24s linear infinite;
}
.marquee:hover .track { animation-play-state: paused; }
.marquee img {
  height: 40px; width: auto; object-fit: contain; flex-shrink: 0;
}
.marquee img[data-logo="shell"] { height: 46px; }
.marquee img[data-logo="kazenergy"] { height: 52px; }
.marquee img[data-logo="byd"] { height: 40px; }
.marquee img[data-logo="aix"] { height: 30px; }
.marquee img[data-logo="intermark"] { height: 30px; }
.marquee img[data-logo="katko"] { height: 46px; }
.marquee img[data-logo="kpi"] { height: 48px; }
.marquee img[data-logo="samruk"] { height: 38px; }
.marquee img[data-logo="astana"] { height: 34px; }
.marquee img[data-logo="qazaqgaz"] { height: 28px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Who we are ─────────────────────────────────────────────── */
.who .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.who .photo-wrap { position: relative; }
.who .photo-wrap .frame { display: none; }
.who .photo-wrap .photo {
  position: relative; z-index: 1;
  border-radius: var(--radius-lg); overflow: hidden;
  height: 440px;
}

/* ── Slideshow ──────────────────────────────────────────────── */
.slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 460px;
  background: var(--bg-soft);
}
.slideshow .slides { position: absolute; inset: 0; }
.slideshow .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s var(--ease-soft), transform 6s ease-out;
  pointer-events: none;
}
.slideshow .slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* readability scrim behind controls */
.slideshow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1;
  background: linear-gradient(to top, rgba(2,21,58,0.45), transparent);
  pointer-events: none;
}
.ss-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: none; cursor: pointer; color: var(--navy);
  box-shadow: 0 6px 18px -8px rgba(2,28,79,0.4);
  opacity: 0; transition: opacity 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.ss-arrow svg { width: 8px; height: 13px; }
.slideshow:hover .ss-arrow { opacity: 1; }
.ss-arrow:focus-visible { opacity: 1; }
.ss-arrow.prev { left: 14px; }
.ss-arrow.next { right: 14px; }
.ss-arrow:hover { background: var(--grad); color: #fff; }
.ss-dots {
  position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3;
  display: flex; justify-content: center; gap: 7px;
}
.ss-dot {
  width: 6px; height: 6px; border-radius: 999px; padding: 0;
  background: rgba(255,255,255,0.55);
  border: none; cursor: pointer;
  transition: width 0.4s var(--ease), background 0.4s var(--ease);
}
.ss-dot.is-active { width: 18px; background: #fff; }
.who .photo-wrap .photo img { width: 100%; height: 100%; object-fit: cover; }
.who .desc { font-size: 17px; line-height: 1.6; color: var(--muted); margin-top: 22px; max-width: 480px; }
.stats { display: flex; gap: 48px; margin-top: 44px; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: 46px; line-height: 1; }
.stat .cap { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.35; }

/* ── Cards grid shared ──────────────────────────────────────── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* Service cards */
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px 36px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc:hover { box-shadow: var(--shadow); border-color: rgba(2, 28, 79, 0.12); }
.svc .ic {
  width: 56px; height: 56px; border-radius: 15px;
  background: var(--grad-soft);
  display: grid; place-items: center;
  margin-bottom: 24px;
  transition: transform 0.45s var(--ease), background 0.4s var(--ease);
}
.svc .ic svg { width: 26px; height: 26px; stroke: var(--navy); transition: stroke 0.4s var(--ease); }
.svc:hover .ic { background: var(--grad); transform: scale(1.03); }
.svc:hover .ic svg { stroke: #fff; }
.svc h3 { font-size: 20px; font-weight: 700; line-height: 1.22; color: var(--navy); margin-bottom: 12px; transition: color 0.3s; }
.svc p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.svc .more {
  margin-top: auto; padding-top: 20px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.svc .more svg { transition: transform 0.3s var(--ease); }
.svc:hover .more { opacity: 1; transform: none; }
.svc:hover .more svg { transform: translate(3px, -3px); }

/* ── HCD banner ─────────────────────────────────────────────── */
.hcd img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow); }
.hcd-full { padding: 32px 0; }
.hcd-full img, .hcd-full picture { width: 100%; height: auto; display: block; }

/* ── Case cards ─────────────────────────────────────────────── */
.case {
  position: relative; display: block;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.case .thumb { position: relative; height: 300px; overflow: hidden; }
.case .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.case .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,21,58,0.86) 0%, rgba(2,21,58,0.18) 48%, transparent 78%);
}
.case .cap {
  position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2;
}
.case .cap h3 { color: #fff; font-size: 22px; font-weight: 700; line-height: 1.2; }
.case .cap .more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-size: 14px; font-weight: 600; color: #fff;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.case:hover { box-shadow: var(--shadow); }
.case:hover .thumb img { transform: scale(1.07); }
.case:hover .cap .more { opacity: 1; transform: none; }

/* ── Slider arrows ──────────────────────────────────────────── */
.arrows { display: flex; gap: 8px; }
.arrows button {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: none;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--navy); cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.arrows button:hover { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -12px rgba(76,98,255,0.5); }
.arrows button:active { transform: scale(0.97); }

/* ── Our team — founder feature + members ───────────────────── */
.founder {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 44px;
}
.founder-portrait {
  position: relative;
  background: var(--grad);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.founder-portrait .ring {
  position: absolute; border: 2px solid rgba(255,255,255,0.42); pointer-events: none;
}
.founder-portrait .ring.r1 { width: 340px; height: 150px; right: -90px; top: -54px; border-radius: 60px; transform: rotate(-14deg); }
.founder-portrait .ring.r2 { width: 320px; height: 320px; left: -150px; bottom: -160px; border-radius: 50%; border-color: rgba(255,255,255,0.16); }
.founder-portrait img {
  position: relative; z-index: 2;
  width: 132%; max-width: 132%; height: auto;
  object-fit: contain; object-position: top center;
  margin-top: 2%;
}
.founder-portrait .stat-chip {
  position: absolute; z-index: 3; left: 24px; bottom: 24px;
  display: flex; flex-direction: column;
  padding: 15px 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 15px; box-shadow: var(--shadow);
}
.founder-portrait .stat-chip .n { font-family: var(--font-head); font-weight: 700; font-size: 28px; line-height: 1; color: var(--navy); }
.founder-portrait .stat-chip .l { font-size: 12px; color: var(--muted); margin-top: 5px; }

.founder-body { display: flex; flex-direction: column; justify-content: center; }
.role-pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; white-space: nowrap;
  height: 44px; padding: 0 26px;
  border-radius: var(--radius-pill);
  background: var(--grad);
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
}
.founder-body h3 {
  font-family: var(--font-head);
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 700; color: var(--navy);
  margin: 22px 0 16px; line-height: 1.02;
}
.founder-body .lead { font-size: 18px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.creds { display: flex; flex-direction: column; gap: 11px; margin-top: 22px; }
.creds li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.creds li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--grad);
}

.team-scroll { position: relative; }
.members-head { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.team-track {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 5px; margin: -5px;
}
.team-track::-webkit-scrollbar { display: none; }
.team-track .member .m-photo { aspect-ratio: 1 / 1; }
.team-track .member .m-photo img { object-fit: cover; object-position: 50% 8%; }
.member {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.arrows button[disabled] { opacity: 0.35; cursor: default; }
.arrows button[disabled]:hover { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); transform: none; }
.member:hover { box-shadow: var(--shadow); border-color: rgba(2,28,79,0.12); }
.member .m-photo {
  position: relative; aspect-ratio: 5 / 4;
  background: var(--grad-soft);
  display: grid; place-items: center; overflow: hidden;
}
.member .m-photo img { width: 100%; height: 100%; object-fit: cover; }
.member.is-placeholder .m-photo svg { width: 58px; height: 58px; stroke: var(--blue); opacity: 0.55; }
.member .m-info { padding: 22px 24px 26px; }
.member .m-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--navy); }
.member .m-role { font-size: 13.5px; color: var(--muted); margin-top: 5px; }
.member.is-placeholder .m-name, .member.is-placeholder .m-role { color: var(--muted-2); }

/* Monogram avatar (used when no headshot is available yet) */
.member .m-photo.mono-photo { background: var(--grad); }
.member .m-photo .m-mono {
  font-family: var(--font-head); font-weight: 700; font-size: 46px;
  letter-spacing: 0.01em; color: #fff;
}
.member .m-photo .m-mono::selection { background: transparent; }

/* Static team grid (About page) */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 268px)); justify-content: center; gap: 24px; }
.team-grid .member { flex: none; }
.team-grid .member .m-photo { aspect-ratio: 1 / 1; }
.team-grid .member .m-photo img { object-fit: cover; object-position: 50% 8%; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
/* Testimonials header stays a row on mobile: title left, arrows top-right (like the team) */
@media (max-width: 760px) {
  .team-scroll .sec-head { flex-direction: row; align-items: flex-start; gap: 14px; }
  .team-scroll .sec-head .left { margin-bottom: 0; flex: 1; min-width: 0; }
  .team-scroll .sec-head .arrows { flex-shrink: 0; }
}

/* ── Why partner (dark band) ────────────────────────────────── */
.why {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% -10%, #0A2E6E 0%, var(--navy) 42%, var(--navy-deep) 100%);
  color: #fff;
  padding: 92px 0;
}
.why::before, .why::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.why::before { width: 520px; height: 520px; right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(76,98,255,0.45), transparent 70%); }
.why::after { width: 460px; height: 460px; left: -180px; bottom: -220px;
  background: radial-gradient(circle, rgba(23,209,198,0.32), transparent 70%); }
.why .container { position: relative; z-index: 2; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: center; }
.why .brand-stage {
  position: relative; height: 320px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  display: grid; place-items: center;
  overflow: hidden;
}
.why .brand-stage::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(76,98,255,0.5), transparent 65%);
  filter: blur(10px);
}
.why .brand-stage img { position: relative; z-index: 1; width: 260px; height: auto; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .fic {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 15px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display: grid; place-items: center;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.feature .fic svg { width: 26px; height: 26px; stroke: #fff; }
.feature:hover .fic { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.3); }
.feature h3 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.66); }

/* ── Testimonials ───────────────────────────────────────────── */
.tcard {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 34px 32px 36px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tcard:hover { box-shadow: var(--shadow); }
.tcard .thead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.tcard .qmark { font-family: var(--font-head); font-size: 60px; line-height: 0.6; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; height: 30px; }
.tcard .stars { display: flex; gap: 3px; color: #F5A623; font-size: 16px; flex-shrink: 0; }
.tcard .quote { font-size: 15px; line-height: 1.6; color: var(--ink); flex: 1; }
.tcard .person { display: flex; align-items: flex-start; gap: 14px; margin-top: 26px; }
.tcard .avatar {
  width: 54px; height: 54px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  background: var(--grad); font-size: 16px;
}
.tcard .avatar img { width: 100%; height: 100%; object-fit: cover; }
.tcard .p-name { font-size: 15px; font-weight: 700; color: var(--navy); }
.tcard .p-org { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ── Testimonials carousel track ────────────────────────────── */
.t-track {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 5px; margin: -5px;
}
.t-track::-webkit-scrollbar { display: none; }
.t-track .tcard {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}
@media (max-width: 900px) { .t-track .tcard { flex: 0 0 calc((100% - 24px) / 2); } }
@media (max-width: 620px) { .t-track .tcard { flex: 0 0 86%; } }

/* ── How we work (process timeline) ─────────────────────────── */
/* ── How we work (card grid) ────────────────────────────────── */
.hww-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.hww-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px 26px 36px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.hww-card .h-icon {
  width: 58px; height: 58px; margin-bottom: 22px;
  transition: transform 0.4s var(--ease);
}
.hww-card:hover { box-shadow: var(--shadow); border-color: rgba(2, 28, 79, 0.12); }
.hww-card:hover .h-icon { transform: scale(1.08); }
.hww-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.25; }
.hww-card p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.process-note { font-size: 14px; color: var(--muted); max-width: 320px; text-align: right; }

/* Full-bleed tinted band — breaks the white-on-grey rhythm of the surrounding sections */
#how-we-work {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 120% at 88% -10%, rgba(76,98,255,0.10), transparent 55%),
    radial-gradient(80% 120% at 6% 115%, rgba(23,209,198,0.10), transparent 55%),
    linear-gradient(180deg, #ECF1FF 0%, #EEF2FE 55%, #E9F4FF 100%);
  border-top: 1px solid rgba(2,28,79,0.06);
  border-bottom: 1px solid rgba(2,28,79,0.06);
}
#how-we-work > .container { position: relative; z-index: 2; }
#how-we-work .hww-card { box-shadow: var(--shadow-sm); border-color: rgba(2,28,79,0.05); }

/* ── News ───────────────────────────────────────────────────── */
.news { display: flex; flex-direction: column; gap: 16px; }
.news .thumb {
  height: 230px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.news .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.news:hover .thumb img { transform: scale(1.05); }
.news .tag { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.news h3 { font-size: 19px; font-weight: 700; line-height: 1.32; color: var(--navy); transition: color 0.3s; max-width: 340px; }
.news:hover h3 { color: var(--navy); }

/* ── CTA banner ─────────────────────────────────────────────── */
.cta-wrap { padding: 0 0 90px; }
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--blue) 0%, var(--teal) 100%);
  min-height: 380px; display: flex; align-items: center;
  box-shadow: var(--shadow-brand);
}
.cta .ring {
  position: absolute; border: 2px solid rgba(255,255,255,0.32);
  border-radius: 80px; pointer-events: none;
}
.cta .ring.r1 { width: 540px; height: 240px; right: 8%; top: -120px; transform: rotate(-12deg); }
.cta .ring.r2 { width: 360px; height: 360px; right: 22%; bottom: -200px; border-radius: 50%; }
.cta .glow { position: absolute; width: 420px; height: 420px; right: 14%; top: -60px;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 68%); pointer-events: none; }
.cta .inner { position: relative; z-index: 3; padding: 64px 60px; max-width: 720px; }
.cta h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; color: #fff; text-transform: uppercase; letter-spacing: -0.01em; }
.cta p { font-size: 19px; line-height: 1.5; color: rgba(255,255,255,0.92); margin: 18px 0 32px; }
.cta .person { position: absolute; right: 5%; bottom: 0; height: 116%; z-index: 2; pointer-events: none; filter: drop-shadow(-10px 20px 30px rgba(0,0,0,0.2)); }

/* ── Closing CTA (light, dynamic finale) ────────────────────── */
.closing {
  position: relative; overflow: hidden; text-align: center;
  background: #fff;
  padding: 124px 0 130px;
}
.closing-aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ca-ring {
  position: absolute; left: 50%; top: 46%; width: 760px; height: 760px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(76,98,255,0) 0deg, rgba(76,98,255,0.16) 70deg,
    rgba(23,209,198,0.18) 150deg, rgba(76,98,255,0) 240deg, rgba(23,209,198,0.10) 320deg, rgba(76,98,255,0) 360deg);
  filter: blur(34px); opacity: 0.85;
  animation: ca-spin 32s linear infinite;
}
.ca-blob { position: absolute; border-radius: 50%; filter: blur(18px); }
.ca-blob.b1 { width: 360px; height: 360px; left: -120px; top: -90px;
  background: radial-gradient(circle, rgba(76,98,255,0.16), transparent 70%); animation: ca-drift 22s var(--ease-soft) infinite; }
.ca-blob.b2 { width: 420px; height: 420px; right: -150px; bottom: -160px;
  background: radial-gradient(circle, rgba(23,209,198,0.18), transparent 70%); animation: ca-drift 26s var(--ease-soft) infinite reverse; }
.ca-blob.b3 { width: 240px; height: 240px; right: 16%; top: -40px;
  background: radial-gradient(circle, rgba(76,98,255,0.12), transparent 70%); animation: ca-drift 19s var(--ease-soft) infinite; animation-delay: -6s; }
@keyframes ca-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes ca-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(36px, -28px) scale(1.12); }
  100% { transform: translate(0, 0) scale(1); }
}
.closing .container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.closing-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(40px, 5.6vw, 74px); line-height: 1.02; letter-spacing: -0.025em;
  color: var(--navy); max-width: 15ch; text-wrap: balance;
}
.grad-text {
  background: linear-gradient(100deg, var(--blue) 0%, var(--teal) 38%, var(--blue) 76%, var(--teal) 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: ca-flow 7s ease-in-out infinite;
}
@keyframes ca-flow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.word-rotate { position: relative; display: inline-block; text-align: left; vertical-align: top; }
.wr-word {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  opacity: 0; transform: translateX(-0.55em); filter: blur(4px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.wr-word.is-active { position: relative; opacity: 1; transform: none; filter: blur(0); }
.wr-word.is-exiting { opacity: 0; transform: translateX(0.55em); filter: blur(4px); }
.closing-sub { max-width: 600px; margin: 24px 0 0; font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.closing-actions { display: flex; align-items: center; gap: 28px; margin-top: 44px; flex-wrap: wrap; justify-content: center; }
.closing-cta {
  position: relative; overflow: hidden;
  height: 60px; padding: 0 42px; font-size: 16.5px;
  box-shadow: 0 14px 34px -14px rgba(76,98,255,0.6);
  animation: ca-pulse 3.4s var(--ease-soft) infinite;
}
.closing-cta::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg);
  animation: ca-sheen 4.6s ease-in-out infinite;
}
@keyframes ca-sheen { 0%, 64% { left: -60%; } 86%, 100% { left: 130%; } }
@keyframes ca-pulse {
  0%, 100% { box-shadow: 0 14px 34px -14px rgba(76,98,255,0.55); }
  50%      { box-shadow: 0 18px 44px -12px rgba(23,209,198,0.6); }
}
.closing-link { font-weight: 600; font-size: 15px; color: var(--navy); display: inline-flex; gap: 8px; align-items: center; transition: gap 0.25s var(--ease), color 0.25s var(--ease); }
.closing-link svg { transition: transform 0.3s var(--ease); }
.closing-link:hover { color: var(--blue); }
.closing-link:hover svg { transform: translateX(4px); }
@media (max-width: 600px) {
  .closing { padding: 76px 0 84px; }
  .ca-ring { width: 520px; height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  .ca-ring, .ca-blob, .grad-text, .closing-cta, .closing-cta::after { animation: none !important; }
  .wr-word { transition: none !important; }
}

/* ── Closing CTA — Kinetic Marquee ──────────────────────────── */
.closing-marquee {
  position: relative; width: 100%; overflow: hidden;
  display: flex; align-items: center; min-height: 430px;
  background: linear-gradient(105deg, #4B64FE 6%, #17D1C6 92%);
}
.closing-marquee .cm-frame {
  position: relative; z-index: 5; width: 100%; max-width: 1240px;
  margin: 0 auto; padding: 92px 28px; text-align: center;
}
.closing-marquee .cm-frame > * { margin-left: auto; margin-right: auto; }
.cm-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 20px; color: rgba(255,255,255,0.9);
}
.cm-title {
  font-family: var(--font-head); font-weight: 700; line-height: 1.03; letter-spacing: -0.025em;
  font-size: clamp(34px, 4.6vw, 60px); color: #fff;
}
.cm-actions { margin-top: 36px; display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; }
.cm-marquee {
  position: absolute; left: 0; right: 0; z-index: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.cm-marquee.top { top: 26px; }
.cm-marquee.bot { bottom: 26px; }
.cm-track { display: flex; gap: 0; width: max-content; will-change: transform; }
.cm-track.l { animation: cm-move 26s linear infinite; }
.cm-track.r { animation: cm-move 30s linear infinite reverse; }
.cm-track span {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 6vw, 84px);
  letter-spacing: 0.01em; padding: 0 0.35em; color: transparent;
  -webkit-text-stroke: 1.4px rgba(255,255,255,0.34); white-space: nowrap;
}
@keyframes cm-move { to { transform: translateX(-50%); } }
.cm-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 42px;
  border-radius: var(--radius-pill); white-space: nowrap; font-family: var(--font-body);
  font-weight: 700; font-size: 16.5px; color: var(--navy); background: #fff;
  box-shadow: 0 16px 40px -14px rgba(0,0,0,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); position: relative; overflow: hidden;
}
.cm-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -16px rgba(0,0,0,0.4); }
.cm-btn svg { transition: transform 0.3s var(--ease); }
.cm-btn:hover svg { transform: translateX(4px); }
@media (max-width: 760px) {
  .closing-marquee { min-height: 380px; }
  .closing-marquee .cm-frame { padding: 72px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-track { animation: none !important; }
}

/* ── Footer (dark) ──────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 78px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand img { height: 48px; width: auto; margin-bottom: 24px; }
.footer-brand .addr { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 270px; }
.footer-social { display: flex; gap: 10px; margin-top: 28px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.footer-social a:hover { transform: scale(1.08); box-shadow: 0 6px 14px -6px rgba(0,0,0,0.45); }
.footer-col h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 20px; font-family: var(--font-head); }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.62); transition: color 0.25s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 56px; border-top: 1px solid rgba(255,255,255,0.12);
  padding: 24px 0 28px; display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: #fff; }

/* ════════════════════════════════════════════════════════════
   INNER PAGES
   ════════════════════════════════════════════════════════════ */

/* ── Page hero ──────────────────────────────────────────────── */
.page-hero { position: relative; padding: 26px 0 18px; overflow: hidden; }
.page-hero .blob {
  position: absolute; z-index: 0; pointer-events: none;
  width: 640px; height: 640px; border-radius: 50%;
  right: -160px; top: -200px;
  background: radial-gradient(circle at 50% 50%, rgba(76,98,255,0.14), rgba(23,209,198,0.05) 55%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted-2); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--line); }
.page-hero h1 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(40px, 5vw, 62px); line-height: 1.04; letter-spacing: -0.02em;
  color: var(--navy); margin-top: 16px; text-wrap: balance;
}
.page-hero .lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 660px; margin-top: 20px; text-wrap: pretty; }

/* ── Generic split (text + media) ───────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
.split.reverse .split-media { order: -1; }
.split-media {
  border-radius: var(--radius-lg); overflow: hidden;
  height: 460px; box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { margin-bottom: 24px; }
.split-body p { font-size: 17px; line-height: 1.62; color: var(--muted); text-wrap: pretty; }
.split-body p + p { margin-top: 22px; }

/* ── Offices ────────────────────────────────────────────────── */
.offices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.office {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.office:hover { box-shadow: var(--shadow); border-color: rgba(2,28,79,0.12); }
.office .flag { font-size: 34px; line-height: 1; }
.office .country { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy); margin: 16px 0 10px; }
.office a { font-size: 15px; color: var(--muted); transition: color 0.2s var(--ease); display: inline-block; }
.office a:hover { color: var(--blue); }

/* ── Reasons (why choose) ───────────────────────────────────── */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 34px 30px 36px; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.reason:hover { box-shadow: var(--shadow); border-color: rgba(2,28,79,0.12); }
.reason .ic {
  width: 60px; height: 60px; border-radius: 16px; background: var(--grad-soft);
  display: grid; place-items: center; margin-bottom: 22px;
  transition: transform 0.4s var(--ease);
}
.reason:hover .ic { transform: scale(1.06); }
.reason .ic svg { width: 28px; height: 28px; stroke: var(--blue); }
.reason h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 11px; line-height: 1.25; }
.reason p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ── Highlight banner (partnership) ─────────────────────────── */
.highlight {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 140% at 85% 0%, #0A2E6E 0%, var(--navy) 48%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-lg);
}
.highlight .h-body { padding: 56px 56px; color: #fff; position: relative; z-index: 2; }
.highlight .h-body .role-pill { margin-bottom: 24px; }
.highlight .h-body h2 { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin-bottom: 18px; }
.highlight .h-body p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.74); text-wrap: pretty; }
.highlight .h-media { position: relative; min-height: 360px; }
.highlight .h-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── Case rows (alternating) ────────────────────────────────── */
.case-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.case-row + .case-row { margin-top: 80px; }
.case-row.reverse .cr-media { order: -1; }
.cr-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  height: 420px; box-shadow: var(--shadow);
}
.cr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.case-row:hover .cr-media img { transform: scale(1.04); }
.cr-tag {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px;
  border-radius: var(--radius-pill); background: var(--grad-soft);
  color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.cr-body h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; color: var(--navy); margin: 18px 0 16px; }
.cr-body p { font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.cr-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.cr-list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.cr-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }

/* ── Contact ────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: start; }
.contact-info .ci-block { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.contact-info .ci-block:first-child { padding-top: 0; }
.contact-info .ci-lbl { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 8px; }
.contact-info .ci-val { font-size: 18px; color: var(--navy); font-weight: 500; }
.contact-info .ci-val a { color: var(--navy); transition: color 0.2s var(--ease); }
.contact-info .ci-val a:hover { color: var(--blue); }
.form-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 40px 40px 44px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(76,98,255,0.1);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input.is-invalid, .field textarea.is-invalid {
  border-color: #E5484D; background: #fff;
  box-shadow: 0 0 0 4px rgba(229,72,77,0.1);
}
.form-sent {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 48px 40px; box-shadow: var(--shadow); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: form-sent-in 0.45s var(--ease) both;
}
.form-sent__ic {
  width: 62px; height: 62px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; color: #fff; margin-bottom: 14px;
  box-shadow: 0 12px 26px -12px rgba(76,98,255,0.6);
}
.form-sent h3 { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--navy); }
.form-sent p { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 360px; text-wrap: pretty; }
@keyframes form-sent-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ── Custom dropdown (replaces native <select> site-wide) ───── */
.tbd-select { position: relative; }
.tbd-select-native { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tbd-select-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink); text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 7px 7px 7px 16px; min-height: 52px; cursor: pointer;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.tbd-select.open .tbd-select-trigger, .tbd-select-trigger:focus-visible {
  border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(76,98,255,0.1); outline: none;
}
.tbd-select-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbd-select-caret {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; color: #fff; background: var(--grad);
  box-shadow: 0 6px 14px -8px rgba(76,98,255,0.7);
  transition: transform 0.3s var(--ease);
}
.tbd-select.open .tbd-select-caret { transform: rotate(180deg); }
.tbd-select-menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 6px; margin: 0; list-style: none;
  max-height: 290px; overflow-y: auto;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.tbd-select.open .tbd-select-menu { opacity: 1; transform: none; pointer-events: auto; }
.tbd-select-opt {
  padding: 11px 14px; border-radius: 9px; font-size: 14.5px; color: var(--ink); cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.tbd-select-opt:hover { background: var(--bg-soft); color: var(--navy); }
.tbd-select-opt.is-selected { background: var(--grad-soft); color: var(--blue); font-weight: 600; }

/* ── Offices map strip ──────────────────────────────────────── */
.map-strip { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-strip img { width: 100%; height: auto; display: block; }

/* ── CTA simple (inner page) ────────────────────────────────── */
.cta-simple { text-align: center; }
.cta-simple h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); color: var(--navy); margin-bottom: 18px; text-wrap: balance; }
.cta-simple p { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 32px; }

/* ── Article / case detail ──────────────────────────────────── */
.detail { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
/* Service detail bodies are short — give the grid extra height so the sticky aside
   stays pinned for a comfortable distance while scrolling, like the longer article/case pages. */
[data-screen-label="Service — Body"] .detail { min-height: calc(100vh - 130px); }
.detail-hero-media { border-radius: var(--radius-lg); overflow: hidden; height: 440px; box-shadow: var(--shadow); margin-bottom: 48px; }
.detail-hero-media img { width: 100%; height: 100%; object-fit: cover; }
[data-screen-label="Service — Image"] .detail-hero-media { height: 300px; }
@media (max-width: 760px) { [data-screen-label="Service — Image"] .detail-hero-media { height: 210px; } }
.prose { max-width: 760px; }
.prose > p:first-child { font-size: 20px; line-height: 1.6; color: var(--navy); }
.prose h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); color: var(--navy); margin: 40px 0 14px; line-height: 1.2; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 16px; text-wrap: pretty; }
.prose ul { margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.prose img { width: 100%; border-radius: var(--radius); margin: 24px 0; box-shadow: var(--shadow-sm); }
.prose blockquote { margin: 26px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--teal); font-family: var(--font-head); font-size: 22px; line-height: 1.4; color: var(--navy); }
.detail-aside { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-sm); }
.detail-aside .a-row { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.detail-aside .a-row:first-child { padding-top: 0; }
.detail-aside .a-row:last-child { border-bottom: none; padding-bottom: 0; }
.detail-aside .a-lbl { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.detail-aside .a-val { font-size: 15px; color: var(--navy); font-weight: 500; margin-top: 5px; }
.detail-aside .btn { width: 100%; margin-top: 22px; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-top: 20px; font-size: 14px; color: var(--muted); }
@media (max-width: 980px) {
  .detail { grid-template-columns: 1fr; gap: 36px; }
  [data-screen-label="Service — Body"] .detail { min-height: 0; }
  .detail-aside { position: static; }
  .detail-hero-media { height: 340px; }
}

/* ── Expanded service blocks (Services page) ────────────────── */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.svc-block + .svc-block { margin-top: 76px; }
.svc-block.reverse .svc-visual { order: -1; }
.svc-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  height: 380px; box-shadow: var(--shadow);
  background: radial-gradient(130% 130% at 75% 10%, #0A2E6E, var(--navy) 55%, var(--navy-deep));
  display: grid; place-items: center;
}
.svc-visual::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(76,98,255,.5), transparent 65%); filter: blur(8px); }
.svc-visual .big-ic { position: relative; z-index: 2; width: 116px; height: 116px; display: grid; place-items: center; border-radius: 28px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.svc-visual .big-ic svg { width: 60px; height: 60px; stroke: #fff; }
.svc-visual .bignum { position: absolute; left: 28px; bottom: 14px; z-index: 2; font-family: var(--font-head); font-weight: 800; font-size: 92px; line-height: 1; color: rgba(255,255,255,.12); }
.svc-block .tag { display: inline-flex; align-items: center; height: 32px; padding: 0 15px; border-radius: 999px; background: var(--grad-soft); color: var(--blue); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.svc-block h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; color: var(--navy); margin: 16px 0 14px; }
.svc-block .lead { font-size: 17px; line-height: 1.62; color: var(--muted); text-wrap: pretty; }
.svc-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 22px 0 26px; }
.svc-caps li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.svc-caps li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
@media (max-width: 620px) { .svc-caps { grid-template-columns: 1fr; } }
@media (max-width: 880px) {
  .svc-block, .svc-block.reverse { grid-template-columns: 1fr; gap: 30px; }
  .svc-block .svc-visual, .svc-block.reverse .svc-visual { order: -1; }
  .svc-visual { height: 300px; }
}

/* ── Presence map ───────────────────────────────────────────── */
.presence{position:relative;border-radius:var(--radius-lg);overflow:hidden;
  background:radial-gradient(120% 130% at 74% -5%,#0A2E6E 0%,var(--navy) 46%,var(--navy-deep) 100%);
  box-shadow:0 34px 70px -30px rgba(2,28,79,.5);padding:26px 26px 18px;}
.mapplate{position:relative;width:100%;}
.mapimg{width:100%;display:block;filter:brightness(0) invert(1);opacity:.30;}
.presence .pin{position:absolute;transform:translate(-50%,-50%);cursor:pointer;z-index:6;}
.presence .pin .dot{display:block;width:13px;height:13px;border-radius:50%;background:#fff;border:2.5px solid var(--blue);position:relative;z-index:3;
  box-shadow:0 2px 8px rgba(0,0,0,.4);transition:transform .3s,background .3s,border-color .3s;}
.presence .pin .pulse{position:absolute;left:50%;top:50%;width:15px;height:15px;border-radius:50%;transform:translate(-50%,-50%);
  background:rgba(23,209,198,.5);z-index:1;animation:tbdpulse 2.6s ease-out infinite;}
.presence .pin.hq .pulse{animation-duration:2.1s;}
@keyframes tbdpulse{0%{opacity:.6;transform:translate(-50%,-50%) scale(1);}100%{opacity:0;transform:translate(-50%,-50%) scale(4.6);}}
.presence .pin:hover .dot{transform:scale(1.25);}
.presence .pin.sel .dot{transform:scale(1.25);background:#1ACCC9 !important;border-color:#1ACCC9 !important;box-shadow:0 0 0 4px rgba(26,204,201,.3),0 0 16px 4px rgba(26,204,201,.5);}
.presence .pin.sel .dot::after{content:"";position:absolute;left:50%;top:50%;width:5px;height:5px;border-radius:50%;background:#fff;transform:translate(-50%,-50%);}
.presence .pin .label{position:absolute;left:50%;bottom:calc(50% + 30px);transform:translateX(-50%);box-sizing:border-box;
  display:flex;align-items:center;gap:7px;white-space:nowrap;
  font-family:var(--font-head);font-weight:600;font-size:13.5px;color:#eaf1ff;
  padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(6px);
  text-shadow:0 1px 6px rgba(0,0,0,.5);transition:background .25s,border-color .25s,transform .25s;}
.presence .pin.hq .label{bottom:calc(50% + 34px);}
.presence .pin .label .fl{font-size:14px;}
.presence .pin:hover .label{background:rgba(255,255,255,.16);transform:translateX(-50%) translateY(-2px);}
.presence .pin.sel .label{background:var(--grad);border:0;backdrop-filter:none;color:#fff;box-shadow:0 8px 20px -8px rgba(76,98,255,.6);}
.presence .pin[data-k="Tashkent"] .label{transform:translateX(-50%) translateY(-2px);}
.presence .pin[data-k="Baku"] .label{left:auto;right:50%;transform:translateX(-46%);}
.presence .pin[data-k="Astana"] .label{left:50%;}
.presence .odetail{position:absolute;left:24px;right:24px;bottom:18px;z-index:9;
  display:flex;align-items:center;gap:22px;flex-wrap:wrap;
  background:rgba(255,255,255,.1);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.2);
  border-radius:16px;padding:15px 24px;color:#fff;
  opacity:0;transform:translateY(10px);transition:opacity .35s,transform .35s;pointer-events:none;}
.presence .odetail.show{opacity:1;transform:none;pointer-events:auto;}
.presence .odetail .flag{font-size:32px;line-height:1;}
.presence .odetail .main{display:flex;flex-direction:column;gap:1px;min-width:140px;}
.presence .odetail .role{font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8FE9E2;}
.presence .odetail .city{font-family:var(--font-head);font-weight:700;font-size:21px;}
.presence .odetail .country{font-size:12.5px;color:rgba(255,255,255,.66);}
.presence .odetail .sep{width:1px;align-self:stretch;background:rgba(255,255,255,.16);}
.presence .odetail .row{display:flex;gap:9px;align-items:center;font-size:13.5px;color:rgba(255,255,255,.85);}
.presence .odetail .row svg{flex-shrink:0;color:#8FE9E2;}
.presence .odetail a{color:inherit;text-decoration:none;}
.presence .odetail a:hover{color:#fff;}
.presence-hint{margin-top:14px;font-size:13px;color:var(--muted-2);text-align:center;}

/* Tighten the gap between the team section and the map that follows it */
#our-team{padding-bottom:40px;}
#our-presence{padding-top:34px;}

/* ── Pre-footer banner (Figma-exact, scales via container units) ── */
.cta-banner{position:relative;width:100%;
  border-radius:0;overflow:hidden;
  background:linear-gradient(105.988deg,#4B64FE 8.54%,#17D1C6 84.47%);
  display:flex;justify-content:center;align-items:flex-start;}
.cb-frame{position:relative;container-type:inline-size;
  width:min(1240px, calc(100% - 56px));aspect-ratio:1240/300;}
.cb-ellipse{position:absolute;left:44.68cqw;top:10.16cqw;width:48.55cqw;height:36.94cqw;border-radius:50%;background:#4A66FD;}
.cb-rr1{position:absolute;left:50cqw;top:-10.6cqw;width:62.5cqw;height:23.87cqw;border-radius:4.84cqw;border:0.16cqw solid rgba(255,255,255,.5);}
.cb-rr2{position:absolute;left:90.81cqw;top:19cqw;width:64.6cqw;height:15.4cqw;border-radius:4.03cqw;border:0.16cqw solid rgba(255,255,255,.5);}
.cb-glass{position:absolute;left:67.5cqw;top:3.75cqw;width:26.45cqw;height:19.35cqw;border-radius:0 9.68cqw 9.68cqw 0;
  background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,0));}
.cb-photo{position:absolute;left:47cqw;top:0;right:0;bottom:0;overflow:hidden;}
.cb-standing{position:absolute;top:0;right:1cqw;height:116%;width:auto;z-index:1;}
.cb-seated{position:absolute;top:-16%;right:1cqw;height:270%;width:auto;z-index:2;}
.cb-title{position:absolute;left:0cqw;top:4.6cqw;margin:0;font-family:var(--font-head);font-weight:700;font-size:3.7cqw;line-height:1.12;letter-spacing:-.02em;color:#fff;text-transform:uppercase;white-space:nowrap;}
.cb-sub{position:absolute;left:0cqw;top:13.3cqw;width:42.1cqw;margin:0;font-family:var(--font-body);font-size:1.61cqw;line-height:1.5;color:#fff;}
.cb-btn{position:absolute;left:0cqw;top:17.7cqw;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;
  padding:0.97cqw 3.23cqw;border-radius:1.94cqw;background:#fff;color:#1C349B;
  font-family:var(--font-body);font-weight:600;font-size:1.37cqw;text-decoration:none;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);}
.cb-btn:hover{box-shadow:0 1.4cqw 2.8cqw -1cqw rgba(0,0,0,.4);}
@media (max-width: 600px){
  .cta-banner{aspect-ratio:auto;height:auto;min-height:0;border-radius:0;padding:30px 24px 0;display:flex;flex-direction:column;}
  .cb-frame{display:contents;}
  .cb-rr1,.cb-rr2,.cb-glass{display:none;}
  .cb-title{position:static;width:auto;margin:0;font-size:29px;line-height:1.12;white-space:normal;order:1;}
  .cb-sub{position:static;width:auto;margin:14px 0 0;font-size:15px;line-height:1.45;order:2;}
  .cb-btn{position:static;align-self:flex-start;margin:22px 0 0;font-size:15px;padding:13px 30px;border-radius:26px;order:3;}
  .cb-photo{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:100%;height:230px;margin-top:18px;overflow:hidden;order:4;}
  .cb-seated{position:absolute;left:50%;transform:translateX(-50%);top:0;right:auto;bottom:auto;height:155%;}
}
@media(max-width:760px){
  .presence .odetail{position:static;width:auto;margin-top:16px;background:rgba(255,255,255,.12);}
  .presence{padding:18px 16px 16px;}
  .presence .pin .label{font-size:11.5px;padding:3px 8px;}
}


  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee .track, .float { animation: none !important; }
}
html.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
html.no-anim * { animation: none !important; }

/* Ambient-motion tweak: stops decorative loops (float + marquee) without
   ever hiding revealed content. */
html.deco-off .hero-visual .photo img,
html.deco-off .hero-chip { animation: none !important; }
html.deco-off .marquee .track { animation: none !important; }

/* gentle float — the image and each chip drift independently (separate timings) */
@media (prefers-reduced-motion: no-preference) {
  .hero-visual .photo img { animation: float 6s ease-in-out infinite; }
  .hero-chip.c1 { animation: floatC1 5s ease-in-out -1.5s infinite; }
  .hero-chip.c2 { animation: float 7s ease-in-out -3s infinite; }
  .hero-chip.c3 { animation: float 5.5s ease-in-out -4.5s infinite; }
  @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
  @keyframes floatC1 { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-11px); } }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .hero .container { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-copy h1 { font-size: 52px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .who .container { grid-template-columns: 1fr; gap: 48px; }
  .why .container { grid-template-columns: 1fr; gap: 56px; }
  .steps, .hww-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .hww-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .split-media { height: 380px; }
  .offices { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: 1fr; }
  .highlight { grid-template-columns: 1fr; }
  .highlight .h-media { min-height: 280px; order: -1; }
  .case-row, .case-row.reverse { grid-template-columns: 1fr; gap: 32px; }
  .case-row .cr-media, .case-row.reverse .cr-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder { grid-template-columns: 1fr; gap: 36px; }
  .founder-portrait { order: -1; max-width: 460px; margin: 0 auto; }
  .member { flex: 0 0 calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .site-header .container { gap: 24px; }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 14px; }
  .header-right { gap: 10px; }
  .social-row { gap: 6px; }
}
@media (max-width: 1000px) {
  .site-header .container { gap: 16px; }
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 13px; }
}
@media (max-width: 920px) {
  .site-header .social-row { display: none; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 760px) {
  /* On mobile the scrolled header must NOT use backdrop-filter: a backdrop-filter
     ancestor becomes the containing block for position:fixed descendants (iOS Safari),
     which traps the language bottom-sheet under the header. Use a solid bg instead. */
  .site-header.scrolled,
  [data-header="glass"] .site-header.scrolled {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
  }
  .hero { padding: 30px 0 34px; }
  .hero .container { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual { display: block; order: -1; margin: 0 0 -24px; }
  .hero-visual .photo { max-width: none; width: calc(100% + 36px); margin: 0 -18px; }
  /* CTA / "view all" buttons move below the section content on mobile */
  .section > .container { display: flex; flex-direction: column; align-items: stretch; }
  .section > .container > .sec-head { display: contents; }
  .sec-head > .left { margin-bottom: 22px; }
  .sec-head > .btn { order: 9; margin-top: 26px; align-self: stretch; }
  .hero-chip { padding: 9px 13px; }
  .hero-chip .n { font-size: 17px; }
  .hero-chip .l { font-size: 10.5px; }
  /* keep stat badges inside the frame even though the photo is full-bleed */
  .hero-chip.c2 { right: 14px; }
  .hero-chip.c3 { left: 14px; }
  .grid-4, .grid-3, .steps, .hww-grid, .features, .footer-grid { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .split-media { height: 300px; }
  /* Smaller brand/logo frame in the "Why partner" band on mobile */
  .why .brand-stage { height: 188px; }
  .why .brand-stage img { width: 170px; }
  .why .brand-stage::after { width: 170px; height: 170px; }
  /* No hover on mobile — reveal the cases-card "read more" by default */
  .case .cap .more { opacity: 1; transform: none; }
  /* map: undistorted + full-bleed for size, bigger tap targets */
  .presence { margin: 0 -18px; padding: 22px 18px 14px; border-radius: 0; }
  .mapplate { height: auto; }
  .mapimg { height: auto; object-fit: initial; opacity: .34; }
  .presence .pin .dot { width: 15px; height: 15px; }
  .presence .pin .label { font-size: 13px; padding: 5px 12px; }
  .member { flex: 0 0 82%; }
  .stats { gap: 32px; flex-wrap: wrap; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .process-note { text-align: left; margin-bottom: 28px; }
  .cta .person { display: none; }
  .cta .inner { padding: 48px 32px; }
  .section { padding: 64px 0; }
  .hcd-full { padding: 14px 0; }
}
@media (max-width: 480px) {
  .container { max-width: calc(100% - 36px); }
  .logo img { width: 148px !important; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .btn-grad, .btn-white, .btn-ghost, .btn-outline-light { height: 50px; }
  .page-hero { padding: 22px 0 12px; }
  .page-hero h1 { font-size: clamp(30px, 8.5vw, 40px); }
  .section { padding: 52px 0; }
  .sec-head { margin-bottom: 34px; }
  .sec-head .btn { width: 100%; }
  .member { flex: 0 0 88%; }
  .founder-body h3 { font-size: 34px; }
  .stat .num { font-size: 38px; }
  .cta .inner { padding: 40px 26px; }
  .form-card { padding: 28px 24px 30px; }
  .detail-aside { padding: 24px 24px; }
  .lang-pill { padding: 0 12px; }
  .mobile-nav-panel { padding: 26px 24px 28px; }
}
