/* Keys Gun Shop homepage banner, Option B "the lineup" (2026-12-03; Keith picked it 2026-11-24, Brad: "build keys option B").
   Piedmont sunrise panorama, live headline top left, real catalog photos along the bottom as department buttons.
   Markup: index.php HERO block (.ks-lineup). Store-only file (brand-*.css never ships in releases). */

.ks-lineup{ position:relative; overflow:hidden; background:#eef1ea; aspect-ratio:2560 / 1000; min-height:520px; max-height:720px; }
.ks-lineup-bg, .ks-lineup-bg img{ position:absolute; inset:0; width:100%; height:100%; display:block; }
html body section.ks-lineup.ks-lineup picture.ks-lineup-bg.ks-lineup-bg img{ object-fit:cover; object-position:center 32%; width:100% !important; height:100% !important; max-width:none !important; }
/* light wash left (headline) and bottom (product row) so the type and photos read on the bright sky and grass */
.ks-lineup::before{ content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.58) 30%, rgba(255,255,255,0) 50%); }
.ks-lineup::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:44%; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.80) 42%, rgba(255,255,255,.94) 100%); }

.ks-lineup-copy{ position:relative; z-index:2; max-width:1440px; margin:0 auto; padding:clamp(28px,4.2vw,58px) clamp(20px,4.2vw,60px) 0; }
.ks-lineup-title{ margin:0; font-family:Oswald,'Arial Narrow',Arial,sans-serif; font-weight:700; text-transform:uppercase;
  font-size:clamp(30px,4.2vw,60px); line-height:1.02; letter-spacing:.005em; color:var(--ks-ink,#141714); }
.ks-lineup-title span{ display:block; }
.ks-lineup-accent{ color:var(--ks-green,#2E5F00); }
.ks-lineup-rule{ width:70px; height:3px; background:var(--ks-green,#2E5F00); margin:clamp(14px,1.6vw,22px) 0 clamp(10px,1.1vw,16px); }
.ks-lineup-sub{ margin:0; font-size:clamp(15px,1.3vw,18px); color:#2b2f2b; max-width:460px; }
.ks-lineup-btn{ display:inline-block; margin-top:clamp(16px,1.8vw,26px); background:var(--ks-green,#2E5F00); color:#fff !important;
  font-family:Oswald,'Arial Narrow',Arial,sans-serif; font-weight:600; font-size:clamp(15px,1.3vw,19px); letter-spacing:.04em;
  text-transform:uppercase; padding:14px 30px; border-radius:4px; text-decoration:none !important; transition:background .15s; }
.ks-lineup-btn:hover, .ks-lineup-btn:focus-visible{ background:#244a00; }

.ks-lineup-row{ position:absolute; left:0; right:0; bottom:clamp(14px,1.6vw,24px); z-index:2; max-width:1440px; margin:0 auto;
  padding:0 clamp(20px,4.2vw,60px); display:flex; align-items:flex-end; justify-content:space-between; gap:18px; }
.ks-lineup-item{ display:flex; flex-direction:column; align-items:center; gap:10px; text-decoration:none !important; flex:1 1 0; min-width:0; }
.ks-lineup-ph{ height:clamp(70px,8.4vw,120px); display:flex; align-items:flex-end; justify-content:center; width:100%;
  filter:drop-shadow(0 10px 10px rgba(0,0,0,.22)); transition:transform .2s ease; }
.ks-lineup-ph picture{ display:flex; align-items:flex-end; justify-content:center; height:100%; max-width:100%; }
html body section.ks-lineup nav.ks-lineup-row a.ks-lineup-item .ks-lineup-ph img{ display:block; height:100% !important; width:auto !important; max-width:100% !important; object-fit:contain; object-position:center bottom; }
/* long guns are wide and thin: let them run the column width instead of the row height */
html body section.ks-lineup nav.ks-lineup-row a.ks-li-xbolt .ks-lineup-ph img, html body section.ks-lineup nav.ks-lineup-row a.ks-li-a5 .ks-lineup-ph img{ height:auto !important; max-height:100% !important; width:100% !important; }
html body section.ks-lineup nav.ks-lineup-row a.ks-li-omega .ks-lineup-ph img{ max-width:40px !important; }
.ks-lineup-label{ font-family:Oswald,'Arial Narrow',Arial,sans-serif; font-weight:600; font-size:clamp(13px,1.1vw,16px); letter-spacing:.05em;
  text-transform:uppercase; color:#fff; background:var(--ks-green,#2E5F00); padding:7px 14px; border-radius:4px; white-space:nowrap; transition:background .15s; }
.ks-lineup-item:hover .ks-lineup-ph, .ks-lineup-item:focus-visible .ks-lineup-ph{ transform:translateY(-4px); }
.ks-lineup-item:hover .ks-lineup-label, .ks-lineup-item:focus-visible .ks-lineup-label{ background:#244a00; }
.ks-lineup-item:focus-visible{ outline:3px solid #2E5F00; outline-offset:4px; border-radius:6px; }

/* tablets: shorter banner, smaller photos */
@media (max-width:1024px){
  .ks-lineup{ min-height:460px; }
  .ks-lineup-row{ gap:10px; }
}
/* phones: the photo on top with the headline, then the departments as a two-column grid below it */
@media (max-width:768px){
  .ks-lineup{ aspect-ratio:auto; min-height:0; max-height:none; background:#f4f5f2; }
  .ks-lineup-bg{ position:relative; inset:auto; height:auto; aspect-ratio:16 / 9; }
  html body section.ks-lineup.ks-lineup picture.ks-lineup-bg.ks-lineup-bg img{ position:absolute; inset:0; object-position:62% 40%; }
  .ks-lineup::after{ display:none; }
  .ks-lineup::before{ height:auto; aspect-ratio:16 / 9; bottom:auto;
    background:linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.55) 55%, rgba(255,255,255,.15) 100%); }
  .ks-lineup-copy{ position:absolute; top:0; left:0; right:0; padding:18px 16px 0; }
  .ks-lineup-sub, .ks-lineup-rule{ display:none; }
  .ks-lineup-btn{ margin-top:12px; padding:10px 20px; }
  .ks-lineup-row{ position:relative; bottom:auto; display:grid; grid-template-columns:1fr 1fr; gap:14px 10px; padding:16px; }
  .ks-lineup-item{ background:#fff; border:1px solid #e1e5dc; border-radius:8px; padding:12px 8px 10px; }
  .ks-lineup-ph{ height:64px; }
  .ks-li-ammo{ grid-column:1 / -1; }
}
@media (prefers-reduced-motion:reduce){
  .ks-lineup-ph, .ks-lineup-btn, .ks-lineup-label{ transition:none !important; }
}
