/* City landing pages (/city/<slug>/, generated by scripts/build-cities.ts). Loaded after the landing's own stylesheet
   (welcome.css, built), so it only adds what the city pages have and the landing does not. Same tokens, no JavaScript. */

/* ---------- hero ---------- */

.chero {
  padding: 28px 0 8px;
}
.chero-grid {
  display: grid;
  gap: 36px;
}
.chero-shot {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--float);
  box-shadow:
    inset 0 0 0 1px var(--line-2),
    var(--shadow-e3);
}
.chero-shot img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.chero-shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 2px;
  padding: 36px 18px 14px;
  background: linear-gradient(to top, rgb(8 6 10 / 0.72), transparent);
  color: #f4ecdc;
}
.chero-shot .pc-name {
  color: rgb(244 236 220 / 0.78);
}
@media (min-width: 900px) {
  .chero {
    padding: 56px 0 24px;
  }
  .chero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 48px;
  }
}

/* ---------- places ---------- */

.cplaces-grid {
  display: grid;
  gap: 24px;
}
.cstill {
  display: none;
}
.cstill img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: 0 0 0 1px var(--line);
  background: var(--tile);
}
.cplaces-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cplace {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 18px 20px 16px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.cplace-kind {
  color: var(--accent-ink);
  font: 500 12px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cplace-name {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cplace p {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.5;
}
.cplace-seats {
  color: var(--fg-3);
  font: 12.5px var(--mono);
}
@media (min-width: 640px) {
  .cplaces-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .cplaces-grid:has(.cstill) {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
  }
  .cstill {
    display: block;
  }
}

.listen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.listen-t {
  color: var(--fg-2);
  font-size: 15px;
}
.listen audio {
  flex: 1 1 260px;
  max-width: 420px;
  height: 40px;
  color-scheme: dark;
}

/* ---------- other cities ---------- */

.cnear {
  padding-top: 0;
}
.ccities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ccities a {
  display: grid;
  gap: 2px;
  height: 100%;
  padding: 14px 16px;
  border-radius: var(--r-field);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.15s;
}
.ccities a:hover {
  background: var(--surface-2);
}
.ccities a.is-rail {
  box-shadow: inset 0 0 0 1px var(--accent);
}
.cc-code {
  color: var(--fg-3);
  font: 12px var(--mono);
  letter-spacing: 0.06em;
}
.cc-name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cc-spot {
  color: var(--fg-2);
  font-size: 13.5px;
}
.lead a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
}
@media (min-width: 760px) {
  .ccities {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
