:root {
	--sd-navy: #121d2b;
	--sd-navy-soft: #1b293a;
	--sd-ink: #16191d;
	--sd-muted: #737b83;
	--sd-line: #e4e7e8;
	--sd-surface: #f3f4f4;
	--sd-white: #fff;
	--sd-lime: #c9ef16;
	--sd-lime-deep: #8bd51d;
	--sd-teal: #009d9a;
	--sd-blue: #026c9d;
	--sd-shell: 1200px;
	--sd-narrow: 790px;
	--sd-radius: 2px;
	--sd-shadow: 0 18px 45px rgba(18, 29, 43, 0.13);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--sd-white);
	color: var(--sd-ink);
	font-family: Inter, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

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

a {
	color: var(--sd-teal);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	color: var(--sd-blue);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.55em;
	color: var(--sd-ink);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

h1 {
	font-size: clamp(2.65rem, 6vw, 5.8rem);
}

h2 {
	font-size: clamp(2rem, 3.3vw, 3.35rem);
}

h3 {
	font-size: clamp(1.15rem, 1.5vw, 1.45rem);
}

p {
	margin: 0 0 1.35em;
}

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

input,
textarea,
select {
	max-width: 100%;
	border: 1px solid var(--sd-line);
	border-radius: 0;
	background: #f5f6f6;
	padding: 0.85rem 1rem;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--sd-teal);
	outline: 2px solid rgba(0, 157, 154, 0.18);
}

.site-shell,
.site-shell-narrow {
	width: min(calc(100% - 3rem), var(--sd-shell));
	margin-inline: auto;
}

.site-shell-narrow {
	max-width: var(--sd-narrow);
}

.section-pad {
	padding-block: clamp(5rem, 9vw, 9rem);
}

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

.screen-reader-text:focus,
.skip-link:focus {
	top: 1rem;
	left: 1rem;
	z-index: 99999;
	display: block;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	padding: 0.8rem 1rem;
	background: var(--sd-white);
	color: var(--sd-navy);
}

.button,
button[type="submit"],
input[type="submit"],
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border: 0;
	border-radius: var(--sd-radius);
	background: var(--sd-lime);
	color: var(--sd-navy);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	padding: 1rem 1.35rem;
	cursor: pointer;
	transition: background 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible,
button[type="submit"]:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background: #dcff32;
	color: var(--sd-navy);
	transform: translateY(-2px);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--sd-teal);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

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

.text-link:hover::after,
.text-link:focus-visible::after {
	transform: translateX(4px);
}

/* Header */
.site-header {
	position: relative;
	z-index: 30;
	background: var(--sd-navy);
	color: var(--sd-white);
}

.home .site-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: transparent;
}

.site-header__inner {
	display: grid;
	grid-template-columns: minmax(210px, 1fr) auto auto;
	align-items: center;
	gap: 2.25rem;
	min-height: 104px;
}

.site-branding,
.site-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	width: auto;
	max-width: 260px;
	max-height: 58px;
}

.brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--sd-white);
	text-decoration: none;
	text-transform: uppercase;
}

.brand-lockup:hover,
.brand-lockup:focus-visible {
	color: var(--sd-white);
}

.brand-mark {
	width: 34px;
	height: 34px;
	color: var(--sd-lime);
	flex: 0 0 auto;
}

.brand-name {
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.brand-name span {
	color: var(--sd-lime);
}

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

.primary-navigation > ul > li {
	position: relative;
}

.primary-navigation .sub-menu {
	position: absolute;
	top: calc(100% + 1.15rem);
	left: 50%;
	min-width: 250px;
	visibility: hidden;
	list-style: none;
	margin: 0;
	border-top: 3px solid var(--sd-lime);
	background: var(--sd-navy);
	box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
	opacity: 0;
	padding: 0.65rem;
	transform: translate(-50%, 10px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.primary-navigation .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 100%;
	width: 100%;
	height: 1.2rem;
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translate(-50%, 0);
}

.primary-navigation .sub-menu a {
	display: block;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.76rem;
	padding: 0.65rem 0.8rem;
	white-space: nowrap;
}

.primary-navigation a {
	position: relative;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.82rem;
	font-weight: 650;
	text-decoration: none;
}

.primary-navigation a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.45rem;
	width: 100%;
	height: 2px;
	background: var(--sd-lime);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 160ms ease;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible,
.primary-navigation .current-menu-item > a {
	color: var(--sd-white);
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after,
.primary-navigation .current-menu-item > a::after {
	transform: scaleX(1);
}

.header-socials {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.header-socials a {
	display: grid;
	place-items: center;
	width: 25px;
	height: 25px;
	border: 1px solid rgba(255, 255, 255, 0.36);
	border-radius: 50%;
	color: var(--sd-white);
	font-size: 0.65rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 0.7rem;
	border: 0;
	background: transparent;
	color: var(--sd-white);
	padding: 0.5rem 0;
}

.menu-toggle__label {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.menu-toggle__lines {
	display: grid;
	gap: 4px;
	width: 24px;
}

.menu-toggle__lines i {
	display: block;
	height: 2px;
	background: currentColor;
	transition: transform 160ms ease, opacity 160ms ease;
}

/* Homepage hero */
.home-hero {
	position: relative;
	display: grid;
	min-height: clamp(670px, 72vw, 920px);
	overflow: hidden;
	background:
		linear-gradient(110deg, rgba(18, 29, 43, 0.35), rgba(18, 29, 43, 0.02)),
		linear-gradient(135deg, #75828b 0%, #aab3b7 42%, #293746 100%);
	background-position: center;
	background-size: cover;
	color: var(--sd-white);
}

.home-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 20, 30, 0.35), rgba(10, 20, 30, 0.03) 48%, rgba(10, 20, 30, 0.14));
}

.home-hero__content {
	position: relative;
	z-index: 4;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	padding-top: 8rem;
	padding-bottom: 4rem;
	text-align: center;
}

.home-hero__content h1,
.home-hero__content p {
	width: min(63%, 780px);
	color: var(--sd-white);
}

.home-hero__content h1 {
	font-size: clamp(3rem, 6.1vw, 6rem);
	letter-spacing: -0.045em;
	text-transform: uppercase;
	text-shadow: 0 3px 28px rgba(18, 29, 43, 0.18);
}

.home-hero__content p {
	max-width: 600px;
	margin-top: 0.8rem;
	margin-right: min(6%, 80px);
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(0.95rem, 1.3vw, 1.12rem);
}

.ribbon-field {
	pointer-events: none;
}

.ribbon-field--hero {
	position: absolute;
	z-index: 2;
	inset: 0;
}

.ribbon {
	position: absolute;
	display: block;
	border-radius: 999px;
	transform: rotate(34deg);
}

.ribbon-field--hero .ribbon--lime {
	top: -25%;
	right: -3%;
	width: 28%;
	height: 128%;
	background: linear-gradient(140deg, #edff29, #87d81a 64%, #00a184);
	opacity: 0.92;
}

.ribbon-field--hero .ribbon--teal {
	right: -4%;
	bottom: -63%;
	width: 25%;
	height: 104%;
	background: linear-gradient(135deg, var(--sd-teal), #007c91);
	transform: rotate(49deg);
}

.ribbon-field--hero .ribbon--navy {
	left: 38%;
	bottom: -74%;
	width: 18%;
	height: 106%;
	background: linear-gradient(180deg, var(--sd-navy), #073f54);
	transform: rotate(42deg);
}

/* About */
.home-about {
	background: var(--sd-surface);
}

.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.84fr);
	align-items: center;
	gap: clamp(4rem, 9vw, 9rem);
}

.about-copy {
	padding-left: clamp(0rem, 3vw, 2.5rem);
}

.about-copy h2 {
	font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.about-copy p {
	color: var(--sd-muted);
}

.about-portraits {
	position: relative;
	min-height: 520px;
}

.portrait {
	position: absolute;
	overflow: hidden;
	background: #dfe3e4;
	box-shadow: var(--sd-shadow);
}

.portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portrait--main {
	left: 0;
	bottom: 0;
	z-index: 2;
	width: 72%;
	height: 86%;
}

.portrait--main > span {
	display: grid;
	place-items: center;
	height: 100%;
	padding: 2rem;
	color: #80888c;
	font-size: 0.8rem;
	text-align: center;
}

.portrait--main .portrait-placeholder {
	position: relative;
	display: block;
	background:
		linear-gradient(38deg, transparent 49%, rgba(201, 239, 22, 0.95) 50%, rgba(0, 157, 154, 0.88) 69%, transparent 70%),
		linear-gradient(145deg, #dfe4e5, #aab4b8);
}

.portrait--main .portrait-placeholder::after {
	content: "";
	position: absolute;
	right: 10%;
	bottom: 8%;
	width: 42%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: rgba(18, 29, 43, 0.88);
}

.portrait--secondary {
	top: 0;
	right: 0;
	width: 61%;
	height: 70%;
	background: linear-gradient(135deg, #4a555d, #d3d8d9);
}

/* Section headings */
.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-heading h2 {
	margin: 0;
	font-size: clamp(2rem, 3.1vw, 3rem);
}

.section-heading p {
	max-width: 610px;
	margin: 0.65rem 0 0;
	color: rgba(255, 255, 255, 0.6);
}

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

/* Resources */
.home-resources {
	background: var(--sd-white);
}

.resource-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2.2vw, 2rem);
}

.resource-card__image {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #eff1f1;
	text-decoration: none;
}

.resource-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: filter 180ms ease, transform 260ms ease;
}

.resource-card__image > span:not(.book-placeholder) {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	background: var(--sd-lime);
	color: var(--sd-navy);
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.07em;
	padding: 0.85rem 1.15rem;
	text-transform: uppercase;
	transform: translate(-50%, -40%);
	opacity: 0;
	transition: opacity 180ms ease, transform 180ms ease;
}

.resource-card__image:hover img,
.resource-card__image:focus-visible img {
	filter: brightness(0.72);
	transform: scale(1.035);
}

.resource-card__image:hover > span,
.resource-card__image:focus-visible > span {
	opacity: 1;
	transform: translate(-50%, -50%);
}

.resource-card__meta {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1rem;
	padding-top: 1rem;
}

.resource-card__meta h3 {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.25;
}

.resource-card__meta a {
	color: var(--sd-ink);
	text-decoration: none;
}

.resource-card__price {
	color: var(--sd-teal);
	font-size: 0.86rem;
	font-weight: 800;
}

.book-placeholder {
	position: absolute;
	top: 16%;
	left: 20%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 46%;
	height: 69%;
	border: 1px solid #d4d8da;
	background: #fff;
	box-shadow: 16px 14px 0 #d8dcdd;
	color: var(--sd-navy);
	padding: 1.15rem;
}

.book-placeholder b {
	font-size: clamp(0.8rem, 1.3vw, 1.15rem);
	line-height: 1;
}

.book-placeholder small {
	color: var(--sd-muted);
	font-size: 0.55rem;
	line-height: 1.25;
}

/* Categories */
.home-categories {
	position: relative;
	overflow: hidden;
	background: var(--sd-navy);
}

.home-categories .site-shell {
	position: relative;
	z-index: 3;
}

.ribbon-field--categories {
	position: absolute;
	inset: 0;
}

.ribbon-field--categories .ribbon--lime {
	right: -10%;
	bottom: -70%;
	width: 25%;
	height: 140%;
	background: linear-gradient(145deg, var(--sd-lime), var(--sd-teal));
	transform: rotate(43deg);
}

.ribbon-field--categories .ribbon--teal {
	left: -13%;
	top: -67%;
	width: 18%;
	height: 120%;
	background: linear-gradient(145deg, #b7eb1e, var(--sd-teal), #05608b);
	transform: rotate(45deg);
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.35rem;
}

.category-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 135px;
	overflow: hidden;
	background:
		linear-gradient(130deg, rgba(18, 29, 43, 0.62), rgba(18, 29, 43, 0.78)),
		linear-gradient(135deg, #40505c, #1b293a);
	background-position: center;
	background-size: cover;
	color: var(--sd-white);
	text-align: center;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 27%;
	width: 34px;
	height: 3px;
	background: var(--sd-lime);
	transform: translateX(-50%);
}

.category-card:hover,
.category-card:focus-visible {
	color: var(--sd-white);
	transform: translateY(-4px);
	box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.category-card__name {
	position: relative;
	z-index: 1;
	font-size: 1rem;
	font-weight: 800;
}

.category-card__count {
	position: relative;
	z-index: 1;
	margin-top: 1.1rem;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Article cards */
.home-articles,
.listing-page {
	background: var(--sd-surface);
}

.article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.6vw, 2.5rem);
}

.article-card {
	background: var(--sd-white);
	box-shadow: 0 8px 24px rgba(18, 29, 43, 0.035);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sd-shadow);
}

.article-card__image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #dce1e2, #adb7bb);
}

.article-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.article-card:hover .article-card__image img {
	transform: scale(1.035);
}

.article-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(35deg, transparent 54%, rgba(201, 239, 22, 0.85) 55%, rgba(0, 157, 154, 0.9) 72%, transparent 73%),
		linear-gradient(135deg, #d6dcde, #a5afb3);
}

.article-card__body {
	padding: clamp(1.25rem, 2.5vw, 2rem);
}

.article-card h3 {
	margin-top: 0.35rem;
}

.article-card h3 a {
	color: var(--sd-ink);
	text-decoration: none;
}

.article-card__excerpt {
	color: var(--sd-muted);
	font-size: 0.92rem;
}

.article-card__excerpt p {
	margin-bottom: 1.25rem;
}

.entry-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.entry-categories a {
	color: var(--sd-teal);
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

/* Lead magnet */
.home-lead {
	background: var(--sd-white);
}

.lead-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
	align-items: center;
	gap: clamp(4rem, 9vw, 8rem);
}

.lead-art {
	display: grid;
	place-items: center;
	min-height: 480px;
	perspective: 1200px;
}

.lead-art img {
	max-height: 520px;
	filter: drop-shadow(0 28px 24px rgba(18, 29, 43, 0.24));
	transform: rotate(-5deg);
}

.lead-cover-placeholder {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: min(330px, 72%);
	aspect-ratio: 0.72;
	background:
		linear-gradient(42deg, transparent 44%, var(--sd-teal) 45%, var(--sd-blue) 63%, transparent 64%),
		linear-gradient(140deg, transparent 40%, var(--sd-lime) 41%, var(--sd-lime-deep) 65%, transparent 66%),
		var(--sd-navy);
	box-shadow: 22px 24px 0 #f1f2f2, 36px 38px 0 #e0e3e4, var(--sd-shadow);
	color: var(--sd-white);
	padding: 3rem 2.25rem 2rem;
	transform: rotate(-5deg);
}

.lead-cover-placeholder > span {
	position: relative;
	z-index: 2;
	max-width: 11ch;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.05;
}

.lead-cover-placeholder .brand-mark {
	position: relative;
	z-index: 2;
	align-self: flex-end;
	color: var(--sd-white);
}

.lead-copy {
	max-width: 530px;
}

.lead-copy p {
	color: var(--sd-muted);
}

.lead-form form,
.lead-form .wpcf7-form {
	display: grid;
	gap: 0.75rem;
}

.lead-form p {
	margin: 0;
}

.lead-form input:not([type="submit"]) {
	width: 100%;
}

/* Footer */
.site-footer {
	position: relative;
	overflow: hidden;
	background: var(--sd-navy);
	color: rgba(255, 255, 255, 0.62);
}

.site-footer__ribbons::before,
.site-footer__ribbons::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	pointer-events: none;
}

.site-footer__ribbons::before {
	right: -7%;
	top: -82%;
	width: 25%;
	height: 180%;
	background: linear-gradient(155deg, var(--sd-lime), var(--sd-teal) 58%, var(--sd-blue));
	transform: rotate(42deg);
}

.site-footer__ribbons::after {
	left: -11%;
	top: -81%;
	width: 16%;
	height: 145%;
	background: linear-gradient(155deg, var(--sd-lime), var(--sd-teal), var(--sd-blue));
	transform: rotate(42deg);
}

.site-footer__main {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.35fr 0.7fr 0.7fr;
	gap: clamp(3rem, 8vw, 7rem);
	padding-block: clamp(5rem, 8vw, 8rem);
}

.footer-brand .brand-lockup {
	margin-bottom: 2.5rem;
}

.footer-socials {
	display: flex;
	gap: 1rem;
}

.footer-socials a,
.footer-menu a,
.site-footer__legal a {
	color: rgba(255, 255, 255, 0.64);
	font-size: 0.78rem;
	text-decoration: none;
}

.footer-socials a:hover,
.footer-menu a:hover,
.site-footer__legal a:hover {
	color: var(--sd-white);
}

.footer-menu h2 {
	color: var(--sd-white);
	font-size: 0.77rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li + li {
	margin-top: 0.45rem;
}

.site-footer__legal {
	position: relative;
	z-index: 2;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__legal .site-shell {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	padding-block: 1.15rem;
}

.site-footer__legal p {
	margin: 0;
	font-size: 0.66rem;
}

/* Listing and content pages */
.page-header {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.page-header h1 {
	font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.archive-description {
	max-width: 680px;
	color: var(--sd-muted);
}

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

.navigation.pagination {
	margin-top: 4rem;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	border: 1px solid var(--sd-line);
	background: var(--sd-white);
	color: var(--sd-ink);
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	border-color: var(--sd-lime);
	background: var(--sd-lime);
}

.single-hero {
	background: var(--sd-navy);
	color: var(--sd-white);
	padding-block: clamp(5rem, 9vw, 9rem);
}

.single-hero__inner {
	max-width: 990px;
	text-align: center;
}

.single-hero h1 {
	max-width: 1000px;
	margin: 0.3em auto;
	color: var(--sd-white);
	font-size: clamp(2.7rem, 6vw, 5.7rem);
}

.single-hero .entry-categories {
	justify-content: center;
}

.entry-meta {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.single-featured {
	max-width: 1050px;
	margin-top: clamp(-4rem, -5vw, -2rem);
}

.single-featured img,
.page-featured img {
	width: 100%;
	box-shadow: var(--sd-shadow);
}

.entry-content {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.8em;
}

.entry-content a {
	font-weight: 650;
}

.entry-content pre,
.entry-content code {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.entry-content code {
	border-radius: 3px;
	background: #edf0f0;
	font-size: 0.88em;
	padding: 0.12em 0.3em;
}

.entry-content pre {
	overflow-x: auto;
	border-left: 4px solid var(--sd-lime);
	background: var(--sd-navy);
	color: #e9f0f1;
	font-size: 0.86rem;
	line-height: 1.6;
	padding: 1.5rem;
}

.entry-content pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}

.entry-content blockquote {
	margin: 2.5rem 0;
	border-left: 5px solid var(--sd-lime);
	background: var(--sd-surface);
	font-size: 1.22rem;
	font-weight: 650;
	padding: 1.5rem 2rem;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--sd-line);
	padding: 0.75rem;
	text-align: left;
}

.entry-footer {
	padding-bottom: 2rem;
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.post-tags a {
	background: var(--sd-surface);
	color: var(--sd-muted);
	font-size: 0.72rem;
	font-weight: 700;
	padding: 0.35rem 0.65rem;
	text-decoration: none;
}

.post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	border-top: 1px solid var(--sd-line);
	padding-block: 2.5rem 5rem;
}

.post-navigation > div:last-child {
	text-align: right;
}

.post-navigation a {
	color: var(--sd-ink);
	font-weight: 800;
	text-decoration: none;
}

.post-navigation span {
	display: block;
	margin-bottom: 0.3rem;
	color: var(--sd-muted);
	font-size: 0.65rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.standard-page,
.error-page,
.shop-page {
	min-height: 60vh;
}

.standard-page .entry-content {
	padding-top: 0;
}

.empty-state {
	max-width: 680px;
	text-align: center;
	margin-inline: auto;
}

.empty-state .search-form {
	display: flex;
	justify-content: center;
	margin: 2rem 0;
}

.empty-state .search-field {
	min-width: min(380px, 70vw);
}

.error-code {
	margin: 0;
	color: var(--sd-teal);
	font-size: clamp(5rem, 16vw, 12rem);
	font-weight: 900;
	line-height: 0.9;
}

.comments-area {
	border-top: 1px solid var(--sd-line);
	padding-block: 3rem 6rem;
}

.comment-list {
	padding-left: 1.2rem;
}

/* WooCommerce refinement */
.woocommerce .woocommerce-breadcrumb {
	color: var(--sd-muted);
	font-size: 0.78rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--sd-ink);
	font-size: 1rem;
}

.woocommerce ul.products li.product .price {
	color: var(--sd-teal);
	font-weight: 800;
}

.woocommerce span.onsale {
	background: var(--sd-lime);
	color: var(--sd-navy);
}

@media (max-width: 980px) {
	.site-header__inner {
		grid-template-columns: 1fr auto;
	}

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

	.header-socials {
		display: none;
	}

	.primary-navigation {
		position: fixed;
		top: 0;
		right: 0;
		z-index: -1;
		display: flex;
		align-items: center;
		justify-content: center;
		width: min(86vw, 430px);
		height: 100dvh;
		background: var(--sd-navy);
		box-shadow: -20px 0 55px rgba(0, 0, 0, 0.2);
		overflow-y: auto;
		padding: 6rem 2rem 3rem;
		transform: translateX(110%);
		transition: transform 220ms ease;
	}

	.primary-navigation.is-open {
		z-index: 20;
		transform: translateX(0);
	}

	.primary-navigation > ul {
		flex-direction: column;
		gap: 1.4rem;
		text-align: center;
	}

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

	.primary-navigation .sub-menu {
		position: static;
		display: grid;
		min-width: 0;
		visibility: visible;
		gap: 0.2rem;
		margin-top: 0.55rem;
		border: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		padding: 0;
		transform: none;
	}

	.primary-navigation .sub-menu::before {
		display: none;
	}

	.primary-navigation .sub-menu a {
		color: rgba(255, 255, 255, 0.62);
		font-size: 0.9rem;
		padding: 0.35rem 0;
		white-space: normal;
	}

	.menu-toggle {
		position: relative;
		z-index: 25;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	.home-hero__content h1,
	.home-hero__content p {
		width: min(78%, 690px);
	}

	.about-grid,
	.lead-grid {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}

	.about-portraits {
		min-height: 430px;
	}

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

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

	.site-footer__main {
		grid-template-columns: 1.2fr 1fr 1fr;
		gap: 2.5rem;
	}
}

@media (max-width: 720px) {
	body {
		font-size: 16px;
	}

	.site-shell,
	.site-shell-narrow {
		width: min(calc(100% - 2rem), var(--sd-shell));
	}

	.site-header__inner {
		min-height: 82px;
	}

	.custom-logo {
		max-width: 205px;
		max-height: 44px;
	}

	.home-hero {
		min-height: 710px;
		background-position: 34% center;
	}

	.home-hero__content {
		align-items: flex-start;
		justify-content: flex-end;
		padding-bottom: 6rem;
		text-align: left;
	}

	.home-hero__content h1,
	.home-hero__content p {
		width: 100%;
	}

	.home-hero__content h1 {
		font-size: clamp(2.65rem, 12vw, 4.5rem);
	}

	.home-hero__content p {
		max-width: 500px;
		margin-right: 0;
	}

	.ribbon-field--hero .ribbon--lime {
		top: -14%;
		right: -25%;
		width: 46%;
		height: 103%;
		opacity: 0.76;
	}

	.ribbon-field--hero .ribbon--teal {
		right: -30%;
		bottom: -42%;
		width: 40%;
	}

	.about-grid,
	.lead-grid {
		grid-template-columns: 1fr;
	}

	.about-copy {
		padding-left: 0;
	}

	.about-portraits {
		min-height: 500px;
		order: -1;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 1rem;
	}

	.article-grid,
	.article-grid--archive {
		grid-template-columns: 1fr;
	}

	.resource-grid {
		gap: 2rem 1rem;
	}

	.category-grid {
		grid-template-columns: 1fr;
	}

	.category-card {
		min-height: 150px;
	}

	.lead-art {
		min-height: 420px;
	}

	.lead-copy {
		text-align: center;
		margin-inline: auto;
	}

	.site-footer__main {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.site-footer__legal .site-shell {
		align-items: center;
		flex-direction: column;
		gap: 0.3rem;
		text-align: center;
	}

	.single-hero h1 {
		font-size: clamp(2.4rem, 11vw, 4.3rem);
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}

	.post-navigation > div:last-child {
		text-align: left;
	}
}

@media (max-width: 470px) {
	.brand-mark {
		width: 28px;
		height: 28px;
	}

	.brand-name {
		font-size: 0.86rem;
	}

	.menu-toggle__label {
		display: none;
	}

	.resource-grid {
		grid-template-columns: 1fr;
	}

	.resource-card {
		width: 100%;
		max-width: 360px;
		margin-inline: auto;
	}

	.about-portraits {
		min-height: 390px;
	}

	.lead-cover-placeholder {
		width: 70%;
		padding: 2.2rem 1.5rem 1.5rem;
	}

	.site-footer__main {
		grid-template-columns: 1fr;
	}

	.footer-brand {
		grid-column: auto;
	}
}

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