/* ============================================================
   Product room: the products section is the room. Hovering a card
   recedes the other twenty and blooms that product's own colour and
   name around it; clicking shifts the card into a full world.
   Purely additive — without this block the section is unchanged.
   ============================================================ */
#products { position: relative; overflow: hidden; }
#products .section__head,
#products .filters,
#products #filter-count { transition: opacity .45s cubic-bezier(.22,.9,.2,1), filter .45s cubic-bezier(.22,.9,.2,1); }
#products.is-preview .section__head,
#products.is-preview .filters,
#products.is-preview #filter-count { opacity: .07; filter: blur(3px); }

#products .cards .card { transition: opacity .4s cubic-bezier(.22,.9,.2,1), filter .4s, transform .4s, border-color .4s, box-shadow .4s, background-color .4s; }
#products .cards .card::before { transition: width .3s cubic-bezier(.22,.9,.2,1); }
#products.is-preview .cards .card:not(.is-held) { opacity: .07; filter: grayscale(1); transform: scale(.985); }
#products.is-preview .cards .card.is-held {
  z-index: 4; transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--wq, #f2a93b) 55%, transparent);
  background-color: color-mix(in srgb, var(--wq, #f2a93b) 9%, var(--surface));
  box-shadow: 0 22px 60px -28px color-mix(in srgb, var(--wq, #f2a93b) 80%, transparent);
}
#products.is-preview .cards .card.is-held::before { width: 5px; }

.w-layer { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s cubic-bezier(.22,.9,.2,1); }
#products.is-preview .w-layer { opacity: 1; }
.w-wash { position: absolute; inset: 0; background:
  radial-gradient(50rem 32rem at var(--wx, 50%) var(--wy, 50%), color-mix(in srgb, var(--wq, #f2a93b) 26%, transparent), transparent 70%),
  radial-gradient(20rem 14rem at var(--wx, 50%) var(--wy, 50%), color-mix(in srgb, var(--wq, #f2a93b) 34%, transparent), transparent 70%); }
.w-ghost { position: absolute; left: var(--wx, 50%); top: var(--wy, 50%); transform: translate(-10%, -56%); font-size: clamp(84px, 16vw, 250px); line-height: .78; letter-spacing: -.045em; font-weight: 600; white-space: nowrap; color: var(--wq, #f2a93b); opacity: .09; user-select: none; }
.w-note { margin: 1.1rem 0 0; font-size: .8125rem; letter-spacing: .02em; color: var(--faint); }

/* ---- the shift: a card, and a world around it ---- */
.w-stage { position: fixed; inset: 0; z-index: 200; isolation: isolate; }
.w-shards { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.w-shard {
  position: absolute; will-change: transform, opacity;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--q) 14%, transparent);
  animation: w-shard-fall .64s cubic-bezier(.32,.72,.3,1) forwards;
  animation-delay: var(--d, 0ms);
}
.w-sliver {
  position: absolute; height: 2px; border-radius: 2px; background: var(--q); opacity: .9;
  will-change: transform, opacity;
  animation: w-shard-fall .7s cubic-bezier(.3,.6,.3,1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes w-shard-fall {
  0%   { transform: translate3d(var(--sx, 0), var(--sy, 0), 0) rotate(var(--sr, 0deg)); opacity: 1; }
  55%  { opacity: .92; }
  100% { transform: translate3d(var(--dx, 0), var(--dy, 60px), 0) rotate(var(--rot, 0deg)) scale(.93); opacity: 0; }
}
.w-stage.is-shattering .w-ground { opacity: 0; transition: opacity .06s linear; }
.w-stage.is-shattering .w-word { opacity: 0; transition: opacity .1s linear; }
.w-stage.is-shattering .w-panel { opacity: 0; filter: blur(12px); transform: translateY(-18px) scale(1.01); }
.w-stage.is-shattering .w-card { opacity: 0; transform: translateY(34px) rotate(-2.5deg) scale(.98); }
.w-ground { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(80rem 50rem at var(--ox, 42%) var(--oy, 28%), color-mix(in srgb, var(--q) 15%, var(--g)), var(--g) 64%); }
.w-stage.is-in .w-ground { opacity: 1; }
.w-word { position: absolute; right: -2vw; bottom: -5vh; font-size: clamp(80px, 21vw, 300px); line-height: .8; letter-spacing: -.05em; font-weight: 600; color: var(--ink); opacity: 0; transition: opacity .5s ease .12s; white-space: nowrap; pointer-events: none; }
.w-stage.is-in .w-word { opacity: .06; }

.w-card { position: fixed; z-index: 3; overflow: hidden; border-radius: 12px; background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--q) 60%, var(--line)); box-shadow: 0 24px 70px -30px rgba(0,0,0,.9);
  transition: left .4s cubic-bezier(.22,.9,.2,1), top .4s cubic-bezier(.22,.9,.2,1), width .4s cubic-bezier(.22,.9,.2,1), height .4s cubic-bezier(.22,.9,.2,1), border-radius .4s, transform .5s cubic-bezier(.5,0,.9,.4), opacity .45s ease; }
.w-card > * { transition: opacity .25s ease; }
.w-card.is-docked > p, .w-card.is-docked .pills { opacity: 0; }
.w-card .w-back { position: absolute; right: 12px; bottom: 10px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity .3s ease .2s; }
.w-card.is-docked .w-back { opacity: 1; }

.w-panel { position: absolute; left: clamp(20px, 6vw, 96px); bottom: clamp(30px, 9vh, 110px); width: min(620px, 58vw); padding-left: 22px; border-left: 3px solid var(--q); color: var(--ink); outline: none; transition: opacity .2s linear, filter .32s ease, transform .42s ease; }
.w-item { opacity: 0; transform: translateY(10px); transition: opacity .5s cubic-bezier(.22,.9,.2,1), transform .5s cubic-bezier(.22,.9,.2,1); transition-delay: var(--d, 0ms); }
.w-stage.is-in .w-item { opacity: 1; transform: none; }
.w-eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--q); }
.w-title { margin: 0 0 16px; font-size: clamp(30px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.03em; font-weight: 650; }
.w-desc { margin: 0 0 22px; max-width: 46ch; color: var(--soft); font-size: clamp(14px, 1.25vw, 16.5px); line-height: 1.55; }
.w-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.w-chips li { padding: 5px 11px; border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); border-radius: 999px; font-size: 12px; color: var(--soft); }
.w-open { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--ink); border: 1px solid color-mix(in srgb, var(--q) 60%, transparent); background: color-mix(in srgb, var(--q) 20%, transparent); }
.w-open:hover, .w-open:focus-visible { background: color-mix(in srgb, var(--q) 34%, transparent); }
.w-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; font-size: 11.5px; letter-spacing: .04em; color: color-mix(in srgb, var(--ink) 45%, transparent); }

@media (max-width: 820px) {
  .w-panel { width: auto; right: 20px; }
  .w-desc { max-width: none; }
}
@media (max-height: 640px) {
  .w-panel { bottom: 56px; }
  .w-title { font-size: clamp(24px, 3.4vw, 38px); }
}
@media (prefers-reduced-motion: reduce) {
  #products .cards .card, .w-layer, .w-item, .w-word, .w-ground, .w-card { transition-duration: .12s !important; transition-delay: 0ms !important; }
}
