/* Where we work: the network on a turning globe, drawn on a canvas by where-catalogs.js.
   The list sits beside it; hovering or tapping a place turns the globe to that place. */
.wm { background: var(--surface); color: var(--ink); padding-block: var(--section); overflow: hidden; }
.wm-in { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.wm-eyebrow { display: block; font: 400 13px/1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.wm-h2 { margin: 0; font: 300 clamp(30px, 3.2vw, 44px)/1.1 var(--font-display); letter-spacing: -.015em; max-width: 18ch; text-wrap: balance; }

.wm-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: center; margin-top: clamp(32px, 4vw, 48px); }
.wm-list, .wm-group ul { margin: 0; padding: 0; list-style: none; }
.wm-list { display: grid; gap: var(--s5); }
.wm-group ul { display: grid; gap: var(--s1); }
.wm-group > small { display: block; margin-bottom: var(--s2); font: 400 13px/1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wm-place { display: block; width: calc(100% + var(--s3)); margin-left: calc(var(--s3) * -1); padding: var(--s2) var(--s3); border: 0; border-radius: var(--radius-sm); background: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: background .2s ease; }
.wm-place b { display: block; font: 400 20px/1.3 var(--font-display); }
.wm-place em { display: block; font: normal 400 14px/1.4 var(--font-body); color: var(--ink); }
.wm-place span { display: block; max-width: 44ch; font-size: 14px; line-height: 1.5; color: var(--muted); }
.wm-place:hover, .wm-place.on { background: rgba(30, 36, 36, .06); }
.wm-place:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.wm-note { margin: var(--s5) 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.wm-note b { color: var(--ink); font-weight: 500; }

/* pan-y keeps the page scrolling when a thumb moves up or down over the globe */
.wm-stage { aspect-ratio: 1; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.wm-stage.drag { cursor: grabbing; }
.wm-stage canvas { display: block; width: 100%; height: 100%; }
.wm-hint { margin: var(--s2) 0 0; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); }

@media (max-width: 900px) {
  .wm-row { grid-template-columns: 1fr; gap: var(--s6); }
  .wm-globe { order: -1; width: min(100%, 560px); margin-inline: auto; }
  .wm-list { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .wm-prod { grid-column: 1 / -1; }
  .wm-prod ul { grid-template-columns: 1fr 1fr; gap: var(--s1) var(--s5); }
  .wm-main { grid-column: 1 / -1; }
  .wm-place { width: 100%; margin-left: 0; padding-inline: 0; }
  .wm-place:hover, .wm-place.on { background: none; }
  .wm-place.on b { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 520px) {
  .wm-list, .wm-prod ul { grid-template-columns: 1fr; }
}

/* Catalogs: four tiles of the current season */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); }
.tile { display: grid; text-decoration: none; color: var(--ink); background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-card); transition: translate .2s ease-out, box-shadow .2s ease-out; }
.tile:hover { translate: 0 -2px; box-shadow: var(--shadow-card-hover); }
.tile-pic { display: block; aspect-ratio: 4 / 5; position: relative; }
.tile-pic img { position: absolute; left: 50%; top: 0; height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: 50% 100%; translate: -50% 0; mix-blend-mode: multiply; transition: scale .2s ease-out; transform-origin: 50% 100%; }
.tile:hover .tile-pic img { scale: 1.03; }
@media (prefers-reduced-motion: reduce) { .tile:hover { translate: none; } .tile:hover .tile-pic img { scale: none; } }
/* waist-down shots: the grey floor tone fades out sideways instead of ending in a hard edge */
.tile-pic img.soft { -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); }
.tile-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: var(--s4) var(--s4); background: var(--bg); }
.tile-row strong { font: 400 20px/1.3 var(--font-display); }
.tile-row small { font: 400 14px/1.4 var(--font-display); color: var(--muted); }
.tile:hover .tile-row small { color: var(--ink); }
.cat-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s6); font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; gap: var(--s3); } }
