/* ============================================================
   VertexScale — AI Consulting
   Single-page site  ·  light + dark themes (user-switchable)
   Theme is driven by [data-theme="light|dark"] on <html>.
   ============================================================ */

/* ---------- Fonts (self-hosted IBM Plex) ---------- */
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/plex-mono-600.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/plex-mono-700.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/plex-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/plex-sans-700.woff2") format("woff2");
}

/* ---------- Shared tokens (theme-independent) ---------- */
:root {
  /* Brand — electric blue from the mark */
  --blue-400: #4f8bff;
  --blue-500: #2f6bff;
  --blue-600: #1f56e0;
  --blue-700: #1741b4;
  --ink: #0b1424; /* deep navy for the CTA band */

  --font-display: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-body: "Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1160px;
  --radius: 16px;
  --radius-sm: 10px;

  --grad-brand: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-500) 55%, var(--blue-600) 100%);
}

/* ---------- LIGHT theme (default) ---------- */
:root,
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-tint: #f4f7fd;
  --surface: #ffffff;
  --card-bg: #ffffff;
  --border: #e4e9f2;
  --border-strong: #c9d6f0;

  --text: #0f1b2d;
  --text-muted: #45536b;
  --text-dim: #6a778e;

  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06), 0 4px 14px rgba(15, 27, 45, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(31, 86, 224, 0.28), 0 6px 18px rgba(15, 27, 45, 0.06);

  --grad-text: linear-gradient(120deg, var(--blue-600) 0%, var(--blue-500) 55%, var(--blue-400) 100%);
  --hero-bg: linear-gradient(180deg, #eef3ff 0%, #f6f9ff 40%, #ffffff 100%);
  --hero-glow: rgba(47, 107, 255, 0.16);
  --nav-bg: rgba(255, 255, 255, 0.82);
  --nav-shadow: 0 4px 24px rgba(15, 27, 45, 0.06);
  --nav-mobile-bg: rgba(255, 255, 255, 0.98);
  --footer-bg: #f4f7fd;

  --pill-bg: rgba(255, 255, 255, 0.7);
  --pill-border: var(--border-strong);
  --pill-color: var(--blue-700);

  --icon-tile: linear-gradient(140deg, #eaf1ff, #dbe7ff);
  --icon-stroke: var(--blue-600);

  --btn-ghost-bg: #ffffff;
  --btn-ghost-border: var(--border-strong);
  --btn-ghost-hover-bg: #f5f8ff;

  --about-bg: radial-gradient(120% 140% at 0% 0%, #eef3ff, #ffffff 55%);
}

/* ---------- DARK theme ---------- */
:root[data-theme="dark"] {
  --bg: #05070d;
  --bg-tint: #080b13;
  --surface: #0b0f1a;
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(120, 160, 255, 0.28);

  --text: #eef2fb;
  --text-muted: #a7b0c4;
  --text-dim: #6d7689;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 24px 50px -30px rgba(47, 107, 255, 0.6);

  --grad-text: linear-gradient(120deg, #ffffff 0%, #cfe0ff 40%, var(--blue-400) 100%);
  --hero-bg: transparent;
  --hero-glow: rgba(47, 107, 255, 0.28);
  --nav-bg: rgba(3, 5, 10, 0.78);
  --nav-shadow: none;
  --nav-mobile-bg: rgba(3, 5, 10, 0.97);
  --footer-bg: #000000;

  --pill-bg: rgba(255, 255, 255, 0.02);
  --pill-border: var(--border);
  --pill-color: var(--text-muted);

  --icon-tile: rgba(47, 107, 255, 0.12);
  --icon-stroke: var(--blue-400);

  --btn-ghost-bg: rgba(255, 255, 255, 0.03);
  --btn-ghost-border: var(--border);
  --btn-ghost-hover-bg: rgba(47, 107, 255, 0.08);

  --about-bg: radial-gradient(120% 140% at 0% 0%, rgba(47, 107, 255, 0.1), transparent 55%),
    var(--surface);
}

/* No-JS fallback: honor OS preference when no explicit theme is set */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #05070d;
    --bg-tint: #080b13;
    --surface: #0b0f1a;
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(120, 160, 255, 0.28);
    --text: #eef2fb;
    --text-muted: #a7b0c4;
    --text-dim: #6d7689;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 24px 50px -30px rgba(47, 107, 255, 0.6);
    --grad-text: linear-gradient(120deg, #ffffff 0%, #cfe0ff 40%, var(--blue-400) 100%);
    --hero-bg: transparent;
    --hero-glow: rgba(47, 107, 255, 0.28);
    --nav-bg: rgba(3, 5, 10, 0.78);
    --nav-shadow: none;
    --nav-mobile-bg: rgba(3, 5, 10, 0.97);
    --footer-bg: #000000;
    --pill-bg: rgba(255, 255, 255, 0.02);
    --pill-border: var(--border);
    --pill-color: var(--text-muted);
    --icon-tile: rgba(47, 107, 255, 0.12);
    --icon-stroke: var(--blue-400);
    --btn-ghost-bg: rgba(255, 255, 255, 0.03);
    --btn-ghost-border: var(--border);
    --btn-ghost-hover-bg: rgba(47, 107, 255, 0.08);
    --about-bg: radial-gradient(120% 140% at 0% 0%, rgba(47, 107, 255, 0.1), transparent 55%),
      var(--surface);
  }
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
section {
  position: relative;
  padding: 104px 0;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
}
.section-head {
  max-width: 660px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}
.section-head p {
  color: var(--text-muted);
  margin: 18px 0 0;
  font-size: 1.06rem;
}
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Theme visibility helpers ---------- */
.theme-dark-only {
  display: none;
}
.theme-light-only {
  display: block;
}
:root[data-theme="dark"] .theme-dark-only {
  display: block;
}
:root[data-theme="dark"] .theme-light-only {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-dark-only {
    display: block;
  }
  :root:not([data-theme]) .theme-light-only {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--grad-brand);
  color: #ffffff;
  box-shadow: 0 10px 24px -8px rgba(31, 86, 224, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(31, 86, 224, 0.6);
}
.btn-ghost {
  background: var(--btn-ghost-bg);
  border-color: var(--btn-ghost-border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--blue-500);
  color: var(--blue-500);
  background: var(--btn-ghost-hover-bg);
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
  box-shadow: var(--nav-shadow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-name b {
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--blue-500);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Theme toggle button */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--btn-ghost-border);
  background: var(--btn-ghost-bg);
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.theme-toggle:hover {
  color: var(--blue-500);
  border-color: var(--blue-500);
  transform: translateY(-1px);
}
.theme-toggle .ico {
  display: block;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}
.ico-sun {
  display: none;
}
:root[data-theme="dark"] .ico-sun {
  display: block;
}
:root[data-theme="dark"] .ico-moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ico-sun {
    display: block;
  }
  :root:not([data-theme]) .ico-moon {
    display: none;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle span + span {
  margin-top: 6px;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 168px;
  padding-bottom: 108px;
  text-align: center;
  overflow: hidden;
  background: var(--hero-bg);
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 760px;
  background: radial-gradient(46% 50% at 50% 42%, var(--hero-glow) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.hero-logo {
  width: clamp(150px, 22vw, 196px);
  height: auto;
  margin: 8px auto 48px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--pill-color);
  border: 1px solid var(--pill-border);
  background: var(--pill-bg);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.16);
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.1rem);
  letter-spacing: -0.035em;
  margin: 0 auto;
  max-width: 15ch;
}
.hero p.lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  max-width: 60ch;
  margin: 26px auto 0;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 14px 46px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}

/* ---------- Services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.card .num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--blue-500);
  letter-spacing: 0.15em;
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin: 18px 0 20px;
  background: var(--icon-tile);
  border: 1px solid var(--border-strong);
}
.card .icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--icon-stroke);
}
.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.card p {
  color: var(--text-muted);
  margin: 0 0 18px;
  font-size: 0.98rem;
}
.card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.93rem;
  color: var(--text-muted);
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grad-brand);
}

/* ---------- Audience / verticals ---------- */
.audience {
  background: var(--bg-tint);
  border-block: 1px solid var(--border);
}
.verticals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.vertical {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.vertical:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.vertical .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--icon-tile);
  border: 1px solid var(--border-strong);
}
.vertical .icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--icon-stroke);
}
.vertical h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.vertical p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Approach / why ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}
.step {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.step .n {
  counter-increment: step;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue-500);
  min-width: 30px;
}
.step .n::before {
  content: "0" counter(step);
}
.step h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.approach-copy h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}
.approach-copy p {
  color: var(--text-muted);
  margin: 18px 0 0;
}
.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.stat .big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.3rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .lbl {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---------- About ---------- */
.about-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 54px clamp(28px, 5vw, 64px);
  background: var(--about-bg);
  box-shadow: var(--shadow-sm);
  max-width: 860px;
}
.about-card h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 20px;
}
.about-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.about-card p + p {
  margin-top: 16px;
}
.about-card .about-creds {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: var(--text-dim);
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ---------- Contact / CTA (bold band — same in both themes) ---------- */
.cta {
  text-align: center;
}
.cta-box {
  position: relative;
  border-radius: 26px;
  padding: clamp(48px, 6vw, 78px) 28px;
  overflow: hidden;
  color: #eaf0ff;
  background: radial-gradient(90% 150% at 50% -10%, #2f6bff 0%, #1c48c4 45%, var(--ink) 100%);
  box-shadow: 0 30px 60px -30px rgba(31, 86, 224, 0.55);
}
.cta-box h2 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.3rem);
  max-width: 18ch;
  margin: 0 auto;
}
.cta-box p {
  color: #c7d6ff;
  max-width: 52ch;
  margin: 20px auto 0;
  font-size: 1.08rem;
}
.cta-box .hero-cta {
  margin-top: 36px;
}
.cta-box .btn-primary {
  background: #ffffff;
  color: var(--blue-700);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.4);
}
.cta-box .btn-primary:hover {
  background: #f2f6ff;
}
.cta-mail {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #9fb4ea;
}
.cta-mail a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-brand {
  max-width: 320px;
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 16px;
}
.footer-col a,
.footer-col span {
  display: block;
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 11px;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--blue-500);
}
.footer-bottom {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-family: var(--font-display);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .verticals {
    grid-template-columns: repeat(2, 1fr);
  }
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 720px) {
  section {
    padding: 76px 0;
  }
  .nav-links,
  .nav-cta .btn-ghost,
  .nav-cta .btn-primary {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    gap: 4px;
    padding: 18px 24px 26px;
    background: var(--nav-mobile-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a {
    padding: 12px 0;
    font-size: 1.05rem;
    width: 100%;
    border-bottom: 1px solid var(--border);
    color: var(--text);
  }
  .footer-inner {
    flex-direction: column;
  }
}
@media (max-width: 460px) {
  .verticals {
    grid-template-columns: 1fr;
  }
  .hero-meta {
    gap: 12px 26px;
  }
}
