/* ============================================
   SWIZA FONT FACES
   ============================================ */

@font-face {
    font-family: 'Swiza';
    src: url('../fonts/swiza-thin-webfont.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Swiza';
    src: url('../fonts/swiza-thinitalic-webfont.woff2') format('woff2');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Swiza';
    src: url('../fonts/swiza-extralight-webfont.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Swiza';
    src: url('../fonts/swiza-extralightitalic-webfont.woff2') format('woff2');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Swiza';
    src: url('../fonts/swiza-light-webfont.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Swiza';
    src: url('../fonts/swiza-lightitalic-webfont.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Swiza';
    src: url('../fonts/swiza-regular-webfont.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Swiza';
    src: url('../fonts/swiza-regularitalic-webfont.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Swiza';
    src: url('../fonts/swiza-medium-webfont.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Swiza';
    src: url('../fonts/swiza-mediumitalic-webfont.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Swiza';
    src: url('../fonts/swiza-semibold-webfont.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Swiza';
    src: url('../fonts/swiza-bold-webfont.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Swiza';
    src: url('../fonts/swiza-bolditalic-webfont.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    font-size: 25px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Swiza', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    line-height: 1.5;
    color: #e5e5e5;
    background-color: #1a1a1a;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ============================================
   GRID SYSTEM
   12 columns × 90px + 15px gaps = 1245px
   ============================================ */

.grid-container {
    width: 1245px;
    margin: 0 auto;
    padding: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 90px);
    gap: 15px;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    padding: 60px 0 80px;
}

.site-header .grid {
    align-items: baseline;
}

.site-title {
    grid-column: 1 / 7;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-nav {
    grid-column: 7 / 11;
    display: flex;
    gap: 24px;
}

.site-nav a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #888;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: #e5e5e5;
}

.lang-switch {
    grid-column: 11 / 13;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    align-items: baseline;
}

.lang-switch a {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #666;
    transition: color 0.2s ease;
}

.lang-switch a:hover {
    color: #e5e5e5;
}

.lang-switch a.active {
    color: #e5e5e5;
    font-weight: 600;
}

.lang-switch .separator {
    color: #444;
    font-size: 0.75rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 0 0 100px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.about-label {
    grid-column: 1 / 3;
    font-size: 0.6875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    padding-top: 2px;
}

.about-content {
    grid-column: 3 / 9;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.65;
    color: #bbb;
}

.about-content p + p {
    margin-top: 1em;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects-section {
    padding-bottom: 120px;
}

.section-label {
    border-top: 1px solid #333;
    padding-top: 20px;
    padding-bottom: 60px;
}

.section-label span {
    font-size: 0.6875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
}

/* ============================================
   PROJECT ITEM
   ============================================ */

.project-item {
    display: contents;
}

.project-image {
    grid-column: span 6;
    overflow: hidden;
    background: transparent;
    line-height: 0;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.project-image:hover img {
    transform: scale(1.02);
}

.project-text {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 4px;
}

.project-title {
    font-size: 1.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-description {
    font-size: 0.8125rem;
    font-weight: 300;
    line-height: 1.6;
    color: #999;
    margin-bottom: 20px;
}

.project-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.project-link {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #E8530E;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.project-link:hover {
    color: #e5e5e5;
}

.project-link::after {
    content: '→';
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.project-link:hover::after {
    transform: translateX(3px);
}

/* Project row spacing */
.project-row {
    margin-bottom: 60px;
}

.project-row:last-child {
    margin-bottom: 0;
}

.project-divider {
    border: none;
    border-top: 1px solid #333;
    margin: 0 0 60px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    border-top: 1px solid #333;
    padding: 30px 0 60px;
}

.footer-text {
    grid-column: 1 / 7;
    font-size: 0.6875rem;
    font-weight: 300;
    color: #555;
    letter-spacing: 0.02em;
}

.footer-right {
    grid-column: 7 / 13;
    font-size: 0.6875rem;
    font-weight: 300;
    color: #555;
    text-align: right;
    letter-spacing: 0.02em;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    grid-column: 1 / 13;
    text-align: center;
    padding: 80px 0;
    color: #555;
    font-size: 0.875rem;
    font-weight: 300;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1300px) {
    .grid-container {
        width: 100%;
        padding: 0 30px;
    }

    .grid {
        grid-template-columns: repeat(12, 1fr);
    }
}

@media (max-width: 900px) {
    .site-header .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .site-title,
    .site-nav,
    .lang-switch {
        grid-column: 1 / -1;
    }

    .lang-switch {
        justify-content: flex-start;
    }

    .about-label,
    .about-content {
        grid-column: 1 / -1;
    }

    .about-label {
        margin-bottom: 8px;
    }

    .project-image {
        grid-column: 1 / -1;
    }

    .project-text {
        grid-column: 1 / -1;
        padding-bottom: 40px;
    }

    .footer-text,
    .footer-right {
        grid-column: 1 / -1;
        text-align: left;
    }

    .footer-right {
        margin-top: 4px;
    }
}
