:root {
    --bg: #0a0a0a;
    --fg: #f0ede8;
    --muted: #555;
    --border: rgba(255, 255, 255, 0.08);
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'Epilogue', sans-serif;
    background: var(--bg);
    color: var(--fg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── NAV ── */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 48px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 100;
    animation: fadeDown 0.5s ease both;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nav-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: var(--fg);
    text-decoration: none;
    flex-shrink: 0;
}

.nav-links {
    /* display: flex; */
    display: none;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-family: 'Epilogue', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    position: relative;
}

.nav-links a.active {
    color: var(--fg);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--fg);
}

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

.nav-socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.45;
    transition: opacity 0.2s;
    text-decoration: none;
}

.nav-socials a:hover {
    opacity: 1;
}

.nav-socials img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* ── HERO ── */
.hero {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

.hero-half {
    padding: 72px 48px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: fadeUp 0.7s ease both;
}

.hero-half:first-child {
    border-right: 1px solid var(--border);
    animation-delay: 0.1s;
}

.hero-half:last-child {
    animation-delay: 0.2s;
}

/* to hide view projects button */
.hero-half:last-child .btn-filled {
    display: none;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Profile image */
.hero-top {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.profile-wrap {
    flex-shrink: 0;
}

.profile-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    display: block;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.06);
}

.avatar-fallback {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: #1e1e1e;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--fg);
}

.hero-label-group {
    padding-top: 4px;
}

.hero-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.hero-name {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--fg);
    letter-spacing: 0.01em;
}

.hero-role-line {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-role-line::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--muted);
}

/* Hero headline */
.hero-headline {
    font-family: 'Syne', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--fg);
    margin: 32px 0 24px;
}

.hero-headline span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(240, 237, 232, 0.35);
}

.hero-desc {
    font-size: 14px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.75;
    max-width: 340px;
    margin-bottom: 40px;
}

/* Buttons */
.btn-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 13px 26px;
    font-family: 'Epilogue', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--fg);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    display: inline-block;
}

.btn-filled {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
}

.btn:hover {
    border-color: var(--fg);
    transform: translateY(-2px);
}

.btn-filled:hover {
    background: rgba(240, 237, 232, 0.88);
}

/* Right half */
.hero-right-top {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-block-label {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.info-block-value {
    font-size: 14px;
    color: rgba(240, 237, 232, 0.65);
    font-weight: 300;
    line-height: 1.6;
}

/* Inline socials */
.inline-socials {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 28px;
}

.inline-socials a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.inline-socials a:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.inline-socials img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.2s;
}

.inline-socials a:hover img {
    opacity: 1;
}

/* ── FOOTER ── */
footer {
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    animation: fadeUp 0.6s 0.35s ease both;
}

.footer-text {
    font-size: 12px;
    color: var(--muted);
    font-weight: 300;
    letter-spacing: 0.04em;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    nav {
        padding: 18px 24px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-half:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .hero-half {
        padding: 48px 24px 56px;
    }

    footer {
        padding: 20px 24px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

.connect-text {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}