/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-border: #e5e5e5;
    --color-accent: #0066cc;
    --color-accent-hover: #0052a3;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
    --max-width: 1100px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
    background: var(--color-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.nav-inline {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-inline a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-inline a:hover,
.nav-inline a.active {
    color: var(--color-text);
}

/* Hero Section */
.hero {
    padding: 4rem 2rem;
    max-width: var(--max-width);
}

.hero-text {
    max-width: 720px;
}

.hero-hi {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.hero-sub {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.hero-location {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: var(--color-text);
    color: var(--color-bg);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid var(--color-text);
}

.btn:hover {
    background: var(--color-text-light);
    border-color: var(--color-text-light);
}

.btn.outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn.outline:hover {
    border-color: var(--color-text);
    background: transparent;
}

.hero-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.95rem;
}

.hero-links a {
    color: var(--color-accent);
    text-decoration: none;
}

.hero-links a:hover {
    text-decoration: underline;
}

.hero-links span {
    color: var(--color-border);
}

/* Footer */
footer {
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
    margin-top: 4rem;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

footer p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

footer nav {
    display: flex;
    gap: 1.5rem;
}

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

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

/* Content wrapper for blog/about pages */
.content-wrapper {
    max-width: 920px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-wrapper h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.content-wrapper h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

.content-wrapper a {
    color: var(--color-accent);
    text-decoration: none;
}

.content-wrapper a:hover {
    text-decoration: underline;
}

.content-wrapper ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Work Experience Styles */
.intro-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 100%;
}

.work-experience {
    margin-top: 2.5rem;
}

.job {
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.job-date-col {
    text-align: left;
}

.job-date {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.job-content {
    min-width: 0;
    width: 100%;
}

.job-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--color-text);
    line-height: 1.3;
}

.job-company {
    font-size: 1rem;
    color: var(--color-text-light);
    margin: 0 0 0.35rem 0;
    font-weight: 400;
}

.job-location {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.job-description {
    width: 100%;
}

.job-description p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.job-description ul {
    margin: 0 0 1.2rem 0;
    padding-left: 1.5rem;
    list-style: disc;
}

.job-description li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--color-text);
    font-size: 1rem;
}

.job-tech {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.job-tech strong {
    color: var(--color-text);
    font-weight: 600;
}

.cta-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-section p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .hero {
        padding: 2rem 1.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .job {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 3rem;
    }
    
    .job-date-col {
        margin-bottom: 0.5rem;
    }
    
    .job-title {
        font-size: 1.2rem;
    }
    
    .cta-section {
        flex-direction: column;
    }
}