/* Shop spotlight: columns of pieces drifting up and down, a click opens a small detail window */
.spot { position: relative; overflow: hidden; background: var(--black); color: var(--on-dark); }
.cols { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: var(--gap, 14px); height: 100%; }
.col { position: relative; overflow: hidden; }
.track { display: flex; flex-direction: column; gap: var(--gap, 14px); animation: up var(--dur, 60s) linear infinite; will-change: transform; }
.col.down .track { animation-name: down; }
@keyframes up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - var(--gap, 14px) / 2)); } }
@keyframes down { from { transform: translateY(calc(-50% - var(--gap, 14px) / 2)); } to { transform: translateY(0); } }
.col:hover .track, .spot.paused .track { animation-play-state: paused; }

/* a piece in the column: grey blend tile with the gold light rim on hover */
.sp { appearance: none; border: 0; padding: 0; margin: 0; font: inherit; cursor: pointer; text-align: left; aspect-ratio: 4 / 5; flex: none; width: 100%; }
.sp .ph { position: absolute; inset: 0; }
.sp .tag { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.92); font: 400 15px/1 var(--serif); color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.sp:hover .tag, .sp:focus-visible .tag { opacity: 1; transform: none; }
.sp:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

/* the detail window */
.spot-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.spot-modal.open { opacity: 1; pointer-events: auto; }
.win { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(820px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 22px; background: #F7F6F3; color: var(--ink); box-shadow: 0 0 0 1px rgba(196,170,113,.5), 0 40px 80px -30px rgba(0,0,0,.8); transform: translateY(16px) scale(.97); transition: transform .45s var(--ease); }
.spot-modal.open .win { transform: none; }
.win .pic { background: #DADADB; min-height: 360px; }
.win .pic img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.win .info { display: flex; flex-direction: column; gap: 10px; padding: 36px 32px 30px; }
.win .meta { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #6B5A33; }
.win h3 { margin: 0; font: 400 28px/1.1 var(--serif); }
.win .pr { font: 400 26px/1 var(--serif); margin: 4px 0 2px; }
.win p { margin: 0; font-size: 15px; line-height: 1.55; color: #4A4945; }
.win .acts { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 18px; }
.win .acts .btn { width: 100%; }
.win .small { font-size: 12.5px; color: #6B6A66; text-align: center; }
.x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.x:hover { background: #fff; }
.x:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 860px) {
  .win { grid-template-columns: 1fr; }
  .win .pic { min-height: 0; aspect-ratio: 1.1; }
  .win .info { padding: 22px 20px 20px; }
  .win h3 { font-size: 24px; }
  .sp .tag { opacity: 1; transform: none; font-size: 13px; padding: 5px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
  .col { overflow-y: auto; scrollbar-width: none; }
  .spot-modal, .win { transition: none; }
}
