/* ==========================================================================
   Muse redesign — site-wide styles: tokens, fonts, buttons, header, footer.
   Everything is prefixed .muse-* so it cannot leak into the parent theme.
   Values come from the Figma file "Pack - A" (1920 px desktop frame).
   ========================================================================== */

/* ---------- Fonts ----------
   Public Sans + Lora are self-hosted. Sansation (headings) is not on Google
   Fonts: add sansation-regular.woff2 / sansation-bold.woff2 to assets/fonts/.
   Until then headings fall back to Public Sans. */
@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/public-sans-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Lora";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/lora-bold-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Sansation";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/Sansation-Regular.ttf") format("truetype");
}
@font-face {
	font-family: "Sansation";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/Sansation-Bold.ttf") format("truetype");
}

/* ---------- Design tokens ---------- */
:root {
	/* Brand */
	--muse-navy: #163963;        /* Primary/01 */
	--muse-green: #87b826;       /* Primary/02 */
	--muse-navy-deep: #062b5f;   /* headings, deep buttons */
	--muse-dark: #243056;        /* dark sections */
	--muse-blue-card: #0b3872;   /* feature cards on dark */
	--muse-blue-line: #1f5296;
	--muse-green-bright: #88b713; /* a separate fill in the design (testimonials eyebrow, badges), not Primary/02 */
	--muse-green-light: #a9d155; /* eyebrows on dark */
	--muse-green-text: #5e7d0c;  /* eyebrows on light */
	--muse-green-pale: #e8f5d0;
	--muse-sky: #4ebae8;         /* hover: navy buttons, highlighted location badge */
	--muse-green-hover: #b1d19f; /* hover: green buttons */

	/* Neutrals */
	--muse-grey-bg: #dfe4eb;
	--muse-cream: #f8faf4;
	--muse-soft: #f0f2f5;
	--muse-text: #4a5462;
	--muse-text-soft: #5b6472;
	--muse-muted: #8a94a0;
	--muse-line: #d3d9e2;
	--muse-white: #fff;
	--muse-grey-mid: #9ba3ae;     /* FAQ numbers, testimonial location */
	--muse-ice: #c9d8ea;         /* light text on blue */
	--muse-green-badge: #9cd728; /* "Most Requested" pill text */

	/* Footer (design values) */
	--muse-footer-heading: #1a3d5c;
	--muse-footer-text: #666;
	--muse-footer-tagline: #888;
	--muse-footer-copy: #9c9c9c;

	/* Type */
	--muse-font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--muse-font-head: "Sansation", "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	/* Layout: one content width for header, every section and the footer
	   (1443 px = the hero content width in the design). */
	--muse-w: 1443px;
	--muse-gutter: clamp(24px, 4vw, 64px); /* side space: 24 px on phones, ~4 % on laptops, 64 px max */
	--muse-container: calc(var(--muse-w) + 2 * var(--muse-gutter)); /* header / footer / every page container */
	--header-h: 80px; /* sticky header height (compact bar); theme.js keeps it exact. Pages offset sticky boxes by it. */

	/* Shape */
	--muse-radius: 15px;
}

/* ---------- No sideways scrolling ----------
   A few pixels of overflow (a full-width row rounding up at fractional zoom, an
   element sized with 100vw next to a vertical scrollbar, a plugin widget) must never
   produce a horizontal scrollbar. `clip` hides the overflow WITHOUT creating a scroll
   container, so the sticky header keeps working (overflow:hidden would break it). */
@supports (overflow: clip) {
	html,
	body {
		overflow-x: clip;
	}
}

/* ---------- Base (scoped) ---------- */
.muse-site .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

html { scroll-padding-top: 96px; }

.muse-skip {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--muse-white);
	color: var(--muse-navy-deep);
	font: 600 16px/1 var(--muse-font-body);
	border-radius: 0 0 var(--muse-radius) var(--muse-radius);
	text-decoration: none;
}
.muse-skip:focus {
	top: 0;
}

.muse-main,
.muse-header,
.muse-footer {
	font-family: var(--muse-font-body);
	color: var(--muse-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.muse-main *,
.muse-header *,
.muse-footer * {
	box-sizing: border-box;
}
/* The parent theme ships `* { margin: 0 auto; outline: none !important }`.
   Zero-specificity reset so our own class rules still win. */
:where(.muse-main, .muse-header, .muse-footer) :where(*) {
	margin: 0;
}

/* The parent theme sets `p { margin-bottom: 20px !important }`. Same specificity
   and importance, later in the cascade, so ours wins; spacing is done with gap. */
:where(.muse-main, .muse-header, .muse-footer) p {
	margin-bottom: 0 !important;
}

/* Keyboard focus ring. !important is needed to beat the parent's
   `* { outline: none !important }`; colour flips on dark sections. */
.muse-site {
	--muse-ring: var(--muse-navy);
}
.muse-site :is(.muse-header, .muse-hero, .muse-why, .muse-conditions, .muse-testimonials, .muse-cta) {
	--muse-ring: #fff;
}
.muse-site :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--muse-ring) !important;
	outline-offset: 3px !important;
}
/* Same specificity as the parent's bare `h2 {}` / `ul {}` rules (0,0,1) and
   later in the cascade, but below every .muse-* class rule (0,1,0). */
:where(.muse-main) :is(h1, h2, h3, p, ul, ol, li, figure, blockquote, fieldset),
:where(.muse-header) :is(ul, li, p),
:where(.muse-footer) :is(h2, p, ul, li) {
	margin: 0;
	padding: 0;
	list-style: none;
}
.muse-main img,
.muse-header img,
.muse-footer img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
.muse-main a,
.muse-header a,
.muse-footer a {
	text-decoration: none;
}

/* The parent wraps pages in #page/#content with its own spacing. */
.muse-front .site-content {
	padding: 0;
	margin: 0;
}

.muse-container {
	/* Shared content width (--muse-w) + 2 x gutter: the same box as the header. */
	width: 100%;
	max-width: var(--muse-container);
	margin-inline: auto;
	padding-inline: var(--muse-gutter);
}

/* ---------- Buttons ---------- */
.muse-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 60px;
	padding: 16px clamp(28px, 3vw, 56px);
	border: 0;
	border-radius: var(--muse-radius);
	background: var(--muse-green);
	color: var(--muse-white);
	font: 500 20px/1 var(--muse-font-body);
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
/* Hover / focus colours come from the Figma "Design System" button states. */
.muse-btn:focus-visible { outline-offset: 3px; }
@media (hover: hover) {
	.muse-btn:hover { color: var(--muse-white); }
}
.muse-btn--navy { background: var(--muse-navy); }
.muse-btn--deep { background: var(--muse-navy-deep); border-radius: 16px; }
.muse-btn--outline {
	padding: 13px clamp(20px, 1.35vw, 26px) 14px;
	background: transparent;
	border: 2px solid var(--muse-white);
	font-weight: 500;
}
@media (hover: hover) {
	.muse-btn:not(.muse-btn--navy):not(.muse-btn--deep):not(.muse-btn--outline):not(.muse-btn--white):hover,
	.muse-btn--green:hover {
		background: var(--muse-green-hover);
		color: var(--muse-navy);
	}
	.muse-btn--navy:hover,
	.muse-btn--deep:hover {
		background: var(--muse-sky);
		color: var(--muse-white);
	}
	.muse-btn--outline:hover {
		background: var(--muse-white);
		border-color: #111;
		color: var(--muse-navy-deep);
	}
}
.muse-btn:not(.muse-btn--navy):not(.muse-btn--deep):not(.muse-btn--outline):not(.muse-btn--white):focus-visible,
.muse-btn--green:focus-visible { background: var(--muse-green-hover); color: var(--muse-navy); }
.muse-btn--navy:focus-visible,
.muse-btn--deep:focus-visible { background: var(--muse-sky); color: var(--muse-white); }
.muse-btn--outline:focus-visible { background: var(--muse-white); border-color: #111; color: var(--muse-navy-deep); }
.muse-btn--white {
	height: 50px;
	padding: 11px 32px;
	background: var(--muse-white);
	color: var(--muse-navy-deep);
	font-size: 16px;
	font-weight: 700;
}
.muse-btn--white:hover {
	background: var(--muse-green-pale);
	color: var(--muse-navy-deep);
}

/* ==========================================================================
   Inner pages — one content container, the same box as the header and footer.
   Bootstrap 3 (parent) and 5 (child) .container, the hub's .ssd-wrap .container
   (1200 px !important) and the templates' own widths all resolve to it, so the
   page title, banner, body and footer share the logo's left edge and the
   button's right edge at every screen width.
   ========================================================================== */
.muse-site:not(.muse-front) .container,
.muse-site:not(.muse-front) .ssd-wrap .container {
	width: 100% !important;
	max-width: var(--muse-container) !important;
	margin-inline: auto !important;
	padding-inline: var(--muse-gutter) !important;
	box-sizing: border-box;
}

/* Wide tables in post / page content scroll inside their own block instead of
   stretching the whole page on small screens. */
.muse-site .wp-block-table {
	display: block; /* overflow only works on block containers, not display:table */
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.muse-site .wp-block-table table { min-width: 100%; }
/* Plain <table> elements pasted into page content (fixed width="624" etc.) scroll the same way on phones. */
@media (max-width: 767px) {
	.muse-site table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* ==========================================================================
   Header
   ========================================================================== */
.muse-header {
	position: sticky; /* inner pages: stays in flow, sticks on scroll */
	top: 0;
	z-index: 50;
	background: var(--muse-navy);
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
/* On the home page the header floats over the hero photo … */
.muse-front .muse-header {
	position: absolute;
	inset: 0 0 auto 0;
	background: transparent;
}
/* … and, once the page is scrolled (muse-site.js adds .is-stuck), becomes a
   fixed, slightly translucent navy bar with a compact logo. Same on inner pages. */
.muse-header.is-stuck {
	background: rgba(22, 57, 99, 0.97);
	box-shadow: 0 8px 28px rgba(0, 10, 26, 0.28);
}
@supports (backdrop-filter: blur(8px)) {
	.muse-header.is-stuck { background: rgba(22, 57, 99, 0.92); backdrop-filter: saturate(140%) blur(10px); }
}
.muse-front .muse-header.is-stuck { position: fixed; }
/* Compact bar only where the header is out of the flow (home page); on inner pages
   the header is sticky in the flow, so resizing it would make the content jump. */
.muse-front .muse-header.is-stuck .muse-header__inner { padding-block: 12px; }
.muse-front .muse-header.is-stuck .muse-logo { height: 56px; }
.muse-front .muse-header.is-stuck .muse-logo img { width: 150px; }
/* In-page links (e.g. the "On this page" list) must land below the sticky header, not under it. */
html { scroll-padding-top: calc(var(--header-h, 80px) + 16px); }
.admin-bar .muse-header { top: 32px; }
.admin-bar .muse-front .muse-header:not(.is-stuck) { top: 0; }
@media (max-width: 782px) { .admin-bar .muse-header { top: 46px; } }

.muse-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	/* Same container as the hero (1443 px content + 2 x gutter), so the logo's left
	   edge lines up with the headline and the nav group with the claim card. */
	max-width: var(--muse-container);
	margin: 0 auto;
	padding: 12px var(--muse-gutter); /* compact bar: same size as the home page's scrolled header (80 px) */
}
.muse-front .muse-header__inner {
	padding-top: 41px;
	padding-bottom: 41px;
}

.muse-logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex: 0 0 auto;
	height: 56px;
}
.muse-logo img {
	width: 150px;
	height: auto;
	transition: width 0.25s ease;
}
/* Only the home page's transparent overlay (top of the page) uses the large header;
   every other page, and the home page once scrolled, uses the compact bar above. */
.muse-front .muse-logo { height: 69px; }
.muse-front .muse-logo img { width: 180px; }

.muse-header__panel {
	display: flex;
	align-items: center;
	gap: 48px;
}
.muse-nav__list {
	display: flex;
	align-items: center;
	gap: 48px;
}
.muse-nav__link {
	position: relative;
	display: block;
	padding: 6px 0;
	color: rgba(255, 255, 255, 0.9);
	font: 500 16px/1.2 var(--muse-font-body);
	transition: color 0.2s ease;
}
.muse-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--muse-green-light);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}
.muse-nav__link:hover,
.muse-nav__link:focus-visible,
.is-current > .muse-nav__link {
	color: var(--muse-white);
}
.muse-nav__link:hover::after,
.muse-nav__link:focus-visible::after,
.is-current > .muse-nav__link::after {
	transform: scaleX(1);
}

@media (min-width: 1200px) {
	.muse-nav__link { white-space: nowrap; } /* labels stay on one line */
	/* Spacing scales with the viewport so the menu, drop-down chevrons and the CTA always fit. */
	.muse-header__inner { gap: clamp(20px, 2.5vw, 48px); }
	.muse-header__panel { gap: clamp(20px, 2.5vw, 48px); }
	.muse-nav__list { gap: 14px; }
	.muse-header__panel { gap: 24px; }
	.muse-header__inner { gap: 24px; }
}
@media (min-width: 1400px) {
	.muse-nav__list { gap: 28px; }
	.muse-header__panel,
	.muse-header__inner { gap: 40px; }
}
@media (min-width: 1600px) {
	.muse-nav__list,
	.muse-header__panel,
	.muse-header__inner { gap: 48px; }
	.muse-header__cta { flex: 0 0 auto; white-space: nowrap; }
}
/* Drop-down (second level) ------------------------------------------------ */
.muse-nav__item.has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.muse-nav__toggle {
	position: relative;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.9);
	cursor: pointer;
}
.muse-nav__toggle::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: translate(-50%, -70%) rotate(45deg);
	transition: transform 0.2s ease;
}
.muse-nav__item.has-sub.is-open > .muse-nav__toggle::before { transform: translate(-50%, -30%) rotate(-135deg); }
.muse-nav__toggle:hover { color: var(--muse-white); }

.muse-nav__sub {
	position: absolute;
	z-index: 30;
	top: calc(100% + 12px);
	left: -18px;
	min-width: 260px;
	max-height: min(70vh, 440px);
	overflow-y: auto;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--muse-white);
	border-radius: 14px;
	box-shadow: 0 24px 48px rgba(0, 10, 26, 0.22);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
/* Invisible bridge so the pointer can travel from the link to the panel. */
.muse-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.muse-nav__item.has-sub.is-open > .muse-nav__sub {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
@media (hover: hover) {
	.muse-nav__item.has-sub:hover > .muse-nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
/* Long lists (9+ items, e.g. every state) flow into two columns instead of one tall scroll. */
@media (min-width: 1200px) {
	.muse-nav__sub:has(> li:nth-child(9)) {
		display: grid;
		grid-template-columns: repeat(2, minmax(210px, 1fr));
		grid-auto-flow: row;
		column-gap: 6px;
		min-width: 450px;
		align-content: start;
	}
}
.muse-nav__subitem { margin: 0; }
.muse-nav__sublink {
	display: block;
	padding: 11px 14px;
	border-radius: 9px;
	color: var(--muse-navy-deep);
	font: 500 16px/1.25 var(--muse-font-body);
	transition: background-color 0.15s ease, color 0.15s ease;
}
.muse-nav__sublink:hover,
.muse-nav__sublink:focus-visible,
.muse-nav__subitem.is-current > .muse-nav__sublink { background: var(--muse-green-bright); color: var(--muse-white); }
/* The header's legacy link colour rules must not turn the white panel's text white. */
.muse-header .muse-nav__sublink { color: var(--muse-navy-deep) !important; }
.muse-header .muse-nav__sublink:hover,
.muse-header .muse-nav__sublink:focus-visible,
.muse-header .muse-nav__subitem.is-current > .muse-nav__sublink { color: var(--muse-white) !important; }

/* Menu button (small screens only) */
.muse-nav-toggle {
	display: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.6);
	border-radius: 12px;
	background: transparent;
	color: var(--muse-white);
	cursor: pointer;
}
.muse-nav-toggle__bars,
.muse-nav-toggle__bars::before,
.muse-nav-toggle__bars::after {
	display: block;
	width: 22px;
	height: 2px;
	margin: auto;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.muse-nav-toggle__bars {
	position: relative;
}
.muse-nav-toggle__bars::before,
.muse-nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}
.muse-nav-toggle__bars::before { top: -7px; }
.muse-nav-toggle__bars::after { top: 7px; }
.muse-header.is-open .muse-nav-toggle__bars { background: transparent; }
.muse-header.is-open .muse-nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.muse-header.is-open .muse-nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }


@media (max-width: 1199px) {
	.muse-header__inner,
	.muse-front .muse-header__inner {
		justify-content: space-between;
		padding: 14px var(--muse-gutter);
	}
	.muse-logo,
	.muse-front .muse-logo { height: 56px; }
	.muse-logo img,
	.muse-front .muse-logo img { width: 150px; } /* same logo size on every page at tablet / phone widths */
	.muse-nav-toggle { display: block; }

	.muse-header__panel {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 8px 24px 28px;
		background: var(--muse-navy);
		box-shadow: 0 20px 30px rgba(0, 10, 26, 0.25);
		/* Taller than the screen (long drop-downs): the panel itself scrolls. */
		max-height: calc(100vh - 84px);
		max-height: calc(100dvh - 84px);
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}
	.admin-bar .muse-header__panel { max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); }
	.muse-header.is-open .muse-header__panel { display: flex; }
	.muse-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.muse-nav__link { padding: 14px 0; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
	.muse-nav__link::after { display: none; }
	/* Items with a sub-menu: link + toggle on one row, the sub-menu expands below. */
	.muse-nav__item { display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
	.muse-nav__item > .muse-nav__link { flex: 1 1 0; min-width: 0; border-bottom: 0; }
	.muse-nav__item.has-sub { gap: 0; }
	.muse-nav__toggle { width: 48px; height: auto; border-radius: 0; }
	.muse-nav__sub {
		position: static;
		display: none;
		flex: 1 0 100%;
		min-width: 0;
		max-height: none;
		margin: 0 0 10px;
		padding: 4px 0 4px 16px;
		background: transparent;
		border-left: 2px solid var(--muse-green-light);
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}
	.muse-nav__sub::before { display: none; }
	.muse-nav__item.has-sub.is-open > .muse-nav__sub { display: block; }
	.muse-nav__sublink,
	.muse-header .muse-nav__sublink { padding: 12px 8px; color: rgba(255, 255, 255, 0.92) !important; font-size: 17px; background: transparent; }
	.muse-nav__sublink:hover,
	.muse-nav__sublink:focus-visible,
	.muse-header .muse-nav__sublink:hover,
	.muse-header .muse-nav__sublink:focus-visible,
	.muse-header .muse-nav__subitem.is-current > .muse-nav__sublink { background: transparent; color: var(--muse-green-light) !important; }
	.muse-header__cta { width: 100%; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.muse-footer {
	background: var(--muse-white);
}
/* Soft grey footer on every page: inner pages usually end on a white section, and a white footer
   ran straight into it. A fine top rule separates the two. */
.muse-footer {
	--muse-footer-tagline: #5f6773; /* darker greys keep the text readable on the tint */
	--muse-footer-copy: #5f6773;
	background: var(--muse-soft);
	border-top: 1px solid var(--muse-line);
}
.muse-footer__inner {
	max-width: var(--muse-container); /* same box as the header */
	margin: 0 auto;
	padding: calc(clamp(64px, 6.25vw, 120px) + 32px) var(--muse-gutter) 32px;
}

.muse-footer__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: clamp(40px, 4.2vw, 80px);
	padding-bottom: 40px;
	border-bottom: 1px solid var(--muse-line);
}

.muse-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	flex: 1 1 0;
	max-width: 630px;
	min-width: 0;
}
.muse-footer__logo {
	display: block;
	width: 157px;
	height: 60px;
	padding: 2px 0;
	background: transparent; /* the footer is grey, so no white box behind the logo */
	border-radius: 4px;
}
.muse-footer__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.muse-footer__tagline {
	max-width: 303px;
	padding-top: 4px;
	color: var(--muse-footer-tagline);
	font-size: 16px;
	line-height: 23px;
}
.muse-footer__phone {
	font: 700 22px/34px var(--muse-font-head);
}
/* The child's legacy `footer a { color: #fff !important }` (old dark footer)
   would make these white-on-white, so these need !important at higher specificity. */
.muse-footer .muse-footer__phone { color: var(--muse-footer-heading) !important; }
.muse-footer .muse-footer__phone:hover { color: var(--muse-green-text) !important; }
.muse-footer__notice {
	margin-top: 18px;
	max-width: 560px;
	color: var(--muse-footer-text);
	font-size: 16px;
	line-height: 25.4px;
}

.muse-footer__cols {
	display: flex;
	flex-wrap: wrap;
	gap: 48px clamp(40px, 4.4vw, 84px);
	flex: 0 0 auto;
}
.muse-footer__col {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
}
.muse-footer__col:first-child { width: 294px; max-width: 100%; }
.muse-footer__col--states { width: 423px; max-width: 100%; gap: 57px; }

.muse-footer__heading {
	padding-bottom: 14px; /* a paragraph: the site rule forces margin-bottom 0, so the gap is padding */
	color: var(--muse-footer-heading);
	font: 700 16px/18px var(--muse-font-body);
	letter-spacing: 1.5px;
	text-transform: uppercase;
}
.muse-footer__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
/* Inner-page stylesheets give plain <ul>s a left padding; keep the footer lists flush with their headings. */
.muse-footer ul.muse-footer__list { margin: 0; padding: 0; list-style: none; }
.muse-footer ul.muse-footer__list > li { margin: 0; padding: 0; }
.muse-footer__list--grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px 14px;
}
.muse-footer__list a {
	display: block;
	font-size: 16px;
	line-height: 25.4px;
	transition: color 0.2s ease;
}
.muse-footer .muse-footer__list a { color: var(--muse-footer-text) !important; }
.muse-footer .muse-footer__list a:hover,
.muse-footer .muse-footer__list a:focus-visible { color: var(--muse-navy) !important; }
.muse-footer__badge {
	width: 259px;
	max-width: 100%;
	height: auto;
}

.muse-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding-top: 24px;
}
.muse-footer__copy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	color: var(--muse-footer-copy);
	font-size: 16px;
	line-height: 20.8px;
}
.muse-footer__legal { display: inline-flex; flex-wrap: wrap; }
.muse-footer__legal::before,
.muse-footer__legal a + a::before {
	content: "|";
	margin-inline: 10px;
	color: var(--muse-footer-copy);
}
.muse-footer__legal a {
	color: var(--muse-footer-copy);
	text-decoration: none;
	transition: color 0.2s ease;
}
.muse-footer__legal a:hover { color: var(--muse-navy); text-decoration: underline; text-underline-offset: 3px; }
.muse-footer__social {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.muse-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--muse-footer-heading);
	transition: color 0.2s ease, background-color 0.2s ease;
}
.muse-footer__social a:hover { color: var(--muse-white); background: var(--muse-green-bright); }
/* Beat the legacy `footer a { color: #fff !important }` (see above). */
.muse-footer .muse-footer__legal a { color: var(--muse-footer-copy) !important; }
.muse-footer .muse-footer__legal a:hover,
.muse-footer .muse-footer__legal a:focus-visible { color: var(--muse-navy) !important; }
.muse-footer .muse-footer__social a { color: var(--muse-footer-heading) !important; }
.muse-footer .muse-footer__social a:hover,
.muse-footer .muse-footer__social a:focus-visible { color: var(--muse-white) !important; background: var(--muse-green-bright); }

@media (max-width: 1199px) {
	.muse-footer__top { flex-direction: column; gap: 48px; }
	.muse-footer__brand { flex-basis: auto; max-width: 630px; }
	/* Services and States side by side instead of one long column. */
	.muse-footer__cols {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 48px 40px;
		width: 100%;
	}
	.muse-footer__col:first-child,
	.muse-footer__col--states { width: auto; }
}
@media (max-width: 1023px) {
	/* Touch targets: at least ~44 px tall. */
	.muse-footer__list { gap: 0; }
	.muse-footer__list--grid { gap: 0 14px; }
	.muse-footer__list a { padding-block: 9px; }
	.muse-footer .muse-footer__phone { display: inline-block; padding-block: 5px; }
}
@media (max-width: 639px) {
	.muse-footer__cols { grid-template-columns: minmax(0, 1fr); }
	.muse-footer__bottom { flex-direction: column; align-items: flex-start; }
	.muse-footer__col--states { gap: 32px; }
}

/* Phones: the legal links wrap under the copyright line, so they must not start with a separator. */
@media (max-width: 600px) {
	.muse-footer__legal::before { display: none; }
}
