/*!
Theme Name:  Crown Preservation
Author:      UWP Group
Author URI:  https://uwpgroup.co.uk/
Description: Custom UWP theme for Crown Preservation — sleek damp-proofing specialists.
Version:     1.0.0
License:     GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: crown-preservation
*/

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

   :root {
	/* Colour */
	--ink: #0e1620;
	--ink-soft: #1a2430;
	--mist: #eef1f4;
	--mist-deep: #e2e7ec;
	--paper: #fbfcfd;
	--brass: #1e60fd;
	--brass-deep: #1548c9;
	--brass-glow: #5b8fff;
	--line: rgba(14, 22, 32, 0.5);
	--line-light: rgba(255, 255, 255, 0.14);
	--font-color: #2a3340;
	--font-muted: #5c6775;
	--on-dark: #f5f7f9;

	/* Type */
	--heading-font: "Newsreader", "Times New Roman", Georgia, serif;
	--body-font: "Manrope", "Segoe UI", sans-serif;
	--text-xs: 0.78rem;
	--text-sm: 0.92rem;
	--text-md: clamp(17px, 1.05vw, 19px);
	--text-lg: clamp(1.15rem, 1.4vw, 1.35rem);
	--text-xl: clamp(1.5rem, 2.2vw, 1.85rem);
	--text-2xl: clamp(2rem, 3.6vw, 3.25rem);
	--text-3xl: clamp(2.6rem, 5.5vw, 4.5rem);

	/* Space / layout */
	--space-1: 0.35rem;
	--space-2: 0.75rem;
	--space-3: 1rem;
	--space-4: 1.5rem;
	--space-5: clamp(28px, 4vw, 48px);
	--space-6: clamp(48px, 8vw, 96px);
	--gutter: clamp(24px, 4vw, 60px);
	--global-width: 1200px;
	--measure: 46ch;
	--nav-height: 88px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--radius: 2px;
}

/* ==========================================================================
   2. BASE — reset + semantic type (bare h1–h6; avoid per-component heading overrides)
   ========================================================================== */

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

::selection {
	color: #fff;
	background: var(--brass);
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: 0;
	z-index: 10000;
	padding: 0.65rem 1rem;
	background: var(--ink);
	color: #fff;
	transform: translateY(-150%);
}

.skip-link:focus {
	transform: none;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	width: 100%;
	overflow-x: hidden;
}

body {
	font-family: var(--body-font);
	font-size: var(--text-md);
	line-height: 1.65;
	color: var(--font-color);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

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

figure {
	margin: 0;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--brass-deep);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--heading-font);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
	color: var(--accent-color);
}

/* Content editor output — restore spacing wiped by the global margin reset */
.entry-content,
.page-section__content {
	display: flow-root;
}

.entry-content> :first-child,
.page-section__content> :first-child {
	margin-top: 0;
}

.entry-content> :last-child,
.page-section__content> :last-child {
	margin-bottom: 0;
}

.entry-content p,
.page-section__content p {
	margin: 0 0 1em;
}

.entry-content :is(h1, h2, h3, h4, h5, h6),
.page-section__content :is(h1, h2, h3, h4, h5, h6) {
	margin: 0 0 0.45em;
}

.entry-content :is(h1, h2, h3, h4, h5, h6):first-child,
.page-section__content :is(h1, h2, h3, h4, h5, h6):first-child {
	margin-top: 0;
}

.entry-content ul,
.entry-content ol,
.page-section__content ul,
.page-section__content ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

.entry-content li,
.page-section__content li {
	margin-bottom: 0.35em;
}

.entry-content li:last-child,
.page-section__content li:last-child {
	margin-bottom: 0;
}

.aligncenter {
	display: block;
	margin: 0 auto 1em;
}

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

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

/* TinyMCE wraps aligned images in <p> — float the paragraph instead */
.entry-content p:has(> img.alignleft:only-child),
.entry-content p:has(> a:only-child > img.alignleft:only-child) {
	float: left;
	margin: 0 1.5em 1em 0;
}

.entry-content p:has(> img.alignright:only-child),
.entry-content p:has(> a:only-child > img.alignright:only-child) {
	float: right;
	margin: 0 0 1em 1.5em;
}

.entry-content p:has(> img.alignleft:only-child) img.alignleft,
.entry-content p:has(> a:only-child > img.alignleft:only-child) img.alignleft,
.entry-content p:has(> img.alignright:only-child) img.alignright,
.entry-content p:has(> a:only-child > img.alignright:only-child) img.alignright {
	float: none;
	margin: 0;
}

.entry-content p:has(> img.aligncenter:only-child),
.entry-content p:has(> a:only-child > img.aligncenter:only-child) {
	text-align: center;
}

.entry-content p:has(> img.aligncenter:only-child) img.aligncenter,
.entry-content p:has(> a:only-child > img.aligncenter:only-child) img.aligncenter {
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
}

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-family: var(--body-font);
	font-size: var(--text-sm);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

li {
	max-width: none;
}


/* ==========================================================================
   3. LAYOUT — section > container > row > col
   ========================================================================== */

.container {
	width: min(100% - (var(--gutter) * 2), var(--global-width));
	margin-inline: auto;
	padding-block: var(--space-6);
}

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

.container.pad-sm {
	padding-block: var(--space-5);
}

.container.pad-0 {
	padding-block: 0;
}

.row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--gutter);
}

.row.start {
	align-items: flex-start;
}

.row.center {
	align-items: center;
	justify-content: center;
}

.row.between {
	justify-content: space-between;
}

.col {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	flex: 1 1 100%;
	min-width: 0;
}

@media (min-width: 900px) {
	.w-1-2 {
		flex: 1 1 calc(50% - var(--gutter) / 2);
	}

	.w-1-3 {
		flex: 1 1 calc(33.333% - var(--gutter) * 2 / 3);
	}

	.w-2-3 {
		flex: 1 1 calc(66.666% - var(--gutter) / 3);
	}

	.w-1-4 {
		flex: 1 1 calc(25% - var(--gutter) * 3 / 4);
	}
}

.grid {
	display: grid;
	gap: var(--gutter);
}

.grid-2,
.grid-3 {
	grid-template-columns: 1fr;
}

@media (min-width: 720px) {
	.grid-2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.grid-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ==========================================================================
   4. UTILITIES — surfaces + dark-bg text cascade (Icon College pattern)
   ========================================================================== */

.bg-ink,
.bg-dark {
	background: var(--ink);
}

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

.bg-brass {
	background: var(--brass);
}

.bg-paper {
	background: var(--paper);
}

/*
 * Dark surfaces: set colour once; children inherit.
 * .dark-bg is also added by JS when a section’s computed bg is dark.
 */
:is(.bg-ink, .bg-dark, .bg-brass, .dark-bg, .hero, .aside-panel, .trust-strip, .share-strip, .site-nav, .site-footer) {
	color: var(--on-dark);
}

:is(.bg-ink, .bg-dark, .bg-brass, .dark-bg, .hero, .aside-panel, .trust-strip, .share-strip, .site-nav, .site-footer) :where(h1, h2, h3, h4, h5, h6,
	a, p, li, span, small, strong, em, label, blockquote,
	.eyebrow, .text-muted, .text-soft, .text-light, .lede-light, .section-lede,
	.brand-mark, .selling-point, .ticks) {
	color: inherit;
}

:is(.bg-ink, .bg-dark, .bg-brass, .dark-bg, .hero, .aside-panel, .trust-strip, .share-strip, .site-nav, .site-footer) a:hover:not(.button) {
	color: var(--brass-glow);
}

/* Soften support copy on dark surfaces without per-section overrides */
:is(.bg-ink, .bg-dark, .dark-bg, .hero, .aside-panel) :where(.text-muted, .text-soft, .lede-light) {
	color: rgba(245, 247, 249, 0.82);
}

/* White rating pill keeps its own contrast */
:is(.bg-ink, .bg-dark, .bg-brass, .dark-bg, .hero) .rating,
:is(.bg-ink, .bg-dark, .bg-brass, .dark-bg, .hero) .rating a {
	color: var(--brass);
}

:is(.bg-ink, .bg-dark, .bg-brass, .dark-bg, .hero) .rating a:hover {
	color: var(--brass-deep);
}

/* Hero form inherits light text from .hero */
.text-muted {
	color: var(--font-muted);
}

.text-light {
	color: var(--on-dark);
}

.text-soft {
	color: rgba(245, 247, 249, 0.82);
}

.text-center {
	text-align: center;
}

.text-center>* {
	margin-inline: auto;
}

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

.measure-sm {
	max-width: 36ch;
}

.measure-none,
.measure-none p,
.measure-none ul {
	max-width: none;
}

.stack {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-3);
}

.stack.center,
.text-center.stack {
	align-items: center;
}

.cluster {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3) var(--space-4);
}

.gap-0 {
	gap: 0;
}

.gap-2 {
	gap: var(--space-2);
}

.gap-3 {
	gap: var(--space-3);
}

.gap-4 {
	gap: var(--space-4);
}

.gap-5 {
	gap: var(--space-5);
}

.mb-5 {
	margin-bottom: var(--space-5);
}

/* ==========================================================================
   5. ELEMENTS — reusable patterns (not page-specific)
   ========================================================================== */

.eyebrow {
	font-family: var(--body-font);
	font-size: var(--text-xs);
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brass-deep);
	margin: 0;
}

#clients .eyebrow {
	margin-bottom: 20px;
}

.eyebrow span {
	display: inline-block;
}

.text-link {
	font-weight: 500;
	color: var(--brass-deep);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.text-link:hover {
	color: var(--ink);
}

.entry-content table {
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
}

.entry-content table th,
.entry-content table td {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.button,
a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 1.5rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: var(--body-font);
	font-size: var(--text-sm);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.button--primary,
.button--gold,
a.button--primary,
a.button--gold {
	background: var(--brass);
	color: #fff;
}

.button--primary:hover,
.button--gold:hover,
a.button--primary:hover,
a.button--gold:hover {
	background: var(--brass-glow);
	color: #fff;
	transform: translateY(-2px);
}

.button.button--nav,
a.button.button--nav {
	background: var(--brass);
	border: 1px solid var(--brass);
	color: #fff;
	padding: 0.65rem 1.1rem;
	font-size: 0.8rem;
}

.button.button--nav:hover,
a.button.button--nav:hover {
	background: var(--brass-glow);
	color: #fff;
	border-color: var(--brass-glow);
	transform: translateY(-2px);
}

.company-phone,
.company-phone--free,
a.tel {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.45rem;
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
	max-width: 100%;
}

.company-phone .phone-icon,
.company-phone--free .phone-icon,
a.tel .phone-icon,
.company-phone .icon-phone,
.company-phone--free .icon-phone,
.email .email-icon,
.address .address-icon {
	display: inline-block;
	margin-right: 5px;
	width: 1.1em;
	height: 1.1em;
	min-width: 1.1em;
	vertical-align: bottom;
	margin-bottom: 0.2em;
}

.company-phone span,
.company-phone--free span,
a.tel span {
	white-space: nowrap;
}

.company-phone:hover,
.company-phone--free:hover,
a.tel:hover,
a.email:hover,
.address a:hover {
	color: var(--brass-glow);
}

a.email,
.address a {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.3rem;
	text-decoration: none;
	font-weight: 500;
}

a.email svg,
.address a svg {
	flex: 0 0 auto;
	width: 1.1em;
	height: 1.1em;
	min-width: 1.1em;
	margin-top: 0.2em;
}

.address-text {
	display: inline;
}

.lede-light,
.section-lede {
	color: var(--font-muted);
	max-width: var(--measure);
}

.section-head {
	margin-bottom: var(--space-5);
	max-width: 40rem;
}

.section-head--center {
	text-align: center;
	margin-inline: auto;
}

/* ==========================================================================
   6. COMPONENTS — only when structure / behaviour needs a name
   ========================================================================== */

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

body.scrolled .site-nav,
body.mobile-menu-open .site-nav {
	background: rgba(14, 22, 32, 0.94);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line-light);
}

.nav-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: nowrap;
	min-height: var(--nav-height);
	padding: 0.75rem var(--gutter);
	width: min(100%, calc(var(--global-width) + var(--gutter) * 2));
	margin-inline: auto;
}

.company-logo {
	display: inline-flex;
	gap: 0.75rem;
	flex-shrink: 0;
	text-decoration: none;
	color: #fff;
	flex: 1 1 auto;
	min-width: 220px;
	width: 220px;
	max-width: 220px;
}
.company-logo img {
	min-width: 220px;
	width: 220px;
	max-width: 220px;
}
.company-logo:hover {
	color: #fff;
}

.company-logo svg {
	border: 1px solid;
	border-radius: 100px;
	padding: 3px;
	width: 40px;
	height: 40px;
}

.nav-phone {
	display: inline-flex;
	flex: 0 0 auto;
	min-width: 0;
}

.nav-phone .company-phone {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.65rem 1.1rem;
	border: 1px solid var(--brass);
	border-radius: var(--radius);
	background: var(--brass);
	color: #fff;
	font-size: 0.92rem;
	white-space: nowrap;
	margin-bottom: 2px;
	text-decoration: none;
	transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.nav-phone .company-phone:hover,
.nav-phone .company-phone:focus-visible {
	background: var(--brass-glow);
	border-color: var(--brass-glow);
	color: #fff!important;
	transform: translateY(-2px);
}

.nav-actions {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	flex: 0 0 auto;
	gap: 1rem;
}

.nav-actions .phone-icon {
	flex-shrink: 0;
	width: 1.1rem;
	height: 1.1rem;
}

.menu--desktop {
	display: none;
	list-style: none;
	flex-wrap: nowrap;
	gap: 0.15rem 1.25rem;
	align-items: center;
	padding: 0;
	margin: 0;
	white-space: nowrap;
}

.menu--desktop>li {
	position: relative;
	flex-shrink: 0;
}

.menu--desktop>li>a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 450;
	letter-spacing: 0.02em;
	padding: 0.4rem 0;
	white-space: nowrap;
}

.menu--desktop>li>a img,
.menu--desktop>li>a svg {
	flex-shrink: 0;
	width: 1em;
	height: 1em;
}

.menu--desktop>li>a:hover,
.menu--desktop>li.current-menu-item>a {
	color: #fff;
}

.menu--desktop .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	padding: 0.75rem 0;
	background: var(--ink-soft);
	border: 1px solid var(--line-light);
	list-style: none;
	z-index: 40;
}

.menu--desktop>li:hover>.sub-menu {
	display: block;
}

.menu--desktop .sub-menu a {
	display: block;
	padding: 0.55rem 1.1rem;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 0.88rem;
}

.menu--desktop .sub-menu a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--brass-glow);
}

.mobile-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: transparent;
	color: #fff;
	cursor: pointer;
	border-radius: var(--radius);
	position: absolute;
	right: 40px;
	top: 20px;
}

.mobile-menu-container {
	background: var(--ink-soft);
	border-top: 1px solid var(--line-light);
	padding: 1rem var(--gutter) 1.5rem;
	min-height: calc(100dvh - var(--nav-height));
	min-height: calc(100svh - var(--nav-height));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.mobile-menu-container[hidden] {
	display: none !important;
}

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

.mobile-menu a {
	display: block;
	padding: 0.75rem 0;
	color: #fff;
	text-decoration: none;
}

.mobile-menu>li,
.mobile-menu .sub-menu>li {
	border-bottom: 1px solid var(--line-light);
}

.mobile-menu .menu-item-has-children {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.mobile-menu .menu-item-has-children>a {
	flex: 1 1 auto;
	min-width: 0;
}

.mobile-menu .menu-dropdown-toggle {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.mobile-menu .menu-dropdown-toggle svg {
	display: block;
	width: 20px;
	height: 20px;
	transition: transform 0.25s var(--ease);
}

.mobile-menu .submenu-open>.menu-dropdown-toggle svg {
	transform: rotate(180deg);
}

.mobile-menu .sub-menu {
	display: none;
	flex: 1 1 100%;
	list-style: none;
	padding-left: 1rem;
	margin: 0;
}

.mobile-menu .submenu-open>.sub-menu {
	display: block;
}

@media (min-width: 1100px) {
	.menu--desktop {
		display: flex;
	}

	.mobile-menu-toggle {
		display: none;
	}

	.button.button--nav,
	a.button.button--nav {
		display: inline-flex;
	}
}

@media (max-width: 1099px) {

	.company-logo {
		flex: 1 1 auto;
	}

	.nav-actions .button.button--nav,
	.nav-actions a.button.button--nav {
		display: none;
	}

	.nav-actions .company-phone {
		display: none;
	}

	.nav-phone {
		display: inline-flex;
		margin-right: 40px;
	}

	.nav-phone .company-phone {
		display: inline-flex;
		white-space: nowrap;
	}

}

/* ==========================================================================
   Hero — full-bleed media; content via container > row > col
   ========================================================================== */

.hero {
	position: relative;
	isolation: isolate;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	padding-top: var(--nav-height);
}

.hero--inner {
	min-height: 52vh;
	min-height: 52dvh;
}

.hero--short {
	min-height: auto;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
	background:
		var(--hero-image, none) center / cover no-repeat,
		linear-gradient(145deg, #152032 0%, #0e1620 55%, #1c2838 100%);
}

.hero__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(105deg, rgba(8, 12, 18, 0.82) 0%, rgba(8, 12, 18, 0.55) 48%, rgba(8, 12, 18, 0.35) 100%),
		linear-gradient(to top, rgba(8, 12, 18, 0.55), transparent 42%);
}

.hero>.container {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-block: clamp(36px, 6vh, 72px) clamp(48px, 10vh, 110px);
	width: min(100% - (var(--gutter) * 2), var(--global-width));
}

.hero--home>.container,
.hero--inner>.container {
	justify-content: center;
	padding-block: clamp(40px, 7vh, 80px);
	padding-top: 100px;
}

.hero .brand-mark {
	font-size: clamp(2.8rem, 7vw, 5.5rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 0.95;
	max-width: 12ch;
}

.hero h1 {
	font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

.hero .ticks li,
.hero .selling-point {
	border-bottom-color: var(--line-light);
	padding: 0.45rem 0;
	font-size: 0.95rem;
}

.hero .ticks svg,
.hero .selling-point svg,
.hero .checkmark-icon {
	color: var(--brass-glow);
}

.hero .cluster .company-phone,
.hero .cluster .company-phone--free {
	color: inherit;
}

.hero .rating {
	align-self: flex-start;
}

.hero-form {
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.hero-form .contact-form__title {
	font-family: var(--heading-font);
	font-size: clamp(1.35rem, 2vw, 1.65rem);
	font-weight: 600;
	line-height: 1.25;
	color: inherit;
	margin: 0 0 var(--space-3);
}

.hero-form .enquiry-form {
	--form-gap: 0.65rem;
}

.hero-form .enquiry-form :where(input, select, textarea) {
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: calc(var(--radius) - 2px);
	padding: 0.7rem 0.85rem;
	background: rgba(255, 255, 255, 0.5)!important;
	color: #fff;
}

.hero-form .enquiry-form :where(input, select, textarea)::placeholder {
	color: rgba(255, 255, 255, 0.65);
}

.hero-form .enquiry-form select {
	color: var(--ink);
}

.hero-form .enquiry-form select option {
	color: var(--ink);
	background: rgba(255, 255, 255, 0.5);
}

.hero-form .enquiry-form :where(input, select, textarea):focus {
	outline: 2px solid var(--brass);
	outline-offset: 1px;
	background: rgba(255, 255, 255, 0.16);
	border-color: transparent;
}

.hero-form .contact-form__submit {
	border: 0;
	margin-top: 0.25rem;
}

.hero-form .enquiry-form .recaptcha-notice {
	font-size: 0.72rem;
	color: rgba(245, 247, 249, 0.7);
	margin: 0.35rem 0 0;
	opacity: 1;
}

.accreditation-badges {
	margin-top: 0.35rem;
}

.accreditation-badges img {
	height: 52px;
	width: auto;
	max-width: 110px;
	object-fit: contain;
	background: #fff;
	padding: 0.35rem 0.5rem;
	border-radius: 6px;
}

.media-frame {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius);
}

.media-frame img {
	display: block;
	width: 100%;
	height: auto;
}

.entry-content .media-frame.alignright {
	float: right;
	width: min(100%, 420px);
	max-width: 48%;
	margin: 0 0 1em 1.5em;
}

.entry-content .media-frame.alignleft {
	float: left;
	width: min(100%, 420px);
	max-width: 48%;
	margin: 0 1.5em 1em 0;
}

@media (max-width: 699px) {

	.entry-content .media-frame.alignright,
	.entry-content .media-frame.alignleft {
		float: none;
		width: 100%;
		max-width: none;
		margin: 0 0 1em;
	}
}

.rating {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: var(--space-3);
	padding: 0.55rem 1.5rem 0.55rem 0.65rem;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(8, 12, 18, 0.28);
	color: var(--brass);
	text-decoration: none;
	width: max-content;
	max-width: 100%;
}

.testimonials-google-rating {
	margin-top: var(--space-5);
}

.rating a {
	color: inherit;
	text-decoration: none;
}

.rating a:hover {
	color: var(--brass-deep);
}

.rating__link {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 0.2rem;
}

.rating__label {
	font-family: var(--body-font);
	font-size: var(--text-sm);
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
	line-height: 1.2;
}

.rating__stars {
	display: inline-flex;
	gap: 0.15rem;
	color: #fbbc05;
}

.rating__badge {
	display: flex;
	flex-shrink: 0;
	line-height: 0;
}

.rating__badge svg {
	display: block;
	width: 44px;
	height: 44px;
}

/* Reveal motion */
[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-in {
	opacity: 1;
	transform: none;
}

[data-reveal-delay="1"] {
	transition-delay: 0.12s;
}

[data-reveal-delay="2"] {
	transition-delay: 0.24s;
}

[data-reveal-delay="3"] {
	transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ==========================================================================
   Sections
   ========================================================================== */

.trust-strip,
.share-strip {
	background: var(--ink-soft);
	color: rgba(255, 255, 255, 0.88);
	border-bottom: 1px solid var(--line-light);
}

.trust-strip .container,
.share-strip .container {
	padding-block: 1.1rem;
}

.trust-strip .container {
	overflow: visible;
}

.trust-strip__list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: clamp(0.4rem, 1.5vw, 1.5rem);
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
	font-size: clamp(0.65rem, 1.05vw, 0.9rem);
	font-weight: 450;
	line-height: 1.3;
}

.trust-strip__list li {
	position: relative;
	padding-left: 0.85em;
	flex: 0 0 auto;
	white-space: nowrap;
}

.trust-strip__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--brass);
}

.share-strip__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.share-strip__label {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.85;
}

.share-strip__list {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.share-strip__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
	text-decoration: none;
	transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.share-strip__btn:hover,
.share-strip a.share-strip__btn:hover {
	background: var(--brass);
	border-color: var(--brass);
	color: #fff;
}

.services-grid,
.service-gallery {
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}

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

@media (min-width: 600px) {
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.services-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.services-grid--4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

.service-tile {
	position: relative;
	min-height: 300px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	text-decoration: none;
	color: #fff;
	background:
		linear-gradient(to top, rgba(8, 12, 18, 0.88), rgba(8, 12, 18, 0.25)),
		var(--tile-image, linear-gradient(145deg, #1a2430, #0e1620)) center / cover no-repeat;
	overflow: hidden;
}

.service-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 40%, rgba(30, 96, 253, 0.28));
	opacity: 0;
	transition: opacity 0.45s var(--ease);
}

.service-tile:hover {
	color: #fff;
	z-index: 1;
}

.service-tile:hover::after {
	opacity: 1;
}

.service-tile__label {
	position: relative;
	z-index: 1;
	font-family: var(--heading-font);
	font-size: var(--text-xl);
	font-weight: 600;
	line-height: 1.15;
	text-decoration: none;
}

.service-tile:hover .service-tile__label {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.service-tile__arrow {
	position: relative;
	z-index: 1;
	margin-top: 0.65rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	font-size: 0.85rem;
	line-height: 1;
	opacity: 0.85;
	transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.service-tile:hover .service-tile__arrow {
	transform: translateX(4px);
	opacity: 1;
	border-color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.selling-point {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--line-light);
	font-size: 1.05rem;
}

.selling-point svg,
.ticks svg,
.checkmark-icon {
	flex-shrink: 0;
	width: 22px;
	height: auto;
	color: var(--brass);
	margin-top: 0.15rem;
}

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

.ticks li {
	display: flex;
	gap: 0.75rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--line);
}

/* Logo rail */
.logo-rail {
	overflow: hidden;
	position: relative;
	z-index: 0;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-rail__track {
	display: flex;
	align-items: center;
	/* No flex gap — it breaks seamless -50% loops (half track ≠ one set + gaps). */
	gap: 0;
	width: max-content;
	animation: logo-marquee 40s linear infinite;
	will-change: transform;
}

.logo-rail__item {
	flex: 0 0 auto;
	height: 80px;
	display: flex;
	align-items: center;
	margin-inline-end: 3rem;
}

.logo-rail__item img {
	height: 60px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
}

@keyframes logo-marquee {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

/* Testimonials — multi-slide strip (3 / 2 / 1 by viewport) */
.no-transition {
	transition: none !important;
}

.carousel {
	position: relative;
	width: 100%;
}

/* Clip track here so slides stay between the arrows (smooth: transform on .items, overflow on parent) */
.carousel__viewport {
	width: calc(100% - 80px);
	margin: 0 auto;
	overflow: hidden;
	padding: 2px 0;
}

.carousel .items {
	display: flex;
	align-items: stretch;
	gap: 1.25rem;
	width: 100%;
	margin: 0;
	user-select: none;
	transition: transform 0.45s ease;
	will-change: transform;
}

.carousel .items .item {
	flex: 0 0 calc((100% - 2.5rem) / 3);
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.carousel .items .item .slide-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	background: var(--paper);
	border: 1px solid var(--line);
	padding: 1.5rem 1.75rem;
	min-height: 200px;
	text-align: left;
	border-radius: var(--radius);
	height: 100%;
	box-sizing: border-box;
}

.carousel .items .item .slide-content>div:not(.meta) {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	-webkit-line-clamp: 5;
	line-clamp: 5;
}

.carousel .items .item .slide-content p {
	margin: 0 0 0.65rem;
	font-size: 0.95em;
}

.carousel .items .item .slide-content div.meta .name {
	text-transform: capitalize;
	margin: 0 0 0.75rem;
	display: block;
}

.carousel .items .item .slide-content .stars {
	color: gold;
}

.carousel .btn {
	cursor: pointer;
	position: absolute;
	top: calc(50% - 20px);
	z-index: 9;
	color: var(--ink);
	background: none;
	border: 0;
	padding: 0;
}

.carousel .prev-btn {
	left: 0;
}

.carousel .next-btn {
	right: 0;
}

.carousel .btn svg {
	display: block;
	width: 40px;
	height: 40px;
}

@media (max-width: 1024px) {
	.carousel .items .item {
		flex: 0 0 calc((100% - 1.25rem) / 2);
	}
}

@media (max-width: 767px) {
	.carousel__viewport {
		width: calc(100% - 64px);
	}

	.carousel .items {
		gap: 0;
	}

	.carousel .items .item {
		flex: 0 0 100%;
	}

	.carousel .items .item .slide-content {
		padding: 1.25rem 1.35rem;
	}
}

/* FAQs */
.faqs .faq {
	border-bottom: 1px solid var(--line);
}

.faqs .question,
.carousel .items .item .slide-content div.meta .name {
	font-family: var(--heading-font);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--ink);
}

.faqs .question {
	display: block;
	padding: 1.15rem 2.5rem 1.15rem 0;
	cursor: pointer;
	position: relative;
}

.faqs .question::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 1.1rem;
	font-family: var(--body-font);
	font-weight: 400;
	color: var(--brass-deep);
}

.faqs .toggle {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.faqs .toggle:checked+.question::after {
	content: "\2212";
}

.faqs .collapsible-content {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.4s var(--ease);
}

.faqs .toggle:checked~.collapsible-content {
	grid-template-rows: 1fr;
}

.faqs .answer {
	overflow: hidden;
}

.faqs .answer>* {
	padding-bottom: 1.15rem;
	color: var(--font-muted);
	max-width: 60ch;
}

/* Case study gallery — accordion slider */
.case-study-gallery {
	margin-top: var(--space-4);
}

.case-study-accordion-slider {
	--slide-move: 25%;
	position: relative;
	overflow: hidden;
}

.case-study-accordion-track {
	display: flex;
	width: calc(100% - 70px);
	transform: translateX(0);
	transition: transform 0.5s ease;
	will-change: transform;
}

.case-study-accordion-track.is-no-transition {
	transition: none !important;
}

.case-study-accordion-track.is-sliding-left {
	transform: translateX(calc(-1 * var(--slide-move)));
}

.case-study-accordion-track.is-offset-left {
	transform: translateX(calc(-1 * var(--slide-move)));
}

.case-study-accordion-slide {
	flex: 0 0 calc(25% - 10px);
	box-sizing: border-box;
	border-radius: 20px;
	position: relative;
	background: var(--brass-deep);
	margin: 0 10px 0 0;
	padding-bottom: 100px;
	transition: flex 0.5s ease;
}

.case-study-accordion-slide:first-child {
	flex: 0 0 calc(50% - 10px);
}

.case-study-slide-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 640px;
	border-radius: 20px;
	background-size: cover;
	background-position: center;
}

.case-study-accordion-media {
	position: relative;
	display: flex;
	flex-direction: column-reverse;
	justify-content: center;
	height: 640px;
	border-radius: 20px;
	color: #fff;
	box-shadow: rgba(0, 0, 0, 0.3) 5px 5px 5px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.case-study-accordion-slide:first-child .case-study-accordion-media {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	background-color: rgba(14, 22, 32, 0.5);
}

.case-study-slide-title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -100px;
	z-index: 2;
	margin: 0;
	padding: 20px;
	font-weight: 400;
	line-height: 1.2;
	color: #fff;
}

.case-study-slide-content {
	position: relative;
	z-index: 2;
	opacity: 0;
	transition: opacity 1s 0.5s ease;
	padding: 20px;
	color: #fff;
	text-shadow: rgba(0, 0, 0, 0.8) 0 0 3px;
}

.case-study-accordion-slide:first-child .case-study-slide-content {
	opacity: 1;
}

.case-study-slide-content> :last-child {
	margin-bottom: 0;
}

.case-study-accordion-slider .case-study-accordion-controls {
	position: absolute;
	right: 0;
	top: 0;
	display: block;
	height: 100%;
	background: #fff;
}

.case-study-accordion-slider .case-study-accordion-controls .btn {
	background: var(--brass-deep);
	width: 60px;
	height: 80px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
	box-shadow: rgba(0, 0, 0, 0.3) 0 0 5px;
	cursor: pointer;
	transform: translateY(300px);
}

.case-study-accordion-slider .case-study-accordion-controls .btn svg {
	color: #fff;
	width: 50px;
	height: 50px;
}

@media (max-width: 899px) {
	.case-study-accordion-track {
		width: calc(100% - 56px);
	}

	.case-study-accordion-slide {
		flex-basis: calc(40% - 10px);
	}

	.case-study-accordion-slide:first-child {
		flex-basis: calc(60% - 10px);
	}

	.case-study-slide-bg,
	.case-study-accordion-media {
		height: 520px;
	}

	.case-study-accordion-slider .case-study-accordion-controls .btn {
		transform: translateY(220px);
		width: 48px;
		height: 68px;
	}
}

@media (max-width: 780px) {
	.nav-phone {
		margin-right: 60px;
	}
}

@media (max-width: 699px) {
	.case-study-accordion-slider {
		--slide-move: 40%;
	}

	.case-study-accordion-slide {
		flex-basis: calc(55% - 10px);
		padding-bottom: 52px;
	}

	.case-study-accordion-slide:first-child {
		flex-basis: calc(85% - 10px);
	}

	.case-study-slide-bg,
	.case-study-accordion-media {
		height: 420px;
	}

	.case-study-slide-title,
	.case-study-slide-content {
		padding: 16px;
	}

	.case-study-accordion-slider .case-study-accordion-controls .btn {
		transform: translateY(176px);
	}
}

:is(.bg-ink, .bg-dark, .dark-bg) .cluster {
	justify-content: center;
}

.aside-panel {
	background: var(--ink);
	padding: var(--space-4);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	position: sticky;
	top: 1.5rem;
}

.aside-panel .button {
	margin-top: 0.5rem;
}

.entry-content figure img {
	width: 100%;
}

.service-gallery figure {
	background: #fff;
	overflow: hidden;
	margin: 0;
}

.service-gallery img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.posts-list {
	/* Nested row — each post is .col.w-1-2 */
	width: 100%;
}

.posts-list>.post-card {
	/* Override .col default full-width flex-basis below the breakpoint */
	min-width: 0;
}

/* Keep a lone post at half width — don't let flex-grow fill the row */
@media (min-width: 900px) {
	.posts-list>.post-card.w-1-2 {
		flex: 0 1 calc(50% - var(--gutter) / 2);
		max-width: calc(50% - var(--gutter) / 2);
	}
}

.posts-list__pagination {
	flex: 1 1 100%;
}

.post-card a,
.case-study-tile a,
.related-tile a {
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.post-card a {
	height: 100%;
}

.case-study-tile a,
.related-tile a {
	color: inherit;
}

.case-study-tile a:hover h3,
.related-tile a:hover h3 {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.post-card img,
.case-study-tile img,
.related-tile img {
	object-fit: cover;
	object-position: top center;
	width: 100%;
}

.post-card img {
	aspect-ratio: 16 / 9;
	object-position: top center;
}

.case-study-tile img,
.related-tile img {
	aspect-ratio: 16 / 10;
}

.post-card--list a {
	gap: 1rem;
}

.post-card--list .post-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.post-card--list .post-card__meta {
	margin: 0;
	font-size: var(--text-sm);
	color: var(--font-muted);
}

@media (max-width: 899px) {
	.blog-layout .posts-list>.post-card.w-1-2 {
		flex: 1 1 100%;
	}
}

.blog-sidebar {
	gap: var(--space-5);
	position: sticky;
	top: calc(var(--nav-height, 80px) + 1rem);
}

.blog-sidebar__widget {
	padding: 1.25rem;
	background: var(--mist);
	border: 1px solid var(--line);
	width: 100%;
}

.blog-sidebar__title {
	margin: 0 0 0.75rem;
	font-size: var(--text-lg);
}

.blog-search {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.blog-search__input {
	flex: 1 1 8rem;
	min-width: 0;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	font: inherit;
	color: var(--font-color);
}

.blog-search__submit {
	flex: 0 0 auto;
}

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

.blog-sidebar__categories li {
	margin: 0;
	border-bottom: 1px solid var(--line);
}

.blog-sidebar__categories li:last-child {
	border-bottom: 0;
}

.blog-sidebar__categories a {
	display: block;
	padding: 0.55rem 0;
	text-decoration: none;
}

.blog-sidebar__categories a:hover {
	color: var(--brass-deep);
}

@media (max-width: 899px) {
	.blog-sidebar {
		position: static;
	}
}

.case-studies-grid,
.related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 600px) {

	.case-studies-grid,
	.related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {

	.case-studies-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.related-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Footer */
.site-footer {
	color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
	align-items: flex-start;
}

.footer-logo {
	margin-bottom: 1rem;
}

.footer-logo img {
	max-height: 60px;
	width: auto;
}

.footer-tagline {
	max-width: 34ch;
	opacity: 0.8;
	font-size: 0.95rem;
}

.footer-brand .rating {
	margin-top: var(--space-4);
}

.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.footer-menu a {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.95rem;
}

.footer-menu a:hover {
	color: var(--brass-glow);
}

.footer-contact {
	width: 100%;
}

.footer-contact .address {
	margin: 0;
}

.footer-contact a {
	color: #fff;
	text-decoration: none;
}

.footer-legal .container {
	padding-block: 1rem;
	text-align: center;
}

.footer-links {
	margin: 0;
	font-size: 0.82rem;
	text-align: center;
}

.footer-links a {
	color: inherit;
}

@media (max-width: 899px) {
	.footer-grid>.col {
		align-items: center;
		text-align: center;
	}

	.footer-logo {
		justify-content: center;
	}

	.footer-tagline {
		margin-inline: auto;
	}

	.footer-menu {
		align-items: center;
	}

	.footer-contact {
		align-items: center;
	}

	.footer-contact a {
		display: inline-block;
	}

	.footer-brand .rating {
		justify-content: center;
	}
}

/* Site-wide form above footer */
#contact-form {
	scroll-margin-top: var(--nav-height);
}

.contact-info__label {
	display: block;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	margin-bottom: 0.25rem;
}

.contact-info__item p {
	margin: 0;
}

.contact-info .social-media {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.contact-info .social a {
	color: var(--ink) !important;
}

/* Contact page map (above footer) */
.contact-map {
	padding: 0;
	line-height: 0;
}

.contact-map .google-map,
.google-map {
	overflow: hidden;
}

.google-map iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
}

/* Enquiry forms — shared markup (contact-form.php) */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.enquiry-form {
	--form-gap: 0.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: var(--form-gap);
}

.enquiry-form .contact-form-field {
	flex: 1 1 100%;
}

.enquiry-form .contact-form-field--half {
	flex: 1 1 calc(50% - var(--form-gap) / 2);
}

.enquiry-form .contact-form__submit {
	width: 100%;
}

.enquiry-form :where(input, select, textarea) {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid var(--line);
	background: #fff;
	font: inherit;
	color: var(--font-color);
	border-radius: var(--radius);
}

.enquiry-form label {
	font-size: 0.85rem;
	font-weight: 500;
}

.enquiry-form .recaptcha-notice {
	margin: 0.75em 0 0;
	font-size: 0.75em;
	line-height: 1.4;
	opacity: 0.85;
	flex: 1 1 100%;
}

.enquiry-form .recaptcha-notice a {
	text-decoration: underline;
}

.contact-details {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-top: 1rem;
}

/* Hide badge (allowed when Privacy/Terms notice is shown on forms). */
.grecaptcha-badge {
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* About Us — equal-height paragraphs in a 3-column grid */
.about-paragraphs {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 var(--gutter);
	align-items: stretch;
}

.about-paragraphs__item {
	margin: 0;
	height: 100%;
	padding-block: 2rem;
	border-top: 1px solid var(--line);
}

.about-paragraphs__item> :first-child {
	margin-top: 0;
}

.about-paragraphs__item> :last-child {
	margin-bottom: 0;
}

/* 1 column — last item is the last row */
.about-paragraphs__item:last-child {
	border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
	.about-paragraphs {
		grid-template-columns: repeat(2, 1fr);
	}

	/* 2 columns — last 1 or 2 items */
	.about-paragraphs__item:nth-last-child(2):nth-child(odd) {
		border-bottom: 1px solid var(--line);
	}
}

@media (min-width: 900px) {
	.about-paragraphs {
		grid-template-columns: repeat(3, 1fr);
	}

	.about-paragraphs__item {
		border-bottom: none;
	}

	/* 3 columns — last 1, 2, or 3 items */
	.about-paragraphs__item:nth-child(3n+1):nth-last-child(-n+3),
	.about-paragraphs__item:nth-child(3n+2):nth-last-child(-n+2),
	.about-paragraphs__item:nth-child(3n):last-child {
		border-bottom: 1px solid var(--line);
	}
}

/* Strip residual SiteOrigin / panel noise if present in content */
.panel-grid-cell,
.so-panel {
	max-width: 100%;
}

.scroll-to-top {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1.25rem, env(safe-area-inset-bottom));
	z-index: 10000;
	width: 2.75rem;
	height: 2.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	color: #fff;
	background: var(--brass);
	cursor: pointer;
	transition: background 0.25s var(--ease);
}

.scroll-to-top[hidden] {
	display: none;
}

.scroll-to-top:hover {
	background: var(--brass-deep);
}

.scroll-to-top:focus-visible {
	outline: 2px solid var(--brass-glow);
	outline-offset: 3px;
}

.scroll-to-top svg {
	display: block;
}

@media (max-width: 530px) {
	.nav-bar {
		flex-direction: column;
		align-items: start;
		padding-bottom: 0;
	}

	.nav-phone {
		margin-right: 0;
		width: 100%;
		justify-content: center;
	}

	.mobile-menu-toggle {
		right: 20px;
	}
}