/* ==========================================================================
   Sattvic theme – main stylesheet (mobile first)

   Colours, fonts and font sizes come from theme.json as CSS variables
   (--wp--preset--color--*, --wp--preset--font-family--*), so the block
   editor and the front end always match. Short aliases are defined below.

   Contrast notes (WCAG AA, 4.5:1 for normal text):
   - leaf #2E3B2C on cream: 11:1  ✓
   - white on sage #5E7D52: 4.6:1 ✓ (buttons)
   - sage on cream is only 4.3:1, so small text/links use sage-dark #4A6541 (6:1)
   - gold #B8913F is used for lines/decoration only, never text
   ========================================================================== */

:root {
	--c-cream: var(--wp--preset--color--cream, #FBF6EE);
	--c-white: var(--wp--preset--color--white, #FFFFFF);
	--c-leaf: var(--wp--preset--color--leaf, #2E3B2C);
	--c-sage: var(--wp--preset--color--sage, #5E7D52);
	--c-sage-dark: var(--wp--preset--color--sage-dark, #4A6541);
	--c-sage-light: var(--wp--preset--color--sage-light, #CFE0C3);
	--c-blush: var(--wp--preset--color--blush, #F2D4CF);
	--c-blush-dark: var(--wp--preset--color--blush-dark, #E3AFA7);
	--c-gold: var(--wp--preset--color--gold, #B8913F);
	--c-whatsapp: #1F7A4D; /* darker than WhatsApp green so white text passes 4.5:1 */

	--f-heading: var(--wp--preset--font-family--heading, "Cormorant Garamond", Georgia, serif);
	--f-body: var(--wp--preset--font-family--body, Jost, system-ui, sans-serif);

	--radius-card: 20px;
	--radius-small: 10px;
	--shadow-soft: 0 6px 24px rgba(46, 59, 44, 0.08);
	--gutter: 1.25rem;
	--header-h: 68px;
	--sticky-h: 72px;
	--focus: 0 0 0 3px var(--c-cream), 0 0 0 5px var(--c-leaf);

	/* Logo colours (normal version). .logo--reversed overrides them. */
	--logo-leaf: #5E7D52;
	--logo-petal-side: #F0CEC8;
	--logo-petal-centre: #E3AFA7;
	--logo-line: #B8913F;
	--logo-name: #2E3B2C;
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
	margin: 0;
	background: var(--c-cream);
	color: var(--c-leaf);
	font-family: var(--f-body);
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--c-sage-dark); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-leaf); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-heading);
	font-weight: 600;
	line-height: 1.15;
	color: var(--c-leaf);
	margin: 0 0 0.6em;
	text-wrap: balance;
	font-variant-numeric: lining-nums; /* Cormorant's default old-style "1" looks like "I" (matters for prices) */
}

p { margin: 0 0 1.1em; }

hr, .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--c-gold);
	opacity: 0.6;
	margin: 2.5rem auto;
}

/* Visible focus everywhere (keyboard users). */
:focus-visible {
	outline: 2px solid var(--c-leaf);
	outline-offset: 3px;
	border-radius: 4px;
}
.site-footer :focus-visible,
.has-leaf-background-color :focus-visible,
.has-sage-background-color :focus-visible { outline-color: var(--c-cream); }

#main:focus { outline: none; }

/* Accessible hiding. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 1000;
	padding: 0.75rem 1.25rem;
	background: var(--c-leaf);
	color: var(--c-white);
	border-radius: var(--radius-small);
	text-decoration: none;
}

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

/* ---------- Layout ---------- */

.container {
	width: 100%;
	max-width: calc(1180px + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(720px + 2 * var(--gutter)); }
.container--wide { max-width: calc(1180px + 2 * var(--gutter)); }

.site-main { display: block; min-height: 50vh; }

/* Block content: constrained, with wide/full alignments. */
.entry-content > * {
	max-width: calc(720px + 2 * var(--gutter)); /* same text width as .container--narrow */
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.entry-content > .alignwide { max-width: calc(1180px + 2 * var(--gutter)); }
/* Full-width sections: the section carries the side padding, its children are constrained by WP layout. */
.entry-content > .alignfull { max-width: none; padding-inline: var(--gutter); margin-block: 0; }
.entry-content { padding-bottom: 3rem; }
.entry-content > .alignfull:last-child { margin-bottom: -3rem; } /* sections run into the footer */
.entry-content--flush { padding-bottom: 0; }
.entry-content--flush > .alignfull:last-child { margin-bottom: 0; }
.entry-content--flush > :first-child { margin-top: 0; }
.entry-content h2, .entry-content h3 { scroll-margin-top: calc(var(--header-h) + 1rem); }
.entry-content ul:not([class*="is-style-"]):not(.tag-list), .entry-content ol:not([class*="is-style-"]) { padding-left: 1.4em; }
/* Lists placed directly in the page keep the page gutter AND get the list indent on top:
   numbers/bullets line up with the headings' left edge, wrapped lines indent under the text. */
.entry-content > ul:not([class*="is-style-"]):not(.tag-list):not(.trust-strip):not(.about-facts),
.entry-content > ol:not([class*="is-style-"]) { padding-left: calc(var(--gutter) + 1.4em); }
.entry-content li { margin-bottom: 0.35em; }

/* ---------- Buttons ---------- */

.button,
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px; /* comfortable tap target */
	padding: 0.75rem 1.75rem;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--c-sage);
	color: var(--c-white);
	font-family: var(--f-body);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover { background: var(--c-sage-dark); color: var(--c-white); }
.button:active { transform: translateY(1px); }

.button--small { min-height: 42px; padding: 0.55rem 1.25rem; font-size: 0.95rem; }

.button--outline,
.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--c-leaf);
	border-color: var(--c-sage);
}
.button--outline:hover,
.is-style-outline > .wp-block-button__link:hover { background: var(--c-sage); color: var(--c-white); }

.button--whatsapp { background: var(--c-whatsapp); }
.button--whatsapp:hover { background: #17603C; }

/* ---------- Logo ---------- */

.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: inherit;
}
.logo__mark { width: 52px; height: auto; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
/* Wordmark: "The Satvic Nutrition" on ONE line, never wrapping. */
.logo__name {
	font-family: var(--f-heading);
	font-weight: 600;
	font-size: 1.75rem;
	color: var(--logo-name);
	letter-spacing: 0.01em;
	white-space: nowrap;
}
.logo__byline {
	font-family: var(--f-heading);
	font-style: italic;
	font-weight: 400;
	font-size: 1.05rem;
	color: var(--logo-name);
	margin-top: 0.45rem;
}
.logo__image { max-height: 56px; width: auto; }

.logo--stacked { flex-direction: column; text-align: center; gap: 0.5rem; }
.logo--stacked .logo__text { align-items: center; }
.logo--stacked .logo__mark { width: 84px; }
.logo--stacked .logo__name { font-size: clamp(1.75rem, 1.15rem + 2.6vw, 2.25rem); } /* one line even at 360px */
.logo--stacked .logo__image { max-height: 110px; }

/* Reversed logo for sage / dark backgrounds. */
.logo--reversed {
	--logo-leaf: #CFE0C3;
	--logo-petal-side: #F2D4CF;
	--logo-petal-centre: #FBF6EE;
	--logo-line: #B8913F;
	--logo-name: #FFFFFF;
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 246, 238, 0.96);
	border-bottom: 1px solid rgba(184, 145, 63, 0.25);
	backdrop-filter: saturate(140%) blur(8px);
}
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--header-h);
}
/* Header: mark + one-line wordmark scale down on phones so they stay beside the menu button. */
.site-header .logo { gap: clamp(0.4rem, 1.5vw, 0.6rem); min-width: 0; }
.site-header .logo__mark { width: clamp(34px, 6vw + 12px, 46px); }
.site-header .logo__name { font-size: clamp(1.3rem, 0.8rem + 2.6vw, 1.6rem); }

.nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--c-leaf);
	cursor: pointer;
}
.nav-toggle:hover { background: var(--c-blush); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }
.no-js .nav-toggle { display: none; }

.menu { list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; color: var(--c-leaf); }

/* Mobile: menu is a panel below the header. Without JS it is simply shown. */
.js .site-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: calc(100vh - var(--header-h));
	overflow-y: auto;
	background: var(--c-cream);
	border-bottom: 1px solid rgba(184, 145, 63, 0.3);
	box-shadow: var(--shadow-soft);
	padding: 0.5rem var(--gutter) 1.5rem;
}
.js .site-nav.is-open { display: block; }
.no-js .site-header__inner { flex-wrap: wrap; }
.no-js .site-nav { width: 100%; padding-bottom: 1rem; }

.menu--primary a {
	display: block;
	padding: 0.85rem 0.25rem;
	font-size: 1.1rem;
	border-bottom: 1px solid rgba(46, 59, 44, 0.08);
}
.menu--primary .current-menu-item > a,
.menu--primary a[aria-current="page"] { color: var(--c-sage-dark); font-weight: 500; }

.site-nav__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.25rem;
}
.site-nav__account {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	color: var(--c-leaf);
	text-decoration: none;
	font-weight: 500;
}
.site-nav__account:hover { color: var(--c-sage-dark); text-decoration: underline; }

@media (min-width: 1100px) { /* full menu: the one-line wordmark needs ~1100px beside it (navigation.js uses the same width) */
	.nav-toggle { display: none; }
	.js .site-nav,
	.site-nav {
		display: flex;
		align-items: center;
		gap: 1.75rem;
		position: static;
		max-height: none;
		overflow: visible;
		background: none;
		border: 0;
		box-shadow: none;
		padding: 0;
		width: auto;
	}
	.menu--primary { display: flex; gap: 1.5rem; }
	.menu--primary a {
		padding: 0.5rem 0;
		font-size: 0.98rem;
		border: 0;
		background-image: linear-gradient(var(--c-gold), var(--c-gold));
		background-size: 0 1px;
		background-position: 0 100%;
		background-repeat: no-repeat;
		transition: background-size 0.25s ease;
	}
	.menu--primary a:hover,
	.menu--primary .current-menu-item > a,
	.menu--primary a[aria-current="page"] { background-size: 100% 1px; }
	.site-nav__actions { margin: 0; gap: 1.25rem; }
}

/* ---------- Page headers ---------- */

.page-header { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.page-header--centred { text-align: center; }
.page-header--centred .logo__mark { width: 96px; margin-bottom: 1rem; }
.page-title { font-size: var(--wp--preset--font-size--xx-large, clamp(2.25rem, 6vw, 3.5rem)); margin-bottom: 0.4em; }
.page-intro { font-size: 1.15rem; max-width: 40rem; }
.page-header--centred .page-intro { margin-inline: auto; }
.eyebrow {
	font-size: 0.8rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--c-sage-dark);
	font-weight: 500;
	margin-bottom: 0.75rem;
}
.eyebrow a { text-decoration: none; }
.post-meta { font-size: 0.95rem; color: var(--c-leaf); opacity: 0.85; }

.post-hero { margin: 0 auto 2.5rem; }
.post-hero img { width: 100%; border-radius: var(--radius-card); display: block; }

/* ---------- Cards ---------- */

.card-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
	padding-bottom: 3rem;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--c-white);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(46, 59, 44, 0.12); }
.card__media { aspect-ratio: 4 / 3; background: var(--c-blush); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__placeholder { display: grid; place-items: center; height: 100%; }
.card__placeholder .logo__mark { width: 35%; opacity: 0.8; }
.card__body { padding: 1.25rem 1.4rem 1.5rem; }
.card__title { font-size: 1.5rem; margin-bottom: 0.4rem; }
.card__title a { color: var(--c-leaf); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card__title a:focus-visible { outline: none; }
.card:focus-within { box-shadow: var(--focus); }
.card__excerpt { margin: 0; font-size: 0.98rem; }

/* ---------- Forms ---------- */

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="number"], input[type="url"], input[type="date"],
select, textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.95rem;
	border: 1px solid rgba(46, 59, 44, 0.45);
	border-radius: var(--radius-small);
	background: var(--c-white);
	color: var(--c-leaf);
	font: inherit;
	font-size: 1rem; /* 16px stops iOS zooming on focus */
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--c-sage-dark);
	outline-offset: 1px;
	border-color: var(--c-sage-dark);
}
label { display: block; font-weight: 500; margin-bottom: 0.35rem; }

.search-form { max-width: 32rem; margin: 1.5rem auto; text-align: left; }
.search-form__row { display: flex; gap: 0.5rem; }

/* ---------- Pagination / post nav ---------- */

.pagination .nav-links,
.post-navigation .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; padding-bottom: 3rem; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; min-height: 44px; padding: 0 0.75rem;
	border-radius: 999px; text-decoration: none; color: var(--c-leaf);
}
.page-numbers.current { background: var(--c-sage); color: var(--c-white); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { text-decoration: none; color: var(--c-leaf); font-family: var(--f-heading); font-size: 1.2rem; }
.post-nav__label { display: block; font-family: var(--f-body); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-sage-dark); }

.empty-state { text-align: center; padding: 2rem 0 4rem; }

/* ---------- Footer ---------- */

.site-footer {
	background: var(--c-leaf);
	color: var(--c-cream);
	padding-top: 3.5rem;
	margin-top: 0;
}
.site-footer a { color: var(--c-cream); }
.site-footer a:hover { color: var(--c-blush); }

.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer__brand { text-align: center; }
.site-footer__tagline { margin: 1rem auto 1.25rem; max-width: 22rem; font-family: var(--f-heading); font-style: italic; font-size: 1.2rem; }
.site-footer__heading {
	font-family: var(--f-body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--c-sage-light);
	margin-bottom: 1rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid rgba(184, 145, 63, 0.6);
}

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.7rem; }
.contact-list .icon { flex: none; margin-top: 0.3rem; color: var(--c-sage-light); }

.menu--footer a { display: inline-block; padding: 0.35rem 0; color: var(--c-cream); }
.menu--footer a:hover { text-decoration: underline; }

.social-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.5rem; justify-content: center; }
.social-links a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid rgba(207, 224, 195, 0.5);
}
.social-links a:hover { background: var(--c-sage); color: var(--c-white); }

.site-footer__bottom { border-top: 1px solid rgba(184, 145, 63, 0.45); padding: 1.5rem 0; font-size: 0.9rem; }
.site-footer__bottom-inner { display: grid; gap: 0.75rem; text-align: center; }
.menu--legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.25rem; }
.menu--legal a { display: inline-block; padding: 0.3rem 0; color: var(--c-cream); }
.site-footer__disclaimer { margin: 0; opacity: 0.9; max-width: 48rem; margin-inline: auto; }
.site-footer__copyright { margin: 0; }

@media (min-width: 768px) {
	.site-footer__grid { grid-template-columns: 1.3fr 1fr 0.8fr; }
	.site-footer__brand { text-align: left; }
	.site-footer__brand .logo--stacked { align-items: flex-start; }
	.site-footer__brand .logo--stacked .logo__text { align-items: flex-start; }
	.site-footer__tagline { margin-left: 0; }
	.site-footer .social-links { justify-content: flex-start; }
}

/* ---------- Sticky mobile bar ---------- */

.sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem;
	padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
	background: rgba(251, 246, 238, 0.97);
	border-top: 1px solid rgba(184, 145, 63, 0.35);
	box-shadow: 0 -4px 18px rgba(46, 59, 44, 0.08);
}
.sticky-bar .button { width: 100%; padding-inline: 0.75rem; }

/* Keep the footer clear of the bar on phones. */
body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }

@media (min-width: 768px) {
	.sticky-bar { display: none; }
	body { padding-bottom: 0; }
}

/* ---------- Block editor colour helpers ---------- */

.has-sage-background-color,
.has-leaf-background-color { color: var(--c-white); }
.has-sage-background-color :is(h1, h2, h3, h4, a:not(.wp-block-button__link)),
.has-leaf-background-color :is(h1, h2, h3, h4, a:not(.wp-block-button__link)) { color: var(--c-white); }

.wp-block-image img { border-radius: var(--radius-small); }

/* ==========================================================================
   Phase 2: page sections, block styles and sattvic-core components
   ========================================================================== */

/* ---------- Block styles (registered in inc/patterns.php) ---------- */

.is-style-section { padding-block: clamp(3rem, 8vw, 5.5rem); }

.is-style-card {
	background: var(--c-white);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-soft);
	padding: clamp(1.25rem, 3vw, 2rem);
}
.has-white-background-color .is-style-card { background: var(--c-cream); box-shadow: none; }
.is-style-card > :last-child { margin-bottom: 0; }
.is-style-card h3 { margin-bottom: 0.4em; }

.is-style-eyebrow {
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--c-sage-dark);
	margin-bottom: 0.5rem;
}
.has-sage-background-color .is-style-eyebrow { color: var(--c-white); }

.is-style-lead { font-size: clamp(1.08rem, 2.2vw, 1.25rem); line-height: 1.6; }
.has-text-align-center.is-style-lead { max-width: 40rem; margin-inline: auto; }

/* Leaf-tick list */
.is-style-checks,
.programme-card__list { list-style: none; padding-left: 0; }
.is-style-checks li,
.programme-card__list li { position: relative; padding-left: 1.9rem; margin-bottom: 0.55rem; }
.is-style-checks li::before,
.programme-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 1.15rem;
	height: 1.15rem;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235E7D52' d='M20 4C11 4 5 8.5 5 15c0 1.6.4 3 1 4.2l-2 1.8 1.3 1.4 2-1.8C8.6 21.5 10 22 12 22c6.5 0 9-7 8-18zm-9 13.5-1.4-1.4c2.4-2.6 5-4.6 7.9-6.1-2.5 2-4.7 4.5-6.5 7.5z'/%3E%3C/svg%3E");
}

/* Numbered steps */
.is-style-steps {
	list-style: none;
	counter-reset: step;
	padding: 0;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) { .is-style-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .is-style-steps { grid-template-columns: repeat(4, 1fr); } }
.is-style-steps li {
	counter-increment: step;
	position: relative;
	margin: 0;
	padding: 3.9rem 1.4rem 1.5rem;
	background: var(--c-white);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-soft);
}
.is-style-steps li::before {
	content: counter(step);
	position: absolute;
	top: 1.25rem;
	left: 1.4rem;
	display: grid;
	place-items: center;
	width: 2.3rem;
	height: 2.3rem;
	border-radius: 50%;
	background: var(--c-blush);
	border: 1px solid var(--c-gold);
	font-family: var(--f-heading);
	font-weight: 700;
	font-size: 1.2rem;
	font-variant-numeric: lining-nums;
}
.is-style-steps strong { display: block; font-family: var(--f-heading); font-size: 1.4rem; font-weight: 600; line-height: 1.2; margin-bottom: 0.4rem; }

/* Gold line with lotus */
.wp-block-separator.is-style-lotus {
	position: relative;
	overflow: visible;
	max-width: 220px;
	margin-block: 2.5rem;
	opacity: 1;
	border-top-color: var(--c-gold);
}
.wp-block-separator.is-style-lotus::after {
	content: "";
	position: absolute;
	left: 50%;
	top: -14px;
	width: 34px;
	height: 26px;
	transform: translateX(-50%);
	background: var(--c-cream) no-repeat center / 28px url("../images/logo-mark.svg");
}

/* Light button (on sage / dark sections) */
.is-style-light > .wp-block-button__link { background: var(--c-white); color: var(--c-leaf); }
.is-style-light > .wp-block-button__link:hover { background: var(--c-cream); color: var(--c-leaf); }

/* FAQ */
.wp-block-details.is-style-faq {
	background: var(--c-white);
	border-radius: var(--radius-small);
	box-shadow: var(--shadow-soft);
	margin-bottom: 0.75rem;
	padding: 0;
}
.wp-block-details.is-style-faq summary {
	cursor: pointer;
	list-style: none;
	position: relative;
	padding: 1rem 3rem 1rem 1.25rem;
	font-weight: 500;
	font-size: 1.05rem;
	min-height: 48px;
}
.wp-block-details.is-style-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq summary::after {
	content: "+";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	line-height: 1;
	color: var(--c-sage-dark);
}
.wp-block-details.is-style-faq[open] summary::after { content: "–"; }
.wp-block-details.is-style-faq > :not(summary) { padding-inline: 1.25rem; }
.wp-block-details.is-style-faq > :last-child { padding-bottom: 1rem; margin-bottom: 0; }

/* ---------- Home hero ---------- */

.hero {
	background: linear-gradient(160deg, var(--c-cream) 0%, var(--c-cream) 45%, #F7E6E1 100%);
	padding-block: clamp(2rem, 6vw, 5rem);
}
.hero__columns { gap: clamp(1.5rem, 5vw, 4rem); }
.hero__title { font-size: clamp(2.3rem, 6.5vw, 3.9rem); line-height: 1.08; margin-bottom: 0.45em; }
.hero__note { font-size: 0.95rem; margin-top: 1rem; }
.hero .wp-block-columns { flex-direction: column-reverse; }
@media (min-width: 782px) { .hero .wp-block-columns { flex-direction: row; } }

/* Practice photo (from [sattvic_practice_photo]) */
/*
 * Prachi's arch photo. The frame has a fixed 4:5 shape, so the arch is an
 * exact half-circle at every width: the top corners are 50% of the width
 * across and 40% of the height down (40% of 1.25 x width = half the width).
 * A soft shadow lifts it off the page (no separate outline).
 */
.practice-photo {
	--arch: 50% 50% var(--radius-card) var(--radius-card) / 40% 40% var(--radius-card) var(--radius-card);
	position: relative;
	aspect-ratio: 4 / 5;
	margin: 0;
}
.practice-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top; /* keeps her face in frame */
	border-radius: var(--arch);
	box-shadow: 0 22px 45px -18px rgba(46, 59, 44, 0.45), 0 6px 14px -6px rgba(46, 59, 44, 0.18);
}
.about-intro__photo { max-width: 420px; margin-inline: auto; }
@media (max-width: 781px) { .about-intro__photo { max-width: 320px; } }
.hero__photo { max-width: 420px; margin-inline: auto; isolation: isolate; }
@media (max-width: 781px) { .hero__photo { max-width: 260px; } }
.practice-photo--empty { display: grid; place-items: center; aspect-ratio: 3 / 4; background: var(--c-blush); border-radius: var(--radius-card); padding: 1rem; text-align: center; }

/* ---------- Generic section helpers ---------- */

.card-row { gap: 1.25rem; }
.card-link { margin-top: 0.75rem; font-weight: 500; }
.card-link a { text-decoration-color: var(--c-gold); }

.meet { max-width: 760px; margin-inline: auto; text-align: center; }
.meet__title { font-weight: 500; color: var(--c-sage-dark); }
.meet__quals { font-size: 0.95rem; }
.meet .wp-block-buttons { justify-content: center; }

.cta-band { text-align: center; }
.cta-band h2 { color: var(--c-white); }
.cta-band .whatsapp-cta { margin-top: 1rem; }
.cta-band .button--whatsapp { background: transparent; border-color: rgba(255, 255, 255, 0.8); }
.cta-band .button--whatsapp:hover { background: var(--c-leaf); }
.has-sage-background-color :focus-visible { outline-color: var(--c-white); }

.testimonial {
	margin: 0;
	padding: 1.75rem;
	border: 0;
	border-radius: var(--radius-card);
	background: var(--c-cream);
	font-family: var(--f-heading);
	font-size: 1.25rem;
	font-style: italic;
	line-height: 1.5;
}
.testimonial::before { content: "“"; display: block; font-size: 3.5rem; line-height: 0.6; color: var(--c-blush-dark); margin-bottom: 0.5rem; }
.testimonial cite { display: block; margin-top: 1rem; font-family: var(--f-body); font-style: normal; font-size: 0.9rem; font-weight: 500; color: var(--c-sage-dark); }

.empty-note { text-align: center; padding: 1.5rem; background: rgba(255, 255, 255, 0.6); border-radius: var(--radius-card); }

/* ---------- Programme cards ([sattvic_programmes]) ---------- */

.programme-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-block: 1.5rem 2rem; }
@media (min-width: 700px) { .programme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .programme-grid { grid-template-columns: repeat(3, 1fr); } }
.programme-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--c-white);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-soft);
	padding: 1.75rem 1.5rem 1.5rem;
	border-top: 3px solid var(--c-sage-light);
}
.programme-card--featured { border-top-color: var(--c-gold); }
.programme-card__badge {
	align-self: flex-start;
	margin: 0 0 0.75rem;
	padding: 0.2rem 0.8rem;
	border-radius: 999px;
	background: var(--c-blush);
	font-size: 0.8rem;
	font-weight: 500;
}
.programme-card__title { font-size: 1.75rem; margin-bottom: 0.2rem; }
.programme-card__duration { margin: 0; color: var(--c-sage-dark); font-weight: 500; }
.programme-card__price { font-family: var(--f-heading); font-size: 2.2rem; font-weight: 700; margin: 0.5rem 0 1rem; font-variant-numeric: lining-nums; }
.programme-card__price-tbc { font-family: var(--f-body); font-size: 0.95rem; font-weight: 500; }
.programme-card__desc p { font-size: 0.98rem; }
.programme-card__list { margin: 0 0 1.5rem; font-size: 0.97rem; }
.programme-card__button { margin-top: auto; width: 100%; }

/* ---------- Recipes ([sattvic_recipes]) ---------- */

.recipe-filters fieldset {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1rem;
	margin: 0 0 2rem;
	padding: 1.25rem;
	border: 0;
	border-radius: var(--radius-card);
	background: var(--c-white);
	box-shadow: var(--shadow-soft);
}
.recipe-filters__field { flex: 1 1 12rem; }
.recipe-filters__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.recipe-filters__clear { min-height: 44px; display: inline-flex; align-items: center; }
.recipe-pagination { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; }

.card__placeholder--food {
	background:
		radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.55) 0 18%, transparent 19%),
		no-repeat center / 30% url("../images/logo-mark.svg"),
		linear-gradient(135deg, var(--c-blush), var(--c-sage-light));
}
.card__eyebrow { margin: 0 0 0.25rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-sage-dark); }
.card__meta { margin: 0 0 0.5rem; font-size: 0.92rem; }

.tag-list { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-list li { margin: 0; padding: 0.15rem 0.7rem; border-radius: 999px; background: var(--c-cream); border: 1px solid var(--c-sage-light); font-size: 0.82rem; }
.tag-list--small li { font-size: 0.78rem; }

/* Single recipe details (added by sattvic-core) */
.recipe-details { margin-top: 2rem; }
.recipe-facts { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 1rem; }
.recipe-facts div { padding: 0.75rem 1.1rem; border-radius: var(--radius-small); background: var(--c-white); box-shadow: var(--shadow-soft); }
.recipe-facts dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-sage-dark); }
.recipe-facts dd { margin: 0; font-weight: 500; }
.recipe-method li { margin-bottom: 0.8rem; padding-left: 0.3rem; }

/* ---------- Forms (sattvic-core) ---------- */

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form__field { margin: 0; }
.form__hint { margin: -0.15rem 0 0.4rem; font-size: 0.9rem; }
.form__req { color: #8A3B2E; }
.form__error { margin: 0.35rem 0 0; color: #8A3B2E; font-size: 0.92rem; font-weight: 500; }
.has-error input, .has-error select, .has-error textarea { border-color: #8A3B2E; border-width: 2px; }
.form__field--check { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.75rem; align-items: start; }
.form__field--check input { width: 22px; height: 22px; margin: 0.15rem 0 0; accent-color: var(--c-sage); }
.form__field--check label { font-weight: 400; }
.form__field--check .form__error { grid-column: 2; }
.form__note { margin: 0; font-size: 0.9rem; }
.form .button { justify-self: start; }
textarea { min-height: 9rem; resize: vertical; }

.notice { padding: 1rem 1.25rem; border-radius: var(--radius-small); margin-bottom: 1.5rem; border-left: 4px solid; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice--success { background: #EAF2E5; border-color: var(--c-sage); }
.notice--error { background: #FBEAE7; border-color: #8A3B2E; }
.notice--error a { color: #6E2E24; }

.enquiry { background: var(--c-white); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: clamp(1.25rem, 4vw, 2.25rem); }

/* Contact details list ([sattvic_contact_details]) */
.contact-details { margin: 0; display: grid; gap: 0.9rem; }
.contact-details div { display: grid; gap: 0.1rem; }
.contact-details dt { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-sage-dark); font-weight: 500; }
.contact-details dd { margin: 0; overflow-wrap: anywhere; }
.whatsapp-cta { margin: 0; }

/* ---------- Policy / long-form pages ---------- */

.policy-notice {
	padding: 1rem 1.25rem;
	border-radius: var(--radius-small);
	background: var(--c-blush);
	font-weight: 500;
}

/* ---------- Print ---------- */

@media print {
	.site-header, .site-footer, .sticky-bar, .skip-link, .post-nav, .comments { display: none !important; }
	body { background: #fff; padding: 0; }
}

/* Rows that always hold three cards: fill the width instead of leaving an empty fourth column. */
@media (min-width: 900px) {
	.card-row--3.is-layout-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Boxed elements placed directly in page content keep the side gutter on phones. */
.entry-content > .enquiry,
.entry-content > .policy-notice {
	width: calc(100% - 2 * var(--gutter));
	max-width: 720px;
	margin-inline: auto;
}
.entry-content > .policy-notice { padding: 1rem 1.25rem; }

/* Breathing room before section headings in long pages. */
.entry-content > h2 { margin-top: 2.75rem; }
.entry-content > h3 { margin-top: 1.75rem; }
.recipe-details h2 { margin-top: 2rem; }
.recipe-details .tag-list { margin-bottom: 1rem; }


/* ---------- FREE highlight, free discovery call, savings ---------- */

/* Highlighted words from the editor's Highlight tool (e.g. "FREE"): pill shape. */
mark.has-inline-color {
	padding: 0.05em 0.45em 0.1em;
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: 0.04em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
h1 mark.has-inline-color, h2 mark.has-inline-color { font-family: var(--f-body); font-size: 0.6em; vertical-align: 0.25em; }
.wp-block-button__link mark.has-inline-color { font-size: 0.85em; }

.free-call { scroll-margin-top: calc(var(--header-h) + 0.5rem); }
#free-call { scroll-margin-top: calc(var(--header-h) + 0.5rem); }
.discovery-form {
	max-width: 560px;
	margin: 1.5rem auto 0;
	padding: clamp(1.25rem, 4vw, 2rem);
	border-radius: var(--radius-card);
	background: var(--c-cream);
	border-top: 3px solid var(--c-gold);
}
.has-white-background-color .discovery-form { background: var(--c-cream); }
.entry-content > .discovery-form, .wp-block-group > .discovery-form { width: 100%; }
.discovery-form .button--block { width: 100%; }
.discovery-form__thanks { margin: 0; }
fieldset.form__field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.form__field legend { font-weight: 500; margin-bottom: 0.35rem; padding: 0; }
.form__phone-row { display: grid; grid-template-columns: minmax(0, 9.5rem) 1fr; gap: 0.5rem; }

.programme-card__saving {
	display: inline-block;
	margin: -0.25rem 0 0.75rem;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: var(--c-blush);
	color: var(--c-leaf);
	font-size: 0.9rem;
	font-weight: 600;
}
.programme-card__saving-note { font-weight: 400; }

/* ---------- Content from Prachi (Home, About): trust strip, pillars, facts, certificate ---------- */

.trust-strip-wrap { padding-block: 1rem; border-block: 1px solid rgba(184, 145, 63, 0.35); }
.entry-content ul.trust-strip,
.trust-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 1.5rem;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--c-sage-dark);
	text-align: center;
}
.trust-strip li { margin: 0; display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-strip li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-gold); }

.pillars .is-style-card { border-top: 3px solid var(--c-sage-light); }
.pillars .is-style-card h3 { font-size: 1.45rem; }

.entry-content ul.about-facts,
.about-facts { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.45rem; }
.about-facts li { position: relative; padding-left: 1.6rem; margin: 0; }
.about-facts li::before { content: ""; position: absolute; left: 0.2rem; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-sage); }
.about-intro { margin-bottom: 2.5rem; }

.signature { margin-top: 1.5rem; font-family: var(--f-heading); font-size: 1.2rem; line-height: 1.5; }

.certificate-section .wp-block-image.certificate { max-width: 420px; margin-inline: auto; }
.certificate img { display: block; width: 100%; height: auto; border-radius: var(--radius-small); box-shadow: 0 12px 30px -12px rgba(46, 59, 44, 0.35); border: 1px solid rgba(46, 59, 44, 0.1); }
.certificate figcaption { margin-top: 0.75rem; text-align: center; font-size: 0.92rem; color: var(--c-sage-dark); }

.faq__closing { max-width: 36rem; margin: 2rem auto 0.75rem; font-family: var(--f-heading); font-size: 1.25rem; line-height: 1.45; }

/* Social links inside page content (on light backgrounds). */
.entry-content .social-links--content { justify-content: flex-start; margin-top: 0.5rem; }
.social-links--content a { background: var(--c-cream); color: var(--c-leaf); border: 1px solid var(--c-sage-light); }
.social-links--content a:hover { background: var(--c-sage); color: var(--c-white); }

/* Mobile sticky bar: second button is "Join" while WhatsApp is switched off. */
.sticky-bar .sticky-bar__join-programme { background: var(--c-white); color: var(--c-leaf); border-color: var(--c-sage); }

/* ------------------------------------------------------------------
 * Client testimonials ([sattvic_testimonials], Client Love page,
 * program cards). Quote + label only: no names, photos or ratings.
 * ------------------------------------------------------------------ */
.testimonials { margin-block: var(--space-m, 1.5rem); }
.testimonials__list { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
.testimonials--grid .testimonials__list { align-items: start; }
@media (min-width: 768px) {
	.testimonials--grid .testimonials__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.sattvic-testimonials .testimonials--grid .testimonials__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.testimonial-card {
	margin: 0;
	padding: 1.5rem 1.5rem 1.25rem;
	background: #fff;
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-soft);
	border-top: 3px solid var(--c-blush);
}
.sattvic-testimonials .testimonial-card,
.has-white-background-color .testimonial-card { background: var(--c-cream); box-shadow: none; }
.testimonial-card::before { content: "“"; display: block; font-family: var(--f-heading); font-size: 3.5rem; line-height: 0.6; color: var(--c-blush-dark); margin-bottom: 0.4rem; }
.testimonial-card__quote { margin: 0; padding: 0; border: 0; font-size: 1.02rem; line-height: 1.7; color: var(--c-leaf); }
.testimonial-card__quote p { margin: 0 0 0.75em; }
.testimonial-card__quote p:last-child { margin-bottom: 0; }
.testimonial-card__translation { font-size: 0.9rem; color: var(--c-sage-dark); }
.testimonial-card__quote.is-clamped {
	max-height: calc(1.7em * 5);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(#000 60%, transparent);
	mask-image: linear-gradient(#000 60%, transparent);
}
.testimonial-card__more {
	margin-top: 0.5rem;
	padding: 0.35rem 0;
	min-height: 44px;
	background: none;
	border: 0;
	font: inherit;
	font-weight: 500;
	color: var(--c-sage-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.testimonial-card__more:focus-visible { outline: 3px solid var(--c-sage); outline-offset: 2px; border-radius: 4px; }
.testimonial-card__label { margin-top: 0.9rem; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-sage-dark); }
.testimonials__note { margin-top: 1rem; font-size: 0.85rem; color: var(--c-muted, #5b6458); text-align: center; }
.testimonials__more { margin-top: 1.25rem; text-align: center; }
.testimonials--compact { margin-block: 1.25rem 2.5rem; }
.testimonials--compact .testimonials__note { text-align: left; }
.programme-card__testimonial { margin-top: 1.25rem; }
.programme-card__testimonial .testimonial-card { padding: 1rem 1.1rem; box-shadow: none; background: var(--c-cream); border-top-width: 2px; }
.programme-card__testimonial .testimonial-card::before { font-size: 2.5rem; }
.programme-card__testimonial .testimonial-card__quote { font-size: 0.95rem; }

/* Section title used as a block's only heading (e.g. "My approach"): centred, with a
   short gold rule underneath and balanced space before the cards. */
.section-title {
	margin-top: 0;
	margin-bottom: clamp(1.75rem, 5vw, 2.5rem);
}
.section-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 2px;
	margin: 0.8rem auto 0;
	border-radius: 2px;
	background: var(--c-gold);
}
.has-text-align-left.section-title::after { margin-left: 0; }
