/* ==========================================================================
   THEME: VERCEL (GEIST) - Industrial Minimalist
   ========================================================================== */

:root {
    --bg: #fff; --fg: #000;
    --border-color: #eaeaea;
    --accents-1: #fafafa; --accents-5: #666;
    --container-width: 1200px; --gap: 24px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--fg); font-family: "Inter", sans-serif; font-weight: 300; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: opacity 0.2s; }
a:hover { opacity: 0.6; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--gap); position: relative; }

/* --- HEADER (Re-Engineered) --- */
header {
    position: relative;
    padding: 60px 0 30px;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.vercel-header-grid {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Auth Slot - Absolute Top Right relative to Container */
.auth-slot {
    position: absolute;
    top: 0; right: 0;
    z-index: 10;
}
.login-btn {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    color: #666;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s;
    background: #fff;
}
.login-btn:hover { border-color: #000; color: #000; }

/* Brand - Ultra Thin Large */
.brand {
    font-weight: 200; /* Thin */
    font-size: 64px;
    letter-spacing: -0.06em;
    line-height: 1;
    color: #000;
}

/* Nav - Clean, Centered */
.nav-links {
    display: flex;
    gap: 40px;
    border-top: 1px solid transparent; /* Optical alignment */
}
.nav-item {
    font-size: 13px;
    font-weight: 400;
    color: #555;
    letter-spacing: -0.01em;
}
.nav-item:hover { color: #000; }

/* --- HERO (Bento) --- */
.hero-grid { margin-top: 60px; display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap); height: 500px; margin-bottom: 100px; }
.hero-card { position: relative; border: 1px solid var(--border-color); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; transition: border-color 0.2s; }
.hero-card:hover { border-color: #000; }
.hero-card.main { grid-row: span 2; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; transition: transform 0.6s var(--ease-out); }
.hero-card:hover .hero-bg { transform: scale(1.03); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-tag { font-family: "Space Mono", monospace; font-size: 10px; text-transform: uppercase; margin-bottom: 15px; opacity: 0.8; letter-spacing: 1px; }
.hero-title { font-size: 42px; font-weight: 200; letter-spacing: -0.04em; line-height: 1.1; }

/* --- LISTS --- */
.section-header { margin: 80px 0 40px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; display: flex; justify-content: space-between; align-items: baseline; }
.title { font-size: 48px; font-weight: 200; letter-spacing: -0.05em; color: #000; line-height: 1; }
.meta { font-family: "Space Mono", monospace; font-size: 11px; color: #888; text-transform: uppercase; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 60px 24px; }
.article-thumb { width: 100%; aspect-ratio: 16/10; background: #fafafa; margin-bottom: 20px; border: 1px solid transparent; }
.article-meta { font-family: "Space Mono", monospace; font-size: 11px; color: #888; margin-bottom: 10px; }
.article-title { font-size: 24px; font-weight: 300; letter-spacing: -0.04em; line-height: 1.2; margin-bottom: 10px; }
.article-excerpt { font-size: 14px; color: #666; font-weight: 400; line-height: 1.6; }

/* --- BUZZ --- */
.cols-layout { display: grid; grid-template-columns: 3fr 1fr; gap: 60px; margin-top: 80px; }
.buzz-card { border: 1px solid var(--border-color); padding: 25px; margin-bottom: 25px; font-weight: 300; }
.buzz-header { font-family: "Space Mono", monospace; font-size: 11px; color: #888; margin-bottom: 10px; display: flex; justify-content: space-between; }
.tag-capsule { display: inline-block; padding: 4px 10px; border: 1px solid #eaeaea; font-size: 11px; text-transform: uppercase; margin: 0 5px 5px 0; color: #666; }

footer { padding: 100px 0; text-align: center; font-family: "Space Mono", monospace; font-size: 11px; color: #888; border-top: 1px solid var(--border-color); margin-top: 100px; }

/* Animation - Precision Reveal */
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.animate-stagger > * { opacity: 0; animation: reveal 0.6s var(--ease-out) forwards; }
.animate-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.animate-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.animate-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.animate-stagger > *:nth-child(n+4) { animation-delay: 0.4s; }

/* Mobile */
@media (max-width: 768px) {
    .auth-slot { position: static; margin-bottom: 20px; } /* Stack login on mobile */
    .brand { font-size: 42px; }
    .hero-grid { grid-template-columns: 1fr; height: auto; }
    .hero-card { min-height: 300px; }
    .hero-title { font-size: 32px; }
    .cols-layout { grid-template-columns: 1fr; }
    .section-header .meta { display: none; } /* Simplify headers */
    .title { font-size: 36px; }
}