/*
Theme Name: Sumner House Candidate 1.1.1
Theme URI: https://sumnerhousebooks.com/
Author: Sumner House Books
Description: A cinematic, editorial WordPress theme for the Sumner House Books catalog, authors, series, music, and WooCommerce storefront.
Version: 1.1.1
Requires at least: 6.2
Requires PHP: 8.1
Text Domain: sumner-house
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, featured-images, full-width-template, e-commerce, accessibility-ready
*/

:root {
	--shp-void: #040812;
	--shp-ink: #081323;
	--shp-navy: #0d2037;
	--shp-blue: #1c4666;
	--shp-blue-bright: #3d7199;
	--shp-paper: #f5efe5;
	--shp-paper-deep: #e8ddcd;
	--shp-white: #fffdf8;
	--shp-ink-soft: #40505d;
	--shp-gold: #e5ac39;
	--shp-gold-light: #f5cd70;
	--shp-gold-deep: #b77613;
	--shp-line: rgba(10, 24, 39, 0.16);
	--shp-line-light: rgba(255, 253, 248, 0.21);
	--shp-serif: Georgia, Cambria, "Times New Roman", Times, serif;
	--shp-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--shp-display: Impact, Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Condensed", "Arial Narrow", sans-serif;
	--shp-container: min(100% - 3.5rem, 1320px);
	--shp-shadow: 0 24px 70px rgba(0, 0, 0, 0.23);
	--shp-shadow-cover: 0 22px 34px rgba(0, 0, 0, 0.4), 0 3px 1px rgba(255, 255, 255, 0.12) inset;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--shp-paper);
	color: var(--shp-ink);
	font-family: var(--shp-sans);
	font-size: 1rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

img {
	height: auto;
	max-width: 100%;
}

a {
	color: var(--shp-blue);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

a:hover {
	color: var(--shp-gold-deep);
}

button,
input,
select,
textarea {
	font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible,
.woocommerce input.button:focus-visible {
	outline: 3px solid var(--shp-gold);
	outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.45em;
	color: var(--shp-ink);
	font-family: var(--shp-serif);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.042em;
}

h1 {
	font-size: clamp(3rem, 7.8vw, 8rem);
}

h2 {
	font-size: clamp(2.2rem, 4.4vw, 4.6rem);
}

h3 {
	font-size: clamp(1.35rem, 2.2vw, 2rem);
}

p,
ul,
ol {
	margin: 0 0 1.2rem;
}

ul,
ol {
	padding-left: 1.3rem;
}

.shp-container {
	width: var(--shp-container);
	margin-right: auto;
	margin-left: auto;
}

.screen-reader-text,
.shp-skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.shp-skip-link:focus {
	z-index: 10000;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	padding: 0.8rem 1rem;
	margin: 0;
	overflow: visible;
	clip: auto;
	background: var(--shp-white);
	box-shadow: var(--shp-shadow);
	color: var(--shp-ink);
	font-weight: 800;
}

.shp-announcement {
	position: relative;
	z-index: 101;
	padding: 0.48rem 0;
	background: var(--shp-gold);
	color: var(--shp-void);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.13em;
	text-align: center;
	text-transform: uppercase;
}

/* Header and brand */
.shp-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(4, 8, 18, 0.96);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
	backdrop-filter: blur(14px);
}

.shp-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1rem, 3vw, 3rem);
	min-height: 86px;
}

.shp-brand {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 0.75rem;
}

.shp-brand__mark {
	display: grid;
	flex: 0 0 auto;
	width: 62px;
	height: 62px;
	padding: 0;
	overflow: hidden;
	background: #000;
	place-items: center;
	text-decoration: none;
}

.shp-brand__mark .custom-logo-link,
.shp-brand__mark--custom .custom-logo-link {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
}

.shp-brand__logo,
.shp-brand__mark .custom-logo {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}

.shp-brand__text {
	display: grid;
	gap: 0.1rem;
	color: var(--shp-white);
	font-family: var(--shp-serif);
	font-size: clamp(1.15rem, 1.75vw, 1.45rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.95;
	text-decoration: none;
}

.shp-brand__text small {
	color: var(--shp-gold-light);
	font-family: var(--shp-sans);
	font-size: 0.58rem;
	font-weight: 850;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.shp-primary-navigation ul {
	display: flex;
	align-items: center;
	gap: clamp(0.7rem, 1.5vw, 1.55rem);
	padding: 0;
	margin: 0;
	list-style: none;
}

.shp-primary-navigation a {
	display: inline-block;
	padding: 0.45rem 0;
	color: rgba(255, 253, 248, 0.88);
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.11em;
	text-decoration: none;
	text-transform: uppercase;
}

.shp-primary-navigation a:hover,
.shp-primary-navigation a:focus-visible {
	color: var(--shp-gold-light);
}

.shp-nav-cart a {
	padding: 0.55rem 0.78rem;
	border: 1px solid rgba(229, 172, 57, 0.78);
	color: var(--shp-gold-light);
}

.shp-nav-cart a:hover,
.shp-nav-cart a:focus-visible {
	border-color: var(--shp-gold);
	background: var(--shp-gold);
	color: var(--shp-void);
}

.shp-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 253, 248, 0.42);
	background: transparent;
	color: var(--shp-white);
	cursor: pointer;
}

.shp-menu-toggle__lines,
.shp-menu-toggle__lines::before,
.shp-menu-toggle__lines::after {
	display: block;
	width: 21px;
	height: 2px;
	background: currentColor;
	content: "";
	transition: transform 180ms ease, opacity 180ms ease;
}

.shp-menu-toggle__lines {
	position: relative;
}

.shp-menu-toggle__lines::before {
	position: absolute;
	top: -7px;
	left: 0;
}

.shp-menu-toggle__lines::after {
	position: absolute;
	top: 7px;
	left: 0;
}

.shp-menu-toggle[aria-expanded="true"] .shp-menu-toggle__lines {
	background: transparent;
}

.shp-menu-toggle[aria-expanded="true"] .shp-menu-toggle__lines::before {
	transform: translateY(7px) rotate(45deg);
}

.shp-menu-toggle[aria-expanded="true"] .shp-menu-toggle__lines::after {
	transform: translateY(-7px) rotate(-45deg);
}

/* Shared editorial components */
.shp-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.72rem;
	margin-bottom: 1rem;
	color: var(--shp-gold-deep);
	font-size: 0.68rem;
	font-weight: 850;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
}

.shp-eyebrow span {
	display: inline-block;
	width: 28px;
	height: 2px;
	background: currentColor;
}

.shp-eyebrow--light {
	color: var(--shp-gold-light);
}

.shp-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.88rem 1.3rem;
	border: 1px solid var(--shp-blue);
	border-radius: 0;
	background: var(--shp-blue);
	box-shadow: none;
	color: var(--shp-white);
	font-family: var(--shp-sans);
	font-size: 0.73rem;
	font-weight: 850;
	letter-spacing: 0.105em;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.shp-button:hover,
.shp-button:focus-visible,
.woocommerce a.button:hover,
.woocommerce a.button:focus,
.woocommerce button.button:hover,
.woocommerce button.button:focus,
.woocommerce input.button:hover,
.woocommerce input.button:focus,
.woocommerce #respond input#submit:hover,
.woocommerce #respond input#submit:focus {
	border-color: var(--shp-gold);
	background: var(--shp-gold);
	color: var(--shp-void);
}

.shp-button--gold {
	border-color: var(--shp-gold);
	background: var(--shp-gold);
	color: var(--shp-void);
}

.shp-button--gold:hover,
.shp-button--gold:focus-visible {
	border-color: var(--shp-white);
	background: var(--shp-white);
	color: var(--shp-void);
}

.shp-button--ghost {
	border-color: rgba(255, 253, 248, 0.72);
	background: transparent;
	color: var(--shp-white);
}

.shp-button--ghost:hover,
.shp-button--ghost:focus-visible {
	border-color: var(--shp-white);
	background: var(--shp-white);
	color: var(--shp-void);
}

.shp-button--outline {
	background: transparent;
	color: var(--shp-blue);
}

.shp-text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.38rem;
	color: var(--shp-blue);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.shp-text-link::after {
	content: "→";
	font-size: 1.05em;
	transition: transform 180ms ease;
}

.shp-text-link:hover,
.shp-text-link:focus-visible {
	color: var(--shp-gold-deep);
}

.shp-text-link:hover::after,
.shp-text-link:focus-visible::after {
	transform: translateX(0.2rem);
}

.shp-text-link--light {
	color: var(--shp-white);
}

.shp-text-link--light:hover,
.shp-text-link--light:focus-visible {
	color: var(--shp-gold-light);
}

/* Full-bleed hero; its image is an actual attachment img, not CSS artwork. */
.shp-hero {
	position: relative;
	display: grid;
	isolation: isolate;
	min-height: min(820px, calc(100vh - 86px));
	overflow: hidden;
	background: var(--shp-void);
	color: var(--shp-white);
	place-items: stretch;
}

.shp-hero__media,
.shp-hero__veil {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.shp-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.shp-hero__veil {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(2, 7, 15, 0.95) 0%, rgba(4, 11, 21, 0.83) 40%, rgba(4, 10, 20, 0.48) 77%, rgba(4, 8, 18, 0.67) 100%),
		linear-gradient(0deg, rgba(3, 7, 14, 0.84) 0%, rgba(3, 7, 14, 0.05) 47%, rgba(4, 8, 18, 0.22) 100%);
}

.shp-hero:not(.shp-hero--with-media) .shp-hero__veil {
	background:
		radial-gradient(circle at 77% 65%, rgba(202, 144, 37, 0.24), transparent 31%),
		linear-gradient(125deg, #030711, #102b46 58%, #08111e);
}

.shp-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: inherit;
	padding-top: clamp(5rem, 11vw, 9.5rem);
	padding-bottom: clamp(3rem, 8vw, 6.5rem);
}

.shp-hero h1 {
	max-width: 980px;
	margin-bottom: 0;
	color: var(--shp-white);
	font-family: var(--shp-display);
	font-size: clamp(4rem, 9.3vw, 10rem);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 0.84;
	text-transform: uppercase;
}

.shp-hero h1 span {
	display: inline-block;
	color: var(--shp-gold);
}

.shp-hero__lede {
	max-width: 650px;
	margin-top: clamp(1.45rem, 3vw, 2.1rem);
	margin-bottom: 0;
	color: rgba(255, 253, 248, 0.9);
	font-size: clamp(1.04rem, 1.7vw, 1.3rem);
	line-height: 1.62;
}

.shp-hero__actions,
.shp-external-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem;
	margin-top: 2.2rem;
}

.shp-scroll-cue {
	display: inline-flex;
	align-items: center;
	gap: 0.68rem;
	margin-top: auto;
	padding-top: 3.2rem;
	color: rgba(255, 253, 248, 0.72);
	font-size: 0.63rem;
	font-weight: 850;
	letter-spacing: 0.16em;
	text-decoration: none;
	text-transform: uppercase;
}

.shp-scroll-cue span {
	display: inline-block;
	width: 1px;
	height: 32px;
	background: var(--shp-gold);
}

.shp-scroll-cue:hover,
.shp-scroll-cue:focus-visible {
	color: var(--shp-gold-light);
}

/* Homepage sections */
.shp-page-intro {
	padding: clamp(2.8rem, 6vw, 6rem) 0 0;
	background: var(--shp-paper);
}

.shp-section {
	padding: clamp(4.5rem, 9vw, 8.5rem) 0;
}

.shp-section--paper {
	background: var(--shp-paper-deep);
}

.shp-section--navy,
.shp-music-feature {
	background: var(--shp-navy);
	color: rgba(255, 253, 248, 0.82);
}

.shp-section--navy h2,
.shp-section--navy h3,
.shp-music-feature h2,
.shp-music-feature h3 {
	color: var(--shp-white);
}

.shp-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.shp-section-heading h2 {
	max-width: 760px;
	margin-bottom: 0;
}

.shp-section-heading--light h2 {
	color: var(--shp-white);
}

.shp-books-shelf {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--shp-void);
	color: var(--shp-white);
}

.shp-books-shelf::before {
	position: absolute;
	top: -30%;
	right: -8%;
	z-index: -1;
	width: min(58vw, 780px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(225, 163, 49, 0.16), rgba(225, 163, 49, 0) 67%);
	content: "";
}

.shp-catalog-note {
	margin: -1.3rem 0 2rem;
	color: rgba(255, 253, 248, 0.66);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.shp-card-grid,
.shp-preview-books {
	display: grid;
	gap: clamp(1.25rem, 2.2vw, 2.1rem);
}

.shp-card-grid--products,
.shp-preview-books {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shp-card-grid--authors {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shp-card-grid--series,
.shp-card-grid--music {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shp-card,
.shp-book-card {
	min-width: 0;
}

.shp-card__link,
.shp-book-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.shp-books-shelf .shp-product-card,
.shp-books-shelf .shp-book-card {
	position: relative;
}

.shp-books-shelf .shp-card__image,
.shp-book-card__cover {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: var(--shp-shadow-cover);
}

.shp-books-shelf .shp-card__image::after,
.shp-book-card__cover::after {
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
	content: "";
	pointer-events: none;
}

.shp-card__image img,
.shp-book-card__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shp-books-shelf .shp-card__body {
	padding: 1.15rem 0.12rem 0;
}

.shp-books-shelf .shp-card__title,
.shp-books-shelf .shp-price {
	color: var(--shp-white);
}

.shp-books-shelf .shp-card__excerpt {
	color: rgba(255, 253, 248, 0.72);
}

.shp-book-card__copy {
	padding: 1.15rem 0.12rem 0.3rem;
}

.shp-book-card__order {
	margin-bottom: 0.52rem;
	color: var(--shp-gold-light);
	font-size: 0.67rem;
	font-weight: 850;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.shp-book-card h3 {
	margin-bottom: 0.35rem;
	color: var(--shp-white);
	font-family: var(--shp-serif);
	font-size: clamp(1.28rem, 2vw, 1.8rem);
}

.shp-book-card__copy > p:not(.shp-book-card__order) {
	margin-bottom: 0;
	color: rgba(255, 253, 248, 0.7);
	font-size: 0.92rem;
}

.shp-book-card__explore {
	display: inline-flex;
	gap: 0.5rem;
	margin-top: 1.1rem;
	padding-bottom: 0.3rem;
	border-bottom: 1px solid var(--shp-gold);
	color: var(--shp-gold-light);
	font-size: 0.67rem;
	font-weight: 850;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.shp-book-card__explore span {
	transition: transform 180ms ease;
}

.shp-book-card__link:hover .shp-book-card__explore span,
.shp-book-card__link:focus-visible .shp-book-card__explore span {
	transform: translateX(0.25rem);
}

.shp-catalog-callout {
	max-width: 620px;
	padding: 1.6rem 0 0;
	border-top: 1px solid var(--shp-line-light);
	color: rgba(255, 253, 248, 0.82);
}

.shp-catalog-callout p:last-child {
	margin-bottom: 0;
	font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.shp-card__body {
	padding: 1.2rem 0.2rem 1.45rem;
}

.shp-card__body .shp-eyebrow {
	margin-bottom: 0.65rem;
}

.shp-card__title {
	margin-bottom: 0;
	font-size: clamp(1.3rem, 2.1vw, 1.95rem);
}

.shp-card__excerpt {
	margin-top: 0.8rem;
	margin-bottom: 0;
	color: var(--shp-ink-soft);
	font-size: 0.92rem;
}

.shp-price {
	margin: 0.85rem 0 0;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.shp-authors-feature .shp-card {
	background: rgba(255, 253, 248, 0.5);
	box-shadow: 0 12px 28px rgba(19, 26, 33, 0.08);
}

.shp-authors-feature .shp-card__image {
	aspect-ratio: 1 / 1.06;
	overflow: hidden;
	background: var(--shp-paper);
}

.shp-authors-feature .shp-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shp-authors-feature .shp-card__body {
	padding: 1.2rem;
}

/* A second attachment-backed editorial moment, retained even at low content density. */
.shp-editorial-stage {
	position: relative;
	display: grid;
	isolation: isolate;
	min-height: min(590px, 68vh);
	overflow: hidden;
	background: var(--shp-navy);
	color: var(--shp-white);
	place-items: stretch;
}

.shp-editorial-stage__media,
.shp-editorial-stage__veil {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.shp-editorial-stage__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.shp-editorial-stage__veil {
	z-index: -1;
	background: linear-gradient(90deg, rgba(4, 9, 18, 0.93) 0%, rgba(4, 9, 18, 0.73) 52%, rgba(4, 9, 18, 0.45) 100%);
}

.shp-editorial-stage:not(.shp-editorial-stage--with-media) .shp-editorial-stage__veil {
	background: radial-gradient(circle at 78% 50%, rgba(229, 172, 57, 0.2), transparent 35%), linear-gradient(120deg, #061222, #15395d);
}

.shp-editorial-stage__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: inherit;
	padding-top: clamp(4rem, 7vw, 7rem);
	padding-bottom: clamp(4rem, 7vw, 7rem);
}

.shp-editorial-stage h2 {
	max-width: 700px;
	color: var(--shp-white);
}

.shp-editorial-stage__content > p:last-child {
	max-width: 600px;
	margin-bottom: 0;
	color: rgba(255, 253, 248, 0.86);
	font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.shp-beyond {
	background: var(--shp-paper);
}

.shp-beyond__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--shp-line);
	background: var(--shp-line);
}

.shp-beyond__tile {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 320px;
	padding: clamp(1.6rem, 3vw, 2.6rem);
	background: var(--shp-white);
}

.shp-beyond__tile h3 {
	max-width: 350px;
	font-size: clamp(1.65rem, 2.8vw, 2.55rem);
}

.shp-beyond__tile > p:not(.shp-eyebrow) {
	max-width: 330px;
	margin-bottom: 1.7rem;
	color: var(--shp-ink-soft);
}

.shp-beyond__tile .shp-text-link {
	margin-top: auto;
}

.shp-section--navy .shp-card,
.shp-music-feature .shp-card {
	border-top: 1px solid var(--shp-line-light);
	border-bottom: 1px solid var(--shp-line-light);
}

.shp-section--navy .shp-card__body,
.shp-music-feature .shp-card__body {
	padding: 1.35rem 0.3rem 1.55rem;
}

.shp-section--navy .shp-card__title,
.shp-music-feature .shp-card__title {
	color: var(--shp-white);
}

.shp-section--navy .shp-card__excerpt,
.shp-music-feature .shp-card__excerpt {
	color: rgba(255, 253, 248, 0.7);
}

.shp-section--navy .shp-card__link:hover,
.shp-section--navy .shp-card__link:focus-visible,
.shp-music-feature .shp-card__link:hover,
.shp-music-feature .shp-card__link:focus-visible {
	color: var(--shp-gold-light);
}

/* Native pages, archive cards, and submission content */
.shp-empty-state {
	max-width: 660px;
	padding: 1.5rem 0;
	border-top: 1px solid var(--shp-line);
	border-bottom: 1px solid var(--shp-line);
}

.shp-empty-state h1,
.shp-empty-state h2,
.shp-empty-state h3 {
	font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.shp-empty-state p:last-child {
	margin-bottom: 0;
}

.shp-empty-state--large {
	padding: 3.5rem 0;
}

.shp-content-area {
	min-height: 48vh;
	padding-top: clamp(3rem, 7vw, 7rem);
	padding-bottom: clamp(4.5rem, 9vw, 8rem);
}

.shp-page-header {
	max-width: 960px;
	margin-bottom: clamp(2.3rem, 5vw, 4.5rem);
}

.shp-page-header h1 {
	margin-bottom: 0;
}

.shp-intro,
.shp-archive-description {
	max-width: 710px;
	margin-top: 1.2rem;
	font-size: clamp(1.08rem, 1.8vw, 1.34rem);
	line-height: 1.62;
}

.shp-prose {
	max-width: 760px;
}

.shp-prose > * + * {
	margin-top: 1.3rem;
}

.shp-prose h2,
.shp-prose h3 {
	margin-top: 2.1rem;
}

.shp-prose a:not(.shp-button):not(.shp-text-link) {
	color: var(--shp-blue);
}

.shp-prose blockquote {
	padding-left: 1.4rem;
	margin: 2rem 0;
	border-left: 3px solid var(--shp-gold);
	font-family: var(--shp-serif);
	font-size: 1.35rem;
	line-height: 1.4;
}

.shp-featured-image {
	max-width: 1000px;
	margin: 0 0 2.5rem;
}

.shp-featured-image img {
	display: block;
}

.shp-featured-image--author {
	max-width: 600px;
}

.shp-post-list {
	max-width: 840px;
}

.shp-post-preview {
	padding: 1.7rem 0 2.1rem;
	border-top: 1px solid var(--shp-line);
}

.shp-post-preview:last-child {
	border-bottom: 1px solid var(--shp-line);
}

.shp-post-preview h2 {
	font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.shp-post-preview h2 a {
	color: inherit;
	text-decoration: none;
}

.shp-post-preview h2 a:hover,
.shp-post-preview h2 a:focus-visible {
	color: var(--shp-gold-deep);
}

.shp-post-preview p:last-of-type {
	margin-bottom: 1rem;
}

.shp-catalog-single__header {
	max-width: 850px;
}

.shp-related-products {
	margin-top: clamp(4rem, 8vw, 7rem);
}

.shp-submission-form-wrap {
	max-width: 800px;
	padding: clamp(1.5rem, 4vw, 3rem);
	margin-top: 2.4rem;
	border: 1px solid var(--shp-line);
	background: var(--shp-white);
	box-shadow: 0 15px 40px rgba(13, 24, 34, 0.08);
}

.navigation.pagination {
	display: flex;
	gap: 0.55rem;
	align-items: center;
	margin-top: 3rem;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.navigation.pagination a,
.navigation.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0.35rem 0.65rem;
	border: 1px solid var(--shp-line);
	color: var(--shp-ink);
	font-size: 0.8rem;
	font-weight: 800;
	text-decoration: none;
}

.navigation.pagination .current {
	border-color: var(--shp-navy);
	background: var(--shp-navy);
	color: var(--shp-white);
}

/* Footer */
.shp-site-footer {
	position: relative;
	background: var(--shp-void);
	color: rgba(255, 253, 248, 0.7);
}

.shp-site-footer__top-line {
	height: 4px;
	background: linear-gradient(90deg, var(--shp-gold), var(--shp-gold-light) 38%, rgba(229, 172, 57, 0.18) 72%, transparent);
}

.shp-site-footer a {
	color: var(--shp-white);
	text-decoration-color: rgba(255, 253, 248, 0.3);
}

.shp-site-footer a:hover,
.shp-site-footer a:focus-visible {
	color: var(--shp-gold-light);
}

.shp-site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
	gap: 3rem;
	padding-top: clamp(3.5rem, 7vw, 6rem);
	padding-bottom: 3.5rem;
}

.shp-footer__label {
	margin-bottom: 0.85rem;
	color: var(--shp-gold-light);
	font-size: 0.67rem;
	font-weight: 850;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.shp-footer__statement {
	max-width: 350px;
	color: var(--shp-white);
	font-family: var(--shp-serif);
	font-size: clamp(1.45rem, 2.3vw, 2rem);
	line-height: 1.16;
}

.shp-footer__division {
	max-width: 355px;
	color: rgba(255, 253, 248, 0.62);
	font-size: 0.88rem;
}

.shp-footer__contact p,
.shp-footer__policies ul {
	margin-bottom: 0;
}

.shp-footer__policies ul {
	padding: 0;
	list-style: none;
}

.shp-footer__policies li + li {
	margin-top: 0.45rem;
}

.shp-site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 0;
	border-top: 1px solid rgba(255, 253, 248, 0.17);
	font-size: 0.78rem;
}

.shp-site-footer__bottom p {
	margin: 0;
}

.shp-footer-menu .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

/* WooCommerce output remains native; these rules only align its presentation. */
.shp-woocommerce-content .woocommerce {
	max-width: 100%;
}

.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 1.8rem;
	color: var(--shp-ink-soft);
	font-size: 0.82rem;
}

.woocommerce .woocommerce-breadcrumb a {
	color: var(--shp-blue);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: 2rem;
}

.woocommerce .woocommerce-ordering select,
.woocommerce .quantity .qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container--default .select2-selection--single,
.woocommerce .select2-container--default .select2-selection--multiple {
	min-height: 44px;
	border: 1px solid var(--shp-line);
	border-radius: 0;
	background: var(--shp-white);
	color: var(--shp-ink);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	padding: 0.65rem 0.75rem;
}

.woocommerce form .form-row textarea {
	min-height: 130px;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.5rem 1.5rem;
	margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	border-bottom: 1px solid var(--shp-line);
}

.woocommerce ul.products li.product a img {
	margin-bottom: 1rem;
	box-shadow: 0 14px 25px rgba(0, 0, 0, 0.12);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	color: var(--shp-ink);
	font-family: var(--shp-serif);
	font-size: clamp(1.3rem, 2.1vw, 1.8rem);
	font-weight: 500;
	line-height: 1.14;
}

.woocommerce ul.products li.product .price {
	color: var(--shp-blue);
	font-size: 0.88rem;
	font-weight: 800;
}

.woocommerce ul.products li.product .button {
	margin: 0.65rem 0 1rem;
}

.woocommerce span.onsale {
	min-width: 0;
	min-height: 0;
	padding: 0.32rem 0.55rem;
	border-radius: 0;
	background: var(--shp-gold-deep);
	font-size: 0.7rem;
	line-height: 1.1;
}

.woocommerce div.product {
	max-width: 1180px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	margin-bottom: 3rem;
}

.woocommerce div.product .product_title {
	font-size: clamp(2.6rem, 5.2vw, 5.5rem);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--shp-blue);
	font-size: 1.2rem;
	font-weight: 800;
}

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.woocommerce div.product form.cart div.quantity {
	float: none;
}

.woocommerce .quantity .qty {
	width: 4.5rem;
}

.woocommerce .woocommerce-tabs ul.tabs {
	padding-left: 0;
}

.woocommerce .woocommerce-tabs ul.tabs::before {
	border-bottom-color: var(--shp-line);
}

.woocommerce .woocommerce-tabs ul.tabs li {
	border-color: var(--shp-line);
	border-radius: 0;
	background: var(--shp-paper-deep);
}

.woocommerce .woocommerce-tabs ul.tabs li.active {
	border-bottom-color: var(--shp-paper);
	background: var(--shp-paper);
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	border-top-color: var(--shp-gold-deep);
	background: var(--shp-white);
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before {
	color: var(--shp-gold-deep);
}

.woocommerce table.shop_table {
	border: 1px solid var(--shp-line);
	border-radius: 0;
	background: var(--shp-white);
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
	padding: 0.9rem;
	border-top-color: var(--shp-line);
}

.woocommerce-cart-form,
.woocommerce-checkout-review-order,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
	background: var(--shp-white);
}

.woocommerce-cart-form,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
	padding: 1rem;
	border: 1px solid var(--shp-line);
	border-radius: 0;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #payment {
	padding: 1.25rem;
	border-radius: 0;
	background: var(--shp-paper-deep);
}

.woocommerce #payment div.payment_box {
	background: var(--shp-white);
	color: var(--shp-ink);
}

.woocommerce #payment div.payment_box::before {
	border-bottom-color: var(--shp-white);
}

@media (prefers-reduced-motion: no-preference) {
	.shp-hero__content > .shp-eyebrow,
	.shp-hero__content > h1,
	.shp-hero__content > .shp-hero__lede,
	.shp-hero__content > .shp-hero__actions,
	.shp-hero__content > .shp-scroll-cue {
		animation: shp-rise-in 650ms both;
	}

	.shp-hero__content > h1 {
		animation-delay: 90ms;
	}

	.shp-hero__content > .shp-hero__lede {
		animation-delay: 170ms;
	}

	.shp-hero__content > .shp-hero__actions {
		animation-delay: 250ms;
	}

	.shp-hero__content > .shp-scroll-cue {
		animation-delay: 330ms;
	}

	.shp-hero__image {
		animation: shp-hero-settle 15s ease-out both;
	}

	.shp-button:hover,
	.shp-button:focus-visible,
	.woocommerce a.button:hover,
	.woocommerce a.button:focus-visible,
	.shp-book-card__link:hover .shp-book-card__cover img,
	.shp-book-card__link:focus-visible .shp-book-card__cover img,
	.shp-books-shelf .shp-product-card .shp-card__link:hover .shp-card__image img,
	.shp-books-shelf .shp-product-card .shp-card__link:focus-visible .shp-card__image img {
		transform: translateY(-2px);
	}

	.shp-book-card__cover img,
	.shp-books-shelf .shp-card__image img,
	.shp-authors-feature .shp-card__image img {
		transition: transform 450ms ease;
	}

	.shp-book-card__link:hover .shp-book-card__cover img,
	.shp-book-card__link:focus-visible .shp-book-card__cover img,
	.shp-books-shelf .shp-product-card .shp-card__link:hover .shp-card__image img,
	.shp-books-shelf .shp-product-card .shp-card__link:focus-visible .shp-card__image img,
	.shp-authors-feature .shp-card__link:hover .shp-card__image img,
	.shp-authors-feature .shp-card__link:focus-visible .shp-card__image img {
		transform: scale(1.035);
	}
}

@keyframes shp-rise-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes shp-hero-settle {
	from {
		transform: scale(1.045);
	}
	to {
		transform: scale(1);
	}
}

@media (max-width: 1100px) {
	.shp-primary-navigation ul {
		gap: 0.85rem;
	}

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

	.shp-card-grid--products,
	.shp-preview-books,
	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

@media (max-width: 900px) {
	.shp-site-header__inner {
		min-height: 78px;
	}

	.shp-menu-toggle {
		display: inline-flex;
	}

	.shp-primary-navigation {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		padding: 1.1rem max(1.5rem, calc((100vw - min(100vw - 3.5rem, 1320px)) / 2)) 1.5rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
		background: var(--shp-void);
		box-shadow: 0 20px 34px rgba(0, 0, 0, 0.32);
	}

	.shp-primary-navigation.is-open {
		display: block;
	}

	.shp-primary-navigation ul {
		display: grid;
		gap: 0;
	}

	.shp-primary-navigation li {
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.shp-primary-navigation li:last-child {
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.shp-primary-navigation a {
		display: block;
		padding: 0.9rem 0;
		font-size: 0.72rem;
	}

	.shp-nav-cart a {
		padding: 0.9rem 0;
		border: 0;
	}

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

	.shp-beyond__grid {
		grid-template-columns: 1fr;
	}

	.shp-beyond__tile {
		min-height: 0;
	}

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

	.shp-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 680px) {
	:root {
		--shp-container: min(100% - 2.25rem, 1320px);
	}

	.shp-brand__mark {
		width: 54px;
		height: 54px;
	}

	.shp-brand__text {
		font-size: 1.12rem;
	}

	.shp-hero {
		min-height: 720px;
	}

	.shp-hero__veil {
		background: linear-gradient(90deg, rgba(2, 7, 15, 0.9), rgba(3, 8, 17, 0.57)), linear-gradient(0deg, rgba(3, 7, 14, 0.92), rgba(3, 7, 14, 0.05) 56%);
	}

	.shp-hero__content {
		padding-top: 5.2rem;
		padding-bottom: 2.8rem;
	}

	.shp-hero h1 {
		font-size: clamp(3.7rem, 18vw, 6rem);
		line-height: 0.86;
	}

	.shp-hero__actions {
		width: 100%;
	}

	.shp-hero__actions .shp-button {
		width: 100%;
	}

	.shp-scroll-cue {
		padding-top: 2.2rem;
	}

	.shp-section-heading,
	.shp-site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.shp-section-heading .shp-text-link {
		margin-top: -0.8rem;
	}

	.shp-card-grid--products,
	.shp-preview-books,
	.shp-card-grid--series,
	.shp-card-grid--music,
	.shp-card-grid--authors,
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	.shp-preview-books {
		gap: 2.2rem;
	}

	.shp-book-card__link {
		display: grid;
		grid-template-columns: minmax(120px, 0.72fr) 1fr;
		gap: 1.15rem;
		align-items: start;
	}

	.shp-book-card__copy {
		padding: 0.2rem 0;
	}

	.shp-books-shelf .shp-card__image {
		aspect-ratio: 3 / 2;
	}

	.shp-editorial-stage {
		min-height: 520px;
	}

	.shp-editorial-stage__veil {
		background: linear-gradient(90deg, rgba(4, 9, 18, 0.91), rgba(4, 9, 18, 0.62));
	}

	.shp-site-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.shp-footer__brand {
		grid-column: auto;
	}

	.woocommerce div.product div.images,
	.woocommerce div.product div.summary {
		float: none;
		width: 100%;
	}

	.woocommerce table.shop_table_responsive tr:nth-child(2n) td,
	.woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
		background: rgba(28, 70, 102, 0.05);
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Sumner House Candidate 1.1.1: narrow-screen hero correction.
 * Intended for the candidate's Additional CSS / private preview only.
 * Does not alter the SHP logo, imagery, content, checkout or manuscript intake.
 * Original candidate ZIP remains unchanged. Runtime preview result is separate.
 */
@media (max-width: 680px) {
  .shp-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .shp-hero__content {
    min-width: 0;
  }

  .shp-hero h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10.8vw, 4.5rem);
    overflow-wrap: anywhere;
  }

  .shp-hero h1 span {
    max-width: 100%;
  }

  .shp-hero__lede {
    max-width: 100%;
  }
}