/*
Theme Name: Crown Care Solutions
Theme URI: https://www.crowncaresolution.co.uk/
Author: Crown Care Solutions Ltd
Description: Website theme for Crown Care Solutions Ltd, Portsmouth: care staffing for nursing, care and residential homes, CQC-registered home care, and recruitment. Activating it adds the pages, photos and menus automatically. Contact details, homepage text and enquiry emails are under Appearance > Customise > Crown Care Solutions.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crowncare
*/

/* ==========================================================================
   Tokens
   Plum comes straight from the logo. Harbour mist echoes the carers' scrubs
   and the Solent; blush is a pale tint of the plum.
   ========================================================================== */

:root {
	--plum: #75364d;
	--plum-dark: #5e2a3d;
	--plum-deep: #3a1626;
	--ink: #2b2328;
	--muted: #5c5057;
	--mist: #e9f0f3;
	--mist-line: #cddbe2;
	--blush: #f5ecef;
	--line: #e3d6dc;
	--white: #ffffff;
	--sun: #f2c35b;
	--focus: #3a1626;

	--serif: "EB Garamond", Garamond, "Hoefler Text", "Times New Roman", serif;
	--sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--plate-radius: clamp(18px, 2.4vw, 30px);
	--radius: 14px;
	--radius-sm: 10px;

	--wrap: 1240px;
	--gutter: clamp(20px, 4vw, 44px);
	--band: clamp(64px, 8vw, 120px);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--plum);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--plum-deep);
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	border-radius: 4px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--serif);
	font-weight: 500;
	color: var(--plum-deep);
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.6rem, 1.7rem + 3.6vw, 4.6rem);
	line-height: 1.02;
}

h2 {
	font-size: clamp(2.05rem, 1.55rem + 1.9vw, 3.1rem);
}

h3 {
	font-size: clamp(1.45rem, 1.3rem + 0.6vw, 1.75rem);
	font-weight: 600;
}

h4 {
	font-size: 1.3rem;
	font-weight: 600;
}

p {
	margin: 0 0 1.1em;
}

.lead,
.is-style-lead {
	font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.375rem);
	line-height: 1.55;
	color: var(--ink);
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.nowrap {
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 100;
	background: var(--white);
	color: var(--plum-deep);
	padding: 12px 18px;
	border-radius: var(--radius-sm);
	font-weight: 600;
}

.skip-link:focus {
	top: 12px;
}

.site-main:focus {
	outline: none;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.ccs-icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 52px;
	padding: 0.75em 1.4em;
	border: 2px solid var(--plum);
	border-radius: var(--radius-sm);
	background: var(--plum);
	color: var(--white);
	font-family: var(--sans);
	font-size: 1.05rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover,
.wp-block-button__link:hover {
	background: var(--plum-deep);
	border-color: var(--plum-deep);
	color: var(--white);
	text-decoration: none;
}

.btn--outline,
.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--plum);
	border-color: var(--plum);
}

.btn--outline:hover,
.is-style-outline .wp-block-button__link:hover {
	background: var(--plum);
	color: var(--white);
}

.btn--light {
	background: var(--white);
	border-color: var(--white);
	color: var(--plum-deep);
}

.btn--light:hover {
	background: var(--blush);
	border-color: var(--blush);
	color: var(--plum-deep);
}

.btn--outline-light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--white);
}

.btn--outline-light:hover {
	background: var(--white);
	border-color: var(--white);
	color: var(--plum-deep);
}

.btn--large {
	min-height: 58px;
	padding-inline: 1.8em;
	font-size: 1.125rem;
}

.actions,
.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 1.75rem 0 0;
}

/* ==========================================================================
   Top bar and header
   ========================================================================== */

.topbar {
	background: var(--plum-deep);
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.95rem;
	--focus: var(--sun);
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 44px;
}

.topbar__note {
	margin: 0;
}

.topbar__links {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topbar a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--white);
	text-decoration: none;
	font-weight: 600;
}

.topbar a:hover {
	text-decoration: underline;
	color: var(--white);
}

.topbar .ccs-icon {
	width: 18px;
	height: 18px;
	opacity: 0.8;
}

.site-header {
	position: relative;
	z-index: 20;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 92px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: var(--plum);
	flex: none;
}

.brand:hover {
	color: var(--plum);
}

.brand__mark {
	width: auto;
	height: 60px;
}

.brand__name {
	font-family: var(--serif);
	font-weight: 600;
	font-size: 1.6rem;
	line-height: 1;
	letter-spacing: 0.005em;
}

.nav-toggle {
	display: none;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.site-nav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav .menu > li {
	position: relative;
	display: flex;
	align-items: center;
}

.site-nav .menu > li > a {
	display: block;
	padding: 10px 10px;
	color: var(--ink);
	font-weight: 600;
	font-size: 1.02rem;
	text-decoration: none;
	border-radius: 8px;
}

.site-nav .menu > li > a:hover,
.site-nav .menu > .current-menu-item > a,
.site-nav .menu > .current-menu-ancestor > a,
.site-nav .menu > .current-page-ancestor > a {
	color: var(--plum);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.4em;
}

.submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 36px;
	margin-left: -6px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--plum);
	cursor: pointer;
	border-radius: 6px;
}

.submenu-toggle .ccs-icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s ease;
}

.submenu-toggle[aria-expanded="true"] .ccs-icon {
	transform: rotate(180deg);
}

.site-nav .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 270px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 18px 40px -18px rgba(58, 22, 38, 0.35);
	display: none;
}

.site-nav .sub-menu.is-open {
	display: block;
}

.site-nav .sub-menu a {
	display: block;
	padding: 10px 14px;
	color: var(--ink);
	text-decoration: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 500;
}

.site-nav .sub-menu a:hover,
.site-nav .sub-menu .current-menu-item > a {
	background: var(--blush);
	color: var(--plum-deep);
}

.site-nav__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.site-nav__call {
	display: none;
}

@media (min-width: 1121px) {
	.site-nav .menu > li:hover > .sub-menu,
	.site-nav .menu > li:focus-within > .sub-menu {
		display: block;
	}

	.site-nav .menu > li > .sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -12px;
		height: 12px;
	}
}

@media (max-width: 1120px) {
	.site-header__inner {
		min-height: 76px;
	}

	.brand__mark {
		height: 48px;
	}

	.brand__name {
		font-size: 1.35rem;
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 48px;
		padding: 0 16px;
		border: 2px solid var(--plum);
		border-radius: var(--radius-sm);
		background: var(--white);
		color: var(--plum);
		font: 650 1rem/1 var(--sans);
		cursor: pointer;
	}

	.nav-toggle__open {
		display: inline-flex;
	}

	.nav-toggle__close,
	.nav-toggle[aria-expanded="true"] .nav-toggle__open {
		display: none;
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle__close {
		display: inline-flex;
	}

	.site-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px -24px rgba(58, 22, 38, 0.4);
		padding: 8px var(--gutter) 24px;
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.site-nav .menu > li {
		flex-wrap: wrap;
		border-bottom: 1px solid var(--line);
	}

	.site-nav .menu > li > a {
		flex: 1;
		padding: 16px 0;
		font-size: 1.15rem;
	}

	.submenu-toggle {
		width: 52px;
		height: 52px;
	}

	.site-nav .sub-menu {
		position: static;
		flex-basis: 100%;
		min-width: 0;
		padding: 0 0 12px 12px;
		border: 0;
		box-shadow: none;
	}

	.site-nav__actions {
		flex-direction: column;
		align-items: stretch;
		margin-top: 20px;
	}

	.site-nav__call {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		min-height: 52px;
		font-weight: 650;
		font-size: 1.1rem;
		text-decoration: none;
	}
}

@media (max-width: 720px) {
	.topbar__note,
	.topbar__links li:last-child {
		display: none;
	}

	.topbar__inner {
		justify-content: center;
	}
}

@media (max-width: 420px) {
	.brand__name {
		font-size: 1.15rem;
	}

	.brand__mark {
		height: 42px;
	}

	.nav-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
	}

	.nav-toggle {
		padding: 0 12px;
	}
}

/* ==========================================================================
   The plate: the logo's rounded plum panel, used for the headline areas
   ========================================================================== */

.plate {
	background: var(--plum);
	color: var(--white);
	border-radius: var(--plate-radius);
	--focus: var(--sun);
}

.plate h1,
.plate h2,
.plate h3 {
	color: var(--white);
}

.plate a:not(.btn) {
	color: var(--white);
}

/* ==========================================================================
   Homepage hero
   ========================================================================== */

.hero {
	padding: clamp(20px, 3vw, 40px) 0 0;
	background: linear-gradient(to bottom, var(--white) 0 70%, var(--mist) 70% 100%);
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	align-items: stretch;
}

.hero__plate {
	position: relative;
	z-index: 2;
	padding: clamp(32px, 4.5vw, 64px);
	margin-right: -72px;
	margin-block: clamp(24px, 3vw, 48px);
}

.hero__title {
	max-width: 13ch;
	margin-bottom: 0.4em;
}

.hero__text {
	max-width: 46ch;
	font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.3rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
	margin-bottom: 2rem;
}

.routes__label {
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 650;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.8);
	margin: 0 0 6px;
}

.routes {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.routes li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.routes a {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "title icon" "text icon";
	column-gap: 16px;
	align-items: center;
	padding: 16px 8px 16px 0;
	text-decoration: none;
	transition: padding 0.2s ease, background-color 0.2s ease;
	border-radius: 8px;
}

.routes a:hover {
	padding-left: 12px;
	background: rgba(255, 255, 255, 0.07);
	color: var(--white);
}

.routes__title {
	grid-area: title;
	font-family: var(--serif);
	font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem);
	font-weight: 500;
	line-height: 1.15;
}

.routes__text {
	grid-area: text;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.78);
}

.routes .ccs-icon {
	grid-area: icon;
	width: 28px;
	height: 28px;
	transform: rotate(-90deg);
	opacity: 0.8;
}

.hero__photo {
	position: relative;
	margin: 0;
	border-radius: var(--plate-radius);
	overflow: hidden;
	min-height: 440px;
}

.hero__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 32% 50%;
}

@media (max-width: 900px) {
	.hero {
		background: var(--white);
	}

	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__photo {
		order: -1;
		min-height: 0;
		aspect-ratio: 3 / 2;
	}

	.hero__plate {
		margin: -48px 12px 0;
	}
}

/* Assurance strip under the hero */

.assurances {
	background: var(--mist);
	padding: clamp(28px, 3vw, 40px) 0 0;
}

.assurances__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0 auto;
	list-style: none;
}

.assurances li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 600;
	color: var(--plum-deep);
	line-height: 1.35;
}

.assurances .ccs-icon {
	width: 44px;
	height: 44px;
	padding: 10px;
	border-radius: 50%;
	background: var(--white);
	color: var(--plum);
}

@media (max-width: 760px) {
	.assurances__list {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

/* ==========================================================================
   Homepage bands
   ========================================================================== */

.band {
	padding: var(--band) 0;
}

.band--mist {
	background: var(--mist);
}

.band--blush {
	background: var(--blush);
}

.band--deep {
	background: var(--plum-deep);
	color: rgba(255, 255, 255, 0.9);
	--focus: var(--sun);
}

.band--deep h2,
.band--deep h3 {
	color: var(--white);
}

.band--deep .lead {
	color: rgba(255, 255, 255, 0.92);
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(36px, 6vw, 96px);
	align-items: center;
}

.split--reverse {
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: start;
}

.split--reverse .split__media {
	position: sticky;
	top: 32px;
}

.split__text > h2 {
	max-width: 17ch;
}

.split__text .lead {
	max-width: 58ch;
}

.split__media {
	position: relative;
}

.photo {
	margin: 0;
	border-radius: var(--plate-radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.photo--tall {
	aspect-ratio: 4 / 5;
}

.plate--small {
	padding: 20px 24px;
	border-radius: var(--radius);
}

.urgent {
	position: absolute;
	left: clamp(-36px, -3vw, -16px);
	bottom: -28px;
	box-shadow: 0 20px 40px -20px rgba(58, 22, 38, 0.6);
}

.urgent__title {
	margin: 0 0 2px;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.85);
}

.urgent__phone {
	font-family: var(--serif);
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
}

.urgent__phone:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.roles {
	margin: 1.75rem 0 0;
	border-top: 1px solid var(--mist-line);
}

.roles > div {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 4px 24px;
	padding: 14px 0;
	border-bottom: 1px solid var(--mist-line);
}

.roles dt {
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--plum-deep);
	line-height: 1.25;
}

.roles dd {
	margin: 0;
	color: var(--muted);
	font-size: 1.02rem;
	line-height: 1.5;
}

/* How booking works: a genuine sequence, so it is numbered. */

.booking {
	margin-top: clamp(64px, 7vw, 104px);
}

.booking__title {
	margin-bottom: 1.25rem;
}

.steps-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
	border-top: 2px solid var(--plum);
}

.steps-row li {
	counter-increment: step;
	position: relative;
	padding: 26px 28px 0 0;
}

.steps-row li::before {
	content: counter(step);
	position: absolute;
	top: -19px;
	left: 0;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--plum);
	color: var(--white);
	font-family: var(--serif);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1;
}

.steps-row strong {
	display: block;
	margin: 8px 0 4px;
	font-family: var(--serif);
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--plum-deep);
	line-height: 1.2;
}

.steps-row span {
	display: block;
	color: var(--muted);
	font-size: 1.02rem;
	line-height: 1.5;
}

@media (max-width: 900px) {
	.split,
	.split--reverse {
		grid-template-columns: 1fr;
	}

	.split--reverse .split__media {
		order: -1;
	}

	.photo--tall {
		aspect-ratio: 4 / 3;
	}

	.urgent {
		position: relative;
		left: auto;
		bottom: auto;
		margin: -40px 16px 0;
		display: inline-block;
	}

	.steps-row {
		grid-template-columns: 1fr;
		border-top: 0;
		border-left: 2px solid var(--plum);
		margin-left: 18px;
	}

	.steps-row li {
		padding: 0 0 28px 34px;
	}

	.steps-row li::before {
		top: 0;
		left: -19px;
	}

	.steps-row strong {
		margin-top: 2px;
	}
}

/* Home care service list (also used on the Home care page) */

.service-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 32px;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.service-list li {
	border-top: 1px solid var(--line);
}

.service-list a {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: "icon title" "icon text";
	column-gap: 16px;
	padding: 18px 4px 20px 0;
	text-decoration: none;
	color: var(--ink);
	height: 100%;
}

.service-list__icon {
	grid-area: icon;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--blush);
	color: var(--plum);
}

.service-list__icon .ccs-icon {
	width: 26px;
	height: 26px;
}

.service-list__title {
	grid-area: title;
	font-family: var(--serif);
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--plum-deep);
	line-height: 1.2;
	align-self: start;
	margin-top: 9px;
}

.service-list__text {
	grid-area: text;
	margin-top: 4px;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--muted);
}

.service-list a:hover .service-list__title {
	color: var(--plum);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}

.service-list a:hover .service-list__icon {
	background: var(--plum);
	color: var(--white);
}

@media (max-width: 640px) {
	.service-list {
		grid-template-columns: 1fr;
	}
}

/* Checks */

.checks {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}

.checks__intro h2 {
	max-width: 15ch;
}

.checklist,
.entry .is-style-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 32px;
}

.checklist li,
.entry .is-style-checklist li {
	position: relative;
	padding: 16px 0 16px 46px;
	border-top: 1px solid var(--line);
	font-weight: 600;
	color: var(--plum-deep);
	line-height: 1.4;
}

.entry .is-style-checklist li {
	font-weight: 500;
	color: var(--ink);
	padding-block: 12px;
}

.checklist li::before,
.entry .is-style-checklist li::before,
.tick-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--plum) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.entry .is-style-checklist li::before {
	top: 11px;
}

.checks__more {
	grid-column: 2;
	margin: 1rem 0 0;
	font-weight: 650;
}

.cqc-link {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin-top: 1.5rem;
	padding: 18px 20px;
	background: var(--white);
	border-radius: var(--radius);
	line-height: 1.5;
}

.cqc-link .ccs-icon {
	width: 32px;
	height: 32px;
	color: var(--plum);
}

.cqc-link a {
	font-weight: 650;
}

@media (max-width: 900px) {
	.checks {
		grid-template-columns: 1fr;
	}

	.checks__more {
		grid-column: 1;
	}
}

@media (max-width: 600px) {
	.checklist {
		grid-template-columns: 1fr;
	}
}

/* Testimonials */

.quotes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(24px, 3vw, 48px);
	margin-top: 2rem;
}

.quote {
	margin: 0;
	padding-top: 24px;
	border-top: 3px solid var(--plum);
}

.quote blockquote {
	margin: 0 0 1rem;
	font-family: var(--serif);
	font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem);
	line-height: 1.35;
	color: var(--plum-deep);
}

.quote blockquote p {
	margin: 0 0 0.6em;
}

.quote figcaption {
	color: var(--muted);
	font-weight: 600;
	font-size: 1rem;
}

/* Careers band */

.careers-band .photo {
	aspect-ratio: 5 / 4;
}

.careers-band .photo img {
	object-position: 70% 30%;
}

.tick-list {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.tick-list li {
	position: relative;
	padding: 10px 0 10px 46px;
	color: var(--white);
	font-weight: 600;
}

.tick-list li::before {
	top: 7px;
	background-color: rgba(255, 255, 255, 0.16);
}

/* Areas and contact */

.where {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}

.area-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 1.25rem 0;
	padding: 0;
	list-style: none;
}

.area-list li {
	padding: 8px 16px;
	border: 1px solid var(--mist-line);
	background: var(--mist);
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	color: var(--plum-deep);
}

.where__note {
	color: var(--muted);
}

.where__contact {
	padding: clamp(28px, 3.5vw, 44px);
}

.where__contact .btn {
	margin-top: 1.5rem;
}

@media (max-width: 900px) {
	.where {
		grid-template-columns: 1fr;
	}
}

/* Contact details list (homepage plate, contact page) */

.contact-list {
	margin: 0;
	display: grid;
	gap: 18px;
}

.contact-list dt {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
	font-weight: 650;
	opacity: 0.85;
}

.contact-list dt .ccs-icon {
	width: 18px;
	height: 18px;
}

.contact-list dd {
	margin: 2px 0 0 26px;
	line-height: 1.5;
}

.contact-list__big {
	font-family: var(--serif);
	font-size: clamp(1.75rem, 1.4rem + 1vw, 2.3rem);
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
}

.contact-list__big:hover {
	text-decoration: underline;
}

.entry .contact-list {
	padding: clamp(24px, 3vw, 36px);
	background: var(--mist);
	border-radius: var(--plate-radius);
	margin-bottom: 2.5rem;
}

.entry .contact-list dt {
	color: var(--plum-deep);
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

.page-hero {
	padding: 24px 0 0;
	background: linear-gradient(to bottom, var(--white) 0 60%, var(--mist) 60% 100%);
}

.page-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
}

.page-hero--photo .page-hero__grid {
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	align-items: stretch;
}

.page-hero__plate {
	position: relative;
	z-index: 2;
	padding: clamp(28px, 4vw, 56px);
	align-self: center;
}

.page-hero--photo .page-hero__plate {
	margin: clamp(20px, 3vw, 40px) -64px clamp(20px, 3vw, 40px) 0;
}

.page-hero__title {
	font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.8rem);
	max-width: 18ch;
	margin-bottom: 0;
}

.page-hero__summary {
	max-width: 52ch;
	margin: 1rem 0 0;
	font-size: clamp(1.1rem, 1.02rem + 0.3vw, 1.25rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.page-hero__photo {
	position: relative;
	margin: 0;
	border-radius: var(--plate-radius);
	overflow: hidden;
	min-height: 320px;
}

.page-hero__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	font-size: 0.95rem;
}

.breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin: 0 10px;
	color: var(--muted);
}

.breadcrumbs a {
	color: var(--muted);
}

@media (max-width: 900px) {
	.page-hero {
		background: var(--white);
	}

	.page-hero--photo .page-hero__grid {
		grid-template-columns: 1fr;
	}

	.page-hero__photo {
		order: -1;
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.page-hero--photo .page-hero__plate {
		margin: -40px 12px 0;
	}
}

.page-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(40px, 6vw, 96px);
	padding-top: clamp(48px, 6vw, 88px);
	padding-bottom: var(--band);
	align-items: start;
}

.page-body--single {
	grid-template-columns: minmax(0, 820px);
	justify-content: center;
}

.page-aside {
	position: sticky;
	top: 24px;
	display: grid;
	gap: 24px;
}

@media (max-width: 960px) {
	.page-body {
		grid-template-columns: 1fr;
	}

	.page-aside {
		position: static;
	}
}

.section-nav {
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.section-nav__title {
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--muted);
	margin: 0 0 8px;
}

.section-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.section-nav a {
	display: block;
	padding: 9px 0 9px 14px;
	border-left: 3px solid transparent;
	text-decoration: none;
	color: var(--ink);
	line-height: 1.35;
}

.section-nav a:hover {
	color: var(--plum);
	border-left-color: var(--line);
}

.section-nav a[aria-current="page"] {
	border-left-color: var(--plum);
	color: var(--plum-deep);
	font-weight: 700;
}

.talk-card {
	padding: 26px 26px 28px;
	background: var(--plum-deep);
	color: rgba(255, 255, 255, 0.88);
	border-radius: var(--radius);
	--focus: var(--sun);
}

.talk-card__title {
	font-size: 1.75rem;
	color: var(--white);
	margin-bottom: 0.35em;
}

.talk-card p {
	font-size: 1rem;
	line-height: 1.5;
}

.talk-card__phone {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--serif);
	font-size: 1.9rem;
	line-height: 1.1;
	color: var(--white);
	text-decoration: none;
	white-space: nowrap;
}

.talk-card__phone .ccs-icon {
	width: 24px;
	height: 24px;
	opacity: 0.8;
}

.talk-card__email {
	display: block;
	margin-top: 10px;
	color: var(--white);
	font-weight: 600;
	font-size: 1rem;
	word-break: break-all;
}

.talk-card__phone:hover,
.talk-card__email:hover {
	color: var(--white);
	text-decoration: underline;
}

.talk-card__hours {
	margin: 14px 0 0;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Page content (block editor output)
   ========================================================================== */

.entry {
	max-width: 70ch;
}

.entry--home {
	max-width: 70ch;
}

.entry > *:first-child {
	margin-top: 0;
}

.entry h2 {
	margin-top: 2.2em;
	font-size: clamp(1.9rem, 1.55rem + 1.2vw, 2.5rem);
}

.entry h3 {
	margin-top: 1.8em;
}

.entry ul,
.entry ol {
	padding-left: 1.3em;
	margin: 0 0 1.4em;
}

.entry li {
	margin-bottom: 0.45em;
}

.entry ul:not([class*="is-style"]):not(.area-list):not(.service-list):not(.post-list) li::marker {
	color: var(--plum);
}

/* Numbered steps in page content */

.entry .is-style-steps {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 2rem;
	counter-reset: step;
}

.entry .is-style-steps li {
	counter-increment: step;
	position: relative;
	padding: 0 0 26px 62px;
	margin: 0;
}

.entry .is-style-steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: -2px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--plum);
	color: var(--white);
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1;
	z-index: 1;
}

.entry .is-style-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 19px;
	top: 38px;
	bottom: 0;
	width: 2px;
	background: var(--line);
}

.entry .is-style-steps strong {
	display: block;
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--plum-deep);
	line-height: 1.3;
}

.entry .is-style-checklist {
	margin: 1rem 0 1.5rem;
}

.entry .wp-block-image {
	margin: 2.5rem 0;
}

.entry .wp-block-image img {
	border-radius: var(--plate-radius);
	width: 100%;
}

.entry .wp-block-image figcaption {
	color: var(--muted);
	font-size: 0.95rem;
	margin-top: 10px;
}

.is-style-callout {
	margin: 2.5rem 0;
	padding: clamp(24px, 3vw, 36px);
	background: var(--plum);
	color: rgba(255, 255, 255, 0.92);
	border-radius: var(--plate-radius);
	--focus: var(--sun);
}

.is-style-callout > *:first-child {
	margin-top: 0;
}

.is-style-callout > *:last-child {
	margin-bottom: 0;
}

.is-style-callout h2,
.is-style-callout h3 {
	color: var(--white);
	margin-top: 0;
}

.is-style-callout a {
	color: var(--white);
	font-weight: 650;
}

.entry blockquote {
	margin: 2rem 0;
	padding-left: 24px;
	border-left: 3px solid var(--plum);
	font-family: var(--serif);
	font-size: 1.45rem;
	line-height: 1.4;
	color: var(--plum-deep);
}

.entry table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}

.entry th,
.entry td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

/* FAQs (details blocks) */

.wp-block-details {
	border-top: 1px solid var(--line);
	margin: 0;
}

.wp-block-details:last-of-type {
	border-bottom: 1px solid var(--line);
}

.entry h2 + .wp-block-details {
	margin-top: 0.75rem;
}

.wp-block-details summary {
	position: relative;
	padding: 18px 44px 18px 0;
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--plum-deep);
	line-height: 1.3;
	cursor: pointer;
	list-style: none;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 12px;
	height: 12px;
	margin-top: -9px;
	border-right: 2px solid var(--plum);
	border-bottom: 2px solid var(--plum);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.wp-block-details[open] summary::after {
	transform: rotate(-135deg);
	margin-top: -3px;
}

.wp-block-details summary:hover {
	color: var(--plum);
}

.wp-block-details > p {
	padding-right: 44px;
}

/* News list */

.post-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.post-list__item {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 24px;
	padding: 28px 0;
	border-top: 1px solid var(--line);
}

.post-list__item:not(:has(.post-list__photo)) {
	grid-template-columns: 1fr;
}

.post-list__photo img {
	border-radius: var(--radius);
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.post-list__date {
	margin: 0 0 4px;
	color: var(--muted);
	font-size: 0.95rem;
}

.post-list__title {
	font-size: 1.75rem;
	margin: 0 0 0.4em;
}

.post-list__title a {
	text-decoration: none;
	color: var(--plum-deep);
}

.post-list__title a:hover {
	text-decoration: underline;
}

@media (max-width: 600px) {
	.post-list__item {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Forms
   ========================================================================== */

.ccs-form {
	margin: 2rem 0;
	padding: clamp(24px, 3.5vw, 44px);
	background: var(--mist);
	border-radius: var(--plate-radius);
}

.form-note {
	margin: 0 0 1.5rem;
	color: var(--muted);
	font-size: 1rem;
}

.field {
	margin: 0 0 26px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.field > label,
.field legend {
	display: block;
	margin-bottom: 6px;
	padding: 0;
	font-weight: 650;
	color: var(--plum-deep);
	font-size: 1.08rem;
	line-height: 1.35;
}

.optional {
	font-weight: 400;
	color: var(--muted);
}

.field__hint {
	margin: -2px 0 8px;
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.45;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea,
.field select {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 2px solid #8f7f88;
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 1.08rem;
	line-height: 1.4;
}

.field textarea {
	min-height: 120px;
	resize: vertical;
}

.field select {
	appearance: none;
	padding-right: 44px;
	background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375364D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 12px center / 22px no-repeat;
}

.field--short input {
	max-width: 14ch;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
	outline: 3px solid var(--plum);
	outline-offset: 0;
	border-color: var(--plum-deep);
}

.field input[type="file"] {
	font: inherit;
	font-size: 1rem;
	max-width: 100%;
}

.choices {
	display: grid;
	gap: 8px;
}

.field--checkboxes .choices,
.field--radio .choices {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.choice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	background: var(--white);
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	cursor: pointer;
	line-height: 1.4;
}

.choice:hover {
	border-color: var(--mist-line);
}

.choice:has(input:checked) {
	border-color: var(--plum);
}

.choice input {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--plum);
}

.field--consent .choice {
	background: transparent;
	padding: 0;
	border: 0;
}

.has-error > label,
.has-error legend {
	color: #a4161a;
}

.has-error input,
.has-error textarea,
.has-error select {
	border-color: #a4161a;
}

.has-error {
	padding-left: 16px;
	border-left: 4px solid #a4161a;
}

.field__error {
	margin: 0 0 8px;
	color: #a4161a;
	font-weight: 650;
	font-size: 1rem;
}

.error-summary {
	margin: 0 0 28px;
	padding: 20px 24px;
	background: var(--white);
	border: 3px solid #a4161a;
	border-radius: var(--radius-sm);
}

.error-summary h2 {
	font-family: var(--sans);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0;
	color: #a4161a;
	margin: 0 0 8px;
}

.error-summary ul {
	margin: 0;
	padding-left: 1.2em;
}

.error-summary a {
	color: #a4161a;
	font-weight: 600;
}

.hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-done {
	display: flex;
	gap: 18px;
	margin: 2rem 0;
	padding: clamp(24px, 3.5vw, 40px);
	background: var(--plum);
	color: var(--white);
	border-radius: var(--plate-radius);
	--focus: var(--sun);
}

.form-done .ccs-icon {
	width: 44px;
	height: 44px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.16);
	border-radius: 50%;
}

.form-done h2 {
	color: var(--white);
	margin: 0 0 0.3em;
}

.form-done a {
	color: var(--white);
	font-weight: 650;
}

.form-done p:last-child {
	margin-bottom: 0;
}

.form-done__ref {
	font-weight: 650;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: var(--plum-deep);
	color: rgba(255, 255, 255, 0.82);
	font-size: 1rem;
	--focus: var(--sun);
}

.site-footer a {
	color: var(--white);
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
	color: var(--white);
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(40px, 6vw, 96px);
	padding-top: clamp(56px, 6vw, 88px);
	padding-bottom: clamp(48px, 5vw, 72px);
}

.brand--white {
	color: var(--white);
	margin-bottom: 20px;
}

.brand--white:hover {
	color: var(--white);
	text-decoration: none !important;
}

.site-footer__about > p {
	max-width: 36ch;
	line-height: 1.55;
}

.footer-contact {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.footer-contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.45;
}

.footer-contact .ccs-icon {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	opacity: 0.7;
}

.social {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
}

.site-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 32px;
}

.footer-col__title {
	color: var(--white);
	font-family: var(--serif);
	font-size: 1.4rem;
	font-weight: 600;
	margin: 0 0 12px;
}

.footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col li {
	margin-bottom: 8px;
	line-height: 1.4;
}

.footer-col li a {
	color: rgba(255, 255, 255, 0.82);
}

.footer-col li a:hover {
	color: var(--white);
}

.site-footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
}

.site-footer__legal-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding-top: 22px;
	padding-bottom: 26px;
}

.site-footer__legal p {
	margin: 0;
	max-width: 80ch;
}

.legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 900px) {
	.site-footer__top {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Motion preferences and print
   ========================================================================== */

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

@media print {
	.topbar,
	.site-nav,
	.nav-toggle,
	.page-aside,
	.site-footer__cols,
	.hero__photo,
	.page-hero__photo {
		display: none !important;
	}

	.plate,
	.band--deep,
	.site-footer {
		background: none !important;
		color: #000 !important;
	}

	.plate h1,
	.plate h2 {
		color: #000 !important;
	}
}

/* WordPress core classes */

.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
}

.wp-caption-text {
	color: var(--muted);
	font-size: 0.95rem;
}

.nav-links {
	display: flex;
	gap: 12px;
	margin-top: 2rem;
}

.page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--plum);
	color: var(--white);
	border-color: var(--plum);
}
