/* ==========================================
   CACHEBUGS — Optimized 3D Animated CSS
   GPU-accelerated, zero-jank animations
   ========================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-light: #f2f0eb;
    --accent: #FF5C00;
    --accent-glow: rgba(255, 92, 0, 0.4);
    --accent-hover: #FF7A33;
    --text-light: #f2f0eb;
    --text-dark: #0a0a0a;
    --text-muted: rgba(255, 255, 255, 0.45);
    --text-muted-dark: rgba(10, 10, 10, 0.5);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

html {
    font-size: 16px;
    overflow-x: hidden;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* ===== CURSOR — Orange Triangle ===== */
@media (pointer: fine) {
    body {
        cursor: none;
    }

    a,
    button {
        cursor: none;
    }
}

.cursor {
    width: 0;
    height: 0;
    border-left: 8px solid var(--accent);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    position: fixed;
    top: -20px;
    left: -20px;
    pointer-events: none;
    z-index: 10001;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    filter: drop-shadow(0 0 6px var(--accent-glow));
    transition: filter 0.2s;
}

.cursor.active {
    border-left-width: 12px;
    border-top-width: 9px;
    border-bottom-width: 9px;
    filter: drop-shadow(0 0 14px var(--accent-glow));
}


/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.preloader-inner {
    text-align: center;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.25em;
    overflow: hidden;
}

.preloader-text .char {
    display: inline-block;
    transform: translateY(110%) rotate(5deg);
    opacity: 0;
}

.preloader-counter {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.preloader-bar {
    width: 180px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1rem auto 0;
    overflow: hidden;
    border-radius: 2px;
}

.preloader-bar-inner {
    width: 0%;
    height: 100%;
    background: var(--accent);
    will-change: width;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 3rem;
    mix-blend-mode: difference;
    transition: padding 0.5s var(--ease);
}

.nav.scrolled {
    padding: 1rem 3rem;
    mix-blend-mode: normal;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.logo-dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.5s var(--ease);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-cta {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--accent);
    color: #fff;
    padding: 0.7rem 1.6rem;
    border-radius: 100px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
    display: inline-block;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    transition: transform 0.4s var(--ease), opacity 0.3s;
    transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: circle(0% at calc(100% - 3rem) 2rem);
    transition: clip-path 0.8s var(--ease);
}

.mobile-menu.active {
    clip-path: circle(150% at calc(100% - 3rem) 2rem);
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s var(--ease);
}

.mobile-menu.active .mobile-link:nth-child(1) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-link:nth-child(2) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-link:nth-child(3) {
    transition-delay: 0.4s;
}

.mobile-menu.active .mobile-link:nth-child(4) {
    transition-delay: 0.5s;
}

.mobile-menu.active .mobile-link:nth-child(5) {
    transition-delay: 0.6s;
}

.mobile-link:hover,
.mobile-cta {
    color: var(--accent);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-3d-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-3d-bg canvas {
    width: 100% !important;
    height: 100% !important;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 50%, transparent 40%, var(--bg-dark) 85%),
        linear-gradient(to bottom, transparent 70%, var(--bg-dark) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 1.5rem;
    will-change: transform, opacity;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.eyebrow-line {
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 14vw, 12rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title .char {
    display: inline-block;
    will-change: transform, opacity;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-subtitle .word {
    display: inline-block;
    margin-right: 0.4em;
}

.hero-desc {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--accent);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease);
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.btn-arrow {
    transition: transform 0.3s var(--ease);
}

.btn-primary:hover .btn-arrow {
    transform: translate(3px, -3px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease);
    will-change: transform;
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(255, 92, 0, 0.08);
    transform: scale(1.05);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.2;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ===== MARQUEE STRIP ===== */
.marquee-strip {
    background: var(--accent);
    padding: 1.2rem 0;
    overflow: hidden;
    transform: rotate(-1.5deg) scale(1.04);
    margin: -0.5rem -2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 30px rgba(255, 92, 0, 0.3);
}

.marquee-track-fast {
    display: flex;
    white-space: nowrap;
    animation: marqueeRun 12s linear infinite;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    gap: 2rem;
    will-change: transform;
}

@keyframes marqueeRun {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== ABOUT ===== */
.about {
    position: relative;
    background: var(--bg-dark);
    padding: clamp(6rem, 12vw, 12rem) 0;
    overflow: hidden;
}

.about-bg-text {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    overflow: hidden;
    z-index: 0;
    opacity: 0.03;
    pointer-events: none;
}

.bg-text-track {
    display: flex;
    white-space: nowrap;
    animation: marqueeRun 40s linear infinite;
    font-family: var(--font-heading);
    font-size: clamp(6rem, 16vw, 16rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    gap: 3rem;
    will-change: transform;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateX(-20px);
}

.label-line {
    width: 36px;
    height: 1px;
    background: var(--accent);
}

.label-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: var(--text-muted);
}

.section-label.light .label-text {
    color: var(--text-muted-dark);
}

.section-label.light .label-line {
    background: var(--accent);
}

.about-heading,
.services-heading,
.work-heading,
.team-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4rem;
}

.about-heading em,
.services-heading em,
.work-heading em,
.team-heading em,
.footer-big-text em {
    color: var(--accent);
    font-style: normal;
}

.about-heading .word,
.services-heading .word,
.work-heading .word,
.team-heading .word,
.footer-big-text .char {
    display: inline-block;
    will-change: transform, opacity;
}

/* Tabs */
.about-tabs {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    opacity: 0;
    transform: translateY(30px);
}

.tab-headers {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tab-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    text-align: left;
    position: relative;
    transition: all 0.4s var(--ease);
    overflow: hidden;
}

.tab-indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--accent);
    border-radius: 0 3px 3px 0;
    transform: scaleY(0);
    transition: transform 0.4s var(--ease);
}

.tab-header.active .tab-indicator {
    transform: scaleY(1);
}

.tab-header.active {
    background: rgba(255, 92, 0, 0.06);
}

.tab-number {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    min-width: 24px;
}

.tab-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.tab-header:hover {
    background: rgba(255, 92, 0, 0.04);
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(12px);
}

.tab-content.active {
    display: block;
    animation: tabReveal 0.6s var(--ease) forwards;
}

@keyframes tabReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-muted);
    font-weight: 300;
}

/* ===== SERVICES ===== */
.services {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: clamp(6rem, 12vw, 12rem) 0;
    position: relative;
    overflow: hidden;
}

.services-heading {
    color: var(--text-dark);
}

.services-heading em {
    color: var(--accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.6s var(--ease), box-shadow 0.6s, border-color 0.4s;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #FF8A50, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 92, 0, 0.04), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 92, 0, 0.15);
}

.service-card-number {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

/* 3D Icon styles */
.service-card-icon {
    margin-bottom: 1.5rem;
    height: 56px;
    perspective: 400px;
}

.icon-3d {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-cube {
    width: 36px;
    height: 36px;
    position: relative;
    transform-style: preserve-3d;
    animation: iconSpin 8s linear infinite;
}

.ic-face {
    position: absolute;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent);
    background: rgba(255, 92, 0, 0.04);
}

.ic-f {
    transform: translateZ(18px);
}

.ic-b {
    transform: rotateY(180deg) translateZ(18px);
}

.ic-r {
    transform: rotateY(90deg) translateZ(18px);
}

.ic-l {
    transform: rotateY(-90deg) translateZ(18px);
}

.ic-t {
    transform: rotateX(90deg) translateZ(18px);
}

.ic-bt {
    transform: rotateX(-90deg) translateZ(18px);
}

@keyframes iconSpin {
    0% {
        transform: rotateX(-20deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(-20deg) rotateY(360deg);
    }
}

.icon-sphere {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    position: relative;
    animation: iconPulse 3s ease-in-out infinite;
}

.icon-sphere::before,
.icon-sphere::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(255, 92, 0, 0.3);
    border-radius: 50%;
}

.icon-sphere::before {
    inset: 4px;
    transform: rotateX(60deg);
}

.icon-sphere::after {
    inset: 4px;
    transform: rotateY(60deg);
}

.icon-pyramid {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 36px solid rgba(255, 92, 0, 0.15);
    position: relative;
    animation: iconFloat 4s ease-in-out infinite;
}

.icon-pyramid::after {
    content: '';
    position: absolute;
    top: 6px;
    left: -16px;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 28px solid transparent;
    border-bottom-color: rgba(255, 92, 0, 0.3);
}

.icon-ring {
    width: 40px;
    height: 40px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    animation: iconSpin 6s linear infinite;
    position: relative;
}

.icon-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.icon-diamond {
    width: 28px;
    height: 28px;
    border: 2px solid var(--accent);
    transform: rotate(45deg);
    animation: iconFloat 3.5s ease-in-out infinite;
    background: rgba(255, 92, 0, 0.06);
}

.icon-octahedron {
    width: 32px;
    height: 32px;
    background: rgba(255, 92, 0, 0.08);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    border: 2px solid var(--accent);
    animation: iconSpin 7s linear infinite;
    position: relative;
}

.icon-octahedron::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: rgba(255, 92, 0, 0.05);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    50% {
        transform: translateY(-6px) rotate(45deg);
    }
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.service-card ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.service-card li {
    font-size: 0.8rem;
    font-weight: 500;
    padding-left: 1rem;
    position: relative;
    color: var(--text-dark);
}

.service-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* ===== TEXT REVEAL SECTION ===== */
.text-reveal-section {
    background: var(--accent);
    padding: clamp(5rem, 10vw, 10rem) 0;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.text-reveal-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 70%;
    height: 200%;
    background: rgba(255, 255, 255, 0.04);
    transform: rotate(-15deg);
    pointer-events: none;
}

.big-reveal-text {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.big-reveal-text .char {
    display: inline-block;
    will-change: transform, opacity;
}

/* ===== WORK ===== */
.work {
    background: var(--bg-dark);
    padding: clamp(6rem, 12vw, 12rem) 0;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.work-card {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.7s var(--ease), box-shadow 0.7s;
    will-change: transform;
    position: relative;
}



.work-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.work-card-media {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.work-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s var(--ease);
}

.work-card:hover .work-card-img {
    transform: scale(1.08);
}

.work-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.work-card:hover .work-card-overlay {
    opacity: 1;
}

.work-card-body {
    padding: 2rem;
}

.work-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 600;
}

.work-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0.6rem 0;
}

.work-card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.work-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.3s var(--ease);
}

.work-card:hover .work-link {
    gap: 0.8rem;
}

/* ===== TEAM ===== */
.team {
    background: var(--bg-dark);
    padding: clamp(6rem, 12vw, 12rem) 0;
    position: relative;
}

.team-heading em {
    color: var(--accent);
    font-style: normal;
}

.team-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 550px;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.6s var(--ease), box-shadow 0.5s, border-color 0.5s;
    will-change: transform;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 92, 0, 0.2);
}

.team-avatar {
    margin-bottom: 1.5rem;
}

.avatar-inner {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #FF8A50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.05em;
    transition: transform 0.5s var(--ease);
}

.team-card:hover .avatar-inner {
    transform: scale(1.1) rotate(-5deg);
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.team-role {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.team-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 92, 0, 0.02);
    transition: all 0.5s var(--ease);
    will-change: transform;
}

.value-card:hover {
    border-color: rgba(255, 92, 0, 0.3);
    background: rgba(255, 92, 0, 0.05);
    transform: translateY(-6px);
}

.value-icon-wrap {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    transition: transform 0.4s var(--ease);
}

.value-card:hover .value-icon-wrap {
    transform: scale(1.2) rotate(10deg);
}

.value-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.value-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
}

.footer-cta-section {
    padding: clamp(6rem, 12vw, 12rem) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-big-text {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 3rem;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--accent);
    color: #fff;
    padding: 1.3rem 3rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.5s var(--ease), box-shadow 0.5s;
    will-change: transform;
    opacity: 0;
    transform: translateY(20px);
}

.footer-cta-btn:hover {
    transform: scale(1.06) !important;
    box-shadow: 0 20px 50px var(--accent-glow);
}

.btn-icon {
    transition: transform 0.3s var(--ease);
}

.footer-cta-btn:hover .btn-icon {
    transform: translate(3px, -3px);
}

.footer-bottom {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.6rem;
}

.footer-col p,
.footer-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col a {
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bar {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.06em;
}

/* ===== CONTACT MODAL (GLASSMORPHISM) ===== */
.modal-overlay {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 92, 0, 0.3);
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 92, 0, 0.1);
    position: relative;
    color: #fff;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 28px;
    color: #fff;
    font-family: var(--font-heading);
}

.close-btn {
    position: absolute;
    right: 24px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s ease;
    line-height: 1;
}

.close-btn:hover {
    color: var(--accent);
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.8);
}

#contactForm input::placeholder,
#contactForm textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.submit-btn {
    padding: 16px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    font-family: var(--font-body);
    margin-top: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

#formStatus {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
}

.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav {
        padding: 1rem 1.5rem;
    }

    .nav.scrolled {
        padding: 0.8rem 1.5rem;
    }

    .about-tabs {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card ul {
        grid-template-columns: 1fr;
    }

    .marquee-strip {
        transform: rotate(-2deg) scale(1.05);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(3rem, 18vw, 5rem);
    }
}

/* Touch devices: hide custom cursor */
@media (hover: none) {
    .cursor {
        display: none !important;
    }

    body,
    a,
    button {
        cursor: auto !important;
    }
}