@import url('https://fonts.googleapis.com/css2?family=Life+Savers:wght@400;700&display=swap');* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #f3eadc;
    --burgundy: #73172c;
    --dark-burgundy: #4a101e;
    --ink: #251c19;
    --rose: #d9aaa4;
}

body {
    background-color: var(--cream);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 8%;
    background-color: var(--cream);

    border-bottom: 1px solid #cbb9a5;
}

.author-brand {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--ink);
    font-family: "Life Savers", serif;
    font-size: 3.3rem;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1;
    text-decoration: none;
}

.author-tagline {
    margin-top: 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: normal;
    letter-spacing: 0.5px;
    color: #6b5a52;
}

.main-nav {
    display: flex;
    gap: 35px;
}

.main-nav a {
    position: relative;

    color: var(--ink);
    font-size: 1rem;
    text-decoration: none;
}

.main-nav a::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background-color: var(--burgundy);

    transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.hero {
    min-height: 430px;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 60px 20px;

    background-color: var(--dark-burgundy);
    background-image: url("../images/hero.png");
}

.hero-card {
    width: min(620px, 90%);

    padding: 45px 60px;

    background-color: var(--cream);

    border: 1px solid #bca58e;

    text-align: center;
}

.hero-welcome {
    margin-bottom: 8px;

    font-size: 0.8rem;
    font-style: normal;
    letter-spacing: 3px;
    text-transform: uppercase;

    color: #79675d;
}

.hero-card h1 {
    margin: 8px 0 12px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: normal;

    line-height: 1.15;
    letter-spacing: 3px;
    text-transform: uppercase;

    color: var(--burgundy);
}

.hero-divider {
    width: 90px;
    height: 1px;
    margin: 18px auto;

    background-color: #9d806a;
}

.hero-description {
    margin-bottom: 28px;

    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.5;
}

.hero-button {
    display: inline-block;

    padding: 13px 28px;

    background-color: var(--burgundy);
    color: white;

    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;

    transition: background-color 0.2s ease,
    transform 0.2s ease;
}

.hero-button:hover {
    background-color: var(--dark-burgundy);
    transform: translateY(-2px);
}

.series-section {
    padding: 45px 8% 55px;

    background-color: var(--cream);
}

.section-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;

    margin-bottom: 35px;
}

.section-heading h2 {
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-heading span {
    color: var(--burgundy);
    font-size: 1.5rem;
}

.series-content {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(280px, 1fr);
    gap: 40px;
}

/* BOOKS */

.book-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    min-width: 0;
}

.book-placeholder {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 2 / 3;

    justify-self: center;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    padding: 25px 15px;

    color: #f8efe4;
    text-align: center;
    text-decoration: none;

    border: 1px solid #8f7866;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);

    transition: transform 0.2s ease,
    box-shadow 0.2s ease;
}

.book-placeholder:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.book-placeholder.burgundy {
    background-color: #681c2d;
}

.book-placeholder.green {
    background-color: #244a3d;
}

.book-placeholder.purple {
    background-color: #40334d;
}

.book-placeholder.blue {
    background-color: #263e4e;
}

.book-number {
    margin-bottom: auto;

    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.book-title {
    font-size: 1.25rem;
    line-height: 1.2;
}

.book-status {
    margin-top: 8px;

    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* AUTHOR INTRO */

.author-intro {
    padding-left: 35px;

    border-left: 1px solid #bca58e;

    text-align: center;
}


.author-intro h3 {
    margin-bottom: 20px;

    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.author-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.signature {
    margin: 25px 0 15px;

    font-size: 1.5rem !important;
    font-style: italic;
}

.text-link {
    color: var(--burgundy);

    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
}

.newsletter-section {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;

    margin: 0 4% 40px;
    padding: 30px 5%;

    background-color: var(--rose);

    border: 1px solid #b88983;
}

.newsletter-icon {
    font-size: 2.5rem;
}

.newsletter-copy h2 {
    margin-bottom: 7px;

    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.newsletter-copy p {
    max-width: 500px;

    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    width: 280px;

    padding: 13px 15px;

    background-color: #f8f0e6;
    color: var(--ink);

    border: 1px solid #ad8d82;
    border-right: none;

    font-family: inherit;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: 2px solid var(--burgundy);
    outline-offset: 2px;
}

.newsletter-form button {
    padding: 13px 30px;

    background-color: var(--burgundy);
    color: white;

    border: none;

    font-family: inherit;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;

    cursor: pointer;

    transition: background-color 0.2s ease;
}

.newsletter-form button:hover {
    background-color: var(--dark-burgundy);
}

/* Accessible label that's hidden visually */
.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;
    border: 0;
}


.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-bat {
    width: 65px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.section-bat {
    display: block;
    width: 55px;
    height: auto;

    margin: 0 auto 15px;
}

.logo-option-1 {
    font-family: "Almendra", serif;
}

.logo-option-2 {
    font-family: "Berkshire Swash", serif;
}

.logo-option-3 {
    font-family: "Eagle Lake", serif;
}

.logo-option-4 {
    font-family: "Cormorant Infant", serif;
}

.logo-test {
    padding: 30px;
    background-color: var(--cream);
    text-align: center;
}

.logo-test p {
    margin: 20px 0;
    font-size: 3rem;
    color: var(--ink);
}

.books-intro {
    padding: 65px 20px 55px;
    text-align: center;
    background-color: var(--cream);
}

.books-bat {
    display: block;
    width: 55px;
    height: auto;
    margin: 0 auto 15px;
}

.books-eyebrow {
    margin-bottom: 10px;

    color: #79675d;

    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.books-intro h1 {
    color: var(--burgundy);

    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.books-divider {
    width: 90px;
    height: 1px;

    margin: 20px auto;

    background-color: #9d806a;
}

.books-description {
    max-width: 600px;
    margin: 0 auto;

    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
}

.featured-book {
    display: grid;
    grid-template-columns: 280px minmax(0, 550px);
    justify-content: center;
    align-items: center;
    gap: 70px;

    padding: 60px 8% 80px;

    background-color: #eadfd0;
    border-top: 1px solid #d0bdab;
    border-bottom: 1px solid #d0bdab;
}


/* Temporary Book Cover */

.featured-cover {
    aspect-ratio: 2 / 3;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 30px 20px;

    background-color: var(--burgundy);
    color: #f7eddf;

    border: 1px solid var(--dark-burgundy);

    box-shadow:
            8px 10px 0 #c6ad98,
            0 12px 25px rgba(0, 0, 0, 0.15);

    text-align: center;
}

.featured-book-number {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.featured-cover-title {
    margin: auto 0;

    display: flex;
    flex-direction: column;

    font-size: 2.3rem;
    line-height: 1.05;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.featured-cover-title span:nth-child(2) {
    margin: 7px 0;

    font-size: 1.2rem;
    font-style: italic;
}

.featured-author {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* Book Information */

.featured-book-info {
    text-align: left;
}

.book-series-label {
    margin-bottom: 10px;

    color: var(--burgundy);

    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.featured-book-info h2 {
    font-size: 2.3rem;
    font-weight: normal;
    letter-spacing: 2px;
}

.book-title-divider {
    width: 70px;
    height: 1px;

    margin: 18px 0;

    background-color: #9d806a;
}

.book-release {
    margin-bottom: 20px;

    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.book-summary {
    margin-bottom: 25px;

    font-size: 1.05rem;
    line-height: 1.7;
}

.book-button {
    display: inline-block;

    padding: 12px 25px;

    background-color: var(--burgundy);
    color: white;

    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
}

.more-books {
    padding: 60px 8% 75px;
    background-color: var(--cream);
}

.more-books-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.series-book-card {
    width: 190px;
    text-align: center;
}

.mini-cover {
    aspect-ratio: 2 / 3;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 25px 15px;

    background-color: var(--dark-burgundy);
    color: #f7eddf;

    border: 1px solid #8f7866;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.mini-cover span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mini-cover strong {
    margin: auto 0;

    font-size: 1rem;
    font-weight: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.series-book-card p {
    margin-top: 15px;

    color: #6b5a52;

    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-intro {
    padding: 65px 20px 55px;
    text-align: center;
    background-color: var(--cream);
}

.about-eyebrow {
    margin-bottom: 10px;
    color: #79675d;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-intro h1 {
    color: var(--burgundy);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.about-lead {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
}

.about-main {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(300px, 550px);
    justify-content: center;
    align-items: center;
    gap: 70px;

    padding: 60px 8% 80px;

    background-color: #eadfd0;
    border-top: 1px solid #d0bdab;
    border-bottom: 1px solid #d0bdab;
}

.about-portrait {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.about-portrait img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
}

.about-bio {
    max-width: 550px;
}

.about-label {
    margin-bottom: 10px;

    color: var(--burgundy);

    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-bio h2 {
    color: var(--ink);

    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: normal;
    line-height: 1.2;
}

.about-divider {
    width: 70px;
    height: 1px;

    margin: 20px 0;

    background-color: #9d806a;
}

.about-bio p:not(.about-label) {
    margin-bottom: 18px;

    font-size: 1.05rem;
    line-height: 1.75;
}

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

.site-footer {
    padding: 45px 8% 25px;
    background-color: var(--dark-burgundy);
    color: #f3eadc;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bat {
    width: 55px;
    height: auto;
    margin-bottom: 12px;
}

.footer-name {
    color: #f3eadc;
    font-family: "Life Savers", serif;
    font-size: 2rem;
    text-decoration: none;
}

.footer-brand p {
    margin-top: 6px;
    font-size: 0.85rem;
    font-style: italic;
    color: #d8c5b6;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.footer-nav a {
    color: #f3eadc;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(243, 234, 220, 0.25);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #cbb7a7;
}

/* =========================
   NEWSLETTER PAGE
   ========================= */

.newsletter-page {
    min-height: 650px;
    padding: 65px 20px 80px;
    background-color: var(--cream);
    text-align: center;
}

.newsletter-page-bat {
    display: block;
    width: 55px;
    height: auto;
    margin: 0 auto 15px;
}

.newsletter-page-eyebrow {
    margin-bottom: 10px;
    color: #79675d;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.newsletter-page h1 {
    color: var(--burgundy);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.newsletter-page-divider {
    width: 90px;
    height: 1px;
    margin: 20px auto;
    background-color: #9d806a;
}

.newsletter-page-lead {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
}

.newsletter-signup-box {
    width: min(650px, 100%);
    margin: 0 auto;
    padding: 45px 50px;

    background-color: #eadfd0;
    border: 1px solid #cbb9a5;
}

.newsletter-signup-box h2 {
    margin-bottom: 15px;
    color: var(--ink);
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.newsletter-signup-box > p {
    max-width: 500px;
    margin: 0 auto 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.newsletter-page-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-page-form input {
    flex: 1;
    min-width: 0;
    padding: 14px 15px;

    background-color: #f8f0e6;
    color: var(--ink);

    border: 1px solid #ad8d82;
    border-right: none;

    font-family: inherit;
    font-size: 0.9rem;
}

.newsletter-page-form input:focus {
    outline: 2px solid var(--burgundy);
    outline-offset: 2px;
}

.newsletter-page-form button {
    padding: 14px 22px;

    background-color: var(--burgundy);
    color: white;

    border: none;

    font-family: inherit;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;

    cursor: pointer;
}

.newsletter-page-form button:hover {
    background-color: var(--dark-burgundy);
}

.newsletter-signup-box .newsletter-note {
    margin: 18px auto 0;
    color: #79675d;
    font-size: 0.8rem;
    font-style: italic;
}

/* =========================
   RESPONSIVE STYLES
   ========================= */

@media (max-width: 900px) {

    .site-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .author-brand {
        align-items: center;
    }

    .main-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero {
        min-height: 380px;
        padding: 40px 20px;
    }

    .hero-card {
        padding: 35px 30px;
    }

    .series-content {
        grid-template-columns: 1fr;
    }

    .book-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .author-intro {
        padding: 30px 10%;
        border-left: none;
        border-top: 1px solid #bca58e;
    }

    .newsletter-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-copy p {
        margin: 0 auto;
    }

    .newsletter-form {
        justify-content: center;
    }

    .featured-book {
        grid-template-columns: 240px minmax(0, 450px);
        gap: 40px;
        padding: 50px 5%;
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 50px 8%;
    }

    .about-portrait {
        justify-content: center;
    }

    .about-portrait img {
        width: min(420px, 100%);
    }

    .about-bio {
        max-width: 650px;
        margin: 0 auto;
        text-align: center;
    }

    .about-divider {
        margin: 20px auto;
    }
}

@media (max-width: 600px) {

    .site-header {
        padding: 18px 20px;
    }

    .author-name {
        font-size: 2.1rem;
    }

    .author-tagline {
        font-size: 0.9rem;
    }

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .hero {
        min-height: 450px;

        background-position: center;
    }

    .hero-card {
        width: 95%;
        padding: 30px 20px;
    }

    .hero-welcome {
        font-size: 1.3rem;
    }

    .hero-card h1 {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .series-section {
        padding: 35px 20px;
    }

    .section-heading {
        gap: 10px;
    }

    .section-heading h2 {
        font-size: 1.4rem;
        text-align: center;
    }

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

    .book-placeholder {
        width: 220px;
    }

    .newsletter-section {
        margin: 0 20px 30px;
        padding: 25px 20px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input {
        width: 100%;
        border-right: 1px solid #ad8d82;
    }

    .newsletter-form button {
        width: 100%;
    }

    .books-intro {
        padding: 45px 20px 40px;
    }

    .books-intro h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .featured-book {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 45px 25px;
    }

    .featured-cover {
        width: 220px;
        justify-self: center;
    }

    .featured-book-info {
        text-align: center;
    }

    .book-title-divider {
        margin: 18px auto;
    }

    .featured-book-info h2 {
        font-size: 1.9rem;
    }

    .more-books {
        padding: 45px 20px 55px;
    }

    .more-books-grid {
        gap: 20px;
    }

    .series-book-card {
        width: min(160px, 45%);
    }

    .about-main {
        padding: 35px 20px 50px;
    }

    .about-portrait img {
        width: min(340px, 100%);
    }

    .about-bio h2 {
        font-size: 1.8rem;
    }

    .newsletter-page {
        padding: 45px 20px 60px;
    }

    .newsletter-page h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .newsletter-signup-box {
        padding: 35px 20px;
    }

    .newsletter-page-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-page-form input {
        width: 100%;
        border-right: 1px solid #ad8d82;
    }

    .newsletter-page-form button {
        width: 100%;
    }

}