/* About: mobile first. Base = phone, 768 = tablet, 1024 = desktop. Replaces the old about.css */

.about_section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--background_panel);
    position: relative;
    overflow: hidden;
}

.about_inner {
    width: 90%;
    margin: 0 auto;
    padding: 4rem 1rem;
    position: relative;
}

.about_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

/* ---------- Story ---------- */

.about_content h2 {
    font-family: var(--header_font);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text_primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.about_content > p {
    font-family: var(--text_font);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text_secondary);
    margin-bottom: 16px;
    max-width: 62ch;
}

.about_status {
    margin-top: 28px;
    padding: 16px 18px;
    background-color: var(--background_main);
    border: 1px solid var(--background_hover);
    border-left: 2px solid var(--accent);
    max-width: 62ch;
}

.about_status_title {
    font-family: var(--header_font);
    font-size: 1.1rem;
    color: var(--text_primary);
    margin-bottom: 6px;
}

.about_status_text {
    font-family: var(--text_font);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text_secondary);
    margin: 0;
}

/* ---------- Roadmap ---------- */

.rm_title {
    font-family: var(--header_font);
    font-size: 1.4rem;
    color: var(--text_primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--background_hover);
}

.rm_group + .rm_group {
    margin-top: 24px;
}

.rm_group_title {
    font-family: var(--header_font);
    font-size: 1.05rem;
    color: var(--text_primary);
    margin-bottom: 10px;
}

.rm_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.rm_item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--background_hover);
    font-family: var(--text_font);
    font-size: 0.95rem;
    line-height: 1.45;
}

.rm_item:last-child {
    border-bottom: 0;
}

.rm_text {
    color: var(--text_primary);
}

/* Marker shape carries status as well as colour: solid, half, hollow */
.rm_marker {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border: 1px solid var(--text_secondary);
}

.rm_marker.rm_done {
    background-color: var(--accent);
    border-color: var(--accent);
}

.rm_marker.rm_wip {
    border-color: var(--colour_warning);
    background: linear-gradient(90deg, var(--colour_warning) 50%, transparent 50%);
}

.rm_marker.rm_planned {
    background: transparent;
}

.rm_group:has(.rm_planned) .rm_text {
    color: var(--text_secondary);
}

/* ---------- Tablet ---------- */

@media (min-width: 768px) {
    .about_inner {
        width: 85%;
        padding: 4rem 1.5rem;
    }

    .about_content h2 {
        font-size: 2rem;
    }

    .about_content > p {
        font-size: 1rem;
    }

    .about_status_text {
        font-size: 0.95rem;
    }

    .rm_title {
        font-size: 1.5rem;
    }
}

/* ---------- Desktop ---------- */

@media (min-width: 1024px) {
    .about_inner {
        width: 60%;
        padding: 5rem 1vw;
    }

    .about_grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
        gap: 5vw;
    }

    .about_content h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .about_content > p {
        font-size: 1.05rem;
        line-height: 1.8;
    }

    .rm_title {
        font-size: 1.6rem;
    }
}