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

html {
    scroll-behavior: smooth;
}

body {
    background: #fbfbf8;
    color: #25252a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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


/* Navigation */

.navbar {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 32px;

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

.logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: #77777f;
    font-size: 14px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #25252a;
}


/* Main */

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}


/* Hero */

.hero {
    min-height: 620px;

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

.eyebrow {
    margin-bottom: 18px;

    color: #9292a0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero h1 {
    max-width: 800px;

    font-size: clamp(56px, 9vw, 108px);
    line-height: 0.95;
    letter-spacing: -6px;
    font-weight: 600;
}

.intro {
    max-width: 500px;
    margin-top: 30px;

    color: #77777f;
    font-size: 20px;
    line-height: 1.6;
}

.button {
    margin-top: 34px;
    padding: 13px 21px;

    background: #e8eef7;
    border-radius: 100px;

    color: #3f4c61;
    font-size: 14px;
    font-weight: 500;

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

.button:hover {
    background: #dde7f4;
    transform: translateY(-2px);
}


/* Cards */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    padding-bottom: 120px;
}

.card {
    min-height: 230px;
    padding: 28px;

    background: #f1f3f4;
    border: 1px solid #e9e9e7;
    border-radius: 24px;

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

.card:hover {
    background: #eef1f5;
    transform: translateY(-4px);
}

.card-label {
    color: #a0a0aa;
    font-size: 12px;
}

.card h2 {
    margin-top: 55px;

    font-size: 25px;
    font-weight: 500;
    letter-spacing: -0.8px;
}

.card p {
    margin-top: 8px;

    color: #77777f;
    font-size: 14px;
}


/* Footer */

footer {
    padding: 30px 32px 45px;

    text-align: center;

    color: #a0a0a8;
    font-size: 12px;
}


/* Mobile */

@media (max-width: 700px) {

    .navbar {
        padding: 22px 20px;
    }

    nav {
        gap: 16px;
    }

    nav a {
        font-size: 13px;
    }

    main {
        padding: 0 20px;
    }

    .hero {
        min-height: 560px;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .intro {
        font-size: 17px;
    }

    .cards {
        grid-template-columns: 1fr;
        padding-bottom: 80px;
    }

    .card {
        min-height: 200px;
    }
}
/* Inner pages */

.page-hero {
    padding: 130px 0 90px;
}

.page-hero h1 {
    max-width: 850px;

    font-size: clamp(48px, 8vw, 90px);
    line-height: 1;
    letter-spacing: -5px;
    font-weight: 600;
}

.page-intro {
    max-width: 550px;
    margin-top: 28px;

    color: #77777f;
    font-size: 19px;
}

.content-section {
    padding-bottom: 120px;
}

.content-section h2 {
    margin-bottom: 30px;

    font-size: 28px;
    font-weight: 500;
    letter-spacing: -1px;
}

.interest-list {
    border-top: 1px solid #e4e4e2;
}

.interest-list div {
    display: grid;
    grid-template-columns: 60px 1fr;

    padding: 22px 0;

    border-bottom: 1px solid #e4e4e2;
}

.interest-list span,
.project > span {
    color: #a0a0aa;
    font-size: 12px;
}

.interest-list p {
    font-size: 16px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;

    padding-bottom: 120px;
}

.project {
    min-height: 260px;
    padding: 30px;

    background: #f1f3f4;
    border: 1px solid #e9e9e7;
    border-radius: 24px;

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

.project:hover {
    background: #eef1f5;
    transform: translateY(-4px);
}

.project h2 {
    margin-top: 70px;

    font-size: 26px;
    font-weight: 500;
    letter-spacing: -1px;
}

.project p {
    max-width: 400px;
    margin-top: 8px;

    color: #77777f;
    font-size: 14px;
}

@media (max-width: 700px) {

    .page-hero {
        padding: 90px 0 60px;
    }

    .page-hero h1 {
        letter-spacing: -3px;
    }

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