/* BEP typography reference: Montserrat Regular for body, SemiBold for supporting heads, Bold for major heads. */
html,body,button,input,textarea,select{font-family:'Montserrat',Arial,sans-serif!important}
body{font-size:16px;font-weight:400}
h1,h2{font-weight:700!important}
h3,h4,.nav a,.eyebrow,.button,.section-heading a,.service-details summary,.form-card label{font-weight:600!important}
p,li,label,input,textarea,select{font-weight:400}
.nav a{font-size:12px!important}
.photo-edit-toggle,.header-cta,.button{font-size:12px!important}
.hero .eyebrow,.eyebrow{font-size:12px!important}
.hero h1{font-size:clamp(40px,4.5vw,62px)!important}
main p,main li{font-size:15px!important;line-height:1.55}
.hero p{font-size:16px!important}
h2{font-size:clamp(28px,3vw,38px)!important}
h3{font-size:15px!important}
.feature p,.feature-grid p,.steps p,.why-grid p,.value-grid p,.service-details li,.industry-cards p,.capability-strip p,.partner-points li{font-size:13px!important;line-height:1.5}
.industry-list span{font-size:12px!important;line-height:1.3}
.capability-strip span{font-size:14px!important;line-height:1.45}
.capability-strip b{font-size:13px!important;font-weight:600!important}
.footer-tagline{font-size:11px!important}
.hero-side{font-size:13px!important}
.steps b{font-size:34px!important;font-weight:700!important}
.photo-manager-row strong{font-size:14px!important;font-weight:600!important}
.photo-manager-row span{font-size:13px!important}
.contact-detail h3{font-size:16px!important;font-weight:600!important;line-height:1.35}
.contact-detail a,.contact-detail p{font-size:15px!important;line-height:1.55!important;font-weight:400!important}
.contact-detail a{display:block}
.industries .industry-list span:nth-child(1){background-image:linear-gradient(0deg,#08294de6,#08294d16),url('assets/industry-mining.png')!important}
.industries .industry-list span:nth-child(2){background-image:linear-gradient(0deg,#08294de6,#08294d16),url('assets/industry-manufacturing.png')!important}
.industries .industry-list span:nth-child(3){background-image:linear-gradient(0deg,#08294de6,#08294d16),url('assets/industry-sugar-processing.png')!important}
.industries .industry-list span:nth-child(4){background-image:linear-gradient(0deg,#08294de6,#08294d16),url('assets/industry-industrial-processing.png')!important}
.industries .industry-list span:nth-child(5){background-image:linear-gradient(0deg,#08294de6,#08294d16),url('assets/industry-energy-power.png')!important}
.industries .industry-list span:nth-child(6){background-image:linear-gradient(0deg,#08294de6,#08294d16),url('assets/industry-water-utilities.png')!important}
.industries .industry-list span:nth-child(7){background-image:linear-gradient(0deg,#08294de6,#08294d16),url('assets/industry-construction.png')!important}
.industries .industry-list span:nth-child(8){background-image:linear-gradient(0deg,#08294de6,#08294d16),url('assets/industry-material-handling.png')!important}
.industries .industry-list span{background-size:cover!important;background-position:center!important}
.project-gallery .gallery-card figcaption{padding:12px 14px 14px;color:var(--navy);font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.project-gallery .gallery-note{font-size:13px!important}
.section-heading>a,.section-heading a,.service-details summary,.gallery-note{font-size:12px!important}
.footer,.footer p,.footer strong,.footer a{font-size:12px!important;line-height:1.5}
.form-card label,.form-card input,.form-card textarea,.form-card select{font-size:14px!important}
.photo-manager,.photo-manager p,.photo-manager span,.photo-manager strong,.photo-manager button,.photo-manager summary{font-size:14px}
.manager-head h2{font-size:24px!important}
@media(max-width:760px){
 .hero h1{font-size:clamp(34px,9vw,46px)!important}
 main p,main li{font-size:15px!important}
 .feature p,.feature-grid p,.steps p,.why-grid p,.value-grid p,.service-details li,.industry-cards p,.capability-strip p,.partner-points li{font-size:14px!important}
 .industry-list span{font-size:13px!important}
 .nav a{font-size:14px!important}
 .site-header{gap:5px!important}
 .brand{width:126px!important}
 .header-actions{gap:4px!important}
 .photo-edit-toggle{font-size:9px!important;padding:6px!important;margin:0!important}
 .header-cta{display:inline-flex!important;font-size:9px!important;padding:6px 7px!important;gap:5px!important}
 .menu-toggle{font-size:20px!important;padding:3px!important}
 .capability-strip span{font-size:14px!important}
 .contact-detail h3{font-size:16px!important}
 .contact-detail a,.contact-detail p{font-size:15px!important}
 .footer,.footer p,.footer strong,.footer a{font-size:13px!important}
}

/* Phone layout refinement: keep the BEP typography readable at handset widths. */
@media(max-width:760px){
  body{font-size:16px!important;line-height:1.6!important}
  .site-header{height:70px!important;padding:0 4%!important;gap:8px!important}
  .site-header:after{width:105px!important}
  .brand{width:148px!important;max-width:42vw!important}
  .brand img{width:100%!important;height:auto!important}
  .header-actions{margin-left:auto!important;gap:4px!important}
  .header-cta{font-size:10px!important;padding:8px 9px!important;letter-spacing:.06em!important}
  .menu-toggle{font-size:22px!important;padding:5px!important}
  .nav{top:70px!important;padding:18px 7%!important;gap:17px!important}
  .nav a{font-size:15px!important}
  .hero,.hero-home,.hero-about,.hero-services,.hero-projects,.hero-contact{min-height:350px!important;padding:38px 7%!important}
  .hero-home{min-height:390px!important}
  .hero-copy{max-width:100%!important}
  .hero h1{font-size:clamp(36px,10vw,46px)!important;line-height:1.04!important}
  .hero .eyebrow,.eyebrow{font-size:12px!important;line-height:1.45!important}
  .hero p,main p,main li{font-size:16px!important;line-height:1.55!important}
  .button{font-size:12px!important;padding:11px 14px!important}
  h2,.section-heading h2{font-size:clamp(25px,7vw,32px)!important;line-height:1.12!important}
  h3{font-size:16px!important}
  .feature p,.feature-grid p,.steps p,.why-grid p,.value-grid p,.service-details li,.industry-cards p,.capability-strip p,.partner-points li{font-size:15px!important;line-height:1.55!important}
  .industry-list span{font-size:14px!important;line-height:1.35!important}
  .contact-detail h3{font-size:17px!important}
  .contact-detail a,.contact-detail p{font-size:16px!important;line-height:1.6!important}
  .form-card label,.form-card input,.form-card textarea,.form-card select{font-size:16px!important}
  .form-card input,.form-card select{min-height:48px!important}
  .form-card textarea{min-height:130px!important}
  .form-card .button{min-height:46px!important}
  .footer,.footer p,.footer strong,.footer a{font-size:14px!important;line-height:1.55!important}
  .footer-brand{width:min(180px,75vw)!important}
  .project-gallery .gallery-card figcaption{font-size:13px!important;line-height:1.4!important}
}

/* Services page fixes based on the supplied phone screenshots. */
.mobile-talk{display:none}
@media(max-width:760px){
  .header-actions{display:none!important}
  .nav a.mobile-talk{display:block!important;color:var(--blue)!important;font-weight:700!important;border-top:1px solid #d9e0e6;padding-top:12px;width:100%}
  .nav a.mobile-talk span{font-size:20px}
  .hero-services .hero-side{display:none!important}
  .hero:after{right:-125px!important;opacity:.2!important}
  .page#services .service-list{grid-template-columns:minmax(0,1fr)!important;padding:10px 5%!important;gap:16px!important}
  .page#services .service-row{display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;overflow:hidden!important}
  .page#services .service-row .service-card-image{width:100%!important;height:190px!important;object-fit:cover!important}
  .page#services .service-row>div{min-width:0!important;padding:16px 16px 8px!important}
  .page#services .service-row h2{font-size:clamp(21px,6vw,25px)!important;line-height:1.18!important;overflow-wrap:break-word!important;margin:0 0 10px!important}
  .page#services .service-row p:not(.eyebrow){font-size:16px!important;line-height:1.55!important;overflow-wrap:break-word!important}
  .page#services .service-details{padding:0 16px 15px!important}
  .page#services .service-details summary{font-size:14px!important}
  .page#services .service-details li{font-size:15px!important}
}

/* Keep the mobile menu visible and fit the contact details within the phone screen. */
@media(max-width:760px){
  .menu-toggle{color:#fff!important;background:transparent!important;border:0!important}
  .footer{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;padding:24px 7%!important}
  .footer:after{display:none!important}
  .footer>div{min-width:0!important;padding-left:0!important;overflow-wrap:anywhere!important}
  .footer a,.footer span{display:block!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important}
}

/* Stack the Home industries introduction above the tile grid on phones. */
@media(max-width:760px){
  .page#home .industries{grid-template-columns:minmax(0,1fr)!important;gap:18px!important;padding:32px 7%!important;min-height:0!important}
  .page#home .industries>div:first-child{min-width:0!important;width:100%!important}
  .page#home .industries>div:first-child p:not(.eyebrow){font-size:16px!important;line-height:1.55!important;max-width:38ch!important}
  .page#home .industry-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;min-width:0!important}
  .page#home .industry-list span{min-width:0!important;min-height:108px!important;padding:12px 10px!important;font-size:14px!important;line-height:1.35!important;overflow-wrap:break-word!important}
}
