/*!
 * Verdant — core stylesheet
 *
 * 1.  Design tokens
 * 2.  Reset & base
 * 3.  Accessibility utilities
 * 4.  Layout primitives
 * 5.  Typography
 * 6.  Buttons & badges
 * 7.  Header
 * 8.  Mobile navigation & search overlay
 * 9.  Page header & breadcrumbs
 * 10. Sections & cards
 * 11. Blog, sidebar & comments
 * 12. Search results & 404
 * 13. Pagination
 * 14. Forms
 * 15. Footer
 * 16. Back to top
 * 17. WordPress core classes
 * 18. Motion & print
 *
 * Written mobile-first. Layout is fluid rather than device-specific: every
 * grid uses auto-fit/minmax so 320px, 390px, 430px, 768px, 1024px, 1280px and
 * 1440px viewports are all handled by the same rules.
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	/* Brand — overridden inline from the Customizer. */
	--color-primary: #1f7a4d;
	--color-primary-dark: #185f3c;
	--color-primary-darker: #123f28;
	--color-primary-light: #e9f4ee;
	--color-primary-tint: #f3f9f6;
	--color-primary-border: #b9dcc9;
	--color-primary-text: #1a6a43;
	--color-on-primary: #ffffff;
	--color-secondary: #0f2f22;
	--color-secondary-light: #1b4433;
	--color-on-secondary: #ffffff;
	--color-primary-rgb: 31 122 77;

	/*
	 * Neutrals. Warm, paper-like sand tones rather than cool greys: against a
	 * deep green they read as considered and expensive, where a blue-grey
	 * reads as a default UI kit.
	 */
	--color-background: #ffffff;
	--color-canvas: #faf8f4;
	--color-surface: #f5f2eb;
	--color-surface-alt: #ebe5d9;
	--color-text: #14201a;
	--color-text-muted: #5b6a62;
	/* The quietest text tone the palette allows: still 4.6:1 on white, because
	   labels and metadata are set small and must clear WCAG AA. */
	--color-text-soft: #6b7872;
	--color-border: #e7e2d7;
	--color-border-strong: #d3ccbd;
	--color-rule: #ded8cb;
	--color-danger: #a4262c;
	--color-success: #1f7a4d;
	--color-gold: #b08d3f;

	/*
	 * Typography. Two stacks, no web fonts: an old-style serif carries the
	 * editorial voice (headlines, quotes, product names) while a neutral
	 * grotesque handles interface text. Both resolve to fonts already on the
	 * device, so the first paint is instant and there is no FOUT.
	 */
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--font-serif: "Hoefler Text", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Sitka Text", Georgia, "Times New Roman", serif;
	--font-heading: var(--font-serif);

	/* Type scale — restrained at the top end; headings earn presence from
	   weight, tracking and measure rather than sheer size. */
	--fs-2xs: 0.6875rem;
	--fs-xs: 0.78125rem;
	--fs-sm: 0.9375rem;
	--fs-base: clamp(1rem, 0.98rem + 0.1vw, 1.0625rem);
	--fs-lg: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
	--fs-xl: clamp(1.1875rem, 1.11rem + 0.35vw, 1.375rem);
	--fs-h6: 0.9375rem;
	--fs-h5: 1.0625rem;
	--fs-h4: clamp(1.125rem, 1.07rem + 0.28vw, 1.3125rem);
	--fs-h3: clamp(1.3125rem, 1.21rem + 0.52vw, 1.625rem);
	--fs-h2: clamp(1.625rem, 1.38rem + 1.18vw, 2.375rem);
	--fs-h1: clamp(2rem, 1.63rem + 1.85vw, 3rem);
	--fs-display: clamp(2.25rem, 1.62rem + 3.1vw, 3.75rem);

	--lh-display: 1.06;
	--lh-tight: 1.12;
	--lh-heading: 1.2;
	--lh-snug: 1.4;
	--lh-base: 1.68;

	--ls-display: -0.02em;
	--ls-heading: -0.012em;
	--ls-label: 0.14em;

	/* Optical measures — line length is a design token, not an afterthought. */
	--measure: 34rem;
	--measure-wide: 44rem;
	--measure-narrow: 26rem;

	/* Spacing */
	--space-2xs: 0.25rem;
	--space-xs: 0.5rem;
	--space-sm: 0.75rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2rem;
	--space-2xl: 3rem;
	--space-3xl: 4.5rem;
	--space-section: clamp(3.5rem, 2rem + 5.5vw, 6.5rem);

	/* Layout */
	--container: 1240px;
	--container-narrow: 760px;
	--container-wide: 1440px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--header-h: 62px;
	--topbar-h: 0px;

	/* Shape — near-square. Radius is used to soften an edge, never to style. */
	--radius-xs: 2px;
	--radius-sm: 3px;
	--radius: 4px;
	--radius-lg: 6px;
	--radius-pill: 999px;

	/* Shadow is depth of field, not decoration: long, soft and almost invisible. */
	--shadow-sm: 0 1px 2px rgb(20 32 26 / 5%);
	--shadow-md: 0 14px 34px -22px rgb(20 32 26 / 40%);
	--shadow-lg: 0 34px 70px -34px rgb(20 32 26 / 42%);

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--t-fast: 160ms;
	--t: 260ms;
	--t-slow: 520ms;
	--transition: var(--t-fast) var(--ease);
	--ring: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-primary);
}

@media (min-width: 1024px) {
	:root {
		--header-h: 72px;
	}
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%; /* Stop Safari inflating text in landscape. */
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip; /* Kills any accidental horizontal scroll on phones. */
	overflow-wrap: break-word;
	-webkit-tap-highlight-color: rgb(var(--color-primary-rgb) / 12%);
}

.vrd-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh; /* Safari's dynamic toolbar no longer clips the footer. */
}

.vrd-site__main {
	flex: 1 0 auto;
}

.vrd-site__main:focus {
	outline: none;
}

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

img {
	border-radius: inherit;
}

svg {
	flex: none;
}

a {
	color: var(--color-primary-text);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color var(--transition);
}

a:hover {
	color: var(--color-primary-dark);
}

/*
 * A single underline treatment for inline links inside body copy: the rule
 * sits on the baseline in a hairline and thickens on hover, instead of the
 * browser default jumping between states.
 */
.vrd-prose a:not([class]),
.vrd-entry a:not([class]) {
	text-decoration: underline;
	text-decoration-color: var(--color-primary-border);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: text-decoration-color var(--transition), color var(--transition);
}

.vrd-prose a:not([class]):hover,
.vrd-entry a:not([class]):hover {
	text-decoration-color: currentColor;
}

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

button {
	cursor: pointer;
	touch-action: manipulation; /* No 300ms tap delay on iOS. */
}

ul,
ol {
	padding-left: 1.15em;
}

hr {
	border: 0;
	border-top: 1px solid var(--color-border);
	margin: var(--space-xl) 0;
}

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

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

/* On dark ground the green outline disappears, so switch to the paper colour. */
.vrd-section--dark :focus-visible,
.vrd-footer :focus-visible,
.vrd-hero :focus-visible,
.vrd-cta:not(.vrd-cta--soft) :focus-visible {
	outline-color: #fff;
}

::selection {
	background: var(--color-primary-light);
	color: var(--color-primary-darker);
}

/* ==========================================================================
   3. Accessibility utilities
   ========================================================================== */

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

.vrd-skip-link {
	position: absolute;
	top: -100px;
	left: var(--space-md);
	z-index: 999;
	padding: 0.75rem 1.25rem;
	background: var(--color-primary);
	color: var(--color-on-primary);
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	font-weight: 600;
	text-decoration: none;
	transition: top var(--transition);
}

.vrd-skip-link:focus {
	top: 0;
	color: var(--color-on-primary);
}

[hidden] {
	display: none !important;
}

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

.vrd-container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	/* max() keeps content clear of the notch in landscape on iPhone. */
	padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.vrd-container--narrow {
	max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}

.vrd-container--wide {
	max-width: calc(var(--container-wide) + var(--gutter) * 2);
}

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

.vrd-section--tight {
	padding-block: calc(var(--space-section) * 0.62);
}

.vrd-section--flush-top {
	padding-top: 0;
}

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

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

.vrd-section--tint {
	background: var(--color-primary-tint);
}

.vrd-section--dark {
	background: var(--color-secondary);
	color: var(--color-on-secondary);
}

/*
 * Two plain sections in a row would read as one long block, so a hairline
 * separates them. Where a section carries its own ground (`--canvas`,
 * `--surface`, `--tint`, `--dark`) the colour change is the separation and no
 * rule is drawn.
 */
.vrd-section:not([class*="--"]) + .vrd-section:not([class*="--"]) {
	border-top: 1px solid var(--color-rule);
}

/* Headings carry an explicit colour, so dark sections have to reset them. */
.vrd-section--dark h1,
.vrd-section--dark h2,
.vrd-section--dark h3,
.vrd-section--dark h4,
.vrd-section--dark .vrd-section-head__title {
	color: var(--color-on-secondary);
}

.vrd-section--dark .vrd-eyebrow {
	color: rgb(255 255 255 / 78%);
}

.vrd-section--dark .vrd-section-head__subtitle,
.vrd-section--dark .vrd-muted {
	color: rgb(255 255 255 / 70%);
}

.vrd-grid {
	display: grid;
	gap: var(--space-lg);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min-col, 17rem)), 1fr));
}

.vrd-grid--2 {
	--min-col: 20rem;
}

.vrd-grid--4 {
	--min-col: 14rem;
}

.vrd-grid--tight {
	gap: var(--space-md);
}

.vrd-grid--gapless {
	gap: 0;
}

.vrd-split {
	display: grid;
	gap: clamp(var(--space-xl), 5vw, 4.5rem);
	align-items: center;
}

@media (min-width: 900px) {
	.vrd-split {
		grid-template-columns: 1fr 1fr;
	}

	.vrd-split--wide-text {
		grid-template-columns: 1.05fr 1fr;
	}

	/* Media first in the source for screen readers, second on screen. */
	.vrd-split--reverse > :first-child {
		order: 2;
	}

	.vrd-split--top {
		align-items: start;
	}
}

.vrd-stack > * + * {
	margin-top: var(--space-md);
}

/* Small spacing and measure utilities, used instead of inline styles. */
.vrd-mt-md {
	margin-top: var(--space-md);
}

.vrd-mt-lg {
	margin-top: var(--space-lg);
}

.vrd-mt-xl {
	margin-top: var(--space-xl);
}

.vrd-mb-xl {
	margin-bottom: var(--space-xl);
}

.vrd-measure {
	max-width: var(--measure-wide);
}

.vrd-measure--center {
	max-width: var(--measure);
	margin-inline: auto;
}

/* A hairline used to open or close an editorial block. */
.vrd-rule {
	height: 1px;
	margin: 0;
	border: 0;
	background: var(--color-rule);
}

/*
 * Editorial figure. Images are framed by their ratio and a hairline rather
 * than a rounded card, and the caption sits under the rule like print.
 */
.vrd-figure {
	position: relative;
	margin: 0;
	background: var(--color-surface-alt);
	overflow: hidden;
}

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

.vrd-figure--portrait {
	aspect-ratio: 4 / 5;
}

.vrd-figure--square {
	aspect-ratio: 1 / 1;
}

.vrd-figure--landscape {
	aspect-ratio: 3 / 2;
}

.vrd-figure--wide {
	aspect-ratio: 16 / 9;
}

/*
 * Product grid. Fluid by default, then locked to the column count chosen in
 * the Customizer once there is room for it. Used by the homepage, archives,
 * the Products template, related products and the 404 page.
 */
.vrd-products-grid {
	display: grid;
	gap: var(--space-lg);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

@media (min-width: 1024px) {
	.vrd-products-grid {
		grid-template-columns: repeat(var(--product-cols, 3), minmax(0, 1fr));
	}
}

/*
 * Filter pills. Server-side links — crawlable, instant, no JavaScript. The row
 * scrolls horizontally on phones instead of wrapping into a tall block.
 */
.vrd-filters {
	display: flex;
	gap: var(--space-xs);
	margin: 0 0 var(--space-lg);
	padding: 0 0 var(--space-2xs);
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scroll-padding-inline: var(--gutter);
}

.vrd-filters::-webkit-scrollbar {
	display: none;
}

.vrd-filters__link {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	min-height: 44px;
	padding: 0.55rem 1.1rem;
	white-space: nowrap;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--color-background);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.vrd-filters__link:hover {
	border-color: var(--color-text);
	color: var(--color-text);
}

.vrd-filters__link[aria-current="true"] {
	background: var(--color-secondary);
	border-color: var(--color-secondary);
	color: #fff;
}

.vrd-filters__count {
	font-size: var(--fs-2xs);
	font-weight: 500;
	letter-spacing: 0.04em;
	opacity: 0.6;
}

.vrd-filters-wrap {
	margin-bottom: var(--space-lg);
}

/* ==========================================================================
   5. Typography
   ========================================================================== */

/*
 * Headings are set in the serif at a single regular weight: hierarchy comes
 * from size, measure and colour, which is how print sets a page and why it
 * reads as considered rather than shouted.
 */
h1,
h2,
h3,
h4 {
	margin: 0 0 var(--space-sm);
	font-family: var(--font-heading);
	font-weight: 400;
	line-height: var(--lh-heading);
	letter-spacing: var(--ls-heading);
	color: var(--color-text);
	text-wrap: balance;
}

/* h5 / h6 are interface headings, so they take the sans and act as labels. */
h5,
h6 {
	margin: 0 0 var(--space-xs);
	font-family: var(--font-sans);
	font-weight: 600;
	line-height: var(--lh-snug);
	color: var(--color-text);
}

h1 {
	font-size: var(--fs-h1);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-display);
}

h2 {
	font-size: var(--fs-h2);
	line-height: var(--lh-tight);
}

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

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

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

h6 {
	font-size: var(--fs-h6);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

p {
	margin: 0 0 var(--space-md);
}

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

.vrd-lead {
	max-width: var(--measure-wide);
	font-size: var(--fs-lg);
	line-height: 1.6;
	color: var(--color-text-muted);
	text-wrap: pretty;
}

.vrd-muted {
	color: var(--color-text-muted);
}

/* Label: the sans counterpart to the serif headings. Used for eyebrows,
   categories, meta and anything that names rather than says. */
.vrd-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75em;
	margin: 0 0 var(--space-sm);
	font-family: var(--font-sans);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: var(--color-primary-text);
}

.vrd-eyebrow::before {
	content: "";
	width: 1.5rem;
	height: 1px;
	background: currentColor;
	opacity: 0.7;
}

.vrd-eyebrow--bare::before {
	display: none;
}

.vrd-section-head {
	max-width: var(--measure-wide);
	margin-bottom: clamp(var(--space-xl), 3.5vw, 3.25rem);
}

.vrd-section-head--center {
	max-width: var(--measure);
	margin-inline: auto;
	text-align: center;
}

.vrd-section-head--center .vrd-eyebrow {
	justify-content: center;
}

.vrd-section-head__title {
	margin-bottom: var(--space-sm);
}

.vrd-section-head__subtitle {
	margin: 0;
	font-size: var(--fs-lg);
	line-height: 1.6;
	color: var(--color-text-muted);
	text-wrap: pretty;
}

/*
 * Split header: title on the left, a single action on the right. Breaks the
 * centred-heading rhythm on listing sections without adding a new component.
 */
.vrd-section-head--split {
	display: grid;
	gap: var(--space-md);
	max-width: none;
	align-items: end;
}

@media (min-width: 860px) {
	.vrd-section-head--split {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: var(--space-2xl);
	}

	.vrd-section-head--split .vrd-section-head__body {
		max-width: var(--measure-wide);
	}

	.vrd-section-head--split .vrd-section-head__aside {
		padding-bottom: 0.35rem;
	}
}

.vrd-section-head + .vrd-section-actions {
	margin-top: calc(var(--space-lg) * -1);
}

.vrd-section-actions {
	margin-top: clamp(var(--space-xl), 3vw, 3rem);
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	justify-content: center;
}

.vrd-section-actions--start {
	justify-content: flex-start;
}

/*
 * The same link appears beside the heading on desktop and under the grid on
 * phones, where a heading row has no room for an action. Only one is ever
 * shown, so there is no duplicate target for assistive technology to read.
 */
.vrd-section-head__aside--desktop {
	display: none;
}

.vrd-section-actions--mobile {
	display: flex;
}

@media (min-width: 860px) {
	.vrd-section-head__aside--desktop {
		display: block;
	}

	.vrd-section-actions--mobile {
		display: none;
	}
}

/* Rich text coming from the editor. */
.vrd-prose {
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	text-wrap: pretty;
}

.vrd-prose > * + * {
	margin-top: var(--space-md);
}

.vrd-prose h2 {
	margin-top: clamp(var(--space-xl), 4vw, 2.75rem);
	font-size: var(--fs-h3);
}

.vrd-prose h3 {
	margin-top: var(--space-xl);
	font-size: var(--fs-h4);
}

.vrd-prose h4 {
	margin-top: var(--space-lg);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	font-weight: 600;
	letter-spacing: 0;
}

.vrd-prose ul,
.vrd-prose ol {
	padding-left: 1.15em;
}

.vrd-prose li + li {
	margin-top: 0.4em;
}

.vrd-prose li::marker {
	color: var(--color-primary);
}

.vrd-prose img,
.vrd-prose figure {
	border-radius: var(--radius-xs);
}

/* Pull quote: serif, no box, opened by a hairline. */
.vrd-prose blockquote {
	margin: clamp(var(--space-lg), 3vw, 2.5rem) 0;
	padding: var(--space-lg) 0 0;
	border: 0;
	border-top: 1px solid var(--color-primary);
	background: none;
	border-radius: 0;
	font-family: var(--font-heading);
	font-size: var(--fs-xl);
	font-style: normal;
	line-height: 1.45;
	letter-spacing: var(--ls-heading);
	color: var(--color-text);
}

.vrd-prose blockquote cite {
	display: block;
	margin-top: var(--space-sm);
	font-family: var(--font-sans);
	font-size: var(--fs-xs);
	font-style: normal;
	font-weight: 600;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.vrd-prose table {
	display: block;
	overflow-x: auto;
	white-space: nowrap;
}

.vrd-prose th,
.vrd-prose td {
	padding: 0.65rem 0.9rem;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
}

.vrd-prose code {
	padding: 0.15em 0.4em;
	background: var(--color-surface-alt);
	border-radius: 4px;
	font-size: 0.9em;
}

.vrd-prose pre {
	padding: var(--space-md);
	background: var(--color-secondary);
	color: #e8f1ec;
	border-radius: var(--radius);
	overflow-x: auto;
}

/* ==========================================================================
   6. Buttons & badges
   ========================================================================== */

/*
 * One button system, three weights of emphasis plus a text link. Labels are
 * set in the sans in small caps with generous tracking, which keeps them
 * short, legible and unmistakably part of the interface rather than the copy.
 */
.vrd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65em;
	min-height: 46px; /* Comfortable touch target on phones. */
	padding: 0.8rem 1.6rem;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	background: var(--color-primary);
	color: var(--color-on-primary);
	font-family: var(--font-sans);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	touch-action: manipulation;
	transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t-fast) var(--ease);
}

/* The arrow leans into the direction of travel. Scoped to the arrow itself, so
   a phone or download glyph in a button stays put. */
.vrd-btn .vrd-icon--arrow-right {
	transition: transform var(--t) var(--ease);
}

.vrd-btn:hover .vrd-icon--arrow-right {
	transform: translateX(3px);
}

.vrd-btn:hover {
	color: var(--color-on-primary);
	background: var(--color-primary-dark);
	box-shadow: var(--shadow-md);
}

.vrd-btn:active {
	transform: translateY(1px);
	box-shadow: none;
}

.vrd-btn--sm {
	min-height: 40px;
	padding: 0.55rem 1.1rem;
	font-size: var(--fs-2xs);
	letter-spacing: 0.09em;
}

.vrd-btn--lg {
	min-height: 54px;
	padding: 1rem 2rem;
	font-size: var(--fs-sm);
	letter-spacing: 0.09em;
	text-transform: none;
}

.vrd-btn--secondary {
	background: transparent;
	border-color: var(--color-border-strong);
	color: var(--color-text);
	box-shadow: none;
}

.vrd-btn--secondary:hover {
	background: transparent;
	border-color: var(--color-text);
	color: var(--color-text);
	box-shadow: none;
}

.vrd-btn--ghost {
	background: var(--color-primary-light);
	color: var(--color-primary-text);
	box-shadow: none;
}

.vrd-btn--ghost:hover {
	background: var(--color-primary-border);
	color: var(--color-primary-darker);
	box-shadow: none;
}

.vrd-btn--white {
	background: #fff;
	color: var(--color-primary-text);
	box-shadow: none;
}

.vrd-btn--white:hover {
	background: #fff;
	color: var(--color-primary-text);
	box-shadow: var(--shadow-md);
}

/*
 * Text button. The underline is drawn rather than inherited so it can grow
 * from the left on hover — the one flourish the button system allows itself.
 */
.vrd-btn--link {
	min-height: 0;
	padding: 0.25rem 0;
	background: none;
	border: 0;
	color: var(--color-primary-text);
	text-decoration: none;
	text-transform: none;
	font-size: var(--fs-sm);
	letter-spacing: 0.01em;
	box-shadow: none;
}

.vrd-btn--link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--t) var(--ease);
}

.vrd-btn--link {
	position: relative;
}

.vrd-btn--link:hover {
	background: none;
	color: var(--color-primary-dark);
	box-shadow: none;
}

.vrd-btn--link:hover::after {
	transform: scaleX(1);
}

.vrd-btn--block {
	width: 100%;
}

/* Dark grounds: outline buttons need a light edge to survive. */
.vrd-section--dark .vrd-btn--secondary,
.vrd-cta:not(.vrd-cta--soft) .vrd-btn--secondary,
.vrd-hero .vrd-btn--secondary {
	border-color: rgb(255 255 255 / 45%);
	color: #fff;
}

.vrd-section--dark .vrd-btn--secondary:hover,
.vrd-cta:not(.vrd-cta--soft) .vrd-btn--secondary:hover,
.vrd-hero .vrd-btn--secondary:hover {
	border-color: #fff;
	background: rgb(255 255 255 / 10%);
	color: #fff;
}

.vrd-cta:not(.vrd-cta--soft) .vrd-btn--ghost,
.vrd-hero .vrd-btn--ghost {
	background: rgb(255 255 255 / 14%);
	color: #fff;
}

.vrd-cta:not(.vrd-cta--soft) .vrd-btn--ghost:hover,
.vrd-hero .vrd-btn--ghost:hover {
	background: rgb(255 255 255 / 24%);
	color: #fff;
}

/* Badge: a typographic label, not a pill. */
.vrd-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	min-height: 24px; /* WCAG 2.2 target size minimum when the badge is a link. */
	padding: 0.32rem 0.6rem;
	border: 1px solid var(--color-primary-border);
	border-radius: var(--radius-xs);
	background: var(--color-background);
	color: var(--color-primary-text);
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.3;
	text-decoration: none;
}

.vrd-badge--muted {
	border-color: var(--color-border-strong);
	background: transparent;
	color: var(--color-text-muted);
}

a.vrd-badge:hover {
	border-color: var(--color-primary);
	color: var(--color-primary-text);
}

.vrd-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--color-text);
	transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.vrd-icon-btn:hover {
	border-color: var(--color-border);
	background: var(--color-surface);
	color: var(--color-primary-text);
}

/* ==========================================================================
   7. Header
   ========================================================================== */

.vrd-header {
	position: relative;
	background: var(--color-background);
}

/*
 * The bar is the sticky element, and its height never changes. A sticky box
 * still occupies its place in normal flow, so animating its height would move
 * every section below it while the reader is scrolling — which is exactly the
 * judder this avoids. The header still shrinks: the utility strip above simply
 * scrolls out of view.
 */
.vrd-header__bar {
	position: relative;
	z-index: 100;
	background: var(--color-background);
	/* Clears the notch / Dynamic Island when the bar is pinned under it. */
	padding-top: env(safe-area-inset-top);
	border-bottom: 1px solid var(--color-rule);
	transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}

.vrd-header__bar--sticky {
	position: sticky;
	top: 0;
}

/* The only thing that changes on scroll is a whisper of shadow. */
.vrd-header.is-stuck .vrd-header__bar {
	box-shadow: 0 1px 0 var(--color-rule), 0 10px 30px -24px rgb(20 32 26 / 45%);
	border-bottom-color: transparent;
}

.vrd-topbar {
	display: none;
	background: var(--color-secondary);
	color: rgb(255 255 255 / 76%);
	font-size: var(--fs-2xs);
	letter-spacing: 0.04em;
}

@media (min-width: 1024px) {
	.vrd-topbar {
		display: block;
	}
}

.vrd-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	min-height: 36px;
}

.vrd-topbar__contact,
.vrd-topbar__social {
	display: flex;
	align-items: center;
	gap: var(--space-xl);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vrd-topbar__social {
	gap: var(--space-2xs);
}

.vrd-topbar a {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: 24px; /* WCAG 2.2 target size minimum. */
	color: inherit;
	text-decoration: none;
	transition: color var(--transition);
}

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

.vrd-topbar__social a {
	width: 28px;
	height: 28px;
	justify-content: center;
	border-radius: var(--radius-xs);
}

.vrd-topbar__social a:hover {
	background: rgb(255 255 255 / 12%);
}

/*
 * Header bar. A three-track grid so the navigation is optically centred in the
 * viewport regardless of how wide the logo or the actions happen to be —
 * a flex row would push it off-centre the moment either side changed.
 */
.vrd-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	min-height: var(--header-h);
}

@media (min-width: 1024px) {
	.vrd-header__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		gap: var(--space-lg);
	}

	.vrd-header__inner > .vrd-brand {
		justify-self: start;
	}

	.vrd-header__inner > .vrd-nav {
		justify-self: center;
	}

	.vrd-header__inner > .vrd-header__actions {
		justify-self: end;
	}
}

/* Branding */
.vrd-brand {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.vrd-brand .custom-logo-link {
	display: block;
	line-height: 0;
}

.vrd-brand img {
	width: auto;
	max-height: 40px;
	object-fit: contain;
}

@media (min-width: 1024px) {
	.vrd-brand img {
		max-height: 46px;
	}
}

.vrd-brand__link {
	text-decoration: none;
	color: inherit;
}

/* Wordmark: the serif, spaced out, as a brand mark rather than a heading. */
.vrd-brand__name {
	display: block;
	font-family: var(--font-heading);
	font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.4375rem);
	font-weight: 400;
	letter-spacing: 0.02em;
	color: var(--color-text);
	line-height: 1.15;
}

.vrd-brand__tagline {
	display: none;
	margin-top: 0.15rem;
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-text-soft);
}

@media (min-width: 768px) {
	.vrd-brand__tagline {
		display: block;
	}
}

/* Primary navigation */
.vrd-nav {
	display: none;
}

@media (min-width: 1024px) {
	.vrd-nav {
		display: block;
	}
}

.vrd-menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vrd-menu > li {
	position: relative;
}

/*
 * Everything below is scoped to `.vrd-nav`. The same menu is rendered twice —
 * once in the bar and once in the mobile panel — and both lists carry
 * `.vrd-menu`, so unscoped rules here would win on specificity inside the
 * panel and undo its styling.
 */
.vrd-nav .vrd-menu > li > a,
.vrd-nav .vrd-menu > li > .vrd-menu__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	padding: 0.6rem 0.85rem;
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--transition);
}

/*
 * The active/hover state is a hairline under the label. No pill, no background
 * swap — the bar stays quiet while the pointer moves across it.
 */
.vrd-nav .vrd-menu > li > a::after,
.vrd-nav .vrd-menu > li > .vrd-menu__link::after {
	content: "";
	position: absolute;
	left: 0.85rem;
	right: 0.85rem;
	bottom: 0.3rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transition: transform var(--t) var(--ease);
}

.vrd-nav .vrd-menu > li > a:hover,
.vrd-nav .vrd-menu > li.current-menu-item > a,
.vrd-nav .vrd-menu > li.current-menu-ancestor > a,
.vrd-nav .vrd-menu > li.current_page_item > a,
.vrd-nav .vrd-menu > li.current-menu-parent > a {
	color: var(--color-primary-text);
}

.vrd-nav .vrd-menu > li > a:hover::after,
.vrd-nav .vrd-menu > li > a:focus-visible::after,
.vrd-nav .vrd-menu > li.current-menu-item > a::after,
.vrd-nav .vrd-menu > li.current-menu-ancestor > a::after,
.vrd-nav .vrd-menu > li.current_page_item > a::after,
.vrd-nav .vrd-menu > li.current-menu-parent > a::after {
	transform: scaleX(1);
}

/* Desktop dropdowns */
.vrd-nav .vrd-menu .vrd-has-children > .vrd-submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-left: -0.5rem;
	padding: 0;
	border: 0;
	border-radius: var(--radius-xs);
	background: none;
	color: inherit;
	transition: transform var(--transition);
}

.vrd-nav .vrd-menu > .vrd-has-children > .vrd-submenu-toggle[aria-expanded="true"] {
	transform: rotate(180deg);
}

.vrd-submenu {
	position: absolute;
	top: calc(100% + 0.25rem);
	left: 0;
	z-index: 20;
	min-width: 15rem;
	margin: 0;
	padding: 0.4rem;
	list-style: none;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.vrd-nav .vrd-menu > li:focus-within > .vrd-submenu,
.vrd-nav .vrd-menu > li > .vrd-submenu-toggle[aria-expanded="true"] + .vrd-submenu,
.vrd-nav .vrd-menu > li.is-open > .vrd-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
	/* Hover is an enhancement only: the toggle button always works. */
	.vrd-nav .vrd-menu > li:hover > .vrd-submenu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
}

.vrd-submenu a {
	display: block;
	padding: 0.6rem 0.75rem;
	border-radius: var(--radius-xs);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: var(--fs-sm);
	text-decoration: none;
	transition: background-color var(--transition), color var(--transition), padding-left var(--transition);
}

.vrd-submenu a:hover,
.vrd-submenu .current-menu-item > a {
	background: var(--color-primary-tint);
	color: var(--color-primary-text);
	padding-left: 1rem;
}

/* Header actions */
.vrd-header__actions {
	display: flex;
	align-items: center;
	gap: var(--space-2xs);
}

/* A hairline divides the utility icons from the call to action. */
.vrd-header__cta {
	display: none;
	margin-left: var(--space-sm);
}

@media (min-width: 768px) {
	.vrd-header__cta {
		display: inline-flex;
		position: relative;
	}

	.vrd-header__cta::before {
		content: "";
		position: absolute;
		left: calc(var(--space-sm) * -1);
		top: 50%;
		width: 1px;
		height: 22px;
		background: var(--color-rule);
		transform: translateY(-50%);
	}
}

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

@media (min-width: 1024px) {
	.vrd-menu-toggle {
		display: none;
	}
}

.vrd-menu-toggle__icon {
	position: relative;
	display: block;
	width: 22px;
	height: 16px;
}

.vrd-menu-toggle__icon span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.vrd-menu-toggle__icon span:nth-child(1) {
	top: 0;
}

.vrd-menu-toggle__icon span:nth-child(2) {
	top: 7px;
}

.vrd-menu-toggle__icon span:nth-child(3) {
	top: 14px;
}

.vrd-menu-toggle[aria-expanded="true"] .vrd-menu-toggle__icon span:nth-child(1) {
	top: 7px;
	transform: rotate(45deg);
}

.vrd-menu-toggle[aria-expanded="true"] .vrd-menu-toggle__icon span:nth-child(2) {
	opacity: 0;
}

.vrd-menu-toggle[aria-expanded="true"] .vrd-menu-toggle__icon span:nth-child(3) {
	top: 7px;
	transform: rotate(-45deg);
}

/* ==========================================================================
   8. Mobile navigation & search overlay
   ========================================================================== */

.vrd-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 200;
}

.vrd-mobile-nav__backdrop,
.vrd-search-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(10 24 18 / 45%);
	opacity: 0;
	transition: opacity var(--transition);
}

.vrd-mobile-nav.is-open .vrd-mobile-nav__backdrop,
.vrd-search-overlay.is-open .vrd-search-overlay__backdrop {
	opacity: 1;
}

.vrd-mobile-nav__panel {
	position: absolute;
	inset-block: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(92vw, 25rem);
	background: var(--color-background);
	box-shadow: var(--shadow-lg);
	transform: translateX(100%);
	transition: transform 240ms cubic-bezier(0.2, 0, 0.2, 1);
	/* Respect the notch, the home indicator and landscape safe areas. */
	padding-top: env(safe-area-inset-top);
	padding-bottom: env(safe-area-inset-bottom);
	padding-right: env(safe-area-inset-right);
	overscroll-behavior: contain;
}

.vrd-mobile-nav.is-open .vrd-mobile-nav__panel {
	transform: translateX(0);
}

.vrd-mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-lg);
	border-bottom: 1px solid var(--color-border);
	min-height: var(--header-h);
}

.vrd-mobile-nav__title {
	font-family: var(--font-sans);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.vrd-mobile-nav__body {
	flex: 1 1 auto;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: var(--space-md) var(--space-lg) var(--space-xl);
}

.vrd-mobile-nav__search {
	margin-bottom: var(--space-md);
}

.vrd-menu--mobile {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vrd-menu--mobile li {
	position: relative;
	border-bottom: 1px solid var(--color-rule);
}

.vrd-menu--mobile > li > a,
.vrd-menu--mobile .vrd-menu__link {
	display: block;
	padding: 1rem 3rem 1rem 0;
	color: var(--color-text);
	font-family: var(--font-heading);
	font-size: var(--fs-xl);
	font-weight: 400;
	letter-spacing: var(--ls-heading);
	line-height: 1.25;
	text-decoration: none;
}

.vrd-menu--mobile .current-menu-item > a,
.vrd-menu--mobile .current_page_item > a,
.vrd-menu--mobile .current-menu-ancestor > a {
	color: var(--color-primary-text);
}

.vrd-menu--mobile .vrd-submenu-toggle {
	position: absolute;
	top: 0.3rem;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	color: var(--color-text);
	transition: transform var(--transition), background-color var(--transition);
}

.vrd-menu--mobile .vrd-submenu-toggle[aria-expanded="true"] {
	transform: rotate(180deg);
	background: var(--color-primary-light);
	color: var(--color-primary-text);
}

.vrd-menu--mobile .vrd-submenu {
	position: static;
	display: none;
	min-width: 0;
	margin: 0 0 var(--space-sm);
	padding: 0 0 0 var(--space-md);
	border: 0;
	border-left: 2px solid var(--color-primary-border);
	border-radius: 0;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
	background: none;
}

.vrd-menu--mobile .vrd-submenu.is-open {
	display: block;
}

.vrd-menu--mobile .vrd-submenu li {
	border-bottom: 0;
}

.vrd-menu--mobile .vrd-submenu a {
	padding: 0.7rem 0;
	font-size: var(--fs-sm);
	font-weight: 500;
}

.vrd-mobile-nav__foot {
	display: grid;
	gap: var(--space-xs);
	padding: var(--space-md) var(--space-lg);
	border-top: 1px solid var(--color-border);
	background: var(--color-surface);
}

.vrd-mobile-nav__contact {
	display: flex;
	align-items: center;
	gap: 0.6em;
	min-height: 44px;
	color: var(--color-text);
	font-size: var(--fs-sm);
	font-weight: 600;
	text-decoration: none;
}

.vrd-mobile-nav__contact svg {
	color: var(--color-primary);
}

/* Search overlay */
.vrd-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 210;
}

.vrd-search-overlay__inner {
	position: absolute;
	inset-inline: 0;
	top: 0;
	padding: calc(env(safe-area-inset-top) + var(--space-lg)) 0 var(--space-xl);
	background: var(--color-background);
	box-shadow: var(--shadow-lg);
	transform: translateY(-100%);
	transition: transform 240ms cubic-bezier(0.2, 0, 0.2, 1);
}

.vrd-search-overlay.is-open .vrd-search-overlay__inner {
	transform: translateY(0);
}

.vrd-search-overlay__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--space-md);
}

.vrd-search-overlay__title {
	margin: 0;
	font-size: var(--fs-h3);
}

.vrd-search-overlay__hint {
	margin: var(--space-sm) 0 0;
	font-size: var(--fs-sm);
	color: var(--color-text-muted);
}

/* Search form */
.vrd-search-form__row {
	display: flex;
	align-items: stretch;
	gap: var(--space-xs);
}

.vrd-search-form__input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 48px;
	padding: 0.7rem 1rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-sm);
	background: var(--color-background);
	/* 16px minimum stops iOS Safari zooming the page on focus. */
	font-size: 16px;
	appearance: none;
	-webkit-appearance: none;
}

.vrd-search-form__input:focus {
	border-color: var(--color-primary);
	outline: none;
	box-shadow: var(--ring);
}

.vrd-search-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
	padding: 0 1rem;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--color-primary);
	color: var(--color-on-primary);
	transition: background-color var(--transition);
}

.vrd-search-form__submit:hover {
	background: var(--color-primary-dark);
}

/* Scroll lock applied while a panel is open. */
body.vrd-scroll-locked {
	position: fixed;
	inset-inline: 0;
	width: 100%;
	overflow: hidden;
}

/* ==========================================================================
   9. Page header & breadcrumbs
   ========================================================================== */

/*
 * Page header system.
 *
 * One structure, four compositions. Every inner page gets the same
 * breadcrumb → label → title → lead rhythm, but the ground under it changes
 * with the job: quiet canvas for editorial pages, a split for pages with a
 * long introduction, an image for pages that have one, and a bare breadcrumb
 * rail for views whose own hero comes next (products, posts).
 */
.vrd-page-header {
	position: relative;
	padding-block: clamp(2.25rem, 4.5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
	background: var(--color-canvas);
	border-bottom: 1px solid var(--color-rule);
}

.vrd-page-header__label {
	display: inline-flex;
	align-items: center;
	margin: 0 0 var(--space-sm);
	font-family: var(--font-sans);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: var(--color-primary-text);
}

.vrd-page-header__title {
	margin: 0;
	max-width: 20ch;
	font-size: var(--fs-h1);
	line-height: var(--lh-tight);
}

.vrd-page-header__subtitle {
	margin: var(--space-md) 0 0;
	max-width: 52ch;
	font-size: var(--fs-lg);
	line-height: 1.6;
	color: var(--color-text-muted);
	text-wrap: pretty;
}

.vrd-page-header__search {
	max-width: 32rem;
	margin-top: var(--space-lg);
}

.vrd-page-header__meta {
	margin-top: var(--space-md);
}

/* Centred variant, kept for archives that genuinely read better symmetrically. */
.vrd-page-header--center {
	text-align: center;
}

.vrd-page-header--center .vrd-breadcrumbs__list {
	justify-content: center;
}

.vrd-page-header--center .vrd-page-header__title,
.vrd-page-header--center .vrd-page-header__subtitle {
	margin-inline: auto;
}

.vrd-page-header--center .vrd-page-header__search {
	margin-inline: auto;
}

/*
 * Split: title on the left, supporting copy on the right, divided by the grid
 * gap rather than a box. Falls back to a single column under 900px.
 */
@media (min-width: 900px) {
	.vrd-page-header--split:not(.vrd-page-header--no-aside) .vrd-page-header__inner {
		display: grid;
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		gap: clamp(var(--space-xl), 5vw, 4.5rem);
		align-items: end;
	}

	.vrd-page-header--split .vrd-page-header__title {
		max-width: 14ch;
		font-size: var(--fs-display);
		line-height: var(--lh-display);
	}

	.vrd-page-header--split .vrd-page-header__subtitle {
		margin-top: 0;
		padding-bottom: 0.4rem;
	}
}

/* Compact: a breadcrumb rail only, for views that provide their own hero. */
.vrd-page-header--compact {
	padding-block: var(--space-md);
	background: var(--color-background);
}

.vrd-page-header--compact .vrd-breadcrumbs {
	margin-bottom: 0;
}

/* Image-backed: the picture is the ground, the type sits on a soft wash. */
.vrd-page-header--media {
	background: var(--color-secondary);
	border-bottom: 0;
	color: #fff;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(3rem, 7vw, 6rem);
}

.vrd-page-header__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.vrd-page-header__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vrd-page-header--media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgb(8 24 17 / 55%) 0%, rgb(8 24 17 / 78%) 100%);
}

@media (min-width: 900px) {
	.vrd-page-header--media::after {
		background: linear-gradient(95deg, rgb(8 24 17 / 82%) 0%, rgb(8 24 17 / 45%) 70%, rgb(8 24 17 / 30%) 100%);
	}
}

.vrd-page-header--media .vrd-page-header__inner {
	max-width: 44rem;
}

.vrd-page-header--media .vrd-page-header__title {
	max-width: 16ch;
	font-size: var(--fs-display);
	line-height: var(--lh-display);
	letter-spacing: var(--ls-display);
}

.vrd-page-header--media .vrd-page-header__title,
.vrd-page-header--media .vrd-breadcrumbs [aria-current="page"] {
	color: #fff;
}

.vrd-page-header--media .vrd-page-header__subtitle {
	color: rgb(255 255 255 / 80%);
}

.vrd-page-header--media .vrd-page-header__label {
	color: rgb(255 255 255 / 82%);
}

.vrd-page-header--media .vrd-breadcrumbs a,
.vrd-page-header--media .vrd-breadcrumbs__list {
	color: rgb(255 255 255 / 70%);
}

.vrd-page-header--media .vrd-breadcrumbs a:hover {
	color: #fff;
}

.vrd-page-header--media .vrd-breadcrumbs__sep {
	color: rgb(255 255 255 / 40%);
}

.vrd-breadcrumbs {
	margin-bottom: var(--space-md);
	font-family: var(--font-sans);
	font-size: var(--fs-xs);
	letter-spacing: 0.04em;
}

.vrd-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--color-text-soft);
}

.vrd-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.vrd-breadcrumbs a {
	display: inline-flex;
	align-items: center;
	min-height: 24px; /* WCAG 2.2 target size minimum. */
	color: inherit;
	text-decoration: none;
	transition: color var(--transition);
}

.vrd-breadcrumbs a:hover {
	color: var(--color-primary-text);
}

.vrd-breadcrumbs__sep {
	color: var(--color-border-strong);
}

.vrd-breadcrumbs [aria-current="page"] {
	color: var(--color-text);
}

/* ==========================================================================
   10. Sections & cards
   ========================================================================== */

/*
 * Cards.
 *
 * There is deliberately no shared "card" surface. A product, an article and a
 * category are three different kinds of object, so each is composed
 * differently: the base class only handles the click target and the image
 * behaviour, and every visual decision belongs to the modifier.
 */
.vrd-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: none;
	border: 0;
	border-radius: 0;
	overflow: visible;
}

/*
 * Ratio system. Every registered image size is a 4:3 hard crop, so the tallest
 * frame that can be asked for without eating the sides of a photograph is a
 * square. Products and categories take that square plate; editorial imagery
 * takes 3:2. Nothing is cropped past what the source can carry.
 */
.vrd-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--color-surface-alt);
	overflow: hidden;
	border-radius: var(--radius-xs);
}

.vrd-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--t-slow) var(--ease-out);
}

.vrd-card__img--placeholder {
	object-fit: contain;
	padding: 18%;
	opacity: 0.4;
}

@media (hover: hover) {
	.vrd-card:hover .vrd-card__img,
	.vrd-card:focus-within .vrd-card__img {
		transform: scale(1.045);
	}
}

/* A hairline wash on hover keeps the crop feeling intentional rather than
   like a picture that simply grew. */
.vrd-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgb(20 32 26 / 0%);
	transition: background-color var(--t) var(--ease);
	pointer-events: none;
}

@media (hover: hover) {
	.vrd-card:hover .vrd-card__media::after {
		background: rgb(20 32 26 / 6%);
	}
}

.vrd-card__badge {
	position: absolute;
	top: var(--space-sm);
	left: var(--space-sm);
	z-index: 2;
	background: rgb(255 255 255 / 94%);
	border-color: transparent;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.vrd-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: var(--space-2xs);
	padding: var(--space-md) 0 0;
}

.vrd-card__cat {
	display: inline-flex;
	align-items: center;
	min-height: 24px; /* WCAG 2.2 target size minimum. */
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: var(--color-text-soft);
	text-decoration: none;
	transition: color var(--transition);
}

.vrd-card__cat:hover {
	color: var(--color-primary-text);
}

.vrd-card__title {
	margin: 0.15rem 0 0;
	font-family: var(--font-heading);
	font-size: var(--fs-h4);
	font-weight: 400;
	letter-spacing: var(--ls-heading);
	line-height: 1.25;
}

.vrd-card__title a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 0% 1px;
	background-position: 0 100%;
	transition: background-size var(--t) var(--ease);
}

@media (hover: hover) {
	.vrd-card:hover .vrd-card__title a {
		background-size: 100% 1px;
	}
}

/* Whole card clickable, keyboard focus still lands on the real link. */
.vrd-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.vrd-card__text {
	margin: var(--space-2xs) 0 0;
	color: var(--color-text-muted);
	font-size: var(--fs-sm);
	line-height: 1.6;
	text-wrap: pretty;
}

.vrd-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-sm);
	margin-top: auto;
	padding-top: var(--space-md);
}

.vrd-card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: var(--color-primary-text);
	text-decoration: none;
}

.vrd-card__more svg {
	transition: transform var(--t) var(--ease);
}

@media (hover: hover) {
	.vrd-card:hover .vrd-card__more svg {
		transform: translateX(4px);
	}
}

/*
 * Product: a tall crop and a quiet caption, the way a catalogue plate is set.
 * The foot rule ties the column together without drawing a box.
 */
.vrd-card--product .vrd-card__foot {
	padding-top: var(--space-sm);
	border-top: 1px solid transparent;
	transition: border-color var(--t) var(--ease);
}

@media (hover: hover) {
	.vrd-card--product:hover .vrd-card__foot {
		border-top-color: var(--color-rule);
	}
}

/*
 * Article: a wider crop, a dateline above the headline the way a contents
 * page is set, and a rule over the whole card so a row of posts reads as a
 * list of entries rather than a row of tiles.
 */
.vrd-card--post {
	padding-top: var(--space-md);
	border-top: 1px solid var(--color-text);
}

.vrd-card--post .vrd-card__media {
	aspect-ratio: 3 / 2;
}

/* The body is a flex column, so the dateline is lifted above the title with
   `order` instead of duplicating it in the markup. */
.vrd-card--post .vrd-card__cat {
	order: -2;
}

.vrd-card--post .vrd-card__foot {
	order: -1;
	margin-top: 0;
	margin-bottom: var(--space-xs);
	padding-top: 0.1rem;
}

.vrd-card--post .vrd-card__title {
	font-size: var(--fs-h3);
}

/* Category tile */
.vrd-cat-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 1 / 1;
	min-height: 12rem;
	padding: var(--space-lg);
	border-radius: var(--radius-xs);
	overflow: hidden;
	background: var(--color-secondary);
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}

.vrd-cat-card__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--t-slow) var(--ease-out);
}

.vrd-cat-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgb(10 30 20 / 0%) 35%, rgb(8 26 18 / 78%) 100%);
}

@media (hover: hover) {
	.vrd-cat-card:hover .vrd-cat-card__img {
		transform: scale(1.05);
	}
}

.vrd-cat-card__body {
	position: relative;
	width: 100%;
}

/* The rule under the label opens on hover — the tile's only moving part
   besides the image. */
.vrd-cat-card__body::after {
	content: "";
	display: block;
	width: 2rem;
	height: 1px;
	margin-top: var(--space-sm);
	background: rgb(255 255 255 / 70%);
	transition: width var(--t) var(--ease);
}

@media (hover: hover) {
	.vrd-cat-card:hover .vrd-cat-card__body::after {
		width: 4rem;
	}
}

.vrd-cat-card__title {
	display: block;
	margin: 0;
	color: #fff;
	font-family: var(--font-heading);
	font-size: var(--fs-h4);
	font-weight: 400;
	letter-spacing: var(--ls-heading);
	line-height: 1.2;
}

.vrd-cat-card__count {
	display: block;
	margin-top: 0.3rem;
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 72%);
}

/*
 * Category mosaic. The lead tile takes two columns and a 2:1 crop, so the row
 * has a focal point instead of reading as four identical squares.
 *
 * It deliberately spans columns only, never rows: a row-spanning tile leaves a
 * hole in the middle of the grid whenever the number of categories does not
 * divide neatly, and an unfinished last row is normal where a gap beside a
 * tall tile just looks broken.
 */
@media (min-width: 760px) {
	.vrd-cat-grid {
		display: grid;
		gap: var(--space-md);
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vrd-cat-grid > :first-child {
		grid-column: span 2;
		aspect-ratio: 2 / 1;
	}

	.vrd-cat-grid > :first-child .vrd-cat-card__title {
		font-size: var(--fs-h3);
	}
}

@media (min-width: 1100px) {
	.vrd-cat-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/*
 * Feature block. Not a card: a hairline opens it, the icon sits inline with
 * the rule, and the copy hangs beneath. A row of these reads as a set of
 * points in a document instead of a row of floating tiles.
 */
.vrd-feature {
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
	height: 100%;
	padding: var(--space-lg) 0 0;
	background: none;
	border: 0;
	border-top: 1px solid var(--color-text);
	border-radius: 0;
}

.vrd-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	border-radius: 0;
	background: none;
	color: var(--color-primary);
}

.vrd-feature__title {
	margin: 0;
	font-size: var(--fs-h4);
}

.vrd-feature__text {
	margin: 0;
	color: var(--color-text-muted);
	font-size: var(--fs-sm);
	line-height: 1.6;
	text-wrap: pretty;
}

.vrd-section--dark .vrd-feature {
	background: none;
	border-top-color: rgb(255 255 255 / 30%);
	color: #fff;
}

.vrd-section--dark .vrd-feature__title {
	color: #fff;
}

.vrd-section--dark .vrd-feature__text {
	color: rgb(255 255 255 / 72%);
}

.vrd-section--dark .vrd-feature__icon {
	background: none;
	color: #fff;
}

/*
 * Statistics. Numbers set in the serif, separated by rules rather than boxes,
 * so the band reads as a plinth under the page instead of four more cards.
 */
.vrd-stats {
	display: grid;
	gap: var(--space-lg) 0;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}

.vrd-stat {
	position: relative;
	padding: var(--space-xs) var(--space-lg);
	text-align: center;
	border-radius: 0;
	background: none;
}

.vrd-stat + .vrd-stat::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12%;
	bottom: 12%;
	width: 1px;
	background: currentColor;
	opacity: 0.22;
}

/* At one column per row the vertical rules would be meaningless. */
@media (max-width: 479px) {
	.vrd-stats {
		gap: 0;
	}

	.vrd-stat {
		padding-block: var(--space-md);
	}

	.vrd-stat + .vrd-stat::before {
		left: 15%;
		right: 15%;
		top: 0;
		bottom: auto;
		width: auto;
		height: 1px;
	}
}

.vrd-section--tint .vrd-stat,
.vrd-section--surface .vrd-stat {
	background: none;
	border: 0;
}

.vrd-stat__value {
	display: block;
	font-family: var(--font-heading);
	font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.03em;
	color: inherit;
	/* Fixed-width digits, so the figure does not twitch while it counts up. */
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

.vrd-section--tint .vrd-stat__value,
.vrd-section--surface .vrd-stat__value {
	color: var(--color-primary-text);
}

.vrd-stat__label {
	display: block;
	margin-top: var(--space-sm);
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.72;
}

/* Check list. Opened by a rule so the first item is framed like the rest,
   rather than butting straight up against the paragraph above it. */
.vrd-checklist {
	display: grid;
	gap: var(--space-sm);
	margin: 0;
	padding: var(--space-sm) 0 0;
	list-style: none;
	border-top: 1px solid var(--color-rule);
}

.vrd-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.75em;
	padding-bottom: var(--space-sm);
	border-bottom: 1px solid var(--color-rule);
	font-size: var(--fs-sm);
	line-height: 1.5;
}

.vrd-checklist li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.vrd-checklist svg {
	margin-top: 0.2em;
	color: var(--color-primary);
}

/* Checklists are sometimes used for contact details, so any link inside one
   still has to clear the minimum target size. */
.vrd-checklist a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	font-weight: 600;
}

/*
 * Media frame used beside intro copy. The offset rule behind it does the work
 * a drop shadow used to: it gives the picture a place to sit on the page.
 */
.vrd-media-frame {
	position: relative;
	border-radius: var(--radius-xs);
	background: var(--color-surface-alt);
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.vrd-media-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vrd-media-frame--offset {
	overflow: visible;
}

.vrd-media-frame--offset > img,
.vrd-media-frame--offset > picture,
.vrd-media-frame--offset > figure {
	position: relative;
	z-index: 1;
	border-radius: var(--radius-xs);
	overflow: hidden;
}

@media (min-width: 900px) {
	.vrd-media-frame--offset::before {
		content: "";
		position: absolute;
		inset: var(--space-xl) calc(var(--space-xl) * -1) calc(var(--space-xl) * -1) var(--space-xl);
		border: 1px solid var(--color-primary-border);
		border-radius: var(--radius-xs);
		z-index: 0;
	}
}

/*
 * Call to action band. Brand green, not the near-black of the footer directly
 * beneath it: two dark bands stacked read as one slab and the closing ask
 * disappears into the furniture. The lighter green separates them and lets the
 * white button carry the emphasis.
 */
.vrd-cta {
	position: relative;
	padding-block: clamp(3rem, 6vw, 5rem);
	background: var(--color-primary);
	color: var(--color-on-primary);
	overflow: hidden;
}

.vrd-cta--soft {
	background: var(--color-primary-tint);
	color: var(--color-text);
	border-top: 1px solid var(--color-primary-border);
	border-bottom: 1px solid var(--color-primary-border);
}

.vrd-cta__inner {
	display: grid;
	gap: var(--space-xl);
	align-items: center;
}

@media (min-width: 900px) {
	.vrd-cta__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: clamp(var(--space-xl), 5vw, 4rem);
	}
}

.vrd-cta__title {
	margin: 0 0 var(--space-sm);
	max-width: 20ch;
	color: inherit;
	font-size: var(--fs-h2);
	line-height: var(--lh-tight);
}

.vrd-cta__text {
	margin: 0;
	max-width: 52ch;
	color: inherit;
	opacity: 0.78;
	text-wrap: pretty;
}

.vrd-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
}

/*
 * Testimonial. The quote is the design: set large in the serif, opened by a
 * rule, with the attribution reduced to a caption. No panel, no shadow — the
 * words carry it.
 */
.vrd-testimonial {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
	height: 100%;
	padding: var(--space-lg) 0 0;
	background: none;
	border: 0;
	border-top: 1px solid var(--color-text);
	border-radius: 0;
}

.vrd-testimonial__quote-icon {
	display: none;
}

.vrd-testimonial__text {
	flex: 1 1 auto;
	margin: 0;
	font-family: var(--font-heading);
	font-size: var(--fs-xl);
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: var(--ls-heading);
	color: var(--color-text);
	text-wrap: pretty;
}

.vrd-testimonial__text p:last-child {
	margin-bottom: 0;
}

.vrd-testimonial__person {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	padding-top: 0;
	border-top: 0;
}

.vrd-testimonial__avatar {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-pill);
	object-fit: cover;
	flex: none;
}

.vrd-testimonial__avatar--fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--color-primary-light);
	color: var(--color-primary-text);
	font-family: var(--font-heading);
	font-size: var(--fs-lg);
	font-weight: 400;
}

.vrd-testimonial__name {
	display: block;
	font-family: var(--font-sans);
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.35;
}

.vrd-testimonial__role {
	display: block;
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-text-soft);
}

/* Featured pull quote used once per page, at display size. */
.vrd-testimonial--feature {
	gap: var(--space-lg);
	border-top: 0;
	padding-top: 0;
	text-align: center;
	align-items: center;
}

.vrd-testimonial--feature .vrd-testimonial__text {
	max-width: 22ch;
	font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.375rem);
	line-height: 1.3;
}

.vrd-rating {
	margin: 0;
	line-height: 1;
}

.vrd-rating__stars {
	display: inline-flex;
	gap: 0.15rem;
	color: var(--color-border-strong);
}

.vrd-rating__star.is-filled {
	color: var(--color-gold);
}

.vrd-rating__star.is-filled svg {
	fill: currentColor;
}

/*
 * Support card. This one keeps an outline: it is an entry point to another
 * page and benefits from reading as a discrete target, unlike the feature
 * blocks above, which are prose.
 */
.vrd-support-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-sm);
	height: 100%;
	padding: var(--space-lg);
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}

.vrd-support-card:hover {
	border-color: var(--color-border-strong);
	background: var(--color-canvas);
	box-shadow: none;
}

.vrd-support-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	margin-bottom: var(--space-2xs);
	border-radius: 0;
	background: none;
	color: var(--color-primary);
}

.vrd-support-card__title {
	margin: 0;
	font-size: var(--fs-h4);
}

.vrd-support-card__text {
	margin: 0;
	flex: 1 1 auto;
	color: var(--color-text-muted);
	font-size: var(--fs-sm);
	line-height: 1.6;
}

.vrd-support-card .vrd-btn {
	margin-top: var(--space-sm);
}

/* The downloads list component was removed with the block it belonged to. */

.vrd-support-cards {
	margin-bottom: var(--space-xl);
}

/* Accordion (FAQ) — a ruled list, opened in place. */
.vrd-accordion {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--color-text);
}

.vrd-accordion__item {
	border: 0;
	border-bottom: 1px solid var(--color-rule);
	border-radius: 0;
	background: none;
	overflow: hidden;
}

.vrd-accordion__item[open] {
	border-bottom-color: var(--color-border-strong);
}

.vrd-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	padding: var(--space-md) 0;
	font-family: var(--font-heading);
	font-size: var(--fs-h4);
	font-weight: 400;
	letter-spacing: var(--ls-heading);
	cursor: pointer;
	list-style: none;
	min-height: 56px;
	transition: color var(--transition);
}

.vrd-accordion__summary:hover {
	color: var(--color-primary-text);
}

.vrd-accordion__summary::-webkit-details-marker {
	display: none;
}

.vrd-accordion__summary::after {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--color-primary);
	border-bottom: 2px solid var(--color-primary);
	transform: rotate(45deg) translateY(-2px);
	transition: transform var(--transition);
}

.vrd-accordion__item[open] .vrd-accordion__summary::after {
	transform: rotate(-135deg) translateY(-2px);
}

.vrd-accordion__body {
	padding: 0 0 var(--space-lg);
	max-width: var(--measure-wide);
	color: var(--color-text-muted);
	line-height: 1.65;
}

/*
 * Timeline. The year is the anchor, set in the serif and hung in its own
 * column at desktop width so the eye can scan the dates alone.
 */
.vrd-timeline {
	position: relative;
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-left: 0;
	border-top: 1px solid var(--color-text);
}

.vrd-timeline__item {
	position: relative;
	padding-block: var(--space-lg);
	border-bottom: 1px solid var(--color-rule);
}

.vrd-timeline__item::before {
	display: none;
}

@media (min-width: 640px) {
	.vrd-timeline__item {
		display: grid;
		grid-template-columns: 7rem minmax(0, 1fr);
		gap: var(--space-lg);
		align-items: start;
	}
}

.vrd-timeline__year {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: var(--fs-h4);
	font-weight: 400;
	color: var(--color-primary-text);
	letter-spacing: 0.01em;
}

.vrd-timeline__title {
	margin: 0 0 0.35rem;
	font-size: var(--fs-h4);
}

.vrd-timeline__text {
	margin: 0;
	max-width: var(--measure);
	color: var(--color-text-muted);
	font-size: var(--fs-sm);
	line-height: 1.6;
}

/* Team & certifications */
.vrd-person {
	text-align: left;
}

.vrd-person__photo {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--radius-xs);
	background: var(--color-surface-alt);
	margin-bottom: var(--space-md);
}

.vrd-person__name {
	margin: 0;
	font-size: var(--fs-h4);
}

.vrd-person__role {
	display: block;
	margin-top: 0.15rem;
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-text-soft);
	font-weight: 600;
}

.vrd-person__bio {
	margin: var(--space-sm) 0 0;
	font-size: var(--fs-sm);
	line-height: 1.6;
	color: var(--color-text-muted);
}

.vrd-cert {
	display: flex;
	align-items: center;
	gap: var(--space-md);
	padding: var(--space-md) 0;
	border: 0;
	border-top: 1px solid var(--color-rule);
	border-radius: 0;
	background: none;
	color: var(--color-primary);
}

.vrd-cert img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	flex: none;
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter var(--t) var(--ease), opacity var(--t) var(--ease);
}

.vrd-cert:hover img {
	filter: grayscale(0);
	opacity: 1;
}

.vrd-cert__title {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--color-text);
}

.vrd-cert__text {
	margin: 0.1rem 0 0;
	font-size: var(--fs-xs);
	line-height: 1.5;
	color: var(--color-text-muted);
}

/* ==========================================================================
   10b. Editorial compositions
   ========================================================================== */

/*
 * Sticky story.
 *
 * A single image holds still on one side while the reasons to believe scroll
 * past on the other. `position: sticky` is used on the media column only, and
 * the whole effect is switched off below 1000px — on a phone there is no
 * second column to hold still against, and pinning would just cost a screen
 * of height.
 */
.vrd-story {
	display: grid;
	gap: var(--space-xl);
}

.vrd-story__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--color-surface-alt);
	border-radius: var(--radius-xs);
	overflow: hidden;
}

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

/* Caption plate over the image: the one place the brand signs the section. */
.vrd-story__caption {
	position: absolute;
	inset-inline: var(--space-md);
	bottom: var(--space-md);
	padding: var(--space-sm) var(--space-md);
	background: rgb(255 255 255 / 92%);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: var(--radius-xs);
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: var(--color-text);
}

.vrd-story__items {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--color-text);
}

.vrd-story__item {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: var(--space-md);
	padding-block: var(--space-lg);
	border-bottom: 1px solid var(--color-rule);
}

.vrd-story__num {
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--color-primary-text);
	padding-top: 0.35em;
	font-variant-numeric: tabular-nums;
}

.vrd-story__title {
	display: flex;
	align-items: baseline;
	gap: 0.6em;
	margin: 0 0 var(--space-2xs);
	font-size: var(--fs-h4);
}

.vrd-story__icon {
	flex: none;
	color: var(--color-primary);
	transform: translateY(0.15em);
}

.vrd-story__text {
	margin: 0;
	max-width: var(--measure);
	color: var(--color-text-muted);
	font-size: var(--fs-sm);
	line-height: 1.65;
	text-wrap: pretty;
}

.vrd-story__foot {
	padding-top: var(--space-lg);
}

@media (min-width: 1000px) {
	.vrd-story {
		/*
		 * The media column is the narrower of the two on purpose: it keeps the
		 * pinned picture shorter than the copy beside it, which is the
		 * condition for `position: sticky` to actually have travel to work with.
		 */
		grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
		gap: clamp(var(--space-2xl), 5vw, 4.5rem);
		align-items: start;
	}

	.vrd-story__col--media {
		position: sticky;
		/* Clears the sticky header plus a breathing gap. */
		top: calc(var(--header-h) + var(--space-xl));
	}

	.vrd-story__media {
		aspect-ratio: 4 / 5;
		max-height: calc(100svh - var(--header-h) - var(--space-2xl));
	}

	.vrd-story__item {
		grid-template-columns: 3.5rem minmax(0, 1fr);
		gap: var(--space-lg);
		padding-block: var(--space-xl);
	}

	/* Reversed variant keeps the image on the right for alternating pages. */
	.vrd-story--reverse .vrd-story__col--media {
		order: 2;
	}
}

/*
 * Without a photograph there is nothing to pin, so the section falls back to
 * a two-column list of reasons rather than a very long single column.
 */
.vrd-story--plain {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 760px) {
	.vrd-story--plain .vrd-story__items {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: clamp(var(--space-xl), 4vw, 3.5rem);
	}
}

/*
 * Homepage introduction. The copy is laid over the edge of the photograph
 * like a caption card on a spread: one deliberate overlap, held together by a
 * hairline rather than a drop shadow, and only above 900px where there is
 * room for the two to meet.
 */
.vrd-intro__grid {
	display: grid;
	gap: var(--space-xl);
}

.vrd-intro__title {
	max-width: 16ch;
}

@media (min-width: 900px) {
	.vrd-intro__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: center;
		gap: 0;
	}

	.vrd-intro__media {
		grid-column: 1 / span 7;
		grid-row: 1;
	}

	.vrd-intro__body {
		grid-column: 7 / -1;
		grid-row: 1;
		z-index: 1;
		padding: clamp(var(--space-xl), 3.2vw, 3rem);
		background: var(--color-background);
		border: 1px solid var(--color-rule);
		border-radius: var(--radius-xs);
	}
}

@media (min-width: 1200px) {
	.vrd-intro__body {
		padding: 3.25rem;
	}
}

/* No picture: the copy simply takes the measure and centres itself. */
.vrd-intro__grid--text-only {
	max-width: var(--measure-wide);
}

@media (min-width: 900px) {
	.vrd-intro__grid--text-only .vrd-intro__body {
		grid-column: 1 / -1;
		padding: 0;
		border: 0;
		background: none;
	}
}

.vrd-media-frame--tall {
	aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
	/* Only a shade taller than the 4:3 source, so the crop never eats the
	   sides of the photograph. */
	.vrd-media-frame--tall {
		aspect-ratio: 5 / 4;
	}
}

/*
 * Offset feature: copy that overlaps the edge of an image. Used once per page
 * at most, as a change of pace from the even split.
 */
.vrd-offset {
	display: grid;
	gap: var(--space-lg);
}

@media (min-width: 900px) {
	.vrd-offset {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: center;
	}

	.vrd-offset__media {
		grid-column: 1 / span 7;
		grid-row: 1;
	}

	.vrd-offset__body {
		grid-column: 7 / -1;
		grid-row: 1;
		z-index: 1;
		padding: clamp(var(--space-lg), 3vw, 2.75rem);
		background: var(--color-background);
		border-radius: var(--radius-xs);
		box-shadow: var(--shadow-md);
	}

	.vrd-offset--reverse .vrd-offset__media {
		grid-column: 6 / -1;
	}

	.vrd-offset--reverse .vrd-offset__body {
		grid-column: 1 / span 6;
	}
}

/*
 * Scroll reveal. Purely additive: the markup is visible by default and only
 * becomes animatable once the script confirms IntersectionObserver support,
 * so content is never hidden behind JavaScript that failed to run.
 */
.vrd-js-reveal .vrd-reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
	will-change: opacity, transform;
}

.vrd-js-reveal .vrd-reveal.is-visible {
	opacity: 1;
	transform: none;
	will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
	.vrd-js-reveal .vrd-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ==========================================================================
   11. Blog, sidebar & comments
   ========================================================================== */

.vrd-layout {
	display: grid;
	gap: clamp(var(--space-xl), 4vw, 3.5rem);
	padding-block: var(--space-section);
}

@media (min-width: 1024px) {
	.vrd-layout--sidebar-right {
		grid-template-columns: minmax(0, 1fr) 20rem;
	}

	.vrd-layout--sidebar-left {
		grid-template-columns: 20rem minmax(0, 1fr);
	}

	.vrd-layout--sidebar-left .vrd-layout__main {
		order: 2;
	}
}

.vrd-layout__main {
	min-width: 0;
}

.vrd-entry {
	max-width: 100%;
}

.vrd-entry__header {
	margin-bottom: var(--space-lg);
}

.vrd-entry__title {
	margin-bottom: var(--space-sm);
}

.vrd-entry__thumb {
	margin-bottom: clamp(var(--space-lg), 3vw, 2.5rem);
	border-radius: var(--radius-xs);
	overflow: hidden;
	background: var(--color-surface-alt);
}

.vrd-entry__thumb img {
	width: 100%;
	object-fit: cover;
}

/* Body copy on article pages gets a measured column of its own. */
.vrd-entry .vrd-prose > * {
	max-width: var(--measure-wide);
}

.vrd-entry .vrd-prose > .alignwide,
.vrd-entry .vrd-prose > .alignfull,
.vrd-entry .vrd-prose > figure,
.vrd-entry .vrd-prose > .wp-block-image {
	max-width: 100%;
}

.vrd-entry__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	margin-top: var(--space-xl);
	padding-top: var(--space-lg);
	border-top: 1px solid var(--color-border);
}

.vrd-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-sm);
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-text-soft);
}

.vrd-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
}

.vrd-meta__item + .vrd-meta__item::before {
	content: "";
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--color-border-strong);
	margin-right: 0.35em;
}

.vrd-meta__cat {
	color: var(--color-primary-text);
	font-weight: 600;
	text-decoration: none;
}

.vrd-tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2xs);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vrd-tags a {
	display: inline-block;
	min-height: 32px;
	padding: 0.35rem 0.7rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xs);
	background: none;
	color: var(--color-text-muted);
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: border-color var(--transition), color var(--transition);
}

.vrd-tags a:hover {
	border-color: var(--color-primary);
	background: none;
	color: var(--color-primary-text);
}

.vrd-share {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
}

.vrd-share__label {
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.vrd-share__list {
	display: flex;
	gap: var(--space-2xs);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vrd-share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	color: var(--color-text-muted);
}

.vrd-share__link:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}

.vrd-author-box {
	display: flex;
	gap: var(--space-md);
	margin-top: var(--space-xl);
	padding: var(--space-lg) 0;
	background: none;
	border-block: 1px solid var(--color-rule);
	border-radius: 0;
}

.vrd-author-box img {
	border-radius: var(--radius-pill);
	flex: none;
}

.vrd-author-box__name {
	margin: 0 0 var(--space-2xs);
	font-size: var(--fs-h4);
}

.vrd-author-box__bio {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--color-text-muted);
}

/* Sidebar & widgets */
.vrd-sidebar {
	min-width: 0;
}

.vrd-widget {
	margin-bottom: var(--space-xl);
	padding: var(--space-lg) 0 0;
	background: none;
	border-top: 1px solid var(--color-text);
	border-radius: 0;
}

.vrd-widget__title {
	margin: 0 0 var(--space-sm);
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

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

.vrd-widget li {
	padding: 0.45rem 0;
	border-bottom: 1px solid var(--color-border);
}

.vrd-widget li:last-child {
	border-bottom: 0;
}

.vrd-widget a {
	color: var(--color-text);
	text-decoration: none;
	font-size: var(--fs-sm);
}

.vrd-widget a:hover {
	color: var(--color-primary-text);
}

.vrd-widget select,
.vrd-widget input[type="text"],
.vrd-widget input[type="search"] {
	width: 100%;
	min-height: 44px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-sm);
	font-size: 16px;
	background: var(--color-background);
}

/* Comments */
.vrd-comments {
	margin-top: var(--space-2xl);
	padding-top: var(--space-xl);
	border-top: 1px solid var(--color-border);
}

.vrd-comments__title {
	margin-bottom: var(--space-lg);
}

.vrd-comments .comment-list {
	margin: 0 0 var(--space-xl);
	padding: 0;
	list-style: none;
}

.vrd-comments .comment-list ol.children {
	margin: var(--space-md) 0 0 var(--space-md);
	padding: 0;
	list-style: none;
	border-left: 2px solid var(--color-border);
	padding-left: var(--space-md);
}

.vrd-comments article.comment-body {
	padding: var(--space-md) 0;
	border-bottom: 1px solid var(--color-border);
}

.vrd-comments .comment-author img {
	border-radius: var(--radius-pill);
	margin-right: var(--space-xs);
}

.vrd-comments .comment-author {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	font-weight: 700;
}

.vrd-comments .comment-metadata {
	font-size: var(--fs-xs);
	color: var(--color-text-muted);
	margin-bottom: var(--space-xs);
}

.vrd-comments .comment-metadata a {
	color: inherit;
	text-decoration: none;
}

.vrd-comments .reply {
	margin-top: var(--space-xs);
	font-size: var(--fs-sm);
	font-weight: 600;
}

/* ==========================================================================
   12. Search results & 404
   ========================================================================== */

.vrd-results {
	border-top: 1px solid var(--color-text);
}

.vrd-result {
	display: flex;
	gap: var(--space-lg);
	padding: var(--space-lg) 0;
	border-bottom: 1px solid var(--color-rule);
}

.vrd-result__media {
	flex: none;
	width: 84px;
	aspect-ratio: 1 / 1;
	border-radius: var(--radius-xs);
	overflow: hidden;
	background: var(--color-surface-alt);
}

@media (min-width: 768px) {
	.vrd-result__media {
		width: 132px;
	}
}

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

.vrd-result__body {
	min-width: 0;
}

.vrd-result__type {
	display: inline-block;
	margin-bottom: var(--space-2xs);
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: var(--color-text-soft);
}

.vrd-result__title {
	margin: 0 0 var(--space-2xs);
	font-size: var(--fs-h4);
}

.vrd-result__title a {
	color: inherit;
	text-decoration: none;
}

.vrd-result__title a:hover {
	color: var(--color-primary-text);
}

.vrd-result__excerpt {
	margin: 0;
	color: var(--color-text-muted);
	font-size: var(--fs-sm);
}

.vrd-empty {
	max-width: 40rem;
	margin-inline: auto;
	padding: var(--space-2xl) 0;
	text-align: center;
}

.vrd-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: var(--space-lg);
	border: 1px solid var(--color-primary-border);
	border-radius: var(--radius-pill);
	background: none;
	color: var(--color-primary-text);
}

.vrd-empty__suggestions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-xs);
	margin-top: var(--space-lg);
	padding: 0;
	list-style: none;
}

.vrd-404 {
	padding-block: clamp(var(--space-2xl), 8vw, 6rem);
}

.vrd-404__code {
	font-family: var(--font-heading);
	font-size: clamp(3.5rem, 11vw, 7rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--color-primary-border);
	margin-bottom: var(--space-md);
}

/* ==========================================================================
   13. Pagination
   ========================================================================== */

.vrd-pagination {
	margin-top: var(--space-xl);
}

.vrd-pagination__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-2xs);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vrd-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.6rem;
	border: 1px solid transparent;
	border-radius: var(--radius-xs);
	color: var(--color-text-muted);
	font-family: var(--font-sans);
	font-size: var(--fs-sm);
	font-weight: 500;
	text-decoration: none;
	background: none;
	transition: color var(--transition), border-color var(--transition);
}

.vrd-pagination .page-numbers:hover {
	border-color: var(--color-border-strong);
	color: var(--color-text);
}

.vrd-pagination .page-numbers.current {
	background: none;
	border-color: var(--color-text);
	color: var(--color-text);
	font-weight: 600;
}

.vrd-pagination .page-numbers.dots {
	border-color: transparent;
	background: none;
}

/* ==========================================================================
   14. Forms
   ========================================================================== */

.vrd-form__label {
	display: block;
	margin-bottom: 0.45rem;
	font-family: var(--font-sans);
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.vrd-form__req {
	color: var(--color-danger);
}

.vrd-form__control,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea,
select {
	width: 100%;
	min-height: 50px;
	padding: 0.8rem 0.95rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-sm);
	background: var(--color-background);
	color: var(--color-text);
	font-family: var(--font-sans);
	/* Never below 16px: iOS Safari zooms the viewport on smaller inputs. */
	font-size: 16px;
	line-height: 1.5;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color var(--transition), box-shadow var(--transition);
}

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

select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355655d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	padding-right: 2.5rem;
}

.vrd-form__control:focus,
input:focus,
textarea:focus,
select:focus {
	border-color: var(--color-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgb(var(--color-primary-rgb) / 14%);
}

.vrd-form__field.has-error .vrd-form__control {
	border-color: var(--color-danger);
}

.vrd-form__error {
	margin: 0.35rem 0 0;
	font-size: var(--fs-sm);
	color: var(--color-danger);
}

.vrd-form__grid {
	display: grid;
	gap: var(--space-md);
}

@media (min-width: 640px) {
	.vrd-form__grid {
		grid-template-columns: 1fr 1fr;
	}

	.vrd-form__field--full {
		grid-column: 1 / -1;
	}
}

.vrd-form__actions {
	margin-top: var(--space-lg);
}

.vrd-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: var(--fs-sm);
	color: var(--color-text-muted);
	cursor: pointer;
}

.vrd-form__consent input[type="checkbox"] {
	width: 20px;
	height: 20px;
	min-height: 0;
	margin-top: 0.15rem;
	flex: none;
	accent-color: var(--color-primary);
}

/* The honeypot must be invisible to people but reachable for bots. */
.vrd-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.vrd-notice {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0 0 var(--space-md);
	padding: var(--space-md);
	border-radius: var(--radius-sm);
	font-size: var(--fs-sm);
}

.vrd-notice--success {
	background: var(--color-primary-light);
	color: var(--color-primary-darker);
}

.vrd-notice--error {
	background: #fdecec;
	color: #7d1d22;
}

.vrd-form__title {
	margin-bottom: var(--space-xs);
}

.vrd-form__intro {
	margin-bottom: var(--space-lg);
	color: var(--color-text-muted);
}

.vrd-form-wrap {
	scroll-margin-top: calc(var(--header-h) + 2rem);
}

/* ==========================================================================
   15. Footer
   ========================================================================== */

.vrd-footer {
	margin-top: auto;
	padding-top: clamp(3rem, 5vw, 5rem);
	padding-bottom: max(var(--space-lg), env(safe-area-inset-bottom));
	background: var(--color-secondary);
	color: rgb(255 255 255 / 72%);
	font-family: var(--font-sans);
	font-size: var(--fs-sm);
}

/*
 * Three columns: brand, links, contact. The brand column is given the most
 * room because it carries the description, and the contact column more than
 * the link list because addresses wrap badly in a narrow measure.
 */
.vrd-footer__top {
	display: grid;
	gap: clamp(var(--space-xl), 4vw, 3.5rem);
	padding-bottom: clamp(var(--space-xl), 4vw, 3.5rem);
	grid-template-columns: minmax(0, 1fr);
}

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

@media (min-width: 1000px) {
	.vrd-footer__top {
		grid-template-columns: 1.5fr 1fr 1.25fr;
	}
}

.vrd-footer__col {
	min-width: 0;
}

@media (min-width: 640px) and (max-width: 999px) {
	/* Two-up: the brand block reads better across the full width. */
	.vrd-footer__col--brand {
		grid-column: 1 / -1;
	}
}

/* An optional widget column is given its own row rather than becoming a
   fourth track and squeezing the three above it. */
.vrd-footer__col--widgets {
	grid-column: 1 / -1;
}

.vrd-footer__logo {
	display: inline-block;
	margin-bottom: var(--space-md);
	text-decoration: none;
}

.vrd-footer__logo-img {
	max-height: 48px;
	width: auto;
	object-fit: contain;
}

.vrd-footer__logo-text {
	font-family: var(--font-heading);
	font-size: var(--fs-h3);
	font-weight: 400;
	letter-spacing: 0.02em;
	color: #fff;
}

.vrd-footer__desc {
	margin: 0 0 var(--space-lg);
	max-width: 38ch;
	line-height: 1.7;
}

.vrd-footer__heading {
	margin: 0 0 var(--space-md);
	padding-bottom: var(--space-xs);
	border-bottom: 1px solid rgb(255 255 255 / 14%);
	color: #fff;
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
}

.vrd-footer__menu,
.vrd-footer__contact,
.vrd-footer__social,
.vrd-footer__legal-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vrd-footer__menu li {
	margin-bottom: 0.15rem;
}

.vrd-footer a {
	color: inherit;
	text-decoration: none;
}

.vrd-footer__menu a {
	display: inline-flex;
	align-items: center;
	min-height: 40px; /* Comfortable thumb target in the footer. */
	padding: 0.25rem 0;
}

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

.vrd-footer__contact li {
	display: flex;
	gap: 0.65rem;
	margin-bottom: var(--space-sm);
	line-height: 1.55;
}

.vrd-footer__contact svg {
	margin-top: 0.15rem;
	color: rgb(255 255 255 / 55%);
}

.vrd-footer__contact a {
	display: inline-block;
	min-height: 24px; /* WCAG 2.2 target size minimum. */
	padding-block: 2px;
}

.vrd-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2xs);
}

.vrd-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgb(255 255 255 / 16%);
	border-radius: var(--radius-xs);
	background: none;
	transition: border-color var(--transition), background-color var(--transition), color var(--transition);
}

.vrd-footer__social a:hover {
	border-color: transparent;
	background: var(--color-primary);
	color: #fff;
}

/*
 * Company links, running the full width above the copyright. A horizontal row
 * at the very end of the page is easier to scan than a fourth stacked column,
 * and it gives the footer a base line to sit on.
 */
.vrd-footer__quick {
	padding-block: var(--space-md);
	border-top: 1px solid rgb(255 255 255 / 12%);
}

.vrd-footer__quick-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-xs) clamp(var(--space-lg), 3vw, 2.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vrd-footer__quick-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: rgb(255 255 255 / 82%);
	transition: color var(--transition);
}

.vrd-footer__quick-menu a:hover {
	color: #fff;
	text-decoration: none;
}

.vrd-footer__quick-menu .current-menu-item > a,
.vrd-footer__quick-menu .current_page_item > a {
	color: #fff;
}

.vrd-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-sm) var(--space-lg);
	padding-top: var(--space-lg);
	border-top: 1px solid rgb(255 255 255 / 12%);
	font-size: var(--fs-2xs);
	letter-spacing: 0.05em;
	color: rgb(255 255 255 / 55%);
}

.vrd-footer__bottom-end {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-sm) var(--space-lg);
}

.vrd-footer__credit {
	margin: 0;
}

.vrd-footer__credit a {
	display: inline-flex;
	align-items: center;
	min-height: 24px; /* WCAG 2.2 target size minimum. */
	color: rgb(255 255 255 / 78%);
	text-decoration: none;
	box-shadow: inset 0 -1px 0 rgb(255 255 255 / 28%);
	transition: color var(--transition), box-shadow var(--transition);
}

.vrd-footer__credit a:hover {
	box-shadow: inset 0 -1px 0 #fff;
}

.vrd-footer__credit a:hover {
	color: #fff;
	text-decoration: none;
}

.vrd-footer__copyright {
	margin: 0;
}

.vrd-footer__legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
}

.vrd-footer__legal-menu a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* WCAG 2.2 target size minimum, in both directions — short labels such as
	   "Blog" are narrower than 24px on their own. */
	min-width: 24px;
	min-height: 24px;
}

.vrd-footer .vrd-widget {
	margin-bottom: 0;
	padding: 0;
	background: none;
	border-top: 0;
}

.vrd-footer .vrd-widget__title {
	margin-bottom: var(--space-md);
	padding-bottom: var(--space-xs);
	border-bottom: 1px solid rgb(255 255 255 / 14%);
	color: #fff;
	font-size: var(--fs-2xs);
}

.vrd-footer .vrd-widget li {
	border-bottom-color: rgb(255 255 255 / 10%);
}

.vrd-footer .vrd-widget a {
	color: rgb(255 255 255 / 78%);
}

/* ==========================================================================
   16. Back to top
   ========================================================================== */

.vrd-to-top {
	position: fixed;
	right: max(var(--space-md), env(safe-area-inset-right));
	bottom: calc(var(--space-md) + env(safe-area-inset-bottom));
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-sm);
	background: var(--color-background);
	color: var(--color-text);
	box-shadow: var(--shadow-md);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity var(--transition), transform var(--transition), border-color var(--transition), color var(--transition);
}

.vrd-to-top:hover {
	border-color: var(--color-text);
	color: var(--color-primary-text);
}

.vrd-to-top.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================================
   17. WordPress core classes
   ========================================================================== */

.alignleft {
	float: left;
	margin: 0 var(--space-lg) var(--space-md) 0;
}

.alignright {
	float: right;
	margin: 0 0 var(--space-md) var(--space-lg);
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide {
	width: min(100%, 1100px);
	margin-inline: auto;
}

.alignfull {
	width: 100%;
}

.wp-caption,
figure {
	max-width: 100%;
	margin: 0 0 var(--space-md);
}

.wp-caption-text,
figcaption {
	margin-top: var(--space-xs);
	font-size: var(--fs-sm);
	color: var(--color-text-muted);
	text-align: center;
}

.sticky .vrd-card__title::before {
	content: "★ ";
	color: var(--color-primary);
}

.gallery {
	display: grid;
	gap: var(--space-sm);
	grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
}

.gallery-item {
	margin: 0;
}

.wp-block-button__link {
	border-radius: var(--radius-sm);
}

.bypostauthor > .comment-body .comment-author::after {
	content: attr(data-author-label);
}

/* ==========================================================================
   18. Motion & print
   ========================================================================== */

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

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

@media (prefers-contrast: more) {
	:root {
		--color-text-muted: #3c4a43;
		--color-border: #b6c2bc;
	}
}

@media print {
	.vrd-header,
	.vrd-footer,
	.vrd-to-top,
	.vrd-mobile-nav,
	.vrd-search-overlay,
	.vrd-share,
	.vrd-pagination {
		display: none !important;
	}

	body {
		font-size: 12pt;
	}

	a::after {
		content: " (" attr(href) ")";
		font-size: 0.85em;
		color: #555;
	}
}
