* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f7f5f1;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
}


/* NAVIGATION */

nav {
    height: 90px;
    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;
}

.logo {
    font-size: 18px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    color: #111111;
    text-decoration: none;
    font-size: 14px;
}


/* HERO */

.hero {
    min-height: calc(100vh - 90px);

    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.85fr);

    align-items: center;

    padding: 70px 6%;
    gap: 60px;
}

.hero-text {
    min-width: 0;
}

.hero-card {
    position: relative;

    width: 100%;
    max-width: 540px;
    aspect-ratio: 1 / 1.05;

    justify-self: end;

    background: #304c89;
    color: #ffffff;

    overflow: hidden;
}

.label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

h1 {
    max-width: 900px;

    margin: 25px 0;

    font-size: clamp(55px, 7vw, 105px);
    line-height: 0.95;
    letter-spacing: -5px;
}

h1 span {
    display: block;
    color: #304c89;
}

.description {
    max-width: 600px;

    font-size: 19px;
    line-height: 1.6;

    color: #555555;
}

.work-link {
    display: inline-block;

    margin-top: 30px;

    color: #111111;
    text-decoration: none;

    border-bottom: 1px solid #111111;
    padding-bottom: 5px;
}


/* HERO VISUAL */

.hero-visual {
    display: flex;
    justify-content: center;
}

.visual-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1.15;

    background: #304c89;
    color: white;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 12px;
}

.visual-placeholder span {
    font-size: 13px;
    letter-spacing: 4px;
}

.visual-placeholder strong {
    font-size: clamp(30px, 4vw, 60px);
}


/* WORK */

.work {
    padding: 120px 6%;
    background: #ffffff;
}

h2 {
    margin: 15px 0 60px;

    font-size: clamp(50px, 7vw, 90px);
    letter-spacing: -4px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project {
    min-height: 340px;

    padding: 32px;

    background: #edf1f8;
}

.number {
    font-size: 13px;
}

.project h3 {
    margin-top: 130px;
    margin-bottom: 10px;

    font-size: 27px;
}

.project p {
    color: #666666;
}


/* MOBILE */

@media (max-width: 800px) {

    .hero {
        grid-template-columns: 1fr;
    }

    h1 {
        letter-spacing: -2px;
    }

    .hero-visual {
        max-width: 500px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 15px;
    }

}
.hero-card {
    position: relative;
    overflow: hidden;
}

.card-content {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    opacity: 0;
    transform: translateY(15px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.card-content.active {
    opacity: 1;
    transform: translateY(0);
}

.card-content h2 {
    margin: 20px 0;
}

.card-content span {
    letter-spacing: 5px;
    font-size: 14px;
}