@font-face {
    font-family: 'Aeonik-Bold';
    src: url('/fonts/Aeonik-Bold.otf') format('opentype');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Aeonik-BoldItalic';
    src: url('/fonts/Aeonik-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Aeonik-Regular';
    src: url('/fonts/Aeonik-Regular.otf') format('opentype');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Aeonik-Thin';
    src: url('/fonts/Aeonik-Thin.otf') format('opentype');
    font-weight: 200;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Voyager-Thin';
    src: url('/fonts/Voyager-Thin.otf') format('opentype');
    font-weight: 200;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Graebenbach-Mono-Regular';
    src: url('/fonts/Graebenbach-Mono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

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

:root {
    --bg: #0f0f0f;
    --text: #fafafa;
    --text-secondary: #999;
    --border: #2a2a2a;
    --accent: #fafafa;
}

body {
    font-family: 'Aeonik-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    transition: background 0.3s ease, color 0.3s ease;
}

nav {
    position: fixed;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 1.5rem;
    align-items: flex-end;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

nav a:hover {
    color: var(--text);
}

.main-content {
    margin-right: 200px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
}

section {
    padding: 4rem 0;
}

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-family: 'Voyager-Thin', 'Aeonik-Thin', serif;
    font-size: 5rem;
    font-weight: 200;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    opacity: 0;
}

.hero .major {
    font-family: 'Aeonik-Thin', sans-serif;
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    opacity: 0;
}

.hero .links {
    display: flex;
    gap: 2rem;
    font-family: 'Graebenbach-Mono-Regular', monospace;
    font-size: 0.9rem;
    justify-content: center;
}

.hero .links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    opacity: 0;
}

.hero .links a:hover {
    color: var(--text);
}

h2 {
    font-family: 'Voyager-Thin', 'Aeonik-Thin', serif;
    font-size: 2.5rem;
    text-transform: capitalize;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-weight: 200;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 650px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border);
}

.project-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-meta {
    font-family: 'Voyager-Thin', 'Aeonik-Thin', serif;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 200;
}

.project-meta .tech {
    font-family: 'Graebenbach-Mono-Regular', monospace;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.project-content h3 {
    font-family: 'Voyager-Thin', 'Aeonik-Thin', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text);
    font-weight: 200;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-links {
    display: flex;
    gap: 2rem;
    font-family: 'Graebenbach-Mono-Regular', monospace;
    font-size: 0.85rem;
}

.project-links a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.project-links a:hover {
    border-color: var(--text);
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.experience-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 3rem;
}

.experience-meta {
    font-family: 'Voyager-Thin', 'Aeonik-Thin', serif;
    color: var(--text-secondary);
    font-size: 1.4rem;
    font-weight: 200;
}

.company-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-top: 1rem;
    margin-left: 1rem;
    border-radius: 8px;
    background: var(--text);
}

.experience-meta .date {
    font-family: 'Graebenbach-Mono-Regular', monospace;
    font-size: 0.85rem;
}

.company-logo.amazon-logo {
    margin-top: 3.5rem !important;
}

.experience-content h3 {
    font-family: 'Voyager-Thin', 'Aeonik-Thin', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    color: var(--text);
    font-weight: 200;
}

.experience-content .company {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.experience-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.blog-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.blog-item:hover {
    opacity: 0.7;
}

.blog-item:last-child {
    border-bottom: none;
}

.blog-date {
    font-family: 'Graebenbach-Mono-Regular', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.blog-content h3 {
    font-family: 'Aeonik-Bold', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.blog-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    margin-top: 6rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    font-family: 'Graebenbach-Mono-Regular', monospace;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text);
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        right: 0;
        left: 0;
        top: 0;
        transform: none;
        width: 100%;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 1.5rem 2rem;
    }

    nav ul {
        flex-direction: row;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-content {
        margin-right: 0;
        padding-top: 80px;
    }

    .container {
        padding: 0 2rem;
    }

    section {
        padding: 5rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .project-item,
    .experience-item,
    .blog-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}