/* ============================================
   Tealu.net - Clean & Minimal Design
   Earthy Teal + Gold palette
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Primary - Teal */
    --teal-deep: #1a5f5a;
    --teal-soft: #2d8a84;
    --teal-light: #e8f4f3;

    /* Accent - Gold */
    --gold: #c9a227;
    --gold-soft: #e8d48a;

    /* Earthy Neutrals */
    --stone-dark: #2c2c2c;
    --stone-mid: #5a5a5a;
    --stone-light: #f5f3f0;
    --cream: #fdfcfa;

    /* Typography */
    --font-serif: 'Fraunces', Georgia, serif;
    --font-sans: 'Outfit', system-ui, sans-serif;

    /* Spacing */
    --container-width: 960px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--stone-dark);
    background: var(--stone-light);
    min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: var(--teal-deep);
    text-decoration: none;
}

a:hover {
    color: var(--teal-soft);
}

/* --- Layout --- */
main {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 8rem 0 6rem;
}

.wordmark {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--teal-deep);
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-sm);
}

.tagline {
    font-size: 1.25rem;
    color: var(--stone-mid);
    font-weight: 400;
}

/* --- Work Section --- */
.work {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-sans);
    color: var(--stone-mid);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-lg);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

/* --- Project Card --- */
.project-card {
    background: var(--cream);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.project-card .category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal-deep);
    margin-bottom: var(--spacing-md);
}

.project-card .thumbnail {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    background: var(--teal-light);
}

.project-card .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card .thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-deep), var(--teal-soft));
    color: white;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--stone-dark);
}

.project-card p {
    color: var(--stone-mid);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.project-card .cta {
    display: inline-block;
    background: var(--teal-deep);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.project-card .cta:hover {
    background: var(--gold);
    color: var(--stone-dark);
}

/* --- Footer --- */
footer {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content .contact {
    color: var(--teal-deep);
    font-weight: 500;
}

.footer-content .copyright {
    color: var(--stone-mid);
    font-size: 0.875rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 4rem;
    }

    .wordmark {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0 var(--spacing-md);
    }

    .wordmark {
        font-size: 2.5rem;
    }
}
