/* LA Car Beats — locations index + city drive-in pages.
   Banner crop matches the locked alarm/tint city-pages.css.
   Index tiles: one city per card. Do not mash cities. */

/* ---------- Locations index ---------- */
.city-index-hero .lead{
  max-width: 40rem;
}
.city-nap{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
  margin: 0 0 48px;
}
.city-nap-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 24px;
}
.city-nap-card h2{
  margin: 0 0 10px;
  font-size: 1.25rem;
}
.city-nap-card p{
  margin: 0 0 8px;
}
.city-nap-card p:last-child{ margin-bottom: 0; }
.city-nap-meta{
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.city-region{
  margin: 0 0 40px;
}
.city-region-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}
.city-region-head h2{
  margin: 0;
  font-size: 1.25rem;
}
.city-region-head p{
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.city-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 12px;
}
.city-tile{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16/10;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 12px;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.city-tile:hover{
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.city-tile-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  transition: transform .3s ease;
}
.city-tile:hover .city-tile-img{
  transform: scale(1.04);
}
.city-tile::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,.94) 0%, rgba(0,0,0,.84) 32%, rgba(0,0,0,.38) 62%, rgba(0,0,0,.08) 100%);
}
.city-tile-name{
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
  overflow-wrap: anywhere;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.city-tile-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.city-tile-go{
  color: var(--accent);
  letter-spacing: 0.16em;
}

/* ---------- City page extras ---------- */
.city-copy{
  max-width: 46rem;
}
.city-copy p{
  max-width: 46rem;
  margin: 0 0 1.15em;
  font-size: 1rem;
  line-height: 1.65;
}
.city-copy p:last-child{ margin-bottom: 0; }
.city-copy a{ color: inherit; text-decoration: underline; text-underline-offset: 0.18em; }
.city-faq details{
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px 18px;
  margin: 0 0 12px;
}
.city-faq details:last-child{ margin-bottom: 0; }
.city-faq summary{
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
}
.city-faq details p{
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.city-rev-band{
  background: var(--bg-alt);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.city-rev-band .testimonial p{
  -webkit-line-clamp: 3;
}

/* City banners: mobile art is owner-supplied 1080×1920 with the city title
   across the frame. Show that file at its natural 9:16 height so the city
   name stays readable. Desktop stays the landscape file. */
@media (max-width: 767px) {
  .hero-banner--city {
    overflow: visible;
    background: #000;
  }
  .hero-banner--city .hero-banner-photo {
    position: static;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    line-height: 0;
    background: #000;
  }
  .hero-banner--city .hero-banner-photo picture,
  .hero-banner--city .hero-banner-photo img {
    position: static;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    background: #000;
  }
}

@media (prefers-reduced-motion: reduce){
  .city-tile, .city-tile-img{ transition: none; }
  .city-tile:hover{ transform: none; }
  .city-tile:hover .city-tile-img{ transform: none; }
}
@media (max-width: 1279px){
  .city-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 1180px){
  .city-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
  .city-tile{ aspect-ratio: 4/3; }
  .city-tile-name{ font-size: .92rem; }
}
@media (max-width: 800px){
  .city-nap{ grid-template-columns: 1fr; margin-bottom: 32px; }
  .city-region{ margin-bottom: 28px; }
}
@media (max-width: 560px){
  .city-grid{ gap: 8px; }
  .city-tile{ aspect-ratio: 1/1; padding: 8px; gap: 4px; }
  .city-tile-name{ font-size: .78rem; }
  .city-tile-meta{ font-size: .6rem; letter-spacing: .06em; flex-wrap: wrap; row-gap: 2px; }
  .city-tile-go{ letter-spacing: .08em; }
}
