* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark: #0a0a0a;
    --darker: #050505;
    --gray: #1a1a1a;
    --light-gray: #2a2a2a;
    --white: #ffffff;
    --off-white: #e0e0e0;
    --accent: #666;
}

/* Light Theme Variables */
body.light-theme {
    --dark: #f8f8f8;
    --darker: #ffffff;
    --gray: #f0f0f0;
    --light-gray: #e8e8e8;
    --white: #0a0a0a;
    --off-white: #1a1a1a;
    --accent: #666;
}

/* Tesla Theme Variables */
body.tesla-theme {
    --dark: #0a1628;
    --darker: #050d1a;
    --gray: #0f1f3a;
    --light-gray: #1a2d4d;
    --white: #00d4ff;
    --off-white: #7dd3fc;
    --accent: #38bdf8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--darker);
    color: var(--off-white);
    overflow-x: hidden;
    cursor: none;
    line-height: 1.6;
    transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme specific styles */
body.light-theme {
    background: #ffffff;
}

body.light-theme .hero {
    background: radial-gradient(ellipse at center, #f5f5f5 0%, #ffffff 70%);
}

body.light-theme .custom-cursor {
    border-color: rgba(0, 0, 0, 0.3);
}

body.light-theme .custom-cursor.hover {
    border-color: var(--white);
}

body.light-theme #webgl-canvas {
    opacity: 0.15;
}

body.light-theme .particle {
    background: rgba(0, 0, 0, 0.3);
}

body.light-theme .skull-glow {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
}

body.light-theme .nav-link {
    color: rgba(0, 0, 0, 0.6);
}

body.light-theme .nav-link:hover,
body.light-theme .nav-link.active {
    color: var(--white);
}

body.light-theme .nav-link::after {
    background: var(--white);
}

body.light-theme .btn-primary::before,
body.light-theme .btn-secondary::before {
    background: var(--white);
}

body.light-theme .btn-primary:hover,
body.light-theme .btn-secondary:hover {
    color: var(--darker);
    border-color: var(--white);
}

body.light-theme .intro-section,
body.light-theme .capabilities-section,
body.light-theme .footer {
    background: #fafafa;
}

body.light-theme .work-section,
body.light-theme .process-section {
    background: #f5f5f5;
}

body.light-theme .work-image,
body.light-theme .work-image-large,
body.light-theme .project-image-full,
body.light-theme .project-image-half {
    background: #fff;
}

body.light-theme .work-placeholder {
    color: rgba(0, 0, 0, 0.08);
}

body.light-theme .work-item:hover .work-placeholder {
    color: rgba(0, 0, 0, 0.15);
}

body.light-theme .footer-content,
body.light-theme .timeline-item,
body.light-theme .service-item,
body.light-theme .project-overview {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .form-group input,
body.light-theme .form-group select,
body.light-theme .form-group textarea {
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-theme .form-group input:focus,
body.light-theme .form-group select:focus,
body.light-theme .form-group textarea:focus {
    border-color: var(--white);
}

body.light-theme .scroll-line {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}

/* Tesla theme specific styles */
body.tesla-theme {
    background: #050d1a;
}

body.tesla-theme .hero {
    background: radial-gradient(ellipse at center, #0f1f3a 0%, #050d1a 70%);
}

body.tesla-theme .custom-cursor {
    border-color: rgba(0, 212, 255, 0.5);
}

body.tesla-theme .custom-cursor.hover {
    border-color: var(--white);
}

body.tesla-theme #webgl-canvas {
    opacity: 0.4;
}

body.tesla-theme .particle {
    background: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 4px rgba(0, 212, 255, 0.8);
}

body.tesla-theme .skull-glow {
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
}

body.tesla-theme .nav-link {
    color: rgba(125, 211, 252, 0.7);
}

body.tesla-theme .nav-link:hover,
body.tesla-theme .nav-link.active {
    color: var(--white);
}

body.tesla-theme .nav-link::after {
    background: var(--white);
}

body.tesla-theme .btn-primary::before,
body.tesla-theme .btn-secondary::before {
    background: var(--white);
}

body.tesla-theme .btn-primary:hover,
body.tesla-theme .btn-secondary:hover {
    color: var(--darker);
    border-color: var(--white);
}

body.tesla-theme .intro-section,
body.tesla-theme .capabilities-section,
body.tesla-theme .footer {
    background: #0a1628;
}

body.tesla-theme .work-section,
body.tesla-theme .process-section {
    background: #0f1f3a;
}

body.tesla-theme .work-image,
body.tesla-theme .work-image-large,
body.tesla-theme .project-image-full,
body.tesla-theme .project-image-half {
    background: #050A14;
    border: 1px solid rgba(0, 153, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 153, 255, 0.05);
}

body.tesla-theme .work-placeholder {
    color: rgba(0, 212, 255, 0.15);
}

body.tesla-theme .work-item:hover .work-placeholder {
    color: rgba(0, 212, 255, 0.25);
}

body.tesla-theme .footer-content,
body.tesla-theme .timeline-item,
body.tesla-theme .service-item,
body.tesla-theme .project-overview {
    border-color: rgba(0, 212, 255, 0.2);
}

body.tesla-theme .form-group input,
body.tesla-theme .form-group select,
body.tesla-theme .form-group textarea {
    border-color: rgba(0, 212, 255, 0.3);
}

body.tesla-theme .form-group input:focus,
body.tesla-theme .form-group select:focus,
body.tesla-theme .form-group textarea:focus {
    border-color: var(--white);
}

body.tesla-theme .scroll-line {
    background: linear-gradient(to bottom, rgba(0, 212, 255, 0.6), transparent);
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.2s ease, border-color 0.3s ease;
}

.custom-cursor.hover {
    transform: scale(2);
    border-color: var(--white);
}

body.light-theme .custom-cursor {
    border-color: rgba(0, 0, 0, 0.5);
    mix-blend-mode: normal;
}

body.light-theme .custom-cursor.hover {
    border-color: rgba(0, 0, 0, 0.8);
}

/* Canvas & Particles */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 0;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
}

body.light-theme .particle {
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

/* Cross particles for light theme */
.cross-particle {
    position: absolute;
    width: 12px;
    height: 12px;
    opacity: 0.4;
}

.cross-particle::before,
.cross-particle::after {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
}

.cross-particle::before {
    width: 2px;
    height: 12px;
    left: 5px;
    top: 0;
}

.cross-particle::after {
    width: 12px;
    height: 2px;
    left: 0;
    top: 5px;
}

/* Electric bolt particles for Tesla theme */
.bolt-particle {
    position: absolute;
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, 
        rgba(0, 212, 255, 0.8) 0%, 
        rgba(0, 212, 255, 0.4) 50%, 
        transparent 100%);
    opacity: 0.7;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.8),
                0 0 15px rgba(0, 212, 255, 0.4);
    transform-origin: top center;
}

.bolt-particle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 4px;
    height: 4px;
    background: rgba(0, 212, 255, 1);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 212, 255, 1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    mix-blend-mode: difference;
}

body.light-theme .header {
    mix-blend-mode: normal;
    background: transparent;
}

.header-logo a {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--white);
    text-decoration: none;
}

body.light-theme .header-logo a {
    color: var(--white);
}

.header-nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 13px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    position: relative;
    transition: color 0.4s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.4s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

.theme-toggle:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

body.light-theme .theme-toggle {
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-theme .theme-toggle:hover {
    border-color: rgba(0, 0, 0, 0.6);
}

.theme-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: contain;
}

.theme-icon-dark {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.theme-icon-light {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
}

.theme-icon-tesla {
    opacity: 0;
    transform: scale(0.5) rotate(180deg);
}

body.light-theme .theme-icon-dark {
    opacity: 0;
    transform: scale(0.5) rotate(180deg);
}

body.light-theme .theme-icon-light {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

body.light-theme .theme-icon-tesla {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
}

body.tesla-theme .theme-icon-dark {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
}

body.tesla-theme .theme-icon-light {
    opacity: 0;
    transform: scale(0.5) rotate(180deg);
}

body.tesla-theme .theme-icon-tesla {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, var(--darker) 70%);
}

.hero-content {
    text-align: center;
}

.skull-container {
    position: relative;
    margin-bottom: 60px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.skull-image {
    width: 400px;
    height: auto;
    filter: drop-shadow(0 0 60px rgba(0, 0, 0, 0.9));
    opacity: 0.85;
    transition: filter 0.6s ease, opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.skull-dark {
    opacity: 0.85;
    z-index: 3;
}

.skull-light {
    opacity: 0;
    z-index: 2;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
    width: 480px;
    transform: translateX(-50%);
}

.skull-tesla {
    opacity: 0;
    z-index: 1;
    filter: drop-shadow(0 0 60px rgba(0, 212, 255, 0.8));
    width: 480px;
    transform: translateX(-50%);
}

body.light-theme .skull-dark {
    opacity: 0;
    pointer-events: none;
}

body.light-theme .skull-light {
    opacity: 0.95;
    pointer-events: auto;
}

body.light-theme .skull-tesla {
    opacity: 0;
    pointer-events: none;
}

body.tesla-theme .skull-dark {
    opacity: 0;
    pointer-events: none;
}

body.tesla-theme .skull-light {
    opacity: 0;
    pointer-events: none;
}

body.tesla-theme .skull-tesla {
    opacity: 0.95;
    pointer-events: auto;
}



/* Maintain container height */
.skull-container::before {
    content: '';
    display: block;
    padding-bottom: 100%;
    width: 400px;
}



.skull-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-verse {
    width: 100%;
    max-width: 600px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: var(--off-white);
    opacity: 0.5;
    font-style: italic;
    max-height: 2.4em;
    overflow: hidden;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.6;
}

.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* Sections */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 60px;
    line-height: 1.2;
}

/* Intro Section */
.intro-section {
    background: var(--darker);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    align-items: start;
}

.intro-description {
    font-size: 20px;
    line-height: 1.8;
    color: var(--off-white);
    margin-bottom: 40px;
}

.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-number {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--accent);
    text-transform: uppercase;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    background: transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    left: 0;
}

.btn-primary:hover,
.btn-secondary:hover {
    color: var(--darker);
    border-color: var(--white);
}

/* Work Grid */
.work-section {
    background: var(--dark);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.work-item {
    text-decoration: none;
    color: var(--off-white);
    display: block;
    transition: transform 0.4s ease;
}

.work-item:hover {
    transform: translateY(-10px);
}

.work-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.1);
    transition: all 0.6s ease;
}

.work-item:hover .work-placeholder {
    font-size: 96px;
    color: rgba(255, 255, 255, 0.2);
}

.work-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 8px;
}

.work-category {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--accent);
    text-transform: uppercase;
}

.section-cta {
    text-align: center;
}

/* Work Grid Full */
.work-grid-full {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.work-item-large {
    text-decoration: none;
    color: var(--off-white);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    transition: opacity 0.4s ease;
}

.work-item-large:hover {
    opacity: 0.8;
}

.work-image-large {
    width: 100%;
    aspect-ratio: 16/10;
    background: #000;
    position: relative;
    overflow: hidden;
}

.work-image-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.work-info-large {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.work-year {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
}

.work-title-large {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -1px;
}

.work-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--accent);
}

.work-tags {
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

/* Capabilities */
.capabilities-section {
    background: var(--darker);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
}

.capability-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.capability-number {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent);
}

.capability-title {
    font-size: 24px;
    font-weight: 400;
}

.capability-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--accent);
}

/* Footer */
.footer {
    padding: 100px 0 60px;
    background: var(--darker);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-cta {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid var(--white);
    padding-bottom: 5px;
    transition: opacity 0.3s ease;
}

.footer-cta:hover {
    opacity: 0.6;
}

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.footer-links a {
    font-size: 14px;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 12px;
    color: var(--accent);
    margin-top: 40px;
}

/* Page Hero */
.page-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.page-title {
    font-size: clamp(56px, 10vw, 120px);
    font-weight: 300;
    letter-spacing: -3px;
    line-height: 1;
}

.page-title .line {
    display: block;
    overflow: hidden;
}

/* About Page */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lead-text {
    font-size: 28px;
    line-height: 1.6;
    font-weight: 300;
}

.body-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--accent);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
}

.philosophy-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.philosophy-title {
    font-size: 20px;
    font-weight: 400;
}

.philosophy-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--accent);
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--accent);
}

.timeline-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--accent);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
}

.skill-category-title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.skill-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-list li {
    font-size: 15px;
    color: var(--accent);
    padding-left: 20px;
    position: relative;
}

.skill-list li::before {
    content: '—';
    position: absolute;
    left: 0;
}

/* Services */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:last-child {
    border-bottom: none;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 30px;
}

.service-number {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--accent);
}

.service-title {
    font-size: 36px;
    font-weight: 300;
}

.service-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.service-desc {
    font-size: 18px;
    line-height: 1.8;
    color: var(--accent);
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    font-size: 15px;
    color: var(--off-white);
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Process */
.process-section {
    background: var(--dark);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
}

.process-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.process-number {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent);
}

.process-title {
    font-size: 24px;
    font-weight: 400;
}

.process-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--accent);
}

/* Contact */
.contact-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0;
    position: relative;
    z-index: 10;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-top: 60px;
}

.contact-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--accent);
    margin-bottom: 40px;
}

.contact-email {
    font-size: 24px;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid var(--white);
    padding-bottom: 5px;
    display: inline-block;
    margin-bottom: 30px;
    transition: opacity 0.3s ease;
}

.contact-email:hover {
    opacity: 0.6;
}

.contact-social {
    display: flex;
    gap: 20px;
}

.contact-social a {
    font-size: 14px;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-social a:hover {
    color: var(--white);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 0;
    font-size: 16px;
    color: var(--white);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
}

.form-group select option {
    background: var(--white);
    color: var(--darker);
    padding: 10px;
}

.form-group textarea {
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

/* Project Page */
.project-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 10;
    text-align: center;
}

.project-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.project-year,
.project-category {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

.project-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.project-subtitle {
    font-size: 18px;
    color: var(--accent);
}

.project-image-full {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--gray);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.1);
}

.project-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.overview-value {
    font-size: 16px;
    color: var(--off-white);
}

.project-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-image-half {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--gray);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-top: 40px;
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-number {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -1px;
}

.result-label {
    font-size: 14px;
    color: var(--accent);
}

.project-nav {
    display: flex;
    justify-content: space-between;
    padding: 60px 0;
}

.project-nav-link {
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--off-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-nav-link:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .header {
        padding: 30px 40px;
    }
    
    .container,
    .container-narrow {
        padding: 0 40px;
    }
    
    .intro-grid,
    .work-item-large,
    .service-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-right {
        align-items: flex-start;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 20px 30px;
    }
    
    .header-nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .container,
    .container-narrow {
        padding: 0 30px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .skull-image {
        width: 250px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .project-images-grid {
        grid-template-columns: 1fr;
    }
}
/* Contact page footer fix */
body.contact-page .footer-text {
    font-size: 14px;
    opacity: 0.7;
}


/* Hide YJ on home page */
body.home .header-logo {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}
