:root {
  --bg: transparent;
  --bg-solid: #030303;
  --surface: #0a0a0a;
  --text-main: #ffffff;
  --text-muted: #959595;
  --accent: #4c4fd7;
  --accent-light: #6a6cff;
  --font-main: 'Inter', -apple-system, sans-serif;
  --font-display: 'Chakra Petch', 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: var(--font-main);
  background: var(--bg-solid);
  color: var(--text-main);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; background: transparent; }

/* Global moving glass glow: a giant blurred brand mark drifts behind the page as you scroll.
   Sections keep transparent backgrounds so the glow bleeds through every dark area. */
.global-glass-bg {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0; overflow: hidden;
  background: var(--bg-solid);
  pointer-events: none;
}
#logo-focus-wrapper {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1.5) translate(30%, -20%) rotate(-10deg);
  filter: blur(60px);
  opacity: 0.35;
  transform-origin: center center;
  will-change: transform, filter, opacity;
}
#the-giant-logo { width: 100vw; min-width: 1000px; display: block; }

/* every scrolling section paints above the fixed glow layer */
#smooth-content { position: relative; z-index: 1; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 5vw; }
.text-center { text-align: center; }
.mb-80 { margin-bottom: 80px; }
.mb-60 { margin-bottom: 60px; }
.mt-30 { margin-top: 30px; }
.mt-20 { margin-top: 20px; }

/* Nav — no full-width bar; the centered glass pill is the only chrome */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 22px 0; background: transparent; pointer-events: none;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; padding: 0 5vw; }
.nav-inner > * { pointer-events: auto; }
.logo-img { height: 32px; width: auto; filter: invert(1); transition: filter 0.5s ease; }
.nav-left { display: flex; align-items: center; gap: 12px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }
.nav-links {
  display: flex; gap: 4px; align-items: center;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 100px;
  padding: 6px;
  background: rgba(18,18,24,0.32);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 16px 40px rgba(0,0,0,0.28);
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}
.nav-links a {
  position: relative;
  color: rgba(255,255,255,0.74); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  padding: 9px 20px; border-radius: 100px;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.nav-links a:hover { background: rgba(255,255,255,0.09); color: #fff; }
.nav-links a.active {
  background: rgba(255,255,255,0.13); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}

/* Solutions dropdown: a second glass pill that unfolds under the nav */
.nav-item { position: relative; }
.has-sub::after {
  content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s ease;
}
.nav-item:hover .has-sub::after { transform: rotate(225deg) translateY(-1px); }
.nav-sub {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.97);
  transform-origin: top center;
  width: 436px; padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: linear-gradient(165deg, rgba(26,26,36,0.92), rgba(11,11,17,0.94));
  border: 1px solid rgba(255,255,255,0.12); border-radius: 24px;
  backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 30px 80px rgba(0,0,0,0.55), 0 0 44px rgba(76,79,215,0.14);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), visibility 0.3s;
}
/* invisible bridge so the cursor can travel from the pill into the panel */
.nav-sub::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
/* pointer nub tying the panel to the Solutions pill */
.nav-sub::after {
  content: ''; position: absolute; top: -5.5px; left: 50%; margin-left: -5.5px;
  width: 11px; height: 11px; transform: rotate(45deg); border-radius: 2px;
  background: rgba(26,26,36,0.96);
  border-top: 1px solid rgba(255,255,255,0.12); border-left: 1px solid rgba(255,255,255,0.12);
}
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub, .nav-item.open .nav-sub {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.ns-label {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 10px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.38);
  padding: 6px 12px 10px;
}
.ns-label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.14), transparent); }
.nav-links .nav-sub a {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 15px;
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.78); letter-spacing: 0;
  opacity: 0; transform: translateY(7px);
  transition: background 0.3s ease, color 0.3s ease, opacity 0.25s ease, transform 0.3s ease;
}
/* items cascade in one by one when the panel unfolds */
.nav-item:hover .nav-sub a, .nav-item:focus-within .nav-sub a {
  opacity: 1; transform: translateY(0);
  transition: background 0.3s ease, color 0.3s ease,
    opacity 0.4s ease calc(var(--i, 0) * 30ms),
    transform 0.5s cubic-bezier(0.16,1,0.3,1) calc(var(--i, 0) * 30ms);
}
.nav-links .nav-sub a.active { background: transparent; box-shadow: none; }
.nav-links .nav-sub a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.ns-ico {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 11px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  color: #a9abff;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}
.ns-ico svg { width: 19px; height: 19px; }
.nav-links .nav-sub a:hover .ns-ico {
  background: linear-gradient(140deg, #5a5df0, #3d40c8);
  color: #fff; border-color: rgba(255,255,255,0.2);
  transform: scale(1.07);
  box-shadow: 0 6px 18px rgba(76,79,215,0.4);
}
.ns-all .ns-txt::after {
  content: '\2192' / ''; display: inline-block; margin-left: 7px;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.ns-all:hover .ns-txt::after { transform: translateX(4px); }
/* light-section adaptation */
.nav--on-light .nav-sub {
  background: linear-gradient(165deg, rgba(255,255,255,0.88), rgba(244,244,248,0.9));
  border-color: rgba(0,0,0,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 30px 80px rgba(0,0,0,0.14);
}
.nav--on-light .nav-sub::after { background: rgba(252,252,254,0.98); border-color: rgba(0,0,0,0.08); }
.nav--on-light .ns-label { color: rgba(0,0,0,0.4); }
.nav--on-light .ns-label::after { background: linear-gradient(90deg, rgba(0,0,0,0.12), transparent); }
.nav--on-light .nav-links .nav-sub a { color: rgba(0,0,0,0.66); }
.nav--on-light .nav-links .nav-sub a:hover { background: rgba(0,0,0,0.05); color: #000; }
.nav--on-light .ns-ico { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); color: #4c4fd7; }
.nav--on-light .nav-links .nav-sub a:hover .ns-ico { background: linear-gradient(140deg, #5a5df0, #3d40c8); color: #fff; border-color: transparent; }

/* Light-section adaptation: dark logo + dark-on-light glass pill */
.nav--on-light .logo-img { filter: none; }
.nav--on-light .nav-links {
  background: rgba(255,255,255,0.5); border-color: rgba(0,0,0,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 16px 40px rgba(0,0,0,0.1);
}
.nav--on-light .nav-links a { color: rgba(0,0,0,0.6); }
.nav--on-light .nav-links a:hover { color: #000; background: rgba(0,0,0,0.05); }
.nav--on-light .nav-links a.active { color: #000; background: rgba(0,0,0,0.07); box-shadow: none; }
.nav--on-light .btn-outline { color: #111; border-color: rgba(0,0,0,0.22); }
.nav--on-light .btn-outline:hover { border-color: #111; background: rgba(0,0,0,0.05); }

.btn {
  position: relative; overflow: hidden; will-change: transform;
  font-family: var(--font-main); font-weight: 600; font-size: 14px; padding: 12px 24px;
  border-radius: 100px; cursor: pointer; text-transform: uppercase; letter-spacing: 0.05em; display: inline-block; text-decoration: none;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}
/* diagonal light sweep across any button on hover */
.btn::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 42%, rgba(255,255,255,0.28) 50%, transparent 58%);
  transform: translateX(-130%); transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.btn:hover::after { transform: translateX(130%); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); box-shadow: 0 0 24px rgba(106,108,255,0.25); }
.btn-solid { background: #fff; color: #000; border: none; padding: 16px 32px; }
.btn-solid::after { background: linear-gradient(110deg, transparent 42%, rgba(0,0,0,0.1) 50%, transparent 58%); }
.btn-solid:hover { box-shadow: 0 14px 40px rgba(255,255,255,0.22); }

/* Typography */
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }

/* Scroll progress hairline */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 1300;
  background: linear-gradient(90deg, #6a6cff, #22b8c8);
  transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* Reading-highlight word fill (dark sections) */
.wf .wf-w { color: rgba(255,255,255,0.3); transition: color 0.45s ease; }
.wf .wf-w.on { color: #fff; }
.about-sub.wf .wf-w.on, .about-sub .li.wf .wf-w.on { color: var(--text-muted); }

::selection { background: rgba(106,108,255,0.4); color: #fff; }
.values-section ::selection { background: rgba(106,108,255,0.22); color: #000; }
.btn-solid::selection { background: rgba(17,17,22,0.88); color: #fff; }

/* light-nav variant of the button sweep (white sweep is invisible on the light section) */
.nav--on-light .btn-outline::after {
  background: linear-gradient(110deg, transparent 42%, rgba(0,0,0,0.1) 50%, transparent 58%);
}

@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; }
  .scroll-progress { display: none; }
  .wf .wf-w, .values-statement .vw { transition: none; }
  .values-statement .vw { color: #0d0d0d; }
  .ambient-sheen, .t-quotemark, .contact-section::before, .hero-title, .hero-title h1 { animation: none; }
  .dot-square { transition: none; }
}
.eyebrow-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light); margin-right: 8px; vertical-align: 1px; }
h2 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 56px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 24px; }
.gradient-text { background: linear-gradient(100deg, #ffffff 0%, #b9b7ff 26%, #6a6cff 50%, #45c8e0 74%, #ffffff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; background-size: 220% auto; animation: shine 6s linear infinite; }

@keyframes shine { to { background-position: 200% center; } }


/* Scroll-Driven Video Hero */
.hero-scrollvideo {
  /* scrub travel = height - 100vh sticky. 170vh => ~70vh of scroll runs the whole
     150-frame clip, so one firm scroll gesture carries you through the intro to
     the WE SHIP section. */
  height: 170vh; position: relative; z-index: 10;
}
.hero-sticky {
  position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; background: var(--bg);
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  /* black pixels turn transparent, letting the roaming glow breathe through the intro */
  mix-blend-mode: screen;
}
.hero-fade-out {
  position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none;
}
/* Centered statement inside the glass oval: gently floats, light sweeps across the letters
   (no glow), and fades away the moment scrolling starts */
.hero-title {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 8vw; pointer-events: none;
  animation: heroTitleFloat 6.5s ease-in-out infinite;
  will-change: transform, opacity;
}
.hero-title h1 {
  margin-top: 4vh; /* the oval's visual hollow sits slightly below the geometric center */
  font-family: var(--font-display);
  font-size: clamp(25px, 2.5vw, 40px);
  font-weight: 700; letter-spacing: 0.03em; line-height: 1.2; text-transform: uppercase;
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 38%, #8b8eff 48%, #d9daff 52%, #ffffff 62%, #ffffff 100%);
  background-size: 240% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shine 5.5s linear infinite;
}
/* the soft line carries its own dimmer gradient: a child with opacity would drop out of the
   parent's background-clip:text painting and render invisible */
.hero-title .ht-soft {
  display: block; margin-top: 5px;
  font-size: 0.56em; font-weight: 400; letter-spacing: 0.24em;
  background: linear-gradient(100deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.55) 38%, rgba(163,166,255,0.95) 48%, rgba(255,255,255,0.85) 52%, rgba(255,255,255,0.55) 62%, rgba(255,255,255,0.55) 100%);
  background-size: 240% auto;
  -webkit-background-clip: text; background-clip: text;
  animation: shine 5.5s linear infinite;
}
@keyframes heroTitleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 44px; border: 1.5px solid rgba(255,255,255,0.5); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 8px;
  transition: opacity 0.5s ease;
}
.scroll-cue-dot {
  width: 4px; height: 8px; border-radius: 4px; background: #fff;
  animation: cueDrop 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes cueDrop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}


/* Clients Marquee */
.clients-section { padding: 10px 0 72px; background: var(--bg); position: relative; z-index: 5; }
.marquee-container {
  max-width: 1200px; margin: 0 auto; padding: 0 5vw;
  overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.marquee-track { display: inline-block; animation: marquee 52s linear infinite; }
.marquee-track img {
  height: 62px; margin: 0 60px; vertical-align: middle;
  /* 0.55 washed out the fine-stroke marks (DFCM's calligraphic bird, Hilton's
     two subtitle lines) until they looked broken rather than subtle */
  opacity: 0.7; filter: brightness(0) invert(1);
  transition: opacity 0.4s ease;
}
.marquee-track img:hover { opacity: 1; }
.marquee-track img.lg-word { height: 34px; }     /* BYD */
.marquee-track img.lg-emblem { height: 68px; }   /* Toyota */
.marquee-track img.lg-tall { height: 90px; }     /* Hilton — 3-line lockup, needs the height for its subtitles to hold together */
.marquee-track img.lg-pasha { height: 78px; }    /* Pasha Malls */
.marquee-track img.lg-ece { height: 46px; }      /* ECE */
.marquee-track img.lg-af { height: 38px; }       /* Al-Futtaim (wide wordmark) */
.marquee-track img.lg-dfcm { height: 96px; opacity: 0.82; }  /* stacked + fine calligraphic strokes, so it runs larger and brighter than the rest */
.marquee-track img.lg-legends { height: 70px; }  /* Land of Legends */
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* About Section */
.about-section { padding: 120px 0 96px; background: var(--bg); text-align: center; position: relative; z-index: 1; }
.about-motto {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 108px); font-weight: 600; line-height: 1.04; letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 16px; white-space: nowrap;
}
.about-motto .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.about-motto .wi { display: inline-block; will-change: transform; }
.about-motto .motto-hl { color: #ffffff; }
/* word-fill owns the word colors once initialised */
.about-motto.wf .motto-hl .wf-w { color: rgba(255,255,255,0.3); }
.about-motto.wf .motto-hl .wf-w.on { color: #fff; }
.about-sub {
  font-family: var(--font-display);
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.about-sub .line { display: block; overflow: hidden; }
.about-sub .li {
  display: inline-block;
  max-width: 960px; margin: 0 auto;
  font-size: clamp(14px, 1.3vw, 19px); font-weight: 500; letter-spacing: 0.01em; line-height: 1.65;
  color: var(--text-muted);
}
.about-sub .sub-muted { color: var(--text-muted); font-weight: 500; }
.about-lead {
  font-family: var(--font-main); max-width: 620px; margin: 30px auto 0;
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: var(--text-muted);
}


/* Live AI Agent (Anam real-time avatar embed) — sits on the same light interlude
   as "Our Approach & Output" (not white), clean rounded frame, no glow/stroke.
   Aspect matches the avatar stream (1152x768 = 3:2) so the full framing shows
   without the cover-crop zoom; width kept near the native stream so it stays crisp. */
/* Live conversational agent — sits at the top of the dark Core Features section */
.agent-head { text-align: center; max-width: 1100px; margin: 0 auto 40px; padding: 0 4vw; }
.agent-title {
  font-family: var(--font-display);
  font-size: min(3.8vw, 42px); white-space: nowrap;
  font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; color: #fff;
}
.agent-embed {
  width: 92vw; max-width: 1200px; margin: 0 auto 110px; aspect-ratio: 3 / 2;
  border-radius: 32px; overflow: hidden; background: #05070f;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.agent-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 880px) {
  .agent-head { margin-bottom: 26px; padding: 0 3vw; }
  .agent-embed { aspect-ratio: 4 / 5; border-radius: 22px; margin-bottom: 70px; }
}

/* Approach & Values (light interlude) — sits directly under the live agent on the
   same #ececec surface, so the top padding is small to keep them visually joined */
.values-section { background: #ececec; color: #111; padding: 44px 0 72px; }
.values-head { text-align: center; margin-bottom: 44px; }
.eyebrow-onlight { color: #7a7a7a; display: inline-flex; align-items: center; gap: 12px; }
.v-rule { width: 34px; height: 1px; background: #b7b7b7; display: inline-block; }

/* scroll-driven "reading highlight": each word fills from light grey to ink as you scroll */
.values-statement {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 58px); font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.3; text-align: center;
  max-width: 1120px; margin: 0 auto 110px; text-transform: none;
}
.values-statement .vw { color: #cccccc; transition: color 0.45s ease; }
.values-statement .vw.on { color: #0d0d0d; }

.values-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1140px; margin: 0 auto; }
.value-item {
  position: relative; text-align: left; padding: 28px 30px; border-radius: 10px;
  background: rgba(255,255,255,0.5); border: 1px solid rgba(0,0,0,0.06); overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease, background 0.45s ease, border-color 0.45s ease;
}
/* hover = the whole card floods with the brand indigo; no glow, no top line */
.value-item:hover {
  transform: translateY(-5px);
  background: var(--accent);
  border-color: transparent;
  box-shadow: none;
}
.value-item:hover .pixel-glyph { color: #fff; }
.value-item:hover .v-name { color: #fff; }
.value-item:hover .v-desc { color: rgba(255,255,255,0.85); }
.value-item:hover .v-index { color: rgba(255,255,255,0.75); }
.value-item:hover .v-index::before { background: rgba(255,255,255,0.45); }
.pixel-glyph { transition: color 0.4s ease; }
.v-index {
  font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: #9a9a9a;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.3s ease;
}
.v-index::before { content: ''; width: 16px; height: 1px; background: #c4c4c4; display: inline-block; transition: background 0.3s ease; }
.pixel-glyph { width: 46px; height: 46px; color: #1c1c1c; display: block; margin: 22px 0 20px; }
.v-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #111; margin-bottom: 8px; letter-spacing: -0.01em; transition: color 0.3s ease; }
.v-desc { font-size: 14px; line-height: 1.5; color: #666; font-weight: 400; transition: color 0.3s ease; }

/* Interactive Agents Accordion — sits on the light interlude (same #ececec as
   Our Approach / the live agent), so heading + subtitle go dark and the dark
   photo cards get a soft shadow to lift off the light surface. */
.agents-accordion-section { padding: 96px 0; background: #ececec; position: relative; z-index: 5; }
.agents-accordion-section h2 { color: #111; }
/* heading reveals grey -> black on scroll, same effect as the values statement below */
.agents-accordion-section h2.wf .wf-w { color: #cccccc; }
.agents-accordion-section h2.wf .wf-w.on { color: #0d0d0d; }
.agents-accordion-section .section-subtitle { color: #5c6068; }
.agents-accordion-section .accordion-item { border: none; box-shadow: 0 26px 60px rgba(20,24,40,0.18); }
/* sector/solution category stays visible while the card is collapsed */
.acc-tag {
  position: absolute; left: 0; right: 0; bottom: 48px; z-index: 2;
  text-align: center; padding: 0 10px;
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.65); transition: opacity 0.18s ease; pointer-events: none;
}
.accordion-item:hover .acc-tag, .accordion-item.expanded .acc-tag { opacity: 0; }
.section-subtitle { color: var(--text-muted); font-size: 18px; margin-bottom: 60px; }

.accordion-container {
  display: flex; height: 600px; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 5vw; gap: 20px;
}
.accordion-item {
  flex: 1; position: relative; border-radius: 32px; overflow: hidden; cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255,255,255,0.05); background: #111;
}
.accordion-item:hover, .accordion-item.expanded {
  flex: 4;
}
.acc-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.4; transition: opacity 0.6s; overflow: hidden; }
.accordion-item:hover .acc-bg, .accordion-item.expanded .acc-bg { opacity: 1; }
/* fixed-size image centered in the slat: expanding the panel only reveals more of it,
   the image itself never rescales — no zoom effect */
.acc-bg img {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 660px; max-width: none; height: 100%;
  object-fit: cover; object-position: center top;
}

.acc-content {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px; z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  /* the base rule governs LEAVING: quick and with no delay, so nothing keeps
     animating after the cursor is already gone */
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.accordion-item:hover .acc-content, .accordion-item.expanded .acc-content {
  opacity: 1; transform: translateY(0); pointer-events: auto;
  /* entering keeps the small delay so the copy lands after the panel widens */
  transition: opacity 0.45s ease 0.1s, transform 0.5s cubic-bezier(0.16,1,0.3,1) 0.1s;
}
a.accordion-item { display: block; text-decoration: none; color: inherit; }
.acc-name { font-family: var(--font-display); font-size: 38px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1; }
.acc-meta { display: flex; align-items: center; gap: 14px; }
.acc-logo { height: 30px; width: auto; max-width: 120px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.95; }
.acc-logo-text {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  letter-spacing: 0.06em; color: #fff; line-height: 1;
}
.acc-cat {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75);
  padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.3); line-height: 1.6;
}
.acc-go {
  position: absolute; top: 22px; right: 22px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  border: 1px solid rgba(255,255,255,0.4); background: rgba(8,8,12,0.35); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(8px) rotate(-12deg);
  /* leaving: fade out fast and reset the tilt instantly, instead of spinning
     back over half a second once the cursor has moved on */
  transition: opacity 0.18s ease, transform 0s, background 0.35s ease, border-color 0.35s ease;
}
.acc-go svg { width: 18px; height: 18px; }
.accordion-item:hover .acc-go, .accordion-item.expanded .acc-go {
  opacity: 1; transform: translateY(0) rotate(0deg);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), background 0.35s ease, border-color 0.35s ease;
}
.accordion-item:hover .acc-go:hover { background: rgba(106,108,255,0.5); border-color: rgba(255,255,255,0.7); }


/* Core Agent Features: a grounded glass console — hover list (left) drives the pixel glyph stage (right) */
.ecosystem-section { padding: 124px 0 96px; background: var(--bg); position: relative; z-index: 5; }
.eco-panel {
  position: relative; max-width: 1240px; margin: 0 auto;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 40px; padding: 64px 60px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.04);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  overflow: hidden;
}
/* hairline sheen along the top edge */
.eco-panel::after {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
}
.eco-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: center;
}
.eco-left { min-width: 0; }
.eco-list { display: flex; flex-direction: column; gap: 2px; }
/* deck-style list: single-line titles marked by a pixel square from the matrix's language */
.eco-item {
  display: flex; gap: 16px; align-items: center;
  padding: 8px 16px; border-radius: 12px;
  cursor: pointer; white-space: nowrap;
  transition: background 0.35s ease;
}
.eco-item:hover { background: rgba(255,255,255,0.04); }
.eco-item.active { background: rgba(106,108,255,0.09); }
.eco-item-px {
  width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0;
  background: rgba(255,255,255,0.09);
  transition: background 0.4s ease;
}
.eco-item:hover .eco-item-px { background: rgba(255,255,255,0.2); }
.eco-item.active .eco-item-px { background: rgba(106,108,255,0.85); }
.eco-item h3 {
  font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 25px); font-weight: 600;
  letter-spacing: 0.01em; color: rgba(255,255,255,0.42); line-height: 1.3;
  transition: color 0.35s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.eco-item:hover h3 { color: rgba(255,255,255,0.75); }
.eco-item.active h3 { color: #fff; transform: translateX(5px); }

/* the glyph stage: divider, corner ticks, live meta rail */
.eco-right { display: flex; align-items: center; justify-content: center; position: relative; }
/* the faint square field extends across the whole right zone as a pattern,
   dissolving toward the edges — the glyph sits in its centre */
.eco-right::before {
  content: ''; position: absolute; inset: -34px -26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Crect x='5' y='5' width='8' height='8' rx='2' fill='%23ffffff' fill-opacity='0.055'/%3E%3C/svg%3E");
  background-size: 18px 18px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 60% 56% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 56% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.eco-stage { position: relative; padding: 10px; }
.dot-matrix-container {
  position: relative; z-index: 2; width: 400px; height: 400px;
  display: grid; grid-template-columns: repeat(22, 1fr); grid-template-rows: repeat(22, 1fr);
  gap: 3px;
}
/* only the glyph is visible: empty cells are fully transparent, squares fade in and out as it morphs */
.dot-square {
  background: transparent; border-radius: 2px;
  transition: background 0.4s ease, transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease, border-radius 0.3s ease;
  transform: scale(0.55); opacity: 0;
}
.dot-square.active { background: #585cf5; opacity: 1; transform: scale(1); cursor: crosshair; }
.dot-matrix-container:hover .dot-square.active { background: #7c7ffb; }
/* periodic scan wave: a soft brightness sweep keeps the glyph alive */
.dot-square.active.wv { background: #9295ff; transform: scale(1.12); }
/* neighbour nudge: glyph squares around the cursor lean in */
.dot-square.active.nb { transform: scale(1.16); background: #7c7ffb; }
.dot-square.active:hover {
  transform: scale(1.5) !important;
  background: #9b9dff !important;
  z-index: 10; border-radius: 40%;
  transition: all 0.22s ease;
}
/* Enterprise Security Banner */
.security-banner-section { padding: 56px 0 84px; background: var(--bg); position: relative; }
.security-banner {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 40px; padding: 60px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
}
.sec-banner-content { flex: 1; max-width: 600px; z-index: 2; }
.sec-banner-image { flex: 1; display: flex; justify-content: flex-end; z-index: 2; }
.sec-certs { max-width: 100%; height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); opacity: 0.9; }
.sec-heading { font-family: var(--font-display); font-size: clamp(36px, 3.5vw, 48px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 24px; }
.security-banner .section-subtitle { font-size: 18px; margin: 0 0 40px 0; color: var(--text-muted); line-height: 1.6; }
.sec-points { display: flex; flex-wrap: wrap; gap: 12px; }
.sec-points span {
  font-family: var(--font-display); font-size: 14px; font-weight: 500; color: #fff;
  padding: 8px 18px 8px 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; gap: 8px;
}
.sec-points span::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #5ee38f; flex-shrink: 0;
  box-shadow: 0 0 8px rgba(94,227,143,0.5);
}

@media (max-width: 1024px) {
  .security-banner { flex-direction: column; text-align: center; gap: 40px; padding: 40px; }
  .sec-points { justify-content: center; }
  .sec-banner-image { justify-content: center; width: 100%; }
}

/* Integrations Section */
.integrations-section { padding: 88px 0; background: var(--bg); position: relative; overflow: hidden; }
.int-diagram {
    display: flex; justify-content: center; gap: 60px; align-items: center; max-width: 1100px; margin: 0 auto; position: relative;
    padding: 60px 0; min-height: 540px;
}
.int-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none;
}
.int-col {
    display: flex; flex-direction: column; align-items: stretch; gap: 24px; z-index: 3; width: 214px; position: relative;
}
/* channel pills: filled glass capsules with a single soft indigo ring — bare oversized icons inside */
.int-node {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    width: 100%; height: 64px; padding: 0 22px 0 20px; color: #fff;
    background: #0A0A0A;
    border: 1px solid rgba(76,79,215,0.4);
    border-radius: 100px;
    box-shadow: 0 0 15px rgba(76,79,215,0.15), inset 0 0 10px rgba(76,79,215,0.05);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
}
.int-node:hover {
    transform: translateY(-3px);
    border-color: rgba(106,108,255,0.65);
    background: rgba(106,108,255,0.06);
    box-shadow: 0 10px 30px rgba(106,108,255,0.2);
}
/* bare icon: no inner circle or extra border, just the oversized mark */
.int-ico {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    color: #fff;
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.int-node:hover .int-ico { color: var(--accent-light); transform: scale(1.1) rotate(5deg); }
.int-ico svg { width: 30px; height: 30px; }
.int-name { position: relative; z-index: 1; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: 0.02em; }

.int-center {
    display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; position: relative;
}
.int-oval { position: relative; width: 400px; }
.int-oval::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 130%; height: 160%; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(76,79,215,0.28) 0%, rgba(76,79,215,0.08) 45%, transparent 70%);
    animation: ovalPulse 4.5s ease-in-out infinite; pointer-events: none;
}
.int-oval-img {
    position: relative; width: 100%; height: auto; display: block;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 34px rgba(90,94,255,0.35));
    animation: ovalFloat 7s ease-in-out infinite;
}
@keyframes ovalPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.07); }
}
@keyframes ovalFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


/* Cinematic Brand Film */
.video-cinematic { padding: 60px 0 84px; background: var(--bg); position: relative; overflow: hidden; }
.ambient-video-showcase {
  position: relative; max-width: 1500px; margin: 0 auto; padding: 0 4vw;
}
.ambient-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 85vh; min-height: 500px;
  border-radius: 40px; overflow: hidden;
  background: #000 url('assets/brand/reel-poster.webp') center center / cover no-repeat;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 100px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,255,255,0.05);
  transform: translateZ(0);
}
.ambient-sheen {
  position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-20deg); pointer-events: none; z-index: 3;
  animation: ambientSheen 8s infinite;
}
@keyframes ambientSheen {
  0%, 50% { left: -100%; }
  100% { left: 200%; }
}
.ambient-frame .reel-video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(0.95) contrast(1.05);
  /* Hidden until it reports real playback — see the note on .is-playing below. */
  opacity: 0; transition: opacity 0.5s ease;
}
.ambient-frame .reel-video.is-playing { opacity: 1; }
.reel-mute {
  position: absolute; bottom: 34px; right: 34px; z-index: 4;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px 11px 13px; border-radius: 100px;
  background: rgba(10,10,14,0.5); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.22); color: #fff; cursor: pointer;
  font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.reel-mute:hover { background: rgba(24,24,34,0.72); border-color: rgba(255,255,255,0.45); transform: translateY(-2px); }
.reel-mute svg { width: 18px; height: 18px; flex-shrink: 0; }
.reel-mute .ic-sound { display: none; }
.reel-mute.is-on .ic-muted { display: none; }
.reel-mute.is-on .ic-sound { display: inline; }
.reel-mute-label { line-height: 1; }

/* === Creative Studio — self-contained single-screen section (modeled on davision.ai/studio) === */
.cstudio-section {
  --cs-red: #e5342b; --cs-red-light: #ff5a4d;
  position: relative; overflow: hidden; z-index: 6;
  /* distinct red-silk canvas (studio's own hero backdrop) — sets Creative Studio apart from the neutral-dark + light-grey sections */
  background:
    linear-gradient(180deg, rgba(7,4,6,0.66) 0%, rgba(7,4,6,0.46) 42%, rgba(7,4,6,0.60) 72%, rgba(7,4,6,0.80) 100%),
    url('assets/studio/cs_bg.webp') center center / cover no-repeat #080406;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: 11vh 0 0;
}
/* soft crimson halo pooled behind the video */
.cstudio-glow {
  position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%);
  width: 88vw; max-width: 1240px; height: 58%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center 70%, rgba(244,64,52,0.22) 0%, rgba(244,64,52,0.06) 46%, transparent 68%);
}
/* the video dissolves to black along its lower edge (over the bleed), blending into the section below */
.cstudio-section::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 20%; z-index: 3; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(5,3,5,0.62) 52%, #050305 100%);
}
.cstudio-head { position: relative; z-index: 2; max-width: 940px; margin: 0 auto 30px; text-shadow: 0 2px 26px rgba(0,0,0,0.55); }
.cstudio-eyebrow { color: var(--cs-red-light); letter-spacing: 0.22em; margin-bottom: 14px; }
/* two lines: "Brand-Aware, Agency-First" / "Creative AI Studio" (nbsp-hyphens keep each pair intact) */
.cstudio-section h2 { max-width: 760px; margin: 0 auto; }
.cstudio-sub { color: rgba(255,255,255,0.84); font-size: 18px; line-height: 1.58; max-width: 700px; margin: 16px auto 26px; }
.cstudio-btn {
  background: linear-gradient(135deg, var(--cs-red-light), var(--cs-red));
  color: #fff; border: none; padding: 15px 30px; font-size: 13px;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 14px 34px rgba(229,52,43,0.32);
}
.cstudio-btn svg { width: 18px; height: 18px; }
/* static hover — no movement, but clearly more than a colour change:
   a bright glossy light-sweep passes across + a stronger red bloom */
.cstudio-btn::after { background: linear-gradient(110deg, transparent 36%, rgba(255,255,255,0.55) 50%, transparent 64%); transition: transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.cstudio-btn:hover { background: linear-gradient(135deg, #ff7a6e, #ee352b); box-shadow: 0 20px 58px rgba(229,52,43,0.6), 0 0 46px rgba(255,90,77,0.58); }

/* live studio-interface screen recording — wide, anchored to the bottom, bleeds off the edge (reference-style), links straight through */
.cstudio-video {
  position: relative; z-index: 2; display: block; text-decoration: none; flex: 0 0 auto;
  width: min(1200px, 94vw); margin-top: auto;
  border-radius: 20px 20px 0 0; overflow: hidden;
  background: #06070c url('assets/studio/studio-ui-poster.webp') center top / cover no-repeat;
  box-shadow: 0 10px 70px rgba(0,0,0,0.42);
}
/* The ratio is declared so the frame reserves its space before any media loads.
   Without it the element falls back to the UA's 300x150 default and the section
   shows a stubby black box until the file arrives. */
.cstudio-video video { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 1340; object-fit: cover; }

/* Both showcase clips stay invisible until they report real playback, with a still
   frame sitting behind them as the wrapper's background. A visible paused <video>
   is what iOS stamps its own play glyph onto, and Low Power Mode refuses muted
   autoplay outright, so on those devices the still is what should be on screen.
   The `poster` attribute is NOT enough here: iOS draws the glyph over the poster. */
.cstudio-video video { opacity: 0; transition: opacity 0.5s ease; }
.cstudio-video video.is-playing { opacity: 1; }
@media (max-width: 880px) {
  /* content-sized (no full-screen bleed) so the video sits right under the button, not pushed to the bottom */
  .cstudio-section { height: auto; padding: 9vh 0 44px; }
  .cstudio-section::after { display: none; }
  .cstudio-head { margin-bottom: 22px; }
  .cstudio-sub { font-size: 16px; }
  .cstudio-video { width: 94vw; margin-top: 20px; border-radius: 16px; }
  .cstudio-glow { width: 130vw; }
}

/* Testimonials — frosted glass showcase over the roaming glow */
.testimonials-section {
  position: relative; padding: 120px 0 96px;
  background: rgba(5, 5, 8, 0.75);
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  border-top: 1px solid rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.03);
  overflow: hidden;
}
.t-stage { position: relative; max-width: 1120px; text-align: center; padding-top: 30px; }
.t-quotemark {
  font-family: Georgia, 'Times New Roman', serif; font-size: 140px; line-height: 0.5;
  color: rgba(106,108,255,0.3); height: 50px; margin-bottom: 20px; user-select: none;
  animation: quoteFloat 4s ease-in-out infinite;
}
@keyframes quoteFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-10px) scale(1.05); opacity: 1; color: rgba(106,108,255,0.6); }
}
.t-slides { position: relative; min-height: 240px; display: grid; }
.t-slide {
  grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(16px);
  pointer-events: none;
}
.t-slide.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.t-slide p {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 2.5vw, 36px); line-height: 1.4; letter-spacing: -0.01em;
  color: #fff; max-width: 1000px; margin: 0 auto 40px;
}
.t-slide footer { display: flex; flex-direction: column; gap: 8px; }
.t-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: #fff; letter-spacing: 0.05em; text-transform: uppercase; }
.t-at { font-size: 14px; color: var(--text-muted); }
.t-dots { display: flex; justify-content: center; gap: 12px; margin-top: 46px; }
.t-dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.2); border: none; transition: all 0.4s ease;
}
.t-dot.is-active { background: var(--accent-light); width: 26px; border-radius: 100px; }
.t-dot:hover { background: rgba(255,255,255,0.4); }

/* Blog */
.blog-section { padding: 88px 0; background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border-radius: 20px; overflow: hidden; background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.blog-card { transform-style: preserve-3d; perspective: 800px; }
.blog-card:hover { transform: translateY(-6px) rotateX(2deg); border-color: rgba(106,108,255,0.4); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.blog-img { aspect-ratio: 16 / 10; overflow: hidden; background: #000; position: relative; }
.blog-img::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%, rgba(106,108,255,0.3) 100%);
  opacity: 0; transition: opacity 0.6s ease; mix-blend-mode: overlay;
}
.blog-card:hover .blog-img::after { opacity: 1; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-meta { display: flex; align-items: center; gap: 14px; padding: 24px 26px 0; font-size: 13px; color: var(--text-muted); }
.blog-tag { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-light); }
.blog-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.35; padding: 14px 26px 0; letter-spacing: -0.01em; }
.blog-more { padding: 18px 26px 28px; font-size: 14px; font-weight: 600; color: var(--accent-light); }
.blog-more::after {
  content: '\2192' / ''; display: inline-block; margin-left: 8px;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.blog-card:hover .blog-more::after { transform: translateX(6px); }

/* Contact Section */
.contact-section { padding: 96px 0; background: var(--surface); border-top: 1px solid rgba(255,255,255,0.03); position: relative; overflow: hidden; }
.contact-section::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(106,108,255,0.12) 0%, transparent 70%);
  animation: contactPulse 6s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes contactPulse {
  0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}
.contact-inner, .contact-content { position: relative; z-index: 2; }
.contact-inner { display: flex; justify-content: center; align-items: center; }
.contact-content { max-width: 700px; width: 100%; }
.contact-heading { font-size: clamp(40px, 5vw, 64px); margin-bottom: 24px; }
.contact-desc { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; }
.contact-form { display: flex; gap: 16px; margin-bottom: 40px; }
.contact-input { flex: 1; padding: 16px 24px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.5); color: #fff; font-size: 16px; font-family: var(--font-main); outline: none; transition: border 0.3s; }
.contact-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(76,79,215,0.18); }
.submit-btn { padding: 16px 40px; font-size: 16px; }


/* Footer */
/* Footer — refined, minimal, premium */
.footer { position: relative; padding: 88px 0 46px; background: #000; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(720px, 78%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(106,108,255,0.55), rgba(69,200,224,0.4), transparent);
}
.footer::after {
  content: ""; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 920px; height: 400px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(76,79,215,0.11), transparent 70%);
  filter: blur(24px);
}
.footer-content { position: relative; z-index: 1; }

.footer-main {
  display: grid; grid-template-columns: 1.25fr 2fr; gap: 72px;
  font-family: var(--font-display); padding-bottom: 60px;
}
.footer-intro { max-width: 380px; }
.footer-logo { height: 32px; filter: invert(1); }
.footer-tagline { margin-top: 26px; color: rgba(255,255,255,0.58); font-size: 15px; line-height: 1.75; font-weight: 400; }
.footer-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  color: #fff; font-size: 15px; font-weight: 500; text-decoration: none;
  padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,0.18);
  transition: gap 0.45s cubic-bezier(0.16,1,0.3,1), border-color 0.4s, color 0.4s;
}
.footer-cta svg { width: 17px; height: 17px; transition: transform 0.45s cubic-bezier(0.16,1,0.3,1); }
.footer-cta:hover { gap: 16px; color: var(--accent-light); border-color: var(--accent-light); }
.footer-cta:hover svg { transform: translateX(4px); }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.f-title {
  font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 24px;
}
.f-list { list-style: none; }
.f-list li { margin-bottom: 13px; }
.f-list a {
  color: rgba(255,255,255,0.72); text-decoration: none; font-size: 15px; font-weight: 400;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 2px;
  transition: color 0.3s, background-size 0.45s cubic-bezier(0.16,1,0.3,1);
}
.f-list a:hover { color: #fff; background-size: 100% 1px; }
.f-mail { display: inline-block; color: #fff; font-size: 16px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 3px; transition: color 0.3s, border-color 0.3s; }
.f-mail:hover { color: var(--accent-light); border-color: var(--accent-light); }
.f-phone-link { display: block; margin-top: 16px; color: rgba(255,255,255,0.72); font-size: 15px; text-decoration: none; transition: color 0.3s; }
.f-phone-link:hover { color: #fff; }
.f-address { margin-top: 20px; color: rgba(255,255,255,0.48); font-size: 13.5px; line-height: 1.8; }
.f-social { display: flex; gap: 14px; margin-top: 32px; }
.f-social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.1);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
}
.f-social a:hover { color: #fff; border-color: rgba(106,108,255,0.6); background: rgba(106,108,255,0.12); transform: translateY(-2px); }
.f-social svg { width: 17px; height: 17px; display: block; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 34px; border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 13.5px; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13.5px; font-weight: 400; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }


@media (max-width: 992px) {
  .nav { padding: 14px 0; }
  .logo-img { height: 22px; }
  .btn { white-space: nowrap; }

  /* hamburger sits just left of Get in Touch and opens the links as a dropdown */
  /* bare hamburger, no stroke/background */
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 26px; height: 26px; padding: 0; cursor: pointer;
    background: none; border: none;
  }
  .nav-toggle span { height: 2px; width: 24px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.25s ease; }
  .nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav--on-light .nav-toggle span { background: #111; }

  .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: fixed; top: 64px; right: 4vw; left: 4vw; padding: 12px; border-radius: 20px;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1), visibility 0.3s;
    z-index: 1001;
  }
  .nav.menu-open .nav-links { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links > a, .has-sub { font-size: 15.5px; padding: 13px 18px; width: 100%; }
  .has-sub { display: flex; align-items: center; justify-content: space-between; }

  /* Solutions submenu unfolds inline inside the mobile menu */
  .nav-item { position: static; width: 100%; }
  .nav-sub {
    position: static; width: auto; display: none; opacity: 1; visibility: visible; pointer-events: auto;
    transform: none; grid-template-columns: 1fr 1fr; gap: 2px; margin: 2px 0 6px; padding: 6px;
    background: rgba(255,255,255,0.03); border: none; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .nav-sub::before, .nav-sub::after { display: none; }
  /* override the desktop reveal transform (translateX(-50%)) that would shift the inline panel left */
  .nav-item.open .nav-sub { display: grid; transform: none; }
  .nav-links .nav-sub a { padding: 10px 12px; font-size: 13px; }
  .nav-item.open .nav-sub a { opacity: 1; transform: none; }
  .btn-outline { padding: 10px 18px; font-size: 12px; }

  /* phone hero: text only — no heavy frame sequence, no oval mark */
  .hero-scrollvideo { height: 100svh; }
  .hero-sticky { position: relative; height: 100svh; }
  #hero-canvas { display: none; }
  .hero-title { padding: 0 8vw; }
  .hero-title h1 { margin-top: 0; font-size: 29px; letter-spacing: 0.03em; }
  .hero-title .ht-soft { letter-spacing: 0.18em; margin-top: 10px; }

  .about-motto { white-space: normal; font-size: clamp(38px, 10.5vw, 72px); }
  .about-sub .li { font-size: clamp(15px, 4.2vw, 20px); }
  .marquee-track img { height: 44px; margin: 0 40px; }
  .marquee-track img.lg-word { height: 24px; }
  .marquee-track img.lg-tall { height: 66px; }
  .marquee-track img.lg-af { height: 27px; }
  .marquee-track img.lg-dfcm { height: 70px; opacity: 0.82; }
  .marquee-track img.lg-legends { height: 50px; }

  .values-section { padding: 40px 0 60px; }
  /* tightened, consistent mobile section rhythm */
  .about-section { padding: 84px 0 72px; }
  .clients-section { padding: 8px 0 56px; }
  .agents-accordion-section { padding: 76px 0; }
  .blog-section, .contact-section { padding: 76px 0; }
  .footer { padding: 76px 0 40px; }
  .values-statement { margin-bottom: 64px; }
  .values-row { grid-template-columns: 1fr; gap: 14px; max-width: 460px; }
  .value-item { padding: 26px 24px; }

  /* accordion -> clean vertical cards; touch has no hover, so every card shows its
     portrait (framed on the face) + name/logo/category, not a cropped collapsed slat */
  .accordion-container { flex-direction: column; height: auto; gap: 16px; }
  /* .expanded must be neutralised too, or its flex:4 collapses to height 0 in the column */
  .accordion-item, .accordion-item.expanded { flex: none; height: 190px; border-radius: 20px; }
  .agents-accordion-section .accordion-item { box-shadow: none; border: none; }
  .accordion-item .acc-bg { opacity: 1; }
  .acc-bg img { width: 100%; object-position: center 26%; }
  .acc-tag { display: none; }
  .acc-content { opacity: 1; transform: none; padding: 22px 24px; }
  .acc-name { font-size: 26px; margin-bottom: 10px; }
  .acc-go { opacity: 1; transform: none; top: 16px; right: 16px; width: 40px; height: 40px; }

  /* features: single column — the stage on top, tapping a title switches the glyph */
  .ecosystem-section { padding: 100px 0 76px; }
  .eco-panel { padding: 34px 22px; border-radius: 26px; }
  .eco-grid { grid-template-columns: 1fr; gap: 36px; }
  .eco-right { order: -1; }
  .eco-right::before { display: none; }
  .eco-stage { padding: 8px; margin: 0 auto; }
  .dot-matrix-container { width: 260px; height: 260px; gap: 2px; }
  .eco-item { gap: 14px; padding: 9px 12px; }
  .eco-item h3 { font-size: 18px; }

  .int-diagram { flex-direction: column; gap: 10px; min-height: 0; padding: 6px 5vw; }
  .int-canvas { display: none; }
  .int-center { display: none; }
  /* channels laid out 2-across (each group is a 2×2 grid), no trailing chevron */
  .int-col { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 10px; align-items: stretch; }
  .int-node {
    width: 100%; height: auto; padding: 14px 12px; gap: 10px; border-radius: 14px;
    background: linear-gradient(150deg, rgba(30,30,42,0.92), rgba(12,12,18,0.92));
  }
  .int-node::after { display: none; }
  .int-ico svg { width: 24px; height: 24px; }
  .int-name { font-size: 14.5px; }

  .video-cinematic { padding: 56px 0 68px; }
  .integrations-section { padding: 72px 0; }
  .security-banner-section { padding: 48px 0 68px; }
  .ambient-frame { border-radius: 20px; min-height: 0; }
  .reel-mute { bottom: 18px; right: 18px; }

  .testimonials-section { padding: 84px 0 80px; }
  .t-slides { min-height: 320px; }
  .t-quotemark { font-size: 110px; }

  /* Latest Updates: horizontal swipe carousel with snap */
  .blog-grid {
    display: flex; grid-template-columns: none; gap: 14px; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 4px 5vw 10px; scrollbar-width: none;
  }
  .blog-grid::-webkit-scrollbar { display: none; }
  .blog-card { flex: 0 0 84%; scroll-snap-align: center; }

  .contact-form { flex-direction: column; }

  .footer-main { grid-template-columns: 1fr; gap: 52px; padding-bottom: 60px; }
  .footer-intro { max-width: none; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 38px 28px; }
  .footer-bottom { flex-direction: column; gap: 18px; text-align: center; }
}

@media (max-width: 560px) {
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .sec-points span { font-size: 12px; padding: 8px 16px; }
  .accordion-container { gap: 12px; }
  .accordion-item, .accordion-item.expanded { height: 172px; }
}
