@charset "UTF-8";
/* CSS Document */

* {
	box-sizing: border-box;
}

html {
	overflow-x: hidden;
}

body {
	margin: 0;
	background-color: #000;
	color: #eee;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	overflow-wrap: break-word;
}

.page {
	max-width: 960px;
	margin: 0 auto;
}

/* Header / hero */

header.site-header {
	background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)), url(22a.jpg);
	background-size: cover;
	background-position: center;
	padding: 6px 20px 0;
	animation: hero-pan 25s ease-in-out infinite alternate;
}

.site-logo {
	display: block;
	margin: 0 auto 16px;
	width: 100%;
	max-width: 360px;
	height: auto;
	transition: transform 0.25s ease, filter 0.25s ease;
}

h1 {
	margin: 0;
	text-align: center;
}

h1 a {
	display: inline-block;
}

h1 a:hover .site-logo,
h1 a:focus .site-logo {
	transform: scale(1.04);
	filter: drop-shadow(0 0 14px rgba(153, 255, 153, 0.55));
}

/* Nav */

nav#nav_div {
	margin: 0;
}

ul#nav {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

ul#nav li {
	flex: 1 1 auto;
	min-width: 0;
}

ul#nav li a {
	position: relative;
	display: block;
	text-align: center;
	text-decoration: none;
	color: #fff;
	padding: 14px 14px;
	background-color: rgba(0, 51, 0, 0.85);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.18' numOctaves='4' stitchTiles='stitch' result='base'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch' result='grain'/%3E%3CfeColorMatrix in='base' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0' result='baseA'/%3E%3CfeColorMatrix in='grain' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0' result='grainA'/%3E%3CfeBlend in='baseA' in2='grainA' mode='screen'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 130px 130px;
	white-space: nowrap;
	font-family: 'Oswald', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	overflow: hidden;
	transition: background-color 0.25s ease, transform 0.2s ease;
}

ul#nav li a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background-color: #b2c743;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.25s ease;
}

ul#nav li a:visited {
	color: #fff;
}

ul#nav li a:hover,
ul#nav li a:focus {
	background-color: #093;
	transform: translateY(-2px);
}

ul#nav li a:hover::after,
ul#nav li a:focus::after {
	transform: scaleX(1);
}

/* Main content */

main {
	padding: 24px 20px 40px;
	animation: fade-in-up 0.6s ease both;
}

.intro {
	display: flex;
	gap: 28px;
	align-items: flex-start;
}

.cover-column {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 0 0 260px;
}

.intro img.book-cover {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.rating-badge {
	background-color: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(245, 197, 24, 0.35);
	border-radius: 6px;
	padding: 16px;
	text-align: center;
}

.rating-badge .stars {
	font-size: 1.8rem;
	line-height: 1;
	color: #f5c518;
	text-shadow: 0 0 12px rgba(245, 197, 24, 0.5);
	letter-spacing: 0.1em;
	margin-bottom: 8px;
}

.rating-badge p {
	margin: 0 0 10px;
	font-size: 0.9rem;
	color: #ddd;
}

.rating-badge .rating-link {
	display: inline-block;
	font-family: 'Oswald', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #f5c518;
	text-decoration: none;
}

.rating-badge .rating-link:hover,
.rating-badge .rating-link:focus {
	text-decoration: underline;
}

.rating-banner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	background-color: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(245, 197, 24, 0.35);
	border-radius: 6px;
	padding: 20px 24px;
	margin: 0 0 28px;
}

.rating-banner .stars {
	font-size: 2.4rem;
	line-height: 1;
	color: #f5c518;
	text-shadow: 0 0 14px rgba(245, 197, 24, 0.5);
	letter-spacing: 0.08em;
}

.rating-banner-text {
	flex: 1 1 240px;
}

.rating-banner-text p {
	margin: 0 0 6px;
	max-width: none;
}

.rating-banner .rating-link {
	font-family: 'Oswald', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #f5c518;
	text-decoration: none;
}

.rating-banner .rating-link:hover,
.rating-banner .rating-link:focus {
	text-decoration: underline;
}

.intro-text {
	flex: 1 1 380px;
	min-width: 0;
}

.intro-text p {
	margin-top: 0;
	margin-bottom: 18px;
}

.intro-text p.lead {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.5;
	color: #def2d6;
}

.section-heading {
	font-family: 'Oswald', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: clamp(1.7rem, 5vw, 2.5rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #b2c743;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	margin: 0 0 16px;
	line-height: 1.15;
}

.section-heading--divider {
	margin-top: 12px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.callout {
	color: #b2c743;
	font-style: italic;
}

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

.authors--half .author-card {
	flex: 1 1 calc(50% - 8px);
}

@media (max-width: 480px) {
	.authors--half .author-card {
		flex: 1 1 100%;
	}
}

.author-card {
	flex: 1 1 240px;
	background-color: rgba(0, 51, 0, 0.35);
	border-left: 3px solid #093;
	border-radius: 4px;
	padding: 14px 16px;
	transition: background-color 0.25s ease, transform 0.2s ease;
}

.author-card:hover {
	background-color: rgba(0, 51, 0, 0.55);
	transform: translateY(-2px);
}

.author-card h3 {
	margin: 0 0 8px;
	font-family: 'Oswald', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1.05rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #fff;
}

.author-card p {
	margin: 0;
	font-size: 0.95rem;
	color: #ccc;
}

main p {
	max-width: 68ch;
}

main.text-page p {
	max-width: 68ch;
}

a.contact,
a.buy_link,
a.review_link {
	text-decoration: none;
	color: #b2c743;
	font-weight: bold;
}

a.contact:hover,
a.buy_link:hover,
a.review_link:hover {
	text-decoration: underline;
}

/* CTA buttons */

.buy-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 20px;
}

.buy-buttons a {
	display: block;
	flex: 1 1 calc(50% - 8px);
	text-align: center;
	text-decoration: none;
	color: #fff;
	background-color: #052a12;
	padding: 28px 22px;
	border-radius: 6px;
	font-family: 'Oswald', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 1.3rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	box-shadow: 0 0 0 rgba(0, 255, 100, 0);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.buy-buttons a:hover,
.buy-buttons a:focus {
	background-color: #07401b;
	transform: translateY(-3px);
	box-shadow: 0 6px 14px rgba(0, 255, 100, 0.2);
}

@media (max-width: 480px) {
	.buy-buttons a {
		flex: 1 1 100%;
	}
}

/* Reviews */

blockquote {
	margin: 0 0 24px;
	padding-left: 18px;
	border-left: 3px solid #093;
	font-style: italic;
	font-size: 1.2rem;
	line-height: 1.5;
}

blockquote cite {
	display: block;
	margin-top: 8px;
	font-style: normal;
	font-weight: 700;
	color: #b2c743;
}

footer.site-footer {
	text-align: center;
	padding: 16px;
	font-size: 0.85rem;
	color: #999;
}

/* Motion */

@keyframes hero-pan {
	from {
		background-position: 20% center;
	}
	to {
		background-position: 80% center;
	}
}

@keyframes fade-in-up {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	header.site-header,
	main,
	.site-logo,
	ul#nav li a,
	ul#nav li a::after,
	.buy-buttons a,
	.author-card,
	.photo img {
		animation: none !important;
		transition: none !important;
	}
}

/* Responsive breakpoints */

@media (max-width: 700px) {
	.intro {
		flex-direction: column;
	}

	.cover-column {
		flex: 0 0 auto;
		width: 200px;
		margin: 0 auto;
	}
}

@media (max-width: 420px) {
	.site-logo {
		max-width: 260px;
	}

	ul#nav li {
		flex: 1 1 50%;
	}

	main {
		padding: 20px 14px 32px;
	}
}
