.scotty-framing{position:relative;display:block;align-self:center;justify-self:center;height:100%;max-width:100%;aspect-ratio:710/1110}
.scotty-framing img,.media--scotty-169-original .scotty-framing img{width:100%;height:100%;object-fit:contain;mask-image:none}
.hero--scotty::before{background:radial-gradient(ellipse at 73% 58%,#39222e 0,#251e26 29%,#161618 53%,#111112 83%)}
.hero--scotty .hero-portrait{inset:0 11% 0 48%;width:auto;aspect-ratio:auto;grid-template: minmax(0,1fr) / minmax(0,1fr);overflow:hidden}
.hero--scotty .hero-portrait::after{background:linear-gradient(0deg,#161618 0%,transparent 16%);opacity:.57}
.hero--scotty .hero-portrait .scotty-framing{position:absolute;top:50%;left:58%;height:94%;aspect-ratio:550/1200;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}
.media--scotty-teamwear-pose,.studio-portrait{grid-template:minmax(0,1fr) / minmax(0,1fr);background:radial-gradient(ellipse at 50% 65%,#4d2f40,#242126 65%,#19191b)}
.media--scotty-teamwear-pose .scotty-framing{height:96%;aspect-ratio:550/1200;mask-image:linear-gradient(90deg,transparent 0%,#000 2%,#000 96%,transparent)}
.hero--scotty .hero-portrait .scotty-framing img,
.media--scotty-teamwear-pose .scotty-framing img{position:absolute;left:0;top:-4.83%;width:223.45%;height:auto;max-width:none;object-fit:initial;mask-image:none;transform-origin:22% 40%;clip-path:polygon(0 4.6%,35.8% 4.6%,36.9% 17.9%,36.7% 19.8%,37.4% 22.1%,38.2% 24.7%,39.9% 27.4%,43.5% 30.3%,44.9% 33.2%,44.2% 36%,42.3% 37.6%,40% 39%,38% 40%,35.4% 42.4%,33.3% 44%,33.6% 48.8%,33.8% 54.1%,33.8% 68.9%,36.2% 77.5%,36.2% 82%,0 82%)}
.studio-portrait{display:grid;position:relative;overflow:hidden;height:460px;max-height:none}
.studio-portrait .scotty-framing{height:93%}
.rail-product .media--scotty-teamwear-pose .scotty-framing{height:163%;align-self:start}

.collection-hero{--photo-position:center 51%;position:relative;isolation:isolate;overflow:hidden;display:grid;align-items:center;min-height:230px;padding:35px clamp(20px,4vw,62px);border-left:3px solid var(--gold);border-radius:3px;background:#151517;color:#fff}
.collection-photo{position:absolute;inset:0 0 0 auto;width:61%;height:100%;object-fit:cover;object-position:var(--photo-position);z-index:-2}
.collection-hero::after{position:absolute;inset:0;content:"";z-index:-1;background:linear-gradient(90deg,#151517 0%,#151517 30%,#151517dc 48%,#15151730 74%,#15151700)}
.collection-heading{max-width:510px}
.collection-heading .eyebrow{color:var(--gold)}
.collection-heading .eyebrow span{background:var(--gold)}
.collection-heading>p:last-child{max-width:350px;margin-top:12px;color:#ebeadf}
.collection-hero[data-category="race-suits"]{--photo-position:center 18%}
.collection-hero[data-category="helmets"]{--photo-position:center 54%}
.collection-hero[data-category="teamwear"]{--photo-position:center 57%}
.collection-hero[data-category="underlayers"]{--photo-position:center 28%}
.collection-hero[data-category="all"]{--photo-position:center 36%}
.grid[data-category="teamwear"]{grid-auto-rows:1fr}
.product-card .media--fat-rat img{width:92%}
.gallery-invite{background:#111113;color:#fff;border-top:1px solid #343236}
.gallery-invite-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;padding-block:35px}
.gallery-invite h2{font-family:var(--head);font-size:clamp(2.75rem,5.5vw,4.65rem);font-weight:800;line-height:.93;text-transform:uppercase}
.gallery-invite p{margin-top:8px;color:#e2e0d7}
.track-feature-grid{display:grid;grid-template-columns:1.14fr 1fr;gap:12px;width:100%;margin-top:5px}
.track-feature-grid figure{min-width:0;margin:0;overflow:hidden;border:1px solid #444244;border-radius:3px;background:#201e22}
.track-feature-grid img{width:100%;height:auto;aspect-ratio:2.55;object-fit:cover}
.track-feature-grid figcaption{display:grid;gap:2px;padding:9px 12px 11px;color:#fff;font-size:.9rem}
.track-feature-grid figcaption span{color:#ccc8c6;font-size:.8rem}
.hero--track .hero-portrait{inset:auto 0 10% auto;width:min(84%,1180px);aspect-ratio:1062 / 356;overflow:hidden}
.hero--track .hero-portrait img{object-fit:contain;object-position:center;mask-image:linear-gradient(90deg,transparent,#000 24%,#000 97%,transparent),linear-gradient(0deg,transparent,#000 12%,#000 91%,transparent);mask-composite:intersect}
.hero--track .hero-portrait::after{opacity:1;background:linear-gradient(90deg,#161618 1%,#16161832 24%,transparent 56%)}
.hero--track h1{font-size:clamp(4.8rem,8vw,8.1rem)}
.hero--track .hero-caption{background:#111112d6;padding:5px 9px}
.media--helmet-detail img{object-fit:cover;object-position:center 49%}
.product-photo-options{display:flex;flex-wrap:wrap;gap:7px;padding:10px 13px}
.product-photo-options button{display:flex;align-items:center;gap:7px;padding:4px 8px 4px 4px;border:1px solid #605d62;border-radius:3px;background:#222224;color:#f3f1e6;font-size:.8rem;font-weight:750}
.product-photo-options button[aria-pressed="true"],.product-photo-options button:hover{border-color:var(--gold);color:var(--gold)}
.product-photo-options img{width:36px;height:36px;object-fit:cover}
@media(max-width:890px){
  .header-inner{grid-template-columns:1fr auto;min-height:auto;gap:0 10px}
  .header-inner .brand img{width:111px;height:54px}
  .site-header .header-inner nav{grid-row:2;grid-column:1/-1;overflow:auto;scrollbar-width:none;gap:18px;justify-content:flex-start;border-top:1px solid #343435}
  .site-header .header-inner nav a{padding-block:9px;font-size:.82rem}
  .header-actions{grid-column:2;grid-row:1}
}
@media(max-width:650px){
  .hero--scotty .hero-portrait{inset:0 -9% 0 31%;opacity:.82}
  .hero--scotty .hero-portrait .scotty-framing{height:84%;top:56%;left:57%}
  .hero--scotty .hero-portrait::after{opacity:1;background:linear-gradient(90deg,#151517 0%,#1515176b 29%,transparent 65%)}
  .hero--track{min-height:520px}
  .hero--track .hero-inner{align-items:flex-start;padding-block:35px 125px}
  .hero--track .hero-portrait{inset:auto 0 0;width:100%;height:53%;aspect-ratio:auto}
  .hero--track .hero-portrait img{object-fit:contain;object-position:center 54%;mask-image:none}
  .hero--track .hero-portrait::after{background:linear-gradient(0deg,#161618,transparent 28%)}
  .hero--track h1{font-size:clamp(3.6rem,13vw,5.5rem)}
  .hero--track .hero-caption{max-width:min(100%,260px);bottom:43px}
  .track-feature-grid{grid-template-columns:1fr}
  .studio-portrait{height:305px}
  .collection-hero{min-height:193px;padding:23px 17px}
  .collection-photo{width:76%}
  .collection-hero::after{background:linear-gradient(90deg,#151517 0%,#151517ef 31%,#15151771 68%,#1515172b)}
  .collection-heading>p:last-child{max-width:260px;font-size:.88rem}
}
@media(max-width:380px){.header-inner .header-brand .brand img{width:82px}}

.collection-portrait{display:none;position:absolute;inset:0 0 0 auto;width:55%;z-index:-2;overflow:hidden}
.collection-hero[data-category="race-suits"] .collection-portrait{display:grid}
.collection-photo[hidden]{display:none}
@media(max-width:650px){
  .collection-portrait{width:44%}
}
