:root {
    --bg-color: #000000;
    /* Monogrid classic blue */
    --text-color: #FFFFFF;
    --brand-color: #00ff00;
    /* Optional accent */
    --font-heading: 'Space Mono', monospace;
    --font-body: 'Inter', sans-serif;
    --cursor-size: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    cursor: none !important;
    /* Force hide default cursor everywhere */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    cursor: none;
    /* Hide default for custom cursor */
}

::selection {
    background-color: var(--brand-color);
    color: var(--bg-color);
}

::-moz-selection {
    background-color: var(--brand-color);
    color: var(--bg-color);
}

a {
    color: inherit;
    text-decoration: none;
    cursor: none;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--cursor-size);
    height: var(--cursor-size);
    border-radius: 50%;
    background-color: hsl(120, 100%, 50%);
    /* Solid green is visible everywhere */
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    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 ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--bg-color);
    text-transform: uppercase;
    text-align: center;
    opacity: 0;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.custom-cursor.active {
    width: 80px;
    height: 80px;
    background-color: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.header-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 12rem);
    line-height: 0.85;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    will-change: transform, opacity;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* =========================================
   FEATURED WORKS SECTION (NEW 3-COL)
   ========================================= */
.featured-works-section {
    padding: 10rem 4rem;
    background-color: #050505;
    position: relative;
    z-index: 2;
}

.fw-header {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-color);
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fw-grid {
    column-count: 3;
    column-gap: 2rem;
}

.fw-item {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    position: relative;
    cursor: pointer;
    margin-bottom: 4rem;
}

.fw-image {
    width: 100%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 4px; /* Optional subtle border radius for better pinterest feel */
}

.fw-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.fw-item:hover .fw-image img {
    transform: scale(1.05);
}

.fw-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.fw-tags span {
    background-color: #00ff00; /* Changed to green */
    color: #000;
    font-family: var(--font-heading);
    font-size: 0.5rem;
    padding: 0.2rem 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
}

.fw-title {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.fw-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    padding-right: 2rem;
}

.fw-arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #00ff00;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.fw-item:hover .fw-arrow {
    transform: translate(5px, 5px);
}

/* --- Video Items on Home Grid --- */
.fw-video-item .fw-image {
    position: relative;
    overflow: hidden;
}

.fw-video-item .portfolio-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0.7;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.video-play-overlay span {
    font-size: 3rem;
    color: #00ff00;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    display: block;
    line-height: 1;
}

.fw-video-item:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .fw-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .fw-grid {
        column-count: 1;
    }
}

/* Marquee Section */
.marquee-section {
    padding: 4rem 0;
    background-color: var(--text-color);
    color: var(--bg-color);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.marquee-inner {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 5rem);
    font-weight: 700;
    text-transform: uppercase;
    padding-left: 100%;
    /* Start off-screen */
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* Footer Section */
.footer {
    padding: 10rem 4rem 4rem;
    background-color: var(--bg-color);
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.footer-top h2 {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 15rem);
    line-height: 0.8;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
}

.footer-email {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 3vw, 3rem);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #aaa;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
}

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

.footer-links a {
    position: relative;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,255,0, 0.2); /* Changed to green */
    opacity: 0;
    transition: opacity 0.5s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

/* =========================================
   WORKS PAGE STYLES
   ========================================= */
.works-page {
    background-color: #050505;
    /* completely dark for contrast */
}

.works-list-section {
    padding: 12rem 0;
}

.page-heading {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 6rem);
    letter-spacing: -0.05em;
    margin-bottom: 4rem;
    padding: 0 4rem;
}

.works-list {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.works-list-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: background-color 0.3s ease;
}

.works-list-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.works-list-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem;
    width: 100%;
    position: relative;
    z-index: 5;
}

.works-list-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 7rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    transform: translateX(0);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
    mix-blend-mode: difference;
}

.works-list-meta {
    font-family: var(--font-body);
    font-size: clamp(0.875rem, 1.5vw, 1.25rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.works-list-item:hover .works-list-title {
    transform: translateX(2rem);
    color: var(--brand-color);
    /* Flashy hover color if desired */
}

.works-list-item:hover .works-list-meta {
    opacity: 1;
}

/* Hover Reveal Image */
.hover-reveal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 500px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transform: scale(0.8) translate(-50%, -50%);
    overflow: hidden;
    will-change: transform, opacity;
}

.hover-reveal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */
.contact-page {
    background-color: var(--bg-color);
}

.contact-hero {
    padding: 12rem 4rem 4rem;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 15vw, 20rem);
    line-height: 0.8;
    letter-spacing: -0.05em;
    margin-bottom: 8rem;
}

.contact-grid-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 4rem;
}

.contact-block h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.contact-block p,
.contact-block a {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.6;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-block a:hover {
    text-decoration: underline;
}

.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

/* =========================================
   ABOUT PAGE STYLES
   ========================================= */
.about-page {
    background-color: #020202;
}

.about-hero {
    padding: 12rem 4rem 4rem;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 12rem);
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin-bottom: 4rem;
}

.about-description {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.4;
    max-width: 1200px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

.about-image-section {
    padding: 0 4rem 10rem;
}

.about-image-wrapper {
    width: 100%;
    height: 80vh;
    overflow: hidden;
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.about-image-wrapper:hover img {
    filter: grayscale(0%);
}

/* Skills section on About page */
.about-skills-section {
    padding: 4rem 4rem 6rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.about-skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.about-skill-label {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.about-skill-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.about-skill-list li {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 0.6rem;
    transition: color 0.2s ease;
}

.about-skill-list li:hover {
    color: #00ff00;
}

@media (max-width: 900px) {
    .about-skills-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .about-skills-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   MINIMAL HEADER & SPLIT PAGES UI
   ========================================= */
.bg-black {
    background-color: #000;
}

.header-minimal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    mix-blend-mode: difference;
}

.h-left,
.h-center,
.h-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.h-center .header-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.dot-green {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #00ff00;
}

.icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #fff;
}

.nav-btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    transition: background 0.3s, color 0.3s;
}

.nav-btn:hover,
.nav-btn.active {
    background-color: #00ff00;
    color: #000;
    border-color: #00ff00;
}

/* =========================================
   WORKS SPLIT PAGE
   ========================================= */
.works-split {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.split-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 6rem;
    padding-left: 2rem;
    padding-right: 2rem;
    overflow: hidden;
    height: 100vh;
}

.works-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wt-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.wt-filters {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wt-filters span.active {
    color: #fff;
    font-weight: 700;
}

.wt-filters span {
    cursor: none !important;
    transition: color 0.2s ease;
}

.wt-filters span:hover {
    color: rgba(255,255,255,0.8);
}

.wt-filters span.active {
    color: #00ff00;
    font-weight: 700;
}

.wt-search {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.5rem 0;
    width: 250px;
}

.wt-search:focus {
    outline: none;
    border-color: #fff;
}

.works-columns {
    display: flex;
    flex: 1;
    overflow: hidden;
    height: calc(100vh - 140px); /* Fill remaining viewport below header+top bar */
}

.works-col-left {
    flex: 1;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

/* Hide scrollbar */
.works-col-left::-webkit-scrollbar {
    display: none;
}

.works-col-left {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.w-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.4rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.35);
    transition: background 0.2s ease, color 0.2s ease;
    cursor: none;
}

.w-item:hover {
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.85);
}

.w-item.active {
    background-color: #00ff00;
    color: #000;
}

.w-item.active .w-item-tag {
    color: rgba(0,0,0,0.6);
}

.w-item.active .w-item-arrow {
    color: #000;
}

.w-item-num {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    width: 36px;
    flex-shrink: 0;
    opacity: 0.5;
}

.w-item-title {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.6rem);
    font-weight: 300;
    flex: 1;
    line-height: 1.2;
}

.w-item-arrow {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #00ff00;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.w-item:hover .w-item-arrow,
.w-item.active .w-item-arrow {
    opacity: 1;
    transform: translateX(0);
}

.works-col-right {
    flex: 1.2;
    position: sticky;
    top: 0;
    height: 100%;
    background-color: #000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.w-preview-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

#w-preview-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* contain = show full image without crop */
    object-position: center;
    transition: opacity 0.4s ease;
    max-height: calc(100vh - 200px);
}

#w-preview-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.4s ease;
    max-height: calc(100vh - 200px);
}

.w-preview-meta {
    position: absolute;
    bottom: 1rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

#w-preview-label {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #fff;
}

#w-preview-type {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: #00ff00;
    background: rgba(0,255,0,0.1);
    padding: 0.3rem 0.6rem;
    border: 1px solid #00ff00;
}

.w-item-tag {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex: 1;
    padding: 0 1rem;
}

/* =========================================
   CONTACT PAGE V2 (GREEN THEME REWRITE)
   ========================================= */
.new-contact-theme {
    background-color: #000;
}

.contact-bg-green {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 70%) var(--mouse-y, 30%), rgba(0,255,0,0.15) 0%, rgba(0,0,0,1) 60%);
    background-image: radial-gradient(circle at var(--mouse-x, 70%) var(--mouse-y, 30%), rgba(0,255,0,0.15) 0%, rgba(0,0,0,1) 60%),
                      radial-gradient(circle, rgba(0,255,0,0.2) 1px, transparent 1px);
    background-size: 100% 100%, 8px 8px;
    z-index: -1;
    pointer-events: none;
}

.contact-v2-main {
    padding: 12rem 4rem 4rem;
    display: flex;
    justify-content: space-between;
    min-height: 80vh;
}

.cv-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cv-giant-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 10rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
    color: #fff;
}

.cv-sub {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4rem;
    line-height: 1.4;
}

.cv-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cv-info-grid h4 {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    color: #444;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.cv-link {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cv-link:hover {
    color: #00ff00;
}

.cv-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cv-form {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(255,255,255,0.03);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.cv-form-row {
    display: flex;
    gap: 2rem;
}

.cv-form-row > * {
    flex: 1;
}

.cv-form input,
.cv-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 1rem 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: normal;
    transition: border-color 0.3s ease;
}

.cv-form input:focus,
.cv-form textarea:focus {
    outline: none;
    border-color: #00ff00;
}

.form-checkbox {
    margin-top: 1rem;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #ccc;
    position: relative;
    cursor: none;
}

.custom-checkbox input {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
    cursor: none;
}

.custom-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255,255,255,0.5);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.custom-checkbox input:checked + .checkmark {
    border-color: #00ff00;
}

.custom-checkbox input:checked + .checkmark::after {
    content: '';
    width: 6px;
    height: 12px;
    border: solid #00ff00;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.custom-checkbox p {
    margin: 0;
}

.custom-checkbox a {
    color: #fff;
    text-decoration: underline;
}

.custom-checkbox a:hover {
    color: #00ff00;
}

.cv-submit {
    margin-top: 1rem;
    background: #00ff00;
    color: #000;
    border: none;
    padding: 1.5rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: none; /* override back to none so hover works well */
}

.cv-submit:hover {
    transform: translateY(-5px);
    background: #fff;
}

/* =========================================
   404 ERROR PAGE 
   ========================================= */
.error-page-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    position: relative;
    padding: 0 2rem;
}

.error-content {
    text-align: center;
    max-width: 800px;
}

.error-title {
    font-family: var(--font-heading);
    font-size: clamp(8rem, 20vw, 25rem);
    line-height: 0.8;
    color: #fff;
    margin: 0;
    margin-bottom: 2rem;
    position: relative;
    text-shadow: 10px 10px 0 #00ff00;
}

.error-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem;
    letter-spacing: 0.1em;
}

.error-btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    background-color: #00ff00;
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: none; /* Works with custom cursor */
}

.error-btn:hover {
    transform: translateY(-5px);
    background-color: #fff;
}

@media (max-width: 900px) {
    .contact-v2-main {
        flex-direction: column;
        gap: 4rem;
    }
    .cv-form-row {
        flex-direction: column;
        gap: 2rem;
    }
}


@media (max-width: 768px) {
    /* Header Navigation */
    .header {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .header-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -ms-overflow-style: none;  
        scrollbar-width: none;  
    }
    
    .header-nav::-webkit-scrollbar { 
        display: none; 
    }

    .nav-link {
        font-size: 0.9rem;
    }

    /* Hero / General Content Layouts */
    .hero-title {
        font-size: 14vw;
    }
    
    .page-heading {
        padding: 0 1.5rem;
    }

    /* Featured Works Grid (Index) */
    .featured-works-section {
        padding: 6rem 1.5rem;
    }

    .fw-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .fw-title {
        font-size: 1.5rem;
    }

    /* Split Concept for Works and Contact */
    .works-columns {
        flex-direction: column;
    }

    .works-col-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        height: 50vh;
    }

    .works-col-right {
        height: 50vh;
        padding: 1rem;
    }

    .w-item {
        padding: 1.5rem 1rem;
    }

    .w-item-title {
        font-size: 1.2rem;
    }

    /* Contact Form Tweaks (below 900px already handles stacking, tweak paddings) */
    .contact-v2-main {
        padding: 10rem 1.5rem 4rem;
    }

    .cv-form {
        padding: 1.5rem;
    }

    /* About Section */
    .about-hero {
        padding: 10rem 1.5rem 2rem;
    }
    
    .about-image-section {
        padding: 0 1.5rem 6rem;
    }

    .about-image-wrapper {
        height: 50vh;
    }

    /* Global Footer */
    .footer {
        padding: 6rem 1.5rem 2rem;
    }

    .footer-content {
        gap: 4rem;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 2rem;
        font-size: 0.8rem;
    }

    .footer-links {
        width: 100%;
        justify-content: space-between;
    }

    /* Disable Custom Cursor on Touch Devices */
    .custom-cursor {
        display: none !important;
    }

    *, *::before, *::after {
        cursor: auto !important;
    }

    a, button, input, textarea {
        cursor: pointer !important;
    }
}

/* Preloader */
#app-loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
}

#app-loading-container.loaded {
    opacity: 0;
    pointer-events: none;
}

#app-loading {
    width: 50px;
    height: 50px;
}

.spinner {
    animation: rotate 2s linear infinite;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    width: 50px;
    height: 50px;
}

.spinner .path {
    stroke: var(--text-color);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* View All Button */
.view-all-btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.5rem 0;
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #fff;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.view-all-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #00ff00;
    transition: width 0.3s ease;
}

.view-all-btn:hover {
    color: #00ff00;
}

.view-all-btn:hover::after {
    width: 100%;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 4rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #00ff00;
}

.modal-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    color: #fff;
}

.modal-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}


