/* CSS Reset and Variables */
:root {
    /* Colors - Minimalist */
    --bg-color: #ffffff;
    --text-primary: #111111;
    --text-secondary: #555555;
    /* Soft Gray for main text */
    --text-tertiary: #999999;
    --grid-color: #eaeaea;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Layout */
    --max-width: 600px;
    --header-padding-top: 60px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: var(--header-padding-top) 24px;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

/* Typography */
h1 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.2;
    color: #000;
}

p.tagline {
    color: var(--text-tertiary);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 12px;
}



/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    flex-direction: column;
}

/* Dot Pattern - Shared */
.dot-pattern-mobile,
.dot-pattern-desktop {
    background-image: radial-gradient(circle, #e1e1e1 0.8px, transparent 0.8px);
    background-size: 12px 12px;
}

/* Dot Pattern Mobile - Full Bleed */
.dot-pattern-mobile {
    display: none;
}



/* Dot Pattern Desktop */
.dot-pattern-desktop {
    display: block;
    width: 100%;
    height: 120px;
    margin-top: 48px;
}



/* Header */
header {
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--grid-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}



.header-text {
    flex: 1;
}

.headshot {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}



.location-pin {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    margin-bottom: 0;
}

.social-links {
    margin-top: 0;
    /* Handled by location pin margin */
}

.linkedin-link {
    color: #0A66C2;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    width: 100%;
}

.linkedin-link:hover {
    color: #004182;
}

.linkedin-link img {
    width: 16px;
    height: 16px;
    display: block;
    opacity: 0.8;
}

/* Bio Section - Inter Font */
.bio-section {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.highlight {
    color: #3c3c3c;
    /* Pure Black Highlight */
    font-weight: 600;
}

.inline-icon {
    display: inline-block;
    height: 18px;
    /* Adjusted for Inter 20px */
    width: auto;
    vertical-align: text-bottom;
    margin: 0 3px;
    position: relative;
    top: -2px;
    border-radius: 2px;
}

/* Skills/Interests - Compact Squared */
.tag-section {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-start;
}

.tag {
    font-size: 12px;
    color: #cccccc;
    padding: 4px 10px;
    background: #fafafa;
    border-radius: 10px;
    /* Squared */
    border: none;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
    white-space: nowrap;
}

.tag:hover {
    background-color: #e8e8e8;
    color: #000;
}

/* Footer */
footer {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px dashed var(--grid-color);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }

    .dot-pattern-mobile {
        display: block;
        width: 100vw;
        height: 80px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        background-image: radial-gradient(circle, #e2e2e2 1.1px, transparent 1.1px);
    }

    .dot-pattern-desktop {
        display: none;
    }

    .header-content {
        align-items: flex-start;
    }

    .headshot {
        margin-top: 0px;
        position: relative;
        z-index: 1;
        border: 3px solid #fff;
    }

    h1 {
        font-size: 36px;
    }
}