
/* ════════════════════════════════════════════════════
   SERVICES V2.0
   Neural SVG hero · glassmorphism · glow · motion
   ════════════════════════════════════════════════════ */
:root {
  --bg:            #F6F1E7;
  --bg-soft:       #EFE8D8;
  --bg-card:       #FFFFFF;
  --ink:           #141414;
  --ink-soft:      #3A3A3A;
  --ink-muted:     #7A756C;
  --line:          #D9CFB8;
  --accent:        #FF5B3A;
  --accent-2:      #0E5C57;
  --accent-3:      #F2C94C;
  --accent-soft:   #FFE8E0;
  --font-serif:    'Lato', sans-serif;
  --font-sans:     'Lato', sans-serif;
  --font-mono:     'Lato', sans-serif;
  --page-max:      1480px;
  --side-pad:      60px;
  --radius:        14px;
  --radius-lg:     22px;
}
@media (max-width: 900px) { :root { --side-pad: 24px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

/* ═══ CURSOR ═══ */
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 10px; height: 10px;
  pointer-events: none; z-index: 9999;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,.92),
    0 0 14px rgba(255,91,58,.55),
    0 0 32px rgba(255,91,58,.28);
  transition: width .22s cubic-bezier(.2,.7,.2,1),
              height .22s cubic-bezier(.2,.7,.2,1),
              background-color .22s ease,
              box-shadow .22s ease;
  will-change: transform;
}
.cursor-dot.hover-link {
  width: 30px; height: 30px;
  background: transparent;
  box-shadow: 0 0 0 1.5px var(--accent), 0 0 18px rgba(255,91,58,.35);
}
#trail-canvas {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none; z-index: 9998;
}
@media (hover: none) { .cursor-dot, #trail-canvas { display: none; } }
a { color: inherit; text-decoration: none; }

/* ═══ NAV ═══ */
.top-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 241, 231, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 20px var(--side-pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px;
}
.nav-brand {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 14px;
  line-height: 1; flex-shrink: 0;
}
.nav-brand .brand-mark {
  width: 56px; height: 40px; flex: 0 0 72px;
  display: inline-block;
  /* background-image: url("sf-bm-logo-icon.png"); */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.nav-brand .brand-text {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  white-space: nowrap;
}
.nav-brand .brand-text > span:first-child {
  font-size: 22px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--ink);
}
.nav-brand .amp { color: var(--accent); font-style: normal; margin: 0 2px; }
.nav-brand .brand-text small {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px; letter-spacing: 2.8px;
  text-transform: uppercase; color: var(--ink-muted); font-weight: 500;
}
.nav-links {
  display: flex; gap: 32px; list-style: none; align-items: center;
}
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.3px;
  color: var(--ink-soft); position: relative; padding: 6px 0;
  transition: color .25s ease;
}
.nav-links a::after {
  content: ""; position: absolute;
  left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--accent); transition: width .3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--ink);
  border-radius: 999px; transition: background .3s ease, color .3s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px;
  background: var(--ink); position: relative;
  transition: background .3s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 100%; height: 1.5px; background: var(--ink);
  transition: transform .3s ease, top .3s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: flex !important;
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(246,241,231,0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    max-height: calc(100svh - 68px);
    overflow-y: auto;
    transform: translateY(-110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    align-items: stretch;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block; font-size: 17px;
    font-family: var(--font-serif); font-weight: 400;
    padding: 16px 4px;
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--accent); }
  .nav-brand .brand-text small { display: none; }
}
@media (max-width: 1100px) { .nav-cta { display: none; } }

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  position: relative;
  z-index: 1;
}

/* ═══ HERO — TWO COLUMN ═══ */
.hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 520px;
  position: relative;
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 60px 0 40px; }
}
.hero-topbar {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--ink-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.hero-topbar .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  animation: dotPulse 2.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,91,58,0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(255,91,58,0); }
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.8px;
  max-width: 16ch;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic; font-weight: 300; color: var(--accent);
}
.hero-lead {
  font-size: 17px; line-height: 1.7;
  color: var(--ink-soft);
  max-width: 50ch;
  margin-bottom: 32px;
}
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
}
.hero-stat {
  display: flex; flex-direction: column;
}
.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 26px; font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero-stat .lbl {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* ═══ NEURAL ANIMATION (hero right) ═══ */
.hero-neural {
  position: relative;
  width: 100%;
  max-width: 620px;
  justify-self: end;
}
@media (max-width: 1000px) {
  .hero-neural { max-width: 500px; justify-self: center; order: -1; }
}
.hero-neural svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
/* Neural SVG styles */
.base-edge {
  stroke: rgba(255, 91, 58, 0.10);
  stroke-width: 1;
  stroke-linecap: round;
  fill: none;
  filter: url(#softGlow);
}
.selected-edge {
  stroke: rgba(255, 91, 58, 0.18);
  stroke-width: 1.15;
  stroke-linecap: round;
  fill: none;
  filter: url(#softGlow);
  opacity: 0;
  transition: none;
}
.selected-edge.ready { opacity: 1; }
.flow-tail {
  stroke: rgba(255, 91, 58, 0.95);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
  opacity: 0;
  filter: url(#flowGlow);
}
.spark {
  fill: var(--accent);
  opacity: 0;
  filter: url(#sparkGlow);
  r: 3.5;
}
.node-shell {
  fill: rgba(255, 91, 58, 0.04);
  stroke: rgba(255, 91, 58, 0.35);
  stroke-width: 1.2;
  filter: url(#nodeGlow);
  opacity: 0.45;
  transition: all 60ms ease-out;
}
.node-core {
  fill: rgba(255, 91, 58, 0.25);
  opacity: 0.18;
  filter: url(#sparkGlow);
  transition: all 60ms ease-out;
}
.node.source .node-shell {
  fill: rgba(255, 91, 58, 0.12);
  stroke: rgba(255, 91, 58, 0.75);
  opacity: 0.85;
}
.node.charging .node-shell {
  fill: rgba(255, 91, 58, 0.15);
  stroke: rgba(255, 91, 58, 0.85);
  stroke-width: 1.8;
  opacity: 0.92;
}
.node.fired .node-shell {
  fill: rgba(255, 91, 58, 0.22);
  stroke: rgba(255, 91, 58, 0.95);
  stroke-width: 2.5;
  opacity: 1;
}
.node.target .node-shell {
  fill: rgba(255, 91, 58, 0.28);
  stroke: var(--accent);
  stroke-width: 2.8;
  opacity: 1;
}

/* ═══ REGION SECTIONS ═══ */
.region-section {
  padding: 80px 0 60px;
  position: relative;
}
.region-header {
  margin-bottom: 48px;
}
.region-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--ink-muted);
  font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.region-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--accent);
}
.region-eyebrow .flag { font-style: normal; font-size: 14px; }
.region-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 300; line-height: 1.12;
  letter-spacing: -0.5px;
}
.region-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.region-subtitle {
  font-size: 16px; line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-top: 14px;
}

/* ═══ SERVICE CARDS ═══ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
@media (max-width: 700px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all .4s cubic-bezier(.2,.7,.2,1);
  cursor: default;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255,91,58,0.06) 0%, transparent 50%);
  pointer-events: none;
  transition: opacity .4s ease;
  opacity: 0;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  border-color: rgba(255,91,58,0.3);
  background: rgba(255,255,255,0.75);
  transform: translateY(-4px);
  box-shadow:
    0 20px 50px -15px rgba(20,20,20,.08),
    0 0 0 1px rgba(255,91,58,0.1),
    0 0 30px rgba(255,91,58,0.06);
}
.card-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(14,92,87,0.2);
  background: rgba(14,92,87,0.05);
}
.card-tag.ai-tag {
  color: var(--accent);
  border-color: rgba(255,91,58,0.2);
  background: rgba(255,91,58,0.05);
}
.card-tag.ai-tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255,91,58,0.5);
  animation: dotPulse 2s ease-in-out infinite;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 500;
  line-height: 1.2; letter-spacing: -0.3px;
  margin-bottom: 14px;
  transition: color .3s ease;
}
.service-card:hover h3 { color: var(--accent); }
.service-card .card-items {
  list-style: none;
}
.service-card .card-items li {
  padding: 6px 0 6px 20px;
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.6; position: relative;
  transition: color .2s ease, padding-left .2s ease;
}
.service-card .card-items li span{
  white-space: nowrap;
}
.service-card .card-items li::before {
  content: "";
  position: absolute; left: 0; top: 15px;
  width: 10px; height: 1.5px;
  background: var(--accent);
  transition: width .2s ease;
}
.service-card:hover .card-items li { color: var(--ink); }
.service-card:hover .card-items li::before { width: 14px; }
.card-glow {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  filter: blur(40px);
  transition: opacity .5s ease;
  pointer-events: none;
}
.service-card:hover .card-glow { opacity: 0.12; }

/* ═══ DARK SECTION (US) ═══ */
.region-dark {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 70px 50px;
  color: var(--bg);
  position: relative;
  overflow: hidden;
  margin: 0 calc(var(--side-pad) * -1);
  padding-left: calc(50px + var(--side-pad));
  padding-right: calc(50px + var(--side-pad));
}
.region-dark::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.02) 79px, rgba(255,255,255,0.02) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.02) 79px, rgba(255,255,255,0.02) 80px);
  pointer-events: none;
}
.region-dark .region-eyebrow { color: var(--accent-3); }
.region-dark .region-eyebrow::before { background: var(--accent-3); }
.region-dark .region-title { color: var(--bg); }
.region-dark .region-title em { color: var(--accent-3); }
.region-dark .region-subtitle { color: rgba(207,202,193,0.8); }
.region-dark .service-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.region-dark .service-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,91,58,0.3);
  box-shadow:
    0 20px 50px -15px rgba(0,0,0,.3),
    0 0 30px rgba(255,91,58,0.08);
}
.region-dark .service-card h3 { color: var(--bg); }
.region-dark .service-card:hover h3 { color: var(--accent); }
.region-dark .card-items li { color: rgba(207,202,193,0.7); }
.region-dark .service-card:hover .card-items li { color: rgba(207,202,193,0.95); }
.region-dark .card-tag {
  color: var(--accent-3);
  border-color: rgba(242,201,76,0.25);
  background: rgba(242,201,76,0.08);
}
.region-dark .card-tag.ai-tag {
  color: var(--accent);
  border-color: rgba(255,91,58,0.25);
  background: rgba(255,91,58,0.08);
}
.dark-glow-1, .dark-glow-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.dark-glow-1 {
  width: 400px; height: 400px;
  background: var(--accent);
  opacity: 0.06;
  top: -100px; right: -100px;
}
.dark-glow-2 {
  width: 300px; height: 300px;
  background: var(--accent-3);
  opacity: 0.05;
  bottom: -80px; left: -80px;
}

/* ═══ AI HIGHLIGHT ═══ */
.ai-highlight {
  margin-top: 48px;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,91,58,0.15);
  background: rgba(255,91,58,0.03);
  position: relative;
  overflow: hidden;
}
.region-dark .ai-highlight {
  background: rgba(255,91,58,0.06);
  border-color: rgba(255,91,58,0.15);
}
.ai-highlight::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.08;
  filter: blur(50px);
  pointer-events: none;
}
.ai-highlight-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.ai-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255,91,58,0.5);
  animation: dotPulse 2s ease-in-out infinite;
}
.ai-highlight-header h3 {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 300;
  letter-spacing: -0.3px;
}
.ai-highlight-header h3 em { font-style: italic; color: var(--accent); }
.region-dark .ai-highlight-header h3 { color: var(--bg); }
.ai-highlight-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.ai-highlight-item {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,91,58,0.1);
  background: rgba(255,255,255,0.4);
  transition: all .3s ease;
}
.region-dark .ai-highlight-item {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}
.ai-highlight-item:hover {
  border-color: rgba(255,91,58,0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,91,58,0.08);
}
.region-dark .ai-highlight-item:hover {
  background: rgba(255,255,255,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.ai-highlight-item .item-tag {
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.ai-highlight-item h4 {
  font-family: var(--font-serif);
  font-size: 16px; font-weight: 500;
  margin-bottom: 6px;
}
.region-dark .ai-highlight-item h4 { color: var(--bg); }
.ai-highlight-item p {
  font-size: 13px; line-height: 1.65;
  color: var(--ink-soft);
}
.region-dark .ai-highlight-item p { color: rgba(207,202,193,0.7); }

/* ═══ PROCESS ═══ */
.process-section {
  padding: 90px 0 70px;
  border-top: 1px solid var(--line);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.process-step {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,0.3);
  position: relative;
  transition: all .4s cubic-bezier(.2,.7,.2,1);
  cursor: default;
}
.process-step:hover {
  border-color: rgba(14,92,87,0.3);
  background: rgba(255,255,255,0.65);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -12px rgba(20,20,20,.07);
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent-2);
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  color: var(--accent-2);
  background: var(--bg);
  margin-bottom: 14px;
  transition: all .3s ease;
}
.process-step:hover .step-num {
  background: var(--accent-2);
  color: #fff;
  box-shadow: 0 0 16px rgba(14,92,87,0.2);
}
.process-step h3 {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
  transition: color .2s ease;
}
.process-step:hover h3 { color: var(--accent-2); }
.process-step p {
  font-size: 13px; line-height: 1.65;
  color: var(--ink-soft);
}

/* ═══ FAQ TOGGLE (+/−) ═══ */
.faq-toggle { flex-shrink: 0; }
details[open] > summary .faq-toggle { font-size: 0 !important; line-height: 0; }
details[open] > summary .faq-toggle::after { content: '\2212'; font-size: 22px; }

/* ═══ TOOLS MARQUEE ═══ */
.tools-section {
  padding: 60px 0;
  border-top: 1px solid var(--line);
}
.tools-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  margin-bottom: 32px;
}
.tools-title em { font-style: italic; color: var(--accent); }
.marquee {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
  padding: 0 8px;
}
.marquee-track .mdot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin: 0 14px;
  vertical-align: middle;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ FOOTER ═══ */
.site-footer {
  margin-top: 60px;
  padding: 40px var(--side-pad) 40px;
  border-top: 1px solid var(--line);
}
.footer-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
@media (max-width: 900px) { .footer-hero { grid-template-columns: 1fr; gap: 30px; } }
.footer-big {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300; line-height: 1.08;
  letter-spacing: -0.8px; max-width: 16ch;
}
.footer-big em { font-style: italic; color: var(--accent); font-weight: 300; }
.connect-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
}
.connect-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(20,20,20,.3);
}
.connect-card::before {
  content: ""; position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .2; filter: blur(40px);
  transition: opacity .4s ease;
}
.connect-card:hover::before { opacity: .35; }
.connect-card .connect-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent-3); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.connect-card .connect-eyebrow::before {
  content: ""; width: 16px; height: 1px; background: var(--accent-3);
}
.connect-card h3 {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 300;
  line-height: 1.15; letter-spacing: -.4px;
  color: var(--bg); margin-bottom: 16px;
}
.connect-card h3 em { font-style: italic; color: var(--accent); }
.connect-card p {
  font-size: 15px; line-height: 1.7;
  color: #CFCAC1; margin-bottom: 24px; max-width: 36ch;
}
.connect-card .btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  border-radius: 999px;
  background: var(--accent); color: #fff;
  transition: background .3s ease, transform .25s ease, gap .3s ease;
  border: none; cursor: pointer;
}
.connect-card .btn:hover { background: #E84E2E; transform: translateY(-2px); gap: 14px; }
.connect-card .btn .btn-arrow { transition: transform .3s ease; }
.connect-card .btn:hover .btn-arrow { transform: translateX(3px); }
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; padding-top: 40px;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-col h5 {
  font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: 14px; font-weight: 700;
}
.footer-col p, .footer-col a {
  font-size: 14px; line-height: 1.8; color: var(--ink-soft); display: block;
}
.footer-col a:hover { color: var(--accent); }
.footer-base {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--ink-muted);
  letter-spacing: .5px; flex-wrap: wrap; gap: 10px;
}

/* ═══ SCROLL REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ═══ FLOATING NAV ═══ */
.section-nav {
  position: fixed; right: 24px; top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transition: opacity .5s ease;
}
.section-nav.visible { opacity: 1; }
@media (max-width: 1200px) { .section-nav { display: none; } }
.section-nav-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-2);
  background: var(--bg);
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
}
.section-nav-dot:hover, .section-nav-dot.active {
  background: var(--accent-2);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(14,92,87,0.15);
}
.section-nav-dot .nav-dot-label {
  position: absolute; right: 100%; top: 50%;
  transform: translateY(-50%);
  padding-right: 10px;
  font-family: var(--font-mono);
  font-size: 8px; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-2); font-weight: 600;
  white-space: nowrap;
  opacity: 0; transition: opacity .2s ease;
  pointer-events: none;
}
.section-nav-dot:hover .nav-dot-label { opacity: 1; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .hero { padding: 50px 0 40px; gap: 20px; }
  .hero h1 { font-size: clamp(30px, 8vw, 48px); }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 22px; }
  .hero-topbar { gap: 10px; }
  .region-section { padding: 60px 0 40px; }
  .region-dark {
    margin: 0 calc(var(--side-pad) * -1);
    padding: 44px var(--side-pad);
    border-radius: 0;
  }
  .services-grid { gap: 14px; }
  .service-card { padding: 24px 20px; }
  .service-card h3 { font-size: 19px; }
  .ai-highlight { padding: 28px 20px; }
  .ai-highlight-header h3 { font-size: 20px; }
  .process-section { padding: 60px 0; }
  .process-grid { gap: 12px; }
  .section-nav { display: none; }
  .footer-hero { margin-bottom: 36px; }
  .connect-card { padding: 32px 24px; }
  .connect-card h3 { font-size: 26px; }
  h1, h2, h3, p, a, button, span, li { overflow-wrap: anywhere; letter-spacing: 0; }
}
@media (max-width: 640px) {
  .hero-topbar { flex-direction: column; gap: 6px; align-items: flex-start; }
  .hero { padding-top: 36px; }
  .services-grid { grid-template-columns: 1fr; }
  .region-header { margin-bottom: 28px; }
  .region-title { font-size: clamp(28px, 8vw, 38px); }
  .region-subtitle { font-size: 14px; line-height: 1.65; }
  .process-grid { grid-template-columns: 1fr; }
  .ai-highlight-body { grid-template-columns: 1fr; }
  .ai-highlight-header { align-items: flex-start; }
  .marquee { padding: 20px 0; }
  .marquee-track { font-size: 18px; gap: 28px; }
  .marquee-track span { gap: 28px; }
  .connect-card .btn { padding: 13px 22px; font-size: 11px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
