:root {
    --vvw-bg: #060d0b;
    --vvw-white: #eef3f0;
    --vvw-muted: #a9bab3;
    --vvw-soft: #8fa39b;
    --vvw-green: #f4c976;
    --vvw-line: rgba(238, 243, 240, .12);
    --vvw-mono: 'JetBrains Mono', monospace;
    --vvw-display: 'Outfit', system-ui, sans-serif
}

.vv-work-page {
    position: relative;
    overflow: hidden;
    /* background: var(--vvw-bg); */
    background-color: #000104;
    color: var(--vvw-white);
    /* font-family: var(--vvw-display); */
    -webkit-font-smoothing: antialiased
}

.vv-work-page *,
.vv-work-page *:before,
.vv-work-page *:after {
    box-sizing: border-box
}

.vv-work-page a {
    color: inherit;
    text-decoration: none
}

.vv-work-page button {
    font: inherit
}

.vv-work-page img {
    max-width: 100%
}

.vv-work-kicker {
    font: 500 12px/1.5 var(--vvw-mono);
    letter-spacing: .2em;
    color: #f4c976;
    text-transform: uppercase
}

.vv-work-hero {
    padding: 160px 0 50px;
}

.vv-work-hero-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px clamp(24px, 4vw, 60px);

}

.vv-work-hero h1,
.vv-work-hero h2 {
    margin: 0;
    font-size: clamp(3.3rem, 6.3vw, 6.6rem);
    line-height: .82;
    font-weight: 600;
    letter-spacing: -.05em -7px;
    text-align: center;
}

.vv-work-hero h1 span {
    background: linear-gradient(100deg, #fff 0%, #1c88d7 82%, #0a446e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vv-work-intro {
    max-width: 60%;
    color: var(--vvw-muted);
    font-size: 17px;
    line-height: 1.55;
    text-wrap: pretty;
    text-align: center;
    margin: 0 auto;
}

.vv-work-hero-line-two {
    display: flex;
    gap: 16px clamp(24px, 4vw, 60px);
    flex-direction: column;
    justify-content: center;
}

.vv-work-hero h2 {
    line-height: .9;
    background: linear-gradient(100deg, #fff 0%, #1c88d7 82%, #0a446e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vv-work-hero-image {
    flex: 1 1 360px;
    max-width: 600px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 40px 80px -30px rgb(253 202 110 / 22%);
    transform: rotate(-2deg)
}

.vv-work-hero-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover
}

.vv-work-proof {
    margin-top: 30px;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: -.02em;
    text-wrap: pretty;
    text-align: center;
}

.vv-work-proof strong {
    color: #f4c976;
    font-weight: 600
}

.vv-work-marquee {
    margin: 30px 0 0;
    padding: 15px 0;
    overflow: hidden;
    border-top: 1px solid var(--vvw-line);
    border-bottom: 1px solid var(--vvw-line);
    white-space: nowrap
}

.vv-work-marquee-track {
    display: flex;
    width: max-content;
    animation: vvWorkMarquee 36s linear infinite
}

.vv-work-marquee:hover .vv-work-marquee-track {
    animation-play-state: paused
}

.vv-work-marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.vv-work-marquee-track i {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #f4c976;
    transform: rotate(45deg)
}

@keyframes vvWorkMarquee {
    to {
        transform: translateX(-50%)
    }
}

.vv-work-projects {
    padding: 80px 0;
}

.vv-work-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: clamp(24px, 4vw, 60px);
}

.vv-work-section-head h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 60px);
    line-height: .95;
    font-weight: 600;
    letter-spacing: -.04em;
    background: linear-gradient(100deg, #fff 0%, #1c88d7 82%, #0a446e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vv-work-section-head h2 span {
    color: #f4c976;
}

.vv-work-controls {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    max-width: 100%
}

.vv-work-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 26px
}

.vv-work-filter {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding: 4px 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--vvw-muted);
    font-size: 18px;
    cursor: pointer;
    transition: color .2s, border-color .2s
}

.vv-work-filter:hover,
.vv-work-filter.is-active {
    color: #f4c976;
    border-bottom-color: #f4c976;
}

.vv-work-filter sup {
    font: 400 10px var(--vvw-mono);
    color: var(--vvw-soft)
}

.vv-work-view-toggle {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(238, 243, 240, .06);
    font: 400 11px var(--vvw-mono);
    letter-spacing: .12em
}

.vv-work-view-toggle button {
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--vvw-muted);
    font: inherit;
    letter-spacing: inherit;
    cursor: pointer
}

.vv-work-view-toggle button.is-active {
    background: var(--vvw-green);
    color: var(--vvw-bg)
}

.vv-work-showcase {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.vv-work-case {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px clamp(32px, 5vw, 80px)
}

.vv-work-case.is-reversed {
    flex-direction: row-reverse
}

.vv-work-case[hidden],
.vv-work-index-row[hidden] {
    display: none !important
}

.vv-work-case-image {
    display: block;
    flex: 1.4 1 480px;
    overflow: hidden;
    border-radius: 6px;
    transform: rotate(-1deg);
    background: #0b1712
}

.vv-work-case.is-reversed .vv-work-case-image {
    transform: rotate(1deg)
}

.vv-work-case-image img {
    display: block;
    width: 100%;
    aspect-ratio: 2/1;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1)
}

.vv-work-case-image:hover img {
    transform: scale(1.06)
}

.vv-work-case-copy {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px
}

.vv-work-case-meta {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font: 400 12px var(--vvw-mono);
    letter-spacing: .16em
}

.vv-work-case-meta span:first-child {
    color: #f4c976;
    font-size: 14px
}

.vv-work-case-meta span:last-child {
    color: var(--vvw-soft)
}

.vv-work-case-meta i {
    width: 40px;
    height: 1px;
    background: #f4c976;
}

.vv-work-case h3 {
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1;
    font-weight: 600;
    letter-spacing: -.035em;
    text-wrap: balance;
    background: linear-gradient(100deg, #fff 0%, #1c88d7 82%, #0a446e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vv-work-case p {
    max-width: 460px;
    margin: 0;
    color: var(--vvw-muted);
    font-size: 17px;
    line-height: 1.6;
    text-wrap: pretty
}

.vv-work-tags {
    font: 400 12px/1.6 var(--vvw-mono);
    color: var(--vvw-soft);
    letter-spacing: .04em
}

.vv-work-tags b {
    padding: 0 6px;
    color: var(--vvw-green);
    font-weight: 400
}

.vv-work-explore {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    color: var(--vvw-green) !important;
    font-size: 16px
}

.vv-work-explore span {
    transition: transform .2s
}

.vv-work-explore:hover span {
    transform: translate(3px, -3px)
}

.vv-work-index {
    position: relative;
    border-bottom: 1px solid var(--vvw-line)
}

.vv-work-index-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(48px, 80px) minmax(0, 1fr) minmax(0, auto);
    gap: 12px 24px;
    align-items: baseline;
    padding: clamp(22px, 3vw, 36px) 0;
    border-top: 1px solid var(--vvw-line);
    transition: color .3s
}

.vv-work-index-row:hover {
    color: var(--vvw-white)
}

.vv-work-index-number {
    font: 400 13px var(--vvw-mono);
    color: var(--vvw-green)
}

.vv-work-index-title {
    font-size: clamp(28px, 4.2vw, 64px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.035em;
    transition: transform .4s cubic-bezier(.2, .7, .2, 1)
}

.vv-work-index-row:hover .vv-work-index-title {
    transform: translateX(16px)
}

.vv-work-index-category {
    font: 400 12px var(--vvw-mono);
    letter-spacing: .12em;
    color: var(--vvw-soft);
    text-align: right
}

.vv-work-index-preview {
    position: absolute;
    left: 50%;
    top: 50%;
    display: none;
    width: min(380px, 50vw);
    aspect-ratio: 2/1;
    object-fit: cover;
    border-radius: 8px;
    pointer-events: none;
    transform: translate(-50%, -50%) rotate(-4deg);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
    z-index: 3
}

.vv-work-index.has-preview .vv-work-index-preview {
    display: block
}

@media screen and (max-width:992px) {
    .vv-work-hero-image {
        flex: 1 1 360px;
        max-width: 360px;
    }

    .vv-work-case {
        flex-wrap: nowrap;
        gap: 25px clamp(25px, 4vw, 50px);
    }

    .vv-work-showcase {
        gap: 60px;
    }

    .vv-work-case-image {
        flex: 1.4 1 350px;
    }

    .vv-work-projects {
        padding: 50px 0;
    }
}

@media(max-width:760px) {
    .vv-work-hero-line-one {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px
    }

    .vv-work-hero h1,
    .vv-work-hero h2 {
        font-size: clamp(76px, 18vw, 140px)
    }

    .vv-work-hero-line-two {
        align-items: flex-start;
        flex-direction: column
    }

    .vv-work-hero-image {
        flex-basis: auto;
        width: 100%;
        margin-left: 4px
    }

    .vv-work-section-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 48px
    }

    .vv-work-controls {
        width: 100%
    }

    .vv-work-filters {
        gap: 8px 18px
    }

    .vv-work-filter {
        font-size: 15px
    }

    .vv-work-case,
    .vv-work-case.is-reversed {
        flex-direction: column;
        align-items: stretch;
        gap: 28px
    }

    .vv-work-case-image {
        flex: auto;
        width: calc(100% - 5px)
    }

    .vv-work-case-copy {
        flex: auto
    }

    .vv-work-case h3 {
        font-size: clamp(34px, 8vw, 52px)
    }

    .vv-work-case p {
        font-size: 16px
    }

    .vv-work-index-row {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px 16px
    }

    .vv-work-index-category {
        grid-column: 2;
        text-align: left;
        font-size: 10px
    }

    .vv-work-index-title {
        font-size: clamp(27px, 7vw, 44px)
    }
}

@media screen and (max-width:576px) {
    .vv-work-hero {
        padding: 120px 0 10px;
    }

    .vv-work-intro {
        max-width: 100%;
    }

    .vv-work-hero-line-one {
        text-align: center;
    }

    .vv-work-hero h1,
    .vv-work-hero h2 {
        font-size: clamp(36px, 4vw, 37px);
        text-align: center;
        width: 100%;
    }

    .vv-work-proof {
        font-size: 18px;
    }

    .vv-work-marquee {
        margin: 40px 0 0;
        padding: 20px 0;
    }

    .vv-work-case h3 {
        font-size: clamp(24px, 7vw, 32px);
    }

    .vv-work-showcase {
        gap: 40px;
    }
}

@media(max-width:440px) {
    .vv-work-kicker {
        font-size: 10px;
        letter-spacing: .14em
    }

    .vv-work-projects {
        padding-left: 18px;
        padding-right: 18px
    }

    .vv-work-filters {
        gap: 8px 14px
    }

    .vv-work-filter {
        font-size: 14px
    }

    .vv-work-view-toggle {
        font-size: 10px
    }

    .vv-work-case-meta {
        font-size: 10px;
        gap: 10px
    }

    .vv-work-case-meta i {
        width: 24px
    }

    .vv-work-tags {
        font-size: 10px
    }
}

@media(prefers-reduced-motion:reduce) {

    .vv-work-page *,
    .vv-work-page *:before,
    .vv-work-page *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important
    }
}


/* ==========================================================
   WORK PAGE MOTION LAYER — reveal, hover and scroll effects
   Append to assets/css/work.css
   ========================================================== */

.vv-work-page {
    --vv-motion-ease: cubic-bezier(.2, .75, .25, 1);
}

.vv-work-page .vv-motion-ready {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity .75s var(--vv-motion-ease), transform .75s var(--vv-motion-ease);
    transition-delay: var(--vv-reveal-delay, 0ms);
    will-change: opacity, transform;
}

.vv-work-page .vv-motion-ready.vv-motion-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.vv-work-page .vv-work-hero-line-one.vv-motion-ready {
    transform: translate3d(0, 34px, 0);
}

.vv-work-page .vv-work-hero-line-two.vv-motion-ready {
    transform: translate3d(0, 42px, 0);
}

.vv-work-page .vv-work-hero-line-one.vv-motion-in,
.vv-work-page .vv-work-hero-line-two.vv-motion-in {
    transform: translate3d(0, 0, 0);
}


/* Hero image: soft float, depth and scroll parallax variable. */

.vv-work-page .vv-work-hero-image {
    transform: translate3d(0, var(--vv-hero-parallax, 0px), 0) rotate(-2deg);
    transition: transform .65s var(--vv-motion-ease), box-shadow .5s ease, border-radius .5s ease;
    animation: vvWorkHeroFloat 7s ease-in-out 1.2s infinite;
}

.vv-work-page .vv-work-hero-image:hover {
    transform: translate3d(0, -7px, 0) rotate(0deg) scale(1.012);
    box-shadow: 0 46px 95px -26px rgb(224 187 52 / 31%);
    border-radius: 12px;
}

.vv-work-page .vv-work-hero-image img {
    transition: transform .9s var(--vv-motion-ease), filter .5s ease;
}

.vv-work-page .vv-work-hero-image:hover img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

@keyframes vvWorkHeroFloat {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -6px;
    }
}


/* Project image hover: lift the frame and smoothly zoom the image. */

.vv-work-page .vv-work-case-image {
    position: relative;
    isolation: isolate;
    transition: transform .55s var(--vv-motion-ease), box-shadow .55s ease, filter .55s ease;
}

.vv-work-page .vv-work-case-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(52, 224, 161, .16), transparent 45%, rgba(0, 0, 0, .18));
    opacity: 0;
    transition: opacity .5s ease;
}

.vv-work-page .vv-work-case-image:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, .34), 0 0 0 1px rgba(52, 224, 161, .22);
}

.vv-work-page .vv-work-case-image:hover::after {
    opacity: 1;
}

.vv-work-page .vv-work-case-image img {
    will-change: transform;
}

.vv-work-page .vv-work-case-copy {
    transition: transform .55s var(--vv-motion-ease);
}

.vv-work-page .vv-work-case:hover .vv-work-case-copy {
    transform: translateY(-3px);
}

.vv-work-page .vv-work-case h3 {
    transition: color .3s ease;
}

.vv-work-page .vv-work-case:hover h3 {
    color: var(--vvw-green);
}

.vv-work-page .vv-work-explore {
    transition: gap .3s ease, color .3s ease;
}

.vv-work-page .vv-work-explore:hover {
    gap: 16px;
}

.vv-work-page .vv-work-explore span {
    display: inline-block;
    transition: transform .3s var(--vv-motion-ease);
}

.vv-work-page .vv-work-explore:hover span {
    transform: translate(4px, -4px);
}


/* Filter controls have a clear active state and hover underline. */

.vv-work-page .vv-work-filter {
    position: relative;
    transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.vv-work-page .vv-work-filter:hover {
    transform: translateY(-2px);
}

.vv-work-page .vv-work-filter sup {
    transition: color .25s ease, transform .25s ease;
}

.vv-work-page .vv-work-filter:hover sup,
.vv-work-page .vv-work-filter.is-active sup {
    color: #f4c976;
    transform: translateY(-2px);
}


/* Index rows use a soft highlight sweep on hover/focus. */

.vv-work-page .vv-work-index-row {
    overflow: hidden;
    transition: color .3s ease, padding-left .35s var(--vv-motion-ease), border-color .3s ease;
}

.vv-work-page .vv-work-index-row::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--vvw-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--vv-motion-ease);
}

.vv-work-page .vv-work-index-row:hover,
.vv-work-page .vv-work-index-row:focus-within {
    padding-left: 8px;
}

.vv-work-page .vv-work-index-row:hover::after,
.vv-work-page .vv-work-index-row:focus-within::after {
    transform: scaleX(1);
}

.vv-work-page .vv-work-index-preview {
    transition: opacity .2s ease, transform .35s var(--vv-motion-ease);
    opacity: 0;
}

.vv-work-page .vv-work-index.has-preview .vv-work-index-preview {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-2deg) scale(1);
}


/* Marquee accent responds to hover without changing its content. */

.vv-work-page .vv-work-marquee-track span {
    transition: color .25s ease;
}

.vv-work-page .vv-work-marquee-track span:hover {
    color: #f4c976;
}

.vv-work-page .vv-work-marquee-track i {
    transition: transform .35s var(--vv-motion-ease), border-radius .35s ease;
}

.vv-work-page .vv-work-marquee-track span:hover i {
    transform: rotate(135deg) scale(1.25);
    border-radius: 2px;
}


/* Contact section hover polish (works with the existing markup). */

.vv-work-page .vv-contact-primary,
.vv-work-page .vv-branch-card,
.vv-work-page .vv-contact-socials a {
    transition: transform .35s var(--vv-motion-ease), border-color .35s ease, box-shadow .35s ease, background-color .35s ease;
}

.vv-work-page .vv-contact-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(52, 224, 161, .2);
}

.vv-work-page .vv-branch-card:hover {
    transform: translateY(-5px);
    border-color: rgba(52, 224, 161, .42);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
}

.vv-work-page .vv-contact-socials a:hover {
    transform: translateY(-3px);
}


/* =========================================
   ALTERNATING SCROLL SLIDE-IN ANIMATION
   ========================================= */

.vv-work-page .vv-scroll-column {
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(.22, .61, .36, 1), transform 0.9s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}

.vv-work-page .vv-slide-from-left {
    transform: translate3d(-90px, 0, 0);
}

.vv-work-page .vv-slide-from-right {
    transform: translate3d(90px, 0, 0);
}

.vv-work-page .vv-scroll-column.is-in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}


/* Optional subtle stagger between image and text */

.vv-work-page .vv-work-case-copy {
    transition-delay: 120ms;
}


/* Hover effects remain active after the entrance animation */

.vv-work-page .vv-work-case-image {
    transition: opacity 0.85s cubic-bezier(.22, .61, .36, 1), transform 0.9s cubic-bezier(.22, .61, .36, 1), box-shadow 0.35s ease;
}


/* Avoid hidden content flashing in if JS is unavailable. */

@media (prefers-reduced-motion: reduce) {

    .vv-work-page .vv-motion-ready,
    .vv-work-page .vv-motion-ready.vv-motion-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        will-change: auto;
    }

    .vv-work-page .vv-work-hero-image {
        animation: none !important;
        transform: none !important;
    }

    .vv-work-page *,
    .vv-work-page *::before,
    .vv-work-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .vv-work-page .vv-scroll-column {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        will-change: auto;
    }
}