/* Site-wide lock: one header, one footer, one opening-section scale */
@media(min-width:981px){
  .yh-header .nav-wrap{height:86px!important}
  .yh-brand img{width:154px!important;max-height:62px!important}
  .yh-nav{gap:24px!important}
  .yh-nav a{font-size:10.2px!important;letter-spacing:.045em!important;text-transform:uppercase!important;font-weight:700!important}
  .yh-quote{padding:11px 15px!important;font-size:9.3px!important;background:var(--green)!important;color:#fff!important}

  /* Keep all page openings within the same visual band (approx. 420–470px). */
  .yh-opening,.yh-opening-inner{min-height:460px!important}
  .yh-opening-copy{padding-top:20px!important;padding-bottom:24px!important}
  .yh-opening h1{font-size:70px!important;line-height:.95!important}
  .yh-opening-image{width:50%!important}

  .yp-opening-grid{min-height:460px!important;padding-top:24px!important;padding-bottom:26px!important}
  .yp-opening h1{font-size:64px!important;margin:14px 0 20px!important}
  .yp-lede{margin-bottom:22px!important}
  .yp-opening-index a{padding:11px 12px!important}
  .yp-opening-specimens{height:370px!important}
  .yp-specimen-main{height:270px!important;top:5px!important}
  .yp-specimen-briq{height:220px!important;top:62px!important}
  .yp-specimen-char{height:170px!important;bottom:0!important}
  .yp-specimen-thread{bottom:40px!important}

  .ypr-opening-grid{min-height:420px!important;grid-template-columns:360px 460px 1fr!important}
  .ypr-opening h1{font-size:62px!important}
  .ypr-opening-copy{margin-top:24px!important}

  .yap-opening-grid{min-height:420px!important;grid-template-columns:390px 470px 1fr!important}
  .yap-title-wrap h1{font-size:62px!important;line-height:.96!important}
  .yap-opening-image{width:40%!important}

  .yac-opening{padding:32px 0 34px!important;min-height:460px!important}
  .yac-opening-grid{min-height:394px!important}
  .yac-opening h1{font-size:64px!important;margin-bottom:18px!important}
  .yac-opening-copy>p:last-of-type{font-size:13.5px!important;line-height:1.62!important;margin-bottom:18px!important}
  .yac-opening-visual{height:360px!important}

  .yact-opening{padding:34px 0 36px!important;min-height:430px!important;display:flex;align-items:center}
  .yact-opening-grid{width:100%;min-height:360px!important}
  .yact-opening h1{font-size:64px!important;margin-bottom:18px!important}
  .yact-opening-copy>p:last-child{font-size:13.5px!important;line-height:1.62!important}

  .ya-opening,.ya-opening-grid{min-height:460px!important}
}

/* Canonical footer stays identical on every page. */
.yh-footer-strip{display:block!important}
.yh-footer{background:var(--green-deep)!important;color:#fff!important;padding:42px 0 15px!important}
.yh-footer-main{grid-template-columns:1.65fr .8fr .85fr 1fr!important;gap:48px!important}
.yh-footer-logo{background:var(--bone)!important;padding:9px 12px!important}
.yh-footer-logo img{width:154px!important;max-height:64px!important}
.yh-footer h4{text-transform:uppercase!important;font-size:10px!important;letter-spacing:.09em!important;color:#e4d9c2!important}
.yh-footer li,.yh-footer-about p{font-size:11.5px!important;line-height:1.55!important;color:rgba(255,255,255,.72)!important}
.yh-footer-bottom{font-size:9.5px!important;color:rgba(255,255,255,.56)!important}

@media(max-width:980px){
  .yh-header .nav-wrap{height:78px!important}
  .yh-brand img{width:145px!important;max-height:58px!important}
}
@media(max-width:900px){
  .yh-footer-main{grid-template-columns:1.4fr 1fr 1fr!important;gap:34px!important}.yh-footer-main>div:last-child{grid-column:2/4}
}
@media(max-width:680px){
  .yh-header .nav-wrap{height:70px!important}
  .yh-brand img{width:132px!important}
  .yh-footer-main{grid-template-columns:1fr 1fr!important;gap:28px!important}.yh-footer-about{grid-column:1/-1!important}.yh-footer-main>div:last-child{grid-column:auto!important}
}
@media(max-width:420px){.yh-footer-main{grid-template-columns:1fr!important}.yh-footer-main>div:last-child{grid-column:auto!important}}
.yh-nav a.active{color:var(--ember)!important}.yh-nav a.active::after{right:0!important}

/* Production header lock: fixed viewport utility with an explicit document offset.
   Sticky positioning was not reliable on the deployed pages, leaving the header
   inside the scrolling document. */
:root{--yh-header-height:86px}
body.yh-page{padding-top:var(--yh-header-height)!important}
.yh-header{position:fixed!important;top:0!important;right:0!important;left:0!important;width:100%!important;z-index:1000!important}
@media(max-width:980px){:root{--yh-header-height:78px}}
@media(max-width:680px){:root{--yh-header-height:70px}}
/* Opening rhythm on tablet: preserve page character but keep the first visual band comparable. */
@media(min-width:681px) and (max-width:980px){
  .yh-opening,.yh-opening-inner{min-height:500px!important}
  .yp-opening-grid{min-height:500px!important;padding-top:28px!important;padding-bottom:28px!important}
  .yp-opening-specimens{height:410px!important}
  .ypr-opening-grid{min-height:390px!important}
  .yap-opening-grid{min-height:390px!important}
  .yac-opening{min-height:500px!important;padding-top:34px!important;padding-bottom:34px!important}
  .yac-opening-grid{min-height:432px!important}.yac-opening-visual{height:330px!important}
  .yact-opening{min-height:440px!important}.yact-opening-grid{min-height:370px!important}
  .ya-opening,.ya-opening-grid{min-height:440px!important}
}

/* Mobile first bands are deliberately compacted so no page opens with an oversized pseudo-hero. */
@media(max-width:680px){
  .yh-opening,.yh-opening-inner{min-height:560px!important}
  .yh-opening-image{top:275px!important;height:285px!important}
  .yp-opening-grid{min-height:auto!important;padding-top:30px!important;padding-bottom:28px!important}
  .yp-opening h1{font-size:43px!important;margin:12px 0 16px!important}
  .yp-lede{font-size:12.5px!important;margin-bottom:16px!important}
  .yp-opening-index{grid-template-columns:repeat(3,1fr)!important;max-width:none!important}
  .yp-opening-index a{grid-template-columns:1fr!important;gap:3px!important;padding:9px 6px!important;text-align:center!important;border-bottom:0!important;border-right:1px solid var(--line)!important}
  .yp-opening-index a:last-child{border-right:0!important}.yp-opening-index b{font-size:16px!important}.yp-opening-index span{font-size:7.5px!important}
  .yp-opening-specimens{height:285px!important;margin-top:4px!important}
  .yp-specimen-main{height:210px!important}.yp-specimen-briq{height:175px!important;top:42px!important}.yp-specimen-char{height:135px!important}
  .ypr-opening-grid{min-height:430px!important}
  .yap-opening-grid{min-height:470px!important}
  .yac-opening{min-height:590px!important;padding:34px 0 36px!important}.yac-opening-grid{min-height:520px!important}.yac-opening-visual{height:235px!important}
  .yact-opening{min-height:600px!important}.yact-opening-grid{min-height:auto!important}
  .ya-opening,.ya-opening-grid{min-height:500px!important}
}

/* One full-bleed CTA language across every business page. */
.hm-cta,.yp-cta,.ypr-cta,.yap-cta,.yac-join{position:relative;isolation:isolate;overflow:hidden;padding:0!important;border:0!important;background:linear-gradient(90deg,rgba(8,48,29,.96) 0%,rgba(8,48,29,.88) 50%,rgba(8,48,29,.74) 100%),url('../images/optimized/raw-agro-residue-v3.webp') center 52%/cover no-repeat!important;color:#fff!important}
.hm-cta-inner,.yp-cta-inner,.ypr-cta-inner,.yap-cta-inner,.yac-join-grid{position:relative;z-index:1;width:100%!important;max-width:none!important;min-height:146px;display:grid;align-items:center;padding:25px clamp(26px,5vw,84px)!important}
.hm-cta-inner{border-radius:0!important;background:none!important}.yp-cta-inner,.ypr-cta-inner,.yap-cta-inner{grid-template-columns:1fr auto!important;gap:60px!important}.yac-join-grid{grid-template-columns:1.1fr .8fr auto!important;gap:50px!important}
.hm-cta h2,.yp-cta h2,.ypr-cta h2,.yap-cta h2,.yac-join h2,.hm-cta p,.yp-cta p,.ypr-cta p,.yap-cta p,.yac-join p,.yac-opening-status strong{color:#fff!important}.hm-cta p,.yp-cta p,.ypr-cta p,.yap-cta p,.yac-join p{opacity:.82}.hm-cta-inner>a,.yp-cta-button,.ypr-cta a,.yap-cta a,.yac-apply{background:var(--ember)!important;color:#fff!important;border:0!important}.yap-kicker,.yp-section-label,.ypr-kicker,.yac-kicker{color:#f3a66e!important}.yac-opening-status{border-color:#f3a66e!important}.yac-opening-status span{color:#f3a66e!important}.yac-opening-status p{opacity:.72}.hm-cta-inner>a{border-radius:0!important}

/* The opening composition should lead directly into the proof metrics. */
@media(min-width:901px){.hm-opening-inner{min-height:510px!important}.hm-metrics{padding-top:0!important}}
@media(max-width:760px){.hm-cta-inner,.yp-cta-inner,.ypr-cta-inner,.yap-cta-inner,.yac-join-grid{min-height:auto;grid-template-columns:1fr!important;gap:20px!important;padding:28px 26px!important}.yac-join-grid{gap:18px!important}.hm-cta-inner>a,.yp-cta-button,.ypr-cta a,.yap-cta a,.yac-apply{justify-self:start}}
