/* WORK PAGE STYLES */
/* Force light mode - override darkmode variables */
html.darkmode .work-page,
.work-page {
    --color-content-primary: #000000;
    --color-surface-primary: #FFFFFF;
    --color-accent: #AA0000;
}

/* Page Container */
.work-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 4rem;
    min-height: 100vh;
    background: var(--color-surface-primary);
    color: var(--color-content-primary);
}

/* Header */
.work-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 5rem;
}

.work-header .logo-link {
    display: block;
    width: 100px;
    transition: opacity 0.2s ease;
}

.work-header .logo-link:hover {
    opacity: 0.6;
    animation: none;
}

.work-header .logo-link svg {
    width: 100%;
    height: auto;
}

.work-header .logo-link svg path {
    fill: var(--color-content-primary);
}

/* Section Label */
.section-label {
    font-family: "GT Alpina Typewriter", Courier, monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    opacity: 0.5;
    margin-bottom: 3rem;
}

/* Projects Grid - 3 columns */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 3rem;
}

/* Project Item */
.project-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-title {
    font-family: "GT Alpina", Times, serif;
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    padding: 0;
    margin: 0;
}

.project-description {
    font-family: "GT Alpina", Times, serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    opacity: 0.7;
    padding: 0;
    margin: 0;
    max-width: 90%;
}

.project-link {
    font-family: "GT Alpina", Times, serif;
    font-size: 1rem;
    color: var(--color-accent);
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
    transition: opacity 0.15s ease;
}

.project-link:hover {
    opacity: 0.6;
    animation: none;
    cursor: crosshair;
}

/* Footer */
.work-footer {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.work-footer a {
    font-family: "GT Alpina Typewriter", Courier, monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: inherit;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.work-footer a:hover {
    opacity: 1;
    animation: none;
    cursor: crosshair;
}

/* Mobile Responsive */
@media screen and (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
}

@media screen and (max-width: 600px) {
    .work-page {
        padding: 2rem 1.5rem;
    }

    .work-header {
        margin-bottom: 3rem;
    }

    .work-header .logo-link {
        width: 70px;
    }

    .section-label {
        margin-bottom: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .project-title {
        font-size: 1.75rem;
    }

    .project-description {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .work-footer {
        margin-top: 4rem;
    }
}
