@font-face {
    font-family: "Space Mono";
    src: url("./fonts/SpaceMono-Regular.ttf");
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Space Mono";
    overflow-x: hidden;
}

/* ================= SECTIONS ================= */
section {
    width: 100vw;
    height: 100vh;
    padding: 2em;
}

/* ================= INTRO / OUTRO ================= */
.intro,
.outro {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro {
    background: #ebeae4;
    color: #0f0f0f;
}

.outro {
    background: #eb4330;
    color: #0f0f0f;
}

/* ================= NAV ================= */
nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

nav p {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #0f0f0f;
    color: #ebeae4;
    text-transform: uppercase;
}

/* ================= STICKY SECTION ================= */
.sticky {
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

/* Layout wrapper (DO NOT animate this) */
.text-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 15vh;
}

/* Text block (animation-safe) */
.sticky p {
    width: 1200px;
    max-width: 90vw;
    margin: 0;
    color: #ebeae4;
    font-size: 18px;
    line-height: 1.65;
    letter-spacing: 0.02em;
}

/* ================= PHYSICS CHARS ================= */
.char {
    position: absolute;
    color: #ebeae4;
    pointer-events: none;
    opacity: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .sticky p {
        width: 100%;
        font-size: 16px;
        line-height: 1.6;
    }

    .text-wrap {
        padding-top: 12vh;
    }
}
