/* ============================================================
   DESIGN SYSTEM — CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg: #050505;
  --bg-raised: #0d0d0d;
  --ink: #F5F5F3;
  --ink-muted: #9A9A96;
  --ink-faint: #5C5C58;
  --rule: #1F1F1E;
  --accent: #4DE0A0;
  --accent-dim: #234A38;

  --font-display: "Neue Haas Grotesk Display", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(24px, 5vw, 96px);
  --max-w: 1400px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 clamp(16px, 2vw, 32px);
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 2rem;
}

.headline-xl {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 6.5rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.headline-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.headline-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.body-lead {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 62ch;
}

.rule-h {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background-color: rgba(5, 5, 5, 0.88);
  border-bottom-color: var(--rule);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
}

.nav-wordmark span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  color: var(--accent);
}

.nav-cta .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.nav-cta:hover .arrow {
  transform: translateX(3px);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Focus states */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
}

/* Split layout: text left (~55%), canvas right (~45%) */
.hero-layout {
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  gap: 0;
  min-height: calc(100svh - 10rem);
  /* allow canvas to bleed beyond grid boundary */
  overflow: visible;
}

.hero-inner {
  padding-top: 4rem;
  position: relative;
  z-index: 2; /* text stays above canvas bleed */
}

/* Canvas wrapper — right column, overflows left into text area */
.hero-canvas-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  overflow: visible;
  z-index: 1;
}

#hero-canvas {
  display: block;
  /* Canvas is sized by JS to the wrapper dimensions,
     but the Three.js scene (sphere radius ~4.2 units at z=5.5)
     naturally bleeds beyond the canvas edges — we just need
     to ensure the canvas itself isn't clipped */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Make canvas larger than its column so the sphere bleeds left */
  width: 140% !important;
  height: 140% !important;
  pointer-events: none;
}

.hero-accent-line {
  width: 48px;
  height: 1px;
  background-color: var(--accent);
  margin-bottom: 2rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 6.5rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 14ch;
  margin-bottom: 2rem;
}

.hero-headline em {
  font-style: normal;
  font-weight: 200;
  color: var(--ink-muted);
}

.hero-sub {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--ink-muted);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: 3rem;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-faint);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 32px;
  height: 1px;
  background-color: var(--ink-faint);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% { left: -100%; }
  50% { left: 0%; }
  100% { left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-line::after {
    animation: none;
    left: 0;
    background-color: var(--ink-faint);
  }
}

/* ============================================================
   CREDIBILITY / STAT BAND
   ============================================================ */
.credibility {
  padding: clamp(80px, 12vw, 160px) 0;
}

.credibility-statement {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 52ch;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--rule);
}

.stat-item {
  padding: 2rem 0;
  padding-right: 1.5rem;
  border-right: 1px solid var(--rule);
}

.stat-item:last-child {
  border-right: none;
}

.stat-numeral {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  line-height: 1.4;
  text-transform: uppercase;
}

/* ============================================================
   POSITIONING / WHY DIFFERENT
   ============================================================ */
.positioning {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--rule);
}

.positioning-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.positioning-statement {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 3.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 2.5rem;
}

.positioning-body {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 58ch;
}

.vendor-list {
  margin-top: 2rem;
}

.vendor-list-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}

.vendor-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--ink-faint);
  position: relative;
}

.vendor-item .vendor-name {
  text-decoration: line-through;
  text-decoration-color: var(--ink-faint);
}

.vendor-item .vendor-scope {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin-left: auto;
}

.journey-flow {
  margin-top: 3rem;
}

.journey-flow-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.journey-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.journey-step {
  display: flex;
  align-items: center;
  gap: 0;
}

.journey-step-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--rule);
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.journey-step-label:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.journey-arrow {
  width: 20px;
  height: 1px;
  background-color: var(--rule);
  position: relative;
  flex-shrink: 0;
}

.journey-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  transform: rotate(45deg);
}

/* ============================================================
   CAPABILITIES
   ============================================================ */
.capabilities {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--rule);
}

.capabilities-header {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 6rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  align-items: end;
}

.capabilities-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.capabilities-note {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  align-self: end;
}

.capability-list {
  border-top: 1px solid var(--rule);
}

.capability-item {
  display: grid;
  grid-template-columns: 3rem 1fr 1fr;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.2s ease;
  cursor: default;
}

.capability-item:hover .capability-num {
  color: var(--accent);
}

.capability-item:hover .capability-name {
  color: var(--accent);
}

.capability-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  transition: color 0.2s ease;
}

.capability-name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s ease;
}

.capability-desc {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ============================================================
   APPROACH / FRAMEWORK
   ============================================================ */
.approach {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--rule);
}

.approach-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 52ch;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* Framework SVG diagram */
.framework-diagram {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  overflow-x: auto;
}

.framework-svg {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Continuum stepper */
.continuum {
  margin-top: clamp(2rem, 4vw, 4rem);
}

.continuum-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.5rem;
}

.continuum-steps {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.continuum-step {
  flex: 1;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--rule);
  position: relative;
}

.continuum-step:last-child {
  border-right: none;
}

.continuum-step-num {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
  display: block;
}

.continuum-step-name {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.continuum-step-desc {
  font-size: 0.72rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.continuum-step.is-active .continuum-step-name {
  color: var(--accent);
}

.continuum-step.is-active .continuum-step-num {
  color: var(--accent);
}

/* ============================================================
   SOLUTIONS / PLATFORMS
   ============================================================ */
.solutions {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--rule);
}

.solutions-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 48ch;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--rule);
}

.platform-item {
  padding: 2rem 1.5rem 2rem 0;
  border-right: 1px solid var(--rule);
  transition: background-color 0.2s ease;
}

.platform-item:last-child {
  border-right: none;
  padding-right: 0;
}

.platform-item:hover {
  background-color: rgba(77, 224, 160, 0.02);
}

.platform-top-rule {
  width: 24px;
  height: 2px;
  background-color: var(--accent);
  margin-bottom: 1.5rem;
}

.platform-name {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.platform-category {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.platform-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.platform-feature {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.45;
  padding-left: 0.75rem;
  position: relative;
}

.platform-feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 1px;
  background-color: var(--ink-faint);
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--rule);
}

.industries-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 44ch;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.industry-item {
  flex: 0 0 calc(100% / 5);
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s ease;
}

.industry-num {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
  display: block;
}

.industry-name {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}

.industry-item:hover .industry-name {
  color: var(--ink);
}

/* ============================================================
   RESULTS / OUTCOMES
   ============================================================ */
.results {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--rule);
}

.results-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 48ch;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.outcome-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--rule);
  margin-bottom: 3rem;
}

.outcome-item {
  padding: 2rem 1.5rem 2rem 0;
  border-right: 1px solid var(--rule);
}

.outcome-item:last-child {
  border-right: none;
}

.outcome-numeral {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  display: block;
}

.outcome-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  line-height: 1.4;
  text-transform: uppercase;
}

.results-note {
  font-size: 0.85rem;
  color: var(--ink-faint);
  line-height: 1.6;
  max-width: 72ch;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

/* ============================================================
   GLOBAL PRESENCE
   ============================================================ */
.presence {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--rule);
}

.presence-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.presence-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 2rem;
}

.presence-body {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 44ch;
}

.office-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.office-region {
  padding: 1.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.office-region-name {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.75rem;
}

.office-cities {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.office-city {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 400;
}

.office-city.hq::after {
  content: ' HQ';
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  vertical-align: super;
  margin-left: 0.25rem;
}

.reach-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
  line-height: 1.6;
}

/* ============================================================
   TRUSTED BY / LOGO MARQUEE
   ============================================================ */
.trusted {
  padding: clamp(60px, 8vw, 100px) 0;
  border-top: 1px solid var(--rule);
  overflow: hidden;
}

.trusted-header {
  margin-bottom: 2.5rem;
}

.marquee-track {
  display: flex;
  gap: 0;
  overflow: hidden;
  position: relative;
}

.marquee-track::before,
.marquee-track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-track::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-track::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.marquee-inner {
  display: flex;
  gap: 0;
  animation: marquee-scroll 30s linear infinite;
  white-space: nowrap;
}

.marquee-inner:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-inner {
    animation: none;
    flex-wrap: wrap;
    white-space: normal;
  }
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 2.5rem;
  border-right: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  transition: color 0.2s ease;
  cursor: default;
  white-space: nowrap;
}

.logo-mark:hover {
  color: var(--ink-muted);
}

/* ============================================================
   CLOSING CTA
   ============================================================ */
.closing-cta {
  padding: clamp(100px, 14vw, 180px) 0;
  border-top: 1px solid var(--rule);
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 16ch;
  margin-bottom: 2.5rem;
}

.closing-headline em {
  font-style: normal;
  color: var(--ink-muted);
  font-weight: 200;
}

.closing-actions {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-link {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  transition: color 0.2s ease;
}

.cta-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.25s ease;
}

.cta-link:hover {
  color: var(--ink);
}

.cta-link:hover::after {
  width: 100%;
}

.cta-link .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.cta-link:hover .arrow {
  transform: translateX(3px);
}

.contact-email {
  font-size: 0.9rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.contact-email:hover {
  color: var(--ink-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.footer-wordmark span {
  color: var(--accent);
}

.footer-descriptor {
  font-size: 0.75rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.footer-nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap;
  align-items: center;
}

.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--ink-muted);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--ink-muted);
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* ============================================================
   SECTION IMAGE BREAKS
   Full-bleed editorial photos between content sections.
   Desaturated + dimmed to stay on the dark canvas.
   Caption overlay in bottom-left corner.
   ============================================================ */
.section-image-block {
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  height: clamp(280px, 45vh, 540px);
  overflow: hidden;
  /* Accent top border — thin, like Accenture/Capgemini image blocks */
  border-top: 1px solid var(--accent);
}

.section-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* Desaturate + dim to sit on the dark canvas without jarring color */
  filter: brightness(0.52) saturate(0.55);
  transition: filter 0.6s ease;
}

.section-image-block:hover .section-img {
  filter: brightness(0.62) saturate(0.70);
}

/* Caption overlay — bottom-left, like consulting firm image captions */
.section-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(1rem, 2vw, 1.5rem) var(--gutter);
  /* Gradient scrim so text reads over the image */
  background: linear-gradient(to top, rgba(5,5,5,0.75) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
}

.section-img-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
}

/* Reveal: image blocks use the same .reveal class but start slightly
   lower and scale up very subtly for a cinematic feel */
.section-image-block.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.section-image-block.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .section-image-block.reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE — HERO CANVAS
   ============================================================ */
@media (max-width: 900px) {
  /* Stack hero vertically on tablet/mobile — canvas below text */
  .hero-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: unset;
  }

  .hero-canvas-wrap {
    min-height: 320px;
    height: 320px;
  }
}

@media (max-width: 600px) {
  .hero-canvas-wrap {
    min-height: 240px;
    height: 240px;
  }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .stat-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-item:nth-child(3) {
    border-right: none;
  }

  .stat-item:nth-child(4),
  .stat-item:nth-child(5),
  .stat-item:nth-child(6) {
    border-top: 1px solid var(--rule);
  }

  .outcome-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .outcome-item:nth-child(3) {
    border-right: none;
  }

  .outcome-item:nth-child(4),
  .outcome-item:nth-child(5),
  .outcome-item:nth-child(6) {
    border-top: 1px solid var(--rule);
  }

  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .platform-item:nth-child(3) {
    border-right: none;
  }

  .platform-item:nth-child(4),
  .platform-item:nth-child(5) {
    border-top: 1px solid var(--rule);
    padding-top: 2rem;
  }

  .platform-item:nth-child(5) {
    border-right: none;
  }

  .industry-item {
    flex: 0 0 calc(100% / 3);
  }

  .capability-item {
    grid-template-columns: 2.5rem 1fr;
  }

  .capability-desc {
    grid-column: 2;
    margin-top: -0.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .continuum-steps {
    flex-direction: column;
  }

  .continuum-step {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .continuum-step:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .positioning-grid {
    grid-template-columns: 1fr;
  }

  .capabilities-header {
    grid-template-columns: 1fr;
  }

  .presence-grid {
    grid-template-columns: 1fr;
  }

  .office-list {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4),
  .stat-item:nth-child(5),
  .stat-item:nth-child(6) {
    border-top: 1px solid var(--rule);
  }

  .stat-item:nth-child(4),
  .stat-item:nth-child(6) {
    border-right: none;
  }

  .outcome-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcome-item:nth-child(2) {
    border-right: none;
  }

  .outcome-item:nth-child(3),
  .outcome-item:nth-child(4),
  .outcome-item:nth-child(5),
  .outcome-item:nth-child(6) {
    border-top: 1px solid var(--rule);
  }

  .outcome-item:nth-child(4),
  .outcome-item:nth-child(6) {
    border-right: none;
  }

  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .platform-item:nth-child(2) {
    border-right: none;
  }

  .platform-item:nth-child(3),
  .platform-item:nth-child(4),
  .platform-item:nth-child(5) {
    border-top: 1px solid var(--rule);
    padding-top: 2rem;
  }

  .platform-item:nth-child(4) {
    border-right: none;
  }

  .platform-item:nth-child(5) {
    border-right: none;
    grid-column: 1 / -1;
  }

  .industry-item {
    flex: 0 0 50%;
  }

  .capability-item {
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
  }

  .capability-desc {
    grid-column: 1 / -1;
    padding-left: 3rem;
  }

  .journey-steps {
    flex-direction: column;
    align-items: flex-start;
  }

  .journey-arrow {
    width: 1px;
    height: 16px;
    margin-left: 1.5rem;
  }

  .journey-arrow::after {
    right: auto;
    bottom: 0;
    top: auto;
    left: -3px;
    border-right: none;
    border-top: none;
    border-left: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    transform: rotate(-45deg);
  }

  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-right {
    align-items: flex-start;
  }

  .closing-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .industry-item {
    flex: 0 0 100%;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-item {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding-right: 0;
    padding-bottom: 2rem;
  }

  .platform-item:nth-child(n) {
    border-top: none;
  }

  .platform-item:first-child {
    padding-top: 0;
  }
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.is-open {
  display: flex;
  opacity: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.mobile-nav-links a:hover {
  color: var(--ink);
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: var(--gutter);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-muted);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.mobile-nav-close:hover {
  color: var(--ink);
}
