/* Shared finishing layer: accessibility states without altering the art direction. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Preserve the original work-page display type after the project titles moved
   from h1 to h2 for a single, meaningful page heading. */
h2.work-heading {
  margin: 0;
  color: #fff;
  font-size: 6.25em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

@media screen and (max-width: 991px) {
  h2.work-heading {
    font-size: 7.5em;
  }
}

@media screen and (max-width: 767px) {
  h2.work-heading {
    font-size: 9em;
  }
}

@media screen and (max-width: 479px) {
  h2.work-heading {
    font-size: 12em;
  }
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

:where(button, input, textarea, select):disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.video-container-large,
.video-container-copy {
  position: relative;
  overflow: hidden;
}

.video-container-large > .case-study-video,
.video-container-copy > .case-study-video {
  z-index: 1;
  background: #111;
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  :is(#video1, #video2, #video3),
  :is(#video-container-1, #video-container-2, #video-container-3),
  :is(.project-wrapper-1, .project-wrapper-2, .project-wrapper-3) .blurred-background {
    will-change: opacity, transform;
    transition: opacity 0.6s ease, transform 0.6s ease !important;
  }

  :is(.project-wrapper-1:hover #video1, .project-wrapper-2:hover #video2, .project-wrapper-3:hover #video3),
  :is(.project-wrapper-1:hover #video-container-1, .project-wrapper-2:hover #video-container-2, .project-wrapper-3:hover #video-container-3) {
    opacity: 1 !important;
    transform: scale(1) !important;
  }

  :is(.project-wrapper-1:hover, .project-wrapper-2:hover, .project-wrapper-3:hover) .blurred-background {
    opacity: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Brand Logo Unclipped Geometry */
.logo,
.navbar .logo,
.navbar-mobile .logo {
  overflow: visible !important;
}

.logo-img,
.navbar .logo-img,
.navbar-mobile .logo-img {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  display: block;
}

/* Navbar Navigation Pills Spacing */
.nav,
.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.nav-link {
  margin-right: 8px !important;
}

.nav-link.is-last {
  margin-right: 0 !important;
}
