/* ═══════════════════════════════════════════════════════════════
   VIPRA SOFTWARE — design.css  v1.0  (2026-06-16)
   Merged component stylesheet. All design tokens live in tokens.css.
   ──────────────────────────────────────────────────────────────
   Load order: tokens.css → design.css → content.css
   DO NOT define :root or [data-theme] blocks here.
   ═══════════════════════════════════════════════════════════════ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&family=Archivo+Black&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ═══════════════════════════════════════════════════════════════
   FROM: style.css — base reset, nav, legacy components
   ═══════════════════════════════════════════════════════════════ */
/* ──────────────────────────────────────────────
   BASE RESET
   ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--snow);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}
a { color: inherit; text-decoration: none; }
a, button { cursor: pointer; }

/* ──────────────────────────────────────────────
   SCROLLBAR
   ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--edge2); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

/* ──────────────────────────────────────────────
   LAYOUT UTILITIES
   ────────────────────────────────────────────── */
.wrap      { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 48px); }
.wrap--wide{ max-width: 1380px; margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 48px); }
.section   { padding: clamp(72px, 6vw + 40px, 120px) 0; }
.section--alt  { background: var(--bg2); border-block: 1px solid var(--edge); }
.section--alt2 { background: var(--bg3); }
.divider { height: 1px; background: var(--edge); }

/* ──────────────────────────────────────────────
   EYEBROW — stage tags, conduit teal
   ────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.eyebrow::before { content: ''; display: block; width: 26px; height: 1px; background: var(--teal); }
.eyebrow--teal { color: var(--teal); }
.eyebrow--teal::before { background: var(--teal); }

/* ──────────────────────────────────────────────
   TYPOGRAPHY
   ────────────────────────────────────────────── */
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 18px + 2.4vw, 44px);
  line-height: 1.06; letter-spacing: -0.025em; text-transform: none;
  color: var(--heading);
  text-wrap: balance;
}
.h2 .accent { color: var(--teal); }
.h2 .red    { color: var(--red);  }
.lead {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--body-text); font-weight: 400; line-height: 1.75; max-width: 56ch;
}
.teal  { color: var(--teal); }
.teal-span { color: var(--teal); font-size: 11px; font-family: var(--font-mono);
  letter-spacing: 0.07em; margin-top: 12px; display: block; }

/* ──────────────────────────────────────────────
   BUTTONS — red acts, slate assists
   ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 3px;
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.01em; text-transform: none; font-weight: 700;
  text-decoration: none; border: none; white-space: nowrap; line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn--red   { background: var(--red); color: #fff; }
.btn--red:hover { background: #B8281E; color: #fff; }
.btn--teal   { background: var(--heading); color: var(--bg); }
.btn--teal:hover { background: var(--snow2); color: var(--bg); }
[data-theme="dark"] .btn--teal:hover { background: #fff; color: #131F2A; }
.btn--ghost { background: transparent; color: var(--snow); border: 1px solid var(--edge2); }
.btn--ghost:hover { border-color: var(--heading); color: var(--heading); }
.btn--sm  { padding: 10px 17px; font-size: 13px; }
.btn--outline-red { background: transparent; color: var(--red); border: 1px solid var(--red); }
.btn--outline-red:hover { background: var(--red); color: #fff; }

/* ──────────────────────────────────────────────
   BADGES — quiet outline chips, tinted text
   ────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.04em; text-transform: none;
  padding: 3px 9px; border-radius: 2px; font-weight: 500; white-space: nowrap;
  background: transparent;
}
.badge--red   { color: var(--red);      border: 1px solid color-mix(in srgb, var(--red) 35%, transparent); }
.badge--teal  { color: var(--teal);     border: 1px solid color-mix(in srgb, var(--teal) 35%, transparent); }
.badge--blue  { color: var(--electric); border: 1px solid color-mix(in srgb, var(--electric) 35%, transparent); }
.badge--amber { color: var(--amber);    border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent); }

/* ══════════════════════════════════════════════
@keyframes themeFlash { 0%{opacity:1}40%{opacity:0.9}100%{opacity:1} }

/* ══════════════════════════════════════════════

/* ══════════════════════════════════════════════

/* Hamburger */

/* Mobile menu — ink panel, Archivo links */

/* ══════════════════════════════════════════════
   HERO (legacy markup) — ink band, Archivo display
   ══════════════════════════════════════════════ */
#hero {
  min-height: 92vh;
  display: grid; grid-template-rows: 1fr auto;
  position: relative; overflow: hidden;
  padding-top: 76px;
  background: var(--ink-2); color: var(--ink-text);
}
.hero-canvas { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-overlay {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(var(--ink-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 10%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 10%, black 30%, transparent 75%);
}
.hero-glow-1 { display: none; }
.hero-glow-2 {
  position: absolute; width: 55vw; height: 80%;
  background: radial-gradient(ellipse at center, rgba(47,201,182,0.10) 0%, transparent 65%);
  top: -20%; right: -10%; filter: none; border-radius: 0;
}
.hero-content { position: relative; z-index: 2; display: flex; align-items: center; }
.hero-inner { padding: 72px 0 56px; }
.hero-pretag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-sub); margin-bottom: 26px;
  animation: fadeUp 0.8s cubic-bezier(0.2,0.7,0.2,1) both;
}
.hero-pretag-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--flow-bright);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.3} }
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 7vw, 84px);
  line-height: 1.02; letter-spacing: -0.035em; text-transform: none;
  color: #fff;
  animation: fadeUp 0.8s cubic-bezier(0.2,0.7,0.2,1) 0.1s both;
}
.hero-title .line-teal  { color: var(--flow-bright); display: block; }
.hero-title .line-muted { color: var(--ink-sub); display: block; }
.hero-sub-row {
  display: flex; align-items: flex-start; gap: 56px;
  margin-top: 42px; flex-wrap: wrap;
  animation: fadeUp 0.8s cubic-bezier(0.2,0.7,0.2,1) 0.2s both;
}
.hero-sub { flex: 1; min-width: 280px; }
.hero-sub p { font-size: 16px; color: var(--ink-sub); font-weight: 400; line-height: 1.8; max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.hero-badges-col { flex: 1; min-width: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
#hero .badge--red, #hero .badge--blue, #hero .badge--amber { border-color: var(--ink-line); color: var(--ink-sub); }
#hero .badge--teal { border-color: var(--ink-line); color: var(--flow-bright); }
.hero-scroll-hint {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-sub);
}
.scroll-line { width: 40px; height: 1px; background: var(--ink-sub); }
.hero-stats-bar {
  position: relative; z-index: 2;
  border-top: 1px solid var(--ink-line);
  display: grid; grid-template-columns: repeat(4, 1fr);
  animation: fadeUp 0.8s cubic-bezier(0.2,0.7,0.2,1) 0.3s both;
}
.hero-stat { padding: 26px 30px; border-right: 1px solid var(--ink-line); }
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 3vw, 40px); line-height: 1;
  letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums;
}
.hero-stat-num .plus { color: var(--flow-bright); }
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-sub); margin-top: 8px;
}

/* ══════════════════════════════════════════════
   ABOUT — hairline grid of white cells
   ══════════════════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; border: 1px solid var(--edge); background: var(--edge);
}
.about-cell {
  background: var(--bg2); padding: clamp(26px, 3vw, 40px);
  position: relative; overflow: hidden;
  border-right: none;
}
.about-cell:hover { background: var(--bg2); }
.about-cell:nth-child(2n) { border-right: none; }
.about-cell-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--teal); letter-spacing: 0.12em;
  position: static; opacity: 1;
}
.about-cell-icon { display: none; }
.about-cell h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: -0.015em; text-transform: none;
  color: var(--heading); margin: 14px 0 10px;
}
.about-cell p { font-size: 14px; color: var(--body-text); line-height: 1.75; }

/* ══════════════════════════════════════════════
   SERVICES — the ledger
   ══════════════════════════════════════════════ */
.services-list { margin-top: 48px; border-top: 1px solid var(--edge); }
.service-row {
  display: grid; grid-template-columns: 56px 1.4fr 1fr 36px;
  gap: clamp(14px, 2.4vw, 28px); align-items: center;
  padding: 24px 6px; border-bottom: 1px solid var(--edge);
  text-decoration: none; position: relative;
  transition: background 0.18s, padding-left 0.18s;
}
.service-row:last-child { border-bottom: 1px solid var(--edge); }
.service-row:hover { background: var(--bg2); padding-left: 14px; }
.service-num {
  font-family: var(--font-mono); font-size: 12px; color: var(--fog);
  transition: color 0.18s;
}
.service-row:hover .service-num { color: var(--red); }
.service-info h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -0.015em; text-transform: none;
  color: var(--heading);
}
.service-info p { font-size: 13px; color: var(--body-text); line-height: 1.55; margin-top: 4px; }
.service-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.service-arrow { font-size: 16px; font-family: var(--font-mono); color: var(--fog); transition: color 0.2s, transform 0.2s; }
.service-row:hover .service-arrow { color: var(--red); transform: translateX(5px); }

/* ══════════════════════════════════════════════
   CAPABILITIES
   ══════════════════════════════════════════════ */
.cap-layout {
  display: grid; grid-template-columns: 270px 1fr;
  border: 1px solid var(--edge); background: var(--bg2); margin-top: 48px;
}
.cap-sidebar { border-right: 1px solid var(--edge); display: flex; flex-direction: column; }
.cap-tab-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left; padding: 17px 20px;
  background: none; border: none; border-bottom: 1px solid var(--edge);
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  letter-spacing: -0.01em; color: var(--body-text); cursor: pointer;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.cap-tab-btn:last-child { border-bottom: none; }
.cap-tab-btn:hover { background: var(--surface); color: var(--heading); }
.cap-tab-btn.active {
  background: var(--surface); color: var(--heading);
  border-left-color: var(--red);
}
.cap-tab-icon { font-size: 15px; filter: grayscale(1); opacity: 0.7; }
.cap-panel { padding: clamp(24px, 3vw, 40px); }
.cap-panel-content { display: none; }
.cap-panel-content.active { display: block; animation: fadeUp 0.35s ease; }
.cap-panel-content h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(21px, 2vw, 28px); letter-spacing: -0.02em; text-transform: none;
  color: var(--heading); margin-bottom: 10px;
}
.cap-panel-content .lead { margin-bottom: 26px; max-width: 100%; font-size: 14.5px; }
.cap-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--edge); border: 1px solid var(--edge); margin-bottom: 24px; }
.cap-point { background: var(--bg2); padding: 20px 22px; border: none; }
.cap-point-head {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.cap-point ul { list-style: none; }
.cap-point ul li {
  font-size: 13px; color: var(--body-text); padding: 4px 0 4px 16px;
  position: relative; line-height: 1.55;
}
.cap-point ul li::before { content: '—'; position: absolute; left: 0; color: var(--edge2); font-size: 12px; top: 4px; }
.cap-impact {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 22px; background: var(--surface);
  border: 1px solid var(--edge); border-left: 3px solid var(--teal);
}
.cap-impact-icon { display: none; }
.cap-impact-text { font-size: 13px; color: var(--body-text); line-height: 1.7; }
.cap-impact-text strong { color: var(--heading); font-family: var(--font-display); }

/* ══════════════════════════════════════════════
   TECHNOLOGIES
   ══════════════════════════════════════════════ */
.tech-categories { margin-top: 48px; border: 1px solid var(--edge); background: var(--edge); display: grid; gap: 1px; }
.tech-cat {
  display: grid; grid-template-columns: 220px 1fr; gap: 18px;
  background: var(--bg2); padding: 20px 24px; border: none; align-items: start;
}
.tech-cat:last-child { border-bottom: none; }
.tech-cat:hover { background: var(--bg2); }
.tech-cat-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--heading);
  padding-top: 5px; white-space: normal;
}
.tech-pills { display: flex; flex-wrap: wrap; gap: 7px; padding-left: 0; }
.tech-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11.5px; padding: 5px 11px;
  border: 1px solid var(--edge); border-radius: 2px; color: var(--body-text);
  transition: border-color 0.15s, color 0.15s;
}
.tech-pill:hover { border-color: var(--teal); color: var(--teal); }
.tp-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: var(--teal); }
.tp-dot.teal  { background: var(--teal); }
.tp-dot.red   { background: var(--red); }
.tp-dot.blue  { background: var(--electric); }
.tp-dot.amber { background: var(--amber); }
.tp-logo { width: 9px; height: 9px; border-radius: 2px; flex-shrink: 0; background: var(--teal); }
.tp-aws   { background: var(--amber); }
.tp-gcp   { background: var(--teal); border-radius: 50%; }
.tp-azure { background: var(--electric); }
.tech-impact-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--edge); border-top: none; background: var(--bg2);
  margin-top: 0;
}
.tech-impact-cell { padding: 26px 22px; border-right: 1px solid var(--edge); }
.tech-impact-cell:last-child { border-right: none; }
.big {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 2.6vw, 42px); line-height: 1;
  letter-spacing: -0.02em; color: var(--heading); font-variant-numeric: tabular-nums;
}
.big .red { color: var(--teal); }
.tech-impact-cell p { font-size: 12.5px; color: var(--body-text); line-height: 1.6; margin-top: 10px; }

/* ══════════════════════════════════════════════
   WHY VIPRA
   ══════════════════════════════════════════════ */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--edge); border: 1px solid var(--edge); margin-top: 48px;
}
.why-cell {
  background: var(--bg2); padding: 26px 24px 30px;
  position: relative; border: none; transition: background 0.2s;
}
.why-cell::before {
  content: attr(data-num);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--fog); display: block; margin-bottom: 24px;
  position: static; opacity: 1; background: none;
}
.why-cell:hover { background: var(--bg); }
.why-cell:nth-child(4n) { border-right: none; }
.why-cell:nth-child(n+5) { border-bottom: none; }
.why-icon { display: none; }
.why-cell h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; letter-spacing: -0.01em; text-transform: none;
  color: var(--heading); margin-bottom: 10px;
}
.why-cell p { font-size: 13px; color: var(--body-text); line-height: 1.7; margin-bottom: 14px; }
.teal-tag {
  display: inline-block; font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.08em; color: var(--teal);
}

/* ══════════════════════════════════════════════
   CASE STUDIES
   ══════════════════════════════════════════════ */
.cases-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: 48px;
}
.case-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  background: var(--bg2); border: 1px solid var(--edge); border-radius: 5px;
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.case-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.case-header { padding: 24px 24px 0; display: flex; flex-direction: column; gap: 12px; }
.case-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: -0.015em; text-transform: none;
  color: var(--heading); line-height: 1.25;
}
.case-meta {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fog); margin-top: 4px;
}
.case-impact-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.case-body { padding: 18px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; flex: 1; }
.case-section h5 {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 7px; font-weight: 500;
}
.case-section p { font-size: 12.5px; color: var(--body-text); line-height: 1.65; }
.case-tech-row {
  padding: 14px 24px; border-top: 1px solid var(--edge);
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.case-tech-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fog);
}
.case-tech-pill {
  font-family: var(--font-mono); font-size: 10.5px; padding: 3px 8px;
  border: 1px solid var(--edge); border-radius: 2px; color: var(--body-text);
}
.case-footer { padding: 16px 24px 22px; display: flex; }
.case-footer--center { justify-content: center; }
.case-footer .btn--ghost { border-color: var(--edge2); color: var(--heading); }
.case-footer .btn--ghost:hover { border-color: var(--heading); }

/* ══════════════════════════════════════════════
   GLOBAL PRESENCE
   ══════════════════════════════════════════════ */
.global-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--edge); border: 1px solid var(--edge); margin-top: 48px;
}
.global-cell {
  background: var(--bg2); padding: 24px 22px 26px;
  position: relative; border: none; transition: background 0.2s;
}
.global-cell:hover { background: var(--bg); }
.global-cell::before { display: none; }
.global-cell:hover::before { display: none; }
.global-cell.hq { background: var(--ink); color: var(--ink-text); }
.global-cell.hq::before { display: none; }
.global-flag { font-size: 20px; margin-bottom: 10px; }
.global-city {
  font-family: var(--font-display); font-weight: 800;
  font-size: 21px; letter-spacing: -0.015em; text-transform: none;
  color: var(--heading);
}
.global-cell.hq .global-city { color: #fff; }
.global-country {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--fog); margin: 2px 0 12px;
}
.global-cell.hq .global-country { color: var(--ink-sub); }
.global-role { font-size: 12.5px; color: var(--body-text); line-height: 1.65; }
.global-cell.hq .global-role { color: var(--ink-sub); }
.global-badge {
  position: absolute; top: 22px; right: 18px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 2px;
}
.global-badge.hq-b  { background: var(--red); color: #fff; border: 1px solid var(--red); }
.global-badge.reg-b { background: transparent; color: var(--fog); border: 1px solid var(--edge); }
.global-badge.intl-b{ background: transparent; color: var(--teal); border: 1px solid color-mix(in srgb, var(--teal) 35%, transparent); }
.global-email { margin-top: 14px; }
.global-email a {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--teal);
  text-decoration: none; word-break: break-all;
}
.global-email a:hover { text-decoration: underline; color: var(--teal); }
.global-cell.hq .global-email a { color: var(--flow-bright); }

/* ══════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════ */
.contact-split {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 5vw, 80px); align-items: start;
}
.contact-left .lead { margin-bottom: 0; }
.contact-items { margin-top: 36px; border-top: 1px solid var(--edge); }
.contact-item {
  display: flex; gap: 16px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--edge);
}
.contact-items .contact-item:first-child { border-top: none; }
.c-icon { display: none; }
.c-label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fog); min-width: 130px;
}
.c-val { font-size: 14px; font-weight: 500; color: var(--heading); }
.c-val a { color: var(--heading); text-decoration: none; border-bottom: 1px solid var(--edge); transition: color 0.15s, border-color 0.15s; }
.c-val a:hover { color: var(--teal); border-color: var(--teal); text-decoration: none; }
.contact-form-box {
  background: var(--bg2); border: 1px solid var(--edge);
  border-top: 3px solid var(--red); border-radius: 0;
  padding: clamp(24px, 3vw, 40px);
}
.form-label {
  display: block; font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fog2); margin: 18px 0 7px;
}
.form-label:first-of-type { margin-top: 0; }
.form-input {
  width: 100%; font-family: var(--font-body); font-size: 15px;
  color: var(--heading); background: var(--input-bg);
  border: 1px solid var(--edge); border-radius: 3px; padding: 12px 14px;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.form-input:focus { outline: none; border-color: var(--teal); background: var(--bg2); box-shadow: 0 0 0 3px var(--teal-soft); }
.form-input::placeholder { color: var(--fog); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-btn {
  margin-top: 24px; width: 100%;
  background: var(--red); color: #fff; border: none; border-radius: 3px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 15px; cursor: pointer; transition: background 0.18s;
}
.form-btn:hover { background: #B8281E; box-shadow: none; }
.form-btn:disabled { opacity: 0.6; cursor: wait; }
.form-sending { display: none; }
.form-success { display: none; text-align: center; padding: 44px 16px; }
.form-success .check { font-size: 40px; margin-bottom: 12px; color: var(--teal); }
.form-success h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 20px; letter-spacing: -0.02em; text-transform: none;
  color: var(--heading); margin-bottom: 8px;
}
.form-success p { font-size: 14px; color: var(--body-text); }
.form-error { display: none; margin-top: 12px; }
.form-error-msg {
  padding: 12px 14px; border: 1px solid var(--red); border-left-width: 3px;
  color: var(--red); font-size: 13.5px; background: var(--red-soft);
}

/* ══════════════════════════════════════════════
   FOOTER — styled by site.css (shared chrome)
   ══════════════════════════════════════════════ */
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 34px; padding: 0 12px;
  font-family: var(--font-mono); font-size: 12px;
  border: 1px solid var(--ink-line); border-radius: 2px;
  color: var(--ink-sub); text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.social-btn:hover { border-color: var(--ink-sub); color: #fff; }

/* ══════════════════════════════════════════════
   SALES & CAREERS
   ══════════════════════════════════════════════ */
.sales-careers-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.sc-panel {
  background: var(--bg2); border: 1px solid var(--edge);
  padding: clamp(26px, 3vw, 44px); position: relative;
  border-top: 3px solid var(--red);
  transition: border-color 0.2s;
}
.sc-panel:hover { border-color: var(--edge2); border-top-color: var(--red); }
.sc-panel::before { display: none; }
.sc-panel--careers { border-top-color: var(--teal); }
.sc-panel--careers:hover { border-top-color: var(--teal); }
.sc-panel--careers::before { display: none; }
.sc-panel-header { margin-bottom: 18px; }
.sc-panel-header .eyebrow { margin-bottom: 12px; }
.sc-panel-header .h2 { font-size: clamp(22px, 2.2vw, 30px); }
.sc-panel > .lead { margin-bottom: 28px; font-size: 14.5px; }
.sc-features { display: flex; flex-direction: column; gap: 0; margin-bottom: 32px; border-top: 1px solid var(--edge); }
.sc-feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 0; border: none; border-bottom: 1px solid var(--edge);
  border-radius: 0; background: transparent;
  transition: none;
}
.sc-feature:hover { border-color: var(--edge); border-bottom-color: var(--edge); }
.sc-feature-icon { display: none; }
.sc-feature strong {
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px;
  letter-spacing: -0.01em; color: var(--heading); display: block; margin-bottom: 3px;
}
.sc-feature p { font-size: 12.5px; color: var(--body-text); line-height: 1.6; margin: 0; }
.sc-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.sc-cta--center { justify-content: flex-start; }
.sc-cta--center .sc-email-label { display: block; }
.sc-email-label { font-family: var(--font-mono); font-size: 11px; color: var(--fog); }
.sc-email-label a { color: var(--teal); text-decoration: none; }
.sc-email-label a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════
   MOTION
   ══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.07s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.21s; }
.reveal-d4 { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-pretag, .hero-title, .hero-sub-row, .hero-stats-bar { animation: none; }
  .hero-pretag-dot { animation: none; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .case-cards  { grid-template-columns: repeat(2, 1fr); }
  .why-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-cell:nth-child(n+5) { border-bottom: none; }
  .global-grid { grid-template-columns: repeat(4, 1fr); }
  .sales-careers-grid { grid-template-columns: 1fr; }
  .sc-panel { padding: 36px 32px; }
}
@media (max-width: 1024px) {
  .global-grid    { grid-template-columns: repeat(2, 1fr); }
  .tech-impact-row{ grid-template-columns: repeat(2, 1fr); }
  .tech-impact-cell:nth-child(2) { border-right: none; }
  .tech-impact-cell:nth-child(n+3) { border-top: 1px solid var(--edge); }
  .hero-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(3),.hero-stat:nth-child(4) { border-top: 1px solid var(--ink-line); }
  .cap-layout  { grid-template-columns: 1fr; }
  .cap-sidebar { border-right: none; border-bottom: 1px solid var(--edge); display: flex; flex-direction: row; flex-wrap: wrap; }
  .cap-tab-btn { border-right: 1px solid var(--edge); border-left: none; border-bottom: 2px solid transparent; width: auto; flex: 1; min-width: 120px; }
  .cap-tab-btn.active { border-left: none; border-bottom-color: var(--red); }
  .tech-cat { grid-template-columns: 1fr; gap: 10px; }
  .tech-cat-label { border-right: none; padding-right: 0; padding-bottom: 4px; white-space: normal; }
  .tech-pills { padding-left: 0; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .about-grid   { grid-template-columns: 1fr; }
  .about-cell   { border-right: none !important; }
  .cases-intro  { grid-template-columns: 1fr; gap: 28px; }
  .case-cards   { grid-template-columns: 1fr; }
  .case-body    { grid-template-columns: 1fr; }
  .contact-split{ grid-template-columns: 1fr; gap: 40px; }
  .cap-points   { grid-template-columns: 1fr; }
  .service-row  { grid-template-columns: 36px 1fr auto; }
  .service-tags { display: none; }
  .hero-sub-row { gap: 28px; }
  .why-grid     { grid-template-columns: 1fr; }
  .why-cell     { border-right: none !important; border-bottom: none !important; }
  .global-grid  { grid-template-columns: repeat(2, 1fr); }
  .sales-careers-grid { grid-template-columns: 1fr; }
  .sc-panel { padding: 28px 24px; }
  .sc-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact-item { flex-direction: column; gap: 4px; }
  .c-label { min-width: 0; }
}
@media (max-width: 480px) {
  .global-grid      { grid-template-columns: 1fr; }
  .tech-impact-row  { grid-template-columns: 1fr 1fr; }
  .cases-intro      { grid-template-columns: 1fr; }
  .cap-tab-btn      { min-width: 100%; border-right: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}


/* ═══════════════════════════════════════════════════════════════
   FROM: site.css — homepage, ink-band, viprago, trust components
   ═══════════════════════════════════════════════════════════════ */
/* ── mono utility labels ─────────────────────────────── */
.stage-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--m); font-size: var(--t-mono); font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--flow);
}
.stage-tag::before { content: ""; width: 26px; height: 1px; background: var(--flow); }
.ink-band .stage-tag { color: var(--flow-bright); }
.ink-band .stage-tag::before { background: var(--flow-bright); }

.sec-title {
  font-family: var(--d); font-weight: 800; font-size: var(--t-h2);
  line-height: 1.06; letter-spacing: -.025em; margin-top: 18px;
  text-wrap: balance;
}
.sec-lead { max-width: 56ch; margin-top: 18px; color: var(--steel); }
.ink-band .sec-lead { color: var(--ink-sub); }

.chip {
  display: inline-block; font-family: var(--m); font-size: 11px;
  letter-spacing: .04em; padding: 3px 9px; border: 1px solid var(--line);
  color: var(--steel); border-radius: 2px; white-space: nowrap;
}
.chip--flow { color: var(--flow); border-color: color-mix(in srgb, var(--flow) 35%, transparent); }
.ink-band .chip { border-color: var(--ink-line); color: var(--ink-sub); }
.ink-band .chip--flow { color: var(--flow-bright); }

/* ── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--d); font-weight: 700; font-size: 15px;
  letter-spacing: .01em; text-decoration: none; line-height: 1;
  padding: 16px 26px; border-radius: 3px;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn .ar { font-family: var(--m); font-weight: 400; transition: transform .18s; }
.btn:hover .ar { transform: translateX(4px); }
.btn--signal { background: var(--signal); color: #fff; }
.btn--signal:hover { background: var(--signal-deep); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.ink-band .btn--ghost { border-color: var(--ink-line); color: var(--ink-text); }
.ink-band .btn--ghost:hover { border-color: var(--ink-text); }
.btn--sm { padding: 11px 18px; font-size: 13px; }

/* ── reveal motion (one quiet move; hero owns the show) ─ */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ════ NAV ════ */
#nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  background: color-mix(in srgb, var(--ink-2) 82%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
#nav.stuck { border-bottom-color: var(--ink-line); background: color-mix(in srgb, var(--ink-2) 94%, transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: baseline; gap: 9px; text-decoration: none; }
.logo-word { font-family: var(--d); font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: #fff; }
.logo-word i { font-style: normal; color: var(--signal); }
.logo-sub { font-family: var(--m); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-sub); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links li { list-style: none; }
.nav-links a {
  font-family: var(--b); font-weight: 500; font-size: 13.5px;
  color: var(--ink-sub); text-decoration: none; padding: 8px 11px;
  border-radius: 3px; transition: color .15s;
}
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta {
  margin-left: 10px; background: var(--signal); color: #fff;
  font-family: var(--d); font-weight: 700; padding: 10px 18px;
  transition: background .15s;
}
.nav-links .nav-cta:hover { background: var(--signal-deep); color: #fff; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.burger span { width: 22px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 64px 0 0 0; z-index: 190;
  background: var(--ink-2); padding: 28px var(--gut) 48px;
  display: none; flex-direction: column; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--d); font-weight: 700; font-size: 26px;
  letter-spacing: -.01em; color: var(--ink-text); text-decoration: none;
  padding: 13px 0; border-bottom: 1px solid var(--ink-line);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a::after { content: "→"; font-family: var(--m); font-size: 15px; color: var(--flow-bright); }
.mobile-menu a:hover { color: #fff; }
.mobile-menu .mm-contact { color: var(--signal); }

/* ════ SIGNATURE: THE DAG RAIL ════
   The site reads as a pipeline run — each section is a stage.
   The rail tracks the run down the left edge of wide screens. */
#rail {
  position: fixed; left: 22px; top: 50%; transform: translateY(-50%);
  z-index: 150; display: none;
}
@media (min-width: 1320px) { #rail { display: block; } }
.rail-track { position: relative; display: flex; flex-direction: column; gap: 22px; padding-left: 16px; }
.rail-track::before {
  content: ""; position: absolute; left: 3.5px; top: 6px; bottom: 6px;
  width: 1px; background: var(--line);
}
#rail.on-dark .rail-track::before { background: var(--ink-line); }
.rail-track::after {
  content: ""; position: absolute; left: 3.5px; top: 6px;
  width: 1px; height: var(--run, 0%); max-height: calc(100% - 12px);
  background: var(--flow); transition: height .2s linear;
}
.rail-node { position: relative; display: flex; align-items: center; text-decoration: none; }
.rail-node::before {
  content: ""; position: absolute; left: -16px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--paper); border: 1.5px solid var(--steel);
  transition: background .2s, border-color .2s, transform .2s;
}
#rail.on-dark .rail-node::before { background: var(--ink-2); border-color: var(--ink-sub); }
.rail-node span {
  font-family: var(--m); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: transparent; padding-left: 10px;
  transition: color .2s;
}
.rail-node:hover span, .rail-node:focus-visible span { color: var(--steel); }
#rail.on-dark .rail-node:hover span { color: var(--ink-sub); }
.rail-node.live::before { background: var(--flow); border-color: var(--flow); transform: scale(1.25); }
.rail-node.live span { color: var(--flow); }
#rail.on-dark .rail-node.live span { color: var(--flow-bright); }

/* ════ HERO ════ */
#hero {
  position: relative; background: var(--ink-2); color: var(--ink-text);
  padding-top: 64px; overflow: hidden;
}
.hero-blueprint {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(var(--ink-line) 1px, transparent 1px) 0 0 / 100% 96px,
    linear-gradient(90deg, var(--ink-line) 1px, transparent 1px) 0 0 / 96px 100%;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 10%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 10%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; right: -10%; top: -20%; width: 55vw; height: 80%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(47,201,182,.10) 0%, transparent 65%);
}
.hero-grid {
  position: relative; display: grid; gap: clamp(36px, 5vw, 72px);
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end; padding: clamp(64px, 9vh, 120px) 0 clamp(48px, 7vh, 88px);
}
.hero-eyebrow {
  font-family: var(--m); font-size: var(--t-mono); letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-sub);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--flow-bright);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero-h1 {
  font-family: var(--d); font-weight: 800; font-size: var(--t-hero);
  line-height: 1.03; letter-spacing: -.035em; color: #fff;
  margin-top: 26px; max-width: 14ch; text-wrap: balance;
}
.hero-h1 .num { color: var(--flow-bright); font-variant-numeric: tabular-nums; }
.hero-sub { margin-top: 26px; max-width: 52ch; color: var(--ink-sub); font-size: clamp(1rem, .95rem + .35vw, 1.125rem); }
.hero-sub strong { color: var(--ink-text); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }

/* hero entrance — the one orchestrated moment */
.js .rise { opacity: 0; transform: translateY(22px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.js .rise-1 { animation-delay: .05s; } .js .rise-2 { animation-delay: .18s; }
.js .rise-3 { animation-delay: .34s; } .js .rise-4 { animation-delay: .5s; }
.js .rise-5 { animation-delay: .64s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rise, .js .rise { opacity: 1; transform: none; animation: none; }
  .hero-eyebrow .dot { animation: none; }
}

/* the run console */
.term {
  background: var(--ink-3); border: 1px solid var(--ink-line);
  border-radius: 5px; overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.6);
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid var(--ink-line);
}
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-line); }
.term-bar i:first-child { background: var(--signal); }
.term-bar span { margin-left: auto; font-family: var(--m); font-size: 10px; letter-spacing: .12em; color: var(--ink-sub); }
.term-body {
  font-family: var(--m); font-size: 12.5px; line-height: 1.9;
  padding: 16px 18px 18px; min-height: 248px; color: var(--ink-sub);
}
.term-body .t-cmd { color: var(--ink-text); }
.term-body .t-cmd::before { content: "$ "; color: var(--flow-bright); }
.term-body .t-ok { color: var(--ink-sub); }
.term-body .t-ok b { color: var(--flow-bright); font-weight: 500; }
.term-body .t-ok::before { content: "  ✓ "; color: var(--flow-bright); }
.term-body .t-note { color: var(--steel); }
.term-caret {
  display: inline-block; width: 7px; height: 14px; vertical-align: -2px;
  background: var(--flow-bright); animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .term-caret { animation: none; } }

/* hero stats — the row the page stands on */
.hero-stats {
  position: relative; border-top: 1px solid var(--ink-line);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 26px 18px 30px; border-left: 1px solid var(--ink-line); }
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--d); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  letter-spacing: -.02em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-num .plus { color: var(--flow-bright); }
.stat-label { font-family: var(--m); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-sub); margin-top: 9px; }

/* ════ TICKER ════ */
.ticker {
  background: var(--ink-2); border-top: 1px solid var(--ink-line);
  overflow: hidden; padding: 13px 0; position: relative;
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--ink-2), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--ink-2), transparent); }
.ticker-track { display: flex; gap: 44px; width: max-content; animation: tick 46s linear infinite; }
.ticker-track span {
  font-family: var(--m); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-sub); white-space: nowrap;
  display: flex; align-items: center; gap: 44px;
}
.ticker-track span::after { content: "·"; color: var(--flow-bright); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ════ SECTIONS ════ */
.section { padding: var(--sp) 0; }
.section--card { background: var(--card); border-block: 1px solid var(--line); }
.ink-band { background: var(--ink-2); color: var(--ink-text); }

/* ── about ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px;
  border: 1px solid var(--line); background: var(--line); gap: 1px;
}
.a-cell { background: var(--card); padding: clamp(24px, 3vw, 40px); position: relative; }
.a-num { font-family: var(--m); font-size: 11px; color: var(--flow); letter-spacing: .12em; }
.a-cell h3 { font-family: var(--d); font-weight: 700; font-size: var(--t-h3); letter-spacing: -.015em; margin: 14px 0 10px; }
.a-cell p { font-size: var(--t-small); color: var(--steel); line-height: 1.75; }
.a-loc { display: block; margin-top: 14px; font-family: var(--m); font-size: 11px; letter-spacing: .06em; color: var(--flow); }

/* ── services: the ledger ── */
.svc-list { margin-top: 56px; border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 64px minmax(0,1.3fr) minmax(0,1fr) 40px;
  gap: clamp(14px, 2.4vw, 32px); align-items: center;
  padding: 26px 6px; border-bottom: 1px solid var(--line);
  text-decoration: none; position: relative;
  transition: background .18s, padding-left .18s;
}
.svc-row:hover { background: var(--card); padding-left: 14px; }
.svc-num { font-family: var(--m); font-size: 12px; color: var(--steel); transition: color .18s; }
.svc-row:hover .svc-num { color: var(--signal); }
.svc-row h3 { font-family: var(--d); font-weight: 700; font-size: clamp(1.05rem, 1rem + .6vw, 1.4rem); letter-spacing: -.015em; color: var(--ink); }
.svc-row p { font-size: 13px; color: var(--steel); margin-top: 4px; }
.svc-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.svc-arrow { font-family: var(--m); color: var(--steel); transition: transform .18s, color .18s; text-align: right; }
.svc-row:hover .svc-arrow { transform: translateX(5px); color: var(--signal); }

/* ── capabilities ── */
.cap-wrap { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: clamp(24px, 3.5vw, 56px); margin-top: 56px; align-items: start; }
.cap-tabs { display: flex; flex-direction: column; border-left: 1px solid var(--line); position: sticky; top: 96px; }
.cap-tab {
  text-align: left; padding: 15px 18px; font-family: var(--d); font-weight: 600;
  font-size: 15px; color: var(--steel); letter-spacing: -.01em;
  border-left: 2px solid transparent; margin-left: -1px;
  transition: color .15s, border-color .15s;
  display: flex; align-items: baseline; gap: 12px;
}
.cap-tab em { font-style: normal; font-family: var(--m); font-size: 10.5px; font-weight: 400; color: var(--steel); }
.cap-tab:hover { color: var(--ink); }
.cap-tab[aria-selected="true"] { color: var(--ink); border-left-color: var(--signal); }
.cap-tab[aria-selected="true"] em { color: var(--signal); }
.cap-panel-content { display: none; }
.cap-panel-content.active { display: block; animation: panel .35s ease; }
@keyframes panel { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .cap-panel-content.active { animation: none; } }
.cap-panel-content h3 { font-family: var(--d); font-weight: 800; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); letter-spacing: -.02em; }
.cap-panel-content > .cap-lead { color: var(--steel); margin-top: 12px; max-width: 62ch; }
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; }
.cap-col { background: var(--card); padding: 22px 24px; }
.cap-col-h { font-family: var(--m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--flow); margin-bottom: 12px; }
.cap-col li { font-size: 13.5px; color: var(--steel); padding: 4.5px 0 4.5px 16px; position: relative; line-height: 1.55; }
.cap-col li::before { content: "—"; position: absolute; left: 0; color: var(--line); }
.cap-impact {
  margin-top: 24px; padding: 20px 24px; background: var(--card);
  border: 1px solid var(--line); border-left: 3px solid var(--flow);
  font-size: var(--t-small); color: var(--steel); line-height: 1.7;
}
.cap-impact strong { color: var(--ink); font-family: var(--d); }

/* ── technologies ── */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
.t-cat { background: var(--card); padding: 24px 26px; }
.t-cat-h { font-family: var(--m); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.t-cat-h::before { content: ""; width: 7px; height: 7px; background: var(--flow); }
.t-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.t-pill {
  font-family: var(--m); font-size: 11.5px; padding: 5px 11px;
  border: 1px solid var(--line); color: var(--steel); border-radius: 2px;
  transition: border-color .15s, color .15s;
}
.t-pill:hover { border-color: var(--flow); color: var(--flow); }
.impact-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-top: 0; background: var(--card); }
.imp-cell { padding: 26px 22px; border-left: 1px solid var(--line); }
.imp-cell:first-child { border-left: 0; }
.imp-num { font-family: var(--d); font-weight: 800; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); letter-spacing: -.02em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.imp-num b { color: var(--flow); font-weight: 800; }
.imp-cell p { font-size: 12.5px; color: var(--steel); margin-top: 10px; line-height: 1.6; }

/* ── why ── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
.w-cell { background: var(--card); padding: 26px 24px 30px; position: relative; transition: background .2s; }
.w-cell:hover { background: var(--paper); }
.w-num { font-family: var(--m); font-size: 11px; color: var(--steel); letter-spacing: .12em; }
.w-cell h3 { font-family: var(--d); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; margin: 30px 0 10px; }
.w-cell p { font-size: 13px; color: var(--steel); line-height: 1.7; }
.w-tag { display: inline-block; margin-top: 16px; font-family: var(--m); font-size: 10.5px; letter-spacing: .08em; color: var(--flow); }

/* ── case studies (dark band) ── */
.cases-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.feat {
  margin-top: 56px; display: grid; grid-template-columns: minmax(0,1fr) 240px;
  border: 1px solid var(--ink-line); background: var(--ink-3); border-radius: 5px; overflow: hidden;
}
.feat-main { padding: clamp(26px, 3.5vw, 44px); }
.feat-flag {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--m);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--signal);
}
.feat-flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: pulse 1.6s infinite; }
.feat-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 16px; }
.feat-title { font-family: var(--d); font-weight: 800; font-size: clamp(1.35rem, 1.1rem + 1.4vw, 2rem); letter-spacing: -.02em; line-height: 1.12; color: #fff; margin-top: 16px; }
.feat-title b { color: var(--flow-bright); font-weight: 800; }
.feat-main > p { font-size: var(--t-small); color: var(--ink-sub); max-width: 62ch; margin-top: 12px; }
.feat-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 24px; }
.feat-stat .n { font-family: var(--d); font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: -.01em; }
.feat-stat .n b { color: var(--flow-bright); font-size: 1rem; font-weight: 700; }
.feat-stat .l { font-family: var(--m); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-sub); margin-top: 3px; }
.feat-side {
  border-left: 1px solid var(--ink-line); padding: 32px 26px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px; background: var(--ink-2);
}
.feat-views { font-family: var(--d); font-weight: 800; font-size: 2.8rem; line-height: 1; color: #fff; }
.feat-views b { color: var(--signal); }
.feat-views-l { font-family: var(--m); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-sub); margin-bottom: 16px; }
.feat-meta { font-family: var(--m); font-size: 9.5px; letter-spacing: .1em; color: var(--ink-sub); margin-top: 10px; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.case-card {
  border: 1px solid var(--ink-line); background: var(--ink-3); border-radius: 5px;
  padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.case-card:hover { border-color: rgba(47,201,182,.4); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .case-card:hover { transform: none; } }
.case-meta { font-family: var(--m); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-sub); }
.case-title { font-family: var(--d); font-weight: 700; font-size: 1.2rem; letter-spacing: -.015em; color: #fff; margin-top: 8px; }
.case-pills { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.case-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.case-cols h5 { font-family: var(--m); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--flow-bright); margin-bottom: 7px; font-weight: 500; }
.case-cols p { font-size: 12.5px; color: var(--ink-sub); line-height: 1.65; }
.case-stack { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ink-line); font-family: var(--m); font-size: 11px; color: var(--ink-sub); line-height: 2; }
.case-stack b { color: var(--flow-bright); font-weight: 500; }
.case-foot { margin-top: 20px; }
.case-link {
  font-family: var(--d); font-weight: 700; font-size: 13.5px; color: #fff;
  text-decoration: none; display: inline-flex; gap: 8px; align-items: center;
}
.case-link .ar { font-family: var(--m); color: var(--signal); transition: transform .18s; }
.case-link:hover .ar { transform: translateX(4px); }
.cases-more { margin-top: 56px; text-align: center; }
.cases-more p { font-family: var(--m); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-sub); margin-bottom: 22px; }
.cases-more .btn { margin: 6px; }

/* ── global ── */
.global-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
.g-cell { background: var(--card); padding: 24px 22px 26px; position: relative; }
.g-cell.g-hq { background: var(--ink); color: var(--ink-text); }
.g-code { font-family: var(--m); font-size: 10.5px; letter-spacing: .14em; color: var(--flow); }
.g-hq .g-code { color: var(--flow-bright); }
.g-city { font-family: var(--d); font-weight: 800; font-size: 1.35rem; letter-spacing: -.015em; margin-top: 10px; }
.g-country { font-family: var(--m); font-size: 10.5px; letter-spacing: .08em; color: var(--steel); margin-top: 2px; }
.g-hq .g-country { color: var(--ink-sub); }
.g-role { font-size: 12.5px; color: var(--steel); line-height: 1.65; margin-top: 12px; }
.g-hq .g-role { color: var(--ink-sub); }
.g-mail { margin-top: 14px; font-family: var(--m); font-size: 10.5px; word-break: break-all; }
.g-mail a { color: var(--flow); text-decoration: none; }
.g-mail a:hover { text-decoration: underline; }
.g-hq .g-mail a { color: var(--flow-bright); }
.g-badge {
  position: absolute; top: 22px; right: 18px; font-family: var(--m);
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid var(--line); color: var(--steel); border-radius: 2px;
}
.g-hq .g-badge { border-color: var(--signal); color: #fff; background: var(--signal); }

/* ── contact ── */
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.c-items { margin-top: 36px; border-top: 1px solid var(--line); }
.c-item { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.c-label { font-family: var(--m); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.c-val { font-size: var(--t-small); font-weight: 500; word-break: break-word; }
.c-val a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .15s, color .15s; }
.c-val a:hover { color: var(--flow); border-color: var(--flow); }

.form-box { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--signal); padding: clamp(24px, 3vw, 40px); }
.form-box h3 { font-family: var(--d); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; }
.form-box .form-note { font-size: 13px; color: var(--steel); margin: 6px 0 26px; }
.form-label { display: block; font-family: var(--m); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin: 18px 0 7px; }
.form-label:first-of-type { margin-top: 0; }
.form-input {
  width: 100%; font-family: var(--b); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  padding: 13px 14px; transition: border-color .15s, background .15s;
}
.form-input:focus { outline: none; border-color: var(--flow); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--flow) 18%, transparent); }
textarea.form-input { min-height: 130px; resize: vertical; }
.form-btn {
  margin-top: 26px; width: 100%; background: var(--signal); color: #fff;
  font-family: var(--d); font-weight: 700; font-size: 15px;
  padding: 16px; border-radius: 3px; transition: background .18s;
}
.form-btn:hover { background: var(--signal-deep); }
.form-btn:disabled { opacity: .6; cursor: wait; }
.form-error { display: none; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--signal); border-left-width: 3px; color: var(--signal-deep); font-size: 13.5px; background: color-mix(in srgb, var(--signal) 6%, #fff); }
.form-success { display: none; text-align: center; padding: 48px 12px; }
.form-success .check { width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; border: 2px solid var(--flow); color: var(--flow); font-size: 24px; line-height: 48px; }
.form-success h3 { font-family: var(--d); font-weight: 800; font-size: 1.3rem; }
.form-success p { color: var(--steel); font-size: 14px; margin-top: 8px; }

/* ── sales & careers ── */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-panel { background: var(--card); border: 1px solid var(--line); padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; }
.duo-panel--careers { border-top: 3px solid var(--flow); }
.duo-panel--sales { border-top: 3px solid var(--signal); }
.duo-panel .sec-lead { font-size: var(--t-small); }
.duo-feats { margin-top: 28px; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); flex: 1; }
.duo-feat { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.duo-feat i { font-family: var(--m); font-style: normal; font-size: 11px; color: var(--flow); padding-top: 3px; }
.duo-panel--sales .duo-feat i { color: var(--signal); }
.duo-feat strong { font-family: var(--d); font-weight: 700; font-size: 15px; letter-spacing: -.01em; display: block; }
.duo-feat p { font-size: 13px; color: var(--steel); margin-top: 3px; line-height: 1.6; }
.duo-cta { margin-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.duo-email { font-family: var(--m); font-size: 11px; color: var(--steel); }
.duo-email a { color: var(--flow); text-decoration: none; }
.duo-email a:hover { text-decoration: underline; }

/* ── footer ── */
footer { background: var(--ink-2); color: var(--ink-sub); padding: 72px 0 36px; }
.f-grid { display: grid; grid-template-columns: minmax(0,1.6fr) repeat(3, minmax(0,1fr)); gap: clamp(28px, 4vw, 56px); }
.f-brand p { font-size: 13.5px; line-height: 1.7; margin-top: 16px; max-width: 36ch; }
.f-socials { display: flex; gap: 10px; margin-top: 22px; }
.f-socials a {
  font-family: var(--m); font-size: 12px; text-decoration: none; color: var(--ink-sub);
  border: 1px solid var(--ink-line); padding: 8px 13px; border-radius: 2px;
  transition: color .15s, border-color .15s;
}
.f-socials a:hover { color: #fff; border-color: var(--ink-sub); }
.f-grid ul, .f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col h5 { font-family: var(--m); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-text); margin-bottom: 18px; font-weight: 500; }
.f-col li { margin-bottom: 9px; }
.f-col a { font-size: 13.5px; color: var(--ink-sub); text-decoration: none; transition: color .15s; }
.f-col a:hover { color: var(--flow-bright); }
.f-bottom {
  margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--ink-line);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px;
}
.f-bottom a { color: var(--ink-text); text-decoration: none; }
.f-mono { font-family: var(--m); font-size: 10.5px; letter-spacing: .08em; }

/* ════ RESPONSIVE ════ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .global-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .term { max-width: 560px; }
}
@media (max-width: 880px) {
  .cap-wrap { grid-template-columns: 1fr; }
  .cap-tabs { position: static; flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 0; gap: 2px; -webkit-overflow-scrolling: touch; }
  .cap-tab { border-left: 0; border-bottom: 2px solid transparent; margin: 0 0 -1px 0; white-space: nowrap; padding: 12px 14px; }
  .cap-tab[aria-selected="true"] { border-bottom-color: var(--signal); }
  .case-grid { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; }
  .feat-side { border-left: 0; border-top: 1px solid var(--ink-line); flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; padding: 22px 26px; }
  .feat-views-l { margin-bottom: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .duo-grid { grid-template-columns: 1fr; }
  .cases-head { grid-template-columns: 1fr; align-items: start; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 40px minmax(0,1fr) 28px; }
  .svc-chips { display: none; }
}
@media (max-width: 640px) {
  .about-grid, .tech-grid, .cap-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--ink-line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .impact-row { grid-template-columns: 1fr 1fr; }
  .imp-cell:nth-child(3) { border-left: 0; }
  .imp-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .case-cols { grid-template-columns: 1fr; }
  .c-item { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 420px) {
  .global-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .f-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────
   LOGO STRIP — "Trusted by" client logos between hero and about
───────────────────────────────────────────────────────────────── */
.logo-strip {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.logo-strip__label {
  font-family: var(--m);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
  text-align: center;
  margin-bottom: 28px;
}
.logo-strip__rail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.logo-slot {
  color: var(--steel);
  opacity: .6;
  transition: opacity .25s ease;
  display: flex;
  align-items: center;
}
.logo-slot:hover { opacity: 1; }
.logo-slot svg,
.logo-slot img {
  display: block;
  max-width: 140px;
  max-height: 40px;
  width: auto;
  height: auto;
  /* Force monochrome on light bg; invert handles dark mode */
  filter: grayscale(1);
}
[data-theme="dark"] .logo-slot { color: var(--ink-sub, #93A4AF); }
[data-theme="dark"] .logo-slot svg,
[data-theme="dark"] .logo-slot img { filter: grayscale(1) brightness(1.6); }

@media (max-width: 600px) {
  .logo-strip__rail { gap: 24px; }
  .logo-slot svg, .logo-slot img { max-width: 90px; }
}

/* ─────────────────────────────────────────────────────────────────
   TRUST STRIP — security/compliance signals before contact
───────────────────────────────────────────────────────────────── */
.trust-strip {
  padding: 32px 0;
  background: var(--ink-2, #0D161F);
  border-top: 1px solid var(--ink-line, rgba(233,238,241,.1));
  border-bottom: 1px solid var(--ink-line, rgba(233,238,241,.1));
}
.trust-strip__label {
  font-family: var(--m);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-sub, #93A4AF);
  text-align: center;
  margin-bottom: 20px;
}
.trust-strip__rail {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 0; margin: 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-sub, #93A4AF);
  font-family: var(--m);
  font-size: 11px;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color .2s ease;
}
.trust-badge:hover { color: var(--ink-text, #E9EEF1); }
.trust-badge svg { flex-shrink: 0; }

@media (max-width: 700px) {
  .trust-strip__rail { gap: 18px; }
  .trust-badge { font-size: 10px; }
  .trust-badge span { display: none; }   /* icons only on mobile */
  .trust-badge:hover span { display: inline; }
}
