.draft-b {
  --band: #6e001d;
  --band-ink: #fff6eb;
  --band-muted: #f4c3cf;
}

:root[data-theme="abend"] .draft-b {
  --band: #2c0a13;
  --band-ink: #fff6eb;
  --band-muted: #e6a9b8;
}

.draft-b .hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: center;
  padding: 36px 0 28px;
}

.draft-b h1 {
  max-width: 9ch;
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  line-height: 0.92;
  margin-top: 10px;
}

.draft-b h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose) 0 33%, var(--sage) 33% 66%, var(--petrol) 66%);
}

.draft-b .locate {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 10px;
  border-radius: 24px;
}

.draft-b .locate input { padding: 10px 10px; }

.draft-b .locate-actions .btn { flex: 1; }

.filter-label {
  margin-top: 22px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
}

.draft-b .filters { margin-top: 10px; }

.draft-b .chip { min-height: 36px; font-size: 0.92rem; }

.draft-b .map-panel {
  position: relative;
  top: auto;
}

.draft-b #map { height: 620px; }

.top-band {
  margin-top: 20px;
  padding: 48px 0 56px;
  background: var(--band);
  color: var(--band-ink);
}

.top-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.top-band .eyebrow { color: var(--rose); }

.top-band h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.top-band .count, .top-band .notice { color: var(--band-muted); margin: 10px 0 20px; }

.top-band .nearest { color: var(--ink); }

#cafe-spotlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  counter-reset: top;
}

.top-band .cafe-card {
  position: relative;
  margin: 0;
  padding-top: 54px;
  border: 0;
  border-radius: 26px;
  color: var(--ink);
}

.top-band .cafe-card::before {
  counter-increment: top;
  content: "0" counter(top);
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--rose);
}

.top-band .cafe-card:hover { box-shadow: 0 0 0 2px var(--rose); }

.top-band .cafe-card.is-selected { box-shadow: 0 0 0 3px var(--rose); }

.top-band .cafe-list-empty { color: var(--band-ink); }

.top-band .cafe-list-empty p { color: var(--band-muted); }

.draft-b .catalog { margin-top: 56px; }

.draft-b #cafe-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}

.draft-b .tile {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.draft-b .tile:hover { border-color: transparent; }

.draft-b .tile-photo {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.draft-b .tile:hover .tile-photo {
  transform: translateY(-3px);
  box-shadow: 0 0 0 3px var(--rose);
}

.draft-b .tile.is-selected { box-shadow: none; }

.draft-b .tile.is-selected .tile-photo { box-shadow: 0 0 0 3px var(--terra); }

.draft-b .tile-copy { padding: 12px 2px 0; }

.draft-b .tile-copy > .cafe-meta,
.draft-b .tile-copy > .cafe-hours-line,
.draft-b .tile-copy > .distance,
.draft-b .tile-copy > .tag-row {
  grid-column: 1 / -1;
  text-align: left;
  white-space: normal;
}

.draft-b .tile .cafe-name { font-size: 1.15rem; }

.draft-b .tile.is-open {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
}

.draft-b .tile.is-open .tile-photo {
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.draft-b .tile.is-open .tile-copy { padding: 16px 18px; }

@media (max-width: 1100px) {
  .draft-b #cafe-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .draft-b .hero { grid-template-columns: 1fr; }
  .draft-b h1 { max-width: none; }
  .draft-b #map { height: 440px; }
  #cafe-spotlight { grid-template-columns: 1fr; }
  .draft-b #cafe-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .draft-b #map { height: 360px; }
  .draft-b #cafe-list { grid-template-columns: 1fr; }
}
