/* WebXtent v0.2.95 — post-Hero header material traced directly to the
 * Home Hero Featured Project card recipe in home-hero-v074.css.
 *
 * The earlier v0.2.94 attempt invented a warm/navy derivative gradient. That
 * changed colour, but not the actual material behaviour of the approved card.
 * v0.2.95 reuses the card's real optics: translucent white glaze, 1px white
 * contour, 20px blur, 130% saturation, deep soft shadow and the same diagonal
 * specular layer. A quiet warm-smoke substrate is header-only legibility support
 * so white navigation remains readable over light sections.
 */

.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"]{
  --wxt-header-nav-optical-y:5px;
  --wxt-header-card-opacity:.18;
  --wxt-header-card-smoke:rgba(68,54,46,.50);
}

.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__inner:before{
  border:1px solid rgba(255,255,255,.20);
  background-color:var(--wxt-header-card-smoke);
  background-image:linear-gradient(145deg,rgba(255,255,255,var(--wxt-header-card-opacity)),rgba(255,255,255,.08));
  box-shadow:0 24px 80px rgba(8,20,30,.24);
  backdrop-filter:blur(20px) saturate(130%);
  -webkit-backdrop-filter:blur(20px) saturate(130%);
}

/* Exact Featured Project card highlight language. */
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__inner:after{
  content:"";
  position:absolute;
  inset:1px 175px 1px 1px;
  z-index:0;
  border-radius:999px;
  pointer-events:none;
  background:linear-gradient(125deg,rgba(255,255,255,.08),rgba(255,255,255,0) 45%,rgba(13,22,36,.14));
}
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__inner>*{position:relative;z-index:1}

/* Preserve the already accepted optical-centre correction from v0.2.90 without
 * re-enqueuing the rejected v0.2.90 material layer. */
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-nav{
  align-self:center;
  display:flex;
  align-items:center;
  justify-content:center;
  transform:translateY(calc(var(--wxt-nav-y,0px) + var(--wxt-header-nav-optical-y,5px)));
}
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-nav__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 12px;
  line-height:1;
  border-radius:999px;
}
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-nav__link:hover,
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-nav__link:focus-visible,
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-nav__link.is-active{
  background:rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}

/* Contact/social rail remains part of the one continuous card-like material. */
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__scroll-meta:before{background:rgba(255,255,255,.20)}
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__scroll-email{color:rgba(255,255,255,.90)}
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__social{color:rgba(255,255,255,.76)}

@media (max-width:1180px){
  .wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"]{--wxt-header-nav-optical-y:0px}
}
@media (max-width:900px){
  .wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__inner:after{inset:1px;border-radius:17px}
}
@media (prefers-reduced-motion:reduce){
  .wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-nav{transition:none!important}
}
