/* =========================================================
   MURKEZ HOMEPAGE — STYLES
   Design tokens, layout, components, motion
   ========================================================= */

:root {
  /* --- Brand color system (client-supplied, 2026 update) --- */
  --navy: #0D1B4B;       /* Primary brand navy — nav text, headings, dark backgrounds */
  --blue: #00A8C6;       /* Primary cyan accent — links, icons, buttons, active states */
  --green: #3E8E63;      /* Secondary accent (limited use) */
  --bg: #F8FAFC;         /* Light section background */
  --white: #FFFFFF;
  --charcoal: #27313D;   /* Body text (dark alt) */
  --slate: #464F5C;      /* Body text (primary) */
  --blue-light: #E0F5FA; /* Light cyan tint — icon backgrounds, hover fills */
  --navy-mid: #1E4E7A;   /* Mid-tone navy (limited use) */
  --border: #E3E8EF;     /* Card borders, dividers */

  /* Reserved exclusively for hero emphasis text — not used anywhere else */
  --hero-accent: #18D4FF;
  /* Muted label text — ISO band, secondary labels */
  --muted-label: #667085;
  /* Muted metric labels — Client Success cards */
  --muted-metric: #8A9BB0;

  /* --- Tonal ramp derived from brand navy, for gradients/backgrounds --- */
  --navy-950: #050A1E;
  --navy-900: #081231;
  --navy-800: var(--navy);
  --navy-700: #14346C;
  --navy-600: var(--navy-mid);

  /* --- Legacy aliases (kept so the rest of the stylesheet resolves correctly) --- */
  --blue-500: var(--blue);
  --blue-600: var(--blue);
  --blue-700: var(--navy-mid);
  --cyan-400: var(--blue);
  --cyan-300: var(--blue);
  --off-white: var(--bg);
  --ink-900: var(--navy);
  --ink-700: var(--charcoal);
  --ink-500: var(--slate);
  --ink-400: var(--slate);
  --border-light: var(--border);

  /* --- Type --- */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* --- Layout --- */
  --container-w: 1280px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.5s;
  --dur-slow: 1.2s;
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  width: 100%;
}
/* Override the shared stylesheet's overflow-x: hidden on html/body for this
   page only: per the CSS Overflow spec, pairing a non-"visible" overflow-x
   with a "visible" overflow-y forces the latter to compute as "auto", which
   silently breaks position:sticky for descendants (it creates an unexpected
   scroll container). Confirmed no page content actually overflows
   horizontally on this page, so restoring "visible" here is safe and lets
   .careers-subnav's sticky positioning work relative to the viewport. */
html, body { overflow-x: visible; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

@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;
  }
}

:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   SHARED — eyebrow, underline, buttons
   ========================================================= */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 14px;
}
.eyebrow--dark { color: var(--blue-600); }
.eyebrow--light { color: var(--cyan-300); }
.eyebrow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, currentColor, transparent);
  background-size: 200% 100%;
  animation: shimmer 3.5s ease-in-out infinite;
}

.underline {
  display: block;
  width: 60px;
  height: 3px;
  margin: 28px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
  background-size: 200% 100%;
}
.underline--shimmer { animation: shimmer 3.5s ease-in-out infinite; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  border: 1px solid transparent;
  box-shadow: 0 8px 24px -8px rgba(0, 168, 198, 0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(0, 168, 198, 0.7);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--navy);
  background-image:
    radial-gradient(48% 42% at 14% 8%, rgba(0, 168, 198, 0.11) 0%, rgba(0, 168, 198, 0.05) 45%, transparent 78%),
    radial-gradient(40% 38% at 86% 14%, rgba(24, 212, 255, 0.09) 0%, rgba(24, 212, 255, 0.04) 45%, transparent 78%),
    radial-gradient(46% 40% at 20% 92%, rgba(0, 168, 198, 0.08) 0%, rgba(0, 168, 198, 0.035) 45%, transparent 78%),
    radial-gradient(50% 44% at 84% 96%, rgba(24, 212, 255, 0.07) 0%, rgba(24, 212, 255, 0.03) 45%, transparent 78%);
  overflow: hidden;
  isolation: isolate;
}

/* Same navy tones as the base gradient, just eased continuously across the
   canvas in a seamless loop (returns to its start point, so no snap-back). */
@keyframes navyDrift {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 38% 16%; }
  50%  { background-position: 14% 38%; }
  75%  { background-position: 42% 6%; }
  100% { background-position: 0% 0%; }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Ambient blobs — large, soft-edged, static (no motion). */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.14;
}
.hero__glow--1 {
  width: 420px;
  height: 380px;
  background: radial-gradient(circle, var(--blue) 0%, rgba(0, 168, 198, 0.7) 25%, rgba(0, 168, 198, 0.25) 50%, transparent 75%);
  top: -14%;
  left: 48%;
}
.hero__glow--2 {
  width: 360px;
  height: 340px;
  background: radial-gradient(circle, var(--hero-accent) 0%, rgba(24, 212, 255, 0.7) 25%, rgba(24, 212, 255, 0.25) 50%, transparent 75%);
  bottom: -16%;
  left: 2%;
}
.hero__glow--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--blue) 0%, rgba(0, 168, 198, 0.7) 25%, rgba(0, 168, 198, 0.25) 50%, transparent 75%);
  top: 8%;
  right: -8%;
}
.hero__glow--4 {
  width: 280px;
  height: 260px;
  background: radial-gradient(circle, var(--hero-accent) 0%, rgba(24, 212, 255, 0.7) 25%, rgba(24, 212, 255, 0.25) 50%, transparent 75%);
  bottom: 4%;
  right: 22%;
}
.hero__glow--5 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--blue) 0%, rgba(0, 168, 198, 0.7) 25%, rgba(0, 168, 198, 0.25) 50%, transparent 75%);
  top: 42%;
  left: 24%;
}

.hero__particles {
  position: absolute;
  inset: 0;
}
.particle {
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: var(--cyan-300);
  opacity: 0.4;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.42; }
  90% { opacity: 0.26; }
  100% { transform: translateY(-100px) translateX(14px); opacity: 0; }
}

/* --- Sticky Site Nav (fixed to viewport, persists across all sections) ---
   Default state sits directly on the hero's own background — no fill, no
   blur, no border — so nav and hero read as one continuous surface. Once
   scrolled past the hero it swaps to a solid white bar (see .is-scrolled). */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  transition: background var(--dur-med) var(--ease-out), padding var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.site-nav.is-scrolled {
  background: var(--white);
  padding-top: 16px;
  padding-bottom: 16px;
  box-shadow: 0 1px 0 var(--border-light), 0 12px 30px -18px rgba(13, 27, 75, 0.18);
}
.site-nav__logo {
  position: relative;
  display: block;
  width: 129px;
  height: 33px;
}
.site-nav__logo-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 33px;
  width: auto;
  display: block;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.site-nav__logo-img--dark { opacity: 0; }
.site-nav.is-scrolled .site-nav__logo-img--light { opacity: 0; }
.site-nav.is-scrolled .site-nav__logo-img--dark { opacity: 1; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: color var(--dur-fast);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--cyan-400);
  transition: width var(--dur-fast) var(--ease-out);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-current { color: var(--white); }
.nav__links a.is-current::after { width: 100%; }
.site-nav.is-scrolled .nav__links a.is-current { color: var(--blue-600); }
.site-nav.is-scrolled .nav__links a { color: var(--ink-900); }
.site-nav.is-scrolled .nav__links a:hover { color: var(--blue-600); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--white);
  color: var(--navy);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.nav__cta:hover { transform: translateY(-1px); }
.site-nav.is-scrolled .nav__cta {
  background: var(--navy);
  color: var(--white);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 14px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 4;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur-fast), opacity var(--dur-fast), background var(--dur-fast);
}
.site-nav.is-scrolled .nav__toggle span { background: var(--navy); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 80vw);
  height: 100vh;
  background: var(--navy-900);
  border-left: 1px solid rgba(255,255,255,0.08);
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 100px 32px 32px;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-out);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a {
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a.is-current { color: var(--cyan-300); }
.mobile-menu__cta {
  margin-top: 20px;
  text-align: center;
  border: none;
  border-radius: 24px;
  background: var(--white);
  color: var(--navy) !important;
  font-weight: 600;
  padding: 14px 0 !important;
}

/* --- Hero content --- */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1536px;
  margin: 0 auto;
  padding: 124px 48px 100px;
  width: 100%;
}
.hero__tagline {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--blue);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
}
.hero__headline-static {
  display: block;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.25s forwards;
}
.hero__headline-rotator {
  position: relative;
  display: block;
  min-height: clamp(56px, 8vw, 96px);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}
.rotator__word {
  position: absolute;
  left: 0; top: 0;
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 800;
  background: linear-gradient(100deg, #7CE6FF, var(--hero-accent) 60%, #0FB8DE);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.rotator__word.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.hero__rotator-underline {
  margin: 14px 0 0;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 46px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.65s forwards;
}

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

/* =========================================================
   PROVEN IMPACT AT SCALE
   ========================================================= */
.impact {
  position: relative;
  background: var(--white);
  padding: 0 0 88px;
}

.impact .container { padding-top: 72px; text-align: center; }
.impact__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.25;
  margin-bottom: 56px;
}
.eyebrow--dark { display: inline-block; }
.impact .eyebrow { margin-left: auto; margin-right: auto; }
.impact .eyebrow::after { left: 50%; transform: translateX(-50%); }

.impact__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.impact__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
  border-right: 1px solid var(--border-light);
}
.impact__stat:last-child { border-right: none; }
.impact__number {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}
.impact__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted-label);
  text-transform: uppercase;
  line-height: 1.5;
}

.impact__certification {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 48px;
  border-top: 1px solid var(--border-light);
}
.cert__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px -8px rgba(0, 168, 198, 0.25);
}
.cert__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.cert__list {
  font-size: 14px;
  color: var(--muted-label);
  letter-spacing: 0.02em;
}

/* =========================================================
   CAPABILITIES SECTION
   ========================================================= */
.capabilities {
  background: var(--off-white);
  padding: 100px 0 90px;
  position: relative;
}
.capabilities .eyebrow { }
.capabilities__headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 640px;
}
.capabilities__intro {
  font-size: 17px;
  color: var(--ink-500);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 56px;
}

.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cap-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.cap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950) 70%);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
  z-index: 0;
}
.cap-card > * { position: relative; z-index: 1; }

.cap-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.cap-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  transition: color var(--dur-med) var(--ease-out);
}
.cap-card__copy {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.55;
  flex-grow: 1;
  transition: color var(--dur-med) var(--ease-out);
}
.cap-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.cap-card:hover,
.cap-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -16px rgba(7, 20, 60, 0.35);
  border-color: transparent;
}
.cap-card:hover::before,
.cap-card:focus-visible::before { opacity: 1; }
.cap-card:hover .cap-card__icon,
.cap-card:focus-visible .cap-card__icon {
  background: rgba(0, 168, 198, 0.18);
  color: #5FE0F5;
  box-shadow: 0 0 22px rgba(0, 168, 198, 0.4);
}
.cap-card:hover .cap-card__title,
.cap-card:focus-visible .cap-card__title { color: var(--white); }
.cap-card:hover .cap-card__copy,
.cap-card:focus-visible .cap-card__copy { color: rgba(255, 255, 255, 0.72); }
.cap-card:hover .cap-card__cta,
.cap-card:focus-visible .cap-card__cta { opacity: 1; transform: translateY(0); }

/* Note: the "Data, AI & Intelligent Automation" card previously stayed dark
   permanently (matching the reference mockup). Per feedback it should behave
   exactly like every other card — white by default, dark only on :hover — so
   the dedicated "always-dark" override has been removed. */

.capabilities__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 56px;
  font-size: 16px;
  color: var(--muted-label);
}
.capabilities__badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.capabilities__footer .highlight { color: var(--blue-600); font-weight: 600; }

/* =========================================================
   BRAND STATEMENT
   ========================================================= */
.brand-statement {
  background: var(--white);
  padding: 110px 0;
  text-align: center;
}
.brand-statement__headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.4;
}
.brand-statement__line { display: block; }
.brand-statement__line--dark { color: var(--ink-900); }
.brand-statement__line--accent {
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   CLIENT SUCCESS
   ========================================================= */
.client-success {
  background: radial-gradient(120% 100% at 85% 0%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  padding: 100px 0 80px;
  color: var(--white);
}
.client-success__headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: 16px;
}
.client-success__intro {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 56px;
}

.client-success__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.success-card {
  display: block;
  border-radius: var(--radius-lg);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}

.success-card--featured {
  position: relative;
  background: linear-gradient(160deg, rgba(20, 40, 90, 0.55), rgba(4, 10, 28, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.success-card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(1, 6, 20, 0.9) 100%);
  z-index: 0;
}
.success-card--featured > * { position: relative; z-index: 1; }
.success-card__art {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 62%;
  max-width: 520px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}
.success-card--featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 50px -10px rgba(0, 168, 198, 0.4);
  border-color: rgba(0, 168, 198, 0.35);
}
.success-card__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan-300);
  background: rgba(0, 168, 198, 0.12);
  border: 1px solid rgba(0, 168, 198, 0.3);
  border-radius: 6px;
  padding: 6px 12px;
  margin-bottom: 34px;
}
.success-card__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--cyan-300);
  line-height: 1;
  margin-bottom: 14px;
}
.success-card__metric-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted-metric);
  margin-bottom: 28px;
}
.success-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 18px;
}
.success-card__copy {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 460px;
}
.success-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-300);
}

.success-card__stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.success-card--compact {
  position: relative;
  background: rgba(10, 22, 55, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 56px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.success-card--compact:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 168, 198, 0.35);
  box-shadow: 0 14px 34px -14px rgba(0, 168, 198, 0.45);
}
.success-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 168, 198, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.success-card__number--sm {
  font-size: 26px;
  margin-bottom: 4px;
}
.success-card__title--sm {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 0;
}
.success-card__arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--dur-fast), transform var(--dur-fast);
}
.success-card--compact:hover .success-card__arrow {
  color: var(--cyan-300);
  transform: translate(4px, -50%);
}

.client-success__trusted-label {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 30px;
}
.client-success__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast);
}
.logo-mark:hover { color: rgba(255, 255, 255, 0.75); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  background: radial-gradient(160% 130% at 15% 0%, var(--navy-700) 0%, var(--navy-900) 42%, var(--navy-950) 100%);
  background-size: 220% 220%;
  animation: navyDrift 26s ease-in-out infinite;
  color: var(--white);
  overflow: hidden;
}
.site-footer__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.site-footer .hero__glow--1 { top: -20%; right: 5%; left: auto; }
.site-footer .hero__glow--2 { bottom: -20%; left: 10%; }

.footer-cta-band {
  position: relative;
  z-index: 2;
  background: var(--off-white);
}
.footer-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 110px 32px 90px;
  max-width: 760px;
  margin: 0 auto;
}
.footer-cta .eyebrow { margin-left: auto; margin-right: auto; }
.footer-cta .eyebrow::after { left: 50%; transform: translateX(-50%); }
.footer-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 24px;
}
.footer-cta__copy {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 40px;
}
.footer-cta .hero__ctas { justify-content: center; margin-top: 0; opacity: 1; animation: none; }

.footer-columns {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 32px 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-col__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}
.footer-col__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 20px 0 24px;
  max-width: 280px;
}
.footer-col__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-col__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}
.footer-col__contact svg { flex-shrink: 0; margin-top: 2px; color: var(--cyan-300); }

.footer-col__heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan-300);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}
.footer-col__heading::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--cyan-400);
}
.footer-col ul { display: flex; flex-direction: column; gap: 16px; }
.footer-col__industries {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-col ul li a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}
.footer-col ul li a:hover { color: var(--cyan-300); padding-left: 4px; }

.footer-col__socials {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}
.footer-col__socials a {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.footer-col__socials a:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  transform: translateY(-2px);
}
.footer-col__socials svg { width: 18px; height: 18px; }
.footer-col__legal { gap: 12px; }
.footer-col__legal a { color: rgba(255, 255, 255, 0.6); font-size: 15px; }
.footer-col__legal a:hover { color: var(--cyan-300); }

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 26px 32px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--muted-label);
}
.footer-bottom__iso {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom__icons {
  display: flex;
  gap: 16px;
  color: rgba(255, 255, 255, 0.3);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .impact__grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .impact__stat:nth-child(3) { border-right: none; }
  .impact__stat:nth-child(4) {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
  }
  .capabilities__grid { grid-template-columns: repeat(2, 1fr); }
  .client-success__grid { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .site-nav { padding: 16px 24px; }
  .hero__content { padding: 96px 24px 80px; }
  .container { padding: 0 24px; }

  /* Card grids stack vertically on mobile instead of horizontal-scroll
     carousels. Desktop/tablet grid layouts above this breakpoint are
     untouched. */
  .impact__grid,
  .capabilities__grid,
  .success-card__stack {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
  }

  .impact__grid { gap: 24px; margin-bottom: 40px; }
  .impact__stat {
    border-right: none !important;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px !important;
  }
  .impact__stat:last-child { border-bottom: none; }

  .capabilities__grid { gap: 16px; }
  .cap-card { width: 100%; }

  .success-card__stack { gap: 16px; }
  .success-card--compact { width: 100%; }

  .footer-columns { grid-template-columns: 1fr 1fr; padding: 48px 24px; }
  .footer-cta { padding: 80px 24px 64px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 24px 24px 32px; }

  /* The longest rotating phrases ("Intelligent Automation") overflow a
     phone-width viewport at the desktop clamp() floor with nowrap — let
     it wrap and shrink further here instead of clipping off-screen. */
  .hero__headline-rotator { min-height: 108px; }
  .rotator__word {
    font-size: clamp(30px, 9vw, 44px);
    white-space: normal;
    line-height: 1.15;
  }
}

@media (max-width: 560px) {
  .hero__ctas, .footer-cta .hero__ctas { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .impact { padding-bottom: 64px; }
  .impact .container { padding-top: 48px; }
  .capabilities { padding: 72px 0 64px; }
  .brand-statement { padding: 72px 0; }
  .client-success { padding: 72px 0 56px; }
  .footer-columns { grid-template-columns: 1fr; padding: 40px 24px; }
  .client-success__logos { gap: 28px; }
  .success-card--featured { padding: 28px; min-height: 360px; }
}

/* =========================================================
   CAREERS PAGE
   ========================================================= */

/* --- Hero (simplified: no rotator) --- */
.hero__headline--simple {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.15;
  color: var(--white);
  max-width: 720px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.25s forwards;
}
.hero__intro {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  margin-top: 22px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}
.hero--careers .hero__ctas { margin-top: 40px; }
.hero--careers { height: 78vh; justify-content: center; }
.hero--careers::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/assets/hero-bg.webp');
  background-size: cover;
  background-position: center;
  transform: scaleX(-1);
}
.hero--careers .hero__content { padding-top: 150px; padding-bottom: 110px; }
@media (max-width: 860px) {
  .hero--careers { height: auto; min-height: auto; }
  .hero--careers .hero__content { padding-top: 120px; padding-bottom: 56px; }
}

/* --- Outline button (for light backgrounds) --- */
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  background: var(--blue-light);
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* --- Be Part of Something Growing --- */
.careers-growing {
  background: var(--white);
  padding: 24px 0 48px;
  text-align: center;
}
.careers-growing .eyebrow { margin-left: auto; margin-right: auto; }
.careers-growing .eyebrow::after { left: 50%; transform: translateX(-50%); }
.careers-growing__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 24px;
}
.careers-growing__copy {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 18px;
}
.careers-growing .btn { margin-top: 24px; }

/* --- Why Build Your Career cards --- */
.careers-why { background: var(--off-white); padding: 40px 0 48px; }
.careers-why__grid { grid-template-columns: repeat(3, 1fr); }
.careers-why .cap-card__cta { display: none; }

/* --- What We Look For --- */
.careers-look {
  background: var(--white);
  padding: 40px 0;
  text-align: center;
}
.careers-look .eyebrow { margin-left: auto; margin-right: auto; }
.careers-look .eyebrow::after { left: 50%; transform: translateX(-50%); }
.careers-look__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 24px;
}
.careers-look__copy {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 16px;
}
.careers-look__copy--accent {
  color: var(--navy);
  font-weight: 600;
}

/* --- Open Roles --- */
.careers-roles {
  background: radial-gradient(120% 100% at 85% 0%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  padding: 48px 0 48px;
  color: var(--white);
}
.careers-roles .eyebrow { margin-bottom: 18px; }
.careers-roles__headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
}
.careers-roles__intro {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 40px;
}
.careers-roles__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.role-row a,
.role-row__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(10, 22, 55, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.role-row a:hover {
  border-color: rgba(0, 168, 198, 0.35);
  background: rgba(10, 22, 55, 0.8);
  transform: translateX(4px);
}
.role-row__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
}
.role-row__meta {
  font-size: 13px;
  color: var(--cyan-300);
  white-space: nowrap;
  flex-shrink: 0;
}
.role-row__info {
  display: flex;
  align-items: center;
  gap: 24px;
}
.role-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-300);
  white-space: nowrap;
  flex-shrink: 0;
}
.role-row a:hover .role-row__cta { color: var(--white); }

/* --- Don't See the Right Role (inside footer-cta) --- */
.careers-resume {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.careers-resume__heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--blue-600);
  margin-bottom: 10px;
}
.careers-resume__copy {
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 16px;
}
.careers-resume__link {
  display: inline-flex;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-900);
  text-decoration: underline;
  text-decoration-color: rgba(13, 27, 75, 0.35);
}
.careers-resume__link:hover { text-decoration-color: var(--ink-900); }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .careers-why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .role-row a { flex-direction: column; align-items: flex-start; gap: 6px; }
  .careers-why__grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 16px;
  }
  .careers-why .cap-card { width: 100%; }
}
@media (max-width: 560px) {
  .careers-growing { padding: 72px 0 64px; }
  .careers-look { padding: 72px 0; }
  .careers-roles { padding: 72px 0 56px; }
}

/* =========================================================
   CAREERS — STICKY SUB-NAV (sliding segmented control)
   ========================================================= */
.careers-subnav {
  position: sticky;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.segmented {
  position: relative;
  display: inline-flex;
  background: var(--bg);
  border-radius: 999px;
  padding: 5px;
  gap: 2px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.segmented::-webkit-scrollbar { display: none; }
.segmented__item {
  position: relative;
  z-index: 2;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}
.segmented__item.is-active { color: var(--white); }
.segmented__indicator {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  width: 0;
  background: var(--navy);
  border-radius: 999px;
  z-index: 1;
  transition: transform var(--dur-base) var(--ease-out), width var(--dur-base) var(--ease-out);
}
@media (max-width: 860px) {
  .careers-subnav { padding: 10px 0; }
  .segmented { display: flex; width: 100%; }
}

/* =========================================================
   CAREERS — VERTICAL TIMELINE (Hiring Process / Interview Prep)
   ========================================================= */
.careers-tab__headline {
  font-family: var(--font-display, inherit);
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0 48px;
}
.careers-tab__intro {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.65;
  max-width: 680px;
  margin: -24px 0 40px;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline__step {
  position: relative;
  display: flex;
  gap: 28px;
  padding-bottom: 40px;
}
.timeline__step::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: -4px;
  width: 2px;
  background: var(--border);
}
.timeline__step--last::before { display: none; }
.timeline__node {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.timeline__content { padding-top: 6px; }
.timeline__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.timeline__copy {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0;
  max-width: 640px;
}
@media (max-width: 560px) {
  .timeline__step { gap: 18px; padding-bottom: 32px; }
  .timeline__node { flex: 0 0 34px; width: 34px; height: 34px; font-size: 12px; }
  .timeline__step::before { left: 16px; }
}

/* =========================================================
   CAREERS — INTERVIEW PREP TOOL CARDS
   ========================================================= */
.prep-tools { margin-top: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.prep-tools__headline {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}
.prep-tools__note {
  font-size: 13px;
  color: var(--muted-label);
  margin: 0 0 24px;
}
.prep-tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.prep-tool-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  position: relative;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.prep-tool-card:hover {
  border-color: var(--border-strong, var(--border));
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -28px rgba(7, 20, 60, 0.35);
}
.prep-tool-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.prep-tool-card__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.prep-tool-card__ext {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 14px;
  color: var(--muted-label);
}
@media (max-width: 860px) {
  .prep-tools__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CAREERS — FAQ ACCORDION (refined, new-site style)
   ========================================================= */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background var(--dur-fast) var(--ease-out);
}
.faq-item.is-open { background: var(--blue-light); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}
.faq-item.is-open .faq-item__question { border-left: 3px solid var(--navy); padding-left: 17px; }
.faq-item__toggle {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  position: relative;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.faq-item__toggle::before,
.faq-item__toggle::after {
  content: '';
  position: absolute;
  background: var(--navy);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item__toggle::before { width: 10px; height: 1.6px; }
.faq-item__toggle::after { width: 1.6px; height: 10px; transition: opacity var(--dur-fast); }
.faq-item.is-open .faq-item__toggle { border-color: var(--navy); transform: rotate(180deg); }
.faq-item.is-open .faq-item__toggle::after { opacity: 0; }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
  padding: 0 20px;
}
.faq-item.is-open .faq-item__answer { padding: 0 20px 22px 23px; }
.faq-item__answer p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0;
}
.faq-item__answer a { color: var(--blue-600); font-weight: 600; }

/* =========================================================
   CAREERS — SECTION SPACING for stacked scrollspy layout
   ========================================================= */
#hiring-process, #interview-prep, #faqs {
  padding: 32px 0;
}
#hiring-process, #interview-prep, #faqs, #job-listing, #why-work {
  scroll-margin-top: 150px;
}
#interview-prep { background: var(--white); }
#faqs { background: var(--bg); }
#hiring-process { background: var(--bg); }

/* =========================================================
   CAREERS — JOB DETAIL PAGE (two-column: info + apply form)
   ========================================================= */
.job-detail { padding: 40px 0 56px; }
.job-detail__breadcrumb { margin-bottom: 32px; }
.job-detail__breadcrumb a {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
}
.job-detail__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.job-detail__row {
  font-size: 15px;
  color: var(--slate);
  margin: 0 0 8px;
}
.job-detail__row strong { color: var(--navy); }
.job-detail__heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-600);
  margin: 36px 0 16px;
}
.job-detail__list { margin: 0; padding-left: 20px; }
.job-detail__list li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: 10px;
}
.job-detail__list li strong { color: var(--navy); }

.job-apply-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 110px;
}
.job-apply-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px;
}
.job-apply-form__hint {
  font-size: 12px;
  color: var(--muted-label);
  margin: 6px 0 0;
}
.job-apply-form .form-submit { width: 100%; justify-content: center; margin-top: 8px; }

@media (max-width: 900px) {
  .job-detail__grid { grid-template-columns: 1fr; }
  .job-apply-card { position: static; }
}


/* =========================================================
   WORDPRESS — JOB APPLICATION SUBMISSION STATES
   ========================================================= */
.job-apply-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.job-apply-form .form-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}
.job-apply-form__status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.job-apply-form__status.is-visible { display: block; }
.job-apply-form__status.is-loading {
  color: #344054;
  background: #f2f4f7;
  border: 1px solid #d0d5dd;
}
.job-apply-form__status.is-success {
  color: #05603a;
  background: #ecfdf3;
  border: 1px solid #abefc6;
}
.job-apply-form__status.is-error {
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
}
.job-apply-form .form-group.has-error input,
.job-apply-form .form-group.has-error textarea {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}
.job-apply-form__field-error {
  margin: 6px 0 0;
  color: #b42318;
  font-size: 12px;
  line-height: 1.4;
}


/* =========================================================
   iOS / in-app-browser mobile navigation stability
   ========================================================= */
.mobile-menu[hidden] {
  display: none !important;
}

.nav__toggle {
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav__toggle span {
  flex: 0 0 auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: none;
  opacity: 1;
}

/* Keep the header control as a consistent hamburger. The off-canvas panel
   already has its own close button, so morphing the header icon is unnecessary
   and avoids an intermittent three-line/star rendering bug in iPhone Safari. */
.nav__toggle[aria-expanded="true"] span:nth-child(1),
.nav__toggle[aria-expanded="true"] span:nth-child(2),
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: none !important;
  opacity: 1 !important;
}

.mobile-menu {
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-top: max(100px, calc(76px + env(safe-area-inset-top)));
  padding-right: max(32px, env(safe-area-inset-right));
  padding-bottom: max(32px, env(safe-area-inset-bottom));
}

.mobile-menu__close {
  top: max(24px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

html.mobile-nav-open,
body.mobile-nav-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.mobile-nav-open {
  width: 100%;
}

/* =========================================================
   CAREERS — DIRECT JOB ENTRY
   The Careers "View Role" links enter at the job detail grid
   instead of the hero section.
   ========================================================= */
#job-details,
.job-detail__grid,
.job-detail__info {
  scroll-margin-top: 104px;
}

@media (max-width: 900px) {
  #job-details,
  .job-detail__grid,
  .job-detail__info {
    scroll-margin-top: 88px;
  }
}

/* =========================================================
   CAREERS — MOBILE JOB ENTRY V2
   Place the application form immediately after the job metadata
   and before the long description on mobile devices.
   ========================================================= */
@media (max-width: 900px) {
  .job-detail__grid {
    display: block !important;
  }

  .job-detail__info {
    width: 100% !important;
  }

  .job-detail__info > .job-apply-card {
    display: block !important;
  }

  #job-details,
  .job-detail__info {
    scroll-margin-top: 88px !important;
  }
}

/* =========================================================
   CAREERS — JOB ENTRY ON ALL DEVICES V3
   Every selected role opens at the job detail section rather
   than the hero on desktop, tablet, and mobile.
   ========================================================= */
#job-details,
.job-detail__grid {
  scroll-margin-top: 104px !important;
}

@media (max-width: 900px) {
  #job-details,
  .job-detail__grid {
    scroll-margin-top: 88px !important;
  }
}

/* =========================================================
   CAREERS — JOB DESCRIPTION ENTRY V4
   Scroll directly to the selected job description while
   preserving the existing form layout on every device.
   ========================================================= */
#job-details,
.job-detail__info,
.job-detail__grid {
  scroll-margin-top: 104px !important;
}

@media (max-width: 900px) {
  #job-details,
  .job-detail__info,
  .job-detail__grid {
    scroll-margin-top: 88px !important;
  }
}

/* =========================================================
   CAREERS SECTION NAVIGATION — V5
   Real anchors + fixed/sticky-header-safe section targets.
   ========================================================= */
#careersSegmented .segmented__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  line-height: 1.25;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#careersSegmented .segmented__item:focus-visible {
  outline: 3px solid rgba(24, 212, 255, 0.38);
  outline-offset: 2px;
}

#why-work,
#hiring-process,
#interview-prep,
#faqs,
#job-listing {
  scroll-margin-top: 168px;
}

@media (max-width: 860px) {
  #why-work,
  #hiring-process,
  #interview-prep,
  #faqs,
  #job-listing {
    scroll-margin-top: 150px;
  }
}

