/* ==========================================================================
   Books: catalogue (.abk) and book page (.abb).
   Same design system as the other inner pages (navy · maroon · ivory).
   Loaded only on the Books catalogue and single-book pages, after about.css.
   ========================================================================== */

html:has(body.gbp-inner-page), body.gbp-inner-page { overflow-x: visible; }

/* ---------- Shared: badges, buttons, add-to-cart polish ---------- */
.abk-badge {
	position: absolute; left: 12px; top: 12px; z-index: 2; padding: 6px 10px; border-radius: 2px;
	background: var(--ab-maroon); color: var(--ab-ivory); font: 600 11px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
	box-shadow: 0 10px 18px -12px rgba(0, 0, 0, .6);
}
.abk-badge--soon { background: var(--ab-navy); color: var(--ab-rose); }

.abk .book-card__price, .abb .book-card__price, .abb-buy__amount {
	font: 600 16px/1.2 var(--font-serif); color: var(--ab-navy);
}
.abk .ashgrove-add-to-cart-btn, .abb .ashgrove-add-to-cart-btn, .abk .btn--gold, .abb .btn--gold {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 22px;
	background: var(--ab-maroon); color: var(--ab-ivory); border: 1px solid var(--ab-maroon); border-radius: 2px;
	font: 600 13px/1 var(--font-sans); letter-spacing: .04em; text-decoration: none; cursor: pointer;
	transition: background .3s, transform .3s var(--ab-ease), box-shadow .3s;
}
.abk .ashgrove-add-to-cart-btn:hover, .abb .ashgrove-add-to-cart-btn:hover, .abk .btn--gold:hover, .abb .btn--gold:hover {
	background: var(--ab-maroon-2); transform: translateY(-2px); box-shadow: 0 16px 26px -16px rgba(91, 20, 35, .8);
}

/* ==========================================================================
   Catalogue (.abk)
   ========================================================================== */
.abk .abk-cat__head { margin-bottom: clamp(32px, 4vw, 48px); }
.abk .abk-cat__head .ab-h2 { margin-bottom: .5em !important; }
.abk .abk-cat__lede { max-width: 52em; margin: 0 !important; }

/* Filter panel */
.abk .abk-filters {
	padding: clamp(22px, 2.6vw, 30px); border-radius: 8px; background: #fffdf8; border: 1px solid rgba(91, 20, 35, .14);
	box-shadow: 0 24px 44px -36px rgba(20, 35, 61, .5);
}
.abk .abk-filters__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.abk .abk-field { display: grid; gap: 7px; min-width: 0; }
.abk .abk-field span { font: 600 11.5px/1.2 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ab-maroon); }
.abk .abk-field select {
	width: 100%; padding: 12px 40px 12px 14px; border: 1px solid #d5cbb9; border-radius: 3px; background-color: #fff;
	font: 400 15px/1.3 var(--font-sans); color: var(--ab-ink); cursor: pointer; appearance: none; -webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--ab-maroon) 50%), linear-gradient(135deg, var(--ab-maroon) 50%, transparent 50%);
	background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat;
	transition: border-color .25s, box-shadow .25s;
}
.abk .abk-field select:hover { border-color: #bfae92; }
.abk .abk-field select:focus { outline: none; border-color: var(--ab-maroon); box-shadow: 0 0 0 3px rgba(91, 20, 35, .14); }
.abk .abk-field select:focus-visible { outline: 2px solid var(--ab-maroon); outline-offset: 2px; }

.abk .abk-filters__bar { display: flex; align-items: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.abk .abk-apply {
	min-height: 46px; padding: 13px 26px; border: 0; border-radius: 2px; cursor: pointer;
	background: var(--ab-maroon); color: var(--ab-ivory); font: 600 14px/1 var(--font-sans); letter-spacing: .03em;
	transition: background .3s, transform .3s var(--ab-ease);
}
.abk .abk-apply:hover { background: var(--ab-maroon-2); transform: translateY(-2px); }
.abk .abk-apply:focus-visible { outline: 2px solid var(--ab-maroon); outline-offset: 3px; }
.abk .abk-clear {
	font: 600 14px/1 var(--font-sans); color: var(--ab-maroon); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(91, 20, 35, .4);
}
.abk .abk-clear:hover { text-decoration-color: var(--ab-maroon); }

/* Active filter chips */
.abk .abk-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 22px 0 0; padding: 0; }
.abk .abk-chips li { animation: abkChip .5s var(--ab-ease) both; }
.abk .abk-chips li:nth-child(2) { animation-delay: .05s; } .abk .abk-chips li:nth-child(3) { animation-delay: .1s; }
.abk .abk-chips li:nth-child(4) { animation-delay: .15s; } .abk .abk-chips li:nth-child(5) { animation-delay: .2s; }
.abk .abk-chips li:nth-child(6) { animation-delay: .25s; }
.abk .abk-chips a {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 14px; border-radius: 999px;
	background: var(--ab-navy); color: var(--ab-ivory); font: 500 13.5px/1.2 var(--font-sans); text-decoration: none;
	transition: background .3s, transform .3s var(--ab-ease);
}
.abk .abk-chips a span { color: var(--ab-rose); }
.abk .abk-chips a svg { width: 12px; height: 12px; opacity: .7; transition: transform .35s var(--ab-ease), opacity .3s; }
.abk .abk-chips a:hover { background: var(--ab-maroon); transform: translateY(-2px); }
.abk .abk-chips a:hover svg { transform: rotate(90deg); opacity: 1; }
.abk .abk-chips a:focus-visible { outline: 2px solid var(--ab-maroon); outline-offset: 3px; }
@keyframes abkChip { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

.abk .abk-results {
	margin: 34px 0 22px; font: 600 12px/1 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ab-maroon);
}

/* Card grid */
.abk .abk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 34px); list-style: none; margin: 0; padding: 0; }
.abk .abk-card {
	display: flex; flex-direction: column; min-width: 0; border-radius: 6px; overflow: hidden;
	background: #fffdf8; border: 1px solid rgba(91, 20, 35, .12); box-shadow: 0 20px 36px -32px rgba(20, 35, 61, .55);
	transition: translate .5s var(--ab-ease), box-shadow .5s, border-color .5s;
}
.abk .abk-card:hover { translate: 0 -6px; border-color: rgba(91, 20, 35, .32); box-shadow: 0 34px 50px -30px rgba(20, 35, 61, .6); }
.abk .abk-card__cover { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--ab-navy-2); }
.abk .abk-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ab-ease); }
.abk .abk-card:hover .abk-card__cover img { transform: scale(1.06); }
.abk .abk-card__cover::after {                         /* light sheen across the cover on hover */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .25) 50%, transparent 60%);
	transform: translateX(-100%); transition: transform 1.1s var(--ab-ease);
}
.abk .abk-card:hover .abk-card__cover::after { transform: translateX(100%); }
.abk .abk-card__cover:focus-visible { outline: 2px solid var(--ab-maroon); outline-offset: -4px; }
.abk .abk-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.abk .abk-card__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; font: 600 10.5px/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ab-maroon); }
.abk .abk-card__meta span + span::before { content: "·"; margin-right: 10px; color: rgba(91, 20, 35, .5); }
.abk .abk-card__title { margin: 4px 0 0; font: 700 clamp(17px, 1.5vw, 19px)/1.25 var(--ab-serif); color: var(--ab-navy); }
.abk .abk-card__title a { color: inherit; text-decoration: none; }
.abk .abk-card__title a:hover { color: var(--ab-maroon); }
.abk .abk-card__author { margin: 0; font-size: 14px; color: rgba(20, 35, 61, .82); }
.abk .abk-card__imprint { margin: 0; font: italic 500 13.5px/1.4 var(--ab-serif); color: var(--ab-navy); opacity: .75; }
.abk .abk-card__buy { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* Pager */
.abk .abk-pager { margin-top: clamp(44px, 6vw, 64px); display: flex; justify-content: center; }
.abk .abk-pager ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.abk .abk-pager a, .abk .abk-pager span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 2px;
	border: 1px solid rgba(91, 20, 35, .25); color: var(--ab-navy); text-decoration: none; font: 600 14px/1 var(--font-sans);
	transition: background .3s, color .3s, border-color .3s, transform .3s var(--ab-ease);
}
.abk .abk-pager a:hover { background: var(--ab-maroon); border-color: var(--ab-maroon); color: var(--ab-ivory); transform: translateY(-2px); }
.abk .abk-pager .current { background: var(--ab-navy); border-color: var(--ab-navy); color: var(--ab-ivory); }
.abk .abk-pager a:focus-visible { outline: 2px solid var(--ab-maroon); outline-offset: 3px; }

.abk .abk-empty { text-align: center; padding: 60px 20px; }
.abk .abk-empty p { font: 500 clamp(20px, 2vw, 24px)/1.4 var(--ab-serif); color: var(--ab-navy); margin: 0 0 18px; }

/* ==========================================================================
   Book page (.abb)
   ========================================================================== */
.abb .abb-top { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); overflow: hidden; background:
	radial-gradient(900px 560px at 88% 10%, rgba(122, 29, 49, .10), transparent 70%), var(--ab-ivory); }
.abb .abb-top__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.abb .abb-crumbs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 500 13px/1.4 var(--font-sans); color: rgba(20, 35, 61, .7); }
.abb .abb-crumbs a { color: var(--ab-maroon); text-decoration: none; }
.abb .abb-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.abb .abb-crumbs span[aria-current] { color: var(--ab-navy); }

/* Cover: entrance, shadow, gentle tilt on hover */
.abb .abb-cover { margin: 0; position: sticky; top: 120px; perspective: 1200px; }
.abb .abb-cover__frame {
	position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 40px 60px -28px rgba(12, 29, 56, .55), 0 0 0 1px rgba(91, 20, 35, .08);
	transform-style: preserve-3d; transition: transform .8s var(--ab-ease), box-shadow .8s var(--ab-ease);
}
.abb .abb-cover__frame img { width: 100%; height: auto; display: block; }
.abb .abb-cover__frame::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .28) 50%, transparent 60%);
	transform: translateX(-120%); transition: transform 1.2s var(--ab-ease);
}
.abb .abb-cover:hover .abb-cover__frame { transform: rotateY(-6deg) rotateX(3deg); box-shadow: 0 50px 70px -26px rgba(12, 29, 56, .6), 0 0 0 1px rgba(91, 20, 35, .1); }
.abb .abb-cover:hover .abb-cover__frame::after { transform: translateX(120%); }
.abb .abb-cover .abk-badge { left: 16px; top: 16px; }

/* Title block */
.abb .abb-info__genre { margin: 0 0 14px; font: 600 12px/1.2 var(--font-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ab-maroon); }
.abb .abb-info__title { margin: 0 0 16px; font: 700 clamp(38px, 5vw, 62px)/1.04 var(--ab-serif); letter-spacing: -.015em; color: var(--ab-navy); text-wrap: balance; }
.abb .abb-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 22px; font-size: 16.5px; color: rgba(20, 35, 61, .86); }
.abb .abb-byline a { color: var(--ab-maroon); font-weight: 600; text-decoration: none; background: linear-gradient(var(--ab-maroon), var(--ab-maroon)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ab-ease); }
.abb .abb-byline a:hover { background-size: 100% 1px; }
.abb .abb-byline__sep { color: var(--ab-maroon); opacity: .6; }
.abb .abb-info__excerpt { font: 500 clamp(18px, 1.8vw, 21px)/1.6 var(--ab-serif); color: var(--ab-navy); max-width: 34em; margin: 0 0 30px; }

/* Buy box */
.abb .abb-buy {
	display: grid; gap: 18px; padding: clamp(22px, 2.6vw, 28px); border-radius: 6px; background: #fffdf8;
	border: 1px solid rgba(91, 20, 35, .14); border-top: 3px solid var(--ab-maroon); box-shadow: 0 26px 44px -34px rgba(20, 35, 61, .55);
}
.abb .abb-buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; }
.abb .abb-buy__label { font: 600 12px/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ab-maroon); }
.abb .abb-buy__amount { font-size: 30px; }
.abb .abb-buy__format { margin-left: auto; padding: 6px 10px; border-radius: 2px; background: rgba(91, 20, 35, .08); font: 600 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ab-maroon); }
.abb .abb-buy__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.abb .abb-btn {
	display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 13px 22px; border-radius: 2px; text-decoration: none;
	font: 600 14px/1 var(--font-sans); letter-spacing: .03em; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ab-ease);
}
.abb .abb-btn svg { width: 16px; height: 16px; transition: transform .35s var(--ab-ease); }
.abb .abb-btn:hover { transform: translateY(-2px); }
.abb .abb-btn:hover svg { transform: translateX(4px); }
.abb .abb-btn:focus-visible { outline: 2px solid var(--ab-maroon); outline-offset: 3px; }
.abb .abb-btn--line { border: 1px solid var(--ab-navy); color: var(--ab-navy); background: transparent; }
.abb .abb-btn--line:hover { background: var(--ab-navy); color: var(--ab-ivory); }
.abb .abb-btn--maroon { background: var(--ab-maroon); color: var(--ab-ivory); }
.abb .abb-btn--maroon:hover { background: var(--ab-maroon-2); }

/* Blurb */
.abb .abb-blurb__body { max-width: 62ch; }
.abb .abb-blurb__body p { font-size: 18px; line-height: 1.85; color: rgba(20, 35, 61, .9); margin: 0 0 1.1em; }
.abb .abb-blurb__body p:first-child { font: 500 clamp(19px, 1.8vw, 22px)/1.6 var(--ab-serif); color: var(--ab-navy); }

/* Specification block: staggered rows */
.abb .abb-spec__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.abb .abb-spec .ab-h2 { margin-bottom: 0 !important; position: sticky; top: 120px; }
.abb .abb-spec__list { margin: 0; border-top: 1px solid rgba(246, 239, 223, .16); }
.abb .abb-spec__row {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(246, 239, 223, .16);
	transition: padding-left .45s var(--ab-ease);
}
.abb .abb-spec__row:hover { padding-left: 10px; }
.abb .abb-spec__row dt { font: 600 12px/1.5 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ab-rose); }
.abb .abb-spec__row dd { margin: 0; font: 400 17px/1.5 var(--font-sans); color: var(--ab-ivory); }

/* About the author */
.abb .abb-author__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.abb .abb-author__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: linear-gradient(160deg, var(--ab-navy-2), var(--ab-maroon-deep)); box-shadow: 0 30px 50px -34px rgba(12, 29, 56, .6); }
.abb .abb-author__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ab-ease); }
.abb .abb-author__photo:hover img { transform: scale(1.04); }
.abb .abb-author__name { font: 700 clamp(22px, 2.2vw, 28px)/1.2 var(--ab-serif); color: var(--ab-maroon); margin: 0 0 14px; }
.abb .abb-author__bio { font-size: 17px; line-height: 1.8; color: rgba(20, 35, 61, .9); max-width: 60ch; margin: 0 0 26px; }

/* Press quotes */
.abb .abb-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; list-style: none; margin: clamp(40px, 5vw, 56px) 0 0; padding: 0; }
.abb .abb-quote {
	position: relative; padding: 34px 30px 30px; border-radius: 6px; background: rgba(246, 239, 223, .06); border: 1px solid rgba(246, 239, 223, .16);
	transition: translate .5s var(--ab-ease), background .5s, border-color .5s;
}
.abb .abb-quote:hover { translate: 0 -5px; background: rgba(246, 239, 223, .1); border-color: rgba(233, 205, 209, .5); }
.abb .abb-quote__mark { display: block; margin-bottom: 14px; color: var(--ab-rose); opacity: .8; }
.abb .abb-quote blockquote { margin: 0; }
.abb .abb-quote p { margin: 0; font: italic 500 clamp(18px, 1.7vw, 21px)/1.6 var(--ab-serif); color: var(--ab-ivory); }

/* More from this imprint */
.abb .abb-more__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(36px, 5vw, 52px); }
.abb .abb-more__head .ab-h2 { margin: 0 !important; }
.abb .abb-more__all { font: 600 14px/1 var(--font-sans); color: var(--ab-maroon); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: gap .35s var(--ab-ease); }
.abb .abb-more__all:hover { gap: 14px; }
.abb .abb-more__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 30px); list-style: none; margin: 0; padding: 0; }
.abb .abb-more__card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ab-navy); transition: translate .5s var(--ab-ease); }
.abb .abb-more__card:hover { translate: 0 -6px; }
.abb .abb-more__cover { display: block; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; background: var(--ab-navy-2); box-shadow: 0 22px 34px -26px rgba(12, 29, 56, .6); }
.abb .abb-more__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ab-ease); }
.abb .abb-more__card:hover .abb-more__cover img { transform: scale(1.06); }
.abb .abb-more__title { font: 700 17px/1.3 var(--ab-serif); }
.abb .abb-more__author { font-size: 14px; color: rgba(20, 35, 61, .75); }

/* Back link */
.abb .abb-back { padding: 28px 0 56px; background: var(--ab-ivory); }
.abb .abb-back__in { display: flex; justify-content: flex-start; }
.abb .abb-back__link { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--font-sans); color: var(--ab-maroon); text-decoration: none; transition: gap .35s var(--ab-ease); }
.abb .abb-back__link:hover { gap: 16px; }
.abb .abb-back__link:focus-visible { outline: 2px solid var(--ab-maroon); outline-offset: 4px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.abk .abk-grid, .abb .abb-more__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.abk .abk-filters__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.abb .abb-top__grid, .abb .abb-spec__grid, .abb .abb-author__grid { grid-template-columns: 1fr; }
	.abb .abb-cover { position: relative; top: 0; max-width: 360px; }
	.abb .abb-spec .ab-h2 { position: static; }
	.abk .abk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.abb .abb-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.abk .abk-filters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.abk .abk-filters__bar { gap: 14px; }
	.abk .abk-apply { flex: 1 1 100%; }
	.abk .abk-card__body { padding: 14px 14px 16px; }
	.abk .abk-card__author { font-size: 13px; }
	.abb .abb-spec__row { grid-template-columns: 1fr; gap: 6px; }
	.abb .abb-buy__format { margin-left: 0; }
	.abb .abb-buy__actions .abb-btn, .abb .abb-buy__actions .ashgrove-add-to-cart-btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 420px) {
	.abk .abk-filters__grid { grid-template-columns: 1fr; }
	.abk .abk-grid, .abb .abb-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.abk .abk-card__title { font-size: 16px; }
	.abb .abb-more__title { font-size: 15px; }
}

/* ==========================================================================
   Reduced motion: the same content, no movement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.abk .abk-chips li, .abk .abk-card, .abb .abb-cover__frame, .abb .abb-quote, .abb .abb-more__card { animation: none !important; transition: none !important; }
	.abb .abb-cover:hover .abb-cover__frame { transform: none; }
	.abk .abk-card:hover .abk-card__cover img, .abb .abb-more__card:hover .abb-more__cover img { transform: none; }
}

/* Published books intro, above the catalogue */
.abk .abk-intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.abk .abk-intro__grid .ab-h2 { margin: 0 !important; }
.abk .abk-intro__lede { margin: 0 !important; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.75; }
@media (max-width: 900px) { .abk .abk-intro__grid { grid-template-columns: 1fr; } }

/* The theme's shared .entry-content centres and pads the blurb; keep it aligned with its heading. */
.abb .abb-blurb__body.entry-content { margin: 0 !important; padding: 0 !important; max-width: 62ch; text-align: left; }
.abb .abb-more__all { white-space: nowrap; }

/* ==========================================================================
   Books banner: cinematic hero for the catalogue.
   Desktop: the full artwork (title and tagline are in the image).
   Phone: a crop of the books with live text, so it stays readable.
   ========================================================================== */
.abk .abk-banner {
	position: relative; isolation: isolate; overflow: hidden; background: #071225; color: var(--ab-ivory);
	aspect-ratio: 2103 / 748; min-height: 420px; max-height: 82vh; width: 100%;
}
.abk .abk-banner__media {
	position: absolute; inset: 0; z-index: -2;
	background: #0b1a33 url("../images/books/books-banner.jpg") center / cover no-repeat;
	transform-origin: 62% 50%; animation: abkBannerZoom 16s cubic-bezier(.25, .6, .3, 1) both, abkBannerFade 1.6s ease both;
}
/* A soft shade on the bottom and a vignette, for depth */
.abk .abk-banner__scrim {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(to bottom, rgba(7, 18, 37, 0) 62%, rgba(246, 239, 223, .0) 100%),
		radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(7, 18, 37, .45) 100%);
}
/* A single light sweep as the banner appears */
.abk .abk-banner::after {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: linear-gradient(104deg, transparent 38%, rgba(255, 236, 210, .16) 50%, transparent 62%);
	transform: translateX(-100%); animation: abkSweep 2.4s .4s var(--ab-ease) both;
}

/* Desktop: the title and tagline live in the artwork; keep the heading for screen readers and search. */
.abk .abk-banner__copy {
	position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.abk .abk-banner__cue {
	position: absolute; left: 50%; bottom: 22px; z-index: 2; transform: translateX(-50%);
	display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
	background: rgba(7, 18, 37, .55); border: 1px solid rgba(233, 205, 209, .35); color: var(--ab-ivory);
	font: 600 12px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: background .3s, border-color .3s, transform .3s var(--ab-ease);
	animation: abkCue 2.6s var(--ab-ease) infinite;
}
.abk .abk-banner__cue svg { transition: transform .3s; }
.abk .abk-banner__cue:hover { background: rgba(122, 29, 49, .85); border-color: var(--ab-rose); }
.abk .abk-banner__cue:hover svg { transform: translateY(3px); }
.abk .abk-banner__cue:focus-visible { outline: 2px solid var(--ab-rose); outline-offset: 4px; }

@keyframes abkBannerZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes abkBannerFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes abkSweep { to { transform: translateX(100%); } }
@keyframes abkCue { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* Phone and tablet: the books crop, with live text over a navy shade. */
@media (max-width: 900px) {
	.abk .abk-banner { aspect-ratio: auto; min-height: 640px; max-height: none; display: flex; align-items: flex-end; }
	.abk .abk-banner__media {
		background-image: url("../images/books/books-banner-mobile.jpg");
		background-position: 64% 18%; background-size: cover;
	}
	/* Solid navy behind the text, so the book spines never compete with it */
	.abk .abk-banner__scrim {
		background:
			linear-gradient(to top, rgba(7, 18, 37, 1) 0%, rgba(7, 18, 37, .97) 46%, rgba(7, 18, 37, .6) 68%, rgba(7, 18, 37, .05) 100%);
	}
	.abk .abk-banner__copy {
		position: relative; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal;
		padding: 0 22px 96px; max-width: 620px;
	}
	.abk .abk-banner__eyebrow { margin: 0 0 14px; font: 600 11px/1 var(--font-sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ab-gold, #e3b27a); display: flex; align-items: center; gap: 12px; }
	.abk .abk-banner__eyebrow::before { content: ""; width: 34px; height: 1px; background: #c8232c; }
	.abk .abk-banner__title { margin: 0 0 12px; font: 500 clamp(48px, 12vw, 72px)/1 var(--font-serif, Georgia, serif); letter-spacing: -.01em; color: var(--ab-ivory); }
	.abk .abk-banner__tag { margin: 0 0 14px; font: 500 clamp(20px, 5vw, 26px)/1.3 var(--font-serif, Georgia, serif); color: var(--ab-ivory); }
	.abk .abk-banner__text { margin: 0; font-size: 15px; line-height: 1.7; letter-spacing: .01em; color: rgba(246, 239, 223, .86); max-width: 34em; }
	.abk .abk-banner__cue { bottom: 18px; white-space: nowrap; letter-spacing: .12em; font-size: 11px; padding: 9px 14px; }
}
@media (min-width: 901px) {
	.abk .abk-banner__eyebrow, .abk .abk-banner__title, .abk .abk-banner__tag, .abk .abk-banner__text { position: static; }
}

@media (prefers-reduced-motion: reduce) {
	.abk .abk-banner__media, .abk .abk-banner::after, .abk .abk-banner__cue { animation: none !important; }
	.abk .abk-banner::after { display: none; }
}
