/* ============================================================
   APTR GLOBAL CONSULTANTS — Brand Redesign
   Dominant WHITE · Navy #00276A · Blue #305FB0 · Amber #FFA600
   Display: Bricolage Grotesque · Text: Hanken Grotesk
   Bright, minimal, optimistic — yet seriously corporate.
   ============================================================ */

:root {
  /* brand */
  --navy: #00276a;
  --navy-700: #06317e;
  --navy-600: #103f93;
  --blue: #305fb0;
  --blue-500: #4a78c8;
  --blue-tint: #eaf0fa;
  --amber: #ffa600;
  --amber-600: #e89500;
  --amber-tint: #fff3dc;
  --ink: #333333;
  --ink-soft: #5a6173;

  /* neutrals — white dominant */
  --white: #ffffff;
  --paper: #f7f9fc;
  --paper-2: #eef2f8;
  --muted: #6b7280;
  --muted-2: #9aa3b2;
  --line: #e7ecf3;
  --line-dk: rgba(255, 255, 255, 0.16);

  --container: 1240px;
  --radius: 8px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --shadow-sm:
    0 1px 2px rgba(0, 39, 106, 0.05), 0 2px 6px rgba(0, 39, 106, 0.04);
  --shadow-md: 0 16px 40px -18px rgba(0, 39, 106, 0.22);
  --shadow-lg: 0 36px 70px -28px rgba(0, 39, 106, 0.32);
  --shadow-amber: 0 16px 34px -14px rgba(255, 166, 0, 0.55);

  --ff-display: "Bricolage Grotesque", "Schibsted Grotesk", sans-serif;
  --ff-text: "Hanken Grotesk", "Helvetica Neue", Helvetica, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ff-text);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
}
h3,
h4,
h5 {
  font-weight: 600;
}

p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

/* ---------- kicker ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-text);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 22px;
  background: var(--amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.4 7.1H22l-6 4.4 2.3 7.1-6.3-4.5L5.7 20.6 8 13.5 2 9.1h7.6z'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.4 7.1H22l-6 4.4 2.3 7.1-6.3-4.5L5.7 20.6 8 13.5 2 9.1h7.6z'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.kicker.on-dark {
  color: var(--amber);
}
.kicker.on-dark::before {
  background: var(--amber);
}
.kicker.centered {
  justify-content: center;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--ff-text);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--amber-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-amber);
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-600);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(0, 39, 106, 0.6);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.7);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
}
.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(5px);
}

/* ============================================================
   DECORATIVE GRAPHICS
   ============================================================ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.dotgrid {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(currentColor 1.4px, transparent 1.4px);
  background-size: 18px 18px;
}
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid currentColor;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}
.deco-plus {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  color: var(--amber);
}
.deco-plus svg {
  width: 100%;
  height: 100%;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 26px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--amber);
}
.topbar a:hover {
  color: #fff;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-social {
  display: flex;
  gap: 14px;
}
.topbar-social a {
  display: inline-flex;
  opacity: 0.78;
  transition: opacity 0.2s;
}
.topbar-social a:hover {
  opacity: 1;
}
.topbar-social svg {
  width: 15px;
  height: 15px;
}
.topbar-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--amber);
  font-weight: 700;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition:
    box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.97);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease);
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
}
/* dark contexts: seat the full-colour mark on a soft white tile so it pops on navy */
.footer .brand-mark,
.mobile-menu .brand-mark {
  background: #fff;
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.5);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.04;
}
.brand-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.brand-sub {
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--amber);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover {
  color: var(--navy);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: 0.3s var(--ease);
}

/* ---------- nav dropdowns / mega menu ---------- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item.has-mega {
  position: static;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-text);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  position: relative;
  line-height: 1;
}
.nav-trigger .chev {
  width: 15px;
  height: 15px;
  transition: transform 0.32s var(--ease);
  color: var(--muted-2);
}
.nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--amber);
  transition: width 0.3s var(--ease);
}
.nav-item:hover .nav-trigger,
.nav-item.open .nav-trigger {
  color: var(--navy);
}
.nav-item:hover .nav-trigger .chev,
.nav-item.open .nav-trigger .chev {
  color: var(--blue);
}
.nav-item.open .nav-trigger .chev {
  transform: rotate(180deg);
}
.nav-item.open .nav-trigger::after {
  width: 100%;
}

/* shared panel motion */
.dropdown,
.mega {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s var(--ease),
    transform 0.34s var(--ease),
    visibility 0.28s;
}
.nav-item.open .dropdown,
.nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* compact list dropdown (Services) */
.dropdown {
  position: absolute;
  top: calc(100% + 30px);
  left: 50%;
  width: 354px;
  border-radius: 22px;
  padding: 14px;
  transform: translateX(-50%) translateY(10px);
}
.nav-item.open .dropdown {
  transform: translateX(-50%) translateY(0);
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -32px;
  left: 0;
  right: 0;
  height: 32px;
}
.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 13px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy);
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    padding 0.2s var(--ease);
  white-space: nowrap;
}
.dropdown a > span:first-child {
  flex: 1 1 auto;
}
.dropdown a .dd-meta {
  flex: none;
  font-family: var(--ff-text);
  font-weight: 600;
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.01em;
}
.dropdown a:hover {
  background: var(--blue-tint);
  padding-left: 20px;
}
.dropdown a:hover .dd-meta {
  color: var(--blue);
}
.dropdown a.dd-all {
  justify-content: flex-start;
  gap: 9px;
  background: var(--navy);
  color: #fff;
  margin-top: 8px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 14.5px;
}
.dropdown a.dd-all svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
  transition: transform 0.3s var(--ease);
}
.dropdown a.dd-all:hover {
  background: var(--navy-600);
  padding-left: 16px;
}
.dropdown a.dd-all:hover svg {
  transform: translateX(4px);
}

/* full-width mega (Sectors) */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  right: 0;
  border-radius: var(--radius-xl);
  padding: 30px;
  transform: translateY(12px);
}
.nav-item.open .mega {
  transform: translateY(0);
}
.mega::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.mega-inner {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 32px;
}

.mega a.mega-feature {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(158deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 38px 34px 34px;
  display: flex;
  flex-direction: column;
  min-height: 318px;
}
.mega-feature .mf-blob {
  position: absolute;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  pointer-events: none;
}
.mega-feature .mf-blob.b1 {
  width: 220px;
  height: 220px;
  right: -78px;
  bottom: -88px;
  background: var(--amber);
  opacity: 0.92;
}
.mega-feature .mf-blob.b2 {
  width: 140px;
  height: 140px;
  right: 30px;
  bottom: -10px;
  background: var(--amber-600);
  opacity: 0.5;
  border-radius: 56% 44% 48% 52% / 44% 56% 44% 56%;
}
.mega-feature .kicker.on-dark {
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}
.mega-feature h3 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 25px;
  line-height: 1.18;
  max-width: 14ch;
}
.mega-feature p {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
  margin-top: 14px;
  max-width: 22ch;
}
.mega-feature .mf-link {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}
.mega-feature .mf-arr {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amber);
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: transform 0.3s var(--ease);
}
.mega-feature .mf-arr svg {
  width: 16px;
  height: 16px;
}
.mega-feature:hover .mf-arr {
  transform: translate(3px, -3px);
}

.mega-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
  align-content: start;
  padding: 38px 6px 8px 0;
}
.mega-col h6 {
  font-family: var(--ff-text);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mega-col a {
  display: block;
  padding: 9px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  white-space: nowrap;
  transition:
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
  position: relative;
}
.mega-col a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  transition: transform 0.2s var(--ease);
}
.mega-col a:hover {
  color: var(--blue);
  transform: translateX(14px);
}
.mega-col a:hover::before {
  transform: translateY(-50%) scale(1);
}

/* mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 28px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
}
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 48px;
}
.mobile-links a {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dk);
}
.mobile-links a:hover {
  color: var(--amber);
  padding-left: 8px;
  transition: 0.25s var(--ease);
}
.mobile-foot {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ============================================================
   HERO — bright white
   ============================================================ */
.hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px);
}
.hero .blob.b1 {
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: var(--amber);
  opacity: 0.14;
}
.hero .blob.b2 {
  bottom: -160px;
  left: -120px;
  width: 460px;
  height: 460px;
  background: var(--blue);
  opacity: 0.12;
}
.hero .dotgrid {
  top: 40px;
  left: 46%;
  width: 180px;
  height: 130px;
  color: var(--blue);
  opacity: 0.25;
}
.hero .deco-ring.r1 {
  width: 120px;
  height: 120px;
  bottom: 90px;
  right: 8%;
  color: var(--amber);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-tint);
  border: 1px solid #d8e3f6;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 26px;
}
.hero-badge b {
  color: var(--blue);
  font-weight: 800;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-tint);
}
.hero h1 {
  color: var(--navy);
  font-size: clamp(33px, 4.2vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 700;
  padding-bottom: 2px;
}
.hero h1 .accent {
  color: var(--amber);
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline {
  position: relative;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 10px;
  background: var(--amber);
  opacity: 0.9;
  border-radius: 6px;
  z-index: -1;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.3s;
}
.reveal.pending .underline::after {
  transform: scaleX(0);
}
.hero-lede {
  margin-top: 30px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 31em;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
}
.hero-trust .avatars {
  display: flex;
}
.hero-trust .avatars span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -12px;
  background: var(--blue);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  font-family: var(--ff-text);
  box-shadow: var(--shadow-sm);
}
.hero-trust .avatars span:first-child {
  margin-left: 0;
}
.hero-trust .avatars span.amber {
  background: var(--amber);
  color: var(--navy);
}
.hero-trust strong {
  color: var(--navy);
}
.hero-trust .stars {
  color: var(--amber);
  letter-spacing: 2px;
}

/* hero visual */
.hero-visual {
  position: relative;
}
.hero-visual image-slot {
  width: 100%;
  height: 520px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.hero-visual .frame-accent {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  z-index: 1;
}
.hero-visual .frame-dots {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 90px;
  height: 90px;
  color: var(--amber);
  opacity: 0.5;
  z-index: 0;
}
.hero-float {
  position: absolute;
  z-index: 3;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
}
.hero-float.tl {
  top: 26px;
  left: -30px;
}
.hero-float.br {
  bottom: 30px;
  right: -26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-float .hf-num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  line-height: 1;
}
.hero-float .hf-lbl {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}
.hero-float .hf-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amber-tint);
  display: grid;
  place-items: center;
  color: var(--amber-600);
}
.hero-float .hf-ic svg {
  width: 22px;
  height: 22px;
}

/* ============================================================
   PROOF STRIP
   ============================================================ */
.proof {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.proof .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.proof-label {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}
.proof-items {
  display: flex;
  gap: clamp(24px, 4vw, 52px);
  flex-wrap: wrap;
  align-items: center;
}
.proof-items span {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  opacity: 0.55;
  letter-spacing: -0.01em;
}

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.section {
  padding: clamp(64px, 8vw, 116px) 0;
  position: relative;
  overflow: hidden;
}
.section.paper {
  background: var(--paper);
}
.section.navy {
  background: var(--navy);
  color: #fff;
}
.section-head {
  max-width: 660px;
}
.section-head.centered {
  margin: 0 auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  margin-top: 16px;
  font-weight: 700;
}
.section.navy .section-head h2 {
  color: #fff;
}
.section-head p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 18px;
}
.section.navy .section-head p {
  color: rgba(255, 255, 255, 0.74);
}

/* ============================================================
   STATS — bright cards on white
   ============================================================ */
.stats {
  background: var(--white);
  padding: clamp(40px, 5vw, 64px) 0;
  position: relative;
}
.stats-inner {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stats-inner .blob {
  top: -60%;
  right: -10%;
  width: 360px;
  height: 360px;
  background: var(--blue);
  opacity: 0.4;
}
.stats-inner .deco-plus {
  top: 18px;
  left: 30px;
  width: 22px;
  height: 22px;
  opacity: 0.6;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 2;
}
.stat {
  padding: 42px 30px;
  text-align: center;
  border-right: 1px solid var(--line-dk);
}
.stat:last-child {
  border-right: none;
}
.stat-num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat-num .suffix {
  color: var(--amber);
}
.stat-label {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-visual image-slot {
  width: 100%;
  height: 540px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}
.about-visual .accent-block {
  position: absolute;
  bottom: -22px;
  left: -22px;
  width: 170px;
  height: 170px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--amber), var(--amber-600));
  z-index: 1;
}
.about-visual .dotgrid {
  top: -24px;
  right: -20px;
  width: 110px;
  height: 90px;
  color: var(--blue);
  opacity: 0.35;
  z-index: 0;
}
.about-badge {
  position: absolute;
  top: 26px;
  right: -24px;
  z-index: 3;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-badge .ab-num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--navy);
  line-height: 1;
}
.about-badge .ab-lbl {
  font-size: 12px;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.3;
}
.about-points {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}
.about-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-point .ck {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--blue-tint);
  display: grid;
  place-items: center;
  color: var(--blue);
  margin-top: 2px;
}
.about-point .ck svg {
  width: 17px;
  height: 17px;
}
.about-point h4 {
  font-size: 18px;
  margin-bottom: 3px;
  color: var(--navy);
}
.about-point p {
  color: var(--ink-soft);
  font-size: 15.5px;
}
.about-cta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.sig {
  display: flex;
  flex-direction: column;
}
.sig .sig-name {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
}
.sig .sig-role {
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
  z-index: 2;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 0;
  background: var(--amber);
  transition: width 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::after {
  width: 100%;
}
.service-ic {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-tint);
  display: grid;
  place-items: center;
  color: var(--blue);
  margin-bottom: 22px;
  transition: 0.4s var(--ease);
}
.service-card:hover .service-ic {
  background: var(--navy);
  color: var(--amber);
  transform: rotate(-6deg);
}
.service-ic svg {
  width: 26px;
  height: 26px;
}
.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--navy);
}
.service-card p {
  color: var(--ink-soft);
  font-size: 15.5px;
}
.service-num {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--paper-2);
}
.service-card .link-arrow {
  margin-top: 20px;
}

.service-card.feature {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.service-card.feature::after {
  background: var(--amber);
  width: 100%;
}
.service-card.feature h3 {
  color: #fff;
}
.service-card.feature p {
  color: rgba(255, 255, 255, 0.76);
}
.service-card.feature .service-ic {
  background: var(--amber);
  color: var(--navy);
}
.service-card.feature:hover .service-ic {
  background: #fff;
  color: var(--navy);
}
.service-card.feature .service-num {
  color: rgba(255, 255, 255, 0.22);
}
.service-card.feature .link-arrow {
  color: var(--amber);
}

/* ============================================================
   VALUES (navy section)
   ============================================================ */
.section.navy .blob {
  top: -20%;
  left: -8%;
  width: 420px;
  height: 420px;
  background: var(--blue);
  opacity: 0.35;
}
.section.navy .dotgrid {
  bottom: 30px;
  right: 4%;
  width: 150px;
  height: 110px;
  color: #fff;
  opacity: 0.12;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
  z-index: 2;
}
.value {
  padding: 34px 28px;
  border-left: 1px solid var(--line-dk);
}
.value:first-child {
  border-left: none;
  padding-left: 0;
}
.value-ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dk);
  display: grid;
  place-items: center;
  color: var(--amber);
  margin-bottom: 18px;
}
.value-ic svg {
  width: 24px;
  height: 24px;
}
.value-num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.1em;
}
.value h3 {
  color: #fff;
  font-size: 21px;
  margin: 6px 0 10px;
}
.value p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

/* ============================================================
   SECTORS
   ============================================================ */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
  position: relative;
  z-index: 2;
}
.sector {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  transition: 0.35s var(--ease);
}
.sector:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.sector:hover h4 {
  color: #fff;
}
.sector:hover .sector-ic {
  background: var(--amber);
  color: var(--navy);
}
.sector:hover .sector-meta {
  color: rgba(255, 255, 255, 0.64);
}
.sector-ic {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--blue-tint);
  display: grid;
  place-items: center;
  color: var(--blue);
  transition: 0.35s var(--ease);
}
.sector-ic svg {
  width: 25px;
  height: 25px;
}
.sector h4 {
  font-size: 17px;
  transition: color 0.35s var(--ease);
  color: var(--navy);
}
.sector-meta {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 2px;
  transition: color 0.35s var(--ease);
}

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.cert-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.cert-badge .cb-ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
  color: var(--amber);
  flex: none;
}
.cert-badge .cb-ic svg {
  width: 23px;
  height: 23px;
}
.cert-badge .cb-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}
.cert-badge .cb-sub {
  font-size: 12px;
  color: var(--muted);
}
.cert-list {
  padding: 0;
  margin-top: 26px;
  display: grid;
  gap: 14px;
}
.cert-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  list-style: none;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.cert-list .ck {
  color: var(--blue);
  flex: none;
  margin-top: 3px;
}
.cert-list .ck svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
  z-index: 2;
}
.tst {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 34px 30px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: 0.35s var(--ease);
}
.tst:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tst .quote-mark {
  font-family: var(--ff-display);
  font-size: 56px;
  line-height: 0.8;
  color: var(--amber);
  height: 34px;
  display: block;
}
.tst-stars {
  color: var(--amber);
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-size: 15px;
}
.tst p {
  font-size: 16.5px;
  color: var(--ink);
  line-height: 1.6;
}
.tst-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.tst-ava {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 16px;
  flex: none;
}
.tst-ava.amber {
  background: var(--amber);
  color: var(--navy);
}
.tst-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}
.tst-role {
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-wrap {
  padding: clamp(40px, 6vw, 90px) 0;
}
.cta-band {
  background:
    radial-gradient(
      120% 150% at 8% -20%,
      #7fa8e8 0%,
      rgba(127, 168, 232, 0) 46%
    ),
    radial-gradient(
      110% 140% at 100% 115%,
      #6e9be0 0%,
      rgba(110, 155, 224, 0) 44%
    ),
    radial-gradient(90% 120% at 78% -10%, #1d4fa8 0%, rgba(29, 79, 168, 0) 55%),
    linear-gradient(128deg, #0a3fa0 0%, var(--navy) 55%, #001b4a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(56px, 7vw, 96px) clamp(28px, 6vw, 84px);
  text-align: center;
}
.cta-band .flow-wave {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(56px);
}
.cta-band .flow-wave.w1 {
  top: -45%;
  left: -14%;
  width: 46%;
  height: 150%;
  background: radial-gradient(
    closest-side,
    #8fb4f0 0%,
    rgba(143, 180, 240, 0) 72%
  );
  transform: rotate(-22deg);
  opacity: 0.85;
}
.cta-band .flow-wave.w2 {
  bottom: -60%;
  right: -8%;
  width: 52%;
  height: 160%;
  background: radial-gradient(
    closest-side,
    #5c8bd9 0%,
    rgba(92, 139, 217, 0) 70%
  );
  transform: rotate(18deg);
  opacity: 0.9;
}
.cta-band .flow-wave.w3 {
  top: -30%;
  right: 24%;
  width: 34%;
  height: 110%;
  background: radial-gradient(
    closest-side,
    #3d6cc0 0%,
    rgba(61, 108, 192, 0) 70%
  );
  transform: rotate(30deg);
  opacity: 0.8;
}
.cta-band .flow-wave.w4 {
  bottom: -40%;
  left: 26%;
  width: 42%;
  height: 120%;
  background: radial-gradient(closest-side, #001640 0%, rgba(0, 22, 64, 0) 72%);
  transform: rotate(-12deg);
  opacity: 0.75;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 42px);
  text-wrap: balance;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 18px;
  font-size: 17px;
  max-width: 38em;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 32px;
  margin-top: 34px;
}
.cta-actions .btn {
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.45);
}
.cta-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.cta-phone .cp-ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--amber);
  flex: none;
}
.cta-phone .cp-num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 18px;
}
.cta-phone .cp-lbl {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.64);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
.footer .blob {
  top: -30%;
  right: -6%;
  width: 360px;
  height: 360px;
  background: var(--blue);
  opacity: 0.25;
}
.footer .container {
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.footer .brand-name {
  color: #fff;
}
.footer .brand-sub {
  color: var(--amber);
}
.footer-about {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.65;
  max-width: 30em;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-dk);
  display: grid;
  place-items: center;
  transition: 0.25s var(--ease);
}
.footer-social a:hover {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}
.footer h5 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 22px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}
.footer-col a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  transition: 0.2s;
}
.footer-col a:hover {
  color: var(--amber);
  padding-left: 4px;
}
.footer-contact {
  display: grid;
  gap: 18px;
}
.footer-contact-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 15px;
}
.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
  flex: none;
  margin-top: 3px;
}
.footer-contact-item .fci-lbl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-bar {
  margin-top: 56px;
  border-top: 1px solid var(--line-dk);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13.5px;
  color: var(--muted-2);
  position: relative;
  z-index: 2;
}
.footer-bar a:hover {
  color: #fff;
}

/* ============================================================
   reveal animation
   ============================================================ */
/* Content is VISIBLE by default. JS hides only BELOW-the-fold elements
   (.pending) so above-fold content is always painted immediately and can
   never be trapped hidden. Pending elements animate in when scrolled to. */
.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.pending {
  opacity: 0;
  transform: translateY(26px);
}
.reveal.d1 {
  transition-delay: 0.08s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
.reveal.d3 {
  transition-delay: 0.24s;
}
html.no-trans .reveal {
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.pending {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
  .hero h1 .underline::after {
    transform: scaleX(1);
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .about-grid,
  .certs-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
  .value {
    border-top: 1px solid var(--line-dk);
    padding: 30px 0;
  }
  .value:first-child,
  .value:nth-child(2) {
    border-top: none;
  }
  .value:nth-child(2) {
    border-left: 1px solid var(--line-dk);
    padding-left: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 880px) {
  .topbar-left .topbar-item.hide-sm {
    display: none;
  }
  .nav-links,
  .nav-cta .btn {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .services-grid,
  .sectors-grid,
  .tst-grid,
  .stats-grid,
  .cert-badges {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: none;
  }
  .stat {
    border-top: 1px solid var(--line-dk);
  }
  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-top: none;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .container {
    padding: 0 20px;
  }
  .services-grid,
  .sectors-grid,
  .tst-grid,
  .stats-grid,
  .values-grid,
  .cert-badges {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: none;
  }
  .value {
    border-left: none !important;
    padding-left: 0 !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .topbar-left {
    gap: 14px;
  }
  .topbar-item span.full {
    display: none;
  }
}

/* ============================================================
   SUBPAGE COMPONENTS  (About / Services / Contact / Careers)
   ============================================================ */
.nav-links a.active::after {
  width: 100%;
}
.nav-trigger.active {
  color: var(--navy);
}
.nav-trigger.active::after {
  width: 100%;
}
.nav-trigger.active .chev {
  color: var(--blue);
}

/* ---- page hero / banner ---- */
.page-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: clamp(54px, 7vw, 92px) 0 clamp(54px, 7vw, 84px);
}
.page-hero .blob {
  top: -30%;
  right: -6%;
  width: 460px;
  height: 460px;
  background: var(--blue);
  opacity: 0.4;
}
.page-hero .blob.amber {
  bottom: -50%;
  left: -8%;
  width: 380px;
  height: 380px;
  background: var(--amber);
  opacity: 0.16;
}
.page-hero .dotgrid {
  bottom: 24px;
  right: 5%;
  width: 150px;
  height: 110px;
  color: #fff;
  opacity: 0.12;
}
.page-hero .deco-ring {
  width: 200px;
  height: 200px;
  top: -60px;
  left: 40%;
  color: #fff;
  opacity: 0.1;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
  font-weight: 600;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb .sep {
  opacity: 0.45;
}
.breadcrumb .here {
  color: var(--amber);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 17ch;
}
.page-hero .ph-lede {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 50ch;
}
.page-hero .ph-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- generic prose + split ---- */
.lead {
  font-size: clamp(18px, 2vw, 23px);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}
.prose p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-top: 18px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.split.narrow-left {
  grid-template-columns: 0.9fr 1.1fr;
}
.media-frame {
  position: relative;
}
.media-frame image-slot {
  width: 100%;
  height: 480px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}
.media-frame .accent-block {
  position: absolute;
  bottom: -22px;
  right: -22px;
  width: 160px;
  height: 160px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--amber), var(--amber-600));
  z-index: 1;
}
.media-frame .dotgrid {
  top: -24px;
  left: -20px;
  width: 110px;
  height: 90px;
  color: var(--blue);
  opacity: 0.35;
  z-index: 0;
}

/* ---- forms ---- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 3.4vw, 44px);
  position: relative;
}
.site-form {
  display: grid;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field > label {
  font-family: var(--ff-text);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.field > label .req {
  color: var(--amber-600);
  margin-left: 2px;
}
.field input,
.field select,
.field textarea {
  font-family: var(--ff-text);
  font-size: 15.5px;
  color: var(--ink);
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.field textarea {
  min-height: 138px;
  resize: vertical;
  line-height: 1.55;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px var(--blue-tint);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300276A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}
.field .err {
  font-size: 12.5px;
  color: #d6453f;
  display: none;
  font-weight: 600;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #d6453f;
  background: #fdf3f2;
}
.field.invalid .err {
  display: block;
}
.field.full {
  grid-column: 1 / -1;
}
/* file field */
.field-file input[type="file"] {
  display: none;
}
.file-drop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  transition: 0.2s var(--ease);
}
.file-drop:hover {
  border-color: var(--blue);
  background: var(--blue-tint);
}
.file-drop .fd-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--blue);
  flex: none;
}
.file-drop .fd-ic svg {
  width: 20px;
  height: 20px;
}
.file-drop .fd-txt {
  font-size: 14px;
  color: var(--ink-soft);
}
.file-drop .fd-txt b {
  color: var(--navy);
  display: block;
  font-size: 14.5px;
}
.field.invalid .file-drop {
  border-color: #d6453f;
  background: #fdf3f2;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--blue);
}
.consent label {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
}
.form-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.form-foot .btn {
  padding: 15px 32px;
}
.form-note {
  font-size: 13px;
  color: var(--muted);
}
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 10px;
}
.form-success.show {
  display: flex;
}
.site-form.sent {
  display: none;
}
.form-success .fs-ic {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--blue-tint);
  display: grid;
  place-items: center;
  color: var(--blue);
  margin-bottom: 18px;
}
.form-success .fs-ic svg {
  width: 32px;
  height: 32px;
}
.form-success h3 {
  font-size: 24px;
  color: var(--navy);
}
.form-success p {
  color: var(--ink-soft);
  margin-top: 10px;
  max-width: 34ch;
}

/* ---- contact info ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.info-list {
  display: grid;
  gap: 16px;
}
.info-item {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: 0.3s var(--ease);
}
.info-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.info-item .ii-ic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--navy);
  display: grid;
  place-items: center;
  color: var(--amber);
  flex: none;
}
.info-item .ii-ic svg {
  width: 22px;
  height: 22px;
}
.info-item h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
}
.info-item .ii-body,
.info-item .ii-body a {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
}
.info-item .ii-body a:hover {
  color: var(--blue);
}
.map-slot {
  margin-top: 16px;
}
.map-slot image-slot {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ---- jobs ---- */
.jobs-list {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}
.job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  transition: 0.3s var(--ease);
}
.job:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}
.job h3 {
  font-size: 20px;
  color: var(--navy);
}
.job-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.job-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 5px 13px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}
.job-tag.amber {
  color: var(--amber-600);
  background: var(--amber-tint);
}
.job .btn {
  white-space: nowrap;
}

/* ---- perks / culture ---- */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}
.perk {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: 0.3s var(--ease);
}
.perk:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}
.perk-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-tint);
  display: grid;
  place-items: center;
  color: var(--blue);
  margin-bottom: 18px;
}
.perk-ic svg {
  width: 25px;
  height: 25px;
}
.perk h3 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 8px;
}
.perk p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---- process steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 12px;
}
.step {
  position: relative;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step-num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--navy);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.step:nth-child(2) .step-num {
  background: var(--blue);
}
.step:nth-child(3) .step-num {
  background: var(--blue-500);
}
.step:nth-child(4) .step-num {
  background: var(--amber);
  color: var(--navy);
}
.step h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.step p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* ---- team ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 12px;
}
.team-card {
  text-align: left;
}
.team-card image-slot {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.team-card .tc-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-top: 16px;
}
.team-card .tc-role {
  font-size: 13.5px;
  color: var(--blue);
  font-weight: 600;
}

/* ---- service detail rows ---- */
.svc-detail {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  margin-top: 12px;
}
.svc-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}
.svc-row:nth-child(even) .svc-media {
  order: 2;
}
.svc-media {
  position: relative;
}
.svc-media image-slot {
  width: 100%;
  height: 380px;
  box-shadow: var(--shadow-md);
}
.svc-media .svc-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  background: var(--navy);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 100px;
}
.svc-copy .kicker {
  margin-bottom: 14px;
}
.svc-copy h2 {
  font-size: clamp(26px, 3vw, 38px);
}
.svc-copy p {
  color: var(--ink-soft);
  font-size: 16.5px;
  margin-top: 16px;
}
.svc-feat {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.svc-feat li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  list-style: none;
  color: var(--ink);
  font-size: 15.5px;
}
.svc-feat .ck {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--blue-tint);
  display: grid;
  place-items: center;
  color: var(--blue);
  margin-top: 1px;
}
.svc-feat .ck svg {
  width: 15px;
  height: 15px;
}
ul.svc-feat {
  padding: 0;
  margin-top: 22px;
}

/* ---- responsive ---- */
@media (max-width: 980px) {
  .split,
  .contact-grid,
  .svc-row {
    grid-template-columns: 1fr;
  }
  .svc-row:nth-child(even) .svc-media {
    order: 0;
  }
  .perks-grid,
  .steps,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-frame image-slot {
    height: 380px;
  }
}
@media (max-width: 620px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .job {
    grid-template-columns: 1fr;
  }
  .perks-grid,
  .steps,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MOTION & MICRO-INTERACTIONS  (subtle, global)
   ============================================================ */

/* scroll progress bar (element injected by main.js) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  z-index: 200;
  pointer-events: none;
  border-radius: 0 3px 3px 0;
  transition: width 0.12s linear;
}

/* primary button: soft sheen sweep on hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-18deg);
  pointer-events: none;
}
.btn-primary:hover::after {
  animation: btn-sheen 0.8s var(--ease);
}
@keyframes btn-sheen {
  to {
    left: 140%;
  }
}

/* arrow nudge inside any button on hover */
.btn svg {
  transition: transform 0.3s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}

/* card hover for hero stat cards (transform reserved for float anim) */
.hcard {
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.hcard:not(.media):hover {
  box-shadow: var(--shadow-lg);
}

/* social icons spring on hover */
.footer-social a {
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}
.footer-social a:hover {
  transform: translateY(-3px);
}

/* live pulse dot */
.pulse-dot {
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  opacity: 0.55;
  z-index: -1;
}

/* ---------- continuous, very subtle ambient motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes floaty {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-7px);
    }
  }
  @keyframes drift {
    0%,
    100% {
      transform: translate(0, 0) scale(1);
    }
    50% {
      transform: translate(22px, -16px) scale(1.06);
    }
  }
  @keyframes pulse-ring {
    0% {
      transform: scale(1);
      opacity: 0.5;
    }
    70%,
    100% {
      transform: scale(2.6);
      opacity: 0;
    }
  }
  .pulse-dot::after {
    animation: pulse-ring 2.4s var(--ease) infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }
  .btn-primary:hover::after {
    animation: none;
  }
}

/* ---------- contact image section ---------- */
.contact-image-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 10vh;
  min-height: 95vh;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.contact-image-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.contact-image-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  display: flex;
}

.contact-image-backdrop image-slot,
.contact-image-backdrop img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.contact-image-content {
  position: absolute;
  left: clamp(64px, 8vw, 116px);
  bottom: clamp(45px, 5vw, 85px);
  right: clamp(64px, 8vw, 116px);
  z-index: 1;
  max-width: var(--container);
}

.contact-image-box {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cib-rise 0.75s var(--ease) both;
}

@keyframes cib-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── top row ── */
.cib-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cib-pill {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--navy);
  border-radius: 100px;
  padding: 7px 16px;
  font-family: var(--ff-text);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.cib-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ff7a00;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  animation: cib-spin 18s linear infinite;
}

@keyframes cib-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ── heading ── */
.cib-heading {
  font-size: 32px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0;
  font-family: var(--ff-display);
}

.cib-highlight {
  display: inline;
  background: #ffe135;
  border-radius: 6px;
  padding: 1px 10px 3px;
  color: var(--navy);
}

/* ── footer row ── */
.cib-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cib-tagline {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

.cib-cta {
  align-self: flex-start;
}
.contact-image-box .cib-cta {
  background: #ffe135;
  color: var(--navy);
}
.contact-image-box .cib-cta:hover {
  background: #ffd700;
  color: var(--navy);
  box-shadow: 0 14px 30px -10px rgba(255, 166, 0, 0.5);
}
