/*
Theme Name: Safeguard
Theme URI: https://www.safeguardpss.com
Author: Content Powered
Author URI: https://www.contentpowered.com
Description: Custom WordPress theme for Safeguard Private Security Services. Designed and developed by Content Powered.
Version: 2.16.6
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: Proprietary
Text Domain: safeguard
Tags: custom, blog, custom-menu, custom-logo, featured-images
*/

/* ==========================================================================
   1. Fonts & design tokens
   ========================================================================== */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	/* Brand */
	--sg-red: #a3171e;
	--sg-red-cta: #a8141b;
	--sg-red-cta-hover: #8c1117;
	--sg-red-on-dark: #e24a4e;
	--sg-ink: #111111;
	--sg-paper: #f4f5f7;
	--sg-white: #ffffff;
	--sg-star: #d9a21b;

	/* Text & lines */
	--sg-text: rgba(17, 17, 17, 0.84);
	--sg-text-soft: rgba(17, 17, 17, 0.84);
	--sg-text-muted: rgba(17, 17, 17, 0.6);
	--sg-line: rgba(17, 17, 17, 0.13);
	--sg-line-soft: rgba(17, 17, 17, 0.06);
	--sg-photo-bg: #d9dce0;

	/* Type */
	--sg-font: "Inter", Arial, sans-serif;

	/* Layout */
	--sg-container: 1200px;
	--sg-container-narrow: 900px;
	--sg-gutter: 32px;
	--sg-gap: 40px;
	--sg-sec: 84px;
	--sg-header-height: 76px;

	/* Misc */
	--sg-radius: 6px;
	--sg-radius-lg: 16px;
}

@media (max-width: 1024px) {
	:root {
		--sg-header-height: 66px;
	}
}

@media (max-width: 1020px) {
	:root {
		--sg-gap: 32px;
		--sg-sec: 72px;
	}
}

@media (max-width: 860px) {
	:root {
		--sg-gap: 20px;
		--sg-sec: 60px;
	}
}

@media (max-width: 600px) {
	:root {
		--sg-gutter: 16px;
		--sg-sec: 52px;
	}
}

/* ==========================================================================
   2. Reset
   ========================================================================== */

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

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

html,
body {
	overflow-x: clip;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
	margin: 0;
}

/* :where() keeps this at zero specificity so component classes can set margins */
:where(ul[class], ol[class]) {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

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

button {
	cursor: pointer;
}

table {
	border-collapse: collapse;
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================================
   3. Base typography
   ========================================================================== */

body {
	font-family: var(--sg-font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--sg-text);
	background: var(--sg-paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sg-font);
	font-optical-sizing: auto;
	color: var(--sg-ink);
}

h1,
h2 {
	font-weight: 700;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.05; }
h2 { font-size: 58px; line-height: 1.04; }
h3 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 18px; line-height: 1.35; font-weight: 600; }

p {
	margin: 0 0 20px;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--sg-ink);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color 0.2s ease;
}

a:hover,
a:focus {
	color: var(--sg-red);
}

/* Lucide icons from safeguard_icon(); components set their own size and colour */
.icon {
	flex: 0 0 auto;
	width: 1.25em;
	height: 1.25em;
}

/* Inline links in body copy: thin red underline */
.copy a:not([class]) {
	color: var(--sg-ink);
	font-weight: 500;
	text-decoration: none;
	box-shadow: inset 0 -1px 0 rgba(163, 23, 30, 0.55);
	transition: color 0.2s ease, box-shadow 0.2s ease;
}

.copy a:not([class]):hover,
.copy a:not([class]):focus {
	color: var(--sg-red);
	box-shadow: inset 0 -1px 0 var(--sg-red);
}

:focus-visible {
	outline: 2px solid var(--sg-red-on-dark);
	outline-offset: 3px;
}

code,
kbd,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

pre {
	overflow-x: auto;
	padding: 16px;
	background: var(--sg-white);
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius);
}

hr {
	border: 0;
	border-top: 1px solid var(--sg-line);
	margin: 48px 0;
}

@media (max-width: 1280px) { h2 { font-size: 52px; } }
@media (max-width: 1100px) { h2 { font-size: 48px; } }
@media (max-width: 1020px) { h2 { font-size: 46px; } }
@media (max-width: 860px)  { h2 { font-size: 40px; } }
@media (max-width: 600px)  { body { font-size: 16px; } h2 { font-size: 32px; line-height: 1.1; } }
@media (max-width: 380px)  { h2 { font-size: 28px; } }

/* ==========================================================================
   4. Layout
   ========================================================================== */

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1;
}

.container {
	width: 100%;
	max-width: var(--sg-container);
	margin: 0 auto;
	padding: 0 var(--sg-gutter);
}

.container--narrow {
	max-width: var(--sg-container-narrow);
}

.grid-12 {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--sg-gap);
	align-items: start;
}

.sec {
	padding: var(--sg-sec) 0;
}

.sec--white {
	background: var(--sg-white);
}

.sec + .sec {
	border-top: 1px solid var(--sg-line-soft);
}

.sec-head {
	margin-bottom: 48px;
	text-align: center;
}

.sec-head h2 + p {
	max-width: 820px;
	margin: 18px auto 0;
	font-size: 19px;
	line-height: 1.6;
	color: var(--sg-text-soft);
	text-wrap: balance;
}

@media (max-width: 860px) {
	.sec-head {
		margin-bottom: 40px;
	}

	.sec-head h2 + p {
		font-size: 17px;
	}
}

/* Blog & inner pages */
.page-body {
	padding: 64px 0 var(--sg-sec);
}

.content-sidebar {
	display: grid;
	gap: 56px;
}

@media (min-width: 1021px) {
	.content-sidebar {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
}

/* ==========================================================================
   5. Accessibility
   ========================================================================== */

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

.screen-reader-text:focus {
	background: var(--sg-white);
	clip: auto !important;
	clip-path: none;
	color: var(--sg-ink);
	display: block;
	font-weight: 700;
	height: auto;
	left: 8px;
	padding: 16px 24px;
	top: 8px;
	width: auto;
	z-index: 100000;
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 17px 28px;
	border: 1.5px solid transparent;
	border-radius: var(--sg-radius);
	font: 600 16px/1 var(--sg-font);
	text-decoration: none;
	cursor: pointer;
	transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.btn svg {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
}

.btn--primary,
.btn--primary:visited {
	background: var(--sg-red-cta);
	color: var(--sg-white);
	box-shadow: 0 4px 18px rgba(17, 17, 17, 0.16);
}

.btn--primary:hover,
.btn--primary:focus {
	background: var(--sg-red-cta-hover);
	color: var(--sg-white);
	box-shadow: 0 10px 26px rgba(17, 17, 17, 0.2);
}

.btn--outline,
.btn--outline:visited {
	background: transparent;
	color: var(--sg-ink);
	border-color: rgba(17, 17, 17, 0.22);
}

.btn--outline:hover,
.btn--outline:focus {
	background: rgba(17, 17, 17, 0.03);
	color: var(--sg-ink);
	border-color: var(--sg-ink);
}

/* White outline, on dark backgrounds */
.btn--ghost,
.btn--ghost:visited {
	background: transparent;
	color: var(--sg-white);
	border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover,
.btn--ghost:focus {
	background: rgba(255, 255, 255, 0.08);
	color: var(--sg-white);
	border-color: var(--sg-white);
}

.btn--sm {
	padding: 13px 20px;
	font-size: 15px;
}

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

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.cta-row--center {
	justify-content: center;
	margin-top: 40px;
}

@media (max-width: 600px) {
	.cta-row {
		flex-direction: column;
		margin-top: 28px;
	}

	.cta-row .btn,
	.btn-row .btn {
		width: 100%;
	}
}

/* ==========================================================================
   7. Forms (base + Formidable)
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="password"],
textarea,
select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid rgba(17, 17, 17, 0.2);
	border-radius: var(--sg-radius);
	background: var(--sg-white);
	color: var(--sg-ink);
	font: 400 15px/1.4 var(--sg-font);
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--sg-ink);
	outline: none;
}

button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 18px 28px;
	border: 0;
	border-radius: var(--sg-radius);
	background: var(--sg-red-cta);
	color: var(--sg-white);
	font: 600 16px/1 var(--sg-font);
	box-shadow: 0 4px 18px rgba(17, 17, 17, 0.16);
	transition: background 0.25s ease, box-shadow 0.25s ease;
}

button[type="submit"]:hover,
input[type="submit"]:hover {
	background: var(--sg-red-cta-hover);
	box-shadow: 0 10px 26px rgba(17, 17, 17, 0.2);
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form .search-submit {
	padding: 0 20px;
	box-shadow: none;
}

/* Formidable: the quote form has Formidable's own styling turned off, so these rules style it */
.frm_forms .frm_fields_container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 12px;
}

.frm_forms fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.frm_forms .frm_form_field {
	grid-column: 1 / -1;
	margin-bottom: 12px;
}

.frm_forms .frm_half {
	grid-column: span 1;
}

.frm_forms .frm_primary_label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--sg-text);
}

.frm_forms .frm_required {
	color: var(--sg-red);
}

.frm_forms textarea {
	height: 64px;
	resize: vertical;
}

.frm_forms .frm_submit {
	grid-column: 1 / -1;
	margin-top: 4px;
}

.frm_forms .frm_submit button {
	width: 100%;
}

.frm_forms .frm_error,
.frm_forms .frm_error_style {
	margin-top: 4px;
	font-size: 13px;
	color: var(--sg-red);
}

.frm_forms .frm_error_style {
	grid-column: 1 / -1;
	margin: 0 0 12px;
}

.frm_forms .frm_blank_field input,
.frm_forms .frm_blank_field select,
.frm_forms .frm_blank_field textarea {
	border-color: var(--sg-red);
}

.frm_message {
	padding: 16px;
	border-radius: var(--sg-radius);
	background: rgba(6, 118, 71, 0.08);
	color: #065f3b;
	font-weight: 500;
}

/* Formidable's honeypot: its container has no class and Formidable's script hides it, so hide it here too
   (as Formidable does), or with JS off its label shows and its input widens the page */
.frm_forms div:has(> .frm_verify) {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}

.frm_screen_reader,
.frm_hidden,
.frm_verify {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

/* iOS Safari zooms into inputs under 16px on focus */
@media (max-width: 860px) {
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="url"],
	input[type="number"],
	input[type="search"],
	input[type="password"],
	textarea,
	select {
		font-size: 16px;
	}
}

@media (max-width: 600px) {
	.frm_forms .frm_half {
		grid-column: 1 / -1;
	}
}

/* ==========================================================================
   8. Header & navigation
   ========================================================================== */

/* Frosted white bar; once the page scrolls (js/main.js) it turns solid, slims down and casts a soft shadow */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid rgba(24, 24, 27, 0.09);
	transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 6px 24px -10px rgba(17, 17, 17, 0.18);
}

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

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

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

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	height: var(--sg-header-height);
	transition: height 0.25s ease;
}

.site-branding {
	flex: 0 0 auto;
}

.site-branding a {
	display: block;
	text-decoration: none;
}

.site-logo {
	width: auto;
	height: 58px;
	transition: height 0.25s ease;
}

.site-title {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--sg-ink);
}

/* Desktop menu: centred between the logo and the buttons */
.primary-nav {
	margin: 0 auto;
}

.primary-nav__menu {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav__menu > li {
	position: relative;
}

/* Top-level links and dropdown buttons, with a red underline on hover */
.nav-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 44px;
	padding: 0 14px;
	border: 0;
	background: none;
	color: var(--sg-ink);
	font: 500 15.5px/1 var(--sg-font);
	letter-spacing: -0.005em;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.15s ease;
}

.nav-link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 6px;
	height: 2px;
	border-radius: 2px;
	background: var(--sg-red);
	transform: scaleX(0);
	transition: transform 0.22s ease;
}

.nav-dd > .nav-link::after {
	right: 32px;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-dd.is-open > .nav-link {
	color: var(--sg-red);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.nav-dd.is-open > .nav-link::after {
	transform: scaleX(1);
}

.nav-link .icon {
	width: 12px;
	height: 12px;
	stroke-width: 2.5;
	opacity: 0.7;
	transition: transform 0.2s ease;
}

.nav-dd.is-open > .nav-link .icon {
	opacity: 1;
	transform: rotate(180deg);
}

/* A dropdown whose label links to its page: the label, then the chevron as its own button */
.nav-dd--link {
	display: flex;
	align-items: center;
}

.nav-dd--link > .nav-link {
	padding-right: 2px;
}

.nav-dd--link > .nav-link::after {
	right: 2px;
}

.nav-dd__toggle {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 14px 0 6px;
	border: 0;
	background: none;
	color: var(--sg-ink);
	cursor: pointer;
	transition: color 0.15s ease;
}

.nav-dd__toggle .icon {
	width: 12px;
	height: 12px;
	stroke-width: 2.5;
	opacity: 0.7;
	transition: transform 0.2s ease;
}

.nav-dd__toggle:hover,
.nav-dd.is-open > .nav-dd__toggle {
	color: var(--sg-red);
}

.nav-dd.is-open > .nav-dd__toggle .icon {
	opacity: 1;
	transform: rotate(180deg);
}

/* Dropdown panel, with an invisible bridge so the pointer can cross the gap */
.nav-panel {
	position: absolute;
	top: calc(100% + 14px);
	left: 0;
	display: flex;
	flex-direction: column;
	min-width: 290px;
	padding: 8px;
	background: var(--sg-white);
	border: 1px solid rgba(24, 24, 27, 0.09);
	border-radius: 14px;
	box-shadow: 0 24px 48px -12px rgba(17, 17, 17, 0.22), 0 2px 6px rgba(17, 17, 17, 0.04);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
}

.nav-panel::before {
	content: "";
	position: absolute;
	top: -16px;
	left: 0;
	right: 0;
	height: 16px;
}

.nav-dd.is-open > .nav-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	transition: opacity 0.16s ease, transform 0.16s ease;
}

/* Each item slides in a small arrow on hover */
.nav-panel__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 14px;
	border-radius: 9px;
	color: var(--sg-ink);
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.5;
	white-space: nowrap;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.nav-panel__item::after {
	content: "";
	width: 7px;
	height: 7px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	opacity: 0;
	transform: translateX(-4px) rotate(45deg);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-panel__item:hover,
.nav-panel__item:focus-visible,
.nav-panel__item[aria-current="page"] {
	background: #f4f4f5;
	color: var(--sg-red);
}

.nav-panel__item:hover::after,
.nav-panel__item:focus-visible::after {
	opacity: 1;
	transform: translateX(0) rotate(45deg);
}

.nav-panel__all {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 6px 0 0;
	padding: 12px 14px 6px;
	border-top: 1px solid rgba(24, 24, 27, 0.09);
	color: var(--sg-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
	text-decoration: none;
}

.nav-panel__all:hover,
.nav-panel__all:focus-visible {
	color: var(--sg-red);
}

/* Get a Quote and the call button */
.header-actions {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 10px;
}

.header-quote {
	display: inline-flex;
	align-items: center;
	height: 46px;
	padding: 0 14px;
	border-radius: 10px;
	color: var(--sg-ink);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.header-quote:hover,
.header-quote:focus-visible {
	background: #f4f4f5;
	color: var(--sg-red);
}

.header-call.btn {
	gap: 9px;
	height: 46px;
	padding: 0 20px 0 18px;
	border-radius: 10px;
	font-size: 15.5px;
	letter-spacing: -0.005em;
	box-shadow: none;
}

.header-call.btn:hover {
	box-shadow: none;
}

.header-call .icon {
	width: 16px;
	height: 16px;
}

/* Menu button (tablets and phones): three bars that turn into an X */
.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--sg-ink);
	cursor: pointer;
	transition: background 0.15s ease;
}

.menu-toggle:hover {
	background: #f4f4f5;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.22s ease, background 0.22s ease, width 0.22s ease;
}

.menu-toggle__bars {
	position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
	content: "";
	position: absolute;
	right: 0;
}

.menu-toggle__bars::before {
	top: -6px;
}

.menu-toggle__bars::after {
	top: 6px;
	width: 14px;
}

.menu-open .menu-toggle__bars {
	background: transparent;
}

.menu-open .menu-toggle__bars::before {
	transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle__bars::after {
	width: 20px;
	transform: translateY(-6px) rotate(-45deg);
}

/* The drawer and its scrim only exist below the desktop layout */
.menu-scrim,
.mobile-menu {
	display: none;
}

@media (min-width: 1025px) {
	.site-header.is-scrolled {
		--sg-header-height: 64px;
	}

	.is-scrolled .site-logo {
		height: 46px;
	}
}

@media (max-width: 1280px) {
	.header-quote {
		display: none;
	}
}

@media (max-width: 1180px) {
	.primary-nav__menu {
		gap: 2px;
	}

	.nav-link {
		padding: 0 9px;
		font-size: 14.5px;
	}

	.nav-link::after {
		left: 9px;
		right: 9px;
	}

	.nav-dd > .nav-link::after {
		right: 27px;
	}

	.nav-dd--link > .nav-link {
		padding-right: 2px;
	}

	.nav-dd--link > .nav-link::after {
		right: 2px;
	}

	.nav-dd__toggle {
		padding: 0 9px 0 5px;
	}
}

@media (max-width: 1024px) {
	.site-header,
	.site-header.is-scrolled {
		background: var(--sg-white);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.site-header__inner {
		gap: 12px;
	}

	.site-logo {
		height: 44px;
	}

	.primary-nav {
		display: none;
	}

	.header-actions {
		margin-left: auto;
		gap: 6px;
	}

	.header-call.btn {
		gap: 8px;
		height: 44px;
		padding: 0 16px 0 14px;
		font-size: 15px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	/* The drawer slides in from the right, under the header, over a dimmed page */
	.menu-scrim {
		display: block;
		position: fixed;
		top: var(--drawer-top, var(--sg-header-height));
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(17, 17, 17, 0.38);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s ease, visibility 0s linear 0.25s;
	}

	.mobile-menu {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: var(--drawer-top, var(--sg-header-height));
		right: 0;
		bottom: 0;
		width: min(420px, 100%);
		padding: 8px 24px 24px;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--sg-white);
		box-shadow: -20px 0 40px -20px rgba(17, 17, 17, 0.25);
		visibility: hidden;
		transform: translateX(100%);
		transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.3s;
	}

	.menu-open .menu-scrim {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.25s ease;
	}

	.menu-open .mobile-menu {
		visibility: visible;
		transform: none;
		transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
	}

	.mobile-menu__nav details,
	.mobile-menu__link {
		border-bottom: 1px solid rgba(24, 24, 27, 0.09);
	}

	.mobile-menu__nav summary,
	.mobile-menu__link {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 60px;
		color: var(--sg-ink);
		font-size: 19px;
		font-weight: 600;
		letter-spacing: -0.01em;
		text-decoration: none;
		list-style: none;
		cursor: pointer;
	}

	.mobile-menu__nav summary::-webkit-details-marker {
		display: none;
	}

	.mobile-menu__nav summary .icon {
		width: 16px;
		height: 16px;
		transition: transform 0.2s ease;
	}

	.mobile-menu__nav details[open] summary .icon {
		transform: rotate(180deg);
	}

	.mobile-menu__link[aria-current="page"] {
		color: var(--sg-red);
	}

	.mobile-menu__sub {
		display: flex;
		flex-direction: column;
		padding: 0 0 12px;
	}

	.mobile-menu__sub a {
		display: flex;
		align-items: center;
		min-height: 46px;
		padding: 0 12px;
		border-radius: 9px;
		color: #3f3f46;
		font-size: 16.5px;
		text-decoration: none;
	}

	.mobile-menu__sub a:hover,
	.mobile-menu__sub a:active,
	.mobile-menu__sub a[aria-current="page"] {
		background: #f4f4f5;
		color: var(--sg-red);
	}

	.mobile-menu__sub .mobile-menu__all {
		font-weight: 600;
		color: var(--sg-ink);
	}

	.mobile-menu__cta {
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin-top: auto;
		padding-top: 28px;
	}

	.mobile-menu__cta .btn {
		height: 54px;
		border-radius: 12px;
		font-size: 17px;
	}

	.mobile-menu__note {
		margin: 12px 0 0;
		font-size: 13px;
		text-align: center;
		color: #71717a;
	}

	/* Keep the page behind the open drawer from scrolling. The class goes on <html>, not <body>:
	   overflow-x: clip on <html> stops a body overflow from reaching the viewport, so locking
	   the body only turns it into its own scroll container and the sticky header scrolls away. */
	html.menu-open {
		overflow: hidden;
	}
}

@media (max-width: 640px) {
	.mobile-menu {
		padding: 4px 20px 20px;
	}
}

/* Smallest phones: an icon-only call button */
@media (max-width: 420px) {
	.header-call.btn {
		width: 44px;
		padding: 0;
	}

	.header-call .btn__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-header,
	.site-header * {
		transition: none !important;
	}
}

/* ==========================================================================
   9. Footer
   ========================================================================== */

.site-footer {
	overflow: hidden;
	background: var(--sg-ink);
	color: #a1a1aa;
	font-size: 16px;
	line-height: 1.5;
}

.site-footer a {
	color: #a1a1aa;
	text-decoration: none;
	transition: color 0.15s ease;
}

.site-footer a:hover,
.site-footer a:focus {
	color: var(--sg-white);
}

.site-footer a:focus-visible {
	outline: 2px solid var(--sg-white);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Brand row: the logo, then phone and email, then the social profiles */
.footer-brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding-top: 88px;
	padding-bottom: 44px;
}

.footer-brand .site-logo {
	width: 132px;
	height: auto;
}

.footer-reach {
	display: flex;
	align-items: center;
	gap: 32px;
	margin-left: auto;
}

.site-footer .footer-reach a {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #d4d4d8;
	font-size: 14.5px;
	white-space: nowrap;
}

.footer-reach .icon {
	width: 16px;
	height: 16px;
	color: #71717a;
	transition: color 0.15s ease;
}

.site-footer .footer-reach a:hover .icon {
	color: var(--sg-white);
}

.site-footer .footer-reach .footer-phone {
	color: var(--sg-white);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.footer-reach .footer-phone .icon {
	width: 18px;
	height: 18px;
	color: var(--sg-red-on-dark);
}

.social-links {
	display: flex;
	flex-shrink: 0;
	gap: 8px;
}

.site-footer .social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 10px;
	color: #d4d4d8;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.site-footer .social-links a:hover,
.site-footer .social-links a:focus {
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.04);
	color: var(--sg-white);
}

.social-links .icon {
	width: 18px;
	height: 18px;
}

/* Link columns: two rows of four under a hairline */
.footer-columns {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 72px 40px;
	padding-top: 64px;
	padding-bottom: 88px;
}

.footer-columns::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--sg-gutter);
	right: var(--sg-gutter);
	height: 1px;
	background: rgba(255, 255, 255, 0.09);
}

.footer-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.footer-col__title {
	margin: 0 0 8px;
	color: var(--sg-white);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0;
}

.site-footer .footer-col a {
	font-size: 15px;
	line-height: 1.4;
}

.site-footer .footer-col a[aria-current="page"] {
	color: var(--sg-white);
}

/* Legal row: copyright and address, then the legal links */
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding: 28px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	font-size: 14px;
	color: #a1a1aa;
}

.site-info {
	margin: 0;
}

.site-footer .footer-address {
	margin-left: 20px;
	font-size: 14px;
}

.footer-legal-nav .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
}

.site-footer .footer-legal-nav a {
	color: #a1a1aa;
	font-size: 14px;
}

.site-footer .footer-legal-nav a:hover,
.site-footer .footer-legal-nav a:focus {
	color: var(--sg-white);
}

/* Full-width wordmark, cropped by the bottom edge */
.footer-wordmark {
	margin: 8px 0 -0.13em;
	color: #1c1c1e;
	font-size: 16.6vw;
	font-weight: 900;
	line-height: 0.74;
	letter-spacing: -0.055em;
	text-align: center;
	white-space: nowrap;
	user-select: none;
	pointer-events: none;
}

.footer-wordmark::before {
	content: attr(data-text);
}

@media (max-width: 1024px) {
	.footer-columns {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Tablets: phone and email drop to their own row */
@media (min-width: 761px) and (max-width: 860px) {
	.footer-brand {
		flex-wrap: wrap;
		row-gap: 28px;
	}

	.footer-reach {
		order: 3;
		width: 100%;
		margin-left: 0;
	}
}

@media (max-width: 760px) {
	.footer-brand {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
		padding-top: 56px;
		padding-bottom: 32px;
	}

	.footer-reach {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		margin-left: 0;
	}

	.site-footer .footer-reach a {
		white-space: normal;
	}

	.site-footer .footer-reach .footer-phone {
		font-size: 20px;
	}

	.footer-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 44px 24px;
		padding-top: 44px;
		padding-bottom: 56px;
	}

	/* Every link at least 24px tall to tap (WCAG 2.5.8): padding grows each one and the gaps shrink to match, so the
	   spacing doesn't move */
	.footer-col {
		gap: 8px;
	}

	.site-footer .footer-col a {
		padding: 2px 0;
		font-size: 14.5px;
	}

	.site-footer .footer-reach .footer-email {
		padding: 2px 0;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer .footer-address {
		display: block;
		margin: 4px 0 0;
		padding: 2px 0;
	}

	.footer-legal-nav .menu {
		gap: 0 20px;
	}

	.site-footer .footer-legal-nav a {
		display: inline-block;
		padding: 4px 0;
	}
}

@media (max-width: 380px) {
	.footer-columns {
		column-gap: 18px;
	}

	.footer-col__title {
		font-size: 15px;
	}
}

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

/* ==========================================================================
   10. Page hero (homepage, service, industry, area, About and Contact pages)
   ========================================================================== */

/* The photo fills the band under one dark overlay, darker behind the heading */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #1b1c1e;
	color: var(--sg-white);
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}

/* A hero without the phone photo wraps it in a picture (sections/hero.php). On phones it's a flat grey: the
   overlay would only darken it back to black. */
.hero__bg picture {
	display: block;
	height: 100%;
}

@media (max-width: 600px) {
	.hero--no-phone-photo {
		background: #37393a;
	}

	.hero--no-phone-photo::after {
		display: none;
	}
}

.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 28%;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(10, 10, 10, 0.84) 0%, rgba(10, 10, 10, 0.7) 38%, rgba(10, 10, 10, 0.3) 66%, rgba(10, 10, 10, 0.12) 100%),
		linear-gradient(0deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0) 40%);
}

/* Desktop: the photo runs wider than the band, so the people sit right of the heading */
@media (min-width: 1021px) {
	.hero__bg img {
		width: 116%;
		max-width: none;
	}
}

/* Area pages: the place's aerial photo, evenly darkened */
.area-page .hero::after {
	background:
		linear-gradient(90deg, rgba(17, 17, 17, 0.75) 0%, rgba(17, 17, 17, 0.35) 55%, rgba(17, 17, 17, 0.15) 100%),
		linear-gradient(rgba(17, 17, 17, 0.55), rgba(17, 17, 17, 0.55));
}

.area-page .hero__bg img {
	width: 100%;
	object-position: 50% 50%;
}

.hero__inner {
	padding-top: 64px;
	padding-bottom: 60px;
}

@media (min-width: 861px) and (max-height: 720px) {
	.hero__inner {
		padding-top: 56px;
	}
}

@media (min-width: 861px) and (min-height: 960px) {
	.hero__inner {
		padding-top: 80px;
		padding-bottom: 72px;
	}
}

.hero .grid-12 {
	align-items: center;
}

.hero__copy {
	grid-column: 1 / span 8;
}

.hero h1 {
	margin: 0 0 28px;
	color: var(--sg-white);
	font-size: clamp(44px, 4.1vw, 64px);
	line-height: 1.02;
	letter-spacing: -0.04em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* Desktop: each line of the heading field stays on its own line */
@media (min-width: 1021px) {
	.hero__line {
		display: block;
		white-space: nowrap;
	}
}

.hero__sub {
	display: block;
	margin-top: 16px;
	font-size: 0.46em;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: rgba(255, 255, 255, 0.88);
}

.hero__intro {
	max-width: 620px;
	margin: 0 0 20px;
	font-size: 18px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.86);
}

/* The quote box: heading, a short line, the form, then the callback note */
.quote-card {
	grid-column: 9 / span 4;
	padding: 22px 24px 18px;
	border-radius: var(--sg-radius-lg);
	background: var(--sg-white);
	color: var(--sg-ink);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
	scroll-margin-top: calc(var(--sg-header-height) + 24px);
}

.quote-card__title {
	margin-bottom: 4px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--sg-ink);
}

.quote-card__text {
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--sg-text);
}

.quote-card__note {
	margin: 10px 0 0;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	color: var(--sg-ink);
}

.quote-card__notice {
	font-size: 14px;
	color: var(--sg-text-soft);
}

/* A compact form, so the box sits level with the heading */
@media (min-width: 861px) {
	.hero .frm_forms .frm_form_field {
		margin-bottom: 8px;
	}

	.hero .frm_forms .frm_primary_label {
		margin-bottom: 4px;
		font-size: 12.5px;
	}

	.hero .frm_forms input,
	.hero .frm_forms select {
		height: 40px;
		padding: 8px 12px;
		font-size: 14.5px;
	}

	.hero .frm_forms textarea {
		height: 56px;
		padding: 8px 12px;
		font-size: 14.5px;
	}

	.hero .frm_forms .frm_submit {
		margin-top: 6px;
	}
}

/* Trust boxes: one glass row across the bottom, the Google rating first */
.hero__creds {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-top: 24px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--sg-radius-lg);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.hero__creds:has(> li:nth-child(4):last-child) {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero__creds li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 12px;
	color: var(--sg-white);
}

.hero__creds li + li {
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

/* The rating box links to the reviews: the link takes the box's padding, so all of it is clickable */
.hero__creds .hero__creds-rating {
	padding: 0;
}

.hero__creds-rating a {
	display: flex;
	flex: 1;
	align-items: inherit;
	flex-direction: inherit;
	gap: inherit;
	align-self: stretch;
	padding: 14px 12px;
	color: inherit;
	text-decoration: none;
}

.hero__creds-rating a:hover b,
.hero__creds-rating a:focus b {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hero__creds-icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
}

.hero__creds-icon .icon {
	width: 15px;
	height: 15px;
}

.hero__creds b,
.hero__creds small {
	display: block;
	white-space: nowrap;
}

.hero__creds b {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.hero__creds small {
	margin-top: 2px;
	font-size: 12.5px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.66);
}

.hero__creds .stars {
	gap: 1px;
	margin-right: 4px;
	color: #f5b83d;
	font-size: 12px;
	vertical-align: -1px;
}

@media (max-width: 1199px) {
	.hero__creds b,
	.hero__creds small {
		white-space: normal;
	}
}

/* Service, industry and area pages: the designs step the heading size at set widths instead of scaling it */
.hero--landing h1 {
	font-size: 64px;
}

@media (max-width: 1280px) {
	.hero--landing h1 {
		font-size: 56px;
	}
}

@media (max-width: 1100px) {
	.hero--landing h1 {
		font-size: 52px;
	}
}

@media (max-width: 1020px) {
	.hero__copy {
		grid-column: 1 / -1;
	}

	.hero h1 {
		font-size: 64px;
	}

	.quote-card {
		grid-column: 1 / span 8;
		margin-top: 48px;
	}

	.hero::after {
		background: linear-gradient(90deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.6) 60%, rgba(10, 10, 10, 0.35) 100%);
	}

	.hero__bg img {
		object-position: 70% 28%;
	}
}

@media (max-width: 860px) {
	.hero__inner {
		padding-top: 64px;
		padding-bottom: 72px;
	}

	.hero h1 {
		font-size: min(7.4vw, 60px);
	}

	.hero--landing h1 {
		font-size: 52px;
	}

	.hero__intro {
		font-size: 17px;
	}

	.quote-card {
		grid-column: 1 / -1;
	}

	.hero__creds {
		margin-top: 28px;
	}

	.hero__creds li,
	.hero__creds-rating a {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 18px 20px;
	}

	.hero__creds b {
		font-size: 15.5px;
	}

	.hero__creds small {
		font-size: 13px;
	}
}

@media (max-width: 600px) {
	.hero__inner {
		padding-top: 48px;
		padding-bottom: 56px;
	}

	.hero h1 {
		font-size: 7.8vw;
		line-height: 1.05;
	}

	.hero--landing h1 {
		font-size: 40px;
	}

	.hero::after {
		background: rgba(10, 10, 10, 0.68);
	}

	.hero .btn-row .btn {
		width: 100%;
	}

	.quote-card {
		padding: 24px 20px;
	}

	.hero__creds,
	.hero__creds:has(> li:nth-child(4):last-child) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero__creds li,
	.hero__creds-rating a {
		padding: 14px 14px 13px;
	}

	.hero__creds li:nth-child(odd) {
		border-left: 0;
	}

	.hero__creds li:nth-child(n+3) {
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	/* An odd box out takes the whole last row */
	.hero__creds li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 380px) {
	.hero--landing h1 {
		font-size: 34px;
	}
}

/* ==========================================================================
   11. Client logo strip (under every page hero)
   ========================================================================== */

.clients {
	padding: 35px 0 39px;
	background: var(--sg-white);
}

.clients__label {
	margin: 0 auto 22px;
	padding: 0 16px;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	color: var(--sg-text-muted);
}

/* Shared marquee: the track holds an even number of copies and slides by half. --marquee-duration is the time one
   set of items takes to pass; templates set --marquee-sets (copies / 2) so extra copies don't speed it up. */
.marquee {
	position: relative;
	overflow: hidden;
	--marquee-fade: var(--sg-paper);
}

.marquee::before,
.marquee::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 2;
	width: 140px;
	pointer-events: none;
}

.marquee::before {
	left: 0;
	background: linear-gradient(90deg, var(--marquee-fade), transparent);
}

.marquee::after {
	right: 0;
	background: linear-gradient(270deg, var(--marquee-fade), transparent);
}

.marquee__track {
	display: flex;
	gap: var(--marquee-gap, 20px);
	width: max-content;
	animation: sg-marquee calc(var(--marquee-duration, 60s) * var(--marquee-sets, 1)) linear infinite;
}

.marquee:hover .marquee__track {
	animation-play-state: paused;
}

@keyframes sg-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(calc(-50% - var(--marquee-gap, 20px) / 2)); }
}

@media (prefers-reduced-motion: reduce) {
	.marquee__track {
		animation: none;
	}
}

@media (max-width: 600px) {
	.marquee::before,
	.marquee::after {
		width: 48px;
	}
}

/* The logos fade out at both ends with a mask, so the strip works on any background (the smear too) */
.clients .marquee {
	max-width: 1000px;
	margin: 0 auto;
	--marquee-gap: 0px;
	--marquee-duration: 48s;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.clients .marquee::before,
.clients .marquee::after {
	display: none;
}

/* Reviews pause on hover so a card can be read; the logo strip keeps moving, as in the mock */
.clients .marquee:hover .marquee__track {
	animation-play-state: running;
}

/* The row is as tall as the tallest (square-ish) logos: the strip clips anything outside it. The padding spreads
   one set of logos wider than the 1000px strip, so the same logo never shows twice (six logos: about 1,160px) */
.clients__logo {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	height: 46px;
	padding: 0 52px;
}

.clients__logo img {
	width: auto;
	max-width: 118px;
	height: auto;
	max-height: 34px;
	object-fit: contain;
}

/* Square-ish emblems get more height and less width than wordmarks */
.clients__logo--tall img {
	max-width: 96px;
	max-height: 46px;
}

/* Silk smear (js/smear.js, inc/smear.php): the canvas fills the wrapper behind the logo strip and the sections
   after it, which go see-through. The canvas fades in once it has drawn; until then, and without WebGL or with
   reduced motion, the wrapper's grey shows. !important beats each section's own background colour. */
.smear-host {
	position: relative;
	isolation: isolate;
	background: var(--sg-paper);
}

.smear-host > :not(.smear-bg) {
	position: relative;
	z-index: 1;
	background: transparent !important;
}

.smear-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
	opacity: 0;
	transition: opacity 1s ease;
}

.smear-on > .smear-bg {
	opacity: 1;
}

@media (max-width: 860px) {
	.clients {
		padding: 25px 0 29px;
	}

	.clients__label {
		margin-bottom: 16px;
		font-size: 14px;
	}

	.clients__logo {
		height: 38px;
		padding: 0 18px;
	}

	.clients__logo img {
		max-width: 96px;
		max-height: 28px;
	}

	.clients__logo--tall img {
		max-height: 38px;
	}
}

/* ==========================================================================
   12. Homepage: services
   ========================================================================== */

.svc-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 20px;
}

.svc {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	grid-column: span 3;
	min-height: 460px;
	padding: 28px 26px 26px;
	overflow: hidden;
	border-radius: 14px;
	background: #1a1a1a;
	color: var(--sg-white);
}

/* The first two cards are large; with exactly four (the Industries index) they all are */
.svc:nth-child(-n+2),
.svc:where(:first-child:nth-last-child(4) ~ .svc) {
	grid-column: span 6;
	min-height: 440px;
	padding: 36px 36px 32px;
}

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

.svc__pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.svc__pic::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 10, 10, 0.38) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.86) 100%);
	transition: opacity 0.4s ease;
}

.svc:hover .svc__pic img {
	transform: scale(1.05);
}

.svc:hover .svc__pic::after {
	opacity: 0.92;
}

.svc h3 {
	margin-bottom: 10px;
	color: var(--sg-white);
	font-size: 22px;
	line-height: 1.2;
}

.svc:nth-child(-n+2) h3,
.svc:where(:first-child:nth-last-child(4) ~ .svc) h3 {
	font-size: 30px;
	letter-spacing: -0.025em;
}

.svc h3,
.svc p {
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.svc p {
	max-width: 440px;
	margin-bottom: 18px;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.86);
}

/* "Learn More" arrow link, shared by the service and industry cards */
.more-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	color: var(--sg-white);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
}

.more-link::after {
	content: "";
	width: 14px;
	height: 2px;
	background: currentColor;
	transition: width 0.25s ease;
}

.svc:hover .more-link::after,
.ind-card:hover .more-link::after {
	width: 22px;
}

a.more-link:hover,
a.more-link:focus {
	color: var(--sg-white);
}

/* Whole card is clickable */
.svc .more-link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

@media (max-width: 1100px) {
	.svc,
	.svc:nth-child(-n+2) {
		grid-column: span 6;
		min-height: 400px;
	}
}

@media (max-width: 600px) {
	.svc-grid {
		gap: 14px;
	}

	.svc,
	.svc:nth-child(-n+2) {
		grid-column: 1 / -1;
		min-height: 320px;
		padding: 24px 22px 22px;
	}

	.svc:nth-child(-n+2) h3,
	.svc:where(:first-child:nth-last-child(4) ~ .svc) h3 {
		font-size: 24px;
	}
}

/* ==========================================================================
   13. Reviews
   ========================================================================== */

.reviews__head {
	margin-bottom: 40px;
	text-align: center;
}

.reviews__head h2 {
	margin-bottom: 22px;
}

.reviews__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 24px;
}

.reviews__score {
	margin: 0;
	font-size: 17px;
	color: var(--sg-text);
}

.reviews__score strong {
	color: var(--sg-ink);
}

.stars {
	display: inline-flex;
	gap: 2px;
	color: var(--sg-star);
	font-size: 18px;
}

.stars .icon {
	width: 1em;
	height: 1em;
	fill: currentColor;
	stroke-width: 1.5;
}

.reviews__score .stars {
	margin-right: 6px;
	vertical-align: -3px;
}

.google-btn,
.google-btn:visited {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 13px 20px;
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius);
	background: var(--sg-white);
	color: var(--sg-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: box-shadow 0.25s ease;
}

.google-btn:hover,
.google-btn:focus {
	color: var(--sg-ink);
	box-shadow: 0 8px 24px rgba(17, 17, 17, 0.12);
}

.google-btn svg {
	width: 18px;
	height: 18px;
}

.reviews .marquee {
	--marquee-gap: 24px;
	--marquee-duration: 56s;
	padding: 4px 0;
}

.reviews .marquee::before,
.reviews .marquee::after {
	width: 120px;
}

.review-card {
	display: flex;
	flex: 0 0 340px;
	flex-direction: column;
	width: 340px;
	padding: 30px 28px;
	background: var(--sg-white);
	border: 1px solid var(--sg-line);
	border-radius: 12px;
}

.review-card .stars {
	gap: 3px;
	margin-bottom: 14px;
	font-size: 16px;
}

.review-card__quote {
	flex: 1;
	margin-bottom: 20px;
	font-size: 16.5px;
	line-height: 1.6;
}

.review-card__name {
	font-size: 15px;
	font-weight: 600;
	color: var(--sg-ink);
}

.review-card__source {
	font-size: 13px;
	color: var(--sg-text-muted);
}

@media (max-width: 600px) {
	.reviews__head {
		margin-bottom: 34px;
	}

	.reviews__meta {
		flex-direction: column;
		gap: 16px;
	}

	.reviews__score {
		font-size: 15px;
		white-space: nowrap;
	}

	.reviews__score .stars {
		font-size: 16px;
	}

	.review-card {
		flex-basis: 280px;
		width: 280px;
	}

	.reviews .marquee::before,
	.reviews .marquee::after {
		width: 40px;
	}
}

/* ==========================================================================
   14. Homepage: industries
   ========================================================================== */

.ind-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.ind-card {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: 480px;
	overflow: hidden;
	border-radius: var(--sg-radius-lg);
	background: #1a1a1a;
	color: var(--sg-white);
	text-decoration: none;
}

.ind-card img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ind-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(10, 10, 10, 0.12) 0%, rgba(10, 10, 10, 0.35) 45%, rgba(10, 10, 10, 0.88) 100%);
}

.ind-card:hover {
	color: var(--sg-white);
}

.ind-card:hover img {
	transform: scale(1.05);
}

.ind-card__body {
	display: block;
	padding: 28px 26px 26px;
}

.ind-card h3 {
	max-width: 190px;
	margin-bottom: 12px;
	color: var(--sg-white);
	font-size: 24px;
	line-height: 1.15;
	letter-spacing: -0.025em;
	text-wrap: balance;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1100px) {
	.ind-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ind-card {
		min-height: 420px;
	}
}

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

	.ind-card {
		min-height: 300px;
	}

	.ind-card h3 {
		font-size: 22px;
	}

	.ind-card__body {
		padding: 22px 20px 20px;
	}
}

/* ==========================================================================
   15. Homepage: getting started (steps)
   ========================================================================== */

.steps .sec-head {
	margin-bottom: 56px;
}

.steps__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 56px;
}

/* Title and text first, then the illustration, which stretches so all three cards match */
.steps__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.steps__item h3 {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.25;
}

.steps__item p {
	max-width: 330px;
	margin: 0 auto 28px;
	font-size: 16px;
	line-height: 1.6;
}

.steps__vis {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	align-items: stretch;
	justify-content: center;
	width: 100%;
}

.steps__vis .ui-card {
	display: flex;
	flex-direction: column;
}

.steps__vis .ui-map {
	flex: 1 1 auto;
	min-height: 84px;
}

/* Dashed connector between the cards */
.steps__item:not(:last-child) .steps__vis::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -46px;
	width: 36px;
	border-top: 2px dashed rgba(168, 20, 27, 0.45);
}

.steps__item:hover .ui-card,
.accountability__item:hover .ui-card {
	transform: translateY(-6px) rotate(-0.5deg);
}

@media (max-width: 1020px) {
	.steps__grid {
		grid-template-columns: 1fr;
		gap: 64px;
		max-width: 420px;
		margin: 0 auto;
	}

	/* Stacked: the connector runs down from each card toward the next step's title */
	.steps__item:not(:last-child) .steps__vis::after {
		top: auto;
		right: 50%;
		bottom: -46px;
		width: 0;
		height: 28px;
		border-top: 0;
		border-left: 2px dashed rgba(168, 20, 27, 0.45);
	}

	/* Cards no longer stretch here, so the quote button needs its own gap */
	.steps__vis .ui-card--quote .ui-btn {
		margin-top: 16px;
	}
}

@media (max-width: 600px) {
	.steps .sec-head {
		margin-bottom: 36px;
	}
}

/* ==========================================================================
   16. Homepage: what separates us
   ========================================================================== */

.statement .grid-12 {
	align-items: stretch;
	row-gap: 0;
}

.statement__head {
	grid-column: 1 / -1;
	grid-row: 1;
	margin-bottom: 36px;
}

/* The long heading fills the line first, as in the design, rather than balancing */
.statement__head h2 {
	text-wrap: wrap;
}

.statement__pic {
	position: relative;
	grid-column: 7 / span 6;
	grid-row: 2;
	min-height: 460px;
	overflow: hidden;
	border-radius: var(--sg-radius-lg);
	background: var(--sg-photo-bg);
}

.statement__pic img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 60%;
}

.statement__text {
	grid-column: 1 / span 6;
	grid-row: 2;
	align-self: center;
	padding-right: 24px;
}

.statement__text p {
	font-size: 17.5px;
	line-height: 1.8;
	color: var(--sg-text-soft);
}

/* The highlighted paragraph reads like the first one */
.statement__text .statement__highlight {
	margin: 22px 0 0;
}

/* Desktop: the heading sits in the left column above the text, and the photo runs the height of both */
@media (min-width: 1021px) {
	.statement__head {
		grid-column: 1 / span 6;
		padding-right: 24px;
	}

	.statement__text {
		align-self: start;
	}

	.statement__pic {
		grid-row: 1 / span 2;
	}
}

@media (max-width: 1280px) { .statement__head h2 { font-size: 52px; } }
@media (max-width: 1100px) { .statement__head h2 { font-size: 48px; } }

@media (max-width: 1020px) {
	.statement__head h2 {
		font-size: 46px;
	}

	.statement__pic {
		grid-column: 1 / -1;
		min-height: 0;
		aspect-ratio: 16 / 10;
		margin-bottom: 44px;
	}

	.statement__text {
		grid-column: 1 / -1;
		grid-row: 3;
		padding-right: 0;
	}
}

@media (max-width: 860px) {
	.statement__head h2 {
		font-size: 40px;
	}
}

@media (max-width: 600px) {
	.statement__head {
		margin-bottom: 28px;
	}

	.statement__head h2 {
		line-height: 1.1;
	}

	.statement__pic {
		aspect-ratio: 4 / 3;
		margin-bottom: 32px;
		border-radius: 12px;
	}
}

/* ==========================================================================
   17. Homepage: accountability
   ========================================================================== */

.accountability__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 28px;
}

/* Subgrid: titles share one row and the cards share the next, so every card is the same height */
.accountability__item {
	display: grid;
	grid-row: span 2;
	grid-template-rows: subgrid;
	text-align: center;
}

.accountability__item h3 {
	align-self: end;
	max-width: 300px;
	margin: 0 auto 22px;
	font-size: 20px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

/* Four across: each title stays on one line */
@media (min-width: 1201px) {
	.accountability__item h3 {
		max-width: none;
		margin-right: -14px;
		margin-left: -14px;
		font-size: 19px;
		white-space: nowrap;
	}
}

.accountability__vis {
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.accountability__vis .ui-card {
	display: flex;
	flex-direction: column;
}

.accountability__vis .ui-list {
	margin-top: auto;
}

@media (max-width: 1200px) {
	.accountability__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 56px;
		max-width: 760px;
		margin: 0 auto;
	}
}

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

	.accountability__item {
		display: block;
	}
}

/* Mock UI cards used as illustrations (template-parts/illustrations/) */
.ui-card {
	width: 100%;
	max-width: 290px;
	padding: 18px 18px 16px;
	background: var(--sg-white);
	border-radius: 18px;
	box-shadow: 0 30px 60px -30px rgba(17, 17, 17, 0.35), 0 0 0 1px rgba(17, 17, 17, 0.05);
	font-size: 13px;
	line-height: 1.4;
	text-align: left;
	color: var(--sg-ink);
	transition: transform 0.35s ease;
}

.ui-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.ui-card__title {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.ui-field {
	margin-bottom: 9px;
}

.ui-field__label {
	display: block;
	margin-bottom: 4px;
	font-size: 10.5px;
	font-weight: 600;
	color: var(--sg-text-muted);
}

.ui-field__value {
	display: block;
	padding: 8px 10px;
	border: 1px solid var(--sg-line);
	border-radius: 8px;
	background: #fafbfc;
}

.ui-btn {
	margin-top: 12px;
	padding: 10px;
	border-radius: 8px;
	background: var(--sg-red);
	color: var(--sg-white);
	font-weight: 600;
	text-align: center;
	box-shadow: 0 8px 16px -8px rgba(168, 20, 27, 0.7);
}

.ui-card--quote .ui-btn {
	margin-top: auto;
}

.ui-or {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--sg-text);
}

.ui-or .icon {
	width: 14px;
	height: 14px;
	color: var(--sg-red);
}

.ui-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	border-top: 1px solid var(--sg-line);
}

.ui-row:first-of-type {
	border-top: 0;
}

.ui-row span {
	font-weight: 500;
	color: var(--sg-text);
}

.ui-row b {
	font-weight: 600;
}

.ui-tag {
	padding: 4px 10px;
	border-radius: 999px;
	background: #eef0f3;
	font-size: 11.5px;
	color: var(--sg-text);
}

/* Grid "map" with a dashed route and pins */
.ui-map {
	position: relative;
	height: 84px;
	margin-bottom: 8px;
	overflow: hidden;
	border-radius: 12px;
	background-color: #eef1f4;
	background-image: linear-gradient(rgba(17, 17, 17, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px);
	background-size: 16px 16px;
}

.ui-map--tall {
	height: 130px;
	margin-bottom: 0;
}

.ui-route {
	position: absolute;
	left: 14%;
	top: 30%;
	width: 72%;
	height: 40%;
	border: 2px dashed rgba(168, 20, 27, 0.55);
	border-radius: 30px;
}

.ui-route--skew {
	left: 12%;
	top: 28%;
	width: 76%;
	height: 44%;
	border-radius: 12px;
	transform: skewX(-14deg);
}

.ui-pin {
	position: absolute;
	width: 20px;
	height: 20px;
	margin: -18px 0 0 -10px;
	color: var(--sg-red);
}

.ui-pin .icon {
	width: 100%;
	height: 100%;
	fill: currentColor;
	stroke: var(--sg-white);
	stroke-width: 1.5;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

.ui-check {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	background: var(--sg-red);
	color: var(--sg-white);
}

.ui-check .icon {
	width: 12px;
	height: 12px;
	stroke-width: 3;
}

.ui-check--round {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #22a05a;
}

.ui-log {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	border-top: 1px solid var(--sg-line);
}

.ui-card__top + .ui-log,
.ui-map + .ui-log {
	border-top: 0;
}

.ui-log b {
	flex: 1;
	font-weight: 600;
}

.ui-log em,
.ui-who em {
	font-style: normal;
	font-size: 12.5px;
	color: var(--sg-text-muted);
}

.ui-who {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 10px;
}

.ui-who__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--sg-ink);
	color: var(--sg-white);
	font-size: 13px;
	font-weight: 700;
}

.ui-who b {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
}

.ui-who em {
	font-size: 12px;
}

.ui-list__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-top: 1px solid var(--sg-line);
	font-size: 13.5px;
	font-weight: 500;
}

.ui-entry {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid var(--sg-line);
}

.ui-card__top + .ui-entry {
	border-top: 0;
}

.ui-entry em {
	flex: 0 0 58px;
	font-style: normal;
	font-size: 12px;
	font-weight: 600;
	color: var(--sg-red);
}

.ui-entry span {
	height: 8px;
	border-radius: 4px;
	background: #e6e8ec;
}

@media (prefers-reduced-motion: reduce) {
	.steps__item:hover .ui-card,
	.accountability__item:hover .ui-card {
		transform: none;
	}
}

/* The heading breaks over two lines, as on the landing pages */
.accountability .sec-head {
	max-width: 980px;
	margin-right: auto;
	margin-left: auto;
}

/* Client portal on a laptop (sections/portal.php, js/main.js): under the four cards, after a hairline */
.portal {
	margin-top: 72px;
	text-align: center;
}

/* Sized like every section heading, as the design renders it */
.portal__heading {
	position: relative;
	max-width: 1180px;
	margin: 0 auto 40px;
	padding-top: 56px;
	text-wrap: balance;
}

.portal__heading::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: min(920px, 100%);
	height: 1px;
	background: rgba(17, 17, 17, 0.1);
	transform: translateX(-50%);
}

/* The laptop fits the screen height on desktop, so the whole thing is in view at once. Its frame matches the
   GuardOps hero's laptop (.go-laptop): a black lid on a flat silver base. */
.portal__device {
	position: relative;
	width: 100%;
	max-width: min(1240px, calc((100vh - 330px) * 1.62));
	margin: 0 auto;
}

.portal__lid {
	position: relative;
	width: 81%;
	margin: 0 auto;
	padding: 14px 14px 18px;
	border: 1px solid #2b2c30;
	border-radius: 22px 22px 0 0;
	background: #0a0a0b;
	box-shadow: 0 40px 90px -30px rgba(17, 24, 39, 0.45);
}

.portal__cam {
	position: absolute;
	top: 6px;
	left: 50%;
	width: 6px;
	height: 6px;
	margin-left: -3px;
	border-radius: 50%;
	background: #1d1e21;
}

.portal__screen {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: 6px;
	background: var(--sg-paper);
}

/* The demo lays out at 1280×800 and is scaled to the screen (js/main.js) */
.portal__frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 1280px;
	height: 800px;
	border: 0;
	background: var(--sg-white);
	transform-origin: 0 0;
}

.portal__base {
	position: relative;
	width: calc(81% + 84px);
	max-width: 100%;
	height: 16px;
	margin: 0 auto;
	border-radius: 0 0 18px 18px;
	background: linear-gradient(#cfd2d6, #9ea2a8);
}

.portal__base::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 150px;
	height: 7px;
	margin-left: -75px;
	border-radius: 0 0 10px 10px;
	background: #b7bbc0;
}

.portal__tap {
	display: none;
}

/* Tabs under the laptop; the running one fills a bar while the demo steps through its pages */
.portal__tabs {
	display: inline-flex;
	gap: 4px;
	max-width: 100%;
	margin: 34px auto 0;
	padding: 5px;
	overflow-x: auto;
	border-radius: 999px;
	background: var(--sg-white);
	box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.08), 0 12px 30px -18px rgba(17, 17, 17, 0.35);
	scrollbar-width: none;
}

.portal__tab {
	position: relative;
	display: flex;
	flex: none;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	overflow: hidden;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--sg-text);
	font: 600 15px/1 var(--sg-font);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.portal__tab .icon {
	width: 17px;
	height: 17px;
	stroke-width: 1.9;
}

.portal__tab:hover {
	background: var(--sg-paper);
	color: var(--sg-ink);
}

.portal__tab.is-active {
	background: var(--sg-ink);
	color: var(--sg-white);
}

.portal__tab i {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 6px;
	height: 2px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.9);
	transform: scaleX(0);
	transform-origin: left;
}

.portal__tab.is-running i {
	animation: sg-portal-bar 6s linear forwards;
}

@keyframes sg-portal-bar {
	to { transform: scaleX(1); }
}

.portal__text {
	max-width: 700px;
	margin: 22px auto 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--sg-text);
}

.portal__text p {
	margin: 0;
}

.portal__text a {
	color: var(--sg-red);
	font-weight: 600;
	white-space: nowrap;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

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

/* Full-screen demo */
.portal-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
	text-align: left;
}

.portal-modal[hidden] {
	display: none;
}

.portal-modal__back {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.55);
	animation: sg-portal-fade 0.25s ease both;
}

.portal-modal__win {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 1280px;
	height: 100%;
	max-height: 860px;
	overflow: hidden;
	border-radius: 20px;
	background: var(--sg-white);
	box-shadow: 0 40px 100px rgba(17, 17, 17, 0.4);
	animation: sg-portal-up 0.3s ease both;
}

.portal-modal__bar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 52px;
	padding: 0 10px 0 22px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.portal-modal__title {
	color: var(--sg-ink);
	font-size: 15px;
	font-weight: 600;
}

.portal-modal__title em {
	margin-left: 10px;
	color: var(--sg-text-muted);
	font-size: 13px;
	font-weight: 500;
	font-style: normal;
}

.portal-modal__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--sg-ink);
	cursor: pointer;
}

.portal-modal__close:hover {
	background: rgba(17, 17, 17, 0.06);
}

.portal-modal__close .icon {
	width: 20px;
	height: 20px;
}

.portal-modal iframe {
	flex: 1;
	width: 100%;
	border: 0;
	background: var(--sg-paper);
}

@keyframes sg-portal-fade {
	from { opacity: 0; }
}

@keyframes sg-portal-up {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.98);
	}
}

/* Phones: the screen is a button that opens the full-screen demo, and the tabs sit two by two */
@media (max-width: 760px) {
	.portal {
		margin-top: 0;
	}

	.portal__heading {
		margin-bottom: 24px;
		padding-top: 36px;
	}

	.portal__device {
		max-width: none;
	}

	.portal__lid {
		width: 92%;
		padding: 8px 8px 10px;
		border-radius: 14px 14px 0 0;
		box-shadow: 0 30px 60px -30px rgba(17, 24, 39, 0.45);
	}

	.portal__cam {
		top: 3px;
		width: 4px;
		height: 4px;
		margin-left: -2px;
	}

	.portal__base {
		width: calc(92% + 20px);
		height: 10px;
	}

	.portal__base::before {
		width: 80px;
		height: 4px;
		margin-left: -40px;
	}

	.portal__frame {
		pointer-events: none;
	}

	.portal__tap {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: flex-end;
		justify-content: center;
		gap: 8px;
		padding-bottom: 14px;
		border: 0;
		background: linear-gradient(rgba(17, 17, 17, 0) 45%, rgba(17, 17, 17, 0.55));
		color: var(--sg-white);
		font: 600 14px/1 var(--sg-font);
		cursor: pointer;
	}

	.portal__tap .icon {
		width: 16px;
		height: 16px;
	}

	.portal__tabs {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
		margin: 24px 0 0;
		border-radius: 16px;
	}

	.portal__tab {
		justify-content: center;
		height: 42px;
		padding: 0 10px;
		border-radius: 11px;
		font-size: 14px;
	}

	.portal__tab i {
		left: 14px;
		right: 14px;
	}

	.portal__text {
		margin-top: 18px;
		font-size: 16px;
	}

	.portal-modal {
		padding: 0;
	}

	.portal-modal__win {
		max-height: none;
		border-radius: 0;
	}

	.portal-modal__title em {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.portal-modal__back,
	.portal-modal__win,
	.portal__tab.is-running i {
		animation: none;
	}
}

/* ==========================================================================
   18. Areas we serve
   ========================================================================== */

.areas__head {
	grid-column: 1 / -1;
	grid-row: 1;
	margin-bottom: 36px;
}

.areas__main {
	grid-column: 1 / span 7;
	grid-row: 2;
}

.areas__intro {
	margin-bottom: 24px;
	font-size: 17.5px;
	line-height: 1.7;
	color: var(--sg-text-soft);
}

/* County cards, one per row */
.areas__rows {
	display: grid;
	gap: 14px;
}

.areas__row {
	padding: 22px 22px 20px;
	border: 1px solid var(--sg-line);
	border-radius: 14px;
	background: var(--sg-paper);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.areas__row:hover {
	box-shadow: 0 16px 34px -20px rgba(17, 17, 17, 0.28);
	transform: translateY(-2px);
}

.areas__row h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 18px;
	line-height: 1.3;
}

.areas__row h3 .icon {
	width: 16px;
	height: 16px;
	fill: var(--sg-red-cta);
	stroke: var(--sg-paper);
	color: var(--sg-red-cta);
}

/* City pills */
.areas__row ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.areas__row li {
	padding: 9px 14px;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 999px;
	background: var(--sg-white);
	font-size: 14.5px;
	line-height: 1;
	color: var(--sg-ink);
	white-space: nowrap;
}

.areas__row .areas__more {
	border: 1px dashed rgba(168, 20, 27, 0.45);
	background: transparent;
	font-weight: 600;
	color: var(--sg-red);
}

.areas__row h3 a,
.areas__row h3 > span {
	display: inherit;
	align-items: inherit;
	gap: inherit;
	color: inherit;
	text-decoration: none;
}

.areas__row h3 a:hover,
.areas__row h3 a:focus {
	color: var(--sg-red);
}

.areas__more a,
.areas__row li a {
	color: inherit;
	text-decoration: none;
}

.areas__row li a:hover,
.areas__row li a:focus {
	color: var(--sg-red);
}

.areas .cta-row {
	margin-top: 32px;
}

.areas__map {
	grid-column: 8 / span 5;
	grid-row: 2;
	align-self: stretch;
	overflow: hidden;
	border-radius: 18px;
	background: var(--sg-white);
	box-shadow: 0 24px 50px -28px rgba(17, 17, 17, 0.35);
}

.areas__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 1020px) {
	.areas__main,
	.areas__map {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.areas__map {
		height: 360px;
		margin-top: 36px;
	}
}

@media (max-width: 860px) {
	.areas__head {
		margin-bottom: 28px;
	}
}

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

	.areas__row {
		grid-column: 1 / -1;
		padding: 18px 16px 16px;
	}

	.areas__row li {
		padding: 8px 12px;
		font-size: 14px;
	}

	.areas__map {
		height: 300px;
	}
}

/* ==========================================================================
   19. Homepage: team photo band
   ========================================================================== */

.team-band {
	padding: 0 0 var(--sg-sec);
	background: var(--sg-paper);
}

.team-band__frame {
	height: 600px;
	overflow: hidden;
	border-radius: 20px;
	background: var(--sg-photo-bg);
}

.team-band__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 28%;
}

.team-band__bar {
	position: relative;
	z-index: 1;
	display: flex;
	margin: -56px 48px 0;
	background: var(--sg-white);
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius-lg);
	box-shadow: 0 24px 50px -24px rgba(17, 17, 17, 0.28);
}

.team-band__bar li {
	position: relative;
	display: flex;
	flex: 1 1 0;
	align-items: center;
	padding: 26px 18px 26px 54px;
	border-left: 1px solid var(--sg-line);
	font-size: 17px;
	letter-spacing: -0.015em;
	line-height: 1.3;
}

.team-band__bar li:first-child {
	border-left: 0;
}

.team-band__bar li {
	font-weight: 600;
	color: var(--sg-ink);
}

.team-band__bar .icon {
	position: absolute;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	color: var(--sg-red-cta);
}

/* The default tick (no icon chosen) is drawn heavier, as in the design */
.team-band__bar .icon-check {
	stroke-width: 2.6;
}

.team-band__bar li:last-child {
	flex-grow: 1.25;
}

.team-band__bar .icon {
	left: 24px;
}

@media (max-width: 1100px) {
	.team-band__frame {
		height: 500px;
	}

	.team-band__bar {
		flex-wrap: wrap;
		margin: -44px 28px 0;
	}

	.team-band__bar li {
		flex: 1 1 50%;
	}

	.team-band__bar li:nth-child(odd) {
		border-left: 0;
	}

	.team-band__bar li:nth-child(n+3) {
		border-top: 1px solid var(--sg-line);
	}
}

@media (max-width: 600px) {
	.team-band__frame {
		height: 340px;
		border-radius: 14px;
	}

	.team-band__frame img {
		object-position: 42% 25%;
	}

	.team-band__bar {
		flex-direction: column;
		margin: -32px 12px 0;
	}

	.team-band__bar li {
		flex-basis: auto;
		padding: 16px 18px 16px 50px;
		border-left: 0;
		font-size: 16px;
	}

	.team-band__bar li + li {
		border-top: 1px solid var(--sg-line);
	}

	.team-band__bar .icon {
		left: 20px;
	}
}

/* ==========================================================================
   20. Homepage: why choose us (tabs)
   ========================================================================== */

/* The heading breaks over two balanced lines, as in the design */
.why .sec-head {
	max-width: 980px;
	margin-right: auto;
	margin-left: auto;
}

.why__box {
	display: grid;
	grid-template-columns: 400px minmax(0, 1fr);
	min-height: 560px;
	overflow: hidden;
	background: var(--sg-paper);
	border: 1px solid var(--sg-line);
	border-radius: 20px;
}

.why__nav {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 32px 28px;
}

.why__tab {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 16px 20px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--sg-text);
	font: 600 17px/1.35 var(--sg-font);
	text-align: left;
	transition: background 0.25s ease, color 0.25s ease;
}

.why__tab::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	bottom: 14px;
	width: 2px;
	border-radius: 2px;
	background: var(--sg-ink);
	transform: scaleY(0);
	transition: transform 0.3s ease;
}

.why__tab:hover {
	background: rgba(255, 255, 255, 0.6);
	color: var(--sg-ink);
}

.why__tab[aria-selected="true"] {
	background: var(--sg-white);
	color: var(--sg-ink);
}

.why__tab[aria-selected="true"]::before {
	transform: scaleY(1);
}

.why__tab .icon {
	width: 20px;
	height: 20px;
	transition: color 0.25s ease;
}

.why__tab[aria-selected="true"] .icon {
	color: var(--sg-red-cta);
}

.why__panels {
	position: relative;
	min-height: 100%;
}

.why__panel {
	position: absolute;
	inset: 0;
	animation: sg-fade-in 0.45s ease both;
}

.why__panel[hidden] {
	display: none;
}

.why__panel img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
}

.why__panel::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(17, 17, 17, 0) 35%, rgba(17, 17, 17, 0.45) 100%);
}

.why__body {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 28px;
	z-index: 1;
	padding: 28px 32px 30px;
	background: var(--sg-white);
	border-radius: 14px;
	box-shadow: 0 18px 44px rgba(17, 17, 17, 0.22);
}

.why__body h3 {
	margin-bottom: 10px;
	font-size: 22px;
}

.why__body p {
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--sg-text);
}

@keyframes sg-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (max-width: 1020px) {
	.why__box {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.why__nav {
		flex-direction: row;
		gap: 8px;
		overflow-x: auto;
		padding: 16px;
		border-bottom: 1px solid var(--sg-line);
	}

	.why__tab {
		flex: 0 0 auto;
		width: auto;
		gap: 8px;
		min-height: 44px;
		padding: 10px 16px;
		border: 1px solid var(--sg-line);
		border-radius: 999px;
		font-size: 14.5px;
	}

	.why__tab::before,
	.why__panel::after {
		display: none;
	}

	.why__panels {
		min-height: 0;
	}

	.why__panel,
	.why__panel img,
	.why__body {
		position: static;
	}

	.why__panel img {
		height: 280px;
	}

	.why__body {
		padding: 28px 24px 32px;
		border-radius: 0;
		box-shadow: none;
	}
}

@media (max-width: 600px) {
	.why__panel img {
		height: 200px;
	}

	.why__body {
		padding: 24px 20px 28px;
	}

	.why__body h3 {
		font-size: 20px;
	}
}

/* ==========================================================================
   21. FAQ
   ========================================================================== */

.faq__list {
	border-top: 1px solid var(--sg-line);
}

.faq__list details {
	border-bottom: 1px solid var(--sg-line);
}

.faq__list summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 0;
	color: var(--sg-ink);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

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

.faq__plus {
	position: relative;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(17, 17, 17, 0.35);
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.faq__plus::before,
.faq__plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--sg-ink);
	transform: translate(-50%, -50%);
}

.faq__plus::before {
	width: 13px;
	height: 2px;
}

.faq__plus::after {
	width: 2px;
	height: 13px;
}

.faq__list details[open] .faq__plus {
	transform: rotate(45deg);
}

.faq__answer {
	padding: 0 48px 28px 0;
	color: var(--sg-text-soft);
}

@media (max-width: 860px) {
	.faq__list summary {
		font-size: 18px;
	}
}

@media (max-width: 600px) {
	.faq__list summary {
		padding: 22px 0;
	}

	.faq__answer {
		padding-right: 0;
	}
}

/* ==========================================================================
   22. Blog: index, archives & cards
   ========================================================================== */

/* Title band: h1, intro and topic links (blog page, archives, search) */
.blog-intro {
	padding: 64px 0 40px;
}

.blog-intro .avatar-initials {
	margin-bottom: 20px;
}

.blog-intro__title {
	max-width: 880px;
	font-size: 56px;
	line-height: 1.04;
	letter-spacing: -0.04em;
}

.blog-intro__page {
	display: inline-block;
	margin-left: 10px;
	font-size: 0.42em;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--sg-text-muted);
	vertical-align: middle;
}

.blog-intro__query {
	color: var(--sg-red);
}

.blog-intro__text {
	max-width: 720px;
	margin-top: 18px;
	font-size: 19px;
	line-height: 1.6;
	text-wrap: pretty;
}

.blog-intro__search {
	max-width: 560px;
	margin-top: 28px;
}

.blog-topics {
	margin-top: 32px;
}

.blog-topics ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog-topics a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 18px;
	border: 1px solid var(--sg-line);
	border-radius: 999px;
	background: var(--sg-white);
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--sg-ink);
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.blog-topics a:hover,
.blog-topics a:focus-visible {
	border-color: var(--sg-ink);
	color: var(--sg-ink);
}

.blog-topics a[aria-current] {
	background: var(--sg-ink);
	border-color: var(--sg-ink);
	color: var(--sg-white);
}

/* Post grid: two columns; the first card on each page (and a card left alone on the last row) runs full width */
.blog-list {
	padding: 8px 0 72px;
}

.post-grid {
	display: grid;
	gap: 28px;
}

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

	.post-grid > .post-card:first-child,
	.post-grid > .post-card:nth-child(even):last-child {
		grid-column: 1 / -1;
	}
}

/* Card: rounded photo inset in a white card; the title link covers the whole card */
.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 10px;
	background: var(--sg-white);
	border: 1px solid var(--sg-line-soft);
	border-radius: 22px;
	box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.post-card:hover {
	box-shadow: 0 26px 50px -30px rgba(17, 17, 17, 0.4);
	transform: translateY(-3px);
}

.post-card:has(.post-card__title a:focus-visible) {
	outline: 2px solid var(--sg-red-on-dark);
	outline-offset: 3px;
}

.post-card__media {
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 15px;
	background: var(--sg-photo-bg);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.post-card:hover .post-card__media img {
	transform: scale(1.03);
}

.post-card__media--empty {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #1a1b1d 0%, #2c2d31 100%);
	color: rgba(255, 255, 255, 0.28);
}

.post-card__media--empty .icon {
	width: 48px;
	height: 48px;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 20px 14px 12px;
}

.post-card__cat {
	position: relative;
	z-index: 1;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--sg-red);
	text-decoration: none;
}

.post-card__cat:hover,
.post-card__cat:focus {
	color: var(--sg-red-cta-hover);
	text-decoration: underline;
}

.post-card__title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.post-card__title a {
	color: inherit;
	text-decoration: none;
	outline: none;
}

.post-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.post-card:hover .post-card__title a {
	color: var(--sg-red);
}

.post-card__excerpt {
	display: -webkit-box;
	margin: 10px 0 0;
	overflow: hidden;
	font-size: 15.5px;
	line-height: 1.6;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: auto 0 0;
	padding-top: 18px;
	font-size: 13.5px;
	color: var(--sg-text-muted);
}

.post-card__meta > * + *::before {
	content: "\00B7";
	margin: 0 8px;
}

/* Lead card: photo beside the text */
@media (min-width: 900px) {
	.post-grid > .post-card:first-child,
	.post-grid > .post-card:nth-child(even):last-child {
		flex-direction: row;
	}

	.post-grid > .post-card:first-child .post-card__media,
	.post-grid > .post-card:nth-child(even):last-child .post-card__media {
		flex: 0 0 58%;
		aspect-ratio: auto;
		min-height: 380px;
	}

	.post-grid > .post-card:first-child .post-card__body,
	.post-grid > .post-card:nth-child(even):last-child .post-card__body {
		justify-content: center;
		padding: 32px 36px 32px 44px;
	}

	.post-grid > .post-card:first-child .post-card__title,
	.post-grid > .post-card:nth-child(even):last-child .post-card__title {
		font-size: 34px;
		line-height: 1.12;
		letter-spacing: -0.03em;
	}

	.post-grid > .post-card:first-child .post-card__excerpt,
	.post-grid > .post-card:nth-child(even):last-child .post-card__excerpt {
		margin-top: 14px;
		font-size: 17px;
		-webkit-line-clamp: 4;
	}

	.post-grid > .post-card:first-child .post-card__meta,
	.post-grid > .post-card:nth-child(even):last-child .post-card__meta {
		margin-top: 0;
		padding-top: 22px;
	}
}

/* Closing call to action under the grid sits on the page background */
.blog-page .cta-bar {
	padding-top: 0;
	background: transparent;
}

/* Pagination: Previous / numbers / Next */
.pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 56px;
}

.pagination__pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--sg-ink);
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.pagination a.page-numbers:hover,
.pagination a.page-numbers:focus-visible {
	background: var(--sg-white);
	border-color: var(--sg-line);
	color: var(--sg-ink);
}

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

.pagination .page-numbers.dots {
	min-width: 24px;
	padding: 0;
	color: var(--sg-text-muted);
}

.pagination__step {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	border: 1px solid var(--sg-line);
	border-radius: 12px;
	background: var(--sg-white);
	font-size: 15px;
	font-weight: 600;
	color: var(--sg-ink);
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pagination__step .icon {
	width: 16px;
	height: 16px;
}

a.pagination__step:hover,
a.pagination__step:focus-visible {
	border-color: var(--sg-ink);
	color: var(--sg-ink);
	box-shadow: 0 8px 20px -12px rgba(17, 17, 17, 0.4);
}

.pagination__step.is-disabled {
	opacity: 0.4;
}

/* Comment pages */
.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
}

@media (max-width: 860px) {
	.blog-intro__title {
		font-size: 44px;
	}
}

@media (max-width: 600px) {
	.blog-intro {
		padding: 40px 0 28px;
	}

	.blog-intro__title {
		font-size: 34px;
		line-height: 1.08;
	}

	.blog-intro__text {
		font-size: 17px;
	}

	.blog-topics {
		margin-top: 24px;
	}

	/* Topics scroll sideways instead of wrapping into a tall block */
	.blog-topics ul {
		flex-wrap: nowrap;
		margin: 0 calc(var(--sg-gutter) * -1);
		padding: 0 var(--sg-gutter) 4px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.blog-topics ul::-webkit-scrollbar {
		display: none;
	}

	.blog-topics a {
		white-space: nowrap;
	}

	.blog-list {
		padding-bottom: 52px;
	}

	.post-grid {
		gap: 20px;
	}

	.post-card__title {
		font-size: 20px;
	}

	.pagination {
		gap: 6px;
		margin-top: 40px;
	}

	.pagination__step {
		padding: 0 13px;
	}

	.pagination__step span {
		display: none;
	}

	.pagination .page-numbers {
		min-width: 40px;
		height: 40px;
		padding: 0 8px;
	}
}

/* ==========================================================================
   23. Blog: single post
   ========================================================================== */

.post-page {
	background: var(--sg-white);
}

/* Title band: category, h1, standfirst and byline on grey; the featured photo straddles grey and white */
.post-hero {
	padding-top: 56px;
	background: linear-gradient(var(--sg-paper) 0 calc(100% - 150px), var(--sg-white) calc(100% - 150px));
}

.post-hero:not(:has(.post-hero__media)) {
	padding-bottom: 48px;
	background: var(--sg-paper);
}

.post-hero__text {
	max-width: 880px;
}

.post-hero__cat {
	display: inline-flex;
	margin-bottom: 20px;
	padding: 6px 13px;
	border-radius: 999px;
	background: rgba(163, 23, 30, 0.08);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--sg-red);
	text-decoration: none;
	transition: background 0.2s ease;
}

.post-hero__cat:hover,
.post-hero__cat:focus {
	background: rgba(163, 23, 30, 0.14);
	color: var(--sg-red-cta-hover);
}

.post-hero__title {
	font-size: 54px;
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.post-hero__dek {
	max-width: 760px;
	margin: 20px 0 0;
	font-size: 20px;
	line-height: 1.6;
	text-wrap: pretty;
}

.post-byline {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
}

.post-byline__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 14.5px;
	line-height: 1.45;
}

.post-byline__author {
	font-weight: 600;
	color: var(--sg-ink);
}

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

.post-byline__author a:hover,
.post-byline__author a:focus {
	color: var(--sg-red);
}

.post-byline__facts {
	display: flex;
	flex-wrap: wrap;
	color: var(--sg-text-muted);
}

.post-byline__facts > span + span::before {
	content: "\00B7";
	margin: 0 8px;
}

/* Initials avatar (bylines, author box, author archives): no Gravatar request */
.avatar-initials {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--sg-ink);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--sg-white);
}

.avatar-initials--lg {
	width: 64px;
	height: 64px;
	font-size: 21px;
}

/* A Profile Photo in place of the initials (Users → Profile) */
.avatar-initials--photo {
	display: block;
	object-fit: cover;
	background: var(--sg-white);
	box-shadow: 0 0 0 1px var(--sg-line);
}

.post-hero__media {
	margin: 44px 0 0;
	overflow: hidden;
	aspect-ratio: 2 / 1;
	border-radius: 24px;
	background: var(--sg-photo-bg);
	box-shadow: 0 34px 60px -42px rgba(17, 17, 17, 0.55);
}

.post-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
}

/* Post column beside the sticky sidebar */
.post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: start;
	column-gap: 72px;
	padding-top: 56px;
	padding-bottom: 88px;
}

.post-main {
	min-width: 0;
	max-width: 740px;
}

.post-aside {
	position: sticky;
	top: calc(var(--sg-header-height) + 28px);
}

.admin-bar .post-aside {
	top: calc(var(--sg-header-height) + 60px);
}

.post-aside__sticky {
	display: grid;
	gap: 24px;
}

/* Table of contents */
.post-toc__title {
	margin: 0 0 12px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sg-text-muted);
}

.post-toc__list {
	max-height: min(44vh, 420px);
	overflow-y: auto;
	border-left: 1px solid var(--sg-line);
	scrollbar-width: thin;
}

.post-toc__list a {
	display: block;
	margin-left: -1px;
	padding: 7px 0 7px 16px;
	border-left: 2px solid transparent;
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--sg-text);
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.post-toc__list a:hover,
.post-toc__list a:focus-visible {
	color: var(--sg-ink);
	border-left-color: rgba(17, 17, 17, 0.3);
}

.post-toc__list a[aria-current] {
	color: var(--sg-ink);
	font-weight: 600;
	border-left-color: var(--sg-red);
}

/* Inline contents box above the post (smaller screens) */
.post-toc--inline {
	display: none;
	margin-bottom: 36px;
	border: 1px solid var(--sg-line);
	border-radius: 16px;
	background: var(--sg-paper);
}

.post-toc--inline .post-toc__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 15px 18px;
	font-size: 15px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--sg-ink);
	cursor: pointer;
	list-style: none;
}

.post-toc--inline .post-toc__title::-webkit-details-marker {
	display: none;
}

.post-toc--inline .post-toc__title .icon {
	width: 18px;
	height: 18px;
}

.post-toc--inline .icon-chevron-down {
	margin-left: auto;
	transition: transform 0.2s ease;
}

.post-toc--inline[open] .icon-chevron-down {
	transform: rotate(180deg);
}

.post-toc--inline .post-toc__list {
	max-height: none;
	margin: 0 18px 16px;
}

/* Sidebar quote card */
.post-cta {
	padding: 26px;
	border-radius: 20px;
	background: var(--sg-ink);
	color: var(--sg-white);
	box-shadow: 0 24px 50px -28px rgba(17, 17, 17, 0.55);
}

.post-cta__title {
	margin: 0 0 16px;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--sg-white);
	text-wrap: balance;
}

.post-cta__points {
	display: grid;
	gap: 10px;
	margin-bottom: 22px;
}

.post-cta__points li {
	display: flex;
	gap: 10px;
	font-size: 14.5px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.8);
}

.post-cta__points .icon {
	width: 16px;
	height: 16px;
	margin-top: 2px;
	color: var(--sg-red-on-dark);
}

.post-cta__btn {
	width: 100%;
	box-shadow: none;
}

.post-cta__call {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--sg-white);
	text-decoration: none;
}

.post-cta__call:hover,
.post-cta__call:focus {
	color: var(--sg-white);
	text-decoration: underline;
}

.post-cta__call .icon {
	width: 15px;
	height: 15px;
	color: var(--sg-red-on-dark);
}

/* Under the post: tags, share links, author */
.post-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--sg-line);
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.post-tags a {
	display: inline-block;
	padding: 6px 13px;
	border-radius: 999px;
	background: var(--sg-paper);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--sg-ink);
	text-decoration: none;
}

.post-tags a::before {
	content: "#";
	margin-right: 1px;
	color: var(--sg-text-muted);
}

.post-tags a:hover,
.post-tags a:focus {
	background: var(--sg-ink);
	color: var(--sg-white);
}

.post-share {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}

.post-share__label {
	font-size: 14px;
	font-weight: 600;
	color: var(--sg-ink);
}

.post-share__list {
	display: flex;
	gap: 8px;
}

.post-share__list a,
.post-share__copy {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--sg-line);
	border-radius: 50%;
	background: var(--sg-white);
	color: var(--sg-ink);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.post-share__list a:hover,
.post-share__list a:focus-visible,
.post-share__copy:hover,
.post-share__copy:focus-visible,
.post-share__copy.is-copied {
	border-color: var(--sg-ink);
	background: var(--sg-ink);
	color: var(--sg-white);
}

.post-share .icon {
	width: 17px;
	height: 17px;
}

.post-share__copy .icon-check,
.post-share__copy.is-copied .icon-link {
	display: none;
}

.post-share__copy.is-copied .icon-check {
	display: block;
}

.author-box {
	display: flex;
	gap: 20px;
	margin-top: 40px;
	padding: 28px;
	border-radius: 20px;
	background: var(--sg-paper);
}

.author-box__label {
	margin: 0 0 2px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sg-text-muted);
}

.author-box__name {
	margin: 0;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--sg-ink);
}

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

.author-box__name a:hover,
.author-box__name a:focus {
	color: var(--sg-red);
}

.author-box__bio {
	margin: 10px 0 0;
	font-size: 15.5px;
	line-height: 1.65;
}

.author-box__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--sg-red);
	text-decoration: none;
}

.author-box__more .icon {
	width: 15px;
	height: 15px;
}

/* Closing quote section: copy and points beside the quote form, on dark */
.post-quote {
	padding: 96px 0;
	background: var(--sg-ink);
	color: var(--sg-white);
}

.post-quote__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 460px;
	align-items: center;
	gap: 80px;
}

.post-quote__inner--solo {
	grid-template-columns: minmax(0, 760px);
}

.post-quote__title {
	font-size: 50px;
	line-height: 1.04;
	letter-spacing: -0.04em;
	color: var(--sg-white);
}

.post-quote__text {
	max-width: 540px;
	margin: 20px 0 0;
	font-size: 18px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.72);
}

.post-quote__points {
	display: grid;
	gap: 14px;
	margin-top: 32px;
}

.post-quote__points li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92);
}

.post-quote__points .icon {
	box-sizing: content-box;
	width: 15px;
	height: 15px;
	padding: 5px;
	border-radius: 50%;
	background: rgba(226, 74, 78, 0.16);
	color: var(--sg-red-on-dark);
}

.post-quote__call {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 36px;
	font-size: 16px;
	font-weight: 600;
	color: var(--sg-white);
	text-decoration: none;
}

.post-quote__call:hover,
.post-quote__call:focus {
	color: var(--sg-white);
	text-decoration: underline;
}

.post-quote__call .icon {
	width: 18px;
	height: 18px;
	color: var(--sg-red-on-dark);
}

.post-quote__card {
	grid-column: auto;
}

.post-quote .btn--outline,
.post-quote .btn--outline:visited {
	color: var(--sg-white);
	border-color: rgba(255, 255, 255, 0.5);
}

.post-quote .btn--outline:hover,
.post-quote .btn--outline:focus {
	background: rgba(255, 255, 255, 0.08);
	color: var(--sg-white);
	border-color: var(--sg-white);
}

/* Related posts */
.related-posts {
	padding: 88px 0 var(--sg-sec);
	background: var(--sg-paper);
}

.related-posts__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 32px;
}

.related-posts__title {
	font-size: 40px;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.related-posts__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--sg-ink);
	text-decoration: none;
	white-space: nowrap;
}

.related-posts__all:hover,
.related-posts__all:focus {
	color: var(--sg-red);
}

.related-posts__all .icon {
	width: 16px;
	height: 16px;
}

.related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.related-posts .post-card__title {
	font-size: 19px;
}

/* Reading progress along the bottom of the sticky header (added by js/main.js) */
.read-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	background: var(--sg-red);
	transform: scaleX(0);
	transform-origin: 0 50%;
	pointer-events: none;
}

@media (max-width: 1100px) {
	.post-layout {
		grid-template-columns: minmax(0, 1fr) 280px;
		column-gap: 48px;
	}

	.post-quote__inner {
		grid-template-columns: minmax(0, 1fr) 420px;
		gap: 48px;
	}
}

@media (max-width: 1020px) {
	.post-layout {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 40px;
	}

	.post-main {
		width: 100%;
		margin: 0 auto;
	}

	.post-aside {
		display: none;
	}

	.post-toc--inline {
		display: block;
	}

	.post-quote__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.post-quote__card {
		max-width: 640px;
	}

	/* Related posts scroll sideways, one and a bit cards at a time */
	.related-posts__grid {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(280px, 46%);
		margin: 0 calc(var(--sg-gutter) * -1);
		padding: 4px var(--sg-gutter) 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--sg-gutter);
		scrollbar-width: none;
	}

	.related-posts__grid::-webkit-scrollbar {
		display: none;
	}

	.related-posts__grid > * {
		scroll-snap-align: start;
	}

	.related-posts .post-card:hover {
		transform: none;
	}
}

@media (max-width: 860px) {
	.post-hero__title {
		font-size: 42px;
	}

	.post-hero__media {
		aspect-ratio: 16 / 10;
		border-radius: 18px;
	}

	.post-quote {
		padding: 64px 0;
	}

	.post-quote__title {
		font-size: 38px;
	}
}

@media (max-width: 600px) {
	.post-hero {
		padding-top: 32px;
		background: linear-gradient(var(--sg-paper) 0 calc(100% - 90px), var(--sg-white) calc(100% - 90px));
	}

	.post-hero__cat {
		margin-bottom: 16px;
	}

	.post-hero__title {
		font-size: 32px;
		line-height: 1.1;
		letter-spacing: -0.035em;
	}

	.post-hero__dek {
		margin-top: 16px;
		font-size: 17.5px;
	}

	.post-byline {
		margin-top: 22px;
	}

	.post-byline__text {
		font-size: 13.5px;
	}

	.post-hero__media {
		margin-top: 28px;
		aspect-ratio: 3 / 2;
		border-radius: 16px;
	}

	.post-layout {
		padding-top: 32px;
		padding-bottom: 56px;
	}

	.post-footer {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 44px;
	}

	.post-share {
		margin-left: 0;
	}

	.author-box {
		flex-direction: column;
		gap: 14px;
		padding: 22px;
	}

	.post-quote {
		padding: 52px 0;
	}

	.post-quote__title {
		font-size: 32px;
		line-height: 1.08;
	}

	.post-quote__text {
		font-size: 16.5px;
	}

	.related-posts {
		padding: 56px 0;
	}

	.related-posts__title {
		font-size: 30px;
	}

	.related-posts__grid {
		grid-auto-columns: 84%;
	}
}

/* ==========================================================================
   24. Post & page content (every core block and HTML element)
   ========================================================================== */

.entry-content {
	font-size: 18px;
	line-height: 1.75;
	overflow-wrap: break-word;
}

/* Rhythm: blocks are spaced by the gap above them, never below */
.entry-content > * {
	margin-top: 0;
	margin-bottom: 0;
}

.entry-content > * + * {
	margin-top: 1.5em;
}

/* A post opens with a slightly larger lead paragraph */
.post-content > p:first-child {
	font-size: 21px;
	line-height: 1.65;
	color: var(--sg-ink);
}

/* Headings (the table of contents' jumps land below the header through html's scroll-padding-top) */
.entry-content :is(h2, h3, h4, h5, h6) {
	font-weight: 700;
	text-wrap: balance;
}

.entry-content h2 {
	font-size: 34px;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.entry-content h3 {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

.entry-content h4 {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.entry-content h5 {
	font-size: 17px;
	line-height: 1.4;
}

.entry-content h6 {
	font-size: 13.5px;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sg-text-muted);
}

.entry-content > * + h2 { margin-top: 64px; }
.entry-content > * + h3 { margin-top: 44px; }
.entry-content > * + h4 { margin-top: 36px; }
.entry-content > * + :is(h5, h6) { margin-top: 32px; }
.entry-content > :is(h2, h3, h4, h5, h6) + * { margin-top: 14px; }
.entry-content > h2 + :is(h3, h4) { margin-top: 28px; }

/* Text */
.entry-content a:not([class]) {
	color: var(--sg-ink);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(163, 23, 30, 0.55);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.entry-content a:not([class]):hover,
.entry-content a:not([class]):focus {
	color: var(--sg-red);
	text-decoration-color: var(--sg-red);
}

.entry-content :is(strong, b) {
	font-weight: 600;
	color: var(--sg-ink);
}

.entry-content mark {
	padding: 0.05em 0.25em;
	border-radius: 4px;
	background: rgba(217, 162, 27, 0.24);
	color: inherit;
}

.entry-content small {
	font-size: 0.85em;
}

.entry-content :is(sub, sup) {
	position: relative;
	font-size: 0.72em;
	line-height: 0;
	vertical-align: baseline;
}

.entry-content sup { top: -0.5em; }
.entry-content sub { bottom: -0.25em; }

.entry-content abbr[title] {
	text-decoration: underline dotted;
	text-underline-offset: 0.2em;
	cursor: help;
}

.entry-content del,
.entry-content s {
	color: var(--sg-text-muted);
}

.entry-content ins {
	text-decoration: none;
	background: rgba(163, 23, 30, 0.08);
}

.entry-content q {
	font-style: italic;
}

.entry-content kbd {
	padding: 0.15em 0.45em;
	border: 1px solid var(--sg-line);
	border-bottom-width: 2px;
	border-radius: 6px;
	background: var(--sg-white);
	font-size: 0.82em;
	color: var(--sg-ink);
}

.entry-content :not(pre) > code {
	padding: 0.15em 0.4em;
	border: 1px solid var(--sg-line-soft);
	border-radius: 6px;
	background: var(--sg-paper);
	font-size: 0.86em;
	color: var(--sg-ink);
}

.entry-content pre {
	padding: 22px 24px;
	border: 0;
	border-radius: 16px;
	background: #15171a;
	font-size: 14.5px;
	line-height: 1.7;
	color: #e7e8ea;
	white-space: pre;
	tab-size: 4;
	overflow-x: auto;
}

.entry-content pre code {
	font-size: inherit;
	color: inherit;
}

.entry-content .wp-block-preformatted {
	white-space: pre-wrap;
}

.entry-content .wp-block-verse {
	background: var(--sg-paper);
	font-family: var(--sg-font);
	font-size: 17px;
	color: var(--sg-ink);
	white-space: pre-wrap;
}

/* Lists: red bullets, numbered badges, nested levels a step quieter */
.entry-content :is(ul, ol) {
	padding-left: 0;
	list-style: none;
}

.entry-content li {
	position: relative;
	padding-left: 30px;
}

.entry-content li + li,
.entry-content li > :is(ul, ol) {
	margin-top: 0.55em;
}

.entry-content ul > li::before {
	content: "";
	position: absolute;
	top: 0.72em;
	left: 8px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sg-red);
}

.entry-content :is(ul, ol) ul > li::before {
	background: transparent;
	border: 1.5px solid var(--sg-red);
}

.entry-content ol {
	counter-reset: sg-ol;
}

.entry-content ol > li {
	padding-left: 42px;
	counter-increment: sg-ol;
}

.entry-content ol > li::before {
	content: counter(sg-ol);
	position: absolute;
	top: 0.12em;
	left: 0;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(163, 23, 30, 0.09);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	color: var(--sg-red);
}

.entry-content :is(ul, ol) ol > li::before {
	content: counter(sg-ol, lower-alpha);
	background: transparent;
	border: 1.5px solid rgba(163, 23, 30, 0.35);
}

/* Checklist style (Styles panel on a list block) */
.entry-content ul.is-style-checklist > li {
	padding-left: 36px;
}

.entry-content ul.is-style-checklist > li::before {
	top: 0.2em;
	left: 0;
	width: 24px;
	height: 24px;
	border: 0;
	background: rgba(163, 23, 30, 0.09);
}

.entry-content ul.is-style-checklist > li::after {
	content: "";
	position: absolute;
	top: calc(0.2em + 6px);
	left: 6px;
	width: 12px;
	height: 12px;
	background: var(--sg-red);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Definition lists */
.entry-content dt {
	font-weight: 600;
	color: var(--sg-ink);
}

.entry-content dd {
	margin: 4px 0 0;
	padding-left: 16px;
	border-left: 2px solid var(--sg-line);
}

.entry-content dd + dt {
	margin-top: 16px;
}

/* Quotes */
.entry-content blockquote {
	padding: 4px 0 4px 28px;
	border-left: 3px solid var(--sg-red);
	font-size: 21px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: -0.01em;
	color: var(--sg-ink);
}

.entry-content blockquote p {
	margin: 0;
}

.entry-content blockquote p + p {
	margin-top: 0.8em;
}

.entry-content blockquote cite,
.entry-content .wp-block-quote__citation,
.entry-content .wp-block-pullquote cite {
	display: block;
	margin-top: 14px;
	font-size: 14.5px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--sg-text-muted);
}

.entry-content blockquote cite::before {
	content: "\2014\00A0";
}

.entry-content .wp-block-quote.is-style-plain {
	padding-left: 0;
	border-left: 0;
}

.entry-content .wp-block-quote.is-style-large,
.entry-content .wp-block-quote.is-large {
	padding: 4px 0 4px 32px;
	font-size: 26px;
	line-height: 1.45;
}

.entry-content .wp-block-pullquote {
	padding: 40px 24px;
	border-top: 2px solid var(--sg-ink);
	border-bottom: 2px solid var(--sg-ink);
	text-align: center;
}

.entry-content .wp-block-pullquote blockquote {
	padding: 0;
	border: 0;
}

.entry-content .wp-block-pullquote p {
	font-size: 27px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.02em;
}

.entry-content .wp-block-pullquote blockquote::before {
	content: "\201C";
	display: block;
	height: 44px;
	font-size: 72px;
	font-weight: 700;
	line-height: 1;
	color: var(--sg-red);
}

/* Tables: rounded frame, dark header row, quiet stripes; wide tables scroll sideways */
.entry-content .wp-block-table,
.entry-content > table {
	overflow-x: auto;
}

.entry-content table {
	width: 100%;
	border: 1px solid var(--sg-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 16px;
	overflow: hidden;
	font-size: 16px;
	line-height: 1.5;
}

.entry-content .wp-block-table thead,
.entry-content .wp-block-table tfoot {
	border: 0;
}

.entry-content :is(th, td) {
	padding: 14px 20px;
	border: 0;
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: var(--sg-ink);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--sg-white);
}

.entry-content tbody tr + tr > *,
.entry-content tfoot > tr > * {
	border-top: 1px solid var(--sg-line);
}

.entry-content tbody tr:nth-child(even) > *,
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: #fafafb;
}

.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: transparent;
}

.entry-content tbody th {
	background: var(--sg-paper);
	color: var(--sg-ink);
}

.entry-content td:first-child {
	font-weight: 500;
	color: var(--sg-ink);
}

.entry-content tfoot td {
	font-weight: 600;
	color: var(--sg-ink);
}

/* Images, galleries and media: rounded corners everywhere */
.entry-content img,
.entry-content video,
.entry-content .wp-block-embed__wrapper,
.entry-content .wp-block-cover {
	border-radius: 16px;
}

.entry-content .wp-block-embed__wrapper,
.entry-content .wp-block-cover {
	overflow: hidden;
}

.entry-content figure {
	margin-left: 0;
	margin-right: 0;
}

.entry-content :is(figcaption, .wp-element-caption, .wp-caption-text) {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--sg-text-muted);
	text-align: center;
}

/* Core sizes gallery images from this variable, so the gap and the variable have to agree or the row overflows.
   Core prints its own per-gallery rule late in the page, hence the extra class. */
.entry-content .wp-block-gallery.has-nested-images {
	--wp--style--unstable-gallery-gap: 12px;
	gap: 12px;
}

.entry-content .wp-block-gallery img {
	border-radius: 12px;
}

.entry-content iframe {
	max-width: 100%;
}

.entry-content audio {
	width: 100%;
}

.entry-content .alignleft,
.entry-content .alignright {
	max-width: 50%;
	margin-top: 0.4em;
	margin-bottom: 16px;
}

.entry-content .alignleft {
	float: left;
	margin-right: 32px;
}

.entry-content .alignright {
	float: right;
	margin-left: 32px;
}

.entry-content .aligncenter {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.entry-content .wp-block-image.aligncenter,
.entry-content .wp-block-image.alignleft,
.entry-content .wp-block-image.alignright {
	display: table;
}

/* Inner pages (not posts, which share the row with the sidebar): wide and full blocks break out of the column */
.container--narrow .entry-content > .alignwide {
	width: auto;
	margin-left: min(0px, calc((100% - min(var(--sg-container), 100vw) + 2 * var(--sg-gutter)) / 2));
	margin-right: min(0px, calc((100% - min(var(--sg-container), 100vw) + 2 * var(--sg-gutter)) / 2));
}

.container--narrow .entry-content > .alignfull {
	width: auto;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.container--narrow .entry-content > .alignfull img {
	border-radius: 0;
}

/* Separators */
.entry-content > hr,
.entry-content .wp-block-separator {
	height: 1px;
	margin-top: 56px;
	margin-bottom: 56px;
	border: 0;
	background: var(--sg-line);
	opacity: 1;
}

.entry-content > hr + *,
.entry-content .wp-block-separator + * {
	margin-top: 0;
}

.entry-content .wp-block-separator.is-style-dots {
	height: auto;
	background: none;
	text-align: center;
}

.entry-content .wp-block-separator.is-style-dots::before {
	content: "\2022\2022\2022";
	padding-left: 0.9em;
	font-family: var(--sg-font);
	font-size: 20px;
	letter-spacing: 0.9em;
	color: var(--sg-red);
}

/* Buttons */
.entry-content .wp-block-buttons {
	gap: 12px;
}

.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 17px 28px;
	border-radius: var(--sg-radius);
	background: var(--sg-red-cta);
	box-shadow: 0 4px 18px rgba(17, 17, 17, 0.16);
	font: 600 16px/1.2 var(--sg-font);
	color: var(--sg-white);
	text-decoration: none;
	transition: background 0.25s ease, box-shadow 0.25s ease;
}

.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus {
	background: var(--sg-red-cta-hover);
	box-shadow: 0 10px 26px rgba(17, 17, 17, 0.2);
	color: var(--sg-white);
}

.entry-content .wp-block-button.is-style-outline > .wp-block-button__link {
	padding: 15.5px 26.5px;
	border: 1.5px solid rgba(17, 17, 17, 0.22);
	background: transparent;
	box-shadow: none;
	color: var(--sg-ink);
}

.entry-content .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link:focus {
	border-color: var(--sg-ink);
	background: rgba(17, 17, 17, 0.03);
	color: var(--sg-ink);
}

/* Details (an expandable question or note) */
.entry-content details {
	padding: 0 20px;
	border: 1px solid var(--sg-line);
	border-radius: 14px;
	background: var(--sg-white);
}

.entry-content details + details {
	margin-top: 10px;
}

.entry-content summary {
	position: relative;
	padding: 16px 32px 16px 0;
	font-weight: 600;
	color: var(--sg-ink);
	cursor: pointer;
	list-style: none;
}

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

.entry-content summary::after {
	content: "";
	position: absolute;
	top: calc(50% - 6px);
	right: 4px;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.entry-content details[open] > summary::after {
	transform: translateY(4px) rotate(-135deg);
}

.entry-content details > :not(summary) {
	margin: 0 0 18px;
}

/* Callout style (Styles panel on a group block): a shaded box for key facts or a summary. Classic themes
   wrap a group's blocks in an inner container, so the rules reach through it. */
.entry-content .is-style-callout {
	padding: 28px 32px;
	border-radius: 20px;
	background: var(--sg-paper);
}

.entry-content :is(.is-style-callout, .is-style-callout > .wp-block-group__inner-container) > * {
	margin-top: 0;
	margin-bottom: 0;
}

.entry-content :is(.is-style-callout, .is-style-callout > .wp-block-group__inner-container) > * + * {
	margin-top: 14px;
}

.entry-content :is(.is-style-callout, .is-style-callout > .wp-block-group__inner-container) > p:first-child {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sg-red);
}

/* Other core blocks */
.entry-content .wp-block-columns {
	gap: 32px;
}

.entry-content .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	padding: 14px 18px;
	border: 1px solid var(--sg-line);
	border-radius: 14px;
	font-size: 16px;
}

.entry-content .wp-block-file__button {
	padding: 9px 16px;
	border-radius: var(--sg-radius);
	background: var(--sg-ink);
	font-size: 14px;
	font-weight: 600;
	color: var(--sg-white);
	text-decoration: none;
}

.entry-content .wp-block-file__button:hover,
.entry-content .wp-block-file__button:focus {
	background: var(--sg-red-cta);
	color: var(--sg-white);
}

.entry-content .wp-block-footnotes {
	padding-top: 24px;
	border-top: 1px solid var(--sg-line);
	font-size: 15px;
	color: var(--sg-text-muted);
}

.entry-content .has-drop-cap:not(:focus)::first-letter {
	margin: 0.08em 0.12em 0 0;
	font-size: 4.2em;
	font-weight: 700;
	line-height: 0.85;
	color: var(--sg-red);
}

/* FAQ block by Rank Math (its questions feed Rank Math's FAQPage schema) */
.entry-content .rank-math-list {
	border-top: 1px solid var(--sg-line);
}

.entry-content .rank-math-list-item {
	padding: 24px 0;
	border-bottom: 1px solid var(--sg-line);
}

.entry-content .rank-math-question {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.entry-content .rank-math-answer {
	font-size: 17px;
	line-height: 1.7;
}

.entry-content .rank-math-answer p {
	margin: 0;
}

.entry-content .rank-math-answer p + p {
	margin-top: 0.8em;
}

.entry-content .rank-math-answer img {
	display: none;
}

/* An FAQ that closes the post doesn't need a rule under it: the post footer draws one */
.post-content > .rank-math-block:last-child .rank-math-list-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

/* Paged posts (<!--nextpage-->) */
.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 40px;
	font-weight: 600;
}

.page-links a,
.page-links > span:not(:first-child) {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	border: 1px solid var(--sg-line);
	border-radius: 10px;
	text-decoration: none;
}

/* Default page template header */
.page-header {
	margin-bottom: 40px;
}

.page-header h1,
.entry-header h1 {
	font-size: 48px;
}

.entry-header {
	margin-bottom: 32px;
}

/* Classic editor alignment and caption classes outside the content area */
.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 600px) {
	.entry-content {
		font-size: 17px;
	}

	.post-content > p:first-child {
		font-size: 19px;
	}

	.entry-content h2 {
		font-size: 27px;
		line-height: 1.18;
	}

	.entry-content h3 {
		font-size: 21px;
	}

	.entry-content h4 {
		font-size: 18px;
	}

	.entry-content > * + h2 { margin-top: 48px; }
	.entry-content > * + h3 { margin-top: 36px; }

	.entry-content blockquote {
		padding-left: 20px;
		font-size: 19px;
	}

	.entry-content .wp-block-pullquote p {
		font-size: 22px;
	}

	.entry-content :is(th, td) {
		padding: 12px 14px;
	}

	.entry-content table {
		font-size: 15px;
	}

	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.entry-content .is-style-callout {
		padding: 22px 20px;
	}

	.entry-content .rank-math-question {
		font-size: 18px;
	}

	.page-header h1,
	.entry-header h1 {
		font-size: 34px;
	}
}

/* ==========================================================================
   25. (Comments: removed in 2.15.0, the site takes none)
   ========================================================================== */

/* ==========================================================================
   26. 404 & no results
   ========================================================================== */

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

.error-404 .search-form {
	max-width: 480px;
	margin: 32px auto 0;
}

/* Empty blog, archive or search: a white card under the title band, left-aligned with it */
.no-results {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 36px 40px;
	background: var(--sg-white);
	border: 1px solid var(--sg-line-soft);
	border-radius: var(--sg-radius-lg);
}

.no-results__icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: rgba(163, 23, 30, 0.08);
	color: var(--sg-red);
}

.no-results__icon .icon {
	width: 26px;
	height: 26px;
}

.no-results__body {
	min-width: 0;
	max-width: 760px;
}

.no-results__title {
	margin: 4px 0 8px;
	font-size: 26px;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.no-results__text {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	text-wrap: pretty;
}

.no-results__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	font-size: 15px;
	font-weight: 600;
	color: var(--sg-ink);
	text-decoration: none;
}

.no-results__all:hover,
.no-results__all:focus {
	color: var(--sg-red);
}

.no-results__all .icon {
	width: 16px;
	height: 16px;
}

/* Empty blog: the Security Hiring Guide's chapters as links, then a button to its contents page */
.no-results__chapters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.no-results__chapters a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 7px 14px;
	border: 1px solid var(--sg-line);
	border-radius: 999px;
	background: var(--sg-paper);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--sg-ink);
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.no-results__chapters a:hover,
.no-results__chapters a:focus-visible {
	border-color: var(--sg-ink);
	background: var(--sg-white);
}

.no-results__btn {
	margin-top: 24px;
}

@media (max-width: 600px) {
	.no-results {
		flex-direction: column;
		gap: 16px;
		padding: 28px 24px;
	}

	.no-results__icon {
		width: 48px;
		height: 48px;
		border-radius: 12px;
	}

	.no-results__title {
		margin-top: 0;
		font-size: 22px;
	}

	.no-results__text {
		font-size: 16px;
	}
}

/* ==========================================================================
   27. Service & industry pages (shared layout), then service page sections
   ========================================================================== */

/* Index pages (Services, Industries, Service Areas): a darkened photo band with only the h1, then the intro on
   grey with the buttons and a trust line (sections/hub-hero) */
.hub-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: 430px;
	overflow: hidden;
	background: var(--sg-ink);
	text-align: center;
}

.hub-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}

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

.hub-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: rgba(17, 17, 17, 0.72);
}

.hub-hero__inner {
	padding-top: 64px;
	padding-bottom: 64px;
}

.hub-hero h1 {
	max-width: 960px;
	margin: 0 auto;
	color: var(--sg-white);
	font-size: 64px;
	line-height: 1.02;
	letter-spacing: -0.04em;
}

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

.hub-intro__text {
	font-size: 20px;
	line-height: 1.8;
	color: var(--sg-text);
}

.hub-intro .cta-row {
	margin-top: 36px;
}

.hub-intro + .sec {
	border-top: 0;
}

/* Stars and review count, then the Site Settings points, split by thin rules */
.trust-line {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 0;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.7;
	color: rgba(17, 17, 17, 0.7);
}

.trust-line li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 18px;
}

.trust-line li + li {
	border-left: 1px solid rgba(17, 17, 17, 0.18);
}

.trust-line a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}

.trust-line a:hover,
.trust-line a:focus {
	color: var(--sg-ink);
}

.trust-line .stars {
	gap: 1px;
	font-size: 15px;
}

@media (max-width: 1020px) {
	.hub-hero h1 {
		font-size: 52px;
	}
}

@media (max-width: 860px) {
	.hub-hero {
		min-height: 300px;
	}

	.hub-hero__inner {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.hub-intro__text {
		font-size: 18px;
	}

	.hub-intro .cta-row {
		flex-direction: column;
	}

	.hub-intro .cta-row .btn {
		width: 100%;
	}

	.trust-line {
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}

	.trust-line li + li {
		border-left: 0;
	}
}

@media (max-width: 600px) {
	.hub-hero h1 {
		font-size: 40px;
		line-height: 1.05;
	}
}

/* Title and intro on white (the Careers page) */
.page-intro {
	padding-bottom: 0;
}

.page-intro__inner {
	max-width: 820px;
	text-align: center;
}

.page-intro h1 {
	font-size: 58px;
	line-height: 1.04;
}

.page-intro p {
	margin: 18px auto 0;
	font-size: 19px;
	line-height: 1.6;
	color: var(--sg-text-soft);
	text-wrap: balance;
}

.page-intro .cta-row {
	margin-top: 32px;
}

.page-intro + .sec {
	border-top: 0;
}

@media (max-width: 600px) {
	.page-intro h1 {
		font-size: 32px;
		line-height: 1.1;
	}

	.page-intro p {
		font-size: 17px;
	}
}

/* Service and industry pages ("landing"): full-width sections in white and grey, so no rules between them */
.landing .sec + .sec {
	border-top: 0;
}

/* The homepage's accountability cards sit on white here (industry detail pages colour theirs by position) */
.service-page .accountability,
.industry-page:not(.industry-detail) .accountability {
	background: var(--sg-white);
}

.landing .copy p {
	margin-bottom: 22px;
	font-size: 17.5px;
	line-height: 1.8;
	color: var(--sg-text);
}

.landing .copy p:last-child {
	margin-bottom: 0;
}

/* Centred section headings */
.landing .sec-head {
	max-width: 980px;
	margin: 0 auto 80px;
}

/* Photos that stretch to the height of the copy beside them */
.landing-pic {
	position: relative;
	min-height: 420px;
	overflow: hidden;
	border-radius: var(--sg-radius-lg);
	background: var(--sg-photo-bg);
}

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

/* Areas we serve, as a grid: the first county spans the row, the rest sit two to a row */
.areas--grid .areas__intro {
	margin-bottom: 32px;
	line-height: 1.8;
	color: var(--sg-text);
}

.areas--grid .areas__rows {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.areas--grid .areas__row--wide {
	grid-column: 1 / -1;
}

.areas--grid .areas__row li {
	padding: 0;
}

/* A city without its own page shows as plain text in the same pill */
.areas--grid .areas__row li a,
.areas--grid .areas__row li > span {
	display: block;
	padding: 9px 14px;
	border-radius: 999px;
}

.areas--grid .areas__row .areas__more {
	border: 1.5px dashed rgba(17, 17, 17, 0.28);
	background: transparent;
	color: rgba(17, 17, 17, 0.7);
}

/* The homepage keeps the red "+ more" pill */
.areas--pairs .areas__row .areas__more {
	border: 1px dashed rgba(168, 20, 27, 0.45);
	color: var(--sg-red);
}

.areas--grid .areas__map {
	min-height: 420px;
	background: #eef0f2;
}

/* FAQ: the full container under a centred heading (the homepage's and Partner Program page's too) */
.landing .faq .sec-head,
.home .faq .sec-head,
.partner-page .faq .sec-head {
	margin-bottom: 56px;
}

.landing .faq__list summary,
.home .faq__list summary,
.partner-page .faq__list summary {
	letter-spacing: -0.01em;
}

.landing .faq__answer,
.home .faq__answer,
.partner-page .faq__answer {
	padding: 0 56px 30px 0;
}

.landing .faq__answer p,
.home .faq__answer p,
.partner-page .faq__answer p {
	font-size: 17px;
	line-height: 1.75;
}

/* GuardOps app on a phone, tilted beside the reporting copy. Its height follows the log; the negative margin
   (about 70px a row) takes back the space the scaling frees. */
.phone-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	grid-column: 9 / span 4;
	--phone-scale: 0.84;
}

.industry-page .phone-wrap {
	--phone-scale: 0.72;
}

.phone {
	width: 300px;
	max-width: 100%;
	margin: calc((260px + 70px * var(--phone-rows, 4)) * (1 - var(--phone-scale)) / -2) 0;
	padding: 11px;
	background: #151618;
	border-radius: 46px;
	box-shadow: 0 0 0 1.5px #2b2d31 inset, 0 40px 80px rgba(17, 17, 17, 0.22), 0 12px 28px rgba(17, 17, 17, 0.14);
	font-size: 12px;
	line-height: 1.7;
	color: var(--sg-ink);
	transform: rotate(-3deg) scale(var(--phone-scale));
	transition: transform 0.5s ease;
}

.phone-wrap:hover .phone {
	transform: rotate(0deg) scale(var(--phone-scale)) translateY(-4px);
}

.phone__screen {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: var(--sg-white);
	border-radius: 36px;
}

.phone__status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 22px 6px;
	font-weight: 600;
}

.phone__island {
	width: 78px;
	height: 22px;
	border-radius: 12px;
	background: #151618;
}

.phone__signal {
	display: flex;
	align-items: flex-end;
	gap: 2px;
}

.phone__signal i {
	display: block;
	width: 3px;
	height: 5px;
	border-radius: 1px;
	background: var(--sg-ink);
}

.phone__signal i:nth-child(2) {
	height: 7px;
}

.phone__signal i:nth-child(3) {
	height: 9px;
}

.phone__signal b {
	position: relative;
	display: block;
	width: 20px;
	height: 9px;
	margin-left: 5px;
	border: 1.5px solid var(--sg-ink);
	border-radius: 3px;
}

.phone__signal b::after {
	content: "";
	position: absolute;
	inset: 1px 5px 1px 1px;
	border-radius: 1px;
	background: var(--sg-ink);
}

.phone__head {
	padding: 10px 18px 12px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.phone__brand {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 8px;
	font-weight: 600;
	color: rgba(17, 17, 17, 0.6);
}

.phone__logo {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: var(--sg-red-cta);
	color: var(--sg-white);
}

.phone__logo .icon {
	width: 13px;
	height: 13px;
}

.phone__title,
.phone__date {
	display: block;
}

.phone__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.phone__date {
	margin-top: 2px;
	line-height: 1.4;
	color: var(--sg-text-muted);
}

.phone__log {
	flex: 1;
	overflow: hidden;
	padding: 4px 14px;
}

.phone__log li {
	display: flex;
	gap: 10px;
	padding: 11px 0;
	border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}

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

.phone__thumb {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	overflow: hidden;
	border-radius: 10px;
}

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

.phone__thumb--icon {
	display: grid;
	place-items: center;
	background: var(--sg-paper);
}

.phone__thumb--icon .icon {
	width: 20px;
	height: 20px;
}

.phone__entry {
	flex: 1;
	min-width: 0;
}

.phone__row,
.phone__meta {
	display: flex;
	gap: 6px;
}

.phone__row {
	align-items: baseline;
	justify-content: space-between;
}

.phone__row b {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.phone__row em {
	font-size: 11px;
	font-style: normal;
	font-variant-numeric: tabular-nums;
	color: var(--sg-text-muted);
	white-space: nowrap;
}

.phone__meta {
	align-items: center;
	margin-top: 3px;
	overflow: hidden;
	font-size: 10.5px;
	line-height: 1.3;
	color: var(--sg-text-muted);
	white-space: nowrap;
}

.phone__tag {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 3px;
	padding: 2px 6px;
	border-radius: 999px;
	background: rgba(163, 23, 30, 0.08);
	font-size: 10px;
	font-weight: 600;
	color: var(--sg-red);
}

.phone__tag--supervisor,
.phone__tag--record {
	background: rgba(17, 17, 17, 0.07);
	color: var(--sg-ink);
}

.phone__tag .icon {
	width: 10px;
	height: 10px;
}

.phone__note {
	display: block;
	margin-top: 4px;
	font-size: 11.5px;
	line-height: 1.4;
	color: rgba(17, 17, 17, 0.75);
}

.phone__tabs {
	display: flex;
	justify-content: space-around;
	padding: 10px 12px 16px;
	border-top: 1px solid rgba(17, 17, 17, 0.08);
	font-size: 11px;
	font-weight: 600;
	color: var(--sg-text-muted);
}

.phone__tabs .is-on {
	color: var(--sg-red);
}

/* Service intro: heading and copy beside a tall photo */
.service-intro .grid-12 {
	align-items: stretch;
}

.service-intro__text {
	grid-column: 1 / span 7;
}

.service-intro h2 {
	margin-bottom: 40px;
}

.service-intro__pic {
	grid-column: 8 / span 5;
}

/* On site: task cards joined by arrows on the left, the copy on the right */
.task-cards {
	display: flex;
	flex-direction: column;
	grid-column: 1 / span 5;
	margin: 0;
	padding: 0;
	list-style: none;
}

.task-cards__arrow {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin: 6px auto;
	border: 1px solid var(--sg-line);
	border-radius: 50%;
	background: var(--sg-white);
	color: var(--sg-red);
}

.task-cards__arrow .icon {
	width: 15px;
	height: 15px;
}

.task-card {
	padding: 16px 18px;
	background: var(--sg-white);
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius-lg);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.task-card:hover {
	box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
	transform: translateY(-2px);
}

.task-card__top {
	display: flex;
	align-items: center;
	gap: 12px;
}

.task-card__icon {
	display: grid;
	flex: 0 0 40px;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--sg-paper);
	color: var(--sg-ink);
}

.task-card__icon .icon {
	width: 20px;
	height: 20px;
}

.task-card__title {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.task-card__sub {
	margin: 1px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(17, 17, 17, 0.6);
}

/* The decorative sample under the title, drawn at 400 x 40 and pinned left */
.task-card__visual {
	display: block;
	width: 100%;
	height: 38px;
	margin-top: 12px;
}

.service-onsite__text {
	grid-column: 6 / span 7;
	padding-left: 32px;
}

.service-reporting h2 {
	margin-bottom: 36px;
	font-size: 48px;
	line-height: 1.05;
}

/* Best fit: copy (and the buttons, on service pages) beside two columns of icon tiles */
.service-fit__text {
	grid-column: 1 / span 6;
}

.service-fit__text .cta-row {
	margin-top: 36px;
}

.fit__list {
	display: grid;
	grid-column: 7 / span 6;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding-left: 24px;
}

.fit__list li {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 78px;
	padding: 18px;
	background: var(--sg-white);
	border: 1px solid var(--sg-line);
	border-radius: 12px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fit__list li:hover {
	box-shadow: 0 10px 26px rgba(17, 17, 17, 0.08);
	transform: translateY(-2px);
}

.fit__icon {
	display: grid;
	flex: 0 0 40px;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--sg-paper);
	color: var(--sg-ink);
	transition: color 0.25s ease;
}

.fit__list li:hover .fit__icon {
	color: var(--sg-red);
}

.fit__icon .icon {
	width: 21px;
	height: 21px;
}

.fit__label {
	min-width: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--sg-ink);
}

.fit__label small {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--sg-text-muted);
}

/* Reporting: heading and copy beside the phone */
.service-reporting .grid-12 {
	align-items: center;
}

.service-reporting__text {
	grid-column: 1 / span 7;
}

/* Team photo: a wide band on white under the reporting section */
.service-page .team-band {
	background: var(--sg-white);
}

.service-page .team-band__frame {
	height: auto;
	aspect-ratio: 21 / 8;
	border-radius: var(--sg-radius-lg);
}

/* Areas: white county cards on the white section */
.service-page .areas__row {
	background: var(--sg-white);
}

/* FAQ on white, with the closing bar under it */
.service-page .faq {
	background: var(--sg-white);
}

.service-page .faq:has(+ .cta-bar) {
	padding-bottom: 0;
}

@media (max-width: 1020px) {
	.service-reporting h2 {
		font-size: 44px;
	}

	.landing .sec-head {
		margin: 0 0 48px;
		text-align: left;
	}

	.service-intro__text,
	.service-intro__pic,
	.service-onsite__text,
	.service-fit__text,
	.fit__list,
	.service-reporting__text,
	.task-cards,
	.phone-wrap {
		grid-column: 1 / -1;
	}

	.landing-pic {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.service-intro h2 {
		margin-bottom: 32px;
	}

	.service-intro__pic {
		margin-top: 40px;
	}

	/* Copy before the cards once they stack */
	.service-onsite__text {
		padding-left: 0;
	}

	.task-cards {
		order: 2;
		max-width: 520px;
		margin-top: 40px;
	}

	.fit__list {
		margin-top: 48px;
		padding-left: 0;
	}

	.phone-wrap {
		margin-top: 40px;
	}

	.phone,
	.phone-wrap:hover .phone {
		margin: 0;
		transform: none;
	}

	.areas--grid .areas__map {
		min-height: 0;
	}

}

@media (max-width: 860px) {
	.service-reporting h2 {
		font-size: 40px;
	}

	.service-page .team-band__frame {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 600px) {
	.landing .copy p {
		font-size: 16px;
	}

	.landing .reviews__head h2 {
		font-size: 32px;
	}

	.landing .sec-head {
		margin-bottom: 32px;
	}

	.areas--grid .areas__row li a,
	.areas--grid .areas__row li > span {
		padding: 8px 12px;
	}

	.landing .faq__answer,
	.home .faq__answer,
	.partner-page .faq__answer {
		padding-right: 0;
	}

	.service-reporting h2 {
		font-size: 32px;
		line-height: 1.1;
	}

	.service-page .team-band__frame {
		aspect-ratio: 4 / 3;
		border-radius: 12px;
	}

	.fit__list {
		gap: 12px;
	}

	.fit__list li {
		gap: 10px;
		padding: 14px 12px;
	}

	.fit__icon {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
	}

	.fit__label {
		font-size: 14.5px;
	}
}

@media (max-width: 380px) {
	.service-reporting h2,
	.landing .reviews__head h2 {
		font-size: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.phone,
	.phone-wrap:hover .phone {
		transition: none;
	}

	.fit__list li:hover,
	.task-card:hover {
		transform: none;
	}
}

/* ==========================================================================
   28. Breadcrumbs (slim bar under the site header)
   ========================================================================== */

.breadcrumbs {
	background: var(--sg-white);
	border-bottom: 1px solid #e4e4e7;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.4;
}

.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	min-height: 42px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.breadcrumbs li {
	display: flex;
	align-items: center;
	color: var(--sg-text-muted);
}

/* Chevron between crumbs */
.breadcrumbs li + li::before {
	content: "";
	width: 5px;
	height: 5px;
	margin: 0 10px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.7;
}

.breadcrumbs a {
	color: var(--sg-text-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
	color: var(--sg-red);
}

.breadcrumbs [aria-current] {
	color: var(--sg-ink);
}

@media (max-width: 600px) {
	.breadcrumbs {
		font-size: 13px;
	}

	.breadcrumbs__list {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		white-space: nowrap;
	}

	.breadcrumbs__list::-webkit-scrollbar {
		display: none;
	}

	.breadcrumbs li + li::before {
		margin: 0 8px;
	}
}

/* ==========================================================================
   29. Industry pages (the split rows and closing bar are shared with area pages)
   ========================================================================== */

/* The shared parts are re-coloured to keep the white and grey rhythm. On the industry pages the areas sit on
   white, then the steps, FAQ and closing bar on grey; detail pages keep areas on grey and the FAQ on white. */
.industry-detail .areas {
	background: var(--sg-paper);
}

.industry-detail .areas__row {
	background: var(--sg-white);
}

.industry-detail .areas__row li:not(.areas__more) {
	background: var(--sg-paper);
	border-color: transparent;
}

.industry-detail .faq {
	background: var(--sg-white);
}

.industry-page:not(.industry-detail) .cta-bar {
	background: var(--sg-paper);
}

.industry-page .faq:has(+ .cta-bar) {
	padding-bottom: 0;
}

.split .copy p {
	font-size: 17.5px;
	line-height: 1.8;
	color: var(--sg-text-soft);
}

/* Heading and copy beside a portrait photo (area pages) */
.split .grid-12 {
	align-items: center;
}

.split__text {
	grid-column: 1 / span 6;
}

.split h2 {
	margin-bottom: 28px;
	line-height: 1.06;
}

.split__pic {
	grid-column: 8 / span 5;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--sg-radius-lg);
	background: var(--sg-photo-bg);
}

.split--reverse .split__text {
	grid-column: 7 / span 6;
	grid-row: 1;
}

.split--reverse .split__pic {
	grid-column: 1 / span 5;
	grid-row: 1;
}

.split__pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}

/* Industry intro and coverage: wider copy, and the photo stretches to its height */
.landing .split .grid-12 {
	align-items: stretch;
}

.landing .split__text {
	grid-column: 1 / span 7;
	padding-right: 24px;
}

.landing .split h2 {
	margin-bottom: 36px;
	line-height: 1.04;
}

.landing .split__pic {
	position: relative;
	grid-column: 8 / span 5;
	min-height: 420px;
	aspect-ratio: auto;
}

.landing .split__pic img {
	position: absolute;
	inset: 0;
	object-position: center 20%;
}

/* Property types: icon tiles in one row, then a closing line beside the buttons */
.props__grid {
	display: grid;
	grid-template-columns: repeat(var(--props, 6), minmax(0, 1fr));
	gap: 16px;
}

.props__grid li {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	padding: 26px 14px 24px;
	background: var(--sg-white);
	border-radius: var(--sg-radius-lg);
	text-align: center;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.props__grid li:hover {
	box-shadow: 0 16px 36px rgba(17, 17, 17, 0.1);
	transform: translateY(-3px);
}

.props__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: var(--sg-paper);
	color: var(--sg-ink);
	transition: color 0.25s ease;
}

.props__grid li:hover .props__icon {
	color: var(--sg-red);
}

.props__icon .icon {
	width: 26px;
	height: 26px;
}

.props__grid b {
	margin-bottom: 6px;
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--sg-ink);
}

.props__grid small {
	max-width: 150px;
	font-size: 13.5px;
	line-height: 1.4;
	color: rgba(17, 17, 17, 0.6);
}

.props__more {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 28px;
	margin-top: 40px;
	text-align: center;
}

.props__more p {
	margin: 0;
	font-size: 18px;
	color: rgba(17, 17, 17, 0.75);
}

.props__more b {
	font-weight: 600;
	color: var(--sg-ink);
}

.props__more .cta-row {
	justify-content: center;
	margin-top: 0;
}

.props__more .btn--outline {
	background: var(--sg-white);
}

/* Links to the industry's detail pages (the four industry pages), between the tiles and the closing line */
.props__pages {
	margin-top: 40px;
	text-align: center;
}

.props__pages-label {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--sg-ink);
}

.props__pages ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.props__pages a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border: 1px solid var(--sg-line);
	border-radius: 999px;
	background: var(--sg-white);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--sg-ink);
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.props__pages a .icon {
	width: 14px;
	height: 14px;
	color: var(--sg-red);
	transition: transform 0.2s ease;
}

.props__pages a:hover,
.props__pages a:focus {
	border-color: var(--sg-red);
	color: var(--sg-red);
}

.props__pages a:hover .icon,
.props__pages a:focus .icon {
	transform: translateX(2px);
}

/* On site: checklist cards beside the copy, in one of four list styles */
.industry-onsite .grid-12 {
	align-items: start;
}

.duty-cards {
	display: grid;
	grid-column: 1 / span 5;
	gap: 10px;
}

.industry-onsite__text {
	grid-column: 6 / span 7;
	padding-left: 40px;
}

.duty-card {
	padding: 14px 18px;
	background: var(--sg-white);
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius-lg);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.duty-card:hover {
	box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
	transform: translateY(-2px);
}

.duty-cards--pills .duty-card {
	padding: 20px 22px;
}

.duty-card__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.28;
	letter-spacing: -0.01em;
}

.duty-card__icon {
	display: grid;
	flex: 0 0 36px;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--sg-paper);
	color: var(--sg-ink);
	transition: color 0.25s ease;
}

.duty-card:hover .duty-card__icon {
	color: var(--sg-red);
}

.duty-card__icon .icon {
	width: 18px;
	height: 18px;
}

.duty-card__points li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.7;
	color: var(--sg-ink);
}

.duty-card__mark {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
}

/* Rows with green checks at the end */
.duty-cards--checks .duty-card__points {
	overflow: hidden;
	border: 1px solid rgba(17, 17, 17, 0.1);
	border-radius: 10px;
}

.duty-cards--checks .duty-card__points li {
	justify-content: space-between;
	gap: 12px;
	padding: 7px 14px;
}

.duty-cards--checks .duty-card__points li + li {
	border-top: 1px solid rgba(17, 17, 17, 0.07);
}

.duty-cards--checks .duty-card__mark {
	order: 1;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(31, 157, 85, 0.12);
	color: #17703e;
}

.duty-cards--checks .duty-card__mark .icon {
	width: 12px;
	height: 12px;
}

/* Icon list */
.duty-cards--icons .duty-card__points li {
	gap: 12px;
}

.duty-cards--icons .duty-card__mark {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--sg-paper);
	color: var(--sg-ink);
}

.duty-cards--icons .duty-card__mark .icon {
	width: 16px;
	height: 16px;
}

/* Pills with a green check */
.duty-cards--pills .duty-card__points {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.duty-cards--pills .duty-card__points li {
	padding: 7px 12px;
	border-radius: 10px;
	background: var(--sg-paper);
}

.duty-cards--pills .duty-card__mark .icon {
	width: 15px;
	height: 15px;
	color: #17703e;
}

/* Red ticks */
.duty-cards--ticks .duty-card__mark {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(163, 23, 30, 0.09);
	color: var(--sg-red);
}

.duty-cards--ticks .duty-card__mark .icon {
	width: 12px;
	height: 12px;
}

/* Post orders: a white panel on the grey section, with the sample document beside the copy. The document's
   blocks share any spare height, so it lines up with the copy. */
.industry-orders__panel {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--sg-gap);
	padding: 72px 64px;
	background: var(--sg-white);
	border-radius: 22px;
}

.industry-orders__panel .sec-head {
	grid-column: 1 / -1;
	max-width: 900px;
	margin: 0 auto 64px;
	text-align: center;
}

.industry-orders__grid {
	display: contents;
}

.industry-orders__vis {
	display: flex;
	grid-column: 1 / span 6;
}

.industry-orders__grid .copy {
	grid-column: 7 / span 6;
	padding-left: 16px;
}

.ui-card--doc {
	display: flex;
	flex-direction: column;
	max-width: none;
	padding: 18px 22px 4px;
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius-lg);
	box-shadow: none;
	transform: none;
}

.ui-doc__head,
.ui-doc__note {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ui-doc__head {
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.ui-doc__head b,
.ui-doc__note b {
	display: block;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -0.01em;
}

.ui-doc__head em,
.ui-doc__note em {
	display: block;
	margin-top: 3px;
	font-size: 12.5px;
	font-style: normal;
	line-height: 1.4;
	color: rgba(17, 17, 17, 0.6);
}

.ui-doc__icon,
.ui-doc__note-icon {
	display: grid;
	flex: 0 0 38px;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--sg-red-cta);
	color: var(--sg-white);
}

.ui-doc__note-icon {
	background: var(--sg-paper);
	color: var(--sg-ink);
}

.ui-doc__icon .icon,
.ui-doc__note-icon .icon {
	width: 19px;
	height: 19px;
}

.ui-doc__block {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	justify-content: center;
	padding: 11px 0;
}

.ui-doc__block + .ui-doc__block {
	border-top: 1px solid rgba(17, 17, 17, 0.07);
}

.ui-doc__note {
	flex-direction: row;
	justify-content: flex-start;
}

.ui-doc__label {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.7;
	color: var(--sg-text-muted);
}

/* Checkpoints joined by a dashed line */
.ui-doc__route {
	display: flex;
	align-items: center;
}

.ui-doc__route .ui-tag {
	padding: 8px 13px;
	background: var(--sg-paper);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--sg-ink);
	white-space: nowrap;
}

.ui-doc__route i {
	flex: 1;
	min-width: 14px;
	border-top: 2px dashed #b9bdc3;
}

.ui-doc__ticks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 14px;
}

.ui-doc__ticks li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.7;
}

.ui-check--soft {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(163, 23, 30, 0.09);
	color: var(--sg-red);
}

.ui-check--soft .icon {
	width: 12px;
	height: 12px;
}

/* Reporting: copy beside the phone */
.industry-reporting .grid-12 {
	align-items: start;
}

.industry-reporting__text {
	grid-column: 1 / span 7;
}

/* Team photo: a wide band without the checklist bar */
.industry-page .team-band {
	padding-top: var(--sg-sec);
}

.industry-page .team-band__frame {
	height: auto;
	aspect-ratio: 2 / 1;
	margin-bottom: 56px;
	border-radius: var(--sg-radius-lg);
}

.industry-page .team-band__bar {
	display: none;
}

/* Closing call to action: a dark bar under the FAQ */
.cta-bar {
	padding: 72px 0 var(--sg-sec);
	background: var(--sg-white);
}

.cta-bar__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 40px 48px;
	background: var(--sg-ink);
	border-radius: var(--sg-radius-lg);
	color: var(--sg-white);
}

.landing .cta-bar__bar {
	padding: 36px 44px;
}

.cta-bar__title {
	margin: 0 0 10px;
	font-size: 32px;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--sg-white);
}

.landing .cta-bar__title {
	letter-spacing: -0.025em;
}

/* Every point leads with a dot; the list starts one dot-width to the left and clips it, so the dot that begins
   each line (the first point, or one that wrapped) is hidden and wrapped lines start flush */
.cta-bar__points {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 0;
	margin-left: -24px;
	clip-path: inset(0 0 0 24px);
	font-size: 15px;
	color: rgba(255, 255, 255, 0.72);
}

.cta-bar__points li::before {
	content: "\00B7";
	display: inline-block;
	width: 24px;
	text-align: center;
	color: rgba(255, 255, 255, 0.4);
}

.cta-bar .cta-row {
	flex: 0 0 auto;
	margin-top: 0;
}

.cta-bar .btn--outline,
.cta-bar .btn--outline:visited {
	color: var(--sg-white);
	border-color: rgba(255, 255, 255, 0.5);
}

.cta-bar .btn--outline:hover,
.cta-bar .btn--outline:focus {
	background: rgba(255, 255, 255, 0.08);
	color: var(--sg-white);
	border-color: var(--sg-white);
}

.cta-bar .btn--ghost {
	border-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1100px) {
	.props__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1020px) {
	.split__text,
	.split__pic,
	.split--reverse .split__text,
	.split--reverse .split__pic,
	.industry-reporting__text {
		grid-column: 1 / -1;
	}

	/* Stacked: the photo goes under the copy either way */
	.split--reverse .split__text,
	.split--reverse .split__pic {
		grid-row: auto;
	}

	.split__pic {
		aspect-ratio: 4 / 3;
		margin-top: 44px;
	}

	/* The industry intro, coverage, on-site and post orders rows stay side by side until phone widths */
	.landing .split__pic {
		margin-top: 0;
	}

	.industry-page .team-band__frame {
		aspect-ratio: 16 / 9;
	}

	.cta-bar__bar,
	.landing .cta-bar__bar {
		flex-direction: column;
		align-items: flex-start;
		padding: 32px;
	}
}

@media (max-width: 600px) {
	.split h2 {
		margin-bottom: 20px;
		line-height: 1.1;
	}

	.split__pic {
		margin-top: 32px;
		border-radius: 12px;
	}

	.landing .split h2 {
		margin-bottom: 24px;
	}

	/* The industry pages' intro and coverage copy drops to 16px like the rest of the page */
	.industry-page:not(.industry-detail) .split .copy p {
		font-size: 16px;
	}

	.landing .split__text,
	.landing .split__pic,
	.duty-cards,
	.industry-onsite__text,
	.industry-orders__vis,
	.industry-orders__grid .copy {
		grid-column: 1 / -1;
	}

	.landing .split__text,
	.industry-onsite__text,
	.industry-orders__grid .copy {
		padding-right: 0;
		padding-left: 0;
	}

	.landing .split__pic {
		min-height: 0;
		max-width: 560px;
		aspect-ratio: 4 / 5;
		margin-top: 36px;
	}

	/* Copy before the cards and the sample document once they stack */
	.duty-cards,
	.industry-orders__vis {
		order: 2;
		max-width: 560px;
		margin-top: 40px;
	}

	.industry-orders__vis {
		margin-top: 36px;
	}

	.industry-orders__panel .sec-head {
		margin: 0 0 32px;
		text-align: left;
	}

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

	.props__grid li {
		min-height: 0;
	}

	.props__grid b {
		font-size: 15px;
	}

	.props__more {
		flex-direction: column;
		gap: 18px;
		margin-top: 28px;
	}

	.props__more p {
		font-size: 16px;
	}

	.props__more .cta-row {
		width: 100%;
	}

	/* Detail page links: one per row, full width */
	.props__pages {
		margin-top: 32px;
	}

	.props__pages ul {
		flex-direction: column;
		gap: 8px;
	}

	.props__pages a {
		justify-content: space-between;
		width: 100%;
		padding: 12px 16px;
		border-radius: 12px;
		text-align: left;
	}

	.industry-orders__panel {
		padding: 36px 22px;
		border-radius: 14px;
	}

	.ui-card--doc {
		padding: 16px 18px 4px;
	}

	.ui-doc__ticks {
		grid-template-columns: minmax(0, 1fr);
	}

	.ui-doc__route .ui-tag {
		padding: 7px 10px;
		font-size: 12.5px;
	}

	.industry-page .team-band__frame {
		aspect-ratio: 16 / 10;
		margin-bottom: 40px;
	}

	.cta-bar {
		padding-top: 48px;
	}

	.cta-bar__bar,
	.landing .cta-bar__bar {
		padding: 28px 22px;
		border-radius: 12px;
	}

	.cta-bar__title {
		font-size: 26px;
	}

	/* Points wrap here, so space them instead of separating with dots */
	.cta-bar__points {
		gap: 4px 16px;
		margin-left: 0;
		clip-path: none;
	}

	.cta-bar__points li::before {
		content: none;
	}

	.cta-bar .cta-row {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.props__grid li:hover,
	.duty-card:hover {
		transform: none;
	}
}

/* ==========================================================================
   30. Service area pages (hub, counties, cities)
   ========================================================================== */

/* Area pages use the landing layout (hero, narrow FAQ). The logo strip, intro and property types share the silk
   smear (main's second child); after it, sections alternate white and grey by position, starting with white, so a
   skipped section never doubles a colour; the closing bar takes the colour of the FAQ above it. Marquee fades
   follow the section colour. */
.area-page > .sec:nth-child(odd),
.area-page > .sec:nth-child(odd) + .cta-bar {
	background: var(--sg-white);
}

.area-page > .sec:nth-child(even),
.area-page > .sec:nth-child(even) + .cta-bar {
	background: var(--sg-paper);
}

.area-page > .sec:nth-child(odd) .marquee {
	--marquee-fade: var(--sg-white);
}

.area-page > .sec:nth-child(even) .marquee {
	--marquee-fade: var(--sg-paper);
}

.area-page .faq:has(+ .cta-bar) {
	padding-bottom: 0;
}

/* Centred headings at every width (the landing layout left-aligns them on tablets) */
.area-page .sec-head {
	max-width: 980px;
	margin: 0 auto 56px;
	text-align: center;
}

.area-page .faq .sec-head {
	margin-bottom: 40px;
}

/* Body copy in the page's own sections */
.area-page .split .copy p,
.area-needs .copy p,
.area-why .copy p,
.area-local .copy p,
.area-page .sec-band .copy p,
.area-page .faq__answer p {
	margin-bottom: 18px;
	font-size: 18px;
	line-height: 1.8;
	color: var(--sg-text);
}

.area-page .split .copy p:last-child,
.area-needs .copy p:last-child,
.area-why .copy p:last-child,
.area-local .copy p:last-child,
.area-page .sec-band .copy p:last-child,
.area-page .faq__answer p:last-child {
	margin-bottom: 0;
}

/* Intro: the heading runs wider than the copy, and the photo starts level with it and stretches to the end
   of the buttons */
.area-intro .grid-12 {
	grid-template-rows: auto 1fr;
	align-items: stretch;
}

.area-intro .split__text {
	display: contents;
}

.area-intro h2 {
	grid-column: 1 / span 7;
	grid-row: 1;
	margin-bottom: 36px;
}

.area-intro .copy,
.area-intro .cta-row {
	grid-column: 1 / span 6;
}

.area-intro .copy {
	grid-row: 2;
}

.area-intro .cta-row {
	grid-row: 3;
}

.area-intro .split__pic {
	grid-column: 8 / span 5;
	grid-row: 1 / span 3;
	min-height: 380px;
	border-radius: 12px;
}

/* Card carousels: the heading beside the arrows, then a row of cards that scrolls sideways */
.carousel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "head ctrl" "track track";
	align-items: end;
	column-gap: 24px;
}

.carousel__head {
	grid-area: head;
	margin-bottom: 36px;
}

.carousel__intro {
	margin: 14px 0 0;
	font-size: 18px;
	line-height: 1.8;
	color: var(--sg-text);
}

.carousel__ctrl {
	display: flex;
	grid-area: ctrl;
	align-items: center;
	gap: 10px;
	margin-bottom: 36px;
}

.carousel.is-static .carousel__ctrl {
	visibility: hidden;
}

.carousel__count {
	margin-right: 8px;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: rgba(17, 17, 17, 0.62);
}

.carousel__count b {
	font-weight: 600;
	color: var(--sg-ink);
}

.carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1.5px solid rgba(17, 17, 17, 0.22);
	border-radius: 50%;
	background: var(--sg-white);
	color: var(--sg-ink);
	cursor: pointer;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.carousel__btn .icon {
	width: 20px;
	height: 20px;
}

.carousel__btn:hover:not(:disabled) {
	border-color: var(--sg-ink);
}

.carousel__btn:focus-visible {
	outline: 2px solid var(--sg-ink);
	outline-offset: 2px;
}

.carousel__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.carousel__track {
	display: flex;
	grid-area: track;
	gap: 24px;
	padding: 4px 0 6px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.carousel__track::-webkit-scrollbar {
	display: none;
}

.carousel__track:focus-visible {
	outline: 2px solid var(--sg-ink);
	outline-offset: 4px;
	border-radius: 14px;
}

.area-card {
	display: flex;
	flex: 0 0 calc((100% - 24px) / 2);
	flex-direction: column;
	overflow: hidden;
	background: var(--sg-white);
	border: 1px solid var(--sg-line);
	border-radius: 14px;
	scroll-snap-align: start;
}

.area-card__pic {
	aspect-ratio: 2 / 1;
	overflow: hidden; /* keeps portrait photos from stretching the frame */
	background: var(--sg-photo-bg);
}

.area-card__pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
}

.area-card__body {
	padding: 30px 30px 34px;
}

.area-card h3 {
	margin-bottom: 16px;
	font-size: clamp(22px, 2vw, 26px);
	line-height: 1.18;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.area-card h3 a {
	color: inherit;
	text-decoration: none;
}

.area-card h3 a:hover,
.area-card h3 a:focus {
	color: var(--sg-red);
}

.area-card .copy p {
	margin-bottom: 14px;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(17, 17, 17, 0.66);
}

.area-card .copy p:last-child {
	margin-bottom: 0;
}

/* A card taken out of the carousel: full width under it, the photo (at its own proportions, as in the design)
   beside the text */
.area-card--wide {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	margin-top: 24px;
}

.area-card--wide .area-card__pic {
	aspect-ratio: auto;
}

.area-card--wide .area-card__body {
	align-self: center;
	padding: 36px 40px 40px;
}

/* Property types under the intro: the industry pages' tiles (section 29), larger here, or cards with a sentence
   or two; then the closing line and buttons. The heading wraps as in the design ("Property Types We / Cover in …") */
.area-types .sec-head {
	max-width: 940px;
}

.area-types__intro {
	max-width: 860px;
	margin: 18px auto 0;
	font-size: 18px;
	line-height: 1.6;
	color: rgba(17, 17, 17, 0.68);
}

.area-types--cards .sec-head {
	max-width: 820px;
	margin-bottom: 52px;
}

.area-types .props__grid {
	gap: 20px;
}

.area-types .props__grid li {
	min-height: 0;
	padding: 34px 18px 30px;
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
}

.area-types .props__icon {
	width: 70px;
	height: 70px;
	margin-bottom: 18px;
	border-radius: 16px;
}

.area-types .props__icon .icon {
	width: 28px;
	height: 28px;
	stroke-width: 1.8;
}

.area-types .props__grid b {
	margin-bottom: 10px;
	font-size: 20px;
}

.area-types .props__grid small {
	max-width: none;
	font-size: 16px;
	line-height: 1.5;
	color: rgba(17, 17, 17, 0.62);
}

.area-types__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.area-types__cards--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.area-types__cards li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 30px 26px 28px;
	background: var(--sg-white);
	border: 1px solid #ebecef;
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
}

.area-types__cards .props__icon {
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	border-radius: 14px;
}

.area-types__cards .props__icon .icon {
	width: 26px;
	height: 26px;
}

.area-types__cards h3 {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.area-types__cards p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(17, 17, 17, 0.66);
}

.area-types .props__more {
	gap: 16px 36px;
	margin-top: 52px;
}

.area-types .props__more p {
	font-size: 20px;
	color: rgba(17, 17, 17, 0.72);
}

.area-types .props__more .cta-row {
	gap: 14px;
}

/* Security needs: a centred heading, the copy beside four cards */
.area-needs .sec-head {
	margin-bottom: 48px;
}

.area-needs__text {
	grid-column: 1 / span 6;
}

.area-needs__cards {
	display: grid;
	grid-column: 7 / span 6;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding-left: 24px;
}

.prop-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 18px;
	background: var(--sg-white);
	border: 1px solid rgba(17, 17, 17, 0.1);
	border-radius: 14px;
	box-shadow: 0 10px 30px -18px rgba(17, 17, 17, 0.25);
}

.prop-card__top {
	display: flex;
	align-items: center;
	gap: 12px;
}

.prop-card__icon {
	display: inline-flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--sg-paper);
	color: var(--sg-ink);
}

.prop-card__icon .icon {
	width: 19px;
	height: 19px;
	stroke-width: 1.8;
}

.prop-card__title {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--sg-ink);
}

.prop-card__points {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.prop-card__points li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 10px 6px 7px;
	border-radius: 999px;
	background: var(--sg-paper);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	color: var(--sg-ink);
}

.prop-card__points .icon {
	width: 18px;
	height: 18px;
	padding: 4px;
	border-radius: 50%;
	background: rgba(22, 163, 74, 0.14);
	color: #16a34a;
	stroke-width: 3;
}

.area-needs__pic {
	position: relative;
	grid-column: 8 / span 5;
	min-height: 320px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--sg-photo-bg);
	align-self: stretch;
}

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

/* Why us: copy and buttons beside four badges that stay in view while the copy scrolls */
.area-why__grid {
	display: grid;
	grid-template-columns: minmax(0, 13fr) minmax(0, 8fr);
	align-items: start;
	gap: 48px;
}

.area-why h2 {
	margin-bottom: 48px;
}

.area-why__badges {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	position: sticky;
	top: calc(var(--sg-header-height) + 40px);
}

.area-why__badges li {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 168px;
	padding: 26px 22px;
	background: var(--sg-white);
	border: 1px solid rgba(17, 17, 17, 0.1);
	border-radius: 14px;
	box-shadow: 0 10px 30px -18px rgba(17, 17, 17, 0.25);
}

.area-why__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 11px;
	background: rgba(163, 23, 30, 0.08);
	color: var(--sg-red);
}

.area-why__icon .icon {
	width: 22px;
	height: 22px;
	stroke-width: 1.8;
}

.area-why__badges b,
.area-why__badges em {
	display: block;
}

.area-why__badges b {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--sg-ink);
}

.area-why__badges em {
	margin-top: 3px;
	font-size: 14px;
	font-style: normal;
	line-height: 1.35;
	color: rgba(17, 17, 17, 0.6);
}

/* Extra sections under Why us, and the hiring tips under the steps: a plain heading and text */
.area-page .sec-band {
	margin-top: 96px;
}

.area-page .sec-band + .sec-band {
	margin-top: 72px;
}

.area-page .sec-band h2 {
	max-width: 1000px;
	margin-bottom: 28px;
}

.area-page .sec-band .copy {
	max-width: 920px;
}

/* Local area: the heading and copy beside a map, then the areas card */
.area-local__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: auto 1fr;
	column-gap: var(--sg-gap);
}

.area-local__head {
	grid-column: 1 / span 7;
	grid-row: 1;
	margin-bottom: 36px;
}

.area-local__text {
	grid-column: 1 / span 6;
	grid-row: 2;
}

.area-local__map {
	grid-column: 8 / span 5;
	grid-row: 1 / span 2;
	min-height: 440px;
	overflow: hidden;
	background: var(--sg-paper);
	border: 1px solid var(--sg-line);
	border-radius: 12px;
}

.area-local__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 440px;
	border: 0;
	filter: saturate(0.85);
}

.area-areas {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 36px 40px;
	background: var(--sg-white);
	border-radius: var(--sg-radius-lg);
	box-shadow: 0 24px 48px -32px rgba(17, 17, 17, 0.3), 0 0 0 1px rgba(17, 17, 17, 0.05);
}

.area-local__grid + .area-areas {
	margin-top: 64px;
}

.area-areas__main {
	flex: 1 1 auto;
	min-width: 0;
}

.area-areas__title {
	margin: 0 0 18px;
	font-size: 32px;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.area-page .area-areas__title {
	font-size: 32px;
}

.area-areas__text {
	max-width: 760px;
	margin: 0 0 20px;
	font-size: 18px;
	line-height: 1.8;
	color: var(--sg-text);
}

.area-areas__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.area-areas__list a,
.area-areas__list span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--sg-paper);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--sg-ink);
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.area-areas__list a:hover,
.area-areas__list a:focus {
	border-color: var(--sg-red);
	color: var(--sg-red);
}

.area-areas__list .icon {
	width: 14px;
	height: 14px;
	fill: var(--sg-red-cta);
	stroke: var(--sg-white);
	color: var(--sg-red-cta);
}

.area-areas__list .area-areas__more a {
	border: 1px dashed rgba(168, 20, 27, 0.5);
	background: transparent;
	font-weight: 600;
	color: var(--sg-red-cta);
}

.area-areas__list .area-areas__more a:hover,
.area-areas__list .area-areas__more a:focus {
	border-style: solid;
}

.area-areas .cta-row {
	flex: 0 0 auto;
	margin: 0;
}

/* The closing bar: call first, as on industry pages */
.area-page .cta-bar__bar {
	padding: 36px 44px;
}

@media (max-width: 1100px) {
	.area-types .props__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* Four tiles go two by two rather than three and one */
	.area-types .area-types__four,
	.area-types__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1020px) {
	/* Stacked: heading, copy, buttons, then the photo */
	.area-intro h2,
	.area-intro .copy,
	.area-intro .cta-row,
	.area-intro .split__pic {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.area-intro .grid-12 {
		grid-template-rows: none;
	}

	.area-intro .split__pic {
		min-height: 340px;
		margin-top: 32px;
	}

	.carousel__track {
		gap: 20px;
		margin: 0 calc(var(--sg-gutter) * -1);
		padding: 4px var(--sg-gutter) 6px;
		scroll-padding-inline: var(--sg-gutter);
	}

	.area-card {
		flex-basis: calc((100% - 20px) / 2.15);
	}

	.area-needs__text,
	.area-needs__cards,
	.area-needs__pic {
		grid-column: 1 / -1;
	}

	.area-needs__cards {
		margin-top: 32px;
		padding-left: 0;
	}

	.area-needs__pic {
		min-height: 340px;
		margin-top: 32px;
	}

	.area-why__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}

	.area-why h2 {
		margin-bottom: 32px;
	}

	.area-why__badges {
		position: static;
	}

	.area-local__head,
	.area-local__text,
	.area-local__map {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.area-local__grid {
		grid-template-rows: none;
	}

	.area-local__map,
	.area-local__map iframe {
		min-height: 340px;
	}

	.area-local__map {
		margin-top: 32px;
	}

	.area-areas {
		flex-direction: column;
		align-items: flex-start;
	}

	.area-page .cta-bar__bar {
		padding: 32px;
	}
}

/* Cards snap two at a time where two are in view */
@media (min-width: 601px) {
	.area-card {
		scroll-snap-align: none;
	}

	.area-card:nth-child(2n + 1),
	.area-card:last-child {
		scroll-snap-align: start;
	}
}

@media (max-width: 860px) {
	.area-intro h2,
	.area-local__head {
		margin-bottom: 24px;
	}

	.area-intro .split__pic {
		min-height: 300px;
	}

	.area-types .sec-head {
		margin-bottom: 32px;
	}

	.area-types .props__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.area-types .props__grid li {
		padding: 24px 12px 22px;
	}

	.area-types .props__icon {
		width: 56px;
		height: 56px;
		margin-bottom: 14px;
	}

	.area-types .props__grid b {
		margin-bottom: 6px;
		font-size: 17px;
	}

	.area-types .props__grid small {
		font-size: 14px;
	}

	.area-types .props__more {
		margin-top: 32px;
	}

	.area-types .props__more p {
		font-size: 17px;
	}

	.area-card--wide {
		grid-template-columns: minmax(0, 1fr);
	}

	.area-card--wide .area-card__pic {
		aspect-ratio: 2 / 1;
	}

	.area-card--wide .area-card__body {
		padding: 24px 22px 28px;
	}

	.area-page .split .copy p,
	.area-needs .copy p,
	.area-why .copy p,
	.area-local .copy p,
	.area-page .sec-band .copy p,
	.area-page .faq__answer p {
		font-size: 17px;
		line-height: 1.75;
	}

	.area-local__map,
	.area-local__map iframe {
		min-height: 300px;
	}

	.area-page .sec-band {
		margin-top: 64px;
	}

	.area-page .sec-band + .sec-band {
		margin-top: 52px;
	}

	.area-page .sec-band h2 {
		margin-bottom: 20px;
	}
}

@media (max-width: 600px) {
	/* The intro photo stays a 300px band under the buttons, as in the design (not the industry pages' portrait) */
	.area-intro .split__pic {
		max-width: none;
		min-height: 300px;
		aspect-ratio: auto;
		margin-top: 32px;
	}

	.area-types__intro {
		font-size: 16px;
	}

	.area-types__cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.area-types__cards li {
		padding: 24px 20px;
	}

	/* Under the left-aligned cards, the closing line reads left too */
	.area-types--cards .props__more {
		align-items: stretch;
		text-align: left;
	}

	.area-areas__text {
		font-size: 17px;
		line-height: 1.75;
	}

	.carousel {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "head" "track" "ctrl";
	}

	.carousel__ctrl {
		justify-content: flex-end;
		margin: 20px 0 0;
	}

	.carousel__count {
		margin-right: auto;
	}

	.carousel__track {
		gap: 14px;
	}

	.area-card {
		flex-basis: 86%;
	}

	.area-card__body {
		padding: 24px 22px 28px;
	}

	.area-card h3 {
		margin-bottom: 12px;
		font-size: 22px;
	}

	.area-needs__cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.prop-card {
		flex-flow: row wrap;
		align-items: center;
	}

	.prop-card__top {
		flex: 1 1 100%;
	}

	.area-why__badges li {
		min-height: 0;
		padding: 18px 16px;
	}

	.area-why__badges b {
		font-size: 16px;
	}

	.area-areas {
		padding: 26px 22px;
	}

	.area-local__grid + .area-areas {
		margin-top: 44px;
	}

	.area-page .area-areas__title {
		font-size: 26px;
	}

	.area-areas .cta-row {
		width: 100%;
	}

	.area-page .cta-bar__bar {
		padding: 28px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.carousel__track {
		scroll-behavior: auto;
	}
}

/* Hub: a card per county with all its city links */
.areas-hub .area-counties,
.areas-hub .accountability {
	background: var(--sg-white);
}

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

.area-county {
	overflow: hidden;
	background: var(--sg-white);
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius-lg);
	box-shadow: 0 24px 50px -36px rgba(17, 17, 17, 0.3);
}

.area-county__pic {
	display: block;
	aspect-ratio: 16 / 7;
	overflow: hidden;
	background: var(--sg-photo-bg);
}

.area-county__pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.area-county__pic:hover img {
	transform: scale(1.04);
}

.area-county__body {
	padding: 26px 28px 30px;
}

.area-county h3 {
	margin-bottom: 10px;
	font-size: 26px;
	letter-spacing: -0.025em;
}

.area-county h3 a {
	color: var(--sg-ink);
	text-decoration: none;
}

.area-county h3 a:hover,
.area-county h3 a:focus {
	color: var(--sg-red);
}

.area-county p {
	margin-bottom: 18px;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--sg-text-soft);
}

.area-county__cities {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.area-county__cities a {
	display: inline-block;
	padding: 8px 13px;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 999px;
	background: var(--sg-paper);
	font-size: 14px;
	line-height: 1;
	color: var(--sg-ink);
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.area-county__cities a:hover,
.area-county__cities a:focus {
	border-color: var(--sg-red);
	color: var(--sg-red);
}

@media (max-width: 860px) {
	.area-counties__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	.area-county__body {
		padding: 22px 20px 24px;
	}

	.area-county h3 {
		font-size: 23px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.area-county__pic:hover img {
		transform: none;
	}
}

/* Team photo (optional; the service-in-a-city pages have one): a wide band under Why Choose Us. It's a .sec, so it
   takes its turn in the white/grey alternation */
.area-page > .team-band {
	padding: var(--sg-sec) 0;
}

.area-page .team-band__frame {
	height: auto;
	aspect-ratio: 2 / 1;
	border-radius: var(--sg-radius-lg);
}

@media (max-width: 1020px) {
	.area-page .team-band__frame {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 600px) {
	.area-page .team-band__frame {
		aspect-ratio: 4 / 3;
	}
}

/* County and region hubs (the safeguard-county-hubs-2-2 mocks): the alternation starts with grey, so the white
   region cards sit on grey and the grey service tiles on white */
.area-hub > .sec:nth-child(odd),
.area-hub > .sec:nth-child(odd) + .cta-bar {
	background: var(--sg-paper);
}

.area-hub > .sec:nth-child(even),
.area-hub > .sec:nth-child(even) + .cta-bar {
	background: var(--sg-white);
}

.area-hub > .sec:nth-child(odd) .marquee {
	--marquee-fade: var(--sg-paper);
}

.area-hub > .sec:nth-child(even) .marquee {
	--marquee-fade: var(--sg-white);
}

/* Cities We Serve: a left-aligned heading and line, then region cards three to a row (a short last row centred) */
.area-page .area-regions .sec-head {
	max-width: none;
	margin: 0 0 40px;
	text-align: left;
}

.area-regions .sec-head h2 + p {
	max-width: 760px;
	margin: 16px 0 0;
	font-size: 18px;
	text-wrap: pretty;
}

.area-regions__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.area-regions__card {
	display: flex;
	flex: 0 0 calc((100% - 48px) / 3);
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: var(--sg-white);
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
}

.area-regions__photo {
	aspect-ratio: 16 / 10;
	background: var(--sg-photo-bg);
}

.area-regions__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.area-regions__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px 26px 26px;
}

.area-regions__body h3 {
	margin: 0 0 14px;
	font-size: clamp(20px, 1.7vw, 22px);
}

.area-regions__list {
	margin: 0;
	padding: 0;
	list-style: none;
	columns: 2;
	column-gap: 18px;
}

.area-regions__list li {
	margin: 0;
	break-inside: avoid;
}

.area-regions__list a,
.area-regions__list span {
	display: inline-block;
	padding: 5px 0;
	color: var(--sg-ink);
	font-size: 16px;
}

.area-regions__list a {
	text-decoration: underline;
	text-decoration-color: rgba(17, 17, 17, 0.22);
	text-underline-offset: 4px;
}

.area-regions__list a:hover {
	color: var(--sg-red);
	text-decoration-color: var(--sg-red);
}

.area-regions__list a.is-hub {
	font-weight: 600;
}

.area-page .area-regions__more {
	margin: 16px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--sg-line);
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--sg-text-muted);
}

/* The service tiles: three to a row, each a link to its service page */
.area-offer__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.area-offer__grid li {
	margin: 0;
}

.area-offer__grid a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: var(--sg-paper);
	border-radius: 18px;
	color: var(--sg-ink);
	text-decoration: none;
	transition: box-shadow 0.15s;
}

.area-offer__grid a:hover {
	box-shadow: 0 12px 28px rgba(17, 17, 17, 0.1);
}

.area-offer__photo {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--sg-photo-bg);
}

.area-offer__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.area-offer__grid a:hover .area-offer__photo img {
	transform: scale(1.03);
}

.area-offer__body {
	display: block;
	padding: 22px 24px 26px;
}

.area-offer__body b {
	display: block;
	margin-bottom: 6px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.area-offer__grid a:hover .area-offer__body b {
	color: var(--sg-red);
}

.area-offer__body span {
	display: block;
	font-size: 15.5px;
	line-height: 1.55;
	color: rgba(17, 17, 17, 0.7);
}

@media (max-width: 900px) {
	.area-regions__card {
		flex-basis: calc((100% - 24px) / 2);
	}

	.area-offer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.area-page .area-regions .sec-head {
		margin-bottom: 24px;
	}

	.area-regions .sec-head h2 + p {
		font-size: 17px;
	}

	.area-regions__grid,
	.area-offer__grid {
		gap: 16px;
	}

	.area-regions__card {
		flex-basis: 100%;
	}

	.area-regions__body {
		padding: 20px 20px 22px;
	}

	.area-offer__grid {
		grid-template-columns: 1fr;
	}

	.area-offer__body {
		padding: 18px 20px 22px;
	}
}

/* ==========================================================================
   31. Security Hiring Guide (contents page, guide pages and their reading widgets)
   ========================================================================== */

/* Contents page: the post title band, with the guide's last update and who wrote it in place of a byline */
.guide-hero__updated {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 28px 0 0;
	font-size: 14.5px;
	color: var(--sg-text-muted);
}

.guide-hero__updated .icon {
	width: 17px;
	height: 17px;
	color: var(--sg-red);
}

.guide-hero__updated time {
	font-weight: 600;
	color: var(--sg-ink);
}

/* Numbered links to the chapters under the standfirst (phones use the Chapters box instead) */
.guide-jump {
	margin-top: 28px;
}

.guide-jump ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.guide-jump a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px 8px 8px;
	border: 1px solid var(--sg-line);
	border-radius: 999px;
	background: var(--sg-white);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--sg-ink);
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guide-jump a:hover,
.guide-jump a:focus-visible {
	border-color: var(--sg-ink);
	box-shadow: 0 8px 20px -12px rgba(17, 17, 17, 0.35);
	color: var(--sg-ink);
}

.guide-jump__n {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--sg-paper);
	font-size: 12.5px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* A shorter photo, so the guides start sooner */
.guide-hub .post-hero {
	background: linear-gradient(var(--sg-paper) 0 calc(100% - 120px), var(--sg-white) calc(100% - 120px));
}

.guide-hub .post-hero__media {
	aspect-ratio: 3 / 1;
}

/* The title band's text spans the container like the photo under it */
.guide-hub .post-hero__text,
.guide-hub .post-hero__dek {
	max-width: none;
}

/* The short article above the chapters, its first paragraph a little larger */
.guide-hub .entry-content {
	font-size: 17.5px;
	line-height: 1.8;
}

.guide-hub__article {
	margin-bottom: 40px;
}

.guide-hub__article > p:first-child {
	font-size: 18px;
	line-height: 1.7;
	color: var(--sg-ink);
}

/* "Start here": situations beside the guides to read first */
.guide-start {
	margin-bottom: 84px;
	padding: 32px;
	border: 1px solid var(--sg-line);
	border-radius: 20px;
	background: var(--sg-white);
	box-shadow: 0 24px 48px -36px rgba(17, 17, 17, 0.35);
}

.guide-start__title {
	margin: 0 0 20px;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.guide-start__path {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 24px;
	padding: 20px 0;
	border-top: 1px solid var(--sg-line);
}

.guide-start__path:last-child {
	padding-bottom: 0;
}

.guide-start__when {
	margin: 0;
	padding-left: 14px;
	border-left: 2px solid var(--sg-red);
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--sg-ink);
}

.guide-start ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.guide-start li {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: 16px;
	line-height: 1.45;
}

.guide-start li::before {
	content: "\2192";
	flex: 0 0 auto;
	font-weight: 600;
	color: var(--sg-red);
}

.guide-start a {
	font-weight: 500;
	color: var(--sg-ink);
	text-decoration: underline;
	text-decoration-color: rgba(163, 23, 30, 0.35);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.guide-start a:hover,
.guide-start a:focus-visible {
	color: var(--sg-red);
	text-decoration-color: var(--sg-red);
}

/* Chapters: title and intro, then the guides as numbered rows in one box */
.guide-chapter + .guide-chapter {
	margin-top: 84px;
}

.guide-chapter__head {
	margin-bottom: 32px;
}

.guide-chapter__title {
	font-size: 46px;
	line-height: 1.04;
	letter-spacing: -0.035em;
}

.guide-chapter__intro {
	max-width: 660px;
	margin: 18px 0 0;
	font-size: 17.5px;
	line-height: 1.75;
	text-wrap: pretty;
}

.guide-list {
	overflow: hidden;
	border: 1px solid var(--sg-line);
	border-radius: 20px;
	background: var(--sg-white);
}

/* The title link stretches over the row, so each row is one click target with one link */
.guide-item {
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: start;
	gap: 18px;
	padding: 24px 28px;
	transition: background 0.2s ease;
}

.guide-item + .guide-item {
	border-top: 1px solid var(--sg-line);
}

.guide-item:hover {
	background: var(--sg-paper);
}

.guide-item:has(.guide-item__title a:focus-visible) {
	outline: 2px solid var(--sg-red-on-dark);
	outline-offset: -2px;
}

.guide-item__number {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--sg-paper);
	font-size: 15px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--sg-ink);
	transition: background 0.2s ease, color 0.2s ease;
}

.guide-item:hover .guide-item__number {
	background: var(--sg-ink);
	color: var(--sg-white);
}

.guide-item__title {
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.guide-item__title a {
	color: var(--sg-ink);
	text-decoration: none;
	outline: none;
	transition: color 0.2s ease;
}

.guide-item__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.guide-item:hover .guide-item__title a {
	color: var(--sg-red);
}

.guide-item__excerpt {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.6;
	text-wrap: pretty;
}

.guide-item__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 12px;
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--sg-text-muted);
}

.guide-item__meta .icon {
	width: 18px;
	height: 18px;
	color: var(--sg-red);
	transition: transform 0.2s ease;
}

.guide-item:hover .guide-item__meta .icon {
	transform: translateX(3px);
}

/* Under a guide: previous and next guide */
.guide-pager {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 40px;
}

.guide-pager__link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 24px;
	border: 1px solid var(--sg-line);
	border-radius: 18px;
	color: var(--sg-ink);
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guide-pager__link:hover,
.guide-pager__link:focus-visible {
	border-color: var(--sg-ink);
	box-shadow: 0 18px 40px -28px rgba(17, 17, 17, 0.45);
	color: var(--sg-ink);
}

.guide-pager__link--next {
	grid-column: 2;
	align-items: flex-end;
	text-align: right;
}

.guide-pager__label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sg-text-muted);
}

.guide-pager__link--next .guide-pager__label {
	flex-direction: row-reverse;
}

.guide-pager__label .icon {
	width: 16px;
	height: 16px;
	color: var(--sg-red);
	transition: transform 0.2s ease;
}

.guide-pager__link--prev:hover .icon {
	transform: translateX(-3px);
}

.guide-pager__link--next:hover .icon {
	transform: translateX(3px);
}

.guide-pager__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

@media (max-width: 1020px) {
	.guide-hub .post-hero__media {
		aspect-ratio: 5 / 2;
	}
}

@media (max-width: 860px) {
	.guide-jump {
		display: none;
	}

	.guide-start__path {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.guide-chapter__title {
		font-size: 40px;
	}
}

@media (max-width: 600px) {
	.guide-hero__updated {
		margin-top: 22px;
		font-size: 13.5px;
	}

	/* The byline drops to its own line */
	.guide-hero__sep {
		display: none;
	}

	.guide-hero__by {
		flex-basis: 100%;
	}

	.guide-hub .post-hero {
		background: linear-gradient(var(--sg-paper) 0 calc(100% - 70px), var(--sg-white) calc(100% - 70px));
	}

	.guide-hub .post-hero__media {
		aspect-ratio: 16 / 9;
	}

	.guide-hub .entry-content {
		font-size: 16px;
	}

	.guide-hub__article > p:first-child {
		font-size: 17px;
	}

	.guide-start {
		margin-bottom: 56px;
		padding: 22px 20px;
		border-radius: 16px;
	}

	.guide-start__title {
		margin-bottom: 14px;
		font-size: 22px;
	}

	.guide-start__path {
		padding: 16px 0;
	}

	.guide-start li {
		font-size: 15.5px;
	}

	.guide-chapter + .guide-chapter {
		margin-top: 56px;
	}

	.guide-chapter__head {
		margin-bottom: 24px;
	}

	.guide-chapter__title {
		font-size: 32px;
		line-height: 1.1;
	}

	.guide-chapter__intro {
		margin-top: 14px;
		font-size: 16px;
	}

	.guide-list {
		border-radius: 16px;
	}

	.guide-item {
		grid-template-columns: 36px minmax(0, 1fr);
		gap: 6px 14px;
		padding: 18px;
	}

	.guide-item__number {
		width: 36px;
		height: 36px;
		border-radius: 10px;
		font-size: 13.5px;
	}

	.guide-item__title {
		font-size: 17.5px;
	}

	.guide-item__excerpt {
		font-size: 15px;
	}

	.guide-item__meta {
		grid-column: 2;
		padding-top: 4px;
	}

	.guide-pager {
		grid-template-columns: minmax(0, 1fr);
	}

	.guide-pager__link--next {
		grid-column: auto;
	}
}

/* Guides and the contents page: the title band, reading column and quote section at the type scale of the
   service, industry and area pages (blog posts keep section 23's) */
:is(.single-safeguard_guide, .guide-hub) .post-hero {
	padding-top: 84px;
}

:is(.single-safeguard_guide, .guide-hub) .post-hero__title {
	font-size: 64px;
	line-height: 1.02;
	letter-spacing: -0.04em;
}

:is(.single-safeguard_guide, .guide-hub) .post-hero__dek {
	margin-top: 24px;
	font-size: 18px;
	line-height: 1.7;
}

:is(.single-safeguard_guide, .guide-hub) .post-hero__media {
	margin-top: 56px;
}

:is(.single-safeguard_guide, .guide-hub) .post-layout {
	padding-top: 84px;
	padding-bottom: 84px;
}

:is(.single-safeguard_guide, .guide-hub) .post-quote {
	padding: 84px 0;
}

:is(.single-safeguard_guide, .guide-hub) .post-quote__title {
	font-size: 58px;
	line-height: 1.04;
	letter-spacing: -0.035em;
}

:is(.single-safeguard_guide, .guide-hub) .post-quote__text {
	margin-top: 22px;
	font-size: 18px;
	line-height: 1.7;
}

/* A guide: a shorter photo, the sidebar quote card in white, related guides at the same scale */
.single-safeguard_guide .post-hero__media {
	aspect-ratio: 16 / 7;
	box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
}

.single-safeguard_guide .post-toc__list a {
	text-wrap: pretty;
}

.single-safeguard_guide .post-cta {
	border: 1px solid var(--sg-line);
	background: var(--sg-white);
	color: var(--sg-ink);
	box-shadow: 0 18px 40px -30px rgba(17, 17, 17, 0.35);
}

.single-safeguard_guide .post-cta__title {
	color: var(--sg-ink);
}

.single-safeguard_guide .post-cta__points li {
	color: rgba(17, 17, 17, 0.78);
}

.single-safeguard_guide :is(.post-cta__points, .post-cta__call) .icon {
	color: var(--sg-red);
}

.single-safeguard_guide .post-cta__call,
.single-safeguard_guide .post-cta__call:hover,
.single-safeguard_guide .post-cta__call:focus {
	color: var(--sg-ink);
}

.single-safeguard_guide .post-footer {
	margin-top: 40px;
}

/* The first and last guides have one neighbour: its card runs the full width */
.single-safeguard_guide .guide-pager__link:only-child {
	grid-column: 1 / -1;
	text-align: left;
}

.single-safeguard_guide .related-posts {
	padding: 84px 0;
}

.single-safeguard_guide .related-posts__title {
	font-size: 46px;
	line-height: 1.04;
}

.single-safeguard_guide .related-posts .post-card__title {
	font-weight: 600;
}

/* A guide's article: no lead paragraph, a steadier rhythm and larger section headings */
.single-safeguard_guide .entry-content {
	line-height: 1.8;
}

.single-safeguard_guide .post-content > p:first-child {
	font-size: inherit;
	line-height: 1.7;
	color: inherit;
}

.single-safeguard_guide .entry-content > * + * {
	margin-top: 20px;
}

.single-safeguard_guide .entry-content h2 {
	font-size: 40px;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.single-safeguard_guide .entry-content h3 {
	font-size: 22px;
}

.single-safeguard_guide .entry-content > * + h3 {
	margin-top: 40px;
}

.single-safeguard_guide .entry-content > h3 + * {
	margin-top: 16px;
}

.single-safeguard_guide .entry-content > * + h2 {
	margin-top: 84px;
}

/* A photo between sections (an Image block with the class sg-photo, cropped to 16:9 in the block's settings) */
.single-safeguard_guide .entry-content > .sg-photo {
	margin-top: 40px;
}

.single-safeguard_guide .entry-content .sg-photo img {
	width: 100%;
	border-radius: 12px;
	background: var(--sg-photo-bg);
}

.single-safeguard_guide .entry-content > h2 + * {
	margin-top: 28px;
}

.single-safeguard_guide .entry-content > h2 + h3 {
	margin-top: 32px;
}

/* Phone numbers and hyphenated words in headings (js/guide-widgets.js) */
.sg-nowrap {
	white-space: nowrap;
}

/* Lists: a tinted check on each item, the items ruled apart */
.single-safeguard_guide .entry-content ul.wp-block-list {
	margin-top: 24px;
}

.single-safeguard_guide .entry-content ul.wp-block-list > li {
	margin: 0;
	padding: 12px 0 12px 36px;
	border-top: 1px solid var(--sg-line);
	font-size: 17px;
	line-height: 1.6;
}

.single-safeguard_guide .entry-content ul.wp-block-list > li:first-child {
	border-top: 0;
}

.single-safeguard_guide .entry-content ul.wp-block-list > li::before {
	top: 14px;
	left: 0;
	width: 24px;
	height: 24px;
	border: 0;
	background: rgba(163, 23, 30, 0.09);
}

.single-safeguard_guide .entry-content ul.wp-block-list > li::after {
	content: "";
	position: absolute;
	top: 19px;
	left: 5px;
	width: 14px;
	height: 14px;
	background: var(--sg-red);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* "Label: description" lists as small cards, three across when that leaves no gap (js/guide-widgets.js) */
.single-safeguard_guide .entry-content ul.sg-minis {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

@media (min-width: 701px) {
	.single-safeguard_guide .entry-content ul.sg-minis:has(> li:nth-child(3)):has(> li:last-child:nth-child(odd)) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.single-safeguard_guide .entry-content ul.sg-minis > li.sg-mini {
	padding: 20px 22px;
	border: 1px solid var(--sg-line);
	border-radius: 16px;
	background: var(--sg-white);
	box-shadow: 0 10px 30px -24px rgba(17, 17, 17, 0.3);
}

.single-safeguard_guide .entry-content ul.sg-minis > li.sg-mini::before,
.single-safeguard_guide .entry-content ul.sg-minis > li.sg-mini::after {
	content: none;
}

.single-safeguard_guide .entry-content .sg-mini__t {
	display: block;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--sg-ink);
}

.single-safeguard_guide .entry-content .sg-mini__t a {
	font-weight: inherit;
}

.single-safeguard_guide .entry-content .sg-mini__d {
	display: block;
	margin-top: 6px;
	font-size: 15.5px;
	line-height: 1.6;
	color: rgba(17, 17, 17, 0.72);
}

/* The first run of h3 sub-sections in a section: cards with a topic icon, or text only when they're questions */
.single-safeguard_guide .entry-content .sg-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
}

.single-safeguard_guide .entry-content .sg-cards--wide {
	grid-template-columns: minmax(0, 1fr);
}

.single-safeguard_guide .entry-content .sg-card {
	padding: 24px 24px 22px;
	border: 1px solid var(--sg-line);
	border-radius: 18px;
	background: var(--sg-white);
	box-shadow: 0 10px 30px -24px rgba(17, 17, 17, 0.3);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.single-safeguard_guide .entry-content .sg-card > * + * {
	margin-top: 10px;
}

.single-safeguard_guide .entry-content .sg-card h3 {
	font-size: 19px;
	letter-spacing: -0.01em;
}

.single-safeguard_guide .entry-content .sg-card__badge + h3 {
	margin-top: 16px;
}

.single-safeguard_guide .entry-content .sg-card p {
	font-size: 16px;
	line-height: 1.6;
	color: rgba(17, 17, 17, 0.72);
}

.single-safeguard_guide .entry-content .sg-card ul.wp-block-list > li {
	font-size: 15.5px;
	border-color: rgba(17, 17, 17, 0.08);
}

/* Icon tile on a card, and on each item of a figure's icon list (inc/hiring-guide.php) */
.single-safeguard_guide .entry-content .sg-card__badge {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 11px;
	background: var(--sg-paper);
	color: var(--sg-ink);
}

.single-safeguard_guide .entry-content .sg-card__badge .icon {
	width: 22px;
	height: 22px;
}

@media (min-width: 701px) {
	.single-safeguard_guide .entry-content .sg-card:hover {
		border-color: rgba(17, 17, 17, 0.26);
		box-shadow: 0 24px 44px -30px rgba(17, 17, 17, 0.45);
	}
}

/* Later runs of sub-sections: a quiet two-column list; numbered ones ("1. ...") one column with a red rule */
.single-safeguard_guide .entry-content .sg-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 40px;
	margin-top: 28px;
}

.single-safeguard_guide .entry-content .sg-list__item {
	padding: 22px 0;
	border-top: 1px solid var(--sg-line);
}

.single-safeguard_guide .entry-content .sg-list__item > * + * {
	margin-top: 8px;
}

.single-safeguard_guide .entry-content .sg-list__item h3 {
	font-size: 19px;
	letter-spacing: -0.01em;
}

.single-safeguard_guide .entry-content .sg-list__item p {
	font-size: 16.5px;
	line-height: 1.65;
	color: rgba(17, 17, 17, 0.72);
}

.single-safeguard_guide .entry-content .sg-list--one {
	grid-template-columns: minmax(0, 1fr);
}

.single-safeguard_guide .entry-content .sg-list--one .sg-list__item {
	padding: 20px 0 20px 20px;
	border-top: 0;
	border-left: 2px solid var(--sg-red);
}

.single-safeguard_guide .entry-content .sg-list--one .sg-list__item + .sg-list__item {
	margin-top: 14px;
}

/* "Step 1:" / "Part 1:" sub-sections: a timeline, a red dot on the rail for each step */
.single-safeguard_guide .entry-content .sg-steps {
	margin-top: 32px;
}

.single-safeguard_guide .entry-content .sg-step {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 18px;
	margin: 0;
	padding: 0 0 32px;
}

.single-safeguard_guide .entry-content .sg-step::before {
	content: "";
	top: 30px;
	bottom: 4px;
	left: 6px;
	display: block;
	width: 2px;
	height: auto;
	border: 0;
	border-radius: 2px;
	background: var(--sg-line);
}

.single-safeguard_guide .entry-content .sg-step:last-child {
	padding-bottom: 0;
}

.single-safeguard_guide .entry-content .sg-step:last-child::before {
	content: none;
}

.single-safeguard_guide .entry-content .sg-step__n {
	width: 14px;
	height: 14px;
	margin-top: 8px;
	border-radius: 50%;
	background: var(--sg-red);
	box-shadow: 0 0 0 5px rgba(163, 23, 30, 0.12);
}

.single-safeguard_guide .entry-content .sg-step__body > * + * {
	margin-top: 10px;
}

.single-safeguard_guide .entry-content .sg-step h3 {
	font-size: 20px;
	letter-spacing: -0.01em;
}

/* FAQ: each question opens and closes (Rank Math's FAQ block keeps its rules between the questions) */
.single-safeguard_guide .entry-content .sg-faq {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

.single-safeguard_guide .entry-content > .sg-faq {
	border-bottom: 1px solid var(--sg-line);
}

.single-safeguard_guide .entry-content > :not(.sg-faq) + .sg-faq {
	margin-top: 24px;
	border-top: 1px solid var(--sg-line);
}

.single-safeguard_guide .entry-content > .sg-faq + .sg-faq {
	margin-top: 0;
}

.single-safeguard_guide .entry-content > .sg-faq:last-child {
	border-bottom: 0;
}

.single-safeguard_guide .entry-content > h2 + .rank-math-block {
	margin-top: 24px;
}

.single-safeguard_guide .entry-content .rank-math-list-item:has(> .sg-faq) {
	padding: 0;
}

.single-safeguard_guide .entry-content .sg-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
}

.single-safeguard_guide .entry-content .sg-faq summary::after {
	content: none;
}

.single-safeguard_guide .entry-content .sg-faq__h {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: normal;
	transition: color 0.2s ease;
}

.single-safeguard_guide .entry-content .sg-faq summary:hover .sg-faq__h {
	color: var(--sg-red);
}

/* Plus that turns to a minus */
.single-safeguard_guide .entry-content .sg-faq__icon {
	position: relative;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--sg-paper);
	transition: background 0.2s ease;
}

.single-safeguard_guide .entry-content .sg-faq__icon::before,
.single-safeguard_guide .entry-content .sg-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	border-radius: 2px;
	background: var(--sg-ink);
	transition: transform 0.25s ease, background 0.2s ease;
}

.single-safeguard_guide .entry-content .sg-faq__icon::after {
	transform: rotate(90deg);
}

.single-safeguard_guide .entry-content .sg-faq[open] .sg-faq__icon {
	background: var(--sg-ink);
}

.single-safeguard_guide .entry-content .sg-faq[open] .sg-faq__icon::before,
.single-safeguard_guide .entry-content .sg-faq[open] .sg-faq__icon::after {
	background: var(--sg-white);
}

.single-safeguard_guide .entry-content .sg-faq[open] .sg-faq__icon::after {
	transform: rotate(0deg);
}

.single-safeguard_guide .entry-content .sg-faq > .sg-faq__a {
	margin: 0;
	padding: 0 52px 22px 0;
	font-size: inherit;
	line-height: inherit;
}

.single-safeguard_guide .entry-content .sg-faq__a > * {
	margin: 0;
}

.single-safeguard_guide .entry-content .sg-faq__a > * + * {
	margin-top: 12px;
}

/* Figures in a guide: a grey panel with a title, holding a comparison table (a Table block with the classes
   "sg-extra sg-table", "sg-table--1" when it has one column of answers) or a Custom HTML figure: steps in a row
   (sg-flow), a split bar (sg-split), icon tiles (sg-kit, items marked data-icon), a ticked list in two columns
   (sg-facts) or two lists side by side (sg-pair) */
.single-safeguard_guide .entry-content .sg-extra {
	margin-top: 36px;
	padding: 28px;
	border-radius: 20px;
	background: var(--sg-paper);
}

.single-safeguard_guide .entry-content .sg-extra figcaption {
	margin: 12px 0 16px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--sg-ink);
	text-align: left;
}

/* Comparison table: dark header row (the last column in red), row headings down the side */
.single-safeguard_guide .entry-content .sg-table {
	display: flex;
	flex-direction: column;
}

.single-safeguard_guide .entry-content .sg-table figcaption {
	order: -1;
}

.single-safeguard_guide .entry-content .sg-table table {
	border-color: rgba(17, 17, 17, 0.08);
	border-radius: 18px;
	background: var(--sg-white);
	color: var(--sg-text);
	table-layout: fixed;
}

.single-safeguard_guide .entry-content .sg-table :is(th, td) {
	padding: 14px 18px;
}

.single-safeguard_guide .entry-content .sg-table tbody > tr > * {
	border-top: 1px solid var(--sg-line);
	background: var(--sg-white);
}

.single-safeguard_guide .entry-content .sg-table tbody > tr:nth-child(even) > * {
	background: #fafafb;
}

.single-safeguard_guide .entry-content .sg-table thead :is(th, td) {
	background: var(--sg-ink);
	font-size: 15px;
	font-weight: 700;
	color: var(--sg-white);
}

.single-safeguard_guide .entry-content .sg-table:not(.sg-table--1) thead th:last-child {
	background: var(--sg-red);
}

.single-safeguard_guide .entry-content .sg-table tbody th {
	width: 28%;
	color: var(--sg-ink);
}

.single-safeguard_guide .entry-content .sg-table--1 tbody th {
	width: 40%;
}

/* Steps in a row, an arrow between each */
.single-safeguard_guide .entry-content .sg-flow ol {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: 12px;
	margin: 0;
}

.single-safeguard_guide .entry-content .sg-flow li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 18px 16px;
	border: 1px solid var(--sg-line);
	border-radius: 16px;
	background: var(--sg-white);
	font-size: 14.5px;
	line-height: 1.5;
	color: rgba(17, 17, 17, 0.72);
}

.single-safeguard_guide .entry-content .sg-flow li::before {
	content: none;
}

.single-safeguard_guide .entry-content .sg-flow li + li::after {
	content: "";
	position: absolute;
	top: 50%;
	left: -10px;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-top: 2px solid var(--sg-red);
	border-right: 2px solid var(--sg-red);
	transform: rotate(45deg);
}

.single-safeguard_guide .entry-content .sg-flow strong {
	font-size: 16.5px;
	line-height: 1.25;
}

/* Split bar: each part as wide as its share */
.single-safeguard_guide .entry-content .sg-split__bar {
	display: flex;
	gap: 4px;
	height: 64px;
	overflow: hidden;
	border-radius: 16px;
}

.single-safeguard_guide .entry-content .sg-split__bar span {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: max-content;
	padding: 0 18px;
	background: var(--sg-ink);
	font-size: 15px;
	color: var(--sg-white);
	white-space: nowrap;
}

.single-safeguard_guide .entry-content .sg-split__bar span + span {
	background: var(--sg-red);
}

.single-safeguard_guide .entry-content .sg-split__bar b {
	font-size: 24px;
	letter-spacing: -0.02em;
	color: inherit;
}

.single-safeguard_guide .entry-content .sg-split__note {
	margin: 12px 0 0;
	font-size: 15px;
	color: var(--sg-text-muted);
}

/* Icon tiles, in labelled groups */
.single-safeguard_guide .entry-content .sg-kit {
	display: grid;
	gap: 18px;
}

.single-safeguard_guide .entry-content .sg-kit__label {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 600;
	color: var(--sg-ink);
}

.single-safeguard_guide .entry-content .sg-kit ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
	gap: 10px;
	margin: 0;
}

.single-safeguard_guide .entry-content .sg-kit li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--sg-line);
	border-radius: 14px;
	background: var(--sg-white);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--sg-ink);
}

.single-safeguard_guide .entry-content .sg-kit li::before {
	content: none;
}

.single-safeguard_guide .entry-content .sg-kit--6 ul {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.single-safeguard_guide .entry-content .sg-kit--6 li {
	flex-direction: row;
	align-items: center;
}

/* A ticked list in two columns */
.single-safeguard_guide .entry-content .sg-facts ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 28px;
}

.single-safeguard_guide .entry-content .sg-facts ul.wp-block-list > li {
	border-top-color: rgba(17, 17, 17, 0.08);
	font-size: 16.5px;
}

.single-safeguard_guide .entry-content .sg-facts ul > li:nth-child(2) {
	border-top: 0;
}

/* Two lists side by side */
.single-safeguard_guide .entry-content .sg-pair__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.single-safeguard_guide .entry-content .sg-pair__col {
	padding: 20px 22px;
	border-top: 3px solid var(--sg-ink);
	border-radius: 14px;
	background: var(--sg-white);
}

.single-safeguard_guide .entry-content .sg-pair__col--yes {
	border-top-color: var(--sg-red);
}

.single-safeguard_guide .entry-content .sg-pair__label {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
	color: var(--sg-ink);
}

.single-safeguard_guide .entry-content .sg-pair__col ul {
	margin: 0;
}

.single-safeguard_guide .entry-content .sg-pair__col li {
	margin: 0;
	padding: 6px 0;
	font-size: 16px;
	line-height: 1.5;
	color: rgba(17, 17, 17, 0.8);
}

.single-safeguard_guide .entry-content .sg-pair__col li::before {
	content: none;
}

/* Phones and tablets: the sidebar's quote card halfway through the guide (js/guide-widgets.js) */
.single-safeguard_guide .entry-content .sg-inline-cta {
	display: none;
}

@media (max-width: 1020px) {
	.single-safeguard_guide .entry-content .sg-inline-cta {
		display: block;
		margin-top: 56px;
		padding: 28px 26px;
		border: 1px solid var(--sg-line);
		border-radius: 18px;
		background: var(--sg-white);
		color: var(--sg-ink);
		box-shadow: 0 18px 40px -30px rgba(17, 17, 17, 0.35);
	}

	.single-safeguard_guide .entry-content .sg-inline-cta .post-cta__title {
		margin: 0 0 14px;
		font-size: 22px;
		font-weight: 700;
		line-height: 1.2;
		letter-spacing: -0.02em;
		color: var(--sg-ink);
	}

	.single-safeguard_guide .entry-content .sg-inline-cta > * + * {
		margin-top: 0;
	}

	.single-safeguard_guide .entry-content .sg-inline-cta ul {
		margin: 0 0 20px;
	}

	.single-safeguard_guide .entry-content .sg-inline-cta li {
		margin: 0;
		padding-left: 0;
		font-size: 15.5px;
		color: rgba(17, 17, 17, 0.78);
	}

	.single-safeguard_guide .entry-content .sg-inline-cta li::before {
		content: none;
	}

	.single-safeguard_guide .entry-content .sg-inline-cta li + li {
		margin-top: 6px;
	}

	.single-safeguard_guide .entry-content .sg-inline-cta .btn {
		width: 100%;
	}

	.single-safeguard_guide .entry-content .sg-inline-cta a:not(.btn) {
		color: var(--sg-ink);
	}
}

@media (max-width: 1280px) {
	:is(.single-safeguard_guide, .guide-hub) .post-quote__title {
		font-size: 52px;
	}
}

@media (max-width: 1100px) {
	:is(.single-safeguard_guide, .guide-hub) .post-hero__title {
		font-size: 56px;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-quote__title {
		font-size: 48px;
	}
}

@media (max-width: 1020px) {
	:is(.single-safeguard_guide, .guide-hub) .post-hero {
		padding-top: 72px;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-layout {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-quote {
		padding: 72px 0;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-quote__title {
		font-size: 46px;
	}

	.single-safeguard_guide .related-posts {
		padding: 72px 0;
	}
}

@media (max-width: 860px) {
	:is(.single-safeguard_guide, .guide-hub) .post-hero {
		padding-top: 60px;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-hero__title {
		font-size: 48px;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-hero__media {
		margin-top: 44px;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-layout {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-quote {
		padding: 60px 0;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-quote__title {
		font-size: 40px;
	}

	.single-safeguard_guide .related-posts {
		padding: 60px 0;
	}

	.single-safeguard_guide .related-posts__title {
		font-size: 40px;
	}
}

@media (max-width: 700px) {
	.single-safeguard_guide .post-hero__title {
		font-size: 36px;
	}

	.single-safeguard_guide .post-hero__media {
		aspect-ratio: 16 / 10;
	}

	/* The current page's crumb (a long title, repeated in the h1) gives way */
	.single-safeguard_guide .breadcrumbs__list > li:last-child {
		display: none;
	}

	.single-safeguard_guide .entry-content {
		font-size: 17px;
		line-height: 1.75;
	}

	.single-safeguard_guide .entry-content h2 {
		font-size: 32px;
		letter-spacing: -0.035em;
	}

	.single-safeguard_guide .entry-content > * + h2 {
		margin-top: 56px;
	}

	.single-safeguard_guide .entry-content > h2 + * {
		margin-top: 20px;
	}

	.single-safeguard_guide .entry-content ul.wp-block-list > li {
		font-size: 16px;
	}

	.single-safeguard_guide .entry-content ul.sg-minis {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	/* Cards become a ruled list */
	.single-safeguard_guide .entry-content .sg-cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.single-safeguard_guide .entry-content .sg-card {
		padding: 20px 0;
		border: 0;
		border-top: 1px solid var(--sg-line);
		border-radius: 0;
		background: none;
		box-shadow: none;
	}

	.single-safeguard_guide .entry-content .sg-card:last-child {
		border-bottom: 1px solid var(--sg-line);
	}

	.single-safeguard_guide .entry-content .sg-card__badge + h3 {
		margin-top: 14px;
	}

	.single-safeguard_guide .entry-content .sg-card__badge {
		width: 40px;
		height: 40px;
	}

	.single-safeguard_guide .entry-content .sg-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.single-safeguard_guide .entry-content .sg-list--one .sg-list__item {
		padding: 16px 0 16px 16px;
	}

	.single-safeguard_guide .entry-content .sg-step {
		grid-template-columns: 18px minmax(0, 1fr);
		gap: 14px;
		padding-bottom: 28px;
	}

	.single-safeguard_guide .entry-content .sg-step::before {
		top: 28px;
		left: 5px;
	}

	.single-safeguard_guide .entry-content .sg-step__n {
		width: 12px;
		height: 12px;
	}

	.single-safeguard_guide .entry-content .sg-step h3 {
		font-size: 19px;
	}

	.single-safeguard_guide .entry-content .sg-faq__h {
		font-size: 18px;
	}

	.single-safeguard_guide .entry-content .sg-faq > .sg-faq__a {
		padding-right: 0;
	}

	.single-safeguard_guide .entry-content .sg-extra {
		padding: 20px 16px;
	}

	/* Tables: the column names once at the top, each row's heading across its answers */
	.single-safeguard_guide .entry-content .sg-table table,
	.single-safeguard_guide .entry-content .sg-table :is(thead, tbody) {
		display: block;
	}

	.single-safeguard_guide .entry-content .sg-table table {
		font-size: 15px;
	}

	.single-safeguard_guide .entry-content .sg-table tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.single-safeguard_guide .entry-content .sg-table--1 tr {
		grid-template-columns: minmax(0, 1fr);
	}

	.single-safeguard_guide .entry-content .sg-table thead td,
	.single-safeguard_guide .entry-content .sg-table--1 thead th:last-child {
		display: none;
	}

	.single-safeguard_guide .entry-content .sg-table thead th {
		padding: 12px 14px;
		font-size: 14px;
	}

	.single-safeguard_guide .entry-content .sg-table tbody > tr > * {
		border-top: 0;
	}

	.single-safeguard_guide .entry-content .sg-table tbody tr + tr {
		border-top: 1px solid var(--sg-line);
	}

	.single-safeguard_guide .entry-content .sg-table tbody th {
		grid-column: 1 / -1;
		width: auto;
		padding: 10px 14px;
		font-size: 14px;
	}

	.single-safeguard_guide .entry-content .sg-table tbody td {
		padding: 10px 14px 12px;
	}

	.single-safeguard_guide .entry-content .sg-table tbody td + td {
		border-left: 1px solid var(--sg-line);
	}

	.single-safeguard_guide .entry-content .sg-flow ol {
		grid-auto-columns: auto;
		grid-auto-flow: row;
		gap: 10px;
	}

	.single-safeguard_guide .entry-content .sg-flow li + li::after {
		top: -9px;
		left: 28px;
		margin-top: 0;
		transform: rotate(135deg);
	}

	.single-safeguard_guide .entry-content .sg-split__bar {
		height: 56px;
	}

	.single-safeguard_guide .entry-content .sg-split__bar span {
		padding: 0 12px;
		font-size: 13.5px;
	}

	.single-safeguard_guide .entry-content .sg-split__bar b {
		font-size: 19px;
	}

	.single-safeguard_guide .entry-content :is(.sg-kit, .sg-kit--6) ul {
		grid-template-columns: 1fr 1fr;
	}

	.single-safeguard_guide .entry-content .sg-kit li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.single-safeguard_guide .entry-content :is(.sg-facts ul, .sg-pair__cols) {
		grid-template-columns: minmax(0, 1fr);
	}

	.single-safeguard_guide .entry-content .sg-facts ul > li:nth-child(2) {
		border-top: 1px solid rgba(17, 17, 17, 0.08);
	}
}

@media (max-width: 600px) {
	:is(.single-safeguard_guide, .guide-hub) .post-hero {
		padding-top: 52px;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-hero__title {
		line-height: 1.05;
	}

	.guide-hub .post-hero__title {
		font-size: 40px;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-hero__dek {
		margin-top: 18px;
		font-size: 17px;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-hero__media {
		margin-top: 32px;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-layout {
		padding-top: 52px;
		padding-bottom: 52px;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-quote {
		padding: 52px 0;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-quote__title {
		font-size: 32px;
		line-height: 1.1;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-quote__text {
		font-size: 16.5px;
	}

	.single-safeguard_guide .related-posts {
		padding: 52px 0;
	}

	.single-safeguard_guide .related-posts__title {
		font-size: 32px;
	}

	.single-safeguard_guide .entry-content h3 {
		font-size: 19px;
	}

	.single-safeguard_guide .entry-content > * + h3 {
		margin-top: 32px;
	}
}

@media (max-width: 400px) {
	.single-safeguard_guide .entry-content h2 {
		font-size: 28px;
	}
}

@media (max-width: 380px) {
	.guide-hub .post-hero__title {
		font-size: 36px;
	}

	:is(.single-safeguard_guide, .guide-hub) .post-quote__title,
	.single-safeguard_guide .related-posts__title,
	.guide-chapter__title {
		font-size: 28px;
	}
}

/* ==========================================================================
   32. About and Contact pages
   ========================================================================== */

/* Sections alternate white and grey by position, as on area pages; the closing bar takes the colour above it */
.company-page > .sec:nth-child(odd),
.company-page > .sec:nth-child(odd) + .cta-bar {
	background: var(--sg-white);
}

.company-page > .sec:nth-child(even),
.company-page > .sec:nth-child(even) + .cta-bar {
	background: var(--sg-paper);
}

.company-page .sec + .sec {
	border-top: 0;
}

/* Copy beside the tiles (How We Work, What to Expect) sits level with the tiles' middle, not their top */
.company-page .service-fit .grid-12 {
	align-items: center;
}

/* Contact cards: phone, email and office. The value link stretches over its card. */
.contact-details__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.contact-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 32px;
	border: 1px solid var(--sg-line-soft);
	border-radius: 22px;
	background: var(--sg-white);
	box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
	box-shadow: 0 26px 50px -30px rgba(17, 17, 17, 0.4);
	transform: translateY(-3px);
}

.contact-card:has(.contact-card__value:focus-visible) {
	outline: 2px solid var(--sg-red-on-dark);
	outline-offset: 3px;
}

.contact-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 22px;
	border-radius: 14px;
	background: rgba(163, 23, 30, 0.08);
	color: var(--sg-red);
}

.contact-card__icon .icon {
	width: 24px;
	height: 24px;
}

.contact-card__label {
	margin: 0 0 6px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sg-text-muted);
}

.contact-card__value {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.015em;
	color: var(--sg-ink);
	text-decoration: none;
	overflow-wrap: anywhere;
	outline: none;
	transition: color 0.2s ease;
}

.contact-card__value::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.contact-card:hover .contact-card__value {
	color: var(--sg-red);
}

.contact-card__note {
	margin: 10px 0 0;
	font-size: 15.5px;
	line-height: 1.6;
	text-wrap: pretty;
}

@media (max-width: 900px) {
	.contact-details__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}

@media (max-width: 600px) {
	.contact-card {
		padding: 24px;
	}

	.contact-card__icon {
		width: 46px;
		height: 46px;
		margin-bottom: 18px;
	}

	.contact-card__value {
		font-size: 19px;
	}
}

/* ==========================================================================
   33. Careers & job openings
   ========================================================================== */

/* Careers page: the intro keeps its padding, since the openings below sit on grey */
.careers-page .page-intro {
	padding-bottom: var(--sg-sec);
}

.careers-openings .sec-head {
	margin-bottom: 40px;
}

/* Open jobs, one per row. The title link stretches over the card. */
.job-list {
	display: grid;
	gap: 16px;
	max-width: 980px;
	margin: 0 auto;
}

.job-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 28px 32px;
	border: 1px solid var(--sg-line-soft);
	border-radius: 22px;
	background: var(--sg-white);
	box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.job-card:hover {
	box-shadow: 0 26px 50px -30px rgba(17, 17, 17, 0.4);
	transform: translateY(-3px);
}

.job-card:has(.job-card__title a:focus-visible) {
	outline: 2px solid var(--sg-red-on-dark);
	outline-offset: 3px;
}

.job-card__body {
	flex: 1;
	min-width: 0;
}

.job-card__title {
	font-size: 23px;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.job-card__title a {
	color: var(--sg-ink);
	text-decoration: none;
	outline: none;
	transition: color 0.2s ease;
}

.job-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.job-card:hover .job-card__title a {
	color: var(--sg-red);
}

.job-card__excerpt {
	margin: 12px 0 0;
	font-size: 15.5px;
	line-height: 1.6;
}

.job-card__more {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--sg-red);
	white-space: nowrap;
}

.job-card__more .icon {
	width: 17px;
	height: 17px;
	transition: transform 0.2s ease;
}

.job-card:hover .job-card__more .icon {
	transform: translateX(3px);
}

/* Location, type, pay and shift */
.job-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-top: 12px;
	font-size: 14.5px;
	color: var(--sg-text);
}

.job-facts li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.job-facts .icon {
	width: 16px;
	height: 16px;
	color: var(--sg-red);
}

/* No openings */
.job-empty {
	max-width: 640px;
	margin: 0 auto;
	padding: 44px 40px;
	border: 1px solid var(--sg-line-soft);
	border-radius: 22px;
	background: var(--sg-white);
	text-align: center;
}

.job-empty__icon {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
	border-radius: 16px;
	background: rgba(163, 23, 30, 0.08);
	color: var(--sg-red);
}

.job-empty__icon .icon {
	width: 26px;
	height: 26px;
}

.job-empty__title {
	font-size: 24px;
	letter-spacing: -0.02em;
}

.job-empty__text {
	margin: 10px auto 0;
	max-width: 480px;
	font-size: 16.5px;
	line-height: 1.65;
	text-wrap: pretty;
}

/* With no openings, the general application sits under the message */
.job-apply--general {
	position: static;
	max-width: 640px;
	margin: 28px auto 0;
}

/* A job: title band, then the description beside the application form */
.job-page {
	background: var(--sg-white);
}

.job-hero {
	padding: 56px 0 52px;
	background: var(--sg-paper);
}

.job-hero__title {
	max-width: 880px;
	font-size: 50px;
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.job-facts--hero {
	gap: 10px 26px;
	margin-top: 20px;
	font-size: 16px;
}

.job-facts--hero .icon {
	width: 18px;
	height: 18px;
}

.job-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin-top: 30px;
}

.job-hero__posted {
	font-size: 14.5px;
	color: var(--sg-text-muted);
}

.job-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	align-items: start;
	column-gap: 64px;
	padding-top: 56px;
	padding-bottom: 88px;
}

.job-content {
	max-width: 720px;
}

.job-apply {
	position: sticky;
	top: calc(var(--sg-header-height) + 28px);
	scroll-margin-top: calc(var(--sg-header-height) + 20px);
}

.admin-bar .job-apply {
	top: calc(var(--sg-header-height) + 60px);
}

.job-apply__card {
	padding: 30px;
	border: 1px solid var(--sg-line-soft);
	border-radius: 22px;
	background: var(--sg-white);
	box-shadow: 0 30px 60px -36px rgba(17, 17, 17, 0.45);
}

.job-apply__title {
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.job-apply__text {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.6;
}

.job-apply__error {
	display: flex;
	gap: 10px;
	margin: 18px 0 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(163, 23, 30, 0.08);
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--sg-red-cta-hover);
}

.job-apply__error .icon {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
}

.job-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 12px;
	margin-top: 22px;
}

.job-form__field {
	grid-column: 1 / -1;
	margin: 0;
}

.job-form__field--half {
	grid-column: auto;
}

.job-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--sg-ink);
}

.job-form__req {
	color: var(--sg-red);
}

.job-form__optional {
	font-weight: 400;
	color: var(--sg-text-muted);
}

.job-form textarea {
	resize: vertical;
}

.job-form input[type="file"] {
	width: 100%;
	padding: 10px;
	border: 1px dashed rgba(17, 17, 17, 0.28);
	border-radius: var(--sg-radius);
	background: var(--sg-paper);
	font: 400 14px/1.4 var(--sg-font);
	color: var(--sg-text);
}

.job-form input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	border: 0;
	border-radius: 5px;
	background: var(--sg-ink);
	font: 600 13.5px/1 var(--sg-font);
	color: var(--sg-white);
	cursor: pointer;
}

.job-form input[type="file"]:focus-visible {
	border-color: var(--sg-ink);
	outline: 2px solid var(--sg-red-on-dark);
	outline-offset: 2px;
}

.job-form__hint {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: var(--sg-text-muted);
}

.job-form__consent {
	display: flex;
	grid-column: 1 / -1;
	align-items: flex-start;
	gap: 10px;
	margin: 2px 0 0;
}

.job-form__consent input {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin-top: 2px;
	accent-color: var(--sg-red);
}

.job-form__consent label {
	margin: 0;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--sg-text);
}

.job-form__submit {
	grid-column: 1 / -1;
	width: 100%;
	margin-top: 4px;
}

/* The honeypot field: off screen, out of the tab order and hidden from assistive tech */
.job-form__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

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

.job-apply__sent-icon {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: rgba(163, 23, 30, 0.08);
	color: var(--sg-red);
}

.job-apply__sent-icon .icon {
	width: 28px;
	height: 28px;
}

.job-apply__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	font-size: 15px;
	font-weight: 600;
	color: var(--sg-red);
	text-decoration: none;
}

.job-apply__back .icon {
	width: 16px;
	height: 16px;
}

@media (max-width: 1020px) {
	.job-layout {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 48px;
		padding-top: 40px;
	}

	.job-content {
		max-width: none;
	}

	.job-apply {
		position: static;
		max-width: 640px;
	}
}

@media (max-width: 860px) {
	.job-hero__title {
		font-size: 40px;
	}
}

@media (max-width: 600px) {
	.job-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 22px;
	}

	.job-card__title {
		font-size: 20px;
	}

	.job-empty {
		padding: 32px 22px;
	}

	.job-hero {
		padding: 32px 0 36px;
	}

	.job-hero__title {
		font-size: 32px;
		line-height: 1.1;
	}

	.job-facts--hero {
		font-size: 15px;
	}

	.job-layout {
		padding-top: 32px;
		padding-bottom: 56px;
	}

	.job-apply__card {
		padding: 22px;
	}

	.job-form {
		grid-template-columns: minmax(0, 1fr);
	}

	.job-form__field--half {
		grid-column: 1 / -1;
	}
}

/* ==========================================================================
   34. Legal pages & sitemap
   ========================================================================== */

/* The [safeguard_contact] block that ends the Privacy Policy and Terms of Service */
.entry-content .legal-contact {
	padding: 24px 28px;
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius);
	background: var(--sg-white);
	line-height: 1.8;
}

/* Sitemap: Home and the short sections side by side, long ones (service areas, the guide) full width */
.sitemap-intro {
	max-width: 820px;
	margin-bottom: 40px;
}

.sitemap {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-flow: dense; /* a short section fills a gap a full-width one left, so no row ends half empty */
	gap: 24px;
	align-items: start;
}

.sitemap-section {
	padding: 28px 32px 32px;
	border: 1px solid var(--sg-line-soft);
	border-radius: var(--sg-radius-lg);
	background: var(--sg-white);
}

.sitemap-section--wide {
	grid-column: 1 / -1;
}

.sitemap-section h2 {
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--sg-line);
	font-size: 22px;
}

.sitemap-section h2 a,
.sitemap-list a {
	color: var(--sg-ink);
	text-decoration: none;
	transition: color 0.2s ease;
}

.sitemap-section h2 a:hover,
.sitemap-section h2 a:focus,
.sitemap-list a:hover,
.sitemap-list a:focus {
	color: var(--sg-red);
}

.sitemap-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	line-height: 1.4;
}

/* Sub-pages sit indented under a line */
.sitemap-list .sitemap-list {
	gap: 8px;
	margin-top: 10px;
	padding-left: 14px;
	border-left: 2px solid var(--sg-line-soft);
	font-size: 15px;
}

.sitemap-list .sitemap-list a {
	color: var(--sg-text-soft);
}

/* Long sections flow down columns, keeping each county or chapter whole */
.sitemap-section--wide > .sitemap-list {
	display: block;
	columns: 4 220px;
	column-gap: 40px;
}

.sitemap-section--wide > .sitemap-list > li {
	padding-bottom: 10px;
	break-inside: avoid;
}

/* Four groups or fewer (the industries) get a column each, rather than being balanced into two */
.sitemap-section--wide > .sitemap-list:not(:has(> li:nth-child(5))) {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	column-gap: 40px;
}

.sitemap-section--wide > .sitemap-list > li:has(> .sitemap-list) {
	padding-bottom: 28px;
}

.sitemap-section--wide > .sitemap-list > li:has(> .sitemap-list) > a {
	font-weight: 600;
}

/* The last group in the longest column keeps its spacing; take it back off the card */
.sitemap-section--wide > .sitemap-list:has(> li > .sitemap-list) {
	margin-bottom: -28px;
}

@media (max-width: 1020px) {
	.sitemap {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.sitemap {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.sitemap-section {
		padding: 22px 20px 24px;
	}

	.entry-content .legal-contact {
		padding: 20px;
	}
}

/* ==========================================================================
   35. Industry detail pages (a property type under an industry page)
   ========================================================================== */

/* Hero: the heading wraps to fit (no locked lines) */
.industry-detail .hero__line {
	display: inline;
	white-space: normal;
}

/* After the smear (logos, intro, property types), each section keeps the design's colour: reviews grey, risks and
   coverage white, accountability, why us and areas grey, then the steps, FAQ and closing bar white */
.industry-detail > .industry-onsite,
.industry-detail > .industry-panels,
.industry-detail > .steps,
.industry-detail > .faq,
.industry-detail > .cta-bar {
	background: var(--sg-white);
}

.industry-detail > .reviews,
.industry-detail > .accountability,
.industry-detail > .industry-why,
.industry-detail > .areas {
	background: var(--sg-paper);
}

/* Team photo (optional): a wide band on white under the coverage panels */
.industry-detail > .team-band {
	padding-top: 0;
	background: var(--sg-white);
}

.industry-detail .team-band__frame {
	margin-bottom: 0;
}

/* Coverage: a wide panel per kind of coverage, the copy beside a grey side panel with a checklist */
.cover-panels {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.cover-panel {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	overflow: hidden;
	background: var(--sg-white);
	border: 1px solid var(--sg-line);
	border-radius: 20px;
}

.cover-panel__main {
	padding: 44px 48px 40px;
}

.cover-panel__main h3 {
	margin: 0 0 18px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.landing .cover-panel__main p {
	margin-bottom: 20px;
	font-size: 17px;
	line-height: 1.8;
}

.landing .cover-panel__main p:last-child {
	margin-bottom: 0;
}

.cover-panel__aside {
	padding: 44px 40px;
	background: var(--sg-paper);
	border-left: 1px solid var(--sg-line);
}

.cover-panel__label {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--sg-ink);
}

.cover-panel__icon {
	display: grid;
	flex: 0 0 44px;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--sg-white);
	color: var(--sg-red);
}

.cover-panel__icon .icon {
	width: 21px;
	height: 21px;
}

.cover-panel__points li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 13px 0;
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--sg-ink);
}

.cover-panel__points li + li {
	border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.cover-panel__mark {
	display: grid;
	flex: 0 0 22px;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--sg-white);
	color: #17703e;
	box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.cover-panel__mark .icon {
	width: 12px;
	height: 12px;
}

.industry-panels .cta-row {
	margin-top: 72px;
}

/* Why us: the copy beside a sample GuardOps patrol log card */
.industry-why__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 56px;
	align-items: center;
	margin-top: 8px;
}

.landing .industry-why__text p {
	margin: 0 0 14px;
	font-size: 18px;
	line-height: 1.75;
}

.landing .industry-why__text p:last-child {
	margin-bottom: 0;
}

.industry-why__device {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 36px 16px;
	background: radial-gradient(60% 60% at 50% 55%, rgba(163, 23, 30, 0.08) 0%, rgba(163, 23, 30, 0) 70%);
}

/* The patrol log: a white card with the shift's stats, then a timeline of checks (a red dot per row, each
   location with its tag beside it and the note under it) */
.patrol-log {
	width: 100%;
	max-width: 560px;
	padding: 26px 28px 14px;
	background: var(--sg-white);
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 18px;
	box-shadow: 0 28px 60px -34px rgba(17, 17, 17, 0.4);
	line-height: 1.7;
	text-align: left;
	color: var(--sg-ink);
}

.patrol-log__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.patrol-log__title,
.patrol-log__date {
	display: block;
}

.patrol-log__title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.patrol-log__date {
	margin-top: 4px;
	font-size: 13px;
	color: var(--sg-text-muted);
}

.patrol-log__pill {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	padding: 6px 11px;
	border-radius: 999px;
	background: #ecfdf3;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.7;
	white-space: nowrap;
	color: #15803d;
}

.patrol-log__pill .icon {
	width: 13px;
	height: 13px;
	stroke-width: 2.6;
}

.patrol-log__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 18px 0 8px;
}

.patrol-log__stats div {
	padding: 12px 14px;
	background: var(--sg-paper);
	border-radius: 12px;
}

.patrol-log__stats span {
	display: block;
	font-size: 12px;
	line-height: 1.3;
	color: var(--sg-text-muted);
}

.patrol-log__stats b {
	display: block;
	margin-top: 4px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.1;
}

.patrol-log__list {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.patrol-log__list li {
	position: relative;
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 3px 14px;
	margin: 0;
	padding: 13px 0 13px 22px;
}

.patrol-log__list li::before {
	content: "";
	position: absolute;
	top: 19px;
	left: 4px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--sg-red);
	box-shadow: 0 0 0 4px rgba(163, 23, 30, 0.12);
}

.patrol-log__list li::after {
	content: "";
	position: absolute;
	top: 32px;
	bottom: -14px;
	left: 8px;
	width: 1px;
	background: rgba(17, 17, 17, 0.12);
}

.patrol-log__list li:last-child::after {
	display: none;
}

.patrol-log__time {
	padding-top: 2px;
	font-size: 13px;
	font-weight: 600;
	color: var(--sg-red);
}

.patrol-log__loc {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
}

.patrol-log__note {
	grid-column: 2;
	font-size: 13.5px;
	line-height: 1.5;
	color: rgba(17, 17, 17, 0.62);
}

.patrol-log__tag {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(163, 23, 30, 0.08);
	font-size: 11px;
	font-weight: 600;
	color: var(--sg-red);
}

.patrol-log__tag .icon {
	width: 11px;
	height: 11px;
}

.patrol-log__tag--supervisor,
.patrol-log__tag--record {
	background: rgba(17, 17, 17, 0.07);
	color: var(--sg-ink);
}

@media (max-width: 1020px) {
	.cover-panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.cover-panel__aside {
		border-top: 1px solid var(--sg-line);
		border-left: 0;
	}

	.industry-why__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.industry-why__device {
		padding: 0 40px 8px;
	}
}

@media (max-width: 600px) {
	.cover-panels {
		gap: 16px;
	}

	.cover-panel {
		border-radius: 16px;
	}

	.cover-panel__main {
		padding: 28px 22px 24px;
	}

	.cover-panel__main h3 {
		font-size: 23px;
	}

	.landing .cover-panel__main p,
	.industry-detail .split .copy p {
		font-size: 16px;
	}

	.cover-panel__aside {
		padding: 26px 22px;
	}

	.cover-panel__label {
		font-size: 17px;
	}

	.industry-why__grid {
		gap: 28px;
	}

	.landing .industry-why__text p {
		font-size: 16px;
	}

	.industry-why__device {
		padding: 0 18px 4px;
	}

	/* Phones: a tighter card without the pill */
	.patrol-log {
		padding: 20px 18px 8px;
		border-radius: 16px;
	}

	.patrol-log__pill {
		display: none;
	}

	.patrol-log__stats b {
		font-size: 19px;
	}

	.patrol-log__list li {
		grid-template-columns: 62px minmax(0, 1fr);
		column-gap: 10px;
		padding-left: 20px;
	}
}

/* ==========================================================================
   36. GuardOps pages (the hub at /guardops/ and its property pages)
   ========================================================================== */

/* Shared: white sections with centred heads; a heading's second line is gold (.go-accent) */
.guardops-page {
	--go-line: #ececef;
	--go-line-2: #e3e4e8;
	--go-mute: var(--sg-text-muted); /* 60% black, 4.8:1 on grey */
	--go-soft: #f7f7f8;
	--go-green: #1f9d55;
	--go-green-bg: #eaf6ef;
	--go-red: #a8141b;
	background: var(--sg-white);
}

.go-sec {
	position: relative;
	padding: 128px 0;
	background: var(--sg-white);
}

.go-sec--soft {
	background: #fafafa;
	border-top: 1px solid var(--go-line);
	border-bottom: 1px solid var(--go-line);
}

.go-cards-sec:not(.go-sec--soft) + .go-cards-sec:not(.go-sec--soft) {
	border-top: 1px solid var(--go-line);
}

.go-head {
	max-width: 820px;
	margin: 0 auto 72px;
	text-align: center;
}

.go-head h2 {
	margin: 0 0 22px;
	font-size: 56px;
	line-height: 1.04;
	letter-spacing: -0.04em;
}

.go-head h2:last-child {
	margin-bottom: 0;
}

.go-head p {
	max-width: 700px;
	margin: 0 auto 12px;
	color: var(--go-mute);
	font-size: 18.5px;
	line-height: 1.65;
}

.go-head p:last-child {
	margin-bottom: 0;
}

.go-accent,
.guardops-page .sec-head__accent {
	display: block;
	padding-bottom: 0.06em;
	color: #e9b308;
	background: linear-gradient(90deg, #e3a908 0%, #edb90f 50%, #f5c518 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Small UI pieces shared by the diagrams and screens */
.go-i {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1px solid var(--go-line);
	border-radius: 8px;
	background: var(--sg-white);
	color: #55585f;
}

.go-i svg {
	width: 14px;
	height: 14px;
}

.go-ok {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--go-green-bg);
	color: var(--go-green);
}

.go-ok svg {
	width: 10px;
	height: 10px;
	stroke-width: 3;
}

.go-ui {
	background: var(--sg-white);
	border: 1px solid var(--go-line-2);
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px -16px rgba(16, 24, 40, 0.14);
	color: var(--sg-ink);
	text-align: left;
}

.go-ui__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 13.5px;
}

.go-ui__head b {
	font-weight: 600;
}

.go-ui__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-top: 1px solid var(--go-line);
	font-size: 13.5px;
	font-weight: 500;
}

.go-ui__row .go-i {
	width: 24px;
	height: 24px;
	border-radius: 7px;
}

.go-ui__row .go-i svg {
	width: 13px;
	height: 13px;
}

.go-ui__row .go-i ~ .go-ok {
	margin-left: auto;
}

.go-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 6px;
	background: #f1f1f3;
	color: #55585f;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

.go-tag--red {
	background: #fbeded;
	color: var(--go-red);
}

.go-tag--green {
	background: var(--go-green-bg);
	color: #177245;
}

.go-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}

.go-chips span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 9px;
	border: 1px solid var(--go-line);
	border-radius: 7px;
	background: var(--sg-white);
	color: #3f4248;
	font-size: 12px;
	font-weight: 500;
}

.go-chips svg {
	width: 12px;
	height: 12px;
}

.go-chips em,
.go-form em {
	color: #d33;
	font-style: normal;
}

.go-chips .is-required {
	border-color: #f2c4c6;
}

.go-app-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	background: #d71920;
	color: var(--sg-white);
}

.go-app-icon svg {
	width: 11px;
	height: 11px;
	fill: var(--sg-white);
	stroke: none;
}

.go-seg {
	display: grid;
	grid-template-columns: repeat(var(--go-seg, 3), 1fr);
	gap: 3px;
	padding: 3px;
	border-radius: 9px;
	background: #f1f1f3;
}

.go-seg span {
	padding: 6px 0;
	border-radius: 6px;
	color: #6b6e75;
	font-size: 12px;
	font-weight: 500;
	text-align: center;
}

.go-seg .is-on {
	background: var(--sg-white);
	color: var(--sg-ink);
	font-weight: 600;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
}

/* Buttons: Request a Security Quote + a rounder call button */
.go-btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.go-btns .btn {
	min-height: 56px;
}

.go-btns .go-btn-call {
	padding: 0 24px;
	border-width: 1px;
	border-color: rgba(17, 17, 17, 0.22);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.55);
}

.go-btns .go-btn-call:hover,
.go-btns .go-btn-call:focus {
	background: var(--sg-white);
	border-color: rgba(17, 17, 17, 0.45);
}

/* Hero: centred copy over a laptop (the portal demo) beside a phone (the guard app) */
.go-hero {
	padding: 96px 0 0;
	text-align: center;
}

.go-hero h1 {
	max-width: 1040px;
	margin: 0 auto 28px;
	font-size: 64px;
	line-height: 1.02;
	letter-spacing: -0.045em;
}

.go-hero__lede {
	max-width: 760px;
	margin: 0 auto 16px;
	color: rgba(17, 17, 17, 0.72);
	font-size: 19px;
	line-height: 1.65;
}

.go-hero .go-btns {
	margin-top: 36px;
}

.go-hero__note {
	display: flex;
	justify-content: center;
	margin: 40px 0 0;
}

.go-hero__note span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid rgba(17, 17, 17, 0.1);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	color: rgba(17, 17, 17, 0.72);
	font-size: 13.5px;
	font-weight: 500;
}

.go-hero__note i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #34c759;
	box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.18);
}

.go-devices {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 56px;
	max-width: 1240px;
	margin: 40px auto 0;
	padding: 0 48px 112px;
}

.go-laptop {
	flex: 0 1 800px;
	min-width: 0;
}

.go-laptop__lid {
	position: relative;
	padding: 14px 14px 18px;
	border: 1px solid #2b2c30;
	border-radius: 22px 22px 0 0;
	background: #0a0a0b;
	box-shadow: 0 40px 90px -30px rgba(17, 24, 39, 0.45);
}

.go-laptop__lid::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 50%;
	width: 6px;
	height: 6px;
	margin-left: -3px;
	border-radius: 50%;
	background: #1d1e21;
}

.go-laptop__screen {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: 6px;
	background: var(--sg-paper);
}

.go-laptop__screen iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 1280px;
	height: 800px;
	border: 0;
	background: var(--sg-paper);
	transform-origin: 0 0;
}

.go-laptop__base {
	position: relative;
	height: 16px;
	margin: 0 -42px;
	border-radius: 0 0 18px 18px;
	background: linear-gradient(#cfd2d6, #9ea2a8);
}

.go-laptop__base::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 150px;
	height: 7px;
	margin-left: -75px;
	border-radius: 0 0 10px 10px;
	background: #b7bbc0;
}

.go-phone {
	position: relative;
	flex: 0 0 280px;
	width: 280px;
	padding: 9px;
	border-radius: 50px;
	background: #08080a;
	box-shadow: 0 0 0 1.5px #4a4c53, 0 0 0 3.5px #1d1e22, 0 0 0 4.5px #6a6c73, 0 44px 80px -28px rgba(17, 24, 39, 0.55), 0 18px 30px -18px rgba(17, 24, 39, 0.35);
}

/* Side buttons */
.go-phone::before,
.go-phone::after {
	content: "";
	position: absolute;
	width: 3px;
	border-radius: 1.5px;
}

.go-phone::before {
	top: 118px;
	left: -6.5px;
	height: 52px;
	background: linear-gradient(90deg, #3a3c42, #5a5c63);
	box-shadow: 0 64px 0 #44464c;
}

.go-phone::after {
	top: 150px;
	right: -6.5px;
	height: 78px;
	background: linear-gradient(90deg, #5a5c63, #3a3c42);
}

.go-phone__screen {
	position: relative;
	overflow: hidden;
	padding-bottom: 20px;
	border-radius: 41px;
	background: #232323;
}

/* Home indicator */
.go-phone__screen::after {
	content: "";
	position: absolute;
	bottom: 7px;
	left: 50%;
	width: 34%;
	height: 4px;
	margin-left: -17%;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.55);
}

.go-phone__island {
	position: absolute;
	z-index: 3;
	top: 9px;
	left: 50%;
	width: 92px;
	height: 27px;
	margin-left: -46px;
	border-radius: 20px;
	background: #000;
}

.go-phone__status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 46px;
	padding: 6px 26px 0 30px;
	color: var(--sg-white);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}

.go-phone__status b {
	font-weight: 600;
}

/* Signal bars and battery, drawn */
.go-phone__status span {
	display: flex;
	align-items: flex-end;
	gap: 1.5px;
	height: 11px;
}

.go-phone__status i {
	width: 3px;
	border-radius: 1px;
	background: var(--sg-white);
}

.go-phone__status i:nth-child(1) { height: 4px; }
.go-phone__status i:nth-child(2) { height: 6px; }
.go-phone__status i:nth-child(3) { height: 8.5px; }
.go-phone__status i:nth-child(4) { height: 11px; }

.go-phone__status em {
	position: relative;
	align-self: center;
	width: 22px;
	height: 11px;
	margin-left: 5px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 3.5px;
}

.go-phone__status em::before {
	content: "";
	position: absolute;
	top: 1.5px;
	bottom: 1.5px;
	left: 1.5px;
	width: 70%;
	border-radius: 2px;
	background: var(--sg-white);
}

.go-phone__img {
	display: block;
	width: 100%;
	height: auto;
	-webkit-user-select: none;
	user-select: none;
	pointer-events: none;
}

/* Flow diagram: rows → pills and an arrow → rows */
.go-flow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr);
	align-items: center;
	max-width: 1080px;
	margin: 0 auto;
	padding: 48px;
	border: 1px solid var(--go-line);
	border-radius: 24px;
	background: var(--go-soft);
}

.go-flow__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px 4px;
	color: #3f4248;
	font-size: 14px;
	font-weight: 600;
}

.go-flow__label svg {
	width: 16px;
	height: 16px;
}

.go-flow__list {
	margin: 0;
	padding: 8px;
	list-style: none;
}

.go-flow__list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	font-size: 15px;
	font-weight: 500;
}

.go-flow__list li + li {
	border-top: 1px solid var(--go-line);
}

.go-flow__list .go-i svg {
	width: 15px;
	height: 15px;
}

.go-flow__list .go-ok {
	margin-left: auto;
}

.go-flow__list .go-ok svg {
	width: 12px;
	height: 12px;
}

.go-flow__mid {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.go-flow__pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px;
	border: 1px solid var(--go-line-2);
	border-radius: 999px;
	background: var(--sg-white);
	color: #3f4248;
	font-size: 12.5px;
	font-weight: 500;
}

.go-flow__pill svg {
	width: 13px;
	height: 13px;
}

.go-flow__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sg-ink);
	color: var(--sg-white);
}

.go-flow__arrow svg {
	width: 18px;
	height: 18px;
}

.go-flow__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 186px;
	padding: 28px 20px;
	border-style: dashed;
	background: #fcfcfc;
	box-shadow: none;
	text-align: center;
}

.go-flow__empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #f1f1f3;
	color: #9a9ca3;
}

.go-flow__empty-icon svg {
	width: 20px;
	height: 20px;
}

.go-flow__empty b {
	color: #55585f;
	font-size: 15px;
	font-weight: 600;
}

.go-flow__empty small {
	color: #686b72;
	font-size: 13px;
}

/* Dark no-extra-cost band with a gold glow */
.go-band {
	overflow: hidden;
	background: #0b0b0d;
	color: var(--sg-white);
}

.go-band::before {
	content: "";
	position: absolute;
	bottom: -260px;
	left: 50%;
	width: 1100px;
	height: 520px;
	margin-left: -550px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(250, 204, 21, 0.16), rgba(250, 204, 21, 0.06) 55%, transparent 80%);
	filter: blur(10px);
	pointer-events: none;
}

.go-band .container {
	position: relative;
}

.go-band .go-head h2 {
	color: var(--sg-white);
}

.go-band .go-accent {
	color: #facc15;
	background: linear-gradient(90deg, #fde047 0%, #facc15 55%, #f5b90b 100%);
	-webkit-background-clip: text;
	background-clip: text;
}

.go-band .go-head p {
	color: rgba(255, 255, 255, 0.66);
}

.go-band__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.03);
	list-style: none;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.go-band__list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 22px 24px;
}

.go-band__list li + li {
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.go-band__list b {
	font-size: 15.5px;
	font-weight: 600;
}

.go-band__list small {
	margin-left: auto;
	color: rgba(255, 255, 255, 0.5);
	font-size: 12px;
}

.go-band .go-ok {
	background: rgba(74, 222, 128, 0.14);
	color: #4ade80;
}

.go-band .go-ok svg {
	width: 13px;
	height: 13px;
}

/* Cards: a screen in a grey box over a heading and text */
.go-vis {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 290px;
	margin-bottom: 32px;
	padding: 24px;
	overflow: hidden;
	border: 1px solid var(--go-line);
	border-radius: 18px;
	background: var(--go-soft);
}

.guardops-page h3 {
	text-wrap: balance;
}

.go-card h2,
.go-card h3 {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.go-card h2 {
	margin-bottom: 12px;
	font-size: 26px;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.go-card p {
	margin: 0 0 10px;
	color: var(--go-mute);
	font-size: 16px;
	line-height: 1.65;
}

.go-sec--rows .go-card p:last-child {
	margin-bottom: 0;
}

/* Three columns with dividers (the hub's benefits) */
.go-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--go-line);
}

.go-columns .go-card {
	padding: 48px 40px 8px;
}

.go-columns .go-card + .go-card {
	border-left: 1px solid var(--go-line);
}

.go-columns .go-card:first-child {
	padding-left: 0;
}

.go-columns .go-card:last-child {
	padding-right: 0;
}

.go-columns .go-vis {
	height: 230px;
}

/* Two-column bordered grid (accountability, property page rows) */
.go-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	border: 1px solid var(--go-line);
	border-radius: 24px;
	background: var(--go-line);
}

.go-grid .go-card {
	padding: 40px 40px 44px;
	background: var(--sg-white);
}

.go-sec--rows .go-grid:has(> .go-card:only-child) {
	grid-template-columns: minmax(0, 1fr);
	max-width: 600px;
	margin: 0 auto;
}

/* Text beside a screen (portal tabs, a Full Width card) */
.go-panel {
	overflow: hidden;
	border: 1px solid var(--go-line);
	border-radius: 24px;
	background: var(--go-soft);
}

.go-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	min-height: 460px;
}

.go-split__text {
	padding: 56px;
}

.go-split__text h2,
.go-split__text h3 {
	margin: 0 0 16px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.go-split__text h2 {
	font-size: 32px;
	line-height: 1.15;
}

.go-split__text p {
	margin: 0 0 12px;
	color: var(--go-mute);
	font-size: 17px;
	line-height: 1.65;
}


.go-split__vis {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	padding: 48px;
	border-left: 1px solid var(--go-line);
	background: #f2f2f4;
}

.go-sec--rows .go-split {
	min-height: 420px;
}

/* Tabs */
.go-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: -24px 0 32px;
}

.go-tabs [role="tab"] {
	padding: 11px 18px;
	border: 1px solid var(--go-line-2);
	border-radius: 999px;
	background: var(--sg-white);
	color: #3f4248;
	font: 500 15px/1 var(--sg-font);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.go-tabs [role="tab"]:hover {
	border-color: #c9cbd0;
}

.go-tabs [aria-selected="true"],
.go-tabs [aria-selected="true"]:hover {
	border-color: var(--sg-ink);
	background: var(--sg-ink);
	color: var(--sg-white);
}

.go-tabs__panel[hidden] {
	display: none;
}

.go-tabs__panel:not([hidden]) {
	animation: go-in 0.35s ease;
}

@keyframes go-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.go-tabs__panel:not([hidden]) {
		animation: none;
	}
}

/* Report types: icon tiles, a severity legend, a closing line */
.go-types {
	display: grid;
	grid-template-columns: repeat(var(--go-types, 4), minmax(0, 1fr));
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--go-line);
	border-radius: 20px;
	background: var(--sg-white);
	list-style: none;
}

.go-types li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 28px 26px;
	color: var(--sg-ink);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.go-types li + li {
	border-left: 1px solid var(--go-line);
}

.go-types .go-i {
	width: 40px;
	height: 40px;
	border-radius: 12px;
}

.go-types .go-i svg {
	width: 18px;
	height: 18px;
}

.go-types__legend {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 22px 0 0;
	color: #686b72; /* 4.5:1 or better on every card background */
	font-size: 13px;
}

.go-types__legend b {
	padding: 3px 9px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
}

.go-types__note {
	max-width: 700px;
	margin: 24px auto 0;
	color: var(--go-mute);
	font-size: 17px;
	line-height: 1.65;
	text-align: center;
}

.go-sev--low b,
b.go-sev--low {
	background: #f1f1f3;
	color: #55585f;
}

.go-sev--medium b,
b.go-sev--medium {
	background: #fdf3e6;
	color: #9a5a0b;
}

.go-sev--high b,
b.go-sev--high {
	background: #fbeded;
	color: #9b1c1c;
}

/* FAQ (sections/faq): the list under a GuardOps head */
.guardops-page .faq {
	background: var(--sg-white);
	padding: 128px 0;
	border-top: 1px solid var(--go-line);
}

.guardops-page .faq .sec-head {
	max-width: 820px;
	margin: 0 auto 48px;
}

.guardops-page .faq .sec-head h2 {
	font-size: 56px;
	line-height: 1.04;
	letter-spacing: -0.04em;
}

.guardops-page .faq__list {
	border-top-color: var(--go-line-2);
}

.guardops-page .faq__list details {
	border-bottom-color: var(--go-line-2);
}

.guardops-page .faq__answer {
	padding-bottom: 30px;
	line-height: 1.75;
}

/* Closing box with a gold glow */
.go-close {
	padding-top: 0;
}

.go-close__box {
	position: relative;
	overflow: hidden;
	padding: 96px 32px;
	border: 1px solid var(--go-line);
	border-radius: 28px;
	background: var(--go-soft);
}

.go-close__box::before {
	content: "";
	position: absolute;
	top: -220px;
	left: 50%;
	width: 900px;
	height: 420px;
	margin-left: -450px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(250, 204, 21, 0.16), rgba(250, 204, 21, 0.05) 60%, transparent 80%);
	pointer-events: none;
}

.go-close .go-head {
	position: relative;
	margin-bottom: 36px;
}

.go-close .go-btns {
	position: relative;
}

/* Screens (illustrations/guardops-ui) */
.go-ui--list {
	width: 100%;
	max-width: 330px;
	padding: 14px 16px 8px;
}

.go-patrol,
.go-team {
	max-width: 300px;
}

.go-patrol__photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 22px;
	margin-left: auto;
	border-radius: 5px;
	background: linear-gradient(135deg, #dfe1e5, #c3c6cc);
	color: var(--sg-white);
}

.go-patrol__photo svg {
	width: 12px;
	height: 12px;
}

.go-checklist {
	padding: 12px 14px 6px;
}

.go-checklist .go-seg {
	margin: 2px 0 10px;
}

/* Photo report: three sample photos, labels, then who sees it */
.go-vis--photos {
	flex-direction: column;
	gap: 14px;
}

.go-photo-report {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: 100%;
}

.go-photos {
	width: 100%;
	max-width: 330px;
	padding: 14px;
}

.go-photos__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 6px;
}

.go-photos__grid i {
	position: relative;
	height: 74px;
	overflow: hidden;
	border-radius: 9px;
	background: linear-gradient(135deg, #d9dbe0, #b9bcc4);
}

.go-photos__grid i:nth-child(2) {
	background: linear-gradient(135deg, #d6d3cf, #b3aea8);
}

.go-photos__grid i:nth-child(3) {
	background: linear-gradient(135deg, #cfd6d4, #a9b3b0);
}

.go-photos--cars .go-photos__grid i::after {
	content: "";
	position: absolute;
	right: 18%;
	bottom: 16px;
	left: 18%;
	height: 20px;
	border-radius: 9px 9px 4px 4px;
	background: rgba(255, 255, 255, 0.55);
}

.go-photos .go-chips {
	margin-top: 10px;
}

.go-photos .go-chips span {
	padding: 5px 8px;
	border: 0;
	background: #f5f5f6;
	font-size: 11.5px;
}

.go-viewers {
	display: flex;
	align-items: center;
	gap: 10px;
}

.go-viewers span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 10px 6px 6px;
	border: 1px solid var(--go-line-2);
	border-radius: 999px;
	background: var(--sg-white);
	color: var(--sg-ink);
	font-size: 12.5px;
	font-weight: 600;
}

.go-viewers b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--sg-ink);
	color: var(--sg-white);
	font-size: 9.5px;
}

.go-viewers b.is-grey {
	background: #6b6e75;
}

.go-viewers em {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--go-green-bg);
	color: #177245;
	font-size: 11.5px;
	font-style: normal;
	font-weight: 600;
}

.go-viewers em svg {
	width: 12px;
	height: 12px;
}

/* The hub's compact versions: square photos, outlined labels, plain row icons */
.go-columns .go-photos,
.go-columns .go-chart,
.go-columns .go-checklist {
	max-width: 280px;
	padding: 14px;
}

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

.go-columns .go-photos__grid i {
	height: auto;
	aspect-ratio: 1 / 0.78;
	border-radius: 8px;
}

.go-columns .go-photos .go-chips {
	margin-top: 12px;
}

.go-columns .go-photos .go-chips span {
	padding: 5px 9px;
	border: 1px solid var(--go-line);
	background: var(--sg-white);
	font-size: 12px;
}

.go-columns .go-checklist .go-ui__row {
	gap: 8px;
	padding: 9px 0;
	color: #2b2d31;
}

.go-columns .go-checklist .go-i {
	width: auto;
	height: auto;
	border: 0;
	background: none;
	color: inherit;
}

.go-chart__bars {
	display: flex;
	align-items: flex-end;
	gap: 7px;
	height: 78px;
	padding-top: 4px;
}

.go-chart__bars i {
	flex: 1;
	height: var(--h);
	border-radius: 4px 4px 2px 2px;
	background: #d9dbe0;
}

.go-chart__bars .is-red {
	background: var(--go-red);
}

/* Steps joined by a line, the first done */
.go-steps {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 320px;
}

.go-steps-card .go-steps {
	max-width: none;
}

.go-steps div {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	color: #686b72; /* 4.5:1 or better on every card background */
	font-size: 13px;
	font-weight: 500;
}

.go-steps span {
	position: relative;
	z-index: 1;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1px solid var(--go-line-2);
	border-radius: 50%;
	background: var(--sg-white);
}

.go-steps span svg {
	width: 13px;
	height: 13px;
}

.go-steps div:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 30px;
	left: 12.5px;
	width: 1px;
	height: 14px;
	background: var(--go-line-2);
}

.go-steps .is-on {
	color: var(--sg-ink);
}

.go-steps .is-on span {
	border-color: var(--sg-ink);
	background: var(--sg-ink);
	color: var(--sg-white);
}

/* A notification over steps or a checklist */
.go-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	width: 100%;
}

.go-stack .go-checklist {
	margin-top: -4px;
}

.go-notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	max-width: 320px;
	padding: 11px 13px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.92);
}

.go-notice > div {
	flex: 1;
	min-width: 0;
}

.go-notice .go-app-icon,
.go-notice__icon {
	width: 28px;
	height: 28px;
	border-radius: 8px;
}

.go-notice .go-app-icon svg {
	width: 12px;
	height: 12px;
}

.go-notice__icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	background: var(--sg-ink);
	color: var(--sg-white);
}

.go-notice__icon svg {
	width: 15px;
	height: 15px;
}

.go-notice__top {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	color: #686b72; /* 4.5:1 or better on every card background */
	font-size: 11px;
	font-weight: 500;
}

.go-notice b {
	display: block;
	margin-top: 1px;
	font-size: 13.5px;
	font-weight: 600;
}

.go-notice small {
	color: #5c5f66;
	font-size: 12px;
}

.go-notice--dark {
	max-width: 330px;
}

.go-vis--alert .go-stack {
	gap: 14px;
}

/* Monthly summary PDF */
.go-pdf {
	position: relative;
	width: 100%;
	max-width: 340px;
	padding: 22px;
	border-radius: 12px;
}

.go-pdf__brand {
	display: flex;
	align-items: center;
	gap: 7px;
	font-weight: 600;
}

.go-pdf__title {
	display: block;
	margin: 16px 0 8px;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.go-pdf__redacted {
	display: block;
	width: 46%;
	height: 9px;
	border-radius: 3px;
	background: #1b1b1d;
}

.go-sev {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 16px;
}

.go-sev div {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 9px;
	border: 1px solid var(--go-line);
	border-radius: 8px;
	font-size: 12.5px;
}

.go-sev b {
	min-width: 52px;
	padding: 2px 7px;
	border-radius: 5px;
	font-size: 10.5px;
	font-weight: 600;
	text-align: center;
}

.go-pdf__lines {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 14px;
}

.go-pdf__lines em {
	display: block;
	height: 6px;
	border-radius: 3px;
	background: #eeeff1;
}

.go-pdf__stamp {
	position: absolute;
	right: 16px;
	bottom: 14px;
	padding: 3px 7px;
	border: 1px solid #d5d7dc;
	border-radius: 4px;
	color: #686b72;
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* New incident report form */
.go-form {
	width: 100%;
	max-width: 310px;
	padding: 14px;
}

.go-form__label {
	display: block;
	margin: 0 0 5px;
	color: #6b6e75;
	font-size: 11px;
	font-weight: 600;
}

.go-form__req {
	color: #686b72; /* 4.5:1 or better on every card background */
	font-size: 11px;
}

.go-form__pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 10px;
}

.go-form__select {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 32px;
	padding: 0 9px;
	overflow: hidden;
	border: 1px solid var(--go-line-2);
	border-radius: 8px;
	color: #686b72; /* 4.5:1 or better on every card background */
	font-size: 12px;
	white-space: nowrap;
}

.go-form__select svg {
	width: 12px;
	height: 12px;
}

/* Location switcher */
.go-switcher {
	width: 100%;
	max-width: 300px;
	padding: 12px;
}

.go-switcher__current {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	padding: 8px 10px;
	border: 1px solid var(--go-line-2);
	border-radius: 9px;
	font-size: 13.5px;
}

.go-switcher__current b {
	font-weight: 600;
}

.go-switcher__current > svg {
	width: 13px;
	height: 13px;
	margin-left: auto;
	color: #9a9ca3;
}

.go-sq {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 7px;
	background: #f1f1f3;
	color: #3f4248;
	font-size: 11.5px;
	font-weight: 600;
}

.go-sq svg {
	width: 13px;
	height: 13px;
}

.go-switcher__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	border-radius: 8px;
	font-size: 13.5px;
}

.go-switcher__row.is-on {
	background: #f5f5f6;
	font-weight: 600;
}

.go-switcher__row small {
	margin-left: auto;
	color: #686b72;
	font-size: 11px;
	font-weight: 500;
}

/* Team logins */
.go-team__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--sg-ink);
	color: var(--sg-white);
	font-size: 10px;
	font-style: normal;
	font-weight: 600;
}

.go-team .go-ui__row:nth-child(3) .go-team__avatar {
	background: #6b6e75;
}

.go-team .go-ui__row:nth-child(4) .go-team__avatar {
	background: var(--go-red);
}

.go-team__login {
	margin-left: auto;
	padding: 3px 8px;
	border-radius: 6px;
	background: #f1f1f3;
	color: #55585f;
	font-size: 11px;
	font-weight: 600;
}

.go-team .go-ui__row {
	padding: 9px 0;
}

/* Sign-in check: a map with the geofence, the site label and a sign-in card */
.go-vis--signin {
	padding: 0;
	background: #eef0f3;
}

.go-map {
	position: absolute;
	inset: 0;
}

.go-map__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.go-map__fence {
	position: absolute;
	top: 18px;
	left: 18px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 10px;
	border: 1px solid var(--go-line-2);
	border-radius: 8px;
	background: var(--sg-white);
	box-shadow: 0 4px 12px -6px rgba(16, 24, 40, 0.25);
	color: #3f4248;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.go-map__fence i {
	width: 8px;
	height: 8px;
	border: 1.5px solid var(--go-green);
	border-radius: 2px;
	background: rgba(31, 157, 85, 0.25);
}

.go-map__signin {
	position: absolute;
	bottom: 18px;
	left: 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px 10px 10px;
	white-space: nowrap;
}

.go-map__signin > div > b {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: 600;
}

.go-map__avatar {
	position: relative;
	width: 44px;
	height: 44px;
}

.go-map__avatar img {
	display: block;
	width: 44px;
	height: 44px;
	border-radius: 12px;
}

.go-map__avatar b {
	position: absolute;
	right: -5px;
	bottom: -5px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border: 2px solid var(--sg-white);
	border-radius: 50%;
	background: var(--sg-ink);
	color: var(--sg-white);
}

.go-map__avatar b svg {
	width: 10px;
	height: 10px;
}

.go-map__checks {
	display: flex;
	gap: 6px;
}

.go-map__checks > span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px 3px 4px;
	border-radius: 999px;
	background: var(--go-green-bg);
	color: #177245;
	font-size: 11.5px;
	font-weight: 500;
	white-space: nowrap;
}

.go-map__checks .go-ok {
	width: 15px;
	height: 15px;
	background: var(--sg-white);
}

.go-map__checks .go-ok svg {
	width: 9px;
	height: 9px;
}

@media (max-width: 1180px) {
	.go-devices {
		gap: 40px;
	}

	.go-laptop {
		flex-basis: 680px;
	}

	.go-phone {
		flex-basis: 250px;
		width: 250px;
		border-radius: 46px;
	}

	.go-phone__screen {
		border-radius: 37px;
	}

	.go-flow {
		grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
		padding: 36px;
	}

	.go-columns .go-card {
		padding: 40px 28px 8px;
	}
}

/* The hero h1 follows the site's hero scale */
@media (max-width: 1280px) {
	.go-hero h1 {
		font-size: 56px;
	}
}

@media (max-width: 1100px) {
	.go-hero h1 {
		font-size: 52px;
	}
}

@media (max-width: 600px) {
	.go-hero h1 {
		font-size: 40px;
	}
}

@media (max-width: 1024px) {
	.go-sec,
	.guardops-page .faq {
		padding: 96px 0;
	}

	.go-close {
		padding-top: 0;
	}

	.go-head h2,
	.guardops-page .faq .sec-head h2 {
		font-size: 46px;
	}

	.go-devices {
		flex-direction: column;
		align-items: center;
		gap: 48px;
		padding: 0 32px 80px;
	}

	.go-laptop {
		flex: none;
		width: 100%;
		max-width: 760px;
	}

	.go-phone {
		flex: none;
		width: 280px;
	}

	.go-band__list {
		grid-template-columns: 1fr;
		max-width: 460px;
	}

	.go-band__list li + li {
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		border-left: 0;
	}

	.go-columns {
		grid-template-columns: 1fr;
		border-top: 0;
	}

	.go-columns .go-card,
	.go-columns .go-card:first-child,
	.go-columns .go-card:last-child {
		padding: 40px 0 0;
	}

	.go-columns .go-card + .go-card {
		margin-top: 40px;
		border-top: 1px solid var(--go-line);
		border-left: 0;
	}

	.go-columns .go-vis {
		max-width: 560px;
	}

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

	.go-split {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.go-split__vis {
		border-top: 1px solid var(--go-line);
		border-left: 0;
	}

	.go-sec--rows .go-split {
		min-height: 0;
	}

	.go-types {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.go-types li:nth-child(3) {
		border-left: 0;
	}

	.go-types li:nth-child(n+3) {
		border-top: 1px solid var(--go-line);
	}
}

@media (max-width: 760px) {
	.go-sec,
	.guardops-page .faq {
		padding: 72px 0;
	}

	.go-close {
		padding-top: 0;
	}

	.go-head {
		margin-bottom: 44px;
	}

	.go-head h2,
	.guardops-page .faq .sec-head h2 {
		font-size: 36px;
		line-height: 1.08;
	}

	.go-head p {
		font-size: 16.5px;
	}

	.go-hero {
		padding-top: 64px;
	}

	.go-hero h1 {
		line-height: 1.06;
	}

	.go-hero__lede {
		margin-bottom: 22px;
		font-size: 17px;
	}

	.go-btns .btn {
		justify-content: center;
		width: 100%;
	}

	.go-devices {
		gap: 40px;
		padding: 0 16px 56px;
	}

	.go-laptop__lid {
		padding: 8px 8px 10px;
		border-radius: 14px 14px 0 0;
	}

	.go-laptop__base {
		height: 10px;
		margin: 0 -10px;
	}

	.go-laptop__screen iframe {
		pointer-events: none;
	}

	.go-phone {
		width: 250px;
	}

	.go-phone__island {
		width: 72px;
		height: 22px;
		margin-left: -36px;
	}

	.go-phone__status {
		padding: 5px 20px 0 24px;
		font-size: 13px;
	}

	.go-flow {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 20px;
	}

	.go-flow__mid {
		gap: 10px;
	}

	.go-flow__arrow {
		width: 34px;
		height: 34px;
		transform: rotate(90deg);
	}

	.go-vis {
		height: auto;
		min-height: 250px;
		margin-bottom: 24px;
		padding: 22px 14px;
	}

	.go-columns .go-vis {
		height: 210px;
		min-height: 0;
		padding: 16px;
	}

	.go-cards-sec:not(.go-sec--rows) .go-grid .go-vis {
		height: 270px;
		min-height: 0;
		padding: 16px;
	}

	.go-vis--signin {
		height: 270px;
		padding: 0;
	}

	.go-map__bg {
		top: -56px;
		height: calc(100% + 56px);
	}

	.go-map__fence {
		top: 14px;
		left: 14px;
	}

	.go-map__signin {
		bottom: 14px;
		left: 14px;
	}

	.go-grid .go-card {
		padding: 28px 20px 32px;
	}

	.go-card h2 {
		font-size: 22px;
	}

	.go-tabs {
		margin: -12px 0 24px;
	}

	.go-tabs [role="tab"] {
		padding: 10px 14px;
		font-size: 14px;
	}

	.go-split__text {
		padding: 28px 22px;
	}

	.go-split__text h2,
	.go-split__text h3 {
		font-size: 24px;
	}

	.go-split__vis {
		padding: 28px 18px;
	}

	.go-types li {
		padding: 22px 18px;
		font-size: 15px;
	}

	.go-photos__grid i {
		height: 58px;
	}

	.go-viewers {
		flex-wrap: wrap;
		justify-content: center;
	}

	.go-close__box {
		padding: 56px 20px;
		border-radius: 22px;
	}
}

/* ==========================================================================
   37. Partner Program page (page-partner.php)
   ========================================================================== */

/* Sections alternate white and grey by position, starting white under the hero (main's first child) */
.partner-page > .sec:nth-child(even) {
	background: var(--sg-white);
}

.partner-page > .sec:nth-child(odd) {
	background: var(--sg-paper);
}

.partner-page .sec + .sec {
	border-top: 0;
}

/* Hero: the partner-type picker in place of the quote form */
.partner-pick {
	padding: 28px;
}

.partner-pick .quote-card__title {
	margin-bottom: 6px;
}

.partner-pick .quote-card__text {
	margin-bottom: 18px;
	font-size: 14.5px;
	color: var(--sg-text-muted);
}

.partner-pick__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.partner-pick__list a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--sg-line);
	border-radius: 12px;
	color: var(--sg-ink);
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.partner-pick__list a:hover,
.partner-pick__list a:focus-visible {
	border-color: var(--sg-red);
	box-shadow: 0 10px 26px rgba(17, 17, 17, 0.08);
	color: var(--sg-ink);
}

.partner-pick__text {
	flex: 1 1 auto;
}

.partner-pick__list b {
	display: block;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.partner-pick__list small {
	display: block;
	margin-top: 2px;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--sg-text-muted);
}

.partner-pick__list .icon {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	color: var(--sg-red);
	transition: transform 0.2s ease;
}

.partner-pick__list a:hover .icon {
	transform: translateX(3px);
}

/* Two ways to partner: a card per partner type */
.partner-paths__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.partner-path {
	display: flex;
	flex-direction: column;
	padding: 32px;
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius-lg);
	background: var(--sg-white);
}

.partner-path h3 {
	margin: 0 0 12px;
	font-size: 24px;
	line-height: 1.25;
}

.partner-path p {
	margin: 0;
	font-size: 16.5px;
	line-height: 1.7;
}

.partner-path ul {
	display: grid;
	gap: 10px;
	margin: 20px 0 26px;
	padding: 0;
	list-style: none;
}

.partner-path li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--sg-ink);
}

.partner-path li .icon {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--sg-red);
}

.partner-path .btn {
	align-self: flex-start;
	margin-top: auto;
}

/* Icon tiles, four to a row (the industry pages' tiles); on white sections they get an edge */
.partner-tiles .props__grid {
	grid-template-columns: repeat(var(--props, 4), minmax(0, 1fr));
}

.partner-page > .sec:nth-child(even) .props__grid li {
	border: 1px solid var(--sg-line);
}

.partner-tiles__note {
	max-width: 860px;
	margin: 44px auto 0;
	font-size: 17px;
	line-height: 1.75;
}

/* The intro line under a tile section's heading */
.partner-tiles .sec-head h2 + p {
	max-width: 640px;
	margin-top: 24px;
	font-size: 18px;
}

/* Areas: the heading sits in the left column, beside the map */
@media (min-width: 1021px) {
	.partner-page .areas__head {
		grid-column: 1 / span 7;
	}

	.partner-page .areas__map {
		grid-row: 1 / span 2;
	}
}

/* How it works: a tab per partner type, then the steps (the homepage steps' layout) */
.partner-steps__tabs {
	display: flex;
	justify-content: center;
	gap: 6px;
	width: max-content;
	max-width: 100%;
	margin: -8px auto 48px;
	padding: 5px;
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.06);
}

.partner-steps__tabs button {
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	font: 600 15px/1 var(--sg-font);
	color: var(--sg-text);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.partner-steps__tabs button[aria-selected="true"] {
	background: var(--sg-white);
	color: var(--sg-ink);
	box-shadow: 0 2px 8px rgba(17, 17, 17, 0.12);
}

.partner-steps__tabs button:focus-visible {
	outline: 2px solid var(--sg-red);
	outline-offset: 2px;
}

@media (min-width: 1021px) {
	.steps__grid--four {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 36px;
	}

	.steps__grid--four .steps__item:not(:last-child) .steps__vis::after {
		right: -32px;
		width: 28px;
	}
}

/* The application: a white card holding the Formidable form. Its sections (Formidable section fields) are
   two-column grids of their own; the partner type radios are two large choices. */
.partner-form {
	scroll-margin-top: var(--sg-header-height);
}

.partner-form__card {
	max-width: 860px;
	margin: 0 auto;
	padding: 40px;
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius-lg);
	background: var(--sg-white);
	box-shadow: 0 30px 70px rgba(17, 17, 17, 0.08);
}

.partner-form__note {
	margin: 0 0 28px;
	font-size: 15px;
	text-align: center;
	color: var(--sg-text-muted);
}

.partner-form .frm_fields_container {
	column-gap: 16px;
}

.partner-form input[type="text"],
.partner-form input[type="email"],
.partner-form input[type="tel"],
.partner-form input[type="url"],
.partner-form input[type="number"],
.partner-form select,
.partner-form textarea {
	padding: 12px 14px;
	font-size: 16px;
}

.partner-form .frm_form_field {
	margin-bottom: 16px;
}

.partner-form .frm_section_heading {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
	margin: 12px 0 12px;
}

.partner-form .frm_section_heading h3,
.partner-form .partner-legend .frm_primary_label {
	grid-column: 1 / -1;
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--sg-ink);
}

.partner-form .partner-legend {
	margin-top: 12px;
}

.partner-form .partner-legend textarea {
	height: 120px;
}

.partner-form .partner-short textarea {
	height: 80px;
}

.partner-form .frm_description {
	margin-top: 6px;
	font-size: 13px;
	color: var(--sg-text-muted);
}

/* Radios and checkboxes */
.partner-form .frm_opt_container {
	display: grid;
	gap: 10px 16px;
}

.partner-form .horizontal_radio .frm_opt_container {
	grid-template-columns: repeat(2, max-content);
	column-gap: 28px;
}

.partner-form .frm_three_col .frm_opt_container {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-form .frm_radio label,
.partner-form .frm_checkbox label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--sg-ink);
	cursor: pointer;
}

.partner-form input[type="radio"],
.partner-form input[type="checkbox"] {
	flex: 0 0 17px;
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: var(--sg-red);
}

.partner-form .partner-type .frm_primary_label {
	margin-bottom: 16px;
	font-size: 18px;
	font-weight: 600;
	color: var(--sg-ink);
}

.partner-form .frm_hidden_container > .frm_primary_label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.partner-form .partner-type .frm_opt_container {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.partner-form .partner-type label {
	gap: 12px;
	padding: 16px;
	border: 1px solid rgba(17, 17, 17, 0.2);
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
}

.partner-form .partner-type label:has(input:checked) {
	border-color: var(--sg-red);
	box-shadow: 0 0 0 1px var(--sg-red) inset;
}

.partner-form .partner-type input {
	flex-basis: 18px;
	width: 18px;
	height: 18px;
}

.partner-form .partner-certify label {
	align-items: flex-start;
	font-size: 14.5px;
	line-height: 1.5;
}

.partner-form .partner-certify input {
	margin-top: 3px;
}

/* Its label (with the asterisk) is hidden, so the asterisk follows the sentence, as in the mock */
.partner-form .partner-certify.frm_required_field label::after {
	content: "*";
	margin-left: -4px;
	color: var(--sg-red);
}

/* File uploads (Formidable Pro's dropzone; Formidable's own stylesheet is off site-wide) */
.partner-form .frm_dropzone .dz-message {
	display: none;
	padding: 18px;
	border: 1.5px dashed rgba(17, 17, 17, 0.25);
	border-radius: var(--sg-radius);
	background: var(--sg-paper);
	font-size: 14.5px;
	text-align: center;
	cursor: pointer;
}

.partner-form .frm_dropzone.dz-clickable .dz-message {
	display: block;
}

.partner-form .frm_dropzone.frm_single_upload.dz-started .dz-message,
.partner-form .dz-hidden-input {
	display: none;
}

.partner-form .frm_dropzone .frm_compact_text {
	display: none;
}

.partner-form .frm_dropzone .frm_upload_text button {
	padding: 0;
	border: 0;
	background: none;
	font: 600 14.5px/1.4 var(--sg-font);
	color: var(--sg-ink);
	cursor: pointer;
}

.partner-form .frm_dropzone .frm_small_text p {
	margin: 4px 0 0;
}

.partner-form .frm_dropzone .frm-svg-icon {
	display: block;
	width: 18px;
	height: 18px;
	margin: 0 auto 6px;
	fill: var(--sg-text-muted);
}

.partner-form .frm_dropzone .frm_small_text {
	display: block;
	font-size: 13px;
	color: var(--sg-text-muted);
}

.partner-form .frm_dropzone .dz-preview {
	display: flex;
	gap: 8px;
	padding: 12px;
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius);
	font-size: 14px;
}

.partner-form .frm_dropzone .dz-column {
	flex: 1 1 auto;
	min-width: 0;
}

.partner-form .frm_dropzone .dz-image {
	display: none;
}

.partner-form .frm_dropzone .dz-filename {
	overflow: hidden;
	font-weight: 500;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.partner-form .frm_dropzone .dz-size {
	color: var(--sg-text-muted);
}

.partner-form .frm_dropzone .dz-remove {
	float: right;
	font-size: 13px;
	color: var(--sg-text-muted);
}

.partner-form .frm_dropzone .dz-progress {
	position: relative;
	height: 6px;
	margin-top: 8px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--sg-line-soft);
}

.partner-form .frm_dropzone .dz-upload {
	position: absolute;
	inset: 0 auto 0 0;
	background: var(--sg-ink);
	transition: width 0.3s ease;
}

.partner-form .frm_dropzone .dz-error-message {
	display: none;
	padding-top: 6px;
	color: var(--sg-red);
}

.partner-form .frm_dropzone .dz-error .dz-error-message {
	display: block;
}

.partner-form .frm_dropzone .dz-success-mark,
.partner-form .frm_dropzone .dz-error-mark {
	display: none;
}

/* Notes inside the form (sensitive information, current clients) and the line under the button */
.partner-note {
	margin: 0;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--sg-paper);
	font-size: 14px;
	line-height: 1.6;
	color: var(--sg-text);
}

.partner-callback {
	max-width: 600px;
	margin: 0 auto;
	font-size: 14px;
	line-height: 1.6;
	text-align: center;
	color: var(--sg-text-muted);
}

@media (max-width: 1020px) {
	.partner-tiles .props__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.partner-pick {
		margin-top: 28px;
	}
}

@media (max-width: 860px) {
	.partner-paths__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.partner-form .frm_three_col .frm_opt_container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.partner-path {
		padding: 24px;
	}

	.partner-path h3 {
		font-size: 21px;
	}

	.partner-path .btn {
		align-self: stretch;
	}

	.partner-steps__tabs {
		margin: -4px auto 32px;
	}

	.partner-steps__tabs button {
		padding: 11px 16px;
		font-size: 14px;
	}

	.partner-form__card {
		padding: 24px 18px;
	}

	.partner-form .frm_section_heading,
	.partner-form .partner-type .frm_opt_container,
	.partner-form .frm_three_col .frm_opt_container {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   38. Licenses & memberships (sections/memberships, closing the reviews section)
   ========================================================================== */

/* The reviews section's bottom padding plus a third again, as in the mock's separate section */
.memberships {
	margin-top: calc(var(--sg-sec) * 1.35);
}

.memberships__head {
	max-width: 720px;
	margin: 0 auto 60px;
	text-align: center;
}

.memberships__head h2 {
	margin-bottom: 16px;
}

.memberships__head p {
	font-size: 18px;
	line-height: 1.6;
	color: var(--sg-text-soft);
	text-wrap: balance;
}

/* One still row spread across the container, each logo centred in its cell (--cols is the logo count) */
.memberships__grid {
	display: grid;
	grid-template-columns: repeat(var(--cols, 8), auto);
	justify-content: space-between;
	align-items: center;
	gap: 32px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.memberships__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 80px;
}

/* Fixed height for an even weight; on a narrow screen a wide logo shrinks inside its box instead of overflowing */
.memberships__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: var(--h);
	object-fit: contain;
}

/* Tablets: two rows, half the logos each, so the columns line up */
@media (max-width: 1100px) {
	.memberships__grid {
		grid-template-columns: repeat(var(--cols-md, 4), auto);
		justify-content: space-around;
		column-gap: 48px;
	}
}

@media (max-width: 860px) {
	.memberships__head {
		margin-bottom: 44px;
	}

	.memberships__grid {
		column-gap: 36px;
	}
}

/* Phones: two rows of four in equal columns; each logo scales down to its column, keeping its shape */
@media (max-width: 600px) {
	.memberships__head p {
		font-size: 17px;
	}

	.memberships__grid {
		grid-template-columns: repeat(var(--cols-md, 4), minmax(0, 1fr));
		gap: 28px 24px;
		padding: 0 10px;
	}

	.memberships__logo {
		height: 60px;
	}

	.memberships__logo img {
		height: auto;
		max-height: min(var(--h), 60px);
	}
}
