/* ══════════════════════════════════════
   HOME.CSS v6 — Hub / Lobby Layout
   ══════════════════════════════════════ */

/* ── Hub Hero ── */
.hub-hero {
  padding: calc(var(--nav-height) + 64px) 0 48px;
  text-align: center;
}

.hub-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hub-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.hub-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--color-text);
}

.hub-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Three Doors ── */
.hub-doors {
  padding: 0 0 var(--section-gap);
}

.doors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.door-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: var(--color-bg);
}

.door-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.door-img {
  aspect-ratio: 1/1;
  overflow: hidden;
}

.door-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.door-card:hover .door-img img {
  transform: scale(1.03);
}
.door-img--cover img {
  object-position: top center !important;
}

.door-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.door-body h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
}

.door-body p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0;
  flex: 1;
}

.door-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: auto;
  padding-top: 8px;
  transition: color 0.2s;
}

.door-card:hover .door-link {
  color: var(--color-text);
}

/* ── Tablet ── */
@media (max-width: 968px) {
  .hub-hero {
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 36px;
  }

  .doors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
    margin: 0 auto;
  }

  .door-card {
    flex-direction: row;
    max-height: none;
  }

  .door-img {
    aspect-ratio: 1/1;
    width: 160px;
    flex-shrink: 0;
  }

  .door-body {
    padding: 20px;
  }

  .door-body h2 {
    font-size: 1.15rem;
  }
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .hub-hero {
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 28px;
  }

  .hub-title {
    font-size: 2.4rem;
  }

  .hub-subtitle {
    font-size: 0.95rem;
  }

  .doors-grid {
    max-width: none;
  }

  .door-card {
    flex-direction: column;
  }

  .door-img {
    aspect-ratio: 16/9;
    width: 100%;
  }

  .door-body {
    padding: 18px 18px 22px;
  }
}
