* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background: #f3e6cc;
    color: #2b2418;
}

a {
    color: inherit;
}

.top-nav {
    background: #2c2517;
    color: #fff7e8;
    border-bottom: 4px solid #b88a36;
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-text {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: #fff7e8;
    border: 1px solid #b88a36;
    padding: 9px 14px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.nav-links a:hover {
    background: #b88a36;
    color: #241b10;
}

.hero img {
    width: 100%;
    display: block;
}

main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 36px 22px 54px;
}

.panel {
    background: #fff7e8;
    border: 2px solid #b88a36;
    box-shadow: 0 3px 12px rgba(0,0,0,.12);
    padding: 34px;
    margin-bottom: 34px;
}

.panel h1,
.panel h2 {
    margin-top: 0;
    color: #34421f;
    text-align: center;
}

.panel h1 {
    font-size: 38px;
}

.panel h2 {
    font-size: 31px;
}

.panel p {
    font-size: 18px;
    line-height: 1.65;
}

.intro {
    border-left: 8px solid #7f5d1c;
}

.button-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.button {
    background: #8b6a1d;
    color: white;
    text-decoration: none;
    padding: 14px 24px;
    font-weight: bold;
    border: 2px solid #6e5014;
}

.button:hover {
    background: #2f3f1e;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 22px;
    margin-bottom: 34px;
}

.collection-card {
    background: #fffaf0;
    border: 1px solid #cdb88f;
    box-shadow: 0 2px 8px rgba(0,0,0,.10);
    padding: 26px;
    min-height: 190px;
}

.collection-card h3 {
    margin-top: 0;
    color: #34421f;
    font-size: 24px;
}

.collection-card p {
    line-height: 1.55;
}

.collection-card a {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: #7f5d1c;
}

details {
    background: #f8edd6;
    border: 1px solid #cdb88f;
    margin: 18px 0;
}

summary {
    cursor: pointer;
    padding: 18px 22px;
    font-size: 22px;
    font-weight: bold;
    color: #2f3f1e;
    background: #ead6ad;
    border-bottom: 1px solid #cdb88f;
}

summary:hover {
    background: #e1c792;
}

.series-note {
    padding: 18px 28px 0;
    margin: 0;
    text-align: center;
    color: #4d412e;
}

.book-list {
    columns: 2;
    column-gap: 58px;
    padding: 20px 42px 30px;
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
}

.book-list li {
    break-inside: avoid;
    margin-bottom: 4px;
}

.book-list a,
.resource-list a {
    text-decoration: none;
    color: #2b2418;
}

.book-list a:hover,
.resource-list a:hover {
    color: #8b6a1d;
    text-decoration: underline;
}

.resource-list {
    padding: 20px 42px 30px;
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
}

.coming-soon::after {
    content: "  · coming soon";
    color: #7f5d1c;
    font-size: .88em;
    font-style: italic;
}

footer {
    background: #2c2517;
    color: #fff7e8;
    text-align: center;
    padding: 30px 20px;
    border-top: 4px solid #b88a36;
}

.footer-note {
    max-width: 850px;
    margin: 10px auto 0;
    color: #e6d5ad;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .nav-inner {
        display: block;
        text-align: center;
    }

    .logo-text {
        margin-bottom: 14px;
    }

    .nav-links {
        justify-content: center;
    }

    .panel {
        padding: 24px;
    }

    .panel h1 {
        font-size: 30px;
    }

    .panel h2 {
        font-size: 25px;
    }

    summary {
        font-size: 19px;
    }

    .book-list {
        columns: 1;
        padding: 20px 32px 28px;
    }
}
