/*
Theme Name: Annex 1 Technologies
Theme URI: https://annex1-technologies.com/
Author: Annex 1 Technologies
Description: A lightweight, responsive custom WordPress theme.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: annex1-technologies
*/

/*
 * Table of contents
 *  1. Fonts
 *  2. Design tokens (CSS variables)
 *  3. Base
 *  4. Typography
 *  5. Media
 *  6. Forms
 *  7. Buttons
 *  8. Layout: containers and sections
 *  9. Header and navigation
 * 10. Home: hero
 * 11. Home: services
 * 12. Home: product brands
 * 13. Home: process
 * 14. Home: contact
 * 15. Footer
 * 16. Service pages
 * 17. Contact, FAQ, Get a quote, Portfolio and case studies
 * 18. Testimonials, blog and articles
 * 19. Legal pages, page not found and thank you
 * 20. Homepage sections (Home v3)
 * 21. Accessibility
 * 22. Reduced motion
 *
 * Styles are mobile-first: the default rules are for phones, and
 * "@media (min-width: 60em)" (960px) switches to the desktop design.
 */

/* ---------- 1. Fonts ---------- */

/* Poppins is hosted inside the theme, so the site makes no requests to Google. */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/poppins-400.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/poppins-500.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/poppins-600.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/poppins-700.woff2") format("woff2");
}

/* ---------- 2. Design tokens ---------- */

/* Every colour, font and spacing value from the design lives here, so it can be changed in one place. */
:root {
	/* Brand reds */
	--color-accent: #d03352;        /* Main buttons, icons, timeline dots */
	--color-accent-dark: #bf2b49;   /* Small red text on light backgrounds */
	--color-accent-deep: #b82a47;   /* Darker shade used in illustrations */
	--color-accent-soft: #e8566f;   /* Icons on dark backgrounds */
	--color-accent-light: #f08a9d;  /* Labels and ticks on dark backgrounds */

	/* Pink tints */
	--color-pink-50: #fbf0f1;       /* Selected form option */
	--color-pink-100: #fbe9ec;      /* Hero background glow */
	--color-pink-200: #f0c9d1;      /* Badge border, process timeline line */
	--color-blush: #f6eeec;         /* Illustration panels */

	/* Neutrals */
	--color-ink: #1a1819;           /* Headings, dark sections, footer */
	--color-ink-raised: #221f20;    /* Cards on dark sections */
	--color-ink-raised-2: #2a2627;  /* Featured card on dark sections */
	--color-text: #4a4647;          /* Paragraph text */
	--color-text-strong: #3a3637;   /* Article text: a shade darker for long reading */
	--color-muted: #6b6566;         /* Small print */
	--color-placeholder: #8a8485;   /* Form placeholders */
	--color-on-dark: #ddd8d9;       /* Paragraph text on dark backgrounds */
	--color-on-dark-muted: #b9b2b3; /* Small labels on dark backgrounds */
	--color-on-accent: #fde9ed;     /* Paragraph text on the red call-to-action band */
	--color-woo-light: #b7a7f0;     /* "WooCommerce:" labels on dark backgrounds */
	--color-shopify-light: #b5d875; /* "Shopify:" labels on dark backgrounds */
	--color-success: #2f7d4f;       /* Green ticks in the Care plans status card */
	--color-success-soft: #e8f5ec;  /* Circle behind those ticks */
	--color-bg: #f7f5f4;            /* Warm off-white page background */
	--color-white: #fff;

	/* Borders */
	--color-border: #e6e0e1;
	--color-border-soft: #ede8e9;
	--color-border-strong: #cfc8c9;
	--color-border-on-dark: #4a4647;
	--color-border-on-dark-soft: #3a3637; /* Case study step cards, divider in the quote panel */

	/* Colours that sections can switch (see .section--dark) */
	--color-heading: var(--color-ink);
	--color-body: var(--color-text);
	--color-eyebrow: var(--color-accent-dark);
	--color-icon: var(--color-accent);

	/* Fonts and sizes. clamp(min, preferred, max) grows smoothly with the screen width. */
	--font-sans: "Poppins", Arial, sans-serif;
	--fs-h1: clamp(2.25rem, 4.6vw, 3.875rem);   /* 36px → 62px */
	--fs-h2: clamp(1.75rem, 8vw, 2.125rem);     /* Phones: 28px → 34px; desktop below */
	--fs-h3: 1.5rem;                            /* 24px */
	--fs-lead: 1rem;                            /* 16px on phones, 18px on desktop */
	--fs-small: 0.875rem;                       /* 14px */
	--fs-eyebrow: 0.8125rem;                    /* 13px */

	/* Spacing */
	--gutter: 20px;                 /* Space at the left and right edges of the page */
	--space-section: 6.5rem;        /* 104px above and below each section */
	--container-width: 1200px;
	--container-wide-width: 1280px;
	--header-offset: 96px;          /* Keeps the sticky header from covering jump-link targets */

	/* Effects */
	--shadow-lift: 0 14px 30px rgba(26, 24, 25, 0.22);
	--shadow-glow: 0 12px 28px rgba(208, 51, 82, 0.32);
	--shadow-card: 0 24px 60px rgba(26, 24, 25, 0.14);
	--transition: 0.2s ease;
}

@media (min-width: 60em) {
	:root {
		--fs-h2: clamp(2rem, 3.8vw, 3rem);      /* 32px → 48px */
		--fs-lead: 1.125rem;
		--gutter: 32px;
		--space-section: 9.375rem;  /* 150px */
	}
}

/* ---------- 3. Base ---------- */

/* Make width and padding add up predictably on every element. */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

/* Jump links (#services, #contact…) stop just below the sticky header. */
[id] {
	scroll-margin-top: var(--header-offset);
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-ink);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background: var(--color-accent);
	color: var(--color-white);
}

/* ---------- 4. Typography ---------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--font-sans);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--color-heading);
}

h1 {
	font-size: var(--fs-h1);
	line-height: 1.08;
	letter-spacing: -0.025em;
}

h2 {
	font-size: var(--fs-h2);
}

h3 {
	font-size: var(--fs-h3);
	line-height: 1.2;
}

h4 {
	font-size: 1.25rem;
	line-height: 1.3;
}

p,
ul,
ol {
	margin: 0 0 1em;
}

p {
	color: var(--color-body);
}

/* Links take the colour of their surroundings, as in the design. */
a {
	color: inherit;
	text-decoration: none;
}

/* Inside written page content, links stay underlined so they can be told apart from plain text. */
.entry-content a {
	color: var(--color-accent-dark);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

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

/* Larger intro paragraph under a section heading. */
.lead {
	font-size: var(--fs-lead);
	line-height: 1.7;
	max-width: 520px;
}

/* Small uppercase label with a short red bar in front, e.g. "WHAT WE DO". */
.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	font-size: 0.75rem; /* 12px on phones; 13px from 960px */
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.54; /* 20px at 13px: Poppins' natural line height, which the design uses here */
	text-transform: uppercase;
	color: var(--color-eyebrow);
}

.eyebrow::before {
	content: "";
	flex: none;
	width: 28px;
	height: 3px;
	background: var(--color-accent);
}

/*
 * List with a ✓ icon before each item. Usage:
 * <ul class="check-list"><li><svg class="icon">…</svg><span>Text</span></li></ul>
 * Text and tick colours follow the section (dark text + red tick, or white text + pink tick in .section--dark).
 */
.check-list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--color-heading);
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	line-height: 1.55;
}

.check-list .icon {
	flex: none;
	color: var(--color-icon);
}

@media (min-width: 60em) {
	.eyebrow {
		font-size: var(--fs-eyebrow);
	}

	.check-list li {
		font-size: 1.0625rem; /* 17px */
	}
}

/* ---------- 5. Media ---------- */

/* Images, videos and SVGs never overflow their container on small screens. */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

img,
video {
	height: auto;
}

iframe {
	max-width: 100%;
}

/* ---------- 6. Forms ---------- */

/* Form controls use the site font instead of the browser default. */
button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

input::placeholder,
textarea::placeholder {
	color: var(--color-placeholder);
	opacity: 1;
}

/* ---------- 7. Buttons ---------- */

/*
 * Usage: <a class="btn btn--primary" href="#contact">Get a quote <svg …></svg></a>
 * Combine with one colour (--primary, --dark, --outline) and optionally a size (--sm, --lg) or --block.
 */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 30px;
	border: 0;
	border-radius: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.btn svg {
	flex: none;
	width: 18px;
	height: 18px;
}

.btn--primary {
	background: var(--color-accent);
	color: var(--color-white);
}

/* Main hero button: red with a soft red glow. */
.btn--glow {
	box-shadow: var(--shadow-glow);
}

.btn--dark {
	background: var(--color-ink);
	color: var(--color-white);
}

/* Only the outlined button has a border; min-height keeps it the same height as the others. */
.btn--outline {
	border: 2px solid var(--color-ink);
	background: rgba(255, 255, 255, 0.6);
	color: var(--color-ink);
}

/* White outline, for use on the red call-to-action band. */
.btn--outline-light {
	border: 2px solid var(--color-white);
	background: transparent;
	color: var(--color-white);
}

/* Lift on hover. Placed after the colour variants so it replaces the hero glow. */
.btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lift);
}

.btn--sm {
	min-height: 48px;
	padding: 0 24px;
}

/* Full width on phones (as in the mobile design), normal width from 960px. */
.btn--block {
	width: 100%;
}

@media (min-width: 60em) {
	.btn--lg {
		min-height: 58px;
	}

	.btn--block {
		width: auto;
	}
}

/* ---------- 8. Layout ---------- */

/* Centred content column with side spacing. */
.container {
	width: 100%;
	max-width: var(--container-width);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Slightly wider column used by the header and hero. */
.container--wide {
	max-width: var(--container-wide-width);
}

/* A page band with the design's generous top and bottom spacing. */
.section {
	padding-block: var(--space-section);
}

.section--white {
	background: var(--color-white);
}

/* Dark band: switches heading, paragraph and label colours for light-on-dark text. */
.section--dark {
	--color-heading: var(--color-white);
	--color-body: var(--color-on-dark);
	--color-eyebrow: var(--color-accent-light);
	--color-icon: var(--color-accent-light);
	background: var(--color-ink);
	color: var(--color-bg);
}

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

.text-center .eyebrow {
	justify-content: center;
}

.text-center .lead {
	margin-inline: auto;
}

/* Spacing around the content of ordinary pages (the homepage sections manage their own). */
.site-main {
	padding-block: 2rem;
}

/* ---------- 9. Header and navigation ---------- */

/*
 * One <nav> serves both layouts:
 * - below 960px it lives in a full-screen panel opened by the menu button;
 * - from 960px it is a row of links next to the "Get a quote" button.
 */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border-soft);
}

/* Keep the sticky header below the WordPress admin bar when logged in. */
@media (min-width: 601px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (min-width: 783px) {
	.admin-bar .site-header {
		top: 32px;
	}
}

.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 14px;
}

.site-logo {
	flex: none;
}

.site-logo img {
	width: auto;
	height: 36px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Square 44×44px tap target around an icon. */
.icon-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-ink);
}

.header-call {
	color: var(--color-accent);
}

/* Below 360px: the phone and menu icons need a little less room to fit beside the logo. */
@media (max-width: 22.4375em) {
	.header-actions {
		gap: 0;
	}

	.header-actions .icon-button {
		width: 40px;
	}
}

/* Show the two-line icon when closed and the ✕ when open. */
.menu-toggle[aria-expanded="false"] .icon-close,
.menu-toggle[aria-expanded="true"] .icon-menu {
	display: none;
}

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

.primary-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: var(--color-ink);
}

.primary-menu .icon {
	flex: none;
	color: var(--color-accent);
}

/*
 * The current page, and "Services" on the pages below it, is shown in red (underlined on desktop).
 * Not on the homepage: there WordPress marks every link to a homepage section (e.g. /#contact) as current.
 */
body:not(.home) .primary-menu .current-menu-item > a,
body:not(.home) .primary-menu .current-menu-ancestor > a,
body:not(.home) .primary-menu .current-page-ancestor > a {
	color: var(--color-accent);
}

.header-contact__link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-size: 0.9375rem;
	color: var(--color-text);
}

.header-contact__link .icon {
	flex: none;
	color: var(--color-accent);
}

.header-more {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 0;
	padding: 20px 0 0;
	list-style: none;
}

.header-more a {
	display: flex;
	align-items: center;
	min-height: 32px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-muted);
}

.header-social {
	display: flex;
	gap: 4px;
	margin: 10px 0 0 -12px;
	padding: 0;
	list-style: none;
}

/* Mobile and tablet (below 960px): the full-screen menu panel. */
@media (max-width: 59.9375em) {
	.header-panel {
		position: fixed;
		top: var(--menu-top, 73px);
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		flex-direction: column;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--color-white);
		color: var(--color-text);
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.2s ease, visibility 0s linear 0.2s;
	}

	.menu-open .header-panel {
		visibility: visible;
		opacity: 1;
		transition: opacity 0.2s ease;
	}

	/* Stop the page behind the open menu from scrolling. */
	.menu-open,
	.menu-open body {
		overflow: hidden;
	}

	.primary-nav {
		padding: 12px var(--gutter) 0;
	}

	.primary-menu {
		border-top: 1px solid var(--color-border-soft);
	}

	.primary-menu a {
		min-height: 68px;
		border-bottom: 1px solid var(--color-border-soft);
		font-size: 1.5rem;
		font-weight: 500;
		letter-spacing: -0.01em;
	}

	.header-cta {
		margin: 32px var(--gutter) 0;
	}

	.header-contact {
		margin-top: auto;
		padding: 20px var(--gutter) 24px;
		border-top: 1px solid var(--color-border-soft);
	}

	/* Without JavaScript the menu cannot open, so show its links as a plain list instead. */
	.no-js .site-header {
		position: relative;
	}

	.no-js .header-actions {
		display: none;
	}

	.no-js .site-header__bar {
		flex-wrap: wrap;
	}

	.no-js .header-panel {
		position: static;
		flex-basis: calc(100% + var(--gutter) * 2); /* Full width, cancelling the bar's side padding */
		margin-inline: calc(var(--gutter) * -1);
		visibility: visible;
		opacity: 1;
	}

	.no-js .header-contact {
		margin-top: 32px;
	}
}

/* Desktop (960px and wider): links in a row. */
@media (min-width: 60em) {
	.site-header {
		border-bottom-color: var(--color-border);
		box-shadow: 0 6px 20px rgba(26, 24, 25, 0.06);
	}

	.site-logo img {
		height: 52px;
	}

	.header-actions,
	.header-contact,
	.header-more,
	.primary-menu .icon {
		display: none;
	}

	.header-panel,
	.primary-menu {
		display: flex;
		align-items: center;
		gap: 36px;
	}

	.primary-menu a {
		padding: 8px 0;
		border-bottom: 2px solid transparent;
		font-size: 0.9375rem;
		font-weight: 500;
	}

	.primary-menu a:hover,
	body:not(.home) .primary-menu .current-menu-item > a,
	body:not(.home) .primary-menu .current-menu-ancestor > a,
	body:not(.home) .primary-menu .current-page-ancestor > a {
		color: var(--color-accent);
		border-bottom-color: var(--color-accent);
	}

	.header-cta {
		min-height: 48px;
		padding: 0 26px;
		font-size: 0.9375rem;
	}
}

/* ---------- 10. Home: hero ---------- */

/* Homepage sections run edge to edge and manage their own spacing. */
.site-main--home {
	padding-block: 0;
}

/* Phones and tablets: illustration on top, text below, buttons stacked full width. */
.hero {
	padding-block: 20px 72px;
	background: radial-gradient(120% 60% at 90% 70%, var(--color-pink-100) 0%, rgba(247, 245, 244, 0) 70%);
}

.hero__inner {
	display: flex;
	flex-direction: column;
}

.hero__media {
	order: -1; /* Shown first on small screens, although it comes after the text in the HTML. */
	margin-bottom: 28px;
}

.hero__illustration {
	width: 100%;
	height: auto;
}

.hero__badge {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding: 8px 16px;
	background: var(--color-white);
	border: 1px solid var(--color-pink-200);
	border-radius: 999px;
	font-size: var(--fs-eyebrow);
	font-weight: 600;
	line-height: 1.5;
	color: var(--color-accent-dark);
}

.hero__badge-dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-accent);
}

.hero__title {
	margin: 0;
}

.hero__intro {
	max-width: 540px;
	margin: 18px 0 26px;
	font-size: 1rem;
	line-height: 1.65;
}

.hero__actions {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* Tablets: keep the illustration at its natural size rather than filling a wide screen. */
@media (min-width: 37.5em) and (max-width: 59.9375em) {
	.hero__media {
		max-width: 600px;
	}
}

/* Desktop: text on the left, illustration on the right. */
@media (min-width: 60em) {
	.hero {
		padding-block: 104px;
		background: radial-gradient(60% 90% at 82% 30%, var(--color-pink-100) 0%, rgba(247, 245, 244, 0) 70%);
	}

	.hero__inner {
		flex-direction: row;
		align-items: center;
		gap: 72px;
	}

	.hero__content {
		flex: 1 1 400px;
		min-width: 0;
	}

	.hero__media {
		order: 0;
		flex: 1.25 1 440px;
		min-width: 0;
		margin-bottom: 0;
	}

	.hero__badge {
		margin-bottom: 24px;
	}

	.hero__intro {
		margin: 26px 0 36px;
		font-size: 1.1875rem; /* 19px */
	}

	.hero__actions {
		flex-direction: row;
		flex-wrap: wrap;
	}
}

/* ---------- 11. Home: services ---------- */

/* Phones and tablets: intro left-aligned; each service shows its picture first, then the text. */
.services {
	padding-block: 96px 24px;
}

.services__intro {
	margin-bottom: 56px;
}

.services__title {
	margin: 0 0 20px;
}

.services__intro .lead {
	margin: 0;
}

.services__list {
	display: grid;
	gap: 80px;
}

.service {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.service__media {
	order: -1; /* Picture first on small screens, although it comes after the text in the HTML. */
	overflow: hidden;
}

.service__illustration {
	width: 100%;
	height: auto;
}

.service__title {
	margin: 0 0 20px;
	font-size: clamp(1.75rem, 3vw, 2.5rem); /* 28px → 40px */
	line-height: 1.12;
}

.service__text {
	max-width: 500px;
	margin: 0 0 26px;
	font-size: var(--fs-lead);
	line-height: 1.75;
}

.service__features {
	margin-bottom: 30px;
}

/* "Built on" followed by the platform logos and names. */
.service__platforms,
.service__platforms ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
}

.service__platforms {
	margin-bottom: 30px;
	font-size: var(--fs-small);
	font-weight: 600;
	color: var(--color-ink);
}

.service__platforms-label {
	font-weight: 500;
	color: var(--color-muted);
}

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

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

.service__platforms svg {
	flex: none;
}

/* Tablets: keep each picture at its natural size rather than filling a wide screen. */
@media (min-width: 37.5em) and (max-width: 59.9375em) {
	.service__media {
		max-width: 560px;
	}
}

/* Desktop: centred intro; rows side by side, alternating sides. */
@media (min-width: 60em) {
	.services {
		padding-block: 140px 64px;
	}

	.services__intro {
		margin-bottom: 112px;
		text-align: center;
	}

	.services__intro .eyebrow {
		justify-content: center;
		margin-bottom: 18px;
	}

	.services__intro .lead {
		margin-inline: auto;
	}

	.services__list {
		gap: 128px;
	}

	.service {
		flex-direction: row;
		align-items: center;
		gap: 96px;
	}

	.service__content {
		flex: 1 1 380px;
		min-width: 0;
	}

	.service__media {
		order: 0;
		flex: 1.05 1 420px;
		min-width: 0;
	}

	/* Second service: picture on the left. */
	.service--reverse .service__media {
		order: -1;
	}

	.service__title {
		font-size: clamp(1.875rem, 3vw, 2.5rem); /* 30px → 40px */
	}

	.service__text {
		margin-bottom: 32px;
	}

	.service__features {
		margin-bottom: 36px;
	}

	.service__platforms {
		margin-bottom: 36px;
	}
}

/* ---------- 12. Home: product brands ---------- */

/* Phones and tablets: text first, then the illustration (as in the mobile design). */
.products {
	padding-block: 104px;
}

.products__inner {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.products__title {
	margin: 0 0 18px;
}

.products__text {
	max-width: 500px;
	margin: 0 0 28px;
	font-size: var(--fs-lead);
	line-height: 1.65;
}

.products__illustration {
	width: 100%;
	height: auto;
}

/* Tablets: keep the illustration at its natural size rather than filling a wide screen. */
@media (min-width: 37.5em) and (max-width: 59.9375em) {
	.products__media {
		max-width: 520px;
	}
}

/* Desktop: text on the left, illustration on the right. */
@media (min-width: 60em) {
	.products {
		padding-block: 150px;
	}

	.products__inner {
		flex-direction: row;
		align-items: center;
		gap: 100px;
	}

	.products__content {
		flex: 1 1 420px;
		min-width: 0;
	}

	.products__media {
		flex: 1.1 1 460px;
		min-width: 0;
	}

	.products__text {
		margin-bottom: 36px;
	}
}

/* ---------- 13. Home: process ---------- */

/* Phones and tablets: steps stacked, joined by a vertical line through the number circles. */
.process {
	padding-block: 104px;
}

.process__title {
	margin: 0 0 18px;
}

/* The intro sentence is not part of the mobile design. */
.process__lead {
	display: none;
}

.process__steps {
	position: relative;
	display: grid;
	gap: 40px;
	/* 18px below the heading + a 28px gap in the design. Touching margins overlap instead of adding up,
	   so the full 46px is set here. */
	margin: 46px 0 0;
	padding: 0;
	list-style: none;
}

/* Connecting line: decorative, drawn behind the number circles. */
.process__steps::before {
	content: "";
	position: absolute;
	top: 22px;
	bottom: 22px;
	left: 21px;
	width: 2px;
	background: var(--color-pink-200);
}

.process__step {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.process__number {
	position: relative;
	z-index: 1; /* Sits above the line */
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--color-accent);
	color: var(--color-white);
	font-size: 0.9375rem;
	font-weight: 600;
}

.process__body {
	padding-top: 2px;
}

.process__step-title {
	margin: 0 0 6px;
	font-size: 1.25rem; /* 20px */
	font-weight: 600;
	line-height: normal; /* Poppins' natural line height, as in the design */
	letter-spacing: 0;
}

.process__step-text {
	margin: 0;
	line-height: 1.55;
}

/* Desktop: centred intro and four steps in a row, joined by a horizontal line. */
@media (min-width: 60em) {
	.process {
		padding-block: 150px;
		border-bottom: 1px solid var(--color-border);
	}

	.process__intro {
		text-align: center;
	}

	.process__intro .eyebrow {
		justify-content: center;
	}

	.process__lead {
		display: block;
		margin: 0 auto 88px;
		line-height: 1.6;
	}

	.process__steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 56px;
		margin-top: 0;
	}

	.process__steps::before {
		top: 30px;
		right: 30px;
		bottom: auto;
		left: 30px;
		width: auto;
		height: 2px;
	}

	.process__step {
		display: block;
	}

	.process__number {
		width: 60px;
		height: 60px;
		font-size: 1.125rem;
		box-shadow: 0 0 0 8px var(--color-white); /* White ring so the line stops short of each circle */
	}

	.process__body {
		padding-top: 0;
	}

	.process__step-title {
		margin: 24px 0 8px;
		font-size: 1.375rem; /* 22px */
	}

	.process__step-text {
		line-height: 1.75;
	}
}

/* ---------- 14. Home: contact ---------- */

/* Phones and tablets: dark details panel above the white form panel. */
.contact {
	padding-block: 88px;
}

.contact__card {
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-card);
	line-height: normal; /* The design uses Poppins' natural line height in this card unless stated */
}

.contact__info {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	overflow: hidden;
	padding: 44px 22px;
	--color-icon: var(--color-accent-soft);
}

/* Decorative red and grey triangles in the bottom-right corner. */
.contact__shape {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 160px;
	height: 160px;
}

.contact__intro,
.contact__details {
	position: relative; /* Keeps text above the corner triangles */
}

.contact__eyebrow {
	margin: 0 0 14px;
	font-size: var(--fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-eyebrow);
}

.contact__title {
	margin: 0 0 16px;
	font-size: clamp(1.625rem, 7.5vw, 2rem); /* Phones: 26px → 32px; desktop below */
	line-height: 1.12;
	letter-spacing: 0;
	color: inherit;
}

.contact__text {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.6;
}

.contact__details {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact__detail {
	display: flex;
	align-items: center;
	gap: 16px;
}

.contact__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--color-icon);
}

.contact__label {
	display: block;
	margin-bottom: 2px;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-on-dark-muted);
}

.contact__link {
	font-size: 1.0625rem;
	font-weight: 600;
	word-break: break-word;
}

.contact__form {
	padding: 44px 22px;
	background: var(--color-white);
}

.contact__form-title {
	margin: 0 0 6px;
	font-size: var(--fs-h3);
	line-height: normal;
	letter-spacing: 0;
}

.contact__form-intro {
	margin: 0 0 28px;
}

.contact__fallback {
	margin: 0;
	padding: 14px;
	border: 1px solid var(--color-border-strong);
	line-height: 1.6;
}

.contact__fallback--admin {
	margin-top: 12px;
	border-style: dashed;
	font-size: var(--fs-small);
}

/* Enquiry form (Contact Form 7, markup from inc/contact-form-7-template.html). */
.enquiry {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.enquiry__row {
	display: grid;
	gap: 18px;
}

.enquiry__label {
	display: block;
	margin-bottom: 8px;
	padding: 0;
	font-size: var(--fs-small);
	font-weight: 600;
	color: var(--color-ink);
}

.enquiry input[type="text"],
.enquiry input[type="email"],
.enquiry input[type="tel"] {
	display: block;
}

.enquiry input[type="text"],
.enquiry input[type="email"],
.enquiry input[type="tel"],
.enquiry textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--color-border-strong);
	border-radius: 0;
	background: var(--color-white);
	font-size: 1rem; /* 16px also stops phones zooming in when a field is tapped */
	line-height: normal;
	color: var(--color-ink);
}

/* Left inline (the browser default), as in the design: this keeps the small gap below the box. */
.enquiry textarea {
	display: inline-block;
	resize: vertical;
}

.enquiry input:focus,
.enquiry textarea:focus {
	outline: 2px solid var(--color-accent);
	outline-offset: 1px;
	border-color: var(--color-accent);
}

/* "What do you need?": real radio buttons (one choice), shown as tiles. */
.enquiry__choice {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.enquiry__choice legend {
	width: 100%;
}

.enquiry__choice .wpcf7-radio {
	display: grid;
	gap: 12px;
}

.enquiry__choice .wpcf7-list-item {
	display: block;
	margin: 0;
}

.enquiry__choice label {
	position: relative;
	display: block;
	cursor: pointer;
}

/* The radio itself is invisible but still receives keyboard focus and clicks (through its label). */
.enquiry__choice input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.enquiry__choice .wpcf7-list-item-label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 14px;
	border: 1.5px solid var(--color-border-strong);
	background: var(--color-white);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-ink);
}

/* Empty circle when not chosen… */
.enquiry__choice .wpcf7-list-item-label::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	border: 1.5px solid var(--color-border-strong);
	border-radius: 50%;
}

/* …red border, pink background and a ✓ when chosen. */
.enquiry__choice input:checked + .wpcf7-list-item-label {
	border-color: var(--color-accent);
	background: var(--color-pink-50);
}

.enquiry__choice input:checked + .wpcf7-list-item-label::before {
	border: 0;
	border-radius: 0;
	background: var(--color-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.enquiry__choice input:focus-visible + .wpcf7-list-item-label {
	outline: 3px solid var(--color-accent);
	outline-offset: 3px;
}

/* Windows high-contrast mode removes background colours, so keep the ✓ visible there. */
@media (forced-colors: active) {
	.enquiry__choice input:checked + .wpcf7-list-item-label::before {
		forced-color-adjust: none;
		background: CanvasText;
	}
}

/*
 * Phone: country code and number shown as one control with a single border.
 * Left: the flag and calling code (a transparent <select> on top opens the country list).
 * Right, after a short divider: the number. The border is drawn behind both, so
 * error messages appear below the box rather than inside it.
 */
.enquiry__phone {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.enquiry__phone legend {
	width: 100%;
}

.phone-field {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
}

.phone-field::before {
	content: "";
	grid-area: 1 / 1 / 2 / 3;
	border: 1px solid var(--color-border-strong);
	background: var(--color-white);
	pointer-events: none;
}

.phone-field:focus-within::before {
	outline: 2px solid var(--color-accent);
	outline-offset: 1px;
	border-color: var(--color-accent);
}

.phone-field:has(.wpcf7-not-valid)::before {
	border-color: var(--color-accent-dark);
}

/* Contact Form 7 wraps each control in a <span>; let the controls take part in the layout directly. */
.phone-field .wpcf7-form-control-wrap {
	display: contents;
}

.phone-field__country {
	position: relative;
	grid-area: 1 / 1;
	display: flex;
	align-items: center;
	width: 7rem; /* Fixed, so the number field does not move when the code length changes */
	min-height: 50px;
}

/* Short, subtle divider between the code and the number. */
.phone-field__country::after {
	content: "";
	position: absolute;
	top: 12px;
	right: 0;
	bottom: 12px;
	width: 1px;
	background: var(--color-border);
}

.phone-field__face {
	display: none;
}

html.js .phone-field__face {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 8px;
	height: 100%;
	padding: 0 12px 0 14px;
	color: var(--color-ink);
}

/* Keyboard users see which half is focused. */
.phone-field__country:focus-within .phone-field__face {
	background: var(--color-pink-50);
}

.phone-field__flag {
	flex: none;
	width: 20px;
	height: 15px;
	border-radius: 2px;
	background: url("assets/flags/in.svg") center / cover no-repeat; /* India until the script runs */
	box-shadow: 0 0 0 1px rgba(26, 24, 25, 0.12); /* Keeps white flags visible on white */
}

.phone-field__code {
	font-size: 1rem;
}

/* Small chevron after the code. */
.phone-field__face::after {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	margin-left: auto;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Without JavaScript (html.no-js): a plain dropdown showing the full country name. */
.phone-field__select {
	min-height: 50px;
	max-width: 100%;
	padding: 0 8px 0 14px;
	border: 0;
	background: transparent;
	font-size: 1rem;
	color: var(--color-ink);
}

html.no-js .phone-field__country {
	width: auto;
	max-width: 11rem;
}

/*
 * With JavaScript (html.js, set in header.php): the dropdown is invisible but still receives clicks,
 * taps and keyboard focus. "html." matters: Contact Form 7 uses its own "no-js"/"js" class on its wrapper.
 */
html.js .phone-field__select {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.enquiry input.phone-field__number {
	grid-area: 1 / 2;
	min-width: 0;
	border-color: transparent; /* Keeps the same 51px height as the other fields */
	background: transparent;
}

/* The focus ring is drawn around the whole control instead. */
.enquiry input.phone-field__number:focus,
.phone-field__select:focus {
	outline: none;
}

.phone-field .wpcf7-not-valid-tip {
	grid-column: 1 / -1;
}

@media (forced-colors: active) {
	.phone-field::before {
		border-color: CanvasText;
	}
}

/* Very narrow phones (below 360px): slightly less padding so the example number still fits. */
@media (max-width: 22.4375em) {
	.enquiry input.phone-field__number {
		padding-inline: 12px 6px;
	}
}

/*
 * 960–1179px: the form sits beside the dark panel and its half-width cells are too narrow for a
 * phone number next to the flag and code, so Email and Phone stack. Wider screens keep the design's two columns.
 */
@media (min-width: 60em) and (max-width: 73.6875em) {
	.enquiry__row:has(.enquiry__phone) {
		grid-template-columns: 1fr;
	}
}

/*
 * Cloudflare Turnstile spam check. Invisible for most visitors: while hidden (0px tall) the negative
 * margin cancels the form's 26px gap, so the approved spacing is unchanged. When Cloudflare shows a
 * challenge, a small script in functions.php adds "is-visible" and the normal gap returns.
 */
.enquiry .wpcf7-turnstile {
	margin-top: -26px;
}

.enquiry .wpcf7-turnstile.is-visible {
	margin-top: 0;
}

.enquiry__actions {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
}

.enquiry__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 56px;
	padding: 0 36px;
	border: 0;
	border-radius: 0;
	background: var(--color-accent);
	color: var(--color-white);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform var(--transition), box-shadow var(--transition);
}

/* Arrow after the button text (an <svg> cannot be placed inside the form template). */
.enquiry__submit::after {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.enquiry__submit:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lift);
}

.enquiry__submit:disabled {
	cursor: progress;
	opacity: 0.7;
}

/* Contact Form 7 adds a loading spinner after the button; show it over the button's right end. */
.enquiry__actions .wpcf7-spinner {
	position: absolute;
	top: 16px;
	right: 16px;
	margin: 0;
}

.enquiry__note {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--color-muted);
}

/* Validation and result messages from Contact Form 7. */
.enquiry .wpcf7-not-valid {
	border-color: var(--color-accent-dark);
}

.enquiry .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: var(--fs-small);
	color: var(--color-accent-dark);
}

/* Same specificity as the plugin's own rule plus one class, so these spacing values win. */
.contact__form .wpcf7 form .wpcf7-response-output {
	margin: 26px 0 0;
	padding: 12px 14px;
	font-size: 0.9375rem;
	line-height: 1.5;
}

/* Tablets and up: fields and choices side by side in pairs. */
@media (min-width: 37.5em) {
	.enquiry__row,
	.enquiry__choice .wpcf7-radio {
		grid-template-columns: 1fr 1fr;
	}
}

/* Desktop: details and form side by side. */
@media (min-width: 60em) {
	.contact {
		padding-block: 136px;
	}

	.contact__card {
		flex-direction: row;
	}

	.contact__info {
		flex: 1 1 380px;
		min-width: 0;
		padding: 64px 52px;
	}

	.contact__title {
		font-size: clamp(1.875rem, 3.4vw, 2.625rem); /* 30px → 42px */
	}

	.contact__form {
		flex: 1.35 1 460px;
		min-width: 0;
		padding: 64px 52px;
	}

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

/* ---------- 15. Footer ---------- */

/* Phones and tablets: brand block, then Services and Company side by side, then Contact. */
.site-footer {
	--color-heading: var(--color-white);
	--color-body: var(--color-on-dark);
	--color-icon: var(--color-accent-soft);
	position: relative;
	overflow: hidden;
	border-top: 6px solid var(--color-accent);
	background: var(--color-ink);
	color: var(--color-on-dark);
	font-size: 0.9375rem; /* 15px */
	line-height: normal; /* Poppins' natural line height, as in the design */
}

/* Decorative diagonal panels in the top-right corner. */
.site-footer__shape {
	position: absolute;
	top: 0;
	right: 0;
	width: 220px;
	height: 220px;
}

.site-footer__main,
.site-footer__bottom {
	position: relative; /* Above the diagonal panels */
}

.site-footer__main {
	display: flex;
	flex-wrap: wrap;
	gap: 36px 20px;
	padding-block: 72px 44px;
}

.site-footer__brand {
	flex: 1.7 1 100%;
}

.site-footer__col {
	flex: 1 1 44%;
}

.site-footer__col--contact {
	flex: 1.3 1 100%;
}

.site-footer__logo {
	width: auto;
	height: 50px;
	margin-bottom: 20px;
}

.site-footer__tagline {
	max-width: 320px;
	margin: 0 0 24px;
	line-height: 1.65;
}

.site-footer__cta {
	margin-bottom: 24px;
	font-size: inherit;
}

.site-footer__social,
.site-footer__links,
.site-footer__legal {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.site-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--color-border-on-dark);
	color: var(--color-white);
	transition: background-color var(--transition), border-color var(--transition);
}

.site-footer__social a:hover,
.site-footer__social a:active {
	border-color: var(--color-accent);
	background: var(--color-accent);
}

/* Column title with a short red bar underneath. */
.site-footer__heading {
	margin: 0 0 18px;
	font-size: var(--fs-small);
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-footer__heading::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	margin-top: 10px;
	background: var(--color-accent);
}

.site-footer__links a {
	display: block;
	padding: 12px 0; /* Larger tap targets on phones */
}

.site-footer__links .site-footer__contact-link {
	display: flex;
	align-items: center;
	gap: 12px;
}

.site-footer__contact-link .icon {
	flex: none;
	color: var(--color-icon);
}

/* Text links turn white and underlined on hover. */
.site-footer__links a:hover,
.site-footer__legal a:hover,
.site-footer__top:hover {
	color: var(--color-white);
	text-decoration: underline;
}

.site-footer__bottom {
	border-top: 1px solid var(--color-border-on-dark);
}

.site-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
	padding-block: 20px;
	font-size: var(--fs-small);
}

.site-footer__copyright {
	margin: 0;
	color: inherit;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.site-footer__legal a {
	display: block;
	padding: 8px 0;
}

.site-footer__top {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 46px; /* 44px plus the 1px top and bottom borders, as in the design */
	padding: 0 16px;
	border: 1px solid var(--color-border-on-dark);
	color: var(--color-white);
	font-weight: 500;
}

.site-footer__top .icon {
	flex: none;
}

/* Desktop: four columns that wrap as in the design. */
@media (min-width: 60em) {
	.site-footer__shape {
		width: 400px;
		height: 400px;
	}

	.site-footer__main {
		gap: 48px;
		padding-block: 112px 72px;
	}

	.site-footer__brand {
		flex-basis: 300px;
	}

	.site-footer__col {
		flex-basis: 170px;
	}

	.site-footer__col--contact {
		flex-basis: 240px;
	}

	.site-footer__links a {
		padding-block: 6px;
	}

	.site-footer__bar {
		padding-block: 22px;
	}

	.site-footer__legal a {
		padding-block: 0;
	}
}

/* ---------- 16. Service pages ---------- */

/*
 * Sections shared by the service pages (template-parts/service/). Same approach as the homepage:
 * phones first, then the desktop design from 960px. Sections are 72px tall at the top and bottom
 * on phones and 128px on desktop.
 */

/* These pages run edge to edge, like the homepage. */
.site-main--full {
	padding-block: 0;
}

/* Narrower column for sections that are mostly text. */
.container--narrow {
	max-width: 960px;
}

.page-section {
	padding-block: 72px;
}

/* Centred heading at the top of a section: eyebrow, heading and intro. */
.section-intro {
	margin-bottom: 40px;
	text-align: center;
}

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

.section-intro__title {
	margin: 0;
	line-height: 1.12;
}

.section-intro__text {
	max-width: 560px;
	margin: 20px auto 0;
	line-height: 1.65;
}

/* Red underlined link with an arrow, e.g. "Explore website revamp →". Pink on dark sections. */
.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	border-bottom: 2px solid currentColor;
	font-weight: 600;
	color: var(--color-eyebrow);
}

.text-link .icon {
	flex: none;
}

/* Breadcrumbs: "Home / Services / …". The "/" is decorative, so screen readers skip it where supported. */
.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem; /* 13px */
	color: var(--color-muted);
}

.breadcrumbs__list li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.breadcrumbs__list li + li::before {
	content: "/";
	content: "/" / "";
}

.breadcrumbs__list a:hover {
	color: var(--color-ink);
	text-decoration: underline;
}

.breadcrumbs__list [aria-current] {
	font-weight: 500;
	color: var(--color-ink);
}

/*
 * Page hero: built on the homepage hero (.hero) with a grid, so on phones the breadcrumbs come first,
 * then the illustration, then the text, while the HTML keeps the text before the illustration.
 */
.hero--page {
	padding-block: 24px 64px;
	background: radial-gradient(60% 90% at 82% 30%, var(--color-pink-100) 0%, rgba(247, 245, 244, 0) 70%);
}

/* Phones: breadcrumbs, text, then the illustration or card. */
.hero--page .hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* Never wider than the screen, whatever the content */
	grid-template-areas:
		"crumbs"
		"content"
		"media";
}

.hero--page .breadcrumbs {
	grid-area: crumbs;
	margin-bottom: 24px;
}

.hero--page .hero__content {
	grid-area: content;
}

.hero--page .hero__media {
	grid-area: media;
	margin: 36px 0 0;
}

.hero--page .hero__title {
	font-size: clamp(2.125rem, 4.4vw, 3.625rem); /* 34px → 58px */
}

/* Soft panel behind the illustration (or the Care plans card). */
.hero__panel {
	overflow: hidden;
	padding: 20px;
	border-radius: 20px;
	background: var(--color-blush);
}

/* A card on the panel (Care plans): same colour, so only its spacing shows. */
.hero__panel .hero-card {
	gap: 12px;
	padding: 20px;
}

/*
 * Cards (template-parts/service/card-grid.php): white with a thin border, lifting slightly on hover.
 * Ticks are light pink, as in the design. Sizes: .card--sm (questions), .card--md and .card--lg
 * (larger titles; lg also has more padding). On dark sections the cards turn dark grey.
 */
.card-grid {
	display: grid;
	gap: 20px;
}

.card-grid--lg {
	gap: 24px;
}

.card {
	--color-icon: var(--color-accent-light);
	position: relative; /* For the badge of a featured card */
	display: flex;
	flex-direction: column;
	padding: 28px 22px;
	border: 1px solid var(--color-border);
	background: var(--color-white);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 56px rgba(26, 24, 25, 0.12);
}

.card--lg {
	padding: 28px 22px;
}

.card--sm {
	padding: 24px 22px;
}

.section--dark .card {
	border-color: var(--color-border-on-dark);
	background: var(--color-ink-raised);
}

/* Featured card, e.g. "Catalogue and online store": red border and a label on its top edge. */
.section--dark .card--featured {
	border: 2px solid var(--color-accent);
	background: var(--color-ink-raised-2);
}

.card__badge {
	position: absolute;
	top: -14px;
	left: 24px;
	padding: 6px 14px;
	background: var(--color-accent);
	color: var(--color-white);
	font-size: 0.75rem; /* 12px */
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: normal;
	text-transform: uppercase;
}

/* Icon row: the icon, with an optional label on the right (e.g. "SERVICE 01"). */
.card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.card__top--soft {
	margin-bottom: 20px;
}

.card__top--tick {
	margin-bottom: 14px;
}

.card__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	color: var(--color-accent);
}

/* White icon on a red square. */
.card__icon--solid {
	width: 56px;
	height: 56px;
	background: var(--color-accent);
	color: var(--color-white);
}

/* Red icon on a pink square. */
.card__icon--soft {
	width: 52px;
	height: 52px;
	background: var(--color-pink-100);
}

.card__icon--tick {
	color: var(--color-icon);
}

.card__label {
	font-size: var(--fs-eyebrow);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-accent-dark);
}

/* Small label above the title, e.g. "OPTION 01". */
.card__eyebrow {
	margin: 0 0 14px;
	font-size: var(--fs-eyebrow);
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: normal;
	text-transform: uppercase;
	color: var(--color-eyebrow);
}

/* Platform logo followed by the title on one line. */
.card__heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.card__heading svg {
	flex: none;
}

.card__title {
	margin: 0 0 12px;
	font-size: 1.25rem; /* 20px */
	font-weight: 600;
	line-height: normal; /* Poppins' natural line height, as in the designs */
	letter-spacing: 0;
}

/* Platform names next to their logo are bold. */
.card__heading .card__title {
	font-size: 1.375rem; /* 22px */
	font-weight: 700;
}

.card--md .card__title {
	font-size: 1.5rem; /* 24px */
	font-weight: 700;
}

.card--lg .card__title {
	margin-bottom: 14px;
	font-size: 1.5rem; /* 24px */
	font-weight: 700;
	line-height: 1.15;
}

.card--sm .card__title {
	font-size: 1.1875rem; /* 19px */
	line-height: 1.4;
}

.card-grid--tiles .card__title {
	margin-bottom: 10px;
	font-size: 1.25rem; /* 20px */
}

/* Placed after the size rules above, so a title beside a logo never gets their bottom margin. */
.card .card__heading .card__title {
	margin: 0;
}

/* Short grey line under a platform name, e.g. "A fully managed store platform". */
.card__subtitle {
	margin: -4px 0 20px;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--color-muted);
}

.section--dark .card__subtitle {
	color: var(--color-on-dark-muted);
}

.card__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
}

.card__text:not(:last-child) {
	margin-bottom: 24px;
}

/* Label/value pairs, e.g. "BEST FOR" followed by the answer. */
.card__details {
	margin: 12px 0 0;
}

.card__details div {
	margin-bottom: 18px;
}

.card__details dt {
	margin-bottom: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-eyebrow);
}

.card__details dd {
	margin: 0;
	line-height: 1.6;
	color: var(--color-heading);
}

/* Small label above a ticked list, e.g. "GREAT IF YOU". */
.card__list-label {
	margin: 0 0 14px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: normal;
	text-transform: uppercase;
	color: var(--color-eyebrow);
}

/*
 * The list grows to fill the card, so the links line up along the bottom of a row of cards.
 * align-content keeps the items together at the top instead of spreading them over that space.
 */
.card__list {
	flex: 1;
	align-content: start;
	gap: 14px;
	margin-bottom: 28px;
}

.card__list:last-child {
	margin-bottom: 0;
}

.card__list li {
	font-size: 1rem;
}

.card__list-link {
	border-bottom: 1px solid var(--color-pink-200);
	color: var(--color-ink);
}

.card__list-link:hover {
	border-bottom-color: currentColor;
	color: var(--color-accent-dark);
}

/* Large cards with a label above the title (Services "Service 01"). */
.card--lg .card__eyebrow {
	margin-bottom: 20px;
}

.card__link {
	margin: 0;
}

.card__details + .card__link {
	margin-top: 4px;
}

/* Tiles: a grid divided by thin lines instead of separate cards. */
.card-grid--tiles {
	gap: 2px;
	border: 2px solid var(--color-border);
	background: var(--color-border);
}

.card-grid--tiles .card {
	border: 0;
	background: var(--color-bg);
}

/* Sentence under a row of cards, with links to related services. */
.section-note {
	margin: 40px 0 0;
	line-height: 1.7;
	text-align: center;
}

.section-note a {
	font-weight: 600;
	text-decoration: underline;
	color: var(--color-eyebrow);
}

/* Dark "Not sure which service you need?" list: rows divided by thin lines. */
.choice-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--color-border-on-dark);
}

.choice-list__item {
	padding-block: 24px;
	border-top: 1px solid var(--color-border-on-dark);
}

.choice-list__text {
	margin: 0 0 14px;
	font-size: 1.1875rem; /* 19px */
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-heading);
}

/*
 * Process steps on service pages: the homepage design (.process) with the service page sizes.
 * Phones: 48px circles with a white ring; the intro sentence is shown (it is hidden on the homepage).
 */
.process--page {
	padding-block: 72px;
}

.process--page .process__steps {
	gap: 36px;
	margin-top: 0;
}

.process--page .process__steps::before {
	top: 30px;
	bottom: 30px;
	left: 29px;
}

.process--page .process__step {
	gap: 20px;
}

/* The same 60px circles as on desktop. */
.process--page .process__number {
	width: 60px;
	height: 60px;
	font-size: 1.125rem;
	box-shadow: 0 0 0 8px var(--color-white);
}

.process--page .process__step-text {
	font-size: 0.9375rem;
	line-height: 1.7;
}

/* Red call-to-action band with faint diagonal panels on the right. */
.cta-band {
	--color-heading: var(--color-white);
	--color-body: var(--color-on-accent);
	position: relative;
	overflow: hidden;
	background: var(--color-accent);
	text-align: center;
}

.cta-band__shape {
	position: absolute;
	top: 0;
	right: 0;
	width: 200px;
	height: 100%;
}

.cta-band__inner {
	position: relative; /* Above the diagonal panels */
	padding-block: 72px;
}

.cta-band__title {
	margin: 0 0 20px;
	line-height: 1.12;
}

.cta-band__text {
	max-width: 560px;
	margin: 0 auto 32px;
	font-size: var(--fs-lead);
	line-height: 1.65;
}

.cta-band__actions {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* The usual red focus outline would not show on the red band. */
.cta-band :focus-visible {
	outline-color: var(--color-white);
}

/* Thin line above the process section when the section before it is also white. */
.process--divider {
	border-top: 1px solid var(--color-border);
}

/* Any illustration in the hero panel fills its width. */
.hero__panel > svg {
	width: 100%;
	height: auto;
}

/* Platform badges under the illustration, e.g. "Built on WordPress". */
.hero__platforms {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.hero__platforms li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid var(--color-pink-200);
	border-radius: 999px;
	background: var(--color-white);
	font-size: var(--fs-eyebrow);
	font-weight: 600;
	line-height: normal;
	color: var(--color-ink);
}

.hero__platforms svg {
	flex: none;
}

/*
 * Website development rows (template-parts/service/feature-rows.php), built on the homepage
 * service rows (.service__*). Phones show "Learn more" on the buttons; desktop shows the full text.
 */
.feature-rows {
	--color-icon: var(--color-accent-light); /* Light pink ticks, as in the design */
	gap: 72px;
}

.service__media--panel {
	padding: 16px;
	background: var(--color-blush);
}

.feature-rows .service__platforms {
	gap: 10px 14px;
}

.service__platforms-list {
	display: flex;
	align-items: center;
	gap: 8px;
}

.feature-rows__link-desktop {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* E-commerce journey: numbered steps in one column, divided by thin lines. */
.journey {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--color-border-on-dark);
}

.journey__step {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding-block: 22px;
	border-top: 1px solid var(--color-border-on-dark);
}

.journey__number {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--color-accent);
	color: var(--color-white);
	font-size: 0.9375rem;
	font-weight: 600;
}

.journey__title {
	margin: 0 0 6px;
	font-size: 1.1875rem; /* 19px */
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0;
}

.journey__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
}

/*
 * Migration comparison table. Phones: each row stacked, every value starting with its platform's
 * name in that platform's colour (the column headings are hidden). Desktop: three columns.
 */
.comparison {
	width: 100%;
	border-collapse: collapse;
	border-bottom: 1px solid var(--color-border-on-dark);
	text-align: left;
}

.comparison thead {
	display: none;
}

.comparison tbody tr {
	display: block;
	padding-block: 22px;
	border-top: 1px solid var(--color-border-on-dark);
}

.comparison th,
.comparison td {
	display: block;
	padding: 0;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.55;
	vertical-align: top;
}

.comparison tbody th {
	margin-bottom: 12px;
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-white);
}

.comparison__before {
	margin-bottom: 8px;
	color: var(--color-on-dark);
}

.comparison__after {
	color: var(--color-white);
}

.comparison__label {
	font-weight: 600;
}

.comparison__before .comparison__label {
	color: var(--color-woo-light);
}

.comparison__after .comparison__label {
	color: var(--color-shopify-light);
}

.comparison__platform {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: var(--color-white);
}

.comparison__platform svg {
	flex: none;
}

/* Hero with a card instead of an illustration (About, Care plans; template-parts/service/hero-card.php). */
.hero-card {
	display: grid;
	gap: 14px;
	padding: 22px;
	border-radius: 20px;
	background: var(--color-blush);
}

.hero-card__label {
	margin: 0 0 4px;
	font-size: 0.75rem; /* 12px */
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: normal;
	text-transform: uppercase;
	color: var(--color-accent-dark);
}

.hero-card__list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero-card__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	background: var(--color-white);
	box-shadow: 0 10px 30px rgba(26, 24, 25, 0.08);
}

.hero-card__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
}

/* Platform logo on a grey square. */
.hero-card__icon--logo {
	width: 48px;
	height: 48px;
	background: var(--color-bg);
}

/* Green tick in a circle. */
.hero-card__icon--status {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--color-success-soft);
	color: var(--color-success);
}

.hero-card__title {
	display: block;
	font-size: 1.0625rem; /* 17px */
	font-weight: 600;
	line-height: normal;
	color: var(--color-ink);
}

.hero-card__item:has(.hero-card__icon--status) .hero-card__title {
	font-size: 1rem;
}

.hero-card__text {
	display: block;
	margin-top: 2px;
	font-size: var(--fs-small);
	line-height: normal;
	color: var(--color-muted);
}

/* Red line at the bottom of the card, with a white dot. */
.hero-card__note {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 16px 22px;
	background: var(--color-accent);
	color: var(--color-white);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.hero-card__note::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--color-white);
}

/* Story (About: "Who we are"): left-aligned text, then a panel of key figures with red bars. */
.story {
	display: flex;
	flex-direction: column;
	gap: 44px;
}

.story__title {
	margin: 0 0 20px;
	line-height: 1.12;
}

.story__text {
	margin: 0 0 18px;
	font-size: var(--fs-lead);
	line-height: 1.75;
}

.story__stats {
	display: grid;
	gap: 28px;
	margin: 0;
	padding: 28px;
	list-style: none;
	background: var(--color-bg);
}

.story__stat {
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--color-accent);
}

.story__figure {
	display: block;
	font-size: 2.125rem; /* 34px */
	font-weight: 700;
	line-height: 1;
	color: var(--color-ink);
}

.story__label {
	display: block;
	margin-top: 8px;
	font-size: 0.9375rem; /* 15px on phones, 16px from 960px */
	color: var(--color-body);
}

/* More card options (template-parts/service/card-grid.php). */

/* Borderless light grey cards (Care plans: "What we take care of"). */
.card-grid--soft .card {
	border: 0;
	background: var(--color-bg);
}

/* Slightly smaller titles. */
.card--compact .card__title {
	font-size: 1.25rem; /* 20px */
}

/* Plain icons are pink on dark sections. */
.section--dark .card__icon--plain {
	color: var(--color-accent-light);
}

/* Platform logo above the title. */
.card__top--logo {
	height: 44px;
	margin-bottom: 16px;
}

/* Numbered card: the number in a pink circle beside the title and text. */
.card--numbered {
	flex-direction: row;
	align-items: flex-start;
	gap: 18px;
	padding: 22px 20px;
}

.card__number {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--color-pink-100);
	color: var(--color-accent-dark);
	font-size: 1rem;
	font-weight: 700;
}

.card--numbered .card__title {
	margin-bottom: 6px;
	font-size: 1.125rem; /* 18px */
}

/*
 * Plan cards (Care plans; template-parts/service/plans.php). The featured plan is dark,
 * with a red label in its top corner.
 */
.plans {
	display: grid;
	gap: 20px;
}

.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px 24px;
	border: 1px solid var(--color-border);
	background: var(--color-white);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 56px rgba(26, 24, 25, 0.12);
}

/* Plans on a dark band (Care plans): a narrower column; the white cards keep their dark text. */
.plans-section--dark .container {
	--container-width: 1100px;
}

.plans-section--dark .plan:not(.plan--featured) {
	--color-heading: var(--color-ink);
	--color-body: var(--color-text);
	--color-icon: var(--color-accent-light);
}

.plan--featured {
	border-color: var(--color-ink);
	background: var(--color-ink);
}

.plan__badge {
	position: absolute;
	top: 0;
	right: 0;
	padding: 7px 14px;
	background: var(--color-accent);
	color: var(--color-white);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: normal;
	text-transform: uppercase;
}

.plan__name {
	margin: 0 0 8px;
	font-size: 1.625rem; /* 26px */
	line-height: 1.2;
	letter-spacing: 0;
}

.plan__text {
	margin: 0 0 24px;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.plan__list {
	--color-icon: var(--color-accent-light);
	flex: 1;
	align-content: start;
	gap: 14px;
	margin: 0 0 32px;
	color: var(--color-body);
}

.plan__list li {
	font-size: 1rem;
}

.plan__action {
	margin: 0;
}

@media (min-width: 60em) {
	.page-section {
		padding-block: 128px;
	}

	.section-intro {
		margin-bottom: 72px;
	}

	.section-intro .eyebrow {
		margin-bottom: 18px;
	}

	.breadcrumbs__list {
		font-size: var(--fs-small);
	}

	/* Hero: text on the left, illustration on the right, both centred vertically. */
	.hero--page {
		padding-block: 88px 120px;
	}

	.hero--page .hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		grid-template-rows: 1fr auto auto 1fr;
		grid-template-areas:
			".       media"
			"crumbs  media"
			"content media"
			".       media";
		gap: 0 72px;
	}

	.hero--page .breadcrumbs {
		margin-bottom: 28px;
	}

	.hero--page .hero__media {
		align-self: center;
		margin-top: 0;
	}

	.hero__panel {
		padding: 36px 32px;
		border-radius: 28px;
	}

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

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

	.card-grid--tiles {
		gap: 2px;
	}

	.card {
		padding: 36px 32px;
	}

	.card--lg {
		padding: 44px 36px;
	}

	.card--sm {
		padding: 32px;
	}

	.card__badge {
		left: 32px;
	}

	.card__top--solid {
		margin-bottom: 28px;
	}

	.card__top--soft {
		margin-bottom: 26px;
	}

	.card__icon--solid {
		width: 60px;
		height: 60px;
	}

	.card__icon--soft {
		width: 56px;
		height: 56px;
	}

	.card__title {
		font-size: 1.375rem; /* 22px */
	}

	.card--md .card__title {
		font-size: 1.5rem; /* 24px */
	}

	.card--lg .card__title {
		font-size: 1.75rem; /* 28px */
	}

	.card--sm .card__title {
		font-size: 1.1875rem; /* 19px */
	}

	.card-grid--tiles .card__title {
		font-size: 1.25rem; /* 20px */
	}

	.card__text {
		font-size: 1rem;
	}

	.section-note {
		margin-top: 44px;
	}

	/* Slightly less space above and below (Website development: "Looking to improve what you have?"). */
	.page-section--compact {
		padding-block: 112px;
	}

	/* A heading without an intro sentence sits a little closer to the cards. */
	.section-intro--no-text {
		margin-bottom: 64px;
	}


	.feature-rows {
		gap: 128px;
	}

	.service__media--panel {
		padding: 24px;
	}

	.feature-rows__link-desktop {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
		white-space: normal;
	}

	.feature-rows__link-phone {
		display: none;
	}

	.journey__step {
		gap: 28px;
		padding-block: 28px;
	}

	.journey__number {
		width: 52px;
		height: 52px;
		font-size: 1.0625rem;
	}

	.journey__title {
		font-size: 1.375rem; /* 22px */
	}

	.journey__text {
		font-size: 1.0625rem;
	}

	/* Comparison: a three-column table under the platform names; the "WooCommerce:" labels are not needed. */
	.comparison {
		table-layout: fixed;
	}

	.comparison thead {
		display: table-header-group;
	}

	.comparison tbody tr {
		display: table-row;
	}

	.comparison th,
	.comparison td {
		display: table-cell;
		padding: 26px 24px 26px 0;
		font-size: 1rem;
	}

	.comparison thead th,
	.comparison thead td {
		padding-block: 0 20px;
	}

	.comparison thead td {
		width: 28%;
	}

	.comparison th:last-child,
	.comparison td:last-child {
		padding-right: 0;
	}

	.comparison tbody th {
		margin: 0;
	}

	.comparison__before {
		margin: 0;
	}

	.comparison__label {
		display: none;
	}

	/* Sentence on the left, link on the right. */
	.choice-list__item {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 24px;
		padding-block: 30px;
	}

	.choice-list__text {
		flex: 1 1 280px;
		margin: 0;
		font-size: 1.375rem; /* 22px */
	}

	/*
	 * Steps in a row. The phone rules above are more specific than the homepage desktop rules,
	 * so the desktop sizes are set again here. The line stops at the centre of the last circle.
	 */
	.process--page {
		padding-block: 128px;
		border-bottom: 0;
	}

	.process--page .process__steps {
		gap: 56px;
	}

	.process--page .process__steps::before {
		top: 30px;
		right: calc((100% - 3 * 56px) / 4 - 30px);
		bottom: auto;
		left: 30px;
	}

	.process--page .process__number {
		width: 60px;
		height: 60px;
		font-size: 1.125rem;
		box-shadow: 0 0 0 8px var(--color-white);
	}

	.process--page .process__step-text {
		font-size: 1rem;
	}

	.cta-band__shape {
		width: 420px;
	}

	.cta-band__inner {
		padding-block: 128px;
	}

	.cta-band__text {
		margin-bottom: 40px;
	}

	.cta-band__actions {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}

	.hero-card,
	.hero__panel .hero-card {
		padding: 44px;
		border-radius: 28px;
	}

	.hero-card__item {
		padding: 18px 22px;
	}

	.hero-card__note {
		padding: 20px 22px;
	}

	/* Story: text on the left, figures on the right. */
	.story__label {
		font-size: 1rem;
	}

	.story {
		flex-direction: row;
		align-items: center;
		gap: 96px;
	}

	.story__content {
		flex: 1 1 460px;
		min-width: 0;
	}

	.story__stats {
		flex: 1 1 340px;
		min-width: 0;
		gap: 36px;
		padding: 44px;
	}

	.story__figure {
		font-size: 2.5rem; /* 40px */
	}

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

	.card-grid--soft {
		gap: 24px;
	}

	.card--compact .card__title,
	.card--numbered .card__title {
		font-size: 1.25rem; /* 20px */
	}

	.card--numbered {
		padding: 28px;
	}

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

	.plan {
		padding: 40px 32px;
	}

	.plan__name {
		font-size: 1.625rem; /* 26px */
	}
}

/* ---------- 17. Contact, FAQ, Get a quote, Portfolio and case studies ---------- */

/*
 * Same approach as the service pages: phones first, then the desktop design from 960px.
 * Shared parts are in template-parts/service/ (page-header, contact-cards, faq, quote-form, portfolio-grid)
 * and template-parts/case-study/.
 */

/* Centred page header on a soft pink glow (Contact, FAQ, Get a quote, Portfolio). */
.page-header {
	padding-block: 24px 32px;
	background: radial-gradient(60% 120% at 50% 0%, var(--color-pink-100) 0%, rgba(247, 245, 244, 0) 70%);
}

.page-header .breadcrumbs {
	margin-bottom: 24px;
}

.page-header__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
}

.page-header .hero__badge {
	align-self: center;
}

.page-header__title {
	margin: 0;
	font-size: clamp(2.125rem, 4.4vw, 3.625rem); /* 34px → 58px */
}

.page-header__intro {
	max-width: 580px;
	margin: 18px auto 26px;
	font-size: 1rem;
	line-height: 1.65;
}

/* Note for administrators about sample content (annex1_sample_content_notice()). */
.admin-note {
	margin: 16px 0 0;
	padding: 12px 14px;
	border: 1px dashed var(--color-accent);
	background: var(--color-white);
	font-size: var(--fs-small);
	line-height: 1.5;
	color: var(--color-ink);
}

/* Contact page: the homepage enquiry card, directly under the page header. */
.contact--page {
	padding-block: 8px 72px;
}

/* Cards that are links as a whole (template-parts/service/link-cards.php), e.g. Contact "Want a detailed quote?". */
.link-card__eyebrow {
	display: block;
	margin: 0 0 14px;
	font-size: 0.75rem; /* 12px */
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-accent-dark);
}

.link-cards__grid--3 .link-card__text {
	margin-bottom: 18px;
}

.link-cards__grid--3 .link-card__more {
	font-size: 0.9375rem; /* 15px */
}

/* "See our care plans" under a row of cards (card-grid 'more'), a plain underlined link. */
.section-more.section-more--cards {
	margin-top: 28px;
}

.section-more--cards .text-link {
	padding: 0 0 2px;
}

.link-cards__grid {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.link-card {
	display: block;
	height: 100%;
	padding: 26px 22px;
	border: 1px solid var(--color-border);
	background: var(--color-white);
	transition: border-color var(--transition);
}

.link-card:hover {
	border-color: var(--color-accent);
}

.link-card__title {
	display: block;
	margin: 0 0 8px;
	font-size: 1.25rem; /* 20px */
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
}

.link-card__text {
	display: block;
	margin: 0 0 16px;
	line-height: 1.7;
	color: var(--color-text);
}

.link-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--color-accent-dark);
}

/* "Other ways to reach us": email, phone and WhatsApp cards. */
.contact-cards {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-card {
	display: block;
	height: 100%;
	padding: 26px 22px;
	border: 1px solid var(--color-border);
	background: var(--color-white);
	transition: border-color var(--transition), transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
	border-color: var(--color-pink-200);
	transform: translateY(-6px);
	box-shadow: 0 28px 56px rgba(26, 24, 25, 0.12);
}

.contact-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	background: var(--color-pink-100);
	color: var(--color-accent);
}

.contact-card__icon .icon-whatsapp {
	width: 24px;
	height: 24px;
}

.contact-card__title {
	display: block;
	margin-bottom: 6px;
	font-size: 1.25rem; /* 20px */
	font-weight: 600;
	color: var(--color-ink);
}

.contact-card__text {
	display: block;
	margin-bottom: 14px;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--color-muted);
}

.contact-card__value {
	display: block;
	font-weight: 600;
	color: var(--color-accent-dark);
	word-break: break-word;
}

/* Process steps on the page background: the ring around each number matches it. */
.process--page.process--bg .process__number {
	box-shadow: 0 0 0 8px var(--color-bg);
}

/* FAQ: groups of questions that open to show their answer. */
.faq {
	padding-block: 16px 72px;
}

.faq__inner {
	--container-width: 900px;
}

.faq__group {
	margin-bottom: 36px;
}

.faq__group-title {
	margin: 0 0 20px;
	font-size: 1.5rem; /* 24px */
	line-height: normal;
	letter-spacing: 0;
}

.faq__list {
	display: grid;
	gap: 12px;
}

.faq__item {
	border: 1px solid var(--color-border);
	background: var(--color-white);
}

.faq__item[open] {
	border-color: var(--color-pink-200);
}

/* On the FAQ page an open question keeps its grey border (the homepage FAQ turns pink). */
.faq .faq__item[open] {
	border-color: var(--color-border);
}

.faq .faq__answer {
	max-width: none;
}

/* Links in answers, e.g. "See our website revamp service." */
.faq__answer a {
	font-weight: 600;
	text-decoration: underline;
	color: var(--color-accent-dark);
}

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	color: var(--color-accent);
	cursor: pointer;
	list-style: none; /* Hide the browser's own triangle */
}

.faq__question::-webkit-details-marker {
	display: none;
}

.faq__question-text {
	margin: 0;
	font-size: 1.0625rem; /* 17px */
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	color: var(--color-ink);
}

.faq__question .icon {
	flex: none;
}

.faq__item[open] .icon-plus,
.faq__item:not([open]) .icon-minus {
	display: none;
}

.faq__question:hover .faq__question-text {
	color: var(--color-accent-dark);
}

.faq__answer {
	max-width: 760px;
	margin: 0;
	padding: 0 18px 22px;
	font-size: 1rem;
	line-height: 1.75;
}

/* Get a quote: the form card, then the dark "What happens next" panel. */
.quote {
	padding-block: 0 72px;
}

.quote__inner {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.quote__card {
	min-width: 0;
	padding: 28px 20px;
	background: var(--color-white);
	box-shadow: 0 24px 60px rgba(26, 24, 25, 0.1);
}

.quote__aside {
	position: relative;
	overflow: hidden;
	min-width: 0;
	padding: 28px 22px;
	line-height: normal;
}

.quote__aside-title,
.quote__next,
.quote__talk {
	position: relative; /* Above the corner triangles */
}

.quote__next {
	display: grid;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.quote__next-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.quote__next-item .icon {
	flex: none;
	margin-top: 2px;
	color: var(--color-icon);
}

.quote__next-title {
	display: block;
	font-weight: 600;
	color: var(--color-white);
}

.quote__next-text {
	display: block;
	color: var(--color-on-dark);
	margin-top: 4px;
	font-size: 0.90625rem; /* 14.5px */
	line-height: 1.6;
}

.quote__talk {
	display: grid;
	justify-items: start;
	gap: 12px;
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid var(--color-border-on-dark-soft);
	font-size: 0.9375rem;
}

.quote__talk-label {
	margin: 0;
}

.quote__talk-link {
	font-weight: 600;
	color: var(--color-white);
	word-break: break-word;
}

.quote__talk-link--whatsapp {
	color: var(--color-accent-light);
}

.quote__talk-link:hover {
	text-decoration: underline;
}

/*
 * Quote form (Contact Form 7, markup from inc/contact-form-7-quote-template.html). It reuses the
 * enquiry form's fields and phone control; each numbered step is a fieldset, divided by a thin line.
 */
.quote-form {
	gap: 0;
}

.quote-step {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.quote-step + .quote-step {
	margin-top: 36px;
	padding-top: 36px;
	border-top: 1px solid var(--color-border-soft);
}

/* Floated so the legend lays out like a normal block above the step's fields. */
.quote-step__head {
	display: flex;
	float: left;
	align-items: center;
	gap: 14px;
	width: 100%;
	margin: 0 0 22px;
	padding: 0;
}

/* Contact Form 7 wraps each choice group in an inline <span>; as a block it can clear the floated legend. */
.quote-step > .wpcf7-form-control-wrap {
	display: block;
}

.quote-step__head + * {
	clear: both;
}

.quote-step__number {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--color-accent);
	color: var(--color-white);
	font-size: 0.9375rem;
	font-weight: 600;
}

.quote-step__heading {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.quote-step__title {
	font-size: 1.25rem; /* 20px */
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-ink);
}

.quote-step__hint {
	font-size: var(--fs-small);
	color: var(--color-muted);
}

.quote-step > .enquiry__row + .enquiry__row {
	margin-top: 16px;
}

.quote-step__fields {
	display: grid;
	gap: 16px;
}

/* Choices: a round radio dot (rather than the enquiry form's tick), pink when chosen. */
.quote-form .enquiry__choice .wpcf7-list-item-label {
	gap: 12px;
	padding: 10px 16px;
}

.quote-form .enquiry__choice .wpcf7-list-item-label::before {
	order: -2;
	width: 18px;
	height: 18px;
	border-color: var(--color-on-dark-muted);
}

.quote-form .enquiry__choice input:checked + .wpcf7-list-item-label {
	background: var(--color-pink-100);
	font-weight: 600;
}

.quote-form .enquiry__choice input:checked + .wpcf7-list-item-label::before {
	border: 1.5px solid var(--color-accent);
	border-radius: 50%;
	background: radial-gradient(circle, var(--color-accent) 0 40%, var(--color-white) 45%);
	-webkit-mask: none;
	mask: none;
}

/* Platform logos between the dot and the name. */
.quote-step__platform .wpcf7-list-item-label::after {
	order: -1;
	flex: none;
	width: 0;
	height: 22px;
	background: center / contain no-repeat;
}

.quote-step__platform input[value="WordPress"] + .wpcf7-list-item-label::after {
	content: "";
	width: 22px;
	background-image: url("assets/images/platforms/wordpress.svg");
}

.quote-step__platform input[value="WooCommerce"] + .wpcf7-list-item-label::after {
	content: "";
	width: 30px;
	background-image: url("assets/images/platforms/woocommerce.svg");
}

.quote-step__platform input[value="Shopify"] + .wpcf7-list-item-label::after {
	content: "";
	width: 20px;
	background-image: url("assets/images/platforms/shopify.svg");
}

/* The spam check and button sit below the last step (the form has no gap between its parts). */
.quote-form .wpcf7-turnstile,
.quote-form .wpcf7-turnstile.is-visible {
	margin-top: 0;
}

.quote-form .wpcf7-turnstile.is-visible {
	margin-top: 28px;
}

.quote-form__actions {
	margin-top: 28px;
}

.quote-form__submit {
	box-shadow: var(--shadow-glow);
}

/* Same specificity as the plugin's own rule plus one class, so these spacing values win. */
.quote__card .wpcf7 form .wpcf7-response-output {
	margin: 26px 0 0;
	padding: 12px 14px;
	font-size: 0.9375rem;
	line-height: 1.5;
}

/* Portfolio: filter buttons and project cards. */
.portfolio {
	padding-block: 16px 72px;
}

.portfolio .admin-note {
	margin: 0 0 24px;
}

/* The buttons need JavaScript; without it every project is shown and the buttons are hidden. */
.portfolio__filters {
	display: none;
}

html.js .portfolio__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 32px;
}

.portfolio__filter {
	padding: 9px 16px;
	border: 1.5px solid var(--color-border-strong);
	border-radius: 0;
	background: var(--color-white);
	color: var(--color-ink);
	font-size: 0.9375rem; /* 15px */
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
	transition: border-color var(--transition), background-color var(--transition);
}

.portfolio__filter:hover {
	border-color: var(--color-accent);
}

.portfolio__filter[aria-pressed="true"] {
	border-color: var(--color-accent);
	background: var(--color-accent);
	color: var(--color-white);
}

.portfolio__grid {
	display: grid;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.project {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--color-border);
	background: var(--color-white);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project[hidden] {
	display: none;
}

.project:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 56px rgba(26, 24, 25, 0.12);
}

.project__media {
	display: block;
	background: var(--color-blush);
}

.project-preview,
.project__media img,
.case-preview__panel img {
	display: block;
	width: 100%;
	height: auto;
}

.project__media img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.project__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 20px 26px;
}

.project__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 0.75rem; /* 12px */
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: normal;
	text-transform: uppercase;
}

.project__tag {
	padding: 5px 10px;
	background: var(--color-bg);
	color: var(--color-text);
}

.project__tag--service {
	background: var(--color-pink-100);
	color: var(--color-accent-dark);
}

.project__title {
	margin: 0 0 8px;
	font-size: 1.4375rem; /* 23px */
	line-height: 1.25;
	letter-spacing: 0;
}

.project__text {
	flex: 1;
	margin: 0 0 20px;
	font-size: 1rem;
	line-height: 1.65;
}

.project__link {
	margin: 0;
}

.portfolio__note,
.portfolio__empty {
	max-width: 560px;
	margin: 32px auto 0;
	font-size: var(--fs-small);
	line-height: 1.6;
	text-align: center;
	color: var(--color-muted);
}

.portfolio__empty {
	margin-top: 0;
	font-size: 1rem;
}

/* More card layouts (template-parts/service/card-grid.php). */

/* Numbered cards on a dark section (case study "Our approach"). */
.card-grid--steps .card {
	padding: 26px 22px;
	border-color: var(--color-border-on-dark-soft);
	background: var(--color-ink-raised);
}

.card-grid--steps .card__eyebrow {
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0;
}

.card-grid--steps .card__title {
	font-size: 1.3125rem; /* 21px */
}

/* Cards with a plain icon (soft or tiles, e.g. case study "The solution"). */
.card-grid--soft .card__top--plain {
	margin-bottom: 16px;
}

/* Tiles: the design's icon sits in a 31px line, so 7px more space above the title. */
.card-grid--tiles .card__top--plain {
	margin-bottom: 23px;
}

/* Light grey cards with a border on white (Portfolio "Find the service behind the work"). */
.card-grid--muted {
	gap: 16px;
}

.card-grid--muted .card {
	padding: 24px 22px;
	background: var(--color-bg);
}

.card-grid--muted .card__title {
	margin-bottom: 10px;
	font-weight: 700;
}

.card-grid--muted .card__text {
	margin-bottom: 16px;
	line-height: 1.65;
}

.card-grid--muted .card__link a {
	font-size: 0.9375rem; /* 15px */
}

.card-grid--muted .card__link .icon {
	display: none;
}

/* E-commerce "Shopify or WooCommerce": two cards on a dark band, with a label, title, text and ticks. */
.card-grid--platforms {
	gap: 28px;
}

.card-grid--platforms .card {
	padding: 36px 22px 28px;
}

.card-grid--platforms .card__text:not(:last-child) {
	margin-bottom: 24px;
	color: var(--color-on-dark);
}

.card-grid--platforms .card__list li {
	color: var(--color-white);
}

/* Website development type cards: "Type 01", large bold title, ticks, "Built on …" and a link. */
.card-grid--types {
	gap: 16px;
}

.card-grid--types .card {
	padding: 28px 22px;
}

.card-grid--types .card__eyebrow {
	margin-bottom: 16px;
}

.card-grid--types .card__title {
	font-size: 1.5rem; /* 24px */
	font-weight: 700;
}

.card-grid--types .card__text:not(:last-child) {
	margin-bottom: 20px;
}

.card-grid--types .card__list {
	gap: 12px;
	margin-bottom: 22px;
}

.card-grid--types .card__list li {
	color: var(--color-ink);
}

.card__built-on {
	margin: 0 0 20px;
	font-size: var(--fs-small);
	color: var(--color-muted);
}

.card__built-on strong {
	color: var(--color-ink);
}

/* Comparison details on light grey cards (Website development "Find the website that fits your goal"). */
.card-grid--muted .card__details dt {
	letter-spacing: 0.1em;
	color: var(--color-muted);
}

.card-grid--muted .card__details dd {
	font-size: 1rem;
	line-height: 1.5;
	color: var(--color-ink);
}

/* Phones: cards with a tick, a logo beside the title, comparison details or bold titles are a little shorter. */
@media (max-width: 59.9375em) {
	.card:has(.card__top--tick),
	.card:has(.card__heading),
	.card-grid--muted .card:has(.card__details),
	.card-grid--bold .card {
		padding: 26px 22px;
	}
}

.card-grid--muted .card__details div {
	margin-bottom: 16px;
}

/* "See details" sits 16px under the last detail, as a plain underlined link. */
.card-grid--muted .card__details div:last-child {
	margin-bottom: 0;
}

.card-grid--muted .card__details + .card__link {
	margin-top: 16px;
}

.card-grid--muted .card__details + .card__link a {
	display: inline;
	padding: 0;
	line-height: normal;
}

.card-grid--muted .card__details dt {
	line-height: 1.5;
}

/* Bold card titles (Website development "Already have a website?"). */
.card-grid--bold .card__title {
	margin-bottom: 10px;
	font-size: 1.375rem; /* 22px */
	font-weight: 700;
}

.card-grid--bold .card__text {
	margin-bottom: 18px;
}

.card-grid--bold .card__link a {
	padding-block: 4px;
}

/* Cards with a tick instead of an icon (Corporate websites "Why WordPress"). */
.card__top--tick ~ .card__title {
	font-size: 1.3125rem; /* 21px */
}

/* Case study brief: 17px on phones (18px from 960px, set on the column). */
@media (max-width: 59.9375em) {
	.case-brief__text p {
		font-size: 1.0625rem;
	}
}

/* Featured article: 17px intro on phones too. */
.post-card--featured .post-card__text {
	font-size: 1.0625rem;
}

/* Get a quote: the note under the button is 14px. */
.quote .enquiry__note {
	font-size: var(--fs-small);
}

/* About keeps the earlier phone sizes for its card text (its design was not updated for phones). */
@media (max-width: 59.9375em) {
	.annex1-page-about .card__text,
	.annex1-page-about .link-card__text {
		font-size: 0.9375rem; /* 15px */
	}

	.annex1-page-about .card-grid--2 {
		gap: 16px;
	}
}

/* White cards with a red bar on the left (case study "The result"). */
.card-grid--accent .card {
	padding: 22px 20px;
	border: 0;
	border-left: 4px solid var(--color-accent);
}

.card-grid--accent .card__title {
	margin-bottom: 8px;
}

/* Case study hero: centred badge, headline and intro, the key facts, then the large website preview. */
.case-hero {
	padding-block: 24px 32px;
	background: radial-gradient(60% 120% at 50% 0%, var(--color-pink-100) 0%, rgba(247, 245, 244, 0) 70%);
}

.case-hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
}

.case-hero .hero__badge {
	align-self: center;
}

.case-hero .breadcrumbs {
	margin-bottom: 24px;
}

.case-hero__title {
	margin: 0;
	font-size: clamp(2.125rem, 4.4vw, 3.625rem); /* 34px → 58px */
}

.case-hero__intro {
	max-width: 580px;
	margin: 18px auto 26px;
	line-height: 1.65;
}

/* Key facts: in the wide hero container, lined up with the narrower page column below. */
.case-hero__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	max-width: calc(var(--container-width) - 2 * var(--gutter));
	margin: 32px auto 0;
	padding-top: 28px;
	border-top: 1px solid var(--color-border);
}

.case-hero__facts dt {
	margin: 0 0 6px;
	font-size: 0.75rem; /* 12px */
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.case-hero__facts dd {
	margin: 0;
	font-weight: 600;
	color: var(--color-ink);
}

.case-preview {
	padding-bottom: 72px;
}

.case-preview__panel {
	padding: 16px;
	background: var(--color-blush);
}

/* Case study "The brief": heading, then the page content (side by side on desktop). */
.case-brief {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.case-brief__title {
	margin: 0;
	line-height: 1.12;
}

.case-brief__text > * {
	margin: 0 0 18px;
	line-height: 1.75;
}

.case-brief__text > :last-child {
	margin-bottom: 0;
}

/* Case study client quote. */
.case-quote__figure {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.case-quote__text {
	margin: 0 0 22px;
}

.case-quote__text p {
	margin: 0;
	font-size: 1.375rem; /* 22px */
	font-weight: 500;
	line-height: 1.45;
	color: var(--color-ink);
}

.case-quote__by {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-muted);
}

/* Centred heading and buttons on white, e.g. Testimonials "See the work" (template-parts/service/button-band.php). */
.button-band {
	text-align: center;
}

.button-band__eyebrow {
	justify-content: center;
	margin-bottom: 18px;
}

.button-band__title {
	margin: 0 0 20px;
	line-height: 1.12;
}

.button-band__actions {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* "Want to know more about this service?" strip: the service page and the Portfolio. */
.more-work__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 36px;
}

.more-work__actions {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}

.more-work__title {
	margin: 0;
	font-size: 1.375rem; /* 22px */
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
}

/* Tablets: cards two to a row. */
@media (min-width: 37.5em) {
	.portfolio__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 60em) {
	.page-header {
		padding-block: 80px 56px;
	}

	.page-header .breadcrumbs {
		margin-bottom: 28px;
	}

	.page-header__intro {
		margin-top: 26px;
		margin-bottom: 36px;
		font-size: 1.1875rem; /* 19px */
	}

	.contact--page {
		padding-block: 16px 128px;
	}

	.link-cards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

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

	.section-more.section-more--cards {
		margin-top: 40px;
	}

	.link-card {
		padding: 32px 28px;
	}

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

	.contact-card {
		padding: 32px 28px;
	}

	.contact-card__value {
		font-size: 1.0625rem; /* 17px */
	}

	.process--page.process--bg .process__number {
		box-shadow: 0 0 0 8px var(--color-bg);
	}

	.faq {
		padding-block: 16px 128px;
	}

	.faq__group {
		margin-bottom: 52px;
	}

	.faq__group-title {
		margin-bottom: 20px;
		font-size: 1.75rem; /* 28px */
	}

	.faq__question {
		padding: 22px 28px;
	}

	.faq__question-text {
		font-size: 1.1875rem; /* 19px */
	}

	.faq__answer {
		padding: 0 28px 28px;
		font-size: 1.0625rem; /* 17px */
	}

	.quote {
		padding-bottom: 128px;
	}

	.quote__inner {
		flex-direction: row;
		align-items: flex-start;
		gap: 32px;
	}

	.quote__card {
		flex: 2.4 1 600px;
		padding: 48px;
	}

	/* The panel stays in view beside the long form. */
	.quote__aside {
		position: sticky;
		top: var(--header-offset);
		flex: 1 1 280px;
		padding: 36px 32px;
	}



	.quote-step__title {
		font-size: 1.375rem; /* 22px */
	}

	.quote-step__choice--3 .wpcf7-radio {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.quote-form .wpcf7-turnstile.is-visible {
		margin-top: 36px;
	}

	/* Button and note side by side; the spinner sits between them while sending. */
	.quote-form__actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 24px;
		margin-top: 36px;
	}

	.quote-form__actions .wpcf7-spinner {
		position: static;
		margin: 0 -12px;
	}

	.quote-form__submit {
		min-height: 58px;
	}

	.quote-form__actions .enquiry__note {
		max-width: 340px;
		font-size: var(--fs-small);
	}

	.portfolio {
		padding-block: 24px 128px;
	}

	html.js .portfolio__filters {
		margin-bottom: 44px;
	}

	.portfolio__filter {
		padding: 11px 22px;
		font-size: 0.9375rem;
	}

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

	.project__body {
		padding: 26px 26px 30px;
	}

	.project__title {
		font-size: 1.4375rem; /* 23px */
	}

	.project__text {
		font-size: 1rem;
	}

	.portfolio__note {
		margin-top: 44px;
	}

	.card-grid--steps .card {
		padding: 32px 28px;
	}

	.card-grid--soft .card__top--plain {
		margin-bottom: 22px;
	}

	.card-grid--tiles .card__top--plain {
		margin-bottom: 29px;
	}

	.card-grid--accent .card {
		padding: 28px;
	}

	.card-grid--muted {
		gap: 24px;
	}

	.card-grid--platforms {
		gap: 40px;
	}

	.card-grid--platforms .card {
		padding: 44px 36px;
	}

	.card-grid--types {
		gap: 24px;
	}

	.card-grid--types .card {
		padding: 40px 32px;
	}

	.card-grid--types .card__title {
		font-size: 1.625rem; /* 26px */
	}

	.card-grid--muted .card {
		padding: 32px 28px;
	}

	.case-hero {
		padding-block: 80px 56px;
	}

	.case-hero .breadcrumbs {
		margin-bottom: 28px;
	}

	.case-hero .hero__badge {
		margin-bottom: 24px;
	}

	.case-hero__intro {
		margin-top: 26px;
		margin-bottom: 36px;
		font-size: 1.1875rem; /* 19px */
	}

	.case-hero__facts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 32px;
		margin-top: 56px;
	}

	.case-hero__facts dd {
		font-size: 1.125rem; /* 18px */
	}

	.case-preview {
		padding-bottom: 128px;
	}

	.case-preview__panel {
		padding: 48px;
	}

	.case-brief {
		flex-direction: row;
		gap: 80px;
	}

	.case-brief__heading {
		flex: 1 1 380px;
		min-width: 0;
	}

	.case-brief__text {
		flex: 1.3 1 480px;
		min-width: 0;
		font-size: 1.125rem; /* 18px */
	}

	.case-quote__text p {
		font-size: 1.75rem; /* 28px */
	}

	.more-work__inner {
		padding-block: 56px;
	}

	.button-band__actions {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}

	.more-work__actions {
		flex-direction: row;
		flex-wrap: wrap;
		width: auto;
	}
}

/* ---------- 18. Testimonials, blog and articles ---------- */

/*
 * Same approach as the pages above: phones first, then the desktop design from 960px.
 * Parts are in template-parts/testimonials/, template-parts/blog/ and template-parts/article/; the page header, section heading
 * and call-to-action band are shared with the other pages.
 */

/* Testimonials: large quote on a dark band. */
.testimonial-feature__notice .admin-note {
	margin: 0 0 24px;
}

.testimonial-feature {
	padding-block: 72px;
	text-align: center;
}

.testimonial-feature__figure,
.testimonial-card__figure {
	margin: 0;
}

.testimonial-feature__quote {
	margin: 0 0 28px;
}

.testimonial-feature__quote p {
	margin: 0;
	font-size: 1.375rem; /* 22px */
	font-weight: 500;
	line-height: 1.45;
	color: var(--color-white);
}

.testimonial-feature__name,
.testimonial-feature__role {
	display: block;
}

.testimonial-feature__name {
	font-weight: 600;
	color: var(--color-accent-light);
}

.testimonial-feature__role {
	margin-top: 4px;
	font-size: var(--fs-small);
	color: var(--color-on-dark);
}

/* Testimonials: quote cards. */
.testimonials__grid {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.testimonial-card {
	display: flex;
	padding: 26px 22px;
	border: 1px solid var(--color-border);
	background: var(--color-white);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 56px rgba(26, 24, 25, 0.12);
}

.testimonial-card__figure {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.testimonial-card__mark {
	display: block;
	margin-bottom: 16px;
	color: var(--color-accent);
	opacity: 0.4;
}

.testimonial-card__quote {
	flex: 1;
	margin: 0 0 24px;
}

.testimonial-card__quote p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
}

.testimonial-card__by {
	display: flex;
	align-items: center;
	gap: 14px;
}

.testimonial-card__initials {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--color-pink-100);
	color: var(--color-accent-dark);
	font-size: 0.9375rem;
	font-weight: 700;
}

.testimonial-card__name,
.testimonial-card__role {
	display: block;
}

.testimonial-card__name {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-ink);
}

.testimonial-card__role {
	margin-top: 2px;
	font-size: 0.84375rem; /* 13.5px */
	color: var(--color-muted);
}

/* "Sample content shown as an example…" under the testimonials and the articles; "No articles yet". */
.testimonials__note,
.blog__note,
.blog__empty {
	max-width: 560px;
	margin: 32px auto 0;
	font-size: var(--fs-small);
	line-height: 1.6;
	text-align: center;
	color: var(--color-muted);
}

.blog__empty {
	margin-top: 0;
	font-size: 1rem;
}

/*
 * Blog: filter buttons, featured article and article cards.
 * "section.blog", not ".blog": WordPress also gives <body> the class "blog" on the homepage (it lists the
 * latest posts), and a plain ".blog" would pad the whole page there.
 */
section.blog {
	padding-block: 8px 72px;
}

section.blog .admin-note {
	margin: 0 0 24px;
}

/* The buttons need JavaScript; without it every article is shown and the buttons are hidden. */
.blog__filters {
	display: none;
}

html.js .blog__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 28px;
}

.blog__filter {
	padding: 9px 16px;
	border: 1.5px solid var(--color-border-strong);
	border-radius: 0;
	background: var(--color-white);
	color: var(--color-ink);
	font-size: 0.9375rem; /* 15px */
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
	transition: border-color var(--transition), background-color var(--transition);
}

.blog__filter:hover {
	border-color: var(--color-accent);
}

.blog__filter[aria-pressed="true"] {
	border-color: var(--color-accent);
	background: var(--color-accent);
	color: var(--color-white);
}

.blog__grid {
	display: grid;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog__item {
	display: flex;
}

.blog__item[hidden],
.post-card[hidden] {
	display: none;
}

.post-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	border: 1px solid var(--color-border);
	background: var(--color-white);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 56px rgba(26, 24, 25, 0.12);
}

.post-card--featured {
	margin-bottom: 28px;
}

.post-card__media {
	display: block;
}

.post-art,
.post-card__media img {
	display: block;
	width: 100%;
	height: auto;
}

.post-card__media img {
	aspect-ratio: 480 / 220;
	object-fit: cover;
}

.post-card--featured .post-card__media img {
	aspect-ratio: 480 / 300;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 20px 26px;
}

.post-card--featured .post-card__body {
	padding: 24px 20px 28px;
}

.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 0.75rem; /* 12px */
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: normal;
	text-transform: uppercase;
}

.post-card--featured .post-card__meta {
	margin-bottom: 14px;
}

.post-card__label,
.post-card__tag {
	padding: 5px 10px;
}

.post-card__label {
	background: var(--color-accent);
	color: var(--color-white);
}

.post-card__tag {
	background: var(--color-pink-100);
	color: var(--color-accent-dark);
}

.post-card__time {
	font-size: 0.8125rem; /* 13px */
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--color-muted);
}

.post-card__title {
	margin: 0 0 10px;
	font-size: 1.3125rem; /* 21px */
	line-height: 1.3;
	letter-spacing: 0;
}

.post-card--featured .post-card__title {
	margin-bottom: 12px;
	font-size: 1.5rem; /* 24px */
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.post-card__text {
	flex: 1;
	margin: 0 0 18px;
	font-size: 1rem;
	line-height: 1.65;
}

.post-card--featured .post-card__text {
	flex: none;
	margin-bottom: 22px;
	line-height: 1.7;
}

/* "Coming soon" instead of "Read article" (annex1_article_coming_soon()). */
.post-card__soon {
	margin: 0;
	font-size: var(--fs-small);
	font-weight: 600;
	color: var(--color-muted);
}

.more-articles .more-articles__back {
	margin-top: 36px;
}

.post-card__link {
	margin: 0;
}

/* Tablets: article cards two to a row. */
@media (min-width: 37.5em) {
	.blog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 60em) {
	.testimonial-feature {
		padding-block: 128px;
	}

	.testimonial-feature__quote p {
		font-size: 2rem; /* 32px */
	}

	.testimonial-feature__name {
		font-size: 1rem;
	}

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

	.testimonial-card {
		padding: 34px 30px;
	}

	.testimonial-card__quote p {
		font-size: 1rem;
	}

	.testimonials__note,
	.blog__note {
		margin-top: 36px;
	}

	section.blog {
		padding-block: 16px 128px;
	}

	html.js .blog__filters {
		margin-bottom: 40px;
	}

	.blog__filter {
		padding: 11px 22px;
		font-size: 0.9375rem;
	}

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

	.post-card--featured {
		flex-direction: row;
		flex-wrap: wrap;
		margin-bottom: 40px;
	}

	.post-card--featured .post-card__media {
		flex: 1 1 460px;
		min-width: 0;
	}

	.post-card--featured .post-card__body {
		flex: 1 1 400px;
		justify-content: center;
		min-width: 0;
		padding: 48px 44px;
	}

	.post-card__body {
		padding: 26px 26px 30px;
	}

	.post-card__title {
		font-size: 1.3125rem; /* 21px */
	}

	.post-card--featured .post-card__title {
		font-size: 2rem; /* 32px */
	}

	.post-card__text {
		font-size: 1rem;
	}

	.post-card--featured .post-card__text {
		font-size: 1.0625rem; /* 17px */
	}
}

/* Article (single post): page top with category, title, byline and picture. */
.article-hero {
	background: radial-gradient(60% 120% at 20% 0%, var(--color-pink-100) 0%, rgba(247, 245, 244, 0) 70%);
}

.article-hero__inner {
	padding-block: 24px;
}

.article-hero .breadcrumbs {
	margin-bottom: 24px;
}

.article-hero__notice {
	margin: 0 0 24px;
}

.article-hero__content {
	max-width: 860px;
}

.article-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-size: 0.75rem; /* 12px */
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: normal;
	text-transform: uppercase;
}

.article-hero__meta .post-card__tag {
	padding: 6px 12px;
}

.article-hero__time {
	font-size: var(--fs-small);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--color-muted);
}

/* "Sample article": shown to everyone while the post is marked as a sample. */
.article-hero__sample {
	padding: 5px 11px;
	border: 1px dashed var(--color-accent);
	background: var(--color-white);
	color: var(--color-accent-dark);
}

.article-hero__title {
	margin: 0;
	font-size: 2rem; /* 32px */
	line-height: 1.1;
}

.article-hero__intro {
	margin: 16px 0 0;
	font-size: 1.125rem; /* 18px */
	line-height: 1.65;
}

/* "The Annex 1 team" with a round "A1" badge (also used in the author box). */
.article-byline {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 30px;
}

.article-byline__badge {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--color-accent);
	color: var(--color-white);
	font-size: var(--fs-small);
	font-weight: 700;
}

.article-byline__name,
.article-byline__date {
	margin: 0;
}

.article-byline__name {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-ink);
}

.article-byline__date {
	margin-top: 2px;
	font-size: var(--fs-small);
	color: var(--color-muted);
}

.article-picture {
	padding-bottom: 32px;
}

.article-picture img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 480 / 200;
	object-fit: cover;
}

/*
 * Article text and sidebar. Phones: "In this article", then the text, then the dark box
 * (the sidebar's own box is dissolved so its two parts can sit either side of the text).
 */
.article {
	padding-bottom: 72px;
}

.article__layout {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.article__main {
	order: 2;
	min-width: 0;
	max-width: 760px;
}

.article__sidebar {
	display: contents;
}

.article-toc {
	order: 1;
	width: 100%;
}

.article-cta {
	order: 3;
	width: 100%;
}

/* The article's own text, as written in the editor. */
.article-content {
	color: var(--color-text-strong);
}

.article-content > * {
	margin: 0 0 20px;
}

.article-content p,
.article-content li {
	font-size: 1.0625rem; /* 17px on phones, 18px from 960px */
	line-height: 1.85;
	color: var(--color-text-strong);
}

.article-content h2 {
	margin: 36px 0 16px;
	font-size: 1.5rem; /* 24px */
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.article-content h3 {
	margin: 28px 0 12px;
	font-size: 1.1875rem;
	line-height: 1.3;
	letter-spacing: 0;
}

/* Bulleted lists: a pink ✓ before each item. */
.article-content ul {
	display: grid;
	gap: 12px;
	margin-bottom: 22px;
	padding: 0;
	list-style: none;
}

.article-content ul li {
	display: flex;
	gap: 12px;
	line-height: 1.7;
}

.article-content ul li::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 0.25em;
	background: var(--color-accent-light);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Numbered lists: red numbered circles. A bold first line ("<strong>Title</strong>") is shown as the step title. */
.article-content ol {
	display: grid;
	gap: 18px;
	margin-bottom: 22px;
	padding: 0;
	list-style: none;
	counter-reset: article-step;
}

.article-content ol li {
	position: relative;
	min-height: 36px;
	padding-left: 52px;
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--color-text);
	counter-increment: article-step;
}

.article-content ol li::before {
	content: counter(article-step);
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--color-accent);
	color: var(--color-white);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
}

.article-content ol li > strong:first-child {
	display: block;
	margin-bottom: 4px;
	font-size: 1.1875rem; /* 19px */
	font-weight: 600;
	line-height: 1.5;
	color: var(--color-ink);
}

.article-content a {
	color: var(--color-accent-dark);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

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

/*
 * "Good to know" note (Group block with the "Note" style): the first line is the small red label.
 * Classic themes wrap the block's contents in .wp-block-group__inner-container, so paragraphs are matched at any depth.
 */
.article-content .is-style-note {
	margin: 30px 0;
	padding: 20px;
	border-left: 4px solid var(--color-accent);
	background: var(--color-pink-100);
}

.article-content .is-style-note p {
	margin: 0;
	font-size: 1.0625rem; /* 17px */
	line-height: 1.75;
}

.article-content .is-style-note p:first-child {
	margin-bottom: 6px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--color-accent-dark);
}

/* Share buttons. "Copy link" needs JavaScript and stays hidden without it. */
.article-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 44px;
	padding-top: 24px;
	border-top: 1px solid var(--color-border);
}

.article-share__label {
	margin: 0 6px 0 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-muted);
}

.article-share__button {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	border: 1.5px solid var(--color-border-strong);
	border-radius: 0;
	background: var(--color-white);
	color: var(--color-ink);
	font-family: var(--font-sans);
	font-size: var(--fs-small);
	font-weight: 600;
	cursor: pointer;
	transition: border-color var(--transition);
}

.article-share__button:hover {
	border-color: var(--color-accent);
}

.article-share__copy:not(.is-ready) {
	display: none;
}

/* Author box under the article: on the page background, so it blends in as in the design. */
.article-author {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 28px;
	padding: 20px;
	background: var(--color-bg);
}

.article-author__badge {
	width: 56px;
	height: 56px;
	font-size: 1.0625rem;
}

.article-author__name,
.article-author__text {
	margin: 0;
}

.article-author__name {
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--color-ink);
}

.article-author__text {
	margin-top: 4px;
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* Sidebar: "In this article" links. */
.article-toc {
	padding: 18px 20px 6px;
	border: 1px solid var(--color-border);
	background: var(--color-white);
}

.article-toc__title {
	margin: 0 0 8px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-accent-dark);
}

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

.article-toc__list a {
	display: flex;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid var(--color-border-soft);
	font-size: 0.9375rem;
	line-height: 1.4;
	color: var(--color-text);
}

.article-toc__list li:last-child a {
	border-bottom: 0;
}

.article-toc__list a:hover {
	color: var(--color-accent-dark);
}

.article-toc__number {
	min-width: 22px;
	font-weight: 600;
	color: var(--color-accent);
}

/* Sidebar: dark "Get a quote" box. */
.article-cta {
	padding: 24px 22px;
	background: var(--color-ink);
	color: var(--color-bg);
}

.article-cta__title {
	margin: 0 0 10px;
	font-size: 1.25rem; /* 20px */
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-white);
}

.article-cta__text {
	margin: 0 0 20px;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--color-on-dark);
}

.article-cta__button {
	min-height: 50px;
	padding: 0 24px;
	font-size: 0.9375rem;
}

.article-cta__link {
	margin: 18px 0 0;
}

.article-cta__link a {
	border-bottom: 2px solid currentColor;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-accent-light);
}

/* "Keep reading / More articles". */
.more-articles .more-articles__intro {
	margin-bottom: 28px;
}

@media (min-width: 60em) {
	.article-hero__inner {
		padding-block: 64px 40px;
	}

	.article-hero .breadcrumbs {
		margin-bottom: 28px;
	}

	.article-hero__title {
		font-size: clamp(2.25rem, 4.4vw, 3.625rem); /* 36px → 58px */
	}

	.article-hero__intro {
		margin-top: 22px;
		font-size: 1.25rem; /* 20px */
	}

	.article-picture {
		padding-bottom: 56px;
	}

	.article {
		padding-bottom: 128px;
	}

	/* Text on the left; the sidebar on the right stays in view while scrolling. */
	.article__layout {
		flex-direction: row;
		align-items: flex-start;
		gap: 72px;
	}

	.article__main {
		order: 0;
		flex: 1 1 560px;
	}

	.article__sidebar {
		position: sticky;
		top: var(--header-offset);
		display: grid;
		flex: 0 0 320px;
		gap: 20px;
		width: 320px;
	}

	.article-content p,
	.article-content li {
		font-size: 1.125rem; /* 18px */
	}

	.article-content h2 {
		margin: 48px 0 16px;
		font-size: 1.875rem; /* 30px */
	}

	.article-content ol li {
		font-size: 1.0625rem; /* 17px */
	}

	.article-content ol li > strong:first-child {
		font-size: 1.1875rem; /* 19px */
	}

	.article-content .is-style-note {
		padding: 26px 30px;
	}

	.article-content .is-style-note p {
		font-size: 1.0625rem;
	}

	.article-content .is-style-note p:first-child {
		font-size: 0.75rem;
	}

	.article-author {
		margin-top: 36px;
		padding: 26px 30px;
	}

	.article-toc {
		padding: 24px 24px 12px;
	}

	.article-cta {
		padding: 30px 26px;
	}
}

/* ---------- 19. Legal pages, page not found and thank you ---------- */

/*
 * Privacy Policy and Terms of Service (template-parts/legal/page.php): page top on a soft pink glow,
 * then "On this page" and the page text. Phones first; the desktop design from 960px.
 */
.legal-hero {
	padding-block: 24px 28px;
	background: radial-gradient(60% 120% at 20% 0%, var(--color-pink-100) 0%, rgba(247, 245, 244, 0) 70%);
}

.legal-hero .breadcrumbs {
	margin-bottom: 24px;
}

.legal-hero__content {
	display: flex;
	flex-direction: column;
	max-width: 760px;
}

.legal-hero__title {
	margin: 0;
	font-size: 2.125rem; /* 34px */
}

.legal-hero__intro {
	margin: 16px 0 0;
	font-size: 1rem;
	line-height: 1.65;
}

.legal-hero__updated {
	margin: 20px 0 0;
	font-size: var(--fs-small);
	color: var(--color-muted);
}

.legal {
	padding-block: 8px 72px;
}

.legal__layout {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* "On this page": the article sidebar's links (.article-toc), full width above the text on phones. */
.legal__toc {
	order: 0; /* .article-toc moves itself; here it stays first, as in the HTML. */
	width: 100%;
	padding: 20px 20px 8px;
}

.legal__toc .article-toc__list a {
	padding-block: 9px;
}

.legal__toc .article-toc__number {
	min-width: 26px;
}

/* "Questions? Contact us or read our …": white band under the legal text. */
.legal-more {
	padding-block: 32px;
	border-top: 1px solid var(--color-border);
	background: var(--color-white);
}

.legal-more__text {
	margin: 0;
	font-size: 1rem;
}

.legal-more__text a {
	font-weight: 600;
	text-decoration: underline;
	color: var(--color-accent-dark);
}

.legal-more__text a:hover {
	color: var(--color-ink);
}

/* The page text, as written in the editor. Each h2 is numbered: "1. Who we are". */
.legal-content {
	min-width: 0;
	max-width: 760px;
	counter-reset: legal-section;
}

.legal-content > * {
	margin: 0 0 18px;
}

.legal-content p,
.legal-content li {
	font-size: 1.0625rem; /* 17px, as on desktop */
	line-height: 1.8;
	color: var(--color-text);
}

.legal-content h2 {
	margin: 50px 0 14px; /* The design's 32px section gap plus the paragraph's 18px (margins overlap) */
	font-size: 1.375rem; /* 22px */
	line-height: 1.5;
	letter-spacing: -0.01em;
}

.legal-content > h2:first-child {
	margin-top: 0;
}

.legal-content h2::before {
	counter-increment: legal-section;
	content: counter(legal-section) ". ";
	color: var(--color-accent);
}

/* Bulleted lists: pink ticks, as in the articles. */
.legal-content ul {
	display: grid;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.legal-content ul li {
	display: flex;
	gap: 12px;
	line-height: 1.7;
}

.legal-content ul li::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 0.25em;
	background: var(--color-accent-light);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.legal-content a {
	font-weight: 600;
	color: var(--color-accent-dark);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.legal-content a:hover {
	color: var(--color-ink);
}

/* Keep phone numbers on one line. */
.legal-content a[href^="tel:"],
.thanks__contact a[href^="tel:"] {
	white-space: nowrap;
}

/*
 * Page not found (404.php) and Thank you (page-thank-you.php): centred on a soft pink glow,
 * with buttons stacked full width on phones and side by side from 960px.
 */
.status-page {
	background: radial-gradient(60% 90% at 50% 20%, var(--color-pink-100) 0%, rgba(247, 245, 244, 0) 70%);
}

.status-page--thanks {
	background: radial-gradient(60% 90% at 50% 10%, var(--color-pink-100) 0%, rgba(247, 245, 244, 0) 70%);
}

.status-page__inner {
	max-width: 760px;
	padding-block: 56px 72px;
	text-align: center;
}

.status-page--thanks .status-page__inner {
	max-width: 1000px;
}

.status-page__title {
	margin: 20px 0 0;
	font-size: 1.875rem; /* 30px */
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.status-page__intro {
	max-width: 520px;
	margin: 16px auto 0;
	font-size: 1rem;
	line-height: 1.65;
}

.status-page__actions {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 32px 0 36px;
}

/* The big "404", with the 0 in red. Decorative: the heading below says the same. */
.not-found__code {
	margin: 0;
	font-size: 6.875rem; /* 110px */
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--color-ink);
}

.not-found__code span {
	color: var(--color-accent);
}

/* Links to the main pages, one per row on phones and two per row from 960px. */
.not-found__links {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.not-found__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid var(--color-border);
	background: var(--color-white);
	font-weight: 600;
	color: var(--color-ink);
	transition: border-color var(--transition);
}

.not-found__link svg {
	flex: none;
	color: var(--color-accent);
}

.not-found__link:hover {
	border-color: var(--color-accent);
}

/* Thank you: green tick, the three next steps and a line with the email and phone. */
.thanks__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	margin: 0 auto 28px;
	border-radius: 50%;
	background: var(--color-success-soft);
	color: var(--color-success);
}

.thanks__icon svg {
	width: 40px;
	height: 40px;
}

.thanks__title {
	margin: 0;
	font-size: 2.125rem; /* 34px */
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.thanks__intro {
	max-width: 560px;
	margin-top: 20px;
}

.thanks__steps {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin: 36px 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.thanks__step {
	padding: 22px 20px;
	border: 1px solid var(--color-border);
	background: var(--color-white);
}

.thanks__step-number {
	margin: 0 0 12px;
	font-size: 0.9375rem; /* 15px */
	font-weight: 700;
	color: var(--color-accent);
}

.thanks__step-title {
	margin: 0 0 8px;
	font-size: 1.25rem; /* 20px */
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0;
}

.thanks__step-text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
}

.status-page--thanks .status-page__actions {
	margin: 0;
}

.thanks__contact {
	margin: 32px 0 0;
	line-height: 1.6;
	font-size: 0.9375rem; /* 15px */
	color: var(--color-muted);
}

.thanks__contact a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.thanks__contact a:hover {
	color: var(--color-ink);
}

@media (min-width: 60em) {
	.legal-hero {
		padding-block: 64px 44px;
	}

	.legal-hero .breadcrumbs {
		margin-bottom: 28px;
	}

	.legal-hero .hero__badge {
		margin-bottom: 24px;
	}

	.legal-hero__title {
		font-size: clamp(2.25rem, 4.4vw, 3.625rem); /* 36px → 58px */
	}

	.legal-hero__intro {
		margin-top: 20px;
		font-size: 1.1875rem; /* 19px */
	}

	.legal {
		padding-block: 16px 112px;
	}

	.legal-more {
		padding-block: 40px;
	}

	/* "On this page" on the left, staying in view while scrolling; the text on the right. */
	.legal__layout {
		flex-direction: row;
		align-items: flex-start;
		gap: 72px;
	}

	.legal__toc {
		position: sticky;
		top: var(--header-offset);
		flex: 0 0 280px;
		width: 280px;
		padding: 26px 26px 14px;
	}

	.legal__toc .article-toc__number {
		min-width: 22px;
	}

	.legal-content {
		flex: 1 1 520px;
		padding-bottom: 40px; /* The design's space after the last section */
	}

	.legal-content p,
	.legal-content li {
		font-size: 1.0625rem; /* 17px */
	}

	.legal-content h2 {
		margin-top: 58px; /* 40px section gap plus 18px */
		font-size: 1.625rem; /* 26px */
	}

	.status-page__inner {
		padding-block: 112px 136px;
	}

	.status-page--thanks .status-page__inner {
		padding-block: 104px 128px;
	}

	.status-page__title {
		margin-top: 28px;
		font-size: 2.5rem; /* 40px */
	}

	.status-page__intro {
		font-size: 1.125rem; /* 18px */
	}

	.status-page__actions {
		flex-direction: row;
		justify-content: center;
		margin: 32px 0 48px;
	}

	.status-page__actions .btn {
		min-height: 58px;
	}

	.not-found__code {
		font-size: 12.5rem; /* 200px */
	}

	.not-found__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.not-found__link {
		padding: 18px 22px;
	}

	.thanks__icon {
		width: 96px;
		height: 96px;
	}

	.thanks__icon svg {
		width: 48px;
		height: 48px;
	}

	.thanks__title {
		margin: 0;
		font-size: clamp(2.25rem, 4.4vw, 3.625rem); /* 36px → 58px */
	}

	.thanks__intro {
		margin-top: 20px;
		font-size: 1.1875rem; /* 19px */
	}

	.thanks__steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 22px;
		margin: 52px 0;
	}

	.thanks__step {
		padding: 28px 26px;
	}

	.thanks__step-title {
		font-size: 1.25rem; /* 20px */
	}

	.thanks__step-text {
		font-size: 1rem;
	}

}

/* ---------- 20. Homepage sections (Home v3) ---------- */

/*
 * Homepage sections below the hero (template-parts/home/). They use the shared section spacing
 * (.page-section), headings (.section-intro, .eyebrow) and cards from other pages; the rules here
 * cover what is new. Phones first; the desktop design from 960px.
 */

/* Hero (template-parts/home/hero.php): the Home v3 sizes, on top of the shared .hero rules in section 10. */
.hero--home {
	padding-block: 24px 64px;
}

.hero--home .hero__title {
	font-size: 2.125rem; /* 34px */
}

/* Built on platforms you can trust: white strip under the hero. */
.home-platforms {
	padding-block: 36px;
	border-block: 1px solid var(--color-border);
	background: var(--color-white);
}

.home-platforms__title {
	margin: 0 0 8px;
	font-size: 0.75rem; /* 12px */
	font-weight: 600;
	letter-spacing: 0.14em;
	text-align: center;
	text-transform: uppercase;
	color: var(--color-muted);
}

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

.home-platform {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px 0;
}

.home-platform + .home-platform {
	border-top: 1px solid var(--color-border);
}

.home-platform__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: var(--color-pink-100);
	color: var(--color-accent);
}

.home-platform__name {
	display: block;
	font-size: 1.1875rem; /* 19px */
	font-weight: 600;
	line-height: normal;
	color: var(--color-ink);
}

.home-platform__text {
	display: block;
	margin-top: 2px;
	font-size: 0.9375rem; /* 15px */
	line-height: 1.5;
	color: var(--color-text);
}

/*
 * The Home design keeps the earlier phone sizes for the cards it shares with other pages
 * (other pages now use slightly larger text). From 960px the sizes are the same everywhere.
 */
@media (max-width: 59.9375em) {
	.home-service .eyebrow {
		font-size: var(--fs-eyebrow);
	}

	.home-work .project__title,
	.home-blog .post-card__title {
		font-size: 1.3125rem; /* 21px */
	}

	.home-blog .post-card__title {
		font-size: 1.1875rem; /* 19px */
	}

	.home-work .project__text,
	.home-blog .post-card__text,
	.site-main--home .testimonial-card__quote p,
	.home-faq .faq__answer {
		font-size: 0.9375rem; /* 15px */
	}

	.home-faq .faq__question-text {
		font-size: 1rem;
	}

	.home-faq .faq__answer {
		padding: 0 20px 22px;
	}

	.site-main--home .process__step-title {
		font-size: 1.375rem; /* 22px */
	}

	.site-main--home .process__step-text {
		font-size: 1rem;
	}
}

/* Centred "See all …" link under a section's cards. */
.section-more {
	margin: 32px 0 0;
	text-align: center;
}

/* What we do: a wide Website development card, then the revamp and migration cards. */
.home-service {
	display: flex;
	flex-direction: column;
	padding: 22px 22px 28px;
	border: 1px solid var(--color-border);
	background: var(--color-white);
}

.home-service .eyebrow {
	margin-bottom: 14px;
}

.home-service__title {
	margin: 0 0 12px;
	font-size: 1.5rem; /* 24px */
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.home-service__text {
	flex: 1;
	margin: 0 0 24px;
	font-size: 0.9375rem; /* 15px */
	line-height: 1.7;
}

.home-service__link {
	margin: 0;
}

.home-service__media {
	margin-bottom: 24px;
	padding: 14px;
	background: var(--color-blush);
}

.home-service__picture {
	display: block;
	width: 100%;
	height: auto;
}

.home-service--wide {
	gap: 28px;
	padding: 28px 22px;
}

.home-service--wide .eyebrow {
	margin-bottom: 16px;
}

.home-service--wide .home-service__title {
	margin-bottom: 16px;
	font-size: 1.75rem; /* 28px */
	line-height: 1.1;
}

.home-service--wide .home-service__text {
	max-width: 440px;
	margin-bottom: 28px;
	font-size: 1rem;
}

.home-service__button {
	width: 100%;
	text-align: left; /* The label wraps onto two lines on phones; the design keeps it left-aligned. */
}

/* The three website types, each a row linking to its page. */
.home-service__types {
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-service__types li + li {
	border-top: 1px solid var(--color-border);
}

.home-type {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 0;
	color: var(--color-ink);
}

.home-type__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--color-pink-100);
	color: var(--color-accent);
}

.home-type__body {
	flex: 1;
	min-width: 0;
}

.home-type__title {
	display: block;
	margin-bottom: 4px;
	font-size: 1.0625rem; /* 17px */
	font-weight: 600;
	line-height: 1.3;
}

.home-type__text {
	display: block;
	font-size: var(--fs-small);
	line-height: 1.55;
	color: var(--color-text);
}

.home-type > .icon {
	flex: none;
	color: var(--color-accent);
}

.home-type:hover .home-type__title {
	color: var(--color-accent-dark);
}

.home-services__pair {
	display: grid;
	gap: 20px;
	margin-top: 20px;
}

/* Why Annex 1, After launch and FAQ: text on one side, a panel on the other (stacked on phones). */
.home-split {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.home-split__text {
	min-width: 0;
}

.home-split__title {
	margin: 0 0 20px;
	line-height: 1.12;
}

.home-split__intro {
	max-width: 500px;
	margin: 0 0 24px;
	font-size: 1rem;
	line-height: 1.65;
}

/* Why Annex 1: dark band; the reasons in a slightly lighter panel. */
.home-why__inner {
	gap: 44px;
}

.home-why .home-split__title {
	margin-bottom: 18px;
	line-height: 1.1;
}

.home-why .home-split__intro {
	margin-bottom: 28px;
}

.home-split__button {
	width: 100%;
}

.home-why__panel {
	display: grid;
	gap: 22px;
	margin: 0;
	padding: 28px 22px;
	border: 1px solid var(--color-border-on-dark-soft);
	background: var(--color-ink-raised);
	list-style: none;
}

.home-why__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.home-why__item .icon {
	flex: none;
	color: var(--color-icon);
}

.home-why__title {
	display: block;
	font-size: 1.0625rem; /* 17px */
	font-weight: 600;
	line-height: 1.4;
	color: var(--color-white);
}

.home-why__text {
	display: block;
	margin-top: 4px;
	font-size: 0.9375rem; /* 15px */
	line-height: 1.6;
	color: var(--color-on-dark);
}

/* After launch: pink ticks, and the Care plans "This month" card with square corners. */
.home-care__list {
	gap: 14px;
	margin-bottom: 28px;
	--color-icon: var(--color-accent-light);
}

.home-care__card .hero-card {
	gap: 12px;
	padding: 22px;
	border-radius: 0;
}

.home-care__card .hero-card__list {
	gap: 12px;
}

.home-care__card .hero-card__item {
	gap: 14px;
	padding: 14px 16px;
}

/* FAQ: the FAQ page's open/close boxes. */
.home-faq__inner {
	gap: 32px;
}

.home-faq__list {
	min-width: 0;
}

@media (min-width: 60em) {
	.hero--home {
		padding-block: 104px 112px;
	}

	.hero--home .hero__title {
		font-size: clamp(2.25rem, 4.4vw, 3.625rem); /* 36px → 58px */
	}

	.hero--home .hero__media {
		flex: 1.1 1 460px;
	}

	.home-platforms {
		padding-block: 52px;
	}

	.home-platforms__title {
		margin-bottom: 28px;
		font-size: var(--fs-eyebrow);
	}

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

	.home-platform {
		padding: 0 8px;
	}

	.home-platform + .home-platform {
		border-top: 0;
	}

	.section-more {
		margin-top: 44px;
	}

	.home-service {
		padding: 28px 28px 36px;
	}

	.home-service__title {
		font-size: 1.75rem; /* 28px */
	}

	.home-service__text {
		font-size: 1.0625rem; /* 17px */
	}

	.home-service__media {
		margin-bottom: 28px;
		padding: 18px;
	}

	/* Text on the left, the website types on the right. */
	.home-service--wide {
		flex-direction: row;
		align-items: center;
		gap: 64px;
		padding: 52px;
	}

	.home-service__main {
		flex: 1 1 320px;
		min-width: 0;
	}

	.home-service__types {
		flex: 1.2 1 380px;
		min-width: 0;
	}

	.home-service--wide .home-service__title {
		font-size: 2.5rem; /* 40px */
	}

	.home-service--wide .home-service__text {
		font-size: 1.125rem; /* 18px */
	}

	.home-service__button {
		width: auto;
		min-height: 56px;
		padding: 0 28px;
	}

	.home-type {
		gap: 20px;
		padding: 24px 0;
	}

	.home-type__icon {
		width: 56px;
		height: 56px;
	}

	.home-type__title {
		font-size: 1.1875rem; /* 19px */
	}

	.home-type__text {
		font-size: 0.9375rem; /* 15px */
	}

	.home-services__pair {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
		margin-top: 28px;
	}

	.home-split {
		flex-direction: row;
		align-items: center;
		gap: 88px;
	}

	.home-split__text {
		flex: 1 1 420px;
	}

	.home-split__intro {
		font-size: 1.125rem; /* 18px */
	}

	.home-why__inner {
		gap: 96px;
	}

	.home-why .home-split__intro {
		margin-bottom: 36px;
	}

	.home-split__button {
		width: auto;
		min-height: 58px;
	}

	.home-why__panel {
		flex: 1.1 1 460px;
		gap: 28px;
		padding: 40px 36px;
	}

	.home-care__list {
		margin-bottom: 36px;
	}

	.home-care__card {
		flex: 1 1 420px;
		min-width: 0;
	}

	.home-care__card .hero-card {
		padding: 36px;
	}

	.home-care__card .hero-card__item {
		padding: 18px 22px;
	}

	.home-faq__inner {
		align-items: flex-start;
		gap: 80px;
	}

	.home-faq .home-split__text {
		flex: 1 1 340px;
	}

	.home-faq__list {
		flex: 1.6 1 520px;
	}
}

/* ---------- 21. Accessibility ---------- */

/* Clear red outline for keyboard users (not shown on mouse clicks). */
:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 3px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline-width: 2px;
	outline-offset: 1px;
	border-color: var(--color-accent);
}

/* Hide text visually but keep it readable by screen readers. */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Show the skip link when it receives keyboard focus. */
.skip-link:focus {
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	margin: 0;
	clip: auto;
	background: var(--color-white);
	color: var(--color-ink);
	font-weight: 600;
}

/* ---------- 22. Reduced motion ---------- */

/* Smooth scrolling only for visitors who have not asked their device to reduce motion. */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

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

	.btn:hover,
	.enquiry__submit:hover,
	.card:hover,
	.plan:hover,
	.contact-card:hover,
	.project:hover,
	.testimonial-card:hover,
	.post-card:hover {
		transform: none;
	}
}
