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

:root {
    --bg: #F7F6F3;
    --surface: #EEECEA;
    --border: #D8D5CF;
    --text: #1A1917;
    --muted: #7A7670;
    --dotnet: #512BD4;
    --dotnet-bg: rgba(81, 43, 212, 0.07);
    --green: #2D6A4F;
    --mono: 'DM Mono', monospace;
    --sans: 'DM Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(247, 246, 243, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 24px;
}

.nav-logo {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
}

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

/* HERO */
.hero {
    padding: 130px 0 72px;
    border-bottom: 1px solid var(--border);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero>* {
    animation: fadeUp 0.5s ease both;
}

.hero>*:nth-child(1) {
    animation-delay: 0.05s;
}

.hero>*:nth-child(2) {
    animation-delay: 0.12s;
}

.hero>*:nth-child(3) {
    animation-delay: 0.18s;
}

.hero>*:nth-child(4) {
    animation-delay: 0.24s;
}

.hero>*:nth-child(5) {
    animation-delay: 0.30s;
}

.eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eyebrow::before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--muted);
}

.available {
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 6px;
}

.available::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero h1 {
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.hero h1 strong {
    font-weight: 500;
}

.hero-desc {
    font-size: 15px;
    color: var(--muted);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.pill-row {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.pill {
    font-family: var(--mono);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 3px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: var(--surface);
    letter-spacing: 0.03em;
}

.pill.net {
    color: var(--dotnet);
    background: var(--dotnet-bg);
    border-color: rgba(81, 43, 212, 0.3);
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    font-size: 13px;
    font-weight: 500;
    padding: 9px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.15s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
}

.btn-primary:hover {
    opacity: 0.82;
}

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

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

/* SECTION */
section {
    padding: 68px 0;
    border-bottom: 1px solid var(--border);
}

.section-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-label::before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--muted);
}

/* SKILLS */
.skills-table {
    width: 100%;
    border-collapse: collapse;
}

.skills-table tr {
    border-bottom: 1px solid var(--border);
}

.skills-table tr:last-child {
    border-bottom: none;
}

.skills-table td {
    padding: 14px 0;
    vertical-align: top;
}

.skills-table td:first-child {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    width: 130px;
    padding-top: 17px;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-pill {
    font-family: var(--mono);
    font-size: 12px;
    padding: 4px 9px;
    border-radius: 2px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
}

.skill-pill.strong {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.skill-pill.mid {
    background: var(--dotnet-bg);
    color: var(--dotnet);
    border-color: rgba(81, 43, 212, 0.25);
}

/* PROJECTS */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 26px;
    transition: border-color 0.15s;
}

.project-card:hover {
    border-color: #ADAAA4;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.project-title {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.project-type {
    font-family: var(--mono);
    font-size: 10px;
    padding: 3px 7px;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--dotnet);
    background: var(--dotnet-bg);
    border: 1px solid rgba(81, 43, 212, 0.2);
}

.project-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 14px;
    max-width: 580px;
}

.project-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tag {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    padding: 2px 7px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 2px;
}

.project-tag.net {
    color: var(--dotnet);
    background: var(--dotnet-bg);
}

/* EXPERIENCE */
.exp-list {
    display: flex;
    flex-direction: column;
}

.exp-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

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

.exp-date {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    padding-top: 2px;
}

.exp-company {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}

.exp-role {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.exp-bullets {
    list-style: none;
}

.exp-bullets li {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
    padding-left: 16px;
    position: relative;
    margin-bottom: 5px;
}

.exp-bullets li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--border);
}

.exp-stack {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.exp-tag {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dotnet);
    background: var(--dotnet-bg);
    border: 1px solid rgba(81, 43, 212, 0.2);
    padding: 2px 7px;
    border-radius: 2px;
}

@media (max-width: 540px) {
    .exp-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* ABOUT */
.about-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--dotnet);
    border-radius: 4px;
    padding: 28px;
}

.about-box h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.about-box p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 560px;
}

.about-box p+p {
    margin-top: 8px;
}

/* CONTACT */
.contact-desc {
    font-size: 14px;
    color: var(--muted);
    max-width: 440px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.contact-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-link {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--surface);
    transition: all 0.12s;
}

.contact-link:hover {
    color: var(--text);
    border-color: var(--text);
    background: var(--bg);
}

.contact-link svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

footer {
    padding: 32px 0;
    text-align: center;
}

footer p {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.06em;
}