.featured-products {
  --featured-index: 0;
  --fan-duration: .88s;
  position: relative;
  z-index: 4;
  min-height: 920px;
  margin-top: -170px;
  padding: 280px 4vw 58px;
  overflow: hidden;
  background: linear-gradient(180deg, #07141c 0, #081118 22%, #090e13 58%, #080c10 100%);
  color: #f4f5f5;
  isolation: isolate;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 170px, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 170px, #000 100%);
}

.featured-heading {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(260px, .34fr);
  gap: 7vw;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto 10px;
}

.featured-heading .section-kicker { grid-column: 1 / -1; margin: 0 0 2px; color: #d8ad51; }
.featured-heading h2 { margin: 0; font-size: clamp(38px, 4.5vw, 68px); font-weight: 520; line-height: .95; letter-spacing: 0; }
.featured-heading > p:last-child { max-width: 390px; margin: 0 0 2px; color: #929da4; font-size: 12px; line-height: 1.65; }

.featured-carousel {
  position: relative;
  z-index: 4;
  max-width: 1380px;
  margin: 2px auto 0;
}

.featured-viewport { position: relative; height: 510px; overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; }
.featured-viewport.is-dragging { cursor: grabbing; }
.featured-viewport::before,
.featured-viewport::after {
  content: "";
  position: absolute;
  z-index: 20;
  top: 0;
  bottom: 0;
  width: 7%;
  pointer-events: none;
}
.featured-viewport::before { left: 0; background: linear-gradient(90deg, #081017, transparent); }
.featured-viewport::after { right: 0; background: linear-gradient(-90deg, #081017, transparent); }
.featured-track { position: absolute; inset: 0; perspective: 1800px; }

.featured-card {
  --fan-x: 0px;
  --fan-y: -72px;
  --fan-scale: 1;
  --fan-rotate: 0deg;
  --fan-opacity: 1;
  --fan-blur: 0px;
  position: absolute;
  left: 50%;
  top: 53%;
  width: 246px;
  height: 348px;
  padding: 16px;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: #d9e2e3;
  color: #0d141b;
  box-shadow: 0 28px 62px rgba(0,0,0,.32);
  transform:
    translate(-50%,-50%)
    translate3d(var(--fan-x),var(--fan-y),0)
    rotate(var(--fan-rotate))
    scale(var(--fan-scale));
  transform-origin: 50% 48%;
  opacity: var(--fan-opacity);
  filter: blur(var(--fan-blur)) saturate(var(--fan-saturation,1));
  transition:
    transform var(--fan-duration) cubic-bezier(.2,.82,.18,1),
    opacity calc(var(--fan-duration) * .7) ease,
    filter calc(var(--fan-duration) * .75) ease,
    box-shadow .35s ease;
  will-change: transform, opacity, filter;
  cursor: pointer;
}

.featured-card[data-line="snowmobile"] { background: #e8e6e0; }
.featured-card[data-line="atv"] { background: #d1d4cc; }
.featured-card[data-distance="far"] { pointer-events: none; opacity: 0; }
.featured-card.active { box-shadow: 0 38px 80px rgba(0,0,0,.48); cursor: grab; }
.featured-viewport.is-dragging .featured-card.active { cursor: grabbing; }
.featured-card:focus-visible { outline: 1px solid #f1f3f3; outline-offset: 5px; }
.featured-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -43% 20%;
  height: 64%;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  filter: blur(35px);
  pointer-events: none;
}

.featured-card-top,
.featured-card-foot { position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.featured-card-top { color: #5e6364; font-size: 8px; text-transform: uppercase; transition: opacity .35s ease; }
.featured-card-top span:last-child { color: #343839; }
.featured-card img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 255px;
  margin: 18px auto 0;
  object-fit: contain;
  filter: drop-shadow(0 20px 17px rgba(10,16,22,.22));
  transform: translateY(4px) scale(.98);
  transition: transform var(--fan-duration) cubic-bezier(.2,.82,.18,1);
}
.featured-card.active img { transform: translateY(-2px) scale(1.055); }
.featured-card-copy { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 15px; transition: opacity .3s ease, transform .45s ease; }
.featured-card-copy small { display: none; }
.featured-card-copy h3 { margin: 0; overflow: hidden; color: #242829; font-size: 13px; font-weight: 550; line-height: 1.1; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.featured-card-copy p,.featured-card-foot { display: none; }
.featured-card:not(.active) .featured-card-copy { opacity: .42; transform: translateY(3px); }

.featured-arrow {
  display: none;
}

.featured-selection {
  position: relative;
  z-index: 5;
  display: grid;
  justify-items: center;
  max-width: 700px;
  min-height: 100px;
  margin: -69px auto 0;
  text-align: center;
}
.featured-selection > * { transition: opacity .32s ease, transform .5s cubic-bezier(.2,.82,.18,1); }
.featured-selection span { color: #8f9aa1; font-size: 8px; text-transform: uppercase; }
.featured-selection strong { margin-top: 8px; font-size: clamp(28px,3.2vw,46px); font-weight: 520; line-height: 1; }
.featured-selection small { margin-top: 8px; color: #8f9aa1; font-size: 10px; }
.featured-selection b { margin-top: 12px; color: #d9b25c; font-size: 11px; font-weight: 520; }

.featured-status {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 24px minmax(120px, 230px) 24px 1fr;
  gap: 14px;
  align-items: center;
  max-width: 1280px;
  margin: 21px auto 0;
  font-size: 10px;
}
.featured-status strong { color: #f2f4f4; font-size: 12px; }
.featured-status > span { height: 1px; overflow: hidden; background: #313940; }
.featured-status > span i { display: block; width: calc((var(--featured-index) + 1) / var(--featured-total, 1) * 100%); height: 100%; background: #d8ad51; transition: width var(--fan-duration) cubic-bezier(.2,.82,.18,1); }
.featured-status small { color: #77838b; }
.featured-status button { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid #cfd5d8; background: transparent; color: #f4f5f5; font-size: 9px; text-transform: uppercase; }
.featured-status button:hover { border-color: #d8ad51; background: #d8ad51; color: #0a0f13; }
.featured-status svg { width: 14px; }

.spotlight-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fafaf8;
  color: #111417;
  overflow: hidden;
}
.spotlight-dialog::backdrop { background: rgba(7,12,16,.72); backdrop-filter: blur(12px); }
.spotlight-dialog[open] { animation: spotlightOpen .7s cubic-bezier(.16,1,.3,1); }
.spotlight-shell { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(360px, .76fr); min-height: 100%; }
.spotlight-visual { position: relative; min-width: 0; overflow: hidden; background: #eef0ed; isolation: isolate; }
.spotlight-visual::before { display: none; }
.spotlight-visual img { position: absolute; z-index: 5; left: 53%; top: 48%; width: min(66%, 740px); height: 61%; object-fit: contain; transform: translate(-50%,-46%) scale(.9); opacity: 0; filter: drop-shadow(0 28px 24px rgba(22,31,37,.18)); }
.spotlight-dialog[open] .spotlight-visual img { animation: spotlightProductEnter 1.15s .18s cubic-bezier(.16,1,.3,1) forwards, spotlightProductFloat 5s 1.45s ease-in-out infinite; }
.spotlight-ghost,
.spotlight-orbit,
.spotlight-scan { display: none; }
.spotlight-orbit { position: absolute; z-index: 1; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: min(48vw, 700px); height: min(48vw, 700px); animation: orbitTurn 24s linear infinite; }
.orbit-two { width: min(34vw, 500px); height: min(34vw, 500px); border-style: dashed; animation: orbitTurn 16s linear infinite reverse; }
.orbit-one::before,.orbit-two::before { content: ""; position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 22px rgba(255,207,92,.9); }
.spotlight-scan { position: absolute; z-index: 7; left: 8%; right: 8%; top: 22%; height: 1px; background: linear-gradient(90deg,transparent,var(--yellow),transparent); box-shadow: 0 0 18px var(--yellow); opacity: .72; animation: scanProduct 4.2s ease-in-out infinite; pointer-events: none; }

.spotlight-part { position: absolute; z-index: 10; top: 6.5vh; display: flex; gap: 7px; align-items: center; min-width: 0; padding: 0 0 8px; border: 0; border-bottom: 1px solid rgba(17,20,23,.2); border-radius: 0; background: transparent; color: rgba(17,20,23,.54); text-align: left; transition: color .3s,border-color .3s; }
.spotlight-part span { color: inherit; font-size: 8px; }
.spotlight-part strong { font-size: 10px; text-transform: uppercase; }
.spotlight-part.active { border-color: #111417; color: #111417; }
.part-one { left: 6%; }.part-two { left: 24%; }.part-three { left: 44%; }
.spotlight-part-copy { position: absolute; z-index: 11; left: 6%; bottom: 7vh; width: min(330px, 40%); padding: 0; border: 0; }
.spotlight-part-copy small,.spotlight-part-copy strong,.spotlight-part-copy p { display: block; }
.spotlight-part-copy small { color: rgba(17,20,23,.48); font-size: 8px; }
.spotlight-part-copy strong { margin-top: 8px; font-size: 22px; }
.spotlight-part-copy p { margin: 8px 0 0; color: #687178; font-size: 10px; line-height: 1.55; }
.spotlight-part-copy.is-changing > * { animation: spotlightCopyIn .38s cubic-bezier(.2,.78,.2,1) both; }

.spotlight-copy { position: relative; z-index: 4; display: flex; flex-direction: column; justify-content: center; padding: 9vh 5vw 8vh; border-left: 1px solid rgba(17,20,23,.12); background: #fafaf8; }
.spotlight-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: #7a848b; font-size: 8px; text-transform: uppercase; }
.spotlight-meta span:first-child { color: #8a6516; }
.spotlight-copy h2 { margin: 4vh 0 0; font-size: clamp(52px,6vw,94px); line-height: .86; letter-spacing: 0; }
.spotlight-series { margin: 18px 0 0; color: #8a6516; font-size: 11px; text-transform: uppercase; }
.spotlight-summary { max-width: 530px; margin: 22px 0 0; color: #687178; font-size: 12px; line-height: 1.68; }
.spotlight-specs { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 4vh; border-top: 1px solid rgba(17,20,23,.16); border-bottom: 1px solid rgba(17,20,23,.16); }
.spotlight-specs div { min-width: 0; padding: 17px 14px 17px 0; background: transparent; }
.spotlight-specs div + div { padding-left: 14px; border-left: 1px solid rgba(17,20,23,.12); }
.spotlight-specs small,.spotlight-specs strong { display: block; }
.spotlight-specs small { color: #7a848b; font-size: 7px; text-transform: uppercase; }
.spotlight-specs strong { margin-top: 7px; overflow-wrap: anywhere; font-size: 10px; line-height: 1.35; }
.spotlight-price { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-top: 4vh; padding-top: 0; border-top: 0; }
.spotlight-price small { color: #7a848b; font-size: 7px; }
.spotlight-price strong { grid-column: 1; margin-top: 6px; font-size: clamp(28px,3vw,45px); }
.spotlight-price span { grid-column: 2; grid-row: 1 / 3; align-self: center; max-width: 220px; color: #7a848b; font-size: 8px; line-height: 1.5; text-align: right; }
.spotlight-actions { display: flex; align-items: center; gap: 22px; margin-top: 4vh; }
.spotlight-actions a { display: inline-flex; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(17,20,23,.28); color: #30383d; font-size: 9px; text-transform: uppercase; }
.spotlight-actions svg { width: 13px; }
.spotlight-close { position: fixed; z-index: 30; right: 24px; top: 22px; display: grid; place-items:center; width: 43px; height: 43px; border: 1px solid rgba(17,20,23,.22); border-radius: 50%; background: rgba(250,250,248,.82); color: #111417; backdrop-filter: blur(10px); }
.spotlight-close svg { width: 18px; }
.spotlight-model-nav { position: absolute; z-index: 20; left: 24px; bottom: 22px; display: flex; align-items: center; gap: 14px; }
.spotlight-model-nav button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(17,20,23,.22); border-radius: 50%; background: rgba(250,250,248,.82); color: #111417; }
.spotlight-model-nav svg { width: 15px; }.spotlight-model-nav span { color:#7a848b;font-size: 9px; }.spotlight-model-nav strong { color: #111417; }

@keyframes spotlightOpen { from { opacity: 0; clip-path: inset(48% 48% 48% 48%); } to { opacity: 1; clip-path: inset(0); } }
@keyframes spotlightCopyIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes spotlightProductEnter { to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes spotlightProductFloat { 50% { transform: translate(-50%,calc(-50% - 9px)) scale(1.01); } }
@keyframes orbitTurn { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes scanProduct { 0%,100% { transform: translateY(0); opacity: .15; } 50% { transform: translateY(46vh); opacity: .85; } }

@media (max-width: 1080px) {
  .spotlight-shell { grid-template-columns: minmax(0,1.08fr) minmax(350px,.92fr); }
  .spotlight-copy { padding-left: 4vw; padding-right: 4vw; }
}

@media (max-width: 820px) {
  .featured-products { min-height: 900px; margin-top: -120px; padding: 218px 5vw 80px; -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 120px,#000 100%); mask-image:linear-gradient(180deg,transparent 0,#000 120px,#000 100%); }
  .featured-heading { grid-template-columns: 1fr; gap: 16px; }
  .featured-heading h2 { font-size: 45px; }
  .featured-heading > p:last-child { max-width: 310px; }
  .featured-viewport { height: 470px; }
  .featured-card { width: 190px; height: 284px; padding: 12px; }
  .featured-card img { height: 210px; margin-top: 13px; }
  .featured-card-copy { left: 12px; right: 12px; bottom: 12px; }
  .featured-card-copy h3 { font-size: 11px; }
  .featured-selection { margin-top: -93px; }
  .featured-status { grid-template-columns: 28px 1fr 24px; }
  .featured-status button { grid-column: 1 / -1; justify-self: center; }
  .spotlight-dialog { overflow-y: auto; }
  .spotlight-shell { grid-template-columns: 1fr; }
  .spotlight-visual { min-height: 62vh; }
  .spotlight-copy { padding: 58px 6vw 100px; }
  .spotlight-copy h2 { font-size: 56px; }
  .spotlight-model-nav { position: fixed; }
}

@media (prefers-reduced-motion: reduce) {
  .featured-card,.featured-card img,.spotlight-orbit,.spotlight-scan,.spotlight-dialog[open] .spotlight-visual img { animation: none; transition-duration: 0s; }
  .spotlight-dialog[open] .spotlight-visual img { opacity: 1; transform: translate(-50%,-50%); }
}

@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
  .featured-products {
    z-index: 20;
    margin-top: -90vh;
    padding-top: 110px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 96px, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 96px, #000 100%);
  }
}
