:root {
    --bg-dark: #0a0a0a;
    --text-main: #f5f1eb;
    --text-muted: #8a8a8a;
    --accent: #b8892a;
    --accent-hover: #d4a84b;
    --border-color: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "DM Sans", sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 5vw, 40px);
    background-image: radial-gradient(circle at 15% 50%, rgba(184, 137, 42, 0.03), transparent 25%), radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.02), transparent 25%);
    overflow-x: hidden;
}

.profile-container {
    max-width: 800px;
    width: 100%;
    animation: fadeUp 1s ease-out forwards;
}

/* Header Section */
.header {
    margin-bottom: clamp(32px, 6vw, 48px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.photo-wrapper {
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.profile-photo {
    width: clamp(90px, 15vw, 120px);
    height: clamp(90px, 15vw, 120px);
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(184, 137, 42, 0.3);
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.02);
    transition: border-color 0.4s ease;
}

.photo-wrapper:hover .profile-photo {
    border-color: var(--accent);
}

.eyebrow {
    font-family: "DM Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.name {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(36px, 8vw, 64px);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.title {
    font-size: clamp(15px, 3vw, 20px);
    font-weight: 300;
    color: var(--text-muted);
}

/* Summary */
.summary {
    font-size: clamp(14px, 2.5vw, 17px);
    font-weight: 300;
    max-width: 600px;
    margin-bottom: clamp(32px, 6vw, 48px);
    color: #d0d0d0;
}

/* Grid Layout for Skills & Projects */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(32px, 6vw, 48px);
    margin-bottom: clamp(40px, 8vw, 56px);
    padding-top: clamp(32px, 6vw, 48px);
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Skills list */
.skills-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    font-size: clamp(12px, 2vw, 13px);
    padding: 6px 14px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s;
}

    .skill-tag:hover {
        border-color: var(--accent);
    }

/* Projects List */
.projects-list {
    list-style: none;
}

.project-item {
    margin-bottom: 20px;
}

.project-name {
    font-weight: 500;
    font-size: clamp(14px, 2vw, 15px);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-desc {
    font-size: clamp(13px, 2vw, 14px);
    color: var(--text-muted);
    font-weight: 300;
}

/* Footer / Contact */
.contact-bar {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 4vw, 32px);
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    font-family: "DM Mono", monospace;
    font-size: clamp(11px, 2vw, 12px);
}

.contact-link {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .contact-link:hover {
        color: var(--accent);
    }

.location {
    color: var(--text-muted);
    margin-right: auto;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 650px) {
    .location {
        width: 100%;
        margin-bottom: 8px;
    }

    .header {
        align-items: center;
        text-align: center;
    }

    .summary {
        text-align: center;
    }
}
