
/* ==========================================
   DISTRICT 01
   MAIN WEBSITE STYLESHEET
========================================== */

:root {
    --black: #171717;
    --dark: #20201e;
    --cream: #f3f0e9;
    --olive: #a4aa91;
    --grey: #85857e;
    --border: rgba(243, 240, 233, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--cream);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

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

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

button {
    font: inherit;
}


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

.navbar {
    height: 90px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
    background: var(--black);
}

.logo {
    font-family: "Space Grotesk", sans-serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.logo span {
    color: var(--olive);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav-links a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--olive);
}

.nav-links .nav-contact {
    border: 1px solid var(--cream);
    padding: 13px 19px;
}

.nav-links .nav-contact:hover {
    background: var(--cream);
    color: var(--black);
}

.menu-toggle {
    display: none;
    background: none;
    color: var(--cream);
    border: none;
    font-size: 26px;
    cursor: pointer;
}


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

.hero {
    min-height: 720px;
    padding: 100px 7% 45px;
    position: relative;
    overflow: hidden;
}

.eyebrow,
.section-label {
    color: var(--olive);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(85px, 13vw, 190px);
    font-weight: 700;
    line-height: 0.82;
    letter-spacing: -12px;
    margin-top: 45px;
    position: relative;
    z-index: 2;
}

.hero h1 span,
.contact-heading h2 span {
    color: var(--olive);
}

.hero-bottom {
    margin-top: 55px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.hero-bottom p {
    max-width: 390px;
    color: #b9b8b1;
    font-size: 15px;
    line-height: 1.8;
}

.main-button,
.contact-button {
    display: inline-block;
    background: var(--olive);
    color: var(--black);
    padding: 18px 25px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
}

.main-button:hover,
.contact-button:hover {
    background: var(--cream);
    transform: translateY(-3px);
}

.hero-image {
    width: 47%;
    height: 340px;
    position: absolute;
    right: 7%;
    top: 180px;
    opacity: 0.35;
    z-index: 1;
}

.hero-image img {
    height: 100%;
    filter: grayscale(100%);
}

.image-caption {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 10px;
    letter-spacing: 2px;
}

.hero-number {
    position: absolute;
    bottom: 35px;
    right: 7%;
    color: var(--grey);
    font-size: 10px;
    letter-spacing: 2px;
}


/* ==========================================
   GENERAL SECTIONS
========================================== */

.section {
    padding: 120px 7%;
    border-top: 1px solid var(--border);
}

.section h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -4px;
}

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

.section-heading > p {
    max-width: 250px;
    color: var(--grey);
    font-size: 13px;
    line-height: 1.8;
}


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

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 80px;
    margin-top: 55px;
}

.about-description p {
    color: #aaa9a2;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.text-link {
    display: inline-block;
    margin-top: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--olive);
    color: var(--olive);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}


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

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.service-card {
    min-height: 390px;
    border: 1px solid var(--border);
    padding: 30px;
    position: relative;
    transition: 0.3s;
}

.service-card:hover {
    background: #292925;
    transform: translateY(-5px);
}

.service-number {
    color: var(--olive);
    font-size: 12px;
}

.service-category {
    color: var(--grey);
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-top: 55px;
}

.service-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 46px;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-top: 15px;
}

.service-description {
    color: #aaa9a2;
    font-size: 13px;
    line-height: 1.8;
    margin-top: 25px;
}

.service-card > a {
    display: inline-block;
    margin-top: 30px;
    color: var(--olive);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* ==========================================
   PORTFOLIO
========================================== */

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 20px;
}

.work-card {
    overflow: hidden;
}

.work-card img {
    height: 400px;
    filter: grayscale(100%);
    transition: 0.5s;
}

.work-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.015);
}

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

.work-info span,
.work-info p {
    color: var(--grey);
    font-size: 10px;
    letter-spacing: 1.5px;
}

.work-info h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 27px;
    margin: 10px 0;
}

.portfolio-note {
    margin-top: 30px;
    color: var(--grey);
    font-size: 11px;
}


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

.process {
    background: var(--dark);
}

.process > h2 {
    margin-top: 45px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 75px;
}

.process-item {
    border-top: 1px solid var(--border);
    padding-top: 22px;
}

.process-item span {
    color: var(--olive);
    font-size: 12px;
}

.process-item h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 19px;
    margin: 25px 0 15px;
}

.process-item p {
    color: var(--grey);
    font-size: 13px;
    line-height: 1.8;
}


/* ==========================================
   PRICING
========================================== */

.pricing {
    background: #1d1d1b;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
    align-items: stretch;
}

.price-card {
    position: relative;
    border: 1px solid rgba(243, 240, 233, 0.2);
    padding: 35px 28px;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

.price-card:hover {
    border-color: var(--olive);
    transform: translateY(-6px);
}

.price-card.featured {
    border: 1px solid var(--olive);
    background: #252722;
}

.popular-label {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--olive);
    color: var(--black);
    padding: 9px 13px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.price-number {
    color: var(--olive);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.price-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    margin-top: 45px;
    letter-spacing: -1px;
}

.price {
    font-family: "Space Grotesk", sans-serif;
    font-size: 43px;
    font-weight: 700;
    margin-top: 22px;
    letter-spacing: -2px;
}

.price span {
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: var(--grey);
    letter-spacing: 0;
}

.price-description {
    min-height: 65px;
    margin-top: 15px;
    color: #aaa9a2;
    font-size: 12px;
    line-height: 1.8;
}

.price-divider {
    height: 1px;
    background: rgba(243, 240, 233, 0.2);
    margin: 25px 0;
}

.price-card ul {
    list-style: none;
    margin-bottom: 35px;
}

.price-card li {
    color: #d1d0c9;
    font-size: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(243, 240, 233, 0.1);
}

.price-card li::before {
    content: "↗";
    color: var(--olive);
    margin-right: 12px;
}

.price-button {
    display: block;
    margin-top: auto;
    padding: 17px;
    border: 1px solid var(--olive);
    color: var(--olive);
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: 0.3s;
}

.price-button:hover {
    background: var(--olive);
    color: var(--black);
}

.featured .price-button {
    background: var(--olive);
    color: var(--black);
}

.featured .price-button:hover {
    background: var(--cream);
    border-color: var(--cream);
}

.pricing-note {
    color: var(--grey);
    font-size: 10px;
    margin-top: 30px;
}


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

.contact {
    background: var(--black);
    text-align: left;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 70px;
    align-items: end;
    margin-top: 55px;
}

.contact-heading h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(55px, 8vw, 110px);
    line-height: 0.95;
    letter-spacing: -6px;
}

.contact-heading h2 span {
    color: var(--olive);
}

.contact-heading > p {
    max-width: 420px;
    margin-top: 30px;
    color: #aaa9a2;
    font-size: 14px;
    line-height: 1.9;
}

.contact-details {
    padding-bottom: 8px;
}

.contact-label {
    color: var(--olive);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-email {
    display: inline-block;
    margin-top: 20px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 25px;
    font-weight: 700;
    border-bottom: 1px solid var(--olive);
    padding-bottom: 10px;
    transition: 0.3s;
}

.contact-email:hover {
    color: var(--olive);
}

.contact-divider {
    height: 1px;
    background: rgba(243, 240, 233, 0.2);
    margin: 35px 0;
}

.social-links {
    display: flex;
    gap: 25px;
    margin-top: 20px;
}

.social-links a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--olive);
}


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

.footer {
    min-height: 120px;
    padding: 35px 7%;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer p,
.footer > a:last-child {
    color: var(--grey);
    font-size: 9px;
    letter-spacing: 1px;
}

.back-to-top:hover {
    color: var(--olive);
}


/* ==========================================
   SCROLL REVEAL ANIMATIONS
========================================== */

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

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


/* ==========================================
   TABLET RESPONSIVENESS
========================================== */

@media (max-width: 850px) {

    .navbar {
        height: 75px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        padding: 25px 7%;
        background: var(--black);
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        min-height: 650px;
        padding-top: 80px;
    }

    .hero h1 {
        font-size: clamp(75px, 15vw, 125px);
        letter-spacing: -6px;
    }

    .hero-image {
        top: 210px;
        width: 70%;
        right: 7%;
        opacity: 0.2;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

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

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

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

    .price-card {
        min-height: auto;
    }

    .price-description {
        min-height: auto;
    }

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

    .footer {
        flex-wrap: wrap;
    }

}


/* ==========================================
   MOBILE RESPONSIVENESS
========================================== */

@media (max-width: 550px) {

    .section {
        padding: 85px 6%;
    }

    .hero {
        padding-left: 6%;
        padding-right: 6%;
        min-height: 600px;
    }

    .hero h1 {
        font-size: 75px;
        letter-spacing: -5px;
    }

    .hero-image {
        width: 85%;
        right: 6%;
    }

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

    .work-card img {
        height: 330px;
    }

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

    .section h2 {
        letter-spacing: -2px;
    }

    .contact-heading h2 {
        letter-spacing: -3px;
    }

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

}


/* ==========================================
   ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }

}
