/* ===== AG Consulting — base ===== */

:root {
  --ink: #212226;
  --ink-soft: #4b4d52;
  --gray: #6d6e71;
  --gray-line: #e4e6ea;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --blue: #3fb6e8;
  --blue-dark: #1c6ea4;
  --blue-deeper: #124a70;
  --void: #0a0d12;
  --void-line: rgba(255, 255, 255, 0.14);
  --navy: #0c1c2c;

  /* Rebrand palette — dark, gradient accent */
  --dark-bg: #090c16;
  --dark-bg-soft: #0f1424;
  --dark-line: rgba(255, 255, 255, 0.12);
  --dark-text-soft: rgba(255, 255, 255, 0.62);
  --grad-purple: #7c4dff;
  --grad-pink: #e0459e;
  --grad-orange: #f7a23f;
  --accent-cyan: #22d3ee;
  --accent-purple: #a78bfa;
  --accent-orange: #fb923c;
  --accent-teal: #2dd4bf;
  --accent-pink: #f472b6;
  --grad-text: linear-gradient(90deg, var(--grad-purple), var(--grad-pink), var(--grad-orange));

  --max: 1180px;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(18, 30, 44, 0.08);
  --shadow-sm: 0 2px 10px rgba(18, 30, 44, 0.06);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0 0 0.9em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ===== Scroll reveal ===== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.07s; }
.reveal-delay-2 { transition-delay: 0.14s; }
.reveal-delay-3 { transition-delay: 0.21s; }
.reveal-delay-4 { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none !important; }
  .wave-1, .wave-2, .wave-3 { animation: none !important; }
}

/* ===== Custom cursor ===== */

.has-custom-cursor, .has-custom-cursor a, .has-custom-cursor button { cursor: none; }
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  background: var(--blue-dark);
}
.cursor-ring {
  width: 34px;
  height: 34px;
  margin-left: -17px;
  margin-top: -17px;
  border: 1.5px solid rgba(28, 110, 164, 0.35);
  transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.cursor-hover .cursor-ring {
  width: 58px;
  height: 58px;
  margin-left: -29px;
  margin-top: -29px;
  background: rgba(63, 182, 232, 0.12);
  border-color: var(--blue-dark);
}
@media (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
  .has-custom-cursor, .has-custom-cursor a, .has-custom-cursor button { cursor: auto; }
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(28, 110, 164, 0.28);
}
.btn-primary:hover { background: var(--blue-deeper); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--gray-line);
}
.btn-ghost:hover { border-color: var(--blue-dark); color: var(--blue-dark); }

.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-grad {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  border: 1.5px solid transparent;
  background-image: linear-gradient(var(--dark-bg), var(--dark-bg)), linear-gradient(90deg, var(--grad-purple), var(--grad-pink));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: transform 0.2s ease;
}
.btn-grad:hover { transform: translateY(-1px); }
.btn-grad-arrow { color: var(--grad-pink); }

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(120deg, #0a1830, var(--dark-bg) 65%);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--dark-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.site-header .brand-logo { height: 39px; width: auto; }
.site-footer .brand-logo { height: 30px; width: auto; }

.site-nav {
  display: flex;
  gap: 32px;
}
.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 4px 0;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--accent-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.site-nav a.active { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.lang-switch {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-opacity='.6' stroke-width='1.6'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 8px center / 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 26px 7px 10px;
  cursor: pointer;
}
.lang-switch:hover { border-color: rgba(255, 255, 255, 0.35); }
.lang-switch option { color: #06101f; }
@media (max-width: 1024px) {
  .lang-switch { font-size: 0.72rem; padding: 6px 22px 6px 8px; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ===== Hero (home) — dark, gradient beam ===== */

.hero-dark {
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  color: #fff;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero-dark-copy-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px));
  padding-right: 40px;
  padding-top: 90px;
  padding-bottom: 90px;
}
.hero-dark-copy { max-width: 680px; }

.hero-dark-copy .eyebrow { color: var(--accent-cyan); }

.hero-dark-copy h1 {
  color: #fff;
  font-size: clamp(2.1rem, 3.2vw, 2.75rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.hero-dark-copy h1 .grad-text {
  background-image: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-dark-sub {
  font-size: 1rem;
  max-width: 420px;
  color: var(--dark-text-soft);
  margin-top: 20px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent-cyan);
  padding-bottom: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.link-arrow:hover { gap: 12px; color: var(--accent-cyan); }

.link-arrow-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1.5px solid var(--blue-dark);
  padding-bottom: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.link-arrow-light:hover { gap: 12px; color: var(--blue-dark); }

.hero-dark-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-dark-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-dark-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 12, 22, 0.92) 0%, rgba(9, 12, 22, 0.72) 32%, rgba(9, 12, 22, 0.3) 55%, rgba(9, 12, 22, 0.05) 72%);
}

.scroll-cue {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2 + 24px));
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.scroll-cue .arrow { animation: scrollBounce 1.8s ease-in-out infinite; color: var(--accent-cyan); font-size: 1rem; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== Stats band ===== */

.stats-band { background: var(--dark-bg); border-top: 1px solid var(--dark-line); }
.stats-band-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 0;
}
.stats-band-item {
  flex: 1 1 0;
  min-width: 150px;
  padding: 0 32px;
}
.stats-band-item:first-child { padding-left: 0; }
.stats-band-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.stats-band-icon svg { width: 20px; height: 20px; }
.stats-band-item:nth-child(1) .stats-band-icon { color: var(--accent-cyan); }
.stats-band-item:nth-child(2) .stats-band-icon { color: var(--accent-purple); }
.stats-band-item:nth-child(3) .stats-band-icon { color: var(--accent-orange); }
.stats-band-item:nth-child(4) .stats-band-icon { color: var(--accent-teal); }
.stats-band-item .num {
  display: block;
  font-size: 2.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stats-band-item .label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
}

/* ===== Our Approach — orbital diagram ===== */

.approach-orbital { padding: 100px 0; background: #f6f7f9; }
.approach-orbital-grid {
  display: grid;
  grid-template-columns: 0.85fr 300px 1fr;
  gap: 48px;
  align-items: center;
}
.approach-orbital-copy h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.approach-orbital-copy p { max-width: 40ch; }

.orbital-img { width: 100%; max-width: 250px; margin: 0 auto; }
.orbital-img img { width: 100%; height: auto; display: block; }

.orbital-list { display: flex; flex-direction: column; gap: 26px; }
.orbital-list-item { display: flex; align-items: flex-start; gap: 14px; }
.orbital-list-icon { width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto; }
.orbital-list-item h3 { font-size: 1rem; margin-bottom: 4px; }
.orbital-list-item p { font-size: 0.88rem; margin-bottom: 0; }
/* nudge items outward along a curve matching the circle's icons: widest in the middle, flush top/bottom */
.orbital-list-item:nth-child(2), .orbital-list-item:nth-child(3) { margin-left: 40px; }

/* ===== Industries — dark colorful row ===== */

.industries-dark {
  position: relative;
  color: #fff;
  padding: 90px 0;
  background-image: linear-gradient(rgba(9, 12, 22, 0.82), rgba(9, 12, 22, 0.92)), url(/assets/img/bg/industries-bg.jpg);
  background-size: cover;
  background-position: center;
}
.industries-dark-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}
.industries-dark-copy .eyebrow { color: var(--accent-cyan); }
.industries-dark-copy h2 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2rem); }

.industry-icons-row { display: flex; flex-wrap: wrap; gap: 30px 20px; }
.industry-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 108px;
  text-align: center;
}
.industry-icon-item .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
}
.industry-icon-item .icon svg { width: 22px; height: 22px; }
.industry-icon-item span:last-child {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.3;
}
.industry-icon-item:nth-child(6n+1) .icon { color: var(--accent-cyan); }
.industry-icon-item:nth-child(6n+2) .icon { color: var(--accent-purple); }
.industry-icon-item:nth-child(6n+3) .icon { color: var(--accent-orange); }
.industry-icon-item:nth-child(6n+4) .icon { color: var(--accent-pink); }
.industry-icon-item:nth-child(6n+5) .icon { color: var(--accent-teal); }
.industry-icon-item:nth-child(6n+6) .icon { color: var(--accent-purple); }

/* ===== Page hero (secondary pages) ===== */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 64px;
  background: var(--navy);
  color: #fff;
}
.page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(12, 28, 44, 0.75), rgba(28, 110, 164, 0.55));
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--blue); }
.page-hero h1 { color: #fff; max-width: 720px; margin-bottom: 0.4em; }
.page-hero p { color: rgba(255, 255, 255, 0.82); max-width: 640px; font-size: 1.08rem; margin-bottom: 0; }

/* ===== Logo strip / marquee ===== */

.logo-strip { padding: 40px 0 44px; border-bottom: 1px solid var(--gray-line); }
.logo-strip-label {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-bottom: 28px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 52px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: opacity 0.15s ease, filter 0.15s ease;
}
.marquee-track img:hover { filter: grayscale(0%); opacity: 1; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Big static logo grid — used on the Work page */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 128px;
  padding: 24px;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.logo-tile img {
  max-height: 68px;
  max-width: 82%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: opacity 0.15s ease, filter 0.15s ease, transform 0.15s ease;
}
.logo-tile:hover img { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }

/* ===== Services ===== */

.services { padding: 108px 0; }
.services h2 { max-width: 640px; }
.services-lede { max-width: 760px; font-size: 1.05rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.services-grid-3 { grid-template-columns: repeat(3, 1fr); }

.service-card {
  position: relative;
  overflow: hidden;
  padding: 34px 26px 30px;
  border: 1px solid var(--gray-line);
  border-radius: 20px;
  background: var(--bg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(140px 140px at 22% -10%, rgba(63, 182, 232, 0.16), transparent 72%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(18, 30, 44, 0.12);
  border-color: rgba(63, 182, 232, 0.45);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon { color: var(--blue-dark); transform: scale(1.06); }

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(28, 110, 164, 0.08);
  color: var(--blue-dark);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(63, 182, 232, 0.16), rgba(28, 110, 164, 0.06));
  color: var(--blue-dark);
  margin-bottom: 22px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3,
.service-card p { position: relative; z-index: 1; }
.service-card p:last-child { margin-bottom: 0; }

.services-more { margin-top: 40px; }

/* Numbered icon cards — homepage services grid (mockup-matched) */

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.service-card-v2 {
  padding: 28px 24px 26px;
  border: 1px solid var(--gray-line);
  border-radius: 14px;
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card-v2:hover {
  border-color: rgba(63, 182, 232, 0.5);
  box-shadow: 0 14px 34px rgba(18, 30, 44, 0.09);
  transform: translateY(-3px);
}
.service-card-v2-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.service-card-v2-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(28, 110, 164, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  flex: none;
}
.service-card-v2-icon svg { width: 22px; height: 22px; }
.service-card-v2-num { font-size: 0.78rem; font-weight: 700; color: var(--gray); font-variant-numeric: tabular-nums; }
.service-card-v2 h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card-v2 p { font-size: 0.9rem; margin-bottom: 14px; }
.service-card-v2-arrow { color: var(--blue-dark); font-weight: 700; font-size: 0.88rem; text-decoration: none; }
.service-card-v2-arrow:hover { text-decoration: underline; }

/* Numbered editorial services list — homepage hero-adjacent section only */

.services-list { margin-top: 48px; border-top: 1px solid var(--gray-line); }
.services-list-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 34px 4px;
  border-bottom: 1px solid var(--gray-line);
  align-items: start;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.services-list-item:hover { background: var(--bg-soft); padding-left: 10px; }
.services-list-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-dark);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.services-list-item h3 { margin-bottom: 8px; font-size: 1.3rem; }
.services-list-item p { margin-bottom: 0; max-width: 640px; }

/* ===== Statement / philosophy banner ===== */

.statement {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
}
.statement::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -100px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(63, 182, 232, 0.18), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}
.statement-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 340px;
  gap: 56px;
  align-items: center;
}
.statement blockquote {
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.statement blockquote .accent { color: var(--blue-dark); }
.statement-note {
  margin: 20px 0 0;
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.statement-graphic { width: 100%; height: auto; color: var(--blue-dark); }
.statement-graphic .fade { color: var(--gray); }

/* Small pill tag row — reused for "typical outcomes" style lists */

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-row span {
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--bg-soft);
  border: 1px solid var(--gray-line);
  color: var(--ink-soft);
  padding: 4px 11px;
  border-radius: 999px;
}
.service-detail-item .tag-row span { background: var(--bg); }

/* Detailed service rows — Services page */

.service-detail-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
}
.service-detail-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-top: 1px solid var(--gray-line);
}
.service-detail-item:first-child { border-top: none; }

.service-detail-icon {
  width: 56px;
  height: 56px;
  padding: 13px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(63, 182, 232, 0.16), rgba(28, 110, 164, 0.06));
  color: var(--blue-dark);
}
.service-detail-icon svg { width: 100%; height: 100%; }

.service-detail-item h3 { font-size: 1.5rem; margin-top: 14px; }

.service-detail-list-items {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
}
.service-detail-list-items li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}
.service-detail-list-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

/* ===== FAQ ===== */

.faq-list { margin-top: 8px; border-top: 1px solid var(--gray-line); }
.faq-item { border-bottom: 1px solid var(--gray-line); padding: 22px 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue-dark);
  transition: transform 0.2s ease;
  flex: none;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; font-size: 0.95rem; max-width: 70ch; }

/* Technology platform chip list */

.platform-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.platform-list span {
  padding: 10px 20px;
  border: 1px solid var(--gray-line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: var(--bg-soft);
}

.industry-examples { display: block; font-size: 0.82rem; color: var(--gray); margin-top: 10px; }

/* ===== Approach ===== */

.approach { padding: 100px 0; border-top: 1px solid var(--gray-line); }
.approach h2 { max-width: 640px; }

.approach-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 68px;
}
.approach-grid::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gray-line) 0%, var(--blue) 50%, var(--gray-line) 100%);
  z-index: 0;
}

.approach-step { position: relative; padding-top: 0; }
.approach-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--blue-dark);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.approach-step:hover .approach-num { background: var(--blue-dark); color: #fff; }
.approach-step p { font-size: 0.95rem; margin-bottom: 0; }

/* ===== Work ===== */

.work { padding: 100px 0; }
.work h2 { max-width: 640px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.work-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--void);
  aspect-ratio: 3 / 4;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.work-card:hover { box-shadow: 0 20px 44px rgba(18, 30, 44, 0.22); transform: translateY(-5px); }

.work-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg-soft);
}
.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-card:hover .work-photo img { transform: scale(1.08); }

.work-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 24px 24px;
  background: linear-gradient(0deg, rgba(8, 13, 20, 0.94) 0%, rgba(8, 13, 20, 0.72) 45%, rgba(8, 13, 20, 0) 100%);
}
.work-body h3 { color: #fff; }

.work-client {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.work-card p:last-child {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.work-card:hover p:last-child { max-height: 140px; opacity: 1; margin-top: 8px; }

.more-projects {
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid var(--gray-line);
}
.more-projects h2 { max-width: 640px; }
.more-projects-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 40px;
}
.more-projects-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-line);
  font-size: 0.95rem;
}
.more-projects-list li strong { color: var(--ink); font-weight: 600; }
.more-projects-list li span { color: var(--gray); text-align: right; }

/* ===== Team ===== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  overflow: hidden;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.team-photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-soft); }
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}
.team-card:hover .team-photo img { transform: scale(1.05); }

.team-body { padding: 20px 20px 22px; }
.team-name { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 1px; }
.team-title { font-size: 0.85rem; color: var(--blue-dark); font-weight: 600; margin-bottom: 10px; }
.team-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-bottom: 8px;
}
.team-bio { font-size: 0.88rem; margin-bottom: 14px; }
.team-projects { display: flex; flex-wrap: wrap; gap: 6px; }
.team-projects span {
  font-size: 0.72rem;
  background: var(--bg-soft);
  border: 1px solid var(--gray-line);
  color: var(--gray);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ===== Generic 3-up info card grid (values, etc.) ===== */

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.info-card {
  background: var(--bg-soft);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card h3 { margin-bottom: 0.4em; }
.info-card p:last-child { margin-bottom: 0; }

/* ===== About ===== */

.about { padding: 100px 0; }

.about-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-copy { max-width: 620px; }

.section-gap-top { margin-top: 64px; }

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.stat-strip li {
  min-width: 150px;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--gray-line);
  background: var(--bg-soft);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.stat-strip li:hover { border-color: rgba(63, 182, 232, 0.5); transform: translateY(-2px); }
.stat-strip .num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-strip .label { display: block; font-size: 0.8rem; color: var(--gray); margin-top: 2px; }

.team-teaser-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 32px 0 20px;
  align-items: flex-start;
}
.team-teaser-row a { text-decoration: none; text-align: center; width: 96px; }
.team-teaser-row .avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 10px;
  border: 2px solid var(--gray-line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.team-teaser-row .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-teaser-row a:hover .avatar { border-color: var(--blue-dark); transform: translateY(-3px); }
.team-teaser-row .avatar-name { display: block; min-height: 2.2em; }
.team-teaser-row .avatar-name { font-size: 0.8rem; font-weight: 600; color: var(--ink); line-height: 1.25; }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.locations-grid-spaced { margin-top: 32px; }
.locations-grid-wide { grid-template-columns: repeat(4, 1fr); }

.location-card {
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.location-card:hover { border-color: var(--blue-dark); transform: translateY(-3px); }
.location-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  font-weight: 700;
}
.location-name { font-size: 1.05rem; font-weight: 700; color: var(--ink); }

/* ===== Contact ===== */

.contact { padding: 100px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}

.contact-email-card {
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 36px;
  background: var(--bg-soft);
}
.contact-email-card h3 { margin-bottom: 0.3em; }
.contact-email-card .btn { margin-top: 18px; }

.contact-expect {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-expect li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  align-items: flex-start;
}
.contact-expect .step-num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== CTA ===== */

.cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: linear-gradient(160deg, var(--blue-deeper), var(--blue-dark));
  color: #fff;
  text-align: center;
}
.cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(18, 74, 112, 0.88), rgba(28, 110, 164, 0.78));
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.02em; }
.cta p { color: rgba(255, 255, 255, 0.82); font-size: 1.05rem; }
.cta .btn-primary {
  background: #fff;
  color: var(--blue-deeper);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  font-weight: 700;
  margin-top: 12px;
}
.cta .btn-primary:hover { background: #f0f6fa; transform: translateY(-1px); }


/* ===== Responsive ===== */

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 56px; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .hero-dark { min-height: 0; }
  .hero-dark-copy-wrap { padding: 64px 24px 48px; }
  .hero-dark-bg::after { background: rgba(9, 12, 22, 0.8); }
  .scroll-cue { display: none; }
  .stats-band-grid { padding-top: 32px; padding-bottom: 32px; }
  .stats-band-item { flex: 1 1 42%; padding: 0 16px 24px; }
  .approach-orbital { padding: 56px 0; }
  .approach-orbital-grid { grid-template-columns: 1fr; gap: 40px; }
  .orbital-img { margin: 0 auto; }
  .orbital-list-item:nth-child(2), .orbital-list-item:nth-child(3) { margin-left: 0; }
  .trusted-by { padding: 40px 0; }
  .industries-dark { padding: 48px 0; }
  .industries-dark-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .statement-inner { grid-template-columns: 1fr; }
  .statement-graphic { max-width: 320px; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid-2 { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(4, 1fr); max-width: 640px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .service-detail-item { grid-template-columns: 180px 1fr; gap: 28px; }
  .more-projects-list { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    border-bottom: 1px solid var(--dark-line);
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: var(--shadow-sm);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 24px; border-top: 1px solid var(--dark-line); }
  .site-nav a::after { display: none; }
  .header-actions .btn-grad { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  .stats-band-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 24px; padding: 32px 24px; }
  .stats-band-item { padding: 0 0 20px; border-bottom: 1px solid var(--dark-line); }
  .stats-band-item:first-child { padding-left: 0; }
  .stats-band-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
  .industry-icons-row { gap: 24px 16px; }
  .industry-icon-item { width: 90px; }

  .hero-split { padding: 40px 0 44px; }
  .hero-stats { gap: 28px; padding: 24px 0; }
  .page-hero { padding: 56px 0 44px; }

  .services-grid { grid-template-columns: 1fr; }
  .statement { padding: 64px 0; }
  .statement-graphic { display: none; }

  .approach-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
  .approach-grid::before { display: none; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .locations-grid-wide { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
  .logo-tile { height: 104px; padding: 16px; }
  .logo-tile img { max-height: 52px; }

  .service-detail-item { grid-template-columns: 1fr; gap: 16px; }
  .service-detail-list-items { grid-template-columns: 1fr; }

  .marquee-track { gap: 48px; }
  .marquee-track img { height: 40px; }
}

/* ===== New simple footer (matches new page set) ===== */
footer{height:85px;border-top:1px solid #1d2e42;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;padding:0 4%;font-size:10px;color:#7d8a9a;background:var(--dark-bg)}
footer>span:last-child{text-align:right}
.brand{color:#fff;text-decoration:none;display:flex;align-items:center;gap:12px}
.brand strong{font-size:38px;letter-spacing:-4px;font-weight:500}
.brand span{font-size:10px;letter-spacing:3px}
@media(max-width:760px){
  footer{grid-template-columns:1fr;gap:10px;height:auto;padding:28px 5%}
  footer>span:last-child{text-align:left}
}

/* ===== Trusted-by logo marquee (home page) ===== */
.trusted-by { padding: 56px 0; background: var(--dark-bg); color: #fff; }
.trusted-by .eyebrow { color: var(--accent-cyan); }
.trusted-by-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 20px;
}
.trusted-by-head > span { font-size: 0.8rem; color: var(--dark-text-soft); }
.logo-marquee {
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: #061220;
  overflow: hidden;
  position: relative;
  height: 108px;
  display: flex;
  align-items: center;
}
.logo-marquee:before, .logo-marquee:after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 3;
  pointer-events: none;
}
.logo-marquee:before { left: 0; background: linear-gradient(90deg, #061220, transparent); }
.logo-marquee:after { right: 0; background: linear-gradient(-90deg, #061220, transparent); }
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logoScroll 32s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.client-logo { width: 190px; height: 88px; display: flex; align-items: center; justify-content: center; padding: 12px 22px; flex: 0 0 auto; }
.client-logo img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.client-logo.ms-logo { gap: 10px; }
.client-logo.ms-logo img { width: 32px; height: 32px; max-width: 32px; max-height: 32px; min-width: 32px; flex: 0 0 32px; object-fit: contain; }
.client-logo.ms-logo span { color: #fff; font-size: 19px; font-weight: 600; letter-spacing: -0.2px; white-space: nowrap; flex: 0 0 auto; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .trusted-by-head { display: block; }
  .trusted-by-head > span { display: block; margin-top: 8px; }
  .client-logo { width: 150px; }
}
