/*
Theme Name: Sacred Soul
Author: StretchWP
Author URI: https://stretchwp.ca
Description: A warm, luminous classic WordPress theme for Shelley Baker and Your Sacred Soul.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sacred-soul
*/

:root {
	--plum: #6c3a5a;
	--plum-deep: #4e2a42;
	--mauve: #a96b8e;
	--cream: #f8f3ec;
	--ivory: #fcfaf6;
	--gold: #c9a24b;
	--sage: #8fa98c;
	--ink: #2c2430;
	--muted: #6e6472;
	--plum-rgb: 108 58 90;
	--plum-deep-rgb: 78 42 66;
	--mauve-rgb: 169 107 142;
	--gold-rgb: 201 162 75;
	--sage-rgb: 143 169 140;
	--cream-rgb: 248 243 236;
	--ivory-rgb: 252 250 246;
	--ink-rgb: 44 36 48;
	--font-display: "Cormorant Garamond", Georgia, serif;
	--font-body: "Nunito Sans", Arial, sans-serif;
	--shadow-soft: 0 22px 55px rgb(var(--plum-deep-rgb) / 0.14);
	--shadow-card: 0 16px 40px rgb(var(--plum-deep-rgb) / 0.1);
	--radius-sm: 14px;
	--radius-md: 18px;
	--radius-lg: 20px;
	--container: 1180px;
	--header-height: 86px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at top left, rgb(var(--gold-rgb) / 0.13), transparent 34rem),
		linear-gradient(180deg, var(--cream), var(--ivory) 44rem);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
}

body.nav-open {
	overflow: hidden;
}

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

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

a {
	color: var(--plum);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.24em;
}

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

p {
	margin: 0 0 1.15rem;
}

p:last-child {
	margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 1rem;
	color: var(--plum-deep);
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 0.98;
	text-wrap: balance;
}

h1 {
	font-size: clamp(3.4rem, 11vw, 7.5rem);
}

h2 {
	font-size: clamp(2.55rem, 6vw, 5rem);
}

h3 {
	font-size: clamp(1.75rem, 3vw, 2.45rem);
}

strong {
	color: var(--plum-deep);
	font-weight: 700;
}

::selection {
	background: rgb(var(--gold-rgb) / 0.35);
	color: var(--plum-deep);
}

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 4px;
}

.screen-reader-text {
	position: absolute;
	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 {
	top: 1rem;
	left: 1rem;
	z-index: 10000;
	display: block;
	width: auto;
	height: auto;
	padding: 0.7rem 1rem;
	clip: auto;
	background: var(--ivory);
	color: var(--plum-deep);
	border: 1px solid var(--gold);
	border-radius: 999px;
	box-shadow: var(--shadow-card);
}

.site-main {
	overflow: hidden;
}

.section {
	position: relative;
	padding: clamp(4.5rem, 8vw, 7.5rem) 1.25rem;
}

.section--cream {
	background: var(--cream);
}

.section--ivory {
	background: var(--ivory);
}

.section__inner {
	width: min(100%, var(--container));
	margin: 0 auto;
}

.section-heading {
	max-width: 780px;
	margin-bottom: clamp(2rem, 5vw, 3.75rem);
}

.section-heading--split {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: none;
}

.section-heading h2 {
	margin-bottom: 0;
}

.eyebrow,
.resource-card__eyebrow {
	margin: 0 0 0.9rem;
	color: var(--plum);
	font-family: var(--font-body);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	line-height: 1.2;
	text-transform: uppercase;
}

.button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.2rem;
	padding: 0.88rem 1.35rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.wp-block-button__link:hover {
	transform: translateY(-2px);
}

.button--gold,
.wp-block-button__link {
	background: var(--gold);
	color: var(--plum-deep);
	box-shadow: 0 14px 30px rgb(var(--gold-rgb) / 0.25);
}

.button--gold:hover,
.wp-block-button__link:hover {
	background: #d8b65d;
	color: var(--plum-deep);
}

.button--ghost {
	border-color: rgb(var(--ivory-rgb) / 0.65);
	background: rgb(var(--ivory-rgb) / 0.08);
	color: var(--ivory);
	backdrop-filter: blur(10px);
}

.button--ghost:hover {
	background: rgb(var(--ivory-rgb) / 0.16);
	color: var(--ivory);
}

.button--outline {
	border-color: rgb(var(--plum-rgb) / 0.28);
	background: transparent;
	color: var(--plum);
}

.button--outline:hover {
	background: rgb(var(--plum-rgb) / 0.08);
	color: var(--plum-deep);
}

.button--full {
	width: 100%;
}

.text-link,
.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--plum);
	font-weight: 700;
	text-decoration: none;
}

.text-link::after {
	content: "";
	width: 2rem;
	height: 1px;
	background: var(--gold);
	transition: width 180ms ease;
}

.text-link:hover::after {
	width: 2.65rem;
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	color: var(--ink);
	transition: background-color 220ms ease, box-shadow 220ms ease, color 220ms ease, border-color 220ms ease;
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(100% - 2rem, calc(var(--container) + 2rem));
	min-height: var(--header-height);
	margin: 0 auto;
}

.site-header.is-scrolled,
.site-header:not(.site-header--transparent) {
	background: rgb(var(--cream-rgb) / 0.94);
	border-bottom: 1px solid rgb(var(--plum-rgb) / 0.1);
	box-shadow: 0 14px 35px rgb(var(--plum-deep-rgb) / 0.08);
	backdrop-filter: blur(18px);
}

.site-header--transparent:not(.is-scrolled) {
	color: var(--ivory);
}

.site-brand img,
.custom-logo {
	width: 70px;
	height: 70px;
	object-fit: contain;
	border-radius: 999px;
}

.site-brand__fallback,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	text-decoration: none;
}

.primary-nav {
	display: none;
}

.primary-menu,
.mobile-menu,
.footer-menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 1.75rem);
}

.primary-menu a {
	color: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
	color: var(--gold);
}

.site-header.is-scrolled .primary-menu a:hover,
.site-header.is-scrolled .primary-menu .current-menu-item > a,
.site-header.is-scrolled .primary-menu .current_page_item > a {
	color: var(--plum);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.site-header__cta {
	display: none;
}

.menu-toggle {
	display: inline-grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: rgb(var(--ivory-rgb) / 0.14);
	color: inherit;
	cursor: pointer;
}

.menu-toggle__bar {
	width: 1.1rem;
	height: 2px;
	margin: 2px 0;
	background: currentColor;
	border-radius: 999px;
	transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.mobile-drawer {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 1rem;
	left: 1rem;
	padding: 1rem;
	background: var(--ivory);
	border: 1px solid rgb(var(--plum-rgb) / 0.14);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	color: var(--ink);
}

.mobile-drawer[hidden] {
	display: none;
}

.mobile-menu {
	display: grid;
	gap: 0.25rem;
	margin-bottom: 1rem;
}

.mobile-menu a {
	display: block;
	padding: 0.85rem 0.7rem;
	border-radius: var(--radius-sm);
	color: var(--plum-deep);
	font-weight: 700;
	text-decoration: none;
}

.mobile-menu a:hover,
.mobile-menu .current-menu-item > a,
.mobile-menu .current_page_item > a {
	background: rgb(var(--sage-rgb) / 0.14);
	color: var(--plum);
}

/* Hero */
.home-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 92svh;
	padding: calc(var(--header-height) + 3rem) 1.25rem 4rem;
	background-position: center;
	background-size: cover;
	color: var(--ivory);
	isolation: isolate;
}

.home-hero::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	height: 28%;
	background: linear-gradient(180deg, transparent, var(--cream));
}

.home-hero__wash {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(90deg, rgb(var(--plum-deep-rgb) / 0.95), rgb(var(--plum-deep-rgb) / 0.82) 42%, rgb(var(--plum-rgb) / 0.60) 72%, rgb(var(--plum-rgb) / 0.45) 100%),
		linear-gradient(0deg, rgb(var(--plum-deep-rgb) / 0.60), transparent 46%),
		radial-gradient(circle at 18% 30%, rgb(var(--gold-rgb) / 0.20), transparent 24rem);
}

.home-hero__inner {
	width: min(100%, var(--container));
	margin: 0 auto;
}

.home-hero .eyebrow {
	color: var(--gold);
}

.home-hero h1 {
	max-width: 15ch;
	margin-bottom: 1.15rem;
	color: var(--ivory);
	font-size: clamp(2.6rem, 5.4vw, 4.7rem);
	line-height: 1.06;
	text-shadow: 0 2px 28px rgb(var(--plum-deep-rgb) / 0.65);
}

.home-hero__copy {
	max-width: 620px;
	color: rgb(var(--ivory-rgb) / 0.92);
	font-size: clamp(1.08rem, 2vw, 1.35rem);
	text-shadow: 0 1px 14px rgb(var(--plum-deep-rgb) / 0.55);
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2rem;
}

/* Welcome */
.welcome-section {
	background:
		linear-gradient(135deg, rgb(var(--sage-rgb) / 0.16), transparent 30rem),
		var(--cream);
}

.welcome-grid {
	display: grid;
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}

.welcome-copy {
	max-width: 700px;
}

.welcome-copy h2 {
	font-size: clamp(2.45rem, 5vw, 4.4rem);
}

.prose {
	max-width: 68ch;
	color: var(--muted);
	font-size: 1.05rem;
}

.welcome-figure {
	position: relative;
	margin: 0;
}

.welcome-figure::before {
	content: "";
	position: absolute;
	inset: 1rem -1rem -1rem 1rem;
	border: 1px solid rgb(var(--gold-rgb) / 0.55);
	border-radius: var(--radius-lg);
}

.welcome-figure > img:first-child {
	position: relative;
	width: min(100%, 520px);
	max-height: 620px;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
}

.welcome-figure__mark {
	position: absolute;
	right: -0.9rem;
	bottom: 2.1rem;
	width: 88px;
	border-radius: 999px;
	box-shadow: 0 14px 30px rgb(var(--plum-deep-rgb) / 0.16);
}

/* E-book */
.ebook-section {
	background:
		radial-gradient(circle at 12% 0%, rgb(var(--gold-rgb) / 0.18), transparent 25rem),
		var(--plum-deep);
}

.ebook-panel {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	padding: clamp(1.25rem, 4vw, 3rem);
	background:
		linear-gradient(135deg, rgb(var(--plum-rgb) / 0.92), rgb(var(--plum-deep-rgb) / 0.98)),
		var(--plum);
	border: 1px solid rgb(var(--gold-rgb) / 0.28);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	color: var(--ivory);
}

.ebook-panel__media {
	display: grid;
	place-items: center;
}

.ebook-panel__media img {
	width: min(100%, 360px);
	border-radius: var(--radius-md);
	box-shadow: 0 24px 55px rgb(0 0 0 / 0.24);
}

.ebook-panel .eyebrow,
.ebook-panel h2 {
	color: var(--gold);
}

.ebook-panel h2 {
	margin-bottom: 1rem;
	font-size: clamp(3rem, 7vw, 5.8rem);
}

.ebook-panel__content > p {
	max-width: 58ch;
	color: rgb(var(--ivory-rgb) / 0.86);
	font-size: 1.05rem;
}

.ebook-panel__instruction {
	font-weight: 700;
}

.sacred-form {
	display: grid;
	gap: 1rem;
	max-width: 560px;
	margin-top: 1.5rem;
}

.sacred-form__row {
	display: grid;
	gap: 0.35rem;
}

.sacred-form label {
	color: var(--ivory);
	font-size: 0.9rem;
	font-weight: 700;
}

.sacred-form input,
.search-form__field,
.entry-content input:not([type="submit"]),
.entry-content textarea,
.entry-content select {
	width: 100%;
	min-height: 3.2rem;
	padding: 0.85rem 1rem;
	background: rgb(var(--ivory-rgb) / 0.96);
	border: 1px solid rgb(var(--gold-rgb) / 0.36);
	border-radius: var(--radius-sm);
	color: var(--ink);
}

.sacred-form input:focus,
.search-form__field:focus,
.entry-content input:not([type="submit"]):focus,
.entry-content textarea:focus,
.entry-content select:focus {
	outline: 3px solid rgb(var(--gold-rgb) / 0.6);
	outline-offset: 2px;
}

.sacred-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-status {
	padding: 0.9rem 1rem;
	background: rgb(var(--sage-rgb) / 0.2);
	border: 1px solid rgb(var(--sage-rgb) / 0.42);
	border-radius: var(--radius-sm);
	color: var(--ivory);
	font-weight: 700;
}

.form-status[hidden] {
	display: none;
}

/* Growth and resources */
.growth-grid,
.resource-grid,
.post-grid {
	display: grid;
	gap: 1.15rem;
}

.growth-card,
.resource-card,
.post-card,
.empty-state {
	background: rgb(var(--ivory-rgb) / 0.82);
	border: 1px solid rgb(var(--plum-rgb) / 0.1);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

.growth-card,
.resource-card,
.empty-state {
	padding: clamp(1.25rem, 3vw, 2rem);
}

.growth-card {
	position: relative;
	min-height: 100%;
	background:
		linear-gradient(180deg, rgb(var(--sage-rgb) / 0.12), transparent 11rem),
		var(--ivory);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.growth-card:hover,
.resource-card:hover,
.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-soft);
}

.growth-card img {
	width: 58px;
	margin-bottom: 1.15rem;
	border-radius: 999px;
}

.growth-card h3,
.resource-card h3 {
	margin-bottom: 0.7rem;
	font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.growth-card p,
.resource-card p {
	color: var(--muted);
}

.resource-card {
	background:
		linear-gradient(145deg, rgb(var(--cream-rgb) / 0.92), rgb(var(--ivory-rgb) / 0.95)),
		var(--ivory);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.resource-card__eyebrow {
	color: var(--sage);
}

.arrow-link span {
	display: inline-block;
	transition: transform 180ms ease;
}

.arrow-link:hover span {
	transform: translateX(0.22rem);
}

/* Posts */
.blog-section {
	background:
		linear-gradient(180deg, rgb(var(--cream-rgb) / 1), rgb(var(--sage-rgb) / 0.1)),
		var(--cream);
}

.post-card {
	overflow: hidden;
	background: var(--ivory);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-card__media {
	display: block;
	aspect-ratio: 1.45 / 1;
	overflow: hidden;
	background: rgb(var(--sage-rgb) / 0.16);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.post-card:hover .post-card__media img {
	transform: scale(1.035);
}

.post-card__body {
	padding: 1.25rem;
}

.post-card time,
.single-article__header time {
	display: block;
	margin-bottom: 0.65rem;
	color: var(--mauve);
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
}

.post-card h2,
.post-card h3 {
	margin-bottom: 0.65rem;
	font-size: clamp(1.65rem, 3vw, 2.2rem);
	line-height: 1.05;
}

.post-card h2 a,
.post-card h3 a {
	color: var(--plum-deep);
	text-decoration: none;
}

.post-card h2 a:hover,
.post-card h3 a:hover {
	color: var(--plum);
}

.post-card p {
	color: var(--muted);
}

.post-card--compact .post-card__body {
	padding: 1.1rem;
}

/* Closing CTA */
.closing-cta {
	padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
	background:
		linear-gradient(135deg, var(--plum-deep), rgb(var(--plum-rgb) / 0.9) 48%, var(--cream));
}

.closing-cta__inner {
	display: grid;
	gap: 1.5rem;
	align-items: center;
	width: min(100%, var(--container));
	margin: 0 auto;
	color: var(--ivory);
}

.closing-cta img {
	width: 100%;
	aspect-ratio: 1.7 / 1;
	object-fit: cover;
	border-radius: var(--radius-lg);
	border: 1px solid rgb(var(--gold-rgb) / 0.28);
}

.closing-cta .eyebrow,
.closing-cta h2 {
	color: var(--gold);
}

.closing-cta h2 {
	margin-bottom: 0.4rem;
}

.closing-cta p:not(.eyebrow) {
	max-width: 52ch;
	color: rgb(var(--ivory-rgb) / 0.88);
}

/* Footer */
.site-footer {
	background:
		radial-gradient(circle at 10% 0%, rgb(var(--gold-rgb) / 0.16), transparent 25rem),
		var(--plum-deep);
	color: rgb(var(--ivory-rgb) / 0.86);
}

.site-footer__inner {
	display: grid;
	gap: 2rem;
	width: min(100% - 2.5rem, var(--container));
	margin: 0 auto;
	padding: clamp(3.5rem, 7vw, 5rem) 0 2.25rem;
}

.site-footer__brand p {
	max-width: 34ch;
}

.site-footer__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 92px;
	margin-bottom: 1.1rem;
	background: var(--ivory);
	border-radius: 999px;
}

.site-footer__logo img {
	width: 78px;
	height: 78px;
	object-fit: contain;
}

.site-footer a {
	color: var(--ivory);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--gold);
}

.site-footer__connect,
.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.1rem;
}

.site-footer__connect {
	margin-top: 1.25rem;
}

.site-footer__connect a,
.footer-menu a {
	font-weight: 700;
}

.site-footer__widgets {
	display: grid;
	gap: 1rem;
}

.footer-widget {
	color: rgb(var(--ivory-rgb) / 0.82);
}

.footer-widget__title {
	margin-bottom: 0.6rem;
	color: var(--gold);
	font-family: var(--font-body);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1.3;
	text-transform: uppercase;
}

.footer-widget ul {
	padding-left: 1.1rem;
	margin: 0;
}

.site-footer__bottom {
	border-top: 1px solid rgb(var(--ivory-rgb) / 0.13);
}

.site-footer__bottom p {
	width: min(100% - 2.5rem, var(--container));
	margin: 0 auto;
	padding: 1rem 0;
	color: rgb(var(--ivory-rgb) / 0.66);
	font-size: 0.9rem;
}

/* Pages and posts */
.page-hero {
	padding: calc(var(--header-height) + 4rem) 1.25rem 4rem;
	background:
		linear-gradient(135deg, rgb(var(--plum-rgb) / 0.12), rgb(var(--sage-rgb) / 0.2)),
		var(--cream);
	border-bottom: 1px solid rgb(var(--plum-rgb) / 0.09);
}

.page-hero--compact {
	padding-bottom: 3.25rem;
}

.page-hero__inner {
	width: min(100%, 960px);
	margin: 0 auto;
}

.page-hero h1 {
	margin-bottom: 0;
	font-size: clamp(3rem, 8vw, 6.2rem);
}

.page-hero__description {
	max-width: 68ch;
	color: var(--muted);
}

.archive-section {
	background: var(--ivory);
}

.post-grid--archive {
	margin-bottom: 2.5rem;
}

.navigation.pagination {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

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

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.55rem;
	min-height: 2.55rem;
	padding: 0.35rem 0.75rem;
	border: 1px solid rgb(var(--plum-rgb) / 0.14);
	border-radius: 999px;
	background: var(--ivory);
	color: var(--plum);
	font-weight: 700;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--plum);
	color: var(--ivory);
}

.single-article {
	padding: calc(var(--header-height) + 4rem) 1.25rem 2rem;
	background:
		linear-gradient(180deg, var(--cream), var(--ivory) 28rem),
		var(--ivory);
}

.single-article__header {
	width: min(100%, 840px);
	margin: 0 auto clamp(2rem, 5vw, 3.5rem);
	text-align: center;
}

.single-article__header h1 {
	font-size: clamp(3rem, 8vw, 6.5rem);
}

.single-article__image {
	width: min(100%, 980px);
	margin: 0 auto clamp(2rem, 5vw, 3.5rem);
}

.single-article__image img {
	width: 100%;
	max-height: 560px;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
}

.entry-content {
	width: min(100% - 2.5rem, 760px);
	margin: 0 auto;
	color: var(--ink);
	font-size: 1.06rem;
	line-height: 1.75;
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.4rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2.2rem;
	line-height: 1.08;
}

.entry-content h2 {
	font-size: clamp(2.25rem, 5vw, 3.7rem);
}

.entry-content h3 {
	font-size: clamp(1.75rem, 4vw, 2.7rem);
}

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

.entry-content blockquote {
	margin: 2rem 0;
	padding: 1.1rem 0 1.1rem 1.35rem;
	border-left: 3px solid var(--gold);
	color: var(--plum-deep);
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	line-height: 1.18;
}

.entry-content img {
	border-radius: var(--radius-md);
}

.entry-content .alignwide {
	width: min(100vw - 2.5rem, 1040px);
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
	border-radius: 0;
}

.page-content {
	padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
}

.post-navigation-soft {
	display: grid;
	gap: 1rem;
	width: min(100% - 2.5rem, 960px);
	margin: 1rem auto 4rem;
}

.post-navigation-soft > div {
	min-height: 100%;
	padding: 1.1rem;
	background: var(--cream);
	border: 1px solid rgb(var(--plum-rgb) / 0.1);
	border-radius: var(--radius-md);
}

.post-navigation-soft span {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--mauve);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
}

.post-navigation-soft a {
	color: var(--plum-deep);
	font-family: var(--font-display);
	font-size: 1.55rem;
	line-height: 1.1;
	text-decoration: none;
}

.post-navigation-soft a:hover {
	color: var(--plum);
}

.related-section {
	background: var(--cream);
}

.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	max-width: 680px;
}

.search-form__field {
	flex: 1 1 260px;
}

.search-form__submit {
	flex: 0 0 auto;
}

.empty-state {
	width: min(100%, 760px);
	color: var(--muted);
}

.empty-state h2 {
	font-size: clamp(2rem, 5vw, 3.5rem);
}

/* Reveal */
[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (min-width: 680px) {
	.growth-grid,
	.post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

	.post-navigation-soft {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

@media (min-width: 860px) {
	.primary-nav {
		display: block;
	}

	.site-header__cta {
		display: inline-flex;
	}

	.menu-toggle {
		display: none;
	}

	.mobile-drawer {
		display: none;
	}

	.welcome-grid,
	.ebook-panel,
	.closing-cta__inner {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
	}

	.ebook-panel__media {
		order: 2;
	}

	.ebook-panel__content {
		order: 1;
	}

	.closing-cta__inner {
		grid-template-columns: 280px minmax(0, 1fr) auto;
	}

	.site-footer__inner {
		grid-template-columns: 1.1fr 0.8fr 1.6fr;
		align-items: start;
	}

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

@media (min-width: 1020px) {
	.resource-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 859px) {
	:root {
		--header-height: 76px;
	}

	.admin-bar .site-header {
		top: 46px;
	}

	.site-header__inner {
		min-height: var(--header-height);
	}

	.site-brand img,
	.custom-logo {
		width: 58px;
		height: 58px;
	}

	.home-hero {
		min-height: 88svh;
		background-position: 56% center;
	}

	.home-hero__wash {
		background:
			linear-gradient(90deg, rgb(var(--plum-deep-rgb) / 0.9), rgb(var(--plum-rgb) / 0.62) 58%, rgb(var(--plum-rgb) / 0.22)),
			radial-gradient(circle at 18% 30%, rgb(var(--gold-rgb) / 0.22), transparent 18rem);
	}

	.section-heading--split {
		align-items: start;
		flex-direction: column;
	}

	.closing-cta__inner {
		text-align: left;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

@media (max-width: 520px) {
	body {
		font-size: 15px;
	}

	.section,
	.page-hero,
	.single-article {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.home-hero__actions,
	.search-form {
		align-items: stretch;
		flex-direction: column;
	}

	.button,
	.wp-block-button__link,
	.search-form__submit {
		width: 100%;
	}

	.welcome-figure::before {
		inset: 0.75rem -0.45rem -0.75rem 0.45rem;
	}

	.welcome-figure__mark {
		right: 0.65rem;
		bottom: 1rem;
		width: 70px;
	}

	.ebook-panel {
		margin-right: -0.2rem;
		margin-left: -0.2rem;
	}

	.entry-content {
		width: min(100%, 760px);
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* ============================================================
   Watch the Show — episodes (YouTube)
   ============================================================ */
.watch-section {
	background:
		radial-gradient(circle at 82% 0%, rgb(var(--gold-rgb) / 0.10), transparent 30rem),
		linear-gradient(180deg, var(--ivory), var(--cream));
}
.episode-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: clamp(1.1rem, 2.4vw, 1.8rem);
	margin-top: 2.5rem;
}
.episode-card {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	text-decoration: none;
	color: inherit;
}
.episode-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius-lg);
	box-shadow: 0 16px 38px rgb(var(--plum-deep-rgb) / 0.20);
	background: rgb(var(--plum-deep-rgb) / 0.10);
}
.episode-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.episode-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgb(var(--plum-deep-rgb) / 0.28));
	opacity: 0;
	transition: opacity 0.3s ease;
}
.episode-card__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 64px;
	height: 64px;
	border-radius: 999px;
	background: rgb(var(--ivory-rgb) / 0.92);
	box-shadow: 0 10px 30px rgb(var(--plum-deep-rgb) / 0.45);
	display: grid;
	place-items: center;
	transform: scale(0.82);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
}
.episode-card__play::before {
	content: "";
	margin-left: 4px;
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent rgb(var(--plum-rgb));
}
.episode-card:hover .episode-card__media img,
.episode-card:focus-visible .episode-card__media img { transform: scale(1.05); }
.episode-card:hover .episode-card__media::after,
.episode-card:focus-visible .episode-card__media::after { opacity: 1; }
.episode-card:hover .episode-card__play,
.episode-card:focus-visible .episode-card__play { transform: scale(1); opacity: 1; }
.episode-card__guest {
	font-family: var(--font-sans, inherit);
	font-size: 0.82rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgb(var(--plum-rgb));
	font-weight: 700;
}
/* Channel bar */
.channel-bar {
	display: flex;
	align-items: center;
	gap: 1.15rem;
	flex-wrap: wrap;
	margin-top: 3rem;
	padding: 1.1rem 1.4rem;
	border-radius: var(--radius-lg);
	background: linear-gradient(120deg, rgb(var(--plum-deep-rgb) / 0.06), rgb(var(--gold-rgb) / 0.08));
	border: 1px solid rgb(var(--plum-rgb) / 0.16);
}
.channel-bar__avatar {
	width: 66px;
	height: 66px;
	border-radius: 999px;
	object-fit: cover;
	box-shadow: 0 8px 22px rgb(var(--plum-deep-rgb) / 0.22);
}
.channel-bar__meta { display: flex; flex-direction: column; gap: 0.15rem; margin-right: auto; }
.channel-bar__meta strong { font-size: 1.05rem; color: var(--ink); }
.channel-bar__meta span { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 560px) {
	.channel-bar__meta { margin-right: 0; }
	.channel-bar .button { width: 100%; text-align: center; }
}

/* Logo legibility: invert to white while the header floats transparent over the hero (desktop) */
@media (min-width: 992px) {
	.site-header--transparent:not(.is-scrolled) .custom-logo,
	.site-header--transparent:not(.is-scrolled) .site-brand img {
		filter: brightness(0) invert(1);
		transition: filter 220ms ease;
	}
}

/* === Punch-list: line counts + legibility (end-of-file overrides win) === */
/* Hero headline: 2–3 lines */
.home-hero h1 { max-width: 900px; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.07; }
/* E-book title on a single line */
.ebook-panel__content h2 { font-size: clamp(1.8rem, 2.6vw, 2.55rem); line-height: 1.05; }
/* Invert the Shelley Baker mark on the plum e-book panel so it reads */
.ebook-panel__media img { filter: brightness(0) invert(1); }
/* Growth heading to 2 lines */
.growth-section .section-heading h2 { font-size: clamp(2.1rem, 3.6vw, 3.35rem); }
/* Inner-page content clears the fixed header once the title banner is removed */
.page-content-section { padding-top: calc(var(--header-height) + 3rem); }
.page-content-section { width: min(100%, var(--container)); margin: 0 auto; padding: calc(var(--header-height) + 3rem) 1.25rem clamp(4rem, 8vw, 7rem); }
/* Footer logo: the original colored mark sits on its cream circle (.site-footer__logo bg) — do NOT invert. */
.site-footer__logo img { filter: none; }

/* === Welcome — centered editorial "letter" (replaces the 2-col + stock photo) === */
.welcome-letter{ max-width:780px; margin:0 auto; text-align:center; }
.welcome-letter .eyebrow{ color:var(--plum); }
.welcome-ornament{ display:block; width:56px; height:2px; margin:0 auto 1.5rem; position:relative;
  background:linear-gradient(90deg,transparent,var(--gold),transparent); }
.welcome-ornament::after{ content:""; position:absolute; left:50%; top:50%; width:7px; height:7px; border-radius:50%;
  background:var(--gold); transform:translate(-50%,-50%); }
.welcome-lead{ font-size:clamp(1.95rem,4vw,3.1rem); line-height:1.14; max-width:20ch; margin:0 auto 1.6rem; color:var(--plum-deep); }
.welcome-lead em{ font-style:normal; background:linear-gradient(115deg,var(--plum),var(--gold));
  -webkit-background-clip:text; background-clip:text; color:transparent; }
.welcome-body{ max-width:60ch; margin:0 auto; color:var(--muted); font-size:1.06rem; }
.welcome-body p{ margin:0 auto 1.15rem; }
.welcome-pull{ font-family:var(--font-display); font-style:italic; font-size:clamp(1.25rem,2.2vw,1.6rem); line-height:1.32;
  color:var(--plum-deep); max-width:36ch; margin:1.7rem auto !important; }
.welcome-sign{ margin-top:2.4rem; display:flex; flex-direction:column; align-items:center; gap:.15rem; }
.welcome-sign__label{ font-size:.92rem; color:var(--muted); }
.welcome-sign__name{ font-family:var(--font-display); font-style:italic; font-weight:500; font-size:2.1rem; line-height:1;
  color:var(--plum); position:relative; padding-bottom:.4rem; }
.welcome-sign__name::after{ content:""; position:absolute; left:50%; bottom:0; transform:translateX(-50%); width:64px; height:2px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent); }
/* Episode card caption = real video title (2-line clamp) */
.episode-card__title{ font-family:var(--font-body); font-size:.9rem; font-weight:600; color:var(--plum-deep); line-height:1.35;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* Closing CTA — clean centered on-brand plum band (no clashing photo) */
.closing-cta{ background:
  radial-gradient(circle at 50% -12%, rgb(var(--gold-rgb) / 0.16), transparent 30rem),
  linear-gradient(160deg, var(--plum-deep), var(--plum)); }
.closing-cta__inner{ display:block; text-align:center; max-width:660px; }
.closing-cta__inner .eyebrow{ color:var(--gold); }
.closing-cta__inner h2{ color:var(--ivory); font-size:clamp(2rem,4vw,3.2rem); margin:0 auto .8rem; max-width:16ch; }
.closing-cta__inner > p:not(.eyebrow){ color:rgb(var(--ivory-rgb) / 0.9); max-width:50ch; margin:0 auto; }
.closing-cta__actions{ display:flex; gap:.85rem; justify-content:center; flex-wrap:wrap; margin-top:1.9rem; }
.closing-cta .welcome-ornament{ margin-bottom:1.3rem; }
/* Form placeholder text — muted plum on the cream inputs */
.sacred-form input::placeholder{ color: rgb(var(--plum-deep-rgb) / 0.45); opacity:1; }

/* ============================================================
   SWP Forms — "The Remembering" opt-in embedded in the plum
   e-book panel. Owned StretchWP forms platform (shortcode
   [stretch_form id="30"]) skinned to the sacred-soul palette.
   ============================================================ */
.ebook-panel__form { margin-top: 1.6rem; }
.ebook-panel__form .stretch-form { display: grid; gap: 1rem; max-width: 560px; }
.ebook-panel__form .stretch-form__step { display: grid; gap: 1rem; }
.ebook-panel__form .stretch-form__field { display: grid; gap: 0.35rem; }
.ebook-panel__form .stretch-form label {
	color: var(--ivory);
	font-size: 0.9rem;
	font-weight: 700;
}
.ebook-panel__form .stretch-form label span[aria-hidden] { color: var(--gold); margin-left: 0.15rem; }
.ebook-panel__form .stretch-form input {
	width: 100%;
	min-height: 3.2rem;
	padding: 0.85rem 1rem;
	background: rgb(var(--ivory-rgb) / 0.96);
	border: 1px solid rgb(var(--gold-rgb) / 0.36);
	border-radius: var(--radius-sm);
	color: var(--ink);
	font: inherit;
}
.ebook-panel__form .stretch-form input::placeholder { color: rgb(var(--plum-deep-rgb) / 0.45); opacity: 1; }
.ebook-panel__form .stretch-form input:focus {
	outline: 3px solid rgb(var(--gold-rgb) / 0.6);
	outline-offset: 2px;
}
/* Gold submit — mirrors .button--gold */
.ebook-panel__form .stretch-form__submit {
	appearance: none;
	cursor: pointer;
	border: 0;
	margin-top: 0.35rem;
	padding: 0.95rem 1.9rem;
	border-radius: 999px;
	background: var(--gold);
	color: var(--plum-deep);
	font-weight: 800;
	letter-spacing: 0.01em;
	font-size: 1rem;
	box-shadow: 0 12px 30px rgb(var(--gold-rgb) / 0.28);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.ebook-panel__form .stretch-form__submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 38px rgb(var(--gold-rgb) / 0.36);
}
.ebook-panel__form .stretch-form__submit:focus-visible {
	outline: 3px solid var(--ivory);
	outline-offset: 3px;
}
/* On-page confirmation / validation messages, legible on plum */
.ebook-panel__form .stretch-form__message,
.ebook-panel__form .stretch-form__notice,
.ebook-panel__form .stretch-form__error { color: var(--ivory); }
.ebook-panel__form .stretch-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
