/* ============================================================
   JDMC.TECH — Landing
   Full dark theme — design tokens + base styles
   ============================================================ */

:root {
  /* Surfaces — all dark */
  --white: #ffffff;
  --bg: #070b16;            /* base body */
  --bg-soft: #0b1220;       /* alt section */
  --bg-tint: #0f1729;       /* card / elevated */
  --bg-elev: #131c33;       /* hover / popovers */

  /* Navy palette (kept for legacy refs) */
  --navy-950: #04070f;
  --navy-900: #0b1220;
  --navy-800: #111a2e;
  --navy-700: #18233d;

  /* Text */
  --ink-900: #f1f5f9;       /* headings */
  --ink-700: #cbd5e1;       /* body strong */
  --ink-500: #94a3b8;       /* body */
  --ink-400: #64748b;       /* muted */
  --ink-300: #475569;       /* very muted */

  /* Brand — pulled from the logo */
  --brand-blue: #38bdf8;    /* slightly brighter for dark backgrounds */
  --brand-blue-deep: #1b9bd8;
  --brand-cyan: #67e8f9;
  --brand-lime: #7bc93c;
  --brand-violet: #8f00ff;

  /* Contrast pair — inverts between dark/light theme */
  --invert-bg: #ffffff;
  --invert-fg: #070b16;
  /* Glass card surface (used on .float-card, .showcase, .portrait .credential) */
  --glass-bg: rgba(15, 23, 42, 0.86);
  --glass-border: rgba(255, 255, 255, 0.14);
  /* Subtle component tints — visible on both themes */
  --tint-1: rgba(255, 255, 255, 0.025);
  --tint-2: rgba(255, 255, 255, 0.05);
  --tint-3: rgba(255, 255, 255, 0.08);
  /* Hero/CTA grid line color */
  --grid-line: rgba(255, 255, 255, 0.04);

  /* Borders */
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --line-bright: rgba(255, 255, 255, 0.22);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows (deeper on dark) */
  --sh-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --sh-md: 0 12px 32px -12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
  --sh-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.75), 0 6px 18px rgba(0, 0, 0, 0.3);
  --sh-glow: 0 0 0 1px rgba(56, 189, 248, 0.25), 0 12px 32px -10px rgba(56, 189, 248, 0.35);

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Manrope', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===== TYPE SCALE ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink-900);
  text-wrap: balance;
  line-height: 1.08;
}
h1 { font-size: clamp(44px, 6.4vw, 84px); letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(38px, 5.2vw, 64px); letter-spacing: -0.028em; }
h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; }
h4 { font-size: 18px; letter-spacing: -0.01em; font-weight: 600; }
p  { margin: 0; color: var(--ink-500); text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-500); max-width: 64ch; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(80px, 9vw, 140px) 0; position: relative; }
section.tight { padding: clamp(64px, 7vw, 110px) 0; }
.sec-soft { background: var(--bg-soft); }
.sec-tint { background: var(--bg-tint); }
.sec-dark { background: var(--bg-soft); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-blue);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

/* Section heading block */
.sec-head { max-width: 820px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head h2 { margin-top: 18px; }
.sec-head p { margin-top: 22px; font-size: 19px; line-height: 1.55; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .25s var(--ease-out), background .25s var(--ease-out), box-shadow .25s var(--ease-out), color .25s var(--ease-out);
  white-space: nowrap;
  position: relative;
}
.btn .arr { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary {
  background: var(--invert-bg);
  color: var(--invert-fg);
  box-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 8px 24px -10px rgba(56,189,248,0.25);
}
.btn-primary:hover {
  background: var(--invert-bg);
  filter: brightness(0.93);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(56,189,248,0.4);
}
.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--ink-900);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px var(--line-bright);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--ink-500);
  padding: 12px 18px;
}
.btn-ghost:hover { color: var(--ink-900); }

/* Accent CTA — gradient pill for emphasis */
.btn-accent {
  background: linear-gradient(120deg, var(--brand-blue-deep), var(--brand-blue) 50%, var(--brand-lime));
  color: var(--invert-fg);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 12px 32px -10px rgba(56,189,248,0.5);
}
.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -8px rgba(56,189,248,0.6);
}

/* ===== PILLS ===== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--r-pill);
  background: var(--tint-2);
  border: 1px solid var(--line-strong);
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-lime);
  box-shadow: 0 0 0 3px rgba(123, 201, 60, 0.22);
}
.pill .check {
  width: 14px; height: 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  color: white;
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--tint-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.lang-switch button {
  padding: 6px 10px;
  border-radius: var(--r-pill);
  color: var(--ink-500);
  transition: all .2s var(--ease-out);
  line-height: 1;
}
.lang-switch button.active {
  background: var(--invert-bg);
  color: var(--invert-fg);
}
.lang-switch button:not(.active):hover {
  color: var(--ink-900);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1180px;
  z-index: 100;
  background: rgba(11, 18, 32, 0.65);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  box-shadow:
    0 12px 40px -16px rgba(0,0,0,0.7),
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 -1px 0 rgba(0,0,0,0.4) inset;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 12px 12px 22px;
  transition: top .3s var(--ease-out), background .3s var(--ease-out), box-shadow .3s var(--ease-out), max-width .3s var(--ease-out);
}
.nav.scrolled {
  background: rgba(7, 11, 22, 0.85);
  max-width: 1100px;
  border-color: var(--line-strong);
}
.nav .brand {
  display: flex; align-items: center;
  flex-shrink: 0;
  height: 44px;
}
.nav .brand-logo {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.25));
  transition: filter .3s var(--ease-out), transform .3s var(--ease-out);
}
.nav .brand:hover .brand-logo {
  filter: drop-shadow(0 0 22px rgba(56, 189, 248, 0.45));
  transform: scale(1.02);
}
html[data-theme="light"] .nav .brand-logo {
  filter: none;
}
.nav .links {
  display: flex; align-items: center; gap: 2px;
  flex: 1; justify-content: center;
  min-width: 0;
}
.nav .links a {
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; color: var(--ink-500);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav .links a:hover { color: var(--ink-900); background: rgba(255,255,255,0.04); }
.nav .cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav .phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--ink-500);
  padding: 8px 12px; border-radius: var(--r-pill);
  white-space: nowrap;
  transition: color .2s;
}
.nav .phone:hover { color: var(--ink-900); }
.nav .phone svg { width: 14px; height: 14px; color: var(--brand-blue); }
.nav .nav-cta { padding: 10px 18px; font-size: 13.5px; }
@media (max-width: 1180px) {
  .nav .phone { display: none; }
}
@media (max-width: 920px) {
  .nav .links { display: none; }
  .nav { padding: 8px 8px 8px 14px; gap: 10px; }
  .nav .brand-logo { height: 30px; }
  .nav .nav-cta { padding: 9px 14px; font-size: 13px; }
}
@media (max-width: 480px) {
  .nav .nav-cta .nav-cta-label { display: none; }
  .nav .nav-cta { padding: 9px 11px; }
  .nav .lang-switch { font-size: 10px; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--bg);
  color: var(--ink-700);
  padding: 180px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 12% 8%, rgba(27,155,216,0.22), transparent 60%),
    radial-gradient(700px 500px at 90% 30%, rgba(143,0,255,0.14), transparent 60%),
    radial-gradient(800px 500px at 60% 100%, rgba(123,201,60,0.12), transparent 60%);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
  z-index: -1;
}
.hero .container { display: grid; grid-template-columns: 1fr; gap: 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  max-width: 920px;
}
.hero h1 { color: var(--ink-900); margin-top: 22px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--brand-blue-deep) 0%, var(--brand-blue) 40%, var(--brand-lime) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
  /* prevents italic descender / right-edge clipping when clipped to text */
  display: inline-block;
  padding-right: 0.12em;
  margin-right: -0.05em;
}
.hero-sub { margin-top: 24px; color: var(--ink-500); font-size: 18px; max-width: 56ch; }
.hero-cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-pills { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero showcase card */
.showcase {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--line-strong);
  padding: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
}
.showcase-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 6px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.showcase-head .label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-500); text-transform: uppercase;
}
.showcase-head .label .live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-lime);
  box-shadow: 0 0 0 4px rgba(123,201,60,0.16);
  animation: pulse 2s var(--ease-in-out) infinite;
}
.showcase-head .ip { font-family: var(--font-mono); font-size: 11px; color: var(--ink-500); }
.showcase-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.metric {
  padding: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.metric .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.metric .v {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-900);
  margin-top: 6px;
  display: flex; align-items: baseline; gap: 6px;
  letter-spacing: -0.02em;
}
.metric .v .u { font-size: 13px; color: var(--ink-500); font-weight: 500; font-family: var(--font-sans); }
.metric .bar {
  margin-top: 12px;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.metric .bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue-deep), var(--brand-blue));
  border-radius: 4px;
}
.metric.lime .bar > span { background: linear-gradient(90deg, var(--brand-blue), var(--brand-lime)); }
.metric.violet .bar > span { background: linear-gradient(90deg, var(--brand-blue-deep), var(--brand-violet)); }

.showcase-foot {
  margin-top: 16px;
  padding: 14px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-500);
}
.showcase-foot .blip { display: flex; align-items: center; gap: 8px; }
.showcase-foot .blip .d {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-blue);
  animation: blink 1.4s var(--ease-in-out) infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(123,201,60,0); } }

/* Floating mini cards */
.float-card {
  position: absolute;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.45);
  font-size: 13px;
  color: var(--ink-900);
  animation: float 6s var(--ease-in-out) infinite;
}
.float-card .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(56,189,248,0.18), rgba(123,201,60,0.18));
  border: 1px solid var(--line);
  color: var(--brand-blue);
}
.float-card .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); }
.float-card .val { font-weight: 600; margin-top: 2px; }
.float-1 { top: -16px; left: -38px; animation-delay: 0s; }
.float-2 { bottom: 40px; right: -32px; animation-delay: -2s; }
.float-3 { bottom: -24px; left: 30px; animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1020px) {
  .float-1, .float-2, .float-3 { display: none; }
}

/* ===== STATS ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--bg-tint);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-lg);
  margin-top: -60px;
  position: relative;
  z-index: 4;
  overflow: hidden;
}
.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.stat .v {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.035em;
  margin-top: 10px;
  line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.stat .v .suf {
  background: linear-gradient(120deg, var(--brand-blue), var(--brand-lime));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .desc { margin-top: 10px; font-size: 13px; color: var(--ink-500); line-height: 1.45; }
@media (max-width: 980px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2n) { border-right: none; } .stat { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } .stat { border-right: none; } }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.portrait {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, #131c33 0 6px, #18233d 6px 12px);
  border: 1px solid var(--line-strong);
  display: flex; align-items: flex-end;
  box-shadow: var(--sh-lg);
  isolation: isolate;
}
.portrait-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}
.portrait:hover .portrait-img { transform: scale(1.06); }
.portrait-shine {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(7, 11, 22, 0.85) 92%),
    radial-gradient(120% 60% at 80% 0%, rgba(56, 189, 248, 0.18), transparent 55%);
  z-index: 1;
  pointer-events: none;
}
html[data-theme="light"] .portrait-shine {
  background:
    linear-gradient(180deg, transparent 40%, rgba(255,255,255,0.88) 92%),
    radial-gradient(120% 60% at 80% 0%, rgba(56, 189, 248, 0.12), transparent 55%);
}
.portrait .meta,
.portrait .credential { z-index: 2; }
.portrait .meta {
  position: relative;
  width: 100%;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(7,11,22,0.95));
}
.portrait .meta .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-900);
}
.portrait .meta .role {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-500);
  margin-top: 4px;
}
.portrait .ph-label {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-500);
  background: rgba(0,0,0,0.4);
  padding: 4px 10px; border-radius: var(--r-xs);
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
}
.portrait .credential {
  position: absolute; bottom: 100px; left: 18px;
  background: var(--glass-bg);
  padding: 10px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--sh-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  color: var(--ink-900);
  backdrop-filter: blur(8px);
}
.portrait .credential .seal {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue-deep), var(--brand-blue));
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
}
.portrait .credential .sub { color: var(--ink-500); font-size: 11px; margin-top: 1px; }

.story p { font-size: 17px; line-height: 1.7; color: var(--ink-500); margin-bottom: 18px; }
.story p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 600;
  float: left;
  line-height: 0.9;
  padding: 6px 12px 0 0;
  color: var(--ink-900);
}
.story .quote {
  margin-top: 28px;
  padding: 24px 28px;
  border-left: 3px solid var(--brand-blue);
  background: rgba(56,189,248,0.05);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink-900);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.story .quote::before {
  content: '"';
  font-size: 32px;
  color: var(--brand-blue);
  margin-right: 4px;
  font-family: var(--font-display);
}
.signature {
  margin-top: 24px;
  display: flex; align-items: center; gap: 14px;
}
.signature .sig-text {
  font-family: 'Brush Script MT', cursive;
  font-size: 32px;
  color: var(--ink-900);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}
.signature .meta { display: flex; flex-direction: column; line-height: 1.3; }
.signature .meta .name { font-weight: 600; font-size: 15px; color: var(--ink-900); }
.signature .meta .role { font-size: 13px; color: var(--ink-500); }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 1180px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
/* Compact service card */
.svc {
  background: var(--bg-tint);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "icon title arr"
    "desc desc desc";
  column-gap: 12px;
  row-gap: 6px;
  align-items: center;
  position: relative;
  transition: background .3s var(--ease-out), transform .3s var(--ease-out);
  min-height: 0;
  text-decoration: none;
}
.svc:hover { background: var(--bg-elev); transform: translateY(-2px); }
.svc:hover .svc-arr { transform: translateX(2px); opacity: 1; }
.svc-icon {
  grid-area: icon;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(56,189,248,0.14), rgba(123,201,60,0.10));
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-bottom: 0;
}
.svc-icon svg { width: 18px; height: 18px; }
.svc h4 {
  grid-area: title;
  font-size: 15px;
  color: var(--ink-900);
  line-height: 1.2;
  letter-spacing: -0.01em;
  align-self: center;
}
.svc p {
  grid-area: desc;
  margin-top: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-500);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s var(--ease-out), opacity .25s, margin-top .25s;
}
.svc:hover p {
  max-height: 200px;
  opacity: 1;
  margin-top: 6px;
}
.svc-arr {
  grid-area: arr;
  position: static;
  width: 14px; height: 14px;
  color: var(--ink-400);
  transition: transform .3s var(--ease-out), opacity .3s, color .3s;
  opacity: 0.5;
  align-self: center;
}
.svc:hover .svc-arr { color: var(--brand-blue); opacity: 1; }

/* ===== WHY ===== */
.why-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; } }
.feat-list { display: grid; gap: 8px; }
.feat {
  display: flex; gap: 16px;
  padding: 22px 20px;
  border-radius: var(--r-md);
  background: var(--tint-1);
  border: 1px solid var(--line);
  transition: background .25s, border .25s, transform .25s var(--ease-out);
}
.feat:hover { background: var(--tint-2); border-color: var(--line-strong); transform: translateX(4px); }
.feat .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  min-width: 32px;
  padding-top: 4px;
}
.feat h4 { font-size: 18px; color: var(--ink-900); margin-bottom: 6px; }
.feat p { font-size: 14px; color: var(--ink-500); line-height: 1.55; }

/* ===== INDUSTRIES ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
.ind {
  padding: 24px 22px;
  background: var(--bg-tint);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease-out), background .3s, border-color .3s;
}
.ind::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue-deep), var(--brand-blue), var(--brand-lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.ind:hover { transform: translateY(-3px); background: var(--bg-elev); border-color: var(--line-bright); }
.ind:hover::after { transform: scaleX(1); }
.ind .ic {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--brand-blue);
  margin-bottom: 18px;
}
.ind .ic svg { width: 26px; height: 26px; }
.ind .name { font-weight: 600; font-size: 15px; color: var(--ink-900); }
.ind .ex { font-size: 12px; color: var(--ink-500); margin-top: 6px; font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ===== PROCESS ===== */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.process::before {
  content: '';
  position: absolute; left: 6%; right: 6%; top: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 10%, var(--line-strong) 90%, transparent);
}
@media (max-width: 880px) { .process { grid-template-columns: 1fr; gap: 12px; } .process::before { display: none; } }
.step { position: relative; padding-top: 0; }
.step .num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-tint);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-900);
  margin: 0 auto 18px;
  position: relative;
  z-index: 2;
  box-shadow: var(--sh-sm);
  transition: all .3s var(--ease-out);
}
.step:hover .num {
  background: var(--invert-bg);
  color: var(--invert-fg);
  transform: scale(1.04);
  border-color: var(--invert-bg);
  box-shadow: 0 8px 24px -8px var(--line-bright);
}
.step .label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-blue); text-align: center;
}
.step h4 { font-size: 17px; text-align: center; margin-top: 6px; color: var(--ink-900); }
.step p { font-size: 13px; line-height: 1.55; color: var(--ink-500); text-align: center; margin-top: 8px; }
@media (max-width: 880px) {
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; text-align: left; align-items: start; padding: 12px 0; }
  .step .num { margin: 0; }
  .step .label, .step h4, .step p { text-align: left; }
}

/* ===== TESTIMONIALS ===== */
.t-frame { position: relative; overflow: hidden; }
.t-track { display: flex; transition: transform .6s var(--ease-out); }
.t-slide { min-width: 100%; padding: 0 4px; }
.t-card {
  padding: clamp(36px, 4vw, 56px);
  background: var(--bg-tint);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.t-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink-900);
  text-wrap: balance;
  margin: 0;
}
.t-author { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.t-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-elev), var(--bg-soft));
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; color: var(--ink-900); font-size: 16px;
  flex-shrink: 0;
}
.t-author .name { font-weight: 600; font-size: 15px; color: var(--ink-900); }
.t-author .role { font-size: 13px; color: var(--ink-500); }
.t-author .sep { color: var(--ink-300); margin: 0 6px; }
.t-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px;
}
.t-dots { display: flex; gap: 8px; }
.t-dots button {
  width: 24px; height: 4px; border-radius: 4px;
  background: var(--line-strong);
  transition: background .25s, width .25s;
}
.t-dots button.active { background: var(--invert-bg); width: 36px; }
.t-arrows { display: flex; gap: 8px; }
.t-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: all .25s;
  color: var(--ink-500);
  background: var(--tint-1);
}
.t-arrow:hover { background: var(--invert-bg); color: var(--invert-fg); border-color: var(--invert-bg); }

/* ===== COVERAGE ===== */
.coverage-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 880px) { .coverage-grid { grid-template-columns: 1fr; } }
.map-wrap {
  position: relative;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(800px 400px at 50% 50%, rgba(56,189,248,0.10), transparent 60%),
    var(--bg-tint);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 24px;
}
.map-svg { width: 100%; height: 100%; }
.coverage-list { display: grid; gap: 16px; }
.cov-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.cov-item:last-child { border-bottom: none; }
.cov-item .ic { color: var(--brand-blue); flex-shrink: 0; margin-top: 2px; }
.cov-item h4 { font-size: 17px; color: var(--ink-900); }
.cov-item p { font-size: 14px; margin-top: 4px; color: var(--ink-500); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 5vw, 80px);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 24px; align-content: start; }
.contact-info > .eyebrow { margin-bottom: 0; }
.contact-info .info-rows { display: grid; gap: 26px; margin-top: 14px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(56,189,248,0.10);
  border: 1px solid var(--line-strong);
  color: var(--brand-blue);
  flex-shrink: 0;
}
.info-row .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); }
.info-row .v { font-weight: 500; font-size: 16px; margin-top: 4px; color: var(--ink-900); }
.info-row .desc { font-size: 13px; color: var(--ink-500); margin-top: 2px; }

.form-card {
  background: var(--bg-tint);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: var(--sh-lg);
}
.form-card h3 { font-size: 22px; margin-bottom: 6px; color: var(--ink-900); }
.form-card .sub { font-size: 14px; color: var(--ink-500); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 22px 16px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 15px;
  background: var(--tint-1);
  color: var(--ink-900);
  transition: border .2s, box-shadow .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; padding-top: 26px; }
.field label {
  position: absolute;
  left: 16px; top: 16px;
  font-size: 14px;
  color: var(--ink-500);
  pointer-events: none;
  transition: all .2s var(--ease-out);
  background: transparent;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(56,189,248,0.18);
  background: var(--tint-2);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field.filled label {
  top: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.field select { padding-right: 40px; cursor: pointer; color: var(--ink-500); }
.field select:has(option:checked:not([value=""])) { color: var(--ink-900); }
.field select option { background: var(--bg-soft); color: var(--ink-900); }
.field .sel-arr {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--ink-500);
}
.field.err input, .field.err textarea, .field.err select { border-color: #f87171; }
.field .err-msg { font-size: 12px; color: #f87171; margin-top: 6px; display: none; }
.field.err .err-msg { display: block; }

.form-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.form-foot .note { font-size: 12px; color: var(--ink-500); max-width: 28ch; }

.form-sent {
  text-align: center;
  padding: 40px 24px;
}
.form-sent .check-big {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue-deep), var(--brand-blue));
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 12px 32px -8px rgba(56,189,248,0.5);
}
.form-sent h3 { font-size: 24px; color: var(--ink-900); }
.form-sent p { margin-top: 8px; }

/* Final CTA block */
.cta-block {
  margin-top: 60px;
  padding: clamp(40px, 5vw, 72px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(56,189,248,0.22), transparent 60%),
    radial-gradient(500px 300px at 20% 100%, rgba(123,201,60,0.14), transparent 60%),
    var(--bg-tint);
  border: 1px solid var(--line-strong);
  color: var(--ink-900);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, black 30%, transparent 80%);
  pointer-events: none;
}
.cta-block > * { position: relative; z-index: 1; }
@media (max-width: 720px) { .cta-block { grid-template-columns: 1fr; } }
.cta-block h3 { font-size: clamp(24px, 3vw, 36px); color: var(--ink-900); }
.cta-block p { color: var(--ink-500); margin-top: 8px; }
.cta-block .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-950);
  color: var(--ink-500);
  padding: 72px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand-block { max-width: 320px; }
.footer .footer-brand { display: inline-block; }
.footer .footer-logo { height: 44px; width: auto; display: block; }
.footer .brand-block p { font-size: 14px; margin-top: 18px; line-height: 1.6; }
.footer h5 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-blue); margin-bottom: 16px; font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-500); font-size: 14px; transition: color .2s; }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.footer-bottom .socials { display: flex; gap: 8px; }
.footer-bottom .socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--ink-500);
  transition: all .2s;
}
.footer-bottom .socials a:hover { color: var(--white); border-color: var(--line-strong); background: rgba(255,255,255,0.03); }

/* ===== REVEAL ON SCROLL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ===== UTIL ===== */
.flex { display: flex; }
.gap-12 { gap: 12px; }
.mt-32 { margin-top: 32px; }
.text-mono { font-family: var(--font-mono); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0.01s !important; }
  html { scroll-behavior: auto; }
}


/* ============================================================
   LIGHT THEME OVERRIDES — toggled via html[data-theme="light"]
   ============================================================ */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #fafbfc;
  --bg-soft: #f4f6f9;
  --bg-tint: #ffffff;
  --bg-elev: #f8fafc;
  --navy-950: #0b1220;  /* footer stays branded dark */

  --ink-900: #0b1220;
  --ink-700: #1f2937;
  --ink-500: #475569;
  --ink-400: #64748b;
  --ink-300: #94a3b8;

  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --line-bright: rgba(15, 23, 42, 0.22);

  /* invert pair flips */
  --invert-bg: #0b1220;
  --invert-fg: #ffffff;

  /* glass cards become light glass */
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(15, 23, 42, 0.10);

  /* tints become darker washes */
  --tint-1: rgba(15, 23, 42, 0.025);
  --tint-2: rgba(15, 23, 42, 0.05);
  --tint-3: rgba(15, 23, 42, 0.08);

  --grid-line: rgba(15, 23, 42, 0.06);

  --brand-blue: #1B9BD8;  /* slightly deeper for AA on white */

  --sh-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --sh-md: 0 8px 24px -8px rgba(15, 23, 42, 0.12), 0 2px 4px rgba(15, 23, 42, 0.04);
  --sh-lg: 0 24px 56px -16px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* Hero gradient blooms adjusted for light surface */
html[data-theme="light"] .hero::before {
  background:
    radial-gradient(900px 600px at 12% 8%, rgba(27,155,216,0.10), transparent 60%),
    radial-gradient(700px 500px at 90% 30%, rgba(143,0,255,0.06), transparent 60%),
    radial-gradient(800px 500px at 60% 100%, rgba(123,201,60,0.08), transparent 60%);
}
html[data-theme="light"] .cta-block {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(56,189,248,0.10), transparent 60%),
    radial-gradient(500px 300px at 20% 100%, rgba(123,201,60,0.08), transparent 60%),
    var(--bg-tint);
}

/* Nav glass tone */
html[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 32px -12px rgba(15,23,42,0.12), 0 1px 2px rgba(15,23,42,0.05);
}
html[data-theme="light"] .nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
}

/* Showcase card surface */
html[data-theme="light"] .showcase {
  background: linear-gradient(180deg, rgba(15,23,42,0.025), rgba(15,23,42,0.01));
  border-color: var(--line-strong);
  box-shadow: var(--sh-lg);
}
html[data-theme="light"] .metric {
  background: var(--white);
  border-color: var(--line);
}
html[data-theme="light"] .metric .bar { background: var(--tint-2); }

/* Portrait stripes - lighter */
html[data-theme="light"] .portrait {
  background: repeating-linear-gradient(135deg, #e2e8f0 0 6px, #eef2f7 6px 12px);
}
html[data-theme="light"] .portrait .meta {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.95));
}
html[data-theme="light"] .portrait .ph-label {
  background: rgba(255,255,255,0.85);
  border-color: var(--line);
}

/* Service grid background visible separator */
html[data-theme="light"] .services-grid { background: var(--line-strong); }
html[data-theme="light"] .svc { background: var(--white); }
html[data-theme="light"] .svc:hover { background: var(--bg-soft); }

/* Logo: single SVG used for both themes — colors have natural contrast on both */

/* Footer stays branded-dark but lighten link colors slightly on light */
html[data-theme="light"] .footer {
  background: var(--navy-950);
  border-top-color: rgba(255,255,255,0.08);
}

/* Theme-toggle button visuals */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--tint-1);
  color: var(--ink-500);
  display: grid; place-items: center;
  transition: all .25s var(--ease-out);
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--ink-900); background: var(--tint-2); border-color: var(--line-bright); }
.theme-toggle svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }

@media (max-width: 920px) {
  .theme-toggle { width: 34px; height: 34px; }
}

/* Body text color follows ink-700 */
body { color: var(--ink-700); }


/* ============================================================
   SCROLL EFFECTS
   ============================================================ */

/* Scroll progress bar — top hairline */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-blue-deep), var(--brand-blue) 40%, var(--brand-lime));
  z-index: 200;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  transition: width .08s linear;
  pointer-events: none;
}

/* Stagger children with reveal — applied via data-reveal-stagger */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal-stagger].in > * {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger].in > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].in > *:nth-child(2) { transition-delay: 60ms; }
[data-reveal-stagger].in > *:nth-child(3) { transition-delay: 120ms; }
[data-reveal-stagger].in > *:nth-child(4) { transition-delay: 180ms; }
[data-reveal-stagger].in > *:nth-child(5) { transition-delay: 240ms; }
[data-reveal-stagger].in > *:nth-child(6) { transition-delay: 300ms; }
[data-reveal-stagger].in > *:nth-child(7) { transition-delay: 360ms; }
[data-reveal-stagger].in > *:nth-child(8) { transition-delay: 420ms; }
[data-reveal-stagger].in > *:nth-child(9) { transition-delay: 480ms; }
[data-reveal-stagger].in > *:nth-child(10) { transition-delay: 540ms; }
[data-reveal-stagger].in > *:nth-child(11) { transition-delay: 600ms; }
[data-reveal-stagger].in > *:nth-child(12) { transition-delay: 660ms; }

/* Scroll-linked parallax — applied via JS sets --p (0..1) on the element */
.hero::before {
  will-change: transform;
  transform: translate3d(0, calc(var(--p, 0) * 120px), 0);
}
.hero::after {
  will-change: transform;
  transform: translate3d(0, calc(var(--p, 0) * 60px), 0);
}

/* Parallax target for showcase */
.showcase-wrap {
  position: relative;
  will-change: transform;
  transform: translate3d(0, calc(var(--p, 0) * -40px), 0);
}

/* Float card extra drift */
.float-card { will-change: transform; }

/* Reveal eyebrows: animated underline drawing */
.eyebrow::before {
  transition: width .9s var(--ease-out) .2s;
}
[data-reveal] .eyebrow::before { width: 0; }
[data-reveal].in .eyebrow::before { width: 18px; }

/* Gentle marquee on hero pills (optional, very subtle) */
.hero-pills {
  position: relative;
}

/* Scroll-driven scale + fade for big section headings */
.sec-head h2 {
  transform-origin: left center;
}

/* Subtle "fade-up + blur" variant for text-heavy blocks */
[data-reveal-blur] {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(8px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
}
[data-reveal-blur].in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Card lift on scroll-into-view (one-time pop) */
@keyframes cardPop {
  0% { transform: translateY(30px) scale(.98); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
[data-card-pop].in {
  animation: cardPop .9s var(--ease-out) both;
}

/* Magnetic button feel (driven by JS) */
.btn { will-change: transform; }

/* "Scroll-to-top" floating action */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--ink-900);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), background .25s;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px -10px rgba(0,0,0,0.5);
}
.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--invert-bg);
  color: var(--invert-fg);
  border-color: var(--invert-bg);
}
.scroll-top svg { width: 16px; height: 16px; }

/* Animated section separators */
.sep-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
  margin: 0;
  position: relative;
}
.sep-line::after {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 30%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-blue), transparent);
  filter: blur(1px);
  opacity: 0;
  transition: opacity .8s var(--ease-out), left 2.4s var(--ease-out);
}
.sep-line.in::after {
  opacity: 1;
  left: 70%;
}

/* Hover-tilt on service cards (subtle 3D) */
.svc {
  transform: translate3d(0,0,0);
  transition: background .3s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s;
}
.svc:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.4);
}

/* Industries: stagger entrance with scale */
.industries-grid[data-reveal-stagger] > .ind {
  transform: translateY(28px) scale(.96);
}
.industries-grid[data-reveal-stagger].in > .ind {
  transform: translateY(0) scale(1);
}

/* Stats: count-up shimmer */
.stat .v {
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-900) 60%, var(--ink-500) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Reduce-motion respect */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .showcase-wrap { transform: none !important; }
  .scroll-progress { display: none; }
  [data-reveal-stagger] > *, [data-reveal-blur] { transition: none; opacity: 1; transform: none; filter: none; }
}


/* ============================================================
   COMPACT REDESIGNS — Industries chips, Process tags, Why grid
   ============================================================ */

/* Industries: tag/chip layout */
.industries-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ind-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: var(--bg-tint);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  cursor: default;
  transition: background .25s, border-color .25s, transform .25s var(--ease-out), color .25s;
  position: relative;
}
.ind-chip svg {
  width: 18px; height: 18px;
  color: var(--brand-blue);
  flex-shrink: 0;
  transition: color .25s;
}
.ind-chip:hover {
  background: var(--bg-elev);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(56,189,248,0.3);
}
.ind-chip:hover svg { color: var(--brand-lime); }

/* Process: inline tags below description */
.proc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  justify-content: center;
}
.proc-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 10px;
  background: var(--tint-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-900);
  white-space: nowrap;
  transition: background .25s, border-color .25s, transform .25s var(--ease-out);
}
.proc-tag .tag-ic {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(56,189,248,0.10);
  color: var(--brand-blue);
  flex-shrink: 0;
  transition: color .25s, background .25s;
}
.proc-tag .tag-ic svg { width: 15px; height: 15px; }
.proc-tag:hover .tag-ic { color: var(--brand-lime); background: rgba(123,201,60,0.12); }
.proc-tag:hover {
  background: var(--tint-2);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

/* Why: compact 3-col grid (mini stat cards) */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 1180px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-cell {
  background: var(--bg-tint);
  padding: 22px 20px;
  display: flex; flex-direction: column;
  transition: background .25s var(--ease-out);
}
.feat-cell:hover { background: var(--bg-elev); }
.feat-cell .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  margin-bottom: 10px;
}
.feat-cell .feat-ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(56,189,248,0.14), rgba(123,201,60,0.10));
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--brand-blue);
  margin-bottom: 14px;
  transition: transform .3s var(--ease-out), color .3s;
}
.feat-cell .feat-ic svg { width: 20px; height: 20px; }
.feat-cell:hover .feat-ic { transform: translateY(-2px); color: var(--brand-lime); }
.feat-cell h4 {
  font-size: 15px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.feat-cell p {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.45;
}

/* ============================================================
   FUTURISTIC HERO BACKGROUND
   ============================================================ */
.hero {
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 12% 8%, rgba(27,155,216,0.25), transparent 60%),
    radial-gradient(700px 500px at 90% 30%, rgba(143,0,255,0.16), transparent 60%),
    radial-gradient(800px 500px at 60% 100%, rgba(123,201,60,0.14), transparent 60%);
  z-index: -2;
}

/* SVG circuit/grid layer */
.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
  overflow: hidden;
  /* Fade out behind the central text area to keep headings legible */
  mask-image: radial-gradient(ellipse 65% 55% at 35% 50%, transparent 0%, rgba(0,0,0,0.4) 40%, black 75%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 35% 50%, transparent 0%, rgba(0,0,0,0.4) 40%, black 75%);
}
.hero-bg svg {
  position: absolute;
  width: 100%;
  height: 100%;
}
.hero-bg .scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6) 50%, transparent);
  filter: blur(0.5px);
  animation: scanLine 8s linear infinite;
  opacity: 0.6;
}
@keyframes scanLine {
  0% { top: 8%; opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { top: 92%; opacity: 0; }
}

.hero-bg .grid-anim {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
}

/* Circuit traces */
.hero-bg .trace {
  fill: none;
  stroke: rgba(56, 189, 248, 0.5);
  stroke-width: 1;
}
.hero-bg .trace-dot {
  fill: var(--brand-blue);
  filter: drop-shadow(0 0 6px rgba(56,189,248,0.7));
}
.hero-bg .trace-dot.lime { fill: var(--brand-lime); filter: drop-shadow(0 0 6px rgba(123,201,60,0.7)); }

/* Pulse along trace path */
@keyframes tracePulse {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}
.hero-bg .trace-bright {
  stroke: var(--brand-blue);
  stroke-width: 1.5;
  stroke-dasharray: 12 88;
  animation: tracePulse 3s linear infinite;
  filter: drop-shadow(0 0 4px rgba(56,189,248,0.6));
}
.hero-bg .trace-bright.lime {
  stroke: var(--brand-lime);
  filter: drop-shadow(0 0 4px rgba(123,201,60,0.6));
  animation-duration: 4s;
}
.hero-bg .trace-bright.violet {
  stroke: var(--brand-violet);
  filter: drop-shadow(0 0 4px rgba(143,0,255,0.6));
  animation-duration: 5s;
}

html[data-theme="light"] .hero-bg { opacity: 0.5; }
html[data-theme="light"] .hero-bg .trace { stroke: rgba(27, 155, 216, 0.4); }

/* Coverage map: smaller US, focus on PR */
.map-wrap { padding: 16px; }

/* Process section: tighter padding when no step grid */
#process { padding: clamp(60px, 7vw, 100px) 0; }


/* ============================================================
   WEBSITE DESIGN SPOTLIGHT (featured card)
   ============================================================ */
.web-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  padding: clamp(36px, 4.5vw, 60px);
  margin-bottom: 32px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(56,189,248,0.18), transparent 60%),
    radial-gradient(500px 320px at 5% 100%, rgba(123,201,60,0.14), transparent 60%),
    var(--bg-tint);
  border: 1px solid var(--line-strong);
  color: var(--ink-900);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
.web-spotlight::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 80% at 80% 20%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 20%, black 20%, transparent 70%);
  pointer-events: none;
}
.web-spotlight:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue);
  box-shadow: 0 24px 60px -20px rgba(56,189,248,0.35);
}
.web-spotlight > * { position: relative; z-index: 1; }
@media (max-width: 880px) { .web-spotlight { grid-template-columns: 1fr; } }

.web-spot-copy { display: flex; flex-direction: column; }
.web-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 12px 5px 10px;
  background: rgba(56,189,248,0.10);
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 22px;
}
.web-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.22);
  animation: pulse 2s var(--ease-in-out) infinite;
}
.web-spot-copy h3 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.web-spot-copy > p {
  font-size: 16px;
  color: var(--ink-500);
  margin-bottom: 24px;
  max-width: 56ch;
  line-height: 1.55;
}
.web-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
}
.web-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-700);
  font-weight: 500;
}
.web-features li svg {
  width: 18px; height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue-deep), var(--brand-blue));
  color: white;
  flex-shrink: 0;
}
.web-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 13px 22px;
  background: var(--invert-bg);
  color: var(--invert-fg);
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 15px;
  transition: transform .25s var(--ease-out), box-shadow .25s;
  box-shadow: 0 8px 24px -10px rgba(56,189,248,0.4);
}
.web-spotlight:hover .web-cta {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -8px rgba(56,189,248,0.5);
}
.web-spotlight:hover .web-cta .arr { transform: translateX(4px); }
.web-cta .arr { transition: transform .3s var(--ease-out); }

/* Spotlight art column */
.web-spot-art {
  position: relative;
  min-height: 380px;
}
@media (max-width: 880px) { .web-spot-art { min-height: 320px; } }

.browser-mock {
  position: absolute;
  inset: 0;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.5), 0 0 0 1px var(--line-bright);
  transform: rotate(-1.5deg);
  transition: transform .5s var(--ease-out);
}
.web-spotlight:hover .browser-mock { transform: rotate(-0.5deg) scale(1.02); }

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.browser-bar .tl {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink-300);
  opacity: 0.4;
}
.browser-bar .tl:nth-child(1) { background: #f87171; opacity: 0.6; }
.browser-bar .tl:nth-child(2) { background: #fbbf24; opacity: 0.6; }
.browser-bar .tl:nth-child(3) { background: #4ade80; opacity: 0.6; }
.browser-bar .url {
  margin-left: 14px;
  padding: 3px 14px;
  background: var(--tint-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
  flex: 1;
  max-width: 220px;
}

.browser-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mock-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.mock-h1 {
  width: 75%;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-blue-deep), var(--brand-blue), var(--brand-lime));
  opacity: 0.85;
}
.mock-h2 {
  width: 60%;
  height: 18px;
  border-radius: 4px;
  background: var(--ink-700);
  opacity: 0.7;
}
.mock-h3 {
  width: 88%;
  height: 8px;
  border-radius: 3px;
  background: var(--ink-300);
  opacity: 0.4;
  margin-top: 4px;
}
.mock-buttons { display: flex; gap: 8px; margin-top: 8px; }
.mock-btn {
  display: inline-block;
  width: 70px; height: 22px;
  border-radius: 11px;
  background: var(--invert-bg);
}
.mock-btn.ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
}
.mock-btn.sm { width: 50px; height: 16px; border-radius: 8px; margin-top: 6px; }

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mock-card {
  background: var(--tint-1);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-card-img {
  height: 38px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(56,189,248,0.25), rgba(123,201,60,0.18));
}
.mock-card-line {
  height: 5px;
  border-radius: 3px;
  background: var(--ink-300);
  opacity: 0.4;
}
.mock-card-line.short { width: 60%; }

/* Floating elements over browser mock */
.speed-badge {
  position: absolute;
  top: 24px; right: -14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
  z-index: 2;
  animation: float 6s var(--ease-in-out) infinite;
}
.speed-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  background: linear-gradient(120deg, var(--brand-blue), var(--brand-lime));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.speed-num .u {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-500);
  -webkit-text-fill-color: var(--ink-500);
  font-weight: 500;
}
.speed-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  margin-top: 4px;
}

.mobile-mock {
  position: absolute;
  bottom: -16px; left: -14px;
  width: 86px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.55), 0 0 0 1px var(--line-bright);
  transform: rotate(6deg);
  z-index: 2;
  animation: float 6s var(--ease-in-out) -3s infinite;
}
.mobile-screen {
  background: var(--bg-soft);
  border-radius: 9px;
  padding: 14px 10px;
  height: 130px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-screen .mock-h1.sm { width: 90%; height: 8px; border-radius: 2px; }
.mobile-screen .mock-h2.sm { width: 70%; height: 6px; border-radius: 2px; }

@media (max-width: 560px) {
  .speed-badge { top: 16px; right: 8px; padding: 10px 14px; }
  .speed-num { font-size: 22px; }
  .mobile-mock { width: 70px; bottom: -10px; left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .browser-mock { transform: none; }
  .speed-badge, .mobile-mock { animation: none; }
}


/* ============================================================
   AUTO-MARQUEE CAROUSELS
   ============================================================ */

/* Wrapper that hides overflow and adds edge fade */
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  will-change: transform;
  animation: marqueeScroll var(--mq-duration, 60s) linear infinite;
}
.marquee-track > * { flex-shrink: 0; }
.marquee-track.reverse { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 7px)); } /* offset by half gap */
}

/* Stack two rows for services */
.services-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Service card sizing inside marquee — fixed width */
.services-marquee-wrap .svc {
  width: 280px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: var(--bg-tint);
}
.services-marquee-wrap .svc h4 { font-size: 14px; }

/* Industries marquee chip sizing */
.industries-marquee .ind-chip {
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}





/* Coverage row: 3 horizontal cards centered below the map+text */
.coverage-row {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 880px) {
  .coverage-row { grid-template-columns: 1fr; }
}
.cov-card {
  background: var(--bg-tint);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  transition: background .3s var(--ease-out), transform .3s var(--ease-out), border-color .3s;
}
.cov-card:hover {
  transform: translateY(-3px);
  background: var(--bg-elev);
  border-color: var(--line-bright);
}
.cov-card::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue-deep), var(--brand-blue), var(--brand-lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.cov-card:hover::after { transform: scaleX(1); }
.cov-card.highlight {
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(56,189,248,0.18), transparent 60%),
    var(--bg-tint);
  border-color: rgba(56,189,248,0.28);
}
.cov-card.highlight::after { transform: scaleX(1); }
.cov-card-ic {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(56,189,248,0.16), rgba(123,201,60,0.10));
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--brand-blue);
  margin-bottom: 16px;
}
.cov-card h4 {
  font-size: 17px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.cov-card p {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.5;
}
