/**
 * WEB-3.8 — Release 6.1B.1B
 * Updated: 2026-11-27 09:12:39 PST
 * Corrected Books-owned forthcoming cover colors.
 * Existing responsive architecture verified and preserved.
 * PHP, artwork, editorial and shared contracts preserved.
 */

/**
 * WEB-3.8 — Release 6.1B
 * Updated: 2026-11-27 08:39:52 PST
 *
 * Books collection refinement only.
 * Five-column desktop, centered 3+2 tablet and 2+2+1 mobile.
 * Proportional covers and approved forthcoming color treatments.
 * Collection typography, focus, forced-colors and print safeguards.
 * No shared styling, artwork or JavaScript changes.
 */

/**
 * AlexanderKaine.com — Books Collection
 *
 * WEB-3.4 / Release 1.3B
 * Date: 2026-11-18
 *
 * Ownership: Books destination only.
 * Requires the existing destination-base.css.
 *
 * No global selectors, shared component changes,
 * or modifications to frozen destination styles.
 */

/* ==========================================================
   1. PAGE TOKENS AND CONTAINERS
   ========================================================== */

.ak-books {
    --ak-books-navy: #101c2b;
    --ak-books-navy-deep: #0a1421;
    --ak-books-ivory: #f5f1e9;
    --ak-books-paper: #eee8dc;
    --ak-books-ink: #172437;
    --ak-books-gold: #d8b879;
    --ak-books-gold-dark: #765a2b;
    --ak-books-muted-light: #d0d5db;
    --ak-books-muted-dark: #475467;

    color: var(--ak-books-ivory);
    background: var(--ak-books-navy-deep);
    overflow-wrap: break-word;
}

.ak-books *,
.ak-books *::before,
.ak-books *::after {
    box-sizing: border-box;
}

.ak-books-container {
    width: min(100% - 64px, 1200px);
    margin-inline: auto;
}

.ak-books section {
    position: relative;
    padding-block: clamp(100px, 9vw, 140px);
}

.ak-books h1,
.ak-books h2,
.ak-books h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.ak-books h1,
.ak-books h2 {
    line-height: 1.12;
}

.ak-books h2 {
    font-size: clamp(2.25rem, 4.2vw, 4rem);
}

.ak-books h3 {
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    line-height: 1.2;
}

.ak-books p {
    font-size: 18px;
    line-height: 1.8;
}

.ak-books p + p {
    margin-top: 1.2em;
}

.ak-books-eyebrow {
    margin: 0 0 24px;
    color: var(--ak-books-gold);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    line-height: 1.6;
    text-transform: uppercase;
}

.ak-books-button,
.ak-destination-page .ak-books a.ak-books-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
    padding: 13px 25px;
    border: 1px solid var(--ak-books-gold);
    border-radius: 3px;
    background: var(--ak-books-gold);
    color: var(--ak-books-navy-deep);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        color 180ms ease,
        border-color 180ms ease;
}

.ak-destination-page .ak-books a.ak-books-button:hover {
    background: transparent;
    color: var(--ak-books-gold);
    text-decoration: none;
}

.ak-books a:focus-visible {
    outline: 3px solid var(--ak-books-gold);
    outline-offset: 5px;
}

.ak-books-button--pending {
    border-color: currentColor;
    background: transparent;
    color: inherit;
    cursor: default;
}

/* ==========================================================
   2. CINEMATIC HERO
   ========================================================== */

.ak-books .ak-books-hero {
    display: flex;
    align-items: center;
    min-height: 680px;
    padding-block: 120px;
    background:
        radial-gradient(
            ellipse at 50% 20%,
            rgba(57, 79, 106, 0.32),
            transparent 64%
        ),
        linear-gradient(
            180deg,
            #132238 0%,
            #0b1625 100%
        );
    text-align: center;
}

.ak-books-hero__inner {
    max-width: 860px;
}

.ak-books-hero h1 {
    margin: 0 auto 34px;
    max-width: 850px;
    font-size: clamp(3rem, 5.5vw, 5.4rem);
}

.ak-books-hero p:not(.ak-books-eyebrow) {
    max-width: 740px;
    margin-inline: auto;
    color: var(--ak-books-muted-light);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.ak-books-hero .ak-books-button {
    margin-top: 36px;
}

/* ==========================================================
   3. FEATURED NOVEL
   ========================================================== */

.ak-books .ak-books-featured {
    background: var(--ak-books-ivory);
    color: var(--ak-books-ink);
}

.ak-books-featured__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(48px, 7vw, 110px);
}

.ak-books-featured__art {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.ak-books-featured__art img {
    display: block;
    width: min(100%, 340px);
    height: auto;
    aspect-ratio: 1280 / 2048;
    object-fit: contain;
    box-shadow: 0 25px 55px rgba(16, 28, 43, 0.24);
}

.ak-books-featured__copy {
    min-width: 0;
    max-width: 680px;
}

.ak-books-featured .ak-books-eyebrow,
.ak-books-closing .ak-books-eyebrow {
    color: var(--ak-books-gold-dark);
}

.ak-books-featured h2 {
    margin: 0 0 20px;
}

.ak-books-subtitle {
    margin-bottom: 30px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    line-height: 1.5;
}

.ak-books-featured__copy > p:not(.ak-books-eyebrow) {
    color: #344054;
}

.ak-destination-page .ak-books-featured a.ak-books-button,
.ak-destination-page .ak-books-closing a.ak-books-button {
    margin-top: 32px;
    border-color: var(--ak-books-ink);
    background: var(--ak-books-ink);
    color: var(--ak-books-ivory);
}

.ak-destination-page .ak-books-featured a.ak-books-button:hover,
.ak-destination-page .ak-books-closing a.ak-books-button:hover {
    background: transparent;
    color: var(--ak-books-ink);
}

/* ==========================================================
   4. COLLECTION BOOKSHELF
   ========================================================== */

.ak-books .ak-books-collection {
    background: var(--ak-books-navy);
}

.ak-books-section-heading {
    max-width: 800px;
    margin: 0 auto 70px;
    text-align: center;
}

.ak-books-section-heading h2 {
    margin: 0 0 28px;
}

.ak-books-section-heading > p:not(.ak-books-eyebrow) {
    color: var(--ak-books-muted-light);
}

.ak-books-collection__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 36px);
    align-items: start;
}

.ak-books-book {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
}

.ak-books-book__art {
    width: min(100%, 225px);
    aspect-ratio: 1280 / 2048;
    margin: 0 auto 26px;
}

.ak-books-book__art img,
.ak-books-book__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1280 / 2048;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.ak-books-book__art img {
    object-fit: contain;
}

.ak-books-book__placeholder {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 8px;
    overflow: hidden;
    padding: 12% 10%;
    border: 1px solid rgba(216, 184, 121, 0.58);
    background: var(--ak-books-cover-color, #303b48);
    color: #f1e6d1;
}

.ak-books-book__placeholder::before {
    content: "";
    position: absolute;
    inset: 5%;
    z-index: -1;
    border: 1px solid rgba(216, 184, 121, 0.38);
    pointer-events: none;
}

.ak-books-book__author,
.ak-books-book__series {
    display: block;
    max-width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(8px, 0.8vw, 11px);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #e4c68e;
}

.ak-books-book__title {
    display: block;
    max-width: 100%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(15px, 1.65vw, 25px);
    line-height: 1.18;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.ak-books-book__ornament {
    display: block;
    width: 34%;
    height: 1px;
    flex: 0 0 1px;
    background: #c5a46a;
}

.ak-books-book__placeholder--dragons-on-the-land {
    --ak-books-cover-color: #492c29;
}

.ak-books-book__placeholder--halfconscious {
    --ak-books-cover-color: #253b32;
}

.ak-books-book__placeholder--skim {
    --ak-books-cover-color: #303b48;
}

.ak-books-book__placeholder--13-f-dump {
    --ak-books-cover-color: #3e3330;
}

.ak-books-book h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4em;
    margin: 0 0 10px;
    font-size: clamp(1.15rem, 1.6vw, 1.5rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.ak-books .ak-books-book__designation {
    margin: 0;
    color: var(--ak-books-gold);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.ak-books .ak-books-book__description {
    max-width: 330px;
    margin: 14px auto 0;
    color: var(--ak-books-muted-light);
    font-size: 15px;
    line-height: 1.65;
}

.ak-books .ak-books-book__status {
    margin: 16px 0 0;
    color: var(--ak-books-muted-light);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ak-books-book > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    margin-top: 12px;
    padding: 6px 4px;
    color: var(--ak-books-gold);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-underline-offset: 5px;
}

.ak-books-book > a:hover {
    color: var(--ak-books-ivory);
    text-decoration: underline;
}

/* ==========================================================
   5. JACK COOPER CINEMATIC EDITORIAL SECTION
   ========================================================== */

.ak-books .ak-books-cooper {
    padding-block: 0;
    background: var(--ak-books-navy-deep);
    isolation: isolate;
}

.ak-books-cooper__stage {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 760px;
    overflow: hidden;
    isolation: isolate;
}

.ak-books-cooper__art {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.ak-books-cooper__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
}

.ak-books-cooper__stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(8, 16, 27, 0.98) 0%,
            rgba(8, 16, 27, 0.94) 28%,
            rgba(8, 16, 27, 0.77) 48%,
            rgba(8, 16, 27, 0.28) 78%,
            rgba(8, 16, 27, 0.14) 100%
        ),
        linear-gradient(
            0deg,
            rgba(8, 16, 27, 0.66),
            transparent 22%,
            transparent 78%,
            rgba(8, 16, 27, 0.46)
        );
    pointer-events: none;
}

.ak-books-cooper__layout {
    position: relative;
    z-index: 1;
    padding-block: clamp(110px, 10vw, 150px);
}

.ak-books-cooper__copy {
    max-width: 630px;
}

.ak-books-cooper h2 {
    margin: 0 0 32px;
}

.ak-books-cooper__copy > p:not(.ak-books-eyebrow) {
    color: #e1e4e9;
}

.ak-books-cooper .ak-books-button {
    margin-top: 30px;
}

/* ==========================================================
   6. EDITORIAL CLOSING
   ========================================================== */

.ak-books .ak-books-closing {
    background: var(--ak-books-paper);
    color: var(--ak-books-ink);
    text-align: center;
}

.ak-books-closing__inner {
    max-width: 850px;
}

.ak-books-closing h2 {
    margin: 0 auto 34px;
}

.ak-books-closing__inner > p:not(.ak-books-eyebrow) {
    max-width: 760px;
    margin-inline: auto;
    color: #344054;
}

.ak-books-closing__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 38px;
}

.ak-books-closing .ak-books-button--pending {
    margin-top: 0;
    border-color: #697586;
    background: transparent;
    color: #475467;
}

/* ==========================================================
   7. TABLET
   ========================================================== */

@media (min-width: 768px) and (max-width: 1023px) {
    .ak-books-container {
        width: min(100% - 48px, 1200px);
    }

    .ak-books section {
        padding-block: 90px;
    }

    .ak-books .ak-books-hero {
        min-height: 610px;
    }

    .ak-books-featured__layout {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 42px;
    }

    .ak-books-featured__art img {
        width: min(100%, 280px);
    }

    .ak-books-collection__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 48px 24px;
    }

    .ak-books-collection__grid > .ak-books-book {
        grid-column: span 2;
    }

    .ak-books-collection__grid > .ak-books-book:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .ak-books-collection__grid > .ak-books-book:nth-child(5) {
        grid-column: 4 / span 2;
    }

    .ak-books-book__title {
        font-size: clamp(18px, 2.5vw, 24px);
    }

    .ak-books-cooper__stage {
        min-height: 720px;
    }

    .ak-books-cooper__layout {
        padding-block: 100px;
    }

    .ak-books-cooper__copy {
        max-width: 570px;
    }

    .ak-books-cooper__art img {
        object-position: 64% center;
    }
}

/* ==========================================================
   8. MOBILE
   ========================================================== */

@media (max-width: 767px) {
    .ak-books-container {
        width: min(100% - 36px, 1200px);
    }

    .ak-books section {
        padding-block: 76px;
    }

    .ak-books .ak-books-hero {
        min-height: 0;
        padding-block: 105px 90px;
    }

    .ak-books-hero h1 {
        font-size: clamp(2.5rem, 9vw, 4rem);
    }

    .ak-books-featured__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .ak-books-featured__art img {
        width: min(100%, 240px);
    }

    .ak-books-featured__copy {
        max-width: 650px;
    }

    .ak-books-section-heading {
        margin-bottom: 52px;
    }

    .ak-books-collection__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 42px 18px;
    }

    .ak-books-collection__grid > .ak-books-book {
        grid-column: span 2;
    }

    .ak-books-collection__grid > .ak-books-book:nth-child(5) {
        grid-column: 2 / span 2;
    }

    .ak-books-book__art {
        width: min(100%, 190px);
        margin-bottom: 20px;
    }

    .ak-books-book__title {
        font-size: clamp(15px, 4.2vw, 22px);
    }

    .ak-books-book__author,
    .ak-books-book__series {
        font-size: clamp(8px, 2.1vw, 10px);
    }

    .ak-books p {
        font-size: 17px;
    }

    .ak-books-cooper__stage {
        display: block;
        min-height: 0;
    }

    .ak-books-cooper__art {
        position: relative;
        inset: auto;
        height: clamp(240px, 62vw, 410px);
    }

    .ak-books-cooper__art img {
        object-position: 65% 35%;
    }

    .ak-books-cooper__stage::before {
        z-index: 0;
        background:
            linear-gradient(
                180deg,
                transparent 0%,
                rgba(8, 16, 27, 0.18) 22%,
                var(--ak-books-navy-deep) 100%
            );
    }

    .ak-books-cooper__layout {
        padding-block: 0 90px;
        margin-top: -28px;
    }

    .ak-books-cooper__copy {
        max-width: 650px;
    }

    .ak-books-closing__actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .ak-books-container {
        width: min(100% - 32px, 1200px);
    }

    .ak-books-collection__grid {
        gap: 36px 14px;
    }

    .ak-books-book__placeholder {
        gap: 5px;
        padding: 10% 8%;
    }

    .ak-books-book h3 {
        font-size: clamp(1rem, 4.4vw, 1.2rem);
    }

    .ak-books .ak-books-book__designation {
        font-size: 12px;
    }

    .ak-books .ak-books-book__description {
        font-size: 14px;
    }

    .ak-books-book > a {
        font-size: 15px;
    }

    .ak-books h2 {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }
}

/* ==========================================================
   9. ACCESSIBILITY AND PRINT
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
    .ak-books *,
    .ak-books *::before,
    .ak-books *::after {
        scroll-behavior: auto;
        transition-duration: 0.01ms;
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }
}

@media (forced-colors: active) {
    .ak-books a:focus-visible {
        outline: 3px solid Highlight;
    }

    .ak-books-book__placeholder,
    .ak-books-button {
        border: 1px solid CanvasText;
    }

    .ak-books-book__placeholder::before {
        border-color: CanvasText;
    }

    .ak-books-book__ornament {
        background: CanvasText;
    }
}

@media print {
    .ak-books,
    .ak-books section {
        background: white;
        color: black;
    }

    .ak-books section {
        padding-block: 28px;
        break-inside: avoid;
    }

    .ak-books-collection__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .ak-books-collection__grid > .ak-books-book,
    .ak-books-collection__grid > .ak-books-book:nth-child(4),
    .ak-books-collection__grid > .ak-books-book:nth-child(5) {
        grid-column: auto;
        break-inside: avoid;
    }

    .ak-books-book__placeholder {
        background: white;
        color: black;
        border-color: black;
        box-shadow: none;
    }

    .ak-books-book__author,
    .ak-books-book__series,
    .ak-books-book__title {
        color: black;
    }

    .ak-books-hero,
    .ak-books-cooper {
        color: black;
    }

    .ak-books p,
    .ak-books h1,
    .ak-books h2,
    .ak-books h3 {
        color: black;
    }

    .ak-books a {
        color: black;
    }
}


/* WEB-3.8 Release 6.4C — scoped editorial accents; existing compositions retained. */
.ak-books-collection .ak-books-section-heading > .ak-books-eyebrow,
.ak-books-cooper__copy > .ak-books-eyebrow,
.ak-books-closing__inner > .ak-books-eyebrow {
  display: inline-flex; align-items: center; gap: 18px; max-width: 100%;
}
.ak-books-featured__copy > .ak-books-eyebrow {
  display: inline-flex; width: max-content; align-items: center; gap: 10px; max-width: 100%;
  font-size: .75rem; line-height: 1.6; letter-spacing: .07em;
}
.ak-books-featured__copy > .ak-books-eyebrow::after {
  content: ""; display: block; flex: 0 1 auto; width: clamp(16px, calc(100vw - 304px), 64px); min-width: 16px; height: 2px; background: var(--ak-books-gold);
}
.ak-books-collection .ak-books-section-heading > .ak-books-eyebrow::after,
.ak-books-cooper__copy > .ak-books-eyebrow::after,
.ak-books-closing__inner > .ak-books-eyebrow::after {
  content: ""; display: block; flex: 0 1 64px; min-width: 20px; height: 2px; background: var(--ak-books-gold);
}
.ak-books-featured__copy > p:not(.ak-books-eyebrow):not(.ak-books-subtitle),
.ak-books-cooper__copy > p:not(.ak-books-eyebrow),
.ak-books-closing__inner > p:not(.ak-books-eyebrow) {
  padding-inline-start: clamp(20px, 3vw, 30px);
}
.ak-books-featured__copy > .ak-books-subtitle + p,
.ak-books-cooper__copy > h2 + p,
.ak-books-closing__inner > h2 + p {
  border-inline-start: 2px solid var(--ak-books-gold); padding-inline-start: calc(clamp(20px, 3vw, 30px) - 2px);
}
@media (forced-colors: active) {
.ak-books-featured__copy > .ak-books-eyebrow::after,
.ak-books-collection .ak-books-section-heading > .ak-books-eyebrow::after,
.ak-books-cooper__copy > .ak-books-eyebrow::after,
.ak-books-closing__inner > .ak-books-eyebrow::after {
  background: CanvasText; forced-color-adjust: none;
}
.ak-books-featured__copy > .ak-books-subtitle + p,
.ak-books-cooper__copy > h2 + p,
.ak-books-closing__inner > h2 + p {
  border-inline-start-color: CanvasText;
}
}
@media print {
.ak-books-featured__copy > .ak-books-eyebrow::after,
.ak-books-collection .ak-books-section-heading > .ak-books-eyebrow::after,
.ak-books-cooper__copy > .ak-books-eyebrow::after,
.ak-books-closing__inner > .ak-books-eyebrow::after {
  background: #555;
}
.ak-books-featured__copy > .ak-books-subtitle + p,
.ak-books-cooper__copy > h2 + p,
.ak-books-closing__inner > h2 + p {
  border-inline-start-color: #555;
}
}
