.top-picks-document {
  min-height: 100vh;
}

.top-picks-document .nav-links a[aria-current="page"] {
  color: var(--ink);
}

.top-picks-page {
  min-height: 70vh;
}

.top-picks-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
}

.top-picks-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 64px;
  align-items: end;
}

.top-picks-hero h1 {
  max-width: 12ch;
  margin: 16px 0 0;
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: .98;
  letter-spacing: -.02em;
}

.top-picks-hero h1 em {
  color: var(--muted);
  font-style: italic;
}

.top-picks-hero__lede {
  max-width: 56ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.top-picks-meter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "dot label number";
  gap: 12px;
  align-items: center;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.top-picks-meter__dot {
  grid-area: dot;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(180, 230, 70, .5);
  animation: top-picks-pulse 1.8s infinite;
}

.top-picks-meter__label {
  grid-area: label;
  max-width: 20ch;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.top-picks-meter__number {
  grid-area: number;
  display: block;
  height: 1em;
  overflow: hidden;
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 44px;
  font-weight: 400;
  font-optical-sizing: auto;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -.02em;
}

.top-picks-meter__track {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}

.top-picks-meter__track > span {
  display: block;
  height: 1em;
  line-height: 1;
}

.top-picks-meter__track.is-rolling {
  transform: translateY(-50%);
  transition: transform 320ms cubic-bezier(.2, .8, .2, 1);
}

@keyframes top-picks-pulse {
  0% { box-shadow: 0 0 0 0 rgba(180, 230, 70, .5); }
  70% { box-shadow: 0 0 0 8px rgba(180, 230, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(180, 230, 70, 0); }
}

.top-picks-content {
  padding: 56px 0 96px;
}

.top-picks-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.top-picks-cities {
  position: sticky;
  top: 96px;
  min-width: 0;
}

.top-picks-cities__label,
.top-picks-filters > span {
  display: block;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.top-picks-city-tabs {
  display: grid;
  gap: 6px;
}

.top-picks-city-tabs button {
  min-height: 48px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.top-picks-city-tabs button:hover {
  background: var(--bg-2);
  color: var(--ink);
}

.top-picks-city-tabs button[aria-selected="true"] {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
}

.top-picks-city-tabs button:focus-visible,
.top-picks-filters button:focus-visible,
.top-pick-card__link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--ink) 18%, transparent);
  outline-offset: 3px;
}

.top-picks-results {
  min-width: 0;
}

.top-picks-panel[hidden],
.top-pick-card[hidden],
.top-picks-state[hidden] {
  display: none !important;
}

.top-picks-panel__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.top-picks-panel__header h2,
.top-picks-coming h2 {
  margin: 8px 0 0;
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.02;
  letter-spacing: -.015em;
}

.top-picks-panel__header p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.top-picks-filters {
  flex: 0 0 auto;
}

.top-picks-filters > span {
  margin-bottom: 8px;
}

.top-picks-filters button {
  min-height: 44px;
  margin-right: 6px;
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.top-picks-filters button:last-child {
  margin-right: 0;
}

.top-picks-filters button:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.top-picks-filters button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.top-picks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.top-pick-card {
  min-width: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 150ms ease, transform 150ms ease;
}

.top-pick-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.top-pick-card__link {
  display: flex;
  min-height: 100%;
  color: inherit;
  flex-direction: column;
}

.top-pick-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.top-pick-card__image > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 240ms ease;
}

.top-pick-card:hover .top-pick-card__image > img {
  transform: scale(1.015);
}

.top-pick-card__image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .45), transparent),
    var(--bg-2);
}

.top-pick-card__image-fallback img {
  width: 34px;
  height: 34px;
  opacity: .6;
}

.top-pick-card__body {
  display: flex;
  flex: 1;
  min-width: 0;
  padding: 18px 20px 20px;
  flex-direction: column;
}

.top-pick-card__type {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.top-pick-card h3 {
  margin: 8px 0 0;
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.012em;
  overflow-wrap: anywhere;
}

.top-pick-card__locality {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.top-pick-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.top-pick-card__fact {
  min-width: 0;
  padding: 0 12px;
  border-right: 1px solid var(--line);
}

.top-pick-card__fact:first-child {
  padding-left: 0;
}

.top-pick-card__fact:last-child {
  padding-right: 0;
  border-right: 0;
}

.top-pick-card__fact dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.top-pick-card__fact dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.top-pick-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
}

.top-pick-card__signals {
  display: flex;
  min-width: 0;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.top-pick-card__status,
.top-pick-card__tax {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 9px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.top-pick-card__tax {
  gap: 4px;
}

.top-pick-card__tax b {
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.top-pick-card__arrow {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  transition: transform 150ms ease;
}

.top-pick-card:hover .top-pick-card__arrow {
  transform: translateX(2px);
}

.top-picks-coming {
  max-width: 760px;
  min-height: 380px;
  padding: 48px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.top-picks-coming > p:last-child {
  max-width: 56ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.top-picks-state {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.top-picks-state--error {
  border-color: color-mix(in srgb, var(--warn) 45%, var(--line));
}

.top-picks-state__glyph {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-style: italic;
}

.top-picks-state p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 980px) {
  .top-picks-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .top-picks-meter {
    max-width: 520px;
  }

  .top-picks-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .top-picks-cities {
    position: static;
  }

  .top-picks-city-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .top-picks-city-tabs::-webkit-scrollbar {
    display: none;
  }

  .top-picks-city-tabs button {
    min-width: 120px;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .top-picks-hero {
    padding: 56px 0 48px;
  }

  .top-picks-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .top-picks-content {
    padding: 40px 0 64px;
  }

  .top-picks-panel__header {
    align-items: start;
    flex-direction: column;
  }

  .top-picks-filters {
    width: 100%;
  }

  .top-picks-grid {
    grid-template-columns: 1fr;
  }

  .top-picks-coming {
    min-height: 0;
    padding: 32px 24px;
  }
}

@media (max-width: 520px) {
  .top-picks-meter {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "dot label"
      "number number";
    padding: 18px;
  }

  .top-picks-meter__number {
    margin-top: 6px;
  }

  .top-pick-card__facts {
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
  }

  .top-pick-card__fact:nth-child(2) {
    border-right: 0;
  }

  .top-pick-card__fact:nth-child(3) {
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-right: 0;
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-picks-meter__dot {
    animation: none;
  }

  .top-picks-meter__track.is-rolling,
  .top-pick-card,
  .top-pick-card__image > img,
  .top-pick-card__arrow,
  .top-picks-filters button {
    transition: none;
  }
}
