/* =====================================================================
   TECH STAFF GLOBAL  |  Redesign mockup stylesheet
   ---------------------------------------------------------------------
   EDIT HERE FIRST: brand tokens (colors, type, spacing, radius, motion).
   Everything below reads from these variables.
   ===================================================================== */
:root {
  /* Brand colors (sampled from the new logo) */
  --navy-950: #000a1f;      /* deepest page background */
  --navy-900: #000f2e;      /* alt section background */
  --navy-800: #001640;      /* logo navy */
  --navy-700: #002562;
  --navy-600: #023576;
  --blue-500: #0074eb;      /* electric blue (primary) */
  --blue-400: #019beb;      /* sky blue (secondary) */
  --cyan-300: #65c8eb;      /* highlight */
  --silver-300: #c4cdd9;    /* lines, muted text */
  --silver-500: #9aa5b5;
  --white: #f0f5fb;

  /* Semantic */
  --bg: var(--navy-950);
  --bg-alt: var(--navy-900);
  --text: #e3eaf3;
  --text-muted: #a3b1c4;
  --text-dim: #7d8ba0;
  --line: rgba(196, 205, 217, 0.14);
  --line-strong: rgba(196, 205, 217, 0.28);
  --glass: rgba(10, 32, 74, 0.42);
  --glass-strong: rgba(10, 34, 80, 0.66);
  --glow: 0 0 0 1px rgba(1, 155, 235, 0.35), 0 10px 40px -10px rgba(0, 116, 235, 0.55);
  --grad-brand: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-400) 55%, var(--cyan-300) 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, var(--cyan-300) 45%, var(--blue-400) 100%);

  /* Placeholder highlight (things Stephen must replace) */
  --ph-color: #ffb547;
  --ph-bg: rgba(255, 181, 71, 0.10);

  /* Typography */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fs-hero: clamp(2.6rem, 1.5rem + 3.9vw, 4.4rem);
  --fs-h1: clamp(2.2rem, 1.5rem + 3vw, 3.75rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 2.1vw, 3rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  /* Spacing & layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem;  --space-6: 2rem;   --space-7: 3rem;    --space-8: 4rem;
  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.6s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--cyan-300); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-display); color: #fff; line-height: 1.1; margin: 0 0 var(--space-4); letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-4); }
ul { padding-left: 1.1rem; }
::selection { background: var(--blue-500); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan-300); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; color: var(--navy-800); padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section-y) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: calc(var(--section-y) * 0.6) 0; }
.section-head { max-width: 760px; margin-bottom: var(--space-7); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: var(--fs-lead); color: var(--text-muted); line-height: 1.6; }
.muted { color: var(--text-muted); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Small technical label, e.g. "// 01  SPECIALTIES" */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--space-4);
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-300);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan-300)); }
.mono { font-family: var(--font-mono); }

/* Thin section divider with a traveling pulse */
.rule { position: relative; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); overflow: hidden; }
.rule::after { content: ""; position: absolute; top: 0; left: -20%; width: 20%; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-400), transparent); animation: travel 6s linear infinite; }
@keyframes travel { to { left: 120%; } }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--blue-500);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 30px -8px rgba(0, 116, 235, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 40px -6px rgba(1, 155, 235, .95), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { background: rgba(255,255,255,0.03); color: #fff; border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { color: #fff; border-color: var(--cyan-300); box-shadow: 0 0 0 1px rgba(101,200,235,.35), 0 0 30px -6px rgba(101,200,235,.5); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--cyan-300); }
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-open { background: rgba(0, 10, 31, 0.78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 46px; height: auto; filter: drop-shadow(0 0 10px rgba(1,155,235,.35)); }
.brand-word { width: 150px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a.nav-link { position: relative; display: block; padding: 8px 11px; white-space: nowrap; color: var(--text-muted); font-size: .93rem; font-weight: 500; transition: color .2s; }
.main-nav a.nav-link:hover, .main-nav a.nav-link[aria-current="page"] { color: #fff; }
.main-nav a.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad-brand); box-shadow: 0 0 10px var(--blue-400); }
.nav-ctas { display: flex; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1320px) {
  .nav-ctas .btn-ghost { display: none; }
}
@media (max-width: 1140px) {
  .main-nav { gap: 14px; }
  .main-nav a.nav-link { padding: 8px 9px; }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 24px; padding: 24px var(--gutter) 40px;
    background: linear-gradient(180deg, #000a1f, #001233); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .is-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a.nav-link { padding: 16px 4px; font-size: 1.25rem; font-family: var(--font-display); color: #fff; border-bottom: 1px solid var(--line); }
  .main-nav a.nav-link[aria-current="page"]::after { left: 0; right: auto; width: 3px; top: 16px; bottom: 16px; height: auto; left: -12px; }
  .nav-ctas { flex-direction: column; }
  .nav-ctas .btn-ghost { display: inline-flex; }
  .nav-ctas .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand-word { width: 128px; } .brand-mark { width: 40px; } }

/* Homepage: brand logo at 3x the standard header size (mark 46px -> 138px, wordmark 150px -> 450px).
   At the top of the homepage the header uses two rows (logo, then nav). Once scrolled it returns to the standard compact header. */
body.home { --header-h: 210px; }
body.home .site-header { transition: background .3s, border-color .3s, backdrop-filter .3s, height .3s var(--ease); }
body.home .brand { gap: 30px; transition: gap .3s var(--ease); }
body.home .brand-mark { width: 138px; transition: width .3s var(--ease); }
body.home .brand-word { width: 450px; transition: width .3s var(--ease); }
@media (min-width: 981px) {
  body.home .site-header:not(.is-scrolled) .nav-wrap { flex-wrap: wrap; align-content: center; row-gap: 14px; }
  body.home .site-header:not(.is-scrolled) .brand { flex-basis: 100%; }
  body.home .site-header:not(.is-scrolled) .main-nav { flex: 1; justify-content: space-between; }
  body.home .site-header:not(.is-scrolled) .main-nav ul { margin-left: -11px; }
}
@media (max-width: 980px) {
  body.home { --brand-avail: calc(100vw - 2 * var(--gutter) - 44px - 24px - 30px); --header-h: calc(min(123px, var(--brand-avail) * .2097) + 36px); }
  body.home .brand-mark { width: min(138px, calc(var(--brand-avail) * .2347)); }
  body.home .brand-word { width: min(450px, calc(var(--brand-avail) * .7653)); }
}
body.home .site-header.is-scrolled { --header-h: 76px; }
body.home .site-header.is-scrolled .brand { gap: 10px; }
body.home .site-header.is-scrolled .brand-mark { width: 46px; }
body.home .site-header.is-scrolled .brand-word { width: 150px; }
@media (max-width: 420px) { body.home .site-header.is-scrolled .brand-word { width: 128px; } body.home .site-header.is-scrolled .brand-mark { width: 40px; } }

/* ---------- Backgrounds: grid, glow, canvas ---------- */
.bg-grid { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.bg-glow { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; filter: blur(90px); opacity: .55; }
.bg-glow--a { width: 620px; height: 620px; background: radial-gradient(circle, rgba(0,116,235,.55), transparent 70%); top: -180px; right: -120px; }
.bg-glow--b { width: 520px; height: 520px; background: radial-gradient(circle, rgba(101,200,235,.28), transparent 70%); bottom: -220px; left: -160px; }
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.rel { position: relative; z-index: 1; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: min(100vh, 940px); padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(3rem, 6vw, 5rem); display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 70% 30%, rgba(0, 37, 98, .9), transparent 70%), var(--bg); }
.hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: var(--space-5); }
.hero .lead { max-width: 580px; margin-bottom: var(--space-6); }
.hero-tagline { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; margin-bottom: var(--space-5); border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(1,155,235,.08); font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--silver-300); }
.hero-tagline .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-300); box-shadow: 0 0 0 4px rgba(101,200,235,.18), 0 0 12px var(--cyan-300); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(101,200,235,0), 0 0 18px var(--cyan-300); } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: var(--space-6); font-family: var(--font-mono); font-size: .78rem; color: var(--text-dim); letter-spacing: .06em; text-transform: uppercase; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--cyan-300); transform: rotate(45deg); }

.hero-visual { position: relative; aspect-ratio: 1 / 1; width: 128%; max-width: 680px; justify-self: start; margin-right: -28%; }
.hero-visual .globe-box { position: absolute; inset: 0; }
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual .orbit { position: absolute; inset: 2%; border-radius: 50%; border: 1px dashed rgba(196,205,217,.16); animation: spin 60s linear infinite; }
.hero-visual .orbit--2 { inset: -4%; border-style: solid; border-color: rgba(1,155,235,.10); animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual .hero-mark { position: absolute; width: 20%; left: 50%; top: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 0 30px rgba(1,155,235,.6)); opacity: .95; }

/* Floating "vetting record" glass card in hero */
.scan-card { position: absolute; z-index: 2; left: -2%; bottom: 4%; width: min(290px, 70%); padding: 16px 18px; border-radius: var(--radius); background: var(--glass-strong); border: 1px solid var(--line-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 60px -20px rgba(0,0,0,.8), var(--glow); font-family: var(--font-mono); font-size: .74rem; color: var(--silver-300); }
.scan-card .sc-head { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--cyan-300); letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; }
.scan-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.scan-card li { display: flex; justify-content: space-between; gap: 10px; }
.scan-card .ok { color: #5fe3a1; }
.scan-card .bar { height: 3px; background: rgba(255,255,255,.08); border-radius: 3px; margin-top: 12px; overflow: hidden; }
.scan-card .bar i { display: block; height: 100%; width: 100%; background: var(--grad-brand); transform-origin: left; animation: scan 3.2s var(--ease) infinite; }
@keyframes scan { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.scan-card .note { margin-top: 8px; font-size: .62rem; color: var(--text-dim); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 7rem)) 0 clamp(3.5rem, 7vw, 6rem);
  background: radial-gradient(ellipse 80% 80% at 80% 0%, rgba(0, 37, 98, .85), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 720px; }
.crumbs { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: var(--space-5); }
.crumbs a { color: var(--text-dim); } .crumbs a:hover { color: #fff; }
.crumbs span { color: var(--cyan-300); }

/* ---------- Glass cards w/ cursor glow ---------- */
.card {
  position: relative; padding: clamp(1.4rem, 2.4vw, 2rem); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(16, 44, 98, .45), rgba(4, 18, 48, .45)); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card::before { /* cursor-follow glow; JS sets --mx/--my */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(1, 155, 235, .16), transparent 45%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(101, 200, 235, .38); box-shadow: 0 24px 60px -30px rgba(0, 116, 235, .9); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h3 { margin-bottom: var(--space-3); }
.card p:not([class]) { color: var(--text-muted); font-size: .97rem; }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; margin-bottom: var(--space-5);
  background: linear-gradient(135deg, rgba(0,116,235,.28), rgba(101,200,235,.08)); border: 1px solid rgba(101,200,235,.3); color: var(--cyan-300); box-shadow: 0 0 24px -6px rgba(1,155,235,.6); }
.card-icon svg { width: 26px; height: 26px; }
.card-num { position: absolute; top: 22px; right: 24px; font-family: var(--font-mono); font-size: .75rem; color: var(--text-dim); letter-spacing: .1em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.tags li { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .03em; padding: 4px 9px; border-radius: 6px; color: var(--silver-300); border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.card .link-arrow { margin-top: var(--space-5); }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

/* ---------- Placeholder styling (things Stephen must fill in) ---------- */
/* Placeholder highlight: off by default on the public site. Add class="ph-on" to <body> locally to review. */
.ph { color: inherit; }
.ph-tag { display: none; }
.ph-block { display: grid; place-items: center; text-align: center; min-height: 72px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); color: var(--text-dim); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 12px; }
body.ph-on .ph { color: var(--ph-color) !important; background: var(--ph-bg); outline: 1px dashed rgba(255,181,71,.55); outline-offset: 2px; border-radius: 4px; padding: 0 .2em; -webkit-text-fill-color: var(--ph-color); }
body.ph-on .ph-tag { display: inline-block; vertical-align: middle; font-family: var(--font-mono); font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-950); background: var(--ph-color); padding: 2px 7px; border-radius: 4px; line-height: 1.5; }
body.ph-on .ph-block { border: 1px dashed rgba(255,181,71,.55); background: var(--ph-bg); color: var(--ph-color); }

/* ---------- Stats band ---------- */
.stats { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(0,22,64,.4), rgba(0,37,98,.55), rgba(0,22,64,.4)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-value { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; letter-spacing: -0.03em; color: #fff; margin-bottom: 10px; }
.stat-value small { font-size: 0.45em; font-weight: 500; color: var(--silver, #C4CDD9); margin-left: 2px; letter-spacing: 0; }
.stat-label { font-size: .92rem; color: var(--text-muted); line-height: 1.45; }
.stat-label .mono { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-300); margin-bottom: 4px; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Vetting funnel ---------- */
.funnel-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: f; }
.funnel li { --w: 100%; position: relative; width: var(--w); margin: 0 auto; }
.funnel li:nth-child(1) { --w: 100%; } .funnel li:nth-child(2) { --w: 92%; } .funnel li:nth-child(3) { --w: 84%; } .funnel li:nth-child(4) { --w: 76%; } .funnel li:nth-child(5) { --w: 68%; }
.funnel-stage { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(101,200,235,.22); background: linear-gradient(90deg, rgba(0,116,235,.22), rgba(1,155,235,.08)); }
.funnel li:nth-child(2) .funnel-stage { background: linear-gradient(90deg, rgba(0,116,235,.3), rgba(1,155,235,.12)); }
.funnel li:nth-child(3) .funnel-stage { background: linear-gradient(90deg, rgba(0,116,235,.38), rgba(1,155,235,.16)); }
.funnel li:nth-child(4) .funnel-stage { background: linear-gradient(90deg, rgba(0,116,235,.46), rgba(1,155,235,.2)); }
.funnel li:nth-child(5) .funnel-stage { background: linear-gradient(90deg, rgba(0,116,235,.6), rgba(1,155,235,.3)); border-color: rgba(101,200,235,.5); box-shadow: 0 0 30px -8px rgba(1,155,235,.7); }
.funnel-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); transform: translateX(-100%); }
.funnel.in .funnel-stage::after { animation: sweep 1.4s var(--ease) forwards; }
.funnel li:nth-child(2) .funnel-stage::after { animation-delay: .15s !important; } .funnel li:nth-child(3) .funnel-stage::after { animation-delay: .3s !important; }
.funnel li:nth-child(4) .funnel-stage::after { animation-delay: .45s !important; } .funnel li:nth-child(5) .funnel-stage::after { animation-delay: .6s !important; }
@keyframes sweep { to { transform: translateX(100%); } }
.funnel-step { font-family: var(--font-mono); font-size: .72rem; color: var(--cyan-300); letter-spacing: .1em; }
.funnel-title { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.02rem; line-height: 1.25; }
.funnel-title small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .84rem; color: var(--text-muted); margin-top: 3px; }
.funnel-rate { font-family: var(--font-mono); font-size: .72rem; text-align: right; color: var(--silver-300); }
.funnel-out { margin: 14px auto 0; width: 68%; text-align: center; padding: 14px; border-radius: 12px; border: 1px solid var(--cyan-300); background: rgba(101,200,235,.08); font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; box-shadow: 0 0 40px -10px var(--cyan-300); }
@media (max-width: 900px) { .funnel-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .funnel li { --w: 100% !important; }
  .funnel-stage { grid-template-columns: auto 1fr; padding: 14px 16px; }
  .funnel-rate { grid-column: 2; text-align: left; }
  .funnel-out { width: 100%; }
}

/* ---------- Certifications marquee ---------- */
.certs { padding: clamp(2.5rem, 4vw, 3.5rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); overflow: hidden; }
.certs-label { text-align: center; padding: 0 var(--gutter); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 22px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.cert { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); white-space: nowrap; }
.cert b { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.05rem; letter-spacing: .02em; }
.cert span { font-family: var(--font-mono); font-size: .68rem; color: var(--text-dim); letter-spacing: .06em; text-transform: uppercase; }
.cert::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad-brand); box-shadow: 0 0 10px var(--blue-400); transform: rotate(45deg); }

/* ---------- Hiring models ---------- */
.model { display: flex; flex-direction: column; }
.model .mono-label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-300); margin-bottom: 10px; }
.model .best { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--line); font-size: .85rem; color: var(--silver-300); }
.model .best b { color: #fff; font-weight: 600; }

/* ---------- Split / feature layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--text-muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 5px; border: 1px solid rgba(101,200,235,.5); background: rgba(1,155,235,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365C8EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checklist li b { color: #fff; font-weight: 600; }

/* ---------- Case studies ---------- */
.case-card { display: flex; flex-direction: column; }
.case-card .case-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: var(--space-5); }
.case-meta { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-300); }
.case-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; padding-top: var(--space-5); }
.case-results div { padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.15); }
.case-results b { display: block; font-family: var(--font-display); font-size: 1.25rem; color: #fff; }
.case-results span { font-size: .75rem; color: var(--text-dim); line-height: 1.3; display: block; margin-top: 4px; }
.case-full { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.5rem, 3.5vw, 3rem); }
.case-full + .case-full { margin-top: var(--space-6); }
.case-aside { display: grid; gap: 14px; align-content: start; }
.case-aside dl { margin: 0; display: grid; gap: 14px; }
.case-aside dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.case-aside dd { margin: 2px 0 0; color: #fff; font-weight: 500; }
.case-body h4 { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-300); margin: var(--space-5) 0 var(--space-2); }
.case-body h4:first-of-type { margin-top: 0; }
.case-body p, .case-body li { color: var(--text-muted); }
@media (max-width: 860px) { .case-full { grid-template-columns: 1fr; } .case-results { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 420px) { .case-results { gap: 6px; } .case-results div { padding: 10px 8px; } .case-results b { font-size: 1.05rem; } }

/* ---------- Testimonial + logos ---------- */
.quote { margin: 0; padding: clamp(1.75rem, 4vw, 3rem); text-align: center; }
.quote blockquote { margin: 0 auto var(--space-5); max-width: 760px; font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 1vw, 1.65rem); line-height: 1.4; color: #fff; }
.quote cite { font-style: normal; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; }
.logo-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 860px) { .logo-row { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Leadership ---------- */
.leader { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 50% 30%, rgba(1,155,235,.35), transparent 60%), linear-gradient(160deg, var(--navy-700), var(--navy-950)); display: grid; place-items: center; }
.portrait .initials { font-family: var(--font-display); font-size: 4rem; font-weight: 600; color: rgba(255,255,255,.9); letter-spacing: -0.04em; }
.portrait .ph-tag { position: absolute; left: 12px; bottom: 12px; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 0 49%, rgba(101,200,235,.08) 50%, transparent 51%) 0 0 / 100% 8px; pointer-events: none; }
.leader-role { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-300); margin-bottom: var(--space-4); }
.leader--placeholder .portrait { border-style: dashed; border-color: rgba(255,181,71,.5); background: var(--ph-bg); }
@media (max-width: 760px) { .leader { grid-template-columns: 1fr; } .portrait { max-width: 220px; } }

/* ---------- Steps (approach) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--blue-400), rgba(101,200,235,.1)); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: clamp(1rem, 3vw, 2rem); padding: 0 0 clamp(2rem, 4vw, 3rem); }
.step:last-child { padding-bottom: 0; }
.step-node { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); border: 1px solid rgba(101,200,235,.5); box-shadow: 0 0 0 6px var(--bg), 0 0 28px -4px rgba(1,155,235,.8); }
.section--alt .step-node { box-shadow: 0 0 0 6px var(--bg-alt), 0 0 28px -4px rgba(1,155,235,.8); }
.step-body { padding-top: 8px; }
.step-body .card { margin-top: var(--space-4); }
.step-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: var(--space-4); }
.step-cols h4 { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-300); margin: 0 0 6px; }
.step-cols p, .step-cols li { font-size: .94rem; color: var(--text-muted); }
.step-cols ul { margin: 0; }
@media (max-width: 640px) { .step-cols { grid-template-columns: 1fr; } .step { grid-template-columns: 44px 1fr; } .step-node { width: 44px; height: 44px; border-radius: 12px; font-size: .85rem; } .steps::before { left: 21px; } }

/* ---------- Industries ---------- */
.industry { display: flex; flex-direction: column; }
.industry .roles-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-top: var(--space-4); }

/* ---------- Jobs ---------- */
.job { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; padding: 22px 26px; }
.job h3 { margin: 6px 0 8px; font-size: 1.15rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted); letter-spacing: .04em; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan-300); }
.job { align-items: start; }
.job .btn { margin-top: 4px; }
.job-summary { margin: 12px 0 0; color: var(--text-muted); font-size: .95rem; max-width: 72ch; }
.job-details { margin-top: 12px; }
.job-details summary { cursor: pointer; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-300); }
.job-details summary:hover { color: #fff; }
.job-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; margin-top: 14px; }
.job-details h4 { margin: 0 0 8px; font-size: .95rem; color: #fff; }
.job-details ul { margin: 0; padding-left: 1.1em; color: var(--text-muted); font-size: .9rem; line-height: 1.6; }
.job-details li + li { margin-top: 4px; }
@media (max-width: 760px) { .job-details-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .job { grid-template-columns: 1fr; } .job .btn { width: 100%; } }

/* ---------- Forms ---------- */
.form-shell { padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; margin-bottom: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--silver-300); }
.field label .req { color: var(--cyan-300); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(0, 8, 26, .55);
  color: #fff; font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365C8EB' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field select option { background: var(--navy-900); color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #6f7d92; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(1,155,235,.22), 0 0 24px -6px rgba(1,155,235,.6); background: rgba(0, 12, 38, .8); }
.field .hint { font-size: .8rem; color: var(--text-dim); margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b81; box-shadow: 0 0 0 3px rgba(255,107,129,.15); }
.field .err { display: none; font-size: .8rem; color: #ff8fa0; margin-top: 6px; }
.field.invalid .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-muted); font-size: .9rem; cursor: pointer; transition: all .2s; }
.chip input:checked + span { border-color: var(--cyan-300); color: #fff; background: rgba(1,155,235,.18); box-shadow: 0 0 18px -4px rgba(1,155,235,.7); }
.chip input:focus-visible + span { outline: 2px solid var(--cyan-300); outline-offset: 2px; }
.file-drop { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: 12px; background: rgba(0,8,26,.4); cursor: pointer; transition: border-color .2s, background .2s; }
.file-drop:hover { border-color: var(--cyan-300); background: rgba(1,155,235,.06); }
.file-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-drop svg { width: 28px; height: 28px; color: var(--cyan-300); flex-shrink: 0; }
.file-drop .fd-text { font-size: .92rem; color: var(--text-muted); text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.file-drop .fd-text b { color: #fff; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-foot small { color: var(--text-dim); max-width: 420px; }
.form-success { display: none; text-align: center; padding: clamp(2rem, 5vw, 3.5rem) 1rem; }
.form-success .ok-ring { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--cyan-300); background: rgba(1,155,235,.12); box-shadow: 0 0 40px -6px var(--blue-400); color: var(--cyan-300); }
.form-success .ok-ring svg { width: 34px; height: 34px; }
form.is-sent { display: none; }
form.is-sent + .form-success { display: block; animation: fadeUp .6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.contact-list svg { width: 22px; height: 22px; color: var(--cyan-300); flex-shrink: 0; margin-top: 2px; }
.contact-list small { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.contact-list a, .contact-list span { color: #fff; font-weight: 500; }

/* ---------- Insights ---------- */
.post-card { display: flex; flex-direction: column; padding: 0; }
.post-thumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-700), var(--navy-950)); border-bottom: 1px solid var(--line); overflow: hidden; }
.post-thumb::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; }
.post-thumb::after { content: ""; position: absolute; width: 60%; height: 120%; left: 20%; top: -10%; background: radial-gradient(circle, rgba(1,155,235,.45), transparent 60%); filter: blur(20px); }
.post-thumb .ph-tag { position: absolute; top: 12px; left: 12px; z-index: 1; }
.post-thumb .thumb-label { position: absolute; z-index: 1; right: 14px; bottom: 12px; font-family: var(--font-mono); font-size: .68rem; color: var(--silver-300); letter-spacing: .12em; text-transform: uppercase; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-body .case-meta { margin-bottom: 10px; }
.post-body h3 { font-size: 1.15rem; line-height: 1.3; }
.post-body .link-arrow { margin-top: auto; padding-top: 10px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-6); }
.filter-bar button { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-muted); font: 500 .88rem var(--font-body); cursor: pointer; transition: all .2s; }
.filter-bar button:hover { color: #fff; border-color: var(--cyan-300); }
.filter-bar button[aria-pressed="true"] { color: #fff; border-color: var(--cyan-300); background: rgba(1,155,235,.16); }
.post-card[hidden] { display: none; }

/* Article template */
.article { max-width: 760px; margin: 0 auto; }
.article p, .article li { color: #c9d4e2; font-size: 1.06rem; line-height: 1.8; }
.article h2 { font-size: 1.7rem; margin-top: var(--space-7); }

/* Legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: var(--space-6); }
.legal p, .legal li { color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(2.5rem, 6vw, 5rem); text-align: center;
  background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(1,155,235,.4), transparent 60%), linear-gradient(160deg, var(--navy-700), var(--navy-900)); border: 1px solid rgba(101,200,235,.3); box-shadow: 0 40px 120px -40px rgba(0,116,235,.8); }
.cta-band .bg-grid { opacity: .5; }
.cta-band > *:not(.bg-grid):not(.net-canvas) { position: relative; z-index: 1; }
.cta-band h2 { max-width: 820px; margin-left: auto; margin-right: auto; }
.cta-band .lead { max-width: 640px; margin: 0 auto var(--space-6); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: clamp(3.5rem, 6vw, 5rem) 0 28px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #00061a); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 3rem); }
.footer-brand img { width: 260px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--text-muted); font-size: .94rem; max-width: 320px; }
.footer-col h4 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.social { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--text-muted); font-size: .88rem; }
.social:hover { border-color: var(--cyan-300); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--text-dim); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a { color: var(--text-dim); } .footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } .footer-col:last-child { grid-column: 1 / -1; } .footer-brand img { width: 220px; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive: hero ---------- */
@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 480px; margin-right: 0; justify-self: center; order: 2; }
  .scan-card { right: 0; }
}
@media (max-width: 560px) {
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-visual { max-width: 340px; }
  .scan-card { position: relative; left: auto; right: auto; bottom: auto; width: 100%; margin-top: -16%; }
  .hero-visual { aspect-ratio: auto; }
  .hero-visual .globe-box { position: relative; aspect-ratio: 1 / 1; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track .dup { display: none; }
}

/* ---------- Services page ---------- */
.service-block { padding: clamp(1.75rem, 4vw, 3.25rem); scroll-margin-top: calc(var(--header-h) + 20px); }
.service-block:hover { transform: none; }
.service-block h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.mono-h { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-300); margin: 0 0 14px; }
.mono-h:not(:first-child) { margin-top: var(--space-6); }
a.card { color: inherit; display: block; }
a.card:hover h3 { color: var(--cyan-300); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Approach page: vetting rows ---------- */
.vet-row { display: grid; grid-template-columns: 72px 1fr 300px; gap: clamp(1rem, 3vw, 2.5rem); align-items: start; }
.vet-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vet-row p { margin: 0; }
.vet-meta { margin: 0; display: grid; gap: 10px; padding-left: clamp(1rem, 2vw, 1.5rem); border-left: 1px solid var(--line); }
.vet-meta dt { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.vet-meta dd { margin: 2px 0 0; color: #fff; font-size: .92rem; }
.vet-meta dd.ph { display: inline-block; }
@media (max-width: 900px) { .vet-row { grid-template-columns: 56px 1fr; } .vet-meta { grid-column: 2; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .vet-row { grid-template-columns: 1fr; } .vet-meta { grid-column: 1; grid-template-columns: 1fr 1fr; } .vet-num { font-size: 2rem; } }
.split--approach { grid-template-columns: 0.8fr 1.2fr; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .split--approach { grid-template-columns: 1fr; } .sticky-col { position: static; } }

/* ---------- About page ---------- */
.leader-card { padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.leader-card:hover { transform: none; }
.leader-name { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-bottom: 6px; }
.leader--sm { grid-template-columns: 140px 1fr; gap: 1.5rem; }
.leader--sm .portrait { aspect-ratio: 1; }
.leader--sm .leader-name { font-size: 1.3rem; }
@media (max-width: 560px) { .leader--sm { grid-template-columns: 1fr; } .leader--sm .portrait { max-width: 120px; } }

/* ---------- Case study page ---------- */
.case-full:hover { transform: none; }
.case-quote { margin: var(--space-6) 0 0; padding: 18px 20px; border-left: 2px solid var(--blue-400); background: rgba(1,155,235,.06); border-radius: 0 10px 10px 0; }
.case-quote blockquote { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.1rem; color: #fff; display: block; width: fit-content; }
.case-quote figcaption { font-family: var(--font-mono); font-size: .75rem; display: block; width: fit-content; }
.case-aside dl > div { padding-bottom: 12px; border-bottom: 1px solid var(--line); }

/* ---------- Careers ---------- */
.mini-steps { list-style: none; counter-reset: s; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: 14px; }
.mini-steps li { counter-increment: s; position: relative; padding-left: 48px; color: var(--text-muted); }
.mini-steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; border: 1px solid rgba(101,200,235,.4); background: rgba(1,155,235,.1); font-family: var(--font-mono); font-size: .72rem; color: var(--cyan-300); }
.mini-steps b { color: #fff; }
.form-shell:hover { transform: none; }

/* ---------- Contact ---------- */
.page-hero--compact { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.contact-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.next-card { padding: 22px 24px; }
.next-card:hover { transform: none; }
.next-card p:not(.mono-h) { color: var(--text-muted); font-size: .95rem; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .contact-aside { position: static; } }

/* ---------- Insights ---------- */
.post-featured { display: grid; grid-template-columns: 1.1fr 1fr; }
.post-featured .post-thumb { aspect-ratio: auto; min-height: 320px; border-bottom: 0; border-right: 1px solid var(--line); }
.post-featured .post-body { padding: clamp(1.5rem, 3.5vw, 3rem); justify-content: center; }
.post-featured h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
@media (max-width: 860px) { .post-featured { grid-template-columns: 1fr; } .post-featured .post-thumb { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); } }
.subscribe { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.subscribe:hover { transform: none; }
.subscribe-form { display: flex; gap: 10px; align-items: flex-start; }
.subscribe-form .field { flex: 1; }
@media (max-width: 760px) { .subscribe { grid-template-columns: 1fr; } .subscribe-form { flex-direction: column; align-items: stretch; } }

/* chips sit inside .field: undo the mono label styling */
.field .chip { display: inline-block; margin: 0; font-family: var(--font-body); font-size: .9rem; letter-spacing: 0; text-transform: none; color: inherit; }
.card .mono-h, p.mono-h { font-size: .72rem; color: var(--cyan-300); }
.card .lead { font-size: var(--fs-lead); }

/* ---------- Client logos ("Trusted by") ----------
   Logos are pre-rendered silver (#C4CDD9) PNGs in assets/img/clients/mono/ (make_client_logos.py).
   --h on each <img> sets its display height so the marks read at a consistent visual size. */
.client-logos { --gap: 12px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.client { flex: 0 0 calc((100% - 6 * var(--gap)) / 7); min-height: 92px; padding: 14px 16px; display: grid; place-items: center; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02);
  transition: border-color .3s, background .3s, box-shadow .3s; }
.client img { height: var(--h, 30px); width: auto; max-width: 100%; object-fit: contain; opacity: .88; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.client:hover { border-color: rgba(101, 200, 235, .4); background: rgba(1, 155, 235, .06); box-shadow: 0 0 30px -12px rgba(1, 155, 235, .8); }
.client:hover img { opacity: 1; filter: brightness(1.32) drop-shadow(0 0 10px rgba(101, 200, 235, .45)); transform: scale(1.04); }
.client--pending { gap: 6px; border-style: dashed; }
.client-name { font-family: var(--font-display); font-weight: 600; font-size: .9rem; line-height: 1.2; color: var(--silver-300); }
@media (min-width: 1101px) { .client-logos { flex-wrap: nowrap; } .client { flex: 1 1 0; min-width: 0; padding: 14px 10px; } }
@media (max-width: 1100px) { .client { flex-basis: calc((100% - 3 * var(--gap)) / 4); } }
@media (max-width: 600px) { .client-logos { --gap: 10px; } .client { flex-basis: calc((100% - var(--gap)) / 2); min-height: 84px; } }

/* ---------- Testimonial (long quote) + leader photo ---------- */
.quote--long blockquote { max-width: 880px; font-size: clamp(1rem, .9rem + .55vw, 1.4rem); line-height: 1.55; font-weight: 500; text-wrap: pretty; }
.card.quote--long blockquote p { margin: 0; color: #eef3f9; font-size: inherit; }
.quote figcaption cite { display: inline-flex; flex-direction: column; gap: 4px; align-items: center; }
.quote .quote-role { color: var(--cyan-300); text-transform: uppercase; }
.quote .quote-org { color: var(--silver-300); }
.portrait--photo { background: var(--navy-900, #06112a); border-color: rgba(101, 200, 235, .45);
  box-shadow: 0 0 0 4px rgba(1, 155, 235, .08), 0 18px 50px -18px rgba(1, 155, 235, .55); }
.portrait--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; filter: saturate(.95); }
.portrait--photo::after { background: linear-gradient(180deg, transparent 60%, rgba(2, 10, 30, .35)); }

/* ---------- 404 page ---------- */
.notfound { min-height: 100vh; text-align: center; }
.notfound-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.notfound-mark { width: 120px; height: auto; margin-bottom: 1.5rem; filter: drop-shadow(0 0 24px rgba(1,155,235,.45)); }
.notfound h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); margin: .3em 0; }
.notfound .lead { max-width: 56ch; margin-left: auto; margin-right: auto; }
.notfound-ctas { justify-content: center; margin-top: 1.5rem; }
.notfound-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 2.25rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.notfound-links a { color: var(--text-muted); }
.notfound-links a:hover { color: var(--cyan-300); }
.notfound-word { width: 200px; height: auto; margin-top: 3rem; opacity: .55; }
