:root {
	color-scheme: light;
	--ink: #263c39;
	--paper: #faf7ef;
	--accent: #8b5136;
	--line: #ddd4c3;
	--muted: #686960
}
* {
	box-sizing: border-box
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 18px/1.8 Georgia, serif
}
header, nav, main, footer {
	max-width: 1120px;
	margin: auto;
	padding: 28px 36px
}
header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 42px
}
.brand {
	font-size: 38px;
	letter-spacing: -.025em;
	text-decoration: none;
	color: var(--ink)
}
.brand span {
	display: block;
	margin-top: 8px;
	font: 11px/1.5 system-ui;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--muted)
}
header > a:last-child {
	font: 14px system-ui;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 24px;
	text-decoration: none
}
a {
	color: var(--accent);
	text-underline-offset: 5px
}
a:hover {
	color: var(--ink)
}
a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 5px
}
nav {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	border-block: 1px solid var(--line);
	font: 14px/1.6 system-ui;
	padding-block: 18px
}
nav a {
	text-decoration: none
}
nav a[aria-current] {
	font-weight: 700;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-thickness: 2px
}
main {
	min-height: 55vh;
	padding-block: 56px 72px
}
h1, h2, h3 {
	line-height: 1.22;
	font-weight: 400
}
h1 {
	font-size: clamp(36px, 5vw, 60px);
	letter-spacing: -.025em;
	margin: 0 0 30px
}
h2 {
	font-size: 29px
}
h3 {
	font-size: 23px
}
article {
	overflow-wrap: anywhere
}
article > p {
	max-width: 75ch
}
.section-heading {
	margin-bottom: 38px
}
.section-heading h1 {
	margin-bottom: 0
}
.eyebrow, .entry-date {
	font: 12px/1.6 system-ui;
	color: var(--accent);
	letter-spacing: .08em
}
.eyebrow {
	text-transform: uppercase;
	margin: 0 0 14px
}
.entry-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px
}
.entry-card {
	position: relative;
	background: #fffdf8;
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: 3px;
	padding: 30px;
	box-shadow: 0 6px 24px #263c3906
}
.entry-card h2 {
	margin: 8px 0 16px
}
.entry-card h2 a {
	text-decoration: none
}
.entry-card h2 a:hover {
	text-decoration: underline
}
.entry-summary {
	font-size: 17px;
	line-height: 1.8;
	color: var(--muted)
}
.text-link {
	display: inline-block;
	margin-top: 12px;
	font: 13px/1.7 system-ui;
	text-decoration: none
}
.text-link span {
	margin-left: 10px
}
.reading-page {
	max-width: 760px;
	margin: auto
}
.reading-page .section-heading {
	border-bottom: 1px solid var(--line);
	padding-bottom: 30px
}
.prose {
	font-size: 19px;
	line-height: 1.9
}
.prose p {
	margin: 0 0 24px
}
.prose h2 {
	margin-top: 40px
}
.back-link {
	max-width: 760px;
	margin: 40px auto 0;
	font: 14px system-ui;
	padding-top: 24px;
	border-top: 1px solid var(--line)
}
.books {
	display: grid;
	gap: 40px
}
.book {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--line)
}
.book img {
	width: 100%;
	height: auto;
	box-shadow: 6px 8px 18px #263c3918
}
.placeholder {
	background: #e6e0d1;
	aspect-ratio: 2/3;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 12px;
	font: 15px system-ui
}
.meta, footer {
	font: 14px/1.6 system-ui;
	color: var(--muted)
}
.book h1 {
	font-size: 28px
}
.table-wrap {
	overflow: auto
}
table {
	border-collapse: collapse
}
td {
	border: 1px solid var(--line);
	padding: 12px
}
footer {
	border-top: 1px solid var(--line);
	padding-block: 26px
}
.empty-state {
	color: var(--muted);
	grid-column: 1/-1
}
.page-home, .page-author, .page-contact {
	max-width: 820px
}
.page-home {
	padding: 20px 0 40px
}
.page-home h1 {
	max-width: 14ch
}
@media(max-width:700px) {
	header, nav, main, footer {
		padding-inline: 20px
	}
	header {
		padding-block: 28px
	}
	.brand {
		font-size: 29px
	}
	.brand span {
		font-size: 10px;
		letter-spacing: .12em
	}
	nav {
		gap: 14px 20px
	}
	main {
		padding-block: 36px 48px
	}
	.entry-grid {
		grid-template-columns: 1fr
	}
	.entry-card {
		padding: 24px
	}
	.book {
		grid-template-columns: 90px minmax(0, 1fr);
		gap: 18px
	}
	.prose {
		font-size: 18px
	}
	h2 {
		font-size: 26px
	}
}
.home-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr);
	gap: 60px;
	align-items: center
}
.home-intro h1 {
	font-size: clamp(38px, 5vw, 62px)
}
.home-intro p {
	color: var(--muted)
}
.author-portrait {
	margin: 0
}
.author-portrait img {
	width: 100%;
	display: block;
	border-radius: 3px
}
.author-portrait figcaption {
	font: 12px/1.6 system-ui;
	color: var(--muted);
	margin-top: 10px
}
.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	margin-top: 30px
}
.button {
	display: inline-block;
	background: var(--ink);
	color: var(--paper);
	padding: 12px 22px;
	text-decoration: none;
	border-radius: 3px;
	font: 14px/1.6 system-ui
}
.button:hover {
	background: var(--accent);
	color: white
}
.home-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 64px;
	border-top: 1px solid var(--line);
	padding-top: 32px
}
.home-links > a {
	text-decoration: none;
	padding: 20px;
	background: #fffdf8;
	border: 1px solid var(--line)
}
.home-links h2 {
	margin: 0 0 12px
}
.home-links p {
	color: var(--muted);
	font-size: 16px;
	margin: 0
}
.breadcrumbs {
	border: 0;
	padding: 0;
	margin: 0 0 30px;
	max-width: none;
	font: 12px/1.6 system-ui;
	color: var(--muted)
}
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0
}
.breadcrumbs li + li:before {
	content: ' / ';
	margin-right: 10px;
	color: var(--line)
}
.item-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 48px auto 0;
	padding: 24px 0;
	max-width: 760px
}
.item-navigation div:last-child {
	text-align: right
}
.item-navigation span {
	display: block;
	font: 11px/1.5 system-ui;
	color: var(--muted);
	margin-bottom: 8px
}
.item-navigation a {
	font-size: 17px
}
.diag-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 14px
}
.diag-summary span {
	padding: 12px;
	background: #fffdf8;
	border: 1px solid var(--line)
}
.diag-table {
	width: 100%;
	font: 14px/1.6 system-ui
}
.diag-table td, .diag-table th {
	text-align: left;
	padding: 12px;
	border-bottom: 1px solid var(--line);
	vertical-align: top
}
.diag-ok {
	color: #285c3a
}
.diag-warning {
	color: #875218
}
.diag-error {
	color: #a32c2c
}
.diag-login {
	max-width: 440px;
	margin: 40px auto
}
.diag-login input {
	width: 100%;
	padding: 12px;
	margin: 12px 0;
	border: 1px solid var(--line);
	font: 16px system-ui
}
.diag-login button {
	border: 0;
	cursor: pointer
}
.diag-note {
	font: 13px/1.6 system-ui;
	color: var(--muted)
}
@media(max-width:700px) {
	.home-hero {
		grid-template-columns: 1fr;
		gap: 32px
	}
	.author-portrait {
		max-width: 320px
	}
	.home-links {
		grid-template-columns: 1fr;
		margin-top: 36px
	}
	.item-navigation {
		gap: 16px
	}
}
/* Literary accents · 2026-10-15. Local SVG assets; existing colours/fonts retained. */
body {
	background-image: url("paper-grain.svg");
	background-repeat: repeat
}
body > header {
	position: relative
}
body > header::after {
	content: "";
	position: absolute;
	left: 36px;
	bottom: 18px;
	width: 42px;
	height: 1px;
	background: var(--accent);
	opacity: .45;
	pointer-events: none
}
.home-hero {
	position: relative;
	isolation: isolate;
	padding-block: 18px 26px
}
.home-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
	right: 0;
	top: -42px;
	width: 360px;
	height: 255px;
	background: url("open-book-outline.svg") center/contain no-repeat;
	opacity: .075;
	transform: rotate(-11deg)
}
.home-hero > div, .home-hero > figure {
	position: relative;
	z-index: 1
}
.author-portrait {
	position: relative;
	padding: 12px 12px 0;
	background: rgba(255, 253, 248, .55);
	border: 1px solid var(--line);
	box-shadow: 9px 11px 0 rgba(139, 81, 54, .035)
}
.author-portrait img {
	border-radius: 1px
}
.author-portrait figcaption {
	padding: 0 2px 12px
}
.section-heading::after {
	content: "";
	display: block;
	width: 150px;
	height: 20px;
	margin-top: 23px;
	background: url("literary-divider.svg") left center/contain no-repeat;
	opacity: .65;
	pointer-events: none
}
.home-links {
	position: relative;
	margin-top: 70px;
	padding-top: 42px
}
.home-links::before {
	content: "";
	position: absolute;
	top: -11px;
	left: calc(50% - 89px);
	width: 178px;
	height: 22px;
	background: var(--paper) url("literary-divider.svg") center/150px 20px no-repeat;
	pointer-events: none
}
.entry-card {
	background: rgba(255, 253, 248, .92);
	border-top-width: 1px;
	box-shadow: 0 5px 18px rgba(38, 60, 57, .035)
}
.entry-card::before {
	content: "";
	display: block;
	width: 26px;
	height: 2px;
	background: var(--accent);
	opacity: .65;
	margin-bottom: 20px;
	pointer-events: none
}
.book img {
	border-radius: 1px;
	box-shadow: 2px 2px 0 rgba(250, 247, 239, .9), 4px 4px 0 rgba(38, 60, 57, .12), 8px 12px 24px rgba(38, 60, 57, .14)
}
.reading-page {
	background: rgba(250, 247, 239, .96)
}
.reading-page .section-heading {
	border-bottom: 0;
	padding-bottom: 0
}
.reading-page .section-heading::after {
	opacity: .45
}
body > footer {
	position: relative;
	padding-top: 38px
}
body > footer::before {
	content: "";
	display: block;
	width: 150px;
	height: 20px;
	margin-bottom: 16px;
	background: url("literary-divider.svg") left center/contain no-repeat;
	opacity: .45;
	pointer-events: none
}
@media(hover:hover) and (pointer:fine) {
	.entry-card, .home-links > a {
		transition: box-shadow .2s ease, border-color .2s ease
	}
	.entry-card:hover, .home-links > a:hover {
		box-shadow: 0 10px 26px rgba(38, 60, 57, .075);
		border-color: rgba(139, 81, 54, .35)
	}
	.text-link span {
		display: inline-block;
		transition: transform .2s ease
	}
	.text-link:hover span {
		transform: translateX(4px)
	}
	.book img {
		transition: box-shadow .2s ease
	}
	.book:hover img {
		box-shadow: 2px 2px 0 rgba(250, 247, 239, .9), 4px 4px 0 rgba(38, 60, 57, .12), 10px 15px 28px rgba(38, 60, 57, .19)
	}
}
.entry-card:focus-within {
	border-color: var(--accent)
}
@media(max-width:700px) {
	body > header::after {
		left: 20px;
		bottom: 12px;
		width: 32px
	}
	.home-hero {
		padding-block: 0 12px
	}
	.home-hero::before {
		width: 210px;
		height: 149px;
		top: -20px;
		right: 0;
		opacity: .045;
		transform: rotate(-8deg)
	}
	.home-links {
		margin-top: 44px;
		padding-top: 32px
	}
	.section-heading::after {
		margin-top: 18px;
		width: 120px;
		height: 16px
	}
	.author-portrait {
		box-shadow: 6px 7px 0 rgba(139, 81, 54, .035)
	}
}
@media(prefers-reduced-motion:reduce) {
	.entry-card, .home-links > a, .text-link span, .book img {
		transition: none !important
	}
	.text-link:hover span {
		transform: none
	}
}
@media print {
	body {
		background-image: none
	}
	.home-hero::before, .home-links::before, .section-heading::after, body > header::after, body > footer::before, .entry-card::before {
		display: none
	}
	.entry-card, .book img, .author-portrait {
		box-shadow: none
	}
}