/* ===========================
   RESET & CUSTOM PROPERTIES
   =========================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --accent: #2563EB;
    --accent-dark: #1D4ED8;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.20);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background: var(--white);
}

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

a { text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   CUSTOM CURSOR (desktop only)
   =========================== */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: exclusion;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.35s var(--ease-out-expo),
                height 0.35s var(--ease-out-expo),
                border-color 0.2s,
                background 0.2s;
    mix-blend-mode: exclusion;
}

.cursor.hover {
    width: 16px;
    height: 16px;
}

.cursor-follower.hover {
    width: 56px;
    height: 56px;
    background: rgba(103, 61, 204, 0.1);
}

@media (max-width: 768px) {
    .cursor, .cursor-follower { display: none !important; }
}

/* ===========================
   SECTION TAG (shared)
   =========================== */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray-400);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 24px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 2px;
    background: var(--accent);
}

/* ===========================
   HAMBURGER BUTTON
   =========================== */
.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 52px;
    height: 52px;
    background: var(--black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1120;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hamburger:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-xl);
}

.hamburger .bar {
    width: 22px;
    height: 2px;
    background: var(--white);
    margin: 3px 0;
    transition: transform 0.3s ease, opacity 0.2s ease;
    border-radius: 2px;
}

.hamburger.active {
    background: var(--white);
}

.hamburger.active .bar {
    background: var(--black);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===========================
   OVERLAY MENU
   =========================== */
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    z-index: 1080;
}

.menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.nav-menu {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1110;
    background: transparent;
}

.nav-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-logo {
    text-align: center;
}

.logo-image {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

.nav-menu-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--white);
    font-family: 'Bebas Neue', 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    position: relative;
    display: inline-block;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

body.menu-open {
    overflow: hidden;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(2rem, 5vw, 4rem);
    position: relative;
    z-index: 1;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: 'Bebas Neue', 'Inter', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 400;
    line-height: 0.92;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.title-line {
    display: block;
    opacity: 0;
    animation: slideInUp 0.8s var(--ease-out-expo) forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.12s;
}

.title-line:nth-child(3) {
    animation-delay: 0.24s;
}

/* Outline text effect */
.title-outline {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.7);
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.35rem);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: slideInUp 0.8s ease 0.35s forwards;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: slideInUp 0.8s ease 0.5s forwards;
}

/* Buttons */
.btn {
    padding: 14px 36px;
    border: 2px solid var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s var(--ease-out-expo);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(103, 61, 204, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-arrow {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    cursor: pointer;
    transition: var(--transition);
}

.scroll-arrow:hover {
    border-color: var(--white);
}

/* ===========================
   ACCENT MARQUEE STRIPS
   =========================== */
.accent-strip {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.accent-strip--primary {
    background: var(--accent);
    color: var(--white);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    letter-spacing: 3px;
    transform: rotate(-1.5deg) scaleX(1.03);
    margin-top: -20px;
    box-shadow: 0 4px 20px rgba(103, 61, 204, 0.35);
}

.accent-strip--dark {
    background: var(--accent);
    color: var(--white);
    font-size: clamp(1rem, 2vw, 1.4rem);
    letter-spacing: 2px;
    transform: rotate(1deg) scaleX(1.03);
    margin-bottom: -20px;
    box-shadow: 0 4px 20px rgba(103, 61, 204, 0.35);
}

.accent-strip .inner {
    white-space: nowrap;
    display: flex;
    gap: 2.5rem;
    padding: 16px 0;
    animation: marquee 18s linear infinite;
}

.accent-strip .inner--reverse {
    animation: marquee-reverse 22s linear infinite;
}

.accent-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about {
    padding: clamp(30px, 6vw, 70px) 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.section-title-lg {
    font-family: 'Bebas Neue', 'Inter', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 400;
    color: var(--black);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title-lg em {
    color: var(--accent);
    -webkit-text-stroke: 0;
    font-style: normal;
}

.about-text p {
    margin-bottom: 1.25rem;
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 0.95rem;
}

.about-text p strong {
    color: var(--black);
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--black);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-400);
    margin-top: 4px;
    font-weight: 600;
}

.about-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: -1;
    transition: var(--transition);
}

.about-image:hover::after {
    bottom: -16px;
    right: -16px;
}

.profile-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s var(--ease-out-expo);
}

.profile-image:hover {
    transform: scale(1.02);
}

/* ===========================
   MANIFESTO SECTION
   =========================== */
.manifesto {
    padding: clamp(30px, 6vw, 70px) 0;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
}

.manifesto-content {
    text-align: center;
}

.manifesto-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1.05;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: -1px;
}

.manifesto-line {
    display: block;
}

.manifesto-text em {
    font-style: normal;
    color: var(--accent);
}

.manifesto-sub {
    margin-top: 2rem;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    color: var(--gray-400);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services {
    padding: clamp(50px, 8vw, 90px) 0;
    background: var(--gray-50);
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-title {
    font-family: 'Bebas Neue', 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--black);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(360px, auto);
    gap: 20px;
}

/* ---- Card ---- */
.service-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    min-height: 360px;
}

.service-card--wide {
    grid-column: span 2;
}

/* ---- Background Image ---- */
.service-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s var(--ease-out-expo),
                filter 0.5s ease;
    z-index: 0;
}

.service-card:hover .service-bg {
    transform: scale(1.08);
    filter: brightness(0.3);
}

/* ---- Gradient overlay (always visible) ---- */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.4) 50%,
        rgba(10, 10, 10, 0.15) 100%
    );
    z-index: 1;
    transition: background 0.5s ease;
}

.service-card:hover::before {
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.98) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.5) 100%
    );
}

/* ---- Content ---- */
.service-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 28px 28px 32px;
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.service-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: all 0.4s ease;
}

.service-card:hover .service-number {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
}

.service-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.5s var(--ease-out-expo);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.04);
}

.service-card:hover .service-arrow {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: rotate(-45deg) scale(1.05);
}

/* ---- Bottom Info ---- */
.service-bottom {
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover .service-bottom {
    transform: translateY(0);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(103, 61, 204, 0.15);
    border: 1px solid rgba(103, 61, 204, 0.25);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 16px;
    transition: all 0.4s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.service-card:hover .service-icon {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--white);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
}

.service-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 420px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s var(--ease-out-expo) 0.1s;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   WORK SECTION — HORIZONTAL SCROLL
   =========================== */
.work {
    padding: clamp(30px, 6vw, 70px) 0 0;
    background: var(--black);
    overflow: hidden;
}

.work .section-header {
    margin-bottom: 1.5rem;
}

.work .section-title {
    color: var(--white);
}

.work .section-tag {
    color: var(--gray-400);
}

.work-drag-hint {
    color: var(--gray-500);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: -0.5rem;
}

.work-drag-hint i {
    color: var(--accent);
    font-size: 0.9rem;
}

.work-header-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -0.5rem;
}

/* ---- Track ---- */
.projects-track {
    width: 100%;
}

.projects-track-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

/* Only show the first 9 cards in the main grid (8 designs + 1 CTA) */
.projects-track-inner .project-card:nth-child(n+10) {
    display: none;
}

/* ---- Card ---- */
.project-card {
    position: relative;
    overflow: hidden;
    background: var(--gray-900);
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.project-card-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-expo),
                filter 0.5s ease;
}

.project-card:hover .project-card-img img {
    transform: scale(1.06);
    filter: brightness(0.4);
}

/* ---- Card Info Overlay ---- */
.project-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 32px 32px;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.6) 60%,
        transparent 100%
    );
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s var(--ease-out-expo),
                opacity 0.4s ease;
}

.project-card:hover .project-card-info {
    transform: translateY(0);
    opacity: 1;
}

.project-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    color: var(--white);
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.project-card-desc {
    color: var(--gray-300);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 12px;
    max-width: 90%;
}

.project-card-meta {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    padding: 6px 14px;
    border: 1px solid rgba(103, 61, 204, 0.3);
    border-radius: var(--radius-full);
    background: rgba(103, 61, 204, 0.08);
}

/* ---- CTA Card (See More) ---- */
.project-card--cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-900);
    text-decoration: none;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Glassmorphism/Glow effect on the CTA card */
.project-card--cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 50%, var(--accent-dark) 100%);
    z-index: 0;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.project-card--cta::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--gray-900);
    z-index: 1;
    border-radius: 4px;
}

.project-cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-card--cta:hover {
    transform: none; /* remove floating on entire card to focus on the icon */
}

.project-card--cta:hover::before {
    opacity: 1;
    animation: glowSpin 3s linear infinite;
}

@keyframes glowSpin {
    0% { background: linear-gradient(0deg, var(--accent) 0%, transparent 50%, var(--accent-dark) 100%); }
    25% { background: linear-gradient(90deg, var(--accent) 0%, transparent 50%, var(--accent-dark) 100%); }
    50% { background: linear-gradient(180deg, var(--accent) 0%, transparent 50%, var(--accent-dark) 100%); }
    75% { background: linear-gradient(270deg, var(--accent) 0%, transparent 50%, var(--accent-dark) 100%); }
    100% { background: linear-gradient(360deg, var(--accent) 0%, transparent 50%, var(--accent-dark) 100%); }
}

.project-card--cta .project-card-img {
    display: none;
}

.project-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--accent);
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--accent);
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.project-card--cta:hover .project-cta-icon {
    transform: scale(1.15);
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.6);
}

.project-card--cta .project-card-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-400) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.project-card--cta:hover .project-card-title {
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-card--cta .project-card-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    max-width: 100%;
    margin-bottom: 0;
}

.project-card--cta .project-card-info {
    display: none;
}

/* ===========================
   LIGHTBOX
   =========================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, z-index 0s 0.35s;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2000;
    transition: opacity 0.35s ease, z-index 0s;
}

.lightbox-carousel {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: hidden;
}

.lightbox-carousel img {
    position: absolute;
    width: auto;
    height: auto;
    max-width: 80vw;
    max-height: 80vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transition: transform 0.6s var(--ease-out-expo),
                opacity 0.6s ease,
                z-index 0.6s ease;
    cursor: pointer;
    user-select: none;
    will-change: transform, opacity;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2010;
    transition: var(--transition);
    line-height: 1;
    opacity: 0.7;
}

.lightbox-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 1.3rem;
    z-index: 2010;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--black);
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    font-family: 'Bebas Neue', sans-serif;
}

/* ===========================
   CTA BANNER SECTION
   =========================== */
.cta-banner {
    padding: clamp(50px, 8vw, 90px) 0;
    background: var(--accent);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: 'LET\'S GO';
    position: absolute;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(8rem, 20vw, 18rem);
    color: rgba(0, 0, 0, 0.04);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--white);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta {
    background: var(--white);
    color: var(--accent-dark);
    border-color: var(--white);
    padding: 18px 44px;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-cta:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact {
    padding: clamp(30px, 6vw, 70px) 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: var(--accent);
    font-size: 1.25rem;
    width: 44px;
    height: 44px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--black);
    margin-bottom: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.contact-link {
    color: var(--gray-500);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 2rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s var(--ease-out-expo);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(103, 61, 204, 0.35);
}

.contact-form {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(103, 61, 204, 0.15);
}

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

.contact-form .btn {
    width: 100%;
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

.contact-form .btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(103, 61, 204, 0.35);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--black);
    color: var(--gray-400);
    padding: clamp(40px, 6vw, 80px) 0 2rem;
}

.footer-top {
    text-align: center;
    padding-bottom: clamp(30px, 4vw, 50px);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray-500);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-500);
    font-size: 0.85rem;
    transition: var(--transition);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Scroll-triggered reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 768px) {
    .hero-container {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: clamp(3rem, 9vw, 5rem);
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 2.5vw, 1.1rem);
        letter-spacing: 2px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        text-align: center;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .about-image::after {
        display: none;
    }

    .profile-image {
        max-width: 320px;
    }

    .about-stats {
        gap: 1.5rem;
    }

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

    .service-card--wide {
        grid-column: span 1;
    }

    .service-card {
        min-height: 300px;
    }

    .project-card {
        width: 100%;
        height: auto;
    }

    .project-card--cta {
        width: 100%;
    }

    .projects-track-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        padding: 0;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .manifesto-text {
        font-size: clamp(2.5rem, 7vw, 5rem);
    }

    .service-content {
        padding: 22px 22px 26px;
    }

    .service-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .work-drag-hint {
        font-size: 0.7rem;
    }

    .project-cta-inner {
        padding: 28px;
    }

    .project-cta-icon {
        width: 52px;
        height: 52px;
        font-size: 1.1rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-track-inner {
        grid-template-columns: repeat(1, 1fr);
    }

    .project-card {
        width: 100%;
        height: auto;
    }

    .project-card--cta {
        width: 100%;
    }

    .project-card-info {
        padding: 24px 20px 20px;
    }

    .project-card-title {
        font-size: 1.4rem;
    }

    .project-card-desc {
        font-size: 0.78rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .accent-strip--primary {
        font-size: 1rem;
    }

    .accent-strip .inner {
        gap: 1.5rem;
    }

    .hero-video-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.7) 100%
        );
    }

    .contact-form {
        padding: 1.5rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .service-content {
        padding: 18px 18px 22px;
    }

    .service-card {
        min-height: 260px;
    }

    .service-card h3 {
        font-size: clamp(1.3rem, 5vw, 1.6rem);
    }

    .service-card p {
        font-size: 0.78rem;
    }

    .service-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }

    .service-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .work-drag-hint {
        display: none;
    }

    .project-cta-inner {
        padding: 20px;
    }

    .project-cta-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .contact-item i {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .footer-brand {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-links a {
        font-size: 0.75rem;
    }
}

/* ===========================
   ACCESSIBILITY & PREFERENCES
   =========================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .cursor, .cursor-follower {
        display: none !important;
    }
}

.btn:focus-visible,
.nav-link:focus-visible,
.social-link:focus-visible,
.service-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (prefers-contrast: high) {
    .hero {
        background: #000;
    }

    .btn-secondary {
        border-color: #fff;
    }

    .hero-video-overlay {
        background: rgba(0, 0, 0, 0.7);
    }

    .title-outline {
        -webkit-text-stroke-width: 3px;
    }
}

@media (prefers-reduced-data: reduce) {
    .hero-video {
        display: none;
    }
}
