/* =========================================================
   GRAPHICAL LIFEEE
   MAIN STYLESHEET
========================================================= */


/* ================= VARIABLES ================= */

:root {

    --olive: #65732f;

    --olive-dark: #3f491e;

    --olive-deep: #252b16;

    --cream: #f5f2e8;

    --sand: #e7e1cf;

    --ink: #171914;

    --muted: #6b6e61;

    --white: #fffdf7;

    --line: rgba(37, 43, 22, 0.12);

    --shadow:
        0 20px 60px rgba(37, 43, 22, 0.10);
}


/* ================= RESET ================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--ink);

    background: var(--cream);

    line-height: 1.6;
}


a {
    text-decoration: none;
    color: inherit;
}


/* ================= CONTAINER ================= */

.container {

    width: min(1180px, 92%);

    margin: auto;
}


/* ================= NAVBAR ================= */

.nav {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 50;

    background:
        rgba(245, 242, 232, 0.84);

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid var(--line);
}


.nav-inner {

    height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.logo {

    font-size: 1.25rem;

    font-weight: 900;

    letter-spacing: -0.04em;
}


.logo span {

    color: var(--olive);
}


.nav-links {

    display: flex;

    gap: 30px;

    align-items: center;

    font-size: 0.93rem;

    font-weight: 650;
}


.nav-links a {

    opacity: 0.78;

    transition: 0.25s;
}


.nav-links a:hover {

    opacity: 1;

    color: var(--olive);
}


/* ================= BUTTON ================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 13px 21px;

    border-radius: 999px;

    background: var(--olive);

    color: white;

    font-weight: 800;

    border: 1px solid var(--olive);

    transition: 0.25s;

    cursor: pointer;
}


.btn:hover {

    background: var(--olive-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(101, 115, 47, 0.24);
}


.btn-outline {

    background: transparent;

    color: var(--olive-dark);
}


.btn-outline:hover {

    color: white;
}


/* ================= MOBILE MENU ================= */

.menu {

    display: none;

    border: 0;

    background: none;

    font-size: 1.5rem;

    cursor: pointer;
}


/* ================= HERO ================= */

.hero {

    padding: 160px 0 90px;

    overflow: hidden;

    position: relative;
}


.hero::before {

    content: "";

    position: absolute;

    width: 520px;

    height: 520px;

    border-radius: 50%;

    background:
        rgba(101, 115, 47, 0.13);

    filter: blur(8px);

    right: -160px;

    top: 60px;
}


.hero-grid {

    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    gap: 70px;

    align-items: center;
}


.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

    border:
        1px solid var(--line);

    border-radius: 999px;

    background:
        rgba(255, 253, 247, 0.55);

    font-size: 0.78rem;

    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    color: var(--olive-dark);
}


.dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--olive);
}


h1 {

    font-size:
        clamp(3.3rem, 7vw, 6.8rem);

    line-height: 0.9;

    letter-spacing: -0.075em;

    margin: 24px 0;
}


h1 em {

    font-style: normal;

    color: var(--olive);
}


.hero-copy {

    max-width: 620px;

    font-size: 1.08rem;

    color: var(--muted);

    margin-bottom: 30px;
}


.actions {

    display: flex;

    gap: 13px;

    flex-wrap: wrap;
}


/* ================= HERO CARD ================= */

.hero-card {

    position: relative;

    min-height: 520px;

    background: var(--olive-deep);

    border-radius: 34px;

    padding: 25px;

    box-shadow: var(--shadow);

    overflow: hidden;

    color: white;
}


.hero-card::before {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    border-radius: 50%;

    background: var(--olive);

    right: -70px;

    top: -70px;
}


.hero-card::after {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    border-radius: 50%;

    background: #d5d8ad;

    left: -70px;

    bottom: -70px;
}


.visual {

    position: absolute;

    inset: 25px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.visual-main {

    width: 78%;

    height: 78%;

    border:
        1px solid rgba(255, 255, 255, 0.16);

    background:
        linear-gradient(
            145deg,
            #596529,
            #2e351b
        );

    border-radius: 28px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 28px;

    position: relative;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25);
}


.visual-main::before {

    content: "GL";

    position: absolute;

    top: 30px;

    left: 28px;

    font-size: 7rem;

    line-height: 0.8;

    font-weight: 950;

    letter-spacing: -0.1em;

    color:
        rgba(255, 255, 255, 0.08);
}


.visual-label {

    font-size: 0.7rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    opacity: 0.65;
}


.visual-title {

    font-size: 2.4rem;

    line-height: 0.95;

    font-weight: 900;

    letter-spacing: -0.06em;

    margin-top: 8px;
}


/* ================= FLOATING LABELS ================= */

.float {

    position: absolute;

    background: var(--white);

    color: var(--ink);

    border-radius: 18px;

    padding: 14px 16px;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.18);

    font-weight: 800;

    font-size: 0.83rem;
}


.float.one {

    top: 15%;

    left: 2%;
}


.float.two {

    right: 2%;

    bottom: 19%;
}


.float.three {

    right: 10%;

    top: 9%;

    background: #d9dfb2;
}


/* ================= SECTIONS ================= */

.section {

    padding: 105px 0;
}


.section-head {

    display: flex;

    justify-content: space-between;

    gap: 40px;

    align-items: end;

    margin-bottom: 48px;
}


.section-kicker {

    color: var(--olive);

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.15em;

    font-size: 0.72rem;
}


h2 {

    font-size:
        clamp(2.3rem, 4.5vw, 4.5rem);

    line-height: 0.95;

    letter-spacing: -0.06em;

    margin-top: 10px;
}


.section-head p {

    max-width: 420px;

    color: var(--muted);
}


/* ================= SERVICES ================= */

.services {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}


.service {

    background: var(--white);

    border:
        1px solid var(--line);

    border-radius: 24px;

    padding: 27px;

    min-height: 250px;

    transition: 0.3s;
}


.service:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow);

    border-color:
        rgba(101, 115, 47, 0.35);
}


.icon {

    width: 48px;

    height: 48px;

    border-radius: 14px;

    background: #e2e6c6;

    color: var(--olive-dark);

    display: grid;

    place-items: center;

    font-weight: 950;

    font-size: 1.1rem;

    margin-bottom: 28px;
}


.service h3 {

    font-size: 1.25rem;

    margin-bottom: 8px;

    letter-spacing: -0.03em;
}


.service p {

    color: var(--muted);

    font-size: 0.92rem;
}


/* ================= WORK ================= */

.dark {

    background: var(--olive-deep);

    color: white;
}


.dark .section-kicker {

    color: #cbd594;
}


.dark .section-head p {

    color: #c7c9bb;
}


.work-grid {

    display: grid;

    grid-template-columns:
        1.25fr 0.75fr 0.75fr;

    gap: 15px;
}


.work {

    min-height: 350px;

    border-radius: 28px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    overflow: hidden;

    position: relative;

    background: #4f5d27;
}


.work::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 35%,
            rgba(0, 0, 0, 0.7)
        );
}


.work:nth-child(2) {

    background: #b7b990;
}


.work:nth-child(3) {

    background: #303722;
}


.work-content {

    position: relative;

    z-index: 1;
}


.work small {

    opacity: 0.7;

    text-transform: uppercase;

    letter-spacing: 0.13em;
}


.work h3 {

    font-size: 2rem;

    letter-spacing: -0.05em;
}


/* ================= PROCESS ================= */

.process {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;
}


.step {

    padding: 30px;

    background: var(--white);

    border:
        1px solid var(--line);

    border-radius: 25px;
}


.num {

    font-size: 0.8rem;

    font-weight: 900;

    color: var(--olive);

    letter-spacing: 0.1em;
}


.step h3 {

    margin: 35px 0 8px;

    font-size: 1.35rem;
}


.step p {

    color: var(--muted);
}


/* ================= CTA ================= */

.cta {

    padding: 110px 0;
}


.cta-box {

    background: var(--olive);

    color: white;

    border-radius: 35px;

    padding: 70px;

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 40px;

    overflow: hidden;

    position: relative;
}


.cta-box::after {

    content: "";

    position: absolute;

    width: 340px;

    height: 340px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);

    right: -100px;

    top: -150px;
}


.cta-box h2 {

    max-width: 700px;
}


.cta-box p {

    max-width: 550px;

    margin-top: 18px;

    color: #e1e5c8;
}


.cta .btn {

    background: white;

    color: var(--olive-dark);

    border-color: white;

    position: relative;

    z-index: 1;

    white-space: nowrap;
}


/* ================= FOOTER ================= */

.footer {

    padding: 35px 0;

    border-top:
        1px solid var(--line);

    font-size: 0.85rem;

    color: var(--muted);
}


.footer-inner {

    display: flex;

    justify-content: space-between;

    gap: 20px;
}


/* ================= SCROLL ANIMATION ================= */

.reveal {

    opacity: 0;

    transform: translateY(22px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.reveal.visible {

    opacity: 1;

    transform: none;
}


/* ================= TABLET ================= */

@media (max-width: 900px) {

    .hero-grid {

        grid-template-columns: 1fr;
    }


    .hero-card {

        min-height: 420px;
    }


    .services {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .work-grid {

        grid-template-columns:
            1fr 1fr;
    }


    .work:first-child {

        grid-column: 1 / -1;
    }


    .process {

        grid-template-columns: 1fr;
    }


    .section-head {

        display: block;
    }


    .section-head p {

        margin-top: 20px;
    }


    .cta-box {

        display: block;

        padding: 50px;
    }


    .cta-box .btn {

        margin-top: 30px;
    }
}


/* ================= MOBILE ================= */

@media (max-width: 650px) {

    .nav-links {

        display: none;
    }


    .menu {

        display: block;
    }


    .hero {

        padding-top: 125px;
    }


    .hero-card {

        min-height: 390px;
    }


    .services,
    .work-grid {

        grid-template-columns: 1fr;
    }


    .work:first-child {

        grid-column: auto;
    }


    .actions .btn {

        width: 100%;
    }


    .footer-inner {

        display: block;
    }


    .footer-inner div + div {

        margin-top: 10px;
    }


    h1 {

        font-size: 4rem;
    }
}