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

html {
    scroll-behavior: smooth;
}

body {
    background: #222222;
    color: #E5DDC5;
    font-family: 'Spectral', serif;
    font-weight: 400;
    line-height: 1.9;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200vw;
    height: 200vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='https://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.12;
    pointer-events: none;
    z-index: 9999;
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

/* Typography */
h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #FFFFFF;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #E5DDC5;
    letter-spacing: 0.25em;
}

p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    opacity: 0.95;
}

.stanza {
    font-size: 1.6rem;
    margin: 1rem auto;
    font-weight: 400;
    font-style: italic;
    opacity: 0.9;
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
}

.content-section {
    min-height: 90vh;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-inner {
    max-width: 1200px;
    text-align: center;
}

/* Landing Section */
#landing {
    background: #000;
    color: #fff;
    position: relative;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.see-more {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 100;
    cursor: pointer;
}

.see-more:hover {
    opacity: 1;
    color: #D9391D;
}

/* Content Hidden Initially */
#content.hidden {
    display: none;
}

/* Three Column Layout */
.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 5rem;
    text-align: left;
}

.col {
    padding: 3rem 2rem;
    background: rgba(108, 88, 76, 0.1);
    border: 1px solid rgba(108, 88, 76, 0.2);
    transition: all 0.4s ease;
}

.col:hover {
    background: rgba(108, 88, 76, 0.15);
    border-color: rgba(217, 57, 29, 0.4);
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .three-col {
        grid-template-columns: 1fr;
    }
}

/* David's Eye Section */
.eye-section {
    background: #000;
    min-height: 100vh;
}

.eye-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-image {
    max-width: 80%;
    max-height: 80vh;
    object-fit: contain;
    filter: contrast(1.1) saturate(1.1);
    animation: fractalDistort 8s ease-in-out infinite;
}

@keyframes fractalDistort {
    0%, 100% {
        filter: contrast(1.1) saturate(1.1) hue-rotate(0deg);
        transform: scale(1);
    }
    25% {
        filter: contrast(1.15) saturate(1.2) hue-rotate(5deg);
        transform: scale(1.02) translateX(2px);
    }
    50% {
        filter: contrast(1.2) saturate(1.3) hue-rotate(-5deg);
        transform: scale(1.04) translateY(2px);
    }
    75% {
        filter: contrast(1.15) saturate(1.2) hue-rotate(3deg);
        transform: scale(1.02) translateX(-2px);
    }
}

.see-more-up {
    position: absolute;
    bottom: 3rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.see-more-up:hover {
    opacity: 1;
    color: #D9391D;
}

/* Footer */
footer {
    background: #000000;
    text-align: center;
    padding: 4rem 2rem;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: #6C584C;
    opacity: 0.9;
    border-top: 1px solid rgba(108, 88, 76, 0.2);
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(217, 57, 29, 0.3);
}

.nav-left .logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-right {
    display: flex;
    gap: 3rem;
}

.nav-right a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    color: #E5DDC5;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.4s ease;
    position: relative;
    text-transform: uppercase;
    transform: perspective(500px) rotateX(0deg) rotateY(0deg);
}

.nav-right a:hover,
.nav-right a.active {
    opacity: 1;
    color: #FFFFFF;
    transform: perspective(500px) rotateX(-2deg) rotateY(3deg) scale(1.05);
    text-shadow: 2px 2px 8px rgba(217, 57, 29, 0.4);
    filter: blur(0.3px) contrast(1.2);
    animation: glitchText 0.3s ease-in-out;
}

@keyframes glitchText {
    0%, 100% {
        transform: perspective(500px) rotateX(-2deg) rotateY(3deg) scale(1.05);
        filter: blur(0.3px) contrast(1.2);
    }
    25% {
        transform: perspective(500px) rotateX(1deg) rotateY(-2deg) scale(1.05) translateX(1px);
        filter: blur(0.5px) contrast(1.3);
    }
    75% {
        transform: perspective(500px) rotateX(-3deg) rotateY(2deg) scale(1.05) translateX(-1px);
        filter: blur(0.4px) contrast(1.1);
    }
}

.nav-right a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D9391D;
    transition: width 0.4s ease;
}

.nav-right a:hover::after,
.nav-right a.active::after {
    width: 100%;
}

/* About Page Layout */
.about-page {
    padding-top: 140px;
    background: #000000;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 3rem;
}

.about-section {
    padding: 6rem 0;
    border-bottom: 1px solid rgba(108, 88, 76, 0.3);
}

.about-section:last-of-type {
    border-bottom: none;
}

.hero-section {
    padding: 10rem 0 8rem 0;
    text-align: center;
    border-bottom: none;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: #6C584C;
    text-transform: uppercase;
    opacity: 0.8;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    text-shadow: 0 0 40px rgba(217, 57, 29, 0.2);
}

.hero-divider {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: #D9391D;
    letter-spacing: 0.2em;
    opacity: 0.6;
}

.hero-description {
    font-family: 'Spectral', serif;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #E5DDC5;
    line-height: 1.8;
    opacity: 0.9;
    font-style: italic;
}

.tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.25;
    max-width: 900px;
    margin: 0 auto;
    color: #FFFFFF;
    text-transform: uppercase;
}

.section-content {
    max-width: 750px;
    margin: 0 auto;
}

.section-content h2 {
    font-size: 2.2rem;
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-content p {
    margin-bottom: 1rem;
}

/* Eye Image Inline */
.eye-section-inline {
    text-align: center;
    padding: 8rem 0;
    background: #000000;
    position: relative;
}

.eye-section-inline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.eye-image-inline {
    max-width: 100%;
    height: auto;
    filter: contrast(1.2) saturate(1.15) brightness(0.9);
    animation: fractalDistort 8s ease-in-out infinite;
    position: relative;
    z-index: 0;
    box-shadow: 0 20px 60px rgba(217, 57, 29, 0.2);
}

/* Video Section */
.video-section {
    padding: 6rem 0;
    background: #000000;
}

.video-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    background: #000000;
    border: 1px solid rgba(108, 88, 76, 0.3);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.1) saturate(1.05);
}

/* Contact Link */
.contact-link {
    color: #E5DDC5;
    text-decoration: none;
    border-bottom: 2px solid #6C584C;
    transition: all 0.4s ease;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    padding-bottom: 0.2rem;
}

.contact-link:hover {
    color: #FFFFFF;
    border-color: #D9391D;
    letter-spacing: 0.08em;
}

/* Link Hover States */
a {
    position: relative;
}

/* Simple Page Layout */
.simple-page {
    background: #000000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
}

.simple-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 10000;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}

.simple-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    padding: 4rem;
    align-items: center;
}

.image-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    filter: grayscale(100%) contrast(1.15) brightness(0.9);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.text-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-left: 2rem;
}

.main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    position: relative;
    animation: titleGlitch 3s infinite;
}

@keyframes titleGlitch {
    0%, 90%, 100% {
        text-shadow:
            3px 0 #D9391D,
            -3px 0 #00ffff;
        transform: translate(0, 0);
    }
    91% {
        text-shadow:
            5px 0 #D9391D,
            -5px 0 #00ffff;
        transform: translate(-2px, 0);
    }
    92% {
        text-shadow:
            -4px 0 #D9391D,
            4px 0 #00ffff;
        transform: translate(2px, 1px);
    }
    93% {
        text-shadow:
            4px 0 #D9391D,
            -4px 0 #00ffff;
        transform: translate(-1px, -1px);
    }
    94% {
        text-shadow:
            3px 0 #D9391D,
            -3px 0 #00ffff;
        transform: translate(0, 0);
    }
}

.statement {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.statement-line {
    font-family: 'Spectral', serif;
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    color: #FFFFFF;
    line-height: 1.5;
    margin: 0;
}

.description {
    margin-top: 1rem;
}

.description p {
    font-family: 'Spectral', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 500px;
}

.location {
    margin-top: 1rem;
}

.location p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #D9391D;
    text-transform: uppercase;
    opacity: 1;
}

.back-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: #E5DDC5;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    margin-top: 2rem;
    display: inline-block;
}

.back-link:hover {
    opacity: 1;
    color: #D9391D;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
        letter-spacing: 0.15em;
    }

    h3 {
        font-size: 1.1rem;
    }

    p, .stanza {
        font-size: 1.1rem;
    }

    .stanza {
        font-size: 1.3rem;
    }

    .see-more {
        position: fixed;
        bottom: 2rem;
        right: 1.5rem;
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }

    .main-nav {
        padding: 1.5rem 2rem;
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .nav-left .logo {
        font-size: 1.2rem;
    }

    .nav-right {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .nav-right a {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: 0.2em;
    }

    .hero-subtitle {
        font-size: 0.65rem;
        letter-spacing: 0.3em;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .tagline {
        font-size: 2rem;
        letter-spacing: 0.05em;
    }

    .about-content {
        padding: 2rem 1.5rem;
    }

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

    .hero-section {
        padding: 6rem 0;
        min-height: 50vh;
    }

    .hero-title-container {
        gap: 1rem;
    }

    .three-col {
        gap: 2rem;
        margin-top: 3rem;
    }

    .col {
        padding: 2rem 1.5rem;
    }

    .contact-link {
        font-size: 1.2rem;
    }

    .simple-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 1.5rem;
    }

    .text-section {
        padding-left: 0;
        gap: 2rem;
    }

    .main-title {
        font-size: 2.5rem;
        letter-spacing: 0.15em;
    }

    .statement-line {
        font-size: 1.3rem;
    }

    .description p {
        font-size: 1.1rem;
    }

    .studio-image {
        max-width: 100%;
    }
}