/* =========================================================
   KAUSHIK PORTFOLIO
   DARK / CLEAN / ROUNDED / RESPONSIVE
========================================================= */

:root {
    --bg: #070707;
    --surface: #0d0d0d;
    --surface-2: #121212;

    --text: #f3f3ef;
    --muted: #898985;
    --dim: #50504d;

    --border: #232323;
    --border-strong: #333331;

    --accent: #a78bfa;
    --accent-soft: rgba(167,139,250,.10);

    --display: "Space Grotesk", sans-serif;
    --body: "DM Sans", sans-serif;

    --container: 1080px;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;

    --transition: .3s cubic-bezier(.2,.7,.2,1);
}


/* =========================================================
   LIGHT MODE
========================================================= */

body.light {
    --bg: #f2f2ee;
    --surface: #ffffff;
    --surface-2: #e8e8e3;

    --text: #101010;
    --muted: #666661;
    --dim: #969690;

    --border: #d9d9d3;
    --border-strong: #c7c7c1;

    --accent: #7356d4;
    --accent-soft: rgba(115,86,212,.08);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    background: var(--bg);
    color: var(--text);

    font-family: var(--body);

    overflow-x: hidden;

    cursor: none;

    transition:
        background .35s ease,
        color .35s ease;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: none;
}

::selection {
    background: var(--text);
    color: var(--bg);
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-strong);
}


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.section,
.navbar,
footer {
    width: min(
        var(--container),
        calc(100% - 42px)
    );

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   LOADER
========================================================= */

.loader {
    position: fixed;
    inset: 0;

    z-index: 99999;

    background: #070707;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        opacity .7s ease,
        visibility .7s ease;
}

.loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    width: 210px;
    text-align: center;
}

.loader-logo {
    color: #fff;

    font-family: var(--display);

    font-size: 52px;
    font-weight: 700;

    letter-spacing: -5px;
}

.loader-line {
    width: 100%;
    height: 1px;

    margin-top: 22px;

    background: #292929;

    overflow: hidden;
}

.loader-line span {
    display: block;

    width: 100%;
    height: 100%;

    background: #fff;

    transform: translateX(-100%);

    animation:
        loading 1.3s
        cubic-bezier(.6,0,.3,1)
        forwards;
}

.loader-inner p {
    margin-top: 11px;

    color: #5c5c5c;

    font-size: 7px;

    letter-spacing: 2px;
}

@keyframes loading {
    to {
        transform: translateX(0);
    }
}


/* =========================================================
   CUSTOM CURSOR
========================================================= */

.cursor-dot {
    position: fixed;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #fff;

    pointer-events: none;

    z-index: 100001;

    transform:
        translate(-50%, -50%);
}

.cursor-ring {
    position: fixed;

    width: 31px;
    height: 31px;

    border:
        1px solid rgba(255,255,255,.55);

    border-radius: 50%;

    pointer-events: none;

    z-index: 100000;

    transform:
        translate(-50%, -50%);

    transition:
        width .25s ease,
        height .25s ease,
        background .25s ease,
        border-color .25s ease;
}

body.light .cursor-dot {
    background: #080808;
}

body.light .cursor-ring {
    border-color: rgba(0,0,0,.45);
}

.cursor-ring.hover {
    width: 52px;
    height: 52px;

    background:
        rgba(255,255,255,.07);

    border-color:
        rgba(255,255,255,.9);
}

body.light .cursor-ring.hover {
    background:
        rgba(0,0,0,.06);

    border-color:
        rgba(0,0,0,.75);
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;

    top: 16px;
    left: 50%;

    transform: translateX(-50%);

    height: 61px;

    z-index: 1000;

    padding: 0 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        rgba(13,13,13,.78);

    backdrop-filter:
        blur(18px);
}

body.light .navbar {
    background:
        rgba(255,255,255,.82);
}

.logo {
    font-family: var(--display);

    font-size: 19px;
    font-weight: 700;

    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    position: relative;

    color: var(--muted);

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition:
        color .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 1px;

    background:
        var(--accent);

    transition:
        width .25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.theme-toggle {
    width: 31px;
    height: 31px;

    border:
        1px solid var(--border);

    background:
        var(--surface);

    color:
        var(--text);

    border-radius:
        8px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;

    transition:
        var(--transition);
}

.theme-toggle:hover {
    border-color: var(--accent);
    transform: rotate(20deg);
}

.nav-button {
    padding: 9px 12px;

    display: flex;
    align-items: center;

    gap: 7px;

    border:
        1px solid var(--border-strong);

    border-radius:
        8px;

    background:
        var(--text);

    color:
        var(--bg);

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition:
        var(--transition);
}

.nav-button:hover {
    transform: translateY(-2px);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.menu-button {
    display: none;

    width: 31px;
    height: 31px;

    border:
        1px solid var(--border);

    border-radius: 8px;

    background:
        var(--surface);

    padding: 0;
}

.menu-button span {
    display: block;

    width: 16px;
    height: 1px;

    margin: 4px auto;

    background: var(--text);

    transition:
        var(--transition);
}

.menu-button.open span:first-child {
    transform:
        translateY(2.5px)
        rotate(45deg);
}

.menu-button.open span:last-child {
    transform:
        translateY(-2.5px)
        rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;

    z-index: 900;

    background:
        var(--bg);

    padding: 120px 28px 40px;

    display: flex;
    flex-direction: column;

    gap: 18px;

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-10px);

    transition:
        var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0);
}

.mobile-menu a {
    font-family: var(--display);

    font-size: 34px;

    letter-spacing: -.06em;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    padding-top: 125px;
    padding-bottom: 60px;

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(360px,.85fr);

    gap: 50px;

    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.availability {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 11px;

    border:
        1px solid var(--border);

    border-radius:
        999px;

    color:
        var(--muted);

    text-transform:
        uppercase;

    font-size: 7px;

    letter-spacing: 1.3px;

    margin-bottom: 22px;
}

.availability span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--accent);

    box-shadow:
        0 0 0 4px
        var(--accent-soft);
}

.hero-small {
    color: var(--muted);

    font-size: 8px;

    letter-spacing: 1.7px;

    margin-bottom: 13px;
}

.hero h1 {
    font-family:
        var(--display);

    font-size:
        clamp(
            52px,
            6.9vw,
            88px
        );

    line-height: .86;

    letter-spacing: -.075em;

    font-weight: 600;
}

.hero h1 span {
    color:
        var(--accent);

    display: inline-block;
}

.hero h1 em {
    display: block;

    color: transparent;

    font-style: normal;

    -webkit-text-stroke:
        1px var(--text);
}

.hero-description {
    max-width: 560px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.75;

    margin-top: 27px;
}

.hero-description strong {
    color: var(--text);
}

.hero-buttons {
    display: flex;

    gap: 8px;

    margin-top: 28px;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    padding: 11px 14px;

    border-radius: 9px;

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: .9px;

    transition:
        var(--transition);
}

.primary-button {
    background:
        var(--accent);

    color:
        #090909;
}

.secondary-button {
    border:
        1px solid var(--border);

    color:
        var(--text);
}

.primary-button:hover,
.secondary-button:hover {
    transform:
        translateY(-3px);
}

.secondary-button:hover {
    border-color:
        var(--accent);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    height: 505px;
}

.visual-card {
    position: absolute;

    width: 250px;

    padding: 8px;

    border:
        1px solid var(--border-strong);

    border-radius: 16px;

    background:
        var(--surface);

    box-shadow:
        0 20px 70px rgba(0,0,0,.2);
}

.visual-card img {
    width: 100%;
    height: calc(100% - 24px);

    object-fit: cover;

    border-radius: 10px;
}

.card-one {
    height: 325px;

    right: 38px;
    top: 44px;

    z-index: 2;

    transform: rotate(5deg);
}

.card-two {
    height: 325px;

    right: 170px;
    top: 103px;

    transform: rotate(-6deg);
}

.card-label {
    padding:
        3px 5px 8px;

    color:
        var(--muted);

    font-size:
        6px;

    letter-spacing:
        1.1px;
}

.hero-circle {
    position: absolute;

    width: 82px;
    height: 82px;

    right: 0;
    bottom: 38px;

    z-index: 5;

    border-radius: 50%;

    background:
        var(--accent);

    color:
        #090909;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 1px;

    animation:
        float 4s ease-in-out infinite;
}

.hero-circle b {
    margin-top: 5px;
    font-size: 14px;
}

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* =========================================================
   STATS
========================================================= */

.stats {
    width: 100%;

    display:
        grid;

    grid-template-columns:
        repeat(4,1fr);

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}

.stat {
    padding:
        30px max(
            20px,
            calc((100vw - var(--container)) / 2)
        );

    border-right:
        1px solid var(--border);
}

.stat:last-child {
    border-right:
        0;
}

.stat strong {
    display: flex;
    align-items: baseline;

    font-family:
        var(--display);

    font-size:
        clamp(34px,3.8vw,51px);

    letter-spacing:
        -.06em;
}

.stat strong > span:last-child {
    color:
        var(--accent);

    font-family:
        var(--body);

    font-size:
        10px;

    margin-left:
        3px;
}

.stat p {
    margin-top:
        7px;

    color:
        var(--muted);

    font-size:
        8px;

    text-transform:
        uppercase;

    letter-spacing:
        1.2px;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding-top:
        110px;

    padding-bottom:
        110px;
}

.eyebrow {
    color:
        var(--accent);

    text-transform:
        uppercase;

    font-size:
        8px;

    letter-spacing:
        1.8px;

    font-weight:
        700;

    margin-bottom:
        17px;
}

.section-heading {
    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        40px;

    margin-bottom:
        38px;
}

.section-heading h2,
.process-header h2,
.contact-heading h2,
.about-content h2 {
    font-family:
        var(--display);

    font-size:
        clamp(42px,5vw,65px);

    line-height:
        .9;

    letter-spacing:
        -.07em;
}

.section-heading h2 span,
.process-header h2 span,
.contact-heading h2 span,
.about-content h2 span {
    color:
        var(--accent);
}

.section-intro {
    max-width:
        275px;

    color:
        var(--muted);

    font-size:
        10px;

    line-height:
        1.75;
}


/* =========================================================
   FILTERS
========================================================= */

.filter-buttons {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        6px;

    margin-bottom:
        22px;
}

.filter {
    padding:
        7px 11px;

    border:
        1px solid var(--border);

    background:
        var(--surface);

    color:
        var(--muted);

    border-radius:
        8px;

    font-size:
        7px;

    text-transform:
        uppercase;

    letter-spacing:
        1px;

    transition:
        var(--transition);
}

.filter:hover,
.filter.active {
    background:
        var(--text);

    color:
        var(--bg);

    border-color:
        var(--text);
}


/* =========================================================
   PROJECT GRID
========================================================= */

.projects-grid {
    display:
        grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:
        28px;

    max-width:
        900px;

    margin:
        0 auto;
}

.project-card {
    min-width: 0;

    transition:
        opacity .3s ease,
        transform .3s ease;
}

.project-card.hidden {
    opacity: 0;
    transform:
        scale(.97);
}


/* =========================================================
   PROJECT FRAMES
========================================================= */

.project-image {
    position: relative;

    width: 100%;

    padding: 6px;

    overflow: hidden;

    background:
        var(--surface);

    border:
        1px solid var(--border-strong);

    border-radius:
        var(--radius);

    transition:
        border-color .3s ease,
        transform .3s ease;
}

.project-card:hover .project-image {
    border-color:
        #444440;

    transform:
        translateY(-3px);
}


/* EXACT 4:5 POSTER RATIO */

.poster-image {
    aspect-ratio:
        4 / 5;
}


/* EXACT 16:9 THUMBNAIL RATIO */

.thumbnail-image {
    aspect-ratio:
        16 / 9;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius:
        10px;

    transition:
        transform .6s cubic-bezier(.2,.7,.2,1),
        filter .4s ease;
}

.project-card:hover
.project-image img {
    transform:
        scale(1.035);

    filter:
        brightness(.58);
}

.project-overlay {
    position:
        absolute;

    inset:
        6px;

    border-radius:
        10px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    color:
        #080808;

    font-size:
        7px;

    font-weight:
        700;

    letter-spacing:
        1px;

    opacity:
        0;

    background:
        rgba(0,0,0,.18);

    transition:
        opacity .3s ease;
}

.project-overlay::before {
    content:
        "";

    position:
        absolute;

    width:
        68px;

    height:
        68px;

    border-radius:
        50%;

    background:
        #fff;

    z-index:
        -1;
}

.project-card:hover
.project-overlay {
    opacity:
        1;
}

.project-info {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;

    padding:
        11px 2px 0;
}

.project-info h3 {
    font-family:
        var(--display);

    font-size:
        13px;

    font-weight:
        500;
}

.project-info p {
    margin-top:
        4px;

    color:
        var(--dim);

    font-size:
        8px;
}

.view-project {
    width:
        31px;

    height:
        31px;

    flex-shrink:
        0;

    border:
        1px solid var(--border);

    background:
        var(--surface);

    color:
        var(--text);

    border-radius:
        50%;

    transition:
        var(--transition);
}

.view-project:hover {
    background:
        var(--accent);

    color:
        #080808;

    border-color:
        var(--accent);

    transform:
        rotate(45deg);
}


/* =========================================================
   MARQUEE
========================================================= */

.marquee {
    width:
        100%;

    overflow:
        hidden;

    padding:
        18px 0;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    white-space:
        nowrap;
}

.marquee-track {
    width:
        max-content;

    display:
        flex;

    align-items:
        center;

    gap:
        23px;

    animation:
        marquee 26s linear infinite;
}

.marquee-track span {
    font-family:
        var(--display);

    font-size:
        12px;

    font-weight:
        600;

    letter-spacing:
        .8px;
}

.marquee-track b {
    color:
        var(--accent);

    font-size:
        9px;
}

@keyframes marquee {
    to {
        transform:
            translateX(-50%);
    }
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    display:
        grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap:
        75px;

    align-items:
        center;
}

.about-image {
    position:
        relative;

    max-width:
        390px;
}

.about-monogram {
    height:
        470px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    overflow:
        hidden;

    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(167,139,250,.25),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #242424,
            #090909
        );

    display:
        flex;

    align-items:
        center;
    justify-content:
        center;
}

body.light .about-monogram {
    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(115,86,212,.14),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #ddddda,
            #f4f4f0
        );
}

.about-monogram span {
    font-family:
        var(--display);

    font-size:
        clamp(90px,10vw,145px);

    font-weight:
        700;

    color:
        transparent;

    -webkit-text-stroke:
        1px var(--muted);

    letter-spacing:
        -.08em;

    transform:
        rotate(-8deg);
}

.about-badge {
    position:
        absolute;

    right:
        -22px;

    bottom:
        25px;

    width:
        105px;

    height:
        105px;

    border-radius:
        50%;

    background:
        var(--accent);

    color:
        #090909;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    flex-direction:
        column;

    text-align:
        center;
}

.about-badge strong {
    font-family:
        var(--display);

    font-size:
        16px;
}

.about-badge span {
    font-size:
        6px;

    letter-spacing:
        1.2px;

    line-height:
        1.5;

    margin-top:
        4px;
}

.about-content > p:not(.eyebrow) {
    max-width:
        560px;

    margin-top:
        21px;

    color:
        var(--muted);

    font-size:
        11px;

    line-height:
        1.8;
}

.about-content > p strong {
    color:
        var(--text);
}

.about-quote {
    color:
        var(--text) !important;
}

.about-details {
    margin-top:
        38px;

    display:
        grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:
        15px;
}

.about-details div {
    padding-top:
        12px;

    border-top:
        1px solid var(--border);
}

.about-details span {
    display:
        block;

    color:
        var(--dim);

    font-size:
        7px;

    text-transform:
        uppercase;

    letter-spacing:
        1.2px;

    margin-bottom:
        6px;
}

.about-details strong {
    font-size:
        9px;

    font-weight:
        500;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    border-top:
        1px solid var(--border);
}

.services-list {
    border-top:
        1px solid var(--border);
}

.service {
    display:
        grid;

    grid-template-columns:
        40px 1fr 1fr 35px;

    gap:
        20px;

    align-items:
        center;

    padding:
        25px 0;

    border-bottom:
        1px solid var(--border);

    transition:
        var(--transition);
}

.service:hover {
    background:
        linear-gradient(
            90deg,
            var(--accent-soft),
            transparent
        );

    padding-left:
        12px;

    padding-right:
        12px;
}

.service-number {
    color:
        var(--dim);

    font-size:
        7px;
}

.service-main {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;
}

.service-main h3 {
    font-family:
        var(--display);

    font-size:
        21px;

    font-weight:
        500;

    letter-spacing:
        -.04em;
}

.service-main p {
    max-width:
        300px;

    color:
        var(--muted);

    font-size:
        9px;

    line-height:
        1.65;
}

.service-arrow {
    width:
        33px;

    height:
        33px;

    border:
        1px solid var(--border);

    border-radius:
        50%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    color:
        var(--muted);

    transition:
        var(--transition);
}

.service:hover .service-arrow {
    background:
        var(--accent);

    color:
        #090909;

    border-color:
        var(--accent);

    transform:
        rotate(45deg);
}


/* =========================================================
   PROCESS
========================================================= */

.process {
    border-top:
        1px solid var(--border);
}

.process-header {
    margin-bottom:
        50px;
}

.process-grid {
    display:
        grid;

    grid-template-columns:
        repeat(4,1fr);

    border-top:
        1px solid var(--border);
}

.process-step {
    min-height:
        220px;

    padding:
        22px;

    border-right:
        1px solid var(--border);
}

.process-step:first-child {
    border-left:
        1px solid var(--border);
}

.process-step > span {
    color:
        var(--accent);

    font-size:
        8px;
}

.process-step h3 {
    font-family:
        var(--display);

    font-size:
        21px;

    margin-top:
        52px;
}

.process-step p {
    color:
        var(--muted);

    font-size:
        9px;

    line-height:
        1.65;

    margin-top:
        9px;
}


/* =========================================================
   REVIEWS
========================================================= */

.reviews {
    border-top:
        1px solid var(--border);

    overflow:
        hidden;
}

.review-score {
    text-align:
        right;
}

.review-score strong {
    font-family:
        var(--display);

    font-size:
        57px;

    letter-spacing:
        -.07em;
}

.review-score div {
    color:
        var(--accent);

    font-size:
        11px;

    letter-spacing:
        2px;

    margin-top:
        -6px;
}

.review-score span {
    display:
        block;

    margin-top:
        5px;

    color:
        var(--muted);

    font-size:
        8px;
}

.reviews-window {
    width:
        100vw;

    margin-left:
        calc(
            (min(
                var(--container),
                calc(100% - 42px)
            ) - 100vw) / 2
        );

    overflow:
        hidden;
}

.reviews-track {
    width:
        max-content;

    display:
        flex;

    gap:
        12px;

    animation:
        reviewsLoop 50s linear infinite;
}

.reviews-track:hover {
    animation-play-state:
        paused;
}

.review-card {
    width:
        310px;

    min-height:
        210px;

    flex-shrink:
        0;

    padding:
        19px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        var(--surface);
}

.stars {
    color:
        var(--accent);

    font-size:
        9px;

    letter-spacing:
        2px;
}

.review-card > p {
    font-family:
        var(--display);

    font-size:
        11px;

    line-height:
        1.65;

    color:
        var(--text);

    margin-top:
        23px;
}

.review-author {
    display:
        flex;

    align-items:
        center;

    gap:
        9px;

    margin-top:
        25px;
}

.avatar {
    width:
        32px;

    height:
        32px;

    flex-shrink:
        0;

    border:
        1px solid var(--border);

    border-radius:
        50%;

    background:
        var(--surface-2);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    font-family:
        var(--display);

    font-size:
        10px;

    font-weight:
        700;
}

.review-author strong {
    display:
        block;

    font-size:
        9px;
}

.review-author span {
    display:
        block;

    color:
        var(--dim);

    font-size:
        7px;

    margin-top:
        3px;
}

@keyframes reviewsLoop {
    to {
        transform:
            translateX(-50%);
    }
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    border-top:
        1px solid var(--border);
}

.contact-container {
    display:
        grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap:
        90px;
}

.contact-heading > p:last-of-type {
    max-width:
        400px;

    margin-top:
        22px;

    color:
        var(--muted);

    font-size:
        11px;

    line-height:
        1.75;
}

.direct-contact {
    margin-top:
        35px;

    padding-top:
        14px;

    border-top:
        1px solid var(--border);

    max-width:
        430px;
}

.direct-contact span {
    display:
        block;

    color:
        var(--dim);

    font-size:
        7px;

    letter-spacing:
        1.5px;

    margin-bottom:
        8px;
}

.direct-contact a {
    font-family:
        var(--display);

    font-size:
        14px;
}

.contact-form {
    border-top:
        1px solid var(--border);
}

.input-group {
    padding:
        17px 0;

    border-bottom:
        1px solid var(--border);
}

.input-group label {
    display:
        block;

    color:
        var(--muted);

    font-size:
        7px;

    letter-spacing:
        1px;

    margin-bottom:
        8px;
}

.input-group input,
.input-group textarea,
.input-group select {
    width:
        100%;

    border:
        0;

    outline:
        none;

    background:
        transparent;

    color:
        var(--text);

    font-size:
        11px;
}

.input-group textarea {
    min-height:
        100px;

    resize:
        vertical;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color:
        var(--dim);
}

.input-group select option {
    background:
        #111;

    color:
        #fff;
}

.submit-button {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        22px;

    padding:
        11px 15px;

    margin-top:
        20px;

    border-radius:
        8px;

    background:
        var(--accent);

    color:
        #090909;

    font-size:
        8px;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        1px;

    transition:
        var(--transition);
}

.submit-button:hover {
    transform:
        translateY(-3px);
}

.form-message {
    min-height:
        20px;

    margin-top:
        12px;

    font-size:
        8px;
}

.form-message.success {
    color:
        var(--accent);
}

.form-message.error {
    color:
        #ff7272;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    border-top:
        1px solid var(--border);

    padding:
        35px 0 18px;
}

.footer-top {
    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        50px;
}

.footer-brand p {
    margin-top:
        10px;

    color:
        var(--muted);

    font-size:
        9px;
}

.footer-links {
    display:
        flex;

    gap:
        70px;
}

.footer-links div {
    display:
        flex;

    flex-direction:
        column;

    gap:
        8px;
}

.footer-links span {
    color:
        var(--dim);

    font-size:
        7px;

    letter-spacing:
        1.2px;

    text-transform:
        uppercase;

    margin-bottom:
        4px;
}

.footer-links a {
    color:
        var(--muted);

    font-size:
        9px;

    transition:
        color .2s ease,
        transform .2s ease;
}

.footer-links a:hover {
    color:
        var(--text);

    transform:
        translateX(3px);
}

.footer-bottom {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    border-top:
        1px solid var(--border);

    margin-top:
        48px;

    padding-top:
        13px;

    color:
        var(--dim);

    font-size:
        6.5px;

    letter-spacing:
        1px;
}


/* =========================================================
   MODAL
========================================================= */

.modal {
    position:
        fixed;

    inset:
        0;

    z-index:
        5000;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    opacity:
        0;

    visibility:
        hidden;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.modal.show {
    opacity:
        1;

    visibility:
        visible;
}

.modal-overlay {
    position:
        absolute;

    inset:
        0;

    background:
        rgba(0,0,0,.82);

    backdrop-filter:
        blur(14px);
}

.modal-content {
    position:
        relative;

    z-index:
        2;

    width:
        min(
            820px,
            calc(100% - 30px)
        );

    max-height:
        88vh;

    overflow:
        auto;

    display:
        grid;

    grid-template-columns:
        1.05fr .95fr;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    background:
        var(--surface);
}

.modal-image {
    padding:
        8px;

    background:
        var(--surface-2);
}

.modal-image img {
    width:
        100%;

    max-height:
        78vh;

    object-fit:
        contain;

    border-radius:
        11px;
}

.modal-details {
    align-self:
        center;

    padding:
        35px;
}

.modal-close {
    position:
        absolute;

    top:
        12px;

    right:
        12px;

    width:
        32px;

    height:
        32px;

    border:
        1px solid rgba(255,255,255,.25);

    border-radius:
        50%;

    background:
        rgba(0,0,0,.6);

    color:
        #fff;

    font-size:
        19px;

    z-index:
        5;
}

.modal-details h2 {
    font-family:
        var(--display);

    font-size:
        40px;

    line-height:
        .95;

    letter-spacing:
        -.06em;
}

.modal-details > p:not(.eyebrow) {
    margin-top:
        18px;

    color:
        var(--muted);

    font-size:
        10px;

    line-height:
        1.7;
}

.modal-tags {
    display:
        flex;

    gap:
        6px;

    flex-wrap:
        wrap;

    margin-top:
        22px;
}

.modal-tags span {
    padding:
        6px 8px;

    border:
        1px solid var(--border);

    border-radius:
        7px;

    color:
        var(--muted);

    font-size:
        7px;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity:
        0;

    transform:
        translateY(18px);

    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal.revealed {
    opacity:
        1;

    transform:
        translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .section,
    .navbar,
    footer {
        width:
            calc(100% - 30px);
    }

    .nav-links,
    .nav-button {
        display:
            none;
    }

    .menu-button {
        display:
            block;
    }

    .hero {
        grid-template-columns:
            1fr;

        min-height:
            auto;

        gap:
            35px;

        padding-top:
            125px;
    }

    .hero-visual {
        height:
            440px;
    }

    .card-one,
    .card-two {
        width:
            230px;

        height:
            300px;
    }

    .card-one {
        right:
            24%;
    }

    .card-two {
        right:
            37%;
    }

    .hero-circle {
        right:
            12%;

        bottom:
            20px;
    }

    .about {
        grid-template-columns:
            1fr;

        gap:
            50px;
    }

    .about-image {
        max-width:
            420px;
    }

    .contact-container {
        grid-template-columns:
            1fr;

        gap:
            55px;
    }

    .process-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .process-step:nth-child(odd) {
        border-left:
            1px solid var(--border);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    body {
        cursor:
            auto;
    }

    button,
    .filter {
        cursor:
            pointer;
    }

    .cursor-dot,
    .cursor-ring {
        display:
            none;
    }

    .section,
    footer {
        width:
            calc(100% - 24px);
    }

    .navbar {
        width:
            calc(100% - 18px);

        top:
            9px;

        height:
            55px;
    }

    .logo {
        font-size:
            16px;
    }

    .hero {
        padding-top:
            100px;

        padding-bottom:
            50px;
    }

    .hero h1 {
        font-size:
            clamp(
                45px,
                14vw,
                72px
            );
    }

    .hero-description {
        font-size:
            10px;
    }

    .hero-buttons {
        flex-direction:
            column;

        width:
            100%;
    }

    .hero-buttons a {
        width:
            100%;
    }

    .hero-visual {
        height:
            350px;
    }

    .visual-card {
        width:
            190px;

        padding:
            6px;
    }

    .card-one,
    .card-two {
        height:
            255px;
    }

    .card-one {
        right:
            5%;

        top:
            18px;
    }

    .card-two {
        right:
            25%;

        top:
            70px;
    }

    .hero-circle {
        width:
            67px;

        height:
            67px;

        right:
            0;

        bottom:
            5px;
    }

    .stats {
        grid-template-columns:
            repeat(2,1fr);
    }

    .stat {
        padding:
            23px 15px;
    }

    .stat:nth-child(odd) {
        border-right:
            1px solid var(--border);
    }

    .stat:nth-child(-n+2) {
        border-bottom:
            1px solid var(--border);
    }

    .stat strong {
        font-size:
            32px;
    }

    .section {
        padding-top:
            80px;

        padding-bottom:
            80px;
    }

    .section-heading {
        display:
            block;
    }

    .section-heading h2,
    .process-header h2,
    .contact-heading h2,
    .about-content h2 {
        font-size:
            43px;
    }

    .section-intro {
        margin-top:
            20px;

        font-size:
            9px;
    }

    .projects-grid {
        grid-template-columns:
            1fr;

        max-width:
            360px;

        gap:
            29px;
    }

    /* EXACT POSTER RATIO */
    .poster-image {
        aspect-ratio:
            4 / 5;
    }

    /* EXACT THUMBNAIL RATIO */
    .thumbnail-image {
        aspect-ratio:
            16 / 9;
    }

    .about-monogram {
        height:
            390px;
    }

    .about-badge {
        right:
            0;

        width:
            90px;

        height:
            90px;
    }

    .about-details {
        grid-template-columns:
            1fr;
    }

    .service {
        grid-template-columns:
            25px 1fr 30px;

        gap:
            10px;

        align-items:
            start;
    }

    .service-main {
        display:
            block;
    }

    .service-main h3 {
        font-size:
            18px;
    }

    .service-main p {
        max-width:
            280px;

        margin-top:
            6px;
    }

    .service-arrow {
        width:
            30px;

        height:
            30px;
    }

    .process-grid {
        grid-template-columns:
            1fr;
    }

    .process-step {
        min-height:
            180px;
    }

    .process-step h3 {
        margin-top:
            40px;
    }

    .review-score {
        text-align:
            left;

        margin-top:
            25px;
    }

    .review-score strong {
        font-size:
            50px;
    }

    .review-card {
        width:
            285px;

        min-height:
            195px;
    }

    .contact-container {
        gap:
            45px;
    }

    .direct-contact a {
        font-size:
            11px;

        overflow-wrap:
            anywhere;
    }

    .footer-top {
        flex-direction:
            column;

        gap:
            30px;
    }

    .footer-links {
        gap:
            40px;
    }

    .footer-bottom {
        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            8px;
    }

    .modal-content {
        grid-template-columns:
            1fr;

        max-height:
            92vh;
    }

    .modal-image img {
        max-height:
            52vh;
    }

    .modal-details {
        padding:
            25px;
    }

    .modal-details h2 {
        font-size:
            34px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior:
            auto !important;

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;
    }

}