/* ==========================================================================
   Pennings of Gracelyn
   Tokens,
layout and components. Values taken from the Figma design system.
   ========================================================================== */

:root {
	/* Grounds and ink */
	--paper:  #FFFDF8;
	--ivory:  #F5F1E7;
	--ink:    #182019;
	--forest: #24382A;
	--forest-hover: #182019;
	--clay:   #9A4C34;
	--clay-hover: #7E3E2A;
	--sage:   #B8C3A7;
	--sand:   #D8CCBA;
	--mist:   #E6EADB;
	--line:   #DDD7CB;
	--muted:  #70756F;
	--on-dark: #FFFFFF;

	/* Type */
	--serif: "DM Serif Display", Georgia, "Times New Roman", serif;
	--sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Measure */
	--wrap: 1188px;      /* 1140 content + 2 x 24 padding */
	--wrap-narrow: 1048px;
	--measure: 68ch;
	--gutter: 24px;

	/* Shape */
	--r-sm: 12px;
	--r-md: 18px;
	--r-pill: 999px;

	/* Motion. The direction is near static: transitions only. */
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--dur: 300ms;
}

/* --------------------------------------------------------------------------
   Reset. :where() keeps specificity at zero so component rules always win.
   -------------------------------------------------------------------------- */

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

:where(body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol) {
	margin: 0;
	padding: 0;
}

:where(ul,
ol) { list-style: none; }
:where(img,
picture,
svg) { display: block; max-width: 100%; }
:where(button,
input,
textarea,
select) { font: inherit; color: inherit; }
:where(a) { color: inherit; text-decoration: none; }

html { -webkit-text-size-adjust: 100%; }

body {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

::selection { background: var(--sage); color: var(--ink); }

:focus-visible {
	outline: 2px solid var(--forest);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip-path: inset(50%);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--forest);
	color: var(--on-dark);
	padding: 12px 20px;
	border-radius: 0 0 var(--r-sm) 0;
	font-size: 14px;
	font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap--narrow { max-width: var(--wrap-narrow); }

.band { padding-block: 80px; }
.band--paper { background: var(--paper); }
.band--ivory { background: var(--ivory); }
.band--forest { background: var(--forest); color: var(--paper); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.eyebrow {
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--clay);
}
.eyebrow--sm { font-size: 10px; }
.eyebrow--sage { color: var(--sage); }

.h2 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 38px;
	line-height: 1.08;
	color: var(--ink);
}
.h2--lg { font-size: 44px; }
.h2--xl { font-size: 48px; line-height: 1.05; }

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 32px;
}
.section-head__text { max-width: 620px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head__intro {
	margin-top: 16px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted);
}
.section-head > .btn { flex: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
	border-radius: var(--r-pill);
	border: 1px solid transparent;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 19px;
	cursor: pointer;
	transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn__arrow { font-size: 12px; line-height: 1; }
.btn:active { transform: translateY(1px); }

.btn--primary {
	background: var(--forest);
	color: var(--on-dark);
}
.btn--primary:hover { background: var(--forest-hover); }

.btn--secondary {
	background: var(--paper);
	border-color: var(--line);
	color: var(--ink);
}
.btn--secondary:hover { background: var(--ivory); border-color: var(--sand); }

.btn--sm { font-size: 14px; line-height: 17px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* --------------------------------------------------------------------------
   Media. Real images crop to the design ratio,
empty slots become an
   on palette block so a layout is never visibly broken.
   -------------------------------------------------------------------------- */

.media {
	position: relative;
	overflow: hidden;
	border-radius: var(--r-md);
	background: var(--mist);
}
.media__img { width: 100%; height: 100%; object-fit: cover; }

.media--card { aspect-ratio: 360 / 165; border-radius: var(--r-sm); }
.media--hero { aspect-ratio: 520 / 390; }
.media--lead { aspect-ratio: 582 / 264; border-radius: var(--r-md) var(--r-md) 0 0; }
.media--portrait { aspect-ratio: 500 / 408; }
.media--cover { aspect-ratio: 180 / 270; border-radius: var(--r-sm); }

.media--tint1 { background: linear-gradient(135deg, var(--sand) 0%, var(--mist) 100%); }
.media--tint2 { background: linear-gradient(135deg, var(--sage) 0%, var(--ivory) 100%); }
.media--tint3 { background: linear-gradient(150deg, var(--mist) 0%, var(--sand) 100%); }
.media--tint4 { background: linear-gradient(160deg, var(--ivory) 0%, var(--sage) 100%); }

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.masthead { background: var(--paper); }
.masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: 76px;
}

.wordmark {
	font-family: var(--serif);
	font-size: 17px;
	letter-spacing: 0.04em;
	color: var(--ink);
	white-space: nowrap;
}

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 36px; }
.nav__list a {
	font-size: 16px;
	color: var(--muted);
	transition: color var(--dur) var(--ease);
}
.nav__list a:hover { color: var(--ink); }
.nav__list .is-current > a,
.nav__list .current-menu-item > a,
.nav__list .current_page_item > a {
	color: var(--ink);
	font-weight: 600;
}

.masthead__action { flex: none; }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	align-items: center; justify-content: center;
	background: none; border: 1px solid var(--line);
	border-radius: var(--r-pill);
	cursor: pointer;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	display: block;
	width: 18px; height: 1.5px;
	background: var(--ink);
	content: "";
	transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle__bar::before { transform: translateY(-6px); }
.nav-toggle__bar::after { transform: translateY(4.5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: rotate(-45deg) translateY(0); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding-block: 76px 84px; }
.hero__inner {
	display: grid;
	grid-template-columns: 439px 520px;
	justify-content: space-between;
	align-items: start;
	gap: 40px;
}

.hero__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 70px;
	line-height: 1.0;
	color: var(--ink);
	margin-top: 16px;
}
.hero__body {
	margin-top: 24px;
	max-width: 410px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--muted);
}
.hero .btn-row { margin-top: 32px; }

.hero__figure { position: relative; }
.hero__note {
	position: absolute;
	left: 37px;
	top: 339px;
	width: 446px;
	margin: 0;
	padding: 17px 22px;
	background: var(--paper);
	border-radius: 14px;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 500;
	color: var(--ink);
}
.hero__note::before { content: "\201C"; }
.hero__note::after { content: "\201D"; }

/* --------------------------------------------------------------------------
   Featured bento
   -------------------------------------------------------------------------- */

.bento {
	display: grid;
	grid-template-columns: 582px 586px;
	justify-content: space-between;
	gap: 24px;
}

.lead-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--r-md);
	overflow: hidden;
	background: var(--forest);
}
.lead-card .media { border-radius: 0; }
.lead-card__caption {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	padding: 24px 34px;
	background: var(--forest);
}
.lead-card__meta {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sage);
}
.lead-card__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 30px;
	line-height: 1.12;
	color: var(--paper);
}
.lead-card:hover .media__img { transform: scale(1.02); }
.lead-card .media__img { transition: transform 500ms var(--ease); }

.bento__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.tcard { border-radius: var(--r-md); }
.tcard--mist { background: var(--mist); }
.tcard--sage { background: var(--sage); }
.tcard--ivory { background: var(--ivory); }
.tcard--sand { background: var(--sand); }

.tcard__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 194px;
	padding: 18px 16px;
}
.tcard__title {
	margin-top: 10px;
	font-family: var(--serif);
	font-weight: 400;
	font-size: 22px;
	line-height: 1.14;
	color: var(--ink);
}
.tcard__meta {
	margin-top: auto;
	padding-top: 16px;
	font-size: 11px;
	line-height: 1.2;
	color: var(--muted);
}
.tcard__link:hover .tcard__title { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Blog card
   -------------------------------------------------------------------------- */

.card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
}
.card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 12px;
}
.card__body { padding: 16px 4px 0; }
.card__title {
	margin-top: 12px;
	font-family: var(--serif);
	font-weight: 400;
	font-size: 23px;
	line-height: 1.14;
	color: var(--ink);
}
.card__excerpt {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted);
}
.card__meta {
	margin-top: auto;
	padding: 20px 4px 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}
.card .media__img { transition: transform 500ms var(--ease); }
.card__link:hover .media__img { transform: scale(1.03); }
.card__link:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Book card
   -------------------------------------------------------------------------- */

.bookcard { border-radius: var(--r-md); padding: 33px 36px; }
.bookcard--mist { background: var(--mist); }
.bookcard--sand { background: var(--sand); }

.bookcard__inner { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 34px; }
.bookcard__cover { display: block; }
.bookcard__text { display: flex; flex-direction: column; padding-block: 13px; }
.bookcard__kicker {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}
.bookcard__title {
	margin-top: 18px;
	font-family: var(--serif);
	font-weight: 400;
	font-size: 30px;
	line-height: 1.1;
	color: var(--ink);
}
.bookcard__blurb {
	margin-top: 16px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
}
.bookcard .btn { margin-top: auto; align-self: flex-start; }
.bookcard__title a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* --------------------------------------------------------------------------
   Author
   -------------------------------------------------------------------------- */

.author { padding-block: 79px; }
.author__inner {
	display: grid;
	grid-template-columns: 500px minmax(0, 1fr);
	gap: 91px;
	align-items: center;
}
.author__text .eyebrow { margin-bottom: 16px; }
.author__body {
	margin-top: 24px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--muted);
}
.author .btn-row { margin-top: 32px; }

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */

.newsletter { padding-block: 72px; }
.newsletter__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
}
.newsletter__text .eyebrow { margin-bottom: 16px; }
.newsletter__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 34px;
	line-height: 1.1;
	color: var(--paper);
}

.subscribe {
	flex: none;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 434px;
	max-width: 100%;
	padding: 4px 4px 4px 18px;
	background: var(--paper);
	border-radius: var(--r-pill);
}
.subscribe__field {
	flex: 1;
	min-width: 0;
	border: 0;
	background: none;
	font-size: 14px;
	color: var(--ink);
}
.subscribe__field::placeholder { color: var(--muted); }
.subscribe__field:focus { outline: none; }
.subscribe:focus-within { box-shadow: 0 0 0 2px var(--sage); }
.subscribe__btn {
	flex: none;
	padding: 9px 18px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--clay);
	color: var(--on-dark);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color var(--dur) var(--ease);
}
.subscribe__btn:hover { background: var(--clay-hover); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.colophon {
	background: var(--ink);
	color: var(--paper);
	padding-block: 64px 26px;
}
.colophon__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 60px;
	padding-bottom: 56px;
}
.colophon__brand { max-width: 260px; }
.colophon__wordmark {
	display: block;
	font-family: var(--serif);
	font-size: 30px;
	line-height: 1.1;
	color: var(--paper);
	letter-spacing: 0.02em;
}
.colophon__tag {
	margin-top: 24px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mist);
}
.colophon__col { flex: none; }
.colophon__col .eyebrow { margin-bottom: 16px; }
.colophon__col:nth-of-type(2) { width: 190px; }
.colophon__col:nth-of-type(3) { width: 220px; }

.linklist a {
	display: block;
	padding-block: 2px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--paper);
	transition: color var(--dur) var(--ease);
}
.linklist a:hover { color: var(--sage); }

.colophon__rule { height: 1px; border: 0; background: var(--forest); }
.colophon__copy {
	margin-top: 28px;
	text-align: center;
	font-size: 12px;
	color: var(--sage);
}

/* --------------------------------------------------------------------------
   Empty state and pagination
   -------------------------------------------------------------------------- */

.state-empty {
	max-width: 520px;
	padding: 48px 0;
}
.state-empty__title { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.state-empty__body { margin-top: 16px; color: var(--muted); }

.pager { margin-top: 48px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px; height: 44px;
	padding-inline: 14px;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	background: var(--paper);
	transition: background-color var(--dur) var(--ease);
}
.pager .page-numbers:hover { background: var(--ivory); }
.pager .page-numbers.current { background: var(--forest); border-color: var(--forest); color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Responsive. Breakpoints are 1024 and 767,
as the design sets them.
   -------------------------------------------------------------------------- */

@media (max-width: 1288px) {
	.hero__inner { grid-template-columns: minmax(0, 439px) minmax(0, 520px); }
	.bento { grid-template-columns: minmax(0, 582px) minmax(0, 586px); }
	.author__inner { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 56px; }
}

@media (max-width: 1024px) {
	.band { padding-block: 64px; }
	.hero { padding-block: 56px 64px; }
	.author { padding-block: 64px; }

	.nav-toggle { display: inline-flex; order: 3; }
	.masthead__inner { flex-wrap: wrap; gap: 16px; min-height: 64px; }
	.masthead__action { order: 2; margin-left: auto; }
	.nav {
		order: 4;
		flex: 0 0 100%;
		justify-content: flex-start;
		display: none;
		padding-bottom: 20px;
	}
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
	.nav__list a { display: block; padding-block: 10px; font-size: 18px; }

	.hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.hero__title { font-size: 56px; }
	.hero__note {
		position: static;
		width: auto;
		margin-top: 20px;
		border: 1px solid var(--line);
	}

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

	.author__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.h2--xl { font-size: 40px; }
	.h2--lg { font-size: 38px; }

	.newsletter__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
	.subscribe { width: 100%; }

	.colophon__inner { flex-wrap: wrap; gap: 40px; }
	.colophon__brand { flex: 0 0 100%; max-width: 420px; }
}

@media (max-width: 767px) {
	.band { padding-block: 52px; }
	.hero { padding-block: 40px 52px; }
	.author { padding-block: 52px; }

	.hero__title { font-size: 44px; }
	.hero__body { font-size: 16px; }
	.h2 { font-size: 32px; }
	.h2--lg, .h2--xl { font-size: 34px; }

	.section-head { flex-direction: column; align-items: flex-start; gap: 24px; }

	.grid--2, .grid--3, .bento__grid { grid-template-columns: minmax(0, 1fr); }
	.bento__grid { grid-template-rows: none; }

	.lead-card__caption { padding: 20px; }
	.lead-card__title { font-size: 26px; }

	.bookcard { padding: 24px; }
	.bookcard__inner { grid-template-columns: 140px minmax(0, 1fr); gap: 20px; }
	.bookcard__title { font-size: 26px; }

	.newsletter__title { font-size: 28px; }

	.colophon__col:nth-of-type(2),
	.colophon__col:nth-of-type(3) { width: auto; flex: 1 1 45%; }
}

@media (max-width: 420px) {
	.hero__title { font-size: 38px; }
	.bookcard__inner { grid-template-columns: minmax(0, 1fr); }
	.bookcard__cover { max-width: 180px; }
}

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

/* --------------------------------------------------------------------------
   Archive masthead,
long form prose,
book page
   -------------------------------------------------------------------------- */

.masthead-band { padding-block: 84px 72px; }
.masthead-band .eyebrow { margin-bottom: 16px; }
.masthead-band__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 48px;
	line-height: 1.05;
	color: var(--ink);
	max-width: 18ch;
}
.masthead-band__intro {
	margin-top: 20px;
	max-width: 62ch;
	font-size: 16px;
	line-height: 1.6;
	color: var(--muted);
}

.prose { max-width: var(--measure); }
.prose--essay { max-width: 720px; margin-inline: auto; }

.prose > * + * { margin-top: 24px; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose h2 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 32px;
	line-height: 1.12;
	margin-top: 48px;
}
.prose h3 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 24px;
	line-height: 1.15;
	margin-top: 36px;
}
.prose a {
	color: var(--clay);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color var(--dur) var(--ease);
}
.prose a:hover { color: var(--forest); }
.prose ul,
.prose ol { padding-left: 22px; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose li { font-size: 17px; line-height: 1.75; margin-top: 10px; }
.prose blockquote {
	margin: 36px 0;
	padding: 4px 0 4px 24px;
	border: 0;
	border-left: 2px solid var(--sand);
	font-family: var(--serif);
	font-size: 24px;
	line-height: 1.3;
	color: var(--ink);
}
.prose img { border-radius: var(--r-md); margin-block: 8px; }
.prose figure { margin: 0; }
.prose figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.prose hr { height: 1px; border: 0; background: var(--line); margin-block: 40px; }

.bookhero { padding-block: 84px; }
.bookhero__inner {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 72px;
	align-items: center;
}
.bookhero__cover { width: 300px; }
.bookhero__title {
	margin-top: 16px;
	font-family: var(--serif);
	font-weight: 400;
	font-size: 56px;
	line-height: 1.04;
	color: var(--ink);
}
.bookhero__blurb {
	margin-top: 20px;
	max-width: 52ch;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
}
.bookhero .btn-row { margin-top: 32px; }
.bookhero__note { margin-top: 16px; font-size: 13px; color: var(--muted); }

@media (max-width: 1024px) {
	.masthead-band { padding-block: 64px 56px; }
	.masthead-band__title { font-size: 40px; }
	.essay__title { font-size: 44px; }
	.bookhero { padding-block: 64px; }
	.bookhero__inner { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
	.bookhero__cover { width: 240px; }
	.bookhero__title { font-size: 44px; }
}

@media (max-width: 767px) {
	.masthead-band { padding-block: 48px 40px; }
	.masthead-band__title { font-size: 34px; }
	.essay__title { font-size: 34px; }
	.prose p, .prose li { font-size: 16px; }
	.bookhero__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.bookhero__cover { width: 200px; }
	.bookhero__title { font-size: 34px; }
}
/* --------------------------------------------------------------------------
   Contrast on tinted grounds. Sage and sand are light enough that the standard
   clay and muted greys drop under 4.5:1,
so those two grounds take deeper inks.
   -------------------------------------------------------------------------- */

:root {
	--clay-deep: #7E3E2A;
	--ink-soft:  #3C4038;
}

.tcard--sage .eyebrow,
.tcard--sand .eyebrow,
.bookcard--sand .bookcard__kicker { color: var(--clay-deep); }

.tcard--sage .tcard__meta,
.tcard--sand .tcard__meta,
.tcard--mist .tcard__meta,
.tcard--ivory .tcard__meta { color: var(--ink-soft); }

.bookcard--mist .bookcard__kicker { color: var(--ink-soft); }
/* --------------------------------------------------------------------------
   Block layouts inside prose. Core block CSS is not loaded,
so the few
   layout blocks the editor can produce are styled here against the tokens.
   -------------------------------------------------------------------------- */

.prose .wp-block-image { margin-block: 32px; }
.prose .wp-block-image img { border-radius: var(--r-md); }
.prose .wp-block-columns { display: flex; gap: 32px; }
.prose .wp-block-column { flex: 1 1 0; min-width: 0; }
.prose .wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}
.prose .wp-block-gallery figure { margin: 0; }
.prose .wp-block-quote { margin: 36px 0; padding-left: 24px; border-left: 2px solid var(--sand); }
.prose .wp-block-separator { height: 1px; border: 0; background: var(--line); margin-block: 40px; }
.prose .wp-block-button__link {
	display: inline-flex;
	padding: 12px 20px;
	border-radius: var(--r-pill);
	background: var(--forest);
	color: var(--on-dark);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
.prose .aligncenter { margin-inline: auto; text-align: center; }
.prose .alignwide { max-width: min(100%, 900px); margin-inline: auto; }

@media (max-width: 767px) {
	.prose .wp-block-columns { flex-direction: column; gap: 20px; }
}
/* Footer v2: three link columns,
copyright aligned to the brand edge. */
.colophon__cols { display: flex; gap: 60px; }
.colophon__copy { text-align: center; }
.colophon__col--explore { width: 190px; }
.colophon__col--legal { width: 220px; }

@media (max-width: 1024px) {
	.colophon__cols { flex-wrap: wrap; gap: 40px; }
}
@media (max-width: 767px) {
	.colophon__cols { gap: 28px; }
	.colophon__col--explore,
	.colophon__col--legal { width: auto; flex: 1 1 40%; }
}