/* hub.css — additions for projects.danieltuma.work on top of the shared style.css */

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

.hub-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 5rem) 0 5rem; }
.hub-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--border) 1px, transparent 1px); background-size: 28px 28px; opacity: 0.55; }
.hub-hero .container { position: relative; }
.hub-title { font-size: clamp(3.2rem, 9vw, 6.5rem); font-weight: 700; line-height: 0.95; margin-bottom: 1.25rem; }
.hub-hero .hero-desc { max-width: 560px; }

/* project cards (used once projects exist) + the empty-state placeholder */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.project-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; transition: 0.22s; }
a.project-card:hover { border-color: var(--accent); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.project-title { font-size: 1.15rem; line-height: 1.3; }
.project-desc { color: var(--fg-muted); font-size: 0.9rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag { font-size: 0.68rem; padding: 2px 8px; border-radius: 100px; background: var(--accent-bg); color: var(--accent); }
.project-placeholder { border-style: dashed; justify-content: center; align-items: flex-start; min-height: 200px; }
.placeholder-text { color: var(--fg-muted); font-size: 0.9rem; }
.placeholder-hint { font-size: 0.75rem; color: var(--fg-muted); opacity: .8; }
