*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --bg:#181512;
    --paper:#201d19;
    --ink:#e4ddd4;
    --muted:#7d756c;
    --line:#2c2823;
    --gold:#c9a46a;
    --shadow:0 18px 40px rgba(0,0,0,.35);
}

body{
    background:var(--bg);
    color:var(--ink);
    font-family:Inter,sans-serif;
    min-height:100vh;
}

.page{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

.layout{
    flex:1;
    display:grid;
    grid-template-columns:320px 1fr;
    gap:60px;
    max-width:1500px;
    width:100%;
    margin:auto;
    padding:60px;
}

/* LEFT SIDEBAR */

.sidebar{
    border-right:1px solid var(--line);
    padding-right:50px;
}

.headshot{
    width:220px;
    height:220px;
    border-radius:50%;
    object-fit:cover;
    display:block;
    margin-bottom:35px;
    box-shadow:var(--shadow);
    /* Subtle warm border so the circular photo doesn't float on dark bg */
    outline:1px solid var(--line);
}

.author-name{
    font-family:"Cormorant Garamond", serif;
    font-size:54px;
    font-weight:600;
    line-height:.95;
    margin-bottom:12px;
}

.author-title{
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:11px;
    color:var(--gold);
    margin-bottom:30px;
    font-weight:600;
}

.bio{
    color:var(--muted);
    line-height:1.9;
    font-size:15px;
    margin-bottom:40px;
}

.bio-block{
    padding:22px 0;
    border-top:1px solid var(--line);
}

.bio-label{
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:11px;
    color:var(--gold);
    margin-bottom:10px;
}

.bio-value{
    font-size:16px;
    font-weight:500;
}

/* MAIN */

.content{
    display:flex;
    align-items:flex-start;
}

.book-card{
    width:100%;
    background:var(--paper);
    padding:55px;
    border:1px solid var(--line);
    box-shadow:var(--shadow);
}

.book-layout{
    display:grid;
    grid-template-columns:300px 1fr;
    gap:60px;
}

.book-cover{
    width:100%;
    display:block;
    box-shadow:0 25px 50px rgba(0,0,0,.5);
}

.kicker{
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:11px;
    color:var(--gold);
    margin-bottom:16px;
    font-weight:600;
}

.book-title{
    font-family:"Cormorant Garamond", serif;
    font-size:78px;
    line-height:.95;
    font-weight:600;
    margin-bottom:18px;
}

.subtitle{
    font-size:22px;
    color:var(--muted);
    margin-bottom:30px;
    font-weight:300;
}

.description{
    font-size:17px;
    line-height:2;
    color:#9c9189;
    margin-bottom:40px;
}

.book-table{
    width:100%;
    border-collapse:collapse;
}

.book-table td{
    padding:18px 0;
    border-bottom:1px solid var(--line);
}

.book-table td:first-child{
    width:180px;
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:11px;
    color:var(--gold);
    font-weight:600;
}

.book-table td:last-child{
    font-size:15px;
    font-weight:500;
}

/* FOOTER */

footer{
    margin-top:40px;
    border-top:1px solid var(--line);
    padding:28px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:var(--muted);
    font-size:14px;
    max-width:1500px;
    width:100%;
    margin-left:auto;
    margin-right:auto;
}

.footer-brand{
    font-family:"Cormorant Garamond", serif;
    font-size:28px;
    color:var(--ink);
}

.footer-links{
    display:flex;
    gap:30px;
}

.footer-links a{
    text-decoration:none;
    color:var(--muted);
    transition:.25s;
}

.footer-links a:hover{
    color:var(--gold);
}

/* MOBILE */

@media (max-width:1100px){
    .layout{
        grid-template-columns:1fr;
        gap:40px;
        padding:30px;
    }

    .sidebar{
        border-right:none;
        border-bottom:1px solid var(--line);
        padding-right:0;
        padding-bottom:40px;
    }

    .book-layout{
        grid-template-columns:1fr;
    }

    .book-cover{
        max-width:280px;
    }

    .book-title{
        font-size:52px;
    }

    footer{
        padding:25px 30px;
        flex-direction:column;
        gap:20px;
    }
}

/* BUTTONS */

.button-group{
    display:flex;
    gap:16px;
    margin-top:30px;
    flex-wrap:wrap;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 28px;
    border-radius:999px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    letter-spacing:.5px;
    transition:.25s ease;
    cursor:pointer;
}

/* GOLD BUTTON */

.btn-primary{
    background:var(--gold);
    color:#12100e;
    border:1px solid var(--gold);
    box-shadow:0 10px 25px rgba(201,164,106,.15);
}

.btn-primary:hover{
    background:#b8935a;
    border-color:#b8935a;
    transform:translateY(-2px);
}

/* LIGHT BUTTON */

.btn-secondary{
    background:transparent;
    color:var(--ink);
    border:1px solid var(--line);
}

.btn-secondary:hover{
    background:#2a2620;
    transform:translateY(-2px);
}

/* COVER THUMBNAILS */

.covers-grid{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:14px;
}

.cover-thumb{
    width:74px;
    height:117px;
    object-fit:cover;
    display:block;
    box-shadow:0 6px 16px rgba(0,0,0,.4);
}