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

html {
    font-size: 93.75%;
}

body {
    font-family: "Victor Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-color: #e8d5b7;
    color: #000;
    line-height: 1.8;
}

/* Links */
a {
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: all 0.3s ease;
}

a:hover {
    color: #000;
    text-decoration-thickness: 2px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

/* Primary links (company names in <strong> tags) */
strong a {
    color: #0066cc;
}

strong a:hover {
    color: #0052a3;
    text-shadow: 0 0 8px rgba(0, 102, 204, 0.15);
}

/* Hero Section */
.hero {
    padding: 3rem 1rem 2rem;
    border-bottom: 1px solid rgba(139, 46, 46, 0.2);
}

.hero-flex {
    max-width: 640px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.01em;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.subtitle {
    font-size: 0.9rem;
    color: #000;
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-optical-sizing: auto;
    font-style: normal;
}

.bio {
    font-size: 0.85rem;
    color: #000;
    font-weight: 500;
    line-height: 1.8;
}

/* Main Container */
.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 1rem 1.5rem;
}

/* Sections */
.section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: #000;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    font-weight: 600;
}

/* Experience Items */
.experience-item {
    display: grid;
    grid-template-columns: minmax(140px, 200px) 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(139, 46, 46, 0.15);
}

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

.company-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.company-header h3 {
    font-size: 1rem;
    color: #000;
    font-weight: 600;
}

.date {
    font-size: 0.8rem;
    color: #000;
}

.role {
    font-size: 0.9rem;
    color: #000;
    margin-bottom: 0.4rem;
    font-style: italic;
}

.description {
    color: #000;
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.8;
}

.experience-image {
    width: 80%;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: none;
    border: none;
    background: transparent;
}

/* Project Items */
.project-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.6rem;
    background: rgba(139, 46, 46, 0.03);
    border-left: 2px solid rgba(139, 46, 46, 0.3);
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.project-item:hover {
    background: rgba(139, 46, 46, 0.08);
    border-left-color: #000;
    transform: translateX(5px);
}

.project-name {
    font-size: 0.9rem;
    color: #000;
    font-weight: 600;
    min-width: 140px;
}

.arrow {
    color: #000;
    font-size: 1rem;
}

.tech-stack {
    color: #000;
    font-size: 0.8rem;
    flex: 1;
}

/* Thinking Space Wrapper */
.thinking-space-wrapper {
    position: relative;
    min-height: 200px;
}

.thinking-space-content {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    opacity: 0.35;
    pointer-events: none;
}

/* Footer */
.footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 46, 46, 0.2);
    text-align: left;
    color: #000;
    font-size: 0.8rem;
}

.footer a {
    color: #0066cc;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: all 0.3s ease;
}

.footer a:hover {
    text-decoration-thickness: 2px;
    text-shadow: 0 0 8px rgba(0, 102, 204, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .bio {
        font-size: 0.8rem;
    }

    .container {
        padding: 1.5rem 1rem 1rem;
    }

    .section {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .company-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .company-header h3 {
        font-size: 0.95rem;
    }

    .date {
        font-size: 0.75rem;
    }

    .role {
        font-size: 0.85rem;
    }

    .description {
        font-size: 0.8rem;
    }

    .project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.5rem;
        margin-bottom: 0.6rem;
    }

    .project-name {
        min-width: auto;
        font-size: 0.85rem;
    }

    .tech-stack {
        font-size: 0.75rem;
    }

    .arrow {
        display: none;
    }

    .experience-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        align-items: flex-start;
    }

    .experience-image {
        width: 100%;
        max-width: 80px;
        margin: 0;
    }

    .footer {
        margin-top: 2rem;
        padding-top: 1rem;
        font-size: 0.75rem;
    }
}
