/*
Theme Name: Aroha Sovereign
Theme URI: https://www.arohatechnologies.com
Author: Aroha Technologies
Author URI: https://www.arohatechnologies.com
Description: Custom corporate theme for Aroha Technologies — precision staffing and software solutions for government and private enterprise. Built on the Sovereign Tech design system: Hanken Grotesk typography, professional blue/navy palette, bento-grid layouts.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aroha
*/

/* =========================================================
   1. DESIGN TOKENS (Sovereign Tech)
   ========================================================= */
:root {
  --primary: #064f86;
  --primary-container: #2e67a0;
  --primary-fixed: #d2e4ff;
  --primary-fixed-dim: #9fcaff;
  --deep-navy: #1a3a5a;
  --gov-blue: #0f172a;
  --secondary: #556068;
  --secondary-container: #d6e1eb;
  --on-secondary-container: #59646c;
  --surface: #f8f9fe;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f3f3f9;
  --surface-container: #ededf3;
  --cool-gray: #f8fafc;
  --on-surface: #191c20;
  --on-surface-variant: #424750;
  --outline: #727781;
  --outline-variant: #e2e8f0;
  --slate-gray: #32373c;
  --error: #ba1a1a;

  --font-sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;

  --shadow-ambient: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-lift: 0 12px 32px rgba(6, 79, 134, 0.10);

  --section-gap: 7rem;
  --container: 1200px;
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-surface);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; }
ul, ol { list-style-position: inside; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--deep-navy);
  line-height: 1.2;
  font-weight: 700;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* Typography scale */
.display-lg { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
.headline-lg { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }
.headline-md { font-size: 1.5rem; line-height: 1.33; font-weight: 600; }
.body-lg { font-size: 1.125rem; line-height: 1.6; }
.label-sm {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-muted { color: var(--on-surface-variant); }
.text-primary { color: var(--primary); }

/* Layout helpers */
.container { max-width: var(--container); margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.section { padding: var(--section-gap) 0; }
.section--tight { padding: 4rem 0; }
.section--cool { background: var(--cool-gray); border-top: 1px solid var(--outline-variant); border-bottom: 1px solid var(--outline-variant); }
.section--dark { background: var(--gov-blue); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head .kicker { display: block; margin-bottom: 0.75rem; }
.section-head p.lede { color: var(--on-surface-variant); margin-top: 1rem; font-size: 1.125rem; }
.section--dark .section-head p.lede { color: rgba(255,255,255,0.75); }

.kicker { color: var(--primary); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.section--dark .kicker { color: var(--primary-fixed-dim); }

/* =========================================================
   3. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; border: 2px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--deep-navy); box-shadow: var(--shadow-lift); transform: translateY(-2px); color: #fff; }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: rgba(6, 79, 134, 0.06); }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--primary-fixed); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }
.btn .material-symbols-outlined { font-size: 18px; }

/* =========================================================
   4. HEADER / NAVIGATION
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248, 249, 254, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline-variant);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-ambient); }
.admin-bar .site-header { top: 32px; }

.site-header__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.site-logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.site-logo img { height: 58px; width: auto; }
@media (max-width: 640px) { .site-logo img { height: 48px; } }
.site-logo__text { font-weight: 800; font-size: 1.15rem; color: var(--primary); letter-spacing: -0.01em; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; align-items: center; gap: 2rem; list-style: none; }
.main-nav a {
  font-size: 0.9375rem; font-weight: 600; color: var(--on-surface-variant);
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover { color: var(--primary); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-page-ancestor > a { color: var(--primary); border-bottom-color: var(--primary); }

/* Dropdown sub-menus (e.g. Careers → Open Roles / Employee Notices).
   Same pattern applies to any future tabbed page: nest sub-items under its
   top-level menu item in Appearance → Menus, and this styling handles it. */
.main-nav li { position: relative; }
/* All top-level links share the same flex layout so items with and without
   a dropdown chevron sit on exactly the same line. */
.main-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 0.2rem; line-height: 1.4;
}
.main-nav li.menu-item-has-children > a::after {
  content: 'expand_more';
  font-family: 'Material Symbols Outlined';
  font-size: 18px;
  /* Keep the 18px glyph from inflating the link's line box — otherwise
     items with chevrons sit taller than items without one. */
  line-height: 1;
  height: 18px;
  transition: transform 0.2s ease;
}
.main-nav li.menu-item-has-children:hover > a::after,
.main-nav li.menu-item-has-children:focus-within > a::after {
  transform: rotate(180deg);
}
.main-nav .sub-menu {
  list-style: none;
  display: none;
  position: absolute; top: 100%; left: 0;
  min-width: 210px;
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 0.5rem;
  margin-top: 0.65rem;
  z-index: 200;
  flex-direction: column;
  gap: 0;
}
.main-nav li.menu-item-has-children:hover > .sub-menu,
.main-nav li.menu-item-has-children:focus-within > .sub-menu {
  display: flex;
}
/* Invisible hover bridge covering the visual gap above the panel — without
   it, moving the mouse from the menu item down into the dropdown crosses a
   dead zone, :hover breaks, and the menu closes before it can be clicked. */
.main-nav .sub-menu::before {
  content: '';
  position: absolute;
  top: -0.7rem; left: 0; right: 0;
  height: 0.7rem;
}
.main-nav .sub-menu a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 600;
  white-space: nowrap;
  border-bottom: none;
}
.main-nav .sub-menu a:hover { background: var(--surface-container-low); color: var(--primary); }

.header-cta { display: inline-flex; padding: 0.65rem 1.5rem; white-space: nowrap; flex-shrink: 0; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--on-surface-variant); padding: 0.25rem;
}
.nav-toggle .material-symbols-outlined { font-size: 30px; }

/* Mobile nav (also covers tablets/small laptops — eight tabs need ~1100px) */
@media (max-width: 1100px) {
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface-container-lowest);
    border-bottom: 1px solid var(--outline-variant);
    box-shadow: var(--shadow-lift);
    padding: 1.5rem;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .main-nav a { font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  /* Dropdowns become inline, always-visible stacked lists on mobile —
     no hover on touch devices, so hiding them behind hover would trap them. */
  .main-nav li.menu-item-has-children > a::after { display: none; }
  .main-nav .sub-menu {
    display: flex; position: static; box-shadow: none; border: none;
    background: transparent; margin: 0.35rem 0 0 1.1rem; padding: 0; gap: 0.5rem;
  }
  .main-nav .sub-menu a { font-size: 0.95rem; padding: 0.35rem 0; color: var(--on-surface-variant); }
}

/* =========================================================
   5. HERO
   ========================================================= */
.page-offset { padding-top: 76px; }

/* Anchored sections (nav dropdown deep-links, #openings, #offices, …)
   scroll to just below the fixed header instead of underneath it. */
[id] { scroll-margin-top: 90px; }

.hero {
  position: relative; overflow: hidden;
  background-image: radial-gradient(circle at 2px 2px, #e2e8f0 1px, transparent 0);
  background-size: 40px 40px;
  padding: 6.5rem 0 5.5rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,79,134,0.05), transparent 45%, rgba(6,79,134,0.08));
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.hero__content > * + * { margin-top: 1.75rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--secondary-container); color: var(--on-secondary-container);
  padding: 0.35rem 0.9rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.hero-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 .accent { color: var(--primary); }
.hero h1 .accent-chip {
  background: var(--primary-container); color: #fff;
  padding: 0 0.5rem; border-radius: var(--radius-md);
  display: inline-block; line-height: 1.25;
}
.hero__lede { font-size: 1.125rem; color: var(--on-surface-variant); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats { display: flex; align-items: center; gap: 2rem; padding-top: 1.5rem; flex-wrap: wrap; }
.hero-stat__num { font-size: 1.6rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.hero-stat__label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--on-surface-variant); }
.hero-stats__divider { width: 1px; height: 2.5rem; background: var(--outline-variant); }

/* Hero visual panel (abstract, no photography required) */
.hero__visual { position: relative; }
.hero__visual .glow-a, .hero__visual .glow-b {
  position: absolute; width: 16rem; height: 16rem; border-radius: 50%; filter: blur(64px); opacity: 0.35;
}
.hero__visual .glow-a { top: -3rem; right: -3rem; background: var(--primary-fixed-dim); }
.hero__visual .glow-b { bottom: -3rem; left: -3rem; background: #fbba61; opacity: 0.2; }

.hero-panel {
  position: relative; z-index: 1;
  background: linear-gradient(150deg, var(--deep-navy), var(--gov-blue) 70%);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  color: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-panel__row {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; margin-bottom: 1rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.hero-panel__row:hover { background: rgba(255,255,255,0.12); transform: translateX(4px); }
.hero-panel__row:last-child { margin-bottom: 0; }
.hero-panel__icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-md);
  background: var(--primary); display: flex; align-items: center; justify-content: center;
}
.hero-panel__row h4 { color: #fff; font-size: 1rem; margin-bottom: 0.15rem; }
.hero-panel__row p { font-size: 0.8125rem; color: rgba(255,255,255,0.65); line-height: 1.45; }
.hero-panel__footer {
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.hero-panel__footer .label-sm { color: var(--primary-fixed-dim); }

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
}

/* =========================================================
   6. CLIENT STRIP
   ========================================================= */
.clients { padding: 3rem 0; border-bottom: 1px solid var(--outline-variant); background: var(--surface-container-lowest); }
.clients__label { text-align: center; margin-bottom: 1.75rem; color: var(--on-surface-variant); }
.clients__row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1rem 3rem;
}
.clients__row span {
  font-size: 1.15rem; font-weight: 800; letter-spacing: 0.02em;
  color: var(--outline); opacity: 0.85; transition: color 0.25s ease, opacity 0.25s ease;
}
.clients__row span:hover { color: var(--primary); opacity: 1; }

/* =========================================================
   7. BENTO GRID / CARDS
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
.bento > * { min-width: 0; }
.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
@media (max-width: 900px) {
  .col-8, .col-6, .col-4 { grid-column: span 12; }
}

.card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  position: relative; overflow: hidden;
}
.card:hover { border-color: var(--primary-container); box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.card h3 { margin-bottom: 0.85rem; }
.card p { color: var(--on-surface-variant); }

.card--tint { background: var(--surface-container-low); }
.card--cool { background: var(--cool-gray); }
.card--navy { background: var(--deep-navy); border-color: var(--deep-navy); color: #fff; }
.card--navy h3, .card--navy h4 { color: #fff; }
.card--navy p { color: rgba(255,255,255,0.7); }
.card--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.card--primary h3, .card--primary h4 { color: #fff; }
.card--primary p { color: rgba(255,255,255,0.82); }

.card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.card--navy .card__icon, .card--primary .card__icon { background: rgba(255,255,255,0.12); }
.card__icon--soft { background: rgba(6,79,134,0.08); color: var(--primary); }

.card--sm { padding: 2rem; }
.card--sm .material-symbols-outlined.solo { font-size: 32px; color: var(--primary); margin-bottom: 1rem; }
.card--sm h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.card--sm p { font-size: 0.9rem; }

.card__link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; color: var(--primary); margin-top: 1.75rem;
  transition: gap 0.25s ease;
}
.card__link:hover { gap: 1rem; }

.check-list { list-style: none; margin-top: 1.25rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.9375rem; font-weight: 600; color: var(--on-surface-variant);
  margin-bottom: 0.75rem;
}
.check-list .material-symbols-outlined { color: var(--primary); font-size: 20px; margin-top: 1px; }
.card--navy .check-list li, .card--primary .check-list li,
.section--dark .check-list li { color: rgba(255,255,255,0.8); }
.card--navy .check-list .material-symbols-outlined,
.card--primary .check-list .material-symbols-outlined { color: var(--primary-fixed-dim); }

.mini-row {
  padding: 1rem 1.25rem; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem; font-weight: 700; margin-bottom: 0.85rem;
  transition: background 0.25s ease;
}
.mini-row:hover { background: rgba(255,255,255,0.12); }

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chip {
  padding: 0.45rem 1.1rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em;
  background: #f1f5f9; color: var(--slate-gray); border: 1px solid var(--outline-variant);
}
.section--dark .chip, .chip--dark {
  background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2);
}

/* =========================================================
   8. SPLIT SECTIONS
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.split > * { min-width: 0; }
.split__content > * + * { margin-top: 1.5rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 3rem; } }

.feature-row { display: flex; gap: 1.25rem; align-items: flex-start; }
.feature-row + .feature-row { margin-top: 1.75rem; }
.feature-row__icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  background: rgba(6,79,134,0.08); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.feature-row h4 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.feature-row p { color: var(--on-surface-variant); font-size: 0.9375rem; }
.section--dark .feature-row__icon { background: var(--primary); color: #fff; }
.section--dark .feature-row p { color: rgba(255,255,255,0.7); }

/* Stat tiles */
.stat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-tile {
  padding: 1.5rem; text-align: center;
  background: var(--cool-gray); border: 1px solid var(--outline-variant); border-radius: var(--radius-lg);
}
.stat-tile__num { display: block; font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.stat-tile__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-surface-variant); }
.section--dark .stat-tile { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.section--dark .stat-tile__num { color: var(--primary-fixed-dim); }
.section--dark .stat-tile__label { color: rgba(255,255,255,0.65); }

/* =========================================================
   9. CTA PANELS
   ========================================================= */
.cta-panel {
  border-radius: var(--radius-2xl);
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center; position: relative; overflow: hidden;
  background: var(--cool-gray); border: 1px solid var(--outline-variant);
}
.cta-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--primary); }
.cta-panel h2 { margin-bottom: 1.25rem; }
.cta-panel p { color: var(--on-surface-variant); max-width: 42rem; margin: 0 auto 2.25rem; font-size: 1.05rem; }
.cta-panel__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.cta-panel--navy { background: linear-gradient(150deg, var(--deep-navy), var(--gov-blue)); border-color: var(--deep-navy); }
.cta-panel--navy::before { background: var(--primary-fixed-dim); }
.cta-panel--navy h2 { color: #fff; }
.cta-panel--navy p { color: rgba(255,255,255,0.75); }

.big-icon-bg {
  position: absolute; top: 0; right: 0; padding: 1.5rem; pointer-events: none;
}
.big-icon-bg .material-symbols-outlined { font-size: 130px; opacity: 0.07; }

/* =========================================================
   10. FOOTER
   ========================================================= */
.site-footer { background: var(--gov-blue); color: #fff; margin-top: var(--section-gap); }
.site-footer__grid {
  max-width: var(--container); margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 3rem;
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__brand img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 1.25rem; }
.site-footer__brand p { color: rgba(255,255,255,0.65); font-size: 0.9375rem; line-height: 1.65; }

.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1.5rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.85rem; }
.site-footer ul a { color: rgba(255,255,255,0.72); font-size: 0.9375rem; transition: color 0.2s ease; }
.site-footer ul a:hover { color: #fff; }

.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; color: rgba(255,255,255,0.72); font-size: 0.9375rem; }
.footer-contact .material-symbols-outlined { font-size: 19px; color: var(--primary-fixed-dim); margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.72); }
.footer-contact a:hover { color: #fff; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8); transition: background 0.25s ease;
}
.footer-social a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.footer-social .material-symbols-outlined { font-size: 18px; }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.75rem 1.5rem;
  color: rgba(255,255,255,0.45); font-size: 0.875rem;
  max-width: var(--container); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 2rem;
}
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.55); font-size: 0.875rem; transition: color 0.2s ease; }
.footer-legal a:hover { color: #fff; }
@media (min-width: 700px) {
  .site-footer__bottom { justify-content: space-between; text-align: left; }
}

/* =========================================================
   11. PAGE HERO (interior pages)
   ========================================================= */
.page-hero {
  background-image: radial-gradient(circle at 2px 2px, #e2e8f0 1px, transparent 0);
  background-size: 40px 40px;
  padding: 5.5rem 0 4.5rem;
  border-bottom: 1px solid var(--outline-variant);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(6,79,134,0.06), transparent 55%);
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 780px; }
.page-hero .kicker { display: block; margin-bottom: 1rem; }
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero p { font-size: 1.125rem; color: var(--on-surface-variant); }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__inner { margin: 0 auto; }

.page-hero--dark { background-color: var(--gov-blue); background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.08) 1px, transparent 0); border-bottom: none; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark p { color: rgba(255,255,255,0.75); }
.page-hero--dark .kicker { color: var(--primary-fixed-dim); }

/* =========================================================
   12. FORMS (Contact)
   ========================================================= */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate-gray); }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-sans); font-size: 1rem; color: var(--on-surface);
  padding: 0.85rem 1rem;
  border: 1px solid var(--outline-variant); border-radius: var(--radius-sm);
  background: var(--surface-container-lowest);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 79, 134, 0.12);
}
.form-field input[type="file"] {
  padding: 0.6rem 1rem;
  border-style: dashed;
  font-size: 0.9rem;
  cursor: pointer;
}
.form-field input[type="file"]::file-selector-button {
  font-family: var(--font-sans); font-weight: 700; font-size: 0.8125rem;
  color: #fff; background: var(--primary); border: none;
  padding: 0.5rem 1rem; border-radius: var(--radius-sm); margin-right: 0.85rem;
  cursor: pointer;
}
.form-notice { padding: 1rem 1.25rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; font-weight: 600; }
.form-notice--success { background: #e6f4ea; color: #1e6e42; border: 1px solid #b5e0c5; }
.form-notice--error { background: #fdecea; color: var(--error); border: 1px solid #f5c6c2; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }

/* Offices & map */
.map-embed {
  position: relative; width: 100%; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--outline-variant); box-shadow: var(--shadow-ambient);
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

.office-region { display: flex; align-items: center; gap: 0.65rem; margin: 3rem 0 1.5rem; }
.office-region:first-of-type { margin-top: 3.5rem; }
.office-region .material-symbols-outlined { color: var(--primary); font-size: 26px; }
.office-region h3 { margin: 0; font-size: 1.25rem; }

.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .office-grid { grid-template-columns: 1fr; } }

.office-card { position: relative; }
.office-card__badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: var(--primary); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 999px;
}
.office-card h4 { padding-right: 3.5rem; }
.office-card__entity { font-size: 0.78rem; color: var(--primary); font-weight: 700; margin-bottom: 0.5rem; }
.office-card__address { font-size: 0.9rem; color: var(--on-surface-variant); line-height: 1.55; min-height: 3.4em; }
.office-card__phone { margin-top: 0.85rem; font-size: 0.9rem; font-weight: 700; display: flex; align-items: center; gap: 0.4rem; }
.office-card__phone .material-symbols-outlined { font-size: 17px; color: var(--primary); }
.office-card__map-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem; font-size: 0.82rem; font-weight: 700; color: var(--primary);
}
.office-card__map-link .material-symbols-outlined { font-size: 16px; }

/* =========================================================
   13. BLOG / INSIGHTS & JOBS
   ========================================================= */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }

.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card__thumb { aspect-ratio: 16/9; background: linear-gradient(140deg, var(--primary-container), var(--deep-navy)); position: relative; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.post-card__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); margin-bottom: 0.6rem; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.post-card h3 a { color: var(--deep-navy); }
.post-card h3 a:hover { color: var(--primary); }
.post-card p { font-size: 0.9rem; color: var(--on-surface-variant); flex: 1; }

.job-card { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.75rem 2rem; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.6rem; }
.job-card h3 { font-size: 1.2rem; margin: 0; }
.job-card h3 a { color: var(--deep-navy); }
.job-card h3 a:hover { color: var(--primary); }
.job-list > * + * { margin-top: 1rem; }
@media (max-width: 640px) { .job-card { flex-direction: column; align-items: flex-start; } }

.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.75rem; }

/* Ceipal job listing table */
.data-table-wrap {
  max-width: 960px; margin: 0 auto;
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: var(--shadow-ambient);
}
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.data-table th {
  text-align: left; padding: 1.1rem 1.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-surface-variant);
  background: var(--surface-container-low);
  border-bottom: 1px solid var(--outline-variant);
  white-space: nowrap;
}
.data-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--outline-variant);
  font-size: 0.9375rem;
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--surface-container-low); }
.data-table__code { font-family: 'Courier New', monospace; font-weight: 700; color: var(--primary); white-space: nowrap; }
.data-table__location { color: var(--on-surface-variant); white-space: nowrap; }
.data-table td a { font-weight: 700; color: var(--deep-navy); }
.data-table td a:hover { color: var(--primary); }
.data-table__action-col { text-align: right; white-space: nowrap; }

/* Tabs (Careers: Open Positions / Employee Notices) */
.tab-nav {
  display: flex; gap: 0.5rem; justify-content: center;
  margin-bottom: 3rem; flex-wrap: wrap;
}
.tab-btn {
  padding: 0.75rem 1.75rem; border-radius: 999px;
  border: 1.5px solid var(--outline-variant); background: var(--surface-container-lowest);
  color: var(--on-surface-variant); font-family: var(--font-sans);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.02em;
  cursor: pointer; transition: all 0.2s ease;
}
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.tab-panel[hidden] { display: none; }

/* Sub-tabs (e.g. Employee Notices: filter by year) */
.tab-nav--sub { margin-bottom: 1.75rem; gap: 0.5rem; }
.tab-btn--sm { padding: 0.45rem 1.1rem; font-size: 0.78rem; border-radius: 999px; }
tr[data-year][hidden] { display: none; }

/* Job detail page */
.job-detail-code { color: var(--on-surface-variant); font-weight: 500; font-size: 0.7em; vertical-align: middle; }
.job-facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--outline-variant);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.job-facts__item { background: var(--surface-container-lowest); padding: 1.1rem 1.5rem; }
.job-facts__label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-surface-variant); margin-bottom: 0.3rem; }
.job-facts__value { font-size: 0.9375rem; font-weight: 600; color: var(--deep-navy); }
@media (max-width: 640px) { .job-facts { grid-template-columns: 1fr; } }

/* Legal pages */
.legal-meta {
  text-align: center; color: var(--on-surface-variant); font-size: 0.875rem;
  margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--outline-variant);
}
.entry-content .legal-toc {
  background: var(--cool-gray); border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg); padding: 1.75rem 2rem; margin-bottom: 2.5rem;
}
.entry-content .legal-toc h4 { margin-bottom: 0.75rem; font-size: 0.95rem; }
.entry-content .legal-toc ol { padding-left: 1.25rem; columns: 2; column-gap: 2rem; }
.entry-content .legal-toc li { font-size: 0.9rem; margin-bottom: 0.4rem; break-inside: avoid; }
.entry-content .legal-toc a { color: var(--on-surface-variant); }
.entry-content .legal-toc a:hover { color: var(--primary); }
@media (max-width: 640px) { .entry-content .legal-toc ol { columns: 1; } }

/* Single post / default page content */
.entry-content { max-width: 780px; margin: 0 auto; }
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content h2 { margin-top: 2.5rem; }
.entry-content h3 { margin-top: 2rem; }
.entry-content ul, .entry-content ol { padding-left: 1rem; }
.entry-content img { border-radius: var(--radius-lg); }
.entry-content blockquote {
  border-left: 4px solid var(--primary); padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--on-surface-variant); font-style: italic;
}
.entry-header { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.entry-header .entry-meta { color: var(--on-surface-variant); font-size: 0.9rem; margin-top: 0.75rem; }

/* WordPress core alignment classes */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--on-surface-variant); text-align: center; padding-top: 0.5rem; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination .page-numbers {
  padding: 0.6rem 1rem; border: 1px solid var(--outline-variant); border-radius: var(--radius-sm);
  font-weight: 700; color: var(--on-surface-variant);
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* =========================================================
   14. UTILITIES & ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }

/* =========================================================
   15. DESIGN REFRESH (v2) — polish layered over the system
   ========================================================= */
:root {
  --accent: #f59e0b;
  --gradient-brand: linear-gradient(135deg, #064f86 0%, #2e67a0 60%, #4c86c2 100%);
  --gradient-navy: linear-gradient(150deg, #1a3a5a 0%, #0f172a 80%);
  --shadow-card: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.06);
  --shadow-card-hover: 0 18px 44px rgba(6,79,134,0.16);
}

/* Typography — tighter, more editorial display type */
.display-lg { font-size: clamp(2.5rem, 5.4vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.05; }
.headline-lg { letter-spacing: -0.02em; }
.section-head .kicker,
.page-hero .kicker,
.split .kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.9rem; border-radius: 999px;
  background: rgba(6,79,134,0.08); color: var(--primary);
  font-size: 0.72rem; letter-spacing: 0.14em;
}
.section-head .kicker::before,
.page-hero .kicker::before,
.split .kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}
.section--dark .section-head .kicker,
.page-hero--dark .kicker { background: rgba(255,255,255,0.1); color: var(--primary-fixed-dim); }
.section--dark .section-head .kicker::before,
.page-hero--dark .kicker::before { background: var(--primary-fixed-dim); }
.section-head { margin-bottom: 4rem; }
.section-head .kicker { margin-bottom: 1.1rem; }

/* Buttons — brand gradient primary with a soft glow */
.btn--primary { background: var(--gradient-brand); border-color: transparent; box-shadow: 0 6px 18px rgba(6,79,134,0.22); }
.btn--primary:hover { background: var(--gradient-brand); filter: brightness(1.08); box-shadow: 0 12px 28px rgba(6,79,134,0.3); }
.btn { border-radius: 10px; }

/* Page hero — decorative gradient orbs + soft fade into the page */
.page-hero { padding: 6.5rem 0 5rem; }
.page-hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: 42rem; height: 42rem; right: -14rem; top: -18rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(46,103,160,0.22), rgba(46,103,160,0));
}
.page-hero--dark::after { background: radial-gradient(closest-side, rgba(159,202,255,0.22), rgba(159,202,255,0)); }
.page-hero--dark { background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.07) 1px, transparent 0), var(--gradient-navy); }
.page-hero p { max-width: 40rem; }
.page-hero--center p { margin-left: auto; margin-right: auto; }
.page-hero .hero__actions { justify-content: flex-start; }
.page-hero--center .hero__actions { justify-content: center; }
.page-hero--center .hero-stats { justify-content: center; }
.page-hero--center .chip-row { justify-content: center; }
.hero-stat__num { font-size: 1.9rem; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero--dark .hero-stat__num { background: none; color: var(--primary-fixed-dim); }
.page-hero--dark .hero-stat__label { color: rgba(255,255,255,0.65); }
.page-hero--dark .hero-stats__divider { background: rgba(255,255,255,0.15); }

/* Cards — icon chips, gradient accent bar on hover */
.card { box-shadow: var(--shadow-card); }
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--gradient-brand); opacity: 0; transition: opacity 0.3s ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.card:hover::after { opacity: 1; }
.card--navy::after, .card--primary::after { background: var(--primary-fixed-dim); }
.card .material-symbols-outlined.solo {
  width: 52px; height: 52px; border-radius: 14px; font-size: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(6,79,134,0.08); color: var(--primary); margin-bottom: 1.25rem;
}
.card--navy .material-symbols-outlined.solo,
.card--primary .material-symbols-outlined.solo { background: rgba(255,255,255,0.12); color: #fff; }
.card--tint .material-symbols-outlined.solo { background: #fff; }
.card h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; line-height: 1.6; }

/* Stat tiles — gradient numerals */
.stat-tile { background: var(--surface-container-lowest); box-shadow: var(--shadow-card); }
.stat-tile__num { font-size: 2rem; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--dark .stat-tile__num { background: none; color: var(--primary-fixed-dim); }

/* CTA panel — brand gradient for light, glowing edge for navy */
.cta-panel { background: var(--surface-container-lowest); box-shadow: var(--shadow-card); }
.cta-panel::before { height: 5px; background: var(--gradient-brand); }
.cta-panel--navy { background: var(--gradient-navy); position: relative; }
.cta-panel--navy::after {
  content: ""; position: absolute; width: 30rem; height: 30rem; border-radius: 50%; right: -10rem; bottom: -16rem;
  background: radial-gradient(closest-side, rgba(159,202,255,0.18), rgba(159,202,255,0)); pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }

/* Client strip — quieter, wider letter-spacing */
.clients__row span { font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }

/* Narrow container for reading-width sections (FAQ) */
.container--narrow { max-width: 860px; }

/* Process steps */
.process {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem;
}
.process__step {
  position: relative; padding: 2.25rem 2rem 2rem;
  background: var(--surface-container-lowest); border: 1px solid var(--outline-variant);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process__step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.process__num {
  position: absolute; top: 1.25rem; right: 1.5rem;
  font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.25;
}
.process__icon {
  width: 48px; height: 48px; border-radius: 12px; font-size: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient-brand); color: #fff; margin-bottom: 1.25rem;
}
.process__step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process__step p { color: var(--on-surface-variant); font-size: 0.95rem; }
.section--dark .process__step { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.section--dark .process__step h3 { color: #fff; }
.section--dark .process__step p { color: rgba(255,255,255,0.7); }
.section--dark .process__num { background: none; color: var(--primary-fixed-dim); }

/* FAQ accordion (native <details>, accessible, no JS) */
.faq { display: flex; flex-direction: column; gap: 0.85rem; }
.faq__item {
  background: var(--surface-container-lowest); border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq__item[open] { border-color: var(--primary-container); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; font-weight: 700; color: var(--deep-navy); font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--primary); }
.faq__chevron { color: var(--primary); transition: transform 0.25s ease; flex-shrink: 0; }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding: 0 1.5rem 1.4rem; color: var(--on-surface-variant); line-height: 1.7; }

/* Footer — credential chips + tighter rhythm */
.footer-creds { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.footer-creds span {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.75);
}
.site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; }
@media (max-width: 1024px) { .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer { border-top: 4px solid transparent; border-image: var(--gradient-brand) 1; }

/* Entry content (rich text sections) — readable measure and rhythm */
.entry-content { max-width: 860px; margin-left: auto; margin-right: auto; }
.entry-content h2, .entry-content h3 { margin-top: 2.25rem; margin-bottom: 0.85rem; }
.entry-content h3 { font-size: 1.35rem; }
.entry-content p { margin-bottom: 1.1rem; color: var(--on-surface-variant); font-size: 1.03rem; line-height: 1.75; }
.entry-content ul { margin: 0.5rem 0 1.5rem 1.25rem; list-style: disc; list-style-position: outside; }
.entry-content li { margin-bottom: 0.5rem; color: var(--on-surface-variant); line-height: 1.65; }
.entry-content strong { color: var(--deep-navy); }

@media (max-width: 640px) {
  .page-hero { padding: 4.5rem 0 3.5rem; }
  .section-head { margin-bottom: 2.5rem; }
}

/* Small screens: keep hero labels on one line and stack stats cleanly */
@media (max-width: 640px) {
  .page-hero .kicker, .section-head .kicker { font-size: 0.64rem; letter-spacing: 0.1em; padding: 0.3rem 0.75rem; line-height: 1.3; }
  .hero-stats { gap: 1.25rem 2rem; }
  .hero-stats__divider { display: none; }
  .hero-stat__num { font-size: 1.6rem; }
  .display-lg { font-size: clamp(2.1rem, 9vw, 2.6rem); }
}

/* Tighter tab spacing on medium desktops so logo + 8 tabs + button fit one line */
@media (min-width: 1101px) and (max-width: 1480px) {
  .main-nav ul { gap: 1.35rem; }
  .main-nav a { font-size: 0.9rem; }
  .site-logo img { height: 50px; }
}

.main-nav > ul > li > a { white-space: nowrap; }

/* Logo grid — client / contract-vehicle logos */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.logo-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.5rem 1.25rem 1.4rem; color: inherit;
  background: var(--surface-container-lowest); border: 1px solid var(--outline-variant);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
a.logo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--primary-container); }
.logo-card__image {
  width: 100%; height: 110px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; background: #fff; border-radius: var(--radius-md); padding: 0.75rem;
}
.logo-card__image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-card h4 { font-size: 0.98rem; margin-bottom: 0.3rem; }
.logo-card p { font-size: 0.82rem; color: var(--on-surface-variant); margin: 0; line-height: 1.5; }
.logo-card__link {
  display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.85rem;
  font-size: 0.8rem; font-weight: 700; color: var(--primary);
}
.logo-card__link .material-symbols-outlined { font-size: 16px; }
.section--cool .logo-card { background: var(--surface-container-lowest); }

/* =========================================================
   16. DESIGN SYSTEM v2.1 — typography, color, and spacing pass
   (layered last on purpose: these rules win the cascade)
   ========================================================= */
:root {
  /* Type */
  --font-display: 'Plus Jakarta Sans', 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* Ink & text */
  --ink: #0b1a2e;
  --ink-2: #1a3a5a;
  --text: #2f3a48;
  --muted: #5b6676;
  --line: #e3e8ef;
  /* Surfaces */
  --surface: #f7f9fc;
  --surface-1: #ffffff;
  --surface-2: #f1f4f9;
  --surface-3: #e8edf5;
  /* Brand */
  --brand: #064f86;
  --brand-2: #2e67a0;
  --brand-3: #4c86c2;
  --brand-soft: rgba(6, 79, 134, 0.08);
  --accent: #f59e0b;
  /* Rhythm */
  --space-section: clamp(4.5rem, 8vw, 7.5rem);
  --space-head: clamp(2.5rem, 5vw, 4rem);
  --radius-xl: 18px;
  --radius-2xl: 26px;
  --shadow-card: 0 1px 2px rgba(11,26,46,0.04), 0 10px 30px rgba(11,26,46,0.06);
  --shadow-card-hover: 0 22px 50px rgba(6,79,134,0.16);
  /* Re-point legacy tokens at the refined palette */
  --deep-navy: var(--ink-2);
  --gov-blue: var(--ink);
  --on-surface: var(--text);
  --on-surface-variant: var(--muted);
  --outline-variant: var(--line);
  --surface-container-low: var(--surface-2);
  --surface-container-lowest: var(--surface-1);
  --cool-gray: var(--surface-2);
}

/* --- Base text: a touch larger and airier for long reading -------------- */
body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--surface); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; }
h4 { font-weight: 700; }

.display-lg  { font-size: clamp(2.6rem, 5.2vw, 4.25rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.headline-lg { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
.headline-md { font-size: 1.55rem; line-height: 1.3; font-weight: 700; }

.kicker, .section-head .kicker, .page-hero .kicker, .split .kicker {
  font-family: var(--font-display); font-weight: 800; font-size: 0.68rem; letter-spacing: 0.16em;
}

/* --- Section rhythm ----------------------------------------------------- */
.section { padding: var(--space-section) 0; }
.section--tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-head { margin-bottom: var(--space-head); max-width: 760px; }
.section-head .kicker { margin-bottom: 1.25rem; }
.section-head h2 { margin-bottom: 0; }
.section-head p.lede { margin-top: 1.1rem; font-size: 1.15rem; line-height: 1.65; color: var(--muted); }
.section--dark { background: var(--gradient-navy); }
.section--dark .section-head p.lede { color: rgba(255,255,255,0.72); }
.section--cool { background: var(--surface-2); border-color: var(--line); }

/* --- Page hero ---------------------------------------------------------- */
.page-hero { padding: clamp(5rem, 9vw, 7.5rem) 0 clamp(4rem, 7vw, 5.5rem); }
.page-hero .kicker { margin-bottom: 1.5rem; }
.page-hero h1 { margin-bottom: 1.5rem; }
.page-hero p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; color: var(--muted); max-width: 44rem; }
.page-hero--dark p { color: rgba(255,255,255,0.78); }
.page-hero .hero__actions { margin-top: 2.25rem; }
.page-hero .chip-row { margin-top: 2rem; }
.page-hero .hero-stats { margin-top: 2.75rem; }
.hero-stat__num { font-family: var(--font-display); font-size: 2rem; letter-spacing: -0.03em; }
.hero-stat__label, .stat-tile__label { font-size: 0.7rem; letter-spacing: 0.12em; color: var(--muted); }
.chip { font-weight: 600; letter-spacing: 0.02em; background: var(--surface-1); border-color: var(--line); color: var(--ink-2); }

/* --- Navigation --------------------------------------------------------- */
.main-nav a { color: var(--text); font-weight: 600; font-size: 0.9375rem; border-bottom: none; padding-bottom: 0; position: relative; }
.main-nav > ul > li > a::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.main-nav > ul > li:hover > a::before,
.main-nav .current-menu-item > a::before,
.main-nav .current_page_item > a::before,
.main-nav .current-page-ancestor > a::before { transform: scaleX(1); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current-page-ancestor > a { color: var(--brand); }
.main-nav .sub-menu { border-radius: 14px; padding: 0.6rem; box-shadow: 0 18px 44px rgba(11,26,46,0.14); border-color: var(--line); }
.main-nav .sub-menu a { padding: 0.7rem 0.95rem; font-size: 0.9rem; color: var(--text); }
.main-nav .sub-menu a:hover { background: var(--brand-soft); color: var(--brand); }
.site-header { background: rgba(247, 249, 252, 0.88); }

/* --- Buttons & focus ---------------------------------------------------- */
.btn { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; padding: 0.95rem 1.9rem; border-radius: 12px; }
.btn--outline { border-color: var(--brand-2); color: var(--brand); }
.btn--outline:hover { background: var(--brand-soft); border-color: var(--brand); }
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid rgba(46,103,160,0.45); outline-offset: 3px; border-radius: 8px;
}

/* --- Cards & grids ------------------------------------------------------ */
.bento { gap: 1.75rem; }
.card { padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius-xl); border-color: var(--line); }
.card h3, .card h4 { color: var(--ink); }
.card h4 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.97rem; line-height: 1.65; }
.card--navy p, .card--primary p { color: rgba(255,255,255,0.78); }
.card--tint { background: var(--surface-2); }
.check-list li { font-weight: 500; color: var(--text); }
.card--navy .check-list li, .card--primary .check-list li, .section--dark .check-list li { color: rgba(255,255,255,0.85); }

.feature-row h4 { font-size: 1.1rem; }
.feature-row p { color: var(--muted); }
.split__content p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.split .headline-lg { margin-bottom: 0.25rem; }
.stat-tile { border-radius: 16px; padding: 1.6rem 1.25rem; }
.stat-tile__num { font-family: var(--font-display); font-size: 2.1rem; letter-spacing: -0.03em; }

.process { gap: 1.5rem; }
.process__step { padding: 2.25rem 1.9rem 2rem; border-radius: var(--radius-xl); }
.process__step h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
.process__num { font-family: var(--font-display); }

.faq__item { border-radius: 14px; }
.faq__item summary { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; padding: 1.2rem 1.4rem; color: var(--ink); }
.faq__answer { padding: 0 1.4rem 1.35rem; font-size: 0.98rem; color: var(--muted); }

.logo-card { border-radius: 16px; }
.logo-card h4 { font-size: 0.92rem; line-height: 1.35; }
.logo-card p { font-size: 0.8rem; }

/* --- CTA panels --------------------------------------------------------- */
.cta-panel { border-radius: var(--radius-2xl); }
.cta-panel h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
.cta-panel p { font-size: 1.08rem; color: var(--muted); margin-bottom: 2rem; }
.cta-panel--navy p { color: rgba(255,255,255,0.78); }

/* --- Long-form reading -------------------------------------------------- */
.entry-content h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-top: 2.75rem; margin-bottom: 0.9rem; }
.entry-content h3 { font-size: 1.35rem; margin-top: 2.5rem; margin-bottom: 0.75rem; color: var(--ink); }
.entry-content > :first-child { margin-top: 0; }
.entry-content p { color: var(--text); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.15rem; }
.entry-content li { color: var(--text); line-height: 1.7; margin-bottom: 0.45rem; }
.entry-content a { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(6,79,134,0.3); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--brand); }

/* --- Client strip ------------------------------------------------------- */
.clients { padding: 2.75rem 0; }
.clients__label { font-size: 0.7rem; letter-spacing: 0.16em; color: var(--muted); }
.clients__row span { color: #8a94a6; font-size: 1rem; }
.clients__row span:hover { color: var(--brand); }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); margin-top: var(--space-section); }
.site-footer__grid { padding: 4.5rem 1.5rem 3.25rem; gap: 2.5rem 3rem; }
.site-footer h4 { font-size: 0.78rem; letter-spacing: 0.14em; color: rgba(255,255,255,0.92); margin-bottom: 1.25rem; }
.site-footer ul li { margin-bottom: 0.7rem; }
.site-footer ul a, .footer-contact li, .footer-contact a { color: rgba(255,255,255,0.66); font-size: 0.92rem; }
.site-footer ul a:hover, .footer-contact a:hover { color: #fff; }
.site-footer__brand p { color: rgba(255,255,255,0.62); font-size: 0.92rem; }
.site-footer__bottom { padding: 1.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.42); }
.footer-legal a { font-size: 0.82rem; }

/* --- Small screens -------------------------------------------------------- */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .display-lg { font-size: clamp(2.15rem, 9vw, 2.7rem); }
  .headline-lg { font-size: clamp(1.6rem, 7vw, 2rem); }
  .card { padding: 1.6rem 1.4rem; }
  .bento { gap: 1.1rem; }
}

/* Headings inside dark cards stay white (must follow the .card h3/h4 rule above) */
.card--navy h3, .card--navy h4, .card--primary h3, .card--primary h4,
.section--dark .card--navy h3, .section--dark .card--navy h4 { color: #fff; }
.card--navy .material-symbols-outlined.solo, .card--primary .material-symbols-outlined.solo { color: #fff; }

/* Hero atmosphere: a second, warmer glow and a faint grid so the wide
   left-aligned hero has visual weight on the right */
.page-hero::after {
  width: 48rem; height: 48rem; right: -16rem; top: -20rem;
  background: radial-gradient(closest-side, rgba(46,103,160,0.28), rgba(46,103,160,0));
}
.page-hero .container::before {
  content: ""; position: absolute; pointer-events: none; border-radius: 50%;
  width: 26rem; height: 26rem; right: 8%; bottom: -12rem;
  background: radial-gradient(closest-side, rgba(245,158,11,0.16), rgba(245,158,11,0));
}
.page-hero .container { position: relative; }
.page-hero--dark .container::before { background: radial-gradient(closest-side, rgba(245,158,11,0.14), rgba(245,158,11,0)); }
.page-hero--center .container::before { display: none; }
