/* =========================================================================
   Mindseeker — Design System
   Palette is driven entirely by CSS custom properties below, so the whole
   site can be re-themed to the exact logo colors by editing :root only.
   ========================================================================= */

:root {
  /* ---- BRAND PALETTE (sampled from the Mindseeker logo) ----
     Brand blue #005098 · Brand gold #F8B030 */
  --navy-950: #0a2850;   /* page background — brighter, bluer navy */
  --navy-900: #0d2f5e;
  --navy-850: #11376a;
  --navy-800: #154077;
  --navy-700: #1c5290;
  --navy-600: #005098;   /* brand blue */

  --gold-500: #f8b030;   /* brand gold — primary accent */
  --gold-400: #ffc24f;
  --gold-300: #ffd98a;
  --gold-glow: rgba(248, 176, 48, 0.55);

  --steel-400: #5b9bd5;  /* secondary accent / cool highlight */
  --steel-300: #8fbdec;

  --ink: #f4f8ff;
  --ink-soft: #cfdcef;
  --ink-muted: #95a6c2;

  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.085);
  --border: rgba(255, 255, 255, 0.13);
  --border-strong: rgba(248, 176, 48, 0.35);

  /* ---- TYPE ---- */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* ---- LAYOUT ---- */
  --maxw: 1200px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold-500); color: var(--navy-950); }

/* page-wide aurora backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(0, 80, 152, 0.55), transparent 60%),
    radial-gradient(52% 46% at 100% 8%, rgba(248, 176, 48, 0.18), transparent 55%),
    radial-gradient(70% 60% at 50% 112%, rgba(13, 60, 110, 0.55), transparent 62%),
    var(--navy-950);
}
/* subtle grid texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

/* ------------------------------------------------------------ utilities */
.container { width: min(var(--maxw), 92vw); margin-inline: auto; }
.section { padding: clamp(2.75rem, 4.5vw, 3.75rem) 0; position: relative; }
section[id] { scroll-margin-top: 90px; }
.brand img { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35)); }
.site-header .brand img { filter: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: #F8B030;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
h2.section-title { font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin-bottom: 1rem; }
.lede { color: var(--ink-soft); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 60ch; }
.text-gold { color: var(--gold-400); }
.center { text-align: center; margin-inline: auto; }

/* brand-gold accent words — exact logo gold, animated glow */
.grad { color: #F8B030; animation: goldPulse 3.6s ease-in-out infinite; }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 1.9rem; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.13em; text-transform: uppercase;
  /* hybrid: softer than a chamfer, more defined than a full pill */
  border-radius: 11px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(180deg, #FFC557, #F8B030 62%);
  color: var(--navy-950);
  box-shadow: 0 12px 28px -8px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.45);
}
.btn-primary:hover { box-shadow: 0 18px 38px -8px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn-ghost {
  background: rgba(255,255,255,0.07); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.13); box-shadow: inset 0 0 0 1px rgba(248,176,48,0.6); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s, padding 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
  /* solid white header */
  background: #ffffff;
  border-bottom: 1px solid rgba(0,80,152,0.12);
  --ink: #0e2545; --ink-soft: #2b3e5f; --ink-muted: #5b6b86;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(0,80,152,0.2);
  box-shadow: 0 8px 26px -16px rgba(9,32,64,0.4);
}
.nav {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 0; transition: padding 0.4s;
}
.site-header.scrolled .nav { padding: 0.7rem 0; }
.nav > .brand { flex: 1 1 0; }
.nav-cta-desktop { flex: 1 1 0; display: flex; justify-content: flex-end; }
.nav-cta-mobile { display: none; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { height: 40px; width: auto; transition: height 0.4s; }
.site-header.scrolled .brand img { height: 34px; }
.brand .brand-fallback { display: inline-flex; align-items: center; gap: .5rem; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 16px var(--gold-glow); }

.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a {
  position: relative; padding: 0.55rem 0.95rem; border-radius: 100px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s, background 0.3s;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a.active { color: #005098; }
.nav-links a::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 0.35rem; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease); border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
/* CTA buttons in the nav must keep their own (dark) text + no underline */
.nav a.btn-primary { color: var(--navy-950); }
.nav a.btn-primary:hover { color: var(--navy-950); }
.nav a.btn::after { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* capabilities dropdown */
.nav-item.has-drop { position: relative; display: inline-flex; align-items: center; }
.drop-caret { font-size: 0.62em; margin-left: 0.28rem; opacity: 0.85; }
.nav-drop {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 252px; padding-top: 9px;
  opacity: 0; visibility: hidden; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); z-index: 130;
}
.nav-item.has-drop:hover .nav-drop, .nav-item.has-drop:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop-inner { background: #fff; border: 1px solid rgba(0,80,152,0.14); border-radius: 12px; box-shadow: 0 22px 46px -16px rgba(9,32,64,0.4); padding: 0.5rem; }
.nav-drop a { display: block; padding: 0.62rem 0.9rem; border-radius: 8px; font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.03em; text-transform: none; color: var(--navy-800); white-space: nowrap; text-shadow: none; }
.nav-drop a::after { display: none; }
.nav-drop a:hover { background: rgba(0,80,152,0.08); color: #005098; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 6rem; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* video background */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    /* clean fade to a solid page-navy band at the bottom — seam is undetectable */
    linear-gradient(180deg, transparent 34%, rgba(9,34,68,0.55) 60%, var(--navy-950) 82%, var(--navy-950) 100%),
    radial-gradient(62% 56% at 16% 8%, rgba(0,80,152,0.50), transparent 60%),
    radial-gradient(48% 50% at 94% 16%, rgba(248,176,48,0.20), transparent 56%),
    radial-gradient(60% 48% at 80% 58%, rgba(91,155,213,0.18), transparent 62%),
    linear-gradient(90deg, rgba(7,28,58,0.88) 0%, rgba(8,30,62,0.62) 46%, rgba(9,34,68,0.40) 100%),
    linear-gradient(180deg, rgba(7,28,58,0.34) 0%, rgba(8,32,64,0.60) 58%, var(--navy-950) 100%);
}
.hero--video .hero-canvas { display: none; }
.hero--video .hero-inner { position: relative; z-index: 2; }

/* floating orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; animation: drift 18s ease-in-out infinite; }
.orb.o1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(0,80,152,0.9), transparent 70%); top: -120px; left: -80px; }
.orb.o2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(248,176,48,0.35), transparent 70%); bottom: -120px; right: -60px; animation-delay: -6s; }
.orb.o3 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(91,155,213,0.5), transparent 70%); top: 40%; right: 22%; animation-delay: -11s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 25px) scale(0.95); }
}

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6.2vw, 4.8rem); line-height: 1.0; letter-spacing: -0.015em; text-shadow: 0 2px 30px rgba(3,16,31,0.55); }
.hero-title .line { display: block; }
.hero-title .line > span { display: inline-block; opacity: 0; transform: translateY(0.55em); animation: riseIn 0.9s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }
/* soft, diffuse animated glow on the hero gold words (Minds / Business) */
.hero-title .grad {
  color: var(--gold-400);
  animation: goldPulse 3.6s ease-in-out infinite;
}
@keyframes goldPulse {
  0%, 100% { text-shadow: 0 0 16px rgba(248,176,48,0.30), 0 0 52px rgba(248,176,48,0.16); }
  50%      { text-shadow: 0 0 26px rgba(248,176,48,0.52), 0 0 80px rgba(248,176,48,0.30); }
}
.hero-sub { margin-top: 1.6rem; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--ink); max-width: 46ch; opacity: 0; text-shadow: 0 1px 14px rgba(3,16,31,0.6); animation: fadeUp 0.9s var(--ease) 0.5s forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.7s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero-stats { display: flex; gap: 2.2rem; margin-top: 3rem; opacity: 0; animation: fadeUp 0.7s var(--ease) 0.25s forwards; }
.hero-stats .stat .num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: var(--ink); }
.hero-stats .stat .lbl { font-size: 0.82rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.12em; }

/* hero visual — orbiting seeker rings */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; opacity: 0; animation: fadeUp 1s var(--ease) 0.4s forwards; }
@keyframes spin { to { transform: rotate(360deg); } }

.ring-stack { position: relative; width: min(420px, 80%); aspect-ratio: 1; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--border); }
.ring.r1 { inset: 0; border-color: rgba(248,176,48,0.25); animation: spin 26s linear infinite; }
.ring.r2 { inset: 12%; border-color: rgba(143,189,236,0.25); border-style: dashed; animation: spin 20s linear infinite reverse; }
.ring.r3 { inset: 24%; border-color: rgba(248,176,48,0.18); animation: spin 32s linear infinite; }
.ring .pip { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 18px var(--gold-glow); }
.ring-core {
  position: absolute; inset: 33%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--navy-700), var(--navy-900));
  display: grid; place-items: center;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.6), 0 0 60px -10px var(--gold-glow);
  border: 1px solid var(--border-strong);
}
.ring-core img { width: 56%; filter: drop-shadow(0 6px 20px rgba(0,0,0,0.5)); }

.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--ink-muted); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; z-index: 2; }
.scroll-hint .mouse { width: 22px; height: 36px; border: 1px solid var(--border); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; background: var(--gold-400); border-radius: 2px; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--ink-muted); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; z-index: 2; }
.scroll-hint .mouse { width: 22px; height: 36px; border: 1px solid var(--border); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; background: var(--gold-400); border-radius: 2px; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------------------------------------------------------- reveal anim */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }

/* ---------------------------------------------------------------- cards */
.grid { display: grid; gap: 1.4rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  position: relative; padding: 2rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(248,176,48,0.14), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card .ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, rgba(248,176,48,0.18), rgba(0,80,152,0.25)); border: 1px solid var(--border); margin-bottom: 1.2rem; color: var(--gold-400); }
.card h3 { font-size: 1.14rem; line-height: 1.22; margin-bottom: 0.6rem; text-wrap: balance; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card .more { display: inline-flex; align-self: flex-start; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 1.2rem; color: var(--gold-400); font-weight: 600; font-size: 0.9rem; }
.card .more .arrow { transition: transform 0.4s var(--ease); }
.card:hover .more .arrow { transform: translateX(4px); }

/* accordion (home core capabilities) */
.accordion { display: grid; gap: 0.75rem; }
.acc-item { background: #fff; border: 1px solid rgba(0,80,152,0.12); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px -22px rgba(9,32,64,0.35); transition: box-shadow 0.3s, border-color 0.3s; }
.acc-item.open { border-color: rgba(0,80,152,0.28); box-shadow: 0 16px 40px -22px rgba(9,32,64,0.4); }
.acc-head { width: 100%; display: flex; align-items: center; gap: 0.9rem; padding: 1.15rem 1.35rem; background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit; }
.acc-ico { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, rgba(248,176,48,0.2), rgba(0,80,152,0.16)); color: var(--navy-600); }
.acc-title { flex: 1; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--navy-900); }
.acc-caret { color: var(--navy-600); font-size: 0.85rem; transition: transform 0.3s var(--ease); }
.acc-item.open .acc-caret { transform: rotate(180deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body-inner { overflow: hidden; }
.acc-body-content { padding: 0 1.35rem 1.25rem 4.25rem; }
.acc-body-content p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; }
.acc-body-content .more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.8rem; color: #005098; font-weight: 600; font-size: 0.9rem; }
.acc-body-content .more .arrow { transition: transform 0.35s var(--ease); }
.acc-body-content .more:hover .arrow { transform: translateX(4px); }
@media (max-width: 560px) { .acc-body-content { padding-left: 1.35rem; } .acc-head { padding: 1rem 1.1rem; } .acc-title { font-size: 0.98rem; } }
.card .num-bg { display: none; }

/* feature value cards (Why Mindseeker) */
.value { text-align: center; padding: 1.8rem 1.2rem; }
.value .ico { margin-inline: auto; }

/* ---------------------------------------------- Temple (five pillars) */
.temple {
  width: min(820px, 100%); margin: 3rem auto 0; position: relative;
}
.temple::after { display: none; /* removed glow/shadow behind the temple */
  content: ""; position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%);
  width: 70%; height: 70px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(248,176,48,0.20), transparent 78%);
  filter: blur(6px); z-index: -1;
}

/* Pediment — the triangular roof with a gold raking cornice */
.pediment {
  position: relative; height: 104px; width: 100%; margin-bottom: 5px;
  background: linear-gradient(135deg, #FFC557, #F8B030 52%, #e0a020);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  display: grid; place-items: end center;
}
.pediment::after { /* navy tympanum — leaves a thin gold rim along the sloped edges */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: 5px;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  transform: scale(0.992); transform-origin: 50% 100%;
}
.pediment-emblem {
  position: relative; z-index: 2; width: 60px; height: 60px; margin-bottom: 12px;
  border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 3px rgba(248,176,48,0.7), 0 10px 24px -6px rgba(0,0,0,0.6);
}
.pediment-emblem img { width: 70%; height: 70%; object-fit: contain; }

/* Architrave / frieze the columns hold up */
.frieze {
  position: relative; height: 46px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-850));
  border-top: 1px solid rgba(248,176,48,0.7);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.06), 0 6px 18px -10px rgba(0,0,0,0.6);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(0.62rem, 1.4vw, 0.82rem);
  letter-spacing: 0.32em; color: #F8B030; text-transform: uppercase;
}

/* Colonnade */
.colonnade { display: flex; justify-content: center; gap: 32px; align-items: stretch; padding: 0; margin: 16px 0; }
.column { flex: 0 0 122px; width: 122px; display: flex; flex-direction: column; min-width: 0; position: relative; }
/* clean bars — drop the ornate capitals/bases; the frieze + steps connect the columns */
.capital, .plinth { display: none; }

/* Capital — abacus slab + flared echinus */
.capital {
  position: relative; height: 13px; margin: 0; z-index: 3;
  background: linear-gradient(180deg, #FFC557, #F8B030);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 2px 5px -2px rgba(0,0,0,0.5);
}
.capital::after { /* echinus curve seating the shaft */
  content: ""; position: absolute; left: 7px; right: 7px; top: 100%; height: 11px;
  background: linear-gradient(180deg, #F8B030, #d99a1f);
  clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
}

/* Fluted, cylindrical shaft */
.shaft {
  position: relative; flex: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.7rem 0.45rem 1.5rem; min-height: 256px;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.12), transparent 16%, transparent 84%, rgba(0,0,0,0.12)),
    linear-gradient(180deg, var(--navy-700), var(--navy-800));
  transition: transform 0.5s var(--ease), box-shadow 0.45s, filter 0.45s;
}
.col-ico {
  position: relative; z-index: 1; width: 46px; height: 46px; margin: 0 auto 0.85rem;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--navy-700), var(--navy-900));
  border: 1.5px solid rgba(248,176,48,0.85); color: #F8B030;
  box-shadow: 0 0 14px -8px rgba(248,176,48,0.5), inset 0 0 0 4px rgba(0,0,0,0.18);
  transition: transform 0.5s var(--ease), box-shadow 0.4s, color 0.4s;
}
.shaft h3 { font-size: 0.95rem; margin-bottom: 0; position: relative; z-index: 1; transition: margin-bottom 0.45s var(--ease); }
/* description hidden at rest — only icon + title show; revealed on hover */
.shaft p {
  font-size: 0.83rem; color: var(--ink-soft); position: relative; z-index: 1;
  max-height: 0; opacity: 0; transform: translateY(10px); overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), transform 0.45s var(--ease);
}
.column:hover .shaft h3 { margin-bottom: 0.5rem; }
.column:hover .shaft p { max-height: 8rem; opacity: 1; transform: translateY(0); }

/* Base — torus ring over a plinth block */
.plinth {
  position: relative; height: 13px; margin: 0; z-index: 3;
  background: linear-gradient(180deg, #F8B030, #FFC557);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 -2px 5px -2px rgba(0,0,0,0.5);
}
.plinth::before { /* torus seating ring */
  content: ""; position: absolute; left: 7px; right: 7px; bottom: 100%; height: 10px;
  background: linear-gradient(180deg, #d99a1f, #F8B030);
  clip-path: polygon(0 0, 100% 0, 93% 100%, 7% 100%);
}

/* Hover — gold catches light, no movement */
.column:hover { z-index: 5; }
.column:hover .shaft { filter: brightness(1.12) saturate(1.1); }
.column:hover .col-ico { color: #FFC557; box-shadow: 0 0 24px -8px rgba(248,176,48,0.55), inset 0 0 0 4px rgba(0,0,0,0.18); }

/* Stylobate — the stacked steps */
.steps { display: flex; flex-direction: column; align-items: center; }
.steps span {
  display: block; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, var(--navy-600), var(--navy-800));
  border-top: 1px solid rgba(248,176,48,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 3px 0 -1px rgba(0,0,0,0.35);
}
.steps span:nth-child(1) { width: 92%; }
.steps span:nth-child(2) { width: 96%; }
.steps span:nth-child(3) { width: 100%; background: linear-gradient(180deg, var(--navy-700), var(--navy-900)); }

@media (max-width: 820px) {
  .temple { margin-top: 2.2rem; }
  /* colonnade matches the top (shortest, 92%) step so end pillars line up with it */
  .colonnade { gap: 12px; padding: 0; width: 92%; margin: 16px auto; }
  .column { flex: 1 1 0; width: auto; }
  .shaft { min-height: 168px; padding: 1.2rem 0.35rem 1rem; }
  .col-ico { width: 40px; height: 40px; }
  .col-ico svg { width: 20px; height: 20px; }
  .shaft h3 { font-size: 0.8rem; line-height: 1.15; }
  .pediment { height: 88px; }
  .pediment-emblem { width: 58px; height: 58px; }
}
@media (max-width: 520px) {
  .colonnade { gap: 5px; width: 92%; margin: 12px auto; }
  .frieze { letter-spacing: 0.12em; font-size: 0.54rem; height: 40px; }
  .shaft { min-height: 116px; padding: 0.85rem 0.14rem 0.75rem; }
  .col-ico { width: 30px; height: 30px; margin-bottom: 0.4rem; }
  .col-ico svg { width: 16px; height: 16px; }
  .shaft h3 { font-size: 0.58rem; letter-spacing: -0.01em; line-height: 1.1; }
  .pediment { height: 72px; }
  .pediment-emblem { width: 48px; height: 48px; }
}

/* ---------------------------------------------------------- split block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split .panel { padding: 2.4rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }

/* ------------------------------------------------------------- marquee */
.marquee { 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); }
.marquee-track { display: flex; gap: 1.1rem; width: max-content; animation: scrollX 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .chip { font-family: var(--font-display); font-weight: 600; color: var(--ink-muted); font-size: 1.05rem; letter-spacing: 0.04em; white-space: nowrap; display: flex; align-items: center; gap: 0.7rem; }
.marquee-track .chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); opacity: 0.7; }
@keyframes scrollX { to { transform: translateX(-50%); } }
.marquee-track .logo {
  flex: 0 0 auto; height: 118px; width: 230px;
  display: grid; place-items: center; padding: 0 1.3rem;
  /* soft white halo that feathers into the navy — no hard edge */
  background: radial-gradient(ellipse 86% 64% at 50% 50%,
    #ffffff 0%, #ffffff 52%, rgba(255,255,255,0.9) 66%, rgba(255,255,255,0.45) 80%, rgba(255,255,255,0) 92%);
  transition: transform 0.35s var(--ease);
}
.marquee-track .logo img { max-height: 60px; max-width: 168px; width: auto; object-fit: contain; opacity: 1; transition: transform 0.35s var(--ease); }
.marquee-track .logo:hover img { transform: scale(1.06); }

/* ------------------------------------------------------------ stat band */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.statband .stat { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.statband .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); background: linear-gradient(120deg, var(--gold-300), var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statband .lbl { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.3rem; }

/* ------------------------------------------------------- industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.industry { position: relative; height: 300px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background-size: cover; background-position: center; display: flex; align-items: flex-end; transition: transform 0.5s var(--ease), border-color 0.4s; }
.industry::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,16,31,0.15) 0%, rgba(3,16,31,0.55) 55%, rgba(3,16,31,0.95) 100%); transition: background 0.4s; }
.industry::after { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1); transition: transform 0.7s var(--ease); }
.industry:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.industry:hover::before { background: linear-gradient(180deg, rgba(0,80,152,0.25) 0%, rgba(3,16,31,0.55) 55%, rgba(3,16,31,0.96) 100%); }
.industry-body { position: relative; z-index: 1; padding: 1.5rem; width: 100%; }
.industry-body h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.industry-body p { color: var(--gold-300); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.industry-body::before { content: ""; display: block; width: 34px; height: 3px; background: var(--gold-500); border-radius: 2px; margin-bottom: 0.9rem; transition: width 0.4s var(--ease); }
.industry:hover .industry-body::before { width: 60px; }
@media (max-width: 900px) { .industries { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------- lists */
.cap-list { list-style: none; display: grid; gap: 0.85rem; }
.cap-list li { position: relative; padding-left: 1.25rem; color: var(--ink-soft); line-height: 1.65; }
.cap-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 7px -2px var(--gold-glow); }
.cap-list li strong { font-weight: 700; }

/* ---------------------------------------------- history timeline (about) */
.timeline { max-width: 720px; margin: 3rem auto 0; }
.tl-item { display: grid; grid-template-columns: 62px 22px 1fr; column-gap: 1.2rem; }
.tl-year { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--navy-600); text-align: right; line-height: 1.5; padding-top: 1px; }
.tl-marker { position: relative; display: flex; justify-content: center; }
.tl-marker::before { content: ""; width: 13px; height: 13px; margin-top: 3px; border-radius: 50%; background: var(--navy-600); box-shadow: 0 0 0 4px rgba(0,80,152,0.14); z-index: 1; }
.tl-marker::after { content: ""; position: absolute; top: 15px; bottom: -2px; width: 2px; background: rgba(0,80,152,0.22); }
.tl-item:last-child .tl-marker::after { display: none; }
.tl-content { padding-bottom: 1.9rem; }
.tl-content h4 { font-family: var(--font-display); font-size: 1.08rem; color: var(--navy-900); margin-bottom: 0.3rem; }
.tl-content p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; max-width: 52ch; }

/* single header above the two NAICS tables */
.naics-legend { display: flex; padding: 0 1.4rem 0.4rem; }
.naics-legend span { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--navy-600); }
.naics-legend .code { min-width: 5.6rem; }

/* ---- government: capability statement banner ---- */
.cap-banner { background: linear-gradient(135deg, #0d3a6e, #0a2850); padding: 3rem 0; }
.cap-banner-inner { display: grid; grid-template-columns: 200px 1fr auto; gap: 2.6rem; align-items: center; }
.cap-banner-img { width: 184px; border-radius: 8px; box-shadow: 0 20px 44px -16px rgba(0,0,0,0.65); transform: rotate(-3deg); }
.cap-banner-eyebrow { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); }
.cap-banner-title { font-family: var(--font-display); color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 0.3rem 0 1.3rem; }
.cap-banner-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.cap-banner-codes { display: grid; gap: 1.3rem; }
.cap-banner-codes span { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #9fb8d8; margin-bottom: 0.2rem; }
.cap-banner-codes strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-400); letter-spacing: 0.04em; }
@media (max-width: 860px) { .cap-banner-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; } .cap-banner-actions { justify-content: center; } }

/* government tabs */
.gov-tabs { max-width: 880px; margin: 2rem auto 0; }
.gov-tab-btns { display: flex; gap: 0.4rem; background: rgba(0,80,152,0.07); border: 1px solid #c8d4e6; border-radius: 14px; padding: 0.4rem; }
.gov-tab-btn { flex: 1; padding: 0.85rem 1rem; border: 0; background: none; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-700); cursor: pointer; transition: 0.25s; }
.gov-tab-btn.active { background: #fff; color: var(--navy-900); box-shadow: 0 6px 16px -8px rgba(0,0,0,0.3); }
.gov-tab-panel { display: none; margin-top: 1.4rem; }
.gov-tab-panel.active { display: block; animation: msgIn 0.4s var(--ease); }

/* government testimonial carousel */
.quote-marquee { overflow: hidden; margin-top: 2.4rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.quote-track { display: flex; gap: 1.4rem; width: max-content; animation: driftX 64s linear infinite; align-items: stretch; }
.quote-marquee:hover .quote-track { animation-play-state: paused; }
.quote-track .quote { flex: 0 0 auto; width: min(430px, 82vw); }

/* government agency logos */
.gov-logos .logo { background: transparent; box-shadow: none; height: 140px; width: 275px; padding: 0 1.6rem; }
.gov-logos .logo img { max-height: 110px; max-width: 220px; opacity: 1; }

/* contract vehicle logos */
.vehicle-logo { height: 46px; width: auto; max-width: 210px; object-fit: contain; display: block; margin-bottom: 1.1rem; }

/* contract vehicle tab panels */
.gov-tab-panel .panel { padding: 0; overflow: hidden; border: 1px solid var(--border); }
.vehicle-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0; align-items: stretch; }
.vehicle-grid > div:first-child { padding: 2.6rem; }
.vehicle-details { padding: 2.6rem; background: linear-gradient(165deg, #eef4fb, #e1ebf6); }
.vehicle-grid > div:first-child p { color: var(--ink-soft); line-height: 1.75; margin: 0; }
@media (max-width: 760px) { .vehicle-details { border-top: 1px solid var(--border); } }
.vehicle-details { display: grid; }
.vehicle-details .row-item { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.vehicle-details .row-item:first-child { padding-top: 0; }
.vehicle-details .row-item span { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.vehicle-details .row-item strong { font-size: 1rem; color: var(--ink); font-weight: 600; }
.vehicle-links { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.2rem; }
.vlink { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--navy-600); font-weight: 600; font-size: 0.92rem; }
.vlink svg { width: 16px; height: 16px; flex: 0 0 auto; }
.vlink:hover { color: var(--gold-500); }
@media (max-width: 760px) { .vehicle-grid { grid-template-columns: 1fr; gap: 1.6rem; } }

/* cap-banner: ghost button + mid column on dark band */
.cap-banner-mid { min-width: 0; }
.cap-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.cap-banner .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* capabilities: approach step number */
.step-num { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: rgba(0,80,152,0.08); border: 1px solid rgba(0,80,152,0.16); color: var(--navy-600); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-bottom: 1.1rem; }
.why-card { text-align: left; }
.why-card .ico { margin-bottom: 1rem; }
.why-card h4 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.why-card p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; }

/* careers EEO band */
.eeo-band { position: relative; background: linear-gradient(135deg, #0d3a6e, #0a2850); border-radius: var(--radius-lg); padding: 3.2rem 2.6rem; text-align: center; max-width: 900px; margin-inline: auto; overflow: hidden; color: #e8eff7; box-shadow: 0 30px 60px -32px rgba(10,40,80,0.6); }
.eeo-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 0%, rgba(248,176,48,0.14), transparent 55%); pointer-events: none; }
.eeo-band .eeo-ico { position: relative; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; margin: 0 auto 1.2rem; background: rgba(248,176,48,0.14); border: 1px solid rgba(248,176,48,0.35); color: var(--gold-400); }
.eeo-band .eeo-eyebrow { position: relative; display: block; font-family: var(--font-display); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 0.9rem; }
.eeo-band p { position: relative; font-size: 0.94rem; line-height: 1.85; max-width: 66ch; margin-inline: auto; color: #d4e0f0; }
.eeo-band strong { color: #fff; }
.eeo-band a { color: var(--gold-400); }

/* capability card tags */
.cap-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; padding-top: 1.1rem; }
.cap-tags span { font-size: 0.73rem; padding: 0.32rem 0.65rem; border-radius: 100px; font-weight: 600; letter-spacing: 0.01em; background: rgba(0,80,152,0.08); color: var(--navy-700); border: 1px solid rgba(0,80,152,0.16); }

/* drifting photo carousel (about) */
.photo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.photo-track { display: flex; gap: 1rem; width: max-content; animation: driftX 70s linear infinite; }
.photo-marquee:hover .photo-track { animation-play-state: paused; }
.photo-track img { flex: 0 0 auto; height: 250px; width: auto; border-radius: 14px; object-fit: cover; box-shadow: 0 18px 40px -20px rgba(0,0,0,0.45); }
@keyframes driftX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 700px) { .photo-track img { height: 180px; } }
.cap-group h4 { color: var(--gold-400); font-size: 1.05rem; margin-bottom: 0.8rem; letter-spacing: 0.02em; }

/* ------------------------------------------------------- data tables */
.table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 0.85rem 1.15rem; border-bottom: 1px solid var(--border); font-size: 0.94rem; vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table thead th { background: rgba(255,255,255,0.04); color: var(--gold-300); font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.data-table td.code, .data-table th.code { color: var(--gold-400); font-weight: 700; font-family: var(--font-display); white-space: nowrap; width: 1%; padding-right: 1.6rem; }
.data-table td.lbl { color: var(--ink-muted); font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; width: 1%; padding-right: 1.6rem; }
.data-table tbody tr { transition: background 0.25s; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.03); }

/* ------------------------------------------------------------ quote/testimonial */
.quote { padding: 2.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: -0.2rem; left: 1.2rem; font-family: var(--font-display); font-size: 4.5rem; color: var(--gold-500); opacity: 0.35; }
.quote p { color: var(--ink); font-size: 1.02rem; font-style: italic; padding-top: 1rem; }
.quote .who { margin-top: 1rem; color: var(--gold-400); font-weight: 600; font-size: 0.9rem; font-style: normal; }

/* ------------------------------------------------------- LinkedIn feed */
.li-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.li-badge { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.li-badge .in { width: 26px; height: 26px; border-radius: 6px; background: #0a66c2; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.82rem; }
.li-feed { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.4rem; align-items: start; }
.li-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.4s; }
.li-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.li-card .li-img { width: 100%; height: 300px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.li-card .li-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s var(--ease); }
.li-card:hover .li-img img { transform: scale(1.04); }
.li-card.no-img .li-img { background: linear-gradient(135deg, var(--navy-700), var(--navy-850)); }
.li-card.no-img .li-img img { display: none; }
.li-body { padding: 1.1rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: 0.7rem; }
.li-row { display: flex; align-items: center; gap: 0.6rem; }
.li-row .ava { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.li-row .ava img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.li-name strong { font-family: var(--font-display); font-size: 0.95rem; display: block; line-height: 1.1; }
.li-name span { font-size: 0.78rem; color: var(--ink-muted); }
.li-in { margin-left: auto; color: #0a66c2; background: #fff; font-weight: 800; font-size: 0.8rem; border-radius: 5px; padding: 2px 6px; }
.li-text { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.5; }
.li-link { color: var(--gold-400); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.li-card:hover .li-link .arrow { transform: translateX(4px); }
.li-empty { grid-column: 1 / -1; text-align: center; padding: clamp(2rem, 5vw, 3.5rem); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); }
.li-empty .in-lg { width: 56px; height: 56px; border-radius: 14px; background: #0a66c2; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; margin: 0 auto 1rem; }
.li-empty p { color: var(--ink-soft); max-width: 56ch; margin: 0.6rem auto 1.4rem; }
.li-empty code { background: rgba(255,255,255,0.06); border: 1px solid var(--border); padding: 0.15rem 0.45rem; border-radius: 6px; color: var(--gold-300); font-size: 0.85rem; }

/* --------------------------------------------------------------- CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-850)); border: 1px solid var(--border-strong); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, var(--gold-glow), transparent 60%); opacity: 0.18; }
.cta-band h2 { position: relative; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band p { position: relative; color: var(--ink-soft); max-width: 52ch; margin: 1rem auto 1.8rem; }

/* --------------------------------------------------------------- forms */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.74rem; color: var(--ink-muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.9rem 1.05rem; border-radius: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--ink); font-family: inherit; font-size: 0.98rem; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-500); background: rgba(255,255,255,0.08); box-shadow: 0 0 0 3px rgba(248,176,48,0.18); }
.field textarea { min-height: 130px; resize: vertical; }
/* résumé upload */
.field-file { display: grid; gap: 0.4rem; }
.field-file > label:first-child { font-size: 0.74rem; color: var(--ink-muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.field-file .drop { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1.05rem; border-radius: 12px; border: 1px dashed var(--border-strong); background: rgba(255,255,255,0.04); cursor: pointer; transition: border-color 0.25s, background 0.25s; }
.field-file .drop:hover { border-color: var(--gold-500); background: rgba(255,255,255,0.07); }
.field-file input[type=file] { display: none; }
.field-file .drop-ico { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: rgba(248,176,48,0.16); color: var(--gold-400); }
.field-file .drop-text { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.3; }
.field-file .drop-text b { display: block; color: var(--ink); font-size: 0.93rem; font-weight: 600; }
body.lite .field-file .drop { background: #fff; border-color: #c8d4e6; }
body.lite .field-file .drop:hover { border-color: var(--navy-600); }

/* contact info rows */
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.info-row .ico { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--gold-400); }
.info-row h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.info-row a, .info-row p { color: var(--ink-soft); }

/* --------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--border); padding: 4rem 0 6.5rem; margin-top: 4rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3)); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 3.5rem; align-items: start; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.footer-grid h5 { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: #005098; margin-bottom: 1.1rem; }
.footer-grid a, .footer-grid p { display: block; color: var(--ink-soft); font-size: 0.92rem; padding: 0.26rem 0; transition: color 0.3s; }
.footer-col a:hover, .footer-contact a:hover { color: #005098; }
.footer-brand p { max-width: 34ch; color: var(--ink-muted); margin-top: 1rem; line-height: 1.65; }
.footer-contact .fc-line { color: var(--ink-soft); line-height: 1.5; }
.footer-grid a.footer-cta { display: inline-flex; color: var(--navy-900); margin-top: 1.1rem; padding: 0.8rem 1.3rem; font-size: 0.74rem; white-space: nowrap; }
.footer-grid a.footer-cta:hover { color: var(--navy-900); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; } .footer-cols { gap: 2rem; } }
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .footer-cols { grid-template-columns: 1fr; } }
.socials { display: flex; gap: 0.65rem; margin-top: 1.3rem; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: var(--ink-soft); transition: 0.3s; }
.socials a svg { width: 18px; height: 18px; display: block; }
.socials a:hover { transform: translateY(-3px); }
.socials a[aria-label="LinkedIn"]:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.socials a[aria-label="Facebook"]:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 0.6rem 1.5rem; flex-wrap: wrap; color: var(--ink-muted); font-size: 0.85rem; }
.footer-bottom a { color: var(--ink-muted); }
.footer-bottom a:hover { color: #005098; }
.footer-bottom .footer-codes { letter-spacing: 0.04em; }
.footer-bottom .built-by a { color: #005098; font-weight: 600; }
.footer-bottom .built-by a:hover { text-decoration: underline; }
@media (max-width: 700px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ===================== LIGHT ZONE (home: temple → footer) ===================== */
/* bluer-grayer off-white that matches the brand navy (not stark white) — clean edge */
.light-zone { position: relative; background: #d8e2ef; }

/* trust logos: large, uniform, sitting on the white field (no cards) */
.light-zone .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.light-zone .marquee-track { gap: 2.6rem; }
.light-zone .marquee-track .logo { height: 96px; width: 204px; padding: 0 1rem; background: none; }
.light-zone .marquee-track .logo img { max-height: 56px; max-width: 172px; opacity: 1; filter: none; }
/* square seals (DoD, Millennium) read smaller — size them up to match */
.light-zone .marquee-track .logo--lg img { max-height: 80px; max-width: 80px; }

/* eyebrows + headings go brand-navy on white */
.light-zone .eyebrow { color: var(--navy-600); }
.light-zone .eyebrow::before { background: linear-gradient(90deg, var(--navy-600), transparent); }
.light-zone .section-title, .light-zone h2, .light-zone h3 { color: var(--navy-900); }
.light-zone .grad { color: var(--navy-600); animation: none; text-shadow: none; }

/* LinkedIn header + button on white */
.light-zone .li-badge { color: var(--navy-800); }
.light-zone .btn-ghost { color: var(--navy-800); background: #fff; box-shadow: inset 0 0 0 1px rgba(13,47,94,0.18); backdrop-filter: none; }
.light-zone .btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(0,80,152,0.55); }

/* LinkedIn cards become clean white cards */
.light-zone .li-card { background: #fff; border: 1px solid #e5eaf1; box-shadow: 0 16px 36px -22px rgba(13,47,94,0.4); }
.light-zone .li-card:hover { border-color: rgba(0,80,152,0.4); }
.light-zone .li-name strong { color: var(--navy-900); }
.light-zone .li-name span { color: #64748b; }
.light-zone .li-link { color: var(--navy-600); }

/* light footer on the homepage only (footer is shared) */
.sba-badge { display: inline-block; background: transparent; padding: 0; margin-top: 1.3rem; }
.sba-badge img { height: 40px; display: block; }
/* footer: transparent social buttons + no logo shadow (light footer) */
.site-footer .socials a { background: transparent; border-color: rgba(0,80,152,0.2); }
.site-footer .brand img { filter: none; }

/* dark blue footer on the light pages (light text via re-scoped vars) */
.home .site-footer, body.lite .site-footer {
  margin-top: 0; background: #e6edf6;
  --ink: #0e2545; --ink-soft: #2b3e5f; --ink-muted: #5b6b86;
  color: var(--ink-soft); border-top: 1px solid rgba(0,80,152,0.14);
}

/* ===================== LIGHT INNER PAGES (flow into the white theme) ===================== */
body.lite { background: #d8e2ef; --ink: #1d2c47; --ink-soft: #3a4a66; --ink-muted: #6a7892; }
body.lite::before, body.lite::after { display: none; }

/* keep the dark glassy components light-on-dark by re-scoping their text vars */
body.lite .chat-fab, body.lite .chat-panel {
  --ink: #f4f8ff; --ink-soft: #cfdcef; --ink-muted: #95a6c2;
}

/* hero stays dark with a blue glow, then fades into the light page (no seam) */
body.lite .page-hero {
  --ink: #f4f8ff; --ink-soft: #cfdcef; --ink-muted: #95a6c2;
  color: var(--ink);
  background: #0a2850;
}
/* non-video heroes get a tidy, shorter height with centered content */
body.lite .page-hero--center:not(.page-hero--video) {
  min-height: 56vh; display: flex; align-items: center; padding: 7rem 0 5rem;
}

/* accents on light */
body.lite .eyebrow { color: var(--navy-600); }
body.lite .eyebrow::before { background: linear-gradient(90deg, var(--navy-600), transparent); }
body.lite .grad { color: var(--navy-600); animation: none; text-shadow: none; }
body.lite .page-hero .grad { color: var(--gold-400); animation: goldPulse 3.6s ease-in-out infinite; }

/* ---- NEW inner-page hero block (no video) ---- */
body.lite .page-hero--block {
  position: relative; overflow: hidden;
  min-height: 46vh; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  color: #f4f8ff;
  border-bottom: 3px solid var(--gold-500);
  background:
    radial-gradient(130% 130% at 8% -25%, rgba(0,92,168,0.60), transparent 52%),
    radial-gradient(120% 120% at 100% -10%, rgba(248,176,48,0.16), transparent 48%),
    linear-gradient(155deg, #0e3f76 0%, #0a2850 55%, #071d3b 100%);
}
/* faint dot-grid texture that fades toward the edges */
body.lite .page-hero--block::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(130% 110% at 50% -10%, #000 42%, transparent 80%);
  mask-image: radial-gradient(130% 110% at 50% -10%, #000 42%, transparent 80%);
}
body.lite .page-hero--block .container { position: relative; z-index: 2; }
body.lite .page-hero--block .hero-display,
body.lite .page-hero--block .hero-tagline { text-shadow: none; }
@media (max-width: 600px) { body.lite .page-hero--block { min-height: 40vh; } }
body.lite .text-gold { color: var(--navy-600); }
body.lite .statband .num { background: none; -webkit-text-fill-color: var(--navy-700); color: var(--navy-700); }
body.lite .cap-list li::before { background: var(--navy-600); box-shadow: none; }
body.lite .cap-list li strong { color: var(--navy-900); }

/* surfaces become white cards */
body.lite .panel, body.lite .card, body.lite .quote, body.lite .table-wrap, body.lite .form {
  background: #ffffff; border-color: #c8d4e6;
}
body.lite .card:hover { background: #ffffff; border-color: rgba(0,80,152,0.45); }
body.lite .card .ico { background: linear-gradient(135deg, rgba(0,80,152,0.14), rgba(248,176,48,0.16)); border-color: #d4ddea; color: var(--navy-600); }
body.lite .card .more { color: var(--navy-600); }
body.lite .card .num-bg { color: rgba(0,40,82,0.06); }

/* data tables */
body.lite .data-table td, body.lite .data-table th { border-color: #d4ddea; }
body.lite .data-table thead th { background: #e9eff6; color: var(--navy-700); }
body.lite .data-table td.code, body.lite .data-table th.code { color: var(--navy-600); }

/* quotes */
body.lite .quote::before { color: rgba(0,80,152,0.20); }

/* forms */
body.lite .form input, body.lite .form textarea { background: #fff; border-color: #c8d4e6; color: var(--navy-900); }
body.lite .form input:focus, body.lite .form textarea:focus { border-color: var(--navy-600); }

/* contact info rows + socials */
body.lite .info-row { border-color: #d4ddea; }
body.lite .info-row .ico { background: #e9eff6; border-color: #d4ddea; color: var(--navy-600); }
body.lite .socials a { background: #fff; border-color: #c8d4e6; color: var(--navy-700); }
body.lite .socials a[aria-label="LinkedIn"]:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; }
body.lite .socials a[aria-label="Facebook"]:hover { background: #1877f2; border-color: #1877f2; color: #fff; }

/* ghost buttons: dark text on light content; stay light in the hero */
body.lite .btn-ghost { background: #fff; box-shadow: inset 0 0 0 1px rgba(13,47,94,0.2); backdrop-filter: none; }
body.lite .btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(0,80,152,0.55); }
body.lite .page-hero .btn-ghost { background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }

/* light footer */

/* hero eyebrow stays gold on the dark hero */
body.lite .page-hero .eyebrow { color: var(--gold-400); }
body.lite .page-hero .eyebrow::before { background: linear-gradient(90deg, var(--gold-500), transparent); }

/* dark components on light pages keep light internal text */
body.lite .temple { --ink: #f4f8ff; --ink-soft: #cfdcef; --ink-muted: #95a6c2; color: var(--ink); }
body.lite .industry-body h3 { color: #fff; }

/* homepage hero — government style */
.page-hero--video.hero-home { min-height: calc(100vh - 78px); }
.hero-home .hero-display { letter-spacing: 0.14em; font-size: clamp(2.1rem, 5.2vw, 4.1rem); max-width: 22ch; margin-inline: auto; }

/* --------------------------------------------------------- page header */
.page-hero { padding: 10rem 0 4rem; position: relative; text-align: center; }
.page-hero--video { overflow: hidden; min-height: 84vh; display: flex; align-items: center; padding: 6rem 0; }
/* about / capabilities / careers / contact — about half height */
.page-hero--video.page-hero--soft { min-height: 62vh; padding: 5rem 0; }
.page-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: #0a2850; }
.page-hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,28,58,0.62) 0%, rgba(8,32,64,0.78) 55%, var(--navy-950) 100%); }
.page-hero--video .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page-hero p { color: var(--ink-soft); max-width: 60ch; margin: 1.2rem auto 0; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.breadcrumb { color: var(--ink-muted); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }

/* centered minimal page hero (clean, uppercase) used across inner pages */
.page-hero--center { text-align: center; }
.page-hero .hero-display {
  font-family: var(--font-display); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.15em;
  font-size: clamp(2.3rem, 6.4vw, 4.6rem); line-height: 1.04;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.5);
}
.page-hero .hero-tagline {
  margin: 1.3rem auto 0; max-width: 62ch;
  text-transform: uppercase; letter-spacing: 0.13em; line-height: 1.8;
  font-weight: 400; font-size: clamp(0.8rem, 1.5vw, 1.05rem); color: var(--ink-soft);
}
.page-hero .hero-tagline strong { color: var(--gold-400); font-weight: 700; animation: goldPulse 3.6s ease-in-out infinite; }
/* government video hero — brand-blue tint like the capability sheet */
.page-hero--center.page-hero--video .page-hero-overlay {
  background: linear-gradient(180deg, rgba(9,32,64,0.53) 0%, rgba(9,32,64,0.45) 100%);
}
/* about / capabilities / careers / contact — bare video, no overlay,
   clean line transition into the content */
.page-hero--soft .page-hero-overlay { background: linear-gradient(180deg, rgba(9,32,64,0.72) 0%, rgba(9,32,64,0.66) 100%); }
/* solid navy behind the video (no gradient); hard edge into the content (no fade, no line) */
body.lite .page-hero--soft { background: #0a2850; }
.page-hero--soft .hero-display, .page-hero--soft .hero-tagline { text-shadow: 0 2px 18px rgba(0,0,0,0.65), 0 1px 3px rgba(0,0,0,0.5); }

/* ---------------------------------------------------------- chatbot ui */
.chat-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 1.4rem 0.5rem 0.55rem; border-radius: 11px;
  border: 1px solid rgba(0,80,152,0.16);
  background: #fff;
  color: var(--navy-900); text-align: left;
  box-shadow: 0 16px 40px -14px rgba(9,32,64,0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.chat-fab:hover { transform: translateY(-3px); box-shadow: 0 22px 52px -12px rgba(0,0,0,0.7), 0 0 26px -8px var(--gold-glow); }
.chat-fab .fab-ava { position: relative; flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; }
.chat-fab .fab-ava img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.chat-fab .fab-dot { display: none; }
.chat-fab .fab-meta { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.chat-fab .fab-eyebrow { font-family: var(--font-display); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #005098; }
.chat-fab .fab-title { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em; color: var(--navy-900); }

.chat-panel {
  position: fixed; bottom: 24px; right: 24px; z-index: 201;
  width: min(384px, calc(100vw - 32px)); height: min(560px, calc(100vh - 48px));
  display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  font-family: var(--font-body);
  background: #ffffff;
  border: 1px solid rgba(0,80,152,0.14); box-shadow: 0 30px 80px -22px rgba(9,32,64,0.55);
  transform: translateY(20px) scale(0.97); opacity: 0; pointer-events: none;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.chat-panel.open { transform: none; opacity: 1; pointer-events: auto; }
.chat-head { position: relative; display: flex; align-items: center; gap: 0.8rem; padding: 1.1rem 1.2rem; background: linear-gradient(135deg, #0e3f76, #0a2850); }
.chat-head .avatar { position: relative; width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; background: #fff; border-radius: 50%; padding: 5px; box-shadow: 0 2px 10px -3px rgba(0,0,0,0.4); }
.chat-head .avatar img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.chat-head .meta strong { font-family: var(--font-display); font-size: 1rem; display: block; color: #fff; }
.chat-head .meta span { font-size: 0.76rem; color: #bacce6; display: flex; align-items: center; gap: 0.35rem; }
.chat-head .meta span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.7); }
.chat-close { margin-left: auto; background: rgba(255,255,255,0.12); border: 0; color: #eaf1fb; font-size: 1.25rem; line-height: 1; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; transition: 0.2s; }
.chat-close:hover { color: #fff; background: rgba(255,255,255,0.24); }

.chat-body { flex: 1; overflow-y: auto; padding: 1.2rem; display: flex; flex-direction: column; gap: 0.75rem; scrollbar-width: thin; background: #eef3f9; }
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(9,32,64,0.18); border-radius: 6px; }
.msg { max-width: 86%; padding: 0.7rem 0.95rem; border-radius: 16px; font-size: 0.9rem; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; animation: msgIn 0.4s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg.bot { align-self: flex-start; background: #fff; color: var(--navy-900); border: 1px solid rgba(0,80,152,0.1); box-shadow: 0 3px 10px -6px rgba(9,32,64,0.22); border-bottom-left-radius: 5px; }
.msg.user { align-self: flex-end; background: linear-gradient(180deg, #FFC557, #F8B030 62%); color: #0a2850; border-bottom-right-radius: 5px; font-weight: 600; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.2rem 1rem 0.85rem; background: #eef3f9; }
.chat-suggest button { font-size: 0.78rem; padding: 0.45rem 0.85rem; border-radius: 100px; background: #fff; border: 1px solid rgba(0,80,152,0.2); color: var(--navy-700); font-weight: 500; transition: 0.25s; cursor: pointer; }
.chat-suggest button:hover { color: #0a2850; background: var(--gold-400); border-color: var(--gold-400); }
.typing { display: inline-flex; gap: 4px; padding: 0.85rem 1rem; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--navy-600); animation: blink 1.3s infinite both; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.chat-input { display: flex; gap: 0.6rem; padding: 0.85rem; border-top: 1px solid rgba(0,80,152,0.12); background: #fff; }
.chat-input input { flex: 1; padding: 0.8rem 1rem; border-radius: 100px; background: #eef3f9; border: 1px solid rgba(0,80,152,0.18); color: var(--navy-900); font-family: inherit; }
.chat-input input::placeholder { color: #8494ac; }
.chat-input input:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(248,176,48,0.18); }
.chat-input button { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; border: 0; background: linear-gradient(180deg, #FFC557, #F8B030 62%); color: #0a2850; display: grid; place-items: center; transition: transform 0.3s; cursor: pointer; }
.chat-input button:hover { transform: scale(1.08); }
.chat-input button:disabled { opacity: 0.5; cursor: not-allowed; }

/* --------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 300px; }
  .split, .footer-grid, .statband { grid-template-columns: 1fr; }
  /* keep card grids in rows (2-up) on mobile instead of one long stack */
  .grid.cols-3, .grid.cols-4, .grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { gap: 2rem; }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: auto; height: 100vh; height: 100dvh; width: min(82vw, 330px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1rem;
    padding: 5.5rem 2rem 2rem; background: rgba(3,16,31,0.97); backdrop-filter: blur(20px);
    transform: translateX(100%); transition: transform 0.4s var(--ease); border-left: 1px solid var(--border);
    z-index: 100; overflow-y: auto;
  }
  .nav-links.open { transform: none; }
  /* dark drawer needs light links (header itself is bright) */
  .nav-links a { font-size: 1.1rem; width: 100%; color: #eaf1fb; }
  .nav-links a:hover { color: #fff; }
  .nav-links a.active { color: #F8B030; }
  /* dropdown flows inline (indented) inside the drawer */
  .nav-item.has-drop { display: block; width: 100%; }
  .drop-caret { display: none; }
  .nav-drop { position: static; transform: none; opacity: 1; visibility: visible; padding-top: 0.2rem; min-width: 0; }
  .nav-drop-inner { background: transparent; border: 0; box-shadow: none; padding: 0 0 0 0.9rem; }
  .nav-drop a { color: #cfe0f5; padding: 0.5rem 0; font-size: 0.98rem; text-transform: none; }
  .nav-drop a:hover { background: transparent; color: #fff; }
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 0.6rem; }
  .nav-toggle { display: flex; z-index: 101; }
  .form .row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .statband { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.4rem; }
}

/* phone-width polish for newer components */
@media (max-width: 600px) {
  .container { width: 90vw; }
  .page-hero--video { min-height: 78vh; padding: 5rem 0; }
  .gov-tab-btn { font-size: 0.7rem; letter-spacing: 0.02em; padding: 0.75rem 0.5rem; }
  .vehicle-grid > div:first-child, .vehicle-details { padding: 1.6rem; }
  .vehicle-logo { height: 40px; }
  .cap-banner { padding: 2.4rem 0; }
  .cap-banner-img { width: 150px; }
  .cap-banner-codes strong { font-size: 1.2rem; }
  .gov-logos .logo { height: 96px; width: 180px; padding: 0 0.9rem; }
  .gov-logos .logo img { max-height: 70px; max-width: 130px; }
  .quote-track .quote { width: 86vw; }
  .eeo-band { padding: 2.2rem 1.4rem; }
  .footer-cta { width: 100%; justify-content: center; }
  /* keep the hero eyebrow on a single line */
  .hero-home .eyebrow { font-size: 0.58rem; letter-spacing: 0.08em; gap: 0; white-space: nowrap; }
  .hero-home .eyebrow::before { display: none; }
  /* compact cards so the 2-up grids read well on phones */
  .grid { gap: 0.7rem; }
  .card { padding: 1.15rem 0.95rem; }
  .card .ico { width: 40px; height: 40px; margin-bottom: 0.7rem; }
  .card h3 { font-size: 0.92rem; line-height: 1.2; }
  .card p { font-size: 0.8rem; line-height: 1.5; }
  .card .more { font-size: 0.78rem; }
  .cap-tags { gap: 0.32rem; padding-top: 0.85rem; }
  .cap-tags span { font-size: 0.62rem; padding: 0.24rem 0.5rem; }
  .step-num { width: 40px; height: 40px; font-size: 1rem; margin-bottom: 0.8rem; }
  .brand img { height: 30px; }
}

/* center the careers team photo only when the layout stacks (mobile/tablet) */
@media (max-width: 900px) { .careers-photo { margin-inline: auto; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
}
