/* Author home: hero + doors to each body of work. Uses tokens from style.css. */
.home-nav { display: inline !important; }
@media (max-width: 559px) { .nav-links { gap: 16px; } .home-nav.nav-wide { display: none !important; } }

.home-hero { padding-top: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--rule); }
.home-hero h1 { font-size: clamp(3.4rem, 13vw, 10rem); line-height: .88; }
.home-role { font: 600 clamp(.78rem, 1.8vw, 1rem)/1.5 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 20px 0 0; max-width: 60ch; }
.home-intro { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 48ch; color: var(--text-2); margin: 24px 0 0; }

.doors-wrap { padding-top: 48px; padding-bottom: 80px; }
.doors { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .doors { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 1200px) { .doors { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.door { display: flex; flex-direction: column; gap: 8px; text-decoration: none; height: 100%; }
.door:hover { color: inherit; }
.door-fig { display: block; }
.door-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stage); }
.door-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.door-img-light { background: #121314; }
.door-img-light img { object-fit: contain; }
.door:hover .door-img img { transform: scale(1.03); }
.door-meta { font: .74rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 10px; margin-top: 4px; }
.door-title { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: .95; }
.door-go { font: .82rem var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--accent-text); margin-top: auto; padding-top: 6px; }
@media (prefers-reduced-motion: reduce) { .door-img img { transition: none; } }
/* after the base .door-title rule so it wins: five doors share the row */
@media (min-width: 1200px) { .door-title { font-size: clamp(1.5rem, 1.9vw, 1.9rem); } }
