/*
 * Base layer: loaded on every page.
 * Tokens, fonts, reset, typography, layout utilities, buttons, header and footer.
 * Section and template styles load separately (assets/css/components, assets/css/templates).
 *
 * Visual direction follows the current company site: brand red, amber accent on dark,
 * near-black header and footer, Poppins headings, Roboto body.
 */

/* ==========================================================================
   Font fallbacks: metric-matched local fonts keep layout stable while web fonts load
   ========================================================================== */

@font-face {
	font-family: "Poppins Fallback";
	src: local("Arial");
	ascent-override: 92.83%;
	descent-override: 30.94%;
	line-gap-override: 8.84%;
	size-adjust: 113.13%;
}

@font-face {
	font-family: "Roboto Fallback";
	src: local("Arial");
	ascent-override: 92.77%;
	descent-override: 24.41%;
	line-gap-override: 0%;
	size-adjust: 100.3%;
}

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	/* Palette (values come from theme.json presets) */
	--color-brand: var(--wp--preset--color--brand, #c53030);
	--color-brand-dark: var(--wp--preset--color--brand-dark, #9b2c2c);
	--color-accent: var(--wp--preset--color--accent, #f5a623);
	--color-ink: var(--wp--preset--color--ink, #111);
	--color-ink-soft: var(--wp--preset--color--ink-soft, #1a1a1a);
	--color-slate: var(--wp--preset--color--slate, #4a4e57);
	--color-gray-200: var(--wp--preset--color--gray-200, #e5e5e5);
	--color-gray-100: var(--wp--preset--color--gray-100, #f7f7f7);
	--color-white: var(--wp--preset--color--white, #fff);

	/* Roles: re-scoped inside dark surfaces (see .surface-dark) */
	--color-text: var(--color-ink);
	--color-text-muted: var(--color-slate);
	--color-heading: var(--color-ink);
	--color-link: var(--color-brand);
	--color-surface: var(--color-white);
	--color-border: var(--color-gray-200);
	--color-focus: #1d4ed8;

	/* Typography */
	--font-body: var(--wp--preset--font-family--body, Roboto, Arial, sans-serif);
	--font-heading: var(--wp--preset--font-family--heading, Poppins, Arial, sans-serif);
	--text-sm: var(--wp--preset--font-size--small, 0.875rem);
	--text-base: var(--wp--preset--font-size--base, 1.125rem);
	--text-lg: var(--wp--preset--font-size--large, 1.25rem);
	--text-xl: var(--wp--preset--font-size--x-large, 1.5rem);
	--text-2xl: var(--wp--preset--font-size--xx-large, 2.25rem);
	--text-3xl: var(--wp--preset--font-size--xxx-large, 3.125rem);
	--text-xs: 0.75rem;
	--line-height-body: 1.5;
	--line-height-heading: 1.15;
	--weight-semibold: 600;
	--weight-heavy: 800;
	--tracking-tight: -0.02em;
	--tracking-wide: 0.08em;

	/* Spacing */
	--space-2xs: 0.25rem;
	--space-xs: 0.5rem;
	--space-s: 1rem;
	--space-m: 1.5rem;
	--space-l: 2.5rem;
	--space-xl: 4rem;
	--space-section: clamp(3rem, 8vw, 5.5rem);

	/* Layout */
	--container-max: 76rem;
	--content-max: 46rem;
	--gutter: clamp(1rem, 4vw, 2rem);
	--header-height: 5rem;

	/* Shape */
	--border-width: 1px;
	--radius-s: 6px;
	--radius-m: 12px;
	--radius-pill: 999px;
	--shadow-s: 0 1px 3px rgb(0 0 0 / 0.08);
	--shadow-m: 0 8px 24px rgb(0 0 0 / 0.12);

	/* Motion */
	--transition: 150ms ease;

	/*
	 * Breakpoints (reference only; custom properties cannot be used in media queries):
	 * small 30em (480px), tablet 48em (768px), nav 75em (1200px).
	 */
}

/* Dark surfaces: header, footer, hero, dark sections */
.surface-dark {
	--color-text: rgb(255 255 255 / 0.82);
	--color-text-muted: rgb(255 255 255 / 0.62);
	--color-heading: var(--color-white);
	--color-link: var(--color-white);
	--color-surface: var(--color-ink);
	--color-border: rgb(255 255 255 / 0.14);
	--color-focus: var(--color-accent);

	color: var(--color-text);
	background-color: var(--color-surface);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: var(--line-height-body);
	color: var(--color-text);
	background: var(--color-white);
	-webkit-font-smoothing: antialiased;
}

img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

input,
button,
select,
textarea {
	font: inherit;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 var(--space-s);
	font-family: var(--font-heading);
	font-weight: var(--weight-heavy);
	line-height: var(--line-height-heading);
	letter-spacing: var(--tracking-tight);
	color: var(--color-heading);
	text-wrap: balance;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5,
h6 { font-size: var(--text-base); }

p,
ul,
ol,
dl,
blockquote,
figure,
table {
	margin: 0 0 var(--space-s);
}

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

a:hover {
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 3px;
}

strong,
b {
	font-weight: 700;
}

small {
	font-size: var(--text-sm);
}

.lead {
	font-size: var(--text-lg);
	color: var(--color-text);
}

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

/* Highlighted headline words: amber on dark, brand red on light */
.text-highlight {
	color: var(--color-brand);
}

.surface-dark .text-highlight {
	color: var(--color-accent);
}

/* Small uppercase label above headings */
.eyebrow {
	display: inline-block;
	margin-bottom: var(--space-s);
	font-family: var(--font-heading);
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-brand);
}

.surface-dark .eyebrow {
	color: var(--color-accent);
}

.eyebrow--pill {
	padding: var(--space-2xs) var(--space-s);
	border: var(--border-width) solid currentcolor;
	border-radius: var(--radius-pill);
	background: rgb(197 48 48 / 0.06);
}

.surface-dark .eyebrow--pill {
	background: rgb(245 166 35 / 0.1);
}

/* List with check marks */
.check-list {
	padding: 0;
	list-style: none;
}

.check-list li {
	position: relative;
	padding-left: 1.75em;
	margin-bottom: var(--space-xs);
}

.check-list li::before {
	content: "";
	position: absolute;
	top: 0.3em;
	left: 0.25em;
	width: 0.45em;
	height: 0.8em;
	border: solid var(--color-brand);
	border-width: 0 0.18em 0.18em 0;
	transform: rotate(45deg);
}

.surface-dark .check-list li::before {
	border-color: var(--color-accent);
}

/* ==========================================================================
   Layout utilities
   ========================================================================== */

.container {
	width: min(100% - 2 * var(--gutter), var(--container-max));
	margin-inline: auto;
}

.container--narrow {
	width: min(100% - 2 * var(--gutter), var(--content-max));
}

.content {
	max-width: var(--content-max);
}

.section {
	padding-block: var(--space-section);
}

.section--alt {
	background: var(--color-gray-100);
}

.section--muted {
	--color-link: var(--color-brand-dark);

	background: var(--color-gray-200);
}

/* Brand red is 4.3:1 on light gray; the darker red passes AA */
.section--muted .eyebrow {
	color: var(--color-brand-dark);
}

.section--brand {
	--color-text: var(--color-white);
	--color-heading: var(--color-white);
	--color-link: var(--color-white);
	--color-focus: var(--color-white);

	color: var(--color-text);
	background: var(--color-brand);
}

.section__header {
	max-width: var(--content-max);
	margin-bottom: var(--space-l);
}

.section__header--center {
	max-width: none;
	margin-inline: auto;
	text-align: center;
}

/* A centered heading spans the section; its intro keeps a readable width */
.section__header--center > p:not(.eyebrow) {
	max-width: var(--content-max);
	margin-inline: auto;
}

/* Vertical rhythm for stacked children */
.stack > * + * {
	margin-top: var(--space-s);
}

.stack > * {
	margin-bottom: 0;
}

/* Inline group that wraps */
.cluster {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-s);
}

/*
 * Responsive grid: never more than --grid-cols columns, never narrower than
 * --grid-min, so columns drop automatically on small screens. Partial rows
 * keep the same card width instead of stretching.
 */
.grid {
	--grid-cols: 3;
	--grid-min: 16rem;
	--grid-gap: var(--space-m);

	display: grid;
	grid-template-columns: repeat(
		auto-fill,
		minmax(min(100%, max(var(--grid-min), (100% - (var(--grid-cols) - 1) * var(--grid-gap)) / var(--grid-cols))), 1fr)
	);
	gap: var(--grid-gap);
}

.grid--2 { --grid-cols: 2; --grid-min: 20rem; }
.grid--3 { --grid-cols: 3; --grid-min: 17rem; }
.grid--4 { --grid-cols: 4; --grid-min: 13rem; }

.card {
	padding: var(--space-m);
	background: var(--color-white);
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius-m);
	box-shadow: var(--shadow-s);
}

.surface-dark .card {
	background: var(--color-ink-soft);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: var(--space-s);
	z-index: 1000;
	padding: var(--space-xs) var(--space-s);
	font-weight: 700;
	color: var(--color-white);
	background: var(--color-brand);
	border-radius: var(--radius-s);
}

.skip-link:focus {
	top: var(--space-s);
}

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

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

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-xs);
	min-height: 48px;
	padding: 0.75rem 1.5rem;
	font-family: var(--font-heading);
	font-size: 0.875rem;
	font-weight: var(--weight-semibold);
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--color-white);
	background: var(--color-brand);
	border: 2px solid var(--color-brand);
	border-radius: var(--radius-s);
	cursor: pointer;
	transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.button:hover {
	color: var(--color-white);
	background: var(--color-brand-dark);
	border-color: var(--color-brand-dark);
}

.button svg {
	width: 1.1em;
	height: 1.1em;
	flex-shrink: 0;
}

.button--outline {
	color: var(--color-ink);
	background: transparent;
	border-color: var(--color-ink);
}

.button--outline:hover {
	color: var(--color-white);
	background: var(--color-ink);
	border-color: var(--color-ink);
}

.surface-dark .button--outline,
.section--brand .button--outline {
	color: var(--color-white);
	border-color: var(--color-white);
}

.surface-dark .button--outline:hover,
.section--brand .button--outline:hover {
	color: var(--color-ink);
	background: var(--color-white);
}

/* White button for use on brand-red sections */
.button--light {
	color: var(--color-brand);
	background: var(--color-white);
	border-color: var(--color-white);
}

.button--light:hover {
	color: var(--color-brand-dark);
	background: var(--color-gray-100);
	border-color: var(--color-gray-100);
}

.button--lg {
	min-height: 56px;
	padding: 1rem 2rem;
	font-size: 1rem;
}

.button--block {
	width: 100%;
}

/* ==========================================================================
   Forms (baseline for embedded lead forms)
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="number"],
input[type="date"],
select,
textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.625rem 0.875rem;
	color: var(--color-ink);
	background: var(--color-gray-100);
	border: var(--border-width) solid #c4c9d4;
	border-radius: var(--radius-s);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline-offset: 0;
	border-color: var(--color-focus);
}

label {
	display: block;
	margin-bottom: var(--space-2xs);
	font-weight: 700;
}

.search-form {
	display: flex;
	gap: var(--space-xs);
	max-width: 32rem;
}

.search-form label {
	flex: 1;
	margin: 0;
}

.search-submit {
	padding-inline: var(--space-m);
	font-weight: 700;
	color: var(--color-white);
	background: var(--color-brand);
	border: 0;
	border-radius: var(--radius-s);
	cursor: pointer;
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */

.announcement {
	padding-block: var(--space-xs);
	font-size: var(--text-sm);
	color: var(--color-white);
	text-align: center;
	background: var(--color-brand);
}

.announcement p {
	margin: 0;
}

.announcement__badge {
	display: inline-block;
	margin-right: var(--space-xs);
	padding: 0.1rem 0.6rem;
	font-family: var(--font-heading);
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-brand);
	background: var(--color-white);
	border-radius: 3px;
}

.announcement a {
	margin-left: var(--space-xs);
	font-weight: 700;
	color: var(--color-white);
}

/* ==========================================================================
   Header
   ========================================================================== */

/* Black, finished with a red-to-orange line. A thin info bar on top (rating,
   trust facts, hours, company links) scrolls away; the row with the logo,
   menu, phone and Book button stays pinned. */
.site-header {
	--header-top: 0px;

	position: sticky;
	top: calc(-1 * var(--header-top));
	z-index: 100;
	background: var(--color-ink);
	border-bottom: 3px solid var(--color-brand);
	border-image: linear-gradient(90deg, var(--color-brand) 0%, var(--color-brand) 55%, var(--color-accent) 100%) 1;
}

.admin-bar .site-header {
	top: calc(var(--wp-admin--admin-bar--height, 32px) - var(--header-top));
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--space-s);
	width: calc(100% - 2 * var(--gutter));
	min-height: var(--header-height);
}

.site-header__brand {
	flex-shrink: 1;
	min-width: 0;
	margin-right: auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-weight: var(--weight-heavy);
	color: var(--color-white);
	text-decoration: none;
}

.site-header__brand img {
	width: auto;
	max-width: 220px;
	max-height: 56px;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: var(--space-s);
}

/* The menu sits centered between the logo and the phone */
@media (min-width: 75em) {
	.site-header .site-header__brand {
		flex-shrink: 0;
		margin-right: 0;
	}

	.site-nav {
		margin-inline: auto;
	}

	/* Ad landing pages have no menu: the phone goes to the right */
	.site-header--landing .site-header__brand {
		margin-right: auto;
	}
}

/* Info bar: hidden on phones and small tablets */
.header-bar {
	display: none;
}

@media (min-width: 64em) {
	.site-header {
		--header-top: 2.5rem;
	}

	.header-bar {
		display: block;
		height: 2.5rem;
		font-size: 0.8125rem;
		color: rgb(255 255 255 / 0.8);
		background: #0a0a0a;
		border-bottom: 1px solid rgb(255 255 255 / 0.08);
	}
}

.site-header--landing {
	--header-top: 0px;
}

.header-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-m);
	width: calc(100% - 2 * var(--gutter));
	height: 100%;
}

.header-facts {
	display: flex;
	align-items: center;
	gap: var(--space-m);
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}

.header-facts li {
	display: flex;
	align-items: center;
	gap: 0.375rem;
}

.header-facts svg {
	width: 15px;
	height: 15px;
	color: var(--color-accent);
}

.header-facts strong {
	font-weight: var(--weight-heavy);
	color: var(--color-white);
}

.header-facts__stars {
	letter-spacing: 0.06em;
	color: var(--color-accent);
}

/* Facts in order of priority as the window narrows */
@media (max-width: 74.99em) {
	.header-facts__emergency {
		display: none !important;
	}
}

@media (max-width: 79.99em) {
	.header-facts__family {
		display: none !important;
	}
}

@media (max-width: 92.99em) {
	.header-facts__licensed {
		display: none !important;
	}
}

/* Company links, divided by thin rules */
.utility-nav__menu {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.utility-nav__menu li + li {
	border-left: 1px solid rgb(255 255 255 / 0.2);
}

.utility-nav__menu a {
	display: block;
	padding: 0.125rem 0.75rem;
	font-family: var(--font-heading);
	font-size: 0.75rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.85);
	text-decoration: none;
}

.utility-nav__menu li:last-child a {
	padding-right: 0;
}

.utility-nav__menu a:hover {
	color: var(--color-accent);
}

/* Phone */
.header-phone {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	color: var(--color-white);
	text-decoration: none;
}

.header-phone__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	color: var(--color-accent);
	border: var(--border-width) solid rgb(245 166 35 / 0.6);
	border-radius: 50%;
	background: rgb(245 166 35 / 0.1);
}

.header-phone__icon svg {
	width: 18px;
	height: 18px;
}

.header-phone__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.header-phone__label {
	font-family: var(--font-heading);
	font-size: 0.6875rem;
	font-weight: var(--weight-semibold);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.header-phone__number {
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-weight: var(--weight-semibold);
	white-space: nowrap;
}

.header-phone:hover .header-phone__number {
	color: var(--color-accent);
}

@media (max-width: 29.99em) {
	.header-phone__text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

/* Label only where there's room: tablets, and wide desktops */
@media (max-width: 47.99em), (min-width: 75em) and (max-width: 89.99em) {
	.header-phone__label {
		display: none;
	}
}

/* Book: phones have the sticky Call / Book bar instead, and small laptops
   leave no room beside the full menu */
.header-book {
	min-height: 44px;
	padding: 0.625rem 1.25rem;
	white-space: nowrap;
}

@media (max-width: 47.99em), (min-width: 75em) and (max-width: 80.99em) {
	.header-book {
		display: none;
	}
}

/* Just wide enough for the Book button: the number goes without its icon */
@media (min-width: 81em) and (max-width: 83.99em) {
	.header-phone__icon {
		display: none;
	}
}

/* ==========================================================================
   Primary navigation
   ========================================================================== */

.site-nav__menu,
.site-nav__menu .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__menu a {
	display: block;
	font-family: var(--font-heading);
	font-size: 0.875rem;
	white-space: nowrap;
	font-weight: var(--weight-semibold);
	color: var(--color-white);
	text-decoration: none;
}

.site-nav__menu a:hover,
.site-nav__menu .current-menu-item > a,
.site-nav__menu .current-menu-ancestor > a {
	color: var(--color-accent);
}

.site-nav__toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	min-height: 44px;
	padding: var(--space-xs) var(--space-s);
	font-family: var(--font-heading);
	font-size: 0.875rem;
	font-weight: var(--weight-semibold);
	color: var(--color-white);
	background: transparent;
	border: var(--border-width) solid rgb(255 255 255 / 0.3);
	border-radius: var(--radius-s);
	cursor: pointer;
}

.site-nav__toggle[hidden] {
	display: none;
}

.site-nav__toggle svg {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.site-nav__toggle .icon-close,
.site-nav.is-open .site-nav__toggle .icon-menu {
	display: none;
}

.site-nav.is-open .site-nav__toggle .icon-close {
	display: block;
}

/* Sub-menu toggle buttons are added by navigation.js */
.submenu-toggle {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: inherit;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.submenu-toggle svg {
	width: 16px;
	height: 16px;
	transition: transform var(--transition);
}

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

/* Mobile and tablet: menu opens as a panel under the header */
@media (max-width: 74.99em) {
	.site-nav {
		order: 3;
	}

	.site-nav__menu {
		padding-block: var(--space-xs);
	}

	.site-nav__menu > li {
		border-bottom: var(--border-width) solid var(--color-border);
	}

	.site-nav__menu li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
	}

	.site-nav__menu a {
		flex: 1;
		padding-block: 0.75rem;
		font-size: 1rem;
		white-space: normal;
	}

	.site-nav__menu .sub-menu {
		flex-basis: 100%;
		padding: 0 0 var(--space-xs) var(--space-s);
	}

	.site-nav.is-enhanced .sub-menu {
		display: none;
	}

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

	/* Folded from the first paint when scripts run (the "js" class is set in
	   <head>), so the page does not jump when navigation.js arrives. */
	.js .site-nav__menu {
		display: none;
	}

	.js .site-nav__toggle[hidden] {
		display: inline-flex;
	}

	.site-nav.is-open .site-nav__menu {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: block;
		max-height: calc(100vh - var(--header-height));
		overflow-y: auto;
		padding: var(--space-xs) var(--gutter) var(--space-m);
		color: var(--color-white);
		background: var(--color-ink);
		border-top: var(--border-width) solid var(--color-border);
		box-shadow: var(--shadow-m);
	}
}

/* Desktop: horizontal menu; an orange bar slides in under the item you point
   at or are on, and dropdowns are white */
@media (min-width: 75em) {
	.site-nav__toggle {
		display: none !important;
	}

	.site-nav__menu {
		display: flex;
		align-items: center;
		gap: 0 0.875rem;
	}

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

	.site-nav__menu > li > a {
		position: relative;
		padding-block: 1.75rem;
	}

	.site-nav__menu > li > a::after {
		content: "";
		position: absolute;
		right: 0;
		bottom: 1.125rem;
		left: 0;
		height: 2px;
		background: var(--color-accent);
		border-radius: 1px;
		transform: scaleX(0);
		transition: transform var(--transition);
	}

	.site-nav__menu > li:hover > a::after,
	.site-nav__menu > li:focus-within > a::after,
	.site-nav__menu > .current-menu-item > a::after,
	.site-nav__menu > .current-menu-ancestor > a::after {
		transform: scaleX(1);
	}

	.site-nav__menu > li > a:hover,
	.site-nav__menu > .current-menu-item > a,
	.site-nav__menu > .current-menu-ancestor > a {
		color: var(--color-white);
	}

	.site-nav__menu .submenu-toggle {
		width: 28px;
		margin-left: -0.25rem;
	}

	.site-nav__menu .sub-menu {
		position: absolute;
		top: 100%;
		left: -1rem;
		z-index: 10;
		display: none;
		min-width: 15rem;
		padding: var(--space-xs) 0;
		background: var(--color-white);
		border-radius: 0 0 var(--radius-s) var(--radius-s);
		box-shadow: var(--shadow-m);
	}

	.site-nav__menu li:hover > .sub-menu,
	.site-nav__menu li:focus-within > .sub-menu,
	.site-nav__menu li.is-open > .sub-menu {
		display: block;
	}

	.site-nav__menu .sub-menu a {
		padding: 0.625rem 1rem;
		color: var(--color-ink);
	}

	.site-nav__menu .sub-menu a:hover,
	.site-nav__menu .sub-menu .current-menu-item > a {
		color: var(--color-brand);
		background: var(--color-gray-100);
	}
}

/* ==========================================================================
   Main content
   ========================================================================== */

.site-main {
	display: block;
}

.page-header {
	padding-block: var(--space-l);
}

.entry-content > * {
	max-width: var(--content-max);
}

.entry-content > .alignwide {
	max-width: var(--container-max);
}

.entry-content > .alignfull {
	max-width: none;
}

.entry-content img {
	border-radius: var(--radius-s);
}

/* Editor blocks inside content: match the theme's buttons and FAQ toggles */
.entry-content .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
	margin-bottom: var(--space-s);
}

.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0.75rem 1.5rem;
	font-family: var(--font-heading);
	font-size: 0.875rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--color-white);
	background: var(--color-brand);
	border-radius: var(--radius-s);
}

.entry-content .wp-block-button__link:hover {
	background: var(--color-brand-dark);
}

.entry-content .is-style-outline .wp-block-button__link {
	color: inherit;
	background: transparent;
	border: 2px solid currentColor;
}

.entry-content .wp-block-details {
	border-bottom: var(--border-width) solid var(--color-border);
}

.entry-content .wp-block-details:first-of-type {
	border-top: var(--border-width) solid var(--color-border);
}

.entry-content .wp-block-details summary {
	position: relative;
	padding: var(--space-s) 2.5rem var(--space-s) 0;
	font-family: var(--font-heading);
	font-weight: var(--weight-semibold);
	color: var(--color-heading);
	list-style: none;
	cursor: pointer;
}

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

.entry-content .wp-block-details summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 0.5rem;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--color-brand);
	transform: translateY(-50%);
}

.entry-content .wp-block-details[open] summary::after {
	content: "\2212";
}

.entry-content .wp-block-details > :not(summary) {
	color: var(--color-text-muted);
}

.entry-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
	padding: var(--space-xs) var(--space-s);
	text-align: left;
	border: var(--border-width) solid var(--color-border);
}

.entry-content .wp-block-table thead th {
	background: var(--color-gray-100);
}

/* Three columns of prose fit a phone ("Replacement Usually Makes Sense" no longer runs off the edge) */
@media (max-width: 47.99em) {
	.entry-content .wp-block-table th,
	.entry-content .wp-block-table td {
		padding: var(--space-2xs) var(--space-xs);
		font-size: var(--text-sm);
		overflow-wrap: anywhere;
	}
}

/* Listings */
.listing__item {
	padding-block: var(--space-m);
	border-bottom: var(--border-width) solid var(--color-border);
}

.listing__title {
	font-size: var(--text-xl);
}

.listing__title a {
	color: var(--color-heading);
	text-decoration: none;
}

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

.listing__meta {
	font-size: var(--text-sm);
	color: var(--color-text-muted);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
	margin-top: var(--space-l);
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding-inline: var(--space-xs);
	font-weight: 700;
	text-decoration: none;
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius-s);
}

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

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

.site-footer {
	padding-top: var(--space-xl);
	font-size: 0.9375rem;
}

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

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

.site-footer__grid {
	display: grid;
	gap: var(--space-l);
	padding-bottom: var(--space-l);
}

@media (min-width: 48em) {
	.site-footer__grid {
		grid-template-columns: 2fr 1fr 1fr;
	}
}

.site-footer__name {
	margin-bottom: var(--space-xs);
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: var(--weight-heavy);
	color: var(--color-white);
}

.site-footer__brand img {
	width: auto;
	max-height: 64px;
	margin-bottom: var(--space-s);
}

.site-footer__heading {
	margin-bottom: var(--space-s);
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-accent);
}

.site-footer__list,
.site-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__list li,
.site-footer__menu li {
	margin-bottom: var(--space-xs);
}

.site-footer__contact dt {
	font-weight: 700;
	color: var(--color-white);
}

.site-footer__contact dd {
	margin: 0 0 var(--space-xs);
}

.site-footer__address {
	font-style: normal;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs) var(--space-s);
	margin: var(--space-s) 0 0;
	padding: 0;
	list-style: none;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--space-xs) var(--space-m);
	padding-block: var(--space-m);
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	border-top: var(--border-width) solid var(--color-border);
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__licenses {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs) var(--space-s);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ==========================================================================
   Mobile call bar
   ========================================================================== */

.mobile-cta {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 90;
	display: grid;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
	gap: var(--space-xs);
	padding: var(--space-xs) var(--space-xs) calc(var(--space-xs) + env(safe-area-inset-bottom));
	background: var(--color-ink);
	box-shadow: 0 -4px 16px rgb(0 0 0 / 0.2);
}

.mobile-cta__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-xs);
	min-height: 48px;
	font-family: var(--font-heading);
	font-size: 0.9375rem;
	font-weight: var(--weight-semibold);
	color: var(--color-white);
	text-decoration: none;
	background: var(--color-brand);
	border-radius: var(--radius-s);
}

.mobile-cta__button svg {
	width: 18px;
	height: 18px;
}

.mobile-cta__button--booking {
	color: var(--color-ink);
	background: var(--color-white);
}

.has-mobile-cta {
	padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

@media (min-width: 48em) {
	.mobile-cta {
		display: none;
	}

	.has-mobile-cta {
		padding-bottom: 0;
	}
}
