/* === courts.studio styles === */
/* Colors: #0E1210, #1A201A, #5A6A5A, #8AAA7A, #AA8A5A, #5A8A7A, #D0D8D0, #7A8A7A */
/* Timeline: #3A4A3A */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: #0E1210;
    color: #D0D8D0;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.8;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

/* Split Divider */
#split-divider {
    position: fixed;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100vh;
    background: #5A6A5A;
    z-index: 50;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.8s ease;
}

#split-divider.visible { transform: scaleY(1); }

/* === Hero === */
#hero {
    width: 100%; height: 100vh;
    display: flex; position: relative;
}

.hero-left, .hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-left { background: #0E1210; }
.hero-right { background: #1A201A; }

.hero-title {
    font-weight: 800;
    font-size: clamp(3rem, 8vw, 6rem);
    color: #D0D8D0;
    opacity: 0;
    position: relative;
    z-index: 10;
}

.hero-title.visible { opacity: 1; }

/* Nature depth layers */
.nature-layer {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.tree-silhouette-1 {
    right: 10%;
    bottom: 0;
    width: 80px;
    height: 60%;
    background: #1A201A;
    opacity: 0.4;
    clip-path: polygon(40% 100%, 30% 70%, 10% 60%, 25% 50%, 15% 35%, 35% 30%, 25% 15%, 50% 0%, 70% 15%, 60% 25%, 75% 35%, 65% 45%, 80% 55%, 55% 65%, 60% 80%, 50% 100%);
}

.tree-silhouette-2 {
    left: 10%;
    bottom: 0;
    width: 60px;
    height: 50%;
    background: #0E1210;
    opacity: 0.3;
    clip-path: polygon(45% 100%, 35% 75%, 20% 65%, 30% 55%, 15% 40%, 40% 30%, 30% 10%, 55% 0%, 70% 12%, 60% 30%, 75% 45%, 65% 55%, 80% 70%, 55% 80%, 50% 100%);
}

.stone-texture {
    width: 120px; height: 80px;
    background: #1A201A;
    border-radius: 4px;
    opacity: 0.3;
    bottom: 20%;
    right: 10%;
    box-shadow: 2px 3px 8px rgba(14,18,16,0.3);
}

.organic-curve {
    width: 200px; height: 100px;
    background: #5A8A7A;
    opacity: 0.08;
    border-radius: 50% 20% 40% 60%;
    top: 30%;
    left: 10%;
}

/* Status Line */
.hero-status {
    position: absolute;
    bottom: 30vh;
    left: 0;
    width: 100%;
    z-index: 20;
}

.status-line {
    width: 0;
    height: 1px;
    background: #5A6A5A;
    margin: 0 auto;
    transition: width 0.6s ease;
}

.status-line.visible { width: 100%; }

.hero-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-top: 16px;
}

.nav-link {
    font-size: 12px;
    color: #5A6A5A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link.active { color: #8AAA7A; }
.nav-link:hover { color: #AA8A5A; }

/* === Dual-Feed Sections === */
.dual-feed {
    display: flex;
    min-height: 70vh;
    position: relative;
}

.feed-left, .feed-right {
    flex: 1;
    padding: 64px 48px;
    position: relative;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feed-left.visible, .feed-right.visible {
    opacity: 1;
    transform: translateY(0);
}

.feed-left { background: #0E1210; }
.feed-right { background: #1A201A; }
.feed-swap .feed-left { background: #1A201A; }
.feed-swap .feed-right { background: #0E1210; }

.feed-label {
    font-size: 10px;
    font-weight: 300;
    color: #5A6A5A;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 24px;
}

.dual-feed h2 {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #D0D8D0;
    margin-bottom: 16px;
}

.dual-feed p {
    margin-bottom: 12px;
    color: #D0D8D0;
}

.pull-quote {
    font-weight: 300;
    font-style: italic;
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    color: #8AAA7A;
    border-left: 2px solid #5A6A5A;
    padding-left: 16px;
    margin-top: 24px;
}

/* Depth shadows */
.dual-feed h2,
.pull-quote {
    text-shadow: 2px 3px 6px rgba(14,18,16,0.3);
}

/* === Timeline Bar === */
#timeline-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #3A4A3A;
    z-index: 100;
}

#timeline-progress {
    height: 100%;
    width: 0;
    background: #8AAA7A;
    transition: width 0.1s linear;
}

.tick {
    position: absolute;
    top: -4px;
    width: 2px;
    height: 8px;
    background: #5A6A5A;
}

/* === Footer === */
#footer {
    padding: 32px 48px;
    border-top: 1px solid #3A4A3A;
}

.footer-text {
    font-size: 11px;
    color: #7A8A7A;
}

/* === Responsive === */
@media (max-width: 768px) {
    .dual-feed { flex-direction: column; }
    .feed-left, .feed-right { padding: 32px 24px; }
    #split-divider { display: none; }
    #hero { flex-direction: column; }
    .hero-left, .hero-right { min-height: 50vh; }
}
