/* Mobile and portrait tablet only. Desktop styles remain unchanged. */
@media(max-width:900px){
  html{scroll-padding-top:105px}
  .wrap{width:90%;max-width:100%}
  nav{height:100px;gap:10px}
  header .logo{flex:1;min-width:0;gap:10px}
  header .company-name{display:block;font-size:12px;line-height:1.3;white-space:normal;min-width:0}
  header .company-name small{font-size:7px;line-height:1.5;white-space:normal;letter-spacing:.15px}
  nav>.btn{display:none}
  .menu{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:8px;color:#10283e;font-size:26px}
  header .links{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:0;padding:12px 5% 20px;background:#fff;border-bottom:2px solid #d3ab45;max-height:calc(100dvh - 105px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 12px 20px #10283e15}
  header .links.open{display:flex}
  header .links>a,header .links summary{display:flex;align-items:center;min-height:48px;padding:12px 8px;font-size:15px}
  header .nav-drop{width:100%}
  header .nav-drop .dropdown{position:static;min-width:0;width:100%;max-height:none;margin:0 0 10px;padding:4px 12px;background:#f1f5f8;box-shadow:none}
  header .nav-drop .dropdown a{display:flex;align-items:center;min-height:44px;padding:10px 8px;font-size:14px;white-space:normal}
  .btn{min-height:48px;font-size:13px;line-height:1.4}
  .btn:hover{transform:none}
  input,select,textarea{font-size:16px;min-height:48px}
  textarea{min-height:130px}
  label{font-size:13px;line-height:1.5}
  .logo-window{overflow:hidden;mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent)}
  .logo-tile{width:175px;height:125px;gap:12px}
  .logo-tile span{font-size:12px}
  .logo-tile:hover,.logo-tile:focus-visible{transform:none}
}
@media(max-width:650px){
  nav{height:84px}
  header .company-name{font-size:clamp(9px,2.5vw,12px)}
  header .company-name small{font-size:clamp(6px,1.65vw,7px);margin-top:4px}
  .topline{font-size:8px;letter-spacing:.45px;padding:9px 0}
  .hero .wrap{min-height:0}
  .hero-text{position:relative;z-index:2;padding:44px 0 34px}
  .hero h1{font-size:clamp(43px,11.5vw,62px);line-height:1.05;max-width:100%;margin:24px 0}
  .hero p{font-size:15px;line-height:1.75;max-width:100%}
  .hero-actions{flex-wrap:wrap;gap:12px;margin-top:26px}
  .hero-actions .btn{justify-content:space-between;padding:15px 18px;font-size:13px}
  .hero-bottom{position:relative;z-index:2;bottom:auto;left:auto;flex-wrap:wrap;gap:12px;padding-bottom:24px;font-size:9px;line-height:1.5}
  .hero-photo{z-index:0;pointer-events:none}
  section{padding:48px 0}
  h2,.prose h2,.vdl-range h2,.about-summary h2{font-size:clamp(29px,8vw,38px);line-height:1.15}
  .eyebrow{font-size:10px;letter-spacing:1.2px;line-height:1.6;flex-wrap:nowrap}
  .eyebrow:before{flex-shrink:0}
  .section-head{margin-bottom:28px}
  .section-head>p,.product-panel p,.industry-copy p,.about p,.contact-copy>p,.prose p,.prose li,.page-hero p,.principal-card p,.about-summary p,.vdl-intro p,.application-box p,.catalog-card,.client-directory p{font-size:15px;line-height:1.8}
  .page-hero{padding:32px 0 36px}
  .page-hero h1{font-size:clamp(34px,9.5vw,46px);line-height:1.12;margin:20px 0}
  .page-content{padding:36px 0 48px}
  .product-panel{padding:24px;min-height:0}
  .product-panel h3{font-size:27px}
  .chips span{font-size:12px;line-height:1.5}
  .principal-card{padding:24px}
  .principal-actions a,.text-link,.official-link a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;line-height:1.5}
  .service summary{min-height:56px;font-size:18px;gap:14px}
  .service p{font-size:15px;line-height:1.8;padding-left:0}
  .industrial-photo{height:280px}
  .office-grid address,.contact-details a,.contact-details address{font-size:15px;line-height:1.8}
  .office-grid a,.contact-details a{display:inline-block;padding:5px 0}
  .form-grid{grid-template-columns:1fr;gap:20px}
  .form-note{font-size:12px;line-height:1.7}
  .company-options{max-height:min(320px,50dvh)}
  footer .footer-top .company-name{min-width:0;flex:1;white-space:normal;font-size:clamp(10px,2.6vw,13px)!important;line-height:1.4}
  footer .footer-top .company-name small{white-space:normal;font-size:7px!important;line-height:1.6}
  .footer-contact{font-size:14px;gap:24px}
  .footer-contact a,.footer-directory a,.footer-bottom a{display:inline-flex;align-items:center;min-height:44px;line-height:1.6}
  .footer-directory{font-size:13px;gap:8px 16px}
  .footer-bottom{font-size:11px;line-height:1.7;gap:8px}
  .footer-bottom a{margin-left:0;margin-right:20px}
}
@media(max-width:420px){
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{width:100%}
}

/* Preserve the desktop navigation; show its quotation action in the mobile menu. */
header .links .mobile-quotation{display:none}
@media(max-width:900px){
  header .links.open>a.mobile-quotation{display:flex;align-items:center;justify-content:space-between;align-self:flex-start;gap:28px;min-height:52px;margin:12px 8px 4px;padding:16px 20px;background:#10283e;color:#fff;border:1px solid transparent;font-size:12px;font-weight:500;line-height:1.4}
  header .links.open>a.mobile-quotation:hover{background:#173c58;color:#fff;transform:none}
}
