/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f5f3ef;
    color: #171717;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --bg: #f5f3ef;
    --dark: #111111;
    --text: #171717;
    --muted: #77736c;
    --line: #d9d5ce;
    --white: #ffffff;

    --container: 1180px;

    --radius: 20px;
}


/* =====================================================
   GLOBAL
===================================================== */

.container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}

.section {
    padding: 140px 0;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #77736c;
    margin-bottom: 30px;
}

h1,
h2,
h3 {
    font-family: "Space Grotesk", sans-serif;
}

h2 {
    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.05em;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;

    background: rgba(245,243,239,.82);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid transparent;

    transition: .3s;
}

.header.scrolled {
    border-color: var(--line);
}

.nav {
    height: 86px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.06em;
}

.logo span {
    color: #77736c;
}

.desktop-nav {
    display: flex;
    gap: 36px;
}

.desktop-nav a {
    font-size: 14px;
    color: #57534e;

    transition: .25s;
}

.desktop-nav a:hover {
    color: #111;
}

.nav-button {
    padding: 12px 20px;

    border: 1px solid #171717;
    border-radius: 100px;

    font-size: 13px;
    font-weight: 600;

    transition: .25s;
}

.nav-button:hover {
    background: #111;
    color: #fff;
}

.menu-button {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--line);
    background: transparent;
    border-radius: 50%;
}

.menu-button span {
    display: block;
    width: 16px;
    height: 1px;
    background: #111;
    margin: 4px auto;
}


/* =====================================================
   MOBILE MENU
===================================================== */

.mobile-menu {
    position: fixed;
    inset: 86px 0 auto 0;

    background: var(--bg);

    padding: 30px 24px;

    display: none;
    flex-direction: column;
    gap: 22px;

    z-index: 90;

    border-bottom: 1px solid var(--line);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-family: "Space Grotesk";
    font-size: 28px;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 100vh;
    padding-top: 86px;
    padding-bottom: 85px;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;

    color: #77736c;

    margin-bottom: 30px;
}

.eyebrow span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #171717;
}

.hero h1 {
    max-width: 680px;

    font-size: clamp(55px, 6vw, 88px);
    line-height: .92;
    letter-spacing: -.065em;
}

.hero h1 em {
    font-style: normal;
    color: #77736c;
}

.hero-text {
    max-width: 540px;

    margin-top: 32px;

    color: #67635d;

    font-size: 17px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 40px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

    min-height: 54px;
    padding: 0 24px;

    border-radius: 100px;

    font-size: 14px;
    font-weight: 600;

    transition: .3s;
}

.button-primary {
    background: #111;
    color: #fff;
}

.button-primary:hover {
    transform: translateY(-3px);
    background: #2c2c2c;
}

.button-secondary {
    border: 1px solid #c9c5be;
}

.button-secondary:hover {
    background: #fff;
}

.hero-stats {
    display: flex;
    gap: 35px;

    margin-top: 75px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stats strong {
    font-family: "Space Grotesk";
    font-size: 18px;
}

.hero-stats span {
    font-size: 11px;
    color: #77736c;
}


/* =====================================================
   HERO VISUAL
===================================================== */

.hero-visual {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-glow {
    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background: #dedbd4;

    filter: blur(50px);

    opacity: .7;
}

.browser {
    position: relative;

    width: 520px;

    background: #fff;

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 40px 100px rgba(0,0,0,.13);

    transform: rotate(3deg);

    z-index: 2;
}

.browser-top {
    height: 36px;

    display: flex;
    align-items: center;

    padding: 0 14px;

    background: #eeeeeb;

    gap: 20px;
}

.browser-dots {
    display: flex;
    gap: 5px;
}

.browser-dots span {
    width: 7px;
    height: 7px;

    background: #bbb;
    border-radius: 50%;
}

.browser-address {
    flex: 1;

    background: #fff;

    border-radius: 20px;

    text-align: center;

    font-size: 9px;
    color: #999;

    padding: 5px;
}

.browser-content {
    height: 430px;

    padding: 28px;

    background:
        linear-gradient(
            135deg,
            #191919,
            #36332f
        );

    color: white;
}

.mockup-nav {
    display: flex;
    justify-content: space-between;

    font-size: 10px;
}

.mockup-nav div {
    display: flex;
    gap: 5px;
}

.mockup-nav span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #aaa;
}

.mockup-heading {
    margin-top: 100px;
}

.mockup-heading small {
    font-size: 8px;
    letter-spacing: .2em;
    opacity: .5;
}

.mockup-heading h2 {
    margin-top: 14px;

    font-size: 48px;
    line-height: .9;
    letter-spacing: -.07em;
}

.mockup-heading i {
    font-style: normal;
    color: #aaa;
}

.mockup-line {
    width: 70px;
    height: 1px;

    margin-top: 30px;

    background: #aaa;
}

.mockup-bottom {
    display: flex;
    gap: 8px;

    margin-top: 70px;
}

.mockup-card {
    height: 70px;
    flex: 1;

    background: rgba(255,255,255,.1);

    border: 1px solid rgba(255,255,255,.1);
}


.floating-card {
    position: absolute;

    padding: 15px 18px;

    background: rgba(255,255,255,.9);

    backdrop-filter: blur(10px);

    border: 1px solid #ddd;

    border-radius: 12px;

    box-shadow: 0 20px 40px rgba(0,0,0,.1);

    z-index: 3;
}

.floating-card span {
    display: block;

    font-size: 9px;
    color: #888;
    text-transform: uppercase;
}

.floating-card strong {
    font-family: "Space Grotesk";
    font-size: 17px;
}

.floating-card-one {
    left: 0;
    bottom: 80px;
}

.floating-card-two {
    right: -10px;
    top: 100px;
}


/* =====================================================
   PROBLEM
===================================================== */

.problem {
    background: #111;
    color: #fff;
}

.problem .section-label {
    color: #888;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 100px;

    align-items: end;
}

.problem-grid h2 {
    max-width: 700px;
}

.problem-grid p {
    color: #aaa;

    font-size: 16px;
    line-height: 1.7;

    margin-bottom: 25px;
}

.text-link {
    font-size: 14px;
    font-weight: 600;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);

    margin-top: 100px;

    border-top: 1px solid #333;
}

.problem-cards article {
    padding: 35px;

    border-right: 1px solid #333;
}

.problem-cards article:last-child {
    border-right: 0;
}

.problem-cards span {
    color: #777;
    font-size: 12px;
}

.problem-cards h3 {
    margin: 35px 0 15px;

    font-size: 22px;
}

.problem-cards p {
    color: #888;

    line-height: 1.6;
    font-size: 14px;
}


/* =====================================================
   SERVICES
===================================================== */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 60px;

    margin-bottom: 70px;
}

.section-header h2 {
    max-width: 700px;
}

.section-header > p {
    max-width: 310px;

    color: var(--muted);

    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-card {
    min-height: 330px;

    padding: 35px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    position: relative;

    transition: .3s;
}

.service-card:hover {
    background: #fff;
}

.service-number {
    position: absolute;
    right: 30px;
    top: 30px;

    font-size: 11px;
    color: #999;
}

.service-icon {
    font-family: "Space Grotesk";
    font-size: 30px;

    margin-bottom: 80px;
}

.service-card h3 {
    font-size: 25px;

    margin-bottom: 12px;
}

.service-card p {
    max-width: 300px;

    color: #777;

    font-size: 14px;
    line-height: 1.6;
}

.service-tags {
    display: flex;
    gap: 7px;

    margin-top: 25px;
}

.service-tags span {
    padding: 5px 9px;

    border: 1px solid #ddd;
    border-radius: 50px;

    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .08em;
}


/* =====================================================
   PROJECTS
===================================================== */

.projects {
    background: #e9e6df;
}

.projects-grid {
    display: grid;

    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
}

.project {
    margin-bottom: 20px;
}

.project-large {
    grid-row: span 2;
}

.project-image {
    min-height: 430px;

    border-radius: 18px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.project-large .project-image {
    min-height: 650px;
}

.project-image-one {
    background: #b8b5ae;
}

.project-image-two {
    background: #d4d1ca;
}

.project-image-three {
    background: #222;
}

.project-browser {
    width: 75%;

    /*background: #fff;*/

    border-radius: 10px;

    box-shadow: 0 30px 60px rgba(0,0,0,.2);

    overflow: hidden;

    transform: rotate(-4deg);
}

.project-browser-top {
    height: 22px;

    display: flex;
    align-items: center;

    gap: 4px;

    padding-left: 10px;

    background: #eee;
}

.project-browser-top span {
    width: 4px;
    height: 4px;

    background: #aaa;
    border-radius: 50%;
}

.project-site {
    height: 370px;
}
.dashboard img,.project-site img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
    object-position: top center;
}
.project-browser,
.phone-mockup,
.dashboard {
    transition: .5s ease;
}

.project:hover .project-browser,
.project:hover .phone-mockup,
.project:hover .dashboard {
    transform: translateY(-8px);
}
.project-site small {
    font-size: 7px;
    letter-spacing: .15em;
}

.project-site h3 {
    margin-top: 100px;

    font-size: 40px;
    line-height: .9;
    letter-spacing: -.06em;
}

.project-site-button {
    margin-top: 30px;

    display: inline-block;

    padding: 8px 14px;

    background: #111;
    color: #fff;

    border-radius: 30px;

    font-size: 9px;
}

.phone-mockup {
    width: 160px;

    padding: 8px;

    border-radius: 28px;

    background: #111;

    transform: rotate(6deg);

    box-shadow: 0 30px 50px rgba(0,0,0,.2);
}

.phone-top {
    width: 50px;
    height: 6px;

    background: #333;

    border-radius: 10px;

    margin: 5px auto;
}

.phone-content {
    min-height: 330px;

    /*padding: 25px 18px;*/
    overflow: hidden;

    border-radius: 20px;

    /*background: #efede7;*/

    text-align: center;
}
.phone-content img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
    object-position: top center;
}
.phone-content small {
    font-size: 7px;
    color: #888;
}

.phone-content h3 {
    margin-top: 35px;

    font-size: 28px;
    line-height: .9;
}

.phone-circle {
    width: 90px;
    height: 90px;

    border-radius: 50%;

    background: #b8b4aa;

    margin: 40px auto;
}

.dashboard {
    width: 80%;
    height: 300px;

    background: #333;

    border-radius: 10px;
    overflow: hidden;

    display: flex;

    box-shadow: 0 30px 60px rgba(0,0,0,.4);
}

.dashboard-sidebar {
    width: 22%;

    border-right: 1px solid #555;
}

.dashboard-content {
    flex: 1;

    padding: 25px;
}

.dashboard-content div {
    height: 45px;

    margin-bottom: 15px;

    background: #444;

    border-radius: 5px;
}

.project-info {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 4px;
}

.project-info h3 {
    font-size: 17px;
}

.project-info span {
    display: block;

    margin-top: 4px;

    color: #777;

    font-size: 11px;
}

.project-info > a {
    width: 38px;
    height: 38px;

    border: 1px solid #bbb;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =====================================================
   ABOUT
===================================================== */

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.about h2 {
    max-width: 550px;
}

.about-content {
    max-width: 550px;
}

.about-content p {
    color: #69655e;

    line-height: 1.7;

    margin-bottom: 25px;
}

.about-content .about-highlight {
    color: #111;

    font-family: "Space Grotesk";

    font-size: 27px;
    line-height: 1.2;
}

.skills {
    margin-top: 50px;

    border-top: 1px solid var(--line);
}

.skills div {
    display: flex;
    justify-content: space-between;

    padding: 18px 0;

    border-bottom: 1px solid var(--line);
}

.skills strong {
    font-family: "Space Grotesk";
}

.skills span {
    color: #777;
    font-size: 12px;
}


/* =====================================================
   PROCESS
===================================================== */

.process {
    background: #111;
    color: #fff;
}

.process .section-label {
    color: #777;
}

.process h2 {
    margin-bottom: 80px;
}

.process-grid {
    display: grid;

    grid-template-columns: repeat(4,1fr);

    border-top: 1px solid #333;
}

.process-item {
    padding: 35px;

    border-right: 1px solid #333;
}

.process-item:last-child {
    border-right: 0;
}

.process-item > span {
    font-size: 12px;
    color: #777;
}

.process-item h3 {
    margin-top: 80px;

    font-size: 23px;
}

.process-item p {
    margin-top: 15px;

    color: #888;

    font-size: 14px;
    line-height: 1.6;
}


/* =====================================================
   CTA
===================================================== */

.cta {
    padding-bottom: 140px;
}

.cta-box {
    background: #dedbd4;

    border-radius: 25px;

    padding: 70px;

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 80px;
}

.cta h2 {
    font-size: clamp(42px, 5vw, 68px);
}

.cta-content p {
    margin-top: 25px;

    color: #6d6962;

    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: .08em;

    color: #666;
}

.form-group input,
.form-group textarea,
.form-group select {

    width: 100%;

    border: 0;
    border-bottom: 1px solid #aaa;

    background: transparent;

    padding: 13px 0;

    outline: none;

    color: #111;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #111;
}

.form-button {
    border: 0;

    align-self: flex-start;

    margin-top: 10px;
}

.form-message {
    font-size: 13px;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    background: #111;
    color: #fff;

    padding: 70px 0 30px;
}

.footer {
    display: flex;
    justify-content: space-between;

    align-items: center;
}

.footer p {
    margin-top: 8px;

    color: #777;

    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 25px;

    font-size: 13px;
    color: #aaa;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 38px;
    height: 38px;

    border: 1px solid #444;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
}

.footer-bottom {
    margin-top: 70px;

    padding-top: 20px;

    border-top: 1px solid #333;

    display: flex;
    justify-content: space-between;

    color: #666;

    font-size: 10px;
}


/* =====================================================
   ANIMATIONS
===================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .desktop-nav,
    .nav-button {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        padding-top: 70px;
    }

    .hero-visual {
        min-height: 500px;
    }

    .problem-grid,
    .about-grid,
    .cta-box {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .process-item:nth-child(2) {
        border-right: 0;
    }

    .process-item:nth-child(-n+2) {
        border-bottom: 1px solid #333;
    }

    .cta-box {
        padding: 50px 35px;
    }

}


@media (max-width: 700px) {
    .project-site {
        height: 220px!important;
    }
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .section {
        padding: 90px 0;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-stats {
        gap: 20px;

        flex-wrap: wrap;

        margin-top: 50px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .browser {
        width: 100%;
    }

    .browser-content {
        height: 300px;
    }

    .mockup-heading {
        margin-top: 55px;
    }

    .mockup-heading h2 {
        font-size: 32px;
    }

    .mockup-bottom {
        margin-top: 40px;
    }

    .floating-card-one {
        left: -5px;
        bottom: 30px;
    }

    .floating-card-two {
        right: -5px;
        top: 45px;
    }

    .problem-grid {
        gap: 40px;
    }

    .problem-cards {
        grid-template-columns: 1fr;
    }

    .problem-cards article {
        border-right: 0;
        border-bottom: 1px solid #333;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 300px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-large {
        grid-row: auto;
    }

    .project-large .project-image {
        min-height: 430px;
    }

    .project-site h3 {
        font-size: 30px;
    }

    .about-grid {
        gap: 50px;
    }

    .skills div {
        flex-direction: column;
        gap: 5px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-item {
        border-right: 0;
        border-bottom: 1px solid #333;
    }

    .process-item:last-child {
        border-bottom: 0;
    }

    .cta-box {
        padding: 40px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-button {
        width: 100%;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

}