/* ============================================================
   quietjoon.net — Nordic Minimalist Portfolio
   Palette:
     #fafafa  Nordic White
     #f5f2ee  Birch Warm
     #1a1a1a  Carbon Text
     #555555  Warm Gray
     #c4956a  Wood Accent
     #e5e2de  Linen Border
     #a09080  Muted Label
     #2563eb  Link Blue
   Font: DM Sans (Google Fonts)
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background: #fafafa;
    color: #555555;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.75;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================================
   HERO — Nordic Shelf
   ============================================================ */

.hero {
    background: #fafafa;
    min-height: 60vh;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 1px 3px rgba(196, 149, 106, 0.1);
    position: relative;
}

.hero-inner {
    padding: 80px 48px 40px;
}

.site-name {
    font-size: clamp(1.3rem, 3vw, 2.5rem);
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.wood-bar {
    width: 120px;
    height: 8px;
    background: #c4956a;
    margin-top: 16px;
    border-radius: 2px;
}

.hero-tagline {
    margin-top: 28px;
    font-size: 0.95rem;
    font-weight: 400;
    color: #a09080;
    letter-spacing: 0.02em;
}

/* ============================================================
   PROJECTS — Masonry Grid
   ============================================================ */

.projects-section {
    flex: 1;
    padding: 48px 0 64px;
}

.projects-masonry {
    column-count: 2;
    column-gap: 48px;
    max-width: 900px;
    padding: 0 48px;
    margin: 0 auto;
}

.card {
    break-inside: avoid;
    padding: 32px 0;
    border-bottom: 1px solid #e5e2de;
}

.card:last-child {
    border-bottom: none;
}

.card-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a09080;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 12px;
}

.card-body {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.75;
}

/* ============================================================
   CONNECTION ROW — Footer
   ============================================================ */

.connection-row {
    background: #f5f2ee;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    gap: 24px;
    border-top: 1px solid #e5e2de;
}

.avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #c4956a;
    background: #fafafa;
    flex-shrink: 0;
}

.connection-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.conn-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.conn-link:hover {
    color: #c4956a;
}

.conn-sep {
    color: #e5e2de;
    font-size: 0.875rem;
    user-select: none;
}

/* ============================================================
   RESPONSIVE — Narrower screens
   ============================================================ */

@media (max-width: 640px) {
    .hero-inner {
        padding: 60px 24px 32px;
    }

    .projects-masonry {
        column-count: 1;
        padding: 0 24px;
    }

    .connection-row {
        padding: 20px 24px;
        flex-wrap: wrap;
    }

    .connection-links {
        gap: 8px;
    }
}

@media (min-width: 1200px) {
    .projects-masonry {
        max-width: 1080px;
    }
}
