/* Contact styling must not change the original pull-out/footer-bleed geometry. */
body.everest-redesign .mountain-footer.footer-clean {
  --footer-mountain-crop: 0px;
  --footer-mountain-width: 300px;
  --footer-art-bottom: 140px;
  --footer-flow-art-space: 180px;
  --footer-reveal: 1;
  --footer-light: 1;
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
}
body.everest-redesign .mountain-footer.footer-clean .footer-masthead {
  background: #000;
  border: 0;
  box-shadow: none;
  translate: 0 -1px;
}
body.everest-redesign .mountain-footer.footer-clean .footer-main {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0 calc(16px + var(--footer-flow-art-space));
}
body.everest-redesign .mountain-footer.footer-clean .footer-main > .footer-contact-group {
  position: relative;
  grid-column: 1 / -1;
}
body.everest-redesign .mountain-footer.footer-clean :is(.footer-main, .footer-bottom) {
  text-shadow: none;
  -webkit-text-stroke: 0;
  mix-blend-mode: normal;
}
body.everest-redesign .mountain-footer.footer-clean .footer-main :is(.footer-contact-title, .footer-desktop-group > summary) {
  min-height: 28px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -.02em;
}
body.everest-redesign .mountain-footer.footer-clean .footer-contact-list {
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.everest-redesign .mountain-footer.footer-clean .footer-contact-row {
  position: relative;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 0 0 0 34px;
  transform: none;
  transform-origin: left center;
  transition: transform 220ms ease-out;
}
body.everest-redesign .mountain-footer.footer-clean .footer-contact-row dt {
  margin: 0 0 3px;
  color: #a8adb5;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: .06em;
}
body.everest-redesign .mountain-footer.footer-clean .footer-contact-row dd {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  overflow-wrap: anywhere;
}
body.everest-redesign .mountain-footer.footer-clean .footer-contact-row dd a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}
body.everest-redesign .mountain-footer.footer-clean .footer-contact-icon {
  position: absolute;
  inset: 3px auto auto 0;
  width: 20px;
  height: 20px;
  color: #a8adb5;
  filter: none;
  transition: color 180ms ease-out;
}
body.everest-redesign .mountain-footer.footer-clean .footer-contact-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}
body.everest-redesign .mountain-footer.footer-clean .footer-team-link {
  position: absolute;
  top: -8px;
  right: 0;
  min-height: 44px;
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  transition: transform 220ms ease-out;
}
body.everest-redesign .mountain-footer.footer-clean .footer-main nav.footer-group-content {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 4px 16px;
}
body.everest-redesign .mountain-footer.footer-clean .footer-main nav.footer-group-content > a {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 0;
  color: #c5c8ce;
  font-size: 15px;
  line-height: 24px;
  overflow-wrap: anywhere;
}
body.everest-redesign .mountain-footer.footer-clean a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
  border-radius: 2px;
}
body.everest-redesign .mountain-footer.footer-clean .footer-contact-row:focus-within .footer-contact-icon {
  color: #fff;
}
body.everest-redesign .mountain-footer.footer-clean .footer-mountain-stage {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: var(--footer-viewport-width, 100vw);
  overflow: hidden;
  pointer-events: none;
  top: auto;
  bottom: var(--footer-art-bottom, 100px);
  height: var(--footer-art-height, 164px);
  background: #000;
}
body.everest-redesign .mountain-footer.footer-clean .footer-mountain {
  position: absolute;
  top: auto;
  left: 50%;
  width: var(--footer-mountain-width, 1000px);
  max-width: none;
  height: auto;
  bottom: calc(-1 * var(--footer-mountain-crop));
  transform: translateX(-50%);
  opacity: 1;
  filter:
    brightness(var(--footer-light))
    drop-shadow(0 0 calc(3px + var(--footer-reveal) * 13px) rgb(188 232 255 / calc(var(--footer-reveal) * .28)))
    drop-shadow(0 0 calc(6px + var(--footer-reveal) * 24px) rgb(98 191 255 / calc(var(--footer-reveal) * .14)));
}
/* One luminance-controlled mark: a second lit layer would brighten it too early. */
body.everest-redesign .mountain-footer.footer-clean .footer-mountain-stage::before {
  content: none;
  display: none;
}
body.everest-redesign .mountain-footer.footer-clean .footer-bottom {
  border: 0;
  padding-top: 22px;
  color: #a8adb5;
  background: #000;
}
body.everest-redesign .mountain-footer.footer-clean .footer-bottom > a {
  color: #c5c8ce;
}
@keyframes footer-contact-spring {
  0% { transform: translateX(0); }
  45% { transform: translateX(7px); }
  72% { transform: translateX(2px); }
  88% { transform: translateX(5px); }
  100% { transform: translateX(4px); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body.everest-redesign .mountain-footer.footer-clean :is(.footer-contact-row, .footer-team-link):hover {
    animation: footer-contact-spring 420ms both;
  }
  body.everest-redesign .mountain-footer.footer-clean .footer-contact-row:hover .footer-contact-icon {
    color: #fff;
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  body.everest-redesign .mountain-footer.footer-clean .footer-main {
    gap: 36px 28px;
  }
  body.everest-redesign .mountain-footer.footer-clean .footer-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  body.everest-redesign .mountain-footer.footer-clean {
    --footer-mountain-width: 300px;
  }
  body.everest-redesign .mountain-footer.footer-clean .footer-main {
    display: block;
    padding: 32px 0 calc(20px + var(--footer-flow-art-space));
  }
  body.everest-redesign .mountain-footer.footer-clean .footer-main > .footer-contact-group {
    padding-bottom: 26px;
  }
  body.everest-redesign .mountain-footer.footer-clean .footer-contact-list {
    grid-template-columns: minmax(0, 1fr);
  }
  body.everest-redesign .mountain-footer.footer-clean .footer-team-link {
    position: static;
    margin: 16px 0 0 34px;
  }
  body.everest-redesign .mountain-footer.footer-clean .footer-main nav.footer-group-content > a {
    min-height: 44px;
    padding: 10px 0;
  }
  body.everest-redesign .mountain-footer.footer-clean .footer-main nav.footer-group-content {
    display: flex !important;
  }
  body.everest-redesign .mountain-footer.footer-clean .footer-contact-row dd a {
    min-height: 44px;
  }
}
/* Preserve the pull-out height; fit the mark into the remaining clear area. */
@media (min-width: 1100px) and (max-height: 850px) {
  body.everest-redesign .mountain-footer.footer-clean .footer-main {
    gap: 24px;
    padding: 20px 0 calc(16px + var(--footer-flow-art-space));
  }
  body.everest-redesign .mountain-footer.footer-clean .footer-main :is(.footer-contact-title, .footer-desktop-group > summary) {
    margin-bottom: 16px;
  }
  body.everest-redesign .mountain-footer.footer-clean .footer-main nav.footer-group-content > a {
    min-height: 30px;
    padding: 3px 0;
  }
}
body.everest-redesign.footer-at-header-edge > header {
  border-bottom-color: #fff !important;
  box-shadow: 0 2px 0 #fff !important;
}
@media (prefers-reduced-motion: reduce) {
  body.everest-redesign .mountain-footer.footer-clean :is(.footer-contact-row, .footer-team-link, .footer-contact-icon) {
    animation: none;
    transform: none;
    transition: none;
  }
}
