/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    background: #f7f7f3;
    color: #171717;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;
    padding: 28px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #deded8;
    background: #f7f7f3;
}

.logo {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    color: #555;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #171717;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 80vh;
    padding: 90px 7%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    min-width: 0;
}

.eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #777;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(52px, 7vw, 92px);
    line-height: 0.95;
    letter-spacing: -5px;
    font-weight: 700;
    margin-bottom: 30px;
    max-width: 100%;
    overflow-wrap: break-word;
}

.hero h1 span {
    color: #777;
}

.hero-text {
    max-width: 570px;
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 22px;
    border: 1px solid #171717;
    font-size: 13px;
    transition: all 0.2s ease;
}

.btn.primary {
    background: #171717;
    color: #fff;
}

.btn.primary:hover {
    background: #333;
}

.btn.secondary {
    background: transparent;
}

.btn.secondary:hover {
    background: #171717;
    color: #fff;
}


/* =========================
   HERO VISUAL
========================= */

.hero-visual {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.profile-card {
    width: 280px;
    height: 320px;
    max-width: 100%;
    background: #e8e8e4;
    border-radius: 18px;
    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    box-shadow: 20px 20px 0 #d9d9d4;
}

.profile-circle {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 28px;
    background: #171717;
    flex-shrink: 0;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-card p {
    width: 100%;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid #bbb;
    padding: 9px 0;
    color: #444;
}


/* =========================
   GENERAL SECTIONS
========================= */

.section {
    padding: 110px 7%;
    border-top: 1px solid #deded8;
    width: 100%;
    max-width: 100%;
}

.section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 55px;
}


/* =========================
   ABOUT
========================= */

.about-content {
    max-width: 1050px;
    margin-left: auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    min-width: 0;
}

.about-content h2 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -4px;
    max-width: 100%;
    overflow-wrap: break-word;
}

.about-text {
    max-width: 650px;
    min-width: 0;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.about-content strong {
    color: #171717;
}


/* =========================
   EXPERIENCE
========================= */

.experience-list {
    border-top: 1px solid #d7d7d2;
    width: 100%;
    max-width: 100%;
}

.experience-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid #d7d7d2;
    min-width: 0;
}

.experience-item > div {
    display: flex;
    align-items: baseline;
    gap: 35px;
    min-width: 0;
}

.experience-item .year {
    width: 105px;
    font-size: 11px;
    color: #999;
    flex-shrink: 0;
}

.experience-item h3 {
    font-size: 20px;
    font-weight: 600;
}

.experience-item > p {
    font-size: 13px;
    color: #777;
}


/* =========================
   WHAT I DO
========================= */

#skills {
    background: #e9e9e5;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #d6d6d1;
    border-bottom: 1px solid #d6d6d1;
}

#skills::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(23, 23, 23, 0.055);
    border-radius: 50%;
    right: -220px;
    top: -220px;
}

#skills::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(23, 23, 23, 0.045);
    border-radius: 50%;
    left: -200px;
    bottom: -220px;
}

#skills .section-label {
    position: relative;
    z-index: 2;
    color: #666;
}

.skills-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    background: transparent;
    border: none;
    min-width: 0;
}

.skill-card {
    position: relative;
    overflow: hidden;
    background: #f7f7f3;
    border: 1px solid #d5d5d0;
    border-radius: 6px;
    padding: 34px;
    min-height: 255px;
    min-width: 0;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 9px 9px 0 rgba(23, 23, 23, 0.07);
}

.skill-card > span {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 48px;
}

.skill-card h3 {
    font-size: 21px;
    letter-spacing: -0.4px;
    margin-bottom: 14px;
}

.skill-card p {
    max-width: 470px;
    font-size: 14px;
    line-height: 1.75;
    color: #626262;
}

.skill-card small {
    display: block;
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid #deded9;
    font-size: 10px;
    line-height: 1.6;
    color: #888;
}

.skill-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -45px;
    top: -45px;
    border: 1px solid rgba(23, 23, 23, 0.055);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.skill-card:hover::after {
    transform: scale(1.4);
}


/* =========================
   SELECTED WORK
========================= */

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    min-width: 0;
}

.work-card {
    border: 1px solid #d7d7d2;
    padding: 35px;
    background: #f7f7f3;
    min-height: 330px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 #deded8;
}

.work-number {
    font-size: 11px;
    color: #999;
    margin-bottom: 65px;
}

.work-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.work-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.result {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid #ddd;
}

.result strong {
    font-size: 30px;
    letter-spacing: -1px;
}

.result span {
    font-size: 11px;
    color: #888;
}


/* =========================
   CONTACT
========================= */

.contact {
    position: relative;
    overflow: hidden;

    padding: 130px 7%;

    color: #fff;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;

    width: 100%;
    max-width: 100%;

    background-image:
        linear-gradient(
            rgba(23, 23, 23, 0.76),
            rgba(23, 23, 23, 0.76)
        ),
        url("Linkedin cover header 01.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact .eyebrow {
    color: #b5b5b5;
}

.contact h2 {
    font-size: clamp(45px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -5px;
    max-width: 100%;
    overflow-wrap: break-word;
}


/* =========================
   CONTACT BUTTONS
========================= */

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-right: auto;
}

.contact-links a {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    padding: 13px 22px;
    min-width: 150px;
    text-align: left;
    transition: all 0.2s ease;
}

.contact-links a:hover {
    background: #fff;
    color: #171717;
    border-color: #fff;
    transform: translateX(4px);
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 25px 7%;
    background: #171717;
    color: #777;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    width: 100%;
    max-width: 100%;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 60px;
        padding-top: 70px;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

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

    .contact {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-links {
        margin-right: 0;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .navbar {
        width: 100%;
        padding: 22px 5%;
    }

    .logo {
        font-size: 15px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .hero {
        width: 100%;
        max-width: 100%;
        padding: 65px 5%;
        min-height: auto;
        overflow-x: hidden;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero h1 {
        font-size: 55px;
        letter-spacing: -3px;
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .hero-text {
        font-size: 16px;
        max-width: 100%;
    }

    .profile-card {
        width: 250px;
        max-width: 100%;
        height: 300px;
        padding: 27px;
    }

    .profile-circle {
        width: 115px;
        height: 115px;
        margin-bottom: 24px;
    }

    .section {
        width: 100%;
        max-width: 100%;
        padding: 80px 5%;
        overflow-x: hidden;
    }

    .section-label {
        margin-bottom: 40px;
    }

    .about-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .about-content h2 {
        font-size: 44px;
        letter-spacing: -3px;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .about-content p {
        font-size: 17px;
    }

    .about-text {
        max-width: 100%;
        min-width: 0;
    }

    .experience-item {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .experience-item > div {
        gap: 20px;
        min-width: 0;
    }

    .experience-item h3 {
        min-width: 0;
        overflow-wrap: break-word;
    }

    .skills-grid,
    .work-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    .skill-card,
    .work-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .skill-card {
        min-height: auto;
    }

    .work-card {
        min-height: 300px;
    }

    .contact {
        width: 100%;
        max-width: 100%;
        padding: 90px 5%;
        flex-direction: column;
        align-items: flex-start;
        gap: 45px;
        overflow-x: hidden;

        background-image:
            linear-gradient(
                rgba(23, 23, 23, 0.80),
                rgba(23, 23, 23, 0.80)
            ),
            url("Linkedin cover header 01.jpg");

        background-position: 75% center;
    }

    .contact h2 {
        font-size: 55px;
        letter-spacing: -3px;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .contact-links {
        width: 100%;
        max-width: 100%;
        align-items: flex-start;
        margin-right: 0;
    }

    .contact-links a {
        font-size: 16px;
        padding: 12px 20px;
        min-width: 145px;
        max-width: 100%;
    }

    footer {
        width: 100%;
        max-width: 100%;
        padding: 22px 5%;
        flex-direction: column;
        gap: 8px;
    }
}