:root {
    --ink: #17140f;
    --muted-ink: #655c50;
    --forest-950: #061812;
    --forest-900: #082219;
    --forest-800: #123126;
    --paper: #f2e7d4;
    --paper-deep: #e8d8be;
    --ivory: #f8f0e3;
    --copper: #a6381f;
    --copper-dark: #7f2818;
    --gold: #a77b42;
    --line: rgba(133, 73, 43, 0.34);
    --shadow: 0 24px 60px rgba(15, 12, 8, 0.22);
    --serif: Georgia, "Times New Roman", Times, serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --content: 1360px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.5), transparent 26rem),
        var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 2px solid #d49a65;
    outline-offset: 4px;
}

.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;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    background: var(--ivory);
    color: var(--forest-950);
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 50;
    background: var(--forest-950);
    color: var(--ivory);
    border-bottom: 1px solid rgba(226, 191, 142, 0.24);
}

.header-inner {
    width: min(calc(100% - 64px), var(--content));
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    width: auto;
    height: 58px;
}

.brand-wordmark {
    gap: 28px;
    color: var(--ivory);
    text-decoration: none;
}

.brand-clock {
    position: relative;
    padding-bottom: 7px;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.brand-clock::before,
.brand-clock::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 1px;
    background: rgba(248, 240, 227, 0.74);
    content: "";
}

.brand-clock::after {
    bottom: -1px;
}

.brand-divider {
    width: 1px;
    height: 34px;
    background: rgba(167, 123, 66, 0.7);
}

.brand-name {
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    letter-spacing: 0.055em;
    text-transform: uppercase;
    white-space: nowrap;
}

.primary-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(26px, 3vw, 52px);
}

.primary-navigation a {
    position: relative;
    color: rgba(248, 240, 227, 0.92);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.primary-navigation a::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 1px;
    background: var(--gold);
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(248, 240, 227, 0.28);
    border-radius: 0;
    background: transparent;
    color: var(--ivory);
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 1px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-6px) rotate(-45deg);
}

.breaking-news {
    min-height: 42px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background:
        linear-gradient(90deg, rgba(73, 18, 10, 0.2), transparent 40%, rgba(73, 18, 10, 0.2)),
        var(--copper);
    border-top: 1px solid rgba(255, 221, 187, 0.25);
    border-bottom: 1px solid rgba(62, 10, 3, 0.66);
    color: var(--ivory);
    font-size: 0.77rem;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
}

.breaking-news span:first-child {
    font-weight: 700;
}

.breaking-news strong {
    font-weight: 400;
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 440px;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 42%, rgba(102, 79, 42, 0.22), transparent 29rem),
        linear-gradient(115deg, #061913 0%, #0a241b 48%, #071a14 100%);
    color: var(--ivory);
}

.hero::after {
    position: absolute;
    z-index: -1;
    right: -8%;
    bottom: -140px;
    width: 55%;
    height: 350px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.28);
    filter: blur(80px);
    content: "";
}

.hero-texture {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.11;
    background-image:
        repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.06) 3px 4px),
        repeating-linear-gradient(90deg, transparent 0 5px, rgba(0, 0, 0, 0.08) 5px 6px);
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hero-inner {
    width: min(calc(100% - 64px), 1320px);
    min-height: 440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: clamp(42px, 7vw, 110px);
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 56px 0 60px;
}

.eyebrow {
    margin: 0 0 18px;
    color: #c99667;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.5;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(3.2rem, 5vw, 5.35rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 0.96;
    text-wrap: balance;
}

.hero-rule {
    width: min(100%, 560px);
    margin: 32px 0 22px;
    display: flex;
    align-items: center;
}

.hero-rule::before,
.hero-rule::after {
    height: 1px;
    flex: 1;
    background: rgba(167, 123, 66, 0.54);
    content: "";
}

.hero-rule span {
    width: 7px;
    height: 7px;
    margin: 0 4px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}

.hero-summary {
    max-width: 620px;
    margin: 0;
    color: rgba(248, 240, 227, 0.73);
    font-size: 1.02rem;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.button {
    min-height: 52px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid transparent;
    color: var(--ivory);
    font-family: var(--sans);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--copper);
    border-color: var(--copper);
}

.button-primary:hover {
    background: #bd482c;
    border-color: #bd482c;
}

.button-secondary {
    background: rgba(1, 8, 6, 0.14);
    border-color: var(--gold);
}

.button-secondary:hover {
    background: rgba(167, 123, 66, 0.15);
}

.hero-art {
    position: relative;
    z-index: 1;
    align-self: stretch;
    min-height: 420px;
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-art::after {
    position: absolute;
    z-index: -1;
    right: 4%;
    bottom: 23px;
    left: 2%;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.62);
    filter: blur(18px);
    content: "";
}

.hero-cover-stack {
    position: relative;
    width: min(100%, 610px);
    height: 425px;
}

.hero-cover {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: auto;
    height: 345px;
    object-fit: contain;
    box-shadow: 0 25px 38px rgba(0, 0, 0, 0.48);
}

.hero-cover-1 {
    z-index: 3;
    height: 380px;
    transform: translateX(-50%);
}

.hero-cover-2 {
    z-index: 2;
    transform: translateX(-105%) rotate(-6deg);
    transform-origin: center bottom;
}

.hero-cover-3 {
    z-index: 1;
    transform: translateX(5%) rotate(6deg);
    transform-origin: center bottom;
}

.hero-art figcaption {
    position: absolute;
    right: 8px;
    bottom: 12px;
    color: rgba(248, 240, 227, 0.42);
    font-family: var(--sans);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.catalog {
    position: relative;
    padding: 18px 32px 24px;
    background:
        radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.74), transparent 32rem),
        var(--paper);
    border-top: 1px solid #c59969;
}

.section-heading {
    width: min(100%, 720px);
    margin: -3px auto 10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-heading span {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line));
}

.section-heading span:last-child {
    background: linear-gradient(90deg, var(--line), transparent);
}

.book-grid {
    width: min(100%, var(--content));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid rgba(133, 73, 43, 0.16);
    border-bottom: 1px solid rgba(133, 73, 43, 0.2);
}

.book-card {
    min-width: 0;
    padding: 10px clamp(12px, 1.4vw, 24px) 18px;
    border-left: 1px solid rgba(133, 73, 43, 0.16);
    text-align: center;
}

.book-card:last-child {
    border-right: 1px solid rgba(133, 73, 43, 0.16);
}

.book-image-wrap {
    position: relative;
    height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.book-image-wrap img {
    width: auto;
    height: 198px;
    object-fit: contain;
    box-shadow: 0 14px 18px rgba(23, 17, 11, 0.2);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.book-card:hover .book-image-wrap img {
    transform: translateY(-6px);
    box-shadow: 0 20px 26px rgba(23, 17, 11, 0.26);
}

.book-badge {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 50%;
    padding: 5px 8px;
    background: var(--copper);
    color: var(--ivory);
    font-family: var(--sans);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.book-info {
    min-width: 0;
    min-height: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.book-info h3 {
    min-height: 2.6em;
    margin: 5px 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1.15;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.book-info p {
    margin: 0 0 7px;
    font-size: 0.81rem;
}

.book-info .book-availability {
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-ink);
    font-family: var(--sans);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.25;
    text-transform: uppercase;
}

.book-info a,
.text-link {
    color: var(--copper-dark);
    font-family: var(--sans);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.book-info a span,
.text-link span {
    display: inline-block;
    margin-left: 6px;
    transition: transform 160ms ease;
}

.book-info a:hover span,
.text-link:hover span {
    transform: translateX(4px);
}

.newsletter {
    width: min(calc(100% - 64px), var(--content));
    min-height: 118px;
    margin: 0 auto 28px;
    padding: 18px 28px;
    display: grid;
    grid-template-columns: 170px minmax(330px, 1fr) minmax(420px, 1.4fr);
    align-items: center;
    gap: 24px;
    border: 3px double rgba(126, 59, 29, 0.58);
    background: rgba(248, 240, 227, 0.5);
}

.newsletter-mark {
    position: relative;
    height: 76px;
    overflow: hidden;
}

.newsletter-mark::before,
.newsletter-mark::after {
    position: absolute;
    right: 4px;
    bottom: 15px;
    left: 4px;
    height: 1px;
    background: rgba(156, 56, 31, 0.56);
    content: "";
}

.newsletter-mark::after {
    bottom: 10px;
    right: 26px;
    left: 26px;
    opacity: 0.7;
}

.newsletter-mark .sun {
    position: absolute;
    bottom: 16px;
    left: 50%;
    width: 46px;
    height: 23px;
    overflow: hidden;
    transform: translateX(-50%);
}

.newsletter-mark .sun::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--copper);
    content: "";
}

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

.newsletter-copy h2 {
    margin: 0;
    color: var(--copper-dark);
    font-size: clamp(1.9rem, 2.5vw, 2.6rem);
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.newsletter-copy p {
    margin: 7px 0 0;
    font-size: 1.08rem;
    font-style: italic;
}

.newsletter-form {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.newsletter-form input {
    min-width: 0;
    height: 52px;
    padding: 0 17px;
    border: 1px solid rgba(126, 59, 29, 0.38);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.3);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.86rem;
}

.newsletter-form input::placeholder {
    color: rgba(64, 52, 40, 0.58);
}

.newsletter-form button {
    min-width: 180px;
    height: 52px;
    padding: 0 24px;
    border: 1px solid var(--copper);
    border-radius: 0;
    background: var(--copper);
    color: var(--ivory);
    cursor: pointer;
    font-family: var(--serif);
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 160ms ease;
}

.newsletter-form button:hover {
    background: #bd482c;
}

.newsletter-form button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.form-message {
    min-height: 1em;
    margin: 0;
    grid-column: 1 / -1;
    color: var(--muted-ink);
    font-family: var(--sans);
    font-size: 0.7rem;
}

.form-message:empty {
    display: none;
}

.form-consent {
    margin: 0;
    grid-column: 1 / -1;
    color: var(--muted-ink);
    font-family: var(--sans);
    font-size: 0.65rem;
    line-height: 1.45;
}

.form-message.is-error {
    color: #8e2619;
}

.form-message.is-success {
    color: #245b42;
}

.newsroom {
    width: min(calc(100% - 64px), var(--content));
    margin: 56px auto;
    padding: 48px clamp(28px, 6vw, 88px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    background: var(--forest-900);
    border-top: 1px solid var(--gold);
    color: var(--ivory);
    box-shadow: var(--shadow);
}

.newsroom-copy {
    max-width: 840px;
}

.newsroom-aside {
    width: min(100%, 330px);
    flex: 0 0 auto;
    display: grid;
    justify-items: end;
    gap: 18px;
}

.newsroom-aside img {
    width: 100%;
    border: 1px solid rgba(201, 150, 103, 0.38);
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.32);
}

.newsroom h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.7rem);
    font-weight: 400;
    line-height: 1.03;
    text-wrap: balance;
}

.newsroom p:not(.eyebrow) {
    max-width: 760px;
    margin: 20px 0 0;
    color: rgba(248, 240, 227, 0.7);
    line-height: 1.7;
}

.newsroom .text-link {
    flex: 0 0 auto;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(201, 150, 103, 0.55);
    color: #d6a77f;
    white-space: nowrap;
}

.author-profile {
    width: min(calc(100% - 64px), 1120px);
    margin: 70px auto;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: center;
    gap: clamp(38px, 7vw, 86px);
}

.author-profile > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.36);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.author-profile h2 {
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1;
}

.author-profile p:not(.eyebrow) {
    margin: 18px 0 0;
    color: var(--muted-ink);
    line-height: 1.75;
}

.site-footer {
    min-height: 170px;
    padding: 36px max(32px, calc((100% - var(--content)) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: var(--forest-950);
    color: rgba(248, 240, 227, 0.65);
}

.site-footer img {
    width: auto;
    height: 54px;
    margin-bottom: 12px;
}

.footer-wordmark {
    display: block;
    margin-bottom: 12px;
    color: var(--ivory);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer p {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.footer-privacy {
    color: rgba(248, 240, 227, 0.72);
    font-family: var(--sans);
    font-size: 0.7rem;
}

.detail-page {
    min-height: 100vh;
}

.detail-header {
    min-height: 86px;
    padding: 12px max(24px, calc((100% - 1180px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: var(--forest-950);
    color: var(--ivory);
}

.detail-header .brand img {
    height: 58px;
}

.detail-back {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-decoration: none;
    text-transform: uppercase;
}

.book-detail {
    width: min(calc(100% - 48px), 1100px);
    min-height: calc(100vh - 86px);
    margin: 0 auto;
    padding: 72px 0;
    display: grid;
    grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(48px, 9vw, 120px);
}

.book-detail-cover img {
    width: min(100%, 390px);
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.book-detail-copy h1,
.not-found h1,
.preference-card h1 {
    margin: 0;
    font-size: clamp(2.7rem, 6vw, 5.4rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 0.98;
    overflow-wrap: anywhere;
}

.book-detail-copy {
    min-width: 0;
}

.book-detail-copy > p:not(.eyebrow),
.not-found > p:not(.eyebrow),
.preference-card > p:not(.eyebrow) {
    max-width: 650px;
    line-height: 1.7;
}

.book-detail-price {
    color: var(--copper-dark);
    font-size: 1.45rem;
}

.book-detail-subtitle {
    margin: 18px 0 0;
    color: var(--muted-ink);
    font-size: 1.18rem;
    font-style: italic;
}

.book-detail-availability {
    color: var(--copper-dark);
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.inventory-note,
.sales-note {
    color: var(--muted-ink);
    font-family: var(--sans);
    font-size: 0.78rem;
}

.not-found {
    grid-column: 1 / -1;
    text-align: center;
}

.not-found .button {
    margin-top: 20px;
}

.preference-card {
    width: min(calc(100% - 40px), 720px);
    margin: 80px auto;
    padding: clamp(32px, 7vw, 70px);
    border: 3px double rgba(126, 59, 29, 0.58);
    background: rgba(248, 240, 227, 0.62);
}

.preference-card h1 {
    font-size: clamp(2.4rem, 7vw, 4.6rem);
}

.preference-message.is-error {
    color: #8e2619;
}

.preference-message.is-success {
    color: #245b42;
}

@media (max-width: 1120px) {
    .header-inner {
        width: min(calc(100% - 40px), var(--content));
    }

    .primary-navigation {
        gap: 22px;
    }

    .primary-navigation a {
        font-size: 0.68rem;
    }

    .hero-inner {
        width: min(calc(100% - 48px), 1120px);
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
        gap: 36px;
    }

    .hero h1 {
        font-size: clamp(3.15rem, 6vw, 4.7rem);
    }

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

    .book-card:nth-child(4) {
        border-left: 1px solid rgba(133, 73, 43, 0.16);
    }

    .newsletter {
        grid-template-columns: 120px 1fr;
    }

    .newsletter-form {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    html {
        scroll-padding-top: 82px;
    }

    .header-inner {
        min-height: 68px;
    }

    .brand img {
        height: 48px;
    }

    .brand-wordmark {
        gap: 16px;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .menu-toggle {
        display: block;
    }

    .primary-navigation {
        position: fixed;
        z-index: 60;
        top: 68px;
        right: 0;
        bottom: 0;
        width: min(360px, 88vw);
        padding: 42px 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        background: #071b14;
        border-left: 1px solid rgba(226, 191, 142, 0.24);
        box-shadow: -20px 30px 60px rgba(0, 0, 0, 0.44);
        transform: translateX(105%);
        transition: transform 220ms ease;
    }

    .primary-navigation.is-open {
        transform: translateX(0);
    }

    .primary-navigation a {
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid rgba(248, 240, 227, 0.12);
        font-size: 0.83rem;
    }

    .breaking-news {
        padding-inline: 18px;
        justify-content: flex-start;
        overflow: hidden;
        font-size: 0.66rem;
        white-space: nowrap;
    }

    .breaking-news strong {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-inner {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 64px 0 20px;
    }

    .hero h1 {
        max-width: 620px;
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .hero-art {
        min-height: 340px;
    }

    .hero-cover-stack {
        height: 355px;
    }

    .hero-cover {
        height: 285px;
    }

    .hero-cover-1 {
        height: 320px;
    }

    .catalog {
        padding-inline: 20px;
    }

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

    .book-image-wrap {
        height: 245px;
    }

    .book-image-wrap img {
        height: 220px;
    }

    .newsletter {
        width: calc(100% - 40px);
        grid-template-columns: 90px 1fr;
    }

    .newsletter-copy {
        text-align: left;
    }

    .newsletter-copy h2 {
        font-size: clamp(1.8rem, 7vw, 2.7rem);
        white-space: normal;
    }

    .newsroom {
        width: calc(100% - 40px);
        align-items: flex-start;
        flex-direction: column;
    }

    .newsroom-aside {
        width: min(100%, 420px);
        justify-items: start;
    }

    .author-profile {
        width: calc(100% - 40px);
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 32px;
    }
}

@media (max-width: 560px) {
    .header-inner {
        width: calc(100% - 28px);
    }

    .brand img {
        height: 42px;
    }

    .brand-wordmark {
        gap: 10px;
    }

    .brand-clock {
        font-size: 0.82rem;
    }

    .brand-divider {
        height: 28px;
    }

    .brand-name {
        font-size: 0.82rem;
        letter-spacing: 0.035em;
    }

    .breaking-news span:first-child {
        display: none;
    }

    .hero-inner {
        width: calc(100% - 36px);
    }

    .hero-copy {
        padding-top: 52px;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 15vw, 4.2rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-art {
        min-height: 280px;
    }

    .hero-cover-stack {
        height: 295px;
    }

    .hero-cover {
        height: 225px;
    }

    .hero-cover-1 {
        height: 260px;
    }

    .section-heading {
        gap: 12px;
    }

    .section-heading h2 {
        max-width: 220px;
        font-size: 1.2rem;
    }

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

    .book-card,
    .book-card:last-child {
        display: grid;
        grid-template-columns: minmax(125px, 0.7fr) minmax(0, 1.1fr);
        align-items: center;
        gap: 20px;
        border-right: 1px solid rgba(133, 73, 43, 0.16);
        border-bottom: 1px solid rgba(133, 73, 43, 0.16);
        text-align: left;
    }

    .book-image-wrap {
        height: 196px;
    }

    .book-image-wrap img {
        height: 176px;
    }

    .book-info {
        min-height: auto;
        align-items: flex-start;
    }

    .book-info h3 {
        min-height: auto;
        justify-content: flex-start;
        text-align: left;
    }

    .book-info .book-availability {
        justify-content: flex-start;
        text-align: left;
    }

    .newsletter {
        width: calc(100% - 28px);
        padding: 24px 20px 32px;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .newsletter-mark {
        display: none;
    }

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

    .newsletter-form {
        grid-template-columns: 1fr;
        margin-top: 12px;
    }

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

    .form-message {
        min-height: 1em;
        margin-top: 2px;
    }

    .book-detail {
        width: calc(100% - 36px);
        padding: 48px 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .book-detail-cover img {
        max-height: 480px;
        object-fit: contain;
    }

    .newsroom {
        width: calc(100% - 28px);
        margin-block: 38px;
        padding: 36px 24px;
    }

    .author-profile {
        width: calc(100% - 36px);
        margin-block: 48px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-profile > img {
        width: 190px;
        margin: 0 auto;
    }

    .site-footer {
        padding: 34px 22px;
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
