/* =========================================================================
   ADK Cyber — styles.css
   Topographic Signal design system. Vanilla CSS, mobile-first.
   Anti-slop: content visible by default; no Inter/JetBrains; rare cyan;
   warm map field; Gambarino display + system body.
   ========================================================================= */

/* ---------- Self-hosted display face ---------- */
@font-face {
  font-family: 'Gambarino';
  src: url('../assets/fonts/gambarino-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Tokens (Topographic Signal) ---------- */
:root {
  /* Warm map ink — not cool blue-charcoal SaaS */
  --ink-deep: #0B0E12;
  --ink: #141820;
  --ink-lift: #1C222C;
  --ink-edge: #2A313C;

  /* Signal: desaturated teal, rare */
  --signal: #3A9EA0;
  --signal-strong: #2F8789;
  --signal-soft: rgba(58, 158, 160, 0.12);
  --signal-line: rgba(58, 158, 160, 0.35);

  /* Light: warm paper field, not UI-kit gray */
  --field: #EFEBE3;
  --surface: #F7F4EE;
  --surface-2: #E6E1D6;
  --line: #D5CFC2;
  --line-strong: #B8B1A2;

  --text: #1A1C1F;
  --text-muted: #5A5852;
  --text-faint: #8A8680;
  --on-ink: #EFEBE3;
  --on-ink-muted: #A39E94;

  /* Aliases for legacy page-scoped CSS */
  --navy-900: var(--ink-deep);
  --navy-800: var(--ink);
  --navy-700: var(--ink-lift);
  --navy-600: var(--ink-edge);
  --cyan: var(--signal);
  --cyan-strong: var(--signal-strong);
  --cyan-soft: var(--signal-soft);
  --bg: var(--field);
  --border: var(--line);
  --border-strong: var(--line-strong);
  --on-navy: var(--on-ink);
  --on-navy-muted: var(--on-ink-muted);

  /* Type: display character + neutral body; mono only for data */
  --font-display: 'Gambarino', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', 'SF Mono', Menlo, Consolas, monospace;

  --step--1: clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
  --step-0:  clamp(1rem, 0.96rem + 0.22vw, 1.0625rem);
  --step-1:  clamp(1.125rem, 1.05rem + 0.36vw, 1.25rem);
  --step-2:  clamp(1.375rem, 1.25rem + 0.6vw, 1.625rem);
  --step-3:  clamp(1.625rem, 1.4rem + 1vw, 2rem);
  --step-4:  clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
  --step-5:  clamp(2.5rem, 1.9rem + 2.8vw, 3.75rem);
  --step-6:  clamp(2.875rem, 2.1rem + 3.6vw, 4.5rem);

  --container: 1120px;
  --container-narrow: 880px;
  --pad-x: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4rem, 8vw, 6.5rem);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;

  /* Tight directional depth only when needed */
  --shadow-sm: 0 1px 0 rgba(11, 14, 18, 0.06);
  --shadow: 0 2px 8px rgba(11, 14, 18, 0.08);
  --shadow-lg: 0 8px 24px rgba(11, 14, 18, 0.12);

  --transition: 180ms cubic-bezier(.2,.6,.2,1);
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

[data-theme="dark"] {
  --field: #0B0E12;
  --surface: #141820;
  --surface-2: #1C222C;
  --line: #2A313C;
  --line-strong: #3A4352;
  --text: #EFEBE3;
  --text-muted: #A39E94;
  --text-faint: #6E6A62;
  --shadow-sm: 0 1px 0 rgba(0, 0, 0, 0.35);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --bg: var(--field);
  --border: var(--line);
  --border-strong: var(--line-strong);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --field: #0B0E12;
    --surface: #141820;
    --surface-2: #1C222C;
    --line: #2A313C;
    --line-strong: #3A4352;
    --text: #EFEBE3;
    --text-muted: #A39E94;
    --text-faint: #6E6A62;
    --bg: var(--field);
    --border: var(--line);
    --border-strong: var(--line-strong);
  }
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--field);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-6);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  letter-spacing: -0.015em;
  line-height: 1.12;
}
h3 { font-size: var(--step-2); font-weight: 600; }
h4 { font-size: var(--step-1); font-weight: 600; }

p { color: var(--text); }
.lede { font-size: var(--step-1); color: var(--text-muted); max-width: 58ch; line-height: 1.55; }

/* Location / meta labels — not mono costume on every section */
.loc-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.loc-label .signal { color: var(--signal-strong); }
[data-theme="dark"] .loc-label .signal { color: var(--signal); }

/* Legacy .eyebrow kept but de-emphasized — prefer .loc-label or bare h2 */
.eyebrow {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-transform: none;
  font-family: var(--font-sans);
}
[data-theme="dark"] .eyebrow { color: var(--text-muted); }

.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }

a:not([class]) {
  color: var(--signal-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:not([class]):hover { color: var(--text); }
[data-theme="dark"] a:not([class]) { color: var(--signal); }

::selection { background: var(--signal); color: var(--ink-deep); }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 0; top: 0;
  padding: 0.75rem 1rem;
  background: var(--ink-deep); color: #fff;
  transform: translateY(-110%);
  z-index: 1000;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--signal); outline-offset: 2px; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-field { background: var(--surface-2); }
.section-ink {
  background: var(--ink-deep);
  color: var(--on-ink);
}
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .muted, .section-ink p { color: var(--on-ink-muted); }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

/* Subtle grain on ink sections only (behind content) */
.section-ink::before,
.hero::before,
.page-header::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: var(--grain);
  background-size: 180px 180px;
  z-index: 0;
}
.hero > *, .page-header > *, .section-ink > *, .site-footer > * { position: relative; z-index: 1; }

/* ---------- Header — treated bar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.65rem var(--pad-x) 0;
  background: transparent;
  border-bottom: 0;
}
.site-header .container {
  max-width: calc(var(--container) + 2rem);
  padding-inline: 0.75rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.85rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 999px;
  transition: border-color var(--transition), background var(--transition);
}
.site-header.scrolled .nav {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  padding-left: 0.25rem;
}
.brand-mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  color: var(--signal-strong);
}
[data-theme="dark"] .brand-mark { color: var(--signal); }
.brand-name { color: var(--text); font-family: var(--font-sans); }
.brand-name em {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  opacity: 0.72;
}

.nav-list {
  display: none;
  gap: 0.15rem;
  align-items: center;
}
@media (min-width: 960px) {
  .nav-list { display: flex; }
}
.nav-list a {
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  border-bottom: 0;
  box-shadow: none;
}
.nav-list a:hover { color: var(--text); background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.nav-list a.active {
  color: var(--text);
  font-weight: 600;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  padding-bottom: 0.45rem;
}
.nav-list a.active::after { content: none; display: none; }

/* Contact as text weight shift, not filled+ghost pair in nav */
.nav-list a.nav-contact {
  color: var(--text);
  font-weight: 600;
  margin-left: 0.25rem;
}
.nav-list a.nav-contact:hover { background: var(--surface-2); }

.nav-actions { display: flex; align-items: center; gap: 0.25rem; }

.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.icon-btn:hover { color: var(--text); background: var(--surface-2); }

/* Theme toggle: ink swap mark, not sun/moon */
.theme-mark {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.menu-toggle { display: grid; }
@media (min-width: 960px) { .menu-toggle { display: none; } }

.mobile-menu {
  display: none;
  margin-top: 0.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mobile-menu.open { display: block; }
.mobile-menu ul {
  display: flex; flex-direction: column;
  padding: 0.5rem 1rem 1rem;
}
.mobile-menu a {
  display: block;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ---------- Buttons — one clear primary language ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 550;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:active { /* no translateY boop */ }
.btn-primary {
  background: var(--ink-deep);
  color: var(--on-ink);
  border-color: var(--ink-deep);
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--ink);
  box-shadow: none;
  color: #fff;
}
[data-theme="dark"] .btn-primary {
  background: var(--on-ink);
  color: var(--ink-deep);
  border-color: var(--on-ink);
}
[data-theme="dark"] .btn-primary:hover {
  background: #fff;
  color: var(--ink-deep);
}

/* Secondary: text-style, not outline ghost pair */
.btn-secondary,
.btn-text {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  padding-inline: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line-strong);
}
.btn-secondary:hover,
.btn-text:hover {
  text-decoration-color: var(--text);
  background: transparent;
  border-color: transparent;
}

/* Keep ghost for forms / full-width plan CTAs but de-glowed */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--text);
  background: color-mix(in srgb, var(--surface-2) 60%, transparent);
  box-shadow: none;
}

.btn-on-dark {
  background: transparent;
  color: var(--on-ink);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(239, 235, 227, 0.35);
}
.btn-on-dark:hover {
  border-color: transparent;
  background: transparent;
  text-decoration-color: var(--on-ink);
}

.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* Diagonal arrow mark */
.arrow-out {
  width: 14px; height: 14px;
  flex-shrink: 0;
}

/* ---------- Hero — content under nav, no empty fold ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--on-ink);
  /* Avoid full-viewport min-height + flex-end (large dead band under sticky nav) */
  display: block;
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem) clamp(2.75rem, 5.5vw, 4rem);
}
.hero h1 {
  color: #fff;
  max-width: 18ch;
  font-size: clamp(2.35rem, 6.2vw, 3.85rem);
  line-height: 1.05;
}
.hero h1 .signal-word {
  color: color-mix(in srgb, var(--signal) 85%, #fff);
  font-style: italic;
}
.hero .lede {
  color: var(--on-ink-muted);
  margin-top: 1.25rem;
  max-width: 42ch;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin-top: 1.75rem;
}
.hero-trust {
  margin-top: 1.35rem;
  font-size: 0.9rem;
  color: var(--on-ink-muted);
  font-weight: 500;
  max-width: 40ch;
}
.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: end;
  width: 100%;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 3rem;
    align-items: end;
  }
}

/* Contour field as full hero atmosphere */
.topo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
}
.topo-bg svg { width: 100%; height: 100%; }
.topo-signal {
  stroke: var(--signal);
  stroke-width: 1.75;
  opacity: 0.9;
}

/* Hero metric strip — survey data, not marketing cells */
.hero-metrics {
  display: grid;
  gap: 1rem 1.5rem;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(239, 235, 227, 0.12);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}
@media (min-width: 600px) {
  .hero-metrics { grid-template-columns: repeat(4, 1fr); }
}
.hero-metric {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-metric dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--on-ink-muted);
  margin-bottom: 0.3rem;
  line-height: 1.25;
  min-height: 2.5em; /* keep labels same height so values share one baseline */
}
.hero-metric dd {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Credibility bar — continues ink field */
.cred-bar {
  background: var(--ink);
  border-bottom: 1px solid rgba(239, 235, 227, 0.08);
  padding-block: 1.35rem;
  color: var(--on-ink);
}
.cred-grid {
  display: grid;
  gap: 1.25rem 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .cred-grid { grid-template-columns: repeat(4, 1fr); }
}
.cred-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--signal-line);
}
.cred-item strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.cred-item span {
  font-size: 0.82rem;
  color: var(--on-ink-muted);
  line-height: 1.4;
}

/* ---------- Page header ---------- */
.page-header {
  background: var(--ink-deep);
  color: var(--on-ink);
  /* Match hero: tight under sticky nav, no oversized empty band */
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem) clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  color: #fff;
  max-width: 16ch;
  font-size: clamp(2.2rem, 5.5vw, 3.35rem);
  line-height: 1.08;
}
.page-header .lede { color: var(--on-ink-muted); margin-top: 1rem; }
.page-header .eyebrow,
.page-header .loc-label { color: var(--on-ink-muted); margin-bottom: 0.85rem; }

/* ---------- Cards / pillars ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  transition: border-color var(--transition);
  box-shadow: none;
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: none;
  transform: none;
}

.pillar-card { display: flex; flex-direction: column; gap: 0.85rem; height: 100%; }
/* Bare mark — no icon tile */
.pillar-icon {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  background: none;
  color: var(--signal-strong);
  border-radius: 0;
  margin-bottom: 0.15rem;
}
[data-theme="dark"] .pillar-icon { color: var(--signal); }
.pillar-icon svg { width: 22px; height: 22px; }

.card h3,
.pillar-card h3,
.feature h3,
.leader h3 {
  font-size: var(--step-2);
  line-height: 1.25;
  font-family: var(--font-display);
  font-weight: 400;
}
.pillar-card p { color: var(--text-muted); flex: 1; }
.card-link {
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  font-family: var(--font-sans);
}
.card-link:hover { text-decoration-color: var(--text); }
[data-theme="dark"] .card-link { color: var(--on-ink); }
.card-link .arrow { transition: transform var(--transition); }
.card-link:hover .arrow { transform: translate(2px, -2px); }

/* ---------- Feature row ---------- */
.feature-row {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.5rem 0;
}
.feature-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--signal-strong);
  margin-top: 0.15rem;
}
[data-theme="dark"] .feature-icon { color: var(--signal); }
.feature h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
  line-height: 1.3;
  font-family: var(--font-sans);
}
.feature p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Leadership ---------- */
.leader-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.leader {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.leader-photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid; place-items: center;
  color: var(--text-faint);
  border: 1px solid var(--line);
  overflow: hidden;
}
.leader-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.leader-photo svg { width: 100%; height: 100%; }
.leader h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
  font-weight: 400;
  font-family: var(--font-display);
}
.leader .role {
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 500;
}
[data-theme="dark"] .leader .role { color: var(--text-muted); }
.leader p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Case / selected work ---------- */
.case-board {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .case-board {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }
}
.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.case-stat {
  padding: 1.35rem 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-stat:nth-child(2n) { border-right: 0; }
.case-stat:nth-last-child(-n+2) { border-bottom: 0; }
.case-stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.case-stat .label {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Engagement records — not testimonial quote cards */
.record {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  padding: 1.5rem 0 0;
  border-top: 2px solid var(--ink-deep);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
[data-theme="dark"] .record { border-top-color: var(--line-strong); }
.record > p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
}
.record footer {
  margin-top: auto;
  display: grid;
  gap: 0.15rem;
  padding-top: 0.5rem;
}
.record footer strong { font-size: 0.92rem; }
.record footer .muted { font-size: 0.88rem; }

/* Legacy testimonial class maps to record styling */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  border-top: 2px solid var(--ink-deep);
  border-radius: 0;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  box-shadow: none;
  padding: 1.5rem 0 0;
}
[data-theme="dark"] .testimonial { border-top-color: var(--line-strong); }
.testimonial > p { font-size: 1.05rem; line-height: 1.55; color: var(--text); }
.testimonial footer {
  margin-top: auto;
  display: grid;
  gap: 0.15rem;
  padding-top: 0.5rem;
  border-top: 0;
}
.testimonial footer strong { font-size: 0.92rem; }
.testimonial footer .muted,
.testimonial footer span { font-size: 0.88rem; }

/* ---------- Trust / platform strip ---------- */
.trust {
  background: transparent;
  border-block: 1px solid var(--line);
}
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.35rem;
  align-items: center;
  justify-content: flex-start;
}
.trust-item {
  height: auto;
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: left;
  padding: 0.35rem 0.75rem 0.35rem 0;
  border-right: 1px solid var(--line);
  margin-right: 0.35rem;
}
.trust-item:last-child { border-right: 0; }

/* ---------- Close CTA — integrated, not pre-footer slab ---------- */
.cta-band {
  background: transparent;
  color: var(--text);
  border-radius: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  align-items: start;
  position: relative;
  overflow: visible;
  border-top: 1px solid var(--line);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 760px) {
  .cta-band { grid-template-columns: 1.5fr auto; gap: 2.5rem; align-items: end; }
  .cta-band .actions { justify-self: end; }
}
.cta-band h2 {
  color: var(--text);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  max-width: 18ch;
}
.cta-band p { color: var(--text-muted); max-width: 42ch; }
.cta-band .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

/* Ink close variant */
.close-ink {
  background: var(--ink-deep);
  color: var(--on-ink);
  padding-block: var(--section-y);
  position: relative;
  overflow: hidden;
}
.close-ink h2 { color: #fff; max-width: 16ch; }
.close-ink p { color: var(--on-ink-muted); max-width: 42ch; margin-top: 0.75rem; }
.close-ink .btn-primary {
  background: var(--on-ink);
  color: var(--ink-deep);
  border-color: var(--on-ink);
}
.close-ink .btn-primary:hover { background: #fff; }
.close-ink .btn-on-dark { margin-left: 0.25rem; }

/* ---------- Section heading ---------- */
.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  max-width: 52ch;
}
.section-head .eyebrow { display: block; margin-bottom: 0.65rem; }
.section-head p { color: var(--text-muted); margin-top: 0.75rem; font-size: var(--step-1); }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2,
.section-head h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  margin-bottom: 0.5rem;
  max-width: 22ch;
  line-height: 1.12;
}

/* Open section with a large number instead of kicker */
.section-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  color: color-mix(in srgb, var(--text) 12%, transparent);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

/* ---------- Service matrix ---------- */
.matrix {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.matrix th, .matrix td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  vertical-align: top;
}
.matrix th {
  background: var(--surface-2);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}
.matrix tr:last-child td { border-bottom: 0; }
.matrix td:first-child { font-weight: 500; }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 1rem; counter-reset: step; }
.timeline-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.timeline-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--signal-strong);
  font-weight: 500;
  padding-top: 0.15rem;
}
[data-theme="dark"] .timeline-step::before { color: var(--signal); }
.timeline-step h4 {
  font-size: var(--step-1);
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.timeline-step p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Lists ---------- */
.checklist { display: grid; gap: 0.65rem; }
.checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: start;
  color: var(--text);
}
.checklist li::before {
  content: "";
  width: 16px; height: 16px;
  margin-top: 6px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232F8789' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
}

/* ---------- Split ---------- */
.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .split-asymmetric { grid-template-columns: 1.4fr 1fr; }
}

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--signal);
  padding: 1.5rem;
  border-radius: var(--radius);
}
.callout p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
}
.field label .req { color: var(--signal-strong); margin-left: 2px; }
[data-theme="dark"] .field label .req { color: var(--signal); }
.field input,
.field textarea,
.field select {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  color: var(--text);
  width: 100%;
  transition: border-color var(--transition);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-soft);
}
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { font-size: 0.92rem; color: var(--text-muted); min-height: 1.4em; }
.form-status.success { color: #058a4a; }
[data-theme="dark"] .form-status.success { color: #34d399; }

/* ---------- Contact ---------- */
.contact-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: grid;
  gap: 1.25rem;
}
.contact-info dt {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  margin-bottom: 0.25rem;
  font-weight: 500;
  font-family: var(--font-sans);
}
.contact-info dd { font-size: 0.97rem; color: var(--text); }
.contact-info a { color: var(--signal-strong); }
[data-theme="dark"] .contact-info a { color: var(--signal); }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.blog-card-image {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.blog-card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}
.blog-card h2,
.blog-card h3 {
  font-size: var(--step-2);
  letter-spacing: -0.015em;
  font-family: var(--font-display);
  font-weight: 400;
}
.blog-card h2 a,
.blog-card h3 a,
.blog-card-title {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}
.blog-card h2 a:hover,
.blog-card h3 a:hover,
.blog-card-title:hover {
  color: var(--signal-strong);
}
[data-theme="dark"] .blog-card h2 a:hover,
[data-theme="dark"] .blog-card h3 a:hover,
[data-theme="dark"] .blog-card-title:hover {
  color: var(--signal);
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--text-faint);
}
.blog-meta span + span::before {
  content: "/";
  margin-right: 0.75rem;
  color: var(--line-strong);
}
.blog-byline {
  color: var(--text-faint);
  font-size: 0.92rem;
}
.blog-card .card-link { margin-top: auto; }
.blog-article-header .card-link { color: var(--signal); }
.blog-article { display: grid; gap: 1.25rem; }
.blog-article h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-top: 1.5rem;
}
.blog-article p,
.blog-article ul,
.blog-article ol,
.blog-article li { color: var(--text-muted); font-weight: 400; }
.blog-article .callout { margin-block: 1rem; }
.blog-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.blog-figure {
  margin: 1.5rem 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.blog-figure img { width: 100%; }
.blog-figure figcaption {
  padding: 0.9rem 1.1rem 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Footer — composed, not 4-col template ---------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--on-ink);
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}
.footer-col h4 {
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  text-transform: none;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.footer-col ul { display: grid; gap: 0.5rem; }
.footer-col a {
  color: var(--on-ink-muted);
  transition: color var(--transition);
  font-size: 0.93rem;
}
.footer-col a:hover { color: #fff; }
.footer-brand { color: var(--on-ink-muted); font-size: 0.93rem; max-width: 32ch; margin-top: 0.75rem; }
.footer-brand .brand { color: #fff; margin-bottom: 0; }
.footer-disclaimer {
  border-top: 1px solid rgba(239, 235, 227, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--on-ink-muted);
  max-width: 78ch;
}
.footer-bottom {
  border-top: 1px solid rgba(239, 235, 227, 0.1);
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--on-ink-muted);
}
.footer-disclaimer + .footer-bottom { margin-top: 1.15rem; }
.footer-grid + .footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; }

/* Oversized wordmark anchored to bottom */
.footer-wordmark {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 14vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: color-mix(in srgb, var(--on-ink) 14%, transparent);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  padding-bottom: 0.05em;
  margin-bottom: -0.08em;
}

.social { display: flex; gap: 0.5rem; }
.social a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 235, 227, 0.12);
  color: var(--on-ink-muted);
  transition: color var(--transition), border-color var(--transition);
  background: transparent;
}
.social a:hover { color: #fff; border-color: rgba(239, 235, 227, 0.35); }

/* ---------- Motion: content ALWAYS visible ---------- */
.fade-in {
  opacity: 1;
  transform: none;
  /* Optional subtle settle only when .is-visible — never hide content */
  transition: none;
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

@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;
  }
  .fade-in { opacity: 1; transform: none; }
  .topo-bg svg { animation: none !important; }
}

/* Gentle contour drift — decorative only */
@media (prefers-reduced-motion: no-preference) {
  .topo-bg svg {
    animation: topo-drift 48s linear infinite alternate;
  }
  @keyframes topo-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-1.5%, 1%, 0); }
  }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.no-wrap { white-space: nowrap; }
.tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--signal-soft);
  color: var(--signal-strong);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: none;
}
[data-theme="dark"] .tag { color: var(--signal); }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-actions, .close-ink { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- Homepage AI product strip ---------- */
.ai-strip { padding-block: 0; }
.ai-strip-inner {
  display: grid;
  gap: 1.25rem;
  align-items: end;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 2rem 0;
  box-shadow: none;
}
@media (min-width: 800px) {
  .ai-strip-inner {
    grid-template-columns: 1fr auto;
    padding: 2.25rem 0;
    gap: 2rem;
  }
}
.ai-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

/* ---------- Blog featured ---------- */
@media (min-width: 700px) {
  .blog-card-featured { grid-column: 1 / -1; }
}

/* ---------- Contact prep ---------- */
.prep-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.prep-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  border-left: 0;
}
.prep-list li:last-child { border-bottom: 0; }
.prep-list li strong {
  font-size: 1rem;
  color: var(--text);
}
.prep-list li span {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.contact-prep .callout { margin-top: 1.5rem; }
.mt-0 { margin-top: 0; }

/* ---------- Resource cards ---------- */
.resource-download-list { display: grid; gap: 1rem; }
.resource-download-card {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: none;
}
@media (min-width: 800px) {
  .resource-download-card {
    grid-template-columns: 1fr auto;
    padding: 1.65rem 1.75rem;
    gap: 2rem;
  }
}
.resource-download-body h3 {
  margin-top: 0.25rem;
  font-size: var(--step-2);
  font-family: var(--font-display);
  font-weight: 400;
}
.resource-download-body p { margin-top: 0.55rem; }
.resource-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
@media (min-width: 800px) {
  .resource-download-actions {
    flex-direction: column;
    align-items: stretch;
    min-width: 11.5rem;
  }
  .resource-download-actions .btn { justify-content: center; text-align: center; }
}

/* ---------- ADK Cyber AI page helpers (global so page CSS can lean on tokens) ---------- */
.copilot-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  max-width: 14ch;
  line-height: 1.08;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; }
}
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.88rem; }

/* Close CTA block inside close-ink or light sections */
.close-cta {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 760px) {
  .close-cta {
    grid-template-columns: 1.5fr auto;
    gap: 2.5rem;
    align-items: end;
  }
  .close-cta .actions { justify-self: end; }
}
.close-cta h2 {
  max-width: 18ch;
  color: inherit;
}
.close-cta p { max-width: 42ch; }
.close-cta .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}
.close-ink .close-cta h2 { color: #fff; }
.close-ink .close-cta p { color: var(--on-ink-muted); }