/* PIG unified page header — one design for every page.
   Usage: <section class="[existing classes] pig-hdr" style="--pig-hero-image:url('/assets/img/heroes/x.webp');--pig-hero-pos:60% 40%"> */
section.pig-hdr{position:relative!important;isolation:isolate;overflow:hidden!important;background:#0b0e13 none!important;color:#fff!important;
  display:flex!important;align-items:center;min-height:clamp(440px,40vw,600px)!important;padding:72px 0!important;border:0!important}
section.pig-hdr::before{content:""!important;position:absolute!important;top:0;right:0;bottom:0;left:36%;inset:0 0 0 36%;z-index:-2;
  background:#0b0e13 var(--pig-hero-image) var(--pig-hero-pos,50% 40%)/cover no-repeat!important}
section.pig-hdr::after{content:""!important;position:absolute!important;inset:0!important;z-index:-1;pointer-events:none;font-size:0!important;
  background:linear-gradient(90deg,#0b0e13 0%,#0b0e13 36%,rgba(11,14,19,.90) 47%,rgba(11,14,19,.50) 64%,rgba(11,14,19,.14) 100%),
             linear-gradient(0deg,rgba(11,14,19,.88) 0%,rgba(11,14,19,0) 30%)!important;background-size:auto!important}
section.pig-hdr>.wrap{position:relative;z-index:1;width:min(var(--max,1240px),calc(100% - 72px));margin-inline:auto;padding:0!important}
section.pig-hdr .pig-hero-art{display:none!important}
section.pig-hdr .breadcrumbs{color:#8d95a1;font-size:.75rem;margin:0 0 20px}
section.pig-hdr .tag,section.pig-hdr .ey{display:block;color:#ef455a!important;font:800 .8rem/1.5 Inter,'Helvetica Neue',Arial,sans-serif;letter-spacing:.22em;text-transform:uppercase}
section.pig-hdr h1{color:#fff;font-weight:850;letter-spacing:-.045em;line-height:.98;margin:14px 0 24px;max-width:min(58%,800px);
  font-size:clamp(2.7rem,5.2vw,5.6rem);text-wrap:balance}
section.pig-hdr.pig-hdr--mid h1{font-size:clamp(2.4rem,4.2vw,4.5rem);line-height:1.0}
section.pig-hdr.pig-hdr--long h1{font-size:clamp(2rem,3.2vw,3.4rem);line-height:1.06;letter-spacing:-.035em}
section.pig-hdr .wrap>p{color:#d0d5dc!important;font-size:clamp(1.02rem,1.35vw,1.3rem);line-height:1.5;max-width:min(45%,560px);margin:0}
section.pig-hdr .hero-buttons{margin-top:32px}
@media(max-width:800px){
  section.pig-hdr{min-height:0!important;padding:56px 0!important}
  section.pig-hdr::before{inset:0!important}
  section.pig-hdr::after{background:linear-gradient(90deg,rgba(11,14,19,.95),rgba(11,14,19,.80))!important}
  section.pig-hdr h1,section.pig-hdr .wrap>p{max-width:none}
}
/* Homepage variant: same header, with the homepage's larger headline and taller band. */
section.pig-hdr.pig-hdr--home{min-height:clamp(480px,46vw,680px)!important}
section.pig-hdr.pig-hdr--home h1{font-size:clamp(3.45rem,7.3vw,7.8rem);line-height:.97;max-width:min(62%,820px);margin:16px 0 25px}
section.pig-hdr.pig-hdr--home .wrap>p{font-size:clamp(1.05rem,1.55vw,1.4rem);max-width:min(46%,530px)}
@media(max-width:800px){
  section.pig-hdr.pig-hdr--home{min-height:0!important}
  section.pig-hdr.pig-hdr--home h1{font-size:clamp(3.2rem,12vw,5.3rem);max-width:none}
  section.pig-hdr.pig-hdr--home .wrap>p{max-width:none}
}
