:root {
    --bg: #eae8e1;
    --dark: #252722;
    --muted: #77786f;
    --accent: #9b8d75;
    --line: rgba(37, 39, 34, .16);
    --white: #f7f6f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--bg);
    color: var(--dark);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button, input, textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1320px, calc(100% - 100px));
    margin: 0 auto;
}

.section {
    padding: 145px 0;
}

/* HEADER */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    color: white;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Manrope', sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 5px;
}

.logo span {
    color: #b8a88c;
}

.nav {
    display: flex;
    gap: 38px;
}

.nav a {
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: .8;
    transition: opacity .3s;
}

.nav a:hover {
    opacity: 1;
}

.header-contact {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,.6);
    padding-bottom: 8px;
}

.header-contact span {
    margin-left: 10px;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 27px;
}

/* HERO */

.hero {
    position: relative;
    min-height: 850px;
    height: 100vh;
    max-height: 1050px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    background: #393b35;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20,22,19,.65), rgba(20,22,19,.08)),
        linear-gradient(0deg, rgba(20,22,19,.45), transparent 65%),
        url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=2200&q=90') center/cover;
    animation: heroAppear 1.6s ease both;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 35px;
    color: rgba(255,255,255,.8);
}

.label-line {
    width: 40px;
    height: 1px;
    background: #c4ae8a;
}

.hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(65px, 9vw, 125px);
    line-height: .99;
    font-weight: 400;
    letter-spacing: -6px;
}

.hero h1 span {
    color: #c4b397;
}

.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: 900px;
    margin-top: 65px;
}

.hero-bottom p {
    max-width: 390px;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.9;
}

.circle-link {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.circle-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    font-size: 19px;
    transition: .4s;
}

.circle-link:hover .circle-arrow {
    background: white;
    color: var(--dark);
    transform: translateY(5px);
}

.hero-number {
    position: absolute;
    bottom: 40px;
    right: 50px;
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255,255,255,.65);
}

/* SECTION INDEX */

.section-index {
    color: var(--accent);
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 600;
}

/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: .5fr 2fr;
    gap: 70px;
}

.about-main h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(43px, 5.5vw, 76px);
    line-height: 1.12;
    font-weight: 400;
    letter-spacing: -3px;
}

.about-main h2 span {
    color: var(--accent);
}

.about-bottom {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 65px;
    align-items: center;
    margin-top: 65px;
}

.about-image {
    min-height: 440px;
    background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1100&q=85') center/cover;
}

.about-text p {
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

.text-link {
    display: inline-block;
    margin-top: 30px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--accent);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.text-link span {
    margin-left: 12px;
}

/* PROJECTS */

.projects {
    background: #deddd5;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 75px;
}

.section-heading h2 {
    margin-top: 25px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 400;
    letter-spacing: -3px;
}

.section-heading h2 span {
    color: var(--accent);
}

.section-heading > p {
    max-width: 330px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
    padding-bottom: 8px;
}

.project-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    column-gap: 50px;
    row-gap: 75px;
    align-items: start;
}

.project-card:nth-child(even) {
    margin-top: 100px;
}

.project-image {
    width: 100%;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    transition: transform .7s ease, filter .5s ease;
}

.project-card:hover .project-image {
    filter: brightness(.88);
    transform: scale(1.015);
}

.project-large .project-image {
    height: 560px;
}

.project-small .project-image {
    height: 390px;
}

.project-one {
    background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1200&q=90');
}

.project-two {
    background-image: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1000&q=85');
}

.project-three {
    background-image: url('https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1000&q=85');
}

.project-four {
    background-image: url('https://images.unsplash.com/photo-1600607687644-c7171b42498f?auto=format&fit=crop&w=1200&q=90');
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 23px;
}

.project-info h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 9px;
}

.project-info p {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .5px;
}

.project-info > span {
    font-size: 11px;
    color: var(--accent);
}

.concept-note {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    color: var(--muted);
}

/* SERVICES */

.services-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
    margin-bottom: 70px;
    gap: 40px;
}

.services-heading h2,
.process h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(55px, 7vw, 95px);
    line-height: 1.03;
    font-weight: 400;
    letter-spacing: -5px;
}

.services-heading h2 span,
.process h2 span {
    color: var(--accent);
}

.services-heading p {
    max-width: 330px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
    padding-bottom: 8px;
}

.service-list {
    border-top: 1px solid var(--line);
}

.service-item {
    display: grid;
    grid-template-columns: 70px 1.1fr 1fr 30px;
    align-items: center;
    gap: 25px;
    padding: 35px 0;
    border-bottom: 1px solid var(--line);
    transition: padding .4s ease, background .4s ease;
}

.service-item:hover {
    padding-left: 15px;
    padding-right: 15px;
}

.service-item > span:first-child {
    color: var(--accent);
    font-size: 12px;
}

.service-item h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 400;
}

.service-item p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.service-arrow {
    color: var(--accent);
    font-size: 19px;
    transition: transform .3s;
}

.service-item:hover .service-arrow {
    transform: translate(5px, -5px);
}

/* PROCESS */

.process {
    background: #deddd5;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.process h2 {
    margin-top: 40px;
    font-size: clamp(48px, 6vw, 78px);
}

.process-description {
    max-width: 350px;
    margin-top: 30px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.process-steps {
    border-top: 1px solid var(--line);
}

.process-step {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 25px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.process-step > span {
    color: var(--accent);
    font-size: 12px;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
}

.process-step p {
    max-width: 350px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

/* CONTACTS */

.contacts {
    background: #292d27;
    color: white;
    text-align: center;
}

.contacts-inner {
    max-width: 800px;
}

.contacts .section-index {
    color: #b9a789;
}

.contacts h2 {
    margin-top: 45px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(55px, 7vw, 90px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -4px;
}

.contacts h2 span {
    color: #b9a789;
}

.contacts-inner > p {
    max-width: 470px;
    margin: 25px auto 50px;
    color: rgba(255,255,255,.6);
    font-size: 13px;
    line-height: 1.9;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 0;
    color: white;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.25);
    outline: none;
    font-size: 12px;
    transition: border-color .3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #b9a789;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,.5);
}

.contact-form textarea {
    grid-column: 1 / -1;
    min-height: 100px;
    resize: vertical;
}

.submit-button {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 25px;
    padding: 18px 28px;
    border: 1px solid #b9a789;
    background: #b9a789;
    color: #252722;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: .3s;
}

.submit-button:hover {
    background: transparent;
    color: white;
}

.submit-button span {
    margin-left: 20px;
}

.form-notice {
    grid-column: 1 / -1;
    color: #d5c5a8;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
}

/* FOOTER */

.footer {
    padding: 55px 0 25px;
    background: #20231f;
    color: white;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-inner p {
    color: rgba(255,255,255,.45);
    font-size: 11px;
}

.back-top {
    font-size: 10px;
    letter-spacing: 1.5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.13);
    color: rgba(255,255,255,.4);
    font-size: 9px;
    letter-spacing: 1.5px;
}

/* ANIMATIONS */

@keyframes heroAppear {
    from {
        opacity: .5;
        transform: scale(1.06);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 950px) {
    .container {
        width: calc(100% - 60px);
    }

    .nav {
        gap: 18px;
    }

    .nav a {
        font-size: 9px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-bottom {
        gap: 35px;
    }

    .process-grid {
        gap: 50px;
    }

    .project-large .project-image {
        height: 430px;
    }

    .project-small .project-image {
        height: 320px;
    }
}

@media (max-width: 700px) {
    .container {
        width: calc(100% - 40px);
    }

    .section {
        padding: 90px 0;
    }

    .header {
        padding: 22px 0;
    }

    .logo {
        font-size: 25px;
    }

    .menu-toggle {
        display: block;
    }

    .header-contact {
        display: none;
    }

    .nav {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        padding: 30px 25px;
        background: #292d27;
        display: none;
        flex-direction: column;
        gap: 25px;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        font-size: 12px;
    }

    .hero {
        min-height: 720px;
        height: 90vh;
    }

    .hero h1 {
        font-size: clamp(55px, 12vw, 78px);
        letter-spacing: -3px;
    }

    .hero-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 35px;
        margin-top: 45px;
    }

    .hero-number {
        right: 20px;
        bottom: 25px;
    }

    .about-main h2 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .about-bottom {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 350px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 45px;
    }

    .section-heading h2 {
        font-size: 45px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        row-gap: 45px;
    }

    .project-card:nth-child(even) {
        margin-top: 0;
    }

    .project-large .project-image,
    .project-small .project-image {
        height: 340px;
    }

    .concept-note {
        margin-top: 45px;
    }

    .services-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        margin-bottom: 45px;
    }

    .services-heading h2,
    .process h2 {
        font-size: 57px;
        letter-spacing: -3px;
    }

    .service-item {
        grid-template-columns: 30px 1fr 20px;
        gap: 12px;
        padding: 25px 0;
    }

    .service-item h3 {
        font-size: 17px;
    }

    .service-item p {
        grid-column: 2 / 3;
    }

    .service-arrow {
        grid-column: 3;
        grid-row: 1;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contacts h2 {
        font-size: 55px;
        letter-spacing: -3px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form textarea,
    .submit-button,
    .form-notice {
        grid-column: auto;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}