/*
 * Malnor, design system and components.
 *
 * One stylesheet, no build step, no framework. Organised top to bottom:
 * fonts, tokens, base, layout, then components in roughly the order they
 * appear on a page.
 *
 * Design rules encoded here, so they stay consistent:
 *   - Square corners. No border-radius anywhere.
 *   - Fine 1px rules instead of shadows. There are no box-shadows except the
 *     focus ring.
 *   - Cobalt appears as a square marker, a solid field, or type. Never a blob,
 *     never a gradient.
 *   - Surfaces alternate white / light grey / pale cobalt / cobalt / charcoal
 *     to pace a long page.
 */

/* ==========================================================================
   1. Fonts
   ========================================================================== */

/*
 * Inter, self-hosted, variable. SIL Open Font License. Two subsets only.
 * Latin covers everything on the site. Latin Extended is there for the
 * occasional accented client or place name and is never on the critical path.
 */
@font-face {
	font-family: "Malnor Sans";
	font-style: normal;
	font-weight: 100 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;
}

@font-face {
	font-family: "Malnor Sans";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
		U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
		U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
		U+A720-A7FF;
}

/*
 * A metric-matched fallback, so the swap from system font to Inter does not
 * move the page.
 *
 * font-display: swap means text paints in a fallback first. If that fallback
 * sets type at a different width, lines re-wrap when Inter arrives and the
 * whole page shifts, which is a real layout-shift cost on a slow connection.
 *
 * Arial is narrower than Inter, and by different amounts at different weights:
 * measured on this site's own text, Inter is 6.1% wider at 400 and 9.4% wider
 * at 700. One size-adjust therefore cannot cover both, so there are two faces
 * split by weight. The ascent and descent overrides are scaled by size-adjust,
 * so they are divided back down to keep a line box the same height as Inter's.
 *
 * The bold value is 107%, not the 110.3% that matches widths exactly. Both
 * were measured against real page loads on a throttled connection: at 110.3%
 * the home heading wrapped to three lines in the fallback and two in Inter
 * (CLS 0.048), at 107% every page holds its line count except one case-study
 * heading that sits on a wrap boundary (CLS 0.031, the lowest total measured).
 */
@font-face {
	font-family: "Malnor Sans Fallback";
	font-weight: 100 550;
	src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
	size-adjust: 106.8%;
	ascent-override: 92.1%;
	descent-override: 23%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "Malnor Sans Fallback";
	font-weight: 600 900;
	src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
	size-adjust: 107%;
	ascent-override: 91.9%;
	descent-override: 23%;
	line-gap-override: 0%;
}

/* ==========================================================================
   2. Tokens
   ========================================================================== */

:root {
	/* Surfaces and ink. Every pairing below meets WCAG AA for its use, and
	   the body/heading pairings meet AAA. */
	--m-white: #ffffff;
	--m-grey: #f9f9f9;
	--m-grey-2: #f1f2f4;
	--m-tint: #eef1fd;          /* pale cobalt, derived from --m-cobalt */
	--m-cobalt: #1b41cc;        /* 7.85:1 on white, 7.46:1 on --m-grey */
	--m-cobalt-dark: #14309a;   /* hover / active */
	--m-cobalt-soft: #9ab0f7;   /* cobalt for charcoal backgrounds, 8.4:1 */
	--m-charcoal: #16181c;      /* 17.8:1 on white */
	--m-charcoal-2: #22262c;
	--m-ink: #16181c;
	--m-ink-soft: #4d545e;      /* 7.65:1 on white */
	--m-ink-dim: #b4b9c0;       /* 9.0:1 on charcoal */
	--m-line: #e2e4e6;
	--m-line-strong: #cdd1d5;
	--m-line-dark: #33383f;
	--m-error: #a81f17;         /* 6.9:1 on --m-grey */

	/* Type */
	--m-font: "Malnor Sans", "Malnor Sans Fallback", "Inter", -apple-system,
		BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--m-size-body: 1.0625rem;
	--m-size-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
	--m-size-small: 0.875rem;
	--m-size-label: 0.75rem;

	--m-h1: clamp(2.375rem, 1.55rem + 3.6vw, 4.25rem);
	/* 48px at the top end rather than 52px: measured across the real headings,
	   it is the size at which lines actually run out towards the 70% measure
	   instead of breaking early. */
	--m-h1-sm: clamp(2.125rem, 1.65rem + 1.9vw, 3rem);
	--m-h2: clamp(1.75rem, 1.42rem + 1.45vw, 2.625rem);
	--m-h3: clamp(1.1875rem, 1.11rem + 0.35vw, 1.4375rem);

	/* Rhythm. Every section and hero draws its vertical space from these, so
	   spacing is consistent by construction rather than by remembering. */
	--m-wrap: 1200px;
	--m-wrap-narrow: 760px;
	--m-gutter: 1.25rem;

	--m-space-sm: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem);
	--m-space-md: clamp(2.5rem, 2rem + 2vw, 4rem);
	--m-space-lg: clamp(3.5rem, 2.4rem + 4vw, 6rem);
	--m-space-xl: clamp(4rem, 2.6rem + 5vw, 7rem);

	--m-section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

	/* One hero rhythm for every page, the homepage included. */
	--m-hero-pt: var(--m-space-xl);
	--m-hero-pb: var(--m-space-lg);

	--m-header-h: 64px;

	/* Motion. Every transition in this file references these, so the
	   reduced-motion block at the bottom can neutralise all of them at once. */
	--m-ease: cubic-bezier(0.2, 0, 0, 1);
	--m-fast: 140ms;
	--m-slow: 420ms;
	--m-scroll-duration: 4.5s;
}

@media (min-width: 900px) {
	:root {
		--m-gutter: 2.5rem;
		--m-header-h: 88px;
	}
}

/* ==========================================================================
   3. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--m-header-h) + 1.5rem);
}

body {
	margin: 0;
	background: var(--m-white);
	color: var(--m-ink);
	font-family: var(--m-font);
	font-size: var(--m-size-body);
	line-height: 1.65;
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}

/* Nothing on this site is round. */
button,
input,
select,
textarea,
img,
.wp-block-image img,
.wp-block-button__link {
	border-radius: 0;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-weight: 650;
	line-height: 1.14;
	letter-spacing: -0.018em;
	text-wrap: balance;
}

p,
ul,
ol,
dl,
figure,
table {
	margin: 0 0 1.25rem;
}

p:last-child,
ul:last-child,
ol:last-child {
	margin-bottom: 0;
}

a {
	color: var(--m-cobalt);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
	transition: color var(--m-fast) var(--m-ease);
}

a:hover {
	color: var(--m-cobalt-dark);
}

strong,
b {
	font-weight: 650;
}

hr {
	height: 1px;
	margin: 2.5rem 0;
	border: 0;
	background: var(--m-line);
}

/* Focus. A visible, high-contrast, two-tone ring that survives every
   background this site uses, cobalt on light, white on dark. */
:focus-visible {
	outline: 3px solid var(--m-cobalt);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.9);
}

.m-section--cobalt :focus-visible,
.m-section--charcoal :focus-visible,
.m-ctaband :focus-visible,
.m-footer :focus-visible {
	outline-color: var(--m-white);
	box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.55);
}

/*
 * In the mobile menu the ring sits on the edge of the control rather than
 * ballooning around it: opening the menu moves focus to Close, and an offset
 * ring with a dark halo read as a heavy white box floating outside the button.
 * White on charcoal is high contrast on its own, so the halo is not needed.
 */
.m-menu :focus-visible {
	outline: 2px solid var(--m-white);
	outline-offset: 0;
	box-shadow: none;
}

::selection {
	background: var(--m-cobalt);
	color: var(--m-white);
}

/* ==========================================================================
   4. Utilities
   ========================================================================== */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.m-skip {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 200;
	padding: 0.9rem 1.4rem;
	background: var(--m-cobalt);
	color: var(--m-white);
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-120%);
	transition: transform var(--m-fast) var(--m-ease);
}

.m-skip:focus {
	transform: translateY(0);
	color: var(--m-white);
}

.m-wrap {
	width: 100%;
	max-width: var(--m-wrap);
	margin-inline: auto;
	padding-inline: var(--m-gutter);
}

.m-wrap--narrow {
	max-width: calc(var(--m-wrap-narrow) + var(--m-gutter) * 2);
}

.m-emph {
	color: var(--m-cobalt);
}

.m-section--cobalt .m-emph,
.m-section--charcoal .m-emph {
	color: var(--m-cobalt-soft);
}

/* ==========================================================================
   5. Sections and surfaces
   ========================================================================== */

.m-section {
	padding-block: var(--m-section-y);
}

.m-section--white {
	background: var(--m-white);
}

.m-section--grey {
	background: var(--m-grey);
}

.m-section--tint {
	background: var(--m-tint);
}

.m-section--cobalt {
	background: var(--m-cobalt);
	color: var(--m-white);
}

.m-section--charcoal {
	background: var(--m-charcoal);
	color: var(--m-white);
}

.m-section--cobalt h1,
.m-section--cobalt h2,
.m-section--cobalt h3,
.m-section--charcoal h1,
.m-section--charcoal h2,
.m-section--charcoal h3 {
	color: var(--m-white);
}

.m-section--tight {
	padding-block: calc(var(--m-section-y) * 0.6);
}

.m-section__head {
	max-width: 46rem;
	margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem);
}

.m-section__title {
	margin: 0;
	font-size: var(--m-h2);
}

.m-section__intro {
	margin: 1rem 0 0;
	max-width: 40rem;
	color: var(--m-ink-soft);
	font-size: var(--m-size-lead);
	line-height: 1.55;
}

.m-section--cobalt .m-section__intro,
.m-section--charcoal .m-section__intro {
	color: rgba(255, 255, 255, 0.82);
}

/* A section head that sits beside its content on wide screens. */
.m-split {
	display: grid;
	/*
	 * Stacked, the gap is the only thing between the heading and its content,
	 * and it is the same measurement a section head uses everywhere else, so a
	 * split section reads with the same rhythm as an ordinary one. The head's
	 * own bottom margin is removed below, because grid gap plus margin was
	 * putting twice as much air here as anywhere else on a phone.
	 */
	gap: clamp(2rem, 1.4rem + 2vw, 3.25rem);
}

.m-split > .m-section__head {
	margin-bottom: 0;
}

/*
 * Stacked, a split whose content leads with prose reads as a heading followed
 * by its own paragraphs, so it takes the same 1rem the section intro uses
 * rather than the wider gap that suits a grid or a list. Without this, a
 * paragraph sat 16px under its heading in one section and 32px under it in the
 * next.
 *
 * The second column is matched rather than the first, because the head column
 * opens with a label paragraph of its own. Prose sometimes sits directly in
 * the column and sometimes inside a wrapper, so both shapes are named.
 */
@media (max-width: 899.98px) {
	.m-split:has( > .m-prose ),
	.m-split:has( > :nth-child(2) > .m-prose:first-child ),
	.m-split:has( > :nth-child(2) > .m-section__intro:first-child ),
	.m-split:has( > :nth-child(2) > p:first-child ) {
		gap: 1rem;
	}
}

@media (min-width: 900px) {
	.m-split {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: start;
		/* Side by side, the gutter between the columns wants to be wider than
		   the vertical rhythm above. */
		column-gap: clamp(2rem, 1rem + 4vw, 4rem);
	}

	.m-split > .m-section__head {
		position: sticky;
		top: calc(var(--m-header-h) + 2rem);
	}

	/* The supporting column on the enquiry pages sticks while the form scrolls. */
	.m-split > aside {
		position: sticky;
		top: calc(var(--m-header-h) + 2rem);
	}
}

/* ==========================================================================
   6. Section label, the cobalt square motif
   ========================================================================== */

.m-label {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0 0 1rem;
	color: var(--m-ink-soft);
	font-size: var(--m-size-label);
	font-weight: 620;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	line-height: 1.4;
}

.m-label__mark {
	flex: none;
	width: 9px;
	height: 9px;
	background: var(--m-cobalt);
}

.m-section--cobalt .m-label,
.m-section--charcoal .m-label,
.m-ctaband .m-label {
	color: rgba(255, 255, 255, 0.72);
}

.m-section--cobalt .m-label__mark,
.m-ctaband .m-label__mark {
	background: var(--m-white);
}

.m-section--charcoal .m-label__mark {
	background: var(--m-cobalt-soft);
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */

.m-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 44px;
	padding: 0.72rem 1.35rem;
	border: 1px solid transparent;
	background: var(--m-cobalt);
	color: var(--m-white);
	font: inherit;
	font-size: 1rem;
	font-weight: 620;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--m-fast) var(--m-ease),
		border-color var(--m-fast) var(--m-ease),
		color var(--m-fast) var(--m-ease);
}

.m-btn--lg {
	min-height: 52px;
	padding: 0.95rem 1.7rem;
	font-size: 1.0625rem;
}

.m-btn__arrow {
	display: inline-flex;
	transition: transform var(--m-fast) var(--m-ease);
}

.m-btn:hover .m-btn__arrow {
	transform: translateX(3px);
}

.m-btn--primary {
	background: var(--m-cobalt);
	color: var(--m-white);
}

.m-btn--primary:hover {
	background: var(--m-cobalt-dark);
	color: var(--m-white);
}

.m-btn--secondary {
	background: var(--m-white);
	border-color: var(--m-charcoal);
	color: var(--m-charcoal);
}

.m-btn--secondary:hover {
	background: var(--m-charcoal);
	color: var(--m-white);
}

.m-btn--ghost {
	background: transparent;
	border-color: var(--m-line-strong);
	color: var(--m-charcoal);
}

.m-btn--ghost:hover {
	border-color: var(--m-charcoal);
	background: var(--m-charcoal);
	color: var(--m-white);
}

.m-btn--light {
	background: var(--m-white);
	color: var(--m-cobalt);
}

.m-btn--light:hover {
	background: var(--m-charcoal);
	color: var(--m-white);
}

.m-btn--ghost-light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
	color: var(--m-white);
}

.m-btn--ghost-light:hover {
	background: var(--m-white);
	border-color: var(--m-white);
	color: var(--m-charcoal);
}

.m-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

/*
 * On a phone every call to action fills its column.
 *
 * A button sized to its own label leaves a ragged edge down a narrow page and
 * is a smaller target than it needs to be. The pricing cards already worked
 * this way; this brings the rest into line and stops at 620px, the same point
 * the footer and other one-column blocks go to two.
 *
 * Two things are deliberately left out: the fixed conversion bar, which is a
 * two-up row by design, and the search button, which belongs beside its input
 * rather than beneath it.
 */
.m-actions .m-btn,
.m-ctaband__buttons .m-btn,
.m-menu__actions .m-btn,
.m-casecta .m-btn,
.m-form__foot .m-btn,
.m-inlinecta .m-btn,
.m-consent__actions .m-btn {
	width: 100%;
}

@media (min-width: 620px) {
	.m-actions .m-btn,
	.m-ctaband__buttons .m-btn,
	.m-menu__actions .m-btn,
	.m-casecta .m-btn,
	.m-form__foot .m-btn,
	.m-inlinecta .m-btn,
	.m-consent__actions .m-btn {
		width: auto;
	}
}

/* A plain text link with a moving arrow, used to leave a section. */
.m-more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 620;
	text-decoration: none;
	border-bottom: 2px solid var(--m-cobalt);
	padding-bottom: 2px;
}

.m-more:hover {
	border-color: var(--m-charcoal);
}

.m-more svg {
	transition: transform var(--m-fast) var(--m-ease);
}

.m-more:hover svg {
	transform: translateX(3px);
}

/* ==========================================================================
   8. Header
   ========================================================================== */

.m-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--m-grey);
	border-bottom: 1px solid var(--m-line);
}

.m-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: var(--m-header-h);
}

.m-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	/* Vertical padding takes the target to the 24px minimum (WCAG 2.2, 2.5.8)
	   without changing where the wordmark sits optically. */
	padding-block: 4px;
	color: var(--m-charcoal);
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	text-decoration: none;
	line-height: 1.15;
}

@media (min-width: 900px) {
	.m-brand {
		font-size: 1.5rem;
	}
}

.m-brand:hover {
	color: var(--m-cobalt);
}

.m-brand img {
	max-height: 36px;
	width: auto;
}

.m-nav {
	display: none;
}

@media (min-width: 1040px) {
	.m-nav {
		display: block;
		margin-inline-start: auto;
	}

	.m-nav__list {
		display: flex;
		align-items: center;
		gap: 1.75rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.m-nav__link {
		position: relative;
		display: block;
		padding: 0.35rem 0;
		color: var(--m-charcoal);
		font-size: 0.9375rem;
		font-weight: 550;
		text-decoration: none;
	}

	.m-nav__link::after {
		content: "";
		position: absolute;
		bottom: -3px;
		left: 0;
		right: 0;
		height: 2px;
		background: var(--m-cobalt);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform var(--m-fast) var(--m-ease);
	}

	.m-nav__item.is-current .m-nav__link::after,
	.m-nav__link:hover::after {
		transform: scaleX(1);
	}

	.m-nav__link:hover {
		color: var(--m-cobalt);
	}
}

.m-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.m-header__cta {
	display: none;
}

@media (min-width: 1040px) {
	.m-header__cta {
		display: inline-flex;
	}
}

/* Menu toggle */
.m-burger {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--m-line-strong);
	background: var(--m-white);
	color: var(--m-charcoal);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 620;
	text-decoration: none;
	cursor: pointer;
}

.m-burger:hover {
	border-color: var(--m-charcoal);
	color: var(--m-charcoal);
}

@media (min-width: 1040px) {
	.m-burger {
		display: none;
	}
}

.m-burger__bars {
	display: grid;
	gap: 4px;
	width: 18px;
}

.m-burger__bars span {
	display: block;
	height: 2px;
	background: currentColor;
}

/* ==========================================================================
   9. Mobile menu
   ========================================================================== */

/*
 * Closed by default and opened either by the script (.is-open) or, with no
 * JavaScript at all, by the :target selector when the toggle link is followed.
 * Using display rather than the hidden attribute keeps the accessibility tree
 * and the visual state in agreement in both cases.
 */
.m-menu {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: none;
	flex-direction: column;
	background: var(--m-charcoal);
	color: var(--m-white);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.m-menu.is-open,
.m-menu:target {
	display: flex;
}

/* The panel is a mobile affordance only. */
@media (min-width: 1040px) {
	.m-menu.is-open,
	.m-menu:target {
		display: none;
	}
}

.m-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--m-header-h);
	flex: none;
	border-bottom: 1px solid var(--m-line-dark);
}

.m-menu__top .m-brand {
	color: var(--m-white);
}

.m-menu__close {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--m-line-dark);
	background: transparent;
	color: var(--m-white);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 620;
	text-decoration: none;
	cursor: pointer;
}

.m-menu__close:hover {
	background: var(--m-white);
	color: var(--m-charcoal);
}

.m-menu__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding-block: 2rem 3rem;
}

/* The links take whatever room there is, so the call to action and the email
   settle at the foot of the panel instead of trailing the last menu item. */
.m-menu__body > nav {
	margin-bottom: auto;
}

.m-menu__list {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--m-line-dark);
}

.m-menu__list .m-nav__item {
	border-bottom: 1px solid var(--m-line-dark);
}

.m-menu__list .m-nav__link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.95rem 0;
	color: var(--m-white);
	font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2rem);
	font-weight: 620;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.m-menu__list .m-nav__item.is-current .m-nav__link {
	position: relative;
}

.m-menu__list .m-nav__item.is-current .m-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0.55rem;
	width: 100%;
	height: 3px;
	background: var(--m-cobalt-soft);
}

.m-menu__actions {
	display: grid;
	gap: 0.75rem;
}

.m-menu__contact {
	display: grid;
	gap: 0.5rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--m-line-dark);
	color: var(--m-ink-dim);
	font-size: 0.9375rem;
}

/* Same as the footer: the gap is the spacing, not the paragraphs' own margins. */
.m-menu__contact p {
	margin: 0;
}

.m-menu__contact a {
	color: var(--m-white);
}

/* ==========================================================================
   11. Breadcrumbs
   ========================================================================== */

.m-crumbs {
	margin-bottom: 2rem;
}

.m-crumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--m-size-small);
	color: var(--m-ink-soft);
}

.m-crumbs__item + .m-crumbs__item::before {
	content: "/";
	margin-right: 0.5rem;
	color: var(--m-line-strong);
}

.m-crumbs__item a {
	color: var(--m-ink-soft);
	text-decoration: none;
}

.m-crumbs__item a:hover {
	color: var(--m-cobalt);
	text-decoration: underline;
}

.m-crumbs__item [aria-current] {
	color: var(--m-charcoal);
	font-weight: 550;
}

/* ==========================================================================
   12. Hero
   ========================================================================== */

.m-hero {
	position: relative;
	background: var(--m-grey);
	padding-block: var(--m-hero-pt) var(--m-hero-pb);
	border-bottom: 1px solid var(--m-line);
}

.m-hero__body {
	max-width: 62rem;
}

.m-hero__eyebrow {
	margin-bottom: 1.5rem;
}

.m-hero__heading {
	margin: 0;
	max-width: 15ch;
	font-size: var(--m-h1);
	font-weight: 680;
	letter-spacing: -0.032em;
	line-height: 1.02;
}

.m-hero--default .m-hero__heading,
.m-hero--compact .m-hero__heading {
	font-size: var(--m-h1-sm);
	max-width: 18ch;
}

@media (min-width: 900px) {
	.m-hero__heading {
		max-width: 80%;
	}
}

.m-hero__intro {
	max-width: 34rem;
	margin: 1.5rem 0 0;
	color: var(--m-ink-soft);
	font-size: var(--m-size-lead);
	line-height: 1.55;
}

.m-hero__note {
	margin: 1.25rem 0 0;
	color: var(--m-ink-soft);
	font-size: var(--m-size-small);
}

/* .m-hero--compact is kept as a hook for narrower measures; it no longer
   changes the vertical rhythm, so Contact and Start Your Website now sit on
   exactly the same spacing as every other page. */

/*
 * Inner pages give the heading and its paragraph about 60% of the container.
 *
 * These rules sit after the character-based widths above deliberately: the
 * `.m-hero--default .m-hero__heading` selector has the same specificity, so
 * source order is what decides it. The homepage keeps its own wider measure.
 */
@media (min-width: 900px) {
	.m-hero--default .m-hero__heading,
	.m-hero--compact .m-hero__heading,
	.m-hero--default .m-hero__intro,
	.m-hero--compact .m-hero__intro {
		max-width: 70%;
	}

	/*
	 * text-wrap: balance is set on every heading, and it equalises line lengths
	 * by making them all shorter. That is right for a short heading and wrong
	 * here: it was holding the hero h1 to about 45% of the container however
	 * much room it was given. `pretty` still avoids a one-word last line but
	 * lets the lines run to the measure.
	 */
	.m-hero--default .m-hero__heading,
	.m-hero--compact .m-hero__heading {
		text-wrap: pretty;
	}
}

/*
 * The homepage hero is deliberately *not* a full screen. It is sized so the
 * work section below it starts before the fold on a typical laptop, which is
 * what makes the page ask to be scrolled. A hero that fills the viewport
 * exactly is a hero that hides the evidence.
 */
@media (min-width: 900px) and (min-height: 660px) {
	.m-hero--home {
		min-height: min(74vh, 720px);
		display: flex;
		align-items: center;
	}

	.m-hero--home > .m-wrap {
		width: 100%;
	}
}

/* The section straight after the home hero stays a little tighter than a
   standard section, so the work headline still appears before the fold on a
   typical laptop even with the roomier hero above it. */
.m-hero--home + .m-section {
	padding-top: var(--m-space-md);
}

/* Reassurance strip */
.m-reassure {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	margin: clamp(2rem, 1.5rem + 2vw, 3.25rem) 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--m-line);
	list-style: none;
}

.m-reassure__item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 550;
}

.m-reassure__mark {
	flex: none;
	width: 8px;
	height: 8px;
	background: var(--m-cobalt);
}

/* ==========================================================================
   13. The browser frame
   ========================================================================== */

.m-frame {
	border: 1px solid var(--m-line-strong);
	background: var(--m-white);
}

.m-frame__bar {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.6rem 0.85rem;
	border-bottom: 1px solid var(--m-line);
	background: var(--m-white);
}

.m-frame__mark {
	flex: none;
	width: 9px;
	height: 9px;
	background: var(--m-cobalt);
}

.m-frame__domain {
	color: var(--m-ink-soft);
	font-size: 0.8125rem;
	font-weight: 550;
	letter-spacing: 0.01em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.m-frame__viewport {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 11;
	background: var(--m-grey-2);
}

.m-frame__shot {
	width: 100%;
	height: auto;
	display: block;
}

.m-frame__empty {
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(
			-45deg,
			var(--m-grey-2) 0 10px,
			var(--m-grey) 10px 20px
		);
}

/*
 * On hover the screenshot travels up inside the frame to reveal the rest of
 * the page. It is a translate on the image, so it composites cheaply.
 *
 * The travel distance depends on how tall the screenshot is, which CSS cannot
 * measure, so site.js sets --m-shot-travel on each frame. With no JavaScript
 * the value falls back to 0 and the frame is simply static, which is a
 * perfectly good state, not a broken one. Touch pointers never match the query
 * at all, and reduced motion cancels it further down.
 */
@media (hover: hover) and (pointer: fine) {
	.m-frame--scroll .m-frame__shot {
		transition: transform var(--m-scroll-duration) linear;
	}

	.m-workcard:hover .m-frame--scroll .m-frame__shot,
	.m-workcard:focus-within .m-frame--scroll .m-frame__shot,
	.m-frame--scroll:hover .m-frame__shot {
		transform: translateY(var(--m-shot-travel, 0px));
	}
}

/* ==========================================================================
   14. Work cards and grid
   ========================================================================== */

.m-workgrid {
	display: grid;
	gap: clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
}

@media (min-width: 820px) {
	.m-workgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.m-workcard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* The whole card is the click target; the real link is visually hidden and
   stretched, so the accessible name stays on a single element. */
.m-workcard__link {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.m-workcard__title {
	margin: 0;
	font-size: var(--m-h3);
}

.m-workcard__meta {
	margin: 0.25rem 0 0;
	color: var(--m-ink-soft);
	font-size: var(--m-size-small);
	text-transform: uppercase;
	letter-spacing: 0.09em;
	font-weight: 600;
}

.m-workcard__summary {
	margin: 0.85rem 0 0;
	color: var(--m-ink-soft);
	max-width: 34rem;
}

.m-workcard__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 1rem;
	color: var(--m-cobalt);
	font-weight: 620;
	font-size: 0.9375rem;
}

.m-workcard__cta svg {
	transition: transform var(--m-fast) var(--m-ease);
}

.m-workcard:hover .m-workcard__cta svg {
	transform: translateX(3px);
}

.m-workcard:hover .m-frame,
.m-workcard:focus-within .m-frame {
	border-color: var(--m-cobalt);
}

/* ==========================================================================
   15. Content shapes
   ========================================================================== */

/* Ruled list, the editorial default. */
.m-ruled {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--m-line);
}

.m-ruled__item {
	padding-block: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
	border-bottom: 1px solid var(--m-line);
}

@media (min-width: 760px) {
	.m-ruled__item {
		display: grid;
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
		gap: 2rem;
		align-items: start;
	}
}

.m-ruled__title {
	margin: 0;
	font-size: var(--m-h3);
}

.m-ruled__text {
	margin: 0.5rem 0 0;
	color: var(--m-ink-soft);
}

@media (min-width: 760px) {
	.m-ruled__text {
		margin-top: 0.2rem;
	}
}

.m-section--charcoal .m-ruled,
.m-section--cobalt .m-ruled {
	border-color: rgba(255, 255, 255, 0.22);
}

.m-section--charcoal .m-ruled__item,
.m-section--cobalt .m-ruled__item {
	border-color: rgba(255, 255, 255, 0.22);
}

.m-section--charcoal .m-ruled__text,
.m-section--cobalt .m-ruled__text {
	color: rgba(255, 255, 255, 0.82);
}

/* Cards, used where items are genuinely parallel, not as a default. */
.m-cards {
	display: grid;
	gap: 1px;
	background: var(--m-line);
	border: 1px solid var(--m-line);
}

@media (min-width: 720px) {
	.m-cards--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 880px) {
	.m-cards--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.m-cards--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1080px) {
	.m-cards--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/*
 * Always white, on every surface. Letting the card take the section colour made
 * it dissolve into the background on the grey and pale-cobalt sections; a white
 * card reads as a card, and the 1px grid gaps do the separating.
 */
.m-card {
	padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
	background: var(--m-white);
}

.m-card__title {
	margin: 0 0 0.6rem;
	font-size: 1.125rem;
}

.m-card__text {
	margin: 0;
	color: var(--m-ink-soft);
	font-size: 0.9375rem;
}

/* Numbered steps */
.m-steps {
	display: grid;
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--m-line);
	border: 1px solid var(--m-line);
	counter-reset: none;
}

@media (min-width: 860px) {
	.m-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.m-steps__item {
	padding: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
	background: var(--m-white);
}

.m-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-bottom: 1.25rem;
	background: var(--m-cobalt);
	color: var(--m-white);
	font-size: 0.9375rem;
	font-weight: 700;
}

.m-steps__title {
	margin: 0 0 0.5rem;
	font-size: 1.1875rem;
}

.m-steps__text {
	margin: 0;
	color: var(--m-ink-soft);
	font-size: 0.9375rem;
}

/* Link list, the ruled navigation treatment used for services and sectors. */
.m-linklist {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--m-line);
}

.m-linklist__item {
	border-bottom: 1px solid var(--m-line);
}

.m-linklist__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
	color: var(--m-charcoal);
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.375rem);
	font-weight: 600;
	letter-spacing: -0.012em;
	text-decoration: none;
	transition: padding-inline-start var(--m-fast) var(--m-ease),
		color var(--m-fast) var(--m-ease);
}

.m-linklist__link:hover {
	color: var(--m-cobalt);
	padding-inline-start: 0.5rem;
}

.m-linklist__arrow {
	flex: none;
	color: var(--m-cobalt);
	transition: transform var(--m-fast) var(--m-ease);
}

.m-linklist__link:hover .m-linklist__arrow {
	transform: translateX(4px);
}

/* The same list on a dark surface. */
.m-section--charcoal .m-linklist,
.m-section--cobalt .m-linklist {
	border-color: rgba(255, 255, 255, 0.22);
}

.m-section--charcoal .m-linklist__item,
.m-section--cobalt .m-linklist__item {
	border-color: rgba(255, 255, 255, 0.22);
}

.m-section--charcoal .m-linklist__link,
.m-section--cobalt .m-linklist__link {
	color: var(--m-white);
}

.m-section--charcoal .m-linklist__link:hover {
	color: var(--m-cobalt-soft);
}

.m-section--cobalt .m-linklist__link:hover {
	color: rgba(255, 255, 255, 0.75);
}

.m-section--charcoal .m-linklist__arrow {
	color: var(--m-cobalt-soft);
}

.m-section--cobalt .m-linklist__arrow {
	color: var(--m-white);
}

/* Cards stay white on a charcoal section too, so the grid rules and the type
   inside them keep their normal light-surface treatment. */
.m-section--charcoal .m-cards,
.m-section--charcoal .m-steps {
	background: var(--m-line);
	border-color: var(--m-line);
}

.m-section--charcoal .m-card__title,
.m-section--charcoal .m-steps__title {
	color: var(--m-charcoal);
}

/*
 * Grid variant: the same ruled links laid out in columns, for a band listing
 * every industry or every area. Each item carries its own top rule so the rows
 * read continuously across the columns.
 */
.m-linklist--grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	column-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
	border-top: 0;
}

.m-linklist--grid .m-linklist__item {
	border-top: 1px solid var(--m-line);
	border-bottom: 0;
}

.m-section--tint .m-linklist--grid .m-linklist__item {
	border-color: var(--m-line-strong);
}

/* Two-column list of services in the footer or a service page. */
@media (min-width: 760px) {
	.m-linklist--two {
		columns: 2;
		column-gap: 3rem;
	}

	.m-linklist--two .m-linklist__item {
		break-inside: avoid;
	}
}

/* Callout panel */
.m-callout,
.m-keypoints {
	padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
	background: var(--m-tint);
	border-left: 3px solid var(--m-cobalt);
}

.m-callout h3,
.m-keypoints h3 {
	margin-top: 0;
	font-size: 1.125rem;
}

.m-keypoints ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.m-keypoints li {
	position: relative;
	padding-left: 1.4rem;
	margin-bottom: 0.6rem;
}

.m-keypoints li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 8px;
	height: 8px;
	background: var(--m-cobalt);
}

/* A statement panel, one strong sentence in cobalt. */
.m-statement {
	padding: clamp(2rem, 1.5rem + 2vw, 3.5rem);
	background: var(--m-cobalt);
	color: var(--m-white);
}

.m-statement__text {
	margin: 0;
	max-width: 26ch;
	font-size: clamp(1.375rem, 1.15rem + 1.1vw, 2rem);
	font-weight: 620;
	line-height: 1.22;
	letter-spacing: -0.02em;
}

.m-statement__note {
	margin: 1.25rem 0 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9375rem;
	max-width: 38ch;
}

/* ==========================================================================
   16. Pricing
   ========================================================================== */

.m-plans {
	display: grid;
	gap: 1px;
	background: var(--m-line);
	border: 1px solid var(--m-line);
}

@media (min-width: 900px) {
	.m-plans {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		/* flag · name · tagline · price · summary · features · actions */
		grid-template-rows: repeat(7, auto);
	}
}

.m-plan {
	display: flex;
	flex-direction: column;
	/* Roomier on a phone, where the cards stack and were feeling cramped. */
	padding: clamp(2.25rem, 1.6rem + 2vw, 2.5rem) clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
	background: var(--m-white);
}

/*
 * Subgrid makes every card share the parent's rows, so the names, the prices
 * and the feature lists all line up regardless of how long the copy above them
 * runs. Where subgrid is unsupported the cards fall back to flex, and the
 * always-rendered flag still keeps the prices level, which was the point.
 */
@media (min-width: 900px) {
	@supports (grid-template-rows: subgrid) {
		.m-plan {
			display: grid;
			grid-row: span 7;
			grid-template-rows: subgrid;
			align-content: start;
		}
	}
}

/*
 * The recommended card stays white like the rest and is marked out with a
 * cobalt ring and a cobalt flag instead of a solid fill. It reads as the
 * chosen one without turning half the pricing table into a block of colour,
 * and the primary button then carries the emphasis on its own.
 */
/*
 * The recommended card is marked out by its pale cobalt fill, the cobalt flag
 * and the only solid button in the row. It keeps the same 1px grid rule as its
 * neighbours, with no extra outline.
 */
.m-plan--highlight {
	background: var(--m-tint);
}

.m-plan__flag {
	display: inline-block;
	/* align-self covers the flex fallback; justify-self is what stops the flag
	   stretching the full width of a subgrid column. */
	align-self: flex-start;
	justify-self: start;
	width: fit-content;
	margin: 0 0 1rem;
	padding: 0.3rem 0.6rem;
	background: var(--m-cobalt);
	color: var(--m-white);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
	min-height: 1.2em;
}

/* Empty on the cards that are not recommended: it holds the row open so the
   three prices align, and is hidden from assistive technology. */
/*
 * The placeholder flag on the two plain cards exists to keep the three prices
 * level when the cards sit side by side. Stacked on a phone there is nothing
 * to line up with, so it is only a 29px hole that made those cards look as
 * though they had more top padding than the recommended one. It comes back as
 * a reserved space at the point the row forms.
 */
.m-plan__flag[aria-hidden="true"] {
	display: none;
}

@media (min-width: 900px) {
	.m-plan__flag[aria-hidden="true"] {
		display: inline-block;
		visibility: hidden;
	}
}

.m-plan__name {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 650;
	letter-spacing: -0.015em;
}

.m-plan__tagline {
	margin: 0.3rem 0 0;
	color: var(--m-ink-soft);
	font-size: 0.9375rem;
	font-weight: 550;
	min-height: 1.5em;
}

.m-plan__price {
	display: flex;
	align-items: baseline;
	gap: 0.45rem;
	margin: 0.9rem 0 0;
}

.m-plan__prefix {
	color: var(--m-ink-soft);
	font-size: 0.9375rem;
	font-weight: 550;
}

.m-plan__amount {
	font-size: clamp(2.5rem, 2rem + 1.8vw, 3.25rem);
	font-weight: 680;
	letter-spacing: -0.035em;
	line-height: 1;
}

.m-plan__summary {
	margin: 1rem 0 0;
	color: var(--m-ink-soft);
	font-size: 0.9375rem;
}

.m-plan__list {
	margin: 1.5rem 0 2rem;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--m-line);
	list-style: none;
	display: grid;
	gap: 0.65rem;
}

.m-plan__feature {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.m-plan__tick {
	flex: none;
	width: 8px;
	height: 8px;
	margin-top: 0.5em;
	background: var(--m-cobalt);
}

.m-plan__actions {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;
}

.m-plan__actions .m-btn {
	width: 100%;
}

.m-plan__more {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	font-size: 0.875rem;
	color: var(--m-ink-soft);
}

.m-plan__note {
	margin: 1.5rem 0 0;
	color: var(--m-ink-soft);
	font-size: 0.9375rem;
}

/* The single call to action at the end of a case study. Deliberately plain:
   a line of type, one button and a link, using the components already on the
   page rather than a new panel. */
.m-casecta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
	max-width: 46rem;
}

.m-casecta__text {
	margin: 0;
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	line-height: 1.4;
	text-wrap: pretty;
}

.m-casecta__note {
	margin: 0;
}

/* Website Care footnote: the same box as an Essential or Advanced plan, white
   on a hairline rule with the same padding, spanning the full width of the
   chart above it. It reads as part of the same set rather than as a callout. */
.m-carenote {
	width: 100%;
	margin-top: var(--m-space-sm);
	padding: clamp(2.25rem, 1.6rem + 2vw, 2.5rem) clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
	background: var(--m-white);
	border: 1px solid var(--m-line);
}

.m-carenote__text {
	margin: 0;
	color: var(--m-ink-soft);
	font-size: 0.9375rem;
	line-height: 1.65;
	text-wrap: pretty;
}

.m-carenote__text strong {
	color: var(--m-ink);
}

/* Website Care */
.m-care {
	display: grid;
	gap: 0;
	border: 1px solid var(--m-line);
	background: var(--m-white);
}

@media (min-width: 880px) {
	.m-care {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	}
}

.m-care__intro {
	padding: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
	background: var(--m-tint);
	border-bottom: 1px solid var(--m-line);
}

@media (min-width: 880px) {
	.m-care__intro {
		border-bottom: 0;
		border-right: 1px solid var(--m-line);
	}
}

.m-care__name {
	margin: 0;
	font-size: 1.1875rem;
}

.m-care__price {
	margin: 0.4rem 0 0;
	font-size: clamp(2rem, 1.7rem + 1.2vw, 2.5rem);
	font-weight: 680;
	letter-spacing: -0.03em;
	line-height: 1;
}

.m-care__summary {
	margin: 1rem 0 0;
	color: var(--m-ink-soft);
	font-size: 0.9375rem;
}

.m-care__detail {
	padding: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
}

.m-care__list {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.65rem;
}

@media (min-width: 620px) {
	.m-care__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.m-care__feature {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.9375rem;
}

.m-care__note {
	margin: 0 0 0.85rem;
	color: var(--m-ink-soft);
	font-size: 0.9375rem;
}

.m-care__note:last-child {
	margin-bottom: 0;
}

/* Comparison table */
.m-compare-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

/*
 * position: relative matters more than it looks.
 *
 * The table's "Included" / "Not included" labels are .screen-reader-text, which
 * is position: absolute. Without a positioned ancestor their containing block
 * is the page itself, so inside a horizontally scrolling table they escaped the
 * overflow clip and stretched the document sideways. Making the wrapper the
 * containing block keeps them inside the scroller where they belong.
 */
/* The comparison table wrapper is focusable (see page-pricing.php), so it
   needs the same visible focus treatment as any other tab stop. */
.m-tablewrap:focus-visible {
	outline: 3px solid var(--m-cobalt);
	outline-offset: 2px;
}

.m-tablewrap {
	position: relative;
	overflow-x: auto;
	background: var(--m-white);
	border: 1px solid var(--m-line);
}

.m-compare-table th,
.m-compare-table td {
	padding: 0.9rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--m-line);
	vertical-align: top;
}

.m-compare-table thead th {
	background: var(--m-grey);
	font-weight: 620;
	white-space: nowrap;
}

.m-compare-table tbody {
	background: var(--m-white);
}

.m-compare-table tbody th {
	font-weight: 550;
	color: var(--m-ink-soft);
	min-width: 14rem;
}

/* Narrow the feature column on a phone so there is less to scroll through. */
@media (max-width: 700px) {
	.m-compare-table tbody th {
		min-width: 11rem;
	}

	.m-compare-table th,
	.m-compare-table td {
		padding: 0.75rem 0.7rem;
	}
}

.m-compare-table tr:last-child th,
.m-compare-table tr:last-child td {
	border-bottom: 0;
}

.m-compare-table td a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	font-weight: 600;
}

.m-compare-table .is-yes::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	background: var(--m-cobalt);
}

.m-compare-table .is-no {
	color: var(--m-ink-soft);
}

/* ==========================================================================
   17. FAQs
   ========================================================================== */

/* Full container width: the rules and the question row run edge to edge. */
.m-faqs {
	border-top: 1px solid var(--m-line);
}

.m-faq {
	border-bottom: 1px solid var(--m-line);
}

.m-faq__q {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.25rem 0;
	font-size: 1.0625rem;
	font-weight: 620;
	cursor: pointer;
	list-style: none;
	min-height: 44px;
}

.m-faq__q::-webkit-details-marker {
	display: none;
}

.m-faq__q:hover {
	color: var(--m-cobalt);
}

.m-faq__icon {
	position: relative;
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 0.35em;
}

.m-faq__icon::before,
.m-faq__icon::after {
	content: "";
	position: absolute;
	background: var(--m-cobalt);
	transition: transform var(--m-fast) var(--m-ease);
}

.m-faq__icon::before {
	top: 6px;
	left: 0;
	width: 14px;
	height: 2px;
}

.m-faq__icon::after {
	top: 0;
	left: 6px;
	width: 2px;
	height: 14px;
}

.m-faq__icon::before,
.m-faq__icon::after {
	transition: transform var(--m-slow) var(--m-ease);
}

.m-faq[open] .m-faq__icon::after {
	transform: scaleY(0) rotate(90deg);
}

.m-faq[open] .m-faq__icon::before {
	transform: rotate(180deg);
}

.m-faq__a {
	padding: 0 0 1.5rem;
	/* The row spans the container; the answer keeps a readable measure, because
	   a 1100px line of body copy is hard to track back from. */
	max-width: 68ch;
	color: var(--m-ink-soft);
}

.m-faq__a p:last-child {
	margin-bottom: 0;
}

/*
 * Opening animation.
 *
 * <details> has never been animatable, because it collapses from a real height
 * to nothing and CSS could not interpolate to `auto`. `interpolate-size` plus
 * the `::details-content` pseudo-element makes it possible without a line of
 * JavaScript, so the accordion keeps working as plain HTML in browsers that do
 * not support it, they simply snap open, which is what happens today.
 */
@supports selector(::details-content) and (interpolate-size: allow-keywords) {
	.m-faq::details-content {
		/* height, not block-size: Chrome interpolates to `auto` for the physical
		   property but not yet for the logical one. */
		height: 0;
		overflow: hidden;
		opacity: 0;
		transition:
			height var(--m-slow) var(--m-ease),
			content-visibility var(--m-slow) allow-discrete,
			opacity 220ms var(--m-ease);
		transition-behavior: allow-discrete;
	}

	.m-faq[open]::details-content {
		height: auto;
		opacity: 1;
	}
}

/* Lets the block-size transition above run to `auto` rather than refusing. */
@supports (interpolate-size: allow-keywords) {
	:root {
		interpolate-size: allow-keywords;
	}
}

/* The answer slides up very slightly as it fades in. */
@supports selector(::details-content) and (interpolate-size: allow-keywords) {
	.m-faq__a {
		transform: translateY(-4px);
		transition: transform var(--m-slow) var(--m-ease);
	}

	.m-faq[open] .m-faq__a {
		transform: translateY(0);
	}
}

.m-faq__q:focus-visible {
	outline: 3px solid var(--m-cobalt);
	outline-offset: -3px;
}

/* ==========================================================================
   18. CTA band
   ========================================================================== */

.m-ctaband {
	background: var(--m-cobalt);
	color: var(--m-white);
	padding-block: clamp(3rem, 2.2rem + 3vw, 5rem);
}

.m-ctaband__inner {
	display: grid;
	gap: 2rem;
}

@media (min-width: 940px) {
	.m-ctaband__inner {
		grid-template-columns: minmax(0, 7fr) auto;
		gap: 3rem;
		/* Bottom-aligned, not centred: it is what puts the "or email" line on
		   the same line as the last line of the paragraph beside it. */
		align-items: end;
	}
}

.m-ctaband__heading {
	margin: 0;
	color: var(--m-white);
	font-size: var(--m-h2);
	max-width: 18ch;
}

.m-ctaband__intro {
	margin: 1rem 0 0;
	max-width: 46ch;
	color: rgba(255, 255, 255, 0.85);
	font-size: var(--m-size-lead);
	line-height: 1.5;
}

.m-ctaband__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.9rem;
}

.m-ctaband__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	/* The column above shrink-wraps its children, so the row has to claim the
	   width itself before a full-width button inside it means anything. */
	width: 100%;
}

.m-ctaband__email {
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9375rem;
}

.m-ctaband__email a {
	color: var(--m-white);
	font-weight: 600;
	text-underline-offset: 0.2em;
}

.m-ctaband__email a:hover {
	color: var(--m-white);
	text-decoration-thickness: 2px;
}

/* ==========================================================================
   19. Forms
   ========================================================================== */

/*
 * The form sits in its own box so it reads as the thing you are meant to fill
 * in rather than as more page. The section behind it is white, so the box is
 * defined by its rule rather than by a change of surface.
 */
.m-form {
	max-width: 46rem;
	padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
	background: var(--m-white);
	border: 1px solid var(--m-line-strong);
}

.m-form__heading {
	margin: 0 0 0.5rem;
	font-size: var(--m-h3);
}

.m-form__lede {
	margin: 0 0 2rem;
	color: var(--m-ink-soft);
}

.m-form__grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 700px) {
	.m-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.m-field--w-full {
		grid-column: 1 / -1;
	}
}

.m-field__label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.9375rem;
	font-weight: 620;
}

.m-field__optional {
	color: var(--m-ink-soft);
	font-weight: 400;
}

.m-field__hint {
	margin: 0.45rem 0 0;
	color: var(--m-ink-soft);
	font-size: 0.875rem;
	line-height: 1.45;
}

/* Labels are single-line, so aligning the tops of the fields is enough to put
   every input in a row on the same line. */
.m-field {
	align-self: start;
}

.m-field__input {
	width: 100%;
	min-height: 52px;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--m-charcoal);
	background: var(--m-white);
	color: var(--m-ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color var(--m-fast) var(--m-ease),
		box-shadow var(--m-fast) var(--m-ease);
}

textarea.m-field__input {
	min-height: 8rem;
	resize: vertical;
	line-height: 1.55;
}

.m-field__input:hover {
	border-color: var(--m-cobalt);
}

.m-field__input:focus {
	outline: none;
	border-color: var(--m-cobalt);
	box-shadow: inset 0 0 0 2px var(--m-cobalt);
}

.m-field__input:focus-visible {
	outline: 3px solid var(--m-cobalt);
	outline-offset: 2px;
}

.m-field__select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--m-charcoal) 50%),
		linear-gradient(135deg, var(--m-charcoal) 50%, transparent 50%);
	background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 2.75rem;
}

.m-field.has-error .m-field__input {
	border-color: var(--m-error);
	box-shadow: inset 0 0 0 1px var(--m-error);
}

.m-field__error {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	margin: 0.45rem 0 0;
	color: var(--m-error);
	font-size: 0.875rem;
	font-weight: 550;
}

.m-form__alert {
	margin-bottom: 2rem;
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--m-error);
	background: var(--m-grey);
	color: var(--m-error);
	font-weight: 550;
}

.m-form__alert p {
	margin: 0;
}

/* The honeypot: removed from the layout, from the tab order and from the
   accessibility tree, but still a real focusable-free input for bots. */
.m-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.m-form__turnstile {
	margin-top: 1.75rem;
}

.m-form__foot {
	margin-top: 2rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--m-line);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}

.m-form__privacy {
	margin: 0;
	color: var(--m-ink-soft);
	font-size: 0.875rem;
	max-width: 40rem;
}

/* Contact routes beside the form */
.m-contacts {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--m-line);
}

.m-contacts__item {
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--m-line);
}

.m-contacts__label {
	display: block;
	margin-bottom: 0.15rem;
	color: var(--m-ink-soft);
	font-size: 0.75rem;
	font-weight: 620;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.m-contacts__value {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--m-charcoal);
	text-decoration: none;
}

.m-contacts__value:hover {
	color: var(--m-cobalt);
}

/* ==========================================================================
   20. Prose, article body and legal pages
   ========================================================================== */

.m-prose {
	max-width: var(--m-wrap-narrow);
	font-size: 1.0625rem;
	line-height: 1.72;
}

.m-prose > * + * {
	margin-top: 1.35rem;
}

.m-prose h2 {
	margin-top: 2.75rem;
	font-size: clamp(1.5rem, 1.3rem + 0.9vw, 1.875rem);
	scroll-margin-top: calc(var(--m-header-h) + 1.5rem);
}

.m-prose h3 {
	margin-top: 2rem;
	font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
	scroll-margin-top: calc(var(--m-header-h) + 1.5rem);
}

.m-prose ul,
.m-prose ol {
	padding-left: 1.35rem;
}

.m-prose li + li {
	margin-top: 0.5rem;
}

.m-prose ul {
	list-style: none;
	padding-left: 0;
}

.m-prose ul li {
	position: relative;
	padding-left: 1.5rem;
}

.m-prose ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.66em;
	width: 8px;
	height: 8px;
	background: var(--m-cobalt);
}

.m-prose ol {
	counter-reset: m-ol;
	list-style: none;
	padding-left: 0;
}

.m-prose ol > li {
	position: relative;
	padding-left: 2rem;
	counter-increment: m-ol;
}

.m-prose ol > li::before {
	content: counter(m-ol);
	position: absolute;
	left: 0;
	top: 0;
	color: var(--m-cobalt);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.m-prose blockquote {
	margin: 2rem 0;
	padding-left: 1.5rem;
	border-left: 3px solid var(--m-cobalt);
	font-size: 1.1875rem;
	font-weight: 500;
}

.m-prose figure {
	margin: 2.25rem 0;
}

.m-prose figcaption {
	margin-top: 0.6rem;
	color: var(--m-ink-soft);
	font-size: 0.875rem;
}

.m-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.m-prose th,
.m-prose td {
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--m-line);
	text-align: left;
}

.m-prose th {
	background: var(--m-grey);
	font-weight: 620;
}

.m-prose .m-callout,
.m-prose .m-keypoints,
.m-prose .m-inlinecta,
.m-prose .m-compare {
	margin-block: 2.25rem;
}

.m-inlinecta {
	padding: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
	background: var(--m-charcoal);
	color: var(--m-white);
}

.m-inlinecta h3 {
	margin-top: 0;
	color: var(--m-white);
}

.m-inlinecta p {
	color: rgba(255, 255, 255, 0.85);
}

.m-inlinecta a.m-btn {
	text-decoration: none;
}

/* ==========================================================================
   21. Article layout
   ========================================================================== */

.m-article {
	padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.m-article__head {
	max-width: var(--m-wrap-narrow);
	margin-bottom: 2.5rem;
}

.m-article__title {
	margin: 0;
	font-size: clamp(2rem, 1.55rem + 2vw, 3rem);
	letter-spacing: -0.028em;
}

.m-article__standfirst {
	margin: 1.25rem 0 0;
	color: var(--m-ink-soft);
	font-size: var(--m-size-lead);
	line-height: 1.55;
}

.m-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 1.75rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--m-line);
	color: var(--m-ink-soft);
	font-size: 0.875rem;
}

.m-article__media {
	margin-bottom: 2.5rem;
	border: 1px solid var(--m-line);
}

.m-toc {
	max-width: var(--m-wrap-narrow);
	margin-bottom: 2.5rem;
	padding: 1.5rem;
	background: var(--m-grey);
	border-left: 3px solid var(--m-cobalt);
}

.m-toc__title {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 620;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--m-ink-soft);
}

.m-toc__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.4rem;
	font-size: 0.9375rem;
}

.m-toc__list a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	text-decoration: none;
}

.m-toc__list a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   22. Article grid
   ========================================================================== */

.m-artgrid {
	display: grid;
	gap: clamp(2rem, 1.4rem + 2vw, 3rem);
}

@media (min-width: 720px) {
	.m-artgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1020px) {
	.m-artgrid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.m-artcard {
	display: flex;
	flex-direction: column;
}

.m-artcard__media {
	margin-bottom: 1.25rem;
	border: 1px solid var(--m-line);
	overflow: hidden;
}

/* The image link fills its frame, so the whole picture is the target rather
   than an inline box with a gap underneath it. */
.m-artcard__link {
	display: block;
}

.m-artcard__img {
	display: block;
	width: 100%;
	transition: transform var(--m-slow) var(--m-ease);
}

.m-artcard:hover .m-artcard__img {
	transform: scale(1.03);
}

.m-artcard__title {
	margin: 0 0 0.6rem;
	font-size: var(--m-h3);
}

.m-artcard__title a {
	color: var(--m-charcoal);
	text-decoration: none;
}

.m-artcard__title a:hover {
	color: var(--m-cobalt);
}

.m-artcard__excerpt {
	margin: 0;
	color: var(--m-ink-soft);
	font-size: 0.9375rem;
}

.m-artcard__meta {
	margin: 1rem 0 0;
	color: var(--m-ink-soft);
	font-size: 0.8125rem;
}

/* ==========================================================================
   23. Case study
   ========================================================================== */

.m-case__hero {
	border: 1px solid var(--m-line-strong);
	background: var(--m-white);
}

.m-case__facts {
	display: grid;
	gap: 1px;
	margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
	background: var(--m-line);
	border: 1px solid var(--m-line);
}

@media (min-width: 660px) {
	.m-case__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 980px) {
	.m-case__facts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.m-case__fact {
	padding: 1.25rem 1.4rem;
	background: var(--m-white);
}

.m-case__fact dt {
	margin: 0 0 0.3rem;
	color: var(--m-ink-soft);
	font-size: 0.75rem;
	font-weight: 620;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.m-case__fact dd {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 600;
}

.m-case__fact a {
	text-decoration: none;
}

.m-case__body {
	display: grid;
	gap: clamp(2rem, 1.5rem + 3vw, 4rem);
}

@media (min-width: 900px) {
	.m-case__body {
		grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	}
}

.m-case__phone {
	border: 1px solid var(--m-line-strong);
	background: var(--m-white);
	padding: 1rem;
	max-width: 300px;
	margin-inline: auto;
}

/* Before / after comparison */
.m-compare-shots {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 780px) {
	.m-compare-shots {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.m-shot {
	border: 1px solid var(--m-line-strong);
}

.m-shot__label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 0.85rem;
	border-bottom: 1px solid var(--m-line);
	font-size: 0.75rem;
	font-weight: 620;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--m-ink-soft);
}

.m-shot__label::before {
	content: "";
	width: 8px;
	height: 8px;
	background: var(--m-line-strong);
}

.m-shot--after .m-shot__label::before {
	background: var(--m-cobalt);
}

.m-shot__media {
	max-height: 30rem;
	overflow: hidden;
}

/*
 * The interactive slider. It is an enhancement layered over the two labelled
 * images above: without JavaScript, and on touch, the stacked pair is what you
 * get, and that is a complete and honest presentation in its own right.
 */
.m-slider {
	position: relative;
	border: 1px solid var(--m-line-strong);
	overflow: hidden;
	touch-action: pan-y;
}

.m-slider__pane {
	position: relative;
	line-height: 0;
}

.m-slider__pane--after {
	position: absolute;
	inset: 0;
	overflow: hidden;
	clip-path: inset(0 0 0 var(--m-slider-pos, 50%));
}

.m-slider__pane img {
	width: 100%;
	max-width: none;
}

.m-slider__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--m-slider-pos, 50%);
	width: 3px;
	margin-left: -1.5px;
	background: var(--m-cobalt);
	cursor: ew-resize;
}

.m-slider__grip {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 44px;
	height: 44px;
	transform: translate(-50%, -50%);
	background: var(--m-cobalt);
	border: 0;
	color: var(--m-white);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: ew-resize;
	font: inherit;
}

.m-slider__tag {
	position: absolute;
	top: 0.75rem;
	padding: 0.3rem 0.6rem;
	background: var(--m-charcoal);
	color: var(--m-white);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	pointer-events: none;
}

.m-slider__tag--before {
	left: 0.75rem;
}

.m-slider__tag--after {
	right: 0.75rem;
	background: var(--m-cobalt);
}

/* ==========================================================================
   24. Footer
   ========================================================================== */

.m-footer {
	background: var(--m-charcoal);
	color: var(--m-ink-dim);
	padding-top: clamp(3rem, 2.4rem + 2.5vw, 4.5rem);
}

.m-footer a {
	color: var(--m-white);
}

.m-footer a:hover {
	color: var(--m-cobalt-soft);
}

.m-footer__cols {
	display: grid;
	gap: 2.5rem;
	padding-bottom: 3rem;
}

@media (min-width: 620px) {
	.m-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.m-footer__cols {
		grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr));
		gap: 2rem;
	}
}

.m-footer__intro .m-brand {
	color: var(--m-white);
	font-size: 1.5rem;
}

.m-footer__blurb {
	margin: 1rem 0 0;
	max-width: 26rem;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.m-footer__contact {
	margin: 1.5rem 0 0;
	display: grid;
	gap: 0.5rem;
	font-size: 0.9375rem;
}

/* The grid gap is the spacing here. Without this the paragraphs kept their
   global 20px bottom margin as well, so three contact lines sat 28px apart
   instead of 8 and the column read as loose. */
.m-footer__contact p {
	margin: 0;
}

.m-footer__contact a {
	font-weight: 600;
	text-decoration: none;
}

.m-fcol__title {
	margin: 0 0 1rem;
	color: var(--m-white);
	font-size: 0.75rem;
	font-weight: 620;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.m-fnav {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.15rem;
	font-size: 0.9375rem;
}

.m-fnav__link,
.m-fnav a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding-block: 2px;
	text-decoration: none;
	color: var(--m-ink-dim);
}

.m-fnav__link:hover,
.m-fnav a:hover {
	color: var(--m-white);
}

.m-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.75rem;
	font-size: 0.8125rem;
}

.m-footer__legal {
	display: flex;
	flex-wrap: wrap;
	/* The row gap is reduced by the padding the links now carry, so the
	   spacing between rows looks the same as it did before. */
	gap: 0 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/*
 * These read as small print and should keep looking like small print, but a
 * 16px-tall link is below the 24px minimum target size. The padding is
 * vertical only, so the text sits exactly where it did while the tappable area
 * around it is a sensible size.
 */
.m-flink {
	display: inline-block;
	padding-block: 0.3rem;
	color: var(--m-ink-dim);
	text-decoration: none;
}

.m-flink:hover {
	color: var(--m-white);
}

.m-flink--button {
	display: inline-block;
	padding: 0.3rem 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.8125rem;
	color: var(--m-ink-dim);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

/*
 * The wordmark, sitting between the link columns and the copyright line and
 * carrying the divider beneath it. Purely typographic, clipped to the
 * container, and hidden from assistive technology, because it only repeats the
 * brand name already present in the footer heading.
 */
.m-footer__wordmark {
	overflow: hidden;
	line-height: 0.78;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--m-line-dark);
}

.m-footer__wordmark span {
	display: block;
	font-size: clamp(4rem, 15vw, 15rem);
	font-weight: 700;
	letter-spacing: -0.05em;
	color: var(--m-charcoal-2);
	user-select: none;
}

/* ==========================================================================
   25. Consent
   ========================================================================== */

.m-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 150;
	background: var(--m-charcoal);
	color: var(--m-white);
	border-top: 3px solid var(--m-cobalt);
}

.m-consent[hidden] {
	display: none;
}

.m-consent__inner {
	display: grid;
	gap: 1.25rem;
	max-width: var(--m-wrap);
	margin-inline: auto;
	padding: 1.5rem var(--m-gutter);
}

@media (min-width: 900px) {
	.m-consent__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 2.5rem;
	}
}

.m-consent__title {
	margin: 0 0 0.4rem;
	color: var(--m-white);
	font-size: 1rem;
}

.m-consent__text p {
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9375rem;
	max-width: 60ch;
}

.m-consent__text a {
	color: var(--m-white);
}

/* Reject is exactly as prominent as accept: same size, same weight. */
.m-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.m-consent__actions .m-btn {
	flex: 1 1 auto;
	min-width: 10rem;
}

/* ==========================================================================
   26. 404 and search
   ========================================================================== */

.m-notfound {
	padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem);
	background: var(--m-grey);
}

.m-notfound__heading {
	margin: 0;
	font-size: var(--m-h1-sm);
	max-width: 16ch;
}

.m-notfound__text {
	margin: 1.25rem 0 0;
	max-width: 42ch;
	color: var(--m-ink-soft);
	font-size: var(--m-size-lead);
}

.m-searchform {
	display: flex;
	gap: 0.5rem;
	max-width: 32rem;
	margin-top: 2rem;
}

.m-searchform input[type="search"] {
	/* min-width:0 matters: a flex item defaults to min-width:auto, so the
	   input refused to shrink below the intrinsic width of its default size
	   attribute and pushed the button off a 320px screen. */
	flex: 1 1 0;
	min-width: 0;
	min-height: 52px;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--m-charcoal);
	background: var(--m-white);
	font: inherit;
}

.m-results {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--m-line);
	max-width: 52rem;
}

.m-results__item {
	padding-block: 1.5rem;
	border-bottom: 1px solid var(--m-line);
}

.m-results__title {
	margin: 0 0 0.4rem;
	font-size: var(--m-h3);
}

.m-results__title a {
	color: var(--m-charcoal);
	text-decoration: none;
}

.m-results__title a:hover {
	color: var(--m-cobalt);
}

.m-results__url {
	margin: 0.35rem 0 0;
	color: var(--m-ink-soft);
	font-size: 0.8125rem;
}

/* Pagination */
.m-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 3rem;
}

.m-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--m-line-strong);
	color: var(--m-charcoal);
	font-weight: 600;
	text-decoration: none;
}

.m-pagination .page-numbers:hover,
.m-pagination .page-numbers.current {
	background: var(--m-cobalt);
	border-color: var(--m-cobalt);
	color: var(--m-white);
}

/* ==========================================================================
   27. Reduced motion
   ========================================================================== */

@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;
		scroll-behavior: auto !important;
	}

	/* The screenshot travel and the image scale are the two motions that exist
	   for pleasure rather than feedback. Remove them outright rather than
	   making them instant. */
	.m-frame--scroll .m-frame__shot,
	.m-workcard:hover .m-frame--scroll .m-frame__shot,
	.m-workcard:focus-within .m-frame--scroll .m-frame__shot,
	.m-artcard:hover .m-artcard__img {
		transform: none !important;
	}

	.m-faq::details-content,
	.m-faq__a,
	.m-faq__icon::before,
	.m-faq__icon::after {
		transition: none !important;
	}

	/* Open instantly and completely: no collapsed height, no offset, no fade. */
	.m-faq[open]::details-content {
		block-size: auto;
		opacity: 1;
	}

	.m-faq__a,
	.m-faq[open] .m-faq__a {
		transform: none;
	}

	/* The minus still has to read as a minus. */
	.m-faq[open] .m-faq__icon::after {
		transform: scaleY(0);
	}

	.m-faq[open] .m-faq__icon::before {
		transform: none;
	}
}

/* ==========================================================================
   28. Print
   ========================================================================== */

@media print {
	.m-header,
	.m-menu,
	.m-consent,
	.m-ctaband,
	.m-footer,
	.m-skip,
	.m-form {
		display: none !important;
	}

	body {
		padding-bottom: 0;
		font-size: 11pt;
	}

	a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 9pt;
		color: #555;
	}
}
