/* ============================================================
   CRATE — Book Page (From Overwhelm to Flow)
   ============================================================ */

/* ---- PAGE-LEVEL ---- */
body {
    overflow-x: clip;
}

/* ---- HERO ---- */
.book-hero {
    position: relative;
    min-height: 110vh;
    display: flex;
    align-items: center;
    background: #0a1824;
}

.book-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.book-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.book-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: clamp(6rem, 10vh, 8rem) var(--space-page-x) clamp(4rem, 8vh, 6rem);
    padding-left: 0;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* Brain graphic */
.book-hero__brain {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-hero__brain img {
    width: 100%;
    height: auto;
    z-index: 10;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    object-fit: contain;
    pointer-events: none;
    transform: scale(1.15) translate(100px, -40px);
    transform-origin: 90% center;
}

/* Right text — right-aligned like old home */
.book-hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding-right: clamp(0rem, 3vw, 4rem);
}

.book-hero__heading {
    margin: 0 0 2rem;
    color: var(--color-text-primary);
    line-height: 0.85;
}

.book-hero__from {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #c8d4de;
    display: block;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
}

.book-hero__big {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(4rem, 8vw, 8.5rem);
    display: block;
    letter-spacing: -0.03em;
}

.book-hero__to-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: 0.5rem;
}

.book-hero__to {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #c8d4de;
}

.book-hero__big--flow {
    font-size: clamp(4.5rem, 9vw, 9.5rem);
}

.book-hero__sub {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    color: var(--color-text-body);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Format icons row */
.book-hero__formats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.book-hero__format {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s;
}

.book-hero__format:hover {
    color: #fff;
}

.book-hero__format-icon {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.book-hero__format:hover .book-hero__format-icon {
    background: rgba(255, 255, 255, 0.1);
}

.book-hero__format-icon img {
    width: 28px;
    height: 28px;
    opacity: 0.8;
}


/* ---- NARRATIVE ---- */
.book-narrative {
    background: #fff;
    padding: var(--space-section) var(--space-page-x);
}

.book-narrative__inner {
    max-width: var(--max-width-page);
    margin: 0 auto;
}

.book-narrative__heading {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.15;
    color: var(--color-text-dark);
    margin: 0 0 clamp(2.5rem, 4vw, 4rem);
    max-width: 800px;
}

.book-narrative__italic {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
}

.book-narrative__bold {
    font-family: var(--font-body);
    font-weight: 700;
}

.book-narrative__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 5rem);
}

.book-narrative__body {
    font-family: var(--font-body);
    font-size: var(--size-body);
    color: #444;
    line-height: 1.8;
}

.book-narrative__body p {
    margin: 0 0 1.5rem;
}

.book-narrative__body strong {
    color: var(--color-text-dark);
}

.book-narrative__quote {
    position: relative;
}

.book-narrative__quote blockquote {
    margin: 0;
    padding-left: 2rem;
    border-left: 4px solid rgba(0, 0, 0, 0.05);
}

.book-narrative__quote blockquote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    line-height: 1.4;
    color: var(--color-text-dark);
    margin: 0;
}

.book-narrative__quote-source {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-left: 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
}

.book-narrative__badge {
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.5rem;
}

.book-narrative__muted {
    color: #999;
}


/* ---- BOOK FORMATS GRID ---- */
.book-formats {
    background: #fff;
    padding: 0 var(--space-page-x) var(--space-section);
}

.book-formats__inner {
    max-width: var(--max-width-page);
    margin: 0 auto;
}

.book-formats__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.book-formats__card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 16 / 9;
    text-decoration: none;
}

.book-formats__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-smooth);
}

.book-formats__card:hover img {
    transform: scale(1.05);
}

.book-formats__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: #fff;
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}


/* ---- BENEFITS — WHAT YOU'LL DISCOVER ---- */
.book-benefits {
    background: #fff;
    padding: var(--space-section) var(--space-page-x);
}

.book-benefits__inner {
    max-width: var(--max-width-page);
    margin: 0 auto;
}

.book-benefits__eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #999;
    margin: 0 0 1rem;
}

.book-benefits__heading {
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    line-height: 1.1;
    color: var(--color-text-dark);
    margin: 0 0 clamp(3rem, 5vw, 4rem);
}

.book-benefits__italic {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
}

.book-benefits__bold {
    font-family: var(--font-body);
    font-weight: 700;
}

.book-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.book-benefits__card {
    border-radius: 24px;
    padding: clamp(2rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    min-height: 550px;
}

.book-benefits__card--dark {
    background: #0A1017;
    color: #fff;
}

.book-benefits__card--light {
    background: #fff;
    color: var(--color-text-dark);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.book-benefits__part {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1.5rem;
}

.book-benefits__card--dark .book-benefits__part {
    color: #666;
}

.book-benefits__card--light .book-benefits__part {
    color: #999;
}

.book-benefits__card h3 {
    font-family: var(--font-body);
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 1.5rem;
}

.book-benefits__desc {
    font-family: var(--font-body);
    font-size: var(--size-body);
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.book-benefits__card--dark .book-benefits__desc {
    color: #999;
}

.book-benefits__card--light .book-benefits__desc {
    color: #666;
}

.book-benefits__label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 0.75rem;
}

.book-benefits__card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    font-family: var(--font-body);
    font-size: var(--size-body);
    line-height: 1.8;
}

.book-benefits__card--dark ul {
    color: #bbb;
}

.book-benefits__card--light ul {
    color: #555;
}

.book-benefits__card ul li::before {
    content: "• ";
}

.book-benefits__card-img {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.book-benefits__card--dark .book-benefits__card-img img {
    width: 100%;
    display: block;
    mix-blend-mode: screen;
    opacity: 0.8;
}

.book-benefits__card--light .book-benefits__card-img img {
    width: 100%;
    display: block;
}


/* ---- ABOUT THE AUTHOR ---- */
.book-author {
    background: #fff;
    padding: var(--space-section) var(--space-page-x);
}

.book-author__inner {
    max-width: var(--max-width-page);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 5rem);
    align-items: center;
}

.book-author__photo {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.book-author__photo img {
    width: 100%;
    display: block;
    filter: grayscale(1);
    transition: filter 0.7s var(--ease-smooth);
}

.book-author__photo:hover img {
    filter: grayscale(0);
}

.book-author__eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #999;
    margin: 0 0 1rem;
}

.book-author__heading {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: var(--color-text-dark);
    margin: 0 0 2rem;
}

.book-author__bold {
    font-family: var(--font-body);
    font-weight: 700;
}

.book-author__text p {
    font-family: var(--font-body);
    font-size: var(--size-body);
    color: #555;
    line-height: 1.8;
    margin: 0 0 1.25rem;
}


/* ---- REVIEWS ---- */
.book-reviews {
    background: #f7f7f7;
    padding: var(--space-section) var(--space-page-x);
}

.book-reviews__inner {
    max-width: var(--max-width-page);
    margin: 0 auto;
}

.book-reviews__eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #999;
    margin: 0 0 1rem;
}

.book-reviews__heading {
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    line-height: 1.1;
    color: var(--color-text-dark);
    margin: 0 0 clamp(3rem, 5vw, 4rem);
}

.book-reviews__italic {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
}

.book-reviews__bold {
    font-family: var(--font-body);
    font-weight: 700;
}

.book-reviews__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.book-reviews__card {
    background: #fff;
    border-radius: 24px;
    padding: clamp(2rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.book-reviews__card--wide {
    grid-column: 1 / -1;
}

.book-reviews__quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: #ddd;
    margin-bottom: 0.5rem;
}

.book-reviews__text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.6;
    color: #444;
    margin: 0 0 2rem;
}

.book-reviews__card--wide .book-reviews__text {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
}

.book-reviews__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.book-reviews__author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.book-reviews__name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-dark);
    margin: 0;
}

.book-reviews__title {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #888;
    margin: 0.25rem 0 0;
    line-height: 1.4;
    max-width: 500px;
}


/* ---- FAQ ---- */
.book-faq {
    background: #fff;
    padding: var(--space-section) var(--space-page-x);
}

.book-faq__inner {
    max-width: var(--max-width-page);
    margin: 0 auto;
}

.book-faq__heading {
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    line-height: 1.1;
    color: var(--color-text-dark);
    margin: 0 0 clamp(2.5rem, 4vw, 3.5rem);
}

.book-faq__italic {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
}

.book-faq__bold {
    font-family: var(--font-body);
    font-weight: 700;
}

.book-faq__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 5rem);
    align-items: start;
}

.book-faq__sidebar-img {
    position: sticky;
    top: 8rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.book-faq__sidebar-img img {
    width: 100%;
    display: block;
}

/* FAQ items */
.book-faq__item {
    border-bottom: 1px solid #000;
    padding: 1.5rem 0;
}

.book-faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--color-text-dark);
}

.book-faq__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.book-faq__item--open .book-faq__icon {
    transform: rotate(45deg);
}

.book-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-smooth), opacity 0.3s;
    opacity: 0;
}

.book-faq__item--open .book-faq__answer {
    max-height: 300px;
    opacity: 1;
}

.book-faq__answer p {
    font-family: var(--font-body);
    font-size: var(--size-body);
    color: #666;
    line-height: 1.7;
    margin: 1rem 0 0;
    max-width: 600px;
}


/* ---- CTA ---- */
.book-cta {
    background: #0A1017;
    padding: var(--space-section) var(--space-page-x);
    text-align: center;
}

.book-cta__inner {
    max-width: 700px;
    margin: 0 auto;
}

.book-cta__heading {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
    color: var(--color-text-primary);
    margin: 0 0 1.5rem;
}

.book-cta__italic {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
}

.book-cta__bold {
    font-family: var(--font-body);
    font-weight: 700;
}

.book-cta__inner > p {
    font-family: var(--font-body);
    font-size: var(--size-body);
    color: var(--color-text-body);
    line-height: 1.7;
    margin: 0 0 2.5rem;
}


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

@media (max-width: 960px) {
    .book-hero {
        min-height: 100vh;
    }

    .book-hero__inner {
        grid-template-columns: 1fr;
        padding-top: 6rem;
    }

    .book-hero__brain {
        height: 50vh;
        justify-content: center;
    }

    .book-hero__brain img {
        width: 110%;
        left: -5%;
        position: relative;
    }

    .book-hero__text {
        align-items: center;
        text-align: center;
        padding-right: 0;
    }

    .book-hero__heading {
        text-align: center;
    }

    .book-hero__to-row {
        justify-content: center;
    }

    .book-hero__sub {
        text-align: center;
    }

    .book-hero__formats {
        justify-content: center;
    }

    .book-narrative__grid {
        grid-template-columns: 1fr;
    }

    .book-formats__grid {
        grid-template-columns: 1fr;
    }

    .book-benefits__grid {
        grid-template-columns: 1fr;
    }

    .book-benefits__card {
        min-height: auto;
    }

    .book-author__inner {
        grid-template-columns: 1fr;
    }

    .book-author__photo {
        max-width: 500px;
    }

    .book-reviews__grid {
        grid-template-columns: 1fr;
    }

    .book-reviews__card--wide {
        grid-column: auto;
    }

    .book-faq__columns {
        grid-template-columns: 1fr;
    }

    .book-faq__sidebar-img {
        display: none;
    }
}

@media (max-width: 640px) {
    .book-hero__big {
        font-size: clamp(3rem, 12vw, 4.5rem);
    }

    .book-hero__big--flow {
        font-size: clamp(3.5rem, 14vw, 5rem);
    }

    .book-hero__brain {
        height: 40vh;
    }

    .book-hero__format-icon {
        width: 48px;
        height: 48px;
    }

    .book-hero__format-icon img {
        width: 22px;
        height: 22px;
    }

    .book-benefits__heading,
    .book-reviews__heading,
    .book-faq__heading {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}
