/* Range strip: a scrolling row of transparent product shots, straight after the hero */
.range { background: #fff; padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 64px); }
.range-title { font-size: clamp(2.4rem, 5.4vw, 4.75rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; color: var(--ink); }
.range-title em { font-style: normal; color: var(--orange); }
.range-rail { position: relative; margin-top: clamp(28px, 4vw, 52px); }
.range-list { display: flex; gap: clamp(8px, 1.6vw, 24px); margin: 0; padding: 8px max(20px, calc((100% - 1200px) / 2)) 16px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100% - 1200px) / 2)); scrollbar-width: none; overscroll-behavior-x: contain; }
.range-list::-webkit-scrollbar { display: none; }
.range-list li { flex: none; scroll-snap-align: start; }
.range-list a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: clamp(118px, 12vw, 158px); padding: 6px 4px; border-radius: 16px; text-align: center; color: var(--ink); }
.range-img { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: clamp(92px, 9vw, 120px); margin-bottom: 10px; }
.range-img img { max-width: 88%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.range-list a:hover .range-img img { transform: translateY(-5px); }
.range-name { font-size: .98rem; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.range-tag { font-size: .82rem; font-weight: 600; color: var(--orange); }
.range-list a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.range-arrow { position: absolute; top: calc(8px + clamp(46px, 4.5vw, 60px)); z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 12px rgba(21, 26, 46, .14); color: var(--ink); cursor: pointer; transform: translateY(-50%); transition: background-color .25s; }
.range-arrow[hidden] { display: none; }
.range-arrow:hover { background: #fff; }
.range-arrow:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.range-arrow.prev { left: max(8px, calc((100% - 1200px) / 2 - 56px)); }
.range-arrow.next { right: max(8px, calc((100% - 1200px) / 2 - 56px)); }
.range-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: none) { .range-arrow { display: none; } }

/* Popular products: product-launch accordion with a large transparent product shot */
.showcase { background: #fff; }
.range + .showcase { padding-top: clamp(24px, 4vw, 56px); }
.showcase-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }

.showcase-title { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; color: var(--ink); }
.showcase-title em { font-style: normal; color: var(--orange); }
.showcase-intro { margin: 14px 0 0; max-width: 34ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; line-height: 1.35; letter-spacing: -.015em; color: var(--ink); }

.acc { margin-top: clamp(20px, 2.6vw, 30px); border-bottom: 1px solid var(--line); }
.acc-item { position: relative; border-top: 1px solid var(--line); }
/* Fills along the open product's top rule while the list is auto-advancing */
.acc-progress { position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.showcase-grid.is-playing .acc-item.is-open .acc-progress { animation: accProgress var(--acc-delay, 6s) linear forwards; }
@keyframes accProgress { to { transform: scaleX(1); } }
.acc-item h3 { margin: 0; }
.acc-btn { display: flex; align-items: center; gap: 14px; width: 100%; padding: clamp(11px, 1.3vw, 15px) 0; border: 0; background: none; font-family: var(--font); font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; color: var(--ink); text-align: left; cursor: pointer; }
.acc-name { flex: 1; }
.acc-btn:hover .acc-thumb { background: #E7EDF7; }
.acc-thumb { transition: background-color .3s; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tint, #F3F5F9); }
.acc-thumb img { max-width: 78%; max-height: 82%; width: auto; height: auto; object-fit: contain; }
.acc-chev { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: background-color .3s, border-color .3s, color .3s; }
.acc-chev svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .55s cubic-bezier(.22, 1, .36, 1); }
.acc-btn[aria-expanded="true"] .acc-chev { border-color: var(--navy); background: var(--navy); color: #fff; }
.acc-btn[aria-expanded="true"] .acc-chev svg { transform: rotate(180deg); }
.acc-btn:hover { color: var(--navy); }
.acc-btn:hover .acc-chev { border-color: var(--navy); color: var(--navy); }
.acc-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 4px; }

/* Collapsing only kicks in once the script is running, so without it every product stays readable */
.acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .65s cubic-bezier(.22, 1, .36, 1); }
.showcase-grid.is-ready .acc-item:not(.is-open) .acc-panel { grid-template-rows: 0fr; }
.acc-inner { min-height: 0; overflow: hidden; }
.acc-inner > :last-child { margin-bottom: clamp(16px, 2vw, 24px); }
/* opening: the panel eases open and its contents follow one after another; closing: contents fade out quickly first */
.acc-item .acc-inner > * { transition: opacity .45s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.acc-item.is-open .acc-inner > :nth-child(1) { transition-delay: .08s; }
.acc-item.is-open .acc-inner > :nth-child(2) { transition-delay: .14s; }
.acc-item.is-open .acc-inner > :nth-child(3) { transition-delay: .2s; }
.acc-item.is-open .acc-inner > :nth-child(4) { transition-delay: .26s; }
.acc-item.is-open .acc-inner > :nth-child(n+5) { transition-delay: .32s; }
.showcase-grid.is-ready .acc-item:not(.is-open) .acc-inner > * { opacity: 0; transform: translateY(12px); transition-duration: .2s, .3s; transition-delay: 0s; }

.acc-photo { display: none; }
.acc-tag { margin: 0 0 6px; padding-left: 60px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.acc-text { margin: 0; max-width: 46ch; padding-left: 60px; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.acc-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 14px 24px; max-width: 440px; margin: 18px 0 0 60px; }
.acc-specs div { display: flex; flex-direction: column-reverse; gap: 2px; }
.acc-specs dt { font-size: .82rem; font-weight: 500; color: var(--muted); }
.acc-specs dd { margin: 0; font-size: 1.22rem; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.acc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin: 20px 0 0 60px; }

.showcase-stage { position: relative; align-self: center; height: clamp(400px, 41vw, 580px); }
.showcase-stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 3%; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(21, 26, 46, .16), rgba(21, 26, 46, 0)); }
/* Nothing open: the floor shadow goes with the product shot */
.showcase-stage::after { transition: opacity .5s ease; }
.showcase-grid.is-closed .showcase-stage::after { opacity: 0; }
.showcase-shot { position: absolute; z-index: 1; left: 50%; bottom: 5%; width: auto; height: 90%; max-width: 92%; object-fit: contain; object-position: center bottom; opacity: 0; transform: translate(-50%, 18px) scale(.97); transition: opacity .6s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.showcase-shot.is-wide { height: auto; width: 92%; max-height: 90%; }
.showcase-shot.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.showcase-grid:not(.is-ready) .showcase-shot:first-child { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .acc-panel, .acc-btn svg, .acc-item .acc-inner > *, .showcase-shot { transition: none; }
}
@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-stage { display: none; }
  .acc-photo { display: block; width: 100%; height: 215px; margin: 4px 0 18px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 16px 16px rgba(21, 26, 46, .12)); }
  .acc-specs dd { font-size: 1.15rem; }
  .acc-tag, .acc-text { padding-left: 0; }
  .acc-specs { margin-left: 0; }
  .acc-actions { margin-left: 0; }
  .acc-photo { margin-top: 0; }
}
