:root {
    --ink: #f0ece2;
    --paper: #050608;
    --wine: #8f2a2a;
    --blood: #790000;
    --rust: #e08e66;
    --fog: #0d1016;
    --line: #6f7681;
    --max: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Source Serif 4", Georgia, serif;
    color: var(--ink);
    background: #000;
    min-height: 100vh;
    line-height: 1.5;
    position: relative;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
    background: rgba(5, 6, 8, 0.82);
    border-bottom: 1px solid rgba(240, 236, 226, 0.2);
}

.site-nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.7rem 0;
}

.site-nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.55rem, 2vw, 1.2rem);
    flex-wrap: wrap;
}

.site-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(240, 236, 226, 0.35);
    background: rgba(5, 6, 8, 0.9);
    color: var(--ink);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.site-nav-toggle-line {
    width: 18px;
    height: 2px;
    background: var(--ink);
}

.site-nav-link {
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: clamp(0.88rem, 2.3vw, 1.05rem);
    line-height: 1;
    opacity: 0.9;
    transition: opacity 160ms ease, color 160ms ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
    color: #e5e5e5;
    opacity: 1;
}

#home,
#novels-carousel,
#author,
#swag,
#newsletter {
    scroll-margin-top: 5rem;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: none;
    z-index: -1;
}

.wrap {
    width: min(var(--max), 92vw);
    margin: 0 auto;
}

.page-head {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.6rem 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.mayhem-tagline {
    color: var(--ink);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.48);
    text-align: center;
    line-height: 1.1;
    max-width: 100%;
    font-weight: bold;
}

h1.mayhem-tagline {
    font-size: clamp(6rem, 12vw, 9rem);
}

h2.mayhem-tagline {
    font-size: clamp(4rem, 6vw, 6rem);
}

h3.mayhem-tagline {
    font-size: clamp(2rem, 4vw, 3rem);
}

.mayhem-tagline.author {
    color: var(--blood);
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    color: var(--wine);
    opacity: 0.92;
    margin: 0;
}

.page-head::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(360px, 134vmin, 980px);
    height: clamp(500px, 134vmin, 1120px);
    max-height: 120vh;
    display: block;
    margin: 0;
    transform: translate(-50%, -50%); /*translateX(-160px); */
    z-index: -1;
    pointer-events: none;
    background-image: url("/assets/img/alleywide.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.88;
    filter: brightness(0.8) saturate(0.7) contrast(1.5) blur(0.3px);
    box-shadow: inset 0 0 420px rgba(0, 0, 0, 0.94);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 34%, rgba(0, 0, 0, 0.78) 58%, rgba(0, 0, 0, 0.22) 78%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 34%, rgba(0, 0, 0, 0.78) 58%, rgba(0, 0, 0, 0.22) 78%, rgba(0, 0, 0, 0) 100%);
}

.page-head > * {
    position: relative;
    z-index: 1;
}

.novels-carousel {
    position: relative;
    width: min(1320px, 96vw);
    margin: 0 auto 3rem;
    padding-bottom: 2.7rem;
}

.carousel-track {
    display: flex;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track .book-section {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.carousel-track .book-section+.book-section {
    margin-top: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(240, 236, 226, 0.35);
    background: rgba(5, 6, 8, 0.7);
    color: var(--ink);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.carousel-btn-prev {
    left: 0.5rem;
}

.carousel-btn-next {
    right: 0.5rem;
}

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 4rem;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
}

.carousel-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(240, 236, 226, 0.6);
    background: rgba(240, 236, 226, 0.2);
    cursor: pointer;
}

.carousel-dot.is-active {
    background: rgba(240, 236, 226, 0.95);
}

.book-section {
    min-height: 760px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.4rem 0;
    border-top: 0;
    background: transparent;
    position: relative;
    overflow: hidden;
    --section-tint: rgba(0, 0, 0, 0);
}

.book-section:nth-of-type(1) {
    --section-tint: rgba(0, 0, 0, 0);
}

.book-section:nth-of-type(2) {
    --section-tint: rgba(0, 0, 0, 0);
}

.book-section:nth-of-type(3) {
    --section-tint: rgba(0, 0, 0, 0);
}

.book-section+.book-section {
    margin-top: 50px;
}

.book-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0%,
            var(--section-tint) 24%,
            var(--section-tint) 76%,
            rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.book-inner {
    width: min(1240px, 92vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 340px minmax(0, 720px);
    grid-template-areas: "cover copy";
    justify-content: center;
    gap: clamp(1.5rem, 3.2vw, 3.2rem);
    align-items: center;
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.cover-shell {
    grid-area: cover;
    width: 330px;
    height: 485px;
    position: relative;
    overflow: hidden;
}

.index-page .book-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0rem;
    min-height: 485px;
}

.index-page .book-copy .book-title {
    margin-top: 1.5rem;
    
}

.index-page .book-copy .book-short-description {
    margin-top: 2.6rem;
    margin-bottom: 0;
}

.index-page .book-copy .book-subtitle {
    min-height: 1.5em;
}

.index-page .book-copy .book-footer {
    margin-top: auto;
    padding-top: 1.2rem;
    padding-bottom: 2.2rem;
}

.index-page .book-copy .book-reviews {
    margin-top: 0;
    padding-top: 0.4rem;
    margin-bottom: 1.4rem;
}

.index-page .book-copy .read-more-btn {
    align-self: center;
    margin-bottom: 0;
}

.index-page .book-copy .book-links {
    justify-content: center;
    margin-top: 0.4rem;
}

.index-page .book-copy .book-links .read-more-btn {
    margin-bottom: 0;
}

.book-copy {
    grid-area: copy;
    width: min(100%, 720px);
    container-type: inline-size;
    justify-self: center;
}

.book-page .cover-shell {
    width: 380px;
    height: 560px;
}

.book-page .book-inner {
    column-gap: clamp(2.5rem, 5vw, 5rem);
}

.book-page .book-summary {
    margin-top: 1.25rem;
}

.cover-shell::before {
    content: "";
    position: absolute;
    inset: -3% -3% -4% -3%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.46) 70%, rgba(0, 0, 0, 0) 100%);
    filter: blur(10px);
    z-index: -1;
}

.cover-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 56%, rgba(0, 0, 0, 0.22) 76%, rgba(0, 0, 0, 0.45) 92%, rgba(0, 0, 0, 0.58) 100%);
    pointer-events: none;
}

.book-cover {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0;
    border: 0;
    opacity: 0.96;
    filter: contrast(0.97) saturate(0.94) brightness(0.98);
    mix-blend-mode: normal;
    mask-image: none;
}

.book-title {
    margin: 0px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.2rem, 8.2cqw, 3.4rem);
    max-width: 100%;
    color: #f8f4ea;
    text-shadow: 0 5px 16px rgba(0, 0, 0, 0.52);
    white-space: nowrap;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
}

.book-subtitle {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    font-size: 25px;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.88);
    text-transform: uppercase;
    font-weight: 100;
    text-align: center;
}

.book-section p {
    color: #EEEEEE;
    margin: 0px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.00rem, 1vw, 1.2rem);
    max-width: 720px;
}

.book-section b {
    margin: 0px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.00rem, 1.5vw, 1.2rem);
    max-width: 720px;
}

.book-summary {
    position: relative;
    overflow: hidden;
    max-height: 10.5rem;
}

.book-short-description {
    display: block;
    margin-bottom: 1.3rem;
}

.book-reviews {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 3rem;
    align-items: flex-start;
    justify-content: center;
}

.book-review {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
    color: var(--ink);
}

.book-review-copy {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    align-items: center;
}

.book-review-meta {
    margin: 0;
    font-size: clamp(0.88rem, 0.95vw, 1rem);
    color: rgba(240, 236, 226, 0.88);
    line-height: 1.2;
    text-align: center;
}

.book-review-link,
.book-review-link:visited,
.book-review-link:hover,
.book-review-link:active,
.book-review-link:focus {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.book-section p.book-rating-stars {
    margin: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.08em;
}

.book-rating-star {
    position: relative;
    display: inline-block;
    line-height: 1;
}

.book-rating-star-empty {
    display: block;
    color: rgba(240, 236, 226, 0.34);
}

.book-rating-star-filled {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    color: rgba(240, 236, 226, 0.95);
    overflow: hidden;
    white-space: nowrap;
    width: var(--star-fill-percentage, 0%);
}

.book-summary::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6rem;
    background: linear-gradient(180deg, rgba(7, 8, 12, 0), rgba(7, 8, 12, 0.45) 38%, rgba(7, 8, 12, 0.92));
    pointer-events: none;
}

.book-page .book-summary::after {
    display: none;
}

.read-more-btn {
    display: inline-block;
    margin-top: 0.9rem;
    padding: 0.56rem 1.05rem;
    border: 1px solid rgba(240, 236, 226, 0.35);
    background: rgba(240, 236, 226, 0.06);
    color: var(--ink);
    font: inherit;
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.read-more-btn:visited,
.read-more-btn:hover,
.read-more-btn:active,
.read-more-btn:focus {
    color: var(--ink);
    text-decoration: none;
}

.book-links {
    display: flex;
    justify-content: center;
    gap: clamp(1.35rem, 3.4vw, 3rem);
    margin-top: clamp(1.8rem, 3.2vw, 3rem);
}

.book-links .amazon-btn-img,
.book-links .goodreads-btn-img {
    width: clamp(96px, 12vw, 170px);
    height: auto;
    display: block;
}

.modal-open {
    overflow: hidden;
}

.buy-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.buy-modal.is-open {
    display: flex;
}

.buy-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.buy-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(420px, 92vw);
    border: 1px solid rgba(240, 236, 226, 0.32);
    background: rgba(5, 6, 8, 0.95);
    padding: 1rem;
    display: grid;
    gap: 0.8rem;
}

.buy-modal-close {
    justify-self: end;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(240, 236, 226, 0.35);
    background: rgba(240, 236, 226, 0.06);
    color: var(--ink);
    line-height: 1;
    cursor: pointer;
}

.buy-modal-title {
    margin: 0;
    text-align: center;
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
}

.buy-modal-options {
    display: grid;
    gap: 0.55rem;
}

.buy-option-btn {
    display: block;
    margin-top: 0;
    text-align: center;
}

.site-footer {
    padding: 0.8rem 0 1.3rem;
    margin-top: 20px;
}

.site-footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}

.contact-icon-link {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-icon {
    width: 100px;
    height: 100px;
    display: block;
}

.fade-section {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.fade-section.in-view {
    opacity: 1;
    transform: translateY(0);
}

.fade-section.in-view img {
    opacity: 1;
}

.author-section {
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.author-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    grid-template-areas:
        "top top"
        "body photo";
    gap: clamp(1.2rem, 4.4vw, 4rem);
    align-items: start;
    padding: 0;
}

.author-photo-shell {
    grid-area: photo;
    width: min(100%, 360px);
    justify-self: end;
    position: relative;
    overflow: hidden;
}

.author-photo-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center,
            rgba(0, 0, 0, 0) 56%,
            rgba(0, 0, 0, 0.22) 76%,
            rgba(0, 0, 0, 0.48) 92%,
            rgba(0, 0, 0, 0.68) 100%);
}

.author-copy {
    align-self: start;
    margin-top: 0;
}

.author-copy-top {
    grid-area: top;
}

.author-copy-body {
    grid-area: body;
}

.author-photo {
    width: 100%;
    height: min(34vw, 420px);
    display: block;
    object-fit: cover;
    object-position: 30% 34%;
    transform: scale(1.7);
    transform-origin: 30% 34%;
}

.author-title {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 0.95;
    font-size: clamp(1.8rem, 4.8vw, 3.9rem);
}

.author-copy .author-tagline {
    margin-top: 0.5rem;
    color: var(--blood);
    font-size: clamp(2rem, 1.8vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.author-copy .author-body {
    margin-top: 1.05rem;
    color: rgba(240, 236, 226, 0.92);
    max-width: 62ch;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.author-copy .author-tagline + p {
    margin-top: 2rem;
}

.swag-section {
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3.4rem;
    text-align: center;
}

.swag-gallery {
    width: min(1000px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.9rem, 2.2vw, 1.4rem);
    justify-items: center;
}

.swag-carousel {
    position: relative;
    width: min(1000px, 100%);
}

.swag-card {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.swag-item {
    width: 300px;
    height: auto;
    display: block;
    object-fit: cover;
}

.swag-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 1px solid rgba(240, 236, 226, 0.35);
    background: rgba(5, 6, 8, 0.7);
    color: var(--ink);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.swag-btn-prev {
    left: 0.25rem;
}

.swag-btn-next {
    right: 0.25rem;
}

.swag-title {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(3rem, 6.2vw, 5.6rem);
}

.swag-store-link {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    margin-top: 0;
}

.newsletter-section {
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.4rem;
}

.newsletter-title {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(2.2rem, 5.1vw, 4.3rem);
}

.newsletter-copy {
    margin: 0;
    margin-top: -1.5rem;
    color: rgba(240, 236, 226, 0.92);
    max-width: 58ch;
    font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.newsletter-form {
    width: min(640px, 100%);
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "label label"
        "input button"
        "consent consent";
    gap: 0.6rem 0.8rem;
    align-items: center;
    margin-top: 3rem;
}

.newsletter-label {
    grid-area: label;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    color: rgba(240, 236, 226, 0.8);
}

.newsletter-input {
    grid-area: input;
    width: 100%;
    min-height: 42px;
    padding: 0.62rem 0.8rem;
    border: 1px solid rgba(240, 236, 226, 0.35);
    background: rgba(240, 236, 226, 0.06);
    color: var(--ink);
    font: inherit;
}

.newsletter-input::placeholder {
    color: rgba(240, 236, 226, 0.56);
}

.newsletter-consent {
    grid-area: consent;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    font-size: 0.92rem;
    color: rgba(240, 236, 226, 0.88);
}

.newsletter-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--rust);
}

.newsletter-btn {
    grid-area: button;
    min-height: 42px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}



@media (max-width: 1000px) {
    .site-nav {
        backdrop-filter: none;
        background: transparent;
        border-bottom: 0;
    }

    .site-nav-inner {
        justify-content: flex-end;
        padding: 0.55rem 0;
        position: relative;
    }

    .site-nav-toggle {
        display: inline-flex;
    }

    .site-nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.35rem);
        right: 0;
        width: min(240px, 75vw);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(5, 6, 8, 0.96);
        border: 1px solid rgba(240, 236, 226, 0.22);
    }

    .site-nav.is-open .site-nav-links {
        display: flex;
    }

    .site-nav-link {
        font-size: 0.98rem;
        text-align: left;
        padding: 0.72rem 0.9rem;
        border-bottom: 1px solid rgba(240, 236, 226, 0.14);
    }

    .site-nav-links .site-nav-link:last-child {
        border-bottom: 0;
    }

    #home,
    #novels-carousel,
    #author,
    #swag,
    #newsletter {
        scroll-margin-top: 4.5rem;
    }

    .page-head {
        min-height: 100vh;
        min-height: 100svh;
        padding: 3rem 0;
    }

    h1.mayhem-tagline {
        font-size: clamp(4.4rem, 18vw, 7.2rem);
    }

    h2.mayhem-tagline {
        font-size: clamp(2.9rem, 12vw, 4.9rem);
    }

    h3.mayhem-tagline {
        font-size: clamp(1.55rem, 6.7vw, 2.7rem);
    }

    .front-promo {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .page-head::before {
        top: 50%;
        left: 50%;
        width: min(132vw, 1260px);
        background-image: url("/assets/img/alleylong.png");
        opacity: 0.93;
        filter: brightness(0.95) saturate(0.8) contrast(1.35) blur(0.3px);
        box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.42);
        -webkit-mask-image: none;
        mask-image: none;
        
    }

    .book-section {
        min-height: 680px;
        align-items: flex-start;
        padding: 1.2rem 0 2rem;
    }

    .carousel-btn {
        top: calc(1.2rem + (min(70vw, 250px) * 1.5) + 0.75rem);
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .carousel-dots {
        bottom: 2.4rem;
    }

    .book-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "cover"
            "copy";
        gap: 1.5rem;
    }

    .book-page .book-inner {
        gap: 0.9rem;
        align-items: start;
    }



    .book-page .cover-shell {
        width: min(70vw, 250px);
        height: auto;
        max-width: none;
        aspect-ratio: 2 / 3;
        justify-self: center;
    }

    .index-page .cover-shell {
        width: min(70vw, 250px);
        height: auto;
        max-width: none;
        aspect-ratio: 2 / 3;
        justify-self: center;
    }

    .book-page .cover-shell {
        width: min(76vw, 300px);
    }

    .book-title {
        
        font-size: clamp(1.2rem, 8vw, 3.4rem);
    }

    .book-subtitle {
        font-size: clamp(0.88rem, 5vw, 1.2rem);
    }

    .book-section .book-cover {
        width: 100%;
        height: auto;
        max-width: none;
    }

    .index-page .book-copy {
        min-height: auto;
    }

    .index-page .book-copy .book-short-description {
        margin-top: 1.2rem;
    }

    .index-page .book-copy .book-footer {
        margin-top: 0.6rem;
        padding-top: 0;
        padding-bottom: 0;
    }

    .index-page .book-copy .book-reviews {
        margin-top: 0.5rem;
        margin-bottom: 1.25rem;
    }

    .book-review {
        gap: 0.5rem;
    }

    .index-page .book-copy .read-more-btn {
        margin-bottom: 0;
    }

    .book-links {
        justify-content: center;
        gap: 0.95rem;
    }

    .author-section {
        margin-bottom: 0;
        padding-top: 0;
    }

    .author-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "top"
            "photo"
            "body";
        gap: 2.8rem;
        text-align: center;
        padding: 0;
    }

    .author-photo-shell {
        width: min(72vw, 330px);
        justify-self: center;
    }

    .author-copy h2 {
        font-size: clamp(1.5rem, 7.2vw, 2.6rem);
    }

    .author-copy .author-tagline {
        font-size: clamp(1.1rem, 5.2vw, 1.9rem);
    }

    .author-copy-top {
        margin-bottom: 1.2rem;
    }

    .author-copy-body {
        margin-top: 1.2rem;
        text-align: left;
    }

    .author-copy p {
        max-width: none;
        font-size: clamp(1rem, 1.5vw, 1.2rem);
    }

    .author-photo {
        height: min(84vw, 385px);
        max-height: none;
        object-fit: cover;
        object-position: 30% 34%;
        transform: scale(1.7);
        transform-origin: 30% 34%;
    }

    .swag-section {
        margin-bottom: 0;
        gap: 2.8rem;
    }

    .swag-carousel {
        width: min(280px, 72vw);
    }

    .swag-gallery {
        width: 100%;
        display: flex;
        gap: 0;
        overflow-x: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: auto;
        padding-bottom: 0;
    }

    .swag-gallery.is-fade-mode {
        scroll-snap-type: none;
        position: relative;
    }

    .swag-item {
        width: 100%;
        max-width: none;
        scroll-snap-align: start;
    }

    .swag-card {
        flex: 0 0 100%;
        width: 100%;
    }

    .swag-gallery.is-fade-mode .swag-card {
        position: absolute;
        inset: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.9s ease;
    }

    .swag-gallery.is-fade-mode .swag-card.is-active {
        position: relative;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .swag-btn {
        display: none;
    }

    .swag-title {
        font-size: clamp(3.4rem, 15vw, 5rem);
    }

    .swag-store-link {
        font-size: clamp(0.9rem, 3.8vw, 1.05rem);
    }

    .newsletter-section {
        margin-bottom: 0;
        gap: 1.1rem;
    }

    .newsletter-title {
        font-size: clamp(2.3rem, 10vw, 3.8rem);
    }

    .newsletter-copy {
        margin-top: -1rem;
        font-size: clamp(0.98rem, 4vw, 1.15rem);
    }

    .newsletter-form {
        width: min(460px, 100%);
        grid-template-columns: 1fr;
        grid-template-areas:
            "label"
            "input"
            "consent"
            "button";
        gap: 0.5rem;
        margin-top: 1.5rem;
    }

    .newsletter-label {
        text-align: center;
    }

    .newsletter-btn {
        width: 100%;
        margin-top: 4rem;
    }

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

    .site-footer {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .site-footer-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: clamp(0.25rem, 1.8vw, 0.55rem);
    }

    .contact-icon {
        width: clamp(40px, 12.5vw, 62px);
        height: clamp(40px, 12.5vw, 62px);
    }

}