@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url(/v2/assets/fonts/noto-serif-shell-0.ttf) format("truetype");
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(16px, 4vw, 52px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(10, 4, 22, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: var(--border-dark);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}
.logo {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.3px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.logo em {
  font-style: normal;
  color: var(--blue-light);
}
.logo .logo-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(244, 244, 246, 0.5);
  text-transform: uppercase;
}
.nav-center {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 100px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
}
.nav.scrolled .nav-center {
  border-color: transparent;
  background: transparent;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(244, 244, 246, 0.8);
  text-decoration: none;
  padding: 7px 15px;
  border-radius: 100px;
  transition:
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.services-menu {
  position: relative;
}
.services-menu summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.services-menu summary::-webkit-details-marker {
  display: none;
}
.services-menu summary::after {
  content: "⌄";
  font-size: 12px;
  transition: transform 0.2s;
}
.services-menu[open] summary::after {
  transform: rotate(180deg);
}
.services-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 244px;
  padding: 8px;
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  background: rgba(10, 4, 22, 0.97);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  z-index: 20;
}
.services-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(244, 244, 246, 0.82);
  font-size: 13px;
  text-decoration: none;
}
.services-dropdown a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.mobile-services {
  display: none;
  margin-left: auto;
}
.mobile-services .services-dropdown {
  left: auto;
  right: 0;
}
.nav-cta {
  height: 40px;
  padding: 0 22px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c2ff60;
  color: #000;
  border: 0;
  border-bottom: 3px solid #005df8;
  box-shadow: 0 10px 24px rgba(12, 15, 18, 0.18);
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    filter 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(12, 15, 18, 0.22);
  filter: brightness(0.99);
}
@media (max-width: 760px) {
  .nav-center {
    display: none;
  }
  .mobile-services {
    display: block;
  }
}
/* ≤700px the sticky bottom bar is the one persistent CTA, drop the nav button */
@media (max-width: 700px) {
  .nav-cta {
    display: none;
  }
}

footer {
  background: #0a0416;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 48px clamp(20px, 5vw, 60px) 28px;
}
footer .logo {
  font-size: 17px;
}
footer p {
  font-size: 13px;
  color: rgba(244, 244, 246, 0.62);
}
footer a {
  color: rgba(244, 244, 246, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}
footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(178px, 1.35fr) minmax(190px, 1.2fr) minmax(150px, 1fr) minmax(80px, .65fr) minmax(140px, .9fr);
  gap: clamp(24px, 3vw, 44px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}
.footer-brand p {
  margin-top: 12px;
  max-width: 34ch;
  line-height: 1.6;
}
.footer-col h4 {
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(244, 244, 246, 0.4);
  margin: 0 0 14px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 9px;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact svg {
  width: 15px;
  height: 15px;
  flex: none;
  stroke: var(--blue-light);
  fill: none;
  stroke-width: 2;
}
.footer-contact .footer-note {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(244, 244, 246, 0.42);
  line-height: 1.5;
}
.footer-base {
  max-width: 1180px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-base p {
  font-size: 12.5px;
}
.footer-base .footer-wide {
  flex-basis: 100%;
}
@media (max-width: 1020px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  footer {
    padding-top: 38px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* The original transparent header sits over a dark hero; keep it readable over the redesigned white hero. */
.nav,
footer {
  --font: "Noto Serif", Georgia, serif;
  --font-body: Inter, sans-serif;
  --blue-light: #7898eb;
  --border-dark: rgba(255, 255, 255, 0.1);
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #f4f4f6;
}
.nav {
  background: rgba(10, 4, 22, 0.96);
}
.site-header-space {
  height: 145rem;
}
footer .logo {
  color: #fff;
}
@media (max-width: 960px) {
  .nav-center {
    display: none;
  }
  .mobile-services {
    display: block;
  }
}
@media (max-width: 1100px) {
  .site-header-space {
    height: 92px;
  }
}
html {
  scroll-padding-top: 88px;
}
/* Header follows the redesigned page's electric blue and lime direction. */
.nav {
  top: 16px;
  left: clamp(20px, 3vw, 48px);
  right: clamp(20px, 3vw, 48px);
  height: 72px;
  padding: 0 24px;
  background: #fffffff5;
  border: 1px solid #e3e9fa;
  border-radius: 0 0 36px 0;
  box-shadow: 0 8px 30px #215bee0c;
  color: #111;
}
.nav.scrolled {
  background: #fffffff5;
  border-color: #dbe3f7;
  box-shadow: 0 8px 30px #215bee15;
}
.nav .logo {
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: #080808;
  align-items: center;
  gap: 10px;
}
.nav-brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: #2563ff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.nav-brand-mark img {
  width: 23.71px;
  height: 14.33px;
}
.nav .nav-center {
  border: 0;
  background: transparent;
  padding: 0;
  gap: 0;
  border-radius: 0;
}
.nav .nav-link {
  color: #20212a;
  border-radius: 4px;
  padding: 8px 12px;
}
.nav .nav-link:hover {
  color: #0052ff;
  background: #f0f3ff;
}
.nav .services-dropdown {
  background: #fff;
  border-color: #dbe3fa;
  box-shadow: 0 16px 40px #101e4b24;
}
.nav .services-dropdown a {
  color: #20212a;
}
.nav .services-dropdown a:hover {
  color: #0052ff;
  background: #f0f3ff;
}
.nav .nav-cta {
  background: #2563ff;
  color: #fff;
  border: 0;
  border-radius: 0 0 36px 0;
  box-shadow: none;
  height: 44px;
  padding: 0 24px;
}
.nav .nav-cta:hover {
  background: #0755ff;
  filter: none;
  box-shadow: none;
}
.nav .services-menu summary::after {
  color: #2563ff;
}
@media (max-width: 600px) {
  .nav {
    top: 12px;
    left: 12px;
    right: 12px;
    height: 64px;
    padding: 0 12px;
  }
  .nav .logo {
    font-size: 20px;
    gap: 8px;
  }
  .nav-brand-mark {
    width: 26px;
    height: 26px;
  }
  .nav-brand-mark img {
    width: 21px;
    height: 13px;
  }
  .nav .nav-link {
    padding: 8px;
  }
}
.nav .services-dropdown {
  max-height: calc(100dvh - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-group-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2563ff;
  padding: 14px 12px 4px;
}

/* Supplied AgentParker artwork; keep its original proportions. */
.nav .logo picture {
  display: block;
  line-height: 0;
}
.nav .logo picture img {
  display: block;
  width: 178px;
  height: auto;
  max-width: 100%;
}
@media (max-width: 600px) {
  .nav .logo picture img {
    width: 150px;
  }
}

.footer-wordmark { display: inline-block; line-height: 0; }
.footer-wordmark img { display: block; width: 178px; max-width: 100%; height: auto; }

/* Navigation v3: grouped services menu, current-page state, mobile CTA. */
.nav .services-mega {
  width: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  gap: 4px 8px;
  padding: 10px;
}
.nav .services-mega .nav-group {
  display: flex;
  flex-direction: column;
}
.nav .services-mega .nav-group-label {
  padding-top: 8px;
}
.nav .services-dropdown a {
  white-space: nowrap;
}
.nav .nav-link[aria-current="page"],
.nav .services-menu.is-current > summary {
  color: #0052ff;
  background: #f0f3ff;
}
.nav .services-dropdown a[aria-current="page"] {
  color: #0052ff;
  background: #f0f3ff;
  font-weight: 600;
}
.nav .mobile-services .services-dropdown {
  width: min(300px, calc(100vw - 24px));
}
.nav .services-dropdown .mobile-cta {
  margin-top: 12px;
  text-align: center;
  font-weight: 700;
  color: #fff;
  background: #2563ff;
  border-radius: 0 0 22px 0;
}
.nav .services-dropdown .mobile-cta:hover {
  color: #fff;
  background: #0755ff;
}
@media (max-width: 1100px) {
  .nav .nav-link {
    padding: 8px 9px;
  }
}

/* Expandable editorial navigation, adapted from the supplied menu. */
.nav { border-radius: 22px; background:#fff; box-shadow:0 1px 2px #1018280a, 0 12px 32px -8px #1018281a; }
.nav .nav-center .nav-mega-menu { position:static; }
.nav .nav-center .nav-link { border-radius:999px; font-weight:600; }
.nav .nav-center .nav-mega-menu[open] > summary { background:#f0f3ff; color:#0052ff; }
.nav .nav-center .services-mega { position:absolute; top:calc(100% - 1px); left:-1px; right:-1px; width:auto; max-height:calc(100dvh - 100px); padding:32px; grid-template-columns:1fr 1fr minmax(220px, 30%); gap:32px; border:1px solid #e3e9fa; border-top:1px solid #edf0f7; border-radius:0 0 22px 22px; box-shadow:0 18px 32px -12px #10182824; }
.nav:has(.nav-mega-menu[open]) { border-radius:22px 22px 0 0; }
.nav .services-mega .nav-group-label, .nav .mobile-panel .nav-group-label { align-self:flex-start; padding:6px 12px; border:1px solid #dfe5f2; border-radius:999px; color:#586174; font-size:11px; letter-spacing:.06em; margin-bottom:12px; }
.nav .services-mega .nav-group a { white-space:normal; padding:9px 0; border-radius:0; font-size:15px; line-height:1.4; font-weight:500; }
.nav .services-mega .nav-group a:hover { background:transparent; color:#0052ff; }
.nav .services-mega .nav-feature { position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; min-height:210px; padding:20px; border-radius:16px; color:#fff; background:#16152c; white-space:normal; }
.nav .services-mega .nav-feature img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.nav .services-mega .nav-feature:after { content:""; position:absolute; inset:30% 0 0; background:linear-gradient(transparent, #080b18dc); }
.nav .services-mega .nav-feature span { position:relative; z-index:1; font-size:14px; line-height:1.4; }
.nav .services-mega .nav-feature strong { display:block; margin-top:4px; font-size:15px; font-weight:600; }
.nav .services-mega .nav-feature:hover { color:#fff; }
.nav .mobile-services { position:static; }
.nav .mobile-services .mobile-panel { left:0; right:0; width:auto; padding:18px; border-radius:18px; }
.nav .mobile-panel .mobile-primary { display:grid; grid-template-columns:repeat(2,1fr); gap:2px; padding-bottom:14px; border-bottom:1px solid #edf0f7; }
.nav .mobile-panel .mobile-primary a { font-weight:500; font-size:15px; }
.nav .mobile-panel .mobile-groups { display:grid; grid-template-columns:1fr 1fr; gap:16px; padding-top:18px; }
.nav .mobile-panel .nav-group { min-width:0; }
.nav .mobile-panel .nav-group a { white-space:normal; line-height:1.35; padding:8px 0; }
.nav .mobile-panel .nav-group-label { margin-bottom:5px; }
.nav a:focus-visible, .nav summary:focus-visible { outline:3px solid #2563ff; outline-offset:3px; }
@media (max-width:480px) { .nav .mobile-panel .mobile-groups { grid-template-columns:1fr; gap:14px; } }
