/* WebXtent v0.8.10 — route-bound Header variants + readable contact/social rail.
 * Home owns the Hero header. Every non-Home scene shares this inner-page header.
 * The two variants are rendered server-side and replaced together with each SPA scene.
 */

.wxt-header--inner-page{
  --wxt-inner-contact-ink:#173047;
  --wxt-inner-contact-muted:rgba(23,48,71,.70);
  --wxt-inner-contact-line:rgba(23,48,71,.13);
  --wxt-inner-contact-hover:rgba(23,48,71,.065);
}

.wxt-header--inner-page .wxt-header__inner{
  grid-template-columns:minmax(188px,.78fr) minmax(450px,1.35fr) minmax(390px,.92fr);
  column-gap:clamp(14px,1.15vw,22px);
}

.wxt-header--inner-page .wxt-nav{
  min-width:0;
  gap:clamp(20px,1.9vw,var(--wxt-nav-gap,30px));
}

.wxt-header--inner-page .wxt-header__actions{
  min-width:0;
  gap:10px;
  justify-content:flex-end;
}

.wxt-header--inner-page .wxt-header__scroll-meta{
  position:relative;
  display:flex;
  align-items:center;
  flex:0 1 auto;
  min-width:0;
  min-height:38px;
  gap:13px;
  margin:0 2px 0 0;
  padding:0 14px 0 17px;
  border-left:1px solid var(--wxt-inner-contact-line);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.wxt-header--inner-page .wxt-header__scroll-meta:before{display:none!important}

.wxt-header--inner-page .wxt-header__scroll-email{
  display:block;
  min-width:0;
  max-width:210px;
  overflow:hidden;
  text-overflow:ellipsis;
  color:var(--wxt-inner-contact-muted);
  font:650 10.8px/1 var(--wxt-font-ui);
  letter-spacing:.006em;
  white-space:nowrap;
  text-decoration:none;
}
.wxt-header--inner-page .wxt-header__scroll-email:hover,
.wxt-header--inner-page .wxt-header__scroll-email:focus-visible{
  color:var(--wxt-inner-contact-ink);
  outline:none;
}

.wxt-header--inner-page .wxt-header__socials{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:5px;
}
.wxt-header--inner-page .wxt-header__social{
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  flex:0 0 27px;
  padding:0;
  border:1px solid rgba(23,48,71,.10);
  border-radius:50%;
  background:rgba(255,255,255,.16);
  color:rgba(23,48,71,.60);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42);
  text-decoration:none;
  transition:transform .16s ease,color .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.wxt-header--inner-page .wxt-header__social svg{
  width:13px;
  height:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.wxt-header--inner-page .wxt-header__social .wxt-social-fill{fill:currentColor;stroke:none}
.wxt-header--inner-page .wxt-header__social:hover,
.wxt-header--inner-page .wxt-header__social:focus-visible{
  transform:translateY(-1px);
  color:var(--wxt-inner-contact-ink);
  border-color:rgba(23,48,71,.18);
  background:var(--wxt-inner-contact-hover);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 5px 14px rgba(15,35,50,.07);
  outline:none;
}
.wxt-header--inner-page .wxt-header__social.is-unconfigured{
  opacity:.52;
  cursor:default;
}
.wxt-header--inner-page .wxt-header__social.is-unconfigured:hover{
  transform:none;
  color:rgba(23,48,71,.60);
  border-color:rgba(23,48,71,.10);
  background:rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42);
}

/* Home contact/social remains a Home-only scroll-state treatment. */
.wxt-header[data-wxt-header-variant="home"]:not(.is-past-hero) .wxt-header__scroll-meta{display:none}

@media(max-width:1360px){
  .wxt-header--inner-page .wxt-header__inner{
    grid-template-columns:minmax(178px,.72fr) minmax(420px,1.25fr) minmax(340px,.88fr);
    column-gap:12px;
  }
  .wxt-header--inner-page .wxt-header__scroll-email{max-width:174px;font-size:10.2px}
  .wxt-header--inner-page .wxt-header__scroll-meta{gap:9px;padding-left:12px;padding-right:9px}
  .wxt-header--inner-page .wxt-header__social{width:25px;height:25px;flex-basis:25px}
}

@media(max-width:1180px){
  .wxt-header--inner-page .wxt-header__inner{grid-template-columns:1fr auto}
  .wxt-header--inner-page .wxt-header__scroll-meta{display:none}
}

@media(max-width:767px){
  .wxt-header--inner-page .wxt-header__actions{gap:7px}
}

@media(prefers-reduced-motion:reduce){
  .wxt-header--inner-page .wxt-header__scroll-email,
  .wxt-header--inner-page .wxt-header__social{transition:none}
}

/* Home post-Hero contact rail: keep the approved dark frosted material but give
 * email and social actions enough breathing room to read as intentional controls. */
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__scroll-meta{
  gap:16px;
  padding-left:20px;
  padding-right:12px;
}
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__scroll-email{
  color:rgba(255,255,255,.92);
  font-size:11.4px;
  font-weight:650;
  letter-spacing:.004em;
}
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__socials{gap:6px}
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__social{
  width:28px;
  height:28px;
  flex:0 0 28px;
  color:rgba(255,255,255,.82);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__social svg{width:13px;height:13px}
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__social:hover,
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__social:focus-visible{
  color:#fff;
  border-color:rgba(255,255,255,.23);
  background:rgba(255,255,255,.11);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 6px 15px rgba(0,0,0,.10);
}

.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__social.is-unconfigured{opacity:.48}
.wxt-header--hero-home.is-past-hero[data-wxt-scrolled-identity="1"] .wxt-header__social.is-unconfigured:hover{
  transform:none;
  color:rgba(255,255,255,.82);
  border-color:rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
