/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f5f2f7;
    color: #28313b;
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
}


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

.navbar {
    height: 80px;

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

    padding: 0 6vw;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 1000;

    background: rgba(245, 242, 247, 0.88);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(40, 49, 59, 0.08);
}

.logo {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;

    text-decoration: none;

    color: #28313b;
}

.navbar nav {
    display: flex;
    gap: 30px;
}

.navbar nav a {
    position: relative;

    text-decoration: none;

    color: #66717a;

    font-size: 14px;

    transition: color 0.25s ease;
}

.navbar nav a:hover {
    color: #28313b;
}

.navbar nav a.active {
    color: #28313b;
    font-weight: 700;
}

.navbar nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -8px;

    height: 2px;

    background: #8e7ba5;

    border-radius: 10px;
}


/* LANGUAGE */

.language {
    display: flex;
    align-items: center;
    gap: 7px;
}

.language button {
    border: none;
    background: none;

    cursor: pointer;

    color: #8d949a;

    font-size: 12px;
}

.language .active {
    color: #28313b;
    font-weight: bold;
}


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

.hero {
    min-height: calc(100vh - 80px);

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    padding: 70px 8vw;

    gap: 60px;
}

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

.eyebrow {
    font-size: 11px;

    font-weight: bold;

    letter-spacing: 2px;

    color: #66717a;

    margin-bottom: 30px;
}

h1 {
    font-size: clamp(60px, 7vw, 100px);

    line-height: 0.9;

    letter-spacing: -5px;

    margin: 0 0 30px;
}

h1 span {
    display: block;

    color: #8e7ba5;
}

.hero h2 {
    font-size: 30px;

    margin: 0 0 10px;

    letter-spacing: -1px;
}

.subtitle {
    font-size: 14px;

    font-weight: bold;

    margin-bottom: 25px;
}

.description {
    max-width: 600px;

    color: #66717a;

    line-height: 1.8;

    font-size: 16px;
}


/* HERO BUTTON */

.button {
    display: inline-block;

    margin-top: 20px;

    padding: 14px 22px;

    background: #28313b;

    color: white;

    text-decoration: none;

    border-radius: 30px;

    font-size: 13px;

    font-weight: bold;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.button:hover {
    opacity: 0.85;

    transform: translateY(-2px);
}


/* HERO LINKS */

.hero-links {
    display: flex;

    flex-wrap: wrap;

    gap: 22px;

    margin-top: 28px;
}

.hero-links a {
    color: #66717a;

    font-size: 12px;

    font-weight: bold;

    text-decoration: none;

    border-bottom: 1px solid rgba(102, 113, 122, 0.35);

    padding-bottom: 4px;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.hero-links a:hover {
    color: #28313b;

    border-color: #8e7ba5;
}


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

.hero-visual {
    position: relative;

    height: 560px;
}

.photo-placeholder {
    position: absolute;

    right: 5%;
    top: 5%;

    width: 65%;
    height: 82%;

    border-radius: 35% 35% 15px 15px;

    background: linear-gradient(
        145deg,
        #d6cbe2,
        #b9d8d2
    );

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: center;

    box-shadow:
        0 30px 70px rgba(40, 49, 59, 0.12);
}

.photo-placeholder img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


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

.hero-data-visual {
    position: absolute;

    left: 0;
    bottom: 8%;

    width: 230px;
    height: 150px;

    padding: 20px;

    background: white;

    border-radius: 18px;

    box-shadow:
        0 20px 50px rgba(40, 49, 59, 0.10);
}

.visual-label {
    font-size: 8px;

    font-weight: bold;

    letter-spacing: 1.5px;

    color: #66717a;
}

.visual-chart {
    height: 85px;

    margin-top: 15px;

    display: flex;

    align-items: end;

    gap: 8px;
}

.visual-chart span {
    flex: 1;

    background: #c8b9dc;

    border-radius: 5px 5px 0 0;
}

.visual-chart span:nth-child(1) {
    height: 30%;
}

.visual-chart span:nth-child(2) {
    height: 48%;
}

.visual-chart span:nth-child(3) {
    height: 42%;
}

.visual-chart span:nth-child(4) {
    height: 70%;
}

.visual-chart span:nth-child(5) {
    height: 58%;
}

.visual-chart span:nth-child(6) {
    height: 82%;
}

.visual-chart span:nth-child(7) {
    height: 70%;
}

.visual-axis {
    height: 1px;

    background: rgba(40, 49, 59, 0.15);
}


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

.about {
    min-height: auto;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 90px;

    padding: 100px 8vw;

    background: #eef5f3;
}

.about-visual {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

.stat-card {
    width: 85%;

    padding: 30px;

    background: white;

    border-radius: 20px;

    box-shadow:
        0 20px 50px rgba(40, 49, 59, 0.08);

    border: 1px solid rgba(40, 49, 59, 0.05);
}

.stat-card.offset {
    align-self: flex-end;

    background: #c8b9dc;
}

.stat-card span {
    display: block;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 2px;

    color: #66717a;

    margin-bottom: 35px;
}

.stat-card strong {
    display: block;

    font-size: 24px;

    margin-bottom: 8px;
}

.stat-card small {
    color: #66717a;

    font-size: 12px;
}

.about-content {
    max-width: 650px;
}

.section-label {
    font-size: 11px;

    font-weight: bold;

    letter-spacing: 2px;

    color: #66717a;

    margin-bottom: 25px;
}

.about-content h2 {
    font-size: clamp(36px, 4vw, 58px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin: 0 0 30px;
}

.about-content p:not(.section-label) {
    color: #66717a;

    font-size: 16px;

    line-height: 1.8;

    max-width: 600px;
}

.about-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 45px;
}

.about-stats div {
    padding-top: 20px;

    border-top: 1px solid rgba(40, 49, 59, 0.15);
}

.about-stats strong {
    display: block;

    font-size: 14px;

    margin-bottom: 8px;
}

.about-stats span {
    color: #66717a;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   TOOLKIT
========================================================= */

.toolkit {
    min-height: auto;

    padding: 90px 8vw;

    background: #f5f2f7;
}

.toolkit-header {
    max-width: 650px;

    margin-bottom: 60px;
}

.toolkit-header h2 {
    font-size: clamp(38px, 5vw, 64px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin: 0;
}

.tools-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    max-width: 1100px;
}

.tool-card {
    min-height: 190px;

    padding: 28px;

    background: white;

    border-radius: 18px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    border: 1px solid rgba(40, 49, 59, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.tool-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(40, 49, 59, 0.10);
}

.tool-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #eef5f3;
}

.tool-icon img {
    width: 28px;
    height: 28px;

    object-fit: contain;
}

.tool-card strong {
    font-size: 20px;

    margin-top: 20px;
}

.tool-card small {
    color: #66717a;

    font-size: 12px;
}


/* =========================================================
   PROJECTS
========================================================= */

.projects {
    min-height: auto;

    padding: 80px 8vw;

    background: #f5f2f7;
}

.projects-header {
    max-width: 700px;

    margin-bottom: 50px;
}

.projects-header h2 {
    font-size: clamp(40px, 5vw, 68px);

    line-height: 1;

    letter-spacing: -3px;

    margin: 0 0 25px;
}

.projects-header > p:last-child {
    max-width: 600px;

    color: #66717a;

    font-size: 16px;

    line-height: 1.7;
}

.projects-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 24px;

    max-width: 1200px;
}


/* PROJECT CARD */

.project-card {
    position: relative;

    min-height: 420px;

    padding: 30px;

    background: white;

    border-radius: 22px;

    border: 1px solid rgba(40, 49, 59, 0.06);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;

    color: inherit;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 25px 60px rgba(40, 49, 59, 0.10);
}

.project-featured {
    grid-column: span 2;

    min-height: 500px;

    background: #eef5f3;
}

.project-top {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.project-number {
    font-size: 12px;

    font-weight: bold;

    letter-spacing: 1px;

    color: #66717a;
}

.project-type {
    font-size: 9px;

    font-weight: bold;

    letter-spacing: 1.5px;

    color: #66717a;
}

.project-content {
    max-width: 600px;
}

.project-content h3 {
    font-size: 30px;

    letter-spacing: -1px;

    margin: 0 0 15px;
}

.project-content p {
    color: #66717a;

    font-size: 14px;

    line-height: 1.7;

    max-width: 550px;
}

.project-tools {
    margin-top: 25px;

    color: #28313b;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 0.5px;
}


/* PROJECT IMAGE */

.project-image {
    width: 100%;

    margin: 25px 0 30px;

    border-radius: 16px;

    overflow: hidden;

    background: #eef5f3;
}

.project-image img {
    width: 100%;

    height: auto;

    display: block;
}


/* PROJECT RESULT */

.project-result {
    display: flex;

    gap: 45px;

    margin-top: 25px;
}

.project-result div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.project-result strong {
    font-size: 24px;

    letter-spacing: -0.5px;
}

.project-result span {
    color: #66717a;

    font-size: 11px;
}


/* PROJECT ACTION */

.project-card-action {
    margin-top: 25px;

    display: flex;

    align-items: center;

    gap: 18px;

    font-size: 13px;

    font-weight: 700;
}

.project-card-action a {
    color: #28313b;

    text-decoration: none;

    transition:
        color 0.2s ease;
}

.project-card-action a:hover {
    color: #8e7ba5;
}

.project-card-action a + a {
    padding-left: 18px;

    border-left: 1px solid rgba(40, 49, 59, 0.18);
}


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

.contact {
    min-height: 65vh;

    padding: 100px 8vw;

    background: #28313b;

    color: white;

    display: grid;

    grid-template-columns: 1.4fr 0.6fr;

    align-items: end;

    gap: 80px;
}

.contact-content {
    max-width: 850px;
}

.contact .section-label {
    color: #b9d8d2;
}

.contact-content h2 {
    font-size: clamp(42px, 6vw, 78px);

    line-height: 0.98;

    letter-spacing: -4px;

    margin: 0 0 35px;
}

.contact-content > p:not(.section-label) {
    max-width: 600px;

    color: #c4cbd0;

    font-size: 16px;

    line-height: 1.7;

    margin-bottom: 30px;
}

.contact-email {
    color: white;

    font-size: 18px;

    font-weight: bold;

    text-decoration: none;

    border-bottom: 1px solid #b9d8d2;

    padding-bottom: 5px;
}

.contact-email:hover {
    color: #b9d8d2;
}

.contact-links {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

.contact-links a {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.2);

    color: white;

    text-decoration: none;

    font-size: 15px;

    font-weight: bold;
}

.contact-links a span {
    color: #b9d8d2;

    font-size: 20px;
}

.contact-links a:hover {
    color: #b9d8d2;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {

    .navbar {
        padding: 0 5vw;
    }

    .navbar nav {
        gap: 18px;
    }


    /* HERO */

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

        padding: 120px 7vw 80px;

        gap: 50px;
    }

    .hero-visual {
        height: 500px;
    }


    /* ABOUT */

    .about {
        grid-template-columns: 1fr;

        padding: 80px 7vw;

        gap: 60px;
    }

    .about-visual {
        max-width: 600px;
    }


    /* TOOLS */

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* PROJECTS */

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

    .project-featured {
        grid-column: span 1;
    }


    /* CONTACT */

    .contact {
        grid-template-columns: 1fr;

        padding: 90px 7vw;

        gap: 50px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 600px) {

    /* NAVBAR */

    .navbar {
        height: 70px;
    }

    .navbar nav {
        display: none;
    }

    .language {
        margin-left: auto;
    }


    /* HERO */

    .hero {
        padding-top: 110px;
    }

    h1 {
        font-size: clamp(50px, 15vw, 75px);

        letter-spacing: -3px;
    }

    .hero h2 {
        font-size: 25px;
    }

    .hero-visual {
        height: 430px;
    }

    .photo-placeholder {
        width: 75%;

        height: 80%;
    }

    .hero-data-visual {
        width: 200px;

        left: 0;

        bottom: 4%;
    }


    /* ABOUT */

    .about {
        padding: 70px 7vw;
    }

    .about-content h2 {
        font-size: 40px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }


    /* TOOLKIT */

    .toolkit {
        padding: 70px 7vw;
    }

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

    .tool-card {
        min-height: 160px;
    }


    /* PROJECTS */

    .projects {
        padding: 70px 7vw;
    }

    .projects-header h2 {
        font-size: 45px;
    }

    .project-card {
        min-height: 400px;
    }

    .project-featured {
        min-height: 500px;
    }

    .project-content h3 {
        font-size: 26px;
    }

    .project-result {
        gap: 25px;
    }


    /* PROJECT ACTIONS */

    .project-card-action {
        gap: 14px;
    }

    .project-card-action a + a {
        padding-left: 14px;
    }


    /* CONTACT */

    .contact {
        padding: 80px 7vw;
    }

    .contact-content h2 {
        font-size: 45px;

        letter-spacing: -2px;
    }


    /* LINKS */

    .hero-links {
        gap: 15px;
    }
}