/* =========================================
   BETTER VISUALS — MAIN STYLESHEET
   ========================================= */

/* ---------- RESET ---------- */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0b0b0b;
    color: #f2f0eb;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

button {
    font: inherit;
}


/* ---------- VARIABLES ---------- */

:root {
    --background: #0b0b0b;
    --surface: #111111;
    --text: #f2f0eb;
    --muted: #9b9b96;
    --line: rgba(242, 240, 235, 0.16);
    --line-light: rgba(242, 240, 235, 0.28);
    --accent: #d8d1c4;

    --container: min(1380px, calc(100% - 80px));

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ---------- GLOBAL ---------- */

::selection {
    background: #f2f0eb;
    color: #0b0b0b;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.section-label {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}


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

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;

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

    padding: 0 40px;

    z-index: 100;
}

.logo {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.logo span {
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 38px;
    margin-left: auto;
    margin-right: 50px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-cta {
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 100px;

    padding: 12px 19px;

    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.nav-cta:hover {
    background: #f2f0eb;
    color: #0b0b0b;
    border-color: #f2f0eb;
}

.menu-toggle {
    display: none;
}


/* ---------- MOBILE MENU ---------- */

.mobile-menu {
    display: none;
}


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

.hero {
    position: relative;

    min-height: 100vh;
    height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-image,
.project-image {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-image {
    position: absolute;
    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2400&q=90");

    transform: scale(1.04);

    animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.52) 0%,
            rgba(0, 0, 0, 0.18) 40%,
            rgba(0, 0, 0, 0.76) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: var(--container);
    margin: 0 auto;

    padding-top: 80px;
}

.eyebrow {
    margin-bottom: 28px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    animation: fadeUp 1s 0.1s var(--ease) both;
}

.hero h1 {
    max-width: 1000px;

    font-size: clamp(60px, 8.8vw, 145px);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.88;

    animation: fadeUp 1s 0.2s var(--ease) both;
}

.hero h1 span {
    color: rgba(255, 255, 255, 0.62);
    font-style: italic;
}

.hero-description {
    max-width: 400px;

    margin-top: 38px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
    line-height: 1.7;

    animation: fadeUp 1s 0.35s var(--ease) both;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    margin-top: 34px;

    padding: 15px 22px;

    background: #f2f0eb;
    color: #0b0b0b;

    border-radius: 100px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition:
        transform 0.4s var(--ease),
        background 0.3s ease;
    
    animation: fadeUp 1s 0.45s var(--ease) both;
}

.hero-button:hover {
    transform: translateY(-4px);
    background: #ffffff;
}

.hero-button span {
    font-size: 15px;
}

.hero-bottom {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 28px;

    display: flex;
    justify-content: space-between;

    color: rgba(255, 255, 255, 0.55);

    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    z-index: 2;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


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

.intro {
    width: var(--container);
    margin: 0 auto;

    padding: 180px 0 190px;

    display: grid;
    grid-template-columns: 1fr 2.4fr;

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

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

.intro h2 {
    max-width: 900px;

    font-size: clamp(44px, 5.8vw, 88px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.intro h2 em {
    color: var(--muted);
    font-style: italic;
}

.intro p {
    max-width: 510px;

    margin-top: 50px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   WORK
   ========================================= */

.work {
    width: var(--container);
    margin: 0 auto;

    padding: 150px 0 180px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 75px;
}

.section-heading p {
    color: var(--muted);

    font-size: 12px;
}

.project {
    margin-bottom: 120px;
}

.project:last-child {
    margin-bottom: 0;
}

.project-image {
    position: relative;

    width: 100%;
    height: min(72vh, 850px);

    overflow: hidden;

    background-color: #1a1a1a;

    cursor: pointer;
}

.project-one {
    background-image:
        url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2200&q=90");
}

.project-two {
    background-image:
        url("https://images.unsplash.com/photo-1510798831971-661eb04b3739?auto=format&fit=crop&w=2200&q=90");
}

.project-three {
    background-image:
        url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2200&q=90");
}

.project-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.05);

    transition: background 0.5s ease;
}

.project-image:hover::after {
    background: rgba(0, 0, 0, 0.22);
}

.project-image::before {
    content: "";

    position: absolute;
    inset: 0;

    background: inherit;

    transition: transform 1s var(--ease);
}

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

.project-number {
    position: absolute;
    top: 28px;
    left: 30px;

    z-index: 3;

    color: white;

    font-size: 11px;
    letter-spacing: 0.1em;
}

.project-view {
    position: absolute;
    right: 30px;
    bottom: 28px;

    z-index: 3;

    padding: 13px 17px;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 100px;

    color: white;

    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    opacity: 0;
    transform: translateY(12px);

    transition:
        opacity 0.4s ease,
        transform 0.5s var(--ease);
}

.project-image:hover .project-view {
    opacity: 1;
    transform: translateY(0);
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding-top: 22px;
}

.project-info h3 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.project-info p,
.project-info > span {
    margin-top: 5px;

    color: var(--muted);

    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-info > span {
    margin-top: 7px;
}


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

.services {
    padding: 150px max(40px, calc((100vw - 1380px) / 2)) 170px;

    background: #111111;
}

.services-heading {
    max-width: 900px;

    margin: 80px 0 110px;
}

.services-heading h2 {
    font-size: clamp(50px, 6.5vw, 100px);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.92;
}

.services-heading em {
    color: var(--muted);
    font-style: italic;
}

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

.service {
    display: grid;
    grid-template-columns: 100px 1fr 50px;
    align-items: center;

    min-height: 175px;

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

    transition:
        padding 0.5s var(--ease),
        background 0.5s ease;
}

.service:hover {
    padding-left: 25px;
    padding-right: 25px;

    background: rgba(255, 255, 255, 0.025);
}

.service-number {
    color: var(--muted);

    font-size: 10px;
    letter-spacing: 0.12em;
}

.service-main {
    display: flex;
    align-items: center;
    gap: 70px;
}

.service h3 {
    min-width: 300px;

    font-size: clamp(28px, 3vw, 48px);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.service p {
    max-width: 350px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}

.service-arrow {
    justify-self: end;

    color: var(--muted);

    font-size: 20px;

    transition:
        transform 0.4s var(--ease),
        color 0.3s ease;
}

.service:hover .service-arrow {
    color: white;
    transform: translate(5px, -5px);
}


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

.about {
    width: var(--container);
    margin: 0 auto;

    padding: 180px 0;

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

.about-content {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 100px;

    margin-top: 100px;
}

.about h2 {
    font-size: clamp(54px, 6.5vw, 100px);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.92;
}

.about h2 span {
    color: var(--muted);
    font-style: italic;
}

.about-text {
    max-width: 470px;
    padding-top: 10px;
}

.about-text p {
    margin-bottom: 30px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.85;
}


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

.process {
    width: var(--container);
    margin: 0 auto;

    padding: 150px 0 170px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 90px;

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

.process-item {
    min-height: 300px;

    padding: 30px;

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

.process-item:first-child {
    padding-left: 0;
}

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

.process-item > span {
    color: var(--muted);

    font-size: 10px;
    letter-spacing: 0.12em;
}

.process-item h3 {
    margin-top: 80px;

    font-size: 35px;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.process-item p {
    max-width: 280px;

    margin-top: 18px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}


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

.contact {
    min-height: 80vh;

    padding: 80px max(40px, calc((100vw - 1380px) / 2)) 40px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: #f2f0eb;
    color: #0b0b0b;
}

.contact-top .section-label {
    color: #77736d;
}

.contact-content {
    padding: 100px 0;
}

.contact h2 {
    max-width: 1000px;

    font-size: clamp(55px, 8vw, 125px);
    font-weight: 400;
    letter-spacing: -0.06em;
    line-height: 0.88;
}

.contact h2 em {
    font-style: italic;
    color: #77736d;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    margin-top: 55px;

    padding: 17px 25px;

    background: #0b0b0b;
    color: #f2f0eb;

    border-radius: 100px;

    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition:
        transform 0.4s var(--ease),
        background 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-4px);
    background: #222222;
}

.contact-button span {
    font-size: 17px;
}

.contact-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 20px;

    border-top: 1px solid rgba(0, 0, 0, 0.18);

    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-bottom a {
    transition: opacity 0.3s ease;
}

.contact-bottom a:hover {
    opacity: 0.55;
}


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

footer {
    padding: 55px 40px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    background: #0b0b0b;

    color: #f2f0eb;
}

.footer-brand {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--muted);

    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    justify-self: end;

    color: var(--muted);

    font-size: 10px;
}


/* =========================================
   RESPONSIVE — TABLET
   ========================================= */

@media (max-width: 900px) {

    :root {
        --container: calc(100% - 48px);
    }

    .navbar {
        padding: 0 24px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;

        width: 44px;
        height: 44px;

        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;

        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 50%;

        background: transparent;
        color: white;

        cursor: pointer;
    }

    .menu-toggle span {
        width: 15px;
        height: 1px;

        background: white;

        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }

    .menu-toggle.active span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle.active span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .mobile-menu {
        position: fixed;
        inset: 0;

        z-index: 90;

        display: flex;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 25px;

        background: #0b0b0b;

        opacity: 0;
        visibility: hidden;

        transition:
            opacity 0.4s ease,
            visibility 0.4s ease;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu a {
        font-size: 42px;
        font-weight: 400;
        letter-spacing: -0.04em;
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

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

    .service-main {
        gap: 30px;
    }

    .service h3 {
        min-width: 210px;
    }
}


/* =========================================
   RESPONSIVE — MOBILE
   ========================================= */

@media (max-width: 600px) {

    :root {
        --container: calc(100% - 36px);
    }

    .navbar {
        height: 80px;
        padding: 0 18px;
    }

    .logo {
        font-size: 13px;
    }

    .hero-content {
        padding-top: 40px;
    }

    .eyebrow {
        max-width: 290px;
        line-height: 1.7;
    }

    .hero h1 {
        font-size: clamp(56px, 17vw, 88px);
        line-height: 0.9;
    }

    .hero-description {
        max-width: 300px;
        font-size: 13px;
    }

    .hero-bottom {
        left: 18px;
        right: 18px;
        bottom: 20px;
    }

    .intro {
        padding: 110px 0 120px;
        gap: 45px;
    }

    .intro h2 {
        font-size: clamp(42px, 13vw, 68px);
    }

    .intro p {
        margin-top: 35px;
        font-size: 14px;
    }

    .work {
        padding: 110px 0 120px;
    }

    .section-heading {
        display: block;
        margin-bottom: 45px;
    }

    .section-heading p {
        margin-top: 15px;
    }

    .project {
        margin-bottom: 80px;
    }

    .project-image {
        height: 65vh;
    }

    .project-view {
        opacity: 1;
        transform: none;
    }

    .project-info h3 {
        font-size: 20px;
    }

    .project-info > span {
        display: none;
    }

    .services {
        padding: 110px 18px 120px;
    }

    .services-heading {
        margin: 55px 0 65px;
    }

    .services-heading h2 {
        font-size: clamp(45px, 13vw, 70px);
    }

    .service {
        grid-template-columns: 35px 1fr 25px;

        min-height: 145px;
    }

    .service:hover {
        padding-left: 10px;
        padding-right: 10px;
    }

    .service-main {
        display: block;
    }

    .service h3 {
        min-width: 0;
        font-size: 27px;
    }

    .service p {
        margin-top: 10px;
        padding-right: 15px;

        font-size: 11px;
    }

    .service-arrow {
        font-size: 16px;
    }

    .about {
        padding: 110px 0 120px;
    }

    .about-content {
        margin-top: 60px;
        gap: 50px;
    }

    .about h2 {
        font-size: clamp(48px, 14vw, 75px);
    }

    .about-text p {
        font-size: 14px;
    }

    .process {
        padding: 110px 0 120px;
    }

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

        margin-top: 60px;
    }

    .process-item,
    .process-item:first-child {
        min-height: 230px;

        padding: 30px 0;

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

    .process-item:last-child {
        border-bottom: none;
    }

    .process-item h3 {
        margin-top: 55px;
    }

    .contact {
        min-height: 80vh;

        padding: 50px 18px 25px;
    }

    .contact-content {
        padding: 80px 0;
    }

    .contact h2 {
        font-size: clamp(50px, 15vw, 82px);
    }

    .contact-bottom {
        display: block;
    }

    .contact-bottom a {
        display: block;
        margin-top: 12px;
    }

    footer {
        padding: 40px 18px;

        display: block;
    }

    .footer-links {
        justify-content: flex-start;

        margin: 30px 0;
        gap: 20px;
        flex-wrap: wrap;
    }

    .footer-copy {
        justify-self: auto;
    }
}
