body {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}
.about-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 50%, #FED7AA 100%);
}

/* ── Header ── */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 96px;
    flex-shrink: 0;
    background: #581C87;
}
.header-brand {
    font-size: 44px;
    font-weight: 800;
    color: #F97316;
    letter-spacing: -0.3px;
    white-space: nowrap;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}
.header-nav a {
    font-size: 18px;
    font-weight: 500;
    color: #FB923C;
    text-decoration: none;
    transition: color 0.2s;
}
.header-nav a:hover {
    color: #FB923C;
}
.header-cta {
    background: #F97316;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.header-cta:hover {
    opacity: 0.9;
}
.coming-soon-badge {
    font-size: 11px;
    background: #F97316;
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    vertical-align: middle;
}
.section-badge {
    font-size: 16px;
    padding: 4px 14px;
}
.panels {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ── Left: book wall ── */
.book-wall {
    width: 50%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}
.book-wall::-webkit-scrollbar {
    width: 4px;
}
.book-wall::-webkit-scrollbar-thumb {
    background: #F97316;
    border-radius: 2px;
}
.book-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
}
.book-card {
    width: 100%;
    aspect-ratio: 260 / 380;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.book-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Right: content panel ── */
.content-panel {
    width: 50%;
    height: 100%;
    overflow-y: auto;
    scroll-behavior: smooth;
}
.content-panel::-webkit-scrollbar {
    width: 4px;
}
.content-panel::-webkit-scrollbar-thumb {
    background: #F97316;
    border-radius: 2px;
}
.content-section {
    padding: 64px 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #F97316;
    margin: 0 0 12px;
}
.section-heading {
    font-size: 56px;
    font-weight: 800;
    color: #581C87;
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.section-body {
    font-size: 20px;
    color: #666666;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 480px;
}
.early-access-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    margin-top: 24px;
}
.form-row {
    display: flex;
    gap: 12px;
}
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #E9D5FF;
    border-radius: 12px;
    font-size: 15px;
    color: #333333;
    background: #FEFEFE;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}
.form-input:focus {
    border-color: #A855F7;
}
.form-textarea {
    resize: vertical;
    min-height: 100px;
}
.form-submit {
    background: linear-gradient(135deg, #581C87, #A855F7);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
}
.form-submit:hover {
    opacity: 0.9;
}
.form-note {
    font-size: 13px;
    color: #999999;
    margin: 4px 0 0;
}

/* ── Footer ── */
.site-footer {
    background: #581C87;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 16px;
}
.footer-copy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}
.footer-links {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}
.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

/* ── Tablet: two-row header only ── */
@media (max-width: 1024px) {
    .site-header {
        height: auto;
        padding: 12px 24px 0;
        flex-wrap: wrap;
        gap: 0;
    }
    .header-brand {
        font-size: 28px;
        order: 1;
    }
    .header-cta {
        font-size: 15px;
        padding: 8px 18px;
        order: 2;
    }
    .header-nav {
        display: flex;
        order: 3;
        width: 100%;
        overflow-x: auto;
        gap: 24px;
        padding: 10px 0 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .header-nav::-webkit-scrollbar {
        display: none;
    }
    .header-nav a {
        font-size: 15px;
        white-space: nowrap;
    }
    .coming-soon-badge {
        font-size: 10px;
        padding: 2px 7px;
    }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    body {
        overflow: auto;
        height: auto;
    }
    .about-container {
        height: auto;
        min-height: 100dvh;
    }

    /* Tighten header further for phones */
    .site-header {
        padding: 12px 20px 0;
    }
    .header-brand {
        font-size: 22px;
    }
    .header-cta {
        font-size: 13px;
        padding: 7px 14px;
    }
    .header-nav {
        gap: 20px;
    }
    .header-nav a {
        font-size: 13px;
    }
    .coming-soon-badge {
        font-size: 9px;
        padding: 1px 6px;
    }

    /* Stack panels vertically */
    .panels {
        flex-direction: column;
        overflow: visible;
    }

    /* Book wall: single-row horizontal strip */
    .book-wall {
        width: 100%;
        height: 264px;
        overflow-y: hidden;
        overflow-x: auto;
        flex-shrink: 0;
        -webkit-overflow-scrolling: touch;
    }
    .book-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 8px;
        padding: 8px 12px;
        height: 100%;
    }
    .book-card {
        aspect-ratio: unset;
        height: 100%;
        width: auto;
        flex-shrink: 0;
    }
    .book-card img {
        width: auto;
        height: 100%;
    }

    /* Content panel: full width, natural height */
    .content-panel {
        width: 100%;
        height: auto;
        overflow-y: visible;
    }
    .content-section {
        padding: 48px 24px;
        min-height: unset;
    }

    /* Scale down typography */
    .section-heading {
        font-size: 32px;
    }
    .section-badge {
        display: block;
        margin: 8px auto 0;
        width: fit-content;
        font-size: 13px;
        padding: 3px 12px;
    }
    .section-body {
        font-size: 16px;
        max-width: 100%;
    }

    /* Footer */
    .site-footer {
        padding: 16px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .footer-copy {
        font-size: 11px;
    }
    .footer-links {
        gap: 16px;
    }
    .footer-link {
        font-size: 11px;
    }
}
