@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #080808;
    --surface: #111111;
    --text: #f5f5f5;
    --muted: #9a9a9a;
    --line: #292929;
    --accent: #d8ff3e;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.background-glow {
    position: fixed;
    width: 650px;
    height: 650px;
    top: -300px;
    right: -200px;
    background: var(--accent);
    opacity: 0.035;
    filter: blur(130px);
    border-radius: 50%;
    pointer-events: none;
}


/* NAVIGATION */

.navbar {
    width: min(1200px, calc(100% - 48px));
    height: 90px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 10;
}

nav {
    display: flex;
    gap: 34px;
}

nav a {
    color: #aaa;
    font-size: 13px;
    transition: color 0.25s ease;
}

nav a:hover {
    color: white;
}


/* HERO */

.hero {
    width: min(1200px, calc(100% - 48px));
    min-height: calc(100vh - 90px);
    margin: auto;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 100px 0;
}

.location {
    font-family: "DM Mono", monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: #b5b5b5;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
}

.hero h1 {
    position: relative;
    margin-top: 24px;
    font-size: clamp(70px, 11vw, 150px);
    line-height: 0.88;
    letter-spacing: -8px;
    font-weight: 600;
    z-index: 4;
}

.hero h1 span {
    color: #b8b8b8;
}

.intro {
    max-width: 500px;
    margin-top: 38px;
    color: #a4a4a4;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 42px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 15px 22px;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: var(--accent);
    color: #080808;
}

.text-link {
    color: #aaa;
    font-size: 13px;
}

.text-link:hover {
    color: white;
}

.text-link span {
    margin-left: 8px;
}

.hero-number {
    position: absolute;
    right: 0;
    bottom: 35px;
    color: #3d3d3d;
    font-family: "DM Mono", monospace;
    font-size: 12px;
}


/* HERO PHOTO */

.hero-photo {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 4%;
    width: min(520px, 48vw);
    height: 680px;
    transform: translateY(-50%);

    background-image:
        linear-gradient(
            90deg,
            var(--bg) 0%,
            rgba(8, 8, 8, 0.75) 18%,
            rgba(8, 8, 8, 0.18) 55%,
            rgba(8, 8, 8, 0.08) 100%
        ),
        linear-gradient(
            0deg,
            var(--bg) 0%,
            transparent 25%,
            transparent 75%,
            var(--bg) 100%
        ),
        url("images/profile.png");

    background-size: cover;
    background-position: center;
    filter: saturate(0.8) contrast(0.9);
    opacity: 0.62;

    -webkit-mask-image:
        radial-gradient(
            ellipse at center,
            black 35%,
            rgba(0,0,0,0.85) 58%,
            transparent 82%
        );

    mask-image:
        radial-gradient(
            ellipse at center,
            black 35%,
            rgba(0,0,0,0.85) 58%,
            transparent 82%
        );
}


/* SECTIONS */

.section {
    width: min(1200px, calc(100% - 48px));
    margin: auto;
    padding: 150px 0;
    border-bottom: 1px solid var(--line);
}

.section-header {
    display: flex;
    gap: 18px;
    margin-bottom: 70px;
    font-family: "DM Mono", monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: #aaa;
}

.section-header span {
    color: var(--accent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 100px;
}

.about-grid h2,
.projects-heading h2,
.currently-content h2,
.socials-heading h2 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -3px;
    color: #eeeeee;
}

.about-grid h2 span,
.projects-heading h2 span,
.currently-content h2 span,
.socials-heading h2 span,
.contact-section h2 span {
    color: #9c9c9c;
}

.about-text {
    color: #a0a0a0;
    max-width: 450px;
}

.about-text p + p {
    margin-top: 25px;
}


/* PROJECTS */

.projects-heading {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 80px;
}

.projects-heading p,
.socials-heading p {
    max-width: 320px;
    color: #999;
}

.project {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 190px 30px;
    align-items: center;
    gap: 25px;
    padding: 34px 0;
    border-top: 1px solid var(--line);
    transition: background 0.25s ease, padding 0.25s ease;
}

.project:last-child {
    border-bottom: 1px solid var(--line);
}

.project:hover {
    background: #0d0d0d;
    padding-left: 18px;
    padding-right: 18px;
}

.project-number,
.project-tech {
    color: #888;
    font-family: "DM Mono", monospace;
    font-size: 11px;
}

.project-number {
    color: var(--accent);
}

.project-info {
    min-width: 0;
}

.project-info h3 {
    font-size: 21px;
    font-weight: 500;
    color: #f1f1f1;
}

.project-info p {
    margin-top: 6px;
    color: #999;
    font-size: 13px;
}

.project-tech {
    text-align: right;
}

.project-arrow {
    color: var(--accent);
    font-size: 20px;
    text-align: right;
}


/* CURRENTLY */

.currently-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.currently-list {
    border-top: 1px solid var(--line);
}

.currently-list div {
    display: grid;
    grid-template-columns: 50px 1fr;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.currently-list span {
    color: var(--accent);
    font-family: "DM Mono", monospace;
    font-size: 11px;
}
.currently-list p {
    color: #999;
    font-size: 12px;
}

.currently-list strong {
    grid-column: 2;
    font-size: 17px;
    font-weight: 500;
    color: #eee;
}


/* SOCIALS */

.socials-heading {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 70px;
}

.social-list {
    border-top: 1px solid var(--line);
}

.social-item {
    display: grid;
    grid-template-columns: 55px 1fr 30px;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    transition: background 0.25s ease, padding 0.25s ease;
}

.social-item:hover {
    background: #0d0d0d;
    padding-left: 15px;
    padding-right: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-weight: 600;
    font-size: 14px;
}

.social-item strong {
    display: block;
    font-size: 15px;
    font-weight: 500;
}

.social-item span:not(.social-arrow) {
    display: block;
    color: #777;
    font-size: 12px;
}

.social-arrow {
    color: var(--accent);
    font-size: 19px;
}


/* CONTACT */

.contact-section {
    width: min(1200px, calc(100% - 48px));
    margin: auto;
    padding: 180px 0;
}

.contact-label {
    color: #aaa;
}

.contact-section h2 {
    margin-top: 30px;
    font-size: clamp(55px, 8vw, 105px);
    line-height: 0.92;
    letter-spacing: -5px;
    color: #f1f1f1;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    padding-bottom: 8px;
    border-bottom: 1px solid #888;
    font-size: 18px;
}

.contact-email span {
    color: var(--accent);
}


/* FOOTER */

footer {
    width: min(1200px, calc(100% - 48px));
    margin: auto;
    padding: 35px 0;
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 11px;
    font-family: "DM Mono", monospace;
}


/* MOBILE */

@media (max-width: 700px) {

    .navbar {
        width: calc(100% - 32px);
        height: 75px;
    }

    nav {
        gap: 16px;
    }

    nav a {
        font-size: 11px;
    }

    .hero,
    .section,
    .contact-section {
        width: calc(100% - 32px);
    }

    .hero {
        min-height: calc(100vh - 75px);
    }

    .hero-content {
        padding: 100px 0;
    }

    .hero h1 {
        font-size: clamp(58px, 17vw, 100px);
        letter-spacing: -5px;
    }

    .hero-photo {
        width: 100%;
        height: 620px;
        right: -20%;
        opacity: 0.35;
    }

    .intro {
        font-size: 16px;
        max-width: 380px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .section {
        padding: 100px 0;
    }

    .about-grid,
    .currently-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-grid h2,
    .projects-heading h2,
    .currently-content h2,
    .socials-heading h2 {
        font-size: 45px;
    }

    .projects-heading,
    .socials-heading {
        display: block;
    }

    .projects-heading p,
    .socials-heading p {
        margin-top: 30px;
    }

    .project {
        grid-template-columns: 35px minmax(0, 1fr) 20px;
        gap: 12px;
    }

    .project-tech {
        display: none;
    }

    .contact-section {
        padding: 120px 0;
    }

    .contact-section h2 {
        font-size: 55px;
        letter-spacing: -3px;
    }

    footer {
        width: calc(100% - 32px);
        flex-wrap: wrap;
        gap: 15px;
    }
}