/**
 * Absolute 2026: base styles.
 *
 * Design tokens, fonts, reset, typography, layout, buttons, cards, forms and
 * utilities. Loaded on every page.
 *
 * Mobile-first: base rules target small screens, and min-width queries scale
 * up. Breakpoints: 40em (640px), 56.25em (900px), 67.5em (1080px),
 * 80em (1280px).
 *
 * Colour rules, from the business card PDF (exact sRGB values):
 * - Photocopiers green #01803D takes white text (5.0:1).
 * - Facilities purple #652E94 takes white text (8.9:1).
 * - Lime #71BF45 and lilac #A769D4 are accents only: dark text on them, or
 *   use them on dark backgrounds. White on lime fails at 2.3:1.
 *
 * 0.6.0: service card photos (section 8).
 *
 * @package Absolute_2026
 * @author  Steve Austen
 * @company The PCGP
 * @version 0.6.0
 */

/* ==========================================================================
   1. Fonts (self-hosted, latin subset, about 50 KB in total)
   ========================================================================== */

/* Source Sans 3: body and interface text. A humanist sans close to the Frutiger-style face on the business cards. */
@font-face {
	font-family: "Source Sans 3";
	src: url("../assets/fonts/source-sans-3-latin-variable.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	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;
}

/* Source Serif 4 Semibold: display headings, echoing the Arno Pro wordmark (both are Adobe faces). */
@font-face {
	font-family: "Source Serif 4";
	src: url("../assets/fonts/source-serif-4-600-latin.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	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;
}

/* ==========================================================================
   2. Design tokens
   ========================================================================== */

:root {
	/* Photocopiers division (green) */
	--photocopiers-ink: #01341a;   /* very dark green: photo overlays */
	--photocopiers-800: #2e631d;   /* forest (card): hover and pressed states */
	--photocopiers-700: #01803d;   /* deep green (card): primary */
	--photocopiers-400: #71bf45;   /* lime (card): accent only */
	--photocopiers-100: #ddefd4;
	--photocopiers-50:  #f2f8ee;

	/* Facilities division (purple) */
	--facilities-ink: #1d0236;     /* very dark purple: photo overlays */
	--facilities-900: #290149;     /* aubergine (card) */
	--facilities-800: #44186d;     /* plum (card): hover and pressed states */
	--facilities-700: #652e94;     /* brand purple (card front, lockup): primary */
	--facilities-500: #8545b2;     /* violet (card) */
	--facilities-300: #a769d4;     /* lilac (card): accent on dark only */
	--facilities-100: #eaddf6;
	--facilities-50:  #f7f2fb;

	/* Neutrals */
	--ink: #17141c;                /* headings and dark sections */
	--ink-2: #3d3945;              /* body text, 10.9:1 on white */
	--ink-3: #5f5a67;              /* muted text, 6.6:1 on white */
	--line: #e2dfe6;               /* hairlines */
	--line-strong: #8e8996;        /* form borders, 3.4:1 on white */
	--surface: #ffffff;
	--surface-2: #f6f5f8;
	--surface-3: #edebf0;
	--danger: #b3261e;             /* form errors, 6.5:1 on white */

	/*
	 * Accent set. Neutral (ink) by default; a division class or data-division
	 * attribute swaps it for green or purple (section 3), so components only
	 * ever refer to --accent.
	 */
	--accent: var(--ink);
	--accent-strong: #000;
	--accent-bright: var(--photocopiers-400);
	--accent-tint: var(--surface-2);
	--accent-tint-2: var(--surface-3);
	--accent-ink: var(--ink);

	/* Type */
	--font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--text-sm: 0.9375rem;
	--text-base: 1.0625rem;
	--text-lg: 1.1875rem;
	--h1: clamp(2.1rem, 1.3rem + 3.2vw, 3.75rem);
	--h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);

	/* Layout */
	--gutter: 1rem;
	--container: 76rem;
	--section-space: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 1px 2px rgb(23 20 28 / 6%), 0 10px 28px rgb(23 20 28 / 9%);
	--shadow-lg: 0 24px 60px rgb(23 20 28 / 18%);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	/* The brand slant: the drop across a slanted section edge, echoing the hero divide. */
	--slant: clamp(1.25rem, 3.5vw, 3.5rem);

	/* Focus ring colour; dark sections switch it to white. */
	--focus-ring: var(--ink);
}

@media (min-width: 40em) {
	:root {
		--gutter: 1.5rem;
	}
}

@media (min-width: 67.5em) {
	:root {
		--gutter: 2rem;
	}
}

/* ==========================================================================
   3. Division theming
   ========================================================================== */

[data-division="photocopiers"],
.division-photocopiers {
	--accent: var(--photocopiers-700);
	--accent-strong: var(--photocopiers-800);
	--accent-bright: var(--photocopiers-400);
	--accent-tint: var(--photocopiers-50);
	--accent-tint-2: var(--photocopiers-100);
	--accent-ink: var(--photocopiers-ink);
}

[data-division="facilities"],
.division-facilities {
	--accent: var(--facilities-700);
	--accent-strong: var(--facilities-800);
	--accent-bright: var(--facilities-300);
	--accent-tint: var(--facilities-50);
	--accent-tint-2: var(--facilities-100);
	--accent-ink: var(--facilities-ink);
}

/* ==========================================================================
   4. Reset and base elements
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	/* Keep anchored headings clear of the sticky header. */
	scroll-padding-top: 6rem;
}

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

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--text-base);
	line-height: 1.6;
	color: var(--ink-2);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

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

svg.icon {
	display: inline-block;
	flex-shrink: 0;
	height: auto;
	vertical-align: middle;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	color: var(--ink);
	line-height: 1.15;
	text-wrap: balance;
}

h1,
h2 {
	font-family: var(--font-serif);
	font-weight: 600;
	letter-spacing: -0.01em;
}

h3,
h4 {
	font-family: var(--font-sans);
	font-weight: 700;
}

p {
	margin: 0 0 1em;
}

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

/*
 * Lists given a class are layout lists; content lists keep their bullets.
 * :where() keeps this reset at zero specificity, so classes such as
 * .container can still set margins and padding on a list.
 */
:where(ul[class], ol[class]) {
	margin: 0;
	padding: 0;
	list-style: none;
}

address {
	font-style: normal;
}

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

::selection {
	background: var(--facilities-100);
	color: var(--ink);
}

/* The main element is focusable (skip link target) but should not show a ring for that. */
.site-main:focus {
	outline: none;
}

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

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

.skip-link {
	position: absolute;
	top: -10rem;
	left: 0.75rem;
	z-index: 1000;
	padding: 0.75rem 1.1rem;
	border-radius: var(--radius-sm);
	background: var(--ink);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	--focus-ring: var(--photocopiers-400);
}

.skip-link:focus {
	top: 0.75rem;
}

/* ==========================================================================
   6. Layout
   ========================================================================== */

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

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

.section-header {
	max-width: 46rem;
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

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

.section-title {
	font-size: var(--h2);
}

.section-intro {
	font-size: var(--text-lg);
	color: var(--ink-2);
}

.section-intro:last-child {
	margin-bottom: 0;
}

/*
 * Division label: "| PHOTOCOPIERS" / "| FACILITIES", spaced capitals with a
 * vertical bar, mirroring the lockup on the business card.
 */
.division-label {
	display: inline-flex;
	align-items: center;
	gap: 0.65em;
	margin: 0 0 0.9rem;
	color: var(--accent);
	font: 600 0.8125rem/1.2 var(--font-sans);
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.division-label::before {
	content: "";
	width: 2px;
	height: 1.3em;
	background: currentColor;
}

/* ==========================================================================
   7. Buttons and links
   ========================================================================== */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0.7rem 1.35rem;
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	background: var(--accent);
	color: #fff;
	font: 700 1rem/1.2 var(--font-sans);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.button:hover {
	background: var(--accent-strong);
	color: #fff;
}

.button:active {
	transform: translateY(1px);
}

.button--small {
	min-height: 2.5rem;
	padding: 0.5rem 1rem;
	font-size: var(--text-sm);
}

/* Neutral dark button, e.g. the header's "Get a quote". */
.button--ink {
	background: var(--ink);
}

.button--ink:hover {
	background: #000;
}

/* White button for coloured or dark backgrounds. */
.button--light {
	background: #fff;
	color: var(--accent);
}

.button--light:hover {
	background: var(--accent-tint);
	color: var(--accent-strong);
}

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

.button--outline:hover {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

/*
 * Stretched link: the link's ::after covers its card, so the whole card is
 * clickable while the accessible name stays the link text. The card needs
 * position: relative.
 */
.stretched-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* ==========================================================================
   8. Cards and grids shared by several templates
   ========================================================================== */

.service-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

@media (min-width: 40em) {
	.service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 67.5em) {
	.service-grid {
		gap: 1.25rem;
	}

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

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

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 1px 2px rgb(23 20 28 / 4%);
	transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
	box-shadow: var(--shadow);
}

/* Show the focus ring on the whole card rather than the small title link. */
.service-card:has(.stretched-link:focus-visible) {
	outline: 3px solid var(--focus-ring);
	outline-offset: 3px;
}

.service-card .stretched-link:focus-visible {
	outline: none;
}

.service-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: var(--accent-tint-2);
	color: var(--accent);
}

/*
 * 0.6.0: card photo, the featured image of the page the card links to. It
 * runs edge to edge across the top of the card (the negative margins cancel
 * the card's padding), and the service icon sits over its bottom edge like a
 * badge. Cards without a photo are unchanged.
 */
.service-card__photo {
	display: block;
	aspect-ratio: 2 / 1;
	margin: -1.5rem -1.5rem 0;
	overflow: hidden;
	border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
	background: var(--surface-2);
}

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

.service-card__photo + .service-card__icon {
	position: relative;
	margin-top: -1.5rem;
	border: 3px solid #fff;
}

.service-card__photo + .service-card__title {
	margin-top: 1.25rem;
}

@media (prefers-reduced-motion: no-preference) {
	.service-card__photo img {
		transition: transform 0.4s var(--ease);
	}

	.service-card:hover .service-card__photo img {
		transform: scale(1.04);
	}
}

.service-card__title {
	margin-bottom: 0.4rem;
	font-size: 1.1875rem;
}

.service-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.service-card__text {
	flex: 1;
	color: var(--ink-2);
	font-size: 1rem;
}

.service-card__price {
	color: var(--accent);
	font-size: var(--text-sm);
	font-weight: 700;
}

.service-card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: auto;
	color: var(--accent);
	font-size: var(--text-sm);
	font-weight: 700;
}

/* Posts (guides) */
.post-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
}

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

@media (min-width: 67.5em) {
	.post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.post-card {
	position: relative;
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.post-card img {
	width: calc(100% + 3rem);
	max-width: none;
	margin: -1.5rem -1.5rem 1.25rem;
	border-radius: var(--radius) var(--radius) 0 0;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.post-card__date {
	margin-bottom: 0.35rem;
	color: var(--ink-3);
	font-size: 0.875rem;
}

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

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

/* ==========================================================================
   9. Forms (Contact Form 7)
   ========================================================================== */

.form-grid {
	display: grid;
	gap: 1rem 1.25rem;
}

@media (min-width: 40em) {
	.form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.field--full {
		grid-column: 1 / -1;
	}
}

.field {
	margin: 0;
	min-width: 0;
}

.field label,
.field legend {
	display: block;
	margin-bottom: 0.35rem;
	padding: 0;
	color: var(--ink);
	font-size: var(--text-sm);
	font-weight: 600;
}

.req {
	color: var(--ink-3);
	font-weight: 400;
}

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

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
select,
textarea {
	width: 100%;
	min-height: 3rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--ink);
	font: inherit;
}

textarea {
	min-height: 7.5rem;
	resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--focus-ring);
	outline-offset: 1px;
	border-color: var(--ink);
}

/* Checkbox groups are laid out as tappable pills. */
.wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* Scoped to .wpcf7 so it outranks Contact Form 7's own margin rule. */
.wpcf7 .wpcf7-list-item {
	margin: 0;
}

.wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	margin: 0;
	padding: 0.45rem 0.9rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	color: var(--ink);
	font-weight: 500;
	cursor: pointer;
}

.wpcf7-list-item input {
	width: 1.1rem;
	height: 1.1rem;
	margin: 0;
	accent-color: var(--ink);
}

.wpcf7-list-item label:has(input:checked) {
	border-color: var(--ink);
	background: var(--surface-3);
}

.wpcf7-not-valid-tip {
	margin-top: 0.3rem;
	color: var(--danger);
	font-size: 0.875rem;
	font-weight: 600;
}

.wpcf7 form .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: 0.75rem 1rem;
	border-radius: var(--radius-sm);
}

.form-note {
	margin: 1rem 0;
	color: var(--ink-3);
	font-size: 0.875rem;
}

.form-note a {
	color: var(--ink);
}

.wpcf7-submit {
	width: 100%;
}

@media (min-width: 40em) {
	.wpcf7-submit {
		width: auto;
	}
}

/* ==========================================================================
   10. Placeholders (Local only)
   ========================================================================== */

/* "TBC" marker for facts the client still has to supply. Never printed on live. */
.tbc {
	display: inline-flex;
	align-items: center;
	margin-left: 0.4em;
	padding: 0.05em 0.45em;
	border: 1px dashed #b45309;
	border-radius: 4px;
	background: #fff7e6;
	color: #8a3c00;
	font: 700 0.6875rem/1.4 var(--font-sans);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	vertical-align: middle;
	cursor: help;
}

.placeholder-note {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	max-width: 46rem;
	margin-inline: auto;
	padding: 1.25rem 1.5rem;
	border: 2px dashed var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface-2);
	color: var(--ink-2);
}

.placeholder-note p {
	margin: 0;
}

.placeholder-note .icon {
	color: var(--ink-3);
}

/* Private preview notice (inc/preview.php): top of every page on Local and staging only. */
.preview-notice {
	padding: 0.55rem var(--gutter);
	border-bottom: 1px solid #f0c36d;
	background: #fff7e6;
	color: #5c3b00;
	font-size: 0.875rem;
	line-height: 1.45;
	text-align: center;
}

.preview-notice p {
	max-width: 70rem;
	margin: 0 auto;
}

.preview-notice .tbc {
	margin: 0 0.15em;
	cursor: default;
}

/* ==========================================================================
   11. Team (homepage and Contact)
   ========================================================================== */

.team {
	background: var(--surface-2);
}

.team__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
	max-width: 72rem;
	margin-inline: auto;
}

@media (min-width: 40em) {
	.team__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 56.25em) {
	.team__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.person {
	padding: 2rem 1.5rem 1.6rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	text-align: center;
}

/* Monogram on the split brand colours until a photo is added. */
.person__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 6rem;
	height: 6rem;
	margin: 0 auto 1rem;
	overflow: hidden;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--photocopiers-700) 0 50%, var(--facilities-700) 50% 100%);
}

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

.person__initials {
	color: #fff;
	font-family: var(--font-serif);
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.person__name {
	margin-bottom: 0.2rem;
	font-size: 1.25rem;
}

.person__role {
	min-height: 1.5em;
	margin-bottom: 1rem;
	color: var(--ink-3);
	font-size: var(--text-sm);
}

.person__contact {
	display: grid;
	justify-items: center;
	gap: 0.35rem;
}

.person__contact a {
	font-size: var(--text-sm);
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.3rem;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.person__contact a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   12. Enquiry section (homepage, Contact, Get a quote, division pages)
   ========================================================================== */

.enquiry {
	position: relative;
	background: var(--ink);
	color: rgb(255 255 255 / 85%);
	--focus-ring: #fff;
}

.enquiry::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 6px;
	background: linear-gradient(90deg, var(--photocopiers-700) 0 50%, var(--facilities-700) 50% 100%);
}

.enquiry .section-title {
	color: #fff;
}

.enquiry .section-intro {
	color: rgb(255 255 255 / 85%);
}

.enquiry__grid {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 56.25em) {
	.enquiry__grid {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		align-items: start;
		gap: 4rem;
	}
}

.enquiry__contact {
	display: grid;
	gap: 1.25rem;
	margin-top: 2rem;
}

.enquiry__contact li {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.enquiry__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: rgb(255 255 255 / 8%);
	color: #fff;
}

.enquiry__label {
	display: block;
	color: rgb(255 255 255 / 68%);
	font-size: 0.8125rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.enquiry__contact a {
	color: #fff;
	font-size: 1.125rem;
	font-weight: 700;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.enquiry__contact a:hover {
	text-decoration: underline;
}

.enquiry__form {
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink-2);
	box-shadow: var(--shadow-lg);
	--focus-ring: var(--ink);
}

/* Light variant: the form is the main content (Contact, Get a quote), under a dark page header. */
.enquiry--light {
	background: #fff;
	color: var(--ink-2);
	--focus-ring: var(--ink);
}

.enquiry--light::before {
	display: none;
}

.enquiry--light .section-title {
	color: var(--ink);
}

.enquiry--light .section-intro {
	color: var(--ink-2);
}

.enquiry--light .enquiry__icon {
	border: 1px solid var(--line);
	background: var(--surface-2);
	color: var(--ink);
}

.enquiry--light .enquiry__label {
	color: var(--ink-3);
}

.enquiry--light .enquiry__contact a {
	color: var(--ink);
}

.enquiry--light .enquiry__form {
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

/* ==========================================================================
   13. Contact Form 7 essentials
   --------------------------------------------------------------------------
   Contact Form 7's own stylesheet is not loaded (one less render-blocking
   request). These are the rules the forms actually need, in brand colours.
   ========================================================================== */

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

.wpcf7 .hidden-fields-container {
	display: none;
}

.wpcf7-form-control-wrap {
	position: relative;
	display: block;
}

.wpcf7-not-valid-tip {
	display: block;
}

.wpcf7 form .wpcf7-response-output {
	border: 2px solid var(--line-strong);
	background: #fff;
	color: var(--ink);
	font-weight: 600;
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--photocopiers-700);
	background: var(--photocopiers-50);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
	border-color: var(--danger);
	background: #fdf2f1;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #b45309;
	background: #fff7e6;
}

/* Spinner shown while a message is sending. */
.wpcf7-spinner {
	position: relative;
	display: inline-block;
	width: 24px;
	height: 24px;
	margin: 0 1rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--ink);
	vertical-align: middle;
	visibility: hidden;
	opacity: 0.75;
}

.wpcf7 form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #fff;
	transform-origin: 8px 8px;
	animation: absolute-spin 1s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation: absolute-blink 2s linear infinite;
	}
}

@keyframes absolute-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes absolute-blink {
	50% {
		opacity: 0.2;
	}
}

