/* Desktop first-view balance.
   Copy moves as one group, 38px below its previous position.
   The badge row ends before the red gate machine and follows the lower wave.
   This final stylesheet owns desktop copy/badge geometry; image and hero height stay unchanged. */
@media(min-width:961px){
 .reference-home .hero{aspect-ratio:auto;height:clamp(480px,30vw,520px);min-height:29.5vw;max-height:42.85vw}
 .reference-home .hero-photo img{object-fit:cover;object-position:center top}
 .reference-home .hero-copy{top:calc(10% + 38px);left:33%;width:37%}
 .reference-home .hero-line-first{font-size:clamp(32px,2.7vw,49px)}
 .reference-home .hero-line-second{font-size:clamp(29px,2.4vw,44px)}
 .reference-home .hero h1 .hero-line-main{font-size:clamp(43px,3.5vw,64px)}
 .reference-home .hero-copy>p{font-size:clamp(12px,.9vw,16px)}
 .reference-home .badges{left:auto;right:52%;bottom:3%;gap:clamp(10px,.8vw,16px)}
 .reference-home .badge{width:clamp(110px,7.4vw,140px);height:clamp(110px,7.4vw,140px);min-width:0;min-height:0}

}


/* Keep text inside a centered content column, including the circle's curved edges. */
.reference-home .hero .badge{padding:10px 8px;gap:2px;flex-shrink:0;text-align:center;justify-content:center;align-items:center}
.reference-home .hero .badge svg{flex:none;width:24px;height:24px;min-width:0;min-height:0;margin:0}
.reference-home .hero .badge b{display:flex;align-items:center;justify-content:center;width:100%;min-height:2.3em;margin:0;font-size:clamp(12px,.92vw,17px);line-height:1.15;letter-spacing:0;white-space:normal;flex:none}
.reference-home .hero .badge small{display:block;width:100%;font-size:clamp(9px,.64vw,12px);line-height:1.3;letter-spacing:0;margin:0;flex:none}
@media(min-width:961px) and (max-width:1100px){.reference-home .hero .badges{left:3%;right:auto}.reference-home .hero .badge{width:105px;height:105px}.reference-home .hero .badge svg{width:21px;height:21px}}
@media(min-width:601px) and (max-width:960px){.reference-home .hero .badges{left:24%;bottom:6%;gap:8px}.reference-home .hero .badge{width:100px;height:100px}.reference-home .hero .badge b{font-size:12px}.reference-home .hero .badge small{font-size:9px}.reference-home .hero .badge svg{width:20px;height:20px}}
@media(max-width:600px){.reference-home .hero .badge{padding:12px 8px}.reference-home .hero .badge b{font-size:14px}.reference-home .hero .badge small{font-size:10px}.reference-home .hero .badge svg{width:25px;height:25px}}

@media(min-width:601px) and (max-width:700px){.reference-home .hero .badges{bottom:2%}.reference-home .hero .badge{width:94px;height:94px;padding:8px 7px}.reference-home .hero .badge svg{width:18px;height:18px}}
