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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #f3f1ec;
    color: #171717;
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}


/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
}

h2 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.eyebrow {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}


/* =========================
   HEADER
========================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    color: #ffffff;
}

.nav {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.logo {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.nav nav {
    display: flex;
    gap: 35px;
    font-size: 0.78rem;
}

.nav nav a {
    transition: opacity 0.25s ease;
}

.nav nav a:hover {
    opacity: 0.55;
}

.nav-cta {
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 12px 18px;
    font-size: 0.72rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-cta:hover {
    background: #ffffff;
    color: #171717;
}


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

.hero {
    min-height: 100vh;
    color: #ffffff;
}

.hero-image {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    background:
        url("images/hero.webp")
        center / cover
        no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.18) 40%,
            rgba(0, 0, 0, 0.75)
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 70px;
}

.hero h1 {
    max-width: 900px;
    font-size: clamp(4rem, 9vw, 8.5rem);
    line-height: 0.88;
    letter-spacing: -0.065em;
    margin: 18px 0 30px;
}

.hero h1 em {
    display: block;
    font-style: italic;
    font-weight: 500;
}

.hero-description {
    max-width: 480px;
    color: #dddddd;
    font-size: 1rem;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.button {
    display: inline-block;
    padding: 15px 22px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.button-light {
    background: #ffffff;
    color: #171717;
}

.text-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    padding-bottom: 4px;
    font-size: 0.75rem;
}

.hero-stats {
    display: flex;
    gap: 55px;
    margin-top: 65px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 760px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    font-weight: 500;
}

.hero-stats span {
    color: #cccccc;
    font-size: 0.68rem;
}


/* =========================
   INTRO
========================= */

.intro {
    padding: 150px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
    gap: 80px;
}

.intro h2 {
    max-width: 850px;
    margin-bottom: 35px;
}

.intro p:not(.eyebrow) {
    max-width: 620px;
    color: #6f6c65;
    margin-bottom: 30px;
}

.dark-link {
    font-size: 0.75rem;
    font-weight: 600;
    border-bottom: 1px solid #171717;
    padding-bottom: 5px;
}


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

.projects {
    padding: 0 0 150px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 65px;
}

.section-heading h2 {
    max-width: 700px;
    margin-top: 18px;
}

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

.project-large {
    grid-column: span 2;
}

.project-image {
    width: 100%;
    min-height: 550px;
    background-position: center;
    background-size: cover;
}

.project-large .project-image {
    min-height: 680px;
}

.image-one {
    background-image: url("images/project-one.webp");
}

.image-two {
    background-image: url("images/project-two.webp");
}

.image-three {
    background-image: url("images/project-three.webp");
}

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

.project-info p {
    color: #77736c;
    font-size: 0.63rem;
    letter-spacing: 0.13em;
    margin-bottom: 8px;
}

.project-info h3 {
    font-size: 1.7rem;
}


/* =========================
   SERVICES
========================= */

.services {
    background: #171717;
    color: #ffffff;
    padding: 150px 0;
}

.services h2 {
    max-width: 750px;
    margin: 20px 0 80px;
}

.service-list {
    border-top: 1px solid #444444;
}

.service {
    display: grid;
    grid-template-columns: 0.15fr 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 35px 0;
    border-bottom: 1px solid #444444;
}

.service > span {
    color: #888888;
    font-size: 0.7rem;
}

.service h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.service p {
    max-width: 560px;
    color: #999999;
    font-size: 0.85rem;
}

.service > a {
    font-size: 1.5rem;
}


/* =========================
   PROCESS
========================= */

.process {
    padding: 150px 0;
}

.process h2 {
    max-width: 700px;
    margin: 20px 0 80px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #d1cec6;
}

.process-step {
    padding: 30px 25px 0 0;
    border-right: 1px solid #d1cec6;
    margin-right: 25px;
}

.process-step:last-child {
    border-right: none;
}

.process-step span {
    font-size: 0.68rem;
    color: #8a6a45;
}

.process-step h3 {
    font-size: 1.55rem;
    margin: 45px 0 15px;
}

.process-step p {
    color: #6f6c65;
    font-size: 0.8rem;
}


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

.about {
    background: #e3dfd6;
    padding: 150px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
    gap: 80px;
}

.about h2 {
    max-width: 700px;
    margin: 20px 0 30px;
}

.about-grid > div > p {
    max-width: 650px;
    color: #5f5c56;
}

.about-points {
    margin-top: 55px;
    border-top: 1px solid #c6c1b7;
}

.about-points div {
    display: grid;
    grid-template-columns: 180px 1fr;
    padding: 20px 0;
    border-bottom: 1px solid #c6c1b7;
}

.about-points strong {
    font-size: 0.8rem;
}

.about-points span {
    color: #6f6c65;
    font-size: 0.78rem;
}


/* =========================
   TESTIMONIAL
========================= */

.testimonial {
    background: #ffffff;
    text-align: center;
    padding: 150px 20px;
}

.testimonial blockquote {
    max-width: 900px;
    margin: 45px auto 30px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.testimonial > .container > p:not(.eyebrow) {
    font-size: 0.75rem;
}

.testimonial small {
    display: block;
    margin-top: 40px;
    color: #999999;
    font-size: 0.65rem;
}


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

.contact {
    background: #171717;
    color: #ffffff;
    padding: 150px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.contact h2 {
    max-width: 600px;
    margin: 20px 0 30px;
}

.contact-grid > div > p:not(.eyebrow) {
    max-width: 450px;
    color: #999999;
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #aaaaaa;
    font-size: 0.7rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: none;
    border-bottom: 1px solid #555555;
    background: transparent;
    color: #ffffff;
    padding: 12px 0;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.contact-form select {
    color: #aaaaaa;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-bottom-color: #ffffff;
}

.contact-form button {
    margin-top: 15px;
    width: fit-content;
    border: none;
    background: #ffffff;
    color: #171717;
    padding: 16px 25px;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
}

.contact-form small {
    color: #777777;
    font-size: 0.63rem;
}


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

.footer {
    background: #0d0d0d;
    color: #ffffff;
    padding: 45px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
}

.footer strong {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.footer p,
.footer a {
    color: #777777;
    font-size: 0.68rem;
}

.footer-grid > div:nth-child(2) {
    display: flex;
    gap: 25px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .nav nav {
        display: none;
    }

    .hero h1 {
        font-size: clamp(3.5rem, 11vw, 6rem);
    }

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

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

    .project-large {
        grid-column: auto;
    }

    .project-image,
    .project-large .project-image {
        min-height: 450px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .process-step {
        border-right: none;
        border-bottom: 1px solid #d1cec6;
        padding-bottom: 30px;
    }

    .contact-grid {
        gap: 60px;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(92%, 1200px);
    }

    .nav {
        min-height: 75px;
    }

    .nav-cta {
        padding: 10px 12px;
    }

    .hero-content {
        padding-bottom: 45px;
    }

    .hero h1 {
        font-size: 3.7rem;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
        margin-top: 45px;
    }

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

    .intro,
    .services,
    .process,
    .about,
    .testimonial,
    .contact {
        padding: 100px 0;
    }

    .projects {
        padding-bottom: 100px;
    }

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

    .project-image,
    .project-large .project-image {
        min-height: 330px;
    }

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

    .service > a {
        display: none;
    }

    .service h3 {
        font-size: 1.7rem;
    }

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

    .about-points div {
        grid-template-columns: 1fr;
        gap: 7px;
    }

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

    .footer-grid > div:nth-child(2) {
        flex-wrap: wrap;
    }

}

/* =========================
   INTERACTIONS
========================= */

.header {
    transition:
        background 0.3s ease,
        backdrop-filter 0.3s ease;
}

.header-scrolled {
    position: fixed;
    background: rgba(23, 23, 23, 0.92);
    backdrop-filter: blur(12px);
}


/* Scroll reveal */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* Project interaction */

.project {
    transition:
        transform 0.4s ease;
}

.project:hover {
    transform: translateY(-6px);
}

.project-image {
    transition:
        transform 0.7s ease,
        filter 0.7s ease;
}

.project:hover .project-image {
    transform: scale(1.02);
}


/* Service interaction */

.service {
    transition:
        padding-left 0.3s ease;
}

.service:hover {
    padding-left: 12px;
}


/* Button interaction */

.button,
.nav-cta,
.contact-form button {
    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        background 0.25s ease;
}

.button:hover,
.nav-cta:hover,
.contact-form button:hover {
    transform: translateY(-2px);
}

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

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
}


@media (max-width: 900px) {

    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-menu {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        padding: 25px 5%;
        background: #171717;

        flex-direction: column;
        gap: 20px;

        border-top: 1px solid #444444;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu a {
        font-size: 0.85rem;
    }

}