/* ============================================
   CyberMY Consulting — Design Tokens & Styles
   Concept: navy/charcoal chrome, teal accent —
   confident, strategic, practical security
   ============================================ */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  --text-hero: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'General Sans', 'Segoe UI', sans-serif;
  --font-body: 'Satoshi', 'General Sans', 'Segoe UI', sans-serif;

  /* Chrome — always medium-slate grey regardless of theme (brand consistency) */
  --color-chrome-bg: #4b4f56;
  --color-chrome-bg-2: #565a62;
  --color-chrome-border: #6b6f78;
  --color-chrome-text: #ffffff;
  --color-chrome-text-muted: #cfd1d6;
  /* Fixed brand red — sampled directly from the CyberMY logo wordmark —
     used for accent text/icons/borders sitting on the medium-grey chrome. */
  --color-chrome-accent: #f30404;
  /* Subtle dark shadow to sharpen red text/icon edges against the grey
     chrome — improves perceived legibility without shifting the hue. */
  --shadow-chrome-text: 0 1px 2px oklch(0 0 0 / 0.55);
  /* Black used for the page-hero eyebrow label on the grey chrome. */
  --color-chrome-eyebrow: #000000;
  /* Light halo (inverse of --shadow-chrome-text) to keep dark eyebrow text
     legible against the medium-grey chrome background. Layered outline +
     lifted shadow for stronger perceived contrast ("punch") on black text. */
  --shadow-chrome-text-inverse:
    0 0 1px oklch(1 0 0 / 0.85),
    0 1px 1px oklch(1 0 0 / 0.7),
    0 1px 3px oklch(1 0 0 / 0.45);
}

:root,
[data-theme='light'] {
  --color-bg: #f5f7fa;
  --color-surface: #ffffff;
  --color-surface-2: #edf1f5;
  --color-surface-offset: #e3e8ee;
  --color-surface-dynamic: #d9e0e8;
  --color-divider: #dfe5eb;
  --color-border: #d7dee6;

  --color-text: #10192b;
  --color-text-muted: #55606f;
  --color-text-faint: #8b96a3;
  --color-text-inverse: #ffffff;

  --color-primary: #f30404;
  --color-primary-hover: #be0303;
  --color-primary-active: #8d0202;
  --color-primary-highlight: #f7d9dc;

  --color-warning: #a15a1f;
  --color-warning-highlight: #ecdcc7;
  --color-error: #b3401f;
  --color-error-highlight: #ecd9cd;
  --color-success: #2e7d54;
  --color-success-highlight: #d3e5da;

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 240 / 0.07);
  --shadow-md: 0 4px 14px oklch(0.2 0.02 240 / 0.09);
  --shadow-lg: 0 16px 40px oklch(0.2 0.02 240 / 0.14);
}

[data-theme='dark'] {
  --color-bg: #1c1a18;
  --color-surface: #242220;
  --color-surface-2: #2c2926;
  --color-surface-offset: #35312d;
  --color-surface-dynamic: #403b36;
  --color-divider: #322e2a;
  --color-border: #3a3531;

  --color-text: #eeecea;
  --color-text-muted: #a8a39d;
  --color-text-faint: #6f6b66;
  --color-text-inverse: #ffffff;

  --color-primary: #f30404;
  --color-primary-hover: #be0303;
  --color-primary-active: #8d0202;
  --color-primary-highlight: #3a1719;

  --color-warning: #d69a5c;
  --color-warning-highlight: #3a2f22;
  --color-error: #e2874f;
  --color-error-highlight: #3a281c;
  --color-success: #78c79c;
  --color-success-highlight: #1f3327;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --color-bg: #1c1a18;
    --color-surface: #242220;
    --color-surface-2: #2c2926;
    --color-surface-offset: #35312d;
    --color-surface-dynamic: #403b36;
    --color-divider: #322e2a;
    --color-border: #3a3531;
    --color-text: #eeecea;
    --color-text-muted: #a8a39d;
    --color-text-faint: #6f6b66;
    --color-text-inverse: #ffffff;
    --color-primary: #f30404;
    --color-primary-hover: #be0303;
    --color-primary-active: #8d0202;
    --color-primary-highlight: #3a1719;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.5);
  }
}

/* ============ Layout primitives ============ */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow {
  max-width: var(--content-narrow);
}
.container--default {
  max-width: var(--content-default);
}

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
section.section--tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--color-primary);
}

h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 650;
}
h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  letter-spacing: -0.01em;
}
h3,
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
}
p {
  color: var(--color-text-muted);
}
.text-body {
  color: var(--color-text);
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 56ch;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  min-height: 44px;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
}
.btn-outline {
  background: transparent;
  border-color: oklch(from var(--color-text) l c h / 0.22);
  color: var(--color-text);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-chrome {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn-chrome:hover {
  background: var(--color-primary-hover);
}
.btn-chrome-outline {
  background: transparent;
  border-color: oklch(from var(--color-chrome-text) l c h / 0.28);
  color: var(--color-chrome-text);
}
.btn-chrome-outline:hover {
  border-color: var(--color-chrome-accent);
  color: var(--color-chrome-accent);
  text-shadow: var(--shadow-chrome-text);
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}
.btn-block {
  width: 100%;
}

/* ============ Header / Nav (always dark navy — brand chrome) ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-chrome-bg) l c h / 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-chrome-border);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header--hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-3);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-chrome-text);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-word {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-word span:not(.brand-sub) {
  color: var(--color-chrome-accent);
  text-shadow: var(--shadow-chrome-text);
}
.brand-sub {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-chrome-text-muted);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav-links a {
  color: var(--color-chrome-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--color-chrome-text);
}
.nav-links a[aria-current='page'] {
  color: var(--color-chrome-accent);
  text-shadow: var(--shadow-chrome-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-chrome-text-muted);
}
.theme-toggle:hover {
  color: var(--color-chrome-accent);
  background: oklch(from var(--color-chrome-text) l c h / 0.06);
  filter: drop-shadow(var(--shadow-chrome-text));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-chrome-text);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) 0 var(--space-6);
  border-top: 1px solid var(--color-chrome-border);
}
.mobile-nav a {
  display: block;
  padding: var(--space-3) var(--space-2);
  color: var(--color-chrome-text-muted);
  text-decoration: none;
  font-size: var(--text-base);
  font-weight: 500;
  border-radius: var(--radius-md);
}
.mobile-nav a:hover {
  color: var(--color-chrome-text);
  background: oklch(from var(--color-chrome-text) l c h / 0.05);
}
.mobile-nav .btn {
  margin-top: var(--space-2);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-actions .btn-chrome {
    display: none;
  }
  body.nav-open .mobile-nav {
    display: flex;
  }
}

/* ============ Hero (dark navy chrome section) ============ */
.hero {
  background: linear-gradient(160deg, var(--color-chrome-bg) 0%, var(--color-chrome-bg-2) 100%);
  color: var(--color-chrome-text);
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-12), 6vw, var(--space-20)) clamp(var(--space-10), 5vw, var(--space-16));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: var(--space-10);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  color: var(--color-chrome-accent);
  font-size: var(--text-sm);
  font-weight: 700;
  text-shadow: var(--shadow-chrome-text);
}
.hero-eyebrow::before {
  width: 20px;
  height: 2px;
  background: var(--color-chrome-accent);
  box-shadow: var(--shadow-chrome-text);
}
.hero h1 {
  font-size: var(--text-hero);
  line-height: 1.08;
  margin-block: var(--space-4) var(--space-4);
  color: var(--color-chrome-text);
  max-width: 16ch;
}
.hero .lede {
  color: var(--color-chrome-text-muted);
  font-size: var(--text-base);
  max-width: 50ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-chrome-border);
}
.hero-trust-item {
  min-width: 120px;
}
.hero-trust-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 650;
  color: var(--color-chrome-text);
}
.hero-trust-label {
  font-size: var(--text-xs);
  color: var(--color-chrome-text-muted);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(from var(--color-primary) l c h / 0.35) 0%, oklch(from var(--color-primary) l c h / 0) 70%);
  z-index: 0;
}
.hero-visual svg {
  width: 100%;
  height: 100%;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px oklch(0 0 0 / 0.35));
}

/* Simple page hero (interior pages) — narrower, no visual panel */
.page-hero {
  background: linear-gradient(160deg, var(--color-chrome-bg) 0%, var(--color-chrome-bg-2) 100%);
  color: var(--color-chrome-text);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.page-hero h1 {
  font-size: var(--text-2xl);
  color: var(--color-chrome-text);
  margin-block: var(--space-4) var(--space-4);
  max-width: 22ch;
}
.page-hero .lede {
  color: var(--color-chrome-text-muted);
  max-width: 60ch;
}
.page-hero .breadcrumb {
  font-size: var(--text-xs);
  color: var(--color-chrome-text-muted);
  margin-bottom: var(--space-4);
}
.page-hero .breadcrumb a {
  color: var(--color-chrome-text-muted);
  text-decoration: none;
}
.page-hero .breadcrumb a:hover {
  color: var(--color-chrome-accent);
  text-shadow: var(--shadow-chrome-text);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: var(--space-10);
  align-items: center;
}
.about-hero-photo {
  justify-self: end;
  margin: 0;
  width: 280px;
  text-align: center;
}
.about-hero-photo img {
  display: block;
  width: 280px;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid var(--color-chrome-accent);
  box-shadow: 0 12px 32px oklch(0 0 0 / 0.35);
}
.about-hero-photo figcaption {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-hero-photo figcaption strong {
  color: var(--color-chrome-text);
  font-size: var(--text-lg);
  font-weight: 700;
  text-shadow: var(--shadow-chrome-text);
}
.about-hero-photo figcaption span {
  color: var(--color-chrome-text-muted);
  font-size: var(--text-sm);
}
@media (max-width: 760px) {
  .about-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }
  .about-hero-photo {
    justify-self: center;
    order: -1;
    width: 200px;
  }
  .about-hero-photo img {
    width: 200px;
    height: 240px;
  }
}

/* ============ Cards ============ */
.card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.project-card .project-block + .project-block {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
}
.project-card .project-block p {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* Service feature layout — asymmetric, not a 3-col icon grid */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-10);
  align-items: start;
  padding-block: var(--space-10);
}
.feature-row + .feature-row {
  border-top: 1px solid var(--color-divider);
}
.feature-index {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.08em;
}
.feature-row h3 {
  margin-top: var(--space-2);
  font-size: var(--text-lg);
}
.feature-tag {
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  display: block;
  margin-bottom: var(--space-3);
}
.feature-list {
  list-style: none;
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-2);
}
.feature-list li {
  display: flex;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.feature-list li svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 3px;
  width: 15px;
  height: 15px;
}

/* Home service cards — evenly sized, wraps 3 + 2 centered */
.service-bento {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-5);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card {
  flex: 1 1 320px;
  max-width: 380px;
}
.service-card .num {
  font-family: var(--font-display);
  color: var(--color-text-faint);
  font-size: var(--text-sm);
}
.service-card h3 {
  font-size: var(--text-lg);
}
.service-card p {
  font-size: var(--text-sm);
  flex-grow: 1;
}
.service-card a.card-link,
.industry-card a.card-link,
.cert-card a.card-link {
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-2);
}
.service-card a.card-link svg,
.industry-card a.card-link svg,
.cert-card a.card-link svg {
  width: 14px;
  height: 14px;
}
.service-card a.card-link:hover,
.industry-card a.card-link:hover,
.cert-card a.card-link:hover {
  color: var(--color-primary-hover);
}

@media (max-width: 860px) {
  .service-card {
    flex-basis: 100%;
    max-width: 480px;
  }
  .feature-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }
}

/* ============ Why section ============ */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: start;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-6);
}
.why-item {
  display: flex;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}
.why-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.why-num {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--text-lg);
  color: var(--color-primary);
  flex-shrink: 0;
  width: 2ch;
}
.why-item h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.why-item p {
  font-size: var(--text-sm);
}
.why-item .why-capabilities {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}
.why-item .why-capabilities strong {
  color: var(--color-text);
  font-weight: 650;
}
@media (max-width: 860px) {
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
  }
}

/* ============ Industries ============ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
.industry-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.industry-card h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.industry-card p {
  font-size: var(--text-sm);
}
.industry-card .tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}
@media (max-width: 860px) {
  .industry-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ============ Certifications ============ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
.cert-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.cert-badge {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 2px solid var(--color-primary);
  background: var(--color-primary-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}
.cert-badge svg {
  width: 26px;
  height: 26px;
  color: var(--color-primary);
}
.cert-card .tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cert-card h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-1);
}
.cert-issuer {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.cert-card > p {
  font-size: var(--text-sm);
}
.cert-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
}
.cert-meta li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.cert-meta li svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--color-text-faint);
}
@media (max-width: 860px) {
  .cert-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .industry-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============ Testimonials ============ */
.testimonial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-6);
}
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}
.testimonial-attr {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
@media (max-width: 860px) {
  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Impact stats */
.impact-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}
.impact-stat {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
}
.impact-stat .num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 650;
  color: var(--color-primary);
}
.impact-stat .label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}
.impact-disclaimer {
  margin: var(--space-6) auto 0;
  max-width: 640px;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: left;
}
@media (max-width: 860px) {
  .impact-stats {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ============ Engagement history (About) ============ */
.engagement {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: var(--space-8);
  padding-block: var(--space-8);
}
.engagement + .engagement {
  border-top: 1px solid var(--color-divider);
}
.engagement .org {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
}
.engagement .role {
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: var(--space-1);
}
.engagement p {
  font-size: var(--text-sm);
}
@media (max-width: 700px) {
  .engagement {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
  }
}

/* ============ CTA band ============ */
.cta-band {
  background: linear-gradient(160deg, var(--color-chrome-bg) 0%, var(--color-chrome-bg-2) 100%);
  color: var(--color-chrome-text);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.cta-band h2 {
  color: var(--color-chrome-text);
  max-width: 32ch;
}
.cta-band p {
  color: var(--color-chrome-text-muted);
  max-width: 46ch;
}
.cta-band-content {
  flex: 1 1 320px;
}
.cta-band-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Full-bleed CTA (contact page offer) */
.offer-box {
  background: var(--color-primary-highlight);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.offer-box svg {
  color: var(--color-primary);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}
.offer-box p {
  color: var(--color-text);
  font-size: var(--text-sm);
  margin: 0;
}
.offer-box strong {
  color: var(--color-text);
}

/* ============ Forms ============ */
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-5);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.form-field .optional {
  color: var(--color-text-faint);
  font-weight: 400;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-base);
  min-height: 44px;
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.form-status {
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  display: none;
}
.form-status.show {
  display: block;
}
.form-status.success {
  background: var(--color-success-highlight);
  color: var(--color-success);
}
.form-status.error {
  background: var(--color-error-highlight);
  color: var(--color-error);
}
@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-field.full {
    grid-column: 1;
  }
}

/* ============ Footer ============ */
.site-footer {
  background: var(--color-chrome-bg);
  color: var(--color-chrome-text-muted);
  padding-block: var(--space-16) var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-chrome-border);
}
.footer-brand p {
  color: var(--color-chrome-text-muted);
  font-size: var(--text-sm);
  max-width: 34ch;
  margin-top: var(--space-3);
}
.footer-col h4 {
  color: var(--color-chrome-text);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-col a {
  color: var(--color-chrome-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
}
.footer-col a:hover {
  color: var(--color-chrome-accent);
  text-shadow: var(--shadow-chrome-text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-6);
  font-size: var(--text-xs);
}
.footer-social {
  display: flex;
  gap: var(--space-3);
}
.footer-social a {
  color: var(--color-chrome-text-muted);
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-chrome-border);
}
.footer-social a:hover {
  color: var(--color-chrome-accent);
  border-color: var(--color-chrome-accent);
  filter: drop-shadow(var(--shadow-chrome-text));
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* CTA-band eyebrow labels sit on the grey chrome and are colored inline
   via --color-chrome-accent — add the same edge-sharpening shadow here. */
.cta-band .eyebrow {
  text-shadow: var(--shadow-chrome-text);
}
.cta-band .eyebrow::before {
  box-shadow: var(--shadow-chrome-text);
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============ Scroll reveal (minimal, no clutter) ============ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Utility ============ */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-10);
}
@media (max-width: 860px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
  }
}
.section-head {
  max-width: 640px;
  margin-bottom: var(--space-10);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  z-index: 200;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus {
  left: 0;
}
