@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=Manrope:wght@500;600;700&display=swap');

:root {
    --bg: #f5f4f0;
    --text: #111111;
    --muted: #686868;
    --line: #d8d6d0;
    --dark: #111111;
    --light: #ffffff;

    --sans: "DM Sans", sans-serif;
    --display: "Manrope", sans-serif;

    --page-padding: clamp(24px, 5vw, 80px);
    --section-space: clamp(90px, 12vw, 170px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px var(--page-padding);

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

    z-index: 10;
}

.brand {
    font-family: var(--display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: opacity 0.25s ease;
}

.main-nav a:hover {
    opacity: 0.5;
}

.hero {
    min-height: 88vh;
    display: flex;
    align-items: flex-end;

    padding: 150px var(--page-padding) 100px;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.05),
            transparent 65%
        );
}

.hero-inner {
    max-width: 900px;
}

.label,
.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 22px;

    max-width: 850px;

    font-family: var(--display);
    font-size: clamp(46px, 6vw, 82px);
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.045em;
}

.hero-intro {
    max-width: 480px;
    margin-top: 32px;

    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.primary-link {
    display: inline-block;
    margin-top: 34px;

    border-bottom: 1px solid var(--text);
    padding-bottom: 5px;

    font-size: 14px;
    font-weight: 500;
}

.section {
    padding: var(--section-space) var(--page-padding);
}

.introduction {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;

    border-top: 1px solid var(--line);
}

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

.intro-content h2 {
    max-width: 760px;

    font-family: var(--display);
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.intro-content p {
    max-width: 620px;
    margin-top: 30px;

    color: var(--muted);
    font-size: 17px;
}

.section-header {
    max-width: 760px;
}

.section-header h2 {
    margin-top: 18px;

    font-family: var(--display);
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -0.035em;
}

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

    margin-top: 70px;
}

.work-item {
    min-width: 0;
}

.work-placeholder {
    position: relative;
    aspect-ratio: 4 / 5;

    display: flex;
    align-items: flex-end;

    padding: 22px;

    background: #dedcd6;
    overflow: hidden;
}

.work-item:nth-child(2) .work-placeholder {
    background: #cfcfca;
}

.work-item:nth-child(3) .work-placeholder {
    background: #bdbdb7;
}

.work-placeholder span {
    font-size: 12px;
    letter-spacing: 0.12em;
}

.work-info {
    padding-top: 18px;
}

.work-info h3 {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 600;
}

.work-info p {
    margin-top: 6px;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.services {
    background: var(--dark);
    color: var(--light);
}

.services .section-header {
    max-width: 700px;
}

.service-list {
    margin-top: 65px;

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

.service-row {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 35px;

    padding: 35px 0;

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

.service-number {
    font-size: 11px;
    letter-spacing: 0.12em;
    opacity: 0.55;
}

.service-row h3 {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 600;
}

.service-row p {
    max-width: 650px;
    margin-top: 9px;

    color: rgba(255,255,255,0.65);
    font-size: 15px;
}

.approach {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;

    border-bottom: 1px solid var(--line);
}

.approach-text {
    max-width: 650px;
}

.approach-text p {
    color: var(--muted);
    font-size: 17px;
}

.approach-text p + p {
    margin-top: 24px;
}

.vision {
    max-width: 1200px;
}

.vision h2 {
    max-width: 1000px;
    margin-top: 25px;

    font-family: var(--display);
    font-size: clamp(34px, 4.2vw, 60px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;

    border-top: 1px solid var(--line);
}

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

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

.about-content p + p {
    margin-top: 28px;
    color: var(--muted);
}

.portfolio {
    border-top: 1px solid var(--line);
}

.portfolio-note {
    max-width: 600px;
    margin-top: 28px;

    color: var(--muted);
    font-size: 17px;
}

.contact {
    background: #e5e3dc;
}

.contact h2 {
    margin-top: 20px;

    font-family: var(--display);
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.045em;
}

.contact > p:not(.label) {
    margin-top: 25px;
    color: var(--muted);
}

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

    margin-top: 35px;
}

.contact-details a {
    padding: 7px 0;

    border-bottom: 1px solid transparent;

    font-size: 17px;
}

.contact-details a:hover {
    border-color: var(--text);
}

.social {
    border-top: 1px solid var(--line);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 30px;

    margin-top: 28px;
}

.social-links a {
    font-size: 15px;
    border-bottom: 1px solid var(--text);
    padding-bottom: 3px;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 30px;

    padding: 35px var(--page-padding);

    border-top: 1px solid var(--line);

    font-size: 12px;
    color: var(--muted);
}

.site-footer strong {
    color: var(--text);
    font-family: var(--display);
    letter-spacing: 0.08em;
}


@media (max-width: 800px) {

    .site-header {
        position: relative;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .main-nav {
        gap: 15px;
    }

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

    .hero {
        min-height: 78vh;
        padding-top: 90px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 62px);
    }

    .hero-intro {
        font-size: 16px;
    }

    .introduction,
    .approach,
    .about {
        grid-template-columns: 1fr;
        gap: 45px;
    }

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

    .work-placeholder {
        aspect-ratio: 16 / 11;
    }

    .service-row {
        grid-template-columns: 45px 1fr;
        gap: 20px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}


@media (max-width: 520px) {

    :root {
        --page-padding: 20px;
    }

    .site-header {
        align-items: flex-start;
    }

    .brand {
        font-size: 14px;
    }

    .main-nav {
        gap: 10px;
    }

    .main-nav a {
        font-size: 10px;
    }

    .hero {
        min-height: 75vh;
    }

    .hero h1 {
        font-size: 42px;
    }

    .section {
        padding-top: 85px;
        padding-bottom: 85px;
    }

    .intro-content h2,
    .section-header h2 {
        font-size: 34px;
    }

    .vision h2 {
        font-size: 34px;
    }

    .contact h2 {
        font-size: 42px;
    }

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