/* HMY V31 — additive improvements; existing site files and backend stay unchanged. */
:root{--hmy-readable:#3e4541}
.header nav a{font-size:clamp(15px,1vw,17px)!important;line-height:1.35}
.topline{font-size:12px;letter-spacing:1.4px}
.eyebrow{font-size:13px;line-height:1.5}
.heroCopy>p{font-size:clamp(18px,1.35vw,21px)!important;line-height:1.7;color:var(--hmy-readable)}
.sectionHeading>p,.contactInfo p,.hmyContactDetails p{font-size:clamp(17px,1.2vw,19px);line-height:1.75;color:var(--hmy-readable)}
.statementRight .aboutLong,.statementRight .aboutLong p{font-size:clamp(18px,1.25vw,20px)!important;line-height:1.75!important}
.featureGrid h3{font-size:clamp(24px,1.9vw,29px)}
.featureGrid p{font-size:clamp(18px,1.3vw,20px);line-height:1.7;color:#414a45;max-width:400px}
.featureGrid article{min-height:300px}
.card-footer h3{font-size:clamp(19px,1.45vw,23px)}
.note,.catalogNote,.formHint,#formStatus{font-size:14px}
.btn,.textlink,.hmy-quote-link{font-size:15px}
.contactForm label{font-size:16px}.contactForm input,.contactForm textarea{font-size:17px;min-height:48px}
.machineStats span{font-size:16px;line-height:1.5;color:#434a45}
.machineDetails summary{font-size:19px}.machineDetails table{font-size:16px}.machineDetails th{font-size:14px}
.hmyContactDetails h3{font-size:18px}.footerTop p,.footerTop>a:last-child{font-size:15px}.footerBottom{font-size:12px}
.hmy-quote-link{font-weight:800;text-decoration:underline;text-underline-offset:5px;color:#b64c2c}
/* Approved three-image machine gallery. */
.machinery .machineGallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
.machinery .machineGallery figure{margin:0;min-width:0;border-radius:8px;overflow:hidden}
.hmy-gallery-open{display:block;border:0;background:transparent;padding:0;width:100%;cursor:zoom-in}
.machinery .machineGallery .hmy-gallery-open img{display:block;width:100%!important;height:275px!important;object-fit:cover!important;transition:transform .2s ease}
.hmy-gallery-open:hover img{transform:scale(1.025)}
.hmy-gallery-open:focus-visible{outline:3px solid #df6b45;outline-offset:-3px}
.hmy-lightbox[hidden]{display:none!important}
.hmy-lightbox{position:fixed;inset:0;z-index:9999;background:rgba(10,14,13,.96);display:flex;align-items:center;justify-content:center;padding:60px 72px}
.hmy-lightbox img{display:block;max-width:100%;max-height:calc(100dvh - 120px);width:auto;height:auto;object-fit:contain}
.hmy-lightbox button{position:absolute;color:white;background:#252b2acb;border:1px solid #ffffff66;border-radius:50%;width:48px;height:48px;font-size:34px;line-height:1;cursor:pointer}
.hmy-lightbox-close{top:15px;right:18px}.hmy-lightbox-prev{left:12px;top:50%}.hmy-lightbox-next{right:12px;top:50%}
.hmy-lightbox-count{position:absolute;bottom:18px;color:#fff;font-size:15px}
/* Video logo is an overlay, not an edit to original mp4 files. */
.hmy-video-frame{position:relative}.hmy-video-frame video{width:100%;display:block}
.hmy-video-watermark{position:absolute;right:12px;top:12px;width:clamp(62px,8vw,100px);height:auto;max-height:56px;object-fit:contain;pointer-events:none;opacity:.88;border-radius:2px}
.hmy-video-heading>span{font-size:14px}.hmy-video-heading p,.hmy-video-card figcaption{font-size:17px}
/* Certification logos are unchanged, only spacing and size are improved. */
.certLogo{min-height:170px;padding:16px}.certLogo img{max-width:180px;height:125px}
@media(max-width:1450px) and (min-width:1101px){.header nav a{font-size:13px!important}.header nav{gap:8px!important}}
@media(max-width:1100px){.header nav.open a{font-size:18px!important;padding:12px 0}.header nav{max-height:calc(100dvh - 80px);overflow-y:auto}}
@media(max-width:850px){.machinery .machineGallery{grid-template-columns:1fr!important}.machinery .machineGallery .hmy-gallery-open img{height:auto!important;max-height:390px;object-fit:contain!important;background:#eee}.featureGrid article{min-height:0}.certStrip{gap:10px!important}}
@media(max-width:720px){.sectionHeading h2{font-size:clamp(36px,8vw,52px)}.featureGrid p{font-size:18px}.hmy-lightbox{padding:65px 42px}.hmy-lightbox button{width:38px;height:38px;font-size:28px}.hmy-lightbox-prev{left:3px}.hmy-lightbox-next{right:3px}.hmy-video-watermark{width:70px}.heroActions{gap:18px}.contactForm label{font-size:16px}}
@media(max-width:420px){.topline{font-size:9px}.certLogo img{height:100px}.card-footer h3{font-size:17px}}
