:root {
    --color-bg: #FFFFFF;
    --color-primary: #000000;
    --color-border: #000000;
    --color-hover: #F5F5F5;
    --color-text-muted: #666666;
    --color-dot: #FF0000;
    
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --transition-fast: 100ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-primary);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Header */
.site-header {
    background: var(--color-bg);
    border-bottom: 2px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: var(--color-primary);
    text-transform: lowercase;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.logo::before {
    content: '•';
    color: var(--color-dot);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.logo:hover {
    opacity: 0.6;
}

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

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-primary);
    text-decoration: none;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    border-bottom-color: var(--color-primary);
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--color-border);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    margin-bottom: var(--spacing-sm);
    text-transform: lowercase;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0.6;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Content Sections */
.content {
    max-width: 1400px;
    margin: 0 auto;
}

.section {
    padding: var(--spacing-xl) var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.section-grid {
    display: grid;
    grid-template-columns: 0.6fr 1fr;
    gap: var(--spacing-lg);
    align-items: start; /* Changed from start to ensure alignment */
}

.section-grid.reverse {
    grid-template-columns: 1fr 0.6fr;
    direction: rtl;
}

.section-grid.reverse > * {
    direction: ltr;
}

@media (max-width: 768px) {
    .section-grid,
    .section-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

.section-text {
    padding: 0; /* Removed padding so title spacing controls layout */
    max-width: 450px;
}

.section-image {
    /* Align image with first paragraph, not title */
    margin-top: calc(2.5rem + var(--spacing-lg)); /* Title height + title margin-bottom */
}

@media (max-width: 768px) {
    .section-image {
        margin-top: 0; /* Reset on mobile */
    }
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-lg); /* Increased from var(--spacing-md) for more space */
    line-height: 1.2;
}

.section-title.center {
    text-align: center;
}

.subsection-title {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.section-text p {
    margin-bottom: var(--spacing-sm);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.7;
}

.quote {
    padding: var(--spacing-md);
    border-left: 3px solid var(--color-primary);
    margin: var(--spacing-md) 0;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

.venue-list {
    list-style: none;
    margin: var(--spacing-sm) 0;
}

.venue-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.venue-list li::before {
    content: '—';
    position: absolute;
    left: 0;
}

.signature {
    font-style: italic;
    margin-top: var(--spacing-md);
}

.center-text {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Image Grid - 4 Parts */
.image-grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    width: 100%;
    aspect-ratio: 1;
}

.image-quarter {
    position: relative;
    overflow: hidden;
    /* No transitions - JS controls animation */
    opacity: 0;
    transform: translate(0, 0);
    /* Remove border */
    border: none;
}

.image-placeholder-quarter {
    width: 100%;
    height: 100%;
    /* Remove border - no black lines around image pieces */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    /* Remove background so it doesn't cover the image */
    background: transparent;
}

@media (max-width: 768px) {
    .image-placeholder-quarter {
        font-size: 2rem;
    }
}

/* Typewriter Effect - Controlled by JS */
.typewriter-container {
    margin-bottom: 0.5rem;
}

.typewriter-text {
    /* Text is visible by default, JS controls opacity and transform */
    display: block;
}

/* Section reveal states */
.reveal-section {
    opacity: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.reveal-section.completed {
    /* All animations complete - section fully assembled */
}

/* Collaborations Section */
.collab-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Form */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    margin-top: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--color-bg);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--color-hover);
    border-color: var(--color-primary);
}

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

.btn-submit {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-border);
    background: var(--color-primary);
    color: var(--color-bg);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-submit:hover {
    background: transparent;
    color: var(--color-primary);
}

/* Footer */
.site-footer {
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    border-top: 2px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Real Images - Each quarter gets its cropped portion of the full image */
/* This way the image pieces fly together, not black frames */

/* Introduction section - each quarter shows its portion of the image */
.section[data-section="intro"] .image-quarter.top-left {
    background: url('/images/about/about-intro.jpg') 0% 0% / 200% 200%;
}
.section[data-section="intro"] .image-quarter.top-right {
    background: url('/images/about/about-intro.jpg') 100% 0% / 200% 200%;
}
.section[data-section="intro"] .image-quarter.bottom-left {
    background: url('/images/about/about-intro.jpg') 0% 100% / 200% 200%;
}
.section[data-section="intro"] .image-quarter.bottom-right {
    background: url('/images/about/about-intro.jpg') 100% 100% / 200% 200%;
}

/* Work section */
.section[data-section="work"] .image-quarter.top-left {
    background: url('/images/about/about-work.jpg') 0% 0% / 200% 200%;
}
.section[data-section="work"] .image-quarter.top-right {
    background: url('/images/about/about-work.jpg') 100% 0% / 200% 200%;
}
.section[data-section="work"] .image-quarter.bottom-left {
    background: url('/images/about/about-work.jpg') 0% 100% / 200% 200%;
}
.section[data-section="work"] .image-quarter.bottom-right {
    background: url('/images/about/about-work.jpg') 100% 100% / 200% 200%;
}

/* Credentials section */
.section[data-section="credentials"] .image-quarter.top-left {
    background: url('/images/about/about-credentials.jpg') 0% 0% / 200% 200%;
}
.section[data-section="credentials"] .image-quarter.top-right {
    background: url('/images/about/about-credentials.jpg') 100% 0% / 200% 200%;
}
.section[data-section="credentials"] .image-quarter.bottom-left {
    background: url('/images/about/about-credentials.jpg') 0% 100% / 200% 200%;
}
.section[data-section="credentials"] .image-quarter.bottom-right {
    background: url('/images/about/about-credentials.jpg') 100% 100% / 200% 200%;
}

/* Shop section */
.section[data-section="shop"] .image-quarter.top-left {
    background: url('/images/about/about-shop.jpg') 0% 0% / 200% 200%;
}
.section[data-section="shop"] .image-quarter.top-right {
    background: url('/images/about/about-shop.jpg') 100% 0% / 200% 200%;
}
.section[data-section="shop"] .image-quarter.bottom-left {
    background: url('/images/about/about-shop.jpg') 0% 100% / 200% 200%;
}
.section[data-section="shop"] .image-quarter.bottom-right {
    background: url('/images/about/about-shop.jpg') 100% 100% / 200% 200%;
}

/* Hide emoji placeholders (keep border for now if image doesn't load) */
.section[data-section="intro"] .image-placeholder-quarter span,
.section[data-section="work"] .image-placeholder-quarter span,
.section[data-section="credentials"] .image-placeholder-quarter span,
.section[data-section="shop"] .image-placeholder-quarter span {
    display: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .section {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .hero {
        min-height: 50vh;
        padding: var(--spacing-md);
    }
    
    .header-nav {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
