/* ===== JBISOFTWARE Staffing — Global Styles ===== */

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

:root {
  --navy:    #0b213f;
  --navy-light: #0e2a4a;
  --blue:    #0094b8;
  --blue-light: #e6f4f8;
  --teal:    #0094b8;
  --teal-dark: #007a99;
  --green:   #76c043;
  --white:   #ffffff;
  --gray-50: #f8fafc;
  --gray-100:#f1f5f9;
  --gray-200:#e2e8f0;
  --gray-300:#cbd5e1;
  --gray-400:#94a3b8;
  --gray-500:#64748b;
  --gray-600:#475569;
  --gray-700:#334155;
  --gray-800:#1e293b;
  --gray-900:#0f172a;
  --radius:  12px;
  --shadow-sm: 0 1px 3px rgba(11,33,63,.07), 0 1px 2px rgba(11,33,63,.04);
  --shadow:    0 4px 20px rgba(11,33,63,.09), 0 1px 4px rgba(11,33,63,.04);
  --shadow-lg: 0 12px 40px rgba(11,33,63,.13), 0 4px 12px rgba(11,33,63,.06);
  --ease-out: cubic-bezier(.22,1,.36,1);
  --red: #dc2626;

  /* Semantic alpha tokens — avoids repeated inline rgba() */
  --white-92:  rgba(255,255,255,.92);
  --white-75:  rgba(255,255,255,.75);
  --white-70:  rgba(255,255,255,.70);
  --white-60:  rgba(255,255,255,.60);
  --white-35:  rgba(255,255,255,.35);
  --white-30:  rgba(255,255,255,.30);
  --white-12:  rgba(255,255,255,.12);
  --white-10:  rgba(255,255,255,.10);
  --white-08:  rgba(255,255,255,.08);
  --teal-20:   rgba(0,148,184,.20);
  --teal-15:   rgba(0,148,184,.15);
  --teal-14:   rgba(0,148,184,.14);
  --teal-10:   rgba(0,148,184,.10);
  --teal-08:   rgba(0,148,184,.08);
  --teal-06:   rgba(0,148,184,.06);
  --green-10:  rgba(118,192,67,.10);
  --red-15:    rgba(220,38,38,.15);
  --red-10:    rgba(220,38,38,.10);
  --navy-96:   rgba(11,33,63,.96);
  --navy-14:   rgba(11,33,63,.14);
  --navy-10:   rgba(11,33,63,.10);
  --navy-08:   rgba(11,33,63,.08);
  --overlay:   rgba(0,0,0,.50);
}

/* ---------- OKLCH Color Overrides ---------- */
/* Hex values in :root are the universal fallback.
   Modern browsers (Chrome 111+, Firefox 113+, Safari 16.4+) use these
   perceptually-uniform OKLCH equivalents for smoother gradients and
   more accurate color mixing. */
@supports (color: oklch(0 0 0)) {
  :root {
    --navy:       oklch(0.249 0.0636 256.9deg);
    --navy-light: oklch(0.282 0.0680 253.8deg);
    --teal:       oklch(0.619 0.1152 223.0deg);
    --teal-dark:  oklch(0.538 0.1008 223.6deg);
    --green:      oklch(0.734 0.1748 134.9deg);
    --red:        oklch(0.577 0.2152 27.3deg);
    --gray-50:    oklch(0.984 0.0034 247.9deg);
    --gray-100:   oklch(0.968 0.0069 247.9deg);
    --gray-200:   oklch(0.929 0.0126 255.5deg);
    --gray-300:   oklch(0.869 0.0198 252.9deg);
    --gray-400:   oklch(0.711 0.0351 256.8deg);
    --gray-500:   oklch(0.554 0.0407 257.4deg);
    --gray-600:   oklch(0.446 0.0374 257.3deg);
    --gray-700:   oklch(0.372 0.0392 257.3deg);
    --gray-800:   oklch(0.279 0.0368 260.0deg);
    --gray-900:   oklch(0.208 0.0398 265.8deg);
    --blue:       oklch(0.619 0.1152 223.0deg);
    --blue-light: oklch(0.958 0.0158 216.7deg);
  }
}

html { scroll-behavior: smooth; font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Skip to content */
.skip-link {
  position: absolute; top: 0; left: 16px; transform: translateY(-100%);
  padding: 12px 24px;
  background: var(--teal); color: var(--white);
  font-weight: 600; font-size: .9rem;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.18; letter-spacing: -.018em; text-wrap: balance; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; text-wrap: balance; }
p  { color: var(--gray-600); line-height: 1.75; max-width: 68ch; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--teal);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-size: .95rem; font-weight: 600;
  border-radius: 50px; border: none; cursor: pointer;
  transition: background .2s cubic-bezier(.22,1,.36,1), transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s cubic-bezier(.22,1,.36,1), color .2s, border-color .2s;
}
.btn-primary   { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,100,150,.35); }
.btn-primary:active { transform: scale(0.97) translateY(0); box-shadow: 0 2px 8px rgba(0,100,150,.2); }
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.btn-secondary { background: var(--white); color: var(--navy); border: 2px solid var(--gray-200); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-secondary:active { transform: scale(0.97) translateY(0); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid var(--white-35); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-outline-white:active { transform: scale(0.97); }
.btn-sm { padding: 10px 24px; font-size: .875rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white-92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .25s cubic-bezier(.22,1,.36,1);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.navbar .logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 800; color: var(--navy);
  text-decoration: none;
}
.navbar .logo img { height: 48px; width: auto; border-radius: 4px; }
.navbar .logo span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  position: relative;
  font-size: .9rem; font-weight: 400;
  color: var(--gray-600);
  transition: color .2s cubic-bezier(.22,1,.36,1);
  /* Touch target — min 44px tall */
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 0 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s cubic-bezier(.23,1,.32,1);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta { margin-left: 12px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 6px 0; transition: transform .25s cubic-bezier(.22,1,.36,1), opacity .2s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #12365c 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0,148,184,.12) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(26,107,255,.08) 0%, transparent 50%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p { color: var(--white-75); font-size: 1.15rem; margin-bottom: 36px; max-width: 520px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.hero-stat-card {
  background: var(--white-08);
  backdrop-filter: blur(8px);
  border: 1px solid var(--white-12);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.hero-stat-card .number { font-size: 2.2rem; font-weight: 800; color: var(--teal); display: block; }
.hero-stat-card .label  { font-size: .85rem; color: var(--white-70); margin-top: 4px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.bg-light { background: var(--gray-50); }
.bg-navy  { background: var(--navy); color: var(--white); }
.text-center { text-align: center; }
.section-header { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-header p { margin-top: 16px; }

/* ---------- Cards Grid ---------- */
.cards-grid { display: grid; gap: 28px; }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid.cols-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s cubic-bezier(.22,1,.36,1), border-color .2s;
}
.card { cursor: default; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-light);
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.card-icon.teal { background: var(--teal-10); }
.card h3 { margin-bottom: 10px; color: var(--gray-900); }
.card p  { font-size: .925rem; }

/* ---------- Stats Row ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
  padding: 20px 0;
}
.stat .number { font-size: 2.8rem; font-weight: 800; color: var(--teal); }
.stat .label  { font-size: .9rem; color: var(--gray-400); margin-top: 4px; }
.bg-navy .stat .label { color: var(--white-60); }

/* ---------- Platforms intro ---------- */
.platforms-intro { text-align: center; margin-bottom: 12px; }

/* ---------- Platforms ---------- */
.platform-pills { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.pill {
  padding: 12px 28px;
  min-height: 44px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-weight: 600; font-size: .9rem;
  color: var(--navy);
  transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s cubic-bezier(.22,1,.36,1), border-color .15s, color .15s;
}
.pill { cursor: pointer; }
.pill:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.pill:focus { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- Process / Timeline ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.process-step { text-align: center; position: relative; }
.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin: 0 auto 20px;
  background: var(--teal);
  color: var(--white);
  font-weight: 700; font-size: 1.1rem;
  border-radius: 50%;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p  { font-size: .9rem; }

/* ---------- CTA Banner ---------- */
/* Angle: 160deg (bottom-left origin, feels grounded) + teal accent stop */
.cta-banner {
  background: linear-gradient(160deg, #081e3a 0%, var(--navy) 50%, #0a2d52 100%);
  border-radius: var(--radius);
  padding: 64px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,148,184,.15) 0%, transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: var(--white-75); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { background: var(--teal); }

/* ---------- Staffing Models ---------- */
.models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.model-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s cubic-bezier(.22,1,.36,1), border-color .2s;
}
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.model-card:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.model-card .icon { font-size: 2.5rem; margin-bottom: 20px; }
.model-card h3 { margin-bottom: 12px; }

/* ---------- Contact / Form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
}
.contact-info-card h2 { color: var(--white); margin-bottom: 32px; font-size: 1.5rem; }
.contact-info-card h3 { color: var(--white); margin-bottom: 8px; }
.contact-info-card p  { color: var(--white-70); }
.contact-info-card a  { color: var(--white-70); transition: color .2s; }
.contact-info-card a:hover { color: var(--teal); }
.contact-item { margin-bottom: 28px; display: flex; gap: 16px; }
.contact-item .contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-item .contact-text h3 { font-size: 1rem; }
.contact-item .contact-text p { font-size: .9rem; }
.form-card h2 { margin-bottom: 28px; font-size: 1.5rem; }

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-15);
}
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-15);
}
.form-group.success-message,
.form-group.error-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 16px;
  text-align: center;
}
.form-group.success-message {
  background-color: var(--green-10);
  border: 1px solid var(--green);
  color: var(--green);
}
.form-group.error-message {
  background-color: var(--red-10);
  border: 1px solid var(--red);
  color: var(--red);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Intake Form Specifics ---------- */
.intake-section {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 28px;
}
.intake-section h3 { color: var(--navy); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-100); }

.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 8px; }
.checkbox-item, .radio-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: .9rem;
}
.checkbox-item:hover, .radio-item:hover { border-color: var(--teal); background: rgba(0,148,184,.03); }
.checkbox-item input, .radio-item input { accent-color: var(--teal); width: 18px; height: 18px; }
.radio-group { display: flex; gap: 12px; margin-top: 8px; }

.intake-notice {
  background: var(--teal-06);
  border: 1px solid var(--teal-20);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: .875rem;
  color: var(--gray-600);
}

/* ---------- About Page ---------- */
/* Angle: top → bottom, slightly warmer dark — feels like looking up */
.about-hero {
  padding: 130px 0 64px;
  background: linear-gradient(180deg, #0a2341 0%, var(--navy) 100%);
  color: var(--white);
  text-align: center;
}
.about-hero p { color: var(--white-75); max-width: 600px; margin: 16px auto 0; font-size: 1.15rem; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s cubic-bezier(.22,1,.36,1);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-card:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.value-card .icon { font-size: 2.5rem; margin-bottom: 16px; }
.value-card h3 { margin-bottom: 10px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: var(--white-70);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--white-10);
}
.footer h4 { color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.footer-brand p { font-size: .9rem; margin-top: 12px; max-width: 300px; }
.footer-brand .logo { font-size: 1.2rem; font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 10px; }
.footer-brand .logo img { height: 56px; width: auto; border-radius: 4px; }
.footer-brand .logo span { color: var(--teal); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--teal); }
.footer-links a:focus-visible { outline: 1px solid var(--teal); outline-offset: 2px; border-radius: 2px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: .85rem; }

/* ---------- Page Header (interior pages) ---------- */
/* Angle: 120deg — diagonal from upper-left, subtle two-stop depth */
.page-header {
  padding: 120px 0 48px;
  background: linear-gradient(120deg, var(--navy) 0%, #0d2f56 100%);
  color: var(--white);
  text-align: center;
}
.page-header p { color: var(--white-70); margin-top: 12px; font-size: 1.1rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 32px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 16px 0;
  font-size: 1.1rem; font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

/* ---------- Mega-Menu Dropdown ---------- */
.nav-links .nav-dropdown-trigger { position: relative; }

/* Invisible bridge fills the gap between nav link and dropdown
   so the mouse never loses hover while moving down */
.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 16px;
  background: transparent;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(1120px, calc(100vw - 32px));
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.12), 0 1px 3px rgba(0,0,0,.06);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
  pointer-events: none;
}
.nav-dropdown-trigger:focus-within .nav-dropdown,
.nav-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--gray-700);
  font-size: .85rem;
  font-weight: 500;
  transition: background .15s;
}
.nav-dropdown a:hover {
  background: var(--gray-50);
  color: var(--navy);
}
.nav-dropdown .dd-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: 8px;
  flex-shrink: 0;
  font-size: 1rem;
}
.nav-dropdown .dd-label { font-weight: 600; color: var(--navy); }
.nav-dropdown .dd-desc { font-size: .78rem; color: var(--gray-500); margin-top: 2px; }
@media (max-width: 1024px) {
  .nav-dropdown { display: none; }
}

/* Mobile nav accordion */
.mobile-nav-accordion { display: none; padding-left: 16px; }
.mobile-nav-accordion.open { display: block; }
.mobile-nav-accordion a {
  display: block;
  padding: 8px 0;
  font-size: .9rem;
  color: var(--gray-400);
}
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}
.mobile-nav-toggle::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform .2s;
}
.mobile-nav-toggle.open::after {
  transform: rotate(45deg);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .cards-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .models-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .cards-grid.cols-2,
  .cards-grid.cols-3,
  .cards-grid.cols-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .hero { padding: 120px 0 56px; }
  .hero-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cta-banner { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: 1fr; }
}

/* ---------- Service Highlights ---------- */
.service-highlights {
  margin-top: 48px;
  text-align: center;
}
.service-highlights h3 {
  margin-bottom: 20px;
  color: var(--gray-800);
}
.highlight-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.highlight-pill {
  padding: 10px 22px;
  background: var(--teal-08);
  border: 1px solid var(--teal-20);
  border-radius: 50px;
  font-weight: 600;
  font-size: .85rem;
  color: var(--teal-dark);
}

/* ---------- Card Links ---------- */
.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--teal);
  transition: transform .2s cubic-bezier(.22,1,.36,1), color .15s;
}
.card-link:hover {
  color: var(--teal-dark);
  transform: translateX(4px);
}

/* ---------- Form Actions ---------- */
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.form-actions .btn { flex: 1; min-width: 180px; text-align: center; justify-content: center; }

.certification-text {
  color: var(--gray-600);
  font-size: .925rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.required { color: #e53e3e; }

.intake-main { padding: 48px 0 80px; }

/* ---------- Hamburger Active State ---------- */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ---------- Scroll offset for anchor links ---------- */
[id] { scroll-margin-top: 88px; }

/* ---------- Scroll Reveal Animations ---------- */
/* Easing: strong deceleration — items land with weight, not generic ease */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1);
}
.reveal-stagger.revealed > * { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* ---------- Split Layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-text { max-width: 520px; }
.split-text h2 { margin-bottom: 16px; }
.split-text p { margin-bottom: 24px; }
.split-visual {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  border: 1px solid var(--gray-200);
}
.split-visual.has-image {
  padding: 0;
  overflow: hidden;
  border: none;
  background: none;
  min-height: 280px;
}
.split-visual.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ---------- Image card ---------- */
.img-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Hero with background image ---------- */
.about-hero.has-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}
.about-hero.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy-96);
  z-index: 1;
}
.about-hero.has-bg .container {
  position: relative;
  z-index: 2;
}
.split-visual .big-number {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}
.split-visual .big-label {
  font-size: 1rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ---------- Client Logo Bar ---------- */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 20px 0;
  opacity: .5;
  filter: grayscale(1);
  transition: opacity .3s, filter .3s;
}
.logo-bar:hover { opacity: .8; filter: grayscale(.3); }
.logo-bar .client-logo {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Logo Carousel ---------- */
.logo-carousel {
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-track {
  display: flex;
  gap: 64px;
  animation: logo-scroll 25s linear infinite;
  width: max-content;
}
.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}
.logo-track .client-logo {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .5;
  filter: grayscale(1);
  transition: opacity .3s, filter .3s;
}
.logo-track .client-logo:hover {
  opacity: .8;
  filter: grayscale(.3);
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Featured Card (larger) ---------- */
/* Angle: 150deg — gives the card a distinct direction vs. page headers */
.card-featured {
  background: linear-gradient(150deg, var(--navy-light) 0%, #081a33 100%);
  color: var(--white);
  border: none;
  padding: 48px 40px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.card-featured::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0,148,184,.15) 0%, transparent 60%);
}
.card-featured > * { position: relative; z-index: 1; }
.card-featured h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 12px; }
.card-featured p { color: var(--white-75); font-size: 1.05rem; line-height: 1.7; }
.card-featured .card-icon { background: var(--white-10); }
.card-featured .card-icon .icon-svg { filter: brightness(0) invert(1); }

/* ---------- Navbar scrolled state ---------- */
.navbar.scrolled {
  box-shadow: var(--shadow);
}

/* ---------- Hero animated gradient ---------- */
.hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-08) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: heroFloat 12s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, 60px) scale(1.15); }
}

/* ---------- Asymmetric grid ---------- */
.cards-grid.cols-2-1 {
  grid-template-columns: 2fr 1fr;
}
.cards-grid.cols-1-2 {
  grid-template-columns: 1fr 2fr;
}

@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split-visual.has-image { min-height: 220px; }
  .split.reverse { direction: ltr; }
  .cards-grid.cols-2-1, .cards-grid.cols-1-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .logo-bar { gap: 28px; }
  .hero::after { display: none; }
}

/* ---------- 404 Page ---------- */
.error-page {
  padding: 200px 0 120px;
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.error-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 16px;
  opacity: .15;
}

/* ---------- Testimonial Stars ---------- */
.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s cubic-bezier(.22,1,.36,1), border-color .2s;
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.testimonial-card:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.testimonial-card .quote-mark {
  font-size: 3rem;
  color: var(--teal);
  opacity: .2;
  line-height: 1;
  margin-bottom: 8px;
}
.testimonial-card blockquote {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  font-weight: 600;
  font-size: .9rem;
  color: var(--gray-800);
}
.testimonial-role {
  font-size: .825rem;
  color: var(--gray-400);
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ---------- Form States ---------- */
.form-status {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-status.active {
  display: block;
}
.form-status .status-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.form-status h3 {
  margin-bottom: 8px;
  color: var(--gray-900);
}
.form-status p {
  font-size: .95rem;
}
.btn:disabled, .btn.loading {
  opacity: .6;
  pointer-events: none;
}
.btn.loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--white-30);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  margin-left: 8px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Job Board ---------- */
.jobs-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.jobs-toolbar select {
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: .9rem;
  background: var(--white);
  color: var(--gray-800);
  min-width: 160px;
  cursor: pointer;
}
.jobs-toolbar select:focus { outline: 2px solid var(--teal); outline-offset: -2px; }
.jobs-count {
  font-size: .85rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.job-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.job-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: border-color .2s, box-shadow .25s cubic-bezier(.22,1,.36,1), transform .25s cubic-bezier(.22,1,.36,1);
  cursor: pointer;
}
.job-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}
.job-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0;
}
.job-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.job-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.job-pill.dept { background: var(--teal-10); color: var(--teal-dark); }
.job-pill.type { background: var(--navy-08); color: var(--navy); }
.job-pill.location { background: var(--gray-50); color: var(--gray-600); }
.job-card-desc {
  color: var(--gray-600);
  font-size: .9rem;
  line-height: 1.6;
  margin-top: 8px;
  flex: 1;
}
.job-card { display: flex; flex-direction: column; }
.job-apply-btn {
  align-self: flex-start;
  margin-top: 16px;
}
.job-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--gray-500);
}
.job-empty h3 { color: var(--gray-400); margin-bottom: 8px; }

/* ---------- Job Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-500);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--gray-50); color: var(--gray-800); }
.modal h2 { font-size: 1.4rem; color: var(--navy); margin-bottom: 6px; }
.modal-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.modal-section { margin-bottom: 24px; }
.modal-section h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); margin-bottom: 8px; }
.modal-section p, .modal-section ul { color: var(--gray-700); font-size: .95rem; line-height: 1.7; }
.modal-section ul { padding-left: 20px; }
.modal-section li { margin-bottom: 6px; }
.modal-divider { height: 1px; background: var(--gray-100); margin: 24px 0; }

/* ---------- Apply Form (inside modal) ---------- */
.apply-form { margin-top: 24px; }
.apply-form .form-group { margin-bottom: 16px; }
.apply-form label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; color: var(--gray-700); }
.apply-form input,
.apply-form textarea,
.apply-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.apply-form input:focus,
.apply-form textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px var(--teal-10); }
.apply-form textarea { resize: vertical; min-height: 100px; }
.file-upload {
  border: 2px dashed var(--gray-200);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
}
.file-upload:hover { border-color: var(--teal); background: rgba(0,148,184,.02); }
.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-upload-label {
  color: var(--gray-500);
  font-size: .85rem;
}
.file-upload-label strong { color: var(--teal); }
.file-name { font-size: .85rem; color: var(--teal-dark); font-weight: 600; margin-top: 8px; }
.apply-status { margin-top: 16px; }

/* ---------- Job Board Loading ---------- */
.jobs-loading {
  text-align: center;
  padding: 48px;
  color: var(--gray-400);
}
.jobs-loading::after {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  margin: 16px auto 0;
}

@media (max-width: 768px) {
  .job-card { padding: 20px; }
  .job-card-header { flex-direction: column; }
  .modal { padding: 24px; margin: 12px; }
  .jobs-toolbar select { min-width: 100%; }
}

/* =========================================================
   REDESIGN UPGRADES — v2
   ========================================================= */

/* ---------- Grain / Noise Overlay ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ---------- Hero text tightening ---------- */
.hero p {
  max-width: 480px;
  line-height: 1.72;
}

/* ---------- Stagger delays on card grids ---------- */
.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 350ms; }

/* ---------- Testimonials — masonry-style 2+1 stagger ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.testimonial-card:nth-child(2) { margin-top: 28px; }
.testimonial-card:nth-child(5) { margin-top: 28px; }

/* ---------- Card border-radius variation ---------- */
.card { border-radius: 10px; }
.card-icon { border-radius: 10px; }
.testimonial-card { border-radius: 14px; }
.model-card { border-radius: 14px; }
.value-card { border-radius: 14px; }

/* ---------- Colored card hover shadows ---------- */
.card:hover { box-shadow: 0 16px 48px var(--navy-14), 0 4px 12px var(--teal-06); }
.testimonial-card:hover { box-shadow: 0 16px 48px var(--navy-14), 0 4px 12px var(--teal-06); border-color: transparent; }
.model-card:hover { box-shadow: 0 16px 48px var(--navy-14), 0 4px 12px var(--teal-06); }
.value-card:hover { box-shadow: 0 16px 48px var(--navy-14), 0 4px 12px var(--teal-06); }

/* ---------- Pill hover — subtle scale ---------- */
.pill:active { transform: scale(0.97); }
.highlight-pill { transition: transform .2s cubic-bezier(.22,1,.36,1), background .15s; }
.highlight-pill:hover { background: var(--teal-14); transform: translateY(-1px); }

/* ---------- Job card hover — teal left border accent ---------- */
.job-card {
  border-left: 3px solid transparent;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.job-card:hover {
  border-left-color: var(--teal);
  box-shadow: 0 8px 28px var(--navy-10);
  transform: translateX(3px);
}

/* ---------- Stat numbers — tabular ---------- */
.stat .number,
.hero-stat-card .number {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ---------- Nav CTA — more presence ---------- */
.nav-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--teal); transform: translateY(-1px); }
.nav-cta:active { transform: scale(0.97); }

/* ---------- Footer — slightly warmer dark ---------- */
.footer { background: #081a33; }

/* ---------- CTA banner depth ---------- */
.cta-banner {
  box-shadow: 0 24px 64px rgba(11,33,63,.2);
}

/* ---------- Section spacing — breathe ---------- */
.section-header { margin-bottom: 48px; }
.section-header p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Smooth image loading ---------- */
img { transition: opacity .3s cubic-bezier(.22,1,.36,1); }

/* ---------- Focus ring consistency ---------- */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- mobile hero center override ---------- */
@media (max-width: 1024px) {
  .hero p { margin-left: auto; margin-right: auto; max-width: 520px; }
}

/* ---------- Hero Stats — Asymmetric Layout ---------- */
/* Replaces identical 2x2 grid with primary + secondary row hierarchy */
.hero-stats-asymmetric {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.hero-stat-primary {
  background: var(--white-08);
  backdrop-filter: blur(12px);
  border: 1px solid var(--white-12);
  border-radius: 20px;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}
.hero-stat-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, var(--teal-08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-stat-primary .number {
  display: block;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}
.hero-stat-primary .label {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 8px;
}
.hero-stat-primary .sublabel {
  display: block;
  font-size: .8rem;
  color: var(--white-60);
  margin-top: 4px;
  font-weight: 400;
}

/* Secondary row — 3 stats with dividers */
.hero-stats-row {
  display: flex;
  align-items: center;
  background: var(--white-08);
  backdrop-filter: blur(12px);
  border: 1px solid var(--white-12);
  border-radius: 16px;
  padding: 24px 32px;
  gap: 0;
}
.hero-stat-secondary {
  flex: 1;
  text-align: center;
}
.hero-stat-secondary .number {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.hero-stat-secondary .label {
  display: block;
  font-size: .78rem;
  color: var(--white-60);
  margin-top: 5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--white-12);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .hero-stats-asymmetric { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .hero-stat-primary { padding: 28px 24px; }
  .hero-stats-row { padding: 20px 16px; gap: 0; }
  .hero-stat-secondary .number { font-size: 1.5rem; }
  .hero-stat-divider { height: 32px; }
}

/* ---------- Card lead — wide horizontal layout ---------- */
.card-lead {
  display: block;
}
.card-lead .card-link {
  color: var(--white-70);
}
.card-lead .card-link:hover {
  color: var(--white);
}

/* ---------- Inline CTA card — breaks identical card rhythm ---------- */
.card-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 32px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}
.card-inline-cta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-inline-cta strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}
.card-inline-cta span {
  font-size: .9rem;
  color: var(--gray-500);
  max-width: 520px;
}
@media (max-width: 640px) {
  .card-inline-cta { flex-direction: column; align-items: flex-start; }
}
