/* Locations page — "Where we are now" */

.loc-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 40px); }
.loc-hero .eyebrow { display: inline-block; margin-bottom: 24px; }
.loc-hero .display { margin: 0 0 20px; max-width: 900px; }
.loc-hero .updated { font-size: 14px; color: var(--ink-2); }

.loc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  padding-bottom: 80px;
}

.loc-card {
  display: grid; grid-template-columns: 260px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: var(--ink);
  transition: border-color .2s, transform .2s;
}
.loc-card:hover { border-color: var(--ink-3); transform: translateY(-2px); }

.loc-map {
  background: #EFE9DB; position: relative; overflow: hidden; min-height: 175px;
  /* iOS Safari fix — see home.css .map-tiles comment. Keep touches on the
     8 mini-maps routed to page scroll, not the (non-interactive) map. */
  touch-action: pan-y pinch-zoom;
}
.loc-map .maplibregl-canvas { touch-action: pan-y pinch-zoom; }
.loc-map .maplibregl-canvas:focus { outline: none; }
/* Per-card attribution is disabled — we surface a single attribution line
   on the grid (see .loc-attrib) so each card reads clean. */
.loc-map .maplibregl-ctrl-attrib { display: none; }
/* Gentle fade-in when MapLibre first paints — avoids the abrupt swap
   from blank cream to fully-rendered tiles. */
.loc-map .maplibregl-map { opacity: 0; transition: opacity .35s ease; }
.loc-map.is-ready .maplibregl-map { opacity: 1; }

.loc-attrib {
  font-size: 11px; color: var(--ink-3); text-align: center;
  margin: -60px 0 60px; letter-spacing: 0.01em;
}
.loc-attrib a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); }

.loc-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
/* Eyebrow + count read as text; several --pin-colors (sd gold, la blue,
   clay orange) don't meet WCAG AA on white. Use ink, keep --pin-color
   for the decorative map pin dots only. */
.loc-body .eyebrow { color: var(--ink-2); }
.loc-name {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  line-height: 1.1; letter-spacing: -0.01em;
}
.loc-region { font-size: 14px; color: var(--ink-3); }
.loc-count {
  font-family: var(--serif); font-size: 32px; font-weight: 400;
  line-height: 1; margin-top: auto;
  color: var(--ink); letter-spacing: -0.02em;
}
.loc-count-label {
  font-size: 12.5px; color: var(--ink-3); text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 600;
}
.loc-categories { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.loc-categories span {
  font-size: 11.5px; background: var(--cream-2); padding: 4px 9px;
  border-radius: 999px; color: var(--ink-2); font-weight: 500;
}

@media (max-width: 900px) {
  .loc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .loc-card { grid-template-columns: 1fr; }
  .loc-map { aspect-ratio: 16/10; }
}

.cta-strip {
  background: var(--ink); color: var(--cream);
  padding: 48px; border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  margin-bottom: 80px;
}
.cta-strip h2 { color: var(--cream); margin: 0 0 12px; }
.cta-strip .lede { color: color-mix(in oklab, var(--cream) 78%, transparent); margin: 0; }
.cta-strip a {
  background: var(--cream); color: var(--ink);
  padding: 14px 24px; border-radius: 999px;
  text-decoration: none; font-weight: 500;
  display: inline-block; justify-self: end;
}
@media (max-width: 780px) {
  .cta-strip { grid-template-columns: 1fr; padding: 32px; }
  .cta-strip a { justify-self: start; }
}
