/*
Theme Name: OMS
Theme URI: https://www.onlinemarketingsurgery.co.uk/
Author: Online Marketing Surgery Ltd
Author URI: https://www.onlinemarketingsurgery.co.uk/
Description: ACF flexible content theme for Online Marketing Surgery. Company details, branding, colours and tracking are configured under Theme Settings.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: All work © Online Marketing Surgery Ltd. Not for public use.
Text Domain: oms
*/

/* ==========================================================================
   Contents
   1. Fonts and design tokens
   2. Reset and base
   3. Layout primitives: container, sections, headings, buttons
   4. Top bar and header
   5. Navigation: desktop menu, mega menu, mobile drawer
   6. Hero, breadcrumbs, proof bar
   7. Footer and mobile call bar
   8. Forms (Gravity Forms)
   9. Templates: entry content, cards, archive, single, 404
   10. Utilities
   ========================================================================== */

/* 1. Fonts and design tokens ---------------------------------------------- */

@font-face {
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('fonts/archivo-var.woff2') format('woff2-variations'), url('fonts/archivo-var.woff2') format('woff2');
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('fonts/inter-var.woff2') format('woff2-variations'), url('fonts/inter-var.woff2') format('woff2');
}

/*
 * The --c-* tokens are written to :root from Theme Settings > Colours. These
 * aliases give the design a vocabulary on top of them, so the stylesheets
 * talk about "ink" and "amber" rather than token numbers.
 */
:root {
	--ink: var(--c-primary, #14181d);
	--ink-2: #1f242b;
	--ink-3: #2a3038;
	--amber: var(--c-highlight, #e8a317);
	--on-amber: var(--c-on-highlight, #14181d);
	--amber-text: var(--c-accent, #9a6504);
	--amber-text-dark: var(--c-accent-dark, #7e5200);
	--text: var(--c-body, #3a424b);
	--heading: var(--c-ink, #14181d);
	--muted: var(--c-muted, #5b6673);
	--surface: var(--c-surface, #ffffff);
	--tint: #f5f4f0;
	--line: #e4e1da;
	--line-strong: var(--c-border-strong, #6f7985);
	--on-dark: #ffffff;
	--on-dark-muted: #b9c0c8;
	--line-dark: rgba(255, 255, 255, .12);
	--focus: var(--c-focus, #9a6504);

	--font-head: 'Archivo', 'Arial Narrow', Arial, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--section-y: clamp(56px, 8vw, 104px);
	--radius: 6px;
	--radius-lg: 12px;
	--shadow: 0 1px 2px rgba(20, 24, 29, .06), 0 8px 24px rgba(20, 24, 29, .08);
	--shadow-lg: 0 2px 4px rgba(20, 24, 29, .06), 0 20px 48px rgba(20, 24, 29, .16);
	--header-h: 80px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1199px) {
	:root { --header-h: 68px; }
}

/* 2. Reset and base -------------------------------------------------------- */

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

* {
	margin: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

html.has-drawer-open {
	overflow: hidden;
}

body {
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--heading);
	line-height: 1.12;
	letter-spacing: -.015em;
	font-weight: 750;
	text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.625rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); }
h4 { font-size: 1.125rem; }

p,
li {
	text-wrap: pretty;
}

a {
	color: var(--amber-text);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

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

ul,
ol {
	padding: 0;
}

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

button {
	cursor: pointer;
}

address {
	font-style: normal;
}

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

.is-dark :focus-visible,
.oms-topbar :focus-visible,
.oms-footer :focus-visible,
.oms-hero :focus-visible,
.oms-mobile-bar :focus-visible {
	outline-color: var(--amber);
}

::selection {
	background: var(--amber);
	color: var(--on-amber);
}

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

.skip-link:focus {
	clip-path: none;
	width: auto;
	height: auto;
	margin: 0;
	top: 12px;
	left: 12px;
	z-index: 10000;
	padding: 12px 20px;
	background: var(--amber);
	color: var(--on-amber);
	font-weight: 700;
	border-radius: var(--radius);
	text-decoration: none;
}

/* 3. Layout primitives ---------------------------------------------------- */

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

/*
 * Every block is a .blk with a background modifier. Adjacent blocks sharing a
 * background close up, so a heading block followed by a grid reads as one
 * section rather than two.
 */
.blk {
	position: relative;
	padding-block: var(--section-y);
	background: var(--surface);
}

.blk--tint { background: var(--tint); }

.blk--dark,
.is-dark {
	background: var(--ink);
	color: var(--on-dark-muted);
	--heading: var(--on-dark);
	--text: var(--on-dark-muted);
	--muted: var(--on-dark-muted);
	--line: var(--line-dark);
}

.blk--dark a:not(.btn),
.is-dark a:not(.btn) {
	color: var(--amber);
}

.blk--dark a:not(.btn):hover,
.is-dark a:not(.btn):hover {
	color: #fff;
}

.blk--white + .blk--white,
.blk--tint + .blk--tint,
.blk--dark + .blk--dark {
	padding-top: 0;
}

/*
 * A heading block hands its spacing to the block that follows it, but only
 * when they share a background. A dark block after a light heading keeps its
 * full padding, or its content sits hard against the colour change.
 */
.blk--heading.blk--white + .blk--white,
.blk--heading.blk--tint + .blk--tint,
.blk--heading.blk--dark + .blk--dark {
	padding-top: 0;
}

.blk--heading.blk--white:has(+ .blk--white),
.blk--heading.blk--tint:has(+ .blk--tint),
.blk--heading.blk--dark:has(+ .blk--dark) {
	padding-bottom: clamp(32px, 4vw, 48px);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-family: var(--font-head);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--amber-text);
}

.eyebrow::before {
	content: '';
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: var(--amber);
}

.blk--dark .eyebrow,
.is-dark .eyebrow,
.eyebrow--on-dark {
	color: var(--amber);
}

.section-heading {
	max-width: 760px;
	margin-bottom: clamp(32px, 4vw, 56px);
}

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

.section-heading--center .eyebrow {
	justify-content: center;
}

.section-title {
	margin-bottom: 0;
}

.section-intro {
	margin-top: 18px;
	font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
	line-height: 1.6;
	color: var(--text);
}

.section-intro p + p {
	margin-top: 12px;
}

.lead {
	font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
	line-height: 1.6;
}

/* Rich text inside blocks. */
.prose > * + * {
	margin-top: 1em;
}

.prose h3,
.prose h4 {
	margin-top: 1.6em;
}

.prose ul,
.prose ol {
	padding-left: 0;
	list-style: none;
}

.prose ul li,
.prose ol li {
	position: relative;
	padding-left: 30px;
}

.prose ul li + li,
.prose ol li + li {
	margin-top: 10px;
}

.prose ul li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: .3em;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314181d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.prose ol {
	counter-reset: prose-ol;
}

.prose ol li::before {
	counter-increment: prose-ol;
	content: counter(prose-ol);
	position: absolute;
	left: 0;
	top: .1em;
	font-family: var(--font-head);
	font-weight: 800;
	color: var(--amber-text);
}

.prose strong {
	color: var(--heading);
}

/* Buttons. */
.btn,
.gform_wrapper.gform_wrapper .gform_button,
.gform_wrapper.gform_wrapper .gform_next_button,
.gform_wrapper.gform_wrapper .gform_previous_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .005em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn:hover {
	text-decoration: none;
}

.btn--lg {
	min-height: 56px;
	padding: 14px 28px;
	font-size: 1.0625rem;
}

.btn--block {
	display: flex;
	width: 100%;
}

.btn__icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
	flex: none;
}

.btn__icon svg {
	width: 100%;
	height: 100%;
}

.btn:hover .btn__icon:last-child {
	transform: translateX(3px);
}

.btn__icon {
	transition: transform .2s var(--ease);
}

.btn--primary,
.gform_wrapper.gform_wrapper .gform_button,
.gform_wrapper.gform_wrapper .gform_next_button {
	background: var(--amber);
	color: var(--on-amber);
	border-color: var(--amber);
}

.btn--primary:hover,
.gform_wrapper.gform_wrapper .gform_button:hover,
.gform_wrapper.gform_wrapper .gform_next_button:hover {
	background: #f2b632;
	border-color: #f2b632;
	color: var(--on-amber);
	box-shadow: 0 6px 20px rgba(232, 163, 23, .3);
}

.btn--dark {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}

.btn--dark:hover {
	background: var(--ink-3);
	border-color: var(--ink-3);
	color: #fff;
}

.btn--outline,
.gform_wrapper.gform_wrapper .gform_previous_button {
	background: transparent;
	color: var(--heading);
	border-color: var(--line-strong);
}

.btn--outline:hover {
	border-color: var(--heading);
	color: var(--heading);
}

.btn--ghost {
	background: rgba(255, 255, 255, .06);
	color: #fff;
	border-color: rgba(255, 255, 255, .55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--ink);
}

.blk--dark .btn--outline,
.is-dark .btn--outline {
	color: #fff;
	border-color: rgba(255, 255, 255, .55);
}

.blk--dark .btn--outline:hover,
.is-dark .btn--outline:hover {
	border-color: #fff;
	color: #fff;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--heading);
	text-decoration: none;
}

.text-link svg {
	width: 18px;
	height: 18px;
	color: var(--amber-text);
	transition: transform .2s var(--ease);
}

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

.text-link:hover svg {
	transform: translateX(3px);
}

/* Icon chip, used by cards, steps and the proof bar. */
.icon-chip {
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	flex: none;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--amber);
}

.icon-chip svg {
	width: 26px;
	height: 26px;
}

.icon-chip--amber {
	background: var(--amber);
	color: var(--ink);
}

/* 4. Top bar and header --------------------------------------------------- */

.oms-topbar {
	background: var(--ink);
	color: var(--on-dark-muted);
	font-size: .875rem;
}

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

.oms-topbar__note {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-weight: 500;
}

.oms-live-dot {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3ecf6e;
	flex: none;
}

@media (prefers-reduced-motion: no-preference) {
	.oms-live-dot::after {
		content: '';
		position: absolute;
		inset: 0;
		border-radius: 50%;
		background: inherit;
		animation: oms-pulse 2.4s ease-out infinite;
	}
}

@keyframes oms-pulse {
	0% { transform: scale(1); opacity: .7; }
	70%, 100% { transform: scale(3); opacity: 0; }
}

.oms-topbar__links {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-left: auto;
	list-style: none;
}

.oms-topbar__links li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.oms-topbar__icon {
	display: inline-flex;
	width: 16px;
	height: 16px;
	color: var(--amber);
}

.oms-topbar a {
	color: var(--on-dark-muted);
	text-decoration: none;
}

.oms-topbar a:hover {
	color: #fff;
}

.oms-topbar__phone a {
	font-weight: 700;
	color: #fff;
}

.social-icons {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
}

.social-icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: inherit;
	transition: background-color .2s var(--ease), color .2s var(--ease);
}

.social-icon svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.social-icons--top-bar .social-icon {
	width: 28px;
	height: 28px;
}

.oms-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s var(--ease);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.oms-header {
		background: rgba(255, 255, 255, .9);
		-webkit-backdrop-filter: saturate(1.4) blur(14px);
		backdrop-filter: saturate(1.4) blur(14px);
	}
}

.oms-header.is-scrolled {
	box-shadow: 0 6px 24px rgba(20, 24, 29, .08);
}

.admin-bar .oms-header {
	top: 32px;
}

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

.oms-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

.oms-header__logo {
	flex: none;
}

.oms-header__logo img,
.oms-drawer__logo img {
	width: auto;
	height: var(--logo-h, 44px);
	max-height: 44px;
}

@media (max-width: 1199px) {
	.oms-header__logo img,
	.oms-drawer__logo img { max-height: 34px; }
}

.oms-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
}

.oms-icon-button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--heading);
	transition: background-color .2s var(--ease);
}

.oms-icon-button:hover {
	background: var(--tint);
	color: var(--heading);
}

.oms-icon-button svg {
	width: 21px;
	height: 21px;
}

.oms-header__phone {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	padding-left: 16px;
	border-left: 1px solid var(--line);
}

.oms-header__phone-label {
	font-size: .75rem;
	font-weight: 600;
	color: var(--muted);
	letter-spacing: .02em;
}

.oms-header__phone-number {
	font-family: var(--font-head);
	font-size: 1.125rem;
	font-weight: 800;
	color: var(--heading);
	text-decoration: none;
	white-space: nowrap;
}

.oms-header__phone-number:hover {
	color: var(--amber-text);
}

.oms-header__cta {
	white-space: nowrap;
}

@media (max-width: 1279px) {
	.oms-header__phone { display: none; }
}

@media (max-width: 1199px) {
	.oms-header__inner { gap: 12px; }
	.oms-header__cta { display: none; }
	.oms-topbar__email { display: none; }
}

@media (max-width: 767px) {
	/* The sticky call bar carries the number on phones. */
	.oms-topbar__links { display: none; }
	.oms-topbar__inner { justify-content: center; min-height: 36px; }
	.oms-topbar__note { font-size: .8125rem; }
}

/* 5. Navigation ----------------------------------------------------------- */

.oms-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.oms-nav__menu {
	display: flex;
	align-items: stretch;
	list-style: none;
}

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

.oms-nav__menu > li > a {
	display: flex;
	align-items: center;
	min-height: var(--header-h);
	padding: 0 12px;
	font-family: var(--font-head);
	font-size: .96875rem;
	font-weight: 650;
	color: var(--heading);
	text-decoration: none;
	white-space: nowrap;
	position: relative;
}

.oms-nav__menu > li > a::after {
	content: '';
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 18px;
	height: 3px;
	border-radius: 2px;
	background: var(--amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--ease);
}

.oms-nav__menu > li:hover > a::after,
.oms-nav__menu > li.is-open > a::after,
.oms-nav__menu > .current-menu-item > a::after,
.oms-nav__menu > .current-menu-ancestor > a::after,
.oms-nav__menu > .current-menu-parent > a::after {
	transform: scaleX(1);
}

.oms-nav__menu > .menu-item-has-children > a {
	padding-right: 4px;
}

.submenu-toggle {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin-right: 6px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: none;
	color: var(--muted);
}

.submenu-toggle__icon,
.submenu-toggle__icon svg {
	width: 16px;
	height: 16px;
	transition: transform .2s var(--ease);
}

.menu-item.is-open > .submenu-toggle .submenu-toggle__icon svg {
	transform: rotate(180deg);
}

/* Dropdown panels. */
.oms-nav .sub-menu {
	list-style: none;
}

.oms-nav__menu > li > .sub-menu {
	position: absolute;
	top: calc(100% - 8px);
	left: 0;
	min-width: 280px;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-top: 3px solid var(--amber);
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
	z-index: 20;
}

.oms-nav__menu > li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

@media (hover: hover) and (min-width: 1200px) {
	.oms-nav__menu > li:hover > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}
}

.oms-nav .sub-menu a {
	display: block;
	padding: 9px 12px;
	border-radius: var(--radius);
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--heading);
	text-decoration: none;
}

.oms-nav .sub-menu a:hover,
.oms-nav .sub-menu .current-menu-item > a {
	background: var(--tint);
	color: var(--heading);
}

.oms-nav .sub-menu .current-menu-item > a {
	box-shadow: inset 3px 0 0 var(--amber);
}

/* Long single-level lists split into two columns. */
.oms-nav__menu > .menu-item--columns > .sub-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(200px, 1fr));
	column-gap: 4px;
	min-width: 460px;
}

/* Mega menu: the grandchildren are the links, the children are column headings. */
.oms-nav__menu > .menu-item--mega {
	position: static;
}

.oms-nav__menu > .menu-item--mega > .sub-menu {
	left: 50%;
	width: min(920px, calc(100vw - 2 * var(--gutter)));
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px 32px;
	padding: 28px 32px 32px;
	transform: translate(-50%, 8px);
}

.oms-nav__menu > .menu-item--mega.is-open > .sub-menu {
	transform: translate(-50%, 0);
}

@media (hover: hover) and (min-width: 1200px) {
	.oms-nav__menu > .menu-item--mega:hover > .sub-menu {
		transform: translate(-50%, 0);
	}
}

.oms-nav .menu-item--mega > .sub-menu > li > a {
	padding: 0 0 12px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	font-family: var(--font-head);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--amber-text);
	background: none;
	box-shadow: none;
}

.oms-nav .menu-item--mega > .sub-menu > li > a:hover {
	background: none;
	color: var(--amber-text-dark);
	text-decoration: underline;
}

/* Column headings carry no toggle; their lists are always shown inside the panel. */
.oms-nav .menu-item--mega > .sub-menu > li > .submenu-toggle {
	display: none;
}

.oms-nav .menu-item--mega .sub-menu .sub-menu {
	display: grid;
	gap: 2px;
}

/* Mobile: hide the desktop menu, show the burger. */
.oms-burger {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--heading);
}

.oms-burger__bars {
	display: grid;
	gap: 4px;
	width: 20px;
}

.oms-burger__bars span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

@media (max-width: 1199px) {
	.oms-nav { display: none; }
	.oms-burger { display: inline-flex; }
}

@media (max-width: 1239px) and (min-width: 1200px) {
	.oms-nav__menu > li > a { padding: 0 9px; font-size: .9375rem; }
	.oms-nav__menu > li > a::after { left: 9px; right: 9px; }
}

.oms-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	background: #fff;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.oms-drawer[hidden] {
	display: none;
}

@media (prefers-reduced-motion: no-preference) {
	.oms-drawer.is-open {
		animation: oms-drawer-in .22s var(--ease);
	}
}

@keyframes oms-drawer-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}

.oms-drawer__head {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-h);
	padding-inline: var(--gutter);
	background: #fff;
	border-bottom: 1px solid var(--line);
	z-index: 1;
}

.oms-drawer__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--heading);
}

.oms-drawer__nav {
	padding: 8px var(--gutter);
}

.oms-drawer__menu,
.oms-drawer__menu .sub-menu {
	list-style: none;
}

.oms-drawer__menu .menu-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.oms-drawer__menu > .menu-item {
	border-bottom: 1px solid var(--line);
}

.oms-drawer__menu a {
	flex: 1;
	display: block;
	padding: 15px 0;
	font-family: var(--font-head);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--heading);
	text-decoration: none;
}

.oms-drawer__menu .submenu-toggle {
	width: 44px;
	height: 44px;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.oms-drawer__menu .sub-menu {
	display: none;
	flex-basis: 100%;
	padding: 0 0 12px 14px;
	border-left: 2px solid var(--amber);
	margin-bottom: 12px;
}

.oms-drawer__menu .is-open > .sub-menu {
	display: block;
}

.oms-drawer__menu .sub-menu a {
	padding: 10px 0;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 500;
}

.oms-drawer__menu .sub-menu .sub-menu {
	border-left-color: var(--line);
	margin-bottom: 4px;
}

.oms-drawer__foot {
	display: grid;
	gap: 12px;
	margin-top: auto;
	padding: 24px var(--gutter) 32px;
	background: var(--tint);
}

.oms-drawer__email {
	text-align: center;
	color: var(--heading);
}

.oms-drawer__foot .social-icons {
	justify-content: center;
	color: var(--heading);
}

/* 6. Hero, breadcrumbs, proof bar ----------------------------------------- */

.oms-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: clamp(420px, 52vw, 560px);
	padding-block: clamp(48px, 7vw, 88px);
	background: var(--ink);
	color: #fff;
	overflow: hidden;
}

.oms-hero--home {
	min-height: clamp(560px, 78vh, 760px);
	align-items: center;
	padding-bottom: clamp(96px, 10vw, 140px);
}

.oms-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.oms-hero__media img,
.oms-hero__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
}

/* Darken towards the text side and the bottom, leaving the photograph readable on the right. */
.oms-hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(var(--c-primary-rgb, 20, 24, 29), .94) 0%, rgba(var(--c-primary-rgb, 20, 24, 29), .82) 38%, rgba(var(--c-primary-rgb, 20, 24, 29), .35) 75%, rgba(var(--c-primary-rgb, 20, 24, 29), .2) 100%),
		linear-gradient(0deg, rgba(var(--c-primary-rgb, 20, 24, 29), .7) 0%, transparent 45%);
}

@media (max-width: 767px) {
	.oms-hero__media::after {
		background: linear-gradient(0deg, rgba(var(--c-primary-rgb, 20, 24, 29), .95) 10%, rgba(var(--c-primary-rgb, 20, 24, 29), .72) 100%);
	}
}

.oms-hero__inner {
	position: relative;
}

.oms-hero__content {
	max-width: 720px;
}

.oms-hero--home .oms-hero__content {
	max-width: 780px;
}

.oms-hero__title {
	color: #fff;
}

.oms-hero--home .oms-hero__title {
	font-size: clamp(2.5rem, 5.6vw, 4.5rem);
	line-height: 1.04;
}

.oms-hero__lead {
	margin-top: 20px;
	max-width: 620px;
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	line-height: 1.6;
	color: #dfe3e8;
}

.oms-hero__lead p + p {
	margin-top: 10px;
}

.oms-hero .btn-row {
	margin-top: 36px;
}

.hero-video-toggle {
	position: absolute;
	right: var(--gutter);
	bottom: 24px;
	min-height: 36px;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 999px;
	background: rgba(0, 0, 0, .4);
	color: #fff;
	font-size: .8125rem;
}

@media (prefers-reduced-motion: reduce) {
	.hero-video { display: none; }
}

.breadcrumbs {
	margin-bottom: 28px;
	font-size: .875rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
}

.breadcrumbs li {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #dfe3e8;
}

.breadcrumbs li + li::before {
	content: '/';
	color: rgba(255, 255, 255, .45);
}

.breadcrumbs a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .4);
}

.breadcrumbs a:hover {
	color: var(--amber);
	text-decoration-color: currentColor;
}

/* Proof bar. On the home page it overlaps the hero as a floating panel. */
.oms-proof {
	position: relative;
	z-index: 2;
	background: var(--ink-2);
	color: #fff;
}

.oms-proof--home {
	background: transparent;
	margin-top: calc(-1 * clamp(56px, 6vw, 76px));
}

.oms-proof__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	list-style: none;
}

.oms-proof--home .oms-proof__list {
	background: var(--surface);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}

.oms-proof__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px 24px;
}

.oms-proof__item + .oms-proof__item {
	border-left: 1px solid var(--line-dark);
}

.oms-proof--home .oms-proof__item + .oms-proof__item {
	border-left-color: var(--line);
}

.oms-proof__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: var(--radius);
	background: rgba(232, 163, 23, .14);
	color: var(--amber);
}

.oms-proof--home .oms-proof__icon {
	background: var(--ink);
}

.oms-proof__icon svg {
	width: 24px;
	height: 24px;
}

.oms-proof__text {
	display: grid;
	line-height: 1.3;
	font-size: .875rem;
	color: var(--on-dark-muted);
}

.oms-proof__text strong {
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 750;
	color: #fff;
}

.oms-proof--home .oms-proof__text {
	color: var(--muted);
}

.oms-proof--home .oms-proof__text strong {
	color: var(--heading);
}

@media (max-width: 1023px) {
	.oms-proof__list { grid-template-columns: repeat(2, 1fr); }
	.oms-proof__item:nth-child(3) { border-left: 0; }
	.oms-proof__item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
	.oms-proof--home .oms-proof__item:nth-child(n+3) { border-top-color: var(--line); }
}

@media (max-width: 559px) {
	.oms-proof__list { grid-template-columns: 1fr; }
	.oms-proof__item + .oms-proof__item { border-left: 0; border-top: 1px solid var(--line-dark); }
	.oms-proof--home .oms-proof__item + .oms-proof__item { border-top-color: var(--line); }
	.oms-proof__item { padding: 16px 20px; }
}

/* 7. Footer and mobile call bar ------------------------------------------- */

.oms-footer {
	border-top: 3px solid var(--amber);
	background: var(--c-footer-bg, var(--ink));
	color: var(--on-dark-muted);
	font-size: .9375rem;
}

.oms-footer a {
	color: var(--on-dark-muted);
	text-decoration: none;
}

.oms-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.oms-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	padding-block: 64px 48px;
	border-bottom: 1px solid var(--line-dark);
}

.oms-footer__logo img {
	width: auto;
	height: 40px;
}

.oms-footer__intro {
	max-width: 440px;
	margin-top: 20px;
}

.oms-footer__brand .social-icons {
	margin-top: 20px;
	color: #fff;
}

.oms-footer__brand .social-icon {
	border: 1px solid var(--line-dark);
}

.oms-footer__brand .social-icon:hover {
	background: var(--amber);
	border-color: var(--amber);
	color: var(--ink);
}

.oms-footer__heading {
	margin-bottom: 18px;
	font-family: var(--font-head);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--amber);
}

.accred-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
}

.accred-logos__item {
	display: grid;
	justify-items: center;
	gap: 6px;
}

.accred-logos__item img {
	width: auto;
	height: 72px;
	padding: 8px;
	border-radius: var(--radius);
	background: #fff;
	object-fit: contain;
}

.accred-logos__cert {
	font-size: .75rem;
}

.oms-footer__small {
	margin-top: 14px;
	font-size: .8125rem;
}

.oms-footer__columns {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: 40px;
	padding-block: 48px 56px;
}

.oms-footer__col p + p {
	margin-top: 8px;
}

.oms-footer__phone a {
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 800;
	color: #fff;
}

.oms-footer__label {
	display: block;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.oms-footer__address {
	margin-top: 16px;
	line-height: 1.6;
}

.oms-footer__menu {
	display: grid;
	gap: 10px;
	list-style: none;
}

.opening-times__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.opening-times dd {
	color: #fff;
}

.oms-footer__bottom {
	border-top: 1px solid var(--line-dark);
	background: rgba(0, 0, 0, .2);
	font-size: .8125rem;
}

.oms-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding-block: 20px;
}

.oms-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
}

.oms-footer__credit {
	flex-basis: 100%;
	padding-top: 12px;
	border-top: 1px solid var(--line-dark);
}

.oms-footer .oms-footer__credit a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--amber);
}

.oms-footer .oms-footer__credit a:hover {
	color: var(--amber);
}

.oms-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	list-style: none;
}

@media (max-width: 1023px) {
	.oms-footer__top { grid-template-columns: 1fr; gap: 36px; }
	.oms-footer__columns { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 559px) {
	.oms-footer__columns { grid-template-columns: 1fr; gap: 32px; }
}

/* Sticky Call and Quote bar on phones. */
.oms-mobile-bar {
	display: none;
}

@media (max-width: 767px) {
	.oms-mobile-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 800;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: var(--ink);
		box-shadow: 0 -6px 20px rgba(0, 0, 0, .2);
	}

	.oms-mobile-bar .btn {
		min-height: 48px;
		padding-inline: 12px;
	}

	body.has-mobile-bar {
		padding-bottom: calc(68px + env(safe-area-inset-bottom));
	}

	body.has-mobile-bar .scroll-to-top {
		bottom: calc(84px + env(safe-area-inset-bottom));
	}
}

.scroll-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 700;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: var(--ink);
	color: var(--amber);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}

.scroll-to-top.show {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.scroll-to-top svg {
	width: 22px;
	height: 22px;
}

/* 8. Forms (Gravity Forms) ----------------------------------------------- */

.gform_wrapper.gform_wrapper {
	--gf-ctrl-border-color: var(--line-strong);
	--gf-ctrl-border-color-focus: var(--focus);
	--gf-color-primary: var(--amber-text);
	--gf-ctrl-radius: var(--radius);
	--gf-radius: var(--radius);
	margin: 0;
}

.gform_wrapper.gform_wrapper .gform_fields {
	row-gap: 20px;
	column-gap: 16px;
}

.gform_wrapper.gform_wrapper .gfield_label,
.gform_wrapper.gform_wrapper .gform-field-label {
	margin-bottom: 6px;
	font-family: var(--font-body);
	font-size: .9375rem;
	font-weight: 600;
	color: var(--heading);
}

.gform_wrapper.gform_wrapper .gfield_required {
	color: #b42318;
	font-weight: 500;
}

.gform_wrapper.gform_wrapper .gfield_description {
	font-size: .875rem;
	color: var(--muted);
}

.gform_wrapper.gform_wrapper input[type="checkbox"] {
	width: 22px;
	height: 22px;
	accent-color: var(--ink);
}

.gform_wrapper.gform_wrapper .gfield_consent_description,
.gform_wrapper.gform_wrapper .gfield_consent_label {
	font-size: .875rem;
}

.gform_wrapper.gform_wrapper .gfield_consent_description {
	max-height: none;
	overflow: visible;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--tint);
}

.gform_wrapper.gform_wrapper .gform_footer {
	margin-top: 24px;
	padding: 0;
}

.gform_wrapper.gform_wrapper .gform_button {
	width: 100%;
	min-height: 54px;
	font-size: 1.0625rem;
}

.gform_wrapper.gform_wrapper .validation_message,
.gform_wrapper.gform_wrapper .gfield_validation_message {
	color: #b42318;
	font-size: .875rem;
}

/* 9. Templates ------------------------------------------------------------ */

.site-main {
	display: block;
}

.no-hero .site-main > .site-content > :first-child:not(.blk) {
	padding-top: clamp(40px, 6vw, 72px);
}

.page-header-plain {
	padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px);
	background: var(--tint);
	border-bottom: 1px solid var(--line);
}

.page-header-plain .breadcrumbs li,
.page-header-plain .breadcrumbs a {
	color: var(--muted);
}

.page-header-plain .breadcrumbs li + li::before {
	color: var(--line-strong);
}

.page-header-plain .breadcrumbs a:hover {
	color: var(--amber-text);
}

.page-title {
	margin-bottom: 0;
}

.page-content,
.single-entry {
	padding-block: clamp(40px, 6vw, 80px);
}

.entry-content {
	max-width: 760px;
}

.entry-content > * + *,
.single-entry__content > * + * {
	margin-top: 1.1em;
}

.entry-content h2,
.single-entry__content h2 {
	margin-top: 1.6em;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.entry-content h3,
.single-entry__content h3 {
	margin-top: 1.4em;
}

.entry-content ul,
.entry-content ol,
.single-entry__content ul,
.single-entry__content ol {
	padding-left: 1.4em;
}

.entry-content li + li,
.single-entry__content li + li {
	margin-top: .4em;
}

.entry-content blockquote,
.single-entry__content blockquote {
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--amber);
	font-size: 1.125rem;
	color: var(--heading);
}

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

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

/* Archive and blog listings. */
.archive-header {
	padding-block: clamp(40px, 6vw, 72px) 24px;
}

.archive-description {
	max-width: 720px;
	margin-top: 12px;
}

.post-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 24px;
	padding-bottom: clamp(56px, 8vw, 96px);
	list-style: none;
}

.content-card,
.post-list > article {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}

.post-list > article:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-2px);
}

.content-card__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.content-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 26px;
}

.content-card__meta {
	font-size: .8125rem;
	color: var(--muted);
}

.content-card__title {
	font-size: 1.25rem;
}

.content-card__link {
	color: var(--heading);
	text-decoration: none;
}

.content-card__link::after {
	content: '';
	position: absolute;
	inset: 0;
}

.content-card__excerpt {
	font-size: .9375rem;
}

.nav-links,
.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-bottom: 64px;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--heading);
	text-decoration: none;
}

.page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

/* Single post fallback (no flexible content). */
.single-entry__header {
	max-width: 820px;
	margin-bottom: 32px;
}

.single-entry__meta {
	margin-top: 12px;
}

.single-entry__header:has(.single-entry__title) .single-entry__meta {
	margin-top: 20px;
}

.single-entry .breadcrumbs li,
.single-entry .breadcrumbs a {
	color: var(--muted);
}

.single-entry .breadcrumbs li + li::before {
	color: var(--line-strong);
}

.single-entry__media img {
	width: 100%;
	border-radius: var(--radius-lg);
	margin-bottom: 40px;
}

.single-entry__content {
	max-width: 760px;
}

.single-entry__cta {
	max-width: 760px;
	margin-top: 48px;
	padding: 32px;
	border-top: 4px solid var(--amber);
	border-radius: var(--radius-lg);
	background: var(--tint);
}

/* 404 and no results. */
.error-404,
.no-results {
	padding-block: clamp(64px, 10vw, 128px);
}

.error-404 > *,
.no-results > * {
	max-width: 760px;
}

.error-404 .page-title,
.no-results .page-title {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	margin-bottom: 16px;
}

.error-404-links ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 32px;
	list-style: none;
}

.error-404-links a {
	display: inline-flex;
	padding: 10px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--heading);
	text-decoration: none;
}

.error-404-links a:hover {
	border-color: var(--amber);
	background: var(--tint);
}

.error-404-contact {
	margin-top: 32px;
}

/* Generic search form. */
.search-form {
	display: flex;
	max-width: 560px;
	margin-top: 24px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: #fff;
	overflow: hidden;
}

.search-form:focus-within {
	border-color: var(--focus);
	box-shadow: 0 0 0 3px rgba(154, 101, 4, .25);
}

.search-form .search-field {
	flex: 1;
	min-width: 0;
	min-height: 52px;
	padding: 0 16px;
	border: 0;
	background: none;
	font-size: 1rem;
}

.search-form .search-field:focus {
	outline: none;
}

.search-form .search-submit {
	display: grid;
	place-items: center;
	min-width: 56px;
	padding: 0 20px;
	font-family: var(--font-head);
	font-weight: 700;
	border: 0;
	background: var(--amber);
	color: var(--on-amber);
}

.search-form .search-submit img {
	width: 20px;
	height: 20px;
	filter: brightness(0);
}

/* 10. Utilities ------------------------------------------------------------ */

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

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
