/* EricPoston.com — Smart Header v2.1
   Transparent on downward scroll, restrained translucent surface when revealed.
   Strictly a progressive enhancement: existing content and navigation remain unchanged.
*/
.ep-smart-header {
  position: var(--ep-header-position, sticky) !important;
  top: 0 !important;
  z-index: 990 !important;
  background: rgba(var(--ep-header-rgb, 250, 249, 246), var(--ep-header-alpha, 1)) !important;
  background-image: none !important;
  border-bottom-color: rgba(var(--ep-border-rgb, 7, 19, 48), var(--ep-border-alpha, .10)) !important;
  box-shadow: 0 7px 26px rgba(7, 19, 48, var(--ep-shadow-alpha, 0)) !important;
  -webkit-backdrop-filter: blur(var(--ep-blur, 0px)) saturate(130%) !important;
  backdrop-filter: blur(var(--ep-blur, 0px)) saturate(130%) !important;
  transform: translate3d(0, var(--ep-translate, 0px), 0) !important;
  opacity: var(--ep-header-opacity, 1);
  transition:
    transform 315ms cubic-bezier(.22, .8, .22, 1),
    background-color 220ms ease,
    border-bottom-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease,
    -webkit-backdrop-filter 220ms ease,
    opacity 180ms ease !important;
  isolation: isolate;
  backface-visibility: hidden;
}
/* Only retain GPU layer promotion while moving; saves memory on long pages. */
.ep-smart-header.ep-is-moving { will-change: transform; }
.ep-smart-header.ep-is-hidden:not(:focus-within) { pointer-events: none; }
.ep-smart-header.ep-is-scrolled:not(.ep-is-hidden) a:not([class*="btn"]):not([class*="cta"]):not([class*="button"]),
.ep-smart-header.ep-is-scrolled:not(.ep-is-hidden) .brand,
.ep-smart-header.ep-is-scrolled:not(.ep-is-hidden) .brand-name {
  text-shadow: 0 1px 12px rgba(255,255,255,.62);
}
.ep-smart-header.ep-is-scrolled.ep-header-dark a:not([class*="btn"]):not([class*="cta"]):not([class*="button"]),
.ep-smart-header.ep-is-scrolled.ep-header-dark .brand,
.ep-smart-header.ep-is-scrolled.ep-header-dark .brand-name { text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.ep-smart-header :focus-visible { outline: 2px solid #b99048; outline-offset: 4px; }
/* Preserve sensible anchor positioning behind a sticky header. */
html:has(.ep-smart-header) { scroll-padding-top: 92px; }
@media (max-width: 780px) { html:has(.ep-smart-header) { scroll-padding-top: 76px; } }
@media (prefers-reduced-motion: reduce) {
  .ep-smart-header {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    background: rgba(var(--ep-header-rgb, 250, 249, 246), 1) !important;
    border-bottom-color: rgba(var(--ep-border-rgb, 7, 19, 48), .10) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    will-change: auto !important;
    pointer-events: auto !important;
  }
}
