:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --accent-color: #ffffff;
    --dim-color: #555555;
    --font-main: 'Outfit', sans-serif;
    --section-padding: 120px 40px;
}

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

html {
    background-color: var(--bg-color);
}

body {
    background-color: transparent;
    /* Allows seeing canvas through knockout holes */
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    width: 100vw;
    -webkit-font-smoothing: antialiased;
}

/* --- Canvas Background --- */
#canvas1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
    /* Slight fade to let text pop */
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    /* Ensures visibility over white particles */
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.menu-btn {
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background: #fff;
    color: #000;
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
}

.hero-container {
    width: 100%;
    max-width: 1600px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Abstract Orbit/Clock */
.orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-width: 1px;
    border-style: dashed;
}

.ring-2 {
    width: 60%;
    height: 60%;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.orbit-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* Hero Typography */
.hero-title {
    font-size: 14vw;
    line-height: 0.85;
    font-weight: 700;
    text-align: center;
    color: rgba(255, 255, 255, 0.20);
    /* mix-blend-mode: overlay; REMOVED per user request for opacity */
    position: relative;
    z-index: 10;
}

.highlight {
    position: relative;
    display: inline-block;
    padding: 0;
    margin: 0;
    /* Red box with knockout is created via JavaScript SVG */
}

.title-line {
    display: block;
    overflow: hidden;
    /* For reveal animation */
}

.hero-footer {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--dim-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Sections Common --- */
.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--dim-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.line-separator {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Work Section --- */
.work-section {
    padding: var(--section-padding);
    max-width: 1600px;
    margin: 0 auto;
}

.work-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.work-item {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.work-item:nth-child(even) {
    grid-template-columns: 1fr 1.5fr;
    direction: rtl;
    /* Flip layout broadly */
}

.work-item:nth-child(even) .work-info {
    direction: ltr;
    /* Reset text direction */
}

.work-image-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.work-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.work-item:hover .work-image {
    transform: scale(1.05);
    /* Subtle zoom */
}

/* Placeholders */
.img-1 {
    background-image: url('skyline_preview.jpg');
    background-size: cover;
    background-position: top center;
}

.img-2 {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
}

.img-3 {
    background: linear-gradient(to right, #434343 0%, #000000 100%);
}


.work-info h3 {
    font-size: 5vw;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
    -webkit-text-stroke: 1px transparent;
    transition: all 0.3s;
}

.work-info p {
    font-size: 1.2rem;
    color: var(--dim-color);
}

.work-item:hover .work-info h3 {
    -webkit-text-stroke: 1px #fff;
    color: transparent;
    /* Outline effect on hover */
}

/* --- Services Section --- */
.services-section {
    padding: var(--section-padding);
    max-width: 1600px;
    margin: 0 auto;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: padding 0.3s ease;
    cursor: default;
}

.service-item:hover {
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.service-item .num {
    font-size: 0.9rem;
    color: var(--dim-color);
    margin-right: 40px;
}

.service-item h3 {
    font-size: 3rem;
    font-weight: 300;
    text-transform: uppercase;
    flex: 1;
}

/* --- Footer --- */
.footer-section {
    padding: var(--section-padding);
    padding-bottom: 40px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-label {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--dim-color);
}

.contact-link {
    font-size: 12vw;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    line-height: 0.9;
    letter-spacing: -2px;
    -webkit-text-stroke: 2px transparent;
    transition: all 0.3s;
}

.contact-link:hover {
    color: transparent;
    -webkit-text-stroke: 2px #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    color: var(--dim-color);
    text-transform: uppercase;
}

.socials {
    display: flex;
    gap: 40px;
}

.socials a {
    color: var(--dim-color);
    text-decoration: none;
    transition: color 0.3s;
}

.socials a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    /* Navigation */
    .nav {
        padding: 20px;
    }

    .logo {
        font-size: 1rem;
    }

    .menu-btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    /* Hero Section */
    .hero-section {
        padding: 20px;
    }

    .hero-title {
        font-size: 18vw;
        line-height: 0.9;
    }

    .orbit-container {
        width: 300px;
        height: 300px;
    }

    .hero-title {
        margin-bottom: 80px;
        color: rgba(255, 255, 255, 0.30);
    }

    .highlight {
        vertical-align: top;
        top: -0.04em;
    }

    .hero-footer {
        bottom: 20px;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
        font-size: 0.75rem;
    }

    /* Section Headers */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 0.85rem;
    }

    .line-separator {
        width: 100%;
    }

    /* Work Section */
    .work-section {
        padding: var(--section-padding);
    }

    .work-list {
        gap: 60px;
    }

    .work-item {
        grid-template-columns: 1fr !important;
        gap: 20px;
        direction: ltr !important;
    }

    .work-image-container {
        height: 220px;
    }

    .work-info h3 {
        font-size: 8vw;
        margin-bottom: 10px;
    }

    .work-info p {
        font-size: 0.9rem;
    }

    /* Services Section */
    .services-section {
        padding: var(--section-padding);
    }

    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 24px 0;
    }

    .service-item:hover {
        padding-left: 0;
    }

    .service-item .num {
        margin-right: 0;
        font-size: 0.8rem;
    }

    .service-item h3 {
        font-size: 1.4rem;
    }

    /* Footer Section */
    .footer-section {
        padding: var(--section-padding);
        padding-bottom: 30px;
        min-height: 60vh;
    }

    .contact-label {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .contact-link {
        font-size: 14vw;
        letter-spacing: -1px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        padding-top: 24px;
        font-size: 0.75rem;
    }

    .studio-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .socials {
        gap: 24px;
        flex-wrap: wrap;
    }

    /* Touch-based hover for mobile work cards */
    .work-item.touch-hover .work-image {
        transform: scale(1.05);
    }

    .work-item.touch-hover .work-info h3 {
        -webkit-text-stroke: 1px #fff;
        color: transparent;
    }
}