/* layout: extracted from the approved top-page implementation. */


.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform .35s cubic-bezier(.22, 1, .36, 1);
  color: #fff;
  isolation: isolate;
}

html.is-loading .site-header {
  opacity: 0;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 36px;
  left: 40px;
  right: 40px;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  flex: 0 0 auto;
  width: 375px;
}

.brand__mark {
  width: 54px;
  height: 42px;
  object-fit: contain;
}

.brand__wordmark {
  display: grid;
  gap: 9px;
  margin: 1px 0 0 9px;
}

.brand__wordmark img:first-child {
  width: 314px;
  height: 23px;
}

.brand__wordmark img:last-child {
  width: 249px;
  height: 10px;
}

/* Keep the logo's intrinsic proportions when responsive widths change. */
.site-header .brand__wordmark img {
  height: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.1vw, 54px);
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}

.global-nav > a,
.global-nav .header-dropdown__trigger {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.site-header a,
.mobile-menu a,
.site-footer a {
  transition: opacity .25s ease;
}

.header-actions {
  display: flex;
  margin-left: 38px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
}

.header-actions > a,
.header-actions > .header-dropdown > .header-dropdown__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 133px;
  height: 44px;
  border: 0;
}

.header-action-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 133px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
}

.header-action-button__bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(71.3677deg, #002e62 1.6911%, #005f97 100%);
  opacity: 0;
  transition: opacity .52s cubic-bezier(.22, 1, .36, 1);
}

.header-action-button__label {
  position: relative;
  z-index: 1;
}

.header-action-button__border {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.header-action-button__border-line {
  fill: none;
  stroke: rgba(255, 255, 255, .5);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.header-action-button__border-line--erase {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.header-action-button__border-line--draw {
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.header-actions__recruit {
  margin-left: 10px;
  background: rgba(0, 46, 98, .82);
}

.header-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.global-nav > a,
.global-nav .header-dropdown__trigger {
  position: relative;
}

.global-nav > a::after,
.global-nav .header-dropdown__trigger::after {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, .45);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .52s cubic-bezier(.76, 0, .24, 1);
}

.header-dropdown__panel {
  position: absolute;
  z-index: 10;
  top: 55px;
  display: block;
  width: max-content;
  padding: 23px 40px 24px;
  background: rgba(255, 255, 255, .81);
  color: var(--navy);
  letter-spacing: -.02em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .32s cubic-bezier(.22, 1, .36, 1), transform .42s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .42s;
}

.header-dropdown__panel::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 16px;
  content: "";
}

.header-dropdown--about .header-dropdown__panel {
  left: 50%;
  width: 227px;
  transform: translate(-50%, -8px);
}

.header-dropdown--recruit .header-dropdown__panel {
  right: 0;
  width: 302px;
}

.header-dropdown:hover > .header-dropdown__panel,
.header-dropdown:focus-within > .header-dropdown__panel,
.header-dropdown.is-open > .header-dropdown__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.header-dropdown.is-dismissed > .header-dropdown__panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header-dropdown--recruit:not(.is-open) > .header-dropdown__panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header-dropdown--about:hover > .header-dropdown__panel,
.header-dropdown--about:focus-within > .header-dropdown__panel {
  transform: translate(-50%, 0);
}

.header-dropdown:hover > .header-dropdown__trigger,
.header-dropdown:focus-within > .header-dropdown__trigger {
  opacity: 1;
}

.global-nav .header-dropdown:focus-within > .header-dropdown__trigger::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-dropdown__panel-title {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.header-dropdown__links {
  display: grid;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}

.header-dropdown__links--corporations a {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
}

.header-dropdown__links--corporations img {
  width: 8px;
  height: 8px;
}

.menu-button,
.mobile-menu {
  display: none;
}

.site-footer__groups img {
  width: 8px;
  height: 8px;
}

.site-footer {
  margin-top: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--footer-background);
  color: #fff;
}

.site-footer::before,
.mobile-menu__panel::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    url("../images/common/strengths-noise.webp"),
    url("../images/common/strengths-noise.webp"),
    url("../images/common/strengths-noise.webp");
  background-position: top left;
  background-repeat: repeat;
  background-size: 1280px 1280px;
  content: "";
  filter: brightness(0);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.site-footer__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px 190px minmax(0, 1fr);
  gap: 48px;
  width: min(1160px, calc(100% - 120px));
  margin: 0 auto;
  padding: 60px 0;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
}

.brand--footer {
  width: 455px;
}

.site-footer__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 54px;
  margin-top: 60px;
  border-radius: 27px;
  background: rgba(255, 255, 255, .9);
  color: #000;
  font-size: 16px;
  font-weight: 700;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 103px;
  font-size: 15px;
  line-height: 2;
}

.site-footer__nav > a:nth-child(2),
.site-footer__nav > a:nth-child(3),
.site-footer__nav > a:last-child {
  margin-top: 17px;
  font-weight: 700;
}

.site-footer__sub {
  font-size: 14px;
}

.site-footer__groups {
  padding-top: 103px;
}

.site-footer__groups h2 {
  margin: 0 0 16px;
  font-size: 15px;
}

.site-footer__groups > div {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
}

.site-footer__groups ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 2;
}

.site-footer__groups ul + ul {
  border-left: 1px solid rgba(255, 255, 255, .3);
  padding-left: 40px;
}

.site-footer__groups li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-footer__groups img {
  filter: brightness(0) invert(1);
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, .3);
  padding: 21px 60px;
  font-size: 13px;
}

.site-footer__bottom p {
  margin: 0;
}

@media (max-width: 1180px) and (min-width: 768px) {
  .brand {
    width: 305px;
  }

  .brand__mark {
    width: 47px;
  }

  .brand__wordmark img:first-child {
    width: 247px;
  }

  .brand__wordmark img:last-child {
    width: 196px;
  }

  .brand--footer .brand__mark,
.brand--footer .brand__wordmark img {
    height: auto;
  }

  .global-nav {
    gap: 22px;
    font-size: 13px;
  }

  .header-actions {
    margin-left: 22px;
    font-size: 13px;
  }

  .header-actions > a,
.header-actions > .header-dropdown > .header-dropdown__trigger {
    width: 108px;
  }
}

@media (max-width: 900px) and (min-width: 768px) {
  .site-header {
    left: 20px;
    right: 20px;
  }

  .site-header .brand {
    width: 220px;
  }

  .site-header .brand__mark {
    width: 32px;
    height: 27px;
  }

  .site-header .brand__wordmark {
    gap: 5px;
    margin-left: 7px;
  }

  .site-header .brand__wordmark img:first-child {
    width: 181px;
    height: auto;
  }

  .site-header .brand__wordmark img:last-child {
    width: 144px;
    height: auto;
  }

  .global-nav {
    gap: 16px;
    font-size: 12px;
  }

  .header-actions {
    margin-left: 20px;
  }

  .header-actions .header-action-button {
    width: 90px;
    font-size: 12px;
  }

  .header-actions__recruit {
    margin-left: 8px;
  }
}

@media (max-width: 1100px) and (min-width: 768px) {
  .site-footer__main {
    grid-template-columns: 300px 145px minmax(0, 1fr);
    gap: clamp(20px, 2.5vw, 28px);
    width: calc(100% - 80px);
  }

  .brand--footer {
    width: 300px;
  }

  .brand--footer .brand__mark {
    width: 50px;
    height: auto;
  }

  .brand--footer .brand__wordmark {
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
    margin-left: 8px;
  }

  .brand--footer .brand__wordmark img:first-child {
    display: block;
    width: 100%;
    height: auto;
  }

  .brand--footer .brand__wordmark img:last-child {
    display: block;
    width: 79.2%;
    height: auto;
  }

  .site-footer__groups > div {
    display: block;
  }

  .site-footer__groups ul + ul {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 767px) {

  .site-header {
    position: absolute;
    top: 18px;
    left: 16px;
    right: 19px;
  }

  .brand {
    width: auto;
  }

  .site-header .brand__mark {
    width: 48px;
    height: 38px;
  }

  .site-header .brand__wordmark,
.global-nav,
.header-actions {
    display: none;
  }

  .menu-button {
    position: relative;
    z-index: 7;
    display: grid;
    align-content: center;
    gap: 7px;
    width: 30px;
    height: 30px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .menu-button span {
    display: block;
    width: 30px;
    height: 1px;
    background: #fff;
    transition: transform .3s ease, opacity .2s ease;
  }

  .mobile-menu {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: block;
    overflow: hidden;
    background: rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility 0s linear .35s;
  }

  .menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .mobile-menu__panel {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    width: min(300px, calc(100vw - 60px));
    min-height: 100dvh;
    max-height: 100dvh;
    margin-left: auto;
    overflow-y: auto;
    padding: 80px 20px 60px;
    background: var(--footer-background);
    color: #fff;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  }

  .menu-open .mobile-menu__panel {
    transform: translateX(0);
  }

  .mobile-menu__panel::before {
    z-index: -1;
  }

  .mobile-menu__close {
    position: absolute;
    top: 21px;
    right: 20px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .mobile-menu__close::before,
.mobile-menu__close::after {
    position: absolute;
    top: 50%;
    left: 2px;
    width: 27px;
    height: 1px;
    background: #fff;
    content: "";
  }

  .mobile-menu__close::before {
    transform: rotate(30deg);
  }

  .mobile-menu__close::after {
    transform: rotate(-30deg);
  }

  .mobile-menu nav {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    color: inherit;
    text-align: left;
  }

  .mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 13px;
  }

  .mobile-menu__primary {
    width: fit-content;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: -.02em;
  }

  .mobile-menu__group {
    display: grid;
    gap: 5px;
  }

  .mobile-menu__group--recruit {
    margin-top: 14px;
    gap: 5px;
  }

  .mobile-menu__group--recruit > p {
    margin: 0;
  }

  .mobile-menu__subnav {
    display: grid;
    gap: 1px;
    font-size: 13px;
    font-weight: 500;
    line-height: 2.45;
    letter-spacing: -.02em;
  }

  .mobile-menu__subnav--corporations {
    gap: 7px;
    line-height: 2;
  }

  .mobile-menu__subnav--corporations a {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
  }

  .mobile-menu__subnav--corporations img {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    filter: brightness(0) invert(1);
  }

  .mobile-menu__contact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: min(250px, 100%);
    min-height: 54px;
    margin-top: 30px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
  }

  .mobile-menu__contact img {
    position: absolute;
    right: 25px;
    width: 15px;
    height: 13px;
    filter: brightness(0) invert(1);
  }

  .site-footer__main {
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 100%;
    height: auto;
    padding: 60px 20px 36px;
  }

  .site-footer__brand {
    display: contents;
  }

  .brand--footer {
    order: 0;
    width: 100%;
    min-height: 40px;
    margin-bottom: 20px;
  }

  .brand--footer .brand__mark {
    width: 48px;
    height: 38px;
  }

  .brand--footer .brand__wordmark {
    gap: 7px;
  }

  .brand--footer .brand__wordmark img:first-child {
    width: min(282px, calc(100vw - 84px));
    height: auto;
  }

  .brand--footer .brand__wordmark img:last-child {
    width: 223px;
    height: auto;
  }

  .site-footer__nav {
    order: 1;
    padding: 0;
    font-size: 14px;
    line-height: 2.2;
  }

  .site-footer__nav > a:nth-child(2),
.site-footer__nav > a:nth-child(3),
.site-footer__nav > a:last-child {
    margin-top: 10px;
  }

  .site-footer__sub {
    font-size: 13px;
  }

  .site-footer__groups {
    order: 2;
    margin-top: -26px;
    padding-top: 15px;
  }

  .site-footer__groups h2 {
    margin-bottom: 11px;
    font-size: 14px;
  }

  .site-footer__groups > div {
    display: block;
  }

  .site-footer__groups ul {
    font-size: 13px;
    line-height: 2;
  }

  .site-footer__groups ul + ul {
    border: 0;
    padding: 0;
  }

  .site-footer__contact {
    order: 3;
    width: 250px;
    height: 54px;
    margin: 6px auto 0;
    font-size: 14px;
  }

  .site-footer__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: start;
    gap: 28px;
    padding: 20px;
    font-size: 13px;
  }

  .site-footer__bottom p {
    white-space: normal;
  }
}
@media (max-width: 767px) and (hover: hover) {

  .site-footer__contact {
    width: 220px;
    height: 54px;
    font-size: 16px;
  }
}

@media (hover: hover) {
  .header-action-button__bg {
    background: linear-gradient(71.3677deg, #376085 1.6911%, #3782ae 100%);
  }

  .site-header .brand:hover,
.header-dropdown__panel a:hover,
.mobile-menu a:not(.mobile-menu__contact):hover,
.site-footer a:not(.site-footer__contact):hover {
    opacity: .62;
  }

  .global-nav > a:hover,
.global-nav .header-dropdown:hover > .header-dropdown__trigger {
    opacity: 1;
  }

  .global-nav > a:hover::after,
.global-nav .header-dropdown:hover > .header-dropdown__trigger::after {
    transform: scaleX(1);
    transform-origin: left center;
  }

  .header-actions > .header-action-button:hover,
.header-actions > .header-dropdown:hover > .header-action-button {
    opacity: 1;
  }

  .site-header.is-scrolled .header-actions > .header-action-button:hover,
  body:not(.page-home) .header-actions > .header-action-button:hover {
    color: #fff;
  }

  .header-action-button:hover .header-action-button__bg,
.header-dropdown:hover > .header-action-button .header-action-button__bg {
    opacity: 1;
  }

  .header-action-button.is-hovering .header-action-button__border-line--erase {
    animation: header-border-erase-clockwise .72s cubic-bezier(.76, 0, .24, 1) forwards;
  }

  .header-action-button.is-hovering .header-action-button__border-line--draw {
    opacity: 0;
  }

  .header-action-button.is-leaving .header-action-button__border-line--erase {
    opacity: 0;
  }

  .header-action-button.is-leaving .header-action-button__border-line--draw {
    opacity: 1;
    animation: header-border-draw-clockwise .72s cubic-bezier(.76, 0, .24, 1) forwards;
  }

  .site-footer__contact,
.mobile-menu__contact {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: background-color .52s cubic-bezier(.22, 1, .36, 1), border-color .36s ease, color .42s ease, opacity .25s ease;
  }

  .site-footer__contact::before,
.mobile-menu__contact::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #375372 0%, #b43737 88%);
    content: "";
    opacity: 0;
    transition: opacity .52s cubic-bezier(.22, 1, .36, 1);
  }

  .site-footer__contact > span,
.mobile-menu__contact > span {
    position: relative;
    z-index: 1;
  }

  .mobile-menu__contact > img {
    z-index: 1;
  }

  .site-footer__contact:hover,
.mobile-menu__contact:hover {
    background-color: transparent;
    border-color: rgba(255, 255, 255, .1);
    color: #fff;
    opacity: 1;
  }

  .site-footer__contact:hover::before,
.mobile-menu__contact:hover::before {
    opacity: 1;
  }

  .mobile-menu__contact:hover img {
    filter: brightness(0) invert(1);
  }
}

@keyframes header-border-erase-clockwise {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -1;
  }
}

@keyframes header-border-draw-clockwise {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .mobile-menu,
.mobile-menu__panel,
.menu-button span {
    transition: none;
  }

  .site-header a,
.mobile-menu a,
.site-footer a,
.global-nav > a::after,
.global-nav .header-dropdown__trigger::after,
.header-action-button,
.header-action-button__bg,
.header-action-button__border-line,
.site-footer__contact::before,
.mobile-menu__contact::before {
    transition: none;
  }

  .header-action-button__border-line {
    animation: none !important;
  }
}

/* The shell preserves the lower-page header's space while the header slides. */
body.menu-open {
  position: fixed;
  width: 100%;
}

.site-header-shell {
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.has-scroll-header .site-header-shell {
  position: sticky;
  top: 0;
}

.page-home .site-header-shell {
  height: 0;
}

.site-header {
  pointer-events: auto;
}

.site-header.is-scroll-hidden {
  transform: translateY(calc(-100% - 40px));
  pointer-events: none;
}

body .site-header.is-scroll-hidden .header-dropdown__panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Top-page first view stays transparent; the returning header uses a solid surface. */
body.page-home .site-header.is-scrolled {
  top: 0;
  left: 0;
  right: 0;
  min-height: 120px;
  padding: 36px 40px;
  background: url("../images/common/header-gradient.svg") center / 100% 100%,
    url("../images/common/header-base.svg") center / 100% 100%;
  color: #000;
}

.page-home .site-header.is-scrolled::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: url("../images/common/strengths-noise.webp") 0 0 / 1280px;
  opacity: .4;
  pointer-events: none;
}

.page-home .site-header.is-scrolled .brand {
  filter: brightness(0);
}

.page-home .site-header.is-scrolled .header-action-button__border-line {
  stroke: rgb(0 0 0 / .5);
}

.page-home .site-header.is-scrolled .header-actions__recruit {
  background: #000;
  color: #fff;
}

.page-home .site-header.is-scrolled .menu-button span {
  background: #000;
}

.page-home .site-header.is-scrolled .global-nav > a::after,
.page-home .site-header.is-scrolled .header-dropdown__trigger::after {
  background: rgb(0 0 0 / .45);
}

@media (min-width: 768px) and (max-width: 900px) {
  body.page-home .site-header.is-scrolled {
    padding-inline: 20px;
  }
}

@media (max-width: 767px) {
  body.page-home .site-header.is-scrolled {
    min-height: 72px;
    padding: 17px 20px;
  }

  .page-home .site-header.is-scrolled .brand__mark {
    width: 38px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}
