/* =============================================================
   FLECTECH — Design System
   css/style.css
   ============================================================= */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --blue:        #006FFF;
  --blue-dark:   #0057cc;
  --blue-glow:   rgba(0, 111, 255, 0.35);
  --blue-subtle: rgba(0, 111, 255, 0.06);
  --white:       #ffffff;
  --black:       #000000;
  --bg-1:        #000000;
  --bg-2:        #050505;
  --bg-3:        #0a0a0a;
  --border:      rgba(255, 255, 255, 0.07);
  --border-h:    rgba(0, 111, 255, 0.30);
  --text-muted:  rgba(255, 255, 255, 0.50);
  --text-faint:  rgba(255, 255, 255, 0.25);
  --font:        "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nav-h:       72px;
  --radius:      0px;
  --radius-lg:   0px;
}

/* ── BASE RESET ──────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Lenis requires scroll-behavior: auto — never smooth */
html {
  scroll-behavior: auto !important;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

/* Lenis compatibility */
html.lenis,
html.lenis body {
  height: auto;
  overflow-x: clip;
  max-width: 100%;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: var(--font);
  background: transparent;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* ── Single fixed background canvas — animated by GSAP on scroll ── */
#site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-color: #000;
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(0, 111, 255, 0.09) 0%, transparent 58%),
    radial-gradient(ellipse 70% 50% at 100% 40%, rgba(0, 111, 255, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 0% 70%, rgba(20, 50, 140, 0.06) 0%, transparent 50%);
  will-change: transform;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: rgba(0,111,255,0.4); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ── SELECTION ───────────────────────────────────────────────── */
::selection { background: rgba(0,111,255,0.25); color: #fff; }

/* ── LOADER ──────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-1);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  /* Prevent interaction/scroll passthrough while loading */
  touch-action: none;
  overscroll-behavior: none;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: auto;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.loader-icon {
  animation: loader-breathe 1.4s ease-in-out infinite;
}
@keyframes loader-breathe {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50%       { opacity: 1;   transform: scale(1);   }
}

.loader-bar {
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--blue);
  animation: loader-progress 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes loader-progress {
  0%   { width: 0%; }
  70%  { width: 80%; }
  100% { width: 100%; }
}

/* ── UTILITY: section container ─────────────────────────────── */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (min-width: 1024px) { .section-container { padding: 0 2.5rem; } }

/* ── UTILITY: section label / title / sub ───────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0,111,255,0.9);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--white);
}

.section-sub {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 36rem;
}

.section-header { display: flex; flex-direction: column; gap: 0.35rem; }
.section-header.text-center { align-items: center; }

.body-text {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.65rem 1.5rem;
  background: var(--blue);
  color: #fff;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  border: 1px solid var(--blue);
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--blue-glow);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.65rem 1.5rem;
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.14);
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.32);
  transform: translateY(-1px);
}

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
/* Default: VISIBLE (no-JS fallback — content is always accessible) */
.reveal-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: calc(var(--i, 0) * 0.07s + var(--delay, 0s));
}
/* JS adds .js-ready to <html> to activate initial hidden state */
.js-ready .reveal-up {
  opacity: 0;
  transform: translateY(28px);
}
.js-ready .reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s, border-color 0.3s;
}
#navbar.scrolled {
  background: rgba(0, 0, 0, 0.90);
  border-bottom-color: rgba(255,255,255,0.07);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
@media (min-width: 1024px) { .nav-container { padding: 0 2.5rem; } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.nav-logo-img-new {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-link {
  font-size: 0.8375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.3s ease;
}
.nav-link:hover,
.nav-link.active { color: #fff; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.nav-actions .btn-primary { display: none; }
@media (min-width: 1024px) { .nav-actions .btn-primary { display: inline-flex; } }

/* ── Hamburger ── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 4px;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.06); }
@media (min-width: 1024px) { .hamburger { display: none; } }

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: rgba(255,255,255,0.85);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile menu ── */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.38s,
              opacity 0.25s;
  background: #05060d;
  border-bottom: 0px solid rgba(255,255,255,0.06);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  max-height: 560px;
  border-bottom-width: 1px;
  visibility: visible;
  opacity: 1;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 0;
}
.mobile-link {
  display: block;
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, padding-left 0.2s;
  text-decoration: none;
}
.mobile-link:last-of-type { border-bottom: none; }
.mobile-link:hover { color: #fff; padding-left: 6px; }
.mobile-menu-inner .btn-primary { margin-top: 1.25rem; justify-content: center; }

/* ── Unified site surface — ambient orbs/noise show through all sections ── */
.marquee-section,
#services,
#services-stack,
#services-accordion,
.numbers-section,
.about-section,
.offices-section,
.contact-section {
  background: transparent;
  position: relative;
}

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  overflow-x: clip;
  /* Solid unified surface — avoids vertical seam between copy and KV mask */
  background: #000;
  isolation: isolate;
}

.hero-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  /* align-items: start so the copy always starts at the top and is never clipped by centering */
  align-items: start;
}
@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: 64% 36%;
    padding: 0 2.5rem;
    max-width: 1280px;
  }
}

/* ── Hero Copy ── */
.hero-copy {
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .hero-copy {
    padding-top: calc(var(--nav-h) + 0.75rem);
    padding-bottom: 1.75rem;
  }
  /* Tighter vertical rhythm so the full hero fits within 100vh on
     common laptop resolutions (1366×768, 1440×900, etc.) */
  .hero-tag { margin-bottom: 1.25rem; }
  .hero-sub-wrap { margin-top: 1.25rem; }
  .hero-ctas { margin-top: 1.5rem; }
  .hero-stats { margin-top: 1.75rem; padding-top: 1.5rem; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  /* opacity/transform set by GSAP */
}
.hero-tag-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,111,255,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(0,111,255,0); }
}
.hero-tag span:last-child {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ── Headline ── */
.hero-headline {
  display: flex;
  flex-direction: column;
  font-family: "HelveticaNeue-CondensedBold", "Helvetica Neue Condensed", "Helvetica Neue", "Barlow Condensed", Helvetica, Arial, sans-serif;
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
  font-weight: 700;
  font-stretch: condensed;
  line-height: 0.87;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}
/* Larger laptop/desktop screens (1440px+) usually have enough vertical
   room to let the headline breathe a bit more without breaking the
   100vh fit on shorter 1366×768 / 1280×720 laptops below this width. */
@media (min-width: 1440px) {
  .hero-headline {
    font-size: clamp(3.5rem, 6.2vw, 6.75rem);
  }
}
.hero-line {
  overflow: hidden;
  display: block;
}
.hero-word {
  display: block;
  font-family: inherit;
  font-weight: inherit;
  font-stretch: inherit;
  letter-spacing: inherit;
  /* Initial hidden state is set exclusively by GSAP in main.js
     to avoid CSS vs. inline-style conflicts that can cause clipping. */
}
.hero-line--accent .hero-word {
  color: var(--blue);
}
.hero-line--accent .hero-dot {
  background: var(--blue);
}
.hero-dot {
  display: inline-block;
  width: 0.14em;
  height: 0.14em;
  margin-left: 0.05em;
  vertical-align: 0.06em;
  background: var(--blue);
  flex-shrink: 0;
}

/* ── Sub ── */
.hero-sub-wrap {
  margin-top: 2rem;
  padding-left: 1.125rem;
  border-left: 2px solid var(--blue);
  /* opacity/transform set by GSAP */
}
.hero-sub {
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.58);
  max-width: 28rem;
}

.hero-tagline {
  margin-top: 1.25rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  /* opacity set by GSAP */
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
  /* opacity/transform set by GSAP */
}

/* ── Stats ── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
@media (min-width: 480px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }

.hero-stat { /* opacity/transform set by GSAP */ }
.hero-stat-num {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-stat-lbl {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

/* ── Hero background image ── */
.hero-bg-video {
  position: absolute;
  inset: -24px 0 0 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-kv-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* Weighted right so the model + office stay in frame on tall/narrow
     viewports where cover crops the sides; the naturally dark left
     portion of the photo is free to crop without losing anything. */
  object-position: 62% 46%;
  will-change: transform;
}

/* Gradient overlay: darkens only the copy column on the left so the
   headline stays legible. The model's side (roughly the right half)
   is left completely untouched — no overlay on top of it. */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    to right,
    #000 0%,
    #000 28%,
    rgba(0, 0, 0, 0.88) 38%,
    rgba(0, 0, 0, 0.55) 48%,
    rgba(0, 0, 0, 0.2) 56%,
    transparent 64%
  );
}

/* Mobile-only inline KV */
.hero-mobile-head {
  display: contents;
}

.hero-mobile-kv {
  display: none;
}

/* Content layers above image */
.hero-layout,
.hero-copy { position: relative; z-index: 3; }

/* Right column spacer */
.hero-kv-space { pointer-events: none; }

/* ─────────────────────────────────────────────────────────────
   MARQUEE
   ───────────────────────────────────────────────────────────── */
.marquee-section {
  overflow: hidden;
  padding: 1.125rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-content {
  display: flex;
  align-items: center;
  gap: 1.375rem;
  padding-right: 1.375rem;
  white-space: nowrap;
}
.marquee-content span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
}
.marquee-content .mdot {
  color: var(--blue) !important;
  font-size: 1rem !important;
  line-height: 1;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────────────────────
   SERVICES
   ───────────────────────────────────────────────────────────── */
#services-stack {
  padding: 7rem 0;
}

.svc-version-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(0, 111, 255, 0.35);
  background: rgba(0, 111, 255, 0.08);
}
.services-section--c {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  margin-top: 3.5rem;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── Services grid — multi-row cards (vector icons) ── */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}
@media (min-width: 640px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
}
@media (min-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.svc-grid .svc-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
  background: #0a1428;
  box-shadow: none;
  transform: none;
  will-change: auto;
  transition: border-color 0.3s, transform 0.35s ease, background 0.3s;
}
.svc-grid .svc-card:hover {
  border-color: rgba(0, 111, 255, 0.45);
  transform: translateY(-3px);
  background: #0c1830;
}
.svc-grid .svc-card::before {
  background: linear-gradient(90deg, transparent, rgba(0,111,255,0.55), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.svc-grid .svc-card:hover::before { opacity: 1; }

.svc-grid .svc-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-start;
  padding: 1.5rem 1.4rem 1.5rem;
  min-width: 0;
}

.svc-icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--blue);
  border: 1px solid rgba(0, 111, 255, 0.28);
  background: rgba(0, 111, 255, 0.08);
  flex-shrink: 0;
}
.svc-icon-mark svg {
  width: 22px;
  height: 22px;
  display: block;
}

.svc-grid .svc-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
}

.svc-grid .svc-text {
  margin: 0 0 1.1rem;
  max-width: none;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
  flex: 1;
}

.svc-grid .svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin-top: auto;
  padding: 0;
  list-style: none;
}
.svc-grid .svc-tags li {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
}
.svc-grid .svc-tags li::before {
  width: 3px;
  height: 3px;
  border-radius: 0;
  background: var(--blue);
}

.svc-accordion__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--blue);
  border: 1px solid rgba(0, 111, 255, 0.28);
  background: rgba(0, 111, 255, 0.08);
}
.svc-accordion__icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Accordion no longer uses photo panels */
.svc-accordion__media { display: none !important; }

/* Legacy stacking styles kept inert (grid is the active layout) */
.svc-stack { display: none; }
.svc-pin { display: none; }

.svc-card-media {
  position: relative;
  overflow: hidden;
  background: #0d1017;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.svc-media-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.svc-media-glow {
  position: absolute;
  inset: 0;
  display: block;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,111,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.svc-media-sigil {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  color: var(--blue);
  filter: drop-shadow(0 0 10px rgba(0,111,255,0.45));
  z-index: 2;
}

.svc-media-keyword {
  position: relative;
  z-index: 2;
  font-size: clamp(1.75rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-align: center;
  padding: 0 1.5rem;
  max-width: 100%;
}

.svc-media-watermark {
  position: absolute;
  right: -0.04em;
  bottom: -0.12em;
  font-size: clamp(7rem, 16vw, 11rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: rgba(0,111,255,0.09);
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.svc-vector-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #060d18;
}

.svc-media-panel {
  padding: 0;
  min-height: 0;
}

.svc-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.svc-media-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.svc-num {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.svc-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc-tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.svc-tags li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 0;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* ── Services accordion — Kindle-style (SiteKindle reference) ── */
.svc-accordion-cursor {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: 200px;
  height: 200px;
  margin-left: -100px;
  margin-top: -100px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  transform-origin: center center;
  will-change: left, top, transform, opacity;
  overflow: hidden;
  background: #0a1428;
  border: 1px solid rgba(0, 111, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.svc-accordion-cursor.is-active { visibility: visible; }

.svc-accordion-cursor__inner,
.svc-accordion-cursor__inner img,
.svc-accordion-cursor__inner .svc-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#services-accordion {
  display: none;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#services-accordion .section-header {
  margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
}

#services-accordion .section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.05;
}

#services-accordion .section-sub {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  line-height: 1.5;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.58);
}

.svc-accordion-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.svc-accordion-list.is-cursor-active,
.svc-accordion-list.is-cursor-active .svc-accordion__row,
.svc-accordion-list.is-cursor-active .svc-accordion__body,
.svc-accordion-list.is-cursor-active .svc-accordion__body-inner {
  cursor: none;
}

.svc-accordion { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }

.svc-accordion__row {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(0.85rem, 1.4vw, 1.15rem) 0;
  min-height: 3.5rem;
  cursor: pointer;
}

.svc-accordion__sweep {
  position: absolute;
  inset: 0;
  background: rgba(0, 111, 255, 0.08);
  transform: translate3d(-101%, 0, 0);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.svc-accordion[data-open="true"] .svc-accordion__sweep {
  opacity: 0;
  visibility: hidden;
}

.svc-accordion__left,
.svc-accordion__tags,
.svc-accordion__btn {
  position: relative;
  z-index: 1;
}

.svc-accordion__left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.svc-accordion__num {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--blue);
  flex-shrink: 0;
}

.svc-accordion__name {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.svc-accordion__tags {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
  justify-content: flex-end;
}

.svc-accordion__tags span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
}

.svc-accordion__btn {
  appearance: none;
  border: none;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.3s;
}

.svc-accordion__btn:hover { opacity: 0.6; }

.svc-accordion__less { display: none; }
.svc-accordion[data-open="true"] .svc-accordion__more { display: none; }
.svc-accordion[data-open="true"] .svc-accordion__less { display: inline; }

.svc-accordion__body { height: 0; overflow: hidden; }

.svc-accordion__body-inner {
  padding: clamp(1rem, 2vh, 1.5rem) clamp(0.5rem, 2vw, 1rem) clamp(1.25rem, 2vh, 1.75rem);
  padding-left: calc(0.85rem + clamp(1.1rem, 1.8vw, 1.65rem) + 0.85rem);
  max-width: min(100%, 28rem);
}

.svc-accordion__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1.1rem);
  max-width: 28rem;
}

.svc-accordion__body-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.svc-accordion__copy > p {
  margin: 0;
  font-size: clamp(0.9375rem, 1.05vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
}

.svc-accordion__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 210px;
  margin: 0 0 1.1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a1428;
}

.svc-accordion__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.svc-accordion__media-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(6, 13, 24, 0.55) 0%, transparent 52%),
    linear-gradient(to right, rgba(6, 13, 24, 0.25) 0%, transparent 42%);
}

@media (min-width: 768px) {
  .svc-accordion-cursor { display: none; }
}

/* Tablet/mobile grid tweaks */
@media (max-width: 1099px) {
  .svc-grid .svc-card-body { padding: 1.25rem 1.25rem 1.4rem; }
  .svc-grid .svc-title { font-size: 1.1rem; }
}

@media (max-width: 767px) {
  #services-stack {
    display: block;
    padding: 4rem 0;
  }
  #services-accordion { display: none !important; }
  .svc-grid {
    margin-top: 2.5rem;
    gap: 1rem;
  }
  .svc-grid .svc-card-body {
    padding: 1.35rem 1.25rem 1.4rem;
  }
  .svc-grid .svc-title {
    font-size: 1.05rem;
  }
  .svc-grid .svc-text {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  .svc-grid .svc-card:hover {
    transform: none;
  }
}

.svc-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.75rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,111,255,0), transparent);
  transition: background 0.4s;
}

.svc-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: rgba(0,111,255,0.09);
  border: 1px solid rgba(0,111,255,0.18);
  color: var(--blue);
  transition: background 0.25s, transform 0.25s;
}

.svc-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.svc-text {
  font-size: 0.8125rem;
  line-height: 1.68;
  color: rgba(255,255,255,0.46);
  flex: 1;
}
.svc-arrow {
  font-size: 0.875rem;
  color: rgba(0,111,255,0.45);
  align-self: flex-start;
  transition: color 0.2s, transform 0.2s;
  margin-top: auto;
}

/* ─────────────────────────────────────────────────────────────
   ABOUT
   ───────────────────────────────────────────────────────────── */
.about-section {
  padding: 5rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  width: 100%;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
}

/* ── MVV cards ── */
.mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
}
@media (min-width: 480px) { .mvv-grid { grid-template-columns: repeat(3, 1fr); } }

.mvv-card {
  padding: 1.125rem 1.25rem;
  background: #0a1428;
  border: 1px solid rgba(0,111,255,0.18);
  border-radius: var(--radius);
}
.mvv-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.mvv-text {
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.46);
}

/* ── Timeline (scroll-driven slot machine) ── */
.timeline-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.tl-counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.06em;
}
#tl-current {
  color: var(--blue);
  font-size: 0.875rem;
  transition: opacity 0.3s;
}
.tl-counter-sep { color: rgba(255,255,255,0.2); }

/* Viewport: fixed height, masks top and bottom */
.tl-viewport {
  position: relative;
  height: 660px; /* 3 × 220px slots */
  overflow: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,0.4) 12%,
    black 26%,
    black 74%,
    rgba(0,0,0,0.4) 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,0.4) 12%,
    black 26%,
    black 74%,
    rgba(0,0,0,0.4) 88%,
    transparent 100%
  );
}

/* The sliding track — GSAP controls translateY */
.tl-slide-track {
  will-change: transform;
}

/* Each item occupies a fixed slot */
.tl-item {
  height: 220px;
  padding: 0 0 0 3rem;
  display: flex;
  align-items: center;
  position: relative;
  cursor: default;
}

/* Left border line */
.tl-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  transition: background 0.4s ease, height 0.4s ease, top 0.4s ease;
}
.tl-item.is-active::before {
  background: var(--blue);
  top: 10%;
  height: 80%;
}

/* Left accent dot */
.tl-item::after {
  content: '';
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, width 0.35s, height 0.35s;
}
.tl-item.is-active::after {
  width: 14px;
  height: 14px;
  left: -7px;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(0,111,255,0.8);
}

/* Inner content */
.tl-item-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.tl-year {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,111,255,0.55);
  transition: color 0.4s;
  margin-bottom: 0.5rem;
}
.tl-item.is-active .tl-year { color: var(--blue); }

.tl-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: rgba(255,255,255,0.38);
  line-height: 1.25;
  transition: color 0.4s, font-size 0.45s;
}
.tl-item.is-active .tl-title {
  font-size: 1.75rem;
  color: #fff;
}

/* Description: hidden on inactive, expands on active */
.tl-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
}
.tl-item.is-active .tl-desc {
  max-height: 8rem;
  opacity: 1;
  margin-top: 0.65rem;
}

/* Adjacent items (prev / next) */
.tl-item.is-adj .tl-title { color: rgba(255,255,255,0.35); }
.tl-item.is-adj .tl-year  { color: rgba(0,111,255,0.4); }

/* Far items (not in 3-window) */
.tl-item.is-far .tl-title,
.tl-item.is-far .tl-year  { opacity: 0.15; }

/* Navigation dots */
.tl-dots {
  display: flex;
  gap: 7px;
  margin-top: 1.25rem;
  padding-left: 2rem;
}
.tl-dot-nav {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transition: background 0.3s, transform 0.3s, width 0.3s;
  flex-shrink: 0;
}
.tl-dot-nav.is-active {
  background: var(--blue);
  transform: scale(1.3);
  width: 14px;
  border-radius: 3px;
}

/* ─────────────────────────────────────────────────────────────
   NUMBERS
   ───────────────────────────────────────────────────────────── */
.numbers-section {
  padding: 5rem 0;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  margin-top: 3.5rem;
}
@media (min-width: 1024px) { .numbers-grid { grid-template-columns: repeat(4, 1fr); } }

.num-card {
  padding: 2.5rem 2rem;
  text-align: center;
  background: #0a1428;
  border: 1px solid rgba(0,111,255,0.20);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: inset 0 1px 0 rgba(0,111,255,0.12);
}
.num-card:hover {
  border-color: rgba(0,111,255,0.35);
  background: rgba(0,111,255,0.06);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,111,255,0.15), inset 0 1px 0 rgba(0,111,255,0.15);
}
.num-big {
  display: block;
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #fff;
  line-height: 1;
}
.num-label {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ─────────────────────────────────────────────────────────────
   CLIENTS
   ───────────────────────────────────────────────────────────── */
.clients-section {
  padding: 5rem 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0, 111, 255, 0.06) 0%, transparent 70%),
    #060a18;
}

.clients-section .section-container { margin-bottom: 3rem; }

.clients-marquee-wrap { overflow: hidden; max-width: 100%; }
.clients-marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee 55s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.clients-marquee-inner.reverse {
  animation-direction: reverse;
  animation-duration: 62s;
}
@media (hover: hover) and (pointer: fine) {
  .clients-section:has(.client-chip:hover) .clients-marquee-inner {
    animation-play-state: paused;
  }
}

.clients-section.is-marquee-paused .clients-marquee-inner {
  animation-play-state: paused;
}
.clients-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  white-space: nowrap;
}
.client-chip {
  flex-shrink: 0;
  height: 84px;
  width: 188px;
  padding: 8px 15px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.client-chip:hover {
  border-color: rgba(0, 111, 255, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.client-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: none;
  opacity: 0.55;
  transition: opacity 0.3s;
}

.client-chip:hover .client-logo-img {
  opacity: 1;
}

/* ─────────────────────────────────────────────────────────────
   OFFICES
   ───────────────────────────────────────────────────────────── */
/* ── Offices section ── */
.offices-section {
  padding: 5rem 0 4rem;
}

/* Header: label above, title on one line */
.offices-header {
  margin-bottom: 2rem;
}
.offices-title {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  white-space: nowrap;
}

/* Compact horizontal cards row */
.office-cards-row {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.office-cards-row::-webkit-scrollbar { display: none; }

.office-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.125rem;
  border-radius: 0;
  border: 1px solid rgba(0,111,255,0.18);
  background: #0a1428;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  text-align: left;
  flex-shrink: 0;
  transition: border-color 0.25s, background 0.25s;
  white-space: nowrap;
}
.office-item:hover {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
}
.office-item.is-active {
  border-color: rgba(0,111,255,0.45);
  background: rgba(0,111,255,0.09);
}

.ofc-flag { font-size: 1.375rem; line-height: 1; flex-shrink: 0; }

.ofc-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.ofc-city {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  transition: color 0.25s;
}
.office-item.is-active .ofc-city { color: #fff; }

.ofc-country {
  font-size: 0.575rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,111,255,0.7);
}
.office-item.is-active .ofc-country { color: var(--blue); }

/* Full-width map below */
.globe-wrap {
  width: 100%;
  height: 500px;
  position: relative;
  cursor: grab;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 2rem;
}
.globe-wrap:active { cursor: grabbing; }
@media (max-width: 767px) { .globe-wrap { height: 320px; } }

#globe-el { width: 100%; height: 100%; }

/* ── Leaflet map overrides ── */
.leaflet-container {
  background: #060e1a !important;
  font-family: inherit;
}
.leaflet-tile-pane { filter: brightness(0.92) saturate(0.8); }
.leaflet-control-attribution {
  background: rgba(0,0,0,0.55) !important;
  color: rgba(255,255,255,0.25) !important;
  font-size: 0.55rem !important;
  backdrop-filter: blur(4px);
}
.leaflet-control-attribution a { color: rgba(255,255,255,0.35) !important; }
.leaflet-control-zoom {
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 0 !important;
  overflow: hidden;
}
.leaflet-control-zoom a {
  background: rgba(10,20,40,0.85) !important;
  color: rgba(255,255,255,0.7) !important;
  border-color: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(6px);
  transition: background 0.2s, color 0.2s;
}
.leaflet-control-zoom a:hover {
  background: rgba(0,111,255,0.25) !important;
  color: #fff !important;
}

/* ── Map pin markers ── */
.map-pin {
  background: transparent !important;
  border: none !important;
  cursor: pointer;
}
.map-pin-inner {
  position: relative;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #006FFF;
  box-shadow: 0 0 10px rgba(0,111,255,0.9), 0 0 0 2px rgba(0,111,255,0.3);
  position: relative;
  z-index: 1;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.map-pin.is-active .map-pin-dot {
  background: #fff;
  box-shadow: 0 0 14px rgba(255,255,255,0.9), 0 0 0 3px rgba(255,255,255,0.25);
  transform: scale(1.2);
}
.map-pin-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,111,255,0.55);
  animation: map-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
.map-pin.is-active .map-pin-pulse {
  border-color: rgba(255,255,255,0.45);
  animation-duration: 1.5s;
}
.map-pin-label {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,1), 0 0 10px rgba(0,0,0,1);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.map-pin:hover .map-pin-label,
.map-pin.is-active .map-pin-label { opacity: 1; }

@keyframes map-pulse {
  0%   { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

/* ── Office popup ── */
.office-popup .leaflet-popup-content-wrapper {
  background: rgba(6, 12, 28, 0.96);
  border: 1px solid rgba(0, 111, 255, 0.35);
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  padding: 0;
  overflow: hidden;
}
.office-popup .leaflet-popup-content {
  margin: 0;
  width: auto !important;
}
.office-popup .leaflet-popup-tip-container { display: none; }
.office-popup .leaflet-popup-close-button {
  color: rgba(255,255,255,0.4) !important;
  font-size: 18px !important;
  top: 8px !important;
  right: 10px !important;
}
.office-popup .leaflet-popup-close-button:hover { color: #fff !important; }

.op-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.op-flag  { font-size: 1.5rem; line-height: 1; }
.op-city  { font-size: 0.9rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.op-country { font-size: 0.72rem; color: rgba(255,255,255,0.45); margin-top: 1px; }

.op-details {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.op-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.45;
}
.op-icon { font-size: 0.85rem; flex-shrink: 0; margin-top: 1px; }
.op-details a {
  color: #006FFF;
  text-decoration: none;
  transition: color 0.2s;
}
.op-details a:hover { color: #4da3ff; }

/* ─────────────────────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────────────────────── */
.contact-section {
  padding: 5rem 0 4.5rem;
}

/* Grid: stacked mobile → split desktop */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 44% 1fr;
    gap: 6rem;
    align-items: start;
  }
}

/* ── Left column ── */
.contact-left { display: flex; flex-direction: column; }

.contact-heading {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.contact-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  max-width: 34ch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 1rem 0;
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
}
.contact-info-row svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.contact-info-row:hover { color: #fff; }
.contact-info-row:hover svg { color: #fff; }

.phone-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 0.05rem;
}

/* ── Right column: form card ── */
.contact-form-wrap {
  background: #0a1428;
  border: 1px solid rgba(0,111,255,0.18);
  padding: 2.5rem;
}
@media (max-width: 479px) { .contact-form-wrap { padding: 1.5rem; } }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 499px) { .form-row { grid-template-columns: 1fr; } }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}

.form-field input,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 0;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: var(--font);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  resize: none;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.18); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(0,111,255,0.5);
  background: rgba(0,111,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,111,255,0.10);
}

.btn-submit {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.25rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.9375rem;
  background: var(--blue);
  color: #fff;
  border: none;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.btn-submit:hover { background: #0055d4; }
.btn-submit.success {
  background: #15803d;
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER — SOHub-inspired layout
   ───────────────────────────────────────────────────────────── */
.flec-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #060a18;
  overflow: hidden;
}

/* 1. Logo band — now holds the large copyright headline */
.flec-footer__logo-band {
  width: 100%;
  padding: 3.5rem 4vw 2.75rem;
  box-sizing: border-box;
  text-align: center;
  /* Room for the wiggle travel so it never collides with contact / card */
  overflow: visible;
}

.flec-footer__logo-band .flec-footer__copy {
  font-size: clamp(2rem, 6.5vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #fff;
  margin: 0;
  width: 100%;
  padding-top: 0;
  max-width: 100%;
}

.flec-footer__tagline {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.12em 0;
  text-align: center;
  white-space: normal;
  font-family: "HelveticaNeue-CondensedBold", "Helvetica Neue Condensed", "Helvetica Neue", "Barlow Condensed", Helvetica, Arial, sans-serif;
  font-stretch: condensed;
  text-transform: uppercase;
  animation: footer-wiggle 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes footer-wiggle {
  0%   { transform: translateY(0px); }
  25%  { transform: translateY(-4px); }
  50%  { transform: translateY(-7px); }
  75%  { transform: translateY(-3px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 767px) {
  .flec-footer__tagline { animation: none; }
}

.flec-footer__tagline-row {
  display: inline;
}

.flec-footer__tagline-row--light {
  color: #fff;
}

.flec-footer__tagline-row--blue {
  color: var(--blue);
}

.flec-footer__tagline-dot {
  display: inline-block;
  width: 0.12em;
  height: 0.12em;
  margin-left: 0.05em;
  vertical-align: 0.06em;
  background: var(--blue);
}

/* 2. Floating hero image — sits below the headline, dipping into the
   card below. This artwork has very little headroom above the model's
   head, so (unlike the previous tall cutout) it must not overlap the
   tagline text — only a bottom overlap into the card is used. */
/* 3. Dark rounded card */
.flec-footer__card {
  width: 96%;
  max-width: 1600px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0,111,255,0.12) 0%, transparent 65%),
    #0b1225;
  border-radius: 2rem 2rem 0 0;
  margin-top: 0;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 56px 2rem 3rem;
}
@media (max-width: 767px) {
  .flec-footer__card {
    padding: 48px 1.5rem 3rem;
  }
}

.flec-footer__card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.flec-footer__sub {
  font-size: clamp(0.875rem, 2.5vw, 2rem);
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
  margin: 0 0 1.5rem;
}

/* Social icons row */
.flec-footer__socials {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
}
@media (min-width: 768px) { .flec-footer__socials { gap: 2rem; margin-top: 2.5rem; } }

.flec-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: #162040;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}
@media (min-width: 768px) {
  .flec-social-btn { width: 3.25rem; height: 3.25rem; }
}
.flec-social-btn:hover {
  background: #1f3060;
  transform: scale(1.1);
}

.flec-social-sep {
  color: #555;
  display: flex;
  align-items: center;
}

/* 4. Bottom bar — slides under the card */
.flec-footer__bottom {
  width: 96%;
  max-width: 1600px;
  background: #111d36;
  border-radius: 0 0 2rem 2rem;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .flec-footer__bottom {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    gap: 1.25rem;
  }
}

.flec-footer__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Pill buttons — match site's btn-secondary / btn-primary style */
.flec-footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.65rem 1.5rem;
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.14);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.flec-footer__pill:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.32);
  transform: translateY(-1px);
}

.flec-footer__pill--dark {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  font-weight: 600;
}
.flec-footer__pill--dark:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 8px 28px var(--blue-glow);
  transform: translateY(-1px);
}

/* Hide arrow spans — not needed with new style */
.flec-pill__arrow { display: none; }

.flec-footer__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.flec-footer__legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   REDUCED MOTION
   ───────────────────────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   AMBIENT BACKGROUND ORBS
   Fixed layer behind everything — z-index: -1, no layout impact
═══════════════════════════════════════════════════════════════ */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  contain: paint;
  clip-path: inset(0);
}

.bg-noise {
  position: absolute;
  inset: 0;
  background-image: 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='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: noise-shift 8s steps(2) infinite;
}

@keyframes noise-shift {
  0%   { background-position: 0 0; }
  25%  { background-position: 20px -15px; }
  50%  { background-position: -10px 25px; }
  75%  { background-position: 15px 10px; }
  100% { background-position: 0 0; }
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

/* Orb 1 — large blue, top-left, slow drift */
.bg-orb--1 {
  width: 700px;
  height: 700px;
  top: -15%;
  left: -10%;
  background: radial-gradient(circle, rgba(0,111,255,0.22) 0%, transparent 70%);
  animation: orb-drift-1 28s ease-in-out infinite alternate;
}

/* Orb 2 — medium blue, center-right */
.bg-orb--2 {
  width: 500px;
  height: 500px;
  top: 30%;
  right: -8%;
  background: radial-gradient(circle, rgba(0,111,255,0.16) 0%, transparent 70%);
  animation: orb-drift-2 22s ease-in-out infinite alternate;
}

/* Orb 3 — wide indigo, bottom-left */
.bg-orb--3 {
  width: 600px;
  height: 600px;
  bottom: -10%;
  left: 10%;
  background: radial-gradient(circle, rgba(30,60,180,0.17) 0%, transparent 70%);
  animation: orb-drift-3 35s ease-in-out infinite alternate;
}

/* Orb 4 — small sharp blue, center */
.bg-orb--4 {
  width: 320px;
  height: 320px;
  top: 55%;
  left: 42%;
  background: radial-gradient(circle, rgba(0,111,255,0.09) 0%, transparent 65%);
  animation: orb-drift-4 18s ease-in-out infinite alternate;
}

/* Orb 5 — large diffuse, top-right */
.bg-orb--5 {
  width: 550px;
  height: 550px;
  top: -5%;
  right: 15%;
  background: radial-gradient(circle, rgba(0,80,220,0.10) 0%, transparent 70%);
  animation: orb-drift-5 30s ease-in-out infinite alternate;
}

@keyframes orb-drift-1 {
  0%   { transform: translate(0px, 0px) scale(1); }
  33%  { transform: translate(60px, 80px) scale(1.08); }
  66%  { transform: translate(30px, 140px) scale(0.95); }
  100% { transform: translate(90px, 60px) scale(1.05); }
}

@keyframes orb-drift-2 {
  0%   { transform: translate(0px, 0px) scale(1); }
  40%  { transform: translate(-70px, 50px) scale(1.1); }
  100% { transform: translate(-40px, 120px) scale(0.92); }
}

@keyframes orb-drift-3 {
  0%   { transform: translate(0px, 0px) scale(1); }
  50%  { transform: translate(80px, -60px) scale(1.06); }
  100% { transform: translate(40px, -110px) scale(0.97); }
}

@keyframes orb-drift-4 {
  0%   { transform: translate(0px, 0px) scale(1); }
  35%  { transform: translate(-50px, -70px) scale(1.15); }
  100% { transform: translate(50px, 60px) scale(0.9); }
}

@keyframes orb-drift-5 {
  0%   { transform: translate(0px, 0px) scale(1); }
  45%  { transform: translate(-80px, 70px) scale(1.07); }
  100% { transform: translate(-30px, 130px) scale(0.94); }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE FIXES  (max-width: 767px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── Global: no horizontal scroll ── */
  html,
  body {
    overflow-x: clip;
    max-width: 100%;
  }

  /* Clip any section-level bleed (hero KV, marquees, map, footer) */
  :where(
    #navbar,
    #hero,
    .marquee-section,
    section,
    #services,
    .flec-footer
  ) {
    max-width: 100%;
    overflow-x: clip;
  }

  .nav-container { padding: 0 1.25rem; }

  /* ── Global: tighter horizontal padding ── */
  .section-container {
    padding: 0 1.25rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .section-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }

  /* ── Hamburger: kill browser default button styles ── */
  .hamburger {
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  /* ── Mobile menu ── */
  .mobile-link {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    padding: 0.875rem 0;
  }

  /* ── HERO ── */
  #hero {
    overflow-x: clip;
    min-height: auto;
  }
  .hero-kv-space { display: none; }

  /* Desktop absolute KV hidden — stacked layout in copy column */
  .hero-bg-video { display: none; }

  .hero-layout {
    grid-template-columns: 1fr;
    padding: 0 1.25rem;
    min-height: auto;
    align-content: start;
  }

  .hero-copy {
    padding-top: calc(var(--nav-h) + 1.5rem);
    padding-bottom: 2.5rem;
    min-width: 0;
    max-width: 100%;
  }

  .hero-tag { order: 1; }

  .hero-mobile-head {
    position: relative;
    display: block;
    order: 2;
    width: 100%;
    min-height: clamp(400px, 92vw, 565px);
    overflow: hidden;
    padding-bottom: 0.25rem;
  }

  .hero-headline {
    position: relative;
    z-index: 2;
    max-width: 83%;
    font-size: clamp(2.55rem, 11.5vw, 3.8rem);
    font-family: "HelveticaNeue-CondensedBold", "Helvetica Neue Condensed", "Helvetica Neue", "Barlow Condensed", Helvetica, Arial, sans-serif;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.65);
  }
  .hero-word {
    font-family: inherit;
    font-weight: 700;
    font-stretch: condensed;
  }

  .hero-mobile-kv {
    display: block;
    position: absolute;
    left: calc(8% - 3px);
    right: -1.25rem;
    top: -1.5rem;
    width: auto;
    height: clamp(432px, 96vw, 590px);
    margin: 0;
    aspect-ratio: auto;
    overflow: hidden;
    min-height: 0;
    z-index: 1;
    pointer-events: none;
  }

  .hero-mobile-kv-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: 50% 20%;
    -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
  }

  .hero-sub-wrap,
  .hero-ctas,
  .hero-stats {
    position: relative;
    z-index: 2;
  }

  .hero-sub-wrap { order: 3; margin-top: 0.75rem; }
  .hero-ctas      { order: 4; margin-top: 1.75rem; }
  .hero-stats     { order: 5; }

  /* Prevent tagline overflow */
  .hero-tag span:last-child {
    letter-spacing: 0.08em;
    font-size: 0.625rem;
    white-space: normal;
  }
  .hero-tag { flex-wrap: wrap; }

  /* Hero stats: 2 columns */
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }

  /* ── NUMBERS ── */
  .numbers-section { padding: 4rem 0; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .num-card {
    padding: 1.75rem 1.25rem;
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
  }
  .num-big   { font-size: clamp(2.25rem, 10vw, 3rem); }
  .num-label { font-size: 0.6875rem; }

  /* ── SERVICES (accordion handles mobile layout) ── */
  .svc-media-sigil {
    top: 1.25rem;
    left: 1.25rem;
    width: 36px;
    height: 36px;
  }
  .svc-media-keyword {
    font-size: clamp(1.5rem, 8vw, 2rem);
    padding: 0 1rem;
  }
  .svc-media-watermark {
    font-size: clamp(5rem, 22vw, 7rem);
    right: 0.1em;
    bottom: -0.08em;
  }
  .svc-card-body  { padding: 1.5rem; }

  /* ── CLIENTS ── */
  .clients-section {
    padding: 4rem 0;
    overflow: hidden;
  }
  .clients-marquee-wrap {
    overflow: hidden;
    max-width: 100%;
    width: 100%;
  }
  .clients-row {
    gap: 0.6rem;
  }
  .client-chip {
    height: 68px;
    width: 148px;
    padding: 6px 15px;
    box-sizing: border-box;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
  }
  .client-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.55;
  }

  /* ── ABOUT / TIMELINE — flat list on mobile (no slot-machine states) ── */
  .about-section { padding: 4rem 0; }
  .about-grid    { grid-template-columns: 1fr; gap: 2.5rem; }

  .tl-viewport {
    height: auto;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .tl-slide-track {
    transform: none !important;
  }
  .tl-item {
    height: auto;
    min-height: 0;
    padding: 1.25rem 0 1.25rem 1.5rem;
    opacity: 1 !important;
  }

  .about-section .tl-item,
  .about-section .tl-item.is-active,
  .about-section .tl-item.is-adj,
  .about-section .tl-item.is-far {
    opacity: 1 !important;
  }

  .about-section .tl-item .tl-title,
  .about-section .tl-item.is-active .tl-title,
  .about-section .tl-item.is-adj .tl-title,
  .about-section .tl-item.is-far .tl-title {
    color: #fff !important;
    font-size: 1.125rem !important;
    font-weight: 700;
    line-height: 1.25;
    opacity: 1 !important;
  }

  .about-section .tl-item .tl-year,
  .about-section .tl-item.is-active .tl-year,
  .about-section .tl-item.is-adj .tl-year,
  .about-section .tl-item.is-far .tl-year {
    color: var(--blue) !important;
    font-size: 0.8125rem !important;
    opacity: 1 !important;
  }

  .about-section .tl-item .tl-desc,
  .about-section .tl-item.is-active .tl-desc,
  .about-section .tl-item.is-adj .tl-desc,
  .about-section .tl-item.is-far .tl-desc {
    max-height: none !important;
    opacity: 1 !important;
    margin-top: 0.4rem !important;
    font-size: 0.875rem !important;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.58) !important;
  }

  .about-section .tl-item::before,
  .about-section .tl-item.is-active::before {
    top: 20%;
    height: 60%;
    background: rgba(255, 255, 255, 0.1);
  }

  .about-section .tl-item::after,
  .about-section .tl-item.is-active::after {
    width: 10px;
    height: 10px;
    left: -5px;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
  }

  /* ── OFFICES ── */
  .offices-section { padding: 4rem 0 3rem; }
  .offices-title {
    white-space: normal;
    font-size: clamp(1.05rem, 5.2vw, 1.45rem);
    line-height: 1.15;
  }
  .globe-wrap { height: 280px; border-radius: 0; }
  .office-cards-row {
    gap: 0.5rem;
    flex-wrap: nowrap;
    max-width: 100%;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
  }
  .office-item { padding: 0.6rem 0.875rem; }

  /* ── CONTACT ── */
  .contact-section { padding: 4rem 0 3.5rem; }
  .contact-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .form-row        { grid-template-columns: 1fr; }
  .contact-sub     { max-width: 100%; }

  /* ── CLIENTS — GPU-accelerate marquee to prevent stutter ── */
  .clients-marquee-inner {
    will-change: transform;
    animation-duration: 70s;
  }
  .clients-marquee-inner.reverse { animation-duration: 80s; }

  /* ── FOOTER ── */
  .flec-footer { padding-bottom: 0; }
  .flec-footer__logo-band { padding: 2.75rem 5vw 2rem; }
  .flec-footer__logo-band .flec-footer__copy {
    font-size: clamp(1.85rem, 9vw, 3.25rem);
    padding-top: 0;
  }
  .flec-footer__card { padding: 48px 1.5rem 2.5rem; }
  .flec-footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1rem;
    border-radius: 0;
    margin-bottom: 0;
  }
  .flec-footer__nav { justify-content: center; }
  .flec-footer__actions { flex-direction: column; align-items: center; gap: 0.75rem; }
}

/* ── Tiny screens (< 390px) ── */
@media (max-width: 389px) {
  .hero-headline   { font-size: clamp(2.2rem, 11vw, 3.2rem); max-width: 82%; }
  .section-title   { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .num-big         { font-size: 2rem; }
  .flec-footer__logo-band .flec-footer__copy { font-size: clamp(1.75rem, 10vw, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Show hero content immediately — no entrance animation */
  .hero-word,
  .hero-tag,
  .hero-sub-wrap,
  .hero-tagline,
  .hero-ctas,
  .hero-stat,
  .hero-kv-img,
  .hero-mobile-kv {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    visibility: visible !important;
  }
  .hero-mobile-kv-img {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
  /* Skip reveal-up delay */
  .js-ready .reveal-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
