:root {
    --forest-green: #204937;
    --gold: #dcb558;
    --beige: #efe7d8;
    --dark-void: #030604;
    --content-margin: clamp(1.5rem, 5vw, 7rem);
    --max-width: 1320px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    background-color: var(--dark-void);
    font-family: 'Instrument Sans', sans-serif;
    color: var(--beige);
    cursor: none;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}


/* Preserve no-select only where dragging/swiping is used */
.carousel-container,
#viewport,
#track,
.testimonial-track,
#logo-marquee,
.stitch-strip,
.services-track {
    user-select: none;
    -webkit-user-select: none;
}

/* === HIDE NATIVE CURSOR EVERYWHERE INTERACTIVE === */
*,
a,
button,
[onclick],
input,
select,
textarea,
[role="button"],
[draggable],
.video-card,
#viewport,
#track,
.carousel-container,
.carousel-item,
.testimonial-card,
.testimonial-track,
#globe-container,
.globe-link,
.nav-close-btn,
.menu-btn,
.services-track,
.services-item {
    cursor: none !important;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

/* =========================================
   PRELOADER
   ========================================= */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: auto;
    background: transparent;
    overflow: hidden;
}

.preloader-columns {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

.preloader-col {
    flex: 1 1 0%;
    height: 100%;
    background-color: var(--beige);
    border-right: 1px solid rgba(32, 73, 55, 0.18);
    position: relative;
    transform-origin: top;
    will-change: transform;
    box-sizing: border-box;
}

.preloader-col:nth-child(1) { z-index: 7; }
.preloader-col:nth-child(2) { z-index: 6; }
.preloader-col:nth-child(3) { z-index: 5; }
.preloader-col:nth-child(4) { z-index: 10; }
.preloader-col:nth-child(5) { z-index: 3; }
.preloader-col:nth-child(6) { z-index: 2; }
.preloader-col:nth-child(7) { z-index: 1; border-right: none; }

.preloader-logo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    will-change: opacity, transform;
    opacity: 0;
    transform: scale(0.65);
}

.preloader-svg {
    width: 140px;
    height: 140px;
    overflow: visible;
    filter: drop-shadow(0 15px 35px rgba(3, 6, 4, 0.25));
}

@media (max-width: 768px) {
    .preloader-col:nth-child(1),
    .preloader-col:nth-child(7) {
        display: none;
    }
    .preloader-col:nth-child(6) {
        border-right: none;
    }
    .preloader-svg {
        width: min(calc(100% - 8px), 100px);
        height: min(calc(100% - 8px), 100px);
    }
}

/* ===== CURSOR ===== */
#cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2147483647 !important;
    pointer-events: none !important;
    mix-blend-mode: screen;
    transition: opacity 0.3s;
}

/* =========================================
   Grain Texture Overlay
   ========================================= */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none !important;
    z-index: 9999;
    opacity: 0.008;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-size: 120px 120px;
    background-repeat: repeat;
}

/* =========================================
   Floating Glassmorphic Navbar
   ========================================= */
.glass-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 480px;
    padding: 0.8rem 2.5rem;
    background: rgba(10, 10, 10, 0.35);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.glass-nav a {
    color: var(--beige);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, transform 0.2s ease;
    cursor: none !important;
}

.glass-nav a.nav-logo-text {
    font-family: 'Instrument Serif', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

.glass-nav a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}


@media (max-width: 600px) {
    .glass-nav {
        padding: 0.6rem 1.8rem;
        max-width: 340px;
    }

    .glass-nav a {
        font-size: 0.8rem;
    }

    .glass-nav a.nav-logo-text {
        font-size: 1.5rem;
    }
}

/* ===== HERO EDGE OVERLAYS ===== */
.tv-overlay,
.chromatic-aberration {
    display: none !important;
}

/* ===== SCROLL CONTENT — footer reveal spacer ===== */
#smooth-content {
    position: relative;
    z-index: 2;
}

/* ===== MAIN WRAPPER ===== */
main {
    position: relative;
    z-index: 2;
    background-color: var(--dark-void);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--dark-void);
}

/* Peripheral vision blur â€” left and right edges */
.hero-peripheral-left,
.hero-peripheral-right {
    display: none !important;
}

#hero-webgl {
    position: absolute;
    inset: 0;
    z-index: 0;
}

body.nav-open #hero-webgl,
body.nav-open .hero-ui,
body.nav-open .tv-overlay,
body.nav-open .chromatic-aberration {
    width: 65vw;
}

#hero-webgl,
.hero-ui,
.tv-overlay,
.chromatic-aberration {
    transition: width 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.hero-ui {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem var(--content-margin);
    pointer-events: none;
}

.hero-spacer {
    height: 2rem;
}

.mobile-game-banner {
    display: none;
}

/* ===== HERO HEADER (Logo + Score + Menu) ===== */
.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(220, 181, 88, 0.3));
}

.score-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--beige);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.score-number {
    font-size: 1.6rem;
    color: var(--gold);
    font-style: italic;
}

/* ===== HERO HUD â€” Score + Lives grouped ===== */
.hero-hud {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lives-box {
    color: var(--beige);
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}


/* ===== HERO CENTER (Name) ===== */
.hero-center {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-title {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    margin: 0;
    padding: 4rem 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 0.94;
    mask-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%),
            black 0%,
            rgba(0, 0, 0, 0.88) 35%,
            rgba(0, 0, 0, 0.22) 68%,
            transparent 100%);
    -webkit-mask-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%),
            black 0%,
            rgba(0, 0, 0, 0.88) 35%,
            rgba(0, 0, 0, 0.22) 68%,
            transparent 100%);
    transition: none;
}

.hero-title .name-line {
    display: block;
    text-align: center;
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-title .name-top,
.hero-title .name-bottom {
    font-size: clamp(3.6rem, 7.2vw, 7.2rem);
    color: var(--beige);
    text-shadow: 0 0 25px rgba(239, 231, 216, 0.45);
}

.hero-title .name-middle {
    font-size: clamp(4.6rem, 9.4vw, 9.4rem);
    color: var(--gold);
    text-shadow: 0 0 35px rgba(220, 181, 88, 0.65), 0 0 15px rgba(220, 181, 88, 0.4);
}

.level-up-toast {
    position: absolute;
    top: 5.5rem;
    right: var(--content-margin);
    opacity: 0;
    z-index: 100;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 20px;
    background: rgba(220, 181, 88, 0.08);
    border-left: 3px solid var(--gold);
    border-radius: 0 6px 6px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.speed-up {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(239, 231, 216, 0.7);
    letter-spacing: 1px;
}


/* ===== STITCHING STRIP ===== */
.stitch-strip {
    width: 100%;
    height: 28px;
    background: var(--forest-green);
    position: relative;
    z-index: 5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stitch-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 2px;
    background-image: linear-gradient(to right, rgba(239, 231, 216, 1) 50%, transparent 50%);
    background-size: 40px 100%;
    background-repeat: repeat-x;
    transform: translateY(-50%);
}

/* ===== LIGHT SECTION (About + Works) ===== */
.light-section {
    background: var(--beige);
    width: 100%;
    position: relative;
    z-index: 5;
}

/* ===== LOGO SCROLL STRIP ===== */
.marquee-section {
    width: 100%;
    padding: 1rem 0;
    background-color: var(--forest-green);
    overflow: hidden;
    position: relative;
    background-image:
        repeating-linear-gradient(to right, var(--beige) 0, var(--beige) 10px, transparent 10px, transparent 24px),
        repeating-linear-gradient(to right, var(--beige) 0, var(--beige) 10px, transparent 10px, transparent 24px);
    background-size: 200% 2px;
    background-position: left 4px top 4px, left bottom 4px;
    background-repeat: no-repeat;
}

.marquee-wrapper {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: marquee var(--marquee-speed, 22s) linear infinite;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 6rem;
    flex-shrink: 0;
    padding-right: 6rem;
}

.marquee-logo {
    height: 60px;
    width: auto;
    opacity: 1;
    transition: opacity 0.35s ease;
    pointer-events: auto;
    -webkit-user-drag: none;
    user-select: none;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-wrapper {
        animation: none;
    }
}

/* ===== ABOUT ME SECTION ===== */
.about-section {
    min-height: 65vh;
    padding: 6rem var(--content-margin) 3.9rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
    align-content: center;
}

.about-text {
    color: var(--dark-void);
}

.about-heading {
    font-family: 'Instrument Serif', serif;
    text-transform: capitalize;
    font-size: clamp(3.5rem, 6vw, 5rem);
    color: var(--forest-green);
    font-weight: 400;
    font-style: normal;
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.about-description {}

.about-text {
    font-size: clamp(1.00rem, calc(0.852rem + 0.741vw), 1.05rem);
    line-height: 1.65;
    color: rgba(3, 6, 4, 0.65);
    font-weight: 300;
    margin-bottom: 1rem;
}

.about-description:last-child {
    margin-bottom: 0;
}

/* About Image Container with parallax hover */
.about-image-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3/4;
    border-radius: 16px;
    overflow: hidden;
    justify-self: end;
}

.about-image-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border-radius: 16px;
}

.about-image-main {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    border-radius: 16px;
    transition: transform 0.1s ease-out;
}

/* ===== RECENT WORKS (Carousel) ===== */
.recent-works-section {
    width: 100%;
    min-height: 100vh;
    padding: clamp(5rem, 8vh, 6rem) 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recent-works-title {
    font-family: 'Instrument Serif', serif;
    text-transform: capitalize;
    font-size: clamp(3.5rem, 6vw, 5rem);
    color: var(--forest-green);
    font-weight: 400;
    font-style: normal;
    margin: 0 auto clamp(2.6rem, 5.2vh, 4.5rem) auto;
    width: 100%;
    max-width: var(--max-width);
    padding: 0 var(--content-margin);
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
}

.carousel-container {
    display: flex;
    gap: 3.5rem;
    padding-left: clamp(1.5rem, 3.5vw, 4rem);
    padding-right: clamp(1.5rem, 3.5vw, 4rem);
    width: max-content;
    padding-bottom: 2rem;
    will-change: transform;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-container:active {
    cursor: none !important;
}

.carousel-item {
    flex: 0 0 auto;
    width: 48vw;
    max-width: 720px;
    min-width: 460px;
    height: 54vh;
    min-height: 400px;
    max-height: 540px;
    position: relative;
    cursor: none;
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg, #fff5e6);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dzinr-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.dzinr-img-container {
    width: 100%;
    flex: 1;
    position: relative;
    background: #000;
    overflow: hidden;
}

.dzinr-img-container video,
.dzinr-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: filter 0.4s ease, transform 0.6s ease;
    filter: saturate(0.8);
}

.dzinr-img-container iframe {
    width: 125%;
    height: 125%;
    position: absolute;
    top: -12.5%;
    left: -12.5%;
    border: none;
    pointer-events: none;
    transition: filter 0.4s ease, transform 0.6s ease;
    filter: saturate(0.8);
}

.carousel-item:hover .dzinr-img-container video,
.carousel-item:hover .dzinr-img-container img,
.carousel-item:hover .dzinr-img-container iframe {
    filter: saturate(1) brightness(1.05);
    transform: scale(1.03);
}


.dzinr-content {
    background-color: var(--card-bg, #fff);
    color: var(--card-text, #333);
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

.dzinr-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 0.75rem;
    position: relative;
}

.dzinr-tags::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    opacity: 0.15;
}

.dzinr-tag-pill {
    border: 1px solid currentColor;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    opacity: 0.7;
}

.dzinr-tags span:not(.dzinr-tag-pill) {
    opacity: 0.8;
}

.dzinr-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dzinr-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.02em;
}

.dzinr-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--card-text);
    background-color: transparent;
    color: var(--card-text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.dzinr-icon-circle svg {
    width: 20px;
    height: 20px;
    fill: none;
    transition: transform 0.3s ease;
    transform: rotate(-45deg);
}

.carousel-item:hover .dzinr-icon-circle {
    background-color: var(--card-accent, #ff6b35);
    color: var(--icon-color, #111);
    border-color: var(--card-accent, #ff6b35);
}

.carousel-item:hover .dzinr-icon-circle svg {
    transform: rotate(0deg);
}

/* ===== CAROUSEL REDIRECT BUTTON ===== */
.carousel-redirect-container {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 4rem;
}

.dzinr-redirect-btn {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 2.2rem;
    background-color: var(--forest-green);
    border: 1px solid rgba(239, 231, 216, 0.2);
    border-radius: 100px;
    color: var(--beige);
    text-decoration: none;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dzinr-redirect-btn span {
    text-transform: lowercase;
}

.redirect-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--beige);
    background-color: transparent;
    color: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.redirect-icon-circle svg {
    width: 18px;
    height: 18px;
    fill: none;
    transition: transform 0.3s ease;
    transform: rotate(-45deg);
}

.dzinr-redirect-btn:hover {
    background-color: var(--beige);
    color: var(--forest-green);
    border-color: var(--forest-green);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.dzinr-redirect-btn:hover .redirect-icon-circle {
    border-color: var(--forest-green);
    color: var(--forest-green);
}

.dzinr-redirect-btn:hover .redirect-icon-circle svg {
    transform: rotate(0deg);
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none !important;
    z-index: 2147483647 !important;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        border-radius 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        padding 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.3s ease;
    opacity: 0;
    will-change: top, left, width, height;
}

body.show-triangle .custom-cursor {
    opacity: 1;
}

.custom-cursor .cursor-triangle {
    position: absolute;
    width: 24px;
    height: 24px;
    transition: opacity 0.2s, transform 0.2s;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.custom-cursor.blend-difference {
    mix-blend-mode: difference;
}

.custom-cursor.blend-difference .cursor-triangle {
    filter: none !important;
}

.custom-cursor.blend-difference .cursor-triangle path {
    fill: var(--beige) !important;
}

.custom-cursor.active {
    width: 180px;
    height: 3rem;
    padding: 0 1.5rem;
    background-color: var(--forest-green);
    border-radius: 2rem;
    mix-blend-mode: normal !important;
}

.custom-cursor.active .cursor-triangle {
    opacity: 0;
    transform: scale(0.5) !important;
    filter: none !important;
}

.custom-cursor .cursor-text {
    opacity: 0;
    color: var(--beige);
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.custom-cursor.active .cursor-text {
    opacity: 1;
    transition-delay: 0.15s;
}

.custom-cursor .cursor-hand {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s, transform 0.2s;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.custom-cursor.grab-mode {
    width: 36px !important;
    height: 36px !important;
    background-color: transparent !important;
    mix-blend-mode: normal !important;
}

.custom-cursor.grab-mode .cursor-triangle {
    opacity: 0;
    transform: scale(0.5) !important;
}

.custom-cursor.grab-mode .cursor-text {
    opacity: 0;
}

.custom-cursor.grab-mode .cursor-hand {
    opacity: 1;
    transform: scale(1) !important;
}

.custom-cursor.grab-mode.grabbing .cursor-hand {
    transform: scale(0.85) rotate(-14deg) !important;
}

/* =========================================
   Services Section (Integrated Bento Grid)
   ========================================= */
.services-section {
    width: 100%;
    min-height: 65vh;
    max-width: 100%;
    margin: 0 auto;
    padding: 3.9rem clamp(1.5rem, 3.5vw, 4rem) 6rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-title {
    font-family: 'Instrument Serif', serif;
    text-transform: capitalize;
    font-size: clamp(3.5rem, 6vw, 5rem);
    color: var(--forest-green);
    font-weight: 400;
    font-style: normal;
    margin-bottom: clamp(4.5rem, 7vh, 6rem);
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
    width: 100%;
}

.services-grid {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    position: relative;
    width: 100%;
}

.service-card {
    background-color: var(--forest-green);
    border: 1px solid rgba(239, 231, 216, 0.15);
    border-radius: 1.25rem;
    padding: 2.5rem 2.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: none !important;
    text-decoration: none;
    color: inherit;
    margin: 0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(220, 181, 88, 0.2), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 181, 88, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 30px rgba(220, 181, 88, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 4.5rem;
}

.service-card .card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.service-card .card-number {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -0.02em;
}

.service-card .card-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.service-card .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(239, 231, 216, 0.25);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-card .dot.active {
    background-color: var(--gold);
}

.service-card .card-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.service-card .card-heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.service-card .card-bullet {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background-color: var(--gold);
    flex-shrink: 0;
}

.service-card h3 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    color: var(--gold);
    letter-spacing: -0.01em;
}

.service-card p {
    color: rgba(239, 231, 216, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
}

@media (max-width: 1024px) {
    .services-grid {
        flex-direction: column;
    }

    .service-card {
        width: 100%;
    }
}

.service-text {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(3rem, 6vw, 6rem);
    color: var(--forest-green);
    font-weight: 400;
    white-space: nowrap;
    text-transform: uppercase;
    line-height: 1;
    font-style: italic;
}

.service-icon-star {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--forest-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== STITCHING STRIP BOTTOM ===== */
.stitch-strip-bottom {
    width: 100%;
    height: 28px;
    background: var(--forest-green);
    position: relative;
    z-index: 5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stitch-strip-bottom .stitch-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 0;
    border-top: 2px dashed rgba(239, 231, 216, 0.5);
    transform: translateY(-50%);
    will-change: transform;
}

/* ===== MOTION GALLERY (Dark section) ===== */
.video-scroll-section {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--dark-void);
    position: relative;
    z-index: 5;
}

.carousel-viewport {
    position: absolute;
    top: 56.5%;
    left: 0;
    width: 100%;
    height: 650px;
    transform: translateY(-50%);
    perspective: 1500px;
    cursor: none !important;
    z-index: 1;
}

.carousel-viewport:active {
    cursor: none !important;
}

.carousel-track {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    transform-style: preserve-3d;
    will-change: transform;
}

.video-card {
    position: absolute;
    width: 280px;
    height: 490px;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    transform-origin: center center;
    will-change: transform, filter;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(220, 181, 88, 0.1);
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.video-card video::-webkit-media-controls {
    display: none !important;
}

.v-scroll-title {
    position: relative;
    top: 0;
    padding: clamp(8.5rem, 15vh, 11.5rem) 0 3vh 0;
    width: 100%;
    text-align: center;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-style: normal;
    font-weight: 400;
    color: var(--beige);
    z-index: 10;
    pointer-events: none;
    letter-spacing: -0.02em;
}

.instructions {
    position: absolute;
    bottom: 2.4vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.3;
    font-family: 'Instrument Sans', sans-serif;
    text-transform: capitalize;
    font-size: 0.6rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 10;
    color: var(--beige);
}

/* ===== TESTIMONIALS ===== */
.testimonial-section {

    width: 100%;
    padding: 8rem 0 6rem 0;
    background-color: var(--dark-void);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5;
}

.testimonial-title {
    font-family: 'Instrument Serif', serif;
    text-transform: capitalize;
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 400;
    font-style: normal;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
    color: var(--beige);
}

.testimonial-carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.testimonial-carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: absolute;
    z-index: 1;
    left: 50%;
    transform-origin: center;
}

.testimonial-card {
    background-color: var(--beige);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    width: 440px;
    min-width: 440px;
    margin: 0;
    color: #1e293b;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    user-select: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card.active {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 0.6rem;
}

.testimonial-profile-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #e2e8f0;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 0.8rem;
}

.testimonial-text {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #334155;
    font-weight: 400;
    letter-spacing: -0.01em;
    flex-grow: 1;
}

.testimonial-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
    margin: 1.1rem 0 0.9rem 0;
}

.testimonial-author-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.testimonial-author-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.96rem;
    letter-spacing: -0.02em;
}

.testimonial-author-name {
    font-weight: 700;
    color: #0f172a;
}

.testimonial-author-dot {
    margin: 0 0.4rem;
    color: #64748b;
}

.testimonial-author-role {
    font-weight: 600;
    color: #0f172a;
}

.testimonial-author-company {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.84rem;
    color: #64748b;
    font-weight: 400;
}

/* Testimonial Navigation Buttons */
.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

.testimonial-nav-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(239, 231, 216, 0.06);
    border: 1px solid rgba(239, 231, 216, 0.25);
    color: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-nav-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-nav-btn:hover {
    background-color: var(--forest-green);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.testimonial-nav-btn:active {
    transform: translateY(-1px) scale(0.96);
}

.testimonial-nav-btn.prev:hover svg {
    transform: translateX(-3px);
}

.testimonial-nav-btn.next:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .testimonial-carousel-container {
        height: 520px;
    }

    .testimonial-card {
        width: min(380px, 86vw);
        min-width: min(380px, 86vw);
        padding: 1.35rem 1.4rem;
        border-radius: 16px;
    }

    .testimonial-profile-img {
        width: 42px;
        height: 42px;
    }

    .testimonial-stars {
        margin-bottom: 0.6rem;
    }

    .testimonial-stars svg {
        width: 16px;
        height: 16px;
    }

    .testimonial-text {
        font-size: 0.90rem;
        line-height: 1.45;
    }

    .testimonial-divider {
        margin: 0.9rem 0 0.8rem 0;
    }

    .testimonial-author-title {
        font-size: 0.92rem;
    }

    .testimonial-author-company {
        font-size: 0.82rem;
    }

    .testimonial-nav {
        display: none;
    }
}

/* ===== SCROLL MARQUEE ===== */
.curved-marquee-wrapper {
    width: 100%;
    height: 40vh;
    background-color: var(--dark-void);
    position: relative;
    z-index: 5;
    pointer-events: none;
}

.curved-marquee-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.curved-marquee-top-fill {
    height: 35vh;
    background-color: var(--dark-void);
    width: 100%;
    flex-shrink: 0;
}

.curved-marquee-bottom-fill {
    flex-grow: 1;
    background-color: var(--beige);
    width: 100%;
    margin-top: -2px;
}

.curved-marquee-svg {
    width: 100%;
    height: 400px;
    min-width: 1200px;
    display: block;
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
footer {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 1;
    background-color: var(--beige);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding-top: 8rem;
}

.footer-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    padding: 0 var(--content-margin);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    flex-grow: 1;
}

.footer-bottom-bar {
    width: calc(100% - 2rem);
    margin: 0 1rem;
    background-color: var(--forest-green);
    color: var(--beige);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    position: relative;
    z-index: 2;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -8px 30px rgba(32, 73, 55, 0.25);
}

.footer-bar-logo {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--beige);
    letter-spacing: 0.02em;
}

.footer-bar-message {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--beige);
    opacity: 0.85;
    letter-spacing: 0.03em;
}

.footer-bar-top {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--beige);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
    pointer-events: auto;
}

.footer-bar-top:hover {
    opacity: 0.7;
}

.footer-left {
    pointer-events: auto;
}

.footer-large-text {
    font-family: 'Instrument Serif', serif;
    text-transform: capitalize;
    font-size: clamp(4rem, 8vw, 8rem);
    color: var(--dark-void);
    line-height: 0.9;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    transition: color 0.4s, text-shadow 0.4s;
    pointer-events: auto;
}

.footer-large-text:hover {
    color: var(--forest-green);
    text-shadow: 0 0 40px rgba(32, 73, 55, 0.4);
}

.footer-arrow-icon {
    width: clamp(3rem, 6vw, 6rem);
    height: clamp(3rem, 6vw, 6rem);
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 1.6;
    transition: transform 0.4s ease;
}

.footer-large-text:hover .footer-arrow-icon {
    transform: translate(4px, -4px);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
    pointer-events: auto;
    overflow: hidden;
    flex-shrink: 0;
}

.footer-social-link {
    font-family: 'Instrument Sans', sans-serif;
    text-decoration: none;
    color: var(--dark-void);
    transition: color 0.3s;
    display: inline-block;
}

.footer-social-link:hover {
    color: var(--forest-green);
}

.footer-social-link.small {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
}

.footer-social-link.medium {
    font-size: 1rem;
    font-weight: 500;
}

.footer-social-link.large {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===== GLOBE SECTION ===== */
.globe-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
    background: transparent;
    z-index: 5;
}

.globe-content {
    text-align: center;
    max-width: 600px;
    margin-bottom: 2rem;
    z-index: 10;
}

.globe-content h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(3rem, 5vw, 5rem);
    font-style: italic;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 1rem;
}

.globe-content p {
    font-size: 1rem;
    color: var(--beige);
    opacity: 0.7;
    font-weight: 300;
}

.globe-container {
    position: relative;
    width: 500px;
    height: 500px;
    perspective: 1200px;
    cursor: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 50%;
}

.globe-container:active {
    cursor: none !important;
}

.globe-word {
    position: absolute;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--beige);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform-style: preserve-3d;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* ===== HURT FLASH ===== */
#hurt-flash {
    position: absolute;
    inset: 0;
    background: #ff0000;
    opacity: 0;
    pointer-events: none;
    z-index: 4;
}

/* Seamless Spacer before footer */
.seamless-spacer {
    height: 30vh;
    background: transparent;
    width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-container {
        justify-self: center;
        max-width: 350px;
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .footer-right {
        align-items: center;
    }

    .globe-container {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
    /* Hide custom cursors on mobile / touch devices */
    #cursor-trail,
    .custom-cursor {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Restore native cursor on mobile / touch devices */
    *,
    a,
    button,
    [onclick],
    input,
    select,
    textarea,
    [role="button"],
    [draggable],
    .video-card,
    #viewport,
    #track,
    .carousel-container,
    .carousel-item,
    .testimonial-card,
    .testimonial-track,
    #globe-container,
    .globe-link,
    .nav-close-btn,
    .menu-btn,
    .services-track,
    .services-item {
        cursor: auto !important;
    }

    a,
    button,
    [onclick],
    [role="button"],
    .video-card,
    .carousel-item,
    .globe-link,
    .nav-close-btn,
    .menu-btn {
        cursor: pointer !important;
    }
}

@media (max-width: 768px) {

    .tv-overlay,
    .chromatic-aberration {
        display: none !important;
    }

    .glass-nav {
        padding: 0.6rem 1.4rem;
        width: 92%;
        max-width: 420px;
        gap: 0.5rem;
    }

    .glass-nav a {
        font-size: 0.82rem;
    }

    .glass-nav a.nav-logo-text {
        font-size: 1.5rem;
    }

    .hero-header {
        order: 1;
        display: flex;
        width: 100%;
        margin-top: 3.5rem;
        margin-bottom: 0;
    }

    .hero-center {
        order: 2;
    }

    .hero-spacer {
        order: 3;
        height: 5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
        z-index: 10;
    }

    .mobile-game-banner {
        display: inline-block;
        padding: 0.4rem 0.8rem;
        background: transparent;
        border: none;
        color: rgba(239, 231, 216, 0.48);
        font-family: var(--font-body, 'Inter', sans-serif);
        font-size: 0.65rem;
        font-weight: 600;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        text-align: center;
        white-space: nowrap;
        cursor: pointer;
        transition: color 0.3s ease, opacity 0.3s ease;
        user-select: none;
        -webkit-user-select: none;
        pointer-events: auto;
    }

    .mobile-game-banner:active {
        color: rgba(239, 231, 216, 0.85);
    }

    .mobile-game-banner.scroll-mode {
        color: rgba(220, 181, 88, 0.65);
    }

    .hero-logo {
        display: none !important;
    }

    .hero-hud {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 0;
        padding: 0 0.95rem;
    }

    .hero-title {
        padding: 3rem 0;
    }

    .hero-title .name-top,
    .hero-title .name-bottom {
        font-size: clamp(3rem, 11vw, 4.8rem);
    }

    .hero-title .name-middle {
        font-size: clamp(4rem, 14vw, 6.2rem);
    }

    .score-box {
        font-size: 0.72rem;
        gap: 6px;
    }

    .score-number {
        font-size: 1rem;
    }

    .lives-box {
        font-size: 0.75rem;
        gap: 4px;
    }

    .level-up-toast {
        top: 7.2rem;
        right: var(--content-margin);
        padding: 6px 14px;
        font-size: 0.72rem;
        gap: 2px;
        border-left: 2px solid var(--gold);
    }

    .level-up-toast .speed-up {
        font-size: 0.6rem;
    }

    .marquee-logo {
        height: 38px;
    }

    .marquee-track {
        gap: 3rem;
        padding-right: 3rem;
    }

    .about-section {
        min-height: 65vh;
        padding: 4rem var(--content-margin) 2.6rem;
        gap: 2.5rem;
    }

    .about-heading {
        font-size: clamp(2.8rem, 8vw, 4rem);
    }

    .about-image-container {
        max-width: 280px;
    }

    .services-section {
        min-height: 65vh;
        padding: 2.6rem var(--content-margin) 4rem;
    }

    .service-card {
        padding: 1.75rem 1.5rem;
        min-height: 280px;
    }

    .service-card .card-content {
        gap: 2.75rem;
    }

    .service-card .card-number {
        font-size: 1.6rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .carousel-container {
        gap: 1.5rem;
        padding-left: var(--content-margin);
        padding-right: var(--content-margin);
    }

    .carousel-item {
        width: 75vw;
        max-width: 480px;
        min-width: 280px;
        height: 52vh;
        min-height: 350px;
        max-height: 450px;
    }

    .dzinr-content {
        padding: 1.25rem 1.25rem;
        gap: 0.8rem;
    }

    .dzinr-tags {
        flex-wrap: wrap;
        gap: 0.4rem;
        font-size: 0.65rem;
    }

    .dzinr-title {
        font-size: clamp(1.4rem, 6vw, 2.2rem);
    }

    .dzinr-icon-circle {
        width: 38px;
        height: 38px;
    }

    .carousel-redirect-container {
        padding-right: var(--content-margin);
    }

    .dzinr-redirect-btn {
        padding: 0.8rem 1.6rem;
        font-size: 1.1rem;
        gap: 0.8rem;
    }

    .redirect-icon-circle {
        width: 36px;
        height: 36px;
    }

    .redirect-icon-circle svg {
        width: 14px;
        height: 14px;
    }

    .v-scroll-title {
        padding: clamp(4.5rem, 10vh, 6.5rem) 0 2vh 0;
        font-size: clamp(2.8rem, 8vw, 3.8rem);
    }

    .carousel-viewport {
        height: 535px;
        top: 56%;
    }

    .video-card {
        width: 300px;
        height: 533px;
        border-radius: 20px;
    }

    .instructions {
        bottom: 3vh;
        font-size: 0.65rem;
    }

    .testimonial-carousel-container {
        height: 520px;
    }

    .testimonial-card {
        width: min(330px, 88vw);
        min-width: min(330px, 88vw);
        padding: 1.2rem 1.25rem;
    }

    .testimonial-text {
        font-size: 0.86rem;
        line-height: 1.42;
    }

    /* ---- CURVED MARQUEE RIBBON ---- */
    .curved-marquee-wrapper {
        width: 100%;
        height: 160px;
        position: relative;
        overflow: visible;
        background-color: var(--dark-void);
        z-index: 5;
    }

    .curved-marquee-sticky {
        position: relative;
        width: 100%;
        height: 160px;
    }

    .curved-marquee-svg {
        width: 100%;
        height: 163px;
        min-width: 100%;
        display: block;
    }

    .curved-marquee-svg text {
        font-size: 56px;
    }

    /* ---- FOOTER MOBILE REDESIGN ---- */
    footer {
        margin-top: -3px;
        z-index: 6;
        padding-top: 0.8rem;
        min-height: calc(86vh - 160px);
        background-color: var(--beige);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        overflow: hidden;
        gap: 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.75rem;
        flex-grow: 1;
        width: 100%;
        padding: 1rem var(--content-margin) 1.5rem var(--content-margin);
    }

    .footer-left {
        width: 100%;
        text-align: center;
    }

    .footer-large-text {
        font-family: 'Instrument Serif', serif;
        font-size: clamp(2.8rem, 11vw, 3.8rem);
        color: var(--dark-void);
        line-height: 1;
        text-decoration: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .footer-large-text span {
        display: inline;
    }

    .footer-arrow-icon {
        width: clamp(2rem, 7vw, 2.6rem);
        height: clamp(2rem, 7vw, 2.6rem);
        opacity: 0.8;
        flex-shrink: 0;
    }

    /* Hide 3D globe canvas on mobile, show stylish pill-badge social links */
    .footer-right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .globe-container {
        width: 100%;
        max-width: 380px;
        height: auto;
        min-height: 0;
        perspective: none;
        border-radius: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem 1rem;
        padding: 0.5rem 0;
    }

    .globe-container canvas {
        display: none !important;
    }

    .globe-word {
        position: relative !important;
        transform: none !important;
        opacity: 0.8 !important;
        filter: none !important;
        color: var(--dark-void) !important;
        font-family: 'Instrument Sans', sans-serif !important;
        font-size: 0.82rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.12em !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        padding: 0.45rem 0.9rem;
        border-radius: 100px;
        border: 1px solid rgba(3, 6, 4, 0.18);
        background: rgba(3, 6, 4, 0.03);
        transition: all 0.3s ease !important;
    }

    .globe-word:hover,
    .globe-word:active {
        opacity: 1 !important;
        background: var(--dark-void) !important;
        color: var(--beige) !important;
        border-color: var(--dark-void);
    }

    /* Hide echo layers (layer > 0) */
    .globe-word:not([href]) {
        display: none !important;
    }

    .footer-bottom-bar {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        padding: 0.85rem 1.2rem;
        width: 100%;
        margin: 0;
        border-radius: 16px 16px 0 0;
    }

    .footer-bar-logo {
        font-size: 1.25rem;
    }

    .footer-bar-message {
        font-size: clamp(0.68rem, 2.2vw, 0.85rem);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .footer-bar-top {
        font-size: clamp(0.72rem, 2.3vw, 0.85rem);
        white-space: nowrap;
    }

    .hero-peripheral-left,
    .hero-peripheral-right {
        width: 8vw;
    }
}

@media (max-width: 480px) {
    .glass-nav {
        padding: 0.45rem 1rem;
        width: 95%;
        max-width: 360px;
        gap: 0.35rem;
    }

    .glass-nav a {
        font-size: 0.75rem;
    }

    .glass-nav a.nav-logo-text {
        font-size: 1.35rem;
    }

    .hero-title {
        padding: 2rem 0;
    }

    .hero-title .name-top,
    .hero-title .name-bottom {
        font-size: clamp(2.4rem, 12vw, 3.4rem);
    }

    .hero-title .name-middle {
        font-size: clamp(3.2rem, 15.5vw, 4.6rem);
    }

    .carousel-container {
        gap: 1.25rem;
        padding-left: var(--content-margin);
        padding-right: var(--content-margin);
    }

    .carousel-item {
        width: 84vw;
        min-width: unset;
        max-width: 360px;
        height: 48vh;
        min-height: 340px;
        max-height: 420px;
    }

    .dzinr-icon-circle {
        width: 36px;
        height: 36px;
    }

    .v-scroll-title {
        padding: clamp(3.8rem, 8vh, 5rem) 0 1.5vh 0;
        font-size: clamp(2.6rem, 7.5vw, 3.4rem);
    }

    .carousel-viewport {
        height: 490px;
        top: 56%;
    }

    .video-card {
        width: 275px;
        height: 488px;
        border-radius: 18px;
    }

    .instructions {
        bottom: 2.5vh;
        font-size: 0.6rem;
    }

    .footer-bottom-bar {
        padding: 0.85rem 1rem;
        width: 100%;
        margin: 0;
        gap: 0.35rem;
        border-radius: 14px 14px 0 0;
    }

    .footer-bar-logo {
        font-size: 1.15rem;
    }

    .footer-bar-message {
        font-size: 0.65rem;
    }

    .footer-bar-top {
        font-size: 0.7rem;
    }
}

/* =========================================
   CASE STUDY INDIVIDUAL PAGE STYLES
   ========================================= */
.cs-page {
    background-color: var(--beige);
    color: var(--dark-void);
    min-height: 100vh;
}

.cs-page .glass-nav {
    background: rgba(239, 231, 216, 0.6);
    border-color: rgba(32, 73, 55, 0.1);
}
.cs-page .glass-nav a {
    color: var(--dark-void);
}
.cs-page .glass-nav a:hover {
    color: var(--forest-green);
}
.cs-page .glass-nav a.nav-logo-text {
    color: var(--forest-green);
}

/* Hero */
.cs-hero {
    padding: 10rem var(--content-margin) 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.cs-hero-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    color: var(--forest-green);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 2rem;
}

.cs-hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    border-top: 1px solid rgba(32, 73, 55, 0.2);
    padding-top: 2rem;
}

.cs-meta-item h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(3, 6, 4, 0.5);
    margin-bottom: 0.5rem;
}

.cs-meta-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-void);
}

.cs-hero-media {
    width: 100%;
    height: 60vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cs-hero-media img, .cs-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections Base */
.cs-section {
    padding: clamp(4rem, 6vh, 6rem) var(--content-margin);
    max-width: var(--max-width);
    margin: 0 auto;
}

.cs-section-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--forest-green);
    font-weight: 400;
    margin-bottom: 2rem;
}

.cs-text {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.6;
    color: rgba(3, 6, 4, 0.8);
    max-width: 800px;
}

/* Role Cards */
.cs-role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cs-role-card {
    background: var(--dark-void);
    color: var(--beige);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cs-role-card::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

/* Creative Process Timeline */
.cs-timeline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.cs-timeline-item {
    background: rgba(32, 73, 55, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    color: var(--forest-green);
    border: 1px solid rgba(32, 73, 55, 0.1);
}

.cs-timeline-arrow {
    color: var(--gold);
    font-size: 1.2rem;
}

/* Behind The Edit (Accordions) */
.cs-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cs-accordion {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.cs-accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-void);
    background: #fff;
    transition: background 0.3s ease;
}

.cs-accordion-header:hover {
    background: #fdfbf8;
}

.cs-accordion-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.cs-accordion-icon::before, .cs-accordion-icon::after {
    content: '';
    position: absolute;
    background: var(--forest-green);
    transition: transform 0.3s ease;
}

.cs-accordion-icon::before {
    top: 11px; left: 4px; right: 4px; height: 2px;
}

.cs-accordion-icon::after {
    left: 11px; top: 4px; bottom: 4px; width: 2px;
}

.cs-accordion.active .cs-accordion-icon::after {
    transform: rotate(90deg);
}

.cs-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #fdfbf8;
}

.cs-accordion-inner {
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 600px) {
    .cs-accordion-inner {
        grid-template-columns: 1fr;
    }
}

.cs-acc-col h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: rgba(3, 6, 4, 0.5);
    margin-bottom: 0.5rem;
}

.cs-acc-col p {
    font-size: 1.05rem;
    color: var(--dark-void);
}

/* Gallery */
.cs-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cs-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.cs-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cs-gallery-item:hover img {
    transform: scale(1.05);
}

/* Results Dashboard */
.cs-results-dashboard {
    background: var(--forest-green);
    color: var(--beige);
    padding: 4rem;
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    margin-top: 2rem;
}

.cs-result-item .counter {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.cs-result-item .label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Testimonials */
.cs-testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.cs-testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex: 1 1 300px;
    position: relative;
}

.cs-testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: 'Instrument Serif', serif;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
}

.cs-testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark-void);
    position: relative;
    z-index: 1;
}

/* Next Project */
.cs-next-project {
    text-align: center;
    padding: 8rem 0;
    background: var(--dark-void);
    color: var(--beige);
}

.cs-next-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 1rem;
}

.cs-next-link {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--beige);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cs-next-link:hover {
    color: var(--forest-green);
}


.cs-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--forest-green);
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.cs-back-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.cs-back-link:hover {
    color: var(--gold);
}
.cs-back-link:hover svg {
    transform: translateX(-5px);
}

/* ==========================================================================
   CASE STUDIES OVERVIEW — Main Page Section
   ========================================================================== */

.case-studies-overview {
    background: var(--dark-void);
    padding: clamp(5rem, 10vh, 9rem) 0 clamp(6rem, 12vh, 10rem);
    position: relative;
    overflow: hidden;
}

/* Subtle ambient glow behind section */
.case-studies-overview::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(220, 181, 88, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* --- Header --- */
.cs-overview-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto clamp(3rem, 6vh, 5rem);
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    position: relative;
    z-index: 1;
}

.cs-overview-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
}

.cs-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: normal;
    color: var(--beige);
    line-height: 1;
    margin: 0 0 1.5rem;
    opacity: 0;
    transform: translateY(40px);
}

.cs-title em {
    font-style: italic;
    color: var(--gold);
}

.cs-subtitle {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--beige);
    opacity: 0;
    transform: translateY(30px);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}
.cs-subtitle-visible {
    opacity: 0.55;
}

/* --- Cards Container --- */
.cs-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    position: relative;
    z-index: 1;
}

/* --- Individual Card --- */
.cs-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #0a0f0c;
    border: 1px solid rgba(220, 181, 88, 0.08);
    text-decoration: none;
    color: var(--beige);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.5s ease;
    opacity: 0;
    transform: translateY(60px);
    will-change: transform;
}

.cs-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
                0 0 60px rgba(220, 181, 88, 0.08);
    border-color: rgba(220, 181, 88, 0.25);
}

/* --- Card Image --- */
.cs-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.cs-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, #0a0f0c 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.cs-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                filter 0.7s ease;
    filter: brightness(0.8) saturate(0.9);
}

.cs-card:hover .cs-card-img img {
    transform: scale(1.08);
    filter: brightness(1) saturate(1.1);
}

/* --- Card Content --- */
.cs-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 0 clamp(1.2rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.2rem);
    margin-top: -1rem;
    position: relative;
    z-index: 2;
}

.cs-card-top {
    flex-grow: 1;
}

.cs-card-client {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 0.8rem;
    opacity: 0.85;
}

.cs-card-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: normal;
    color: var(--beige);
    line-height: 1.15;
    margin: 0 0 0.8rem;
}

.cs-card-desc {
    font-size: 0.92rem;
    color: var(--beige);
    opacity: 0.5;
    line-height: 1.55;
    margin: 0;
}

/* --- Card Bottom (Metrics + CTA) --- */
.cs-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(220, 181, 88, 0.12);
}

.cs-card-metrics {
    display: flex;
    gap: clamp(1rem, 2vw, 1.8rem);
}

.cs-card-metrics span {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    color: var(--gold);
    font-weight: normal;
    letter-spacing: -0.01em;
}

/* --- CTA Button --- */
.cs-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--beige);
    opacity: 0.6;
    transition: opacity 0.4s ease, gap 0.4s ease, color 0.4s ease;
}

.cs-card-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.cs-card:hover .cs-card-btn {
    opacity: 1;
    gap: 0.9rem;
    color: var(--gold);
}

.cs-card:hover .cs-card-btn svg {
    transform: translateX(4px);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .cs-cards-container {
        grid-template-columns: 1fr;
        max-width: 550px;
    }
}

@media (max-width: 480px) {
    .cs-card-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .cs-card-title {
        font-size: 1.3rem;
    }
}
