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

html {
    scroll-behavior: smooth;
}

body {
    background: #071e2e;
    color: #e8f0ec;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.7;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

/* Vertical Spine */
.spine {
    position: fixed;
    left: 50%;
    top: 0;
    width: 2px;
    height: 0;
    background: #0b3d5b;
    transform: translateX(-50%);
    z-index: 1;
    transition: height 1.5s ease-out;
}

.spine.active {
    height: 100vh;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
}

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

.circle-1 {
    width: 300px;
    height: 300px;
    border: 2px solid #e85d4a;
    top: 15%;
    left: 10%;
    transform: scale(0.8);
}

.circle-1.visible {
    transform: scale(1);
}

.circle-2 {
    width: 180px;
    height: 180px;
    background: rgba(26, 122, 109, 0.15);
    border: 1px solid #1a7a6d;
    top: 60%;
    right: 12%;
    transform: scale(0.8);
}

.circle-2.visible {
    transform: scale(1);
}

.circle-3 {
    width: 100px;
    height: 100px;
    background: rgba(196, 168, 125, 0.1);
    border: 1px solid #c4a87d;
    top: 25%;
    right: 25%;
    transform: scale(0.8);
}

.circle-3.visible {
    transform: scale(1);
}

.hero-botanical {
    position: absolute;
    opacity: 0;
    transition: opacity 2s ease 0.5s;
    z-index: 2;
}

.hero-botanical.visible {
    opacity: 0.7;
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: -0.01em;
    line-height: 1.18;
    color: #e8f0ec;
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.8s, transform 1s ease 0.8s;
}

.hero-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-family: 'Architects Daughter', cursive;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: #c4a87d;
    margin-top: 0.5rem;
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 1.2s, transform 1s ease 1.2s;
}

.hero-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 1rem 6rem;
}

/* Nodes */
.node {
    position: relative;
    margin-bottom: 6rem;
    display: flex;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.node.visible {
    opacity: 1;
    transform: translateY(0);
}

.node-left {
    justify-content: flex-start;
    padding-right: 55%;
}

.node-right {
    justify-content: flex-end;
    padding-left: 55%;
}

.node-connector {
    position: absolute;
    top: 30px;
    width: 40px;
    height: 2px;
    background: #0b3d5b;
}

.node-left .node-connector {
    right: calc(50% - 40px);
}

.node-right .node-connector {
    left: calc(50% - 40px);
}

.node-content {
    position: relative;
    padding: 1.5rem;
    border: 1px solid rgba(11, 61, 91, 0.4);
    border-radius: 4px;
    background: #041420;
    background: rgba(4, 20, 32, 0.6);
    backdrop-filter: blur(4px);
}

.node-content h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    letter-spacing: -0.01em;
    line-height: 1.18;
    color: #e8f0ec;
    margin-bottom: 0.75rem;
}

.node-content p {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    color: #e8f0ec;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.node-botanical {
    position: absolute;
    bottom: -10px;
    right: -10px;
    opacity: 0.6;
}

/* Bauhaus Shapes */
.bauhaus-shape {
    position: absolute;
    top: -15px;
    right: -15px;
    opacity: 0.3;
}

.shape-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid #c4a87d;
    background: none;
}

.shape-square {
    width: 35px;
    height: 35px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
}

.footer-botanical {
    opacity: 0.4;
    margin-bottom: 1.5rem;
}

.footer-text {
    font-family: 'Architects Daughter', cursive;
    font-size: 1rem;
    color: #c4a87d;
    opacity: 0.7;
}

/* Accent color classes */
.accent-blush {
    color: #f2c6c2;
}

.accent-teal-glow {
    color: #4aedc4;
}

/* Responsive */
@media (max-width: 768px) {
    .node-left,
    .node-right {
        padding-left: 55%;
        padding-right: 0;
        justify-content: flex-end;
    }

    .node-left .node-connector {
        left: calc(50% - 40px);
        right: auto;
    }

    .hero-circle {
        display: none;
    }
}
