/*
Theme Name: Ashwagandha Powder
Theme URI: https://ashwagandhapowder.com/
Description: Child theme of Twenty Twenty-Five for ashwagandhapowder.com.
Template: twentytwentyfive
Version: 1.9.2
Requires at least: 6.7
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: ashwagandha-child
*/

/* Skip link and keyboard focus */
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-3);
	outline-offset: 2px;
}

.site-header {
	border-bottom: 1px solid var(--wp--preset--color--accent-2);
	position: sticky;
	top: 0;
	z-index: 50;
}

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

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

.site-header .wp-block-site-title a {
	text-decoration: none;
}

/* On phones the logo and menu share one row; page CTAs take over from the header button. */
@media (max-width: 600px) {
	.site-header .wp-block-buttons {
		display: none;
	}
}

/* Outline button style */
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
	color: var(--wp--preset--color--contrast);
}

/* Feature cards */
.feature-card {
	border: 1px solid var(--wp--preset--color--accent-2);
	border-radius: 12px;
	height: 100%;
}

/* Spec table */
.spec-table table {
	border-collapse: collapse;
	width: 100%;
}

.spec-table th,
.spec-table td {
	border: 1px solid var(--wp--preset--color--accent-2);
	padding: 0.75rem 1rem;
	text-align: left;
	vertical-align: top;
}

.spec-table th {
	background: var(--wp--preset--color--accent-5);
	width: 35%;
}

/* FAQ accordions */
.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--accent-2);
	padding: 1rem 0;
}

.wp-block-details summary {
	cursor: pointer;
	font-weight: 600;
}

/* Contact Form 7 */
.wpcf7 label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem;
	border: 1px solid var(--wp--preset--color--accent-4);
	border-radius: 6px;
	background: #fff;
	font: inherit;
	color: var(--wp--preset--color--contrast);
}

.wpcf7 .form-row {
	margin-bottom: 1.25rem;
}

.wpcf7 .wpcf7-list-item {
	margin: 0;
}

.wpcf7 .wpcf7-acceptance label {
	font-weight: 400;
}

.wpcf7 input[type="submit"] {
	background: var(--wp--preset--color--accent-3);
	color: var(--wp--preset--color--base);
	border: 0;
	border-radius: 9999px;
	padding: 0.9rem 2rem;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
	background: var(--wp--preset--color--contrast);
}

.wpcf7 .hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.small-print {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--accent-4);
}

/* Feature cards: 2 x 2 on tablets, stacked on phones */
@media (min-width: 782px) and (max-width: 1199px) {
	.wp-block-columns.feature-grid {
		flex-wrap: wrap !important;
	}

	.wp-block-columns.feature-grid > .wp-block-column {
		flex-basis: 40% !important;
	}
}

/* ==========================================================================
   Homepage
   ========================================================================== */

:root {
	/* Darker gold for small text on light backgrounds (meets WCAG AA). */
	--ashwa-gold-text: #87672f;
	--ashwa-section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
}

/* Full-width sections sit flush against each other. */
.home-flow .entry-content > *,
.home-flow .wp-block-post-content > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.hp-section {
	padding-block: var(--ashwa-section-y);
}

.hp-section-head {
	margin-block-end: clamp(2.5rem, 2rem + 2vw, 4rem);
}

/* Eyebrow labels */
.eyebrow,
.eyebrow a {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ashwa-gold-text);
	text-decoration: none;
	margin-block-end: 1.25rem;
}

.has-contrast-background-color .eyebrow,
.hp-dark .eyebrow,
.hp-cta .eyebrow,
.hp-band .eyebrow {
	color: var(--wp--preset--color--accent-1);
}

/* Type scale */
.hp-display {
	font-size: clamp(2.75rem, 1.6rem + 4.2vw, 5.25rem);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.025em;
	margin-block: 0 1.5rem;
}

.hp-h2 {
	font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin-block: 0 1.5rem;
}

.hp-h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	font-weight: 500;
	letter-spacing: -0.01em;
	margin-block: 0 0.6rem;
}

.hp-lead {
	font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
	line-height: 1.65;
	max-width: 34rem;
	opacity: 0.88;
}

.hp-cta .hp-lead {
	margin-inline: auto;
}

.hp-copy p:not(.eyebrow):not(.hp-link) {
	line-height: 1.75;
	max-width: 36rem;
}

/* Underlined text links with an arrow */
.hp-link a {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
	padding-block-end: 0.35em;
	border-bottom: 1px solid currentColor;
	transition: gap 0.25s ease, color 0.25s ease;
}

.hp-link a::after {
	content: "\2192";
	font-size: 1.1em;
	letter-spacing: 0;
}

.hp-link a:hover {
	gap: 1em;
	color: var(--wp--preset--color--accent-3);
}

/* Buttons */
.hp-actions {
	gap: 0.85rem;
	margin-block-start: 2.25rem;
}

.hp-actions .wp-block-button__link,
.hp-cta .wp-block-button__link {
	padding: 1.05rem 2.1rem;
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

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

.wp-block-button.is-style-light > .wp-block-button__link {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

.wp-block-button.is-style-light > .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--contrast);
}

.hp-dark .is-style-outline > .wp-block-button__link,
.hp-cta .is-style-outline > .wp-block-button__link {
	color: var(--wp--preset--color--base);
	border-color: rgba(253, 251, 246, 0.55);
}

.hp-dark .is-style-outline > .wp-block-button__link:hover,
.hp-cta .is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

/* Hero */
.hp-hero {
	overflow: hidden;
}

.hp-split {
	margin: 0;
	min-height: min(88vh, 860px);
	align-items: stretch !important;
}

.hp-hero-copy {
	padding: clamp(3.5rem, 2rem + 5vw, 7rem) clamp(1.5rem, 1rem + 4vw, 6rem);
	align-self: center !important;
}

.hp-hero-copy > * {
	max-width: 36rem;
	margin-inline-start: auto;
}

.hp-media {
	position: relative;
	min-height: 420px;
}

.img-fill {
	position: absolute;
	inset: 0;
	margin: 0 !important;
}

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

.hp-ticks {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	padding: 0;
	margin-block-start: 2.75rem;
	font-size: 0.85rem;
	color: var(--wp--preset--color--accent-4);
}

.hp-ticks li::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-inline-end: 0.6rem;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1);
	vertical-align: middle;
}

/* Trust band */
.hp-band {
	padding-block: 1.4rem;
}

.hp-band-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 0;
	padding: 0;
	margin: 0 auto;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.hp-band-list li {
	padding-inline: clamp(0.75rem, 0.25rem + 1.2vw, 1.75rem);
	white-space: nowrap;
}

@media (min-width: 782px) {
	.hp-band-list {
		flex-wrap: nowrap;
		letter-spacing: 0.12em;
	}
}

.hp-band-list li + li {
	border-inline-start: 1px solid rgba(201, 164, 106, 0.5);
}

/* Editorial image + copy rows */
.hp-editorial {
	gap: clamp(2.5rem, 1rem + 6vw, 7rem) !important;
}

.img-tall,
.img-square,
.img-card {
	margin: 0;
	overflow: hidden;
}

.img-tall img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
	height: auto;
}

.img-square img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	height: auto;
}

.img-card img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
	height: auto;
	transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.img-tall img,
.img-square img {
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.img-tall:hover img,
.img-square:hover img,
.img-card:hover img,
.hp-journal .wp-block-post-featured-image:hover img {
	transform: scale(1.04);
}

/* Numbered promises */
.hp-numbered {
	gap: clamp(1.5rem, 1rem + 2vw, 3rem) !important;
}

.hp-numbered > .wp-block-column {
	border-top: 1px solid var(--wp--preset--color--accent-2);
	padding-block-start: 1.75rem;
}

.hp-num {
	font-size: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
	font-weight: 300;
	line-height: 1;
	color: var(--wp--preset--color--accent-1);
	margin-block: 0 1.5rem;
	font-family: var(--wp--preset--font-family--jost);
}

.hp-audiences > .wp-block-column {
	border-top-color: var(--wp--preset--color--contrast);
}

.hp-audiences .hp-link {
	margin-block-start: 1.5rem;
}

/* Dark product section */
.hp-dark {
	--hp-line: rgba(253, 251, 246, 0.18);
}

.hp-dark .hp-copy p {
	opacity: 0.9;
}

.hp-spec {
	margin-block: 2rem 0;
}

.hp-spec table {
	border-collapse: collapse;
	width: 100%;
	font-size: 0.92rem;
}

.hp-spec th,
.hp-spec td {
	border: 0;
	border-bottom: 1px solid var(--hp-line, var(--wp--preset--color--accent-2));
	padding: 0.95rem 0;
	text-align: left;
	vertical-align: top;
}

.hp-spec th {
	width: 42%;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.72rem;
	color: var(--wp--preset--color--accent-1);
}

.hp-spec tr:first-child th,
.hp-spec tr:first-child td {
	border-top: 1px solid var(--hp-line, var(--wp--preset--color--accent-2));
}

/* Cards */
.hp-cards {
	gap: clamp(1.5rem, 1rem + 2vw, 3rem) !important;
}

.hp-cards .img-card {
	margin-block-end: 1.5rem;
}

.hp-cards + .hp-link {
	margin-block-start: clamp(2.5rem, 2rem + 2vw, 4rem);
}

/* Quote */
.hp-quote {
	font-family: var(--wp--preset--font-family--jost);
	font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
	font-weight: 300;
	line-height: 1.3;
	letter-spacing: -0.01em;
	margin-block-end: 2rem;
}

/* FAQ */
.hp-faq {
	gap: clamp(2rem, 1rem + 5vw, 6rem) !important;
}

.hp-faq .wp-block-details {
	padding-block: 1.4rem;
}

.hp-faq .wp-block-details:first-child {
	border-top: 1px solid var(--wp--preset--color--accent-2);
}

.hp-faq .wp-block-details summary {
	font-size: 1.1rem;
	font-weight: 500;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.hp-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.hp-faq .wp-block-details summary::after {
	content: "+";
	font-size: 1.5rem;
	font-weight: 300;
	line-height: 1;
	color: var(--wp--preset--color--accent-3);
	transition: transform 0.3s ease;
}

.hp-faq .wp-block-details[open] summary::after {
	transform: rotate(45deg);
}

.hp-faq .wp-block-details p {
	margin-block-start: 1rem;
	line-height: 1.7;
	color: var(--wp--preset--color--accent-4);
}

/* Journal */
.hp-row-head {
	margin-block-end: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.hp-row-head .hp-h2 {
	margin-block-end: 0;
}

.hp-journal .wp-block-post-template {
	gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.hp-journal .wp-block-post-featured-image {
	overflow: hidden;
	margin-block-end: 1.5rem;
}

.hp-journal .wp-block-post-featured-image img {
	transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hp-journal .eyebrow {
	margin-block-end: 0.75rem;
}

.hp-journal .wp-block-post-title a {
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
}

.hp-journal .wp-block-post-excerpt {
	color: var(--wp--preset--color--accent-4);
	font-size: 0.95rem;
}

.hp-journal .wp-block-post-excerpt__more-link {
	display: none;
}

/* Closing call to action */
.hp-cta {
	padding-block: var(--ashwa-section-y);
}

.hp-cta .hp-display {
	color: var(--wp--preset--color--base);
	text-wrap: balance;
}

/* No gap between the closing section and the footer. */
.home .wp-site-blocks > footer,
.home .wp-site-blocks > .wp-block-template-part:last-child {
	margin-block-start: 0;
}

/* Header gets a subtle transparency over the hero. */
.home .site-header {
	background-color: rgba(253, 251, 246, 0.92) !important;
	backdrop-filter: saturate(140%) blur(10px);
}

/* Mobile */
@media (max-width: 781px) {
	.hp-split {
		min-height: 0;
	}

	.hp-hero-copy > * {
		margin-inline-start: 0;
	}

	.hp-media {
		min-height: 88vw;
	}

	.hp-reverse {
		flex-direction: column-reverse;
	}

	.hp-band-list {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.hp-band-list li + li {
		border-inline-start: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	/* The gentle hover zoom on photos is kept: it is small and only runs when the visitor points at an image. */
	.home-flow *:not(img) {
		transition: none !important;
	}
}

/* ==========================================================================
   Premium layer: depth, rounded forms and motion
   ========================================================================== */

:root {
	--r-lg: clamp(20px, 1.6vw, 28px);
	--r-md: 18px;
	--r-sm: 12px;
	--card-bg: #fffdf8;
	--line-gold: rgba(201, 164, 106, 0.35);
	--shadow-soft: 0 1px 2px rgba(30, 43, 34, 0.04), 0 14px 34px -14px rgba(30, 43, 34, 0.22);
	--shadow-lift: 0 2px 6px rgba(30, 43, 34, 0.06), 0 34px 64px -22px rgba(30, 43, 34, 0.34);
	--ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Header ---------- */

.site-header {
	border-bottom: 1px solid transparent;
	transition: box-shadow 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
}

.site-header.is-scrolled {
	border-bottom-color: rgba(30, 43, 34, 0.06);
	box-shadow: 0 10px 30px -18px rgba(30, 43, 34, 0.35);
}

.site-header__inner {
	min-height: 84px;
	transition: min-height 0.4s var(--ease-out);
}

.site-header.is-scrolled .site-header__inner {
	min-height: 66px;
}

.site-header .wp-block-site-title a {
	color: var(--wp--preset--color--contrast);
}

.site-nav {
	gap: clamp(1.25rem, 0.5rem + 1.6vw, 2.25rem);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.site-nav .wp-block-navigation-item__content {
	position: relative;
	padding-block: 0.4rem;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--wp--preset--color--accent-1);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s var(--ease-out);
}

.site-nav .wp-block-navigation-item__content:hover::after,
.site-nav .wp-block-navigation-item__content[aria-current="page"]::after {
	transform: scaleX(1);
	transform-origin: left;
}

.site-nav .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--wp--preset--color--accent-3);
}

.site-header__cta .wp-block-button__link {
	padding: 0.8rem 1.5rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* ---------- Buttons: lift, glow and a light sheen ---------- */

.wp-block-button__link {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.3s ease, color 0.3s ease;
}

.wp-block-button__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.9s var(--ease-out);
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px -14px rgba(30, 43, 34, 0.55);
}

.wp-block-button__link:hover::after {
	transform: translateX(120%);
}

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

.hp-hero {
	background-image:
		radial-gradient(900px 520px at 0% 0%, rgba(255, 253, 248, 0.9) 0%, transparent 65%),
		radial-gradient(700px 500px at 45% 100%, rgba(201, 164, 106, 0.14) 0%, transparent 70%);
}

/* Line the hero copy up with the header and content grid (1200px). */
.hp-hero-copy {
	padding-block: clamp(3.5rem, 2rem + 5vw, 7rem);
	padding-inline-start: max(var(--wp--preset--spacing--50), calc(50% - 600px));
	padding-inline-end: clamp(2rem, 1rem + 4vw, 5.5rem);
}

.hp-hero-copy > * {
	margin-inline-start: 0;
	max-width: 34rem;
}

.hp-hero-copy > * {
	animation: hp-rise 1s var(--ease-out) both;
}

.hp-hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hp-hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hp-hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hp-hero-copy > :nth-child(5) { animation-delay: 0.32s; }

@keyframes hp-rise {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.hp-media .img-fill {
	inset: clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem) 0;
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lift);
}

.hp-media .img-fill img {
	animation: hp-settle 2.2s var(--ease-out) both;
}

@keyframes hp-settle {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}

/* Floating glass badge on the hero photo */
.hp-media::after {
	content: "Batch-tested  \00b7  100% root";
	position: absolute;
	left: clamp(1.25rem, 2.5vw, 2.25rem);
	bottom: clamp(2rem, 4vw, 3.5rem);
	z-index: 2;
	padding: 0.85rem 1.3rem;
	border-radius: 999px;
	background: rgba(253, 251, 246, 0.78);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	box-shadow: var(--shadow-soft);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
	white-space: pre;
	animation: hp-rise 1s 0.6s var(--ease-out) both;
}

/* ---------- Rounded imagery with depth ---------- */

.img-tall,
.img-square,
.img-card,
.hp-journal .wp-block-post-featured-image {
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: box-shadow 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.img-tall img,
.img-square img,
.img-card img,
.hp-journal .wp-block-post-featured-image img {
	transition: transform 1.2s var(--ease-out);
}

.img-tall:hover img,
.img-square:hover img,
.img-card:hover img,
.hp-journal .wp-block-post-featured-image:hover img {
	transform: scale(1.06);
}

/* ---------- Promise cards ---------- */

.hp-numbered > .wp-block-column {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line-gold);
	border-radius: var(--r-md);
	background: var(--card-bg);
	padding: 2.25rem 2rem 2rem;
	transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s ease;
}

.hp-numbered > .wp-block-column::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--wp--preset--color--accent-1), var(--wp--preset--color--accent-3));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.6s var(--ease-out);
}

.hp-numbered > .wp-block-column:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lift);
	border-color: transparent;
}

.hp-numbered > .wp-block-column:hover::before {
	transform: scaleX(1);
}

.hp-num {
	transition: color 0.4s ease, transform 0.6s var(--ease-out);
}

.hp-numbered > .wp-block-column:hover .hp-num {
	color: var(--wp--preset--color--accent-3);
	transform: translateX(4px);
}

.hp-audiences > .wp-block-column {
	background: var(--wp--preset--color--accent-5);
	border-color: transparent;
}

/* ---------- Ways-to-enjoy cards ---------- */

.hp-cards > .wp-block-column {
	background: var(--card-bg);
	border-radius: var(--r-lg);
	padding: 0.85rem 0.85rem 1.75rem;
	box-shadow: 0 1px 2px rgba(30, 43, 34, 0.04);
	transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.hp-cards > .wp-block-column > :not(.img-card) {
	padding-inline: 0.85rem;
}

.hp-cards .img-card {
	border-radius: var(--r-md);
	box-shadow: none;
}

.hp-cards > .wp-block-column:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lift);
}

/* ---------- Product panel ---------- */

.hp-dark.alignfull,
.hp-cta.alignfull {
	/* Full-width blocks are pulled out by the root padding; inset from the viewport edge instead. */
	margin-left: calc(clamp(0.75rem, 2.5vw, 2.5rem) - var(--wp--style--root--padding-left, 0px)) !important;
	margin-right: calc(clamp(0.75rem, 2.5vw, 2.5rem) - var(--wp--style--root--padding-right, 0px)) !important;
	border-radius: clamp(24px, 3vw, 40px);
	overflow: hidden;
}

.hp-dark.alignfull {
	margin-block: clamp(0.75rem, 2.5vw, 2.5rem) !important;
	background-image: radial-gradient(800px 500px at 100% 0%, rgba(201, 164, 106, 0.18) 0%, transparent 60%);
}

.hp-cta.alignfull {
	margin-block-end: clamp(0.75rem, 2.5vw, 2.5rem) !important;
}

.hp-dark .img-square {
	box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.5);
}

/* Rotating seal on the product photo */
.hp-dark .wp-block-column:has(> .img-square) {
	position: relative;
}

.hp-dark .wp-block-column:has(> .img-square)::after {
	content: "100%\A Root";
	white-space: pre;
	position: absolute;
	top: -1.25rem;
	right: -1.25rem;
	display: grid;
	place-items: center;
	width: 7.5rem;
	height: 7.5rem;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--contrast);
	box-shadow: 0 0 0 6px rgba(201, 164, 106, 0.25), var(--shadow-soft);
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.18em;
	text-align: center;
	text-transform: uppercase;
	transition: transform 0.8s var(--ease-out);
}

.hp-dark .wp-block-column:has(> .img-square):hover::after {
	transform: rotate(-12deg) scale(1.05);
}

/* ---------- Quote ---------- */

.hp-quote::before {
	content: "\201C";
	display: block;
	font-size: clamp(5rem, 4rem + 4vw, 8rem);
	line-height: 0.6;
	height: 0.45em;
	color: var(--wp--preset--color--accent-1);
	opacity: 0.6;
}

/* ---------- FAQ as soft cards ---------- */

.hp-faq .wp-block-details,
.hp-faq .wp-block-details:first-child {
	border: 1px solid transparent;
	border-radius: var(--r-md);
	background: var(--wp--preset--color--accent-5);
	padding: 1.3rem 1.6rem;
	margin-block-end: 0.75rem;
	transition: background-color 0.4s ease, box-shadow 0.4s var(--ease-out), border-color 0.4s ease;
}

.hp-faq .wp-block-details:hover {
	border-color: var(--line-gold);
}

.hp-faq .wp-block-details[open] {
	background: var(--card-bg);
	border-color: var(--line-gold);
	box-shadow: var(--shadow-soft);
}

/* ---------- Journal cards ---------- */

.hp-journal .wp-block-post {
	background: var(--wp--preset--color--base);
	border-radius: var(--r-lg);
	padding: 0.85rem 0.85rem 1.75rem;
	transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.hp-journal .wp-block-post > :not(.wp-block-post-featured-image) {
	padding-inline: 0.85rem;
}

.hp-journal .wp-block-post-featured-image {
	border-radius: var(--r-md);
	box-shadow: none;
}

.hp-journal .wp-block-post:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lift);
}

/* ---------- Scroll reveal (only when JavaScript is running) ---------- */

.js-reveal .reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
	transition-delay: var(--reveal-delay, 0ms);
}

.js-reveal .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- Small screens ---------- */

@media (max-width: 781px) {
	.site-header__inner {
		min-height: 64px;
	}

	.hp-hero-copy {
		padding-inline: var(--wp--preset--spacing--50);
	}

	.hp-media .img-fill {
		inset: 0 var(--wp--preset--spacing--50) var(--wp--preset--spacing--50);
	}

	.hp-media::after {
		left: calc(var(--wp--preset--spacing--50) + 1rem);
		bottom: calc(var(--wp--preset--spacing--50) + 1rem);
	}

	.hp-dark .wp-block-column:has(> .img-square)::after {
		top: -0.75rem;
		right: -0.25rem;
		width: 6rem;
		height: 6rem;
		font-size: 0.7rem;
	}

}

@media (prefers-reduced-motion: reduce) {
	.hp-hero-copy > *,
	.hp-media::after,
	.hp-media .img-fill img {
		animation: none;
	}

	.js-reveal .reveal {
		opacity: 1;
		transform: none;
	}

	.wp-block-button__link::after {
		display: none;
	}

	.hp-numbered > .wp-block-column:hover,
	.hp-cards > .wp-block-column:hover,
	.hp-journal .wp-block-post:hover,
	.wp-block-button__link:hover {
		transform: none;
	}
}

/* ==========================================================================
   Full-width layout and background-image hero with quote form
   ========================================================================== */

/* Large photos stay in proportion on wide screens. */
.img-tall img,
.img-square img {
	max-height: min(84vh, 820px);
}

.img-card img {
	max-height: 560px;
}

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

.hp-hero-cover.alignfull {
	padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) !important;
	padding-inline: var(--wp--style--root--padding-left) var(--wp--style--root--padding-right) !important;
}

.hp-hero-cover .wp-block-cover__image-background {
	animation: hp-settle 2.4s var(--ease-out) both;
}

.hp-hero-grid {
	gap: clamp(2.5rem, 1rem + 5vw, 7rem) !important;
	margin: 0;
}

.hp-cover-copy > * {
	max-width: 40rem;
	animation: hp-rise 1s var(--ease-out) both;
}

.hp-cover-copy > :nth-child(2) { animation-delay: 0.08s; }
.hp-cover-copy > :nth-child(3) { animation-delay: 0.16s; }
.hp-cover-copy > :nth-child(4) { animation-delay: 0.24s; }
.hp-cover-copy > :nth-child(5) { animation-delay: 0.32s; }

.hp-hero-cover .eyebrow {
	color: var(--wp--preset--color--accent-1);
}

.hp-hero-cover .hp-display {
	color: var(--wp--preset--color--base);
	font-size: clamp(3rem, 1.6rem + 4.6vw, 6rem);
}

.hp-hero-cover .hp-lead {
	color: rgba(253, 251, 246, 0.86);
	opacity: 1;
}

.hp-hero-cover .hp-ticks {
	color: rgba(253, 251, 246, 0.75);
}

.hp-hero-cover .is-style-outline > .wp-block-button__link {
	color: var(--wp--preset--color--base);
	border-color: rgba(253, 251, 246, 0.55);
}

.hp-hero-cover .is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

/* ---------- Quote form card ---------- */

.hp-hero-form {
	max-width: 520px;
	margin-inline-start: auto;
	padding: clamp(1.75rem, 1rem + 2vw, 2.75rem);
	border-radius: var(--r-lg);
	background: rgba(253, 251, 246, 0.97);
	color: var(--wp--preset--color--contrast);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
	animation: hp-rise 1s 0.3s var(--ease-out) both;
}

.hp-hero-form > * {
	max-width: none !important;
}

.hp-form-title {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 400;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--contrast);
	margin: 0 0 0.4rem;
}

.hp-form-note {
	font-size: 0.9rem;
	color: var(--wp--preset--color--accent-4);
	margin: 0 0 1.5rem;
}

.hp-hero-form .form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 0.9rem;
}

.hp-hero-form .form-row {
	margin-bottom: 0.9rem;
}

.hp-hero-form .wpcf7 label {
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--accent-4);
	margin-bottom: 0.3rem;
}

.hp-hero-form .wpcf7 input[type="text"],
.hp-hero-form .wpcf7 input[type="email"],
.hp-hero-form .wpcf7 select,
.hp-hero-form .wpcf7 textarea {
	padding: 0.7rem 0.85rem;
	border: 1px solid rgba(30, 43, 34, 0.16);
	border-radius: 10px;
	background: #fff;
	font-size: 0.95rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hp-hero-form .wpcf7 textarea {
	min-height: 4.5rem;
	height: 4.5rem;
	resize: vertical;
}

.hp-hero-form .wpcf7 input:focus,
.hp-hero-form .wpcf7 select:focus,
.hp-hero-form .wpcf7 textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent-3);
	box-shadow: 0 0 0 3px rgba(62, 90, 63, 0.15);
}

.hp-hero-form .form-consent,
.hp-hero-form .form-consent label {
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	color: var(--wp--preset--color--accent-4);
}

.hp-hero-form .form-consent a {
	color: var(--wp--preset--color--contrast);
}

.hp-hero-form .wpcf7 input[type="submit"] {
	width: 100%;
	padding: 1rem;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background-color 0.3s ease, transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.hp-hero-form .wpcf7 input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px -14px rgba(30, 43, 34, 0.55);
}

.hp-hero-form .wpcf7-spinner {
	display: block;
	margin: 0.75rem auto 0;
}

.hp-hero-form .wpcf7-response-output {
	margin: 1rem 0 0 !important;
	padding: 0.75rem 1rem !important;
	border-radius: 10px;
	font-size: 0.85rem;
}

.hp-hero-form .wpcf7-not-valid-tip {
	font-size: 0.78rem;
	margin-top: 0.25rem;
}

/* ---------- Small screens ---------- */

@media (max-width: 781px) {
	.hp-hero-cover.alignfull {
		min-height: 0 !important;
	}

	.hp-hero-cover .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(20, 28, 22, 0.88) 0%, rgba(20, 28, 22, 0.72) 100%) !important;
	}

	.hp-hero-form {
		max-width: none;
		margin-inline-start: 0;
	}
}

@media (max-width: 480px) {
	.hp-hero-form .form-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hp-hero-cover .wp-block-cover__image-background,
	.hp-cover-copy > *,
	.hp-hero-form {
		animation: none;
	}
}

/* ==========================================================================
   Smooth image zoom on hover
   ========================================================================== */

/* Keep rounded corners clipped while the image scales, and give the browser
   a dedicated layer so the zoom is drawn smoothly rather than in steps. */
.img-tall,
.img-square,
.img-card,
.hp-journal .wp-block-post-featured-image {
	isolation: isolate;
	transform: translateZ(0);
	transition: box-shadow 0.8s var(--ease-out);
}

.img-tall img,
.img-square img,
.img-card img,
.hp-journal .wp-block-post-featured-image img {
	transform: scale(1);
	transform-origin: 50% 50%;
	backface-visibility: hidden;
	will-change: transform;
	transition: transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.img-tall:hover img,
.img-square:hover img,
.img-card:hover img,
.hp-cards > .wp-block-column:hover .img-card img,
.hp-journal .wp-block-post:hover .wp-block-post-featured-image img {
	transform: scale(1.05);
}

/* ==========================================================================
   Promise icons: thin earthy line icons beside each number
   ========================================================================== */

.hp-numbered:not(.hp-audiences) .hp-num {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.hp-numbered:not(.hp-audiences) .hp-num::after {
	content: "";
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: transform 0.6s var(--ease-out);
}

.hp-numbered:not(.hp-audiences) > .wp-block-column:nth-child(1) .hp-num::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Ccircle cx='28' cy='28' r='28' fill='%233E5A3F'/%3E%3Cg transform='translate(12 12) scale(1.333)' fill='none' stroke='%23FDFBF6' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5h14'/%3E%3Cpath d='M12 12.5V7'/%3E%3Cpath d='M12 8.5C12 5.5 14.2 3.5 17.5 3.5c0 3-2.2 5-5.5 5z'/%3E%3Cpath d='M12 8.5C12 5.5 9.8 3.5 6.5 3.5c0 3 2.2 5 5.5 5z'/%3E%3Cpath d='M12 12.5v8'/%3E%3Cpath d='M12 15.5l-3.5 4'/%3E%3Cpath d='M12 15.5l3.5 4'/%3E%3Cpath d='M12 17.5l-1.8 1.2'/%3E%3C/g%3E%3C/svg%3E"); }
.hp-numbered:not(.hp-audiences) > .wp-block-column:nth-child(2) .hp-num::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Ccircle cx='28' cy='28' r='28' fill='%233E5A3F'/%3E%3Cg transform='translate(12 12) scale(1.333)' fill='none' stroke='%23FDFBF6' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6'/%3E%3Cpath d='M10 3v6.2L5.2 17.6A2.2 2.2 0 0 0 7.1 21h9.8a2.2 2.2 0 0 0 1.9-3.4L14 9.2V3'/%3E%3Cpath d='M7.4 15h9.2'/%3E%3Cpath d='M10.5 18h.01'/%3E%3Cpath d='M13.5 17h.01'/%3E%3C/g%3E%3C/svg%3E"); }
.hp-numbered:not(.hp-audiences) > .wp-block-column:nth-child(3) .hp-num::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Ccircle cx='28' cy='28' r='28' fill='%233E5A3F'/%3E%3Cg transform='translate(12 12) scale(1.333)' fill='none' stroke='%23FDFBF6' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19.5C5 11 10.5 4.5 19.5 4.5 19.5 13 14 19.5 5 19.5z'/%3E%3Cpath d='M5 19.5L13.5 11'/%3E%3Cpath d='M9.5 15h3.5'/%3E%3Cpath d='M9.5 15v-3.5'/%3E%3C/g%3E%3C/svg%3E"); }
.hp-numbered:not(.hp-audiences) > .wp-block-column:nth-child(4) .hp-num::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Ccircle cx='28' cy='28' r='28' fill='%233E5A3F'/%3E%3Cg transform='translate(12 12) scale(1.333)' fill='none' stroke='%23FDFBF6' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.3 13.5l-6.8 6.8a1.8 1.8 0 0 1-2.6 0L3.5 12.9V3.5h9.4l7.4 7.4a1.8 1.8 0 0 1 0 2.6z'/%3E%3Ccircle cx='8' cy='8' r='1.4'/%3E%3Cpath d='M11 13.5l3-3'/%3E%3Cpath d='M13 15.5l3-3'/%3E%3C/g%3E%3C/svg%3E"); }

/* The number nudges right on hover; keep the icon still and let it lift gently instead. */
.hp-numbered:not(.hp-audiences) > .wp-block-column:hover .hp-num {
	transform: none;
}

.hp-numbered:not(.hp-audiences) > .wp-block-column:hover .hp-num::after {
	transform: translateY(-3px);
}

/* ==========================================================================
   Product section: full-bleed, edge to edge
   ========================================================================== */

.hp-dark.alignfull {
	margin-left: calc(var(--wp--style--root--padding-left, 0px) * -1) !important;
	margin-right: calc(var(--wp--style--root--padding-right, 0px) * -1) !important;
	margin-block: 0 !important;
	border-radius: 0;
}

/* ==========================================================================
   Ways to enjoy: smaller, square cards
   ========================================================================== */

.hp-cards {
	max-width: 1080px;
	margin-inline: auto !important;
}

.hp-cards .img-card img {
	aspect-ratio: 1 / 1;
	max-height: none;
}

.hp-cards .hp-h3 {
	font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem);
}

.hp-cards > .wp-block-column p {
	font-size: 0.95rem;
}

/* ==========================================================================
   One consistent scale: every section uses the same 1080px column, and large
   photos are capped so no section feels bigger than the card rows.
   ========================================================================== */

.img-tall img {
	aspect-ratio: 4 / 5;
	max-height: 520px;
}

.img-square img {
	max-height: 460px;
}

.hp-editorial {
	gap: clamp(2.5rem, 1rem + 4vw, 5rem) !important;
}

/* Promise cards keep their icons and share the card row width. */
.hp-numbered:not(.hp-audiences) {
	max-width: 1080px;
	margin-inline: auto !important;
}



.hp-numbered:not(.hp-audiences) > .wp-block-column {
	padding: 1.75rem 1.5rem 1.75rem;
}

.hp-numbered:not(.hp-audiences) .hp-h3 {
	font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem);
}

.hp-numbered:not(.hp-audiences) > .wp-block-column p:not(.hp-num) {
	font-size: 0.95rem;
}

/* ==========================================================================
   Full-margin layout with one card formation: the centred card sections share
   the "Ways to enjoy it" proportions; the editorial sections use the full width
   with moderately sized photos.
   ========================================================================== */

.hp-cards,
.hp-numbered,
.hp-audiences,
.hp-journal {
	max-width: 1080px;
	margin-inline: auto !important;
}

.hp-section:has(> .hp-journal) > .hp-row-head {
	max-width: 1080px;
	margin-inline: auto !important;
	width: 100%;
}

/* Who we supply: 30% narrower than the full page width, centred. */
.hp-numbered.hp-audiences {
	max-width: 70%;
	margin-inline: auto !important;
	gap: 1.5rem !important;
}

@media (max-width: 1100px) {
	.hp-numbered.hp-audiences {
		max-width: none;
	}
}

.hp-audiences > .wp-block-column {
	padding: 2.25rem 2.25rem 2rem;
}

.hp-audiences > .wp-block-column {
	display: flex;
	flex-direction: column;
}

.hp-audiences > .wp-block-column > .hp-link {
	margin-top: auto;
	padding-top: 1.5rem;
}

/* Closing call to action: golden-hour meadow with a soft gradient instead of a flat dark wash. */
.hp-cta .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(20, 28, 22, 0.38) 0%, rgba(20, 28, 22, 0.58) 55%, rgba(20, 28, 22, 0.78) 100%) !important;
	opacity: 1 !important;
}

/* Golden roots close-up, framed differently from the hero. */
.hp-cta .wp-block-cover__image-background {
	object-position: 30% 70%;
}

/* ==========================================================================
   Inner pages and journal
   ========================================================================== */

html {
	scroll-behavior: smooth;
}

.inner-main > * {
	margin-block: 0;
}

/* ---------- Title band ---------- */

.page-hero {
	padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem) clamp(3rem, 2rem + 3vw, 4.5rem);
	text-align: center;
	background-image: radial-gradient(900px 420px at 50% 0%, rgba(255, 253, 248, 0.85) 0%, transparent 70%);
}

.page-hero > * {
	margin-inline: auto;
}

.page-title {
	font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.25rem);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: -0.025em;
	margin-block: 0.25rem 0;
	text-wrap: balance;
}

.page-intro {
	max-width: 36rem;
	margin: 1.25rem auto 0;
	font-size: clamp(1.02rem, 1rem + 0.3vw, 1.2rem);
	line-height: 1.65;
	color: var(--wp--preset--color--accent-4);
}

.page-hero .eyebrow {
	margin-block-end: 0.75rem;
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
	margin: 0 0 1.75rem;
	padding: 0;
	font-size: 0.82rem;
	color: var(--wp--preset--color--accent-4);
}

.breadcrumbs li + li::before {
	content: "/";
	margin-inline-end: 0.4rem;
	opacity: 0.5;
}

.breadcrumbs a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.breadcrumbs a:hover {
	color: var(--wp--preset--color--contrast);
}

.breadcrumbs [aria-current] {
	color: var(--wp--preset--color--contrast);
	max-width: 32ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ---------- Page body ---------- */

.page-body {
	padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--ashwa-section-y);
}

.page-cover,
.post-cover {
	border-radius: var(--r-lg);
	overflow: hidden;
	margin-block-end: clamp(2.5rem, 2rem + 2vw, 4rem) !important;
	box-shadow: var(--shadow-soft);
}

.page-cover img,
.post-cover img {
	transition: transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.page-cover:hover img,
.post-cover:hover img {
	transform: scale(1.03);
}

/* ---------- Long-form typography (pages and posts) ---------- */

.entry-content {
	font-size: 1.075rem;
	line-height: 1.8;
}

.entry-content > * + * {
	margin-block-start: 1.35rem;
}

.entry-content h2 {
	font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.3rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin-block: clamp(2.75rem, 2rem + 2vw, 3.75rem) 1rem;
	scroll-margin-top: 110px;
}

.entry-content h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	font-weight: 500;
	margin-block: 2rem 0.6rem;
	scroll-margin-top: 110px;
}

.entry-content > p:first-child {
	font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
	line-height: 1.7;
	color: var(--wp--preset--color--contrast);
}

.entry-content a:not(.wp-block-button__link) {
	color: var(--wp--preset--color--accent-3);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.2s ease;
}

.entry-content a:not(.wp-block-button__link):hover {
	color: var(--wp--preset--color--contrast);
}

.entry-content ul,
.entry-content ol {
	padding-inline-start: 1.25rem;
}

.entry-content li + li {
	margin-block-start: 0.45rem;
}

.entry-content ul li::marker {
	color: var(--wp--preset--color--accent-1);
}

.entry-content ol li::marker {
	color: var(--wp--preset--color--accent-1);
	font-weight: 600;
}

.entry-content .wp-block-table table {
	border-collapse: collapse;
	width: 100%;
	font-size: 0.95rem;
	border-radius: var(--r-md);
	overflow: hidden;
}

.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--accent-2);
	padding: 0.9rem 1rem;
	text-align: left;
	vertical-align: top;
}

.entry-content .wp-block-table thead th {
	background: var(--wp--preset--color--accent-5);
	font-weight: 600;
}

.entry-content .spec-table th {
	width: 38%;
	background: var(--wp--preset--color--accent-5);
	font-weight: 500;
}

.entry-content .wp-block-table {
	border: 1px solid var(--wp--preset--color--accent-2);
	border-radius: var(--r-md);
	overflow: hidden;
}

.entry-content .wp-block-image img {
	border-radius: var(--r-md);
}

/* Buttons inside content match the homepage */
.entry-content .wp-block-buttons {
	gap: 0.85rem;
	margin-block-start: 2rem;
}

.entry-content .wp-block-button__link {
	padding: 1.05rem 2.1rem;
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Soft panels (calls to action, notes) */
.entry-content .wp-block-group.has-accent-5-background-color {
	border-radius: var(--r-lg) !important;
	padding: clamp(1.75rem, 1.25rem + 2vw, 3rem) !important;
	border: 1px solid var(--line-gold);
}

.entry-content .wp-block-group.has-accent-5-background-color h2 {
	margin-top: 0;
}

/* FAQ accordions as soft cards */
.entry-content .wp-block-details {
	border: 1px solid transparent;
	border-radius: var(--r-md);
	background: var(--wp--preset--color--accent-5);
	padding: 1.2rem 1.5rem;
	margin-block-start: 0.75rem;
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.entry-content .wp-block-details:hover {
	border-color: var(--line-gold);
}

.entry-content .wp-block-details[open] {
	background: var(--card-bg);
	border-color: var(--line-gold);
	box-shadow: var(--shadow-soft);
}

.entry-content .wp-block-details summary {
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.5;
}

.entry-content .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.entry-content .wp-block-details summary::after {
	content: "+";
	font-size: 1.4rem;
	font-weight: 300;
	line-height: 1;
	color: var(--wp--preset--color--accent-3);
	transition: transform 0.3s ease;
}

.entry-content .wp-block-details[open] summary::after {
	transform: rotate(45deg);
}

.entry-content .wp-block-details p {
	margin-block-start: 0.85rem;
	color: var(--wp--preset--color--accent-4);
}

.entry-content .small-print {
	font-size: 0.85rem;
	line-height: 1.6;
	padding: 1rem 1.25rem;
	border-left: 2px solid var(--wp--preset--color--accent-1);
	background: var(--wp--preset--color--accent-5);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

/* Contact form card */
.page-content .wpcf7 {
	background: var(--card-bg);
	border: 1px solid var(--line-gold);
	border-radius: var(--r-lg);
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	box-shadow: var(--shadow-soft);
}

.page-content .wpcf7 label {
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--accent-4);
	margin-bottom: 0.35rem;
}

.page-content .wpcf7 input[type="text"],
.page-content .wpcf7 input[type="email"],
.page-content .wpcf7 input[type="tel"],
.page-content .wpcf7 select,
.page-content .wpcf7 textarea {
	padding: 0.8rem 0.95rem;
	border: 1px solid rgba(30, 43, 34, 0.16);
	border-radius: 10px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-content .wpcf7 input:focus,
.page-content .wpcf7 select:focus,
.page-content .wpcf7 textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent-3);
	box-shadow: 0 0 0 3px rgba(62, 90, 63, 0.15);
}

.page-content .wpcf7 input[type="submit"] {
	width: 100%;
	padding: 1.05rem;
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.page-content .wpcf7 .wpcf7-acceptance label {
	font-size: 0.85rem;
	letter-spacing: 0;
	line-height: 1.5;
}

/* ---------- Journal: index and archive cards ---------- */

.blog-body {
	padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--ashwa-section-y);
}

.blog-grid .wp-block-post-template {
	gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.blog-grid .wp-block-post,
.related-grid .post-card {
	display: flex;
	flex-direction: column;
	background: var(--card-bg);
	border: 1px solid var(--line-gold);
	border-radius: var(--r-lg);
	padding: 0.85rem;
	transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s ease;
}

.blog-grid .wp-block-post:hover,
.related-grid .post-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lift);
	border-color: transparent;
}

.blog-grid .wp-block-post-featured-image,
.related-grid .post-card__image {
	display: block;
	margin: 0;
	border-radius: var(--r-md);
	overflow: hidden;
	isolation: isolate;
	transform: translateZ(0);
}

.blog-grid .wp-block-post-featured-image img,
.related-grid .post-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.blog-grid .wp-block-post:hover .wp-block-post-featured-image img,
.related-grid .post-card:hover .post-card__image img {
	transform: scale(1.05);
}

.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.35rem 0.85rem 0.85rem;
}

.post-card__body .eyebrow,
.post-card__body .eyebrow a {
	margin-block-end: 0.6rem;
}

.post-card__title,
.blog-grid .post-card__title {
	font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.01em;
	margin: 0 0 0.65rem;
}

.post-card__title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.post-card__excerpt,
.post-card__excerpt p {
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--wp--preset--color--accent-4);
	margin: 0;
}

.post-card__excerpt .wp-block-post-excerpt__more-link {
	display: none;
}

.post-card__date {
	margin-top: auto;
	padding-top: 1.1rem;
	font-size: 0.8rem;
	color: var(--wp--preset--color--accent-4);
}

/* Lead story: the newest post is a full-width feature on the journal index. */
.blog-grid .wp-block-post-featured-image {
	width: 100%;
}

@media (min-width: 900px) {
	.blog-grid:not(.blog-grid--plain) .wp-block-post-template > .wp-block-post:first-child {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: 1.2fr 1fr;
		align-items: center;
		gap: clamp(1.5rem, 1rem + 2vw, 3rem);
		padding: 1rem;
	}

	.blog-grid:not(.blog-grid--plain) .wp-block-post:first-child .wp-block-post-featured-image img {
		aspect-ratio: 16 / 11;
	}

	.blog-grid:not(.blog-grid--plain) .wp-block-post:first-child .post-card__body {
		padding: 1.5rem clamp(1rem, 0.5rem + 2vw, 2.5rem) 1.5rem 0;
	}

	.blog-grid:not(.blog-grid--plain) .wp-block-post:first-child .post-card__title {
		font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.6rem);
		font-weight: 400;
		line-height: 1.12;
		letter-spacing: -0.02em;
		margin-bottom: 1rem;
	}

	.blog-grid:not(.blog-grid--plain) .wp-block-post:first-child .post-card__excerpt {
		font-size: 1.05rem;
	}
}
.blog-grid .wp-block-query-pagination {
	margin-block-start: 3rem;
	gap: 0.5rem;
	font-size: 0.9rem;
}

.blog-grid .wp-block-query-pagination a,
.blog-grid .wp-block-query-pagination .current {
	padding: 0.5rem 0.9rem;
	border-radius: 999px;
	text-decoration: none;
}

.blog-grid .wp-block-query-pagination .current {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

/* ---------- Single post ---------- */

.post-hero .wp-block-post-terms {
	justify-content: center;
}

.post-hero .wp-block-post-terms a {
	text-decoration: none;
	color: var(--ashwa-gold-text);
}

.post-meta {
	gap: 0.5rem !important;
	margin-block-start: 1.5rem !important;
	font-size: 0.88rem;
	color: var(--wp--preset--color--accent-4);
}

.post-meta > * {
	margin: 0 !important;
}

.post-meta__dot {
	margin-inline-end: 0.5rem;
	opacity: 0.6;
}

.post-body {
	padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) var(--ashwa-section-y);
}

.post-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 720px);
	justify-content: center;
	gap: clamp(2.5rem, 1rem + 4vw, 5rem);
	align-items: start;
}

.post-layout > * {
	margin: 0 !important;
}

.post-layout__toc {
	position: sticky;
	top: 110px;
}

.post-toc {
	border-left: 1px solid var(--wp--preset--color--accent-2);
	padding-left: 1.25rem;
}

.post-toc__title {
	list-style: none;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ashwa-gold-text);
	margin-bottom: 1rem;
	pointer-events: none;
}

.post-toc__title::-webkit-details-marker {
	display: none;
}

.post-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: toc;
}

.post-toc__list li {
	counter-increment: toc;
	margin: 0;
}

.post-toc__list a {
	position: relative;
	display: block;
	padding: 0.45rem 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--wp--preset--color--accent-4);
	text-decoration: none;
	transition: color 0.25s ease, transform 0.35s var(--ease-out);
}

.post-toc__list a::before {
	content: counter(toc, decimal-leading-zero);
	display: inline-block;
	width: 1.9rem;
	font-size: 0.72rem;
	color: var(--wp--preset--color--accent-1);
}

.post-toc__list a::after {
	content: "";
	position: absolute;
	left: calc(-1.25rem - 1px);
	top: 0.35rem;
	bottom: 0.35rem;
	width: 2px;
	background: var(--wp--preset--color--accent-3);
	transform: scaleY(0);
	transition: transform 0.35s var(--ease-out);
}

.post-toc__list a:hover {
	color: var(--wp--preset--color--contrast);
	transform: translateX(3px);
}

.post-toc__list a.is-active {
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
}

.post-toc__list a.is-active::after {
	transform: scaleY(1);
}

.post-cta {
	margin-block-start: clamp(3rem, 2rem + 3vw, 4.5rem) !important;
	padding: clamp(2rem, 1.5rem + 2vw, 3rem);
	border-radius: var(--r-lg);
	background-image: radial-gradient(600px 300px at 100% 0%, rgba(201, 164, 106, 0.2) 0%, transparent 65%);
}

.post-cta .eyebrow {
	color: var(--wp--preset--color--accent-1);
}

.post-cta__title {
	font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
	font-weight: 400;
	line-height: 1.15;
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--base);
}

.post-cta p:not(.eyebrow) {
	opacity: 0.88;
}

.post-cta .is-style-outline > .wp-block-button__link {
	color: var(--wp--preset--color--base);
	border-color: rgba(253, 251, 246, 0.5);
}

.post-cta .is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

.related-posts {
	padding-block: var(--ashwa-section-y);
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	margin-block-start: clamp(2rem, 1.5rem + 2vw, 3rem);
}

/* Search field in the title band */
.hero-search {
	max-width: 520px;
	margin-block-start: 1.75rem !important;
}

.hero-search .wp-block-search__input {
	border: 1px solid rgba(30, 43, 34, 0.18);
	border-radius: 999px;
	padding: 0.85rem 1.25rem;
	background: #fff;
}

.hero-search .wp-block-search__button {
	border-radius: 999px;
	padding-inline: 1.5rem;
}

/* ---------- Small screens ---------- */

@media (max-width: 999px) {
	.post-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}

	.post-layout__toc {
		position: static;
	}

	.post-toc {
		border: 1px solid var(--line-gold);
		border-radius: var(--r-md);
		background: var(--card-bg);
		padding: 1rem 1.25rem;
	}

	.post-toc__title {
		pointer-events: auto;
		cursor: pointer;
		margin: 0;
		display: flex;
		justify-content: space-between;
	}

	.post-toc__title::after {
		content: "+";
		font-size: 1.2rem;
		letter-spacing: 0;
		color: var(--wp--preset--color--accent-3);
		transition: transform 0.3s ease;
	}

	.post-toc__details[open] .post-toc__title::after {
		transform: rotate(45deg);
	}

	.post-toc__details[open] .post-toc__list {
		margin-top: 0.75rem;
	}

	.post-toc__list a::after {
		display: none;
	}
}

@media (max-width: 781px) {
	.related-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* The content wrapper spans the page; its own layout keeps text at 760px and lets wide blocks (e.g. the contact form and sidebar) reach 1180px. */
.page-body > .page-content {
	max-width: none !important;
}

/* ==========================================================================
   Logo mark
   ========================================================================== */

.brand-mark {
	flex-shrink: 0;
}

.brand-mark__link {
	display: inline-flex;
	line-height: 0;
	transition: transform 0.6s var(--ease-out);
}

.brand-mark:hover .brand-mark__link {
	transform: rotate(-8deg);
}

.brand-mark__icon {
	display: block;
}

.brand-mark--footer {
	line-height: 0;
	margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
	.brand-mark__icon {
		width: 34px;
		height: 34px;
	}
}

/* ==========================================================================
   Inner pages follow the homepage margins: wide elements span the same
   full-width column as the header and homepage sections.
   ========================================================================== */

.page-cover img,
.post-cover img {
	max-height: 560px;
	object-fit: cover;
}

/* Post FAQ section */
.post-faq {
	margin-block-start: clamp(3rem, 2rem + 2vw, 4rem) !important;
	padding-block-start: 0.5rem;
}

.post-faq > h2 {
	margin-block-start: 0 !important;
}

/* Philosophy photo: keep the spoon of powder in frame. */
.img-philo img {
	object-position: 18% 50%;
}
