/* Section: projects, SUPREME HUB demo. */

.hub { display: grid; grid-template-columns: 172px 1fr; min-height: 330px; }
.hub-tabs { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-right: 1px solid var(--line); max-height: 360px; overflow-y: auto; }
.hub-tabs button { text-align: left; border: 0; background: none; padding: 7px 9px; border-radius: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.hub-tabs button:hover { background: var(--surface-2); color: var(--text); }
.hub-tabs button.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.hub-view { padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; }
.hub-view .big { font-size: 44px; line-height: 1; margin-bottom: 14px; }
.hub-view h4 { font: 600 1.35rem/1.2 var(--display); margin: 0 0 6px; }
.hub-view code { font: 12.5px var(--mono); color: var(--warm); }
.hub-view p { color: var(--muted); font-size: 14.5px; margin: 12px 0 0; }
.hub-view > * { animation: rise .35s ease both; }

/* The recorded video under the screenshots. */
.hub-film { grid-column: 1 / -1; order: 4; }
.hub-film video { display: block; width: 100%; aspect-ratio: 1638 / 1080; max-height: 80vh; object-fit: contain; background: #000; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hub-film .shot-cap { margin-bottom: 0; }

@media (max-width: 720px) {
  .hub { grid-template-columns: 1fr; }
  .hub-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); max-height: none; }
  .hub-view { min-height: 230px; }
}
