:root {
    --bg: #050505;
    --panel: #0a0a0a;
    --panel-2: #0f0f0f;
    --text: #f7f7f7;
    --muted: #8d8d8d;
    --line: rgba(255, 255, 255, .11);
    --line-strong: rgba(255, 255, 255, .22);
    --sidebar: 88px;
    --radius: 28px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #444 #090909;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: "Inter", sans-serif;
    cursor: none;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        radial-gradient(circle at 65% 12%, rgba(255, 255, 255, .055), transparent 24%),
        radial-gradient(circle at 24% 72%, rgba(255, 255, 255, .035), transparent 25%),
        #050505;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

button {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: #fff;
    color: #000;
}

.cursor {
    position: fixed;
    z-index: 1000000;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width .2s, height .2s, opacity .2s;
}

.cursor-ring {
    position: fixed;
    z-index: 999999;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width .3s var(--ease), height .3s var(--ease), border-color .3s;
}

.cursor.active {
    width: 18px;
    height: 18px;
}

.cursor-ring.active {
    width: 62px;
    height: 62px;
    border-color: rgba(255, 255, 255, .8);
}

.progress {
    position: fixed;
    top: 0;
    left: var(--sidebar);
    right: 0;
    z-index: 300;
    height: 2px;
    background: rgba(255, 255, 255, .06);
}

.progress span {
    display: block;
    width: 0;
    height: 100%;
    background: #fff;
}

.side-nav {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 200;
    width: var(--sidebar);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    border-right: 1px solid var(--line);
    background: rgba(5, 5, 5, .76);
    backdrop-filter: blur(24px);
}

.logo {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #fff;
    color: #000;
    font: 800 1rem "Manrope";
    letter-spacing: -.08em;
    transition: transform .3s var(--ease);
}

.logo:hover {
    transform: rotate(-8deg) scale(1.05);
}

.nav-dots {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
}

.nav-dot {
    position: relative;
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: #333;
    cursor: none;
    transition: .3s var(--ease);
}

.nav-dot::after {
    content: attr(data-label);
    position: absolute;
    left: 28px;
    top: 50%;
    width: max-content;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #111;
    color: #fff;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transform: translate(8px, -50%);
    transition: .2s;
}

.nav-dot:hover::after {
    opacity: 1;
    transform: translate(0, -50%);
}

.nav-dot.active {
    background: #fff;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, .08);
}

.side-mark {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #666;
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.mobile-nav {
    display: none;
}

main {
    margin-left: var(--sidebar);
}

.section {
    position: relative;
    min-height: 100svh;
    padding: 42px clamp(24px, 5vw, 84px);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    overflow: hidden;
    scroll-margin-top: 0;
}

.wrap {
    width: min(1440px, 100%);
    margin: auto;
}

.section-index {
    position: absolute;
    top: 35px;
    right: clamp(25px, 4vw, 70px);
    color: #494949;
    font: 600 .73rem "Manrope";
    letter-spacing: .16em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #a6a6a6;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: #777;
}

h1,
h2,
h3 {
    font-family: "Manrope", sans-serif;
    letter-spacing: -.065em;
}

h1 {
    max-width: 1120px;
    font-size: clamp(3.2rem, 8.5vw, 8.5rem);
    line-height: .92;
    font-weight: 800;
    overflow-wrap: break-word;
    word-break: break-word;
}

h2 {
    font-size: clamp(3.5rem, 7vw, 7.5rem);
    line-height: .92;
    font-weight: 700;
}

.outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .65);
}

.hero {
    isolation: isolate;
}

#network {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: .55;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(270px, .45fr);
    gap: clamp(40px, 7vw, 120px);
    align-items: end;
}

.hero-copy p {
    max-width: 600px;
    margin-top: 35px;
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.8;
}

.hero-meta {
    padding: 25px 0 8px;
    border-top: 1px solid var(--line-strong);
}

.hero-meta strong {
    display: block;
    margin-bottom: 12px;
    font: 600 1rem "Manrope";
}

.hero-meta p {
    color: var(--muted);
    line-height: 1.65;
    font-size: .9rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.button {
    position: relative;
    min-height: 54px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .035);
    font-weight: 600;
    cursor: none;
    transition: transform .3s var(--ease), border-color .3s;
}

.button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: translateY(104%);
    transition: transform .35s var(--ease);
}

.button span {
    position: relative;
    z-index: 1;
    transition: color .35s;
}

.button:hover {
    transform: translateY(-3px);
    border-color: #fff;
}

.button:hover::before {
    transform: translateY(0);
}

.button:hover span {
    color: #000;
}

.button.primary {
    color: #000;
    background: #fff;
}

.button.primary::before {
    background: #d9d9d9;
}

.button.primary span {
    color: #000;
}

.scroll-note {
    position: absolute;
    right: 42px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #777;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    transform: rotate(90deg);
    transform-origin: right bottom;
}

.scroll-note::after {
    content: "";
    width: 48px;
    height: 1px;
    background: #555;
    animation: linePulse 1.8s ease-in-out infinite;
}

@keyframes linePulse {
    50% {
        width: 75px;
        background: #fff;
    }
}

.statement {
    text-align: center;
}

.statement h2 {
    max-width: 1200px;
    margin: auto;
    font-size: clamp(4rem, 9vw, 9rem);
}

.statement p {
    max-width: 650px;
    margin: 35px auto 0;
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.02rem;
}

.services-layout {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: clamp(45px, 7vw, 120px);
    align-items: start;
}

.services-intro {
    position: sticky;
    top: 60px;
}

.services-intro p {
    max-width: 430px;
    margin-top: 28px;
    color: var(--muted);
    line-height: 1.75;
}

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

.service-row {
    position: relative;
    min-height: 175px;
    padding: 29px 5px;
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 26px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    transition: padding .35s var(--ease);
}

.service-row::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #fff;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .35s var(--ease);
}

.service-row:hover {
    padding-left: 22px;
    padding-right: 22px;
    color: #000;
}

.service-row:hover::before {
    transform: scaleY(1);
}

.service-number {
    color: #666;
    font-size: .78rem;
    letter-spacing: .1em;
}

.service-row h3 {
    margin-bottom: 10px;
    font-size: clamp(1.7rem, 3vw, 3.3rem);
    font-weight: 600;
}

.service-row p {
    max-width: 580px;
    color: var(--muted);
    line-height: 1.6;
    font-size: .9rem;
}

.service-row:hover p,
.service-row:hover .service-number {
    color: #555;
}

.arrow {
    font-size: 1.6rem;
    transition: transform .3s var(--ease);
}

.service-row:hover .arrow {
    transform: translate(7px, -7px);
}

.work-section {
    padding-right: 0;
}

.work-heading {
    padding-right: clamp(24px, 5vw, 84px);
    margin-bottom: 48px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.work-heading p {
    max-width: 430px;
    color: var(--muted);
    line-height: 1.75;
}

.horizontal-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 0 clamp(24px, 5vw, 84px) 22px 0;
    scrollbar-width: thin;
    scrollbar-color: #555 transparent;
}

.project-card {
    position: relative;
    flex: 0 0 min(76vw, 880px);
    height: min(65vh, 620px);
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    isolation: isolate;
}

.project-art {
    position: absolute;
    inset: 0;
    transition: transform .8s var(--ease);
}

.project-card:hover .project-art {
    transform: scale(1.04);
}

.art-one {
    background:
        radial-gradient(circle at 70% 28%, rgba(255, 255, 255, .17), transparent 16%),
        linear-gradient(135deg, #090909, #1d1d1d);
}

.art-one::before,
.art-two::before,
.art-three::before {
    content: "";
    position: absolute;
    inset: -15%;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(700px) rotateX(60deg) rotateZ(-10deg) scale(1.2);
}

.art-two {
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .18), transparent 18%),
        #0a0a0a;
}

.art-two::after {
    content: "A";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .08);
    font: 800 min(35vw, 390px) "Manrope";
}

.art-three {
    background:
        radial-gradient(circle at 75% 35%, rgba(255, 255, 255, .12), transparent 20%),
        linear-gradient(145deg, #060606, #181818);
}

.orb {
    position: absolute;
    left: 55%;
    top: 47%;
    width: min(38vw, 390px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        inset 0 0 75px rgba(255, 255, 255, .035),
        0 0 120px rgba(255, 255, 255, .04);
}

.orb::before,
.orb::after {
    content: "";
    position: absolute;
    inset: 14%;
    border: 1px dashed rgba(255, 255, 255, .25);
    border-radius: 50%;
    animation: spin 18s linear infinite;
}

.orb::after {
    inset: 34%;
    border-style: solid;
    animation-duration: 9s;
    animation-direction: reverse;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.project-overlay {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: 34px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .94));
}

.project-tag {
    margin-bottom: 13px;
    color: #aaa;
    font-size: .72rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.project-overlay h3 {
    font-size: clamp(2rem, 4vw, 4.2rem);
    font-weight: 600;
}

.project-overlay p {
    max-width: 650px;
    margin-top: 13px;
    color: #aaa;
    line-height: 1.65;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}

.metric {
    min-height: 310px;
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #080808;
}

.metric strong {
    font: 700 clamp(3.5rem, 7vw, 7rem) "Manrope";
    letter-spacing: -.08em;
}

.metric p {
    color: var(--muted);
    line-height: 1.55;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 55px;
    border-top: 1px solid var(--line);
    background: var(--line);
}

.process-item {
    min-height: 330px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg);
    transition: background .3s, color .3s;
}

.process-item:hover {
    background: #fff;
    color: #000;
}

.process-item span {
    color: #666;
    font-size: .75rem;
    letter-spacing: .12em;
}

.process-item h3 {
    margin-bottom: 14px;
    font-size: 1.6rem;
    letter-spacing: -.04em;
}

.process-item p {
    color: var(--muted);
    line-height: 1.65;
    font-size: .9rem;
}

.contact {
    text-align: center;
}

.contact h2 {
    max-width: 1100px;
    margin: auto;
    font-size: clamp(4rem, 9vw, 9.5rem);
}

.contact-link {
    position: relative;
    display: inline-block;
    margin-top: 45px;
    padding-bottom: 8px;
    font: 500 clamp(1.1rem, 2vw, 1.7rem) "Manrope";
}

.contact-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #fff;
    transform-origin: right;
    transition: transform .35s var(--ease);
}

.contact-link:hover::after {
    transform: scaleX(0);
}

.contact-footer {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    color: #666;
    font-size: .75rem;
    margin-top: 100px;
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    filter: blur(8px);
    transition:
        opacity .9s var(--ease),
        transform .9s var(--ease),
        filter .9s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

@media (max-width: 1000px) {
    :root {
        --sidebar: 0px;
    }

    body {
        cursor: auto;
    }

    .cursor,
    .cursor-ring,
    .side-nav {
        display: none;
    }

    main {
        margin-left: 0;
    }

    .progress {
        left: 0;
    }

    .mobile-nav {
        position: fixed;
        top: 14px;
        left: 14px;
        right: 14px;
        z-index: 250;
        height: 62px;
        padding: 0 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(6, 6, 6, .78);
        backdrop-filter: blur(22px);
    }

    .mobile-brand {
        font: 800 .95rem "Manrope";
        letter-spacing: .15em;
    }

    .mobile-nav a:last-child {
        color: #aaa;
        font-size: .78rem;
    }

    .section {
        padding-top: 100px;
    }

    .hero-grid,
    .services-layout {
        grid-template-columns: 1fr;
    }

    .hero-meta {
        max-width: 500px;
    }

    .services-intro {
        position: static;
    }

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

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

@media (max-width: 700px) {
    .section {
        min-height: auto;
        padding: 110px 20px 80px;
    }

    .hero {
        min-height: 100svh;
    }

    h1 {
        font-size: clamp(2.2rem, 11vw, 4.2rem);
        line-height: .96;
        letter-spacing: -.04em;
        max-width: 100%;
    }

    h2 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .section-index,
    .scroll-note {
        display: none;
    }

    .service-row {
        min-height: 150px;
        grid-template-columns: 42px 1fr;
    }

    .service-row .arrow {
        display: none;
    }

    .project-card {
        flex-basis: 86vw;
        height: 520px;
    }

    .project-overlay {
        padding: 25px;
    }

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

    .metric {
        min-height: 240px;
    }

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

    .process-item {
        min-height: 240px;
    }

    .contact {
        min-height: 100svh;
    }

    .contact-footer {
        position: static;
        margin-top: 100px;
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

.section.contact {
    position: relative;
    min-height: 100vh;
    padding: 60px clamp(24px, 5vw, 84px) 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    box-sizing: border-box;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: start;
    text-align: left;
    width: 100%;
}

.contact-grid h2 {
    margin: 0;
    font-size: clamp(2.5rem, 6.5vw, 5.5rem);
    line-height: 1.05;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 30px;
    width: 100%;
}

.contact-link {
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    font-weight: 500;
    color: #fff;
    word-break: break-word;
    max-width: 100%;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
    width: 100%;
}

.social-links .button {
    padding: 10px 18px;
    font-size: 0.85rem;
    white-space: nowrap;
    border-radius: 999px;
}

.contact-form-wrapper {
    background: var(--panel);
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    width: 100%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    box-sizing: border-box;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group label {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, background 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-footer {
    position: relative;
    width: 100%;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: #666;
    font-size: 0.78rem;
    box-sizing: border-box;
}

@media (max-width: 990px) {
    .section.contact {
        min-height: auto;
        padding-top: 110px !important;
        padding-bottom: 50px;
    }

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

    .contact-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .section.contact {
        padding-top: 100px !important;
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact-grid h2 {
        font-size: clamp(2rem, 9vw, 3.2rem);
    }

    .contact-form-wrapper {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .social-links {
        gap: 8px;
    }

    .social-links .button {
        padding: 9px 14px;
        font-size: 0.8rem;
    }

    .contact-footer {
        margin-top: 40px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
        align-items: center;
    }
}