@font-face {
  font-family: Gabarito;
  src: url('/assets/gabarito.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Onest;
  src: url('/assets/onest.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --geo-ink: #0B0D14;
  --geo-cream: #F6F1E8;
  --geo-blue: #2F5BFF;
  --geo-blue-light: #6F8CFF;
  --geo-sand: #EDE7DB;
  --geo-warm: #A9A8A3;
  --geo-gray: #565A67;
  --geo-night: #0B1F5C;
  --geo-orange: #FF7A3D;
  --geo-gutter: clamp(16px, 3.4vw, 48px);
}

:where(#navigation, .ed-page, .ed-home-proof, .ed-home-perspectives, .studio__roles) .m-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-height: 48px;
  padding: 8px 22px 8px 18px;
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: var(--geo-blue);
  color: var(--geo-cream);
  font: 600 16px/1.16 Onest, Arial, sans-serif;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
}
:where(#navigation, .ed-page, .ed-home-proof, .ed-home-perspectives, .studio__roles) .m-btn::before {
  content: "";
  flex: none;
  width: 1.365em;
  height: 1.365em;
  background: url('/assets/geoad-orange.svg') center/contain no-repeat;
}
:where(#navigation, .ed-page, .ed-home-proof, .ed-home-perspectives, .studio__roles) .m-btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 22px;
  top: 50%;
  width: calc(200% + 100px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--geo-ink);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
:where(#navigation, .ed-page, .ed-home-proof, .ed-home-perspectives, .studio__roles) .m-btn__label { position: relative; }
:where(#navigation, .ed-page, .ed-home-proof, .ed-home-perspectives, .studio__roles) .m-btn:focus-visible { outline: 2px solid var(--geo-ink); outline-offset: 3px; }
@media (hover: hover) { :where(#navigation, .ed-page, .ed-home-proof, .ed-home-perspectives, .studio__roles) .m-btn:hover::after { transform: translate(-50%, -50%) scale(1); } }
@media (max-width: 899px) { :where(#navigation, .ed-page, .ed-home-proof, .ed-home-perspectives, .studio__roles) .m-btn { font-size: 13px; padding-inline: 18px; } }
@media (prefers-reduced-motion: reduce) { :where(#navigation, .ed-page, .ed-home-proof, .ed-home-perspectives, .studio__roles) .m-btn::after { transition: none; } }

.ed-page .m-dot {
  display: inline-block;
  flex: none;
  width: .3211em;
  height: .3372em;
  margin-left: .015em;
  vertical-align: -.046em;
  background: url('/assets/geoad-symbol.svg') center/contain no-repeat;
}

#navigation {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px var(--geo-gutter);
  pointer-events: none;
}
#navigation > * { pointer-events: auto; }
#navigation ul { margin: 0; padding: 0; list-style: none; }
#navigation .nav__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .18em;
  flex: none;
  min-height: 48px;
  padding: 0 18px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--geo-ink);
  color: var(--geo-cream);
  font: 800 25px/1 Gabarito, Arial, sans-serif;
  letter-spacing: -.04em;
  text-decoration: none;
  white-space: nowrap;
}
#navigation .brand-geo, #navigation .brand-advisory { position: relative; top: -1px; }
#navigation .brand-geo { display: inline-flex; align-items: center; gap: .015em; }
#navigation .brand-o { width: 1em; height: 1.05em; margin-left: -.015em; object-fit: contain; }
#navigation .brand-advisory { font-weight: 650; letter-spacing: -.035em; }
#navigation .nav__links {
  margin-inline: auto;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--geo-ink);
  color: var(--geo-cream);
}
#navigation .nav__links ul { display: flex; flex-wrap: nowrap; }
#navigation .nav__links a {
  display: block;
  margin: 0 clamp(7px, calc(3vw - 26px), 14px);
  padding-block: 14px;
  color: inherit;
  font: 500 15px/1.2 Onest, Arial, sans-serif;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
}
#navigation a:hover:not(.m-btn), #navigation a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .22em;
}
#navigation .nav__brand:hover { text-decoration: none; }
#navigation .nav__cta { flex: none; white-space: nowrap; }
#navigation .nav__menu { display: none; }
#navigation .menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 14px var(--geo-gutter) 32px;
  background: var(--geo-ink);
  color: var(--geo-cream);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#navigation .menu[hidden] { display: none; }
.site-menu-open, .site-menu-open body { overflow: hidden; }
#navigation .menu__top { display: flex; justify-content: flex-end; }
#navigation .menu__close {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--geo-cream);
  background: transparent;
  cursor: pointer;
}
#navigation .menu__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
#navigation .menu__list { align-self: center; display: grid; gap: 6px; }
#navigation .menu__list a {
  display: inline-flex;
  align-items: baseline;
  color: var(--geo-cream);
  font: 800 clamp(30px, 11.6vw, 68px)/1.06 Gabarito, Arial, sans-serif;
  letter-spacing: -.05em;
  text-decoration: none;
  white-space: nowrap;
}
#navigation .menu__list .m-dot { position: relative; top: .05em; }
#navigation .menu__foot { margin: 0; color: var(--geo-warm); font: 400 17px/1.55 Onest, Arial, sans-serif; }
#navigation :is(a, button):focus-visible { outline: 2px solid var(--geo-orange); outline-offset: 3px; }

@media (max-width: 1099px) {
  #navigation { padding-block: 11px; gap: 10px; }
  #navigation .nav__links, #navigation .nav__cta { display: none; }
  #navigation .nav__menu {
    display: inline-flex;
    justify-content: center;
    margin-left: auto;
    height: 48px;
    min-height: 48px;
    background: var(--geo-blue);
    color: var(--geo-cream);
    font-size: 20px;
  }
}
@media (max-width: 899px) {
  #navigation .nav__brand {
    font-size: clamp(23px, calc(9.85714vw - 8.54285px), 29.9px) !important;
    padding-inline: clamp(18px, calc(7.71429vw - 6.6857px), 23.4px);
  }
  #navigation .nav__menu { flex: 1; min-width: 0; padding-inline: 8px; gap: 8px; font-size: clamp(17px, 4.6vw, 20px); }
  #navigation .nav__menu { margin-left: 0; }
  #navigation .nav__menu::before { width: 1.18em; height: 1.24em; }
  #navigation .menu__list a { font-size: clamp(30px, 11.6vw, 68px); }
}
@media (max-height: 720px) and (max-width: 1099px) {
  #navigation .menu__list a { font-size: clamp(30px, min(11.6vw, 8vh), 56px); }
}

