.gallery-header nav a[aria-current],.gallery-header nav a:hover{color:var(--gold)}
.gallery-shop-link{justify-self:end;white-space:nowrap}
.gallery-hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 72% 50%,#4b273a,#261d26 39%,#141416 72%);color:#fff}
.gallery-hero-inner{min-height:428px;display:flex;align-items:center;padding-block:35px}
.gallery-hero h1{font-family:var(--head);font-size:clamp(4.3rem,9.3vw,9.25rem);line-height:.85;letter-spacing:-.02em;font-weight:800;text-transform:uppercase;margin-block:13px 18px}
.gallery-hero h1 em{color:var(--gold);font-style:normal}
.gallery-hero .eyebrow{color:var(--gold)}
.gallery-hero .eyebrow span{background:var(--gold)}
.gallery-hero p:last-child{max-width:365px;color:#e1ded5}
.gallery-hero-photo{position:absolute;inset:0 9% 0 55%;z-index:-1;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);place-items:center;overflow:hidden}
.gallery-hero-photo .scotty-framing{position:absolute;top:50%;left:52%;height:94%;transform:translate(-50%,-50%);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 94%,transparent),linear-gradient(0deg,transparent,#000 7%,#000 96%,transparent);mask-composite:intersect}
.gallery-content{padding-block:37px 60px}
.gallery-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.gallery-filters button{min-height:40px;padding:7px 13px;background:transparent;border:1px solid #c8c5b9;border-radius:2px;font-size:.88rem;font-weight:750}
.gallery-filters button[aria-pressed="true"]{background:#171719;color:#fff;border-color:#171719}
.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.gallery-card{display:flex;flex-direction:column;min-width:0;padding:0;background:#faf9f4;border:1px solid #d9d6ca;border-radius:3px;text-align:left;overflow:hidden}
.gallery-card-photo{display:block;width:100%;aspect-ratio:4 / 5;background:#28272b;overflow:hidden}
.gallery-card-photo img{width:100%;height:100%;object-fit:cover;object-position:center 30%;transition:transform .22s ease}
.gallery-card--teamwear img{object-fit:contain}
.gallery-card--track{grid-column:span 2}
.gallery-card--track .gallery-card-photo{aspect-ratio:2.45;background:#161618}
.gallery-card--track img{object-fit:contain;object-position:center}
.gallery-card:is(:hover,:focus-visible) img{transform:scale(1.045)}
.gallery-card-copy{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;padding:12px}
.driver-number{font-family:var(--head);font-size:1.65rem;font-weight:800;line-height:1;color:var(--gold-ink)}
.gallery-card-copy strong,.gallery-card-copy small{display:block}
.gallery-card-copy strong{font-weight:800}
.gallery-card-copy small{color:var(--muted);line-height:1.4;margin-top:3px}
.gallery-dialog{width:fit-content;max-width:calc(100% - 24px);max-height:96dvh;padding:0;background:#1d1b1e;color:#fff;border:1px solid #49454b;border-radius:4px}
.gallery-dialog figure{margin:0}
.gallery-dialog figure img{width:auto;height:auto;max-height:calc(94dvh - 68px);max-width:min(92vw,820px);object-fit:contain}
.gallery-dialog figcaption{display:grid;padding:8px 13px 12px;line-height:1.4}
.gallery-dialog figcaption span{color:#ddd8d0;font-size:.83rem}
@media(max-width:980px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-card--track{grid-column:span 1}}
@media(max-width:890px){.gallery-shop-link{grid-column:2;grid-row:1;min-height:37px;padding:6px 10px;font-size:.77rem}}
@media(max-width:650px){
  .gallery-hero-inner{min-height:338px}
  .gallery-hero-photo{inset:0 -4% 0 42%;opacity:.56}
  .gallery-hero h1{font-size:clamp(3.85rem,12.5vw,6.4rem)}
  .gallery-hero p:last-child{max-width:245px}
  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .gallery-card--track{grid-column:span 2}
  .gallery-card-copy{gap:6px;padding:8px;font-size:.86rem}
  .driver-number{font-size:1.4rem}
  .gallery-shop-link{display:none}
}
@media(max-width:380px){.gallery-header .header-brand{gap:5px}.gallery-header .brand-signature{gap:4px;padding-left:5px;font-size:.73rem}.gallery-header .brand-signature img{width:23px}}
@media(prefers-reduced-motion:reduce){.gallery-card-photo img{transition:none}}
