/* variables.css, animations.css and responsive.css are loaded as parallel
   <link> tags in views/layout.ejs (in this same cascade order) instead of
   serial @import, so the browser can download them concurrently. */

/* ============================================================
   KDRS GROUP — style.css v2.0  (Premium Enterprise, July 2026)
   ============================================================ */

/* ─── Reset ──────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: var(--leading-normal);
  overflow-x: hidden;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-primary);
  line-height: var(--leading-tight);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

ul {
  list-style: none;
}

/* ─── Layout helpers ──────────────────────────────────────── */

.container {
  margin: 0 auto;
  max-width: var(--container);
  width: min(92%, var(--container));
}

section {
  padding: var(--section-pad) 0;
}

/* ─── Header / Nav (Modern Floating-Pill) ─────────────────── */

.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(220, 227, 234, 0.7);
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out),
    border-color .4s var(--ease-out), padding .35s var(--ease-out);
  padding: 14px var(--sp-4);
}

/* Premium gradient hairline at the very top */
.header-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 55%, #E0A867 100%);
  opacity: .95;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px -12px rgba(11, 31, 58, 0.18);
  border-bottom-color: transparent;
  padding-top: 9px;
  padding-bottom: 9px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 100%;
  padding: 0 var(--sp-4);
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform .25s var(--ease-out), opacity .2s ease;
}
.logo img {
  height: 54px;
  width: auto;
  display: block;
}
.logo:hover { transform: translateY(-1px); opacity: .92; }

/* Nav wrapper — centres the floating pill */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

/* Floating pill that holds the links */
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  background: rgba(238, 242, 247, 0.6);
  border: 1px solid rgba(220, 227, 234, 0.9);
  border-radius: var(--radius-badge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Links + dropdown toggles = segmented-control pills */
.nav-link,
.nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  border-radius: var(--radius-badge);
  white-space: nowrap;
  transition: color .2s ease, background-color .25s var(--ease-out),
    box-shadow .25s var(--ease-out);
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown:hover .nav-dropdown-toggle {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 2px 8px -2px rgba(11, 31, 58, 0.16);
}

.nav-link.active {
  color: var(--accent);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle i,
.nav-dropdown-toggle svg {
  width: 15px !important;
  height: 15px !important;
  margin-left: 5px;
  transition: transform .3s var(--ease-out);
}

.nav-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

/* Mega-menu card */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -12px rgba(11, 31, 58, 0.22), 0 8px 16px -8px rgba(11, 31, 58, 0.1);
  min-width: 300px;
  padding: var(--sp-3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s;
  z-index: 201;
}

.nav-dropdown-menu--wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  min-width: 520px;
}

/* Little pointer arrow on the card */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  transition: background .2s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--surface-soft);
}

/* Icon tile inside a mega-menu item */
.nav-mi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--primary-ghost);
  color: var(--primary);
  transition: background .2s ease, color .2s ease, transform .2s var(--ease-out);
}
.nav-mi i, .nav-mi svg { width: 18px !important; height: 18px !important; }
.nav-dropdown-menu a:hover .nav-mi {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

.nav-mt { display: flex; flex-direction: column; line-height: 1.3; }
.nav-mt strong { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); }
.nav-mt small { font-size: 0.75rem; color: var(--text-tertiary); }

/* Copper CTA in the navbar */
.btn-nav {
  min-height: 44px;
  padding: 11px 22px;
  background: var(--accent);
  border-color: var(--accent);
  border-radius: var(--radius-badge);
  box-shadow: 0 6px 18px -6px rgba(212, 166, 74, 0.55);
}
.btn-nav:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 12px 24px -6px rgba(212, 166, 74, 0.6);
}
.btn-nav i, .btn-nav svg {
  width: 16px !important;
  height: 16px !important;
  transition: transform .25s var(--ease-out);
}
.btn-nav:hover i { transform: translateX(3px); }

/* Mobile: dissolve the pill so links flow into the slide-down panel */
@media (max-width: 980px) {
  .nav-pill {
    display: contents;
  }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu,
  .nav-dropdown-menu--wide {
    position: static;
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    padding: 2px 0 6px 14px;
    margin: 2px 0 4px;
  }
  .nav-dropdown-menu::before { display: none; }
  /* Menu is static + always-visible in the slide-down panel: neutralise the
     desktop hover/focus transforms so it never shifts sideways on tap. */
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu { transform: none; }
  .nav-link:hover, .nav-link.active,
  .nav-dropdown:hover .nav-dropdown-toggle { box-shadow: none; background: var(--primary-ghost); }
}

/* Hamburger */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-primary);
  cursor: pointer;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  transition: var(--transition);
}

.nav-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: var(--transition);
}

/* ─── Buttons ────────────────────────────────────────────── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  min-height: 48px;
  background: var(--primary);
  color: var(--text-inverse);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-btn);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: .01em;
  transition:
    background var(--duration-base) ease,
    border-color var(--duration-base) ease,
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) ease;
}

.btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--primary-ghost);
  color: var(--primary-hover);
  border-color: var(--primary);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface-soft);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-gradient {
  background: var(--gradient-primary);
  border: none;
  color: var(--text-inverse);
}

.btn-gradient:hover {
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

/* ─── Typography helpers ─────────────────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-4);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  display: inline-block;
}

.section-title {
  font-size: var(--text-h2);
  font-weight: 900;
  color: var(--text-primary);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--sp-4);
}

.section-intro {
  font-size: var(--text-body);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: var(--leading-relaxed);
}

.section-head {
  margin-bottom: var(--sp-16);
  max-width: 740px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .section-intro {
  margin: 0 auto;
}

/* ─── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 760px;
  padding: 104px 0 var(--section-pad);
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Navy → royal-blue base gradient (also the fallback if the image is missing) */
  background: var(--gradient-hero);
  color: var(--text-inverse);
}

/* City skyline photo layer — solid navy on the left, skyline fading in on the
   right (matches the reference). Left→right fade + soft top/bottom vignette. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-image:
    linear-gradient(90deg,
      var(--primary) 0%,
      rgba(11, 31, 58, 0.98) 30%,
      rgba(11, 31, 58, 0.82) 48%,
      rgba(11, 31, 58, 0.38) 66%,
      rgba(11, 31, 58, 0.06) 100%),
    linear-gradient(180deg,
      rgba(11, 31, 58, 0.55) 0%,
      rgba(11, 31, 58, 0) 38%,
      rgba(8, 24, 47, 0.60) 100%),
    url("/assets/images/hero-city.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, right center;
  background-repeat: no-repeat;
}

/* Royal-blue glow — top right */
.hero-bg::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -8%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.45) 0%, transparent 70%);
  animation: float-blob 22s ease-in-out infinite;
}

/* Gold glow — bottom left */
.hero-bg::after {
  content: "";
  position: absolute;
  bottom: -14%;
  left: -6%;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 166, 74, 0.18) 0%, transparent 70%);
  animation: float-blob-reverse 19s ease-in-out infinite;
}

/* Dot grid, radially masked so it fades toward the edges */
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1.1px, transparent 1.1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 38%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 38%, #000 0%, transparent 76%);
  opacity: .5;
  pointer-events: none;
}

/* Physics particle constellation */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: var(--sp-16);
  align-items: center;
}

/* ─── Hero Center ────────────────────────────────────────── */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 100%;
  margin: 0;
}

.hero-center h1 {
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--sp-6);
  color: var(--text-inverse);
}

.hero-center h1 .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero eyebrow → premium pill badge (glass on dark) */
.hero-center .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  margin-bottom: var(--sp-6);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-badge);
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: .02em;
}
.hero-center .eyebrow i,
.hero-center .eyebrow svg { color: var(--accent); }

.hero-center .hero-text {
  font-size: var(--text-body-lg);
  color: rgba(255, 255, 255, 0.80);
  max-width: 600px;
  margin: 0 0 var(--sp-10);
  line-height: var(--leading-relaxed);
}

/* ─── Hero Search Component ─────────────────────────────── */
.hero-search {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--sp-2);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-lg);
  width: 100%;
  margin-bottom: var(--sp-8);
  transition: border-color var(--duration-base) ease, box-shadow var(--duration-base) ease;
}

.hero-search:focus-within {
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
}

/* No focus outline anywhere inside the hero search (design choice —
   overrides the global :focus-visible accessibility outline for this section) */
.hero-search :focus,
.hero-search :focus-visible,
.hero-combo-input:focus,
.hero-combo-input:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

.hero-search-field {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 var(--sp-5);
  gap: var(--sp-3);
  border-right: 1px solid var(--border);
}

.hero-search-field:last-of-type {
  border-right: none;
}

.hero-search-field i,
.hero-search-field svg {
  color: var(--text-tertiary);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.hero-search-field input,
.hero-search-field select {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  height: 52px;
  font-weight: 500;
  margin-bottom: 0;
}

.hero-search .btn {
  flex-shrink: 0;
  min-height: 52px;
  padding: 0 var(--sp-8);
  font-size: 1rem;
  border-radius: var(--radius-btn);
}

/* ─── Hero Tags & Stats ─────────────────────────────────── */
.hero-tags {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: var(--sp-10);
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-tags strong {
  color: #FFFFFF;
  font-weight: 700;
}

.hero-tags a {
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-badge);
  color: rgba(255, 255, 255, 0.88);
  transition: var(--transition);
}
.hero-tags a:hover {
  border-color: var(--accent);
  color: var(--accent-amber);
  background: rgba(212, 166, 74, 0.10);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: var(--sp-10);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.hero-stat-item h4 {
  font-size: var(--text-caption);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.66);
  letter-spacing: .02em;
}

.hero-stat-item span {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Hero feature bar (bordered, glass on dark) ─────────── */
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  width: 100%;
  padding: var(--sp-6) var(--sp-7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  background: rgba(8, 24, 47, 0.30);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.hero-feature-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--accent);
}
.hero-feature-icon i,
.hero-feature-icon svg { width: 30px; height: 30px; }

.hero-feature h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.hero-feature p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.66);
}

.hero-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xl);
  padding: var(--sp-10);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transform: perspective(1000px) rotateY(-4deg);
  transition: transform .5s var(--ease-smooth);
}

.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-8px);
}

.hero-card h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}

.hero-list {
  display: grid;
  gap: var(--sp-4);
}

/* ─── Page hero (inner pages) ────────────────────────────── */

.page-hero {
  position: relative;
  min-height: 380px;
  padding: 100px 0 var(--sp-16);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-surface);
  z-index: 0;
}

.page-hero-bg::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 97, 238, 0.06) 0%, transparent 70%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: var(--text-h1);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--sp-5);
  max-width: 780px;
}

.page-hero p {
  font-size: var(--text-body);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: var(--leading-relaxed);
}

/* ─── Trust strip ────────────────────────────────────────── */

.trust-strip {
  background: var(--text-primary);
  padding: 0;
  overflow: hidden;
}

.trust-strip-inner {
  display: flex;
  white-space: nowrap;
  padding: var(--sp-4) 0;
}

.trust-ticker {
  display: inline-flex;
  gap: 0;
  flex-shrink: 0;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0 var(--sp-10);
  font-size: 0.9rem;
  font-weight: 600;
  color: #94A3B8;
  border-right: 1px solid rgba(255,255,255,.08);
}

.trust-item strong {
  color: #fff;
}

.trust-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ─── Sections & Grids ───────────────────────────────────── */

.soft-section {
  background: var(--surface-soft);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.image-panel {
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  max-height: 540px;
  width: 100%;
}

.grid-2 { display: grid; gap: var(--sp-6); grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { display: grid; gap: var(--sp-6); grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { display: grid; gap: var(--sp-6); grid-template-columns: repeat(4, minmax(0,1fr)); }

/* ─── Cards ──────────────────────────────────────────────── */

.card,
.stat-card,
.service-card,
.process-card,
.info-card,
.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.service-card,
.process-card,
.info-card,
.stat-card {
  padding: var(--sp-8);
}

/* Icon box */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  font-size: .85rem;
  font-weight: 900;
  margin-bottom: var(--sp-5);
  border: none;
}

/* Service & process card typography */
.service-card h3,
.process-card h3,
.info-card h3,
.stat-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
  line-height: var(--leading-snug);
}

.service-card p,
.process-card p,
.info-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: var(--leading-relaxed);
}

/* ─── Service cards — ghost number + feature points ───────── */
.service-card {
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
    border-color .35s ease;
}
.service-card > *:not(.svc-ghost) { position: relative; z-index: 1; }

/* Sliding accent bar along the top on hover */
.service-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
  z-index: 2;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(11, 31, 58, 0.14);
}
.service-card:hover::after { transform: scaleX(1); }

/* Big faded "ghost" number in the background */
.svc-ghost {
  position: absolute;
  top: -16px;
  right: 12px;
  z-index: 0;
  font-size: clamp(4.5rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  color: rgba(11, 31, 58, 0.05);
  pointer-events: none;
  transition: color .35s ease, transform .5s var(--ease-out);
}
.service-card:hover .svc-ghost {
  color: rgba(212, 166, 74, 0.14);
  transform: translateY(2px) scale(1.05);
}

/* Icon box reacts on hover */
.service-card .icon-box {
  transition: background .3s ease, color .3s ease, transform .35s var(--ease-out);
}
.service-card:hover .icon-box {
  background: var(--primary);
  color: #fff;
}

/* "What we provide" feature list */
.svc-points {
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: var(--sp-5) 0 0;
  border-top: 1px dashed var(--border);
  display: grid;
  gap: 10px;
}
.svc-points li {
  position: relative;
  padding-left: 28px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.svc-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background-color: var(--accent-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4A64A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Stat card */
.stat-card {
  text-align: center;
}

.stat-card h3 {
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -.04em;
}

.stat-card p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: var(--sp-2);
}

/* Leader card - Circular modern layout */
/* ══ Team / leadership cards — big photo banner + full profile (redesign) ══ */
.leader-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s ease;
}

/* Copper accent bar that sweeps in along the bottom on hover */
.leader-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
  z-index: 4;
}
.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(11, 31, 58, 0.14);
}
.leader-card:hover::after { transform: scaleX(1); }

/* Big photo banner (works whether the img is wrapped in <a> or not) */
.leader-card > a,
.leader-card > img {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.leader-card > a { line-height: 0; }
.leader-card img {
  width: 100%;
  aspect-ratio: 1 / 1;      /* square frame — matches the 640x640 leader photos
                               and crops portrait photos into clean headshots */
  height: auto;
  object-fit: cover;
  object-position: center 20%;
  background: var(--surface-soft);
  transition: transform .6s var(--ease-out);
}
.leader-card:hover img { transform: scale(1.06); }

/* People grids (leadership + team): flex so incomplete rows CENTER instead
   of left-sticking an orphan card. Keeps ~3 per row on desktop. */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 300px));
  justify-content: center;   /* centre the group; no orphan left-stick */
  align-items: stretch;      /* every card equal height + tops aligned */
  gap: var(--sp-6);
}
.people-grid > * {
  max-width: none;           /* width is driven by the equal grid tracks */
  margin: 0;
}
@media (max-width: 640px) {
  .people-grid { grid-template-columns: minmax(0, 340px); }
}

.leader-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
  text-align: left;
}
.leader-card-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
  letter-spacing: -.01em;
}
.leader-card-body h3 a { color: inherit; text-decoration: none; }
.leader-card-body > p:first-of-type {
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
}

/* Focus tags — modern chips (left aligned) */
.leader-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 6px 0 18px;
}
.leader-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-badge);
  background: var(--primary-ghost);
  border: 1px solid var(--border);
  color: var(--primary);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.leader-card:hover .leader-tags span:first-child {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ─── Jobs toolbar & list ─────────────────────────────────── */

.jobs-toolbar {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  padding: 18px;
  margin-bottom: 28px;
}

.jobs-toolbar input,
.jobs-toolbar select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 16px 16px;
  height: 60px;
  color: var(--text);
  outline: none;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.jobs-toolbar input:focus,
.jobs-toolbar select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, .1);
}

.job-list {
  display: grid;
  gap: 18px;
}

.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
}

.job-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.job-card p {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--surface-soft);
  border: 1px solid var(--border-light);
  color: var(--primary-dark);
  font-size: .8rem;
  font-weight: 700;
}

/* ─── Contact ─────────────────────────────────────────────── */

.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 28px;
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}

.contact-form label {
  display: block;
  font-size: .83rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: .02em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 16px 16px;
  color: var(--text);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  margin-bottom: 18px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-ghost);
}

/* Sticky contact info sidebar on desktop */
@media (min-width: 981px) {
  .contact-wrapper > aside {
    position: sticky;
    top: 90px;
    align-self: start;
  }
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* ─── Contact — embedded location map ─────────────────────── */
.map-embed {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}
.map-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 300px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}
.map-card-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
}
.map-card-ic svg, .map-card-ic i { width: 20px !important; height: 20px !important; }
.map-card-body { display: flex; flex-direction: column; gap: 2px; }
.map-card-body strong { font-size: 1rem; font-weight: 800; color: var(--text-primary); }
.map-card-body > span { font-size: 0.82rem; color: var(--text-muted); }
.map-directions {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.map-directions svg, .map-directions i { width: 14px !important; height: 14px !important; transition: transform .25s var(--ease-out); }
.map-directions:hover svg { transform: translate(2px, -2px); }
@media (max-width: 640px) {
  .map-embed iframe { height: 360px; }
  .map-card {
    position: static;
    max-width: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: none;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid input {
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 18px;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.form-message {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid transparent;
}

.form-message.success {
  background: rgba(5, 150, 105, .1);
  border-color: rgba(5, 150, 105, .25);
  color: var(--success);
}

.form-message.error {
  background: rgba(220, 38, 38, .08);
  border-color: rgba(220, 38, 38, .22);
  color: var(--danger);
}

/* ─── CTA section ────────────────────────────────────────── */

.cta {
  background: var(--gradient-cta);
  color: #fff;
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 97, 238, 0.15) 0%, transparent 70%);
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: var(--text-h2);
  font-weight: 900;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--sp-3);
  color: #fff;
}

.cta p {
  color: #94A3B8;
  font-size: var(--text-body);
  max-width: 580px;
  line-height: var(--leading-relaxed);
}

.cta .btn {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  flex-shrink: 0;
}

.cta .btn:hover {
  background: var(--primary-light);
  color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,255,255,.2);
}

/* ─── Footer ─────────────────────────────────────────────── */

.footer {
  background: #1D2330;
  color: #8FC7D5;
  padding: 64px 0 28px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand .logo-mark {
  box-shadow: none;
}

.footer-brand p {
  font-size: .92rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: .9rem;
  color: #64748b;
  margin-bottom: 10px;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  color: #94a3b8;
  font-size: .85rem;
  margin-bottom: 0;
  transition: background .2s ease, color .2s ease;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.copyright {
  padding-top: 26px;
  text-align: center;
  font-size: .85rem;
  color: #475569;
}

/* ─── Responsive ──────────────────────────────────────────── */

@media (max-width: 980px) {
  :root { --header-h: 70px; }

  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 12px 4%;
    gap: 4px;
    z-index: 199;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 16px;
    font-size: .95rem;
  }

  .nav-actions {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero-grid,
  .split,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-grid .hero-card {
    order: -1;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .jobs-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  section { padding: 68px 0; }

  .hero { padding: 60px 0 48px; }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .job-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-strip .container { flex-direction: column; gap: 10px; }

  .hero-card { padding: 22px; }

  .contact-form { padding: 22px; }

  .cta { padding: 60px 0; }
}

/* %%% Modern Job Cards (Reference Design) %%%%%%%%%%%%%%%% */
.job-card-modern {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.job-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.job-company-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.job-save-btn {
  background: var(--surface-soft);
  border: none;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
}
.job-save-btn:hover { background: #e2e8f0; color: var(--ink); }
.job-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  margin-bottom: 6px;
}
.job-company { font-weight: 700; color: var(--ink); }
.job-time { color: var(--text-muted); }
.job-card-modern h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 16px;
}
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  flex: 1;
}
.job-tag {
  background: var(--surface-soft);
  color: var(--text);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.job-card-footer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.job-salary-loc {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.job-salary { font-weight: 700; color: var(--ink); font-size: .95rem; }
.job-loc { color: var(--text-muted); font-size: .75rem; }
.job-apply-btn {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
  display: inline-block;
}
.job-apply-btn:hover { background: #000; }


/* %%% Footer Upgrade %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
.footer {
  background: #1D2330;
  color: #8FC7D5;
  padding: 48px 0 24px;
}

.footer-split {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.footer-left {
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.footer-heading .highlight {
  color: var(--primary);
}

.footer-awards {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.award-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.award-icon i,
.award-icon svg {
  color: var(--primary);
  width: 24px !important;
  height: 24px !important;
}

.award-text {
  display: flex;
  flex-direction: column;
}

.award-text strong {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.award-text span {
  color: var(--primary);
  font-size: 0.8rem;
  margin-top: 4px;
}

.footer-newsletter label {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.newsletter-form input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0 16px;
  height: 48px;
  color: #fff;
  width: 100%;
  font-size: 0.95rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-form button {
  background: var(--primary);
  border: none;
  border-radius: 8px;
  width: 56px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s;
}

.newsletter-form button:hover {
  transform: translateX(3px);
}

.footer-newsletter p {
  color: #64748b;
  font-size: 0.85rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-top: 20px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 14px;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.locations-title {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.location-card p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 4px;
}

.location-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.location-header i,
.location-header svg {
  color: var(--primary);
  width: 18px !important;
  height: 18px !important;
}

.location-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.location-time i,
.location-time svg {
  width: 14px !important;
  height: 14px !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 80px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: #94a3b8;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #fff;
}

.footer-social a i,
.footer-social a svg {
  width: 20px !important;
  height: 20px !important;
}

.copyright {
  color: #64748b;
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .footer-split {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .footer-left {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 60px;
  }
  .footer-right {
    padding-top: 0;
  }
  .footer-awards {
    flex-direction: column;
  }
  .footer-links-grid,
  .locations-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .footer-links-grid,
  .locations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .footer-content { grid-template-columns: 1fr; }
}

.legal-links {
  display: flex;
  gap: 24px;
}

.legal-links a {
  color: #64748b;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.legal-links a:hover {
  color: #cbd5e1;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}



/* ─── Leader Card Enhancements ───────────────────────────── */
.leader-bio {
  font-size: 0.9rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.65;
  margin: 12px 0 18px;
  text-align: left;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 500 !important;
}

.leader-socials {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
  margin-bottom: 0;
}

.leader-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  color: var(--primary);
  transition: all 0.2s ease;
}

.leader-socials a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.leader-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s;
  text-decoration: none;
}

.leader-more:hover {
  color: var(--primary);
}

.leader-more i,
.leader-more svg {
  width: 14px !important;
  height: 14px !important;
  transition: transform 0.2s;
}

.leader-more:hover i,
.leader-more:hover svg {
  transform: translateX(3px);
}

/* ─── Markdown Content ───────────────────────────────────── */
.markdown-content h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}
.markdown-content h2 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 16px;
}
.markdown-content h3 {
  font-size: 1.25rem;
  margin-top: 24px;
  margin-bottom: 12px;
}
.markdown-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.markdown-content ul, .markdown-content ol {
  margin-left: 24px;
  margin-bottom: 24px;
  color: var(--text-muted);
}
.markdown-content li {
  margin-bottom: 10px;
}
.markdown-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}
.markdown-content a {
  color: var(--primary);
  text-decoration: underline;
}

/* ─── Interactive Services Showcase ──────────────────────── */
.services-showcase {
  background: var(--bg);
  padding: 100px 0;
}

.services-interactive-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  display: flex;
  overflow: hidden;
  border: 1px solid var(--border);
}

.services-sidebar {
  width: 40%;
  padding: 60px 40px;
  background: #fafafa;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.services-sidebar .eyebrow {
  margin-bottom: 12px;
}

.services-sidebar h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.services-sidebar p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.services-tab-list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.services-tab-btn {
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #a0aec0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.services-tab-btn:hover {
  color: var(--ink);
}

.services-tab-btn.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.services-content-area {
  width: 60%;
  padding: 50px;
  background: #fff;
  position: relative;
}

.services-tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.services-tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 36px;
}

.tab-body h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.tab-body p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.tab-roles strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.tab-roles ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}

.tab-roles li {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tab-roles li i,
.tab-roles li svg {
  color: var(--primary);
  width: 16px !important;
  height: 16px !important;
  margin-top: 4px;
}

.tab-actions {
  display: flex;
  gap: 16px;
}

@media (max-width: 992px) {
  .services-interactive-card {
    flex-direction: column;
  }
  .services-sidebar,
  .services-content-area {
    width: 100%;
  }
  .services-sidebar {
    padding: 40px 24px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .services-content-area {
    padding: 30px 24px;
  }
  .tab-roles ul {
    grid-template-columns: 1fr;
  }
}

/* ── Search Component ───────────────────────────────────── */
.modern-search-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #E7EAF5;
  border-radius: 14px;
  height: 60px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
  padding: 6px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  width: 100%;
}

.modern-search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(74, 87, 209, 0.2);
}

.search-input-group {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 16px;
  height: 100%;
  border-right: 1px solid #E7EAF5;
}

.search-input-group:last-of-type {
  border-right: none;
}

.search-input-group i,
.search-input-group svg {
  color: #94a3b8;
  margin-right: 12px;
  width: 18px !important;
  height: 18px !important;
}

.search-input-group input,
.search-input-group select {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  color: var(--ink);
  font-family: inherit;
}

.search-input-group input::placeholder {
  color: #94a3b8;
}

.search-input-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2394a3b8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 10px;
  padding-right: 20px;
}

.search-btn {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  height: 100%;
  padding: 0 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease;
}

.search-btn:hover {
  background: #3944b0;
}

@media (max-width: 768px) {
  .modern-search-bar {
    flex-direction: column;
    height: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .search-input-group {
    background: #ffffff;
    border: 1px solid #E7EAF5;
    border-radius: 14px;
    height: 56px;
    margin-bottom: 12px;
    width: 100%;
  }
  .search-input-group:last-of-type {
    border-right: 1px solid #E7EAF5;
  }
  .search-btn {
    width: 100%;
    height: 56px;
    justify-content: center;
    border-radius: 14px;
  }
}

/* ── New Job Card Component ──────────────────────────────── */
.job-card-new {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  width: 100%;
  /* Removed fixed width/height for responsiveness inside grid, using grid rules instead */
  min-height: 280px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  /* Hover lift is handled by the site-wide unified rule in animations.css
     (same -6px lift as every other card component), not a bespoke one here. */
}

.job-card-new-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

/* Same treatment as every other .icon-box on the site (Mission, Values,
   etc.) — one consistent navy-tinted badge; only the icon inside changes. */
.job-card-new-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
}
.job-card-new-logo svg, .job-card-new-logo i { width: 22px !important; height: 22px !important; }

.job-card-new-tags {
  display: flex;
  gap: 8px;
}

.job-card-new-tag {
  background: var(--surface-soft);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.job-card-new-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.job-card-new-company {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 12px;
}

.job-card-new-company i,
.job-card-new-company svg {
  color: var(--primary);
  width: 14px !important;
  height: 14px !important;
  fill: var(--primary);
}

.job-card-new-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.job-card-new-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.job-card-new-meta i,
.job-card-new-meta svg {
  width: 14px !important;
  height: 14px !important;
}

.job-card-new-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card-new-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.job-card-new-salary {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
}

.job-card-new-salary small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
}

.job-card-new-btn {
  background: var(--primary);
  color: var(--text-inverse);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-btn);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--duration-base) ease, border-color var(--duration-base) ease, transform var(--duration-base) var(--ease-out);
  text-decoration: none;
}

.job-card-new-btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* %%% Accessibility: skip link %%% */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 3000;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm, 8px) 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* ============================================================
   M5 — Accessibility overrides (keyboard nav, motion, contrast)
   Appended last so equal-specificity rules win.
   ============================================================ */

/* Keyboard-accessible dropdowns: open on focus, not just hover */
.nav-dropdown:focus-within .nav-dropdown-toggle {
  background-color: var(--surface-soft);
  color: var(--primary);
}
.nav-dropdown:focus-within .nav-dropdown-toggle i {
  transform: rotate(180deg);
}
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  /* Must match the :hover transform exactly — keep the -50% centering so the
     menu does NOT jump sideways when a click moves focus into the dropdown
     (that jump was making the first click miss the link). */
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Visible focus indicator for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-xs, 4px);
}

/* Footer contrast: raise muted greys to >=4.5:1 on the dark footer */
.footer-brand p,
.footer-col a,
.footer-col p,
.footer-newsletter p,
.location-card p,
.copyright,
.legal-links a {
  color: #aab4c4;
}
.footer-col a:hover,
.legal-links a:hover {
  color: #ffffff;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .trust-ticker,
  .ticker,
  .pulse-ring,
  [class*="marquee"] {
    animation: none !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

/* %%% Sitemap page link lists %%% */
.sitemap-links a {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.sitemap-links a:hover,
.sitemap-links a:focus-visible {
  color: var(--primary);
  text-decoration: underline;
  padding-left: 4px;
}

/* ============================================================
   Legal / Policy pages — modern layout (hero + sticky ToC)
   ============================================================ */
.legal-updated {
  display: inline-block;
  margin-top: 16px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.legal-body { padding: 64px 0 40px; }

.legal-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1120px;
}

/* Sticky table of contents */
.legal-toc { position: sticky; top: calc(var(--header-h, 80px) + 20px); }
.legal-toc-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.legal-toc nav { display: grid; gap: 2px; max-height: 70vh; overflow-y: auto; }
.legal-toc nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid var(--border);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.legal-toc nav a:hover {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--surface-soft);
}
.legal-toc nav a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 700;
  background: var(--surface-soft);
}

/* Content card */
.legal-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 48px 56px;
}
.legal-content > p:first-child {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Modern markdown typography inside legal pages */
.legal-content h2 {
  position: relative;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin: 44px 0 16px;
  padding-left: 18px;
  scroll-margin-top: calc(var(--header-h, 80px) + 20px);
}
.legal-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark, #3543B7));
}
.legal-content h3 { font-size: 1.02rem; font-weight: 700; margin: 26px 0 10px; color: var(--ink); }
.legal-content p { line-height: 1.75; color: var(--text); margin-bottom: 14px; }
.legal-content hr { display: none; }

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.legal-content a:hover { color: var(--primary-dark, #3543B7); }

.legal-content ul { list-style: none; padding-left: 0; margin: 0 0 16px; }
.legal-content ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  line-height: 1.7;
  color: var(--text);
}
.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 18px;
  font-size: 0.92rem;
}
.legal-content th {
  text-align: left;
  background: var(--surface-soft);
  padding: 12px 16px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--border);
}
.legal-content td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); }

@media (max-width: 980px) {
  .legal-grid { grid-template-columns: 1fr; gap: 0; }
  .legal-toc { display: none; }
  .legal-body { padding: 40px 0 24px; }
}
@media (max-width: 640px) {
  .legal-content { padding: 28px 22px; }
}

/* %%% Footer link polish — modern hover slide %%% */
.footer-col a {
  line-height: 1.5;
  border-radius: 4px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-col a:hover,
.footer-col a:focus-visible {
  color: #ffffff;
  padding-left: 6px;
}

/* %%% Service anchor targets (footer deep-links) %%% */
.service-offer-card {
  scroll-margin-top: calc(var(--header-h, 80px) + 24px);
}
.service-offer-card:target {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(74, 87, 209, 0.12), var(--shadow-md, 0 8px 24px rgba(0,0,0,.08));
}

/* %%% Partners page — logo wall (dummy data) %%% */
.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.partner-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 14px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 10px 28px rgba(0,0,0,.08));
  border-color: transparent;
}
.partner-monogram {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}
.partner-name { font-weight: 600; font-size: 0.92rem; color: var(--ink); line-height: 1.3; }

.partner-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.partner-quote blockquote {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 20px;
}
.partner-quote cite { font-style: normal; color: var(--text-muted); font-size: 0.95rem; }

/* %%% Partners — modern auto-scrolling logo marquee %%% */
.partner-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partner-marquee + .partner-marquee { margin-top: 18px; }
.partner-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: partner-scroll 45s linear infinite;
}
.partner-track.reverse { animation-direction: reverse; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
.partner-track .partner-logo {
  flex: 0 0 auto;
  min-width: 230px;
  background: var(--surface, #fff);
}
@keyframes partner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* %%% FAQ — modern accordion %%% */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 14px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: var(--primary); }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item summary:hover::after { background: var(--primary); color: #fff; }
.faq-item[open] summary::after {
  content: "\2212";
  background: var(--primary);
  color: #fff;
}
.faq-answer {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
  animation: faq-reveal 0.25s ease;
}
.faq-answer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* %%% Apply / Careers page — 2-column layout %%% */
.apply-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.apply-info { position: sticky; top: calc(var(--header-h, 80px) + 24px); }
.apply-benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.apply-benefit .icon-box {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
}
.apply-benefit h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.apply-benefit p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

.apply-steps {
  margin-top: 32px;
  padding: 24px;
  background: var(--surface-soft);
  border-radius: var(--radius-md, 14px);
  border: 1px solid var(--border);
}
.apply-steps h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 800;
  margin-bottom: 16px;
}
.apply-step { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; font-size: 0.92rem; color: var(--text); }
.apply-step:last-child { margin-bottom: 0; }
.apply-step span {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apply-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px;
}

@media (max-width: 900px) {
  .apply-layout { grid-template-columns: 1fr; gap: 32px; }
  .apply-info { position: static; }
  .apply-form-card { padding: 28px 22px; }
}

/* %%% Searchable select dropdown (Role Applying For) %%% */
.searchable-select { position: relative; }
.searchable-select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease;
}
.searchable-select.open::after { transform: rotate(-135deg); top: 26px; }
.ss-input { width: 100%; }
.ss-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md, 0 12px 30px rgba(0,0,0,.1));
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  margin: 0;
  list-style: none;
  display: none;
}
.searchable-select.open .ss-options { display: block; }
.ss-option {
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text);
  transition: background 0.15s ease, color 0.15s ease;
}
.ss-option:hover,
.ss-option.active { background: var(--surface-soft); color: var(--primary); }
.ss-option.ss-other-opt {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  font-weight: 700;
  color: var(--primary);
}
.ss-empty { padding: 12px 14px; font-size: 0.9rem; color: var(--text-muted); }

/* %%% Resume file upload — clean single control %%% */
.file-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 28px 20px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md, 14px);
  background: var(--surface-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.file-upload:hover,
.file-upload:focus-within { border-color: var(--primary); background: #fff; }
.file-upload-icon { color: var(--primary); line-height: 1; }
.file-upload-icon i,
.file-upload-icon svg { width: 30px !important; height: 30px !important; }
.file-upload-text { font-size: 0.95rem; color: var(--ink); }
.file-upload-text strong { color: var(--primary); }
.file-upload-hint { font-size: 0.82rem; color: var(--text-muted); }
/* visually hidden but focusable */
.file-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.file-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.file-name i,
.file-name svg { width: 15px !important; height: 15px !important; }

/* ============================================================
   Animated icons (Lucide SVGs) — hover / interaction motion
   Reduced-motion users are covered by the global reduce block.
   ============================================================ */
svg.lucide { transition: transform 0.25s var(--ease-out, ease), color 0.2s ease; }

/* Card icons pop + tilt when the card is hovered */
.service-card:hover .icon-box svg.lucide,
.info-card:hover .icon-box svg.lucide,
.process-card:hover .icon-box svg.lucide,
.apply-benefit:hover .icon-box svg.lucide {
  transform: scale(1.15) rotate(-6deg);
}
.icon-box { transition: background 0.25s ease, transform 0.25s ease; }
.service-card:hover .icon-box,
.info-card:hover .icon-box { transform: translateY(-2px); }

/* Arrow / "more" links nudge right */
.leader-more svg.lucide,
.cta a svg.lucide { transition: transform 0.25s var(--ease-out, ease); }
.leader-more:hover svg.lucide,
a:hover > svg.lucide.lucide-arrow-right {
  transform: translateX(5px);
}

/* Primary buttons — icon nudges on hover */
.btn:hover svg.lucide { transform: translateX(3px); }
.btn:hover svg.lucide.lucide-search { transform: scale(1.12); }

/* Newsletter submit arrow */
.newsletter-form button:hover svg.lucide { transform: translateX(3px); }

/* Footer social icons — lift + scale */
.footer-social a svg.lucide { transition: transform 0.25s var(--ease-out, ease); }
.footer-social a:hover svg.lucide { transform: translateY(-3px) scale(1.15); }

/* Contact / info card icons gently rotate on hover */
.contact-info .info-card:hover .icon-box svg.lucide { transform: rotate(8deg) scale(1.1); }

/* Subtle idle float on decorative quote/upload icons */
@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.partner-quote .icon-box svg.lucide,
.file-upload .file-upload-icon svg.lucide {
  animation: icon-float 3s ease-in-out infinite;
}

/* %%% Footer — contact block, registration, back-to-top %%% */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #aab4c4;
}
.footer-contact li i,
.footer-contact li svg { width: 16px !important; height: 16px !important; color: var(--primary); flex-shrink: 0; }
.footer-contact a { color: #aab4c4; transition: color 0.2s ease; }
.footer-contact a:hover { color: #ffffff; }

.footer-newsletter .newsletter-form input:disabled,
.footer-newsletter .newsletter-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.footer-registration {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.78rem;
  color: #8b95a7;
  letter-spacing: 0.02em;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 500;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: var(--shadow-md, 0 10px 28px rgba(0,0,0,.18));
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-hover); transform: translateY(-3px); }
.back-to-top i, .back-to-top svg { width: 20px !important; height: 20px !important; }

/* ─── Why Visual Card ────────────────────────────────────── */
.why-split { align-items: center; }

.why-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Premium navy stat panel ── */
.why-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 40px 36px;
  border-radius: var(--radius-card);
  color: #fff;
  background: linear-gradient(155deg, #12305A 0%, #0B1F3A 52%, #081527 100%);
  box-shadow: 0 34px 70px -24px rgba(11, 31, 58, 0.6);
  overflow: hidden;
}
.why-panel::before {
  content: "";
  position: absolute;
  top: -35%;
  right: -25%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(212, 166, 74, 0.26) 0%, transparent 72%);
}
.why-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}
.why-panel > * { position: relative; z-index: 1; }

.why-panel-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}
.why-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-badge);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.why-badge i, .why-badge svg { width: 14px; height: 14px; color: var(--accent); }
.why-panel-title { font-size: 1.35rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }

.why-panel-stats { display: grid; gap: 22px; }
.why-pstat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.why-pstat:last-child { padding-bottom: 0; border-bottom: none; }
.why-pstat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 13px;
  background: rgba(212, 166, 74, 0.16);
  color: var(--accent);
}
.why-pstat-icon svg, .why-pstat-icon i { width: 22px !important; height: 22px !important; display: block; }
.why-pstat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
}
.why-pstat-num small { font-size: 1.1rem; font-weight: 800; color: var(--accent); margin-left: 2px; }
.why-pstat-label { display: block; margin-top: 5px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.62); }

/* ── Feature rows (right side) — flex-centred, bulletproof icon tiles ── */
.wf-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.wf-item { display: flex; align-items: center; gap: 16px; }
.wf-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  box-shadow: 0 4px 12px -6px rgba(11, 31, 58, 0.16);
  transition: transform .3s var(--ease-out), background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.wf-ic svg, .wf-ic i {
  width: 21px !important;
  height: 21px !important;
  display: block;
}
.wf-item:hover .wf-ic {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 22px -8px rgba(11, 31, 58, 0.45);
}
.wf-body { min-width: 0; }
.wf-body h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin: 0 0 3px; line-height: 1.3; }
.wf-body p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55; margin: 0; }
.why-cta { margin-top: 32px; }

/* Core Team grid — center the trailing cards so 3+2 looks balanced */
.core-team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;   /* equal heights + aligned tops for every card */
  align-content: flex-start;
  gap: var(--sp-6);
}
.core-team-grid .service-card {
  flex: 1 1 300px;
  max-width: 360px;
  align-self: stretch;    /* guard against any inherited align override */
  margin: 0;              /* no stray offset */
}

/* ─── Blog cards (modern + classic) ───────────────────────── */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s ease;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(11, 31, 58, 0.14);
}

/* Cover band — navy gradient + faint topic icon + copper glow */
.blog-card-cover {
  position: relative;
  display: block;
  height: 168px;
  background: linear-gradient(135deg, #12305A 0%, #0B1F3A 100%);
  overflow: hidden;
}
.blog-card-cover::after {
  content: "";
  position: absolute;
  top: -45%;
  right: -20%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 166, 74, 0.32) 0%, transparent 70%);
}
.blog-cover-icon {
  position: absolute;
  right: -8px;
  bottom: -18px;
  color: rgba(255, 255, 255, 0.10);
  transition: transform .45s var(--ease-out), color .4s ease;
  z-index: 1;
}
.blog-cover-icon svg, .blog-cover-icon i { width: 118px !important; height: 118px !important; }
.blog-card:hover .blog-cover-icon { color: rgba(212, 166, 74, 0.24); transform: scale(1.06) rotate(-4deg); }
.blog-cover-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  padding: 6px 13px;
  border-radius: var(--radius-badge);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 18px;
}
.blog-card-body h3 {
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.blog-card-body h3 a { color: var(--text-primary); text-decoration: none; transition: color .22s ease; }
.blog-card:hover .blog-card-body h3 a { color: var(--primary); }
.blog-card-body > p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.blog-card-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
}
.blog-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.blog-card-meta svg, .blog-card-meta i { width: 14px !important; height: 14px !important; }
.blog-card-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.blog-card-more svg, .blog-card-more i { width: 15px !important; height: 15px !important; transition: transform .25s var(--ease-out); }
.blog-card:hover .blog-card-more svg { transform: translateX(3px); }

/* ─── Blog articles — classic editorial "paper" ───────────── */
.blog-article {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  padding: 46px clamp(24px, 5vw, 56px);
  overflow: hidden;
}
.blog-article::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Category pill on the article */
.blog-article .pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-badge);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--primary-ghost);
  color: var(--primary);
  border: 1px solid var(--border);
}

/* Title */
.blog-article h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -.02em;
  line-height: 1.16;
  margin-top: 0 !important;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

/* Lead paragraph (bold intro under the title) */
.blog-article > p:first-of-type { font-size: 1.12rem; color: var(--text-secondary); }
.blog-article strong { color: var(--text-primary); font-weight: 700; }

/* Section headings with a navy→copper accent bar */
.blog-article h3 {
  position: relative;
  padding-left: 18px;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 34px;
  margin-bottom: 12px;
}
.blog-article h3::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(var(--primary), var(--accent));
}

/* Body copy */
.blog-article p { font-size: 1.02rem; line-height: 1.8; color: var(--text-secondary); }

/* Classic bullet points — copper diamond markers */
.blog-article ul { list-style: none; margin: 0 0 24px; padding: 0; }
.blog-article ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.blog-article ul li::before {
  content: "";
  position: absolute;
  left: 5px; top: 9px;
  width: 8px; height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  border-radius: 1px;
}

/* Article CTA button — keep white text (markdown `a` rule was turning it navy) */
.markdown-content a.btn,
.blog-article a.btn {
  color: var(--text-inverse);
  text-decoration: none;
}
.markdown-content a.btn:hover,
.blog-article a.btn:hover { color: var(--text-inverse); }
.blog-article .btn { margin-top: 10px; }

/* ─── Media gallery ───────────────────────────────────────── */
.media-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-item--wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 6px;
  padding: 16px;
  background: linear-gradient(to top, rgba(11, 31, 58, 0.85) 0%, rgba(11, 31, 58, 0.15) 55%, transparent 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-cat {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  background: var(--accent);
  padding: 3px 10px;
  border-radius: var(--radius-badge);
}
.gallery-title { color: #fff; font-weight: 700; font-size: 1rem; }
.gallery-item::after {
  content: "+";
  position: absolute;
  top: 12px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover::after { opacity: 1; transform: scale(1); }

@media (max-width: 860px) {
  .media-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item--wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .media-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item--wide { grid-column: span 1; }
}

/* ─── Lightbox ────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 44px;
  background: rgba(8, 18, 33, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox-stage { margin: 0; max-width: 920px; width: 100%; }
.lightbox-img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.lightbox-caption {
  margin-top: 16px;
  text-align: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
}
.lightbox-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox-btn:hover { background: var(--accent); border-color: transparent; }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 520px) {
  .lightbox { padding: 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ─── Announcements — premium timeline cards ──────────────── */
.announce-timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding-left: 76px;
}
/* gold spine running down the icon column */
.announce-timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--border) 100%);
}
.announce-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  transition:
    transform .35s var(--ease-out),
    box-shadow .35s var(--ease-out),
    border-color .35s var(--ease-out);
}
.announce-card::before {
  /* gold left accent bar that grows on hover */
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.announce-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.announce-card:hover::before { opacity: 1; }

/* icon badge sitting on the spine */
.announce-icon {
  position: absolute;
  left: -76px;
  top: 16px;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #1a1205;
  border: 4px solid var(--surface);
  box-shadow: 0 6px 18px rgba(212, 166, 74, 0.35);
}
.announce-icon svg, .announce-icon i { width: 22px !important; height: 22px !important; }

.announce-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.announce-tag {
  display: inline-flex;
  align-items: center;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-hover);
  background: var(--accent-light);
  border: 1px solid var(--accent-light);
  padding: 4px 11px;
  border-radius: var(--radius-badge);
}
.announce-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.announce-date svg, .announce-date i { width: 14px !important; height: 14px !important; }
.announce-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.32;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.announce-card p {
  color: var(--text-secondary);
  line-height: 1.72;
  font-size: .96rem;
}
@media (max-width: 640px) {
  .announce-timeline { padding-left: 58px; }
  .announce-timeline::before { left: 21px; }
  .announce-icon { left: -58px; width: 44px; height: 44px; }
  .announce-icon svg, .announce-icon i { width: 18px !important; height: 18px !important; }
  .announce-card { padding: 18px 18px; }
}

/* ─── Executive quote cards — classic editorial ───────────── */
.quote-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 42px 34px 30px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.quote-mark {
  position: absolute;
  top: -6px; left: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 118px;
  line-height: 1;
  color: var(--accent);
  opacity: .16;
  pointer-events: none;
}
.quote-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  padding: 0;
  border: none;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
}
.quote-by { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--border); }
.quote-avatar {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #12305A, var(--primary));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}
.quote-meta { display: flex; flex-direction: column; line-height: 1.35; }
.quote-meta strong { font-size: 1rem; font-weight: 800; color: var(--text-primary); }
.quote-meta span { font-size: 0.82rem; font-weight: 600; color: var(--accent); }

/* ─── Brand asset cards ───────────────────────────────────── */
.asset-grid .asset-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s ease;
}
.asset-grid .asset-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: rgba(11, 31, 58, 0.14); }
.asset-ic {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  transition: background .3s ease, color .3s ease;
}
.asset-ic i, .asset-ic svg { width: 24px !important; height: 24px !important; }
.asset-card:hover .asset-ic { background: var(--primary); color: #fff; }
.asset-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); margin-bottom: 6px; }
.asset-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 16px; }
.asset-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.asset-link i, .asset-link svg { width: 15px !important; height: 15px !important; transition: transform .25s var(--ease-out); }
.asset-card:hover .asset-link i { transform: translateY(2px); }

/* ═══ Clients page ═══════════════════════════════════════════ */
/* Trusted-by logo marquee */
.clients-logos-label {
  text-align: center;
  margin-bottom: 26px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-muted);
}
.logo-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: logo-scroll 40s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-chip {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--text-primary);
  opacity: .36;
  transition: opacity .25s ease, color .25s ease;
}
.logo-chip:hover { opacity: 1; color: var(--primary); }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 20px; }
}

/* Industry cards */
.industry-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px 26px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s ease;
}
.industry-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(var(--primary), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease-out);
}
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: rgba(11, 31, 58, 0.14); }
.industry-card:hover::before { transform: scaleY(1); }
.industry-ic {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--primary-light);
  color: var(--primary);
  transition: background .3s ease, color .3s ease;
}
.industry-ic svg, .industry-ic i { width: 26px !important; height: 26px !important; }
.industry-card:hover .industry-ic { background: var(--primary); color: #fff; }
.industry-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--text-primary); margin-bottom: 6px; }
.industry-type { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.industry-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.industry-roles span {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-badge);
  background: var(--primary-ghost);
  border: 1px solid var(--border);
  color: var(--primary);
}

/* Case-study cards */
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 26px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.case-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.case-ic {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: 0 0 48px;
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
}
.case-ic svg, .case-ic i { width: 22px !important; height: 22px !important; }
.case-head h3 { font-size: 1.08rem; font-weight: 800; color: var(--text-primary); line-height: 1.25; margin: 0 0 2px; }
.case-sector { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.case-step { margin-bottom: 16px; }
.case-k {
  position: relative;
  display: inline-block;
  margin-bottom: 5px;
  padding-left: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.case-k::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 9px; height: 2px; background: var(--accent); }
.case-step p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--text-secondary); }
.case-result {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #12305A 0%, #0B1F3A 100%);
  color: #fff;
}
.case-result-num { font-size: 1.15rem; font-weight: 900; letter-spacing: -.01em; }
.case-result-lbl { font-size: 0.82rem; color: rgba(255, 255, 255, 0.72); }

/* ── Stats section band ── */
.stats-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F6F9FC 0%, #EDF2F9 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.stats-section::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -8%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(11, 31, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.stats-section::after {
  content: "";
  position: absolute;
  bottom: -32%;
  right: -8%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(212, 166, 74, 0.09) 0%, transparent 70%);
  pointer-events: none;
}
.stats-section .container { position: relative; z-index: 1; }

/* ── Upgraded stat-counter strip ── */
.stats-strip .stat-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 34px 20px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s ease;
}
.stats-strip .stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(11, 31, 58, 0.14);
}
.stat-ic {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 15px;
  background: var(--primary-light);
  color: var(--primary);
  transition: background .3s ease, color .3s ease;
}
.stat-ic i, .stat-ic svg { width: 24px; height: 24px; }
.stats-strip .stat-card:hover .stat-ic { background: var(--primary); color: #fff; }
.stats-strip .stat-card h3 {
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats-strip .stat-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .45s var(--ease-out);
}
.stats-strip .stat-card:hover::after { transform: scaleX(1); }

/* ─── Check List ─────────────────────────────────────────── */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

/* ─── Legal Hero Dark Variant ────────────────────────────── */
.legal-hero .page-hero-bg {
  background: var(--gradient-cta);
}

.legal-hero .eyebrow {
  color: rgba(255,255,255,0.7);
}

.legal-hero .eyebrow::before {
  background: rgba(255,255,255,0.5);
}

.legal-hero h1 {
  color: #fff;
}

.legal-hero .legal-updated {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

/* %%% CTA button redesign (dark call-to-action band) %%% */
.cta .btn {
  background: #ffffff;
  color: var(--primary-dark, #2C40B0);
  border: 2px solid #ffffff;
  font-weight: 800;
  padding: 16px 36px;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s var(--ease-out, ease), box-shadow 0.22s ease,
              background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.cta .btn:hover,
.cta .btn:focus-visible {
  background: var(--primary, #4361EE);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}
.cta .btn:active { transform: translateY(-1px) scale(1.0); }

/* ============================================================
   Hero search bar — redesign + searchable dropdowns
   ============================================================ */
.hero-search { overflow: visible; position: relative; z-index: 20; }
.hero-combo { position: relative; }

/* dropdown panel */
.hero-combo-list {
  position: absolute;
  top: calc(100% + 10px);
  left: -1px;
  right: -1px;
  z-index: 80;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  max-height: 280px;
  overflow-y: auto;
  display: none;
  text-align: left;
}
.hero-combo.open .hero-combo-list { display: block; }
.hero-combo-option {
  padding: 10px 14px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-primary, #1D2330);
  transition: background 0.15s ease, color 0.15s ease;
}
.hero-combo-option:hover { background: var(--surface-soft, #f1f5f9); color: var(--primary); }
.hero-combo-other {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  font-weight: 700;
  color: var(--primary);
}

/* nicer custom chevron on the job-type select */
.hero-search-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23707070' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

/* Responsive — stack fields on smaller screens */
@media (max-width: 860px) {
  .hero-search { flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; }
  .hero-search-field {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    padding: 12px 14px;
  }
  .hero-search-field:last-of-type { border-bottom: none; }
  .hero-search .btn { width: 100%; margin-top: 6px; }
  .hero-combo-list { left: 0; right: 0; }
}

/* ============================================================
   Hero search dropdown — modern redesign
   ============================================================ */
.hero-combo-list {
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(16, 24, 40, 0.16);
  animation: heroDropIn 0.18s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
@keyframes heroDropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-combo-list::-webkit-scrollbar { width: 8px; }
.hero-combo-list::-webkit-scrollbar-thumb { background: #d3d9e6; border-radius: 8px; border: 2px solid #fff; }
.hero-combo-list::-webkit-scrollbar-thumb:hover { background: #b9c1d4; }

.hero-combo-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 11px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink, #1D2330);
}
/* icon (recolourable via mask) */
.hero-combo-option::before {
  content: "";
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  background-color: var(--text-muted, #707070);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.hero-combo[data-list="locations"] .hero-combo-option::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hero-combo[data-list="titles"] .hero-combo-option::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hero-combo-option:hover,
.hero-combo-option.active {
  background: var(--primary-light, #EBF0FF);
  color: var(--primary);
  padding-left: 18px;
}
.hero-combo-option:hover::before,
.hero-combo-option.active::before {
  background-color: var(--primary);
  transform: scale(1.1);
}
/* "Other" row — distinct, with a pencil icon */
.hero-combo-other {
  margin-top: 6px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  color: var(--primary);
}
.hero-combo-other::before {
  background-color: var(--primary) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") no-repeat center / contain !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

/* %%% Hero job-type — custom modern dropdown (replaces native select) %%% */
.hero-combo--select .hero-combo-input {
  cursor: pointer;
  caret-color: transparent;
}
/* chevron indicator on the job-type field */
.hero-combo--select { position: relative; }
.hero-combo--select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  pointer-events: none;
  background-color: var(--text-muted, #707070);
  transition: transform 0.2s ease, background-color 0.2s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hero-combo--select.open::after { transform: rotate(180deg); background-color: var(--primary); }

/* job-type option icon (layers) */
.hero-combo[data-list="jobtypes"] .hero-combo-option::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E") no-repeat center / contain;
}


/* %%% Job card — highlighted job-type tag %%% */
/* Highlighted "type" chip (Full-time / Remote / etc.) — gold tint ties it to
   the site's Navy + Gold accent language instead of a generic blue tint. */
.job-card-new-tag.job-type-tag {
  background: var(--accent-light);
  color: var(--accent-hover);
  border-color: var(--accent-light);
  font-weight: 700;
}

/* New Opening badge on job cards — gold gradient, matching the same premium
   accent used for the announcement-timeline icons and hero highlight text. */
.job-card-new { position: relative; }
.job-card-new.is-new { border-color: var(--accent); }
.job-new-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  z-index: 2;
  background: var(--gradient-gold);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(212, 166, 74, 0.4);
}

/* %%% Job card — closed state %%% */
/* Muted, neutral "stamp" rather than an alarm-red pill — red isn't part of
   this site's palette anywhere else, so it read as off-brand. */
.job-card-new.is-closed {
  opacity: 0.72;
  background: var(--surface-soft);
}
.job-card-new.is-closed .job-card-new-title { color: var(--text-muted); }
.job-closed-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  z-index: 2;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.job-card-new-btn.job-btn-closed {
  background: var(--surface-soft);
  color: var(--text-light);
  border-color: var(--border);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* %%% Job board — 3-column layout (New / Open / Closed) %%% */
.jobs-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 980px) {
  .jobs-columns { grid-template-columns: 1fr 1fr; }
  .jobs-column--closed { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .jobs-columns { grid-template-columns: 1fr; }
  .jobs-column--closed { grid-column: auto; }
}

.jobs-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.jobs-column-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}
.jobs-column-head h3 svg, .jobs-column-head h3 i { width: 18px !important; height: 18px !important; }
.jobs-column--new .jobs-column-head { border-bottom-color: var(--accent); }
.jobs-column--new .jobs-column-head h3 svg,
.jobs-column--new .jobs-column-head h3 i { color: var(--accent); }
.jobs-column--normal .jobs-column-head h3 svg,
.jobs-column--normal .jobs-column-head h3 i { color: var(--primary); }
.jobs-column--closed .jobs-column-head h3 svg,
.jobs-column--closed .jobs-column-head h3 i { color: var(--text-muted); }

.jobs-column-count {
  min-width: 26px;
  text-align: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: .78rem;
  font-weight: 800;
}

.jobs-column-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.jobs-column-empty {
  text-align: center;
  padding: 32px 16px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}
.jobs-column-empty svg, .jobs-column-empty i { width: 28px !important; height: 28px !important; margin-bottom: 8px; }
.jobs-column-empty p { font-size: .88rem; }

/* Cards are now click-through triggers for the job detail modal */
.job-card-new { cursor: pointer; }
.job-card-new:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* %%% Job detail modal %%% */
.job-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .26s var(--ease-out);
}
.job-modal.is-open { opacity: 1; }
.job-modal[hidden] { display: none; }

.job-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 47, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Grid (not flex) on purpose — a flex-basis-of-0% approach here was prone to
   the classic min-width:auto flex-shrink gotcha across browsers. An explicit
   grid-template-columns swap plus display:none/grid on the panel is simple
   and unambiguous: exactly one column until "Apply" is clicked, then two. */
.job-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-width: 96vw;
  max-height: 88vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  transform: scale(.9);
  opacity: .5;
  transition: transform .32s var(--ease-spring), opacity .3s var(--ease-out), width .35s var(--ease-spring);
}
.job-modal.is-open .job-modal__dialog { transform: scale(1); opacity: 1; }
.job-modal__dialog.is-applying {
  width: min(1000px, 96vw);
  grid-template-columns: 42% 58%;
}

/* Left panel — job details. Always rendered; narrows once applying starts. */
.job-modal__left {
  min-width: 0;
  overflow-y: auto;
  max-height: 88vh;
  padding: 34px 36px;
}
.job-modal__dialog.is-applying .job-modal__left {
  border-right: 1px solid var(--border);
}

/* Right panel — application form. Hidden entirely until "Apply Now" is
   clicked, so it can never take up (or leak) layout space beforehand. */
.job-modal__apply-panel {
  display: none;
  min-width: 0;
  overflow-y: auto;
  max-height: 88vh;
  padding: 34px 32px;
  opacity: 0;
  animation: jm-fade-in .3s ease forwards;
}
.job-modal__dialog.is-applying .job-modal__apply-panel {
  display: block;
}
@keyframes jm-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.job-modal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 18px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}
.job-modal__back svg, .job-modal__back i { width: 15px !important; height: 15px !important; }
.job-modal__back:hover { text-decoration: underline; }

.job-modal__apply-heading { font-size: 1.15rem; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.job-modal__apply-role { color: var(--primary); }
.job-modal__apply-sub { font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; }
.jm-req { color: var(--danger); }

.job-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--text-primary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition);
}
.job-modal__close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }

.job-modal__banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.job-modal__logo {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--primary-light);
  color: var(--primary);
}
.job-modal__logo svg, .job-modal__logo i { width: 26px !important; height: 26px !important; }
.job-modal__badges { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.job-modal__badge {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 10px;
  border-radius: 999px;
}
.job-modal__badge--new { background: var(--gradient-gold); color: var(--primary); }
.job-modal__badge--open { background: var(--success); color: #fff; }
.job-modal__badge--closed { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }
.job-modal__badge--muted { background: var(--surface-soft); color: var(--text-secondary); }
.job-modal__title { font-size: 1.4rem; font-weight: 800; color: var(--text-primary); line-height: 1.3; }
.job-modal__company { margin-top: 4px; font-size: .95rem; font-weight: 600; color: var(--text-secondary); }

.job-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.job-modal__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.job-modal__meta svg, .job-modal__meta i { width: 15px !important; height: 15px !important; color: var(--primary); }

.job-modal__body h4 {
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-primary);
  margin: 20px 0 8px;
}
.job-modal__body h4:first-child { margin-top: 0; }
.job-modal__body p, .job-modal__body li {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: .95rem;
}
.job-modal__body ul { padding-left: 20px; }
.job-modal__body li { margin-bottom: 4px; }

.job-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.job-modal__salary { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.job-modal__salary small { font-size: .78rem; font-weight: 500; color: var(--text-muted); margin-left: 4px; }

.job-modal__apply.job-btn-closed {
  background: #e5e7eb;
  color: #9aa2b1;
  border-color: #e5e7eb;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

@media (max-width: 640px) {
  .job-modal__dialog { max-height: 94vh; }
  .job-modal__left, .job-modal__apply-panel { padding: 24px 20px; }
  .job-modal__footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .job-modal__footer .btn { width: 100%; text-align: center; }

  /* Split view stacks instead of sitting side by side on small screens */
  .job-modal__dialog.is-applying {
    width: min(720px, 96vw);
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    max-height: 94vh;
  }
  .job-modal__dialog.is-applying .job-modal__left {
    max-height: 38vh;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .job-modal__dialog.is-applying .job-modal__apply-panel {
    max-height: none;
  }
}

/* ============================================================
   Navy + Copper palette — accent touches
   ============================================================ */
/* Copper Gold accents */
.eyebrow { color: var(--accent); }
.eyebrow::before { background: var(--accent); }
.highlight {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  background: none;
}
/* Footer = Deep Navy */
.footer { background: #0B1F3A; }
/* Primary button hover glow tuned to navy */
.btn:hover { box-shadow: 0 8px 24px rgba(11, 31, 58, 0.28); }

/* ════════════════════════════════════════════════════════════
   Leader / Team cards — compact face + "Read More" modal (v60)
   Card face shows only photo, name, role and a short (clamped) intro
   plus a Read More button. Full bio / tags / socials open in a large
   centered modal that scales up from the card.
   ════════════════════════════════════════════════════════════ */

/* Compact card face */
.leader-card .leader-bio {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.leader-card .leader-tags,
.leader-card .leader-socials { display: none; }

.leader-more {
  margin-top: auto;         /* pin to card bottom → uniform across the row */
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.leader-more span { transition: transform var(--duration-base) var(--ease-out); }
.leader-more:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.leader-more:hover span { transform: translateX(3px); }

/* Modal */
.lc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .26s var(--ease-out);
}
.lc-modal.is-open { opacity: 1; }
.lc-modal[hidden] { display: none; }

.lc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 47, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: 88vh;
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-2xl);
  transform: scale(.9);
  opacity: .5;
  transition: transform .32s var(--ease-spring), opacity .3s var(--ease-out);
}
.lc-modal.is-open .lc-modal__dialog { transform: scale(1); opacity: 1; }

.lc-modal__media { background: var(--surface-soft); min-height: 100%; }
.lc-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.lc-modal__body {
  padding: 34px 36px;
  overflow-y: auto;
  max-height: 88vh;
}
.lc-modal__name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -.01em;
}
.lc-modal__role {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .78rem;
  margin-top: 4px;
}
.lc-modal__bio {
  color: var(--text-secondary);
  line-height: 1.72;
  font-size: .98rem;
  margin: 18px 0 20px;
}
/* tags / socials injected from the card render normally inside the modal */
.lc-modal__tags .leader-tags,
.lc-modal__socials .leader-socials { display: flex; }
.lc-modal__socials { margin-top: 18px; }

.lc-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.lc-modal__close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }

@media (max-width: 640px) {
  .lc-modal__dialog { grid-template-columns: 1fr; max-height: 92vh; }
  .lc-modal__body { max-height: none; padding: 24px 22px; }
  .lc-modal__media { max-height: 280px; }
}

/* %%% Job card — application deadline row %%% */
.job-card-deadline {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  padding: 7px 11px;
  border-radius: var(--radius-sm, 8px);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.job-card-deadline svg,
.job-card-deadline i { width: 14px !important; height: 14px !important; flex-shrink: 0; }
.job-card-deadline b { font-weight: 800; }

/* Final week — amber urgency */
.job-card-deadline.is-soon {
  background: var(--accent-light);
  border-color: #F3E2BE;
  color: var(--accent-hover);
}
/* Past the last date */
.job-card-deadline.is-over {
  background: var(--danger-light);
  border-color: #FADEDE;
  color: var(--danger);
}

/* %%% Apply form — post-submit success panel %%% */
.jm-success {
  text-align: center;
  padding: 28px 8px 12px;
  animation: jm-success-in .4s var(--ease-out) both;
}
@keyframes jm-success-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.jm-success-ic {
  width: 66px; height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
  box-shadow: 0 10px 26px rgba(22, 163, 74, .32);
  animation: jm-pop .45s var(--ease-spring) both .1s;
}
@keyframes jm-pop {
  from { transform: scale(.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.jm-success-ic svg, .jm-success-ic i { width: 32px !important; height: 32px !important; stroke-width: 3; }
.jm-success h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.jm-success-role {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.jm-success-note {
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto 24px;
}
.jm-success-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.jm-success-timer {
  font-size: .8rem;
  color: var(--text-light);
  font-weight: 600;
}
.jm-success-timer b { color: var(--primary); }

/* %%% Toast notifications %%% */
.kdrs-toast-host {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.kdrs-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 300px;
  max-width: 380px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--success, #16A34A);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl, 0 18px 40px rgba(15,23,42,.14));
  transform: translateX(120%);
  opacity: 0;
  transition: transform .34s var(--ease-spring), opacity .28s ease;
}
.kdrs-toast.is-in { transform: translateX(0); opacity: 1; }
.kdrs-toast.is-leaving { transform: translateX(120%); opacity: 0; }
.kdrs-toast-ic { color: var(--success, #16A34A); flex-shrink: 0; line-height: 1; }
.kdrs-toast-ic svg, .kdrs-toast-ic i { width: 20px !important; height: 20px !important; }
.kdrs-toast strong {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  color: var(--text-primary);
}
.kdrs-toast span {
  display: block;
  margin-top: 3px;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.kdrs-toast-x {
  margin-left: auto;
  flex-shrink: 0;
  background: none;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 0 2px;
}
.kdrs-toast-x:hover { color: var(--text-primary); }

@media (max-width: 560px) {
  .kdrs-toast-host { top: 12px; right: 12px; left: 12px; }
  .kdrs-toast { min-width: 0; max-width: none; }
  .jm-success-actions .btn { width: 100%; }
}

/* %%% Toast — error variant %%% */
.kdrs-toast.is-error { border-left-color: var(--danger); }
.kdrs-toast.is-error .kdrs-toast-ic { color: var(--danger); }

/* %%% Shared success panel (contact / quote / apply pages) %%%
   Reuses the .jm-success visuals but needs its own card chrome, since it
   replaces a standalone form rather than sitting inside the job modal. */
.kdrs-form-success {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 36px 28px 30px;
}
