/* Shared navigation and the approved mobile readability corrections. */
:root { --site-header-height: 4.5rem; }
main[id], main [id] { scroll-margin-top: calc(var(--site-header-height) + 1rem); }
.site-header .site-header-inner { flex-wrap: nowrap; }
.site-navigation { display: flex; align-items: center; gap: 1.5rem; }
.site-header nav { flex-wrap: nowrap; width: auto; }
.site-menu-toggle { display: none; }
.home-hero-wash {
  background: linear-gradient(90deg, rgb(238 241 248 / .98) 0%, rgb(238 241 248 / .92) 31%, rgb(238 241 248 / .58) 51%, rgb(238 241 248 / .03) 100%);
}

@media (width < 75rem) {
  .site-header:not(.site-header--enhanced) { position: static; }
  .site-header:not(.site-header--enhanced) .site-header-inner { flex-wrap: wrap; }
  .site-navigation { width: 100%; display: grid; gap: 1rem; }
  .site-navigation nav { display: grid; gap: 0; width: 100%; border: 0; padding: 0; }
  .site-navigation nav a { min-height: 44px; padding: .5rem .75rem; border-radius: .375rem; }
  .site-navigation nav a[aria-current="page"] { background: #245f3e0f; }
  .site-navigation > a { justify-content: center; }
  .site-header--enhanced .site-menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0; width: 44px; height: 44px; padding: 10px;
    color: #245f3e; border: 1px solid #cbd2db; border-radius: .375rem;
    background: #fff; cursor: pointer;
  }
  .site-menu-toggle:focus-visible { outline: 2px solid #245f3e; outline-offset: 4px; }
  .site-header--enhanced .site-navigation {
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - var(--site-header-height));
    max-height: calc(100dvh - var(--site-header-height));
    overflow-y: auto; overscroll-behavior: contain;
    padding: 1rem 1.25rem; background: #f8f9fc;
    border-bottom: 1px solid #d9dee5; box-shadow: 0 12px 18px #1e293b18;
  }
  .site-header--enhanced .site-navigation[hidden] { display: none; }
  .site-menu-close { display: none; }
  .site-menu-toggle[aria-expanded="true"] .site-menu-open { display: none; }
  .site-menu-toggle[aria-expanded="true"] .site-menu-close { display: block; }
  .home-hero-wash {
    background: linear-gradient(180deg, rgb(238 241 248 / .92) 0%, rgb(238 241 248 / .84) 70%, rgb(238 241 248 / .68) 100%);
  }
}

.home-hero-introduction { color: var(--color-ink); }
.home-hero-eyebrow { color: #17462d; }

/* Move only the decorative layer, independently of text and interactive content. */
.parallax-layer { background-attachment: scroll; pointer-events: none; }
.parallax-active > .parallax-layer {
  top: calc(-1 * var(--parallax-bleed));
  bottom: calc(-1 * var(--parallax-bleed));
  transform: translate3d(0, var(--parallax-offset), 0);
  will-change: transform;
}
.work-parallax { background-image: none; }
.work-portfolio-art {
  background-image: url('/images/work-brand-collage.webp');
  background-position: center;
  background-size: 100% auto;
}
.work-portfolio-wash { background: rgb(238 241 248 / .88); }
@media (width >= 48rem) {
  .work-portfolio-art { background-size: 60% auto; }
}
@media (prefers-reduced-motion: reduce) {
  .parallax-active > .parallax-layer { top: 0; bottom: 0; transform: none; will-change: auto; }
}

@media (width < 64rem) {
  .work-hero-art { display: none; }
}
