:root {
    --dark: #171815;
    --dark-soft: #24251f;
    --light: #f4f0e8;
    --white: #ffffff;
    --accent: #b8905c;
    --accent-dark: #8d6a3e;
    --text: #22231f;
    --muted: #6f716b;
    --line: rgba(23, 24, 21, .13);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: #fff;
    font-family: "Manrope", sans-serif;
}

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

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

.section-space {
    padding: 110px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-label::before {
    width: 42px;
    height: 1px;
    content: "";
    background: currentColor;
}

.section-title {
    max-width: 850px;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(36px, 4.7vw, 67px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.05em;
}

.section-text {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

/* HEADER */
.navbar-shell {
    position: absolute;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    padding: 22px 0;
}

.navbar {
    min-height: 78px;
    padding: 0 24px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(17,18,15,.50);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
}

.brand-text small {
    margin-top: 7px;
    color: rgba(255,255,255,.58);
    font-size: 9px;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    position: relative;
    margin: 0 8px;
    padding: 30px 4px !important;
    color: rgba(255,255,255,.76);
    font-size: 13px;
    font-weight: 600;
}

.navbar-nav .nav-link::after {
    position: absolute;
    right: 50%;
    bottom: 20px;
    left: 50%;
    height: 1px;
    content: "";
    background: var(--accent);
    transition: .3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    right: 4px;
    left: 4px;
}

.header-cta {
    display: inline-flex;
    min-height: 48px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: .3s ease;
}

.header-cta:hover {
    border-color: var(--accent);
    color: var(--dark);
    background: var(--accent);
}

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
}

.navbar-toggler span {
    display: block;
    width: 26px;
    height: 1px;
    margin: 6px 0;
    background: #fff;
}

/* HERO */
.projects-hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
    background: var(--dark);
}

.projects-hero__image {
    position: absolute;
    inset: 0;
}

.projects-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projects-hero__image::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(15,16,13,.96) 0%, rgba(15,16,13,.70) 46%, rgba(15,16,13,.18) 100%),
        linear-gradient(0deg, rgba(15,16,13,.84), transparent 55%);
}

.projects-hero__grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .35;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 90px 90px;
    mask-image: linear-gradient(to right, #000, transparent 82%);
}

.projects-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 200px 0 78px;
}

.breadcrumb-custom {
    display: flex;
    margin: 0 0 32px;
    padding: 0;
    align-items: center;
    gap: 13px;
    list-style: none;
    color: rgba(255,255,255,.55);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.breadcrumb-custom li + li::before {
    margin-right: 13px;
    color: var(--accent);
    content: "/";
}

.projects-hero h1 {
    max-width: 1000px;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(54px, 7.3vw, 105px);
    font-weight: 600;
    line-height: .95;
    letter-spacing: -.06em;
}

.projects-hero h1 span {
    display: block;
    color: var(--accent);
}

.projects-hero__bottom {
    margin-top: 46px;
}

.projects-hero__description {
    max-width: 660px;
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 16px;
    line-height: 1.9;
}

.hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,.57);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-scroll span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    color: var(--accent);
    font-size: 17px;
}

/* STATS */
.project-stats {
    color: #fff;
    background: var(--dark);
}

.project-stat {
    min-height: 175px;
    padding: 38px 28px;
    border-right: 1px solid rgba(255,255,255,.1);
}

.project-stat:last-child {
    border-right: 0;
}

.project-stat strong {
    display: block;
    margin-bottom: 12px;
    color: var(--accent);
    font-family: "Montserrat", sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.04em;
}

.project-stat p {
    max-width: 220px;
    margin: 0;
    color: rgba(255,255,255,.52);
    font-size: 13px;
    line-height: 1.7;
}

/* PROJECTS */
.projects-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f5f1e9 100%);
}

.projects-section__inner {
    position: relative;
}

.projects-head {
    position: relative;
    z-index: 5;
    display: grid;
    margin-bottom: 54px;
    padding-bottom: 42px;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
    align-items: end;
    gap: 60px;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.projects-head__main {
    min-width: 0;
}

.projects-head .section-title {
    max-width: 760px;
    font-size: clamp(39px, 4.5vw, 64px);
    line-height: 1.06;
}

.projects-head__side {
    padding-bottom: 4px;
}

.projects-head__intro {
    max-width: 500px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.projects-head__count {
    display: inline-flex;
    margin-top: 22px;
    align-items: center;
    gap: 10px;
    color: var(--accent-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.projects-head__count::before {
    width: 30px;
    height: 1px;
    content: "";
    background: currentColor;
}

.featured-project {
    position: relative;
    display: block;
    width: 100%;
    min-height: 620px;
    margin: 0 0 24px;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--radius);
    background: var(--dark);
}

.featured-project img {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .8s ease;
}

.featured-project:hover img {
    transform: scale(1.035);
}

.featured-project::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(17,18,15,.85), rgba(17,18,15,.18) 70%),
        linear-gradient(0deg, rgba(17,18,15,.82), transparent 58%);
}

.featured-project__content {
    position: absolute;
    z-index: 2;
    right: 42px;
    bottom: 42px;
    left: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    color: #fff;
}

.project-meta {
    display: flex;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.featured-project h3 {
    max-width: 680px;
    margin: 0 0 16px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(34px, 4.2vw, 62px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.05em;
}

.featured-project p {
    max-width: 610px;
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 14px;
    line-height: 1.8;
}

.project-round-link {
    display: grid;
    min-width: 76px;
    height: 76px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: var(--accent);
    font-size: 25px;
    transition: .35s ease;
}

.featured-project:hover .project-round-link {
    border-color: var(--accent);
    color: var(--dark);
    background: var(--accent);
    transform: rotate(-35deg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: 510px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 24px;
    background: var(--dark);
    transition: .35s ease;
}

.project-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .75s ease;
}

.project-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(17,18,15,.06) 28%, rgba(17,18,15,.86) 100%);
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 30px 70px rgba(31,29,24,.15);
}

.project-card:hover img {
    transform: scale(1.045);
}

.project-card__status {
    position: absolute;
    z-index: 3;
    top: 22px;
    left: 22px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #fff;
    background: rgba(17,18,15,.44);
    backdrop-filter: blur(10px);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.project-card__content {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 28px;
    left: 28px;
    color: #fff;
}

.project-card h3 {
    margin: 0 0 14px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.project-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.project-card__location {
    color: rgba(255,255,255,.58);
    font-size: 12px;
}

.project-card__arrow {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    color: var(--accent);
    font-size: 20px;
    transition: .3s ease;
}

.project-card:hover .project-card__arrow {
    border-color: var(--accent);
    color: var(--dark);
    background: var(--accent);
    transform: rotate(-35deg);
}

.load-more-wrap {
    margin-top: 52px;
    text-align: center;
}

.load-more-btn {
    display: inline-flex;
    min-height: 56px;
    padding: 0 25px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px solid var(--dark);
    border-radius: 13px;
    color: var(--dark);
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    transition: .3s ease;
}

.load-more-btn:hover {
    color: #fff;
    background: var(--dark);
    transform: translateY(-2px);
}

/* CTA */
.contact-cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--accent-dark);
}

.contact-cta::before {
    position: absolute;
    top: -170px;
    right: -120px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    content: "";
}

.contact-cta__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 350px;
    padding: 60px 0;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.contact-cta h2 {
    max-width: 800px;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(38px, 5.1vw, 72px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -.05em;
}

.contact-circle {
    display: grid;
    min-width: 150px;
    height: 150px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.40);
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: .35s ease;
}

.contact-circle:hover {
    color: var(--dark);
    background: #fff;
    transform: rotate(-8deg);
}

/* FOOTER */
footer {
    padding: 76px 0 28px;
    color: #fff;
    background: #10110f;
}

.footer-brand .brand {
    margin-bottom: 28px;
}

.footer-brand p {
    max-width: 390px;
    color: rgba(255,255,255,.48);
    font-size: 14px;
    line-height: 1.85;
}

.footer-title {
    margin-bottom: 22px;
    color: rgba(255,255,255,.38);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 13px;
}

.footer-links a {
    color: rgba(255,255,255,.72);
    font-size: 14px;
    transition: .25s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.09);
    color: rgba(255,255,255,.35);
    font-size: 11px;
}

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

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

@media (max-width: 1199px) {
    .navbar {
        padding: 0 16px;
    }

    .navbar-collapse {
        margin: 12px -16px 0;
        padding: 12px 22px 22px;
        border-top: 1px solid rgba(255,255,255,.1);
        background: rgba(17,18,15,.96);
    }

    .navbar-nav .nav-link {
        padding: 14px 0 !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .header-cta {
        margin-top: 14px;
    }
}

@media (max-width: 991px) {
    .section-space {
        padding: 82px 0;
    }

    .projects-hero {
        min-height: 620px;
    }

    .projects-head {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .projects-head__intro {
        margin: 0;
    }

    .project-stat {
        min-height: 150px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

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

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

    .contact-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .navbar-shell {
        padding: 14px 0;
    }

    .navbar {
        min-height: 66px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .brand-text small {
        font-size: 7px;
    }

    .projects-hero {
        min-height: 590px;
    }

    .projects-hero__content {
        padding: 155px 0 46px;
    }

    .projects-hero h1 {
        font-size: clamp(47px, 15vw, 72px);
    }

    .projects-hero__bottom {
        margin-top: 30px;
    }

    .hero-scroll {
        margin-top: 28px;
    }

    .project-stat {
        padding: 30px 18px;
    }

    .project-stat strong {
        font-size: 34px;
    }

    .projects-head {
        margin-bottom: 34px;
        padding-bottom: 30px;
        gap: 20px;
    }

    .projects-head .section-title {
        font-size: clamp(36px, 11vw, 52px);
    }

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

    .featured-project__content {
        right: 24px;
        bottom: 24px;
        left: 24px;
        align-items: flex-start;
        flex-direction: column;
    }

    .project-round-link {
        min-width: 58px;
        height: 58px;
    }

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

    .contact-circle {
        min-width: 120px;
        height: 120px;
    }
}
