

body {
    margin: 0;
    height: 5000vh;
    background: black;
    font-family: 'Jost', sans-serif;
    color: #f5ede0;
}

/* ── Story ── */
.story {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    background: #000;
}

.bold {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    color: #f5ede0;
}

.specialWord {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    color: #a07840;
}

.story div {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10vh 12vw;
    box-sizing: border-box;

    scroll-snap-align: start;
}

.story div:nth-child(1) h1 {
    font: 900 120px 'Playfair Display', serif;
    line-height: 0.95;
    margin: 0.5rem 0 0;
}
.story div:nth-child(1) small {
    font: 400 13px 'EB Garamond', serif;
    text-transform: uppercase;
    color: #a07840;
}

.story div:nth-child(2) p {
    font: italic 400 48px 'EB Garamond', serif;
    line-height: 1.5;
    max-width: 28ch;
    color: #cbbfa8;
}

.story div:nth-child(3) p {
    font: 400 28px 'EB Garamond', serif; 
    line-height: 1.7;
    max-width: 40ch;
    color: #7a6e5f;
    border-left: 2px solid #333;
    padding-left: 32px;
}
.story div:nth-child(3) em {
    color: #cbbfa8;
    font-style: italic;
}

.story div:nth-child(4) p {
    font: 300 40px 'Playfair Display', serif; 
    line-height: 1.4;
    max-width: 32ch;
    color: #9e8e78;
    text-align: right;
    align-self: flex-end;
}

.s-flash h2 {
    font: 900 160px 'Playfair Display', serif;
    line-height: 1;
    
    margin: 0;
}
.s-flash p {
    font: italic 400 28px 'EB Garamond', serif; 
    margin-top: 16px;
}

.s-quote h1 {
    font: italic 400 72px 'Playfair Display', serif; 
    line-height: 1.35;
    margin: 0;
    quotes: none;
}
.s-quote h2 {
    display: block;
    font: 400 13px 'EB Garamond', serif;
    
    text-transform: uppercase;
    color: #6b5e4a;
    margin-top: 32px;
}

.story div:nth-child(7) p {
    font: 400 28px 'EB Garamond', serif;
    line-height: 1.7;
    max-width: auto;
    color: #cbbfa8;
}

.s-chase p:first-child {
    font: italic 400 20px 'EB Garamond', serif;
    color: #a07840;
    
    margin-bottom: 16px;
}
.s-chase h2 {
    font: italic 700 80px 'Playfair Display', serif; 
    line-height: 1.1;
    margin-bottom: 48px;
}
.s-chase p:last-child {
    font: 400 22px 'EB Garamond', serif; 
    color: #9e8e78;
    max-width: 38ch;
    line-height: 1.7;
    margin: 0;
}

.s-outro p {
    font: italic 400 56px 'Playfair Display', serif; 
    color: #7a6e5f;
    line-height: 1.6;
    margin: 0;
}
.s-outro strong {
    display: block;
    font: 900 72px 'Playfair Display', serif;
    font-style: normal;
    color: #f5ede0;
}
.s-outro small {
    display: block;
    font: 400 14px 'EB Garamond', serif; 
    
    text-transform: uppercase;
    color: #a07840;
    margin-top: 48px;
}

.s-flash { 
    background: #f5ede0; 
    color: #0a0604; 
    align-items: center; 
    text-align: center; 
}
.s-quote { 
    background: #08060a; 
    align-items: center; 
    text-align: center; 
}
.s-chase { 
    border-left: 3px solid #a07840; 
}
.s-outro { 
    align-items: center; 
    text-align: center; 
    min-height: 60vh; 
}



.foreground {
    position: fixed;
    width: 50vw;
    height: 80vh;
    top: 10vh;
    right: 25vw;
    z-index: 1002;
    pointer-events: none;
}

.layers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.layer {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
}

.rabbit {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 30%;
    z-index: 2000;
    transform: translate(-50%, 0%);
    pointer-events: auto;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.treeWrapper {
    position: fixed;
    width: 50vw;
    height: 50vh;
    top: 40vh;
    left: 50vh;
    transform: translate(-10%, -50%);
    z-index: 1000;
    transition: opacity 0.5s ease-in-out;
}

#tree { 
    width: 100%; height: 100%; display: block; 
}

#door {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 1003;
}

.rabbitText {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: black;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.5s ease-out;
}

.rabbitText::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom: none;
    border-top-color: white;
}
.rabbitBurst {
    position: fixed;
    pointer-events: none;
    z-index: 3000;
    opacity: 0;
    font-size: 14px;
    white-space: nowrap;
    background: white;
    color: black;
    border-radius: 12px;
    padding: 8px 12px;
    transform: translate(-50%, -50%) scale(0.1);
}
.rabbit img { 
    transition: transform 0.5s ease-out; 
}

.cursor {
    position: fixed;
    pointer-events: none;
    transform: translate(-30%, -10%);
    z-index: 9999;
}