*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
    margin:0;
    background:#050b11;
    color:#eee;
    font-family:Arial,Helvetica,sans-serif
}

/* =========================
   ВЕРХНИЙ БЛОК
   ========================= */

.hero{
    position:relative;
    width:100%;
    aspect-ratio:2172 / 724;
    min-height:0;
    background-image:url("images/hero.png");
    background-size:100% 100%;
    background-position:center;
    background-repeat:no-repeat;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center
}

.hero:before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.05) 0%,
            rgba(0,0,0,.05) 55%,
            rgba(5,11,17,.15) 75%,
            #050b11 100%
        )
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.28),
            transparent 35%,
            transparent 65%,
            rgba(0,0,0,.28)
        )
}

.hero-content{
    position:relative;
    text-align:center;
    padding:40px 20px 65px;
    z-index:2
}

.author-name{
    font-family:"Brush Script MT","Segoe Script",cursive;
    font-size:clamp(74px,10vw,150px);
    font-weight:500;
    line-height:.9;
    color:#f5f2eb;
    text-shadow:0 2px 14px #000
}

.tagline{
    margin-top:28px;
    font-size:clamp(12px,1.5vw,20px);
    letter-spacing:.35em;
    color:#eee
}

.hero-line{
    width:54px;
    height:1px;
    background:#aaa;
    margin:22px auto 18px
}

.hero p{
    margin:0;
    color:#a9bacd;
    font-size:18px;
    line-height:1.55
}

/* =========================
   КНОПКА ОБ АВТОРЕ
   ========================= */

.about-button{
    display:inline-block;
    margin-top:24px;
    padding:11px 24px;
    border:1px solid rgba(255,255,255,.45);
    color:inherit;
    text-decoration:none;
    font-size:12px;
    letter-spacing:.18em;
    transition:.2s
}

.about-button:hover{
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.8)
}

/* =========================
   КНИГИ
   ========================= */

.books-section{
    max-width:1420px;
    margin:0 auto;
    padding:38px 35px 0
}

.books-grid{
    display:grid;
    grid-template-columns:repeat(8,minmax(110px,1fr));
    gap:16px
}

.book{
    text-align:center;
    min-width:0
}

.cover-wrap{
    position:relative;
    aspect-ratio:2/3;
    overflow:hidden;
    border:1px solid #4c5863;
    border-radius:3px;
    background:#101820;
    box-shadow:0 12px 28px rgba(0,0,0,.45)
}

.cover-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block
}

.planned .cover-wrap{
    opacity:.88
}

.book h2{
    font-family:Georgia,"Times New Roman",serif;
    font-size:15px;
    line-height:1.25;
    font-weight:400;
    margin:17px 0 6px
}

.book p{
    font-size:12px;
    color:#8fa1b3;
    margin:0;
    line-height:1.35
}

.status{
    display:inline-block;
    margin-top:9px;
    font-size:9px;
    letter-spacing:.12em;
    color:#778a9c
}

.available .status{
    color:#c6d0d8
}

/* =========================
   РОКЕРСФИЛД
   ========================= */

.universe{
    text-align:center;
    padding:62px 0 55px
}

.universe-line{
    width:34%;
    max-width:480px;
    height:1px;
    background:#5a646d;
    margin:0 auto 25px
}

.universe-title{
    font-size:16px;
    letter-spacing:.55em;
    color:#dce2e7
}

.city-mark{
    margin-top:30px;
    color:#bdc9d3;
    font-size:13px;
    letter-spacing:.6em
}

/* =========================
   FOOTER
   ========================= */

.footer{
    border-top:1px solid #1e2a34;
    background:#03070b;
    padding:38px 20px;
    color:#8292a1
}

.footer-inner{
    text-align:center;
    max-width:850px;
    margin:auto
}

.footer-author{
    font-family:Georgia,serif;
    letter-spacing:.3em;
    color:#dce2e7;
    font-size:15px
}

.footer-text{
    margin:13px auto 22px;
    font-size:13px;
    line-height:1.6
}

.contacts{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap
}

.contacts a,
.about-contacts a{
    color:#c5d0d9;
    text-decoration:none;
    font-size:13px
}

.contacts a:hover,
.about-contacts a:hover{
    color:#fff
}

.copyright{
    margin-top:24px;
    font-size:11px;
    color:#52616d
}

/* =========================
   СТРАНИЦА ОБ АВТОРЕ
   ========================= */

.simple-header{
    height:72px;
    border-bottom:1px solid #202b35;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 35px
}

.back{
    color:#aab8c4;
    text-decoration:none;
    font-size:13px
}

.simple-logo{
    letter-spacing:.35em;
    font-size:13px
}

.about-page{
    max-width:1050px;
    margin:auto;
    padding:80px 25px 100px
}

.about-card{
    display:grid;
    grid-template-columns:330px 1fr;
    gap:75px;
    align-items:start
}

.author-photo{
    aspect-ratio:1/1;
    background:#111b24;
    border:1px solid #3b4854
}

.author-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block
}

.about-content .small-title{
    font-size:11px;
    letter-spacing:.25em;
    color:#8da0b0
}

.about-content h1{
    font-family:Georgia,serif;
    font-size:60px;
    font-weight:400;
    margin:12px 0 30px
}

.about-content p{
    font-family:Georgia,serif;
    font-size:18px;
    line-height:1.7;
    color:#c8d0d6;
    max-width:650px
}

.about-content h2{
    font-family:Georgia,serif;
    font-weight:400;
    margin-top:45px
}

.about-contacts{
    display:flex;
    gap:25px;
    flex-wrap:wrap
}

.compact{
    padding:25px
}

.compact .copyright{
    margin-top:0
}

/* =========================
   ПЛАНШЕТ
   ========================= */

@media(max-width:1100px){

    .books-grid{
        grid-template-columns:repeat(4,1fr);
        row-gap:35px
    }
}

/* =========================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================= */

@media(max-width:700px){

    .hero{
        aspect-ratio:auto;
        height:330px;
        background-size:cover;
        background-position:center center
    }

    .hero-content{
        padding:40px 20px 55px
    }

    .author-name{
        font-size:72px
    }

    .tagline{
        font-size:11px;
        letter-spacing:.16em
    }

    .books-section{
        padding:25px 15px 0
    }

    .books-grid{
        grid-template-columns:repeat(2,1fr);
        gap:28px 12px
    }

    .universe{
        padding:50px 10px
    }

    .universe-title{
        font-size:12px;
        letter-spacing:.3em
    }

    .city-mark{
        letter-spacing:.35em
    }

    .about-card{
        grid-template-columns:1fr;
        gap:40px
    }

    .author-photo{
        max-width:300px
    }

    .about-content h1{
        font-size:48px
    }

    .simple-header{
        padding:0 18px
    }
}


/* =========================
   СТРАНИЦА КНИГИ
   ========================= */

.book-link{
    display:block;
    color:inherit;
    text-decoration:none
}

.book-link:hover .cover-wrap{
    border-color:#8a98a4;
    transform:translateY(-3px)
}

.book-link .cover-wrap{
    transition:.2s
}

.book-page{
    max-width:1050px;
    margin:auto;
    padding:80px 25px 100px
}

.book-card{
    display:grid;
    grid-template-columns:330px 1fr;
    gap:75px;
    align-items:start
}

.book-page-cover{
    width:100%;
    background:#101820;
    border:1px solid #3b4854;
    box-shadow:0 15px 35px rgba(0,0,0,.45)
}

.book-page-cover img{
    width:100%;
    height:auto;
    display:block
}

.book-page-content .small-title{
    font-size:11px;
    letter-spacing:.25em;
    color:#8da0b0
}

.book-page-content h1{
    font-family:Georgia,serif;
    font-size:60px;
    font-weight:400;
    margin:12px 0 15px
}

.book-page-genre{
    font-size:13px;
    color:#8fa1b3;
    margin-bottom:35px
}

.book-page-content p{
    font-family:Georgia,serif;
    font-size:18px;
    line-height:1.7;
    color:#c8d0d6;
    max-width:650px
}

.book-page-status{
    margin-top:35px;
    font-size:10px;
    letter-spacing:.18em;
    color:#c6d0d8
}

@media(max-width:700px){

    .book-page{
        padding:50px 20px 70px
    }

    .book-card{
        grid-template-columns:1fr;
        gap:40px
    }

    .book-page-cover{
        max-width:320px;
        margin:0 auto
    }

    .book-page-content h1{
        font-size:48px
    }

    .book-page-content p{
        font-size:17px
    }
}