/* =====================================================================
   BAYEUX · Services system stylesheet
   Shares the landing-page design language (tokens, nav, buttons, footer)
   and adds the service-page + mega-menu components.
   ===================================================================== */

/* ============ FONTS ============ */
@font-face {
  font-family: 'Century Gothic';
  src: url('../../img/font/centurygothic.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Century Gothic';
  src: url('../../img/font/centurygothic_bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

/* ============ TOKENS ============ */
:root {
  --navy: #003b5c;
  --navy-deep: #002A42;
  --navy-900: #00131f;
  --cerulean: #047bc1;
  --cerulean-soft: #4aa6d8;
  --orange: #ff6b34;
  --offwhite: #f4f4f4;
  --paper: #fbfbf9;
  --light: #e9eef2;
  --ink: #1b2b38;
  --gray: #52616e;
  --line: rgba(0, 59, 92, .12);
  --line-d: rgba(244, 244, 244, .14);
  --display: 'Century Gothic', 'CenturyGothic', AppleGothic, 'Poppins', sans-serif;
  --body: 'Poppins', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1200px, 90vw); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -.01em; }

/* progress bar */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--orange); z-index: 300;
}

/* ============ NAV ============ */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  transition: padding .4s var(--ease), background .4s var(--ease), backdrop-filter .4s var(--ease), box-shadow .4s var(--ease);
}
nav.scrolled {
  background: rgba(0, 19, 31, .55);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  padding-top: 12px; padding-bottom: 12px;
  box-shadow: 0 1px 0 rgba(244, 244, 244, .08);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark { height: 55px; width: auto; flex: none; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 38px); }
.nav-links > a:not(.nav-cta),
.nav-drop-trigger {
  font-size: 13px; font-weight: 400; letter-spacing: .04em;
  color: rgba(244, 244, 244, .82);
  position: relative; transition: color .3s; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; font-family: var(--body);
}
.nav-links > a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -5px;
  height: 1px; width: 0; background: var(--orange); transition: width .35s var(--ease);
}
.nav-links > a:not(.nav-cta):hover { color: #fff; }
.nav-links > a:not(.nav-cta):hover::after { width: 100%; }
.nav-drop-trigger:hover { color: #fff; }
/* active page */
.nav-links > a.active, .nav-drop-trigger.active { color: #fff; }
.nav-links > a.active::after { width: 100%; }
.nav-drop-trigger.active::after { content: ''; position: absolute; left: 0; bottom: -5px; height: 1px; width: 100%; background: var(--orange); }
.nav-drop-trigger .chev { width: 9px; height: 9px; transition: transform .35s var(--ease); }
.nav-drop:hover .nav-drop-trigger .chev { transform: rotate(180deg); }

.nav-cta {
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  padding: 9px 20px; border-radius: 100px; color: #fff; background: var(--orange);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 107, 52, .34); }

.nav-toggle { display: none; }

/* ============ MEGA MENU ============ */
.nav-drop { position: relative; }
.mega {
  position: fixed;
  top: 70px; left: 50%; transform: translate(-50%, 14px);
  width: min(940px, 94vw);
  background: linear-gradient(160deg, rgba(0, 42, 66, .96), rgba(0, 19, 31, .97));
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(244, 244, 244, .14);
  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(0, 13, 22, .6), inset 0 1px 0 rgba(244, 244, 244, .07);
  padding: 22px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  z-index: 210;
}
nav.scrolled .mega { top: 60px; }
/* invisible bridge so the cursor can cross the gap from the trigger into the panel */
.mega::before { content: ''; position: absolute; left: -40px; right: -40px; top: -30px; height: 30px; }
.nav-drop:hover .mega,
.mega:hover,
.mega.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega-head {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 4px 8px 16px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line-d);
}
.mega-head .mh-t { font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; }
.mega-head .mh-s { font-family: var(--body); font-weight: 400; letter-spacing: normal; text-transform: none; font-size: 12.5px; color: rgba(244, 244, 244, .62); margin: 0; text-align: left; }
.mega-head .mh-all {
  font-size: 12.5px; font-weight: 500; color: var(--orange);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.mega-head .mh-all .arr { transition: transform .35s var(--ease); }
.mega-head .mh-all:hover .arr { transform: translateX(4px); }

.mega-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px;
}
.mega-item {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 12px 14px; border-radius: 13px;
  border: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.mega-item:hover { background: rgba(244, 244, 244, .05); border-color: var(--line-d); transform: translateX(3px); }
.mega-item .mi-l {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 13px;
  color: var(--cerulean-soft); background: rgba(4, 123, 193, .16);
  border: 1px solid rgba(74, 166, 216, .2);
  transition: background .3s, color .3s;
}
.mega-item:hover .mi-l { background: var(--orange); color: #fff; border-color: var(--orange); }
.mega-item .mi-b { display: block; font-size: 13.5px; font-weight: 600; color: var(--offwhite); line-height: 1.3; }
.mega-item .mi-s { display: block; font-size: 11.5px; font-weight: 300; color: rgba(244, 244, 244, .55); margin-top: 1px; }
.nav-links .mega, .nav-links .mega * { letter-spacing: normal !important; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-size: 14.5px; font-weight: 500; letter-spacing: .015em;
  padding: 15px 30px; border-radius: 100px; cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(255, 107, 52, .32); }
.btn-ghost { color: var(--offwhite); border-color: rgba(244, 244, 244, .32); }
.btn-ghost:hover { background: rgba(244, 244, 244, .08); border-color: rgba(244, 244, 244, .6); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 42, 66, .26); }

/* ============ EYEBROW ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-size: 12px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--cerulean);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--orange); }
.eyebrow.on-dark { color: var(--cerulean-soft); }

/* ============ REVEAL ============ */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); will-change: opacity, transform; }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; }
.rv-d3 { transition-delay: .3s; } .rv-d4 { transition-delay: .4s; } .rv-d5 { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

.ac { color: var(--cerulean); }
.accent { color: var(--orange); }

/* =====================================================================
   SERVICE HERO
   ===================================================================== */
.svc-hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  background: var(--navy-900); overflow: hidden; isolation: isolate;
}
.svc-hero .svc-hero-bg {
  position: absolute; inset: -7% -2%; z-index: -2;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s var(--ease); will-change: transform;
}
.svc-hero.loaded .svc-hero-bg { opacity: 1; }
.svc-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(4, 123, 193, .22), transparent 55%),
    linear-gradient(to bottom, rgba(0, 19, 31, .72) 0%, rgba(0, 19, 31, .35) 30%, rgba(0, 19, 31, .55) 62%, rgba(0, 19, 31, .96) 100%);
}
.svc-hero-inner {
  padding-block: clamp(120px, 17vh, 200px) clamp(54px, 8vh, 96px);
  position: relative; z-index: 1; width: min(1200px, 90vw); margin-inline: auto;
}
.svc-back {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; letter-spacing: .04em; color: rgba(244, 244, 244, .7);
  margin-bottom: 26px; transition: color .3s, gap .3s;
}
.svc-back:hover { color: #fff; gap: 13px; }
.svc-back .arr { transition: transform .3s var(--ease); }
.svc-back:hover .arr { transform: translateX(-4px); }
.svc-letter {
  font-family: var(--display); font-weight: 700; line-height: .8;
  font-size: clamp(60px, 11vw, 150px);
  color: transparent; -webkit-text-stroke: 1.4px rgba(255, 107, 52, .55);
  margin-bottom: 8px; user-select: none;
}
.svc-hero h1 {
  color: #fff; font-size: clamp(34px, 5.4vw, 70px); max-width: 18ch;
  text-shadow: 0 6px 44px rgba(0, 19, 31, .5); margin-top: 6px;
}
.svc-hero .svc-sub {
  font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  font-size: clamp(12px, 1.3vw, 15px); color: var(--orange); margin-top: 18px;
}
.svc-hero .svc-lede {
  color: rgba(244, 244, 244, .85); font-size: clamp(14.5px, 1.2vw, 17px);
  font-weight: 300; max-width: 56ch; margin-top: 18px; line-height: 1.6;
}
.svc-hero .hero-ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.svc-hero-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(244, 244, 244, .5);
}
.svc-hero-cue .dot { width: 18px; height: 28px; border: 1px solid rgba(244, 244, 244, .4); border-radius: 12px; position: relative; }
.svc-hero-cue .dot::after {
  content: ''; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; border-radius: 3px;
  background: var(--orange); transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; } 70% { opacity: 1; transform: translate(-50%, 9px); }
  100% { opacity: 0; transform: translate(-50%, 11px); }
}

/* =====================================================================
   SERVICE INTRO
   ===================================================================== */
.svc-intro { background: var(--light); padding: clamp(70px, 10vw, 130px) 0; }
.svc-intro-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 5vw, 72px); align-items: center;
}
.svc-intro-text h2 { color: var(--navy); font-size: clamp(25px, 3.1vw, 40px); margin: 16px 0 20px; line-height: 1.12; }
.svc-intro-text p { color: var(--gray); font-size: 15.5px; margin-bottom: 16px; }
.svc-intro-text p strong { color: var(--ink); font-weight: 600; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.svc-meta span {
  font-size: 12.5px; font-weight: 500; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px;
  box-shadow: 0 8px 22px rgba(0, 42, 66, .05);
}
.svc-intro-media {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 4.5;
  box-shadow: 0 34px 70px rgba(0, 42, 66, .18);
}
.svc-intro-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.6s var(--ease); }
.svc-intro-media:hover img { transform: scale(1); }
.svc-intro-media .mtag {
  position: absolute; left: 18px; bottom: 18px; background: var(--navy); color: #fff;
  padding: 13px 18px; border-radius: 14px; max-width: 74%;
}
.svc-intro-media .mtag b { display: block; font-family: var(--display); font-size: 19px; color: var(--orange); }
.svc-intro-media .mtag span { font-size: 12px; color: rgba(244, 244, 244, .8); }

/* =====================================================================
   CAPABILITIES (dark)
   ===================================================================== */
.svc-caps {
  background: radial-gradient(120% 120% at 80% 0%, #05314c 0%, var(--navy-deep) 50%, var(--navy-900) 100%);
  color: var(--offwhite); padding: clamp(76px, 10vw, 132px) 0;
}
.caps-head { max-width: 60ch; margin-bottom: clamp(34px, 5vw, 56px); }
.caps-head h2 { color: #fff; font-size: clamp(26px, 3.3vw, 44px); margin-top: 16px; line-height: 1.08; }
.caps-head p { color: rgba(244, 244, 244, .72); font-size: 15px; margin-top: 14px; }
.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
/* staggered reveal for grids of .rv cards (handled in CSS, not JS, for smoothness) */
.caps-grid .rv:nth-child(2), .hub-grid .rv:nth-child(2) { transition-delay: .06s; }
.caps-grid .rv:nth-child(3), .hub-grid .rv:nth-child(3) { transition-delay: .12s; }
.caps-grid .rv:nth-child(4), .hub-grid .rv:nth-child(4) { transition-delay: .18s; }
.caps-grid .rv:nth-child(5), .hub-grid .rv:nth-child(5) { transition-delay: .24s; }
.caps-grid .rv:nth-child(6), .hub-grid .rv:nth-child(6) { transition-delay: .30s; }
.cap-card {
  position: relative; background: rgba(244, 244, 244, .04);
  border: 1px solid var(--line-d); border-radius: 18px; padding: 28px 24px 26px;
  overflow: hidden; transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.cap-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease);
}
.cap-card:hover { transform: translateY(-6px); background: rgba(244, 244, 244, .07); border-color: rgba(244, 244, 244, .2); box-shadow: 0 26px 54px rgba(0, 13, 22, .4); }
.cap-card:hover::before { transform: scaleY(1); }
.cap-no { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--cerulean-soft); letter-spacing: .1em; }
.cap-ic {
  width: 50px; height: 50px; border-radius: 14px; margin: 14px 0 18px;
  display: grid; place-items: center; color: var(--cerulean-soft);
  background: rgba(4, 123, 193, .12); border: 1px solid rgba(74, 166, 216, .18);
  transition: background .4s, color .4s, border-color .4s;
}
.cap-card:hover .cap-ic { background: rgba(255, 107, 52, .16); color: var(--orange); border-color: rgba(255, 107, 52, .3); }
.cap-ic svg { width: 24px; height: 24px; }
.cap-card h3 { font-size: 18.5px; color: #fff; margin-bottom: 9px; line-height: 1.2; }
.cap-card p { font-size: 13.5px; color: rgba(244, 244, 244, .76); font-weight: 300; }

/* =====================================================================
   PARALLAX BAND (image + pull quote)
   ===================================================================== */
.svc-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 13vw, 170px) 0; }
.svc-band .band-bg { position: absolute; inset: -12% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.svc-band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(0, 19, 31, .9) 0%, rgba(0, 42, 66, .72) 55%, rgba(0, 19, 31, .82) 100%);
}
.svc-band .wrap { text-align: center; }
.svc-band blockquote {
  font-family: var(--display); font-weight: 700; color: #fff;
  font-size: clamp(23px, 3.4vw, 46px); line-height: 1.16; max-width: 20ch; margin: 0 auto;
}
.svc-band blockquote .ac { color: var(--orange); }
.svc-band cite {
  display: block; font-style: normal; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cerulean-soft); margin-top: 26px;
}

/* =====================================================================
   PROCESS STRIP (small numbered flow, optional per page)
   ===================================================================== */
.svc-flow { background: var(--paper); padding: clamp(70px, 9vw, 120px) 0; }
.svc-flow .flow-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.svc-flow .flow-head h2 { color: var(--navy); font-size: clamp(24px, 3vw, 38px); margin-top: 14px; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow-step { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 14px 34px rgba(0, 42, 66, .05); }
.flow-step .fn { font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--light); -webkit-text-stroke: 1px var(--cerulean); }
.flow-step h4 { font-family: var(--display); font-size: 16px; color: var(--navy); margin: 10px 0 8px; }
.flow-step p { font-size: 13px; color: var(--gray); }

/* =====================================================================
   PREV / NEXT NAV
   ===================================================================== */
.svc-next { background: var(--navy-900); color: var(--offwhite); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line-d); }
.next-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.next-link { display: flex; flex-direction: column; gap: 4px; }
.next-link.is-next { text-align: right; align-items: flex-end; }
.next-link .nl-k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 244, 244, .5); }
.next-link .nl-t { font-family: var(--display); font-weight: 700; font-size: clamp(17px, 2vw, 23px); color: #fff; transition: color .3s; display: inline-flex; align-items: center; gap: 10px; }
.next-link:hover .nl-t { color: var(--orange); }
.next-link .arr { transition: transform .35s var(--ease); }
.next-link.is-prev:hover .arr { transform: translateX(-5px); }
.next-link.is-next:hover .arr { transform: translateX(5px); }
.next-all {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-d);
  display: grid; place-items: center; color: #fff; transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.next-all:hover { background: var(--orange); border-color: var(--orange); transform: rotate(90deg); }

/* =====================================================================
   CTA BAND (shared with home)
   ===================================================================== */
.cta-band { background: var(--light); padding: clamp(56px, 7vw, 90px) 0 clamp(70px, 9vw, 110px); }
.cta-pill {
  width: min(1100px, 90vw); margin-inline: auto; background: var(--navy); color: var(--offwhite);
  border-radius: 26px; padding: clamp(26px, 3.4vw, 44px) clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden;
}
.cta-pill::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 123, 193, .35), transparent 70%);
}
.cta-pill .lead { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2.1vw, 27px); color: #fff; }
.cta-pill .lead .ac { color: var(--orange); }
.cta-pill .sub { font-size: 13.5px; color: rgba(244, 244, 244, .75); margin-top: 8px; font-weight: 300; max-width: 56ch; }
.cta-pill .btn { position: relative; z-index: 1; white-space: nowrap; }

/* =====================================================================
   FOOTER (shared with home)
   ===================================================================== */
.foot-cols-band { background: var(--navy-900); color: var(--offwhite); padding: clamp(56px, 7vw, 86px) 0 0; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-col h5 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cerulean-soft); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14px; color: rgba(244, 244, 244, .72); margin-bottom: 11px; transition: color .3s, padding-left .3s; }
.foot-col a:hover { color: #fff; padding-left: 4px; }
.foot-col .fc-lead { font-family: var(--display); font-weight: 700; font-size: 19px; color: #fff; margin-bottom: 12px; }
.foot-col .fc-p { font-size: 13.5px; color: rgba(244, 244, 244, .62); font-weight: 300; max-width: 34ch; }
.foot-col .fbrand { height: 46px; width: auto; margin-bottom: 18px; }

footer { background: var(--navy-900); color: var(--offwhite); padding: clamp(34px, 4vw, 48px) 0 0; overflow: hidden; }
.foot-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: clamp(34px, 4vw, 52px) 0 clamp(24px, 3vw, 36px); border-top: 1px solid var(--line-d); margin-top: clamp(40px, 5vw, 64px);
}
.foot-bar p { font-size: 12.5px; color: rgba(244, 244, 244, .55); }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; color: rgba(244, 244, 244, .7); transition: background .3s, color .3s, border-color .3s; }
.foot-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.foot-social svg { width: 15px; height: 15px; }
.mega-word {
  font-family: var(--display); font-weight: 700; text-align: center; line-height: .8; letter-spacing: .02em;
  font-size: clamp(70px, 21vw, 320px); color: transparent;
  -webkit-text-stroke: 4px rgba(244, 244, 244, .14); margin: clamp(16px, 5vw, 24px) 0px 0.12em; user-select: none;
}
.mega-word b { -webkit-text-fill-color: rgba(255, 107, 52, .9); -webkit-text-stroke-color: transparent; }

/* =====================================================================
   SERVICES HUB PAGE
   ===================================================================== */
.hub-hero { position: relative; min-height: 78vh; display: flex; align-items: center; background: var(--navy-900); overflow: hidden; isolation: isolate; text-align: center; }
.hub-hero .hub-hero-bg { position: absolute; inset: -7% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.hub-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 19, 31, .8), rgba(0, 19, 31, .58) 45%, rgba(0, 19, 31, .95));
}
.hub-hero-inner { width: min(1000px, 90vw); margin-inline: auto; padding-block: clamp(130px, 18vh, 200px) clamp(60px, 9vh, 110px); position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hub-hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 72px); max-width: 18ch; margin-top: 18px; }
.hub-hero h1 span { color: var(--orange); }
.hub-hero p { color: rgba(244, 244, 244, .82); font-size: clamp(14.5px, 1.3vw, 17.5px); font-weight: 300; max-width: 62ch; margin-top: 20px; }
.hub-hero .hero-ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.hub-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(26px, 5vw, 64px); margin-top: clamp(40px, 6vw, 60px); padding-top: clamp(30px, 4vw, 44px); border-top: 1px solid var(--line-d); }
.hub-stats .hs { text-align: center; }
.hub-stats .hs b { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 34px); color: #fff; display: block; }
.hub-stats .hs span { font-size: 12px; color: rgba(244, 244, 244, .6); letter-spacing: .04em; }

.hub-intro { background: var(--light); padding: clamp(70px, 9vw, 120px) 0; }
.hub-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.hub-intro h2 { color: var(--navy); font-size: clamp(26px, 3.3vw, 44px); line-height: 1.1; }
.hub-intro h2 span { color: var(--orange); }
.hub-intro p { color: var(--gray); font-size: 15.5px; margin-top: 18px; }

.hub-list { background: var(--paper); padding: clamp(70px, 10vw, 130px) 0; }
.hub-list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(34px, 5vw, 54px); flex-wrap: wrap; }
.hub-list-head h2 { color: var(--navy); font-size: clamp(26px, 3.3vw, 44px); margin-top: 14px; max-width: 16ch; }
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 26px); }
.hub-card {
  position: relative; display: grid; grid-template-columns: 200px 1fr; background: #fff;
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.hub-card:hover { transform: translateY(-7px); box-shadow: 0 30px 60px rgba(0, 42, 66, .15); border-color: rgba(0, 59, 92, .2); }
.hub-card .hc-media { position: relative; overflow: hidden; background: var(--navy-deep); }
.hub-card .hc-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.hub-card:hover .hc-media img { transform: scale(1.14); }
.hub-card .hc-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0, 19, 31, .35), transparent 70%); }
.hub-card .hc-l {
  position: absolute; top: 12px; left: 12px; z-index: 1; width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff;
  background: rgba(0, 19, 31, .55); border: 1px solid rgba(244, 244, 244, .25); backdrop-filter: blur(6px);
}
.hub-card .hc-body { padding: 26px 26px 24px; display: flex; flex-direction: column; }
.hub-card .hc-sub { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.hub-card h3 { font-size: clamp(19px, 2vw, 23px); color: var(--navy); margin: 8px 0 10px; line-height: 1.15; }
.hub-card p { font-size: 13.8px; color: var(--gray); flex: 1; }
.hub-card .hc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 16px; }
.hub-card .hc-tags span { font-size: 11.5px; color: var(--navy); background: var(--light); border-radius: 100px; padding: 5px 12px; }
.hub-card .more { font-size: 13px; font-weight: 600; color: var(--orange); display: inline-flex; align-items: center; gap: 7px; }
.hub-card .more .arr { transition: transform .35s var(--ease); }
.hub-card:hover .more .arr { transform: translateX(5px); }

/* =====================================================================
   SPECIALIZED EXPERTISE — card grid
   ===================================================================== */
.xp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 26px); }
.xp-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.xp-card:hover { transform: translateY(-7px); box-shadow: 0 30px 60px rgba(0, 42, 66, .15); border-color: rgba(0, 59, 92, .2); }
.xp-card .xp-media { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; background: var(--navy-deep); }
.xp-card .xp-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.2s var(--ease); }
.xp-card:hover .xp-media img { transform: scale(1.12); }
.xp-card .xp-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 19, 31, .55), transparent 55%); }
.xp-card .xp-no {
  position: absolute; top: 14px; left: 14px; z-index: 1; width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; color: #fff;
  background: rgba(0, 19, 31, .55); border: 1px solid rgba(244, 244, 244, .25); backdrop-filter: blur(6px);
}
.xp-card .xp-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.xp-card .xp-sub { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.xp-card h3 { font-size: clamp(19px, 2vw, 23px); color: var(--navy); margin: 8px 0 12px; line-height: 1.15; }
.xp-card p { font-size: 13.8px; color: var(--gray); }
.xp-card .xp-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.xp-card .xp-tags span { font-size: 11.5px; color: var(--navy); background: var(--light); border-radius: 100px; padding: 5px 12px; }

/* =====================================================================
   ABOUT — Vision/Mission, Branch journey, Market cards
   ===================================================================== */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 28px); }
.vm-card {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(28px, 3.5vw, 44px); box-shadow: 0 18px 44px rgba(0, 42, 66, .06);
}
.vm-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); }
.vm-card .vm-label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--cerulean); font-weight: 600; }
.vm-card h3 { font-size: clamp(20px, 2.3vw, 28px); color: var(--navy); margin: 16px 0 16px; line-height: 1.14; }
.vm-card p { font-size: 14.5px; color: var(--gray); }
.vm-card p + p { margin-top: 14px; }

.journey { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: clamp(30px, 4vw, 46px); }
.jstop { display: flex; flex-direction: column; align-items: center; gap: 11px; padding: 0 clamp(6px, 1.4vw, 14px); }
.jstop .jdot { width: 15px; height: 15px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 107, 52, .18); }
.jstop .jname { font-family: var(--display); font-weight: 700; font-size: clamp(13px, 1.5vw, 17px); color: #fff; letter-spacing: .02em; white-space: nowrap; }
.jline { flex: 1 1 24px; min-width: 16px; height: 2px; background: linear-gradient(90deg, rgba(255, 107, 52, .55), rgba(74, 166, 216, .45)); }

.mkt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 24px); }
.mkt-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 24px 28px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.mkt-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(0, 42, 66, .13); border-color: rgba(0, 59, 92, .2); }
.mkt-card .mkt-tag { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-weight: 600; align-self: flex-start; }
.mkt-card.primary .mkt-tag { color: #fff; background: var(--orange); padding: 5px 11px; border-radius: 100px; }
.mkt-card h3 { font-size: 19px; color: var(--navy); margin: 11px 0 10px; }
.mkt-card p { font-size: 13.3px; color: var(--gray); flex: 1; }

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */
.contact-main { background: var(--light); padding: clamp(60px, 8vw, 110px) 0; }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(22px, 3vw, 38px); align-items: stretch; }
.contact-aside {
  position: relative; overflow: hidden; color: var(--offwhite); border-radius: 26px;
  padding: clamp(30px, 4vw, 46px); display: flex; flex-direction: column;
  background: radial-gradient(120% 130% at 15% 10%, #05314c 0%, var(--navy) 48%, var(--navy-900) 100%);
}
.contact-aside .eyebrow { color: var(--cerulean-soft); }
.contact-aside h2 { color: #fff; font-size: clamp(23px, 2.7vw, 34px); margin: 16px 0 14px; line-height: 1.14; }
.contact-aside .lead-p { color: rgba(244, 244, 244, .82); font-size: 14.5px; font-weight: 300; max-width: 44ch; }
.ci-list { display: grid; gap: 15px; margin-top: clamp(24px, 3vw, 32px); margin-bottom: clamp(22px, 3vw, 30px); }
.ci-item { display: flex; gap: 14px; align-items: flex-start; }
.ci-item .ci-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(4, 123, 193, .16); border: 1px solid rgba(74, 166, 216, .2); color: var(--cerulean-soft); display: grid; place-items: center; }
.ci-item .ci-ic svg { width: 20px; height: 20px; }
.ci-item b { display: block; color: #fff; font-size: 14.5px; margin-bottom: 2px; }
.ci-item p, .ci-item a { display: block; font-size: 13.3px; color: rgba(244, 244, 244, .72); }
.ci-item a:hover { color: #fff; }
.contact-aside .aq { font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.9vw, 21px); color: #fff; margin-top: auto; padding-left: 18px; border-left: 2px solid var(--orange); }

.cform-card { display: flex; flex-direction: column; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(26px, 3.4vw, 42px); box-shadow: 0 26px 60px rgba(0, 42, 66, .08); }
form.cform { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform .field { display: flex; flex-direction: column; gap: 8px; }
.cform .field.full { grid-column: 1 / -1; }
.cform label { font-size: 12.5px; color: var(--gray); font-weight: 500; letter-spacing: .01em; }
.cform input, .cform select, .cform textarea {
  font-family: var(--body); font-size: 14.5px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 11px; padding: 13px 15px; width: 100%;
  transition: border-color .3s, box-shadow .3s;
}
.cform textarea { min-height: 120px; resize: vertical; }
.cform input::placeholder, .cform textarea::placeholder { color: #9aa7b0; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 107, 52, .12); }
.cform select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ff6b34' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.cform .submit-btn { grid-column: 1 / -1; font-family: var(--body); font-size: 15px; font-weight: 500; padding: 16px; border: none; border-radius: 100px; background: var(--orange); color: #fff; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cform .submit-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(255, 107, 52, .34); }
.cform .form-note { grid-column: 1 / -1; font-size: 12px; color: var(--gray); text-align: center; margin-top: 2px; }
.cform .success { grid-column: 1 / -1; display: none; text-align: center; padding: 16px 0; }
.cform .success h3 { color: var(--navy); font-size: 22px; margin-bottom: 8px; }
.cform .success p { color: var(--gray); font-weight: 300; }

.steps-band { background: var(--paper); padding: clamp(58px, 8vw, 104px) 0; }
.steps-head { text-align: center; max-width: 60ch; margin: 0 auto clamp(34px, 5vw, 52px); display: flex; flex-direction: column; align-items: center; }
.steps-head h2 { color: var(--navy); font-size: clamp(24px, 3vw, 38px); margin-top: 14px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 34px rgba(0, 42, 66, .05); }
.step .snum { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--light); -webkit-text-stroke: 1px var(--cerulean); }
.step h4 { font-family: var(--display); font-size: 17px; color: var(--navy); margin: 10px 0 8px; }
.step p { font-size: 13.5px; color: var(--gray); }
.offices { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 3vw, 44px); margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(30px, 4vw, 44px); border-top: 1px solid var(--line); }
.office { text-align: center; }
.office b { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--navy); display: block; }
.office span { font-size: 12px; color: var(--gray); letter-spacing: .04em; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .svc-intro-grid { grid-template-columns: 1fr; }
  .svc-intro-media { aspect-ratio: 16 / 10; order: -1; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-grid { grid-template-columns: 1fr; }
  .xp-grid { grid-template-columns: 1fr; }
  .mkt-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hub-intro-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .mega { width: min(680px, 94vw); }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(84vw, 360px);
    height: 100vh; height: 100dvh;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 6px; padding: 96px 30px 40px; background: var(--navy-deep);
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .4); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { transform: none; }
  .nav-links > a:not(.nav-cta) { color: rgba(244, 244, 244, .9); font-size: 17px; padding: 8px 0; }
  .nav-cta { margin-top: 14px; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; width: 30px; height: 22px;
    justify-content: center; cursor: pointer; z-index: 220; background: none; border: none;
  }
  .nav-toggle span { height: 2px; width: 100%; background: var(--offwhite); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
  .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); }

  /* mega becomes an inline accordion list inside the drawer */
  .nav-drop { width: 100%; }
  .nav-drop-trigger { width: 100%; justify-content: space-between; font-size: 17px; color: rgba(244, 244, 244, .9); padding: 8px 0; }
  .mega {
    position: static !important; left: auto !important; right: auto !important; top: auto !important;
    transform: none !important; width: 100%; max-width: 100%;
    opacity: 1; visibility: visible; pointer-events: auto; transition: none !important;
    background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: none; box-shadow: none;
    padding: 0; display: none; margin-top: 0;
  }
  .nav-drop.open .mega { display: block; margin: 6px 0 10px; }
  .nav-drop:hover .mega { opacity: 1; } /* no hover open on touch */
  .mega::before { display: none; }
  .mega-head { display: block; padding: 2px 10px 12px; margin-bottom: 6px; }
  .mega-head .mh-s { padding: 0; }
  .mega-head .mh-all { margin-top: 10px; }
  .mega-grid { grid-template-columns: 1fr; gap: 2px; }
  .mega-item { padding: 9px 10px; }
  .next-grid { grid-template-columns: 1fr; gap: 18px; text-align: left; }
  .next-link.is-next { text-align: left; align-items: flex-start; }
  .next-all { display: none; }
  .cta-pill { grid-template-columns: 1fr; text-align: left; }
  .hub-card { grid-template-columns: 1fr; }
  .hub-card .hc-media { aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
  .caps-grid { grid-template-columns: 1fr; }
  .mkt-grid { grid-template-columns: 1fr; }
  form.cform { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; gap: 26px; }
  .foot-bar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .svc-hero .hero-ctas .btn, .hub-hero .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .cta-pill .btn { width: 100%; justify-content: center; }
  .wrap { width: 92vw; }
}
