/* Fit the layout to the viewport while keeping text at a readable size. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-width:0}
*,*::before,*::after{box-sizing:border-box}
header,main,footer{width:100%;min-width:0}
img,video,svg,iframe{max-width:100%}
main img{height:auto}
header{flex-wrap:wrap}
header nav{min-width:0;flex-wrap:wrap;gap:12px 18px}
header nav a{white-space:normal}
.brand,.brand-wordmark{min-width:0;overflow-wrap:anywhere}
.brand small{letter-spacing:1px;line-height:1.5}
.site-brand-logo{width:80px;height:80px}
.grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.catalog{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.model-gallery{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
.grid>*,.catalog>*,.model-gallery>*,.hero>*,.layout>*,.cards>*,.row>*,.photo-gallery>*{min-width:0}
.card,.panel,.banner,.hero-copy,.card-body{overflow-wrap:anywhere}
.model-photo{display:block;width:100%;height:220px;object-fit:contain;background:#f3f3f3;border-radius:10px}
main .hero-photo{height:360px;object-fit:cover}
main .photo-gallery img{height:300px;object-fit:cover}
main .meet-dennis img{height:340px;object-fit:cover}
main .listing-photo{height:100%;object-fit:contain}
main .stock-photo{height:210px;object-fit:cover}
main .featured-card img{height:220px;object-fit:cover}
main h1,main .hero h1{font-size:clamp(30px,4vw,56px);line-height:1.12;letter-spacing:normal;overflow-wrap:anywhere}
main h2{font-size:clamp(25px,3vw,36px);line-height:1.2;overflow-wrap:anywhere}
main .small,main .notice,main .label,main figcaption,footer{font-size:14px;line-height:1.6}
main .card p{font-size:16px}
input,select,textarea{min-width:0;max-width:100%;font-size:16px}
button,.button,.website-button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.actions{flex-wrap:wrap}
.actions>*{min-width:0}
.price-row{flex-wrap:wrap}
.table-scroll{max-width:100%;overflow:auto}
@media screen and (max-width:1000px){
  header{align-items:flex-start;gap:16px}
  header nav{width:100%;justify-content:flex-start}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (max-width:900px){
  main .hero{grid-template-columns:minmax(0,1fr);padding:28px;gap:24px;min-height:0}
  main .hero-copy{padding:0}
  .layout{grid-template-columns:minmax(0,1fr)}
  .filters{position:static}
  .hero-art{min-width:0;height:220px}
  .hero-art svg{height:100%}
}
@media screen and (max-width:750px){
  header,footer{padding:18px 16px}
  main{padding:0 16px 36px}
  .brand-with-logo{gap:10px;width:100%}
  .site-brand-logo{width:64px;height:64px}
  .brand-wordmark{font-size:16px;line-height:1.3}
  .brand-wordmark small{font-size:11px;letter-spacing:.5px;margin-top:5px}
  header nav a{font-size:14px;line-height:1.4}
  main .hero{padding:22px;border-radius:16px;gap:20px}
  main .hero h1 br{display:none}
  main .hero-photo{height:260px}
  .grid,.cards,.photo-gallery,.meet-dennis{grid-template-columns:minmax(0,1fr)}
  .section{padding:28px 0}
  .card,.panel,.banner{padding:20px}
  main .photo-gallery img{height:240px}
  .results-head{flex-wrap:wrap;align-items:flex-start}
  .results-head select{max-width:100%}
  .actions .button,.actions .website-button{font-size:16px;padding:12px 16px;line-height:1.4}
}
@media screen and (max-width:420px){
  .row,.editor .row{grid-template-columns:minmax(0,1fr)}
  .card-body{padding:18px}
  .actions{gap:10px}
  .actions .button,.actions .website-button{width:100%;text-align:center;justify-content:center}
}

/* Prominent warranty message above the homepage hero. */
.top-warranty-banner{background:#ef7d26;color:#111;border:3px solid #191919;border-radius:16px;padding:24px 20px;margin:0 0 24px;text-align:center}
.top-warranty-banner strong{display:block;font:900 clamp(26px,4vw,48px)/1.15 system-ui,sans-serif;letter-spacing:.5px;overflow-wrap:normal}
.top-warranty-banner p{max-width:none;margin:12px 0 0;font-size:14px;line-height:1.5}
@media(max-width:480px){.top-warranty-banner{padding:20px 14px}.top-warranty-banner strong{font-size:26px}}
