/* Removing this stylesheet and site-motion.js disables the motion without hiding content. */
.home-refresh-page #top .jl-motion-wordmark {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: max(32px, calc((100vw - 1280px) / 2));
  display: none;
  width: max-content;
  max-width: 100%;
  margin: 0 0 24px;
  color: #f9f6ed;
  font-family: var(--jl-v2-sans, "Inter", sans-serif);
  font-size: clamp(52px, 5.8vw, 76px);
  font-weight: 650;
  letter-spacing: -.075em;
  line-height: .92;
  white-space: nowrap;
}
.home-refresh-page.jl-motion-flight-active #top .jl-motion-wordmark { display: block; }
.jl-motion-wordmark-source-ready { visibility: hidden; }
.jl-motion-wordmark-flight {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 51;
  display: block;
  white-space: nowrap;
  pointer-events: none;
  transform-origin: top left;
}
@media (min-width: 1024px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .home-refresh-page.jl-motion-flight-active .jl-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(21, 28, 23, .9);
    backdrop-filter: saturate(125%) blur(8px);
    transition: background-color .22s ease-out, box-shadow .22s ease-out;
  }
  .home-refresh-page.jl-motion-scrolled .jl-header {
    background: #151c17;
    box-shadow: 0 8px 26px rgba(12, 23, 17, .13);
  }
  .home-refresh-page.jl-motion-flight-active #top .home-hero-media img {
    animation: none;
    transform: scale(var(--jl-hero-scale, 1));
    transform-origin: 50% 35%;
  }
  .home-refresh-page.jl-motion-flight-active #top .home-hero-copy {
    animation: none;
    transform: translate3d(0, var(--jl-hero-copy-y, 0px), 0);
  }
  body.home-refresh-page [data-jl-horizontal].jl-horizontal-active {
    position: relative;
    height: var(--jl-horizontal-height);
    padding-block: 0;
  }
  [data-jl-horizontal].jl-horizontal-active [data-jl-horizontal-viewport] {
    position: sticky;
    top: var(--jl-horizontal-top, 76px);
    height: var(--jl-horizontal-viewport-height, calc(100svh - 76px));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  [data-jl-horizontal].jl-horizontal-active [data-jl-horizontal-track] {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    padding-inline: clamp(24px, 4vw, 64px);
    box-sizing: content-box;
  }
  [data-jl-horizontal].jl-horizontal-active [data-jl-horizontal-panel] {
    flex: 0 0 auto;
    width: min(840px, calc(100vw - 112px));
    max-width: none;
  }
  [data-jl-horizontal].jl-horizontal-active [data-jl-horizontal-progress] > span {
    display: block;
    width: 100%;
    transform: scaleX(var(--jl-horizontal-progress, 0));
    transform-origin: left center;
  }
}
@media (max-width: 1023px), (max-height: 699px), (prefers-reduced-motion: reduce) {
  .home-refresh-page #top .jl-motion-wordmark { display: none; }
  .jl-motion-wordmark-flight { display: none; }
  [data-jl-horizontal] [data-jl-horizontal-track] { transform: none !important; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body:not(.jl-admin) :is(.jl-card-link, .home-projects-link, .reader-contact-cta, .resource-link) {
    transition: transform .22s ease-out, color .22s ease-out, box-shadow .22s ease-out;
  }
  body:not(.jl-admin) :is(.jl-card-link, .home-projects-link, .reader-contact-cta, .resource-link):hover { transform: translateY(-2px); }
  body:not(.jl-admin) .jl-card-image:hover img { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .home-refresh-page #top .home-hero-media img,
  .home-refresh-page #top .home-hero-copy { animation: none !important; transform: none !important; }
}
