/*
Theme Name:   NuEmpowerment Health Child
Theme URI:    https://nuempowermenthealth.com/
Description:  Astra child theme for NuEmpowerment Health. Brand system per Brand Style Guide rev. 07/2026. Built for WPBakery Page Builder.
Author:       Cut Throat Marketing
Author URI:   https://cutthroatmarketing.com/
Template:     astra
Version:      1.1.7
License:      GNU General Public License v2 or later
Text Domain:  nuempowerment-child
*/

/* ==========================================================================
   1. TOKENS
   Palette is the Brand Style Guide (rev. 07/2026), with two documented notes:
   - CREAM in the PDF prints hex #FBE3EB, which is a genuine pink (hue 340deg),
     while its RGB (251/243/235) is #FBF3EB, an orange-peach (hue 30deg). The
     printed hex is a typo and still needs correcting with the designer. The
     RGB was neutralised to #FAF5EE for screen — see the note below.
   - Contrast figures below are exact for #FAF5EE, not the guide value.
   - --neh-ink is brand black softened to #1A1A1A for long-form reading comfort.
     Pure #000 remains available as --neh-black.

   Cream is #FAF5EE — the brand RGB neutralised from hue 30deg / 67% sat to
   hue 35deg / 55% sat, because at 95% lightness the original read as pink
   once placed directly against pure white.

   Contrast, all measured:
     brown #493122 on cream ......... 11.09:1  safe for any text
     brown #493122 on white ......... 12.03:1  safe for any text
     brown #493122 on light gray .... 10.08:1  safe for any text
     cream on dark gray #63615D ...... 5.70:1  safe for any text
     BROWN on SAGE (button label) .... 4.60:1  passes AA, but only just.
                                                Do not lighten either colour.
     white on SAGE ................... 2.62:1  FAILS. Sage buttons take brown
                                                labels, never white.
     gold  #B47F00 on cream .......... 3.24:1  LARGE TEXT / non-text UI ONLY
     sage  #A1A468 on cream .......... 2.41:1  NEVER as text. Fills and rules.
   ========================================================================== */

:root {
	--neh-cream:        #FAF5EE;
	--neh-white:        #FFFFFF;
	--neh-brown:        #493122;
	--neh-gold:         #B47F00;
	--neh-sage:         #A1A468;
	--neh-gray-dark:    #63615D;
	--neh-gray-light:   #EBEBEA;
	--neh-black:        #000000;
	--neh-ink:          #1A1A1A;

	--neh-panel:        #FAF5EE;
	--neh-brown-hair:   rgba(73, 49, 34, 0.22);
	--neh-brown-soft:   rgba(73, 49, 34, 0.06);
	--neh-cream-hair:   rgba(251, 243, 235, 0.28);

	/* Licensed brand faces are listed first: if Ambroise Std or Peridot PE are
	   ever self-hosted with a web licence, they take over with no code change. */
	--neh-display: "Ambroise Std", "Fraunces", Georgia, "Times New Roman", serif;
	--neh-body:    "Peridot PE", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--neh-step--1: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
	--neh-step-0:  clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
	--neh-step-1:  clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
	--neh-step-2:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
	--neh-step-3:  clamp(1.875rem, 1.5rem + 1.9vw, 2.875rem);
	--neh-step-4:  clamp(2.25rem, 1.6rem + 3.2vw, 4.25rem);

	--neh-gap:     clamp(1.5rem, 1rem + 2vw, 3.5rem);
	--neh-band:    clamp(2.75rem, 1.75rem + 3vw, 4.5rem);
	--neh-radius:  14px;
	--neh-pill:    999px;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */

body,
body.wp-singular {
	background-color: var(--neh-white);
	color: var(--neh-ink);
	font-family: var(--neh-body);
	font-size: var(--neh-step-0);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: var(--neh-display);
	font-weight: 600;
	color: var(--neh-brown);
	line-height: 1.1;
	letter-spacing: -0.015em;
	text-wrap: balance;
	font-variation-settings: "SOFT" 0, "WONK" 1;
}

h1 { font-size: var(--neh-step-4); }
h2 { font-size: var(--neh-step-3); }
h3 { font-size: var(--neh-step-1); line-height: 1.25; }
h4 { font-size: var(--neh-step-0); line-height: 1.3; }

a { color: var(--neh-brown); text-underline-offset: 0.18em; }
a:hover, a:focus { color: var(--neh-gold); }

:where(a, button, summary, input, [tabindex]):focus-visible {
	outline: 3px solid var(--neh-brown);
	outline-offset: 3px;
	border-radius: 4px;
}

.neh-on-dark :where(a, button, summary):focus-visible {
	outline-color: var(--neh-cream);
}

.neh-sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

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

/* ==========================================================================
   3. SECTION SHELL
   One padding rule. Individual sections set colour only, so nothing fights.
   ========================================================================== */

.neh-section {
	padding-top: var(--neh-band);
	padding-bottom: var(--neh-band);
}

.neh-section.vc_row { margin-left: 0; margin-right: 0; }

.neh-band-cream { background-color: var(--neh-cream); }
.neh-band-white { background-color: var(--neh-white); }

/* Every section is separated by a hairline, not just same-coloured pairs.
   Colour alternation alone was too subtle to define where a section ended. */
.neh-section + .neh-section {
	border-top: 1px solid var(--neh-brown-hair);
}
.neh-section.neh-band-dark,
.neh-band-dark + .neh-section {
	border-top: 0;
}

/* Dark bands use the brand dark gray, not black. Cream on #63615D is 5.63:1,
   so body copy inside these bands is still AA-compliant. */
.neh-band-dark,
.neh-on-dark {
	background-color: var(--neh-gray-dark);
	color: var(--neh-cream);
}
.neh-band-gray { background-color: var(--neh-gray-light); }
.neh-on-dark :is(h1, h2, h3, h4) { color: var(--neh-cream); }
.neh-on-dark a { color: var(--neh-cream); }
.neh-on-dark a:hover, .neh-on-dark a:focus { color: var(--neh-white); }

.neh-tight { padding-top: 0; }

/* Eyebrow labels. These are <p>, never headings — they label, they don't
   sit in the document outline. Gold appears as the rule, not the text. */
.neh-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1rem;
	font-family: var(--neh-body);
	font-size: var(--neh-step--1);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--neh-brown);
	line-height: 1.3;
}
.neh-eyebrow::before {
	content: "";
	flex: 0 0 34px;
	height: 2px;
	background-color: var(--neh-gold);
}
.neh-on-dark .neh-eyebrow { color: var(--neh-cream); }
.neh-on-dark .neh-eyebrow::before { background-color: var(--neh-sage); }

.neh-lede {
	font-size: var(--neh-step-1);
	line-height: 1.5;
	max-width: 52ch;
}

/* Section intro: heading left, supporting copy right. Without this the
   heading and lede stack in a narrow column and leave half the row empty. */
.neh-intro {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: var(--neh-gap);
	align-items: end;
}
.neh-intro h2 { margin: 0; }
.neh-intro .neh-lede,
.neh-intro .neh-measure { max-width: none; }
.neh-intro__text > :first-child { margin-top: 0; }
.neh-intro__text > :last-child  { margin-bottom: 0; }
.neh-intro__text p { margin: 0 0 1rem; }

/* ---- Media -------------------------------------------------------------- */

.neh-figure { margin: 0; }
.neh-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--neh-radius);
	object-fit: cover;
}
.neh-figure--4x3 img { aspect-ratio: 4 / 3; }
.neh-figure--3x2 img { aspect-ratio: 3 / 2; }
.neh-figure--4x5 img { aspect-ratio: 4 / 5; }
.neh-figure--square img { aspect-ratio: 1 / 1; }

/* Intro row carrying an image in the second column. */
.neh-intro--media { align-items: start; }
.neh-intro--media .neh-figure img { aspect-ratio: 3 / 2; }

/* Text column beside a supporting image. */
.neh-split {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: var(--neh-gap);
	align-items: start;
}
.neh-split .neh-measure { max-width: none; }

/* Monogram used as texture. Decorative only — hidden from assistive tech. */
.neh-mark {
	display: block;
	width: clamp(110px, 13vw, 180px);
	height: auto;
	margin: 0 0 1.5rem;
	opacity: 0.55;
}

/* A closing statement, set as a deliberate line rather than a stray paragraph. */
.neh-statement {
	margin: 2.25rem 0 0;
	padding-top: 1.75rem;
	border-top: 1px solid var(--neh-brown-hair);
	max-width: 34ch;
	font-family: var(--neh-display);
	font-size: var(--neh-step-2);
	font-style: italic;
	line-height: 1.3;
	color: var(--neh-brown);
}

.neh-measure { max-width: 68ch; }
.neh-mt      { margin-top: 2.5rem; }
.neh-center  { text-align: center; }
.neh-center .neh-eyebrow { justify-content: center; }
.neh-center .neh-measure { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

/* Astra underlines links inside .entry-content. These elements draw their own
   affordance, so the inherited underline is removed at matching specificity. */
.entry-content a.neh-btn,
.entry-content a.neh-link,
a.neh-btn,
a.neh-link { text-decoration: none; }

.neh-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	margin-top: 1.75rem;
}
.neh-center .neh-actions { justify-content: center; }

.neh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 52px;
	padding: 0.75rem 1.75rem;
	border: 2px solid transparent;
	border-radius: var(--neh-pill);
	font-family: var(--neh-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Sage fill with a BROWN label — 4.60:1. A white label on sage is 2.62:1 and
   fails, so the label colour here is not interchangeable. */
.neh-btn--primary {
	background-color: var(--neh-sage);
	border-color: var(--neh-sage);
	color: var(--neh-brown);
}
.neh-btn--primary:hover,
.neh-btn--primary:focus {
	background-color: var(--neh-brown);
	border-color: var(--neh-brown);
	color: var(--neh-cream);
}

.neh-btn--ghost {
	background-color: transparent;
	border-color: var(--neh-brown);
	color: var(--neh-brown);
}
.neh-btn--ghost:hover,
.neh-btn--ghost:focus {
	background-color: var(--neh-brown);
	color: var(--neh-cream);
}

/* Gold is only legible as a fill under black text, so that pairing is the
   only place it is allowed to carry a control. */
.neh-btn--gold {
	background-color: var(--neh-gold);
	border-color: var(--neh-gold);
	color: var(--neh-black);
}
.neh-btn--gold:hover,
.neh-btn--gold:focus {
	background-color: var(--neh-brown);
	border-color: var(--neh-brown);
	color: var(--neh-cream);
}

.neh-on-dark .neh-btn--primary {
	background-color: var(--neh-cream);
	border-color: var(--neh-cream);
	color: var(--neh-brown);
}
.neh-on-dark .neh-btn--primary:hover,
.neh-on-dark .neh-btn--primary:focus {
	background-color: var(--neh-white);
	color: var(--neh-ink);
}
.neh-on-dark .neh-btn--ghost {
	border-color: var(--neh-cream);
	color: var(--neh-cream);
}
.neh-on-dark .neh-btn--ghost:hover,
.neh-on-dark .neh-btn--ghost:focus {
	background-color: var(--neh-cream);
	color: var(--neh-brown);
}

/* Inline text link with arrow */
.neh-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid var(--neh-gold);
	padding-bottom: 2px;
	min-height: 32px;
}
.neh-link:hover,
.neh-link:focus { border-bottom-color: var(--neh-brown); }
.neh-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	margin-top: 1.75rem;
}

/* ==========================================================================
   5. HERO
   ========================================================================== */

.neh-hero { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); }

.neh-hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: var(--neh-gap);
	align-items: center;
}

.neh-hero h1 { margin: 0 0 1.5rem; }
.neh-hero h1 em {
	font-style: italic;
	color: var(--neh-gold);
	font-variation-settings: "SOFT" 0, "WONK" 1;
}

.neh-hero__sub {
	max-width: 56ch;
	margin: 0;
	font-size: var(--neh-step-0);
}

.neh-hero__pill {
	display: inline-block;
	margin: 0 0 1.5rem;
	padding: 0.5rem 1.125rem;
	border: 1px solid var(--neh-brown-hair);
	border-radius: var(--neh-pill);
	background-color: var(--neh-cream);
	font-size: var(--neh-step--1);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--neh-brown);
	line-height: 1.4;
}

.neh-hero__where {
	margin: 1.75rem 0 0;
	font-size: var(--neh-step--1);
	color: var(--neh-brown);
	letter-spacing: 0.01em;
}

.neh-hero__media { position: relative; }
.neh-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	/* If a replacement photograph is not 4:5, crop from the bottom
	   rather than the middle, so a face is never the part removed. */
	object-position: center 20%;
	border-radius: var(--neh-radius);
}

/* Deliberately small. The card sits on top of a portrait, so it is capped at
   the lesser of 15rem and 48% of the image width — enough to stay legible,
   not enough to cover the subject. Most of the card hangs off the left edge
   rather than sitting on the photograph. */
.neh-hero__quote {
	position: absolute;
	left: -3rem;
	bottom: -2rem;
	max-width: min(15rem, 48%);
	margin: 0;
	padding: 1.125rem 1.25rem;
	background-color: var(--neh-cream);
	border-left: 3px solid var(--neh-gold);
	border-radius: var(--neh-radius);
	box-shadow: 0 12px 30px rgba(73, 49, 34, 0.16);
}
.neh-hero__quote p {
	margin: 0 0 0.5rem;
	font-family: var(--neh-display);
	font-size: 1rem;
	font-style: italic;
	line-height: 1.4;
	color: var(--neh-brown);
}
.neh-hero__quote cite {
	font-style: normal;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--neh-ink);
}

/* ==========================================================================
   6. CREDENTIALS STRIP
   ========================================================================== */

/* Full-bleed background, centred and contained content. The row must use
   WPBakery's "Stretch row" — NOT "Stretch row and content". Stretching the
   content too is what pushed this to the viewport edges. */
.neh-creds { padding-top: 2.25rem; padding-bottom: 2.25rem; }

.neh-creds__inner {
	max-width: 1150px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.neh-creds .neh-eyebrow {
	justify-content: center;
	margin-bottom: 1.375rem;
}

.neh-creds__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--neh-step--1);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 600;
}
.neh-creds__list li {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.neh-creds__list li:not(:last-child)::after {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--neh-sage);
}

/* ==========================================================================
   7. TWO-COLUMN PROSE (The Reality / Before You Book)
   ========================================================================== */

.neh-duo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--neh-gap);
	margin-top: 2.25rem;
}

.neh-duo__col {
	padding-left: 1.75rem;
	border-left: 3px solid var(--neh-sage);
}
.neh-duo__col h3 { margin: 0 0 1rem; }
.neh-duo__col p { margin: 0 0 1rem; }
.neh-duo__col > :last-child { margin-bottom: 0; }

.neh-list {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}
.neh-list li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.5rem;
	line-height: 1.5;
}
.neh-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 8px;
	height: 2px;
	background-color: var(--neh-gold);
}

.neh-note {
	font-family: var(--neh-display);
	font-size: var(--neh-step-1);
	font-style: italic;
	color: var(--neh-brown);
	line-height: 1.4;
}

/* ==========================================================================
   8. TWO WAYS IN — cards
   ========================================================================== */

.neh-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--neh-gap);
	margin-top: 2.25rem;
}

/* Three-across variant, for pages listing short items rather than two
   long offers. */
.neh-cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.neh-card {
	display: flex;
	flex-direction: column;
	padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
	background-color: var(--neh-cream);
	border: 1px solid var(--neh-brown-hair);
	border-radius: var(--neh-radius);
}
.neh-band-cream .neh-card { background-color: var(--neh-white); }

.neh-card__kicker {
	margin: 0 0 0.5rem;
	font-size: var(--neh-step--1);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--neh-brown);
}
.neh-card h3 { margin: 0 0 1rem; font-size: var(--neh-step-2); }
.neh-card p  { margin: 0 0 1rem; }
.neh-card .neh-list { margin-bottom: 1.5rem; }
.neh-card .neh-btn { align-self: flex-start; margin-bottom: 2rem; }

.neh-card figure {
	margin: auto 0 0;
	padding-top: 1.75rem;
	border-top: 1px solid var(--neh-brown-hair);
}
.neh-card blockquote {
	margin: 0 0 0.875rem;
	padding: 0;
	border: 0;
	font-family: var(--neh-display);
	font-size: var(--neh-step-1);
	font-style: italic;
	line-height: 1.4;
	color: var(--neh-brown);
}
.neh-card figcaption {
	font-size: var(--neh-step--1);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--neh-ink);
}
.neh-disclosure {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--neh-ink);
	opacity: 0.75;
}

/* ==========================================================================
   9. SIX PILLARS
   Presented as a grid, not a numbered rail: the copy is explicit that the six
   are not worked in sequence, so no connector implies an order that isn't real.
   ========================================================================== */

.neh-pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	margin-top: 2.25rem;
	padding-top: 2.25rem;
	border-top: 1px solid var(--neh-brown-hair);
}

.neh-pillar {
	display: flex;
	align-items: center;
	gap: 1.125rem;
}

/* Brown on sage is 3.4:1 — below AA for body text, above it for large text.
   The numeral is set at 24px/700, which meets the WCAG large-text threshold
   (14pt bold). Do not reduce this size or lighten this colour. */
.neh-pillar__num {
	flex: 0 0 3.375rem;
	display: grid;
	place-items: center;
	width: 3.375rem;
	height: 3.375rem;
	border-radius: 50%;
	background-color: var(--neh-sage);
	color: var(--neh-brown);
	font-family: var(--neh-display);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}
.neh-pillar h3 { margin: 0; font-size: var(--neh-step-1); }

.neh-footnote {
	margin: 1.5rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.6;
	color: var(--neh-ink);
	opacity: 0.8;
}

/* ==========================================================================
   9b. NUMBERED STEP SEQUENCE (Coaching page)
   Vertical, with a connector down the left. Unlike the six pillars these
   steps ARE a sequence, so the connector is accurate here. Vertical rather
   than horizontal because each step carries two or three sentences.
   ========================================================================== */

.neh-steps {
	margin-top: 2.25rem;
	counter-reset: neh-step;
}

/* The number is generated by CSS, not written into the markup. Nothing for
   the editor's auto-paragraph filter to wrap, orphan, or push onto its own
   line — which is what made the numbers read as part of the section above. */
.neh-step {
	position: relative;
	display: grid;
	grid-template-columns: 3.375rem minmax(0, 1fr);
	gap: 1.5rem;
	padding-bottom: 2rem;
	counter-increment: neh-step;
}
.neh-step:last-child { padding-bottom: 0; }

.neh-step::before {
	content: counter(neh-step, decimal-leading-zero);
	grid-column: 1;
	grid-row: 1;
	display: grid;
	place-items: center;
	width: 3.375rem;
	height: 3.375rem;
	border-radius: 50%;
	background-color: var(--neh-sage);
	color: var(--neh-brown);
	font-family: var(--neh-display);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

/* Connector between steps. */
.neh-step::after {
	content: "";
	position: absolute;
	left: 1.625rem;
	top: 3.375rem;
	bottom: 0;
	width: 2px;
	background-color: var(--neh-sage);
}
.neh-step:last-child::after { display: none; }

.neh-step__body { grid-column: 2; grid-row: 1; }
.neh-step__body h3 { margin: 0.375rem 0 0.5rem; }
.neh-step__body p  { margin: 0; max-width: 70ch; }

/* ==========================================================================
   9c. FEATURE QUOTE — full-width centred testimonial
   ========================================================================== */

/* The measure is set in rem, not ch. A ch value here resolved against the
   figure's inherited body font (~19px), producing a ~440px column that the
   46px quote then had to wrap inside — tall, narrow, and stranded. */
.neh-quote-feature {
	max-width: 62rem;
	margin: 0 auto;
	text-align: center;
}

/* Opening quote mark, so the block reads as a pull quote rather than a
   paragraph that lost its section. */
.neh-quote-feature::before {
	content: "\201C";
	display: block;
	margin-bottom: 0.25rem;
	font-family: var(--neh-display);
	font-size: 4rem;
	line-height: 0.8;
	color: var(--neh-gold);
}

.neh-quote-feature blockquote {
	margin: 0 0 1.75rem;
	padding: 0;
	border: 0;
	color: var(--neh-brown);
	font-family: var(--neh-display);
	font-size: clamp(1.375rem, 1rem + 1.3vw, 2.25rem);
	font-style: italic;
	line-height: 1.3;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.neh-quote-feature figcaption {
	font-size: var(--neh-step--1);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.neh-quote-feature .neh-disclosure { margin-top: 0.5rem; }
.neh-on-dark .neh-disclosure { color: var(--neh-cream); opacity: 0.8; }

/* ==========================================================================
   10. WALK WITH A DOC panel
   ========================================================================== */

.neh-panel {
	padding: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
	background-color: var(--neh-panel);
	border-left: 4px solid var(--neh-gold);
	border-radius: var(--neh-radius);
}
.neh-band-cream .neh-panel {
	background-color: var(--neh-white);
	border: 1px solid var(--neh-brown-hair);
	border-left: 4px solid var(--neh-gold);
}
.neh-panel__grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: var(--neh-gap);
	align-items: center;
}
.neh-panel__grid > div > :first-child { margin-top: 0; }
.neh-panel__grid > div > :last-child  { margin-bottom: 0; }
.neh-panel h2 { margin: 0 0 1rem; }
.neh-panel p  { margin: 0 0 1rem; max-width: 60ch; }
.neh-panel > :last-child { margin-bottom: 0; }
.neh-panel__free {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
	font-weight: 600;
	font-size: var(--neh-step--1);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--neh-brown);
}

/* ==========================================================================
   11. GETTING STARTED
   ========================================================================== */

.neh-start p { margin: 0 0 1.25rem; }
.neh-start__fine {
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--neh-brown-hair);
	font-size: var(--neh-step--1);
	line-height: 1.65;
}
.neh-start__fine p { margin: 0 0 0.875rem; }
.neh-start__fine > :last-child { margin-bottom: 0; }

/* ==========================================================================
   12. FAQ

   Built from a <button> rather than <details>/<summary>. The summary element
   did not survive the editor round-trip — it arrived empty, so browsers fell
   back to their default "Details" label and the question rendered outside it.
   A button toggled by JS is fully under our control and equally accessible:
   the question stays a real H3 and the state is announced via aria-expanded.
   With JS off, every answer is simply visible.
   ========================================================================== */

/* Heading column left, questions right. Three collapsed bars spanning the
   full container looked like empty rows; this fills the width and gives the
   accordion a sensible reading measure. */
.neh-faq-layout {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: var(--neh-gap);
	align-items: start;
}
.neh-faq-layout__head h2 { margin: 0 0 1.5rem; }
.neh-faq-layout__head .neh-links { margin-top: 0; }

.neh-faq { margin-top: 0; max-width: 100%; }

.neh-faq__item {
	margin-bottom: 0.875rem;
	background-color: var(--neh-cream);
	border: 1px solid var(--neh-brown-hair);
	border-radius: var(--neh-radius);
}
.neh-band-cream .neh-faq__item { background-color: var(--neh-white); }
.neh-faq__item.is-open { border-color: var(--neh-gold); }

.neh-faq__q { margin: 0; font-size: inherit; line-height: inherit; }

.neh-faq__btn {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
	min-height: 60px;
	margin: 0;
	padding: 1.25rem 1.5rem;
	background: none;
	border: 0;
	border-radius: var(--neh-radius);
	cursor: pointer;
	text-align: left;
	font-family: var(--neh-display);
	font-size: var(--neh-step-1);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--neh-brown);
}
/* Astra styles bare <button> elements, and its button:hover / button:focus
   rules outrank a single class — that is where the blue behind the question
   was coming from. These are scoped heavier and pinned transparent. */
.neh-faq .neh-faq__btn,
.neh-faq .neh-faq__btn:hover,
.neh-faq .neh-faq__btn:focus,
.neh-faq .neh-faq__btn:active {
	background-color: transparent;
	background-image: none;
	box-shadow: none;
	border: 0;
}
.neh-faq .neh-faq__btn:hover,
.neh-faq .neh-faq__btn:focus { color: var(--neh-ink); }
.neh-faq .neh-faq__btn:focus-visible {
	outline: 3px solid var(--neh-brown);
	outline-offset: -3px;
}

.neh-faq__btn::after {
	content: "";
	flex: 0 0 13px;
	width: 13px;
	height: 13px;
	margin-top: 0.4em;
	border-right: 2px solid var(--neh-gold);
	border-bottom: 2px solid var(--neh-gold);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}
.neh-faq__item.is-open .neh-faq__btn::after { transform: rotate(-135deg); }

.neh-faq__body {
	padding: 0 1.5rem 1.5rem;
	max-width: 78ch;
}
.neh-faq__body[hidden] { display: none; }
.neh-faq__body p { margin: 0 0 0.875rem; }
.neh-faq__body > :last-child { margin-bottom: 0; }

/* ==========================================================================
   13. HEADER / NAV (Astra)
   ========================================================================== */

.ast-primary-header-bar,
.ast-header-break-point .ast-primary-header-bar {
	background-color: var(--neh-cream) !important;
	border-bottom: 1px solid var(--neh-brown-hair);
}

/* Full-width header: Astra removes the container max-width, so the logo and
   the CTA sit flush against the viewport edge. Restore gutters. */
.ast-primary-header-bar .ast-container,
.site-header .ast-container,
.ast-header-break-point .ast-primary-header-bar .ast-container {
	padding-left: clamp(1.25rem, 3vw, 3.5rem);
	padding-right: clamp(1.25rem, 3vw, 3.5rem);
}

.main-header-menu .menu-link,
.main-header-menu > li > a {
	font-family: var(--neh-body);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--neh-ink);
	padding-left: 0.7rem;
	padding-right: 0.7rem;
	white-space: nowrap;
}

@media (min-width: 922px) and (max-width: 1400px) {
	.main-header-menu .menu-link,
	.main-header-menu > li > a {
		font-size: 0.8125rem;
		letter-spacing: 0.02em;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
}
/* Astra applies its own theme colour (a blue) to the current menu item at a
   specificity that beat the earlier rule. These selectors are deliberately
   heavier so the brand colour wins. */
.ast-primary-header-bar .main-header-menu .menu-item:hover > .menu-link,
.ast-primary-header-bar .main-header-menu .menu-item > .menu-link:hover,
.ast-primary-header-bar .main-header-menu .menu-item > .menu-link:focus,
.main-header-menu .menu-item:hover > .menu-link {
	color: var(--neh-brown);
}

.ast-primary-header-bar .main-header-menu .current-menu-item > .menu-link,
.ast-primary-header-bar .main-header-menu .current_page_item > .menu-link,
.ast-primary-header-bar .main-header-menu .current-menu-ancestor > .menu-link,
.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .current_page_item > .menu-link,
.main-header-menu .current-menu-ancestor > .menu-link {
	color: var(--neh-brown);
	box-shadow: inset 0 -3px 0 0 var(--neh-gold);
}

/* Astra free assigns this class automatically to the Header Builder button.
   There is no CSS-class field for it in the free Customizer, so target the
   generated class directly. -2 / -3 cover a second and third button element. */
.ast-header-button-1 .ast-custom-button,
.ast-header-button-2 .ast-custom-button,
.ast-header-button-3 .ast-custom-button,
.ast-builder-button-wrap .ast-custom-button {
	background-color: var(--neh-brown);
	color: var(--neh-cream);
	border: 2px solid var(--neh-brown);
	border-radius: var(--neh-pill);
	padding: 0.7rem 1.4rem;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	font-family: var(--neh-body);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	margin-left: 1rem;
}
.ast-header-button-1 .ast-custom-button:hover,
.ast-header-button-1 .ast-custom-button:focus,
.ast-builder-button-wrap .ast-custom-button:hover,
.ast-builder-button-wrap .ast-custom-button:focus {
	background-color: var(--neh-ink);
	border-color: var(--neh-ink);
	color: var(--neh-white);
}

/* ==========================================================================
   13b. ASTRA PALETTE OVERRIDE

   Astra prints its dynamic CSS inline in <head>, which loads AFTER this
   stylesheet and therefore outranks it. That is why the mobile menu
   toggle and form buttons were still Astra blue even though the nav
   links had been fixed. Overriding Astra's own global colour variables
   fixes the palette at the source; the explicit selectors below catch
   the elements Astra paints with hard-coded values.
   ========================================================================== */

:root {
	--ast-global-color-0: #493122;
	--ast-global-color-1: #63615D;
	--ast-global-color-2: #1A1A1A;
	--ast-global-color-3: #63615D;
	--ast-global-color-4: #FAF5EE;
	--ast-global-color-5: #FFFFFF;
	--ast-global-color-8: #FAF5EE;
}

/* Mobile menu toggle (the hamburger). !important is required here: Astra's
   inline dynamic CSS loads after this file. */
.ast-mobile-menu-trigger-fill,
.ast-mobile-menu-trigger-minimal,
.ast-mobile-menu-trigger-outline,
.main-header-menu-toggle,
.menu-toggle,
.ast-button-wrap .menu-toggle {
	background-color: var(--neh-brown) !important;
	border-color: var(--neh-brown) !important;
	color: var(--neh-cream) !important;
}
.menu-toggle .ast-mobile-svg,
.ast-mobile-menu-trigger-fill .ast-mobile-svg,
.ast-mobile-menu-trigger-minimal .ast-mobile-svg {
	fill: var(--neh-cream) !important;
}

/* The slide-out mobile panel. */
.ast-mobile-popup-drawer .ast-mobile-popup-inner,
.ast-mobile-popup-drawer .ast-mobile-popup-content {
	background-color: var(--neh-cream);
}
.ast-mobile-popup-drawer .menu-link,
.ast-header-break-point .main-header-menu .menu-link {
	color: var(--neh-ink);
}
.ast-mobile-popup-drawer .current-menu-item > .menu-link,
.ast-header-break-point .main-header-menu .current-menu-item > .menu-link {
	color: var(--neh-brown);
}
.ast-mobile-popup-drawer .menu-toggle-close { color: var(--neh-brown) !important; }

/* Any bare button or submit control Astra would otherwise paint blue:
   newsletter subscribe, form submits, block buttons. The FAQ accordion is
   excluded because it is styled as text, not as a button. */
button:not(.neh-faq__btn):not(.menu-toggle):not(.ast-mobile-menu-trigger-fill):not(.ast-mobile-menu-trigger-minimal),
input[type="submit"],
input[type="button"],
.ast-button,
.wp-block-button__link {
	background-color: var(--neh-sage);
	border-color: var(--neh-sage);
	color: var(--neh-brown);
}
button:not(.neh-faq__btn):not(.menu-toggle):hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.ast-button:hover,
.wp-block-button__link:hover {
	background-color: var(--neh-brown);
	border-color: var(--neh-brown);
	color: var(--neh-cream);
}

/* Astra's scroll-to-top control. */
#ast-scroll-top {
	background-color: var(--neh-brown) !important;
	color: var(--neh-cream) !important;
}

/* ==========================================================================
   14. FOOTER

   Astra paints a background on the footer ROW wrapper, which covers anything
   set on .site-footer alone — that is what hid the text in 1.0.1. Every
   wrapper is set here. The footer is cream so it reads as its own band rather
   than a white card floating on a white page, and the inner container is
   widened and left-aligned (Astra centres footer widget content by default).
   ========================================================================== */

.site-footer,
footer.site-footer,
.ast-small-footer,
.site-above-footer-wrap,
.site-primary-footer-wrap,
.site-below-footer-wrap,
.site-footer .ast-builder-grid-row,
.site-footer .ast-builder-grid-row-container,
.site-footer .footer-widget-area {
	background-color: var(--neh-cream);
	color: var(--neh-ink);
}

/* Astra constrains the footer widget area to a narrow, left-aligned column.
   Rather than fight each of its wrappers for a width, they are all released
   to 100% and the measure is controlled on .neh-footer itself. */
.site-footer .ast-container,
.site-footer .ast-builder-grid-row-container,
.site-footer .ast-builder-grid-row-container-inner,
.site-footer .ast-builder-grid-row,
.site-footer .footer-widget-area,
.site-footer .footer-widget-area-inner,
.site-footer .widget,
.site-footer .widget_custom_html,
.site-footer .textwidget {
	max-width: 100%;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
	float: none;
}

.neh-footer {
	max-width: 1500px;
	margin-left: auto;
	margin-right: auto;
	padding: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) clamp(1.25rem, 3vw, 3.5rem) 2.5rem;
	color: var(--neh-ink);
	text-align: left;
}

.neh-footer a,
.site-footer a {
	color: var(--neh-brown);
	text-decoration: none;
}
.neh-footer a:hover,
.neh-footer a:focus,
.site-footer a:hover,
.site-footer a:focus {
	color: var(--neh-ink);
	text-decoration: underline;
}

.neh-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: var(--neh-gap);
	align-items: start;
	margin-bottom: 2.5rem;
}
.neh-footer__logo {
	justify-self: end;
	max-width: 240px;
	width: 100%;
}
.neh-footer__logo img { display: block; width: 100%; height: auto; }

.neh-footer__intro {
	max-width: 68ch;
	margin: 0;
	font-size: var(--neh-step-0);
	line-height: 1.6;
	color: var(--neh-ink);
}

.neh-footer__cols {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 2.5rem 2rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid var(--neh-brown-hair);
}
.neh-footer h2 {
	margin: 0 0 1.125rem;
	font-family: var(--neh-body);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--neh-brown);
}
.neh-footer ul { margin: 0; padding: 0; list-style: none; }
.neh-footer li { margin-bottom: 0.75rem; font-size: 0.9375rem; line-height: 1.4; }

.neh-footer__news {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--neh-gap);
	align-items: start;
	padding: 2.5rem 0;
	border-bottom: 1px solid var(--neh-brown-hair);
}
.neh-footer__news h2 { margin-bottom: 0.75rem; }
.neh-footer__news p { max-width: 46ch; margin: 0; font-size: var(--neh-step--1); }
.neh-footer__form { max-width: 30rem; }
.neh-footer__form input[type="email"],
.neh-footer__form input[type="text"] {
	width: 100%;
	border: 1px solid var(--neh-brown-hair);
	border-radius: var(--neh-pill);
	padding: 0.75rem 1.25rem;
	background-color: var(--neh-white);
	font-family: var(--neh-body);
}

.neh-footer__legal {
	padding-top: 2.5rem;
	font-size: 0.8125rem;
	line-height: 1.7;
	color: var(--neh-ink);
}
.neh-footer__legal p { margin: 0 0 0.875rem; max-width: 110ch; }
.neh-footer__legal .neh-review {
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--neh-brown);
}
.neh-footer__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
	.neh-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.neh-cards--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.neh-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; }
}

@media (max-width: 921px) {
	.neh-intro { grid-template-columns: 1fr; align-items: start; }
	.neh-faq-layout { grid-template-columns: 1fr; }
	.neh-split { grid-template-columns: 1fr; }
	.neh-panel__grid { grid-template-columns: 1fr; }
	.neh-footer__top { grid-template-columns: 1fr; }
	.neh-footer__logo { justify-self: start; max-width: 200px; }
	.neh-footer__news { grid-template-columns: 1fr; }
	.neh-hero__grid { grid-template-columns: 1fr; }
	.neh-hero__media { margin-top: 1rem; }
	/* v1.1.7 - was 3 / 2. A landscape box fed a portrait photograph cut
	   roughly sixty percent of the height away, centred, which took the
	   subject's head off on every phone. No ratio is forced on a phone at
	   all now: each hero photograph renders at its own shape, so nothing
	   is cropped whichever picture is swapped in. Hero height therefore
	   varies from page to page on a phone, which is intended. */
	.neh-hero__media img { aspect-ratio: auto; }
	.neh-hero__quote {
		position: static;
		max-width: none;
		margin-top: 1rem;
		padding: 1.25rem 1.375rem;
		box-shadow: none;
		border: 1px solid var(--neh-brown-hair);
		border-left: 3px solid var(--neh-gold);
	}
	.neh-hero__quote p { font-size: var(--neh-step-0); }
	.neh-duo,
	.neh-cards,
	.neh-cards--three { grid-template-columns: 1fr; }
	.neh-card .neh-btn { align-self: stretch; }
}

@media (max-width: 600px) {
	.neh-pillars { grid-template-columns: 1fr; }
	.neh-quote-feature::before { font-size: 3rem; }
	.neh-step { grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; }
	.neh-step::before { width: 2.75rem; height: 2.75rem; font-size: 1.25rem; }
	.neh-step::after { left: 1.3125rem; top: 2.75rem; }
	.neh-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.neh-creds__list { display: block; }
	.neh-creds__list li { display: block; margin-bottom: 0.5rem; }
	.neh-creds__list li:not(:last-child)::after { display: none; }
	.neh-btn { width: 100%; }
	.neh-actions { gap: 0.75rem; }
}

/* ==========================================================================
   16. PRINT
   ========================================================================== */

/* ------------------------------------------------------------------
   EMBEDDED FORM  (added v1.1.5)
   Microsoft Forms ships its embed with hard width and height
   attributes on the iframe. These rules override both, so the frame
   is responsive and cannot cause a sideways scrollbar on a phone.
   A cross-origin iframe cannot report its own height to the page,
   so min-height is declared here rather than measured. If the form
   is long, the frame scrolls internally.
   ------------------------------------------------------------------ */
.neh-form {
	max-width: 46rem;
	margin-inline: auto;
}
.neh-form iframe {
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-height: 44rem;
	border: 1px solid var(--neh-brown-hair);
	border-radius: var(--neh-radius);
	background-color: var(--neh-white);
}
@media (max-width: 782px) {
	.neh-form iframe { min-height: 52rem; }
}

/* Crop anchored near the top of the frame. For a tall source photo
   where a centre crop would cut the subject's head off. */
.neh-figure--top img { object-position: center 8%; }

/* ------------------------------------------------------------------
   VIDEO TESTIMONIALS  (added v1.1.6)
   A native <video> element, no player library and no extra JavaScript.
   The markup lives in WPBakery text blocks, so the file URLs, posters
   and captions are all editable in the builder rather than in here.
   ------------------------------------------------------------------ */
.neh-video { margin: 0; }
.neh-video video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background-color: var(--neh-ink);
	border-radius: var(--neh-radius);
}
.neh-video figcaption {
	margin: 0.875rem 0 0;
	font-family: var(--neh-body);
	font-size: var(--neh-step--1);
	line-height: 1.5;
	color: var(--neh-gray-dark);
}
.neh-video figcaption strong {
	display: block;
	color: var(--neh-brown);
	font-weight: 600;
}

@media print {
	.neh-section { padding: 1rem 0; }
	.neh-band-dark, .neh-on-dark { background: none; color: #000; }
	.neh-btn { border: 1px solid #000; color: #000; background: none; }
}
