/* ==========================================================================
   MTech Engineering — Design System
   Brand: navy #003078 · blue #0060a8 · red #c00018 (from client logos)
   ========================================================================== */

:root {
  --navy: #003078;
  --navy-2: #002457;
  --blue: #0060a8;
  --blue-2: #0f7ad1;
  --red: #c00018;
  --red-2: #e02040;
  --ink: #0a1220;
  --ink-2: #101b30;
  --paper: #f6f8fc;
  --white: #ffffff;
  --muted: #44536b;
  --line: rgba(10, 18, 32, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --grad-brand: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  --grad-ink: linear-gradient(160deg, var(--ink) 0%, var(--navy-2) 100%);
  --grad-red: linear-gradient(135deg, var(--red) 0%, #8f0012 100%);
  --shadow-1: 0 2px 12px rgba(10, 18, 32, 0.06);
  --shadow-2: 0 14px 44px rgba(10, 18, 32, 0.12);
  --shadow-3: 0 24px 70px rgba(0, 48, 120, 0.18);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--blue); color: #fff; }

/* Contrast guardrails for light surfaces (dark surfaces re-assert below) */
.card p, .checks li, .timeline__item p, .info-tile p, .lead { color: #3d4d66; }
.card h3, .info-tile h3 { color: var(--navy); }
.client-chip small { color: #5a6b82; }
.form__note { color: #5a6b82; }
.page-hero .lead { color: #c6d4ea; }
.section--dark .lead { color: #b9c7de; }
.section--dark .card p, .section--dark .checks li { color: #b9c7de; }

/* Accessibility */
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 3000;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ---------- Layout primitives ---------- */
.container { width: min(1180px, 92vw); margin-inline: auto; }
.section { padding: clamp(46px, 6vw, 78px) 0; position: relative; }
.section--dark { background: var(--grad-ink); color: #e8eefb; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--paper { background: var(--white); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #7fc0ff; }
.h-display { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 700; }
.h-2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
.h-3 { font-size: 1.28rem; font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--muted); }
.section--dark .lead { color: #b9c7de; }
.text-grad {
  background: linear-gradient(100deg, var(--blue) 0%, var(--red) 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--dark .text-grad {
  background: linear-gradient(100deg, #6cb6ff 0%, #ff5a72 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 16.5px;
  letter-spacing: 0.01em; overflow: hidden; isolation: isolate;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), color 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 26px rgba(0, 96, 168, 0.32); }
.btn--primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 38px rgba(0, 96, 168, 0.42); }
.btn--red { background: var(--grad-red); color: #fff; box-shadow: 0 10px 26px rgba(192, 0, 24, 0.28); }
.btn--red:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 38px rgba(192, 0, 24, 0.38); }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #fff, 0 12px 30px rgba(255, 255, 255, 0.08); transform: translateY(-3px); }
.btn--outline { color: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(0, 48, 120, 0.35); }
.btn--outline:hover { color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); transform: translateY(-3px); }
.btn__sheen {
  position: absolute; inset: 0; z-index: -1; transform: translateX(-110%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: transform 0.7s var(--ease-out);
}
.btn:hover .btn__sheen { transform: translateX(110%) skewX(-18deg); }

/* ---------- Header (always light glass — keeps brand logo at original colors) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(10px) saturate(1.5);
  -webkit-backdrop-filter: blur(10px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(10, 18, 32, 0.06);
  transition: transform 0.45s var(--ease-out), box-shadow 0.4s, background 0.4s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 18, 32, 0.08); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 46px; width: auto; }
/* headerCTA: subtle navy tint that deepens on hover; logo untouched */
.site-header.is-scrolled .brand img { transform: scale(0.96); transition: transform 0.3s; }

.nav-desktop { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-desktop > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px;
  font-weight: 500; font-size: 16.5px; color: var(--ink); position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--navy); }

/* Dropdown */
.has-dropdown > .dropdown {
  position: absolute; top: calc(100% + 0px); left: 50%; translate: -50% 0;
  min-width: 300px; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.3s, transform 0.35s var(--ease-out), visibility 0.3s;
}
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border-radius: var(--r-sm); color: var(--ink); font-size: 16px;
}
.dropdown a:hover { background: var(--paper); color: var(--navy); }
.dropdown svg { width: 17px; height: 17px; color: var(--blue); flex: none; }
.caret { width: 14px !important; height: 14px !important; transition: transform 0.3s; color: inherit; }
.has-dropdown:hover .caret { transform: rotate(180deg); }

.nav-cta { margin-left: 14px; flex: none; align-self: center; padding: 12px 24px !important; font-size: 15.5px; white-space: nowrap; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; position: relative; z-index: 1202; }
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink);
  transition: transform 0.4s var(--ease-out), opacity 0.3s, background 0.3s;
}
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
body.nav-open .burger span { background: #fff !important; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* Drawer (z 1200) sits above the header's stacking context (z 1000), which
   locked the burger under it — menu opened but could never be closed.
   Raise the header above the drawer while open and blend it into the dark
   surface so the X burger stays reachable. */
body.nav-open .site-header { z-index: 1300; background: var(--ink-2, #0c1930); border-bottom-color: var(--line-light); }
body.nav-open .site-header .brand img { filter: brightness(0) invert(1); }
body.nav-open .site-header .burger { background: rgba(255, 255, 255, 0.08); }
body.nav-open .site-header .burger span { background: #fff; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1200; background: var(--grad-ink);
  padding: 110px 8vw 40px; display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  visibility: hidden; transition: clip-path 0.65s var(--ease-io), visibility 0.65s;
  overflow-y: auto;
}
body.nav-open .mobile-nav { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mobile-nav a {
  color: #fff; font-family: var(--font-display); font-size: clamp(1.5rem, 6vw, 2.1rem);
  font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line-light);
  opacity: 0; transform: translateY(24px); transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
.mobile-nav a.sub { font-size: 1.15rem; font-weight: 400; color: #b9c7de; padding: 7px 0; }
body.nav-open .mobile-nav a { opacity: 1; transform: translateY(0); }
.mobile-nav a:hover { color: #7fc0ff; }
.mobile-nav .mnav-cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .burger { display: block; }
}
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .brand img { height: 34px; }
  .site-header .container { gap: 14px; }
}

/* ---------- Page transition curtain ---------- */
.page-curtain {
  position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  background: var(--grad-ink); transform: scaleY(0); transform-origin: bottom;
}
.page-curtain.is-in { transform: scaleY(1); transform-origin: top; }
.page-curtain__logo {
  position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity 0.3s;
}
.page-curtain.is-in .page-curtain__logo { opacity: 1; transition-delay: 0.12s; }
.page-curtain__logo img { width: 150px; filter: brightness(0) invert(1); }

/* ---------- Preloader (REMOVED — kept rules inert in case of stale cache) ---------- */
.preloader { display: none !important; }
.preloader__inner { text-align: center; }
.preloader__logo { width: 230px; margin-inline: auto; filter: brightness(0) invert(1); }
.preloader__bar { width: 230px; height: 3px; background: rgba(255, 255, 255, 0.16); border-radius: 3px; margin: 26px auto 0; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 0%; background: var(--grad-red); transition: width 0.3s ease; }
.preloader__pct { margin-top: 12px; font-family: var(--font-display); color: #8fa3c0; letter-spacing: 0.2em; font-size: 14.5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate; padding-top: var(--header-h);
}
.hero__bg { position: absolute; inset: -6% 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s var(--ease-io) infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1.5%); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6, 13, 26, 0.93) 0%, rgba(4, 24, 60, 0.82) 45%, rgba(0, 48, 120, 0.55) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(108, 182, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 182, 255, 0.09) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 30% 40%, #000 30%, transparent 75%);
}
.hero__content { max-width: 800px; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 4.9rem); font-weight: 700; margin: 18px 0 22px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; }
.hero__lead { font-size: clamp(1.06rem, 1.7vw, 1.3rem); color: #c6d4ea; max-width: 620px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: clamp(24px, 5vw, 64px);
  margin-top: clamp(48px, 7vh, 76px); padding-top: 30px; border-top: 1px solid var(--line-light);
  width: fit-content;
}
@media (max-width: 760px) { .hero__stats { grid-template-columns: repeat(2, auto); gap: 22px 40px; } }
.stat__num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; color: #fff; line-height: 1.1; }
.stat__num i { font-style: normal; color: #ff5a72; }
.stat__label { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: #9db2d2; margin-top: 4px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: #9db2d2; font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase;
}
@media (max-height: 700px), (max-width: 760px) { .hero__scroll { display: none; } }
.hero__scroll i { width: 1px; height: 52px; background: linear-gradient(#fff, transparent); display: block; animation: scrollhint 2s ease infinite; transform-origin: top; }
@keyframes scrollhint { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(44px, 7vw, 78px)) 0 clamp(44px, 6vw, 70px); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 13, 26, 0.94), rgba(0, 48, 120, 0.72)); }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #b9c7de; margin-bottom: 18px; }
.breadcrumb a { color: #b9c7de; } .breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- Cards & misc ---------- */
.card {
  background: #fff; border-radius: var(--r-lg); padding: 34px 30px;
  box-shadow: var(--shadow-1); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-3); }
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0, 96, 168, 0.12), rgba(0, 48, 120, 0.1));
  color: var(--blue); margin-bottom: 20px; transition: transform 0.45s var(--ease-out), background 0.4s, color 0.4s;
}
.card__icon svg { width: 27px; height: 27px; }
.card:hover .card__icon { transform: rotate(-6deg) scale(1.08); background: var(--grad-brand); color: #fff; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16.5px; margin: 0 0 16px; }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; color: var(--blue); }
.card__link svg { width: 16px; height: 16px; transition: transform 0.3s; }
.card__link:hover svg { transform: translateX(5px); }
.section--dark .card { background: rgba(255, 255, 255, 0.05); border-color: var(--line-light); box-shadow: none; }
.section--dark .card p { color: #b9c7de; }
.section--dark .card__icon { background: rgba(108, 182, 255, 0.14); color: #7fc0ff; }
.section--dark .card:hover .card__icon { background: var(--grad-brand); color: #fff; }
.section--dark .card__link { color: #7fc0ff; }

/* Split image block */
.split-media { position: relative; }
.split-media__main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-3); }
.split-media__main img { width: 100%; height: clamp(380px, 46vw, 560px); object-fit: cover; transition: transform 1.2s var(--ease-out); }
.split-media:hover .split-media__main img { transform: scale(1.05); }
.split-media__sub {
  position: absolute; right: -4%; bottom: -9%; width: 46%;
  border-radius: var(--r-md); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-2);
}
.split-media__sub img { width: 100%; height: clamp(150px, 18vw, 220px); object-fit: cover; }
.split-media__badge {
  position: absolute; top: -22px; left: -14px; background: var(--grad-red); color: #fff;
  padding: 16px 22px; border-radius: var(--r-md); box-shadow: var(--shadow-2); text-align: center;
}
@media (max-width: 700px) { .split-media__badge { left: 0; top: -18px; padding: 12px 16px; } }
.split-media__badge b { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.split-media__badge span { font-size: 14.5px; opacity: 0.9; }
@media (max-width: 900px) { .split-media__sub { display: none; } }

/* Check list */
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; color: var(--muted); }
.checks svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 3px; }
.section--dark .checks li { color: #c6d4ea; }

/* Marquee (clients) */
.marquee { overflow: hidden; position: relative; padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client-chip {
  display: grid; place-items: center; min-width: 190px; height: 92px; padding: 0 30px;
  background: #fff; border-radius: var(--r-md); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.05rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.client-chip small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: 14px; }
.client-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.section--dark .client-chip { background: rgba(255, 255, 255, 0.06); border-color: var(--line-light); color: #fff; }
.section--dark .client-chip small { color: #9db2d2; }

/* Timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), var(--red)); border-radius: 2px; }
.timeline__item { position: relative; padding-bottom: 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -34px; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--blue); box-shadow: 0 0 0 5px rgba(0, 96, 168, 0.15);
}
.timeline__year { font-family: var(--font-display); font-weight: 700; color: var(--blue); }
.timeline__item h3 { font-size: 1.12rem; margin: 4px 0 6px; }
.timeline__item p { color: var(--muted); margin: 0; font-size: 16.5px; }
.section--dark .timeline__item::before { background: var(--ink); }
.section--dark .timeline__item p { color: #b9c7de; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 24px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-light); border-radius: var(--r-md); counter-increment: step; transition: transform 0.4s var(--ease-out), background 0.4s; }
.step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.09); }
.step::before {
  content: "0" counter(step); font-family: var(--font-display); font-weight: 700; font-size: 2.2rem;
  background: linear-gradient(120deg, #6cb6ff, #ff5a72); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; } .step p { color: #b9c7de; font-size: 15.5px; margin: 0; }

/* Projects */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 34px; justify-content: center; }
.filter-chip {
  padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  transition: all 0.3s var(--ease-out);
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 8px 22px rgba(0, 96, 168, 0.3); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1080px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .proj-grid { grid-template-columns: 1fr; } }
.proj-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 3.1; display: block; color: #fff;
}
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.proj-card:hover img { transform: scale(1.09); }
.proj-card__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,13,26,0.05) 30%, rgba(6,13,26,0.92) 100%); transition: opacity 0.4s; }
.proj-card__body { position: absolute; inset: auto 0 0 0; padding: 26px; }
.proj-card__tag {
  position: absolute; top: 18px; left: 18px; z-index: 2; background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px); padding: 7px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; letter-spacing: 0.06em;
}
.proj-card h3 { font-size: 1.22rem; margin: 0 0 6px; }
.proj-card p { margin: 0; font-size: 15.5px; color: #c6d4ea; opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.4s, max-height 0.5s var(--ease-out); }
.proj-card:hover p { opacity: 1; max-height: 90px; }
.proj-card.is-hidden { display: none; }

/* Testimonials */
.tnav { display: flex; gap: 12px; margin-top: 30px; }
.tbtn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); color: var(--navy); transition: all 0.3s; }
.tbtn:hover { background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-3px); }
.tbtn svg { width: 20px; height: 20px; }
.tslide { display: none; }
.tslide.is-active { display: block; animation: fadeup 0.6s var(--ease-out); }
@keyframes fadeup { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.tquote { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.45; color: #fff; }
.tquote::before { content: "\201C"; color: #ff5a72; font-size: 1.6em; line-height: 0; vertical-align: -0.35em; margin-right: 6px; }
.tmeta { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.tavatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; flex: none; }
.tname { font-weight: 600; color: #fff; } .trole { font-size: 15px; color: #9db2d2; }
.tdots { display: flex; gap: 8px; margin-left: auto; }
.tdot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.25); transition: all 0.3s; padding: 0; }
.tdot.is-active { background: var(--red-2); transform: scale(1.25); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); color: #fff; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,13,26,0.93), rgba(0,48,120,0.85)); }
.cta-band__inner { padding: clamp(48px, 7vw, 88px); display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 60px); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.info-tile { display: flex; gap: 18px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: transform 0.4s var(--ease-out), box-shadow 0.4s; }
.info-tile:hover { transform: translateX(6px); box-shadow: var(--shadow-2); }
.info-tile__icon { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0,96,168,0.12), rgba(0,48,120,0.1)); color: var(--blue); }
.info-tile__icon svg { width: 24px; height: 24px; }
.info-tile h3 { font-size: 1.02rem; margin-bottom: 4px; }
.info-tile p, .info-tile a { color: var(--muted); font-size: 16px; margin: 0; word-break: break-word; }
.info-tile a:hover { color: var(--blue); }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; min-width: 0; }
.field input, .field textarea, .field select {
  width: 100%; padding: 17px 18px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: #fff; font: inherit; color: var(--ink); transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 96, 168, 0.14);
}
.field label { position: absolute; left: 18px; top: 17px; color: var(--muted); pointer-events: none; transition: all 0.25s var(--ease-out); background: transparent; padding: 0 6px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -10px; font-size: 14.5px; color: var(--blue); background: #fff; font-weight: 600;
}
.form__note { font-size: 15px; color: var(--muted); }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 22px 4px; color: #fff; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; }
.faq-cat { display: block; font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7fa8d9; margin-bottom: 5px; }
.faq-q svg { width: 22px; height: 22px; flex: none; color: #7fc0ff; transition: transform 0.4s var(--ease-out); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out); }
.faq-a p { color: #b9c7de; padding: 0 4px 22px; margin: 0; }

/* FAQ category filter chips */
.faq-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 28px; }
.faq-chip {
  padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: rgba(0, 96, 168, 0.07); color: inherit;
  box-shadow: inset 0 0 0 1.5px rgba(0, 48, 120, 0.3);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.faq-chip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px rgba(0, 48, 120, 0.6); }
.faq-chip.is-active { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 22px rgba(0, 96, 168, 0.32); }

/* Footer (light — keeps logo-3 at original colors) */
.site-footer { background: #edf1f8; color: #43536b; padding: clamp(64px, 8vw, 96px) 0 0; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(rgba(0,48,120,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,48,120,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; position: relative; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--navy); font-size: 1.02rem; margin-bottom: 18px; }
.site-footer a { color: #43536b; font-size: 16px; }
.site-footer a:hover { color: var(--blue); }
.footer-links li { padding: 6px 0; }
/* Footer logo (logo_4) — 0.8x: 115px tall, retina asset 2x */
.footer-logo { height: 115px; width: auto; margin-bottom: 22px; }
.footer-brand img { margin-bottom: 18px; }
@media (max-width: 600px) { .footer-logo { height: 78px; } }
.footer-brand p { font-size: 16px; max-width: 34ch; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--navy); transition: all 0.3s; }
.footer-social a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); border-color: transparent; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; border-top: 1px solid rgba(10, 18, 32, 0.1); padding: 22px 0; position: relative; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 15px; color: #5a6b82; }

/* Floating actions */
.fab-stack { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-2); transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.fab:hover { transform: translateY(-4px) scale(1.05); }
.fab svg { width: 24px; height: 24px; }
.fab--wa { background: #22c15e; position: relative; }
.fab--wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c15e; animation: wapulse 2.2s ease-out infinite; z-index: -1; }
@keyframes wapulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.65); opacity: 0; } }
.fab--top { background: var(--grad-brand); opacity: 0; visibility: hidden; }
.fab--top.is-show { opacity: 1; visibility: visible; }

/* Scroll reveal base (JS enhances) */
[data-reveal] { opacity: 0; transform: translateY(34px); }
html.no-js [data-reveal], .reduced-motion [data-reveal] { opacity: 1; transform: none; }
/* JS-driven reveal end state — keeps elements visible after/without animation */
[data-reveal].is-revealed, [data-reveal-group].is-revealed > * { opacity: 1; transform: none; }

/* Hero + page-hero intro: PRE-HIDE only when JS is confirmed active (js-ok is
   set inline in <head> BEFORE first paint). This kills the visible→hidden→
   animated "double pop" — content can no longer paint before its animation.
   no-js / reduced-motion / gsap-fail all fall back to fully visible. */
html.js-ok .hero__eyebrow,
html.js-ok .hero__title .line > span,
html.js-ok .hero__lead,
html.js-ok .hero__cta .btn,
html.js-ok .hero__stats > *,
html.js-ok .hero__scroll,
html.js-ok .page-hero .breadcrumb,
html.js-ok .page-hero .eyebrow,
html.js-ok .page-hero .lead,
html.js-ok .page-hero .hero__cta { opacity: 0; }
html.js-ok .page-hero h1:not(.hero__title) { opacity: 0; }
html.no-js .hero__eyebrow, html.no-js .hero__title .line > span, html.no-js .hero__lead,
html.no-js .hero__cta .btn, html.no-js .hero__stats > *, html.no-js .hero__scroll,
html.no-js .page-hero .breadcrumb, html.no-js .page-hero .eyebrow, html.no-js .page-hero .lead,
html.no-js .page-hero .hero__cta, html.no-js .page-hero h1 { opacity: 1; }
html.reduced-motion .hero__eyebrow, html.reduced-motion .hero__title .line > span,
html.reduced-motion .hero__lead, html.reduced-motion .hero__cta .btn, html.reduced-motion .hero__stats > *,
html.reduced-motion .hero__scroll, html.reduced-motion .page-hero .breadcrumb,
html.reduced-motion .page-hero .eyebrow, html.reduced-motion .page-hero .lead,
html.reduced-motion .page-hero .hero__cta, html.reduced-motion .page-hero h1 { opacity: 1; }

/* If GSAP failed to load or threw, force-show everything animated */
html.gsap-fail [data-reveal],
html.gsap-fail [data-reveal-group] > *,
html.gsap-fail [data-split] .line > span,
html.gsap-fail .preloader { display: none !important; }
/* Same guarantee for hero/page-hero/footer (they are NOT pre-hidden — belt & braces:
   if any stale inline style left them dim, gsap-fail clears it). */
html.gsap-fail .hero__eyebrow, html.gsap-fail .hero__lead, html.gsap-fail .hero__cta .btn,
html.gsap-fail .hero__stats > *, html.gsap-fail .hero__scroll,
html.gsap-fail .page-hero .breadcrumb, html.gsap-fail .page-hero .eyebrow,
html.gsap-fail .page-hero .lead, html.gsap-fail .page-hero .hero__cta,
html.gsap-fail .page-hero h1,
html.gsap-fail .site-footer .footer-grid > div { opacity: 1 !important; transform: none !important; }

/* Values / mission cards row of 2 */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }

/* Guide/article pages */
.article { max-width: 800px; }
.article h2 { font-size: 1.55rem; margin-top: 2em; }
.article p, .article li { color: var(--ink-2); }
.article .checks li { color: var(--muted); }
.callout { background: linear-gradient(135deg, rgba(0,96,168,0.08), rgba(192,0,24,0.05)); border-left: 4px solid var(--blue); padding: 22px 26px; border-radius: var(--r-sm); margin: 26px 0; }
.callout b { color: var(--navy); }

/* ---------- Extended components ---------- */
.article-cover { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); margin: 34px 0; }
.article-cover img { width: 100%; height: clamp(240px, 34vw, 420px); object-fit: cover; }
.meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .meta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .meta-grid { grid-template-columns: 1fr; } }
/* Meta tiles follow the dark page-hero banner; pull them up over its lower
   edge for a connected "spec strip" look, and give them a solid dark surface
   (they were glass-on-white before — unreadable light blue on paper). */
.meta-grid { margin-top: -58px; position: relative; z-index: 5; }
.meta-tile { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--r-md); padding: 20px 22px; box-shadow: var(--shadow-2); }
.meta-tile b { display: block; font-family: var(--font-display); color: #7fc0ff; font-size: 1.05rem; margin-bottom: 4px; }
.meta-tile span { color: #e8eefb; font-size: 15.5px; }
@media (max-width: 960px) { .meta-grid { margin-top: -34px; } }.duo-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .duo-gallery { grid-template-columns: 1fr; } }
.duo-gallery img { border-radius: var(--r-md); width: 100%; height: clamp(200px, 26vw, 320px); object-fit: cover; box-shadow: var(--shadow-1); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.member { background: #fff; border-radius: var(--r-lg); padding: 30px 24px; text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform 0.45s var(--ease-out), box-shadow 0.45s; }
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow-3); }
.member__avatar { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: #fff; background: var(--grad-brand); box-shadow: 0 10px 24px rgba(0,48,120,0.3); }
.member h3 { font-size: 1.06rem; margin-bottom: 2px; }
.member p { color: var(--muted); font-size: 15px; margin: 0; }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .client-grid { grid-template-columns: 1fr; } }
.side-facts { background: var(--grad-ink); color: #e8eefb; border-radius: var(--r-lg); padding: 34px 30px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-facts h3 { color: #fff; font-size: 1.15rem; }
.side-facts li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-light); font-size: 16px; color: #c6d4ea; }
.side-facts li:last-child { border: 0; }
.side-facts li svg { width: 18px; height: 18px; color: #7fc0ff; flex: none; margin-top: 3px; }
.form__status { color: var(--red); font-size: 15.5px; min-height: 20px; }
.map-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); line-height: 0; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: clamp(300px, 40vw, 460px); border: 0; filter: saturate(0.9); }
.next-band { display: block; background: var(--grad-ink); border-radius: var(--r-lg); padding: clamp(34px, 5vw, 54px); color: #fff; position: relative; overflow: hidden; transition: transform 0.45s var(--ease-out), box-shadow 0.45s; }
.next-band:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); color: #fff; }
.next-band small { color: #9db2d2; letter-spacing: 0.18em; text-transform: uppercase; font-size: 14px; }
.next-band h3 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 8px 0 0; }
.next-band svg { position: absolute; right: clamp(28px, 5vw, 54px); top: 50%; translate: 0 -50%; width: 42px; height: 42px; color: #ff5a72; transition: transform 0.4s var(--ease-out); }
.next-band:hover svg { transform: translateX(10px); }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 800px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.tag-chip { display: inline-block; background: rgba(255,255,255,0.12); border: 1px solid var(--line-light); padding: 6px 16px; border-radius: 999px; font-size: 14.5px; color: #c6d4ea; margin: 0 6px 8px 0; }
.num-badge { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-red); color: #fff; font-family: var(--font-display); font-weight: 700; flex: none; }

/* ---------- Standards strip ---------- */
.std-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 960px) { .std-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .std-strip { grid-template-columns: 1fr; } }
.std-chip {
  display: grid; place-items: center; text-align: center; gap: 2px;
  padding: 18px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.05rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
}
.std-chip small { font-family: var(--font-body); font-weight: 500; color: #5a6b82; font-size: 13.5px; letter-spacing: 0.04em; }
.std-chip:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: rgba(0, 96, 168, 0.35); }

/* ---------- Industries grid (image cards) ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ind-grid { grid-template-columns: 1fr; } }
.ind-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 4.6; display: flex; align-items: flex-end; color: #fff;
}
.ind-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.ind-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,13,26,0.1) 30%, rgba(6,13,26,0.92) 100%); }
.ind-card:hover img { transform: scale(1.08); }
.ind-card__body { padding: 26px; }
.ind-card__body small { display: block; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: #9db2d2; margin-bottom: 6px; }
.ind-card__body h3 { font-size: 1.22rem; margin-bottom: 8px; }
.ind-card__body p { margin: 0; font-size: 15.5px; color: #c6d4ea; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out), opacity 0.4s; }
.ind-card:hover .ind-card__body p { max-height: 120px; opacity: 1; }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 20px; text-align: left; font-size: 16px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--grad-brand); color: #fff; font-family: var(--font-display); font-size: 16.5px; letter-spacing: 0.02em; }
.compare td:first-child { font-weight: 600; color: var(--navy); width: 24%; }
.compare tbody tr { transition: background 0.25s; }
.compare tbody tr:hover { background: rgba(0, 96, 168, 0.05); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: #0d8a4f; font-weight: 700; } .compare .mid { color: #c07a00; font-weight: 700; } .compare .no { color: var(--red); font-weight: 700; }

/* ---------- Related services strip ---------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .related { grid-template-columns: 1fr; } }
.rel-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
}
.rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: rgba(0,96,168,0.3); color: inherit; }
.rel-card__icon { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0,96,168,0.12), rgba(0,48,120,0.1)); color: var(--blue); }
.rel-card__icon svg { width: 22px; height: 22px; }
.rel-card b { display: block; color: var(--navy); font-size: 16.5px; }
.rel-card small { color: #5a6b82; font-size: 15px; }
.rel-card > div svg.arrow { width: 18px; height: 18px; margin-left: auto; color: var(--blue); flex: none; transition: transform 0.3s; }
.rel-card:hover .arrow { transform: translateX(5px); }

/* ---------- Scroll progress bar ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 1400; background: linear-gradient(90deg, var(--blue), var(--red)); border-radius: 0 3px 3px 0; pointer-events: none; }

/* ---------- Showcase band (home, full-bleed) ---------- */
.showcase { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.showcase__bg { position: absolute; inset: 0; z-index: -2; }
.showcase__bg img { width: 100%; height: 100%; object-fit: cover; }
.showcase::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,13,26,0.94) 20%, rgba(0,48,120,0.82)); }
.showcase__inner { padding: clamp(72px, 10vw, 130px) 0; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .showcase__inner { grid-template-columns: 1fr; } }
.showcase__number { font-family: var(--font-display); font-size: clamp(3.4rem, 8vw, 6rem); font-weight: 700; line-height: 1; background: linear-gradient(120deg, #6cb6ff, #ff5a72); -webkit-background-clip: text; background-clip: text; color: transparent; }
.showcase__list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-light); color: #c6d4ea; font-size: 16.5px; }
.showcase__list svg { width: 20px; height: 20px; color: #7fc0ff; flex: none; margin-top: 2px; }

/* ---------- Cursor-following glow (page orb) ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 850; width: 420px; height: 420px;
  margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0, 96, 168, 0.14) 0%, rgba(0, 96, 168, 0.05) 42%, transparent 68%);
  mix-blend-mode: screen; opacity: 0; transition: opacity 0.5s;
  will-change: transform;
}
body.glow-on .cursor-glow { opacity: 1; }

/* ---------- Card spotlight (uses --mx/--my set by JS) ---------- */
.card::after, .info-tile::after, .step::after, .rel-card::after, .std-chip::after, .member::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 96, 168, 0.10), transparent 62%);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover::after, .info-tile:hover::after, .step:hover::after,
.rel-card:hover::after, .std-chip:hover::after, .member:hover::after { opacity: 1; }
.section--dark .card::after, .section--dark .step::after {
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(108, 182, 255, 0.12), transparent 62%);
}
.rel-card, .std-chip, .member { position: relative; }

/* ---------- Showcase number ticker ---------- */
.showcase__number i { font-style: normal; }

/* Utility */
.center { text-align: center; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 26px; } .mt-3 { margin-top: 44px; }
.mb-2 { margin-bottom: 26px; } .mb-3 { margin-bottom: 44px; }
.section-head { max-width: 720px; margin-bottom: clamp(26px, 3.6vw, 40px); }
.section-head.center { margin-inline: auto; }
.icon-inline { width: 18px; height: 18px; vertical-align: -3px; }

/* ---------- Engagements list (home) ---------- */
.eng-list { display: flex; flex-direction: column; gap: 10px; }
.eng-row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 22px; transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.eng-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.eng-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.eng-work { font-weight: 600; color: var(--ink); font-size: 16.5px; }
.eng-meta { color: var(--muted); font-size: 14.5px; }
.eng-status {
  flex: none; font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  color: #0c7a43; background: #e5f6ec; border: 1px solid #bfe8d0;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.eng-status--wip { color: #8a5a00; background: #fff4dc; border-color: #f3ddb0; }
@media (max-width: 640px) { .eng-row { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* ---------- Experience tables (projects hub) ---------- */
.exp-block { margin-bottom: 44px; }
.exp-caption { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.exp-caption b { font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); border-left: 4px solid var(--acc, var(--blue)); padding-left: 12px; }
.exp-caption span { color: var(--muted); font-size: 15px; }
.exp-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); }
.exp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.exp-table th {
  background: var(--navy); color: #fff; text-align: left; font-size: 14.5px;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 13px 16px; white-space: nowrap;
}
.exp-table td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.exp-table tbody tr:nth-child(odd) { background: #f8fafd; }
.exp-work { font-weight: 600; color: var(--ink); max-width: 46ch; }
.exp-place, .exp-client { color: var(--muted); white-space: nowrap; }
.exp-note {
  display: flex; gap: 14px; align-items: flex-start; background: var(--ink-2); color: #e8eefb;
  border-radius: var(--r-md); padding: 20px 22px; font-size: 15.5px; line-height: 1.55;
}
.exp-note svg { flex: none; color: #7fc0ff; margin-top: 2px; }
.exp-note b { color: #fff; }

/* ---------- Team (real, with photos) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.team-card--exec { border-top: 4px solid var(--red); }
.team-card__photo { width: 132px; height: 158px; margin: 0 auto 16px; border-radius: var(--r-sm); overflow: hidden; background: #eef2f9; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__name { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); }
.team-card__role { color: var(--red); font-weight: 700; font-size: 15px; margin-top: 3px; }
.team-card__creds { color: var(--muted); font-size: 14.5px; margin-top: 7px; }
.team-card__spec { color: var(--ink); font-weight: 600; font-size: 14.5px; margin-top: 7px; }
.team-card__bullets { margin-top: 10px; text-align: left; color: var(--muted); font-size: 14.5px; padding-left: 18px; }
.team-card__bullets li { margin: 4px 0; }

/* ---------- CEO message band ---------- */
.ceo-band { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; }
@media (max-width: 800px) { .ceo-band { grid-template-columns: 1fr; gap: 26px; } }
.ceo-band__photo {
  width: 300px; height: 360px; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line-light); box-shadow: var(--shadow-3); background: #101d38;
}
@media (max-width: 800px) { .ceo-band__photo { width: 220px; height: 264px; } }
.ceo-band__photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo-band__body .eyebrow { color: #7fc0ff; }
.ceo-band__body .h-2 { color: #fff; }
.ceo-band__quote { color: #dbe7fa; font-size: 17px; line-height: 1.7; margin: 14px 0 18px; }
.ceo-band__sig b { display: block; color: #fff; font-family: var(--font-display); }
.ceo-band__sig span { color: #9db4d8; font-size: 15px; }

/* ---------- Partners grid (clients page) ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .partner-grid { grid-template-columns: 1fr; } }
.partner-chip {
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-light);
  border-radius: var(--r-md); padding: 18px 20px;
}
.partner-chip b { display: block; color: #fff; font-family: var(--font-display); font-size: 16.5px; }
.partner-chip span { color: #9db4d8; font-size: 14.5px; margin-top: 3px; display: block; }

/* ---------- Links grid (about sub-pages) ---------- */
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .links-grid { grid-template-columns: 1fr; } }
.link-card {
  display: flex; align-items: flex-start; gap: 14px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px;
  color: inherit; text-decoration: none; transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: rgba(0, 96, 168, 0.35); }
.link-card > svg { flex: none; color: var(--red); margin-top: 2px; }
.link-card h3 { font-family: var(--font-display); font-size: 1.02rem; color: var(--navy); }
.link-card p { color: var(--muted); font-size: 15px; margin-top: 5px; line-height: 1.55; }
.link-card__go { margin-left: auto; color: #b9c6da !important; transition: transform 0.25s var(--ease-out), color 0.25s; }
.link-card:hover .link-card__go { transform: translateX(4px); color: var(--red) !important; }

/* ---------- Download card (company profile PDF) ---------- */
.dl-card {
  display: flex; align-items: center; gap: 26px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 34px;
  box-shadow: var(--shadow-2); border-top: 4px solid var(--red);
}
@media (max-width: 860px) { .dl-card { flex-direction: column; align-items: flex-start; } .dl-card__btn { width: 100%; justify-content: center; } }
.dl-card__icon {
  flex: none; width: 74px; height: 74px; border-radius: var(--r-md);
  background: var(--grad-red); display: grid; place-items: center; color: #fff;
}
.dl-card__icon svg { width: 34px; height: 34px; }
.dl-card__body { flex: 1; min-width: 0; }
.dl-card__body .h-3 { margin: 6px 0 8px; }
.dl-card__body p { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 60ch; }
.dl-card__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.dl-card__meta span {
  font-size: 14px; font-weight: 700; color: var(--navy); background: #eef3fb;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.dl-card__btn { flex: none; }
.team-card__bio { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 9px; }
/* Initials avatar for team members without a photo */
.team-card__photo--init {
  display: grid; place-items: center;
  background: var(--grad-ink, #16244a);
}
.team-card__photo--init span {
  font-family: var(--font-display, sans-serif); font-weight: 700; font-size: 2rem;
  color: #fff; letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   READABILITY PASS — 2026-09-27
   Body copy sits a step heavier (450) and small print never drops below a
   medium weight, so text holds up on both the paper-white theme and the
   facility theme. The webfonts are variable now (assets/fonts/fonts.css),
   so these are real weights, not the browser smearing outlines.
   -------------------------------------------------------------------------- */
p, li, dd { font-weight: 450; }
small, dt, figcaption, .eyebrow, .crumbs { font-weight: 500; }
@media (prefers-contrast: more) {
  p, li, dd, small, dt, figcaption { font-weight: 600; }
}
