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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #e8e8e8;
    background: #000;
    overflow-x: hidden;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    z-index: 1000;
    pointer-events: auto;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.indicator-track {
    position: absolute;
    bottom: 30px;
    left: 40px;
    right: 150px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.indicator-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #00f5ff 0%, #ff00ff 50%, #00f5ff 100%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 20px rgba(0, 245, 255, 0.6),
        0 0 40px rgba(255, 0, 255, 0.4);
}

.indicator-bar::before {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #fff 0%, #00f5ff 100%);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 30px rgba(0, 245, 255, 0.7);
    animation: pulseIndicator 2s ease-in-out infinite;
}

@keyframes pulseIndicator {

    0%,
    100% {
        transform: translateY(-50%);
        opacity: 1;
    }

    50% {
        transform: translateY(-50%) scale(1.4);
        opacity: 0.7;
    }
}

/* Section Dots */
.section-dots {
    position: absolute;
    bottom: 50px;
    left: 40px;
    right: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dot {
    position: relative;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.3);
}

.dot.active {
    background: linear-gradient(135deg, #00f5ff 0%, #ff00ff 100%);
    border-color: #ffffff;
    box-shadow:
        0 0 15px rgba(0, 245, 255, 0.6),
        0 0 25px rgba(255, 0, 255, 0.4);
    transform: scale(1.4);
}

.dot-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    letter-spacing: 0.08em;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.dot:hover .dot-label,
.dot.active .dot-label {
    opacity: 1;
    color: rgba(255, 255, 255, 0.8);
}

/* Current Section Info */
.current-section-info {
    position: absolute;
    right: 40px;
    bottom: 25px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: 'Space Grotesk', monospace;
    font-weight: 300;
}

.section-number {
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.section-divider {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.3);
}

.section-total {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Section Base Styles */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    transition: background 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Flowing Viewport Background */
.flowing-viewport-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* background: radial-gradient(circle at 50% 50%, #0a0a0a 0%, #000000 100%); */
    z-index: 90;
    pointer-events: none;
    will-change: transform, opacity;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Flowing Logo - Persistent across all sections */
.flowing-logo-container {
    position: fixed;
    top: 60%;
    /* Raised slightly */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    pointer-events: none;
    will-change: transform;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    mix-blend-mode: normal;
    /* Ensure clear rendering */
}

.flowing-logo {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(15rem, 45vw, 60rem);
    /* Massive size to flow off screen */
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 0.85;
    margin: 0;
    text-transform: lowercase;
    white-space: nowrap;
    display: inline-block;
    transform-origin: center center;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
    pointer-events: none;
}

.flowing-logo .dis {
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    /* Much brighter */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.95;
    /* Almost fully opaque */
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.2);
    /* Subtle glow */
}

.flowing-logo .invented {
    font-weight: 800;
    background: linear-gradient(135deg, #e0e0e0 0%, #909090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
    opacity: 0.85;
    /* Much more visible */
    filter: none;
    /* Removed blur */
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.static-logo {
    display: inline-block;
    font-weight: 800;
    letter-spacing: -0.08em;
    text-transform: lowercase;
}

.static-logo .dis {
    font-weight: 800;
    /* Match connected-origin style for seamless transition */
    background: linear-gradient(to bottom, #fff 0%, #ffaa00 50%, #ff4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Fallback for browsers */
    color: transparent;
    /* Standard clear */
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255, 100, 50, 0.4));
}

.static-logo .invented {
    font-weight: 800;
    background: linear-gradient(to bottom, #ffffff 0%, #aaaaaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    background-clip: text;
    opacity: 0.8;
}

/* Theme-specific Logo Styles (moved from JS) */
/* B&W TV Style */
.connected-bw .dis {
    filter: grayscale(1) contrast(1.2) drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.95;
}

.connected-bw .invented {
    filter: grayscale(1) contrast(1.1);
    background: linear-gradient(135deg, #dddddd 0%, #aaaaaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.8;
}

/* CRT Style */
.connected-crt .dis {
    filter: drop-shadow(0 0 10px rgba(100, 255, 100, 0.4));
    background: linear-gradient(135deg, #e8ffea 0%, #5bff6c 100%);
    /* Slight green tint for CRT vibe */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.95;
}

.connected-crt .invented {
    filter: none;
    background: linear-gradient(135deg, #f0f0f0 0%, #bbbbbb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.85;
}

/* Photo Frame Style */
.connected-frame .dis {
    filter: sepia(0.6) contrast(1.1) drop-shadow(0 5px 15px rgba(60, 40, 20, 0.6));
    background: linear-gradient(135deg, #fff0e0 0%, #d4b895 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.95;
    font-family: 'Playfair Display', serif;
}

.connected-frame .invented {
    filter: sepia(0.6) contrast(1.1);
    background: linear-gradient(135deg, #e6d8c3 0%, #b8a090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.85;
}

/* Cave Style */
.connected-cave .dis {
    filter: contrast(1.5) drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.9));
    background: linear-gradient(135deg, #ffdcb0 0%, #e0ac69 100%);
    /* Fire/light color */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.95;
}

.connected-cave .invented {
    filter: contrast(1.3);
    background: linear-gradient(135deg, #a68f67 0%, #8a7a5a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.8;
}

/* Origin/Title Style (The "Wow" moment) */
.connected-origin .dis {
    filter: drop-shadow(0 0 20px rgba(255, 100, 50, 0.8)) drop-shadow(0 0 40px rgba(255, 50, 0, 0.4));
    background: linear-gradient(to bottom, #fff 0%, #ffaa00 50%, #ff4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
    transform: scale(1.1);
    /* Slight pop */
    transition: all 0.5s ease;
}

.connected-origin .invented {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    background: linear-gradient(to bottom, #ffffff 0%, #aaaaaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
    letter-spacing: 0;
    /* Reset spacing to look like normal text */
}

/* Theater Style */
.connected-theater .dis {
    font-family: 'Cinzel', serif;
    filter: contrast(1.2) drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
    letter-spacing: 0.02em;
}

.connected-theater .invented {
    font-family: 'Cinzel', serif;
    filter: none;
    background: linear-gradient(135deg, #e0e0e0 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

/* Section 1 */
.section-1 {
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000000 100%);
}

/* Content Wrapper */
.section-content-wrapper {
    text-align: center;
    z-index: 50;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.section-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title-main {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 130px;
    /* Moved to bottom, above scroll bar */
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.5s ease;
    z-index: 200;
    animation: bounce 2.5s infinite;
}

.scroll-hint:hover {
    color: #fff;
    transform: translateX(-50%) scale(1.2);
    /* More prominent hover */
}

.scroll-hint svg {
    width: 64px;
    /* Larger */
    height: 64px;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.5));
    /* Glow */
}

@keyframes bounce {

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

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

    /* Larger bounce */
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Common Device Styles */
.device-container {
    position: relative;
    z-index: 20;
    margin-bottom: 2rem;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.device {
    position: relative;
}

.device-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Section 2: Computer Monitor */
.section-2 {
    background: radial-gradient(circle at 30% 40%, #0a0a1a 0%, #000 100%);
}

.monitor {
    width: 900px;
    max-width: 85vw;
}

.monitor .device-screen {
    background: url('screen_monitor.png');
    background-size: cover;
    background-position: center;
    border: 20px solid #2a2a2a;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 0 0 2px #000, 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 0 100px rgba(0, 245, 255, 0.03);
}

.monitor .device-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overly */
    pointer-events: none;
}

.monitor-stand {
    width: 80px;
    height: 60px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    margin: 0 auto;
    border-radius: 4px 4px 0 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.monitor-brand {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: #4a4a4a;
    letter-spacing: 0.2em;
}

.monitor-power-led {
    position: absolute;
    bottom: 20px;
    right: 25px;
    width: 6px;
    height: 6px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.stand-connector {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 10px;
    background: #1a1a1a;
    border-radius: 3px;
}

.monitor-base {
    width: 200px;
    height: 12px;
    background: linear-gradient(180deg, #2a2a2a 0%, #0a0a0a 100%);
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
    position: relative;
}

.base-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #3a3a3a;
    border-radius: 50%;
}

/* Section 3: LCD TV */
.section-3 {
    background: radial-gradient(circle at 50% 50%, #0a1a0a 0%, #000 100%);
}

.lcd-tv {
    width: 750px;
    max-width: 80vw;
}

.lcd-tv .device-screen {
    background: url('screen_lcd.png');
    background-size: cover;
    background-position: center;
    border: 35px solid #1a1a1a;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
    box-shadow: 0 0 0 3px #0a0a0a, 0 15px 50px rgba(0, 0, 0, 0.7), inset 0 0 60px rgba(100, 100, 255, 0.02);
}

.lcd-tv .device-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
}


.lcd-brand {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 700;
    color: #3a3a3a;
    letter-spacing: 0.3em;
}

.lcd-sensor {
    position: absolute;
    bottom: 15px;
    right: 50px;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #2a2a2a 0%, #0a0a0a 100%);
    border-radius: 50%;
}

.lcd-power-button {
    position: absolute;
    bottom: 12px;
    right: 30px;
    width: 12px;
    height: 12px;
    background: #1a1a1a;
    border: 1px solid #0a0a0a;
    border-radius: 2px;
}

/* Section 4: CRT TV */
.section-4 {
    background: radial-gradient(circle at 20% 70%, #1a0a1a 0%, #000 100%);
}

.crt-tv {
    width: 600px;
    max-width: 75vw;
}

.crt-screen {
    background: url('screen_crt.png');
    background-size: cover;
    background-position: center;
    border: 50px solid #2a2a2a;
    border-radius: 30px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 0 0 5px #0a0a0a, 0 10px 40px rgba(0, 0, 0, 0.8), inset 0 0 100px rgba(0, 255, 100, 0.03);
    position: relative;
}

.crt-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0px, transparent 2px, transparent 4px),
        radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    border-radius: inherit;
}

.crt-brand {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    font-weight: 700;
    color: #4a4a4a;
    letter-spacing: 0.2em;
}

.crt-controls {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.crt-dial {
    width: 45px;
    height: 45px;
    background: radial-gradient(circle, #3a3a3a 0%, #1a1a1a 100%);
    border-radius: 50%;
    border: 3px solid #2a2a2a;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(255, 255, 255, 0.1);
}

.dial-notch {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: #5a5a5a;
    border-radius: 1px;
}

.dial-label {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    color: #4a4a4a;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.crt-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.crt-button {
    width: 35px;
    height: 12px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid #0a0a0a;
    border-radius: 2px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.crt-speaker-grill {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 30px;
    background: repeating-linear-gradient(90deg, #1a1a1a 0px, #1a1a1a 2px, #0a0a0a 2px, #0a0a0a 4px);
    border-radius: 4px;
    opacity: 0.6;
}

/* Section 5: B&W TV */
.section-5 {
    background: radial-gradient(circle at 80% 30%, #1a1a1a 0%, #000 100%);
}

.bw-tv {
    width: 500px;
    max-width: 70vw;
}

.bw-screen {
    background: url('screen_bw.png');
    background-size: cover;
    background-position: center;
    filter: grayscale(1) contrast(1.2);
    border: 60px solid #3a3a3a;
    border-radius: 40px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 0 0 8px #1a1a1a, 0 8px 30px rgba(0, 0, 0, 0.9);
}

.bw-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.bw-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, transparent 1px, transparent 3px),
        radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.bw-antenna {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 60px;
}

.antenna-left {
    position: absolute;
    left: 30px;
    bottom: 0;
    width: 3px;
    height: 50px;
    background: linear-gradient(180deg, #5a5a5a 0%, #3a3a3a 100%);
    transform: rotate(-25deg);
    transform-origin: bottom;
    border-radius: 2px;
}

.antenna-right {
    position: absolute;
    right: 30px;
    bottom: 0;
    width: 3px;
    height: 50px;
    background: linear-gradient(180deg, #5a5a5a 0%, #3a3a3a 100%);
    transform: rotate(25deg);
    transform-origin: bottom;
    border-radius: 2px;
}

.bw-brand {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: #5a5a5a;
    letter-spacing: 0.3em;
}

.bw-dial-panel {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.bw-dial {
    background: radial-gradient(circle, #4a4a4a 0%, #2a2a2a 100%);
    border-radius: 50%;
    border: 4px solid #3a3a3a;
    position: relative;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.6), 0 3px 6px rgba(255, 255, 255, 0.1);
}

.bw-dial.large {
    width: 55px;
    height: 55px;
}

.bw-dial.small {
    width: 40px;
    height: 40px;
}

/* Section 6: Movie Theater */
.section-6 {
    background: radial-gradient(circle at 70% 60%, #1a0a0a 0%, #000 100%);
}

.theater {
    width: 1100px;
    max-width: 90vw;
    position: relative;
}

.theater-screen {
    background: url('screen_theater.png');
    background-size: cover;
    background-position: center;
    border: 30px solid #1a1a1a;
    aspect-ratio: 21 / 9;
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.02), 0 30px 80px rgba(0, 0, 0, 0.9);
}

.theater-curtain-left,
.theater-curtain-right {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, #4a0000 0%, #2a0000 100%);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.theater-curtain-left {
    left: -80px;
    border-radius: 20px 0 0 20px;
}

.theater-curtain-right {
    right: -80px;
    border-radius: 0 20px 20px 0;
}

/* Section 7: Photo Frame */
.section-7 {
    background: radial-gradient(circle at 40% 80%, #1a1a0a 0%, #000 100%);
}

.photo-frame {
    width: 500px;
    max-width: 75vw;
}

.photo-screen {
    background: url('screen_photo.png');
    background-size: cover;
    background-position: center;
    border: 40px solid #8b7355;
    border-radius: 4px;
    aspect-ratio: 3 / 4;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2), 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 0 2px #5a4a3a;
    position: relative;
}

.photo-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(139, 69, 19, 0.2);
    /* Sepia tone overlay */
    pointer-events: none;
}

.photo-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent 0px, rgba(0, 0, 0, 0.01) 1px, transparent 2px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

/* Section 8: Cave Wall */
.section-8 {
    background: radial-gradient(circle at 30% 40%, #2a1a0a 0%, #0a0500 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.6" numOctaves="5"/></filter><rect width="400" height="400" filter="url(%23noise)" opacity="0.2"/></svg>');
    background-size: cover;
}

.section-8::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(80, 50, 30, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 0, 0, 0.4) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(50, 30, 20, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.cave-rock {
    width: 100%;
    max-width: 1200px;
}

.rock-surface {
    background: url('screen_cave.png');
    background-size: cover;
    background-position: center;
    aspect-ratio: 21 / 9;
    width: 100%;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.7), inset 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 -20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.rock-surface::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 25%, rgba(80, 60, 40, 0.15) 0%, transparent 15%),
        radial-gradient(circle at 85% 75%, rgba(0, 0, 0, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 50% 10%, rgba(70, 50, 30, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 30% 80%, rgba(40, 25, 15, 0.2) 0%, transparent 18%);
}

.rock-surface::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent 0px, rgba(0, 0, 0, 0.05) 1px, transparent 2px, transparent 40px),
        repeating-linear-gradient(-45deg, transparent 0px, rgba(0, 0, 0, 0.03) 1px, transparent 2px, transparent 60px);
    opacity: 0.5;
}

/* Make the specific origin title massive so the logo stays prominent */
.section-8 .section-title-main {
    font-size: clamp(6rem, 20vw, 15rem);
    margin: 2rem 0;
    line-height: 1;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.2rem 3rem;
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
    background: #ffffff;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid #ffffff;
}

.cta-button:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section {
        padding: 1rem;
    }

    .mega-logo {
        font-size: clamp(6rem, 25vw, 12rem);
    }

    .subtitle {
        font-size: clamp(0.9rem, 2vw, 1.2rem);
        margin-top: 1rem;
    }

    .logo-in-device {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .section-title {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
    }

    .theater-curtain-left {
        left: -40px;
        width: 50px;
    }

    .theater-curtain-right {
        right: -40px;
        width: 50px;
    }
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    mix-blend-mode: difference;
}

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

.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-link.active {
    opacity: 1;
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

/* Standard Page Layout (Non-scrolljacked) */
.standard-page {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    background: #050505;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(30, 30, 30, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(20, 20, 20, 0.4) 0%, transparent 20%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.standard-content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 6rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
}

.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.page-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Layout for Work/Content */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    width: 100%;
}

.grid-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.grid-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.item-year {
    font-family: 'Space Grotesk', monospace;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
}

.item-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 400;
}

.item-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Form Styles for Contact */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.form-label {
    font-family: 'Space Grotesk', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-input,
.form-textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.02);
}

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

.submit-btn {
    align-self: flex-start;
    padding: 1rem 3rem;
    background: #fff;
    color: #000;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: transparent;
    color: #fff;
    box-shadow: 0 0 0 1px #fff;
}

/* Footer for standard pages */
.simple-footer {
    margin-top: auto;
    padding-top: 4rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    font-family: 'Space Grotesk', sans-serif;
}