
:root {
  --navy-950: #03101f;
  --navy-900: #071a30;
  --navy-800: #0b2747;
  --navy-700: #12395f;
  --orange: #faa105;
  --orange-dark: #d98500;
  --white: #ffffff;
  --ink: #172033;
  --slate: #526174;
  --mist: #eef3f8;
  --line: #d9e2eb;
  --shadow: 0 18px 50px rgba(2, 17, 34, 0.14);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  background: var(--orange); color: var(--navy-950); padding: 12px 16px; font-weight: 800;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(3, 16, 31, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { width: 220px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  color: #eef5fb; text-decoration: none; font-size: .95rem; font-weight: 700;
  transition: color .2s ease;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a[aria-current="page"] { color: var(--orange); }
.nav-cta {
  border: 1px solid var(--orange); padding: 10px 15px; border-radius: 999px;
}
.menu-toggle {
  display: none; border: 0; background: transparent; color: white; padding: 8px; cursor: pointer;
}
.menu-toggle span { display: block; width: 28px; height: 2px; background: currentColor; margin: 6px 0; }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 680px; display: grid; align-items: center;
  color: white;
  background:
    radial-gradient(circle at 82% 42%, rgba(250,161,5,.24), transparent 27%),
    linear-gradient(110deg, var(--navy-950) 0%, var(--navy-900) 58%, #0c3157 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .32;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, #000 35%, transparent 95%);
}
.hero::after {
  content:""; position:absolute; width:560px; height:560px; right:-70px; top:50%; transform:translateY(-50%);
  border:1px solid rgba(250,161,5,.34); border-radius:50%; z-index:-1;
  box-shadow: 0 0 0 70px rgba(250,161,5,.03), 0 0 0 145px rgba(255,255,255,.02);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; padding: 86px 0; }
.eyebrow {
  margin: 0 0 14px; color: var(--orange); font-size: .84rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .16em;
}
.hero h1, .page-hero h1 {
  margin: 0; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .97; letter-spacing: -.055em;
}
.hero h1 span { color: var(--orange); display: block; }
.hero-copy { max-width: 720px; margin: 26px 0 0; color: #d8e3ed; font-size: 1.18rem; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 12px 20px; border-radius: 7px; font-weight: 850; text-decoration: none;
  border: 2px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover, .btn:focus { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--navy-950); }
.btn-primary:hover { background: #ffb527; }
.btn-outline { border-color: var(--orange); color: white; }
.btn-outline:hover { background: var(--orange); color: var(--navy-950); }
.btn-dark { background: var(--navy-900); color: white; }

.hero-visual { position: relative; min-height: 450px; display: grid; place-items: center; }
.cyber-orb {
  width: min(430px, 90vw); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(250,161,5,.18), transparent 46%),
    repeating-radial-gradient(circle, transparent 0 33px, rgba(255,255,255,.08) 34px 35px),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 0 80px rgba(250,161,5,.08);
  display: grid; place-items: center; position: relative;
}
.cyber-orb::before, .cyber-orb::after {
  content:""; position:absolute; inset:16%; border:1px solid rgba(250,161,5,.36);
  transform: rotate(45deg); border-radius: 32%;
}
.cyber-orb::after { inset:29%; transform: rotate(-20deg); }
.shield {
  width: 132px; height: 158px; position: relative; z-index: 2;
  background: linear-gradient(145deg, var(--orange), #ffd17a);
  clip-path: polygon(50% 0, 92% 18%, 88% 65%, 50% 100%, 12% 65%, 8% 18%);
  box-shadow: 0 25px 60px rgba(250,161,5,.28);
}
.shield::after {
  content:""; position:absolute; inset:18px; background:var(--navy-900);
  clip-path: inherit;
}
.lock {
  position:absolute; z-index:3; width:58px; height:48px; border:7px solid var(--orange);
  border-radius:8px; top:73px; left:50%; transform:translateX(-50%);
}
.lock::before {
  content:""; position:absolute; width:34px; height:34px; border:7px solid var(--orange);
  border-bottom:0; border-radius:22px 22px 0 0; top:-33px; left:50%; transform:translateX(-50%);
}

.trust-strip { background: var(--orange); color: var(--navy-950); }
.trust-grid {
  min-height: 86px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  gap: 18px; text-align: center; font-weight: 900; font-size: .92rem;
}
.trust-grid span { border-right: 1px solid rgba(3,16,31,.25); }
.trust-grid span:last-child { border-right: 0; }

.section { padding: 92px 0; }
.section-soft { background: var(--mist); }
.section-dark { background: var(--navy-900); color: white; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.06; letter-spacing: -.04em; }
.section-heading p { color: var(--slate); font-size: 1.08rem; }
.section-dark .section-heading p { color: #c9d6e2; }

.audience-grid, .service-grid, .metric-grid, .value-grid, .vehicle-grid, .career-grid {
  display: grid; gap: 24px;
}
.audience-grid { grid-template-columns: repeat(2, 1fr); }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.metric-grid { grid-template-columns: repeat(4, 1fr); }
.value-grid { grid-template-columns: repeat(3, 1fr); }
.vehicle-grid { grid-template-columns: repeat(2, 1fr); }
.career-grid { grid-template-columns: repeat(3, 1fr); }

.card {
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: 0 12px 35px rgba(3,16,31,.06);
}
.card-dark { background: linear-gradient(145deg, #0a2543, #06182d); color: white; border-color: rgba(255,255,255,.08); }
.card h3 { margin: 16px 0 9px; font-size: 1.34rem; line-height: 1.2; }
.card p { margin: 0; color: var(--slate); }
.card-dark p { color: #c9d6e2; }
.card ul { padding-left: 20px; margin-bottom: 0; }
.icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy-900); color: var(--orange); font-size: 1.55rem; font-weight: 900;
}
.card-dark .icon { background: rgba(250,161,5,.12); border: 1px solid rgba(250,161,5,.35); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.statement {
  border-left: 5px solid var(--orange); padding-left: 28px; font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.25; font-weight: 800; letter-spacing: -.03em;
}
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 950;
}

.metric { text-align: center; padding: 30px 16px; border-right: 1px solid rgba(255,255,255,.15); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; color: var(--orange); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.metric span { display: block; margin-top: 10px; color: #d5e0ea; font-weight: 700; }

.page-hero {
  padding: 110px 0 84px; color: white;
  background:
    radial-gradient(circle at 85% 15%, rgba(250,161,5,.22), transparent 22%),
    linear-gradient(110deg, var(--navy-950), var(--navy-800));
}
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.2rem); max-width: 900px; }
.page-hero p { max-width: 760px; font-size: 1.18rem; color: #d8e3ed; }
.breadcrumb { color: var(--orange); font-weight: 850; font-size: .85rem; text-transform: uppercase; letter-spacing: .13em; }

.vehicle {
  position: relative; overflow: hidden;
}
.vehicle::after {
  content:""; position:absolute; width:120px; height:120px; border:18px solid rgba(250,161,5,.11);
  border-radius:50%; right:-40px; top:-40px;
}
.vehicle h3 { font-size: 1.65rem; }
.data-list { display: grid; grid-template-columns: 180px 1fr; gap: 10px 20px; margin-top: 24px; }
.data-list dt { font-weight: 850; color: var(--navy-800); }
.data-list dd { margin: 0; color: var(--slate); }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; }
.contact-panel {
  background: var(--navy-900); color: white; border-radius: var(--radius); padding: 38px;
}
.contact-panel a { color: var(--orange); }
.contact-list { display: grid; gap: 18px; margin-top: 28px; }
.contact-list div { border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 16px; }
.contact-list strong { display: block; color: var(--orange); font-size: .84rem; text-transform: uppercase; letter-spacing: .12em; }

form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label { display: grid; gap: 7px; font-weight: 800; }
input, textarea, select {
  width: 100%; border: 1px solid #c8d4df; border-radius: 8px; padding: 13px 14px; background: white;
}
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(250,161,5,.25); border-color: var(--orange); }
textarea { min-height: 160px; resize: vertical; }
.form-note { color: var(--slate); font-size: .9rem; }

.cta-band {
  padding: 60px 0; background: var(--orange); color: var(--navy-950);
}
.cta-inner { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.cta-inner h2 { margin:0; font-size:clamp(2rem,4vw,3.4rem); line-height:1; letter-spacing:-.04em; }

.site-footer { background: var(--navy-950); color: #d6e1ea; padding: 64px 0 28px; }
.footer-grid { display:grid; grid-template-columns: 1.2fr .7fr .7fr; gap:50px; }
.footer-brand img { width: 245px; }
.footer-brand p { max-width: 540px; }
.footer-links { display:grid; gap:10px; }
.footer-links a { color:#d6e1ea; text-decoration:none; }
.footer-links a:hover { color:var(--orange); }
.footer-title { color:var(--orange); font-weight:900; margin-bottom:14px; }
.footer-bottom { margin-top:44px; padding-top:22px; border-top:1px solid rgba(255,255,255,.12); font-size:.88rem; }

.logo-row { display:flex; flex-wrap:wrap; gap:22px; align-items:center; margin-top:28px; }
.logo-row img { max-height:72px; width:auto; background:white; border-radius:8px; padding:8px; }

.notice {
  padding: 16px 18px; border-left: 4px solid var(--orange); background: #fff8e8; border-radius: 7px;
}
.muted { color: var(--slate); }

@media (max-width: 980px) {
  .menu-toggle { display:block; }
  .main-nav {
    position:absolute; top:82px; left:0; right:0; display:none; flex-direction:column; align-items:stretch;
    background:var(--navy-950); padding:18px 20px 26px; border-top:1px solid rgba(255,255,255,.08);
  }
  .main-nav.open { display:flex; }
  .hero-grid, .split, .contact-layout { grid-template-columns:1fr; }
  .hero-visual { display:none; }
  .service-grid, .value-grid, .career-grid { grid-template-columns:repeat(2,1fr); }
  .metric-grid { grid-template-columns:repeat(2,1fr); }
  .metric:nth-child(2) { border-right:0; }
  .trust-grid { grid-template-columns:repeat(3,1fr); padding:18px 0; }
  .trust-grid span { border-right:0; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 680px) {
  .container { width:min(calc(100% - 28px), var(--max)); }
  .brand img { width:185px; }
  .hero { min-height:auto; }
  .hero-grid { padding:64px 0; }
  .hero h1 { font-size:clamp(2.75rem,15vw,4rem); }
  .actions, .cta-inner { flex-direction:column; align-items:stretch; }
  .btn { width:100%; }
  .audience-grid, .service-grid, .metric-grid, .value-grid, .vehicle-grid, .career-grid, .form-row { grid-template-columns:1fr; }
  .metric { border-right:0; border-bottom:1px solid rgba(255,255,255,.15); }
  .metric:last-child { border-bottom:0; }
  .trust-grid { grid-template-columns:1fr 1fr; }
  .section { padding:68px 0; }
  .page-hero { padding:78px 0 62px; }
  .footer-grid { grid-template-columns:1fr; }
  .data-list { grid-template-columns:1fr; }
}


/* ======================================================
   Version 3 Enhancements
   ====================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .34;
  background-image:
    radial-gradient(circle at 16% 30%, rgba(250,161,5,.14) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 58%, rgba(255,255,255,.10) 0 2px, transparent 3px),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 220px 220px, 260px 260px, 44px 44px, 44px 44px;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -160px;
  top: -240px;
  border: 1px solid rgba(250,161,5,.22);
  border-radius: 50%;
  z-index: -1;
  box-shadow:
    0 0 0 85px rgba(250,161,5,.025),
    0 0 0 170px rgba(255,255,255,.018);
}

.hero-copy { max-width: 760px; }
.hero-wordmark {
  display: inline-block;
  position: relative;
}
.hero-wordmark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 64%;
  height: 4px;
  background: var(--orange);
  transform-origin: left;
  animation: heroLine 1.1s ease-out both;
}
@keyframes heroLine {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.cyber-orb {
  animation: orbFloat 7s ease-in-out infinite;
}
.cyber-orb::before {
  animation: ringSpin 16s linear infinite;
}
.cyber-orb::after {
  animation: ringSpinReverse 13s linear infinite;
}
.shield { animation: shieldPulse 3.8s ease-in-out infinite; }
@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes ringSpin {
  to { transform: rotate(405deg); }
}
@keyframes ringSpinReverse {
  to { transform: rotate(-380deg); }
}
@keyframes shieldPulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(250,161,5,0)); }
  50% { filter: drop-shadow(0 0 22px rgba(250,161,5,.42)); }
}
.cyber-orb .node {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(250,161,5,.85);
  animation: nodePulse 2.4s ease-in-out infinite;
}
.cyber-orb .node:nth-child(1) { top: 15%; left: 24%; }
.cyber-orb .node:nth-child(2) { top: 34%; right: 10%; animation-delay: .6s; }
.cyber-orb .node:nth-child(3) { bottom: 13%; left: 30%; animation-delay: 1.2s; }
.cyber-orb .node:nth-child(4) { bottom: 27%; right: 24%; animation-delay: 1.8s; }
@keyframes nodePulse {
  0%,100% { transform: scale(.75); opacity: .55; }
  50% { transform: scale(1.35); opacity: 1; }
}

.service-detail {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 42px;
  align-items: start;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}
.service-detail:first-child { border-top: 0; }
.service-detail-number {
  color: var(--orange);
  font-size: 4.3rem;
  line-height: .9;
  font-weight: 950;
  letter-spacing: -.06em;
}
.service-detail h3 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.service-columns {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  margin-top: 20px;
}
.service-columns ul { margin: 0; padding-left: 20px; }
.impact-box {
  background: var(--navy-900);
  color: white;
  border-radius: 14px;
  padding: 24px;
  border-left: 5px solid var(--orange);
}
.impact-box strong {
  display: block;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: 8px;
}

.mission-panel {
  background:
    radial-gradient(circle at 90% 20%, rgba(250,161,5,.16), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: white;
  border-radius: var(--radius);
  padding: 46px;
  box-shadow: var(--shadow);
}
.mission-panel p {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -.025em;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.value-card {
  background: var(--navy-900);
  color: white;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.08);
}
.value-card h3 { color: var(--orange); margin: 16px 0 8px; }
.value-card p { color: #c9d6e2; margin: 0; }

.resource-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff7e8, #ffffff);
  border: 1px solid #f0d59e;
}
.resource-card h3 { margin: 0 0 6px; }
.resource-card p { margin: 0; color: var(--slate); }

.status-message {
  display:none;
  margin-top:18px;
  padding:14px 16px;
  border-radius:8px;
  font-weight:700;
}
.status-message.success { display:block; background:#e9f8ee; color:#0b5d2a; }
.status-message.error { display:block; background:#fff0f0; color:#8a1d1d; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; gap: 18px; }
  .service-columns { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  .values-grid { grid-template-columns: 1fr; }
  .resource-card { flex-direction: column; align-items: flex-start; }
}


/* ======================================================
   Homepage logo mark swap
   Keeps the original Version 3 cyber-orb motion.
   ====================================================== */

.hero-logo-mark {
  position: relative;
  z-index: 3;
  width: 118px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(250,161,5,.55))
    drop-shadow(0 0 28px rgba(250,161,5,.22));
  animation: heroLogoFloat 4.8s ease-in-out infinite;
}

@keyframes heroLogoFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-mark {
    animation: none !important;
  }
}


/* ======================================================
   Version 5 Final Polish — framework-free
   ====================================================== */

:root {
  --font-display: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  --font-body: "Aptos", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
}

body { font-family: var(--font-body); }
h1, h2, h3, .main-nav a, .btn { font-family: var(--font-display); }

.ui-icon {
  width: 1.55em;
  height: 1.55em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon .ui-icon { width: 30px; height: 30px; }
.ui-icon-arrow { width: 18px; height: 18px; transition: transform .2s ease; }

.main-nav a {
  position: relative;
  padding-block: 28px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 19px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .nav-cta::after { display: none; }

.card {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(3,16,31,.13);
  border-color: rgba(250,161,5,.42);
}
.card:hover::before { transform: scaleX(1); }
.card:hover .icon { transform: scale(1.06) rotate(-2deg); }
.icon { transition: transform .25s ease, box-shadow .25s ease; }

.btn {
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.16);
  transform: translateX(-105%) skewX(-18deg);
  transition: transform .45s ease;
}
.btn:hover::before { transform: translateX(105%) skewX(-18deg); }
.btn:hover .ui-icon-arrow { transform: translateX(4px); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 {
  text-wrap: balance;
}
.section-heading p { max-width: 720px; }

.hero h1 { text-wrap: balance; }
.hero-copy { text-wrap: pretty; }

.service-detail {
  border-radius: 18px;
  padding: 34px;
  margin-bottom: 18px;
  border: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.service-detail:hover {
  background: #fff;
  border-color: var(--line);
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(3,16,31,.08);
}
.service-detail-number {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: var(--navy-900);
  font-size: 2.3rem;
  color: var(--orange);
  box-shadow: inset 0 0 0 1px rgba(250,161,5,.22);
}
.service-detail:hover .service-detail-number {
  box-shadow: 0 12px 26px rgba(3,16,31,.2), inset 0 0 0 1px rgba(250,161,5,.4);
}
.service-detail ul {
  columns: 2;
  column-gap: 30px;
}
.service-detail li { break-inside: avoid; margin-bottom: 8px; }

.contract-paths {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  margin-top: 34px;
}
.contract-path {
  padding: 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.contract-path h3 { margin: 14px 0 8px; }
.contract-path p { margin: 0; color: var(--slate); }

.past-performance-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.performance-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  color: white;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(250,161,5,.16), transparent 30%),
    linear-gradient(145deg, var(--navy-800), var(--navy-950));
  border: 1px solid rgba(255,255,255,.09);
  transition: transform .25s ease, box-shadow .25s ease;
}
.performance-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(3,16,31,.26);
}
.performance-card .agency {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
}
.performance-card h3 { margin: 14px 0; font-size: 1.45rem; }
.performance-card p { color: #cfdae5; }
.performance-metric {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: white;
  font-weight: 800;
}
.performance-metric strong { color: var(--orange); font-size: 1.35rem; }

.vehicle {
  transition: transform .25s ease, box-shadow .25s ease;
}
.vehicle:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.contact-panel {
  position: sticky;
  top: 112px;
}
.contact-panel .contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(250,161,5,.12); color: var(--orange);
  margin-bottom: 10px;
}
.form-shell {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 38px rgba(3,16,31,.07);
}

.footer-links a { width: fit-content; }
.footer-links a::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width .2s ease;
}
.footer-links a:hover::after { width: 100%; }

.brand-mark-watermark {
  position: absolute;
  right: 5%;
  bottom: -18%;
  width: 190px;
  opacity: .045;
  pointer-events: none;
}

@media (max-width: 980px) {
  .past-performance-grid,
  .contract-paths { grid-template-columns: 1fr 1fr; }
  .contact-panel { position: static; }
}
@media (max-width: 680px) {
  .past-performance-grid,
  .contract-paths { grid-template-columns: 1fr; }
  .service-detail ul { columns: 1; }
  .service-detail { padding: 24px; }
}


/* ======================================================
   Final requested refinements
   ====================================================== */

/* Restore the compact Version 3 treatment around Contact. */
.main-nav .nav-cta {
  padding: 10px 15px;
  border-radius: 999px;
  line-height: 1.2;
}

/* Restore the clean Version 3 line-separated service layout. */
.service-detail {
  padding: 42px 0;
  margin-bottom: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.service-detail:first-child {
  border-top: 0;
}

.service-detail:hover {
  padding: 42px 0;
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

/* Keep the Version 5 SVG icons, but remove the navy icon tile. */
.service-detail-number {
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--orange);
}

.service-detail-number .ui-icon {
  width: 62px;
  height: 62px;
  stroke-width: 1.65;
}

.service-detail:hover .service-detail-number {
  box-shadow: none;
  transform: none;
}

@media (max-width: 680px) {
  .service-detail,
  .service-detail:hover {
    padding: 32px 0;
  }
}


/* ======================================================
   Version 7 final services layout
   ====================================================== */

/* Keep the existing full-size orange icons, but allow the
   title and description to span the full section width. */
.service-detail {
  display: block;
}

.service-detail-number {
  margin-bottom: 18px;
}

/* Bullets remain on the left and the Why It Matters card
   remains on the right, matching the approved layout. */
.service-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 42px;
  align-items: start;
  margin-top: 24px;
}

.service-columns ul {
  columns: 1;
  margin: 0;
  padding-left: 22px;
}

.service-columns li {
  margin-bottom: 7px;
}

@media (max-width: 820px) {
  .service-columns {
    grid-template-columns: 1fr;
  }
}


/* ======================================================
   Version 8 - Subtle Services Hover (keeps V7 layout)
   ====================================================== */

.service-detail{
  position:relative;
  transition:
    background-color .22s ease,
    transform .22s ease,
    box-shadow .22s ease;
}

.service-detail::before{
  content:"";
  position:absolute;
  inset:0 -18px;
  border-radius:14px;
  background:#fbfcfe;
  opacity:0;
  transition:opacity .22s ease;
  z-index:-1;
}

.service-detail:hover::before{
  opacity:1;
}

.service-detail:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(3,16,31,.06);
}

.service-detail-number{
  transition:transform .22s ease,color .22s ease;
}

.service-detail:hover .service-detail-number{
  transform:scale(1.05);
  color:var(--orange);
}

.service-detail .impact-box{
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}

.service-detail:hover .impact-box{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(3,16,31,.12);
  filter:brightness(1.03);
}

@media (prefers-reduced-motion: reduce){
  .service-detail,
  .service-detail::before,
  .service-detail-number,
  .service-detail .impact-box{
    transition:none!important;
  }
}


/* ======================================================
   Version 9 — accessibility, SEO, performance and mobile
   No visual redesign
   ====================================================== */

:focus-visible {
  outline: 3px solid #faa105;
  outline-offset: 4px;
}

a, button, input, select, textarea {
  -webkit-tap-highlight-color: rgba(250,161,5,.2);
}

button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.footer-legal {
  display: inline-block;
  margin-bottom: 6px;
}

.footer-legal a {
  color: #d6e1ea;
}

.footer-legal a:hover,
.footer-legal a:focus {
  color: #faa105;
}

img {
  height: auto;
}

@media (max-width: 980px) {
  .main-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 680px) {
  body {
    overflow-wrap: anywhere;
  }

  .page-hero h1,
  .hero h1 {
    text-wrap: balance;
  }

  .contact-layout,
  .split {
    gap: 36px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

@media print {
  .site-header,
  .cta-band,
  .site-footer,
  .menu-toggle,
  .actions {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    text-decoration: none;
  }
}
