/* hub.css — the vertical picker at /. Layered on showroom.css so it inherits the
   same tokens, type scale and topbar; only the landing grid is defined here. */

.hub {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.hub-hero {
  text-align: center;
  margin-bottom: 44px;
}
.hub-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--ink);
}
.hub-hero p {
  margin: 0 auto;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.hub-card {
  --card-accent: var(--orange);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 20px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
/* Accent rule reads as the vertical's colour without tinting the whole card. */
.hub-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--card-accent);
}
.hub-card:hover,
.hub-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--card-accent);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}

.hub-card-kind {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--card-accent);
}
.hub-card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}
.hub-card-tagline {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}
.hub-card-cta {
  margin-top: 6px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--card-accent);
}

.hub-loading,
.hub-error {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .hub-card { transition: none; }
  .hub-card:hover, .hub-card:focus-visible { transform: none; }
}
