:root {

    --background: #07080b;
    --background-2: #0b0d12;

    --surface: rgba(255,255,255,0.05);
    --surface-strong: rgba(255,255,255,0.08);

    --border: rgba(255,255,255,0.10);
    --border-light: rgba(255,255,255,0.17);

    --text: #f5f6f8;

    --muted: #999eaa;
    --muted-2: #676c78;

    --font-main:
        "DM Sans",
        sans-serif;

    --font-display:
        "Manrope",
        sans-serif;

    --nav-height: 84px;

    --radius: 28px;

    --ease:
        cubic-bezier(.22,1,.36,1);
}


/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;

    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {

    min-height: 100vh;

    color: var(--text);

    font-family: var(--font-main);

    background:
        radial-gradient(
            circle at 50% -15%,
            rgba(255,255,255,.08),
            transparent 38%
        ),
        var(--background);

    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;

    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

::selection {
    color: #050608;

    background: white;
}


/* =====================================================
   GLOBAL NOISE
===================================================== */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    z-index: 9998;

    pointer-events: none;

    opacity: .032;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.7'/%3E%3C/svg%3E");
}


/* =====================================================
   LOADER
===================================================== */

.loader {

    position: fixed;

    inset: 0;

    z-index: 10000;

    display: grid;

    place-items: center;

    background: #050609;

    transition:
        opacity 1s var(--ease),
        visibility 1s var(--ease);
}

.loader.loaded {

    opacity: 0;

    visibility: hidden;
}

.loader-grid {

    position: absolute;

    inset: 0;

    opacity: .5;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 75%
        );
}

.loader-content {

    position: relative;

    width: min(88vw, 1200px);

    height: min(82vh, 760px);

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}

.loader-brand {

    display: flex;

    align-items: center;

    gap: 13px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .18em;
}

.loader-mark {

    width: 35px;
    height: 35px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(255,255,255,.17);

    border-radius: 10px;
}

.loader-center {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;
}

.loader-number {

    font-family: var(--font-display);

    font-size:
        clamp(
            7rem,
            19vw,
            17rem
        );

    line-height: .72;

    font-weight: 800;

    letter-spacing: -.09em;
}

.loader-status {

    margin-bottom: 8px;

    color: var(--muted);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: .18em;
}

.loader-footer {

    display: grid;

    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 20px;

    color: var(--muted-2);

    font-size: 9px;

    letter-spacing: .15em;
}

.loader-track {

    width: 100%;

    height: 1px;

    overflow: hidden;

    background: rgba(255,255,255,.12);
}

.loader-progress {

    width: 0;
    height: 100%;

    background: white;

    transition: width .2s ease;
}


/* =====================================================
   CURSOR
===================================================== */

.cursor {

    position: fixed;

    top: 0;
    left: 0;

    z-index: 10001;

    width: 38px;
    height: 38px;

    pointer-events: none;

    border: 1px solid rgba(255,255,255,.5);

    border-radius: 50%;

    transform:
        translate(-50%, -50%);

    mix-blend-mode: difference;

    transition:
        width .35s var(--ease),
        height .35s var(--ease);
}

.cursor.hovering {

    width: 70px;
    height: 70px;
}

.cursor-dot {

    position: fixed;

    top: 0;
    left: 0;

    z-index: 10002;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    pointer-events: none;

    background: white;

    transform:
        translate(-50%, -50%);
}


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

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    z-index: 500;

    width: 100%;

    height: var(--nav-height);

    padding:
        0 4vw;

    display: flex;

    align-items: center;

    justify-content: space-between;

    transition:
        background .4s ease,
        border-color .4s ease,
        backdrop-filter .4s ease;
}

.navbar.scrolled {

    border-bottom:
        1px solid rgba(255,255,255,.07);

    background:
        rgba(7,8,11,.68);

    backdrop-filter:
        blur(25px);
}

.logo {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .12em;
}

.logo-box {

    width: 36px;
    height: 36px;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(255,255,255,.17);

    border-radius: 10px;

    background:
        rgba(255,255,255,.035);
}

.nav-links {

    display: flex;

    gap: 35px;
}

.nav-link {

    position: relative;

    color: var(--muted);

    font-size: 12px;

    transition:
        color .3s ease;
}

.nav-link::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: white;

    transition:
        width .35s var(--ease);
}

.nav-link:hover {

    color: white;
}

.nav-link:hover::after,
.nav-link.active::after {

    width: 100%;
}

.nav-cta {

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        12px 17px;

    border:
        1px solid rgba(255,255,255,.14);

    border-radius: 100px;

    background:
        rgba(255,255,255,.035);

    font-size: 11px;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease;
}

.nav-cta:hover {

    color: #050608;

    border-color: white;

    background: white;
}

.mobile-menu-button {

    display: none;
}


/* =====================================================
   MOBILE MENU
===================================================== */

.mobile-menu {

    position: fixed;

    top: var(--nav-height);
    left: 0;

    z-index: 490;

    width: 100%;

    display: none;

    background:
        rgba(7,8,11,.95);

    backdrop-filter:
        blur(25px);

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

    transform:
        translateY(-110%);

    transition:
        transform .6s var(--ease);
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-menu a {

    display: block;

    padding:
        22px 5vw;

    font-family:
        var(--font-display);

    font-size: 27px;

    letter-spacing: -.05em;

    border-bottom:
        1px solid rgba(255,255,255,.05);
}


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

.hero {

    position: relative;

    min-height: 100svh;

    padding:
        calc(var(--nav-height) + 95px)
        7vw
        100px;

    display: flex;

    align-items: center;

    overflow: hidden;
}

.hero-grid {

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size:
        80px 80px;

    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 76%
        );
}

.hero-glow {

    position: absolute;

    width: 480px;
    height: 480px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: .1;

    pointer-events: none;
}

.hero-glow-1 {

    top: 0;
    left: -17%;

    background: white;
}

.hero-glow-2 {

    right: -15%;
    bottom: -20%;

    background: #818aff;
}

.hero-content {

    position: relative;

    z-index: 5;

    width: min(1160px,100%);

    margin: auto;
}

.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 30px;

    color: var(--muted);

    font-size: 11px;
}

.status-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #8cffac;

    box-shadow:
        0 0 0 5px rgba(140,255,172,.07),
        0 0 18px rgba(140,255,172,.4);
}

.hero-title {

    max-width: 1150px;

    font-family: var(--font-display);

    font-size:
        clamp(
            4rem,
            9.3vw,
            9.7rem
        );

    font-weight: 800;

    line-height: .91;

    letter-spacing: -.087em;
}

.gradient-text {

    display: block;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            #fff 0%,
            #a8abb6 52%,
            #656976 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
}

.hero-description {

    max-width: 620px;

    margin-top: 35px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.75;
}

.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 42px;
}

.button {

    min-height: 54px;

    padding:
        0 22px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 17px;

    border-radius: 100px;

    font-size: 12px;

    font-weight: 600;

    transition:
        transform .4s var(--ease),
        background .3s ease,
        color .3s ease;
}

.button-primary {

    color: black;

    background: white;
}

.button-primary:hover {

    transform:
        translateY(-4px);
}

.button-secondary {

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

    background:
        rgba(255,255,255,.04);
}

.button-secondary:hover {

    color: black;

    background: white;
}

.hero-meta {

    display: flex;

    gap: 65px;

    margin-top: 95px;
}

.hero-meta div {

    display: grid;

    gap: 6px;
}

.hero-meta strong {

    font-family: var(--font-display);

    font-size: 24px;

    letter-spacing: -.05em;
}

.hero-meta span {

    color: var(--muted);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .13em;
}

.hero-scroll {

    position: absolute;

    right: 4vw;
    bottom: 40px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 13px;

    color: var(--muted);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .17em;
}

.scroll-line {

    width: 1px;
    height: 65px;

    overflow: hidden;

    background:
        rgba(255,255,255,.12);
}

.scroll-line div {

    width: 100%;
    height: 40%;

    background: white;

    animation:
        scrollMove
        1.7s
        infinite
        var(--ease);
}

@keyframes scrollMove {

    0% {
        transform: translateY(-150%);
    }

    100% {
        transform: translateY(350%);
    }
}

.hero-orbit {

    position: absolute;

    border:
        1px solid rgba(255,255,255,.055);

    border-radius: 50%;

    pointer-events: none;
}

.orbit-one {

    width: 65vw;
    height: 65vw;

    top: -7vw;
    right: -34vw;
}

.orbit-two {

    width: 48vw;
    height: 48vw;

    top: 4vw;
    right: -21vw;
}


/* =====================================================
   MARQUEE
===================================================== */

.marquee-section {

    overflow: hidden;

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

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

.marquee {

    overflow: hidden;
}

.marquee-track {

    width: max-content;

    padding:
        21px 0;

    display: flex;

    align-items: center;

    gap: 35px;

    color: #d9dbe0;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .17em;

    animation:
        marqueeMove
        25s
        linear
        infinite;
}

.marquee-track i {

    color: var(--muted-2);

    font-style: normal;
}

@keyframes marqueeMove {

    to {
        transform: translateX(-50%);
    }
}


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

.section {

    width: min(1400px,90vw);

    margin: auto;

    padding:
        150px 0;
}

.section-header {

    display: grid;

    grid-template-columns:
        1.2fr
        .7fr;

    gap: 40px;

    align-items: end;

    margin-bottom: 80px;
}

.section-kicker {

    margin-bottom: 18px;

    color: var(--muted-2);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .19em;
}

.section-header h2,
.about-content h2,
.contact-intro h2 {

    font-family: var(--font-display);

    font-size:
        clamp(
            3rem,
            6vw,
            6.3rem
        );

    font-weight: 800;

    line-height: .94;

    letter-spacing: -.078em;
}

.section-header h2 span,
.about-content h2 span,
.contact-intro h2 span {

    color: var(--muted-2);
}

.section-header > p {

    max-width: 370px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.75;
}


/* =====================================================
   PROJECT GRID
===================================================== */

.projects-grid {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 24px;
}

.project-card-large {

    grid-column:
        1 / -1;
}

.project-card {
    cursor: pointer;
}

.project-preview {

    position: relative;

    overflow: hidden;

    aspect-ratio:
        16 / 10;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius:
        var(--radius);

    transition:
        transform .8s var(--ease),
        border-color .45s ease;
}

.project-card:hover .project-preview {

    border-color:
        rgba(255,255,255,.2);
}

.preview-browser {

    position: absolute;

    inset: 8%;

    overflow: hidden;

    border-radius: 15px;

    box-shadow:
        0 30px 100px rgba(0,0,0,.45);

    transform:
        perspective(1200px)
        rotateX(3deg);

    transition:
        transform .8s var(--ease),
        scale .8s var(--ease);
}

.project-card:hover .preview-browser {

    transform:
        perspective(1200px)
        rotateX(0)
        translateY(-5px);

    scale: 1.02;
}

.browser-top {

    position: relative;

    height: 31px;

    padding:
        0 12px;

    display: flex;

    align-items: center;

    background: #181a1f;
}

.browser-dots {

    display: flex;

    gap: 5px;
}

.browser-dots span {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #64666b;
}

.browser-address {

    position: absolute;

    left: 50%;

    transform:
        translateX(-50%);

    color: #73757c;

    font-size: 8px;
}


/* =====================================================
   AURORA
===================================================== */

.aurora-preview {

    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(255,255,255,.08),
            transparent 30%
        ),
        #111216;
}

.aurora-site {

    position: relative;

    height:
        calc(100% - 31px);

    overflow: hidden;

    padding: 20px;

    background:
        linear-gradient(
            125deg,
            #111216,
            #1c1e23
        );
}

.aurora-nav {

    display: flex;

    justify-content: space-between;

    color: #d6d7db;

    font-size: 7px;

    letter-spacing: .12em;
}

.aurora-heading {

    position: absolute;

    left: 7%;
    bottom: 14%;

    font-family: var(--font-display);

    font-size:
        clamp(
            22px,
            4vw,
            70px
        );

    line-height: .86;

    font-weight: 800;

    letter-spacing: -.07em;
}

.aurora-heading span {

    color: #777b86;
}

.aurora-circle {

    position: absolute;

    top: 18%;
    right: 8%;

    width: 30%;

    aspect-ratio: 1;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(255,255,255,.24);

    border-radius: 50%;

    font-size: 28px;

    animation:
        slowRotate
        15s
        linear
        infinite;
}

@keyframes slowRotate {

    to {
        transform: rotate(360deg);
    }
}

.aurora-small {

    position: absolute;

    top: 32%;
    left: 7%;

    color: #777a83;

    font-size: 7px;

    letter-spacing: .15em;
}


/* =====================================================
   NOVA
===================================================== */

.nova-preview {

    background:
        linear-gradient(
            135deg,
            #261f1c,
            #111112
        );
}

.nova-site {

    position: relative;

    height:
        calc(100% - 31px);

    overflow: hidden;
}

.nova-title {

    position: absolute;

    top: 11%;
    left: 7%;

    z-index: 3;

    font-family: var(--font-display);

    font-size:
        clamp(
            25px,
            5vw,
            80px
        );

    font-weight: 800;

    letter-spacing: -.08em;
}

.nova-photo {

    position: absolute;

    inset:
        10% 16% 10% 22%;

    overflow: hidden;

    background:
        linear-gradient(
            160deg,
            #8b8177,
            #33302e
        );
}

.nova-person {

    position: absolute;

    left: 38%;
    bottom: -5%;

    width: 23%;
    height: 78%;

    border-radius:
        48%
        48%
        25%
        25%;

    background:
        linear-gradient(
            180deg,
            #141416,
            #54525b
        );

    transform:
        rotate(3deg);
}

.nova-caption {

    position: absolute;

    left: 7%;
    bottom: 9%;

    color: rgba(255,255,255,.65);

    font-size: 7px;

    letter-spacing: .15em;
}


/* =====================================================
   VERTEX
===================================================== */

.vertex-preview {

    background:
        radial-gradient(
            circle at center,
            rgba(108,126,255,.18),
            transparent 35%
        ),
        #090c14;
}

.vertex-site {

    position: relative;

    height:
        calc(100% - 31px);

    overflow: hidden;

    background:
        linear-gradient(
            125deg,
            #080a10,
            #111a28
        );
}

.vertex-nav {

    position: absolute;

    top: 8%;
    left: 7%;

    font-size: 8px;

    letter-spacing: .2em;
}

.vertex-copy {

    position: absolute;

    left: 7%;
    bottom: 13%;
}

.vertex-copy small {

    display: block;

    margin-bottom: 10px;

    color: #747b87;

    font-size: 6px;

    letter-spacing: .12em;
}

.vertex-copy strong {

    display: block;

    font-family: var(--font-display);

    font-size:
        clamp(
            18px,
            3.8vw,
            65px
        );

    font-weight: 800;

    line-height: .85;

    letter-spacing: -.08em;
}

.vertex-copy span {

    color: #7f90ff;
}

.vertex-core {

    position: absolute;

    top: 17%;
    right: 12%;

    width: 28%;

    aspect-ratio: 1;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(137,151,255,.4);

    border-radius: 50%;

    color: #aeb7ff;

    font-size: 28px;

    box-shadow:
        0 0 80px rgba(95,110,255,.15);

    animation:
        vertexFloat
        4s
        ease-in-out
        infinite;
}

@keyframes vertexFloat {

    50% {
        transform: translateY(-10px);
    }
}


/* =====================================================
   PROJECT OVERLAY
===================================================== */

.preview-overlay {

    position: absolute;

    inset: 0;

    z-index: 5;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    opacity: 0;

    background:
        rgba(4,5,8,.43);

    backdrop-filter:
        blur(8px);

    transition:
        opacity .5s var(--ease);
}

.project-card:hover .preview-overlay {

    opacity: 1;
}

.preview-overlay span {

    padding:
        12px 17px;

    border-radius: 100px;

    color: black;

    background: white;

    font-size: 10px;

    font-weight: 700;
}

.preview-overlay > div {

    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(255,255,255,.4);

    border-radius: 50%;
}


/* =====================================================
   PROJECT INFO
===================================================== */

.project-info {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 25px;

    padding:
        24px 5px 0;
}

.project-title-group {

    display: flex;

    align-items: center;

    gap: 17px;
}

.project-number {

    color: var(--muted-2);

    font-size: 9px;

    letter-spacing: .13em;
}

.project-info h3 {

    font-family: var(--font-display);

    font-size: 21px;

    letter-spacing: -.05em;
}

.project-details {

    display: grid;

    gap: 12px;
}

.project-details p {

    max-width: 340px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.65;
}

.project-details span {

    color: var(--muted-2);

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: .14em;
}

.work-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 70px;

    color: var(--muted);

    font-size: 11px;
}

.text-link {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding-bottom: 7px;

    border-bottom:
        1px solid rgba(255,255,255,.22);

    color: white;
}

.text-link span {

    transition:
        transform .3s var(--ease);
}

.text-link:hover span {

    transform:
        translate(4px,-4px);
}


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

.about-section {

    display: grid;

    grid-template-columns:
        150px 1fr;

    gap: 70px;

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

.about-number {

    color: var(--muted-2);

    font-size: 9px;

    letter-spacing: .15em;
}

.about-content {

    max-width: 1000px;
}

.about-content p {

    max-width: 700px;

    margin-top: 35px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}

.about-content .about-lead {

    color: #d9dbe0;

    font-size: 19px;

    line-height: 1.65;
}


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

.process-section {

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

.process-grid {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

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

    border-left:
        1px solid var(--border);
}

.process-item {

    min-height: 315px;

    padding: 34px;

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

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

    transition:
        background .5s var(--ease);
}

.process-item:hover {

    background:
        rgba(255,255,255,.035);
}

.process-top {

    display: flex;

    justify-content: space-between;

    color: var(--muted-2);

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: .15em;
}

.process-item h3 {

    max-width: 450px;

    margin-top: 95px;

    font-family: var(--font-display);

    font-size: 26px;

    line-height: 1;

    letter-spacing: -.05em;
}

.process-item p {

    max-width: 430px;

    margin-top: 18px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}


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

.contact-section {

    position: relative;

    width: 100%;
    max-width: none;

    padding-right: 5vw;
    padding-left: 5vw;

    overflow: hidden;
}

.contact-background {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 15% 40%,
            rgba(255,255,255,.06),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(105,115,255,.09),
            transparent 30%
        );
}

.contact-wrapper {

    position: relative;

    z-index: 2;

    width: min(1400px,100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 110px;
}

.contact-intro p {

    max-width: 480px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}

.contact-note {

    display: flex;

    align-items: center;

    gap: 11px;

    margin-top: 30px;

    color: var(--muted-2);

    font-size: 10px;
}


/* =====================================================
   BOOKING FORM
===================================================== */

.booking-form {

    display: grid;

    gap: 22px;

    padding: 38px;

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

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    box-shadow:
        0 40px 100px rgba(0,0,0,.3);
}

.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;
}

.field {

    display: grid;

    gap: 9px;
}

.field label {

    color: var(--muted-2);

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: .14em;
}

.field input,
.field select,
.field textarea {

    width: 100%;

    outline: none;

    padding:
        15px 16px;

    color: white;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 14px;

    background:
        rgba(255,255,255,.035);

    transition:
        border-color .3s ease,
        background .3s ease,
        transform .3s var(--ease);
}

.field input,
.field select {

    height: 52px;
}

.field textarea {

    min-height: 160px;

    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {

    color: #565a64;
}

.field option {

    color: white;

    background: #111216;
}

.field input:focus,
.field select:focus,
.field textarea:focus {

    transform:
        translateY(-2px);

    border-color:
        rgba(255,255,255,.34);

    background:
        rgba(255,255,255,.055);
}

.submit-button {

    width: 100%;

    min-height: 60px;

    padding:
        0 21px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-radius: 16px;

    color: #050608;

    background: white;

    cursor: pointer;

    font-size: 12px;

    font-weight: 700;

    transition:
        transform .4s var(--ease),
        opacity .3s ease;
}

.submit-button:hover {

    transform:
        translateY(-4px);
}

.submit-button:disabled {

    opacity: .6;

    cursor: wait;
}

.submit-icon {

    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: white;

    background: #07080b;
}

.form-message {

    display: none;

    padding:
        14px 16px;

    border-radius: 13px;

    font-size: 11px;

    line-height: 1.5;
}

.form-message.show {
    display: block;
}

.form-message.success {

    color: #afffc9;

    border:
        1px solid rgba(94,255,141,.15);

    background:
        rgba(94,255,141,.07);
}

.form-message.error {

    color: #ffb7b7;

    border:
        1px solid rgba(255,90,90,.15);

    background:
        rgba(255,90,90,.07);
}


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

.footer {

    width: 90vw;
    max-width: 1400px;

    margin: auto;

    padding:
        40px 0 30px;

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

.footer-top {

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.footer-brand {

    display: flex;

    align-items: center;

    gap: 13px;
}

.footer-brand div {

    display: grid;

    gap: 3px;
}

.footer-brand strong {

    font-size: 10px;

    letter-spacing: .1em;
}

.footer-brand div span {

    color: var(--muted-2);

    font-size: 9px;
}

.back-top {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--muted);

    font-size: 10px;
}

.back-top:hover {

    color: white;
}

.footer-bottom {

    margin-top: 60px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: var(--muted-2);

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: .1em;
}

.footer-bottom div {

    display: flex;

    gap: 25px;
}


/* =====================================================
   PROJECT MODAL
===================================================== */

.project-modal {

    position: fixed;

    inset: 0;

    z-index: 2000;

    padding: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .45s ease,
        visibility .45s ease;
}

.project-modal.open {

    opacity: 1;

    visibility: visible;
}

.modal-backdrop {

    position: absolute;

    inset: 0;

    background:
        rgba(2,3,5,.84);

    backdrop-filter:
        blur(20px);
}

.modal-window {

    position: relative;

    z-index: 2;

    width: min(1300px,100%);

    height: min(850px,92vh);

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.14);

    border-radius: 25px;

    background: #0a0b0f;

    box-shadow:
        0 50px 150px rgba(0,0,0,.55);

    transform:
        translateY(30px)
        scale(.97);

    transition:
        transform .7s var(--ease);
}

.project-modal.open
.modal-window {

    transform:
        translateY(0)
        scale(1);
}

.modal-header {

    min-height: 82px;

    padding:
        15px 18px 15px 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;

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

.modal-label {

    display: block;

    margin-bottom: 3px;

    color: var(--muted-2);

    font-size: 7px;

    letter-spacing: .16em;
}

.modal-header h3 {

    font-family:
        var(--font-display);

    font-size: 21px;

    letter-spacing: -.04em;
}

.modal-actions {

    display: flex;

    align-items: center;

    gap: 10px;
}

.modal-open-button {

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        11px 14px;

    border-radius: 100px;

    color: black;

    background: white;

    font-size: 9px;

    font-weight: 700;
}

.modal-close {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

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

    border-radius: 50%;

    color: white;

    background:
        rgba(255,255,255,.06);

    cursor: pointer;

    font-size: 24px;
}

.modal-preview {

    position: relative;

    height:
        calc(100% - 82px);

    background: #101116;
}

.modal-preview iframe {

    width: 100%;
    height: 100%;

    display: block;

    border: 0;

    background: white;
}

.modal-loading {

    position: absolute;

    inset: 0;

    z-index: 3;

    display: grid;

    place-items: center;

    color: var(--muted);

    font-size: 10px;

    background: #101116;

    transition:
        opacity .4s ease;
}

.modal-loading.hidden {

    opacity: 0;

    pointer-events: none;
}


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

.reveal {

    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .9s var(--ease),
        transform .9s var(--ease);
}

.reveal.visible {

    opacity: 1;

    transform:
        translateY(0);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .nav-links,
    .nav-cta {

        display: none;
    }

    .mobile-menu {

        display: grid;
    }

    .mobile-menu-button {

        width: 44px;
        height: 44px;

        display: flex;

        flex-direction: column;

        justify-content: center;

        gap: 6px;

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

        border-radius: 50%;

        background:
            rgba(255,255,255,.04);

        cursor: pointer;
    }

    .mobile-menu-button span {

        width: 15px;
        height: 1px;

        margin: auto;

        background: white;

        transition:
            transform .4s var(--ease);
    }

    .mobile-menu-button.active
    span:first-child {

        transform:
            translateY(3.5px)
            rotate(45deg);
    }

    .mobile-menu-button.active
    span:last-child {

        transform:
            translateY(-3.5px)
            rotate(-45deg);
    }

    .hero {

        padding:
            170px 6vw 100px;
    }

    .hero-title {

        font-size:
            clamp(
                3.4rem,
                13vw,
                6rem
            );
    }

    .hero-meta {

        gap: 30px;
    }

    .section {

        width: 88vw;

        padding:
            100px 0;
    }

    .section-header {

        grid-template-columns: 1fr;

        margin-bottom: 50px;
    }

    .projects-grid {

        grid-template-columns: 1fr;
    }

    .project-card-large {

        grid-column: auto;
    }

    .project-info {

        grid-template-columns: 1fr;
    }

    .about-section {

        grid-template-columns: 1fr;

        gap: 30px;
    }

    .process-grid {

        grid-template-columns: 1fr;
    }

    .contact-wrapper {

        grid-template-columns: 1fr;

        gap: 60px;
    }

    .booking-form {

        padding: 25px;
    }

    .form-row {

        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {

    .navbar {

        padding:
            0 5vw;
    }

    .hero {

        min-height: auto;

        padding-top:
            165px;
    }

    .hero-description {

        font-size: 14px;
    }

    .hero-actions {

        flex-direction: column;
    }

    .button {

        width: 100%;
    }

    .hero-meta {

        flex-wrap: wrap;

        margin-top: 70px;
    }

    .hero-scroll {

        display: none;
    }

    .section-header h2,
    .about-content h2,
    .contact-intro h2 {

        font-size:
            clamp(
                2.8rem,
                13vw,
                4rem
            );
    }

    .project-preview {

        aspect-ratio:
            1 / .86;
    }

    .process-item {

        min-height: 280px;
    }

    .process-item h3 {

        margin-top: 72px;
    }

    .project-modal {

        padding: 10px;
    }

    .modal-window {

        height: 90vh;

        border-radius: 18px;
    }

    .modal-header {

        padding:
            12px 12px 12px 16px;
    }

    .modal-open-button {

        padding:
            10px 12px;
    }

    .modal-header h3 {

        font-size: 17px;
    }

    .modal-preview {

        height:
            calc(100% - 74px);
    }

    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }
}


/* =====================================================
   REDUCED MOTION
===================================================== */

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

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        animation-duration:
            .001ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .001ms !important;
    }
}