/*
Theme Name: Noble Care
Theme URI: https://noblecarellcva.com
Author: Grace & Co Designs
Description: Theme for Noble Care, LLC. Accessible, fixed layouts edited through ACF (free). Requires the Noble Care Core plugin, which provides Services, Jobs, Testimonials and the Noble Care settings page (colors, fonts, contact details, header and footer). Every color and font below is a CSS variable set there.
Version: 2.0.8
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: noble-care
*/

/* Fallback values; the settings plugin overrides these on :root.
   v1.4: palette pulled back toward the original 2018 Noble Care site —
   lime panels, medium purple bands, lavender tints. */
:root {
	--nc-primary: #663399;
	--nc-primary-dark: #4a1f7a;
	--nc-accent: #9acd32;
	--nc-accent-hover: #abd94f;
	--nc-lavender: #8b74a8;
	--nc-text: #2e2a33;
	--nc-bg: #ffffff;
	--nc-surface: #f3eff8;
	--nc-header-bg: #2a0d45;
	--nc-header-text: #ffffff;
	--nc-footer-bg: #8655b0;
	--nc-footer-end: #542e7b;
	--nc-footer-bottom-bg: #9acd32;
	--nc-footer-bottom-text: #2a0d45;
	--nc-hero-start: #593189;
	--nc-hero-mid: #653893;
	--nc-on-lime: #2a0d45;        /* text on lime panels: 9:1 */
	--nc-hero-end: #7a4dab;       /* violet at the right of the hero and banners */
	--nc-page-bg: #8b74a8;        /* the 2018 page background lavender */
	--nc-footer-text: #ffffff;
	--nc-font-heading: "Poppins", system-ui, sans-serif;
	--nc-font-body: "Atkinson Hyperlegible", system-ui, sans-serif;
	--nc-base-size: 18px;
	--nc-radius: 14px;
	--nc-logo-width: 190px;
	--nc-max: 1180px;

	/* v1.3 additions (not in the settings plugin yet; fallbacks only). */
	--nc-green: #3f6b1a;          /* green text on white/lavender: 5.5:1+ */
	--nc-green-dark: #345a15;
	--nc-muted: #5e5866;          /* 6.6:1 on white */
	--nc-line: #e3dcea;
	--nc-lavender-soft: #f1ecf6;
	--nc-font-script: "Allura", cursive;
	--nc-header-h: 96px;
	--nc-gutter: max(24px, calc((100vw - var(--nc-max)) / 2 + 24px)); /* lines full-bleed copy up with .nc-inner */
	--nc-shadow: 0 16px 40px rgba(37, 2, 50, .08);
	--nc-shadow-lg: 0 24px 60px rgba(37, 2, 50, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--nc-base-size); scroll-behavior: smooth; }
body { margin: 0; background: var(--nc-bg); color: var(--nc-text); font-family: var(--nc-font-body); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, iframe { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--nc-font-heading); font-weight: 600; color: var(--nc-primary); line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--nc-primary); text-underline-offset: .2em; }
a:hover { color: var(--nc-primary-dark); }
:focus-visible { outline: 3px solid var(--nc-primary); outline-offset: 3px; }

.nc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nc-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--nc-primary); color: #fff; padding: .8em 1.2em; border-radius: 999px; }
.nc-skip:focus { left: 8px; top: 8px; }
.nc-inner { width: 100%; max-width: var(--nc-max); margin: 0 auto; padding: 0 24px; }
.nc-section { padding: 104px 0; }
.nc-soft { background: var(--nc-surface); }
.nc-center { text-align: center; margin: 44px 0 0; }

.nc-eyebrow { font-family: var(--nc-font-heading); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--nc-green); margin-bottom: .9em; }
.nc-title { font-size: clamp(2.2rem, 5vw, 3.45rem); line-height: 1.08; letter-spacing: -0.02em; }
.nc-section-title { font-size: clamp(1.75rem, 3.4vw, 2.45rem); }
.nc-lead { font-size: 1.05rem; max-width: 52ch; }

/* Centered section heading block (+ optional script word behind it). */
.nc-head { position: relative; max-width: 760px; margin: 0 auto 52px; text-align: center; }
.nc-head > * { position: relative; }
.nc-head-text { color: var(--nc-muted); max-width: 620px; margin: 0 auto; }
[data-script] { position: relative; }
[data-script]::before {
	content: attr(data-script); position: absolute; left: 50%; top: -.55em; transform: translateX(-50%);
	font-family: var(--nc-font-script); font-size: clamp(4.2rem, 9vw, 6.6rem); font-weight: 400; line-height: 1; letter-spacing: 0;
	color: var(--nc-primary); opacity: .08; white-space: nowrap; pointer-events: none; z-index: 0;
}

/* Decorative SVG waves and arcs (markup lives in the templates). */
.nc-wave { position: absolute; left: 0; width: 100%; display: block; pointer-events: none; }
.nc-wave-bottom { bottom: -1px; }
.nc-arc { display: block; width: 100%; height: 70px; }

/* ---- Buttons (flat pills) ---- */
.nc-btn, .nc-btn:visited {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75em 1.6em; text-decoration: none; cursor: pointer;
	font-family: var(--nc-font-heading); font-weight: 600; font-size: .82rem; line-height: 1.2; text-align: center;
	background: var(--nc-primary); color: #fff; border: 1.5px solid var(--nc-primary); border-radius: 999px;
	transition: background .15s, color .15s, border-color .15s;
}
.nc-btn:hover { background: var(--nc-primary-dark); border-color: var(--nc-primary-dark); color: #fff; }
.nc-btn-outline, .nc-btn-outline:visited { background: transparent; color: var(--nc-primary); border-color: var(--nc-primary); }
.nc-btn-outline:hover { background: var(--nc-primary); color: #fff; }
.nc-btn-green, .nc-btn-green:visited { background: var(--nc-green-dark); border-color: var(--nc-green-dark); color: #fff; }
.nc-btn-green:hover { background: var(--nc-green); border-color: var(--nc-green); color: #fff; }
.nc-btn-outline-light, .nc-btn-outline-light:visited { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.nc-btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--nc-green-dark); }
/* Inner-page classes kept from earlier versions. */
.nc-btn-dark, .nc-btn-dark:visited { background: var(--nc-primary); border-color: var(--nc-primary); color: #fff; }
.nc-btn-dark:hover { background: var(--nc-primary-dark); border-color: var(--nc-primary-dark); color: #fff; }
.nc-btn-outline-dark, .nc-btn-outline-dark:visited { background: transparent; border-color: var(--nc-primary); color: var(--nc-primary); }
.nc-btn-outline-dark:hover { background: var(--nc-primary); color: #fff; }
.nc-btn-small { min-height: 44px; padding: .55em 1.25em; }
.nc-buttons, .nc-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.nc-text-link { font-family: var(--nc-font-heading); font-weight: 600; font-size: .8rem; color: var(--nc-green); }

/* ---- Icons (always capped, even if a huge file is uploaded) ---- */
.nc-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; color: var(--nc-primary); margin-bottom: 14px; }
.nc-icon img, .nc-icon svg { width: 72px; height: 72px; max-width: 72px; max-height: 72px; object-fit: contain; }

/* ---- Top bar ---- */
.nc-topbar { background: var(--nc-green-dark); color: #fff; padding: .45em 0; font-size: .72rem; }
.nc-topbar .nc-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; }
.nc-topbar-contact { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.nc-topbar p { margin: 0; }
.nc-topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.nc-topbar a:hover { color: #fff; text-decoration: underline; }
.nc-topbar :focus-visible { outline-color: #fff; }

/* ---- Header ---- */
.nc-header { position: relative; z-index: 50; background: var(--nc-hero-start); color: var(--nc-header-text); transition: background .25s, box-shadow .25s; }
.nc-sticky-header .nc-header { position: sticky; top: 0; }
.admin-bar.nc-sticky-header .nc-header { top: 32px; }
.home .nc-header { background: transparent; }
.nc-header.is-scrolled { background: var(--nc-hero-start); box-shadow: 0 8px 24px rgba(10, 0, 20, .25); }
.nc-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nc-header-h); }
.nc-brand { display: inline-flex; align-items: center; text-decoration: none; }
.nc-brand img { width: var(--nc-logo-width); max-height: 72px; object-fit: contain; }
.nc-brand-text { font-family: var(--nc-font-heading); font-weight: 600; font-size: 1.3rem; color: var(--nc-header-text); }
.nc-nav { display: flex; align-items: center; gap: 20px; }
.nc-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 5px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; }
.nc-menu a { display: block; padding: .55em 1.05em; color: var(--nc-header-text); font-family: var(--nc-font-heading); font-weight: 500; font-size: .76rem; text-decoration: none; border-radius: 999px; transition: background .15s, color .15s; }
.nc-menu a:hover { background: rgba(255, 255, 255, .12); color: var(--nc-header-text); }
.nc-menu .current-menu-item > a, .nc-menu .current_page_item > a { background: #fff; color: var(--nc-header-bg); }
.nc-header-actions { display: flex; align-items: center; gap: 16px; }
.nc-header .nc-phone { color: var(--nc-header-text); font-size: .8rem; text-decoration: none; }
.nc-phone { font-weight: 700; white-space: nowrap; }
.nc-header .nc-btn, .nc-header .nc-btn:visited { background: var(--nc-accent-hover); border-color: var(--nc-accent-hover); color: var(--nc-header-bg); }
.nc-header .nc-btn:hover { background: var(--nc-accent); border-color: var(--nc-accent); color: var(--nc-header-bg); }
.nc-header :focus-visible { outline-color: var(--nc-accent); }
.nc-nav-toggle { display: none; width: 48px; height: 48px; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; border-radius: 50%; cursor: pointer; align-items: center; justify-content: center; }
.nc-nav-bars, .nc-nav-bars::before, .nc-nav-bars::after { display: block; width: 20px; height: 2px; background: var(--nc-header-text); border-radius: 2px; position: relative; content: ""; }
.nc-nav-bars::before { position: absolute; top: -6px; }
.nc-nav-bars::after { position: absolute; top: 6px; }

/* ---- Banner (inner pages) ---- */
/* Matches the homepage hero: copy left, photo right with a curved edge, wave below. */
.nc-banner {
	position: relative; color: #fff;
	background:
		radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--nc-hero-end) 60%, transparent) 0%, transparent 55%),
		linear-gradient(100deg, var(--nc-hero-start) 0%, var(--nc-hero-mid) 45%, var(--nc-hero-end) 100%);
}
.nc-banner-grid { display: grid; grid-template-columns: 1fr; align-items: center; }
.nc-banner.has-image .nc-banner-grid { grid-template-columns: 1.1fr .9fr; }
.nc-banner-copy { position: relative; z-index: 1; padding: 56px var(--nc-gutter) 128px; }
.nc-banner.has-image .nc-banner-copy { padding-right: 56px; }
.nc-banner .nc-title { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: .35em; }
.nc-banner .nc-lead { color: #fff; margin: 0; }
.nc-banner .nc-eyebrow { display: inline-block; background: var(--nc-accent); color: var(--nc-on-lime); padding: .5em 1.1em; border-radius: 999px; margin-bottom: 1.1em; }
.nc-banner-image { align-self: stretch; min-height: 380px; margin-bottom: 70px; }
.nc-banner-image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 220px 0 0 48px; }
.nc-banner .nc-wave { height: 90px; }
.nc-banner :focus-visible { outline-color: #fff; }

/* Inner pages: header sits on the banner gradient (no seam), like the homepage. */
.nc-header:has(+ .nc-banner) { background: transparent; }
.nc-header:has(+ .nc-banner).is-scrolled { background: var(--nc-hero-start); }
.nc-header + .nc-banner { margin-top: calc(-1 * var(--nc-header-h)); padding-top: var(--nc-header-h); }
/* The banner wave takes the colour of the section below it. */
body:has(main > .nc-soft:first-child) .nc-banner .nc-wave path { fill: var(--nc-surface) !important; }
/* No photo: decorative rings on the right instead of empty space. */
.nc-banner:not(.has-image) { overflow: hidden; }
.nc-banner:not(.has-image) .nc-banner-copy { padding-bottom: 112px; max-width: calc(var(--nc-max) * .7 + var(--nc-gutter)); }
.nc-banner:not(.has-image)::before,
.nc-banner:not(.has-image)::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.nc-banner:not(.has-image)::before { width: 420px; height: 420px; right: max(-60px, calc((100vw - var(--nc-max)) / 2 - 120px)); top: 50%; transform: translateY(-58%); border: 46px solid rgba(255, 255, 255, .07); box-shadow: 0 0 0 70px rgba(255, 255, 255, .035); }
.nc-banner:not(.has-image)::after { width: 26px; height: 26px; right: max(150px, calc((100vw - var(--nc-max)) / 2 + 110px)); top: 30%; background: var(--nc-accent); box-shadow: -190px 150px 0 -6px rgba(255, 255, 255, .22), -60px 210px 0 -9px var(--nc-accent); }
/* Breadcrumbs */
.nc-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 0 22px; padding: 0; font-size: .74rem; }
.nc-breadcrumbs li { display: inline-flex; align-items: center; color: #fff; }
.nc-breadcrumbs li + li::before { content: "\203A"; margin: 0 .6em; color: var(--nc-accent); font-weight: 700; }
.nc-breadcrumbs a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: .25em; }
.nc-breadcrumbs a:hover { color: var(--nc-accent); text-decoration-color: currentColor; }
.nc-breadcrumbs [aria-current] { color: #fff; opacity: .9; }

/* ---- Home: hero (photo bleeds to the right edge) ---- */
.nc-hero {
	position: relative; color: #fff;
	background:
		radial-gradient(circle at 8% 90%, color-mix(in srgb, var(--nc-lavender) 30%, transparent) 0%, transparent 45%),
		linear-gradient(135deg, var(--nc-header-bg) 0%, var(--nc-primary-dark) 55%, var(--nc-primary) 100%);
}
.home .nc-hero { margin-top: calc(-1 * var(--nc-header-h)); padding-top: var(--nc-header-h); }
.nc-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.nc-hero-grid:not(:has(.nc-hero-image)) { grid-template-columns: 1fr; }
.nc-hero-copy { position: relative; padding: 48px 56px 190px var(--nc-gutter); }
.nc-hero-copy[data-script]::before { left: var(--nc-gutter); top: -.15em; transform: none; color: #fff; opacity: .07; }
.nc-hero .nc-eyebrow { display: inline-block; color: #fff; background: color-mix(in srgb, var(--nc-accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--nc-accent) 35%, transparent); padding: .55em 1.1em; border-radius: 999px; margin-bottom: 1.4em; }
.nc-hero .nc-title { color: #fff; }
.nc-title-highlight { color: var(--nc-accent-hover); }
.nc-hero .nc-lead { color: #fff; }
.nc-hero .nc-buttons { margin-top: 32px; }
/* Lime button: dark text (white on lime is under 2:1). */
.nc-hero .nc-btn, .nc-hero .nc-btn:visited { background: var(--nc-accent-hover); border-color: var(--nc-accent-hover); color: var(--nc-header-bg); }
.nc-hero .nc-btn:hover { background: var(--nc-accent); border-color: var(--nc-accent); color: var(--nc-header-bg); }
.nc-hero .nc-btn-outline, .nc-hero .nc-btn-outline:visited { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.nc-hero .nc-btn-outline:hover { background: #fff; border-color: #fff; color: var(--nc-header-bg); }
.nc-hero :focus-visible { outline-color: #fff; }
.nc-hero-image { align-self: stretch; margin-bottom: 120px; min-height: 520px; }
.nc-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 280px 0 0 60px; }
.nc-hero .nc-wave { height: 140px; }

/* ---- Home: values (white card over the hero wave) ---- */
.nc-values { position: relative; z-index: 2; }
.nc-values-grid { list-style: none; margin: -110px 0 0; padding: 36px 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; background: var(--nc-bg); border-radius: calc(var(--nc-radius) * 2); box-shadow: var(--nc-shadow-lg); }
.nc-value { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-content: start; }
.nc-icon-tile { grid-row: span 2; width: 52px; height: 52px; margin: 0; border-radius: 16px; background: var(--nc-primary); color: #fff; }
.nc-icon-tile img { filter: brightness(0) invert(1); } /* one-colour uploads show white */
.nc-icon-tile img, .nc-icon-tile svg { width: 24px; height: 24px; }
.nc-value h2 { font-size: .88rem; letter-spacing: 0; color: var(--nc-header-bg); margin: 0 0 .2em; }
.nc-value p { margin: 0; font-size: .78rem; line-height: 1.5; color: var(--nc-muted); }

/* ---- Home: services ---- */
.nc-services { padding-top: 120px; }
.nc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nc-card { background: var(--nc-bg); border-radius: calc(var(--nc-radius) * 2); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--nc-shadow); transition: transform .2s, box-shadow .2s; }
.nc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(37, 2, 50, .13); }
.nc-card-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.nc-card-body { padding: 0 28px 30px; display: flex; flex-direction: column; flex: 1; }
.nc-card .nc-icon { position: relative; width: 56px; height: 56px; margin: -28px 0 14px; border-radius: 50%; background: var(--nc-primary); border: 4px solid var(--nc-bg); color: #fff; }
.nc-card .nc-icon img { filter: brightness(0) invert(1); }
.nc-card .nc-icon img, .nc-card .nc-icon svg { width: 24px; height: 24px; }
.nc-card:not(:has(.nc-card-photo)) .nc-card-body { padding-top: 30px; }
.nc-card:not(:has(.nc-card-photo)) .nc-icon { margin-top: 0; }
.nc-card-body h3 { font-size: 1.15rem; color: var(--nc-header-bg); margin-bottom: .35em; }
.nc-card-body p { flex: 1; color: var(--nc-muted); font-size: .88rem; }
.nc-card-body a { font-family: var(--nc-font-heading); font-weight: 600; font-size: .78rem; color: var(--nc-green); text-decoration: none; }
.nc-card-body a:hover { color: var(--nc-green-dark); text-decoration: underline; }

/* ---- Home: why us (cream, photo bleeds to the left edge) ---- */
.nc-why { background: var(--nc-surface); }
.nc-why-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.nc-why-grid:not(:has(.nc-why-image)) { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.nc-why-image { position: relative; align-self: stretch; min-height: 560px; }
.nc-why-image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 300px 300px 0; }
.nc-why-badge { position: absolute; right: 64px; bottom: 40px; max-width: 250px; margin: 0; padding: 20px 22px; border-radius: 22px; background: var(--nc-primary); color: #fff; box-shadow: 0 18px 40px rgba(37, 2, 50, .25); }
.nc-why-badge-label { display: block; font-family: var(--nc-font-heading); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #c9e79e; }
.nc-why-badge-text { display: block; margin-top: 4px; font-family: var(--nc-font-heading); font-size: .92rem; font-weight: 500; line-height: 1.35; }
.nc-why-copy { padding: 72px var(--nc-gutter) 96px 72px; }
.nc-why-copy > p { color: var(--nc-muted); }
.nc-checks { list-style: none; padding: 0; margin: 0 0 32px; }
.nc-checks li { position: relative; padding-left: 2.1em; margin-bottom: .7em; color: var(--nc-header-bg); }
.nc-checks li::before { content: "\2713"; position: absolute; left: 0; top: .05em; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--nc-primary); color: #fff; display: grid; place-items: center; font-size: .82em; font-weight: 700; }

/* ---- Home: where we serve (continues the cream band) ---- */
.nc-area { background: var(--nc-surface); padding: 24px 0 112px; }
.nc-area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nc-area-copy > p { color: var(--nc-muted); }
.nc-chips { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nc-chips li { background: var(--nc-bg); border: 1px solid var(--nc-line); color: var(--nc-header-bg); padding: .4em 1em; border-radius: 999px; font-size: .84rem; }
.nc-area-media { aspect-ratio: 4 / 3; border-radius: 40px; overflow: hidden; background: var(--nc-green-dark); box-shadow: var(--nc-shadow); }
.nc-area-media img, .nc-area-media iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }

/* ---- Home: process ---- */
.nc-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.nc-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 31px; border-top: 3px dashed var(--nc-line); }
.nc-step { position: relative; }
.nc-step-number { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; border: 6px solid var(--nc-bg); box-shadow: 0 0 0 2px var(--nc-line); background: var(--nc-primary); color: #fff; font-family: var(--nc-font-heading); font-weight: 600; font-size: 1.05rem; }
.nc-step:last-child .nc-step-number { background: var(--nc-green-dark); }
.nc-step h3 { font-size: 1.15rem; color: var(--nc-header-bg); margin-bottom: .3em; }
.nc-step p { font-size: .86rem; color: var(--nc-muted); max-width: 26ch; margin: 0 auto; }

/* ---- Home: testimonials (green band with curved edges) ---- */
.nc-testimonials-band { background: var(--nc-green-dark); color: #fff; padding: 40px 0 72px; }
.nc-testimonials .nc-arc { height: 80px; }
.nc-testimonials .nc-eyebrow { color: #c9e79e; }
.nc-testimonials .nc-section-title { color: #fff; }
.nc-testimonials [data-script]::before { color: #fff; }
.nc-testimonials :focus-visible { outline-color: #fff; }
.nc-rating { display: inline-flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: .45em 1.1em; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: .84rem; }
.nc-stars { display: inline-flex; gap: 2px; color: var(--nc-accent-hover); }
.nc-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; text-align: left; }
.nc-quote { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 30px; background: var(--nc-bg); color: var(--nc-text); border-radius: calc(var(--nc-radius) * 2); }
.nc-quote::before { content: "\201C"; display: block; height: .45em; font-family: var(--nc-font-heading); font-size: 3rem; line-height: .9; color: var(--nc-primary); }
.nc-quote blockquote { margin: 0; flex: 1; color: var(--nc-muted); }
.nc-quote figcaption { font-family: var(--nc-font-heading); font-weight: 600; font-size: .78rem; color: var(--nc-header-bg); }

/* ---- Home: call to action (centered) ---- */
.nc-cta .nc-head { margin-bottom: 28px; }
.nc-cta-actions { justify-content: center; }
.nc-cta-phone { flex-basis: 100%; margin: 4px 0 0; text-align: center; font-weight: 700; }

/* ---- Home: FAQs ---- */
.nc-home-faqs { background: var(--nc-surface); }
.nc-faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.nc-faq-list details { background: var(--nc-bg); border-radius: 20px; padding: 0 26px; box-shadow: 0 6px 18px rgba(37, 2, 50, .05); }
.nc-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-family: var(--nc-font-heading); font-weight: 600; font-size: .9rem; color: var(--nc-header-bg); }
.nc-faq-list summary::-webkit-details-marker { display: none; }
.nc-faq-icon { position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--nc-lavender-soft); transition: transform .2s; }
.nc-faq-icon::before, .nc-faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--nc-primary); border-radius: 2px; }
.nc-faq-icon::after { transform: rotate(90deg); }
.nc-faq-list details[open] .nc-faq-icon { transform: rotate(45deg); }
.nc-faq-answer { padding-bottom: 20px; color: var(--nc-muted); }
.nc-faq-answer p:last-child { margin-bottom: 0; }

/* ---- Home: map (off by default in v1.3) ---- */
.nc-map-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: stretch; }
.nc-map address { font-style: normal; margin-bottom: 1em; }
.nc-map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: calc(var(--nc-radius) * 2); }

/* ---- Inner pages ---- */
.nc-inquiry-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.nc-side { background: var(--nc-surface); border-radius: calc(var(--nc-radius) * 2); padding: 32px; }
.nc-side h2 { font-size: 1.3rem; }
.nc-side address { font-style: normal; }
.nc-side-phone { font-size: 1.3rem; font-weight: 700; }
.nc-prose { max-width: 780px; }
.nc-prose > *:first-child { margin-top: 0; }
.nc-jobs { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.nc-jobs li { background: var(--nc-bg); padding: 28px; border-radius: calc(var(--nc-radius) * 2); box-shadow: var(--nc-shadow); }
.nc-job-meta { font-weight: 700; color: var(--nc-primary); }
.nc-faqs details { border: 1px solid var(--nc-line); border-radius: calc(var(--nc-radius) * 1.2); padding: 0 22px; margin-bottom: 12px; background: var(--nc-bg); }
.nc-faqs summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--nc-primary); }
.nc-faqs details[open] summary { border-bottom: 1px solid var(--nc-line); margin-bottom: 12px; }

/* ---- Careers: job cards (whole card is clickable via the title link) ---- */
.nc-job-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.nc-job-tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px; background: var(--nc-bg); border-radius: 24px; border-bottom: 6px solid var(--nc-accent); box-shadow: var(--nc-shadow); transition: transform .2s, box-shadow .2s; }
.nc-job-tile:hover, .nc-job-tile:focus-within { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(37, 2, 50, .13); }
.nc-job-tile h3 { margin: 0; font-size: 1.25rem; }
.nc-job-tile-link { color: var(--nc-primary); text-decoration: none; }
.nc-job-tile-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.nc-job-tile-link:focus-visible { outline: none; }
.nc-job-tile:focus-within { outline: 3px solid var(--nc-primary); outline-offset: 3px; }
.nc-job-meta-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nc-job-meta-list li { display: inline-flex; align-items: center; gap: 6px; padding: .3em .85em; border-radius: 999px; background: var(--nc-surface); color: var(--nc-header-bg); font-size: .78rem; font-weight: 600; }
.nc-job-meta-list svg { color: var(--nc-primary); flex-shrink: 0; }
.nc-job-tile-summary { margin: 0; color: var(--nc-muted); flex: 1; }
.nc-job-tile-shifts { margin: 0; font-size: .8rem; color: var(--nc-muted); }
.nc-job-tile-cta { align-self: flex-start; margin-top: 6px; padding: .6em 1.3em; border-radius: 999px; background: var(--nc-primary); color: #fff; font-family: var(--nc-font-heading); font-weight: 600; font-size: .8rem; }
.nc-job-tile:hover .nc-job-tile-cta { background: var(--nc-primary-dark); }
#apply { scroll-margin-top: calc(var(--nc-header-h) + 16px); }

/* ---- Page content (prose) ---- */
.nc-prose { max-width: 780px; }
.nc-prose-center { margin: 0 auto 44px; text-align: center; }
.nc-prose > *:first-child { margin-top: 0; }
.nc-prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.nc-prose h3 { font-size: 1.25rem; margin-top: 1.4em; color: var(--nc-header-bg); }
.nc-prose ul, .nc-prose ol { padding-left: 1.3em; }
.nc-prose li { margin-bottom: .45em; }
.nc-prose li::marker { color: var(--nc-primary); }
.nc-prose img { border-radius: 16px; }
.nc-prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; background: var(--nc-surface); border-radius: 16px; }
.nc-prose a { font-weight: 700; }
.nc-section-tight { padding: 56px 0 0; }
.nc-empty { text-align: center; color: var(--nc-muted); max-width: 560px; margin: 0 auto; }
.nc-lead-muted { font-size: 1.05rem; color: var(--nc-muted); }
.nc-404 .nc-buttons { margin-bottom: 1.2em; }

/* ---- Careers: why work with us ---- */
.nc-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.nc-benefits li { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-content: start; padding: 24px; background: var(--nc-bg); border-radius: 20px; border: 1px solid var(--nc-line); }
.nc-benefits h3 { margin: 0 0 .2em; font-size: 1rem; color: var(--nc-header-bg); }
.nc-benefits p { margin: 0; font-size: .86rem; color: var(--nc-muted); }

/* ---- Admissions ---- */
.nc-adm-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.nc-adm-actions { margin-top: 28px; }
.nc-adm-intro.is-single { grid-template-columns: 1fr; max-width: 820px; }
.nc-criteria { background: var(--nc-accent); color: var(--nc-on-lime); border-radius: 28px; padding: 32px; }
.nc-criteria h3 { color: var(--nc-primary-dark); font-size: 1.15rem; margin-bottom: .8em; }
.nc-criteria .nc-checks { margin: 0; }
.nc-criteria .nc-checks li { color: var(--nc-on-lime); font-weight: 400; font-size: .92rem; line-height: 1.55; margin-bottom: .75em; }
.nc-criteria .nc-checks li:last-child { margin-bottom: 0; }
.nc-criteria h3 { font-size: 1.05rem; letter-spacing: 0; }
.nc-criteria .nc-checks li::before { background: #fff; color: var(--nc-primary); }
.nc-adm-funding { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: stretch; }
.nc-adm-funding.is-single { grid-template-columns: 1fr; }
.nc-section-compact { padding: 72px 0; }
.nc-funding-card { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 36px 40px; background: var(--nc-surface); border-radius: 28px; border-bottom: 6px solid var(--nc-accent); }
.nc-adm-funding:not(.is-single) .nc-funding-card { grid-template-columns: auto 1fr; }
.nc-funding-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--nc-primary); color: #fff; }
.nc-funding-body h2 { font-size: 1.45rem; margin: 0 0 .3em; }
.nc-funding-body .nc-eyebrow { margin-bottom: .4em; }
.nc-funding-body p:last-child { margin: 0; color: var(--nc-muted); }
.nc-funding-btn { white-space: nowrap; }
.nc-download { background: var(--nc-surface); border-radius: 28px; padding: 32px; border-top: 6px solid var(--nc-accent); }
.nc-download svg { color: var(--nc-primary); margin-bottom: 8px; }
.nc-download h3 { font-size: 1.15rem; color: var(--nc-header-bg); margin-bottom: .3em; }
.nc-download p { color: var(--nc-muted); }

/* ---- Single service ---- */
.nc-svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.nc-svc-grid .nc-side { position: sticky; top: calc(var(--nc-header-h) + 24px); border-top: 6px solid var(--nc-accent); }

/* ---- Blog list ---- */
.nc-post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; max-width: 900px; }
.nc-post-item { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--nc-line); }
.nc-post-item:not(:has(.nc-post-thumb)) { grid-template-columns: 1fr; }
.nc-post-thumb img { display: block; width: 100%; height: auto; border-radius: 16px; }
.nc-post-item h2 { font-size: 1.3rem; margin-bottom: .2em; }
.nc-post-item h2 a { text-decoration: none; }
.nc-post-meta { font-size: .8rem; color: var(--nc-muted); margin-bottom: .5em; }
.nav-links { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.nav-links a, .nav-links span { padding: .4em .9em; border-radius: 999px; border: 1px solid var(--nc-line); text-decoration: none; }
.nav-links .current { background: var(--nc-primary); color: #fff; border-color: var(--nc-primary); }

/* ---- Forms (built-in form + Gravity Forms) ---- */
.nc-form { display: grid; gap: 4px; margin-top: 20px; }
.nc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.nc-field { margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.nc-field label, .gform_wrapper .gfield_label, .wpcf7 label, .fluentform .ff-el-input--label label, .wpforms-container .wpforms-field-label { font-family: var(--nc-font-heading); font-weight: 600; font-size: .82rem; color: var(--nc-header-bg); }
.nc-field input, .nc-field select, .nc-field textarea,
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 select, .wpcf7 textarea,
.fluentform .ff-el-form-control,
.wpforms-container input[type="text"], .wpforms-container input[type="email"], .wpforms-container input[type="tel"], .wpforms-container select, .wpforms-container textarea,
.gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"], .gform_wrapper input[type="url"], .gform_wrapper select, .gform_wrapper textarea {
	width: 100%; min-height: 48px; padding: .65em .9em; font: inherit; font-size: .95rem; color: var(--nc-text);
	background: var(--nc-bg); border: 1.5px solid #b9adc8; border-radius: 12px;
}
.nc-field textarea, .gform_wrapper textarea, .wpcf7 textarea, .fluentform textarea.ff-el-form-control, .wpforms-container textarea { min-height: 120px; resize: vertical; }
.wpcf7 label { display: block; margin-bottom: 16px; }
.wpcf7 label > .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input[type="file"] { font: inherit; font-size: .9rem; }
.wpcf7 .wpcf7-not-valid-tip { color: #a4262c; font-size: .8rem; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 14px 18px; border-radius: 14px; }
.nc-field input:focus, .nc-field select:focus, .nc-field textarea:focus,
.gform_wrapper input:focus, .gform_wrapper select:focus, .gform_wrapper textarea:focus { outline: 3px solid color-mix(in srgb, var(--nc-primary) 35%, transparent); outline-offset: 1px; border-color: var(--nc-primary); }
.nc-field-help, .gform_wrapper .gfield_description { font-size: .76rem; color: var(--nc-muted); }
.nc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nc-form-actions { margin: 6px 0 0; }
.nc-form-notice { padding: 16px 20px; border-radius: 16px; margin: 16px 0; font-size: .9rem; }
.nc-form-notice.is-success { background: color-mix(in srgb, var(--nc-accent) 25%, #fff); color: var(--nc-on-lime); border: 1.5px solid var(--nc-accent); }
.nc-form-notice.is-error { background: #fdecec; color: #8a1c1c; border: 1.5px solid #e3a3a3; }
.gform_wrapper .gform_button, .gform_wrapper input[type="submit"], .gform_wrapper .gform-button,
.wpcf7 input[type="submit"], .wpcf7 .wpcf7-submit, .fluentform .ff-btn-submit, .wpforms-container .wpforms-submit {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75em 1.6em; cursor: pointer;
	font-family: var(--nc-font-heading); font-weight: 600; font-size: .82rem; background: var(--nc-primary); color: #fff; border: 0; border-radius: 999px;
}
.gform_wrapper .gform_button:hover, .gform_wrapper input[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover, .fluentform .ff-btn-submit:hover, .wpforms-container .wpforms-submit:hover { background: var(--nc-primary-dark); color: #fff; }
.gform_wrapper .gfield_required { color: #a4262c; }
.gform_wrapper .gform_validation_errors, .gform_wrapper .validation_message { border-radius: 12px; }
.nc-inquiry-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.nc-form-section .nc-side { position: sticky; top: calc(var(--nc-header-h) + 24px); border-top: 6px solid var(--nc-accent); }

/* Search form */
.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-form label { flex: 1 1 240px; }
.search-form .search-field { width: 100%; min-height: 48px; padding: .6em .9em; border: 1.5px solid #b9adc8; border-radius: 999px; font: inherit; }
.search-form .search-submit { min-height: 48px; padding: 0 1.4em; border: 0; border-radius: 999px; background: var(--nc-primary); color: #fff; font-family: var(--nc-font-heading); font-weight: 600; cursor: pointer; }

/* ---- Thank You page ---- */
.nc-thanks { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.nc-thanks-card { background: var(--nc-bg); border-radius: 28px; padding: 44px; box-shadow: var(--nc-shadow); border-bottom: 6px solid var(--nc-accent); }
.nc-thanks-check { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--nc-accent); color: var(--nc-on-lime); margin-bottom: 18px; }
.nc-thanks-text { font-size: 1.05rem; color: var(--nc-muted); }
.nc-thanks-call { font-weight: 700; }
.nc-thanks-buttons { margin: 22px 0 0; }
.nc-thanks-social { background: linear-gradient(160deg, var(--nc-hero-start) 0%, var(--nc-hero-end) 100%); color: #fff; border-radius: 28px; padding: 40px; }
.nc-thanks-social h2 { color: #fff; font-size: 1.35rem; }
.nc-thanks-social p { color: #fff; }
.nc-social-buttons { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.nc-social-buttons a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: .7em 1.2em; border-radius: 999px; background: #fff; color: var(--nc-primary-dark); font-family: var(--nc-font-heading); font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.nc-social-buttons a:hover { background: var(--nc-accent); color: var(--nc-on-lime); }
.nc-social-buttons svg { color: var(--nc-primary); flex-shrink: 0; }
.nc-social-buttons a:hover svg { color: var(--nc-on-lime); }
.nc-thanks-social :focus-visible { outline-color: #fff; }
.nc-thanks:not(:has(.nc-thanks-social)) { grid-template-columns: minmax(0, 760px); justify-content: center; }

/* ---- Single job ---- */
.nc-job-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.nc-job-sections { display: flex; flex-direction: column; gap: 14px; }
.nc-job-section { background: var(--nc-bg); border: 1px solid var(--nc-line); border-radius: 20px; padding: 0 26px; }
.nc-job-section summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.nc-job-section summary::-webkit-details-marker { display: none; }
.nc-job-section summary h2 { margin: 0; font-size: 1.05rem; color: var(--nc-header-bg); }
.nc-job-section[open] .nc-faq-icon { transform: rotate(45deg); }
.nc-job-section > ul { margin: 0 0 24px; }
.nc-job-list { padding-left: 1.2em; }
.nc-job-list li { margin-bottom: .55em; color: var(--nc-text); }
.nc-job-list li::marker { color: var(--nc-primary); }
.nc-job-list.is-small li { font-size: .84rem; color: var(--nc-muted); }
.nc-job-aside { position: sticky; top: calc(var(--nc-header-h) + 24px); }
.nc-job-card { background: var(--nc-surface); border-radius: 24px; padding: 28px; border-top: 6px solid var(--nc-accent); }
.nc-job-card-title { font-size: 1.05rem; margin-bottom: .8em; color: var(--nc-header-bg); }
.nc-job-facts { margin: 0 0 18px; display: grid; gap: 12px; }
.nc-job-facts div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; font-size: .86rem; }
.nc-job-facts dt { font-family: var(--nc-font-heading); font-weight: 600; color: var(--nc-primary); }
.nc-job-facts dd { margin: 0; }
.nc-job-shifts-title { font-size: .86rem; margin: 0 0 .6em; color: var(--nc-header-bg); }
.nc-job-shifts-title span { font-weight: 400; color: var(--nc-muted); }
.nc-job-shifts { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nc-job-shifts li { background: var(--nc-bg); border: 1px solid var(--nc-line); border-radius: 999px; padding: .3em .9em; font-size: .78rem; white-space: nowrap; }
.nc-job-apply { width: 100%; }
.nc-job-call { margin: 14px 0 0; text-align: center; font-size: .82rem; }
.nc-job-back { margin: 16px 0 0; text-align: center; font-size: .82rem; }

/* ---- Footer (original layout: flat plum, four columns, mini map, BBB badge) ---- */
.nc-footer { background: var(--nc-footer-bg); color: var(--nc-footer-text); }
.nc-footer a { color: var(--nc-footer-text); }
.nc-footer a:hover { color: var(--nc-accent-hover); }
.nc-footer h2 { color: var(--nc-footer-text); font-size: 1.2rem; font-weight: 400; margin-bottom: 1em; }
.nc-footer-main { padding: 64px 0 48px; font-size: .84rem; }
.nc-footer-grid { display: grid; grid-template-columns: 1.4fr .75fr 1fr 1fr; gap: 50px; }
.nc-footer-brand, .nc-footer-col { min-width: 0; }
.nc-footer-logo { display: inline-block; margin-bottom: 18px; }
.nc-footer-logo img { display: block; width: auto; max-width: 250px; height: auto; }
.nc-footer-name { font-family: var(--nc-font-heading); font-weight: 600; font-size: 1.4rem; }
.nc-footer-tagline { max-width: 330px; font-size: .8rem; line-height: 1.7; opacity: .9; }
.nc-footer ul { list-style: none; padding: 0; margin: 0; }
.nc-footer li { margin-bottom: .6em; }
.nc-footer-links a { text-decoration: none; }
.nc-footer-links a:hover { text-decoration: underline; }
.nc-footer address { font-style: normal; line-height: 1.8; }
.nc-footer p { margin-bottom: .8em; }
.nc-bbb { margin-top: 18px; }
/* White pill behind the BBB seal: its dark text is unreadable on purple. */
.nc-bbb img { display: block; width: auto; max-width: 260px; height: auto; padding: 10px 22px; background: #fff; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.nc-bbb a { display: inline-block; }
.nc-footer .nc-bbb-text { display: inline-block; font-weight: 700; padding: 10px 22px; background: #fff; color: #005a78; border-radius: 999px; text-decoration: none; }
.nc-social { display: flex; gap: 10px; margin-top: 16px; }
.nc-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--nc-footer-text); border-radius: 50%; }
.nc-social a:hover { border-color: var(--nc-accent-hover); }
.nc-footer-map { margin-top: 18px; max-width: 320px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; background: #fff; }
.nc-footer-map iframe { display: block; width: 100%; height: 165px; border: 0; }
.nc-footer-bottom { background: var(--nc-footer-bottom-bg); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .72rem; }
.nc-footer-bottom .nc-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; min-height: 60px; }
.nc-footer-bottom p { margin: 0; }
.nc-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.nc-legal li { margin: 0; }
.nc-legal a { text-decoration: none; }

/* =====================================================================
   v1.4 — "2018 colors" layer. Same layout; lime and medium purple
   come back as big color blocks, the way the original site used them.
   ===================================================================== */

/* Top bar: lime strip (the old green nav column), dark purple text. */
.nc-topbar { background: var(--nc-accent); color: var(--nc-on-lime); font-weight: 700; }
.nc-topbar a, .nc-topbar a:hover { color: var(--nc-on-lime); }
.nc-topbar :focus-visible { outline-color: var(--nc-on-lime); }

/* Hero: deep purple into the vivid violet of the 2018 banner. */
.nc-hero {
	background:
		radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--nc-hero-end) 60%, transparent) 0%, transparent 55%),
		linear-gradient(100deg, var(--nc-hero-start) 0%, var(--nc-hero-mid) 45%, var(--nc-hero-end) 100%);
}
.nc-hero .nc-eyebrow { background: var(--nc-accent); border-color: var(--nc-accent); color: var(--nc-on-lime); }
.nc-title-highlight { color: var(--nc-accent); }
.nc-hero .nc-btn, .nc-hero .nc-btn:visited, .nc-header .nc-btn, .nc-header .nc-btn:visited { background: var(--nc-accent); border-color: var(--nc-accent); color: var(--nc-on-lime); }
.nc-hero .nc-btn:hover, .nc-header .nc-btn:hover { background: var(--nc-accent-hover); border-color: var(--nc-accent-hover); color: var(--nc-on-lime); }

/* Values card: a lime panel floating over the hero ("Our Commitment" box). */
.nc-values-grid { background: var(--nc-accent); box-shadow: 0 24px 60px rgba(42, 13, 69, .22); }
.nc-value h2 { color: var(--nc-on-lime); }
.nc-value p { color: var(--nc-on-lime); opacity: .85; }
.nc-icon-tile { background: var(--nc-primary-dark); }

/* Eyebrows on white/lavender: deeper green so it stays readable. */
.nc-eyebrow { color: var(--nc-green); }

/* Why Noble Care: full lime section. */
.nc-why { background: var(--nc-accent); }
.nc-why .nc-eyebrow, .nc-why .nc-section-title, .nc-why-copy > p, .nc-why .nc-checks li { color: var(--nc-on-lime); }
.nc-why .nc-section-title { color: var(--nc-primary-dark); }
.nc-why .nc-checks li { font-weight: 700; }
.nc-why .nc-checks li::before { background: #fff; color: var(--nc-primary); }
.nc-why .nc-btn-green, .nc-why .nc-btn-green:visited { background: var(--nc-primary-dark); border-color: var(--nc-primary-dark); color: #fff; }
.nc-why .nc-btn-green:hover { background: var(--nc-header-bg); border-color: var(--nc-header-bg); color: #fff; }
.nc-why :focus-visible { outline-color: var(--nc-primary-dark); }

/* Where we serve / process / FAQs: lavender tint instead of cream. */
.nc-area, .nc-process, .nc-home-faqs { background: var(--nc-surface); }
.nc-step-number { border-color: var(--nc-surface); }
.nc-step:last-child .nc-step-number { background: var(--nc-accent); color: var(--nc-on-lime); }
.nc-steps::before { border-top-color: color-mix(in srgb, var(--nc-lavender) 45%, transparent); }
.nc-area-media { background: var(--nc-primary); }

/* Service cards: lime underline accent + purple icons, like the 2018 tiles. */
.nc-card { border-bottom: 6px solid var(--nc-accent); }

/* Testimonials band: lime with dark purple text. */
.nc-testimonials-band { background: var(--nc-accent); color: var(--nc-on-lime); }
.nc-testimonials .nc-arc path { fill: var(--nc-accent) !important; }
.nc-testimonials .nc-eyebrow, .nc-testimonials .nc-section-title { color: var(--nc-on-lime); }
.nc-testimonials [data-script]::before { color: var(--nc-primary-dark); }
.nc-rating { background: rgba(255, 255, 255, .45); border-color: rgba(42, 13, 69, .15); }
.nc-stars { color: var(--nc-primary); }
.nc-testimonials .nc-btn-outline-light, .nc-testimonials .nc-btn-outline-light:visited { color: var(--nc-on-lime); border-color: var(--nc-on-lime); }
.nc-testimonials .nc-btn-outline-light:hover { background: var(--nc-on-lime); color: #fff; }
.nc-testimonials :focus-visible { outline-color: var(--nc-on-lime); }

/* Call to action: the purple "Call: 757.934.3127" band. */
.nc-cta { background: var(--nc-primary); color: #fff; }
.nc-cta .nc-eyebrow { color: #c9e79e; } /* light lime: 6.2:1 on the purple band (full lime is 4.46:1, just under AA) */
.nc-cta .nc-section-title { color: #fff; }
.nc-cta .nc-head-text, .nc-cta-phone { color: #fff; }
.nc-cta [data-script]::before { color: #fff; }
.nc-cta a.nc-phone { color: #fff; }
.nc-cta .nc-btn, .nc-cta .nc-btn:visited { background: var(--nc-accent); border-color: var(--nc-accent); color: var(--nc-on-lime); }
.nc-cta .nc-btn:hover { background: var(--nc-accent-hover); border-color: var(--nc-accent-hover); color: var(--nc-on-lime); }
.nc-cta .nc-btn-outline, .nc-cta .nc-btn-outline:visited { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.nc-cta .nc-btn-outline:hover { background: #fff; border-color: #fff; color: var(--nc-primary); }
.nc-cta :focus-visible { outline-color: #fff; }

/* Footer: light-to-deep violet (as on staging), lime top edge, lime bottom bar. */
.nc-footer { background: linear-gradient(180deg, var(--nc-footer-bg) 0%, var(--nc-footer-end) 100%); border-top: 8px solid var(--nc-accent); }
.nc-footer h2 { color: #fff; padding-bottom: .45em; background: linear-gradient(var(--nc-accent), var(--nc-accent)) left bottom / 36px 3px no-repeat; } /* white: lime on the light violet is under 3:1 */
.nc-footer-bottom { background: var(--nc-footer-bottom-bg); color: var(--nc-footer-bottom-text); border-top: 0; }
.nc-footer-bottom a, .nc-footer-bottom a:hover { color: var(--nc-footer-bottom-text); }
.nc-footer-bottom :focus-visible { outline-color: var(--nc-footer-bottom-text); }

/* Homepage background: the 2018 lavender, with content on white panels
   (the old site's white box on a purple page). No text sits directly on
   the lavender, only on the white panels, so contrast stays AA. */
.nc-home { background: var(--nc-page-bg); }
.nc-home .nc-services, .nc-home .nc-area, .nc-home .nc-process, .nc-home .nc-home-faqs { background: transparent; padding: 32px 0; }
.nc-home .nc-services { padding-top: 64px; }
.nc-home .nc-home-faqs { padding-bottom: 72px; }
.nc-home .nc-services > .nc-inner,
.nc-home .nc-area > .nc-inner,
.nc-home .nc-process > .nc-inner,
.nc-home .nc-home-faqs > .nc-inner {
	width: calc(100% - 48px); margin: 0 auto; padding: 72px 56px;
	background: var(--nc-bg); border-radius: 36px; box-shadow: 0 30px 60px rgba(42, 13, 69, .2);
}
.nc-home .nc-faq-list details { box-shadow: none; border: 1px solid var(--nc-line); }
.nc-home .nc-step-number { border-color: var(--nc-bg); }
/* Waves and arcs that met white now meet the lavender. */
.nc-hero .nc-wave path, .nc-why > .nc-arc path { fill: var(--nc-page-bg) !important; }
.nc-values-grid { box-shadow: 0 24px 60px rgba(42, 13, 69, .3); }
/* Lime "Why" band and purple CTA band stay full-width between the panels. */
.nc-home .nc-why { margin-top: 32px; }
.nc-home .nc-cta { margin-top: 32px; }

/* Inner-page banner follows the new hero colors. */
/* (Banner colors live with the banner rules above.) */

/* ---- Responsive ---- */
@media (max-width: 1000px) {
	.nc-cards { grid-template-columns: repeat(2, 1fr); }
	.nc-steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
	.nc-steps::before { display: none; }
	.nc-values-grid { grid-template-columns: repeat(2, 1fr); }
	.nc-hero-copy { padding-right: 32px; }
	.nc-why-copy { padding-left: 40px; }
	.nc-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
	.nc-nav-toggle { display: inline-flex; }
	.nc-nav { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% - 8px); background: var(--nc-hero-start); flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
	.nc-nav.is-open { display: flex; }
	.nc-menu { flex-direction: column; background: none; border: 0; border-radius: 0; padding: 0; }
	.nc-menu a { font-size: .9rem; padding: .75em 1.1em; }
	.nc-header-actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 760px) {
	:root { --nc-header-h: 80px; }
	.nc-section { padding: 72px 0; }
	.nc-hero-grid, .nc-why-grid, .nc-area-grid, .nc-map-grid, .nc-inquiry-grid { grid-template-columns: 1fr; }
	.nc-hero-copy { padding: 32px 24px 40px; }
	.nc-hero-image { min-height: 300px; margin: 0 0 110px 24px; }
	.nc-hero-image img { border-radius: 160px 0 0 40px; }
	.nc-hero .nc-wave { height: 90px; }
	.nc-values-grid { grid-template-columns: 1fr; margin-top: -80px; padding: 28px 24px; }
	.nc-cards, .nc-steps { grid-template-columns: 1fr; }
	.nc-why-image { min-height: 320px; margin-right: 24px; }
	.nc-why-image img { border-radius: 0 160px 160px 0; }
	.nc-why-badge { right: 12px; bottom: 12px; }
	.nc-why-copy { padding: 48px 24px 64px; }
	.nc-area { padding-bottom: 72px; }
	.nc-area-grid { gap: 36px; }
	.nc-area-media { border-radius: 28px; }
	.nc-arc { height: 40px; }
	.nc-testimonials .nc-arc { height: 44px; }
	.nc-footer-grid { grid-template-columns: 1fr; }
	.nc-adm-intro, .nc-adm-funding, .nc-svc-grid, .nc-form-row, .nc-thanks { grid-template-columns: 1fr; gap: 28px; }
	.nc-thanks-card, .nc-thanks-social { padding: 28px 22px; }
	.nc-funding-card { grid-template-columns: 1fr; gap: 16px; padding: 28px 22px; }
	.nc-section-compact { padding: 48px 0; }
	.nc-svc-grid .nc-side, .nc-form-section .nc-side { position: static; }
	.nc-post-item { grid-template-columns: 1fr; }
	.nc-job-grid { grid-template-columns: 1fr; gap: 28px; }
	.nc-job-aside { position: static; order: -1; } /* facts + Apply first on phones */
	.nc-banner.has-image .nc-banner-grid { grid-template-columns: 1fr; }
	.nc-banner-copy, .nc-banner.has-image .nc-banner-copy { padding: 36px 24px 32px; }
	.nc-banner-image { min-height: 220px; margin: 0 0 64px 24px; }
	.nc-banner-image img { border-radius: 120px 0 0 32px; }
	.nc-banner:not(.has-image) .nc-banner-copy { padding-bottom: 96px; }
	.nc-banner .nc-wave { height: 56px; }
	.nc-banner:not(.has-image)::before, .nc-banner:not(.has-image)::after { display: none; }
	.nc-banner:not(.has-image) .nc-banner-copy { padding-bottom: 80px; }
	.nc-home .nc-services > .nc-inner,
	.nc-home .nc-area > .nc-inner,
	.nc-home .nc-process > .nc-inner,
	.nc-home .nc-home-faqs > .nc-inner { width: calc(100% - 24px); padding: 44px 20px; border-radius: 24px; }
	.nc-home .nc-services, .nc-home .nc-area, .nc-home .nc-process, .nc-home .nc-home-faqs { padding: 16px 0; }
	.nc-home .nc-services { padding-top: 40px; }
	.admin-bar.nc-sticky-header .nc-header { top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
	.nc-card:hover { transform: none; }
}
