/* Home / Business switch canvas: page sections (classes cx-*) */
.cx-wrap { --b: #00143A; --leaf: #51CF94; --g800: #166F4A; --g700: #1E9462; --hair: #E0E3EB; --sub: #F7F8FA; --ease: cubic-bezier(0.22,1,0.36,1);
	margin-block: 0 !important; padding: 0 !important; max-width: none !important;
	font-family: Montserrat, sans-serif; color: #333A4A; font-size: 16px; line-height: 1.5; }
.cx-wrap *, .cx-wrap *::before, .cx-wrap *::after { box-sizing: border-box; }
.cx-wrap a { text-decoration: none; }
.cx-wrap img { display: block; max-width: 100%; }
.cx-wrap h1, .cx-wrap h2 { font-family: Montserrat, sans-serif; margin: 0; }
.cx-wrap .cx-in { max-width: 1280px !important; margin: 0 auto; padding-inline: 32px; width: 100%; }
.cx-pad { padding-block: 112px 96px; }
.cx-pad--96 { padding-block: 96px; } .cx-pad--104 { padding-block: 104px; } .cx-pad--route { padding-block: 112px 120px; }
.cx-sub { background: var(--sub); } .cx-bt { border-top: 1px solid var(--hair); } .cx-bb { border-bottom: 1px solid var(--hair); }
.cx-two, .cx-three, .cx-four { display: grid; }
.cx-two { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 48px; }
.cx-three { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.cx-four { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; }
.cx-three--gap24, .cx-four--gap24 { gap: 24px; } .cx-three--gap32 { gap: 32px; } .cx-two--gap32 { gap: 32px; } .cx-three--top { margin-top: 40px; }
@media (max-width: 1100px) { .cx-four { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 900px) { .cx-two, .cx-three { grid-template-columns: minmax(0,1fr); } .cx-in { padding-inline: 20px; } .cx-pad { padding-block: 72px 64px; } }
@media (max-width: 600px) { .cx-four { grid-template-columns: minmax(0,1fr); } }

/* type */
.cx-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g800); margin-bottom: 16px; }
.cx-eyebrow--leaf { color: var(--leaf); } .cx-eyebrow--green { color: var(--g800); }
.cx-eyebrow--rule { display: flex; align-items: center; gap: 14px; letter-spacing: .24em; color: var(--b); margin-bottom: 20px; }
.cx-eyebrow--rule::before { content: ""; width: 24px; height: 2px; background: var(--b); }
.cx-h1 { font-weight: 800; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; color: #fff; margin-bottom: 20px !important; }
.cx-h1--xl { font-size: clamp(36px, 5vw, 72px); line-height: 1.02; max-width: 980px; margin: 0 !important; }
.cx-h2 { font-weight: 800; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; text-transform: uppercase; color: var(--b); }
.cx-h2--xl { font-size: clamp(44px, 5.4vw, 84px); line-height: 1.08; letter-spacing: -.015em; text-transform: none; margin-bottom: 40px !important; }
.cx-h2--lg { font-size: clamp(36px, 4.4vw, 64px); line-height: 1; }
.cx-h2--md { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.cx-h2--light { color: #fff; }
.cx-gtxt { color: var(--g700); } .cx-leaf { color: var(--leaf); }
.cx-hl { background: linear-gradient(transparent 64%, var(--leaf) 64%, var(--leaf) 90%, transparent 90%); padding: 0 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cx-lead { margin: 0 0 32px !important; font-size: 19px; line-height: 1.7; color: #DCE1EC; }
.cx-copy { margin: 0; color: #333A4A; } .cx-copy--lg { font-size: 20px; line-height: 1.65; max-width: 520px; margin-bottom: 40px; } .cx-copy--md { font-size: 18px; line-height: 1.7; }
.cx-mb24 { margin-bottom: 24px !important; } .cx-mb20 { margin-bottom: 20px !important; }
.cx-sh h2 { font-size: clamp(32px, 3.6vw, 52px); }
.cx-sh-wrap { margin-bottom: 48px; } .cx-sh-wrap--40 { margin-bottom: 40px; } .cx-sh-wrap--720 { max-width: 720px; margin-bottom: 56px; }
.cx-headrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.cx-sidep { margin: 0; max-width: 380px; color: #4A5163; font-size: 17px; line-height: 1.7; }
.cx-wrap a.cx-link, .cx-link { font-weight: 700; font-size: 15px; color: #00143A !important; text-decoration: underline; text-decoration-color: #51CF94; text-decoration-thickness: 2px; text-underline-offset: 6px; display: inline-block; align-self: flex-start; transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease); } .cx-wrap a.cx-link:hover, .cx-link:hover { color: #166F4A !important; text-decoration-color: #166F4A; }
.cx-wrap a:hover { color: var(--g800); }

/* buttons */
.cx-btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; border-radius: 10px; line-height: 1; transition: background 220ms var(--ease), transform 220ms var(--ease); }
.cx-btn--lg { padding: 16px 28px; font-size: 16px; } .cx-btn--sm { padding: 11px 18px; font-size: 14px; }
.cx-btn--accent { background: var(--leaf); color: var(--b) !important; } .cx-btn--accent:hover { background: var(--b); color: #fff !important; }
.cx-btn--primary { background: var(--b); color: #fff !important; } .cx-btn--primary:hover { background: var(--leaf); color: var(--b) !important; }
.cx-btn--ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff !important; padding-block: 15px; } .cx-btn--ghost:hover { background: #fff; color: var(--b) !important; border-color: #fff; }
/* Outline button on light backgrounds: the secondary button next to a primary one. */
.cx-btn--outline { border: 1.5px solid var(--b); color: var(--b) !important; padding-block: 15px; } .cx-btn--outline:hover { background: var(--b); color: #fff !important; }
.cx-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* heroes */
.cx-hero { position: relative; background: var(--b); color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.cx-hero--video { height: 68vh; min-height: 480px; max-height: 720px; }
.cx-hero--side { height: 62vh; min-height: 480px; max-height: 660px; }
.cx-hero__img, .cx-vm, .cx-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.cx-hero__img { object-fit: cover; }
.cx-hero__shade { background: linear-gradient(var(--cx-grad)); }
.cx-hero__shade--up { background: linear-gradient(to top, rgba(0,20,58,.9) 0%, rgba(0,20,58,.35) 55%, rgba(0,20,58,.05) 100%); }
.cx-hero .ric-vmedia__btn { position: absolute; right: 24px; top: 24px; z-index: 3; }
.cx-hero__in { position: relative; max-width: 1280px; width: 100%; margin: 0 auto; padding: 0 32px 64px; }
.cx-hero__copy { max-width: 680px; } .cx-hero--side[style*="0.92"] .cx-hero__copy { max-width: 720px; }
.cx-hero__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, #51CF94, #2FB67A); }

/* about + floating values */
.cx-about { position: relative; z-index: 5; background: #fff; overflow: hidden; }
.cx-about__grid { padding-block: 120px 160px; gap: 72px; align-items: start; }
.cx-about__media { position: relative; }
.cx-about__img { aspect-ratio: 4 / 3.7; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); }
.cx-about__img img { width: 100%; height: 100%; object-fit: cover; }
.cx-vpill { position: absolute; display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; background: var(--b); color: #fff !important; font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: var(--wp--preset--shadow--lg); }
.cx-vpill { transition: background 180ms var(--ease), transform 180ms var(--ease); }
.cx-vpill:hover { background: var(--leaf); color: var(--b) !important; transform: translateY(-2px); }
.cx-vpill:hover .cx-vpill__ic { background: var(--b); color: var(--leaf); }
.cx-vpill__ic { width: 36px; height: 36px; border-radius: 50%; background: var(--leaf); color: var(--b); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cx-v1 { top: 6%; left: 5%; } .cx-v2 { top: 28%; right: 5%; } .cx-v3 { top: 52%; left: 6%; } .cx-v4 { bottom: 18%; right: 6%; } .cx-v5 { bottom: 5%; left: 20%; }
@media (max-width: 900px) { .cx-vals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; } .cx-vpill { position: static; } .cx-about__grid { padding-block: 72px; gap: 40px; } }

/* ticker */
.cx-tickwrap { background: var(--leaf); color: var(--b); overflow: hidden; border-bottom: 1px solid rgba(0,20,58,.12); }
.cx-tick { display: flex; width: max-content; padding: 18px 0; font-weight: 800; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.cx-tick__set { display: inline-flex; gap: 40px; padding-right: 40px; }

/* project and service cards */
.cx-pc { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--wp--preset--shadow--md); color: inherit; }
.cx-pc__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; } .cx-pc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); } .cx-pc:hover img { transform: scale(1.04); }
.cx-pc__body { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.cx-pc__t { font-weight: 800; font-size: 18px; color: var(--b); }
.cx-tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.cx-tag { padding: 5px 10px; border-radius: 999px; background: #EEF0F4; color: #333A4A; } .cx-tag--g { background: #ECFBF3; color: var(--b); }
.cx-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hair); border-radius: 10px; overflow: hidden; box-shadow: var(--wp--preset--shadow--sm); color: inherit; transition: transform 220ms var(--ease), box-shadow 220ms; }
.cx-card:hover { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--lg); }
.cx-card > img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.cx-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.cx-card--cap { padding: 28px; gap: 10px; }
.cx-card__t { font-weight: 800; font-size: 19px; color: var(--b); text-transform: uppercase; letter-spacing: .02em; display: block; }
.cx-card__p { color: #4A5163; line-height: 1.6; display: block; }
.cx-card__cta { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; color: var(--g800); }
.cx-cap__ic { width: 64px; height: 64px; border-radius: 14px; background: #ECFBF3; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; } .cx-cap__ic img { width: 38px; height: 38px; object-fit: contain; }

/* stats */
.cx-statrow { padding-block: 80px; } .cx-statrow--b { padding-block: 40px 80px; }
.cx-stat { border-top: 4px solid var(--leaf); padding-top: 24px; }
.cx-stat__n { font-weight: 800; font-size: 56px; line-height: 1; color: var(--b); } .cx-stat__l { margin-top: 8px; color: #4A5163; font-weight: 600; }

/* route cards */
.cx-jc { position: relative; min-height: 540px; border-radius: 16px; overflow: hidden; color: #fff !important; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; box-shadow: var(--wp--preset--shadow--md); }
.cx-jc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); } .cx-jc:hover img { transform: scale(1.06); }
.cx-jc__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,20,58,.94) 0%, rgba(0,20,58,.4) 55%, rgba(0,20,58,.05) 100%); }
.cx-jc > span:not(.cx-jc__shade) { position: relative; }
.cx-jc__n { font-weight: 800; font-size: 15px; color: var(--leaf); margin-bottom: 16px; }
.cx-jc__t { font-weight: 800; font-size: 30px; line-height: 1.1; text-transform: uppercase; margin-bottom: 12px; }
.cx-jc__p { font-size: 16px; line-height: 1.6; color: #DCE1EC; margin-bottom: 24px; }
.cx-jc__cta { align-self: flex-start; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid var(--leaf); padding-bottom: 6px; }
.cx-jc:hover .cx-jc__cta { border-color: #fff; }

/* contact band */
.cx-band, .cx-ink { position: relative; z-index: 5; background: linear-gradient(135deg, #0A1B45 0%, #00143A 100%); color: #fff; overflow: hidden; }
.cx-glow { position: absolute; right: -160px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(81,207,148,.22) 0%, rgba(81,207,148,0) 70%); }
.cx-glow--l { right: auto; left: -200px; top: auto; bottom: -240px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(81,207,148,.2) 0%, rgba(81,207,148,0) 70%); }
.cx-band__in { position: relative; max-width: 1280px; margin: 0 auto; padding: 88px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cx-band__act { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; font-size: 19px; }
.cx-tel { font-weight: 700; color: #fff !important; }
.cx-offices { position: relative; padding-block: 0 88px; gap: 24px; }
.cx-office { border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; display: flex; gap: 16px; align-items: flex-start; }
.cx-office__t { font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; } .cx-office__p { color: #C3CADD; line-height: 1.6; }

/* home hub */
.cx-steps { list-style: none; margin: 0; padding: 0; }
.cx-steps li { border-top: 4px solid var(--leaf); padding-top: 24px; }
.cx-step__n { font-weight: 800; font-size: 40px; color: var(--b); line-height: 1; }
.cx-step__t { font-weight: 800; font-size: 18px; color: var(--b); margin: 16px 0 8px; text-transform: uppercase; } .cx-step__p { color: #4A5163; line-height: 1.6; }
.cx-fund { align-items: center; background: #ECFBF3; border-radius: 24px; padding: 56px; }
.cx-fund h2 { font-size: clamp(28px, 2.8vw, 38px); margin-bottom: 16px !important; }
.cx-fund__act { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cx-about2 { align-items: start; }
.cx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cx-chip { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--b); background: #ECFBF3; }
.cx-chip--white { background: #fff; border: 1px solid var(--hair); }
.cx-about2 .cx-chips:last-child { margin-bottom: 0; }
.cx-hp { color: inherit; } .cx-hp img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 10px; box-shadow: var(--wp--preset--shadow--md); }
.cx-hp__t { padding-top: 16px; font-weight: 700; color: var(--b); } .cx-hp__m { color: #6C7488; }
.cx-rev { margin: 0; background: #fff; border: 1px solid var(--hair); border-radius: 10px; padding: 28px; box-shadow: var(--wp--preset--shadow--sm); }
.cx-rev blockquote { margin: 0 0 16px; padding: 0; border: 0; font-size: 17px; line-height: 1.7; color: var(--b); } .cx-rev figcaption { color: #6C7488; font-size: 14px; }
.cx-certrow { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px 36px; align-items: center; color: #4A5163; font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.cx-certrow--top { margin-top: 0; padding-block: 72px 24px; }
.cx-certrow__l { color: var(--g800); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }

/* business hub */
.cx-sectors { padding-block: 40px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: baseline; }
.cx-sectors .cx-eyebrow { margin: 0; }
.cx-sector { color: var(--b); font-weight: 700; } .cx-sector span { color: #6C7488; font-weight: 400; }
.cx-why { border-top: 2px solid var(--leaf); padding-top: 24px; } .cx-why__t { font-weight: 800; font-size: 19px; text-transform: uppercase; margin-bottom: 10px; color: #fff; } .cx-why__p { color: #C3CADD; line-height: 1.7; }
.cx-resp { display: flex; flex-direction: column; gap: 12px; background: var(--sub); border: 1px solid var(--hair); border-radius: 10px; padding: 32px; box-shadow: var(--wp--preset--shadow--sm); transition: transform 220ms var(--ease), box-shadow 220ms; }
.cx-resp:hover { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--lg); } .cx-resp .cx-eyebrow { margin: 0; }
.cx-resp__t { font-weight: 800; font-size: 28px; line-height: 1.15; text-transform: uppercase; color: var(--b); } .cx-resp__p { color: #4A5163; font-size: 17px; line-height: 1.7; }
.cx-cp { color: inherit; } .cx-cp img { width: 100%; object-fit: cover; border-radius: 10px; box-shadow: var(--wp--preset--shadow--md); } .cx-cp--wide img { aspect-ratio: 16 / 10; } .cx-cp--std img { aspect-ratio: 4 / 3; }
.cx-cp__row { padding-top: 16px; display: flex; justify-content: space-between; gap: 16px; } .cx-cp__t { font-weight: 700; color: var(--b); } .cx-cp__loc { color: #6C7488; } .cx-cp__line { color: #4A5163; margin-top: 4px; }

/* motion: scroll reveal and drift, only where supported and allowed */
@media (prefers-reduced-motion: no-preference) {
	.cx-tick { animation: cx-tick 45s linear infinite; } .cx-tickwrap:hover .cx-tick { animation-play-state: paused; }
	.cx-vpill { animation: cx-float 9s ease-in-out infinite alternate; } .cx-vpill:hover { animation-play-state: paused; }
	@supports (animation-timeline: view()) {
		.cx-vpill { animation: cx-rise linear both, cx-float 9s ease-in-out infinite alternate; animation-timeline: view(), auto; animation-range: entry 0% entry 55%, normal; animation-delay: 0s, 0s; }
		.cx-v2 { animation-range: entry 8% entry 63%, normal; animation-delay: 0s, 1.4s; } .cx-v3 { animation-range: entry 16% entry 71%, normal; animation-delay: 0s, 2.6s; } .cx-v4 { animation-range: entry 24% entry 79%, normal; animation-delay: 0s, .8s; } .cx-v5 { animation-range: entry 32% entry 87%, normal; animation-delay: 0s, 2s; }
		:is(.cx-three, .cx-four, .cx-headrow, .cx-fund, .cx-sh-wrap, .cx-about__grid > div:first-child) > * { animation: cx-up linear backwards; animation-timeline: view(); animation-range: entry 0% cover 28%; }
		.cx-about__media { animation: cx-right linear backwards; animation-timeline: view(); animation-range: entry 0% cover 32%; }
		.cx-about__img img { animation: cx-zoom linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
	}
}
@keyframes cx-tick { to { transform: translateX(-50%); } }
@keyframes cx-float { from { transform: translateY(-14px) rotate(-6deg); } to { transform: translateY(14px) rotate(6deg); } }
@keyframes cx-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cx-up { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
@keyframes cx-right { from { opacity: 0; transform: translateX(80px); } to { opacity: 1; transform: none; } }
@keyframes cx-zoom { from { transform: scale(1.18); } to { transform: scale(1); } }

/* header: canvas switch bar, accent CTA on the two sides */
.ric-topbar__right { gap: 24px; font-size: 14px; font-weight: 700; }
.ric-topbar__phone { display: inline !important; }
.ric-topbar a.ric-topbar__book { color: #51CF94; }
.ric-topbar a.ric-topbar__book:hover { color: #fff; }
.ric-side-homeowner .ric-header-cta .wp-block-button__link, .ric-side-commercial .ric-header-cta .wp-block-button__link { background: #51CF94; color: #00143A; }
.ric-side-homeowner .ric-header-cta .wp-block-button__link:hover, .ric-side-commercial .ric-header-cta .wp-block-button__link:hover { background: #00143A; color: #FFFFFF; }
.ric-switch a:hover { background: rgba(255,255,255,.14); color: #fff; }
.ric-switch:not(:has(.is-current)) a { color: #fff; font-weight: 700; }

/* footer: canvas layout */
.ric-footer { background: #fff; padding: 0 !important; border-top: 0 !important; max-width: none !important; }
.ric-footer__rule { height: 6px; background: linear-gradient(90deg, #51CF94, #2FB67A); }
.ric-footer__row, .ric-awards, .ric-footer__switch, .ric-footer__legal { max-width: 1280px; margin: 0 auto; padding-inline: 32px; }
.ric-footer__row { padding-block: 48px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.ric-footer__logo img { height: 40px; width: auto; display: block; }
.ric-footer__nav { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 15px; font-weight: 600; }
.ric-footer__nav a { color: var(--ric-navy); text-decoration: none; } .ric-footer__nav a:hover { color: #166F4A; }
.ric-footer__switch { padding-bottom: 24px; }
.ric-footer__switch a { font-weight: 700; font-size: 14px; color: var(--ric-navy); text-decoration: none; border-bottom: 2px solid #51CF94; padding-bottom: 4px; }
.ric-awards { padding-block: 8px 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.ric-awards__l { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #166F4A; margin-right: 8px; }
.ric-awards__b, .ric-awards__ph { padding: 12px 16px; border-radius: 10px; font-size: 13px; }
.ric-awards__b { border: 1px solid #E0E3EB; font-weight: 700; color: var(--ric-navy); }
.ric-awards__ph { border: 1px dashed #B8BFCC; color: #6C7488; }
.ric-footer__legal { padding-block: 16px 32px; font-size: 13px; color: #6C7488; text-align: center; border-top: 1px solid #E0E3EB; }
@media (max-width: 900px) { .ric-footer__row, .ric-awards, .ric-footer__switch, .ric-footer__legal { padding-inline: 20px; } }
.ric-mainbar > .wp-block-group { max-width: 1280px !important; margin-inline: auto; }
.ric-header .wp-block-navigation { gap: 22px !important; font-size: 15px; font-weight: 600; }
.ric-header .wp-block-navigation__container { gap: 22px !important; flex-wrap: nowrap; }
.ric-header-cta .wp-block-button__link { white-space: nowrap; }
@media (max-width: 700px) { .ric-topbar__inner { flex-wrap: wrap; } .ric-topbar__right { gap: 16px; } .ric-topbar a.ric-topbar__book { display: none; } }

/* real logos in the awards row; Q&A */
.ric-awards img { height: 56px; width: auto; max-width: 160px; object-fit: contain; }
.cx-faq { max-width: 880px; display: grid; gap: 12px; }
.cx-q { background: #fff; border: 1px solid var(--hair); border-radius: 10px; padding: 0 24px; }
.cx-sub .cx-q { background: #fff; }
.cx-q summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; color: var(--b); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.cx-q summary::-webkit-details-marker { display: none; }
.cx-q summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--g800); }
.cx-q[open] summary::after { content: "−"; }
.cx-q p { margin: 0 0 20px; color: #4A5163; line-height: 1.7; }
.ric-awards { gap: 20px 28px; }
.ric-awards img { height: 48px; max-width: 150px; }
.ric-awards img.ric-awards__sme { height: 84px; max-width: none; border-radius: 10px; }

/* Front page video: no text over it, slimmer than the full screen width. */
.cx-hero--slim { width: 100%; margin: 0; border-radius: 0; height: 52vh; min-height: 380px; max-height: 560px; }
.cx-hero--slim .cx-hero__shade { display: none; }
.cx-mt24 { margin: 24px 0 0; }

/* ---------- Service pages (Breedon-style layout) and Funding banner ---------- */
.cx-svc-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: 32px 40px; }
.cx-svc-h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; margin: 0 0 24px; color: var(--b); text-transform: uppercase; font-weight: 800; letter-spacing: -.01em; }
.cx-svc-lead { font-size: 18px; line-height: 1.6; margin: 0; max-width: 520px; color: #333A4A; }
.cx-svc-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.cx-svc-pills a { font-size: 13px; font-weight: 600; color: var(--b) !important; border: 1px solid var(--b); border-radius: 10px; padding: 8px 16px; text-decoration: none; transition: background 180ms var(--ease), color 180ms var(--ease); }
.cx-svc-pills a:hover { background: var(--b); color: #fff !important; }
.cx-svc-hero__media { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 32px rgba(0,20,58,.14); }
.cx-svc-hero__media img { display: block; width: 100%; aspect-ratio: 12 / 5; object-fit: cover; }
.cx-svc-hero--tall .cx-svc-hero__media img { aspect-ratio: 4 / 3; }
.cx-svc-hero__bar { display: flex; align-items: stretch; background: var(--b); color: #fff; font-weight: 600; font-size: 14px; }
.cx-svc-hero__bar > span { flex: 1; padding: 18px 20px; } .cx-svc-hero__bar b { color: var(--leaf); }
.cx-svc-hero__quote { flex: 0 0 auto; transition: background 180ms var(--ease); padding: 18px 24px; background: #0A1B45; color: #fff !important; font-weight: 700; text-decoration: none; border-left: 1px solid rgba(255,255,255,.2); }
.cx-svc-hero__quote:hover { background: var(--leaf); color: var(--b) !important; }
.cx-svc-over p { margin: 0 0 16px; line-height: 1.7; }
.cx-svc-list { list-style: none; margin: 0; padding: 0; }
.cx-svc-list li { padding: 16px 0; border-bottom: 1px solid var(--hair); font-weight: 700; color: var(--b); }
.cx-svc-list li:first-child { border-top: 1px solid var(--hair); }
.cx-svc-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #0A1B45 0%, #00143A 100%); color: #C3CADD; }
.cx-svc-band .cx-in { position: relative; }
.cx-svc-ghost { position: absolute; left: 24px; top: 8px; font-size: clamp(100px, 16vw, 220px); font-weight: 800; text-transform: uppercase; line-height: 1; color: rgba(255,255,255,.05); white-space: nowrap; pointer-events: none; }
.cx-svc-card { display: block; background: #fff; border-radius: 10px; overflow: hidden; color: var(--b) !important; text-decoration: none; box-shadow: 0 8px 24px rgba(0,20,58,.18); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.cx-svc-card:hover { transform: translateY(-4px); }
.cx-svc-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cx-svc-card__t { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 800; text-transform: uppercase; font-size: 14px; line-height: 1.25; }
.cx-svc-card__plus { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--b); color: #fff; display: grid; place-items: center; font-size: 18px; }
.cx-fbanner-wrap { padding-block: 48px 24px; }
.cx-fbanner { display: grid; grid-template-columns: 1fr 1.2fr; border-radius: 10px; overflow: hidden; background: #ECFBF3; box-shadow: 0 8px 24px rgba(0,20,58,.08); }
.cx-fbanner__img img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.cx-fbanner__panel { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; color: #333A4A; }
.cx-fbanner__h { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; color: var(--b); text-transform: uppercase; font-weight: 800; letter-spacing: -.01em; }
.cx-fbanner__panel p { margin: 0; font-size: 17px; line-height: 1.6; max-width: 620px; }
@media (max-width: 900px) { .cx-svc-hero, .cx-fbanner { grid-template-columns: minmax(0, 1fr); } .cx-svc-hero { padding-block: 24px 32px; } }

/* Front page About heading: sized to sit level with the photo beside it. */
.cx-about__grid .cx-h2--xl { font-size: clamp(32px, 3.6vw, 52px); margin-bottom: 28px !important; }

/* "What can we support you with?": each line stays on one line. */
.cx-h2--line { font-size: clamp(24px, 3.6vw, 52px); }
@media (min-width: 560px) { .cx-h2--line { white-space: nowrap; } }

/* Values video dialog */
.ric-vdlg { border: 0; border-radius: 10px; padding: 0; width: min(900px, calc(100% - 32px)); background: #fff; box-shadow: 0 24px 64px rgba(0,20,58,.4); }
.ric-vdlg::backdrop { background: rgba(0,20,58,.8); }
.ric-vdlg__in { padding: 24px; position: relative; }
.ric-vdlg__t { margin: 0 48px 16px 0; font-size: 20px; color: #00143A; text-transform: uppercase; }
.ric-vdlg__x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #00143A; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.ric-vdlg__stage { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ric-vdlg__stage iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }
.ric-vdlg__note { margin: 0; max-width: 640px; line-height: 1.6; color: #333A4A; }
.ric-vdlg__play { border: 0; border-radius: 10px; padding: 14px 28px; background: #00143A; color: #fff; font: 700 16px/1 inherit; cursor: pointer; }
.ric-vdlg__play:hover { background: #51CF94; color: #00143A; }
.ric-vdlg__alt { color: #00143A; font-weight: 600; }

/* Footer layout D */
.ric-footer__grid { max-width: 1280px; margin: 0 auto; padding: 48px 32px 32px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.ric-footer__brand .ric-footer__logo img { height: 40px; width: auto; display: block; }
.ric-footer__address { margin: 16px 0 0; font-size: 13px; line-height: 1.7; color: #6C7488; }
.ric-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 600; }
.ric-footer__col a { color: var(--ric-navy); text-decoration: none; } .ric-footer__col a:hover { color: #166F4A; }
.ric-footer__h { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #166F4A; }
.ric-footer__grid .ric-awards { grid-column: 1 / -1; max-width: none; margin: 0; padding: 24px 0 0; border-top: 1px solid #E0E3EB; }
@media (max-width: 800px) { .ric-footer__grid { grid-template-columns: 1fr; padding-inline: 20px; } }
/* Long one-word titles (Apprenticeship) must fit a 320px phone. */
@media (max-width: 480px) { .cx-svc-h1 { font-size: clamp(24px, 7.4vw, 36px); } }
/* The flow-layout reset zeroed this gap; the heading keeps its space above the intro line. */
h1.cx-svc-h1 { margin-bottom: 24px; }
@media (max-width: 480px) { h1.cx-svc-h1 { margin-bottom: 16px; } }
/* Enquiry pages: details beside the form, stacked on tablets and phones. */
.cx-enq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.cx-enq .cx-steps { display: grid; gap: 32px; }
@media (max-width: 900px) { .cx-enq { grid-template-columns: minmax(0, 1fr); } }
.cx-enq .ric-enquiry-wrap a { text-decoration: underline; text-underline-offset: 2px; }

/* Two pills side by side in the About section on the front page. */

/* Service pages: note under the list, call-out in the "More for" band, solo overview. */
.cx-svc-note { margin: 24px 0 0; padding: 16px 20px; background: #ECFBF3; border-left: 4px solid var(--leaf); border-radius: 0 10px 10px 0; font-weight: 600; color: var(--b); }
.cx-svc-list strong { color: var(--b); }
.cx-svc-over--solo > div { max-width: 820px; }
.cx-svc-bandhead { display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; align-items: flex-end; }
.cx-svc-callout { box-sizing: border-box; flex: 0 1 420px; margin-left: auto; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 22px 26px; color: #fff; }
.cx-svc-callout .cx-eyebrow { margin-bottom: 8px; }
.cx-svc-callout p { margin: 0 0 16px; line-height: 1.6; color: #DDE3F0; }
.cx-svc-bandhead { margin-bottom: 40px; }
.cx-svc-bandhead .cx-sh-wrap { margin-bottom: 0; }
.cx-inline { font-weight: 600; color: var(--b) !important; text-decoration: underline; text-decoration-color: var(--leaf); text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* Our story: history timeline and awards grid. */
.cx-tl { list-style: none; margin: 48px 0 0; padding: 0; border-top: 4px solid var(--leaf); }
.cx-tl li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 40px; padding: 28px 0; border-bottom: 1px solid var(--hair); }
.cx-tl__y { font-weight: 800; font-size: 36px; line-height: 1; color: var(--b); }
.cx-tl__t { margin: 0 0 8px; font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; color: var(--b); }
.cx-tl p { margin: 0; max-width: 760px; line-height: 1.7; color: #333A4A; }
.cx-awards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cx-award { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 24px; background: #fff; border: 1px solid var(--hair); border-top: 4px solid var(--leaf); border-radius: 10px; }
.cx-award__org { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #166F4A; }
.cx-award__t { font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--b); }
@media (max-width: 1100px) { .cx-awards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cx-awards { grid-template-columns: minmax(0, 1fr); } .cx-tl li { grid-template-columns: minmax(0, 1fr); gap: 8px; } .cx-tl__y { font-size: 30px; } }

/* Our story: year selector */
.cx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cx-tlb { margin-top: 48px; }
.cx-tlb__track { display: none; position: relative; gap: 4px; overflow-x: auto; padding: 0 0 18px; margin-bottom: 28px; scrollbar-width: none; }
.cx-tlb__track::-webkit-scrollbar { display: none; }
.cx-tlb.is-js .cx-tlb__track { display: flex; }
.cx-tlb__track::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 4px; background: var(--hair); border-radius: 2px; }
.cx-tlb__tab { position: relative; z-index: 1; flex: 0 0 auto; border: 0; background: none; padding: 10px 16px; font: inherit; font-weight: 800; font-size: 20px; color: #6C7488; cursor: pointer; border-radius: 10px; transition: color .25s; }
.cx-tlb__tab:hover, .cx-tlb__tab[aria-selected="true"] { color: var(--b); }
.cx-tlb__tab:focus-visible, .cx-tlb__nav button:focus-visible { outline: 3px solid var(--b); outline-offset: 2px; }
.cx-tlb__thumb { position: absolute; bottom: 6px; height: 4px; background: var(--leaf); border-radius: 2px; z-index: 2; transition: left .5s cubic-bezier(.22,1,.36,1), width .5s cubic-bezier(.22,1,.36,1); }
.cx-tlb__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; background: #F7F8FA; border-radius: 10px; padding: 40px; margin-bottom: 16px; }
.cx-tlb__panel.has-img { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.cx-tlb__panel.has-img .cx-tlb__year { font-size: clamp(56px, 7vw, 104px); }
.cx-tlb.is-js .cx-tlb__panel { margin-bottom: 0; }
.cx-tlb.is-js .cx-tlb__panel[hidden] { display: none; }
.cx-tlb__year { font-size: clamp(72px, 11vw, 150px); font-weight: 800; line-height: .9; letter-spacing: -.04em; color: var(--b); }
.cx-tlb__t { margin: 0 0 12px; font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; color: var(--b); }
.cx-tlb__body p { margin: 0; line-height: 1.7; color: #333A4A; }
.cx-tlb__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.cx-tlb.is-js .cx-tlb__panel:not([hidden]) > * { animation: cx-tlb-in .55s cubic-bezier(.22,1,.36,1); }
@keyframes cx-tlb-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cx-tlb__nav { display: none; gap: 10px; margin-top: 20px; align-items: center; }
.cx-tlb.is-js .cx-tlb__nav { display: flex; }
.cx-tlb__nav button { border: 0; border-radius: 10px; background: var(--b); color: #fff; font: inherit; font-weight: 700; padding: 10px 18px; cursor: pointer; }
.cx-tlb__nav button:hover { background: var(--leaf); color: var(--b); }
.cx-tlb__count { margin-left: auto; font-size: 14px; font-weight: 600; color: #6C7488; }
@media (max-width: 900px) { .cx-tlb__panel, .cx-tlb__panel.has-img { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .cx-tlb__thumb { transition: none; } .cx-tlb.is-js .cx-tlb__panel:not([hidden]) > * { animation: none; } }
