/*
Theme Name: ArdentCode 2026
Theme URI: https://ardentcode.com
Author: ArdentCode
Author URI: https://ardentcode.com
Description: ArdentCode marketing site theme 2026.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: ardentcode-2026
*/

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --navy: #213B63;
  --red: #ED2A37;
  --teal: #00ADBB;
  --gray: #A9A8A9;
  --blue-gray: #778FAC;
  --cream: #F0EEE9;

  --bg: #ffffff;
  --fg: #242e44;
  --fg-muted: #637080;
  --fg-subtle: #9aa3af;
  --border: #e8eaed;
  --muted-bg: #f5f6f7;
  --card-bg: #ffffff;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius: 9px;
  --radius-md: 6px;
  --radius-sm: 3px;

  --max-w: 1280px;
  --px: clamp(1rem, 4vw, 2rem);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section { padding: 7rem 0; }
.section--sm { padding: 4rem 0; }
.section--navy { background: var(--navy); }
.section--muted { background: var(--muted-bg); }
.section--muted-light { background: hsla(220,10%,96%,0.2); }
.section--cream { background: rgba(240, 238, 233, 0.6); }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5 {
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

p { line-height: 1.7; }

.text-muted { color: var(--fg-muted); }
.text-subtle { color: var(--fg-subtle); }
.text-white { color: #fff; }
.text-navy { color: var(--navy); }
.text-teal { color: var(--teal); }
.text-red { color: var(--red); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover { background: #d4232f; border-color: #d4232f; color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--muted-bg); color: var(--fg); }

.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: transparent;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.06); color: #fff; }

.btn-teal-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-teal-outline:hover { background: var(--teal); color: #fff; }

.btn-cta-navy {
  background: #fff;
  color: var(--navy);
  border-color: var(--red);
  padding: 0.875rem 2rem;
  font-size: 1rem;
}
.btn-cta-navy:hover { background: rgba(255,255,255,0.9); color: var(--navy); }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.site-logo img { height: 2.25rem; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 1.75rem; }
.nav-desktop a,
.nav-desktop .nav-toggle {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(36,46,68,0.75);
  transition: color 0.15s;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}
.nav-desktop a:hover,
.nav-desktop .nav-toggle:hover { color: var(--fg); }
.nav-desktop a.active { color: var(--red); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 18rem;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: none;
}
/* Bridge the gap between trigger and dropdown so hover isn't lost */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  border-radius: var(--radius-md);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--muted-bg); color: var(--fg); }
.nav-dropdown-menu a.active { color: var(--red); }

.nav-chevron {
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }

/* Header CTA */
.header-cta { display: block; }

/* Mobile nav */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-mobile { display: none; border-top: 1px solid var(--border); padding: 1rem var(--px); }
.nav-mobile.open { display: block; }
.nav-mobile a,
.nav-mobile .mobile-nav-group-title {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: rgba(36,46,68,0.75);
  border-radius: var(--radius-sm);
  transition: color 0.15s;
}
.nav-mobile a:hover { color: var(--fg); }
.nav-mobile .mobile-nav-group-title { font-weight: 600; color: var(--fg); }
.nav-mobile .mobile-subnav a { padding-left: 1.5rem; color: rgba(36,46,68,0.6); }
.nav-mobile-cta { padding-top: 0.75rem; border-top: 1px solid var(--border); margin-top: 0.5rem; }
.nav-mobile-cta .btn { width: 100%; justify-content: center; }

@media (max-width: 1023px) {
  .nav-desktop { display: none; }
  .header-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand img { height: 2.5rem; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 22rem; }
.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-nav a:hover { color: #fff; }
.footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--teal);
  transition: color 0.15s;
}
.footer-cta-link:hover { color: #fff; }
.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* ============================================================
   Hero Sections
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 6rem 0 5rem;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-eyebrow-text {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.hero-eyebrow-muted {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.hero-eyebrow-muted svg { width: 1rem; height: 1rem; opacity: 0.9; }
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero .hero-intro {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.65);
  max-width: 38rem;
  margin-bottom: 2.5rem;
  line-height: 1.4;
  font-weight: 300;
}
.hero-intro--narrow { max-width: 36rem; }
.hero-orb-1 {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: rgba(0,173,187,0.04);
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-2 {
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(237,42,55,0.03);
  filter: blur(60px);
  pointer-events: none;
}

/* Home hero - full height */
.hero--home {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0 6rem;
}
.hero--home .hero-content { width: 100%; }
.hero--home h1,
.hero--home .hero-intro { max-width: 36rem; }
.hero--home h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); margin-bottom: 2rem; }
.hero-code-decoration {
  position: absolute;
  top: 12%;
  right: 5%;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.055);
  white-space: pre;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 1023px) { .hero-code-decoration { display: none; } }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
}
.hero-tag-dot { width: 1rem; height: 1rem; color: rgba(0,173,187,0.6); }

/* ============================================================
   Cards
   ============================================================ */
.card-grid { display: grid; gap: 1.25rem; }
.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }

.card {
  background: rgba(244,244,246,0.3);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  z-index: 0;
  transition: background 0.2s;
}
.card::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  transition: background-color 0.15s;
}
.card:hover { background: rgba(244,244,246,0.5); }
.card--border { background: var(--card-bg); border: 1px solid hsla(220,10%,92%,0.5); }
.card--border:hover { background: var(--card-bg); }
.card--border:hover::after { background-color: rgba(0,0,0,0.03); }
.card--bordered {
  background: #fff;
  border: 1px solid rgba(233,234,237,0.5);
}
.card--dark {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(0,173,187,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: background 0.15s;
}
.card-icon svg { width: 1.25rem; height: 1.25rem; color: var(--teal); }
.card-icon--navy { background: rgba(33,59,99,0.04); }
.card-icon--navy svg { color: var(--navy); }

.card--clickable { cursor: pointer; }
.card--clickable h3 { transition: color 0.15s; }
.card--clickable:hover h3 { color: var(--red); }
.card-learn-more { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 500; color: var(--red); opacity: 0; transition: opacity 0.2s; }
.card-learn-more svg { width: 0.875rem; height: 0.875rem; }
.card--clickable:hover .card-learn-more { opacity: 1; }

.card-with-icon { display: flex; gap: 1.25rem; }
.card-with-icon .card-icon { margin-bottom: 0; }
.card-with-icon .card-body { flex: 1; }

/* ============================================================
   Section Headers
   ============================================================ */
.section-header { margin-bottom: 4rem; }
.section-header--flex {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .section-header--flex {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--fg-muted); font-size: 1.0625rem; max-width: 30rem; }
.section-header--center { text-align: center; }
.section-header--center p { margin: 0.75rem auto 0; }
.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 1rem;
}
.about-eyebrow { color: rgba(33,59,99,0.5); }
.section-desc {
  color: var(--fg-muted);
  font-size: 1.0625rem;
  max-width: 34rem;
  line-height: 1.7;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--red);
  transition: gap 0.2s;
  white-space: nowrap;
}
.section-link:hover { gap: 0.625rem; }
.section-link svg { width: 1rem; height: 1rem; }

/* ============================================================
   Process Steps (dark section)
   ============================================================ */
.step-badge {
  width: 2rem;
  height: 2rem;
  background: rgba(0,173,187,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.0625rem; color: #fff; }

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: var(--navy);
  padding: 6rem 0;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 1.25rem; }
.cta-section p { color: rgba(255,255,255,0.6); margin-bottom: 2.5rem; font-size: 1.125rem; max-width: 32rem; margin-left: auto; margin-right: auto; }

/* ============================================================
   Badges / Tags
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background: rgba(33,59,99,0.04);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(33,59,99,0.7);
}
.tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }

/* ============================================================
   Checklist
   ============================================================ */
.checklist { display: flex; flex-direction: column; gap: 0.875rem; }
.checklist-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.checklist-icon { color: var(--teal); margin-top: 0.125rem; flex-shrink: 0; }
.checklist-icon svg { width: 1.125rem; height: 1.125rem; }

/* ============================================================
   Two-column content
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 3fr 2fr; }
  .two-col--flip > *:first-child { order: 2; }
  .two-col--flip > *:last-child { order: 1; }
  .two-col--equal { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Eyebrow badge
   ============================================================ */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(0,173,187,0.08);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}
.eyebrow-badge svg { width: 0.875rem; height: 0.875rem; }

/* ============================================================
   AI list items (right col of two-col)
   ============================================================ */
.feature-list { display: flex; flex-direction: column; gap: 0.75rem; }
.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: hsla(220,10%,96%,0.4);
  border-radius: 0.5rem;
  transition: box-shadow 0.2s;
}
.feature-item:hover { box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.feature-item-icon {
  width: 2rem;
  height: 2rem;
  background: rgba(0,173,187,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-item-icon svg { width: 0.875rem; height: 0.875rem; color: var(--teal); }
.feature-item-icon--muted { background: hsla(220,10%,96%,0.6); }
.feature-item-icon--muted svg { color: var(--fg-muted); }
.feature-item-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--fg); }
.feature-item-desc { display: block; font-size: 0.75rem; color: var(--fg-muted); }

/* Work preview (homepage) */
.work-preview-desc {
  font-size: 1.125rem; color: var(--fg-muted); line-height: 1.6;
  margin: 1.25rem 0 1rem; max-width: 32rem;
}
.work-preview-sub {
  font-size: 0.875rem; color: var(--fg-muted); opacity: 0.7;
  margin-bottom: 2rem;
}

/* Large outline button variant */
.btn-outline--lg {
  height: 2.75rem; padding: 0 1.5rem; border-radius: 0.5rem;
  border-color: hsla(220,10%,92%,0.6);
}

/* ============================================================
   Ardent definition
   ============================================================ */
.ardent-def {
  display: flex;
  gap: 2.5rem;
  max-width: 44rem;
  margin: 0 auto;
}
.ardent-def-letter {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 5rem;
  color: rgba(237,42,55,1);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}
.ardent-word { font-family: var(--font-serif); font-style: italic; font-size: 1.75rem; }
.ardent-phonetic { font-family: var(--font-mono); font-size: 0.875rem; color: var(--fg-muted); }
.ardent-pos {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(100,112,128,0.6);
  margin-top: 0.25rem;
  display: block;
}
.ardent-definitions { margin-top: 1.25rem; margin-bottom: 1.5rem; list-style: decimal; padding-left: 1.25rem; }
.ardent-definitions li { color: rgba(36,46,68,0.7); line-height: 1.7; font-size: 0.9375rem; }
.ardent-definitions li + li { margin-top: 0.5rem; }
.ardent-statement {
  padding-left: 1.25rem;
  border-left: 2px solid rgba(237,42,55,0.2);
  font-style: italic;
  color: var(--fg-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* ============================================================
   About page - statements
   ============================================================ */
.statements { display: flex; flex-direction: column; gap: 1.25rem; }
.statement-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(240, 238, 233, 0.4);
  border: 1px solid rgba(33, 59, 99, 0.04);
  font-size: 1rem;
  color: rgba(36,46,68,0.8);
  line-height: 1.6;
  font-weight: 500;
}
.statement-item::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.625rem;
}

/* ============================================================
   Who we work with
   ============================================================ */
.who-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who-card {
  background: var(--muted-bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  z-index: 0;
}
.who-card::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  transition: background-color 0.15s;
}
.who-card h3 { font-size: 1.125rem; margin-bottom: 0.75rem; }
.who-card p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }
.who-card--bordered {
  background: #fff;
  border: 1px solid hsla(220,10%,92%,0.5);
  transition: box-shadow 0.2s;
}
.who-card--bordered:hover::after { background-color: rgba(0,0,0,0.03); }
.who-card--bordered:hover .card-icon--navy { background: rgba(33,59,99,0.08); }

/* ============================================================
   Case Studies (Work page)
   ============================================================ */
.case-study-grid { display: flex; flex-direction: column; gap: 2rem; max-width: 56rem; margin: 0 auto; }

.case-study-card {
  background: #fff;
  border: 1px solid rgba(233,234,237,0.5);
  border-radius: var(--radius);
  padding: 2.25rem;
}
.case-study-industry {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.case-study-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .case-study-columns { grid-template-columns: repeat(3, 1fr); } }
.case-study-section h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-subtle);
  margin-bottom: 0.75rem;
}
.case-study-section p { font-size: 0.875rem; color: var(--fg); opacity: 0.8; line-height: 1.65; }
.case-study-tags { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }

/* ============================================================
   Press (News) page
   ============================================================ */
.press-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .press-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .press-grid { grid-template-columns: repeat(3, 1fr); } }

.press-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.press-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.press-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.press-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--fg-subtle);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.press-card-cat {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  font-size: 0.6875rem;
}
.press-card h3 { font-size: 1.0625rem; margin-bottom: 0.75rem; line-height: 1.4; }
.press-card h3 a { transition: color 0.15s; }
.press-card h3 a:hover { color: var(--red); }
.press-card-excerpt { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; flex: 1; }
.press-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--red);
}
.press-card-link:hover { gap: 0.625rem; }

/* ============================================================
   Careers - Job Openings
   ============================================================ */
.job-list { display: flex; flex-direction: column; gap: 1rem; }
.job-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.job-card h3 { font-size: 1.125rem; margin-bottom: 0; }
.job-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.job-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.job-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(33, 59, 99, 0.04);
  border-radius: 0.375rem;
  color: var(--navy);
  flex-shrink: 0;
  transition: background 0.2s;
}
.job-card-icon svg { width: 1.25rem; height: 1.25rem; }
.job-experience { font-size: 0.875rem; color: var(--fg-muted); font-weight: 400; white-space: nowrap; }
.job-desc { font-size: 0.9375rem; color: var(--fg-muted); margin-bottom: 1rem; line-height: 1.65; }
a.job-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.job-card {
  position: relative;
  transition: background 0.2s;
}
.job-card:hover {
  background: rgba(0,0,0,0.015);
}
.job-card:hover .job-card-icon {
  background: rgba(33, 59, 99, 0.08);
}

/* ============================================================
   AI sections (alternating)
   ============================================================ */
.ai-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.ai-section:last-child { border-bottom: none; }
@media (min-width: 1024px) {
  .ai-section { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .ai-section--flip > *:first-child { order: 2; }
  .ai-section--flip > *:last-child { order: 1; }
}
.ai-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.ai-section-bar {
  width: 0.25rem;
  height: 2rem;
  background: var(--red);
  border-radius: 9999px;
  flex-shrink: 0;
}
.ai-section h3 { font-size: 1.5rem; margin-bottom: 0; }
.ai-section p { color: var(--fg-muted); line-height: 1.7; margin-bottom: 0; }
.ai-highlights { display: flex; flex-direction: column; gap: 0.625rem; }
.ai-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--fg);
  opacity: 0.8;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(245, 241, 234, 0.4);
  border: 1px solid rgba(26, 32, 44, 0.04);
  line-height: 1.6;
}
.ai-highlight::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* AI Examples grid */
.ai-examples-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .ai-examples-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ai-examples-grid { grid-template-columns: repeat(3, 1fr); } }

.ai-example-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}
.ai-example-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); transform: translateY(-2px); }
.ai-example-card h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.75rem; }
.ai-example-card p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; margin-bottom: 1.25rem; }

/* Responsibility section */
.responsibility-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .responsibility-grid { grid-template-columns: repeat(3, 1fr); } }
.responsibility-card {
  text-align: center;
}
.responsibility-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--teal);
}
.responsibility-icon svg { width: 1.5rem; height: 1.5rem; }
.responsibility-card h3 { font-size: 1.125rem; color: var(--navy); margin-bottom: 0.75rem; }
.responsibility-card p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.7; }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: 6rem; } }

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.contact-form-subtitle {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.contact-info h3 { font-size: 1.125rem; font-weight: 600; color: var(--navy); margin-bottom: 1.25rem; }

.contact-hq-address {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.contact-hq-icon { color: var(--teal); flex-shrink: 0; margin-top: 0.125rem; }
.contact-hq-address p { font-size: 1rem; color: var(--fg-muted); line-height: 1.6; margin: 0; }

.contact-channels { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 0.5rem; }
.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-channel-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px dashed rgba(45, 212, 191, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.contact-channel-icon svg { width: 1.25rem; height: 1.25rem; }
.contact-channel-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.125rem;
}
.contact-channel a {
  font-size: 1rem;
  color: var(--fg-muted);
  transition: color 0.15s;
}
.contact-channel a:hover { color: var(--red); }

/* CF7 form styles */
.wpcf7 .wpcf7-form { display: flex; flex-direction: column; gap: 1.5rem; }
.cf7-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .cf7-row { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.wpcf7 label { font-size: 0.875rem; font-weight: 500; color: var(--navy); display: block; margin-bottom: 0.375rem; }
.wpcf7 label .required { color: var(--red); }
.wpcf7 label .optional { color: var(--fg-muted); font-weight: 400; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.2s;
  outline: none;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus { border-color: var(--teal); }
.wpcf7 textarea { resize: vertical; min-height: 8rem; }
.wpcf7 .wpcf7-submit {
  align-self: flex-start;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.wpcf7 .wpcf7-submit:hover { background: #d4232f; }
.wpcf7 input[type="file"] {
  width: 100%;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--fg-muted);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s;
}
.wpcf7 input[type="file"]:hover { border-color: var(--teal); }
.wpcf7 input[type="file"]::file-selector-button {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  margin-right: 0.75rem;
  transition: background 0.2s;
}
.wpcf7 input[type="file"]::file-selector-button:hover { background: var(--teal); }
.wpcf7 .wpcf7-not-valid-tip { font-size: 0.8125rem; color: var(--red); margin-top: 0.25rem; }
.wpcf7 .wpcf7-response-output { font-size: 0.875rem; margin-top: 1rem; padding: 0.875rem 1rem; border-radius: var(--radius-md); }

/* ============================================================
   Fade-in animation
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SVG icons (inline sprites)
   ============================================================ */
.icon { display: inline-block; }
.icon svg { display: block; }

/* ============================================================
   Solutions page overview
   ============================================================ */
.solution-overview-list { display: flex; flex-direction: column; gap: 1.5rem; }
.solution-overview-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.solution-overview-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.07); transform: translateY(-1px); }
.solution-overview-card .sol-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(0,173,187,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.solution-overview-card .sol-icon svg { width: 1.5rem; height: 1.5rem; color: var(--teal); }
.solution-overview-card h3 { font-size: 1.25rem; margin-bottom: 0.625rem; transition: color 0.15s; }
.solution-overview-card:hover h3 { color: var(--red); }
.solution-overview-card p { font-size: 0.9375rem; color: var(--fg-muted); line-height: 1.7; }
.solution-overview-card .sol-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--red);
}

/* ============================================================
   Solution detail page
   ============================================================ */
/* Solution detail h2 sizing (Replit uses text-2xl/text-3xl ≈ 1.875rem) */
body.page-template-template-solution-detail h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
}
/* About page h2 sizing (Replit uses text-3xl/text-4xl ≈ 2.25rem) */
body.page-template-template-about h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

/* Solution detail lists */
.solution-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.solution-list-item { display: flex; align-items: flex-start; gap: 1rem; font-size: 1rem; color: var(--fg-muted); line-height: 1.7; }
.solution-list-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: 0.2rem; }
.solution-list-icon--teal { color: var(--teal); }
.solution-list-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--red); flex-shrink: 0; margin-top: 0.55rem;
}

/* Engagement model columns */
.engagement-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.engagement-col {
  padding: 2rem;
}
.engagement-col--border {
  border-right: 1px solid rgba(30,41,59,0.07);
}
.engagement-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(220,38,38,0.10);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.engagement-col h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.engagement-col p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }
@media (max-width: 768px) {
  .engagement-columns { grid-template-columns: 1fr 1fr; }
  .engagement-col--border { border-right: none; }
}
@media (max-width: 480px) {
  .engagement-columns { grid-template-columns: 1fr; }
}

/* Hiring process steps (careers page) */
.hiring-steps { display: flex; flex-direction: column; gap: 1rem; }
.hiring-step {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid rgba(233,234,237,0.5);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: background 0.2s;
}
.hiring-step:hover {
  background: rgba(0,0,0,0.015);
}
.hiring-step-badge {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(0,173,187,0.1);
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-mono, ui-monospace, monospace);
  color: var(--teal);
  flex-shrink: 0;
}
.hiring-step-body { flex: 1; }
.hiring-step-body h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.hiring-step-body p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

/* ============================================================
   Prose (article body content)
   ============================================================ */
.prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(36,46,68,0.8);
}
.prose p {
  margin-bottom: 1.5rem;
}
.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.prose h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--fg);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.prose h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose ul,
.prose ol {
  margin-bottom: 1.5rem;
  padding-left: 0;
}
.prose ul {
  list-style: none;
}
.prose ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: rgba(36,46,68,0.8);
  line-height: 1.7;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--teal);
}
.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
}
.prose ol li {
  margin-bottom: 0.5rem;
  color: rgba(36,46,68,0.8);
  line-height: 1.7;
  padding-left: 0.25rem;
}
.prose ol li::marker {
  color: var(--teal);
  font-weight: 600;
}
.prose blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--red);
  background: rgba(240, 238, 233, 0.4);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--fg-muted);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.prose thead th,
.prose th {
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.875rem 1.25rem;
  text-align: left;
}
.prose tbody td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: rgba(36,46,68,0.8);
}
.prose tbody tr:last-child td { border-bottom: none; }
.prose tbody tr:nth-child(even) { background: var(--muted-bg); }
.prose a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.prose a:hover { color: var(--navy); }
.prose strong { font-weight: 600; color: var(--fg); }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* Article hero pattern overlay */
.hero-dot-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Article meta row */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.article-cat {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
}
.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.article-meta-item svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* More articles section */
.more-articles { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px dashed var(--border); }
.more-articles-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-subtle);
  margin-bottom: 1.25rem;
}
.more-article-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(232,234,237,0.5);
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.more-article-card + .more-article-card { margin-top: 0.75rem; }
.more-article-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); transform: translateY(-1px); }
.more-article-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.15s;
}
.more-article-card:hover .more-article-card-title { color: var(--red); }
.more-article-card-meta {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}
.more-article-card-arrow {
  color: var(--fg-subtle);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.more-article-card:hover .more-article-card-arrow { transform: translateX(4px); }
.more-article-card-arrow svg { width: 1rem; height: 1rem; }

/* ============================================================
   Responsive tweaks
   ============================================================ */
@media (max-width: 640px) {
  .hero--home { padding: 6rem 0 4rem; min-height: auto; }
  .ardent-def { flex-direction: column; gap: 1rem; }
  .ardent-def-letter { font-size: 3.5rem; }
}

/* ============================================================
   Credibility Strip
   ============================================================ */
.credibility-strip { padding-top: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
.credibility-stats {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.5rem 2.5rem;
}
.credibility-stat { text-align: center; padding: 0 0.5rem; }
.credibility-stat-value {
  display: block; font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 700; color: var(--navy);
}
.credibility-stat-label {
  display: block; font-size: 0.8125rem; color: var(--fg-muted); margin-top: 0.25rem;
}
.credibility-logos {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.05);
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2.5rem;
}
.credibility-logos-main { flex: 1; }
.credibility-logos-title {
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--fg-subtle); margin-bottom: 1.25rem;
}
.credibility-logos-row {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.75rem;
}
.credibility-logo {
  width: 145px; height: auto; object-fit: contain; opacity: 0.9;
  transition: opacity 0.3s;
}
.credibility-logo:hover { opacity: 1; }
.credibility-logo-text {
  font-size: 1.25rem; font-weight: 700; color: var(--navy); opacity: 0.8;
  letter-spacing: -0.01em; line-height: 1;
}
.credibility-logo-text sup { font-size: 0.6em; vertical-align: super; }
.credibility-logos-divider {
  width: 1px; height: 4rem; background: rgba(0,0,0,0.08); flex-shrink: 0;
}
.credibility-logos-products { flex-shrink: 0; }
.credibility-product-text {
  font-size: 1.25rem; font-weight: 600; color: var(--navy); opacity: 0.8;
  letter-spacing: -0.01em; line-height: 1;
}
.credibility-product-logo {
  height: 2rem; width: auto; object-fit: contain;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .credibility-logos { flex-direction: column; align-items: center; }
  .credibility-logos-divider { width: 4rem; height: 1px; }
  .credibility-logos-main, .credibility-logos-products { text-align: center; }
  .credibility-logos-row { justify-content: center; }
}

/* ============================================================
   Technology Stack
   ============================================================ */
.tech-stack-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem; max-width: 52rem; margin: 0 auto;
}
.tech-stack-card {
  background: #fff; border-radius: 1rem; padding: 2rem 2.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.06);
}
.tech-stack-label {
  font-size: 0.8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--navy); margin-bottom: 1.5rem;
}
.tech-stack-img {
  width: 100%; height: auto; object-fit: contain; filter: grayscale(1);
}
@media (max-width: 640px) {
  .tech-stack-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Testimonial Carousel (Home)
   ============================================================ */
.section--cream { background: rgba(240,238,233,0.6); }
.testimonial-card {
  background: #fff; border-radius: 0.75rem; padding: 2rem 3rem;
  border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  min-height: 15rem; display: flex; flex-direction: column; justify-content: space-between;
}
.testimonial-quote-icon { color: rgba(237,42,55,0.15); margin-bottom: 1rem; }
.testimonial-quote {
  font-size: 1rem; line-height: 1.7; color: var(--fg); opacity: 0.8;
  margin-bottom: 1.5rem;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.testimonial-author-name { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.testimonial-author-title,
.testimonial-author-company { font-size: 0.875rem; color: var(--fg-muted); }
.testimonial-nav {
  display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem;
}
.testimonial-prev, .testimonial-next {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1); background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.testimonial-prev:hover, .testimonial-next:hover { background: rgba(0,0,0,0.04); }
.testimonial-dots { display: flex; gap: 0.5rem; }
.testimonial-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 9999px;
  background: rgba(33,59,99,0.2); border: none; cursor: pointer;
  transition: all 0.3s;
}
.testimonial-dot.active { background: var(--navy); width: 1.5rem; }

@media (max-width: 640px) {
  .testimonial-card { padding: 1.5rem; }
}

/* ============================================================
   Team Section
   ============================================================ */
.team-doughnut { display: block; margin: 0 auto; }
.team-legend {
  display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem;
}
.team-legend-item { display: flex; align-items: center; gap: 0.5rem; }
.team-legend-dot {
  width: 0.75rem; height: 0.75rem; border-radius: 50%; flex-shrink: 0;
}
.eyebrow-badge--dark {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.75rem; border-radius: 9999px;
  background: rgba(255,255,255,0.06); color: var(--teal);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .team-legend { flex-direction: column; gap: 0.75rem; }
}

/* ============================================================
   Leadership
   ============================================================ */
.card-grid--3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
@media (max-width: 768px) {
  .card-grid--3 { grid-template-columns: 1fr; }
}

/* ============================================================
   About Page
   ============================================================ */
.about-container { max-width: 64rem; }
.about-container--narrow { max-width: 48rem; }
.about-section-intro { max-width: 36rem; }
.about-section-intro--sm { margin-bottom: 3rem; }
.about-section-intro--lg { margin-bottom: 4rem; }
.about-section-intro--statements { margin-bottom: 2.5rem; }
.about-section-intro h2 { margin-bottom: 1.25rem; }
.about-h2--tight { margin-bottom: 1rem; }
.about-section-desc { font-size: 1.125rem; line-height: 1.6; color: var(--fg-muted); }
.about-card-title { font-size: 1rem; margin-bottom: 0.75rem; }
.about-card-desc { font-size: 0.875rem; line-height: 1.6; color: var(--fg-muted); }

.company-quote {
  background: rgba(240,238,233,0.6); border-radius: 0.75rem;
  padding: 2rem 2.5rem;
  border: 1px solid hsla(220,10%,92%,0.3);
}
.company-quote-icon { color: rgba(237,42,55,0.2); margin-bottom: 1rem; }
.company-quote-text {
  font-size: 1.125rem; font-style: italic; line-height: 1.7;
  color: rgba(36,46,68,0.8); margin-bottom: 1.5rem;
}
.company-quote-name { font-weight: 600; color: var(--navy); font-size: 0.9375rem; }
.company-quote-title { color: var(--fg-muted); font-size: 0.875rem; }
.company-quote-company { color: var(--fg-muted); font-size: 0.875rem; }

/* ============================================================
   References Page
   ============================================================ */
.references-container { max-width: 56rem; }
.references-list { display: flex; flex-direction: column; gap: 2.5rem; }
.reference-card {
  background: #fff; border: 1px solid hsla(220,10%,92%,0.5);
  border-radius: 0.375rem; padding: 2rem 2.5rem;
}
.reference-quote-icon { color: rgba(0,173,187,0.3); margin-bottom: 1.5rem; }
.reference-quote {
  font-size: 1.125rem; line-height: 1.6; color: rgba(36,46,68,0.85);
  margin-bottom: 2rem;
}
.reference-footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid hsla(220,10%,92%,0.4);
}
.reference-author { flex: 1; min-width: 0; }
.reference-author-name { font-weight: 600; color: var(--navy); }
.reference-author-title { font-size: 0.875rem; color: var(--fg-muted); margin-top: 0.125rem; }
.reference-author-company { font-size: 0.875rem; font-weight: 500; color: var(--red); margin-top: 0.125rem; }
.reference-meta {
  display: flex; align-items: center; gap: 1rem; flex-shrink: 0;
}
.reference-logo {
  height: 2rem; width: auto; object-fit: contain; opacity: 0.6;
}
.reference-location {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.75rem; color: var(--fg-muted);
}

@media (max-width: 640px) {
  .reference-card { padding: 1.5rem; }
  .reference-footer { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Work Page – Sector Accordion
   ============================================================ */
.sector-list { display: flex; flex-direction: column; gap: 1.5rem; }
.sector-accordion {
  border: 1px solid hsla(220,10%,92%,0.5); border-radius: 0.5rem;
  background: #fff; overflow: hidden;
}
.sector-header {
  width: 100%; display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem 2rem; text-align: left; background: none; border: none;
  cursor: pointer; transition: background 0.15s;
  font-family: inherit;
}
.sector-header:hover { background: rgba(0,0,0,0.015); }
.sector-header-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 0.5rem;
  background: rgba(0,173,187,0.1); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; color: var(--teal);
}
.sector-header-text { flex: 1; min-width: 0; }
.sector-header-text h2 {
  font-size: 1.125rem; font-weight: 600; color: var(--navy); margin-bottom: 0.25rem;
}
@media (min-width: 640px) {
  .sector-header-text h2 { font-size: 1.25rem; }
}
.sector-header-text p {
  font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6;
}
.sector-header-meta {
  display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0;
}
.sector-count {
  font-size: 0.75rem; font-weight: 500; color: var(--fg-muted);
}
.sector-chevron { transition: transform 0.2s; }
.sector-header.open .sector-chevron { transform: rotate(180deg); }
.sector-projects {
  display: none; padding: 0 2rem 2rem;
}
.sector-projects::before {
  content: ''; display: block; height: 1px;
  background: hsla(220,10%,92%,0.3); margin-bottom: 1.5rem;
}
.project-card {
  padding: 1.5rem 1.75rem; border: 1px solid hsla(220,10%,92%,0.4);
  border-radius: 0.375rem; background: hsla(220,10%,96%,0.1);
}
.project-card + .project-card { margin-top: 1.25rem; }
.project-columns {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.project-section h4 {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: rgba(33,59,99,0.5); margin-bottom: 0.75rem;
}
.project-section p {
  font-size: 0.875rem; color: rgba(36,46,68,0.8); line-height: 1.6;
}

@media (max-width: 768px) {
  .sector-header { padding: 1.25rem; gap: 1rem; }
  .sector-count { display: none; }
  .sector-projects { padding: 0 1.25rem 1.25rem; }
  .project-columns { grid-template-columns: 1fr; gap: 1rem; }
  .project-card { padding: 1.25rem; }
}

/* Hero subpage dot pattern variant */
.hero--subpage {
  position: relative; overflow: hidden;
  padding: 6rem 0 5rem; background: var(--navy);
}
.hero-dot-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 48px 48px;
}
