/**
 * Cursora — front + editor extras beyond theme.json.
 *
 * Design tokens (colour, type scale, spacing) live in theme.json.
 * This file owns the section/component chrome the Design patterns rely on.
 *
 * SPACING RULE — read before editing:
 * WordPress emits `.wp-container-… > * { margin-block: 0 }` for every group
 * block, at a specificity this file cannot reliably beat. So nothing here may
 * depend on a child's margin. Internal spacing is always either `gap` on a
 * grid/flex container, or `padding` on the child itself.
 */

:root {
	--rw-radius-sm: 8px;
	--rw-radius-md: 14px;
	--rw-radius-lg: 20px;
	--rw-radius-panel: 28px;
	--rw-radius-pill: 999px;

	--rw-shadow-card: 0 18px 44px rgba(16, 22, 34, 0.1);
	--rw-shadow-accent: 0 6px 18px rgba(242, 110, 70, 0.28);

	--rw-ink: var(--wp--preset--color--ink, #101622);
	--rw-flame: var(--wp--preset--color--flame, #f26e46);
	--rw-bone: var(--wp--preset--color--bone, #ece9e5);
	--rw-shell: var(--wp--preset--color--shell, #f6f4f1);
	--rw-clay: var(--wp--preset--color--clay, #bfb7ae);
	--rw-line: rgba(16, 22, 34, 0.14);
	--rw-line-dark: rgba(236, 233, 229, 0.18);
	--rw-muted: rgba(16, 22, 34, 0.62);
	--rw-secondary: rgba(16, 22, 34, 0.7);
	--rw-on-dark-muted: rgba(236, 233, 229, 0.66);

	/* Gap between the section title block and the content below it. */
	--rw-head-gap: clamp(34px, 3.6vw, 52px);
}

/*
 * Type. Display and body are both Inter, self-hosted from assets/fonts/ and
 * declared in theme.json. The earlier display face (Pliant) was declared but
 * its woff2 was never added, so headings silently rendered in Outfit.
 */

/* ---------------------------------------------------------------------------
 * Primitives
 * ------------------------------------------------------------------------- */

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

.rw-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--eyebrow, 11px);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rw-muted);
}

.rw-eyebrow--flame {
	color: var(--rw-flame);
}

.rw-eyebrow--on-dark {
	color: var(--rw-on-dark-muted);
}

/*
 * Instrument Serif italic accents. Any <em> inside a display heading becomes
 * the accent face, so the effect survives a client re-saving the block (which
 * would strip a helper class but keeps the <em>).
 */
.rw-serif,
h1 em,
h2 em,
h3 em,
.rw-footer__promise em,
.rw-reason__title em,
.rw-team__quote em {
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.02em;
}

.rw-lead {
	color: var(--rw-secondary);
	font-size: var(--wp--preset--font-size--lg);
	line-height: 1.6;
}

.rw-muted {
	color: var(--rw-muted);
}

/* ---------------------------------------------------------------------------
 * Sections
 * ------------------------------------------------------------------------- */

/*
 * Deliberately no width and no positioning here:
 * - a fixed width would defeat `alignfull` breaking out of the root padding;
 * - making this a containing block lets absolutely-positioned descendants
 *   (e.g. visually-hidden labels) escape a rail's overflow clipping.
 * Components that need positioning establish it themselves.
 */
.rw-section {
	display: block;
}

.rw-section--padded {
	padding-top: var(--wp--preset--spacing--section);
	padding-bottom: var(--wp--preset--spacing--section);
}

.rw-section--white {
	background-color: #fff;
}

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

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

.rw-section--ink {
	background-color: var(--rw-ink);
	color: var(--rw-bone);
}

.rw-section--ink a {
	color: inherit;
}

/*
 * Section header: title stack on the left, supporting text or carousel
 * controls on the right.
 */
.rw-sectionhead {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: var(--wp--preset--spacing--xl);
	padding-block-end: var(--rw-head-gap);
}

/*
 * Two patterns use this class on the <h2> itself instead of on a wrapping
 * group. Scope the grid to the group form only — on a heading it would turn
 * <em> and the text either side of <br> into separate rows, pulling the two
 * lines 14px apart on top of the 0.97 line-height.
 */
.wp-block-group.rw-sectionhead__title {
	display: grid;
	gap: 14px;
	justify-items: start;
	align-content: start;
}

.rw-sectionhead__aside {
	justify-self: end;
	text-align: right;
	max-width: 34ch;
}

@media (max-width: 781px) {
	.rw-sectionhead {
		grid-template-columns: minmax(0, 1fr);
	}

	.rw-sectionhead__aside {
		justify-self: start;
		text-align: left;
	}
}

/* Eyebrow + heading stack used where there is no right-hand column. */
.rw-stack {
	display: grid;
	gap: 14px;
	justify-items: start;
}

/* ---------------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------------- */

.wp-block-button__link {
	border-radius: var(--rw-radius-pill);
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
	white-space: nowrap;
}

/* Trailing arrow — typographic, so it inherits colour and scale. */
.rw-btn-arrow > .wp-block-button__link::after {
	content: "\2192";
	font-size: 1.05em;
	line-height: 1;
	transition: transform 0.18s ease;
}

.rw-btn-arrow > .wp-block-button__link:hover::after {
	transform: translateX(3px);
}

/* Default (flame) */
.wp-block-button:not(.is-style-white):not(.is-style-outline):not(.is-style-ink):not(.is-style-text):not(.rw-railnav__btn) > .wp-block-button__link {
	box-shadow: var(--rw-shadow-accent);
}

.wp-block-button:not(.is-style-white):not(.is-style-outline):not(.is-style-ink):not(.is-style-text):not(.rw-railnav__btn) > .wp-block-button__link:hover {
	background-color: #e05d35;
}

/* White pill on tinted backgrounds */
.wp-block-button.is-style-white > .wp-block-button__link {
	background-color: #fff;
	color: var(--rw-ink);
	box-shadow: 0 6px 18px rgba(16, 22, 34, 0.08);
}

.wp-block-button.is-style-white > .wp-block-button__link:hover {
	background-color: var(--rw-shell);
}

/* Ink pill — used on the flame CTA panel */
.wp-block-button.is-style-ink > .wp-block-button__link {
	background-color: var(--rw-ink);
	color: #fff;
}

.wp-block-button.is-style-ink > .wp-block-button__link:hover {
	background-color: #1c2537;
}

/* Outline / ghost */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background-color: transparent;
	color: var(--rw-ink);
	border: 1px solid var(--rw-line);
	box-shadow: none;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--rw-ink);
	background-color: transparent;
}

.rw-section--ink .wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--rw-bone);
	border-color: var(--rw-line-dark);
}

/* Plain text link button */
.wp-block-button.is-style-text > .wp-block-button__link {
	background-color: transparent;
	color: inherit;
	padding: 0;
	box-shadow: none;
	text-decoration: underline;
	text-underline-offset: 4px;
	font-size: var(--wp--preset--font-size--sm);
}

/*
 * Circular carousel controls. Built on core/button so they stay editable and
 * keep an accessible label; the glyph is drawn in CSS and the label is hidden.
 */
.rw-railnav {
	gap: 10px;
}

.rw-railnav__btn > .wp-block-button__link {
	inline-size: 48px;
	block-size: 48px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--rw-line);
	background: transparent;
	color: var(--rw-ink);
	box-shadow: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
	line-height: 1;
	transition: background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.rw-railnav__btn > .wp-block-button__link::after {
	font-size: 17px;
	line-height: 1;
}

.rw-railnav__btn--prev > .wp-block-button__link::after {
	content: "\2190";
}

.rw-railnav__btn--next > .wp-block-button__link::after {
	content: "\2192";
}

.rw-railnav__btn > .wp-block-button__link:hover {
	background-color: #fff;
	border-color: var(--rw-ink);
}

.rw-railnav__btn > .wp-block-button__link.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

/* ---------------------------------------------------------------------------
 * Header / navigation
 * ------------------------------------------------------------------------- */

.rw-header {
	background-color: var(--rw-shell);
	border-bottom: 1px solid var(--rw-line);
	position: relative;
	z-index: 20;
}

.rw-header__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--wp--preset--spacing--lg);
}

.rw-brand {
	font-family: var(--wp--preset--font-family--display);
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1;
	display: inline-flex;
	align-items: center;
}

.rw-brand a {
	color: inherit;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;                          /* 9.5px op merkhoogte 28, geschaald naar 20 */
}

/*
 * Cursora brand mark. Masked instead of inlined so it follows currentColor —
 * ink on the light header, bone on the dark footer.
 */
.rw-brand a::before {
	content: "";
	block-size: 20px;
	inline-size: 20.4px;              /* het merk is 28.5 x 28 */
	background-color: currentColor;
	-webkit-mask: url(../icons/logo-mark.svg) no-repeat center / contain;
	mask: url(../icons/logo-mark.svg) no-repeat center / contain;
	flex: none;
}

.rw-header .wp-block-site-logo img {
	max-block-size: 28px;
	inline-size: auto;
}

.rw-nav {
	justify-self: center;
}

.rw-nav .wp-block-navigation__container {
	gap: clamp(18px, 2vw, 26px);
}

.rw-nav a {
	font-size: 15px;
	color: var(--rw-ink);
	text-decoration: none;
}

.rw-nav a:hover {
	color: var(--rw-flame);
}

.rw-header__cta {
	justify-self: end;
}

/* Core's own responsive overlay handles the mobile menu (breakpoint 600px). */
.rw-nav .wp-block-navigation__responsive-container-open,
.rw-nav .wp-block-navigation__responsive-container-close {
	color: var(--rw-ink);
}

.rw-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: clamp(20px, 3.9vw, 56px);
}

.rw-nav .wp-block-navigation__responsive-container.is-menu-open a {
	font-size: 22px;
}

@media (max-width: 599px) {
	.rw-header__bar {
		grid-template-columns: 1fr auto;
	}

	.rw-nav {
		justify-self: end;
	}

	/* The hero carries both calls to action directly below. */
	.rw-header .rw-header__cta {
		display: none;
	}
}

/* ---------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------- */

.rw-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--rw-bone);
	padding-top: clamp(40px, 5.5vw, 80px);
	padding-bottom: clamp(40px, 5.5vw, 78px);
}

/*
 * Backdrop flourish: the Cursora mark blown up, one step LIGHTER than the bone
 * section rather than darker. The mark's own disc is the large pale circle in
 * the design — there is no separate disc behind it, and the cursor-shaped
 * counter is the bone background showing through. Decorative only.
 */
.rw-hero::after {
	content: "";
	position: absolute;
	inset-inline-end: 0;
	inset-block-start: 17%;
	inline-size: min(40vw, 580px);
	aspect-ratio: 28.5 / 28;
	background-color: var(--rw-shell);
	-webkit-mask: url(../icons/logo-mark.svg) no-repeat center / contain;
	mask: url(../icons/logo-mark.svg) no-repeat center / contain;
	pointer-events: none;
	z-index: 0;
}

.rw-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: clamp(28px, 3.6vw, 52px);
	justify-items: start;
}

.rw-hero__title {
	max-inline-size: 15ch;
}

/* Indented second and third lines, as drawn. */
.rw-hero__title .rw-indent-1 {
	display: block;
	padding-inline-start: clamp(0px, 14.8vw, 214px);
}

.rw-hero__title .rw-indent-2 {
	display: block;
	padding-inline-start: clamp(0px, 4.7vw, 68px);
}

.rw-hero__meta {
	display: grid;
	gap: 26px;
	justify-items: start;
	max-inline-size: 580px;
}

.rw-hero__actions {
	gap: 12px;
}

@media (max-width: 781px) {
	.rw-hero__title .rw-indent-1,
	.rw-hero__title .rw-indent-2 {
		padding-inline-start: 0;
	}

	.rw-hero__actions {
		inline-size: 100%;
	}

	.rw-hero__actions .wp-block-button,
	.rw-hero__actions .wp-block-button__link {
		inline-size: 100%;
		justify-content: center;
	}
}

/* ---------------------------------------------------------------------------
 * Marquee
 * ------------------------------------------------------------------------- */

.rw-marquee {
	background-color: var(--rw-ink);
	color: var(--rw-bone);
	overflow: hidden;
	padding-block: 16px;
	padding-inline: 0;
}

.rw-marquee__track {
	display: flex;
	inline-size: max-content;
	animation: rw-marquee 38s linear infinite;
	/* Own compositing layer: keeps the infinite transform off the main thread. */
	will-change: transform;
}

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

.rw-marquee__list {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rw-marquee__list > li {
	display: flex;
	align-items: center;
	font-size: 16px;
	letter-spacing: -0.01em;
	white-space: nowrap;
	padding-inline: 28px;
}

.rw-marquee__list > li::after {
	content: "";
	inline-size: 5px;
	block-size: 5px;
	border-radius: 50%;
	background: var(--rw-flame);
	margin-inline-start: 56px;
	flex: none;
}

@keyframes rw-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

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

	.rw-marquee {
		overflow-x: auto;
	}
}

/* ---------------------------------------------------------------------------
 * Redenen — numbered reason rows
 * ------------------------------------------------------------------------- */

.rw-reason {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--wp--preset--spacing--xl);
	align-items: start;
	padding-block: clamp(22px, 2.4vw, 34px);
	border-top: 1px solid var(--rw-line);
}

.rw-reason__num {
	font-size: var(--wp--preset--font-size--eyebrow, 11px);
	letter-spacing: 0.18em;
	color: var(--rw-flame);
	padding-block-start: 6px;
}

.rw-reason__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(22px, 2.1vw, 30px);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.rw-reason__body {
	color: var(--rw-secondary);
	font-size: 15px;
	line-height: 1.62;
}

@media (max-width: 900px) {
	.rw-reason {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.rw-reason__num {
		padding-block-start: 0;
	}
}

/* ---------------------------------------------------------------------------
 * Pakketten — dark panel
 * ------------------------------------------------------------------------- */

.rw-panel {
	background-color: var(--rw-ink);
	color: var(--rw-bone);
	border-radius: var(--rw-radius-panel);
	padding: clamp(28px, 3.6vw, 52px);
}

.rw-panel h2,
.rw-panel h3 {
	color: var(--rw-bone);
}

.rw-packages {
	display: grid;
	gap: 26px;
	justify-items: stretch;
}

/* Page picker */
.rw-picker {
	border: 1px solid var(--rw-line-dark);
	border-radius: var(--rw-radius-lg);
	background: rgba(255, 255, 255, 0.03);
	padding: clamp(18px, 1.8vw, 26px);
}

.rw-picker__legend {
	font-size: var(--wp--preset--font-size--eyebrow, 11px);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rw-on-dark-muted);
	padding: 0 0 16px;
}

.rw-picker__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0;
	padding: 0;
	border: 0;
	min-inline-size: 0;
}

.rw-chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 16px;
	border: 1px solid var(--rw-line-dark);
	border-radius: var(--rw-radius-pill);
	font-size: 14px;
	line-height: 1;
	color: var(--rw-bone);
	cursor: pointer;
	position: relative;
	transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.rw-chip:hover {
	border-color: rgba(236, 233, 229, 0.45);
}

.rw-chip__box {
	inline-size: 15px;
	block-size: 15px;
	border-radius: 4px;
	border: 1px solid rgba(236, 233, 229, 0.4);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	line-height: 1;
	color: transparent;
	flex: none;
}

.rw-chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	inline-size: 1px;
	block-size: 1px;
}

.rw-chip:has(input:checked) {
	background: var(--rw-bone);
	border-color: var(--rw-bone);
	color: var(--rw-ink);
}

.rw-chip:has(input:checked) .rw-chip__box {
	background: var(--rw-flame);
	border-color: var(--rw-flame);
	color: #fff;
}

.rw-chip:has(input:focus-visible) {
	outline: 2px solid var(--rw-flame);
	outline-offset: 3px;
}

.rw-picker__result {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-block-start: 20px;
	padding-block-start: 16px;
	border-top: 1px solid var(--rw-line-dark);
}

.rw-picker__count,
.rw-picker__match {
	margin: 0;
	font-size: 15px;
	color: var(--rw-on-dark-muted);
}

.rw-picker__count b {
	font-family: var(--wp--preset--font-family--display);
	font-size: 26px;
	font-weight: 500;
	letter-spacing: -0.045em;
	color: var(--rw-bone);
	margin-inline-end: 6px;
}

.rw-picker__match b {
	font-weight: 500;
	color: var(--rw-flame);
	margin-inline-start: 6px;
}

/* Package cards */
.rw-packages__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

/*
 * Cards sit on the dark panel and are dark themselves; the tier the picker
 * lands on flips to white. Colours run through four local custom properties so
 * both states are a token swap rather than a pile of overrides. The edge uses
 * an inset shadow, not a border, so neither state changes the box size.
 */
.rw-package {
	--rw-card-bg: rgba(255, 255, 255, 0.03);
	--rw-card-fg: var(--rw-bone);
	--rw-card-muted: var(--rw-on-dark-muted);
	--rw-card-edge: var(--rw-line-dark);
	--rw-card-rule: var(--rw-line-dark);

	position: relative;
	background: var(--rw-card-bg);
	color: var(--rw-card-fg);
	box-shadow: inset 0 0 0 1px var(--rw-card-edge);
	border-radius: var(--rw-radius-md);
	padding: 26px 24px 22px;
	display: grid;
	gap: 0;
	align-content: start;
	grid-template-rows: auto auto auto 1fr auto;
	transition: background-color 0.16s ease, color 0.16s ease;
}

.rw-package.is-featured {
	box-shadow: inset 0 0 0 1px var(--rw-card-edge), var(--rw-shadow-card);
}

/* Set by the picker when the selected page count lands in this tier. */
.rw-package.is-match {
	--rw-card-bg: #fff;
	--rw-card-fg: var(--rw-ink);
	--rw-card-muted: var(--rw-muted);
	--rw-card-edge: transparent;
	--rw-card-rule: var(--rw-line);
}

.rw-package__badge {
	position: absolute;
	inset-block-start: -12px;
	inset-inline-start: 50%;
	transform: translateX(-50%);
	background: var(--rw-flame);
	color: #fff;
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: var(--rw-radius-pill);
	white-space: nowrap;
}

.rw-package__name {
	font-family: var(--wp--preset--font-family--body);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.rw-package__price {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(30px, 2.6vw, 40px);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1;
	padding-block-start: 14px;
}

.rw-package__scope {
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rw-card-muted);
	padding-block-start: 8px;
}

.rw-package__features {
	list-style: none;
	margin: 0;
	padding: 22px 0 0;
	display: grid;
	gap: 8px;
	align-content: start;
	padding-block-end: 20px;
}

.rw-package__features li {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr);
	gap: 9px;
	font-size: 13px;
	line-height: 1.45;
}

.rw-package__features li::before {
	content: "\2713";
	color: currentColor;
	font-size: 12px;
	line-height: 1.5;
}

.rw-package__features li.is-excluded {
	color: var(--rw-clay);
}

.rw-package__features li.is-excluded::before {
	content: "\2715";
	color: var(--rw-clay);
}

.rw-package__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block-start: 16px;
	border-top: 1px solid var(--rw-card-rule);
	font-size: 13px;
	color: inherit;
}

.rw-package__cta a {
	color: inherit;
	text-decoration: none;
}

.rw-package__cta:hover {
	color: var(--rw-flame);
}

@media (max-width: 1080px) {
	.rw-packages__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 600px) {
	.rw-packages__cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Explainer panels inside the dark section */
.rw-notes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.rw-note {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--rw-line-dark);
	border-radius: var(--rw-radius-md);
	padding: 26px 28px;
	display: grid;
	grid-template-rows: auto auto 1fr auto;
	justify-items: start;
}

/* The hosting note carries a full flame border, in every state. */
.rw-note--accent {
	border-color: var(--rw-flame);
}

.rw-note__tag {
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rw-flame);
	background: rgba(242, 110, 70, 0.14);
	border-radius: var(--rw-radius-pill);
	padding: 6px 12px;
}

.rw-note__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--rw-bone);
	padding-block-start: 16px;
}

.rw-note__body {
	font-size: 14px;
	line-height: 1.6;
	color: var(--rw-on-dark-muted);
	padding-block: 10px 16px;
}

/* Footnotes sit on a shared baseline across both panels. */
.rw-note__foot {
	inline-size: 100%;
	padding-block-start: 16px;
	border-top: 1px solid var(--rw-line-dark);
	font-size: 13px;
	color: rgba(236, 233, 229, 0.5);
}

.rw-pricenote {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--rw-on-dark-muted);
}

.rw-pricenote::before {
	content: "i";
	inline-size: 17px;
	block-size: 17px;
	border-radius: 50%;
	border: 1px solid var(--rw-flame);
	color: var(--rw-flame);
	font-size: 11px;
	font-style: italic;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

@media (max-width: 900px) {
	.rw-notes {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------------------
 * Vergelijking — comparison table
 * ------------------------------------------------------------------------- */

.rw-compare {
	position: relative;
}

/*
 * Core renders core/table as <figure class="wp-block-table"><table>. The figure
 * is the scroll container, so it carries vertical padding to leave room for the
 * highlighted column's overhang instead of clipping it.
 */
.rw-compare__table.wp-block-table {
	margin: 0;
	/*
	 * Vertical room for the highlighted column: 26px/24px of card overhang plus
	 * the reach of its shadow (12px up, 36px down). overflow-x makes overflow-y
	 * auto as well, so anything past this padding is clipped — too little room
	 * and the shadow ends in a hard line instead of fading out.
	 */
	padding-block: 38px 60px;
	overflow-x: auto;
	isolation: isolate;
}

.rw-compare__table table {
	position: relative;
	inline-size: 100%;
	min-inline-size: 760px;
	border-collapse: collapse;
	table-layout: fixed;
}

.rw-compare__table th,
.rw-compare__table td {
	padding: 19px 16px;
	text-align: center;
	vertical-align: middle;
	border: 0;
	position: relative;
}

/*
 * The elevated Cursora column: one box on the table, not a ::before per cell.
 * A single box takes one shadow without seams between the rows, and anchoring
 * it to the table means it scrolls with the table inside the figure. The table
 * is table-layout: fixed with four columns, so column three spans 50%-75%.
 *
 * The card sits at a negative z-index so the cell text stays on top; `isolation`
 * on the figure keeps that layer here. Without it the card escapes to the root
 * stacking context and paints underneath .rw-section--white's white background,
 * which makes it disappear completely.
 */
.rw-compare__table table::after {
	content: "";
	position: absolute;
	inset-block: -26px -24px;
	inset-inline-start: 50%;
	inline-size: 25%;
	background: #fff;
	border-radius: var(--rw-radius-md);
	/*
	 * Three layers with rising blur and falling opacity. Two layers far apart in
	 * blur (which is what this was) leave a visible step where the tighter one
	 * ends; a ramp reads as one smooth falloff. Total reach: 12px up, 36px down,
	 * 24px sideways — the figure's padding is sized to match.
	 */
	box-shadow:
		0 1px 3px rgba(16, 22, 34, 0.04),
		0 5px 12px rgba(16, 22, 34, 0.04),
		0 12px 24px rgba(16, 22, 34, 0.05);
	z-index: -1;
}

/*
 * Core draws thead with `border-bottom: 3px solid` (currentColor, so nearly
 * black). The design wants a hairline. Both selectors weigh 0,1,1, so this one
 * also matches .wp-block-table to win on specificity rather than load order.
 */
.rw-compare__table.wp-block-table thead {
	border-bottom: 1px solid var(--rw-line);
}

.rw-compare__table th:first-child,
.rw-compare__table td:first-child {
	text-align: start;
	padding-inline-start: 0;
	font-size: 14px;
	color: var(--rw-ink);
}

.rw-compare__table thead th {
	font-size: var(--wp--preset--font-size--eyebrow, 11px);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rw-muted);
	padding-block: 22px;
}

.rw-compare__table tbody tr {
	border-top: 1px solid var(--rw-line);
}

/* Absence is signalled by the glyph; the colour only reinforces it. */
.rw-compare__no {
	color: var(--rw-clay);
}

/* Last row = the price row. */
.rw-compare__table tbody tr:last-child td {
	font-family: var(--wp--preset--font-family--display);
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.03em;
	padding-block: 26px;
}

.rw-compare__table tbody tr:last-child td:first-child {
	font-family: var(--wp--preset--font-family--body);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.rw-compare__table tbody tr:last-child td:nth-child(3) {
	color: var(--rw-flame);
}

.rw-compare__badge {
	position: absolute;
	inset-block-start: 0;              /* straddles the card's top edge: 38 - 26 - 12 */
	inset-inline-start: 62.5%;
	transform: translateX(-50%);
	z-index: 2;
	background: var(--rw-flame);
	color: #fff;
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: var(--rw-radius-pill);
	white-space: nowrap;
}

@media (max-width: 900px) {
	.rw-compare__badge {
		display: none;
	}
}

/* ---------------------------------------------------------------------------
 * Werkwijze — staggered step cards
 * ------------------------------------------------------------------------- */

.rw-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	align-items: start;
}

.rw-step {
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-radius-lg);
	padding: 28px 26px 30px;
	display: grid;
	align-content: start;
	min-block-size: 246px;
}

/* The descending stair from the design. */
.rw-steps > .rw-step:nth-child(2) {
	margin-block-start: 26px;
}

.rw-steps > .rw-step:nth-child(3) {
	margin-block-start: 78px;
}

.rw-step__num {
	font-size: var(--wp--preset--font-size--eyebrow, 11px);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rw-flame);
}

.rw-step__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
	padding-block-start: 22px;
}

.rw-step__body {
	font-size: 14px;
	line-height: 1.6;
	color: var(--rw-secondary);
	padding-block-start: 12px;
}

.rw-step--accent {
	background: var(--rw-flame);
	border-color: var(--rw-flame);
	color: #fff;
}

.rw-step--accent .rw-step__num {
	color: rgba(255, 255, 255, 0.8);
}

.rw-step--accent .rw-step__body {
	color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
	.rw-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.rw-steps > .rw-step:nth-child(2),
	.rw-steps > .rw-step:nth-child(3) {
		margin-block-start: 0;
	}

	.rw-step {
		min-block-size: 0;
	}
}

/* ---------------------------------------------------------------------------
 * Team
 * ------------------------------------------------------------------------- */

.rw-team__quote {
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-size: var(--wp--preset--font-size--quote);
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: var(--rw-ink);
	max-inline-size: 20ch;
}

.rw-team__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
}

/* Alternating vertical offset, as drawn. */
.rw-team__grid > .rw-person:nth-child(even) {
	margin-block-start: 34px;
}

.rw-person {
	display: grid;
	align-content: start;
}

.rw-person__photo {
	border-radius: var(--rw-radius-sm);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--rw-shell);
}

.rw-person__photo img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	display: block;
}

.rw-person__name {
	font-family: var(--wp--preset--font-family--body);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
	padding-block-start: 14px;
}

.rw-person__role {
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rw-flame);
	padding-block-start: 4px;
}

.rw-person__bio {
	font-size: 13px;
	line-height: 1.55;
	color: var(--rw-secondary);
	padding-block-start: 9px;
}

/* Centred button under the grid. */
.rw-team__more {
	padding-block-start: clamp(32px, 3.4vw, 48px);
}

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

@media (max-width: 540px) {
	.rw-team__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.rw-team__grid > .rw-person:nth-child(even) {
		margin-block-start: 0;
	}
}

/* ---------------------------------------------------------------------------
 * Rails (reviews / work) — horizontal scrollers
 * ------------------------------------------------------------------------- */

.rw-rail {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-block-end: 4px;
	scrollbar-width: none;
	align-items: stretch;
}

.rw-rail::-webkit-scrollbar {
	display: none;
}

.rw-rail > * {
	scroll-snap-align: start;
	flex: 0 0 calc((100% - 32px) / 3);
}

@media (max-width: 1080px) {
	.rw-rail > * {
		flex: 0 0 calc((100% - 16px) / 2);
	}
}

@media (max-width: 700px) {
	.rw-rail > * {
		flex: 0 0 86%;
	}
}

/* Review card */
.rw-review {
	background: #fff;
	border-radius: var(--rw-radius-md);
	padding: 26px 26px 22px;
	display: grid;
	grid-template-rows: auto 1fr auto;
	box-shadow: 0 10px 30px rgba(16, 22, 34, 0.05);
	position: relative;
}

.rw-review__stars {
	color: var(--rw-flame);
	font-size: 12px;
	letter-spacing: 0.22em;
	line-height: 1;
}

.rw-review__quote {
	font-size: 14px;
	line-height: 1.62;
	color: var(--rw-ink);
	padding-block: 16px;
}

.rw-review__foot {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-block-start: 16px;
	border-top: 1px solid var(--rw-line);
}

.rw-review__avatar {
	inline-size: 34px;
	block-size: 34px;
	border-radius: 50%;
	background: var(--rw-bone);
	color: var(--rw-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
	flex: none;
}

.rw-review__who {
	display: grid;
	gap: 2px;
	flex: 1;
	min-inline-size: 0;
}

.rw-review__name {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.rw-review__company {
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rw-muted);
}

.rw-review__when {
	font-size: 12px;
	color: var(--rw-muted);
	white-space: nowrap;
}

/* Work card */
.rw-work {
	display: grid;
	align-content: start;
	position: relative;
}

.rw-work__image {
	border-radius: var(--rw-radius-sm);
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--rw-shell);
}

.rw-work__image img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	display: block;
}

.rw-work__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
	padding-block-start: 14px;
}

.rw-work__meta {
	font-size: 13px;
	color: var(--rw-muted);
	padding-block-start: 5px;
}

.rw-work__controls {
	gap: 12px;
	align-items: center;
}

/* ---------------------------------------------------------------------------
 * FAQ
 * ------------------------------------------------------------------------- */

.rw-faq {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 5vw, 128px);
	align-items: start;
}

.rw-faq__intro {
	display: grid;
	gap: 18px;
	justify-items: start;
}

.rw-faq__list {
	display: grid;
}

.rw-faq__item {
	border-top: 1px solid var(--rw-line);
	padding-block: 22px;
}

.rw-faq__item > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	cursor: pointer;
	list-style: none;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--rw-ink);
}

.rw-faq__item > summary::-webkit-details-marker {
	display: none;
}

/*
 * Toggle. The + and x are drawn as SVG rather than set as glyphs: a glyph is
 * centred on its line box, not on its ink, so where it lands inside the circle
 * depends on the font's metrics — and it shifted when the body face changed.
 * Geometry centres exactly and survives whatever face we end up on. The colours
 * mirror --rw-muted and --rw-flame; keep them in step.
 */
.rw-faq__item > summary::after {
	content: "";
	box-sizing: border-box;
	inline-size: 22px;
	block-size: 22px;
	border-radius: 50%;
	border: 1px solid var(--rw-line);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.4v9.2M1.4 6h9.2' stroke='%23101622' stroke-opacity='.62' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 10px 10px;
	flex: none;
	transition: background-color 0.16s ease, border-color 0.16s ease;
}

.rw-faq__item[open] > summary::after {
	border-color: var(--rw-flame);
	background-color: var(--rw-flame);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 2.6l6.8 6.8M9.4 2.6l-6.8 6.8' stroke='%23fff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.rw-faq__answer {
	font-size: 14px;
	line-height: 1.62;
	color: var(--rw-secondary);
	padding-block-start: 12px;
	max-inline-size: 56ch;
}

@media (max-width: 900px) {
	.rw-faq {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------------------
 * CTA panel
 * ------------------------------------------------------------------------- */

.rw-cta {
	background: var(--rw-flame);
	color: #fff;
	border-radius: var(--rw-radius-panel);
	text-align: center;
	padding: clamp(48px, 7vw, 124px) clamp(24px, 5vw, 80px);
	display: grid;
	justify-items: center;
	gap: 22px;
}

.rw-cta h2 {
	color: #fff;
	max-inline-size: 16ch;
}

.rw-cta__body {
	color: rgba(255, 255, 255, 0.9);
	font-size: 15px;
	line-height: 1.6;
	max-inline-size: 62ch;
}

.rw-cta__link {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.rw-cta__link a {
	color: inherit;
}

/* ---------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------- */

.rw-footer {
	background: var(--rw-ink);
	color: var(--rw-bone);
	padding-block: clamp(48px, 5vw, 84px) clamp(28px, 3vw, 40px);
}

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

.rw-footer a:hover {
	color: var(--rw-flame);
}

.rw-footer__cols {
	display: grid;
	grid-template-columns: minmax(0, 430fr) repeat(3, minmax(0, 212fr));
	gap: clamp(28px, 4vw, 87px);
	align-items: start;
}

.rw-footer .rw-brand {
	color: var(--rw-bone);
}

.rw-footer__brand,
.rw-footer__col {
	display: grid;
	justify-items: start;
	align-content: start;
}

.rw-footer__promise {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.15;
	color: var(--rw-bone);
	padding-block: 20px 22px;
	max-inline-size: 18ch;
}

.rw-footer__heading {
	font-family: var(--wp--preset--font-family--body);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rw-on-dark-muted);
	padding-block-end: 22px;
}

.rw-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 11px;
	font-size: 15px;
}

.rw-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block-start: 22px;
	border-top: 1px solid var(--rw-line-dark);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rw-on-dark-muted);
}

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

@media (max-width: 540px) {
	.rw-footer__cols {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------------------
 * Cards (Query Loop post template) — used by the Cards patterns
 * ------------------------------------------------------------------------- */

.rw-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	border-radius: var(--rw-radius-md);
	overflow: hidden;
	height: 100%;
	background: #fff;
}

.rw-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: var(--wp--preset--spacing--md, 1rem);
	flex: 1;
}

.rw-card .wp-block-post-featured-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* ---------------------------------------------------------------------------
 * Company info
 * ------------------------------------------------------------------------- */

.rw-company-info__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.rw-company-info--tiles .rw-company-info__list {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.rw-company-info__label {
	display: block;
	font-size: var(--wp--preset--font-size--sm, 14px);
	font-weight: 600;
	color: var(--rw-muted);
	padding-block-end: 0.25rem;
}

.rw-company-info__item {
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--rw-line);
}

.rw-company-info--panel {
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-radius-md);
	padding: var(--wp--preset--spacing--lg, 1.5rem);
	background: var(--rw-shell);
}

.rw-company-info--empty {
	opacity: 0.7;
	font-style: italic;
}

/* ---------------------------------------------------------------------------
 * Paginakop — page header used by Prijzen / Werkwijze / Over ons
 * ------------------------------------------------------------------------- */

.rw-pagehead {
	background-color: var(--rw-bone);
	padding-block: clamp(44px, 5.5vw, 88px) clamp(44px, 5vw, 72px);
}

.rw-pagehead__title {
	padding-block-start: 18px;
	max-inline-size: 20ch;
}

.rw-pagehead__intro {
	padding-block-start: 26px;
	color: var(--rw-secondary);
	font-size: var(--wp--preset--font-size--lg);
	line-height: 1.6;
	max-inline-size: 740px;
}

/*
 * The header is a constrained group, and core centres every child narrower
 * than the content size with `margin-left/right: auto !important`. These stay
 * flush left as drawn, which means countering that !important directly.
 */
.rw-pagehead > .rw-eyebrow,
.rw-pagehead > .rw-pagehead__title,
.rw-pagehead > .rw-pagehead__intro {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* ---------------------------------------------------------------------------
 * Inbegrepen — three checklists plus an "own it yourself" panel
 * ------------------------------------------------------------------------- */

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

.rw-included__col {
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-radius-md);
	padding: 30px;
	display: grid;
	align-content: start;
}

.rw-included__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

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

.rw-checklist li {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr);
	gap: 10px;
	font-size: 15px;
	line-height: 1.5;
}

.rw-checklist li::before {
	content: "\2713";
	color: var(--rw-flame);
	font-size: 13px;
	line-height: 1.6;
}

/* Muted counterpart: what the client supplies. */
.rw-checklist--todo li::before {
	content: "\25E6";
	color: var(--rw-clay);
	font-size: 15px;
}

.rw-aside {
	background: var(--rw-shell);
	border-radius: var(--rw-radius-md);
	padding: 28px 30px;
	display: grid;
	justify-items: start;
	margin-block-start: 20px;
}

.rw-aside__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.rw-aside__body {
	font-size: 15px;
	color: var(--rw-secondary);
	padding-block-start: 8px;
}

.rw-pills {
	list-style: none;
	margin: 0;
	padding: 18px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.rw-pills li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-radius-pill);
	padding: 9px 16px;
	font-size: 15px;
	background: #fff;
}

.rw-pills li::before {
	content: "\2212";
	color: var(--rw-muted);
	font-size: 13px;
	line-height: 1;
}

@media (max-width: 900px) {
	.rw-included {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------------------
 * Stappen — the detailed Werkwijze rows
 * ------------------------------------------------------------------------- */

.rw-flow {
	display: grid;
}

.rw-flow__step {
	display: grid;
	grid-template-columns: 380px minmax(0, 1fr);
	gap: 40px;
	padding-block: 40px;
	border-top: 1px solid var(--rw-line);
}

.rw-flow > .rw-flow__step:first-child {
	border-top: 0;
	padding-block-start: 0;
}

.rw-flow__head {
	display: grid;
	justify-items: start;
	align-content: start;
}

.rw-flow__num {
	font-family: var(--wp--preset--font-family--display);
	font-size: 34px;
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1;
	color: var(--rw-flame);
}

.rw-flow__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
	padding-block-start: 10px;
}

.rw-flow__tag {
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rw-muted);
	background: var(--rw-shell);
	border-radius: var(--rw-radius-pill);
	padding: 7px 13px;
	margin-block-start: 14px;
}

.rw-flow__detail {
	display: grid;
	align-content: start;
}

.rw-flow__intro {
	font-size: 15px;
	line-height: 1.62;
	color: var(--rw-secondary);
}

.rw-flow__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
	padding-block-start: 26px;
}

.rw-flow__col {
	display: grid;
	align-content: start;
}

@media (max-width: 900px) {
	.rw-flow__step,
	.rw-flow__cols {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

/* ---------------------------------------------------------------------------
 * Ons verhaal — text beside an image
 * ------------------------------------------------------------------------- */

.rw-story {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 5vw, 88px);
	align-items: center;
}

.rw-story__text {
	display: grid;
	justify-items: start;
	align-content: center;
	max-inline-size: 46ch;
}

.rw-story__body {
	font-size: 15px;
	line-height: 1.7;
	color: var(--rw-secondary);
	padding-block-start: 20px;
}

.rw-story__quote {
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-size: clamp(24px, 2.2vw, 30px);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--rw-ink);
	padding-block-start: 26px;
}

.rw-story__attrib {
	font-size: 13px;
	color: var(--rw-muted);
	padding-block-start: 10px;
}

.rw-story__image {
	border-radius: var(--rw-radius-md);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--rw-shell);
}

.rw-story__image img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 900px) {
	.rw-story {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------------------
 * Waarden — three numbered principle cards
 * ------------------------------------------------------------------------- */

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

.rw-value {
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-radius-md);
	padding: 28px 30px 30px;
	display: grid;
	align-content: start;
}

.rw-value__num {
	font-family: var(--wp--preset--font-family--display);
	font-size: 28px;
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1;
	color: var(--rw-flame);
}

.rw-value__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.02em;
	padding-block-start: 18px;
}

.rw-value__body {
	font-size: 14px;
	line-height: 1.6;
	color: var(--rw-secondary);
	padding-block-start: 10px;
}

@media (max-width: 900px) {
	.rw-values {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------------------
 * Locaties
 * ------------------------------------------------------------------------- */

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

.rw-location {
	background: #fff;
	border-radius: var(--rw-radius-md);
	overflow: hidden;
	display: grid;
	align-content: start;
}

.rw-location__map {
	aspect-ratio: 21 / 9;
	background: var(--rw-shell);
	overflow: hidden;
}

.rw-location__map img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	display: block;
}

.rw-location__body {
	padding: 24px 26px 26px;
	display: grid;
	justify-items: start;
}

.rw-location__name {
	font-family: var(--wp--preset--font-family--body);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.rw-location__address {
	font-size: 14px;
	line-height: 1.55;
	color: var(--rw-secondary);
	padding-block-start: 8px;
}

.rw-location__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding-block-start: 18px;
}

.rw-location__badge {
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rw-muted);
	background: var(--rw-shell);
	border-radius: var(--rw-radius-pill);
	padding: 7px 13px;
}

.rw-location__route {
	font-size: 14px;
	color: var(--rw-flame);
	text-decoration: none;
}

.rw-location__route:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 780px) {
	.rw-locations {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------------------
 * Contact — intro beside the form card
 * ------------------------------------------------------------------------- */

.rw-contact {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}

.rw-contact__intro {
	display: grid;
	justify-items: start;
	align-content: start;
}

.rw-contact__body {
	font-size: 15px;
	line-height: 1.62;
	color: var(--rw-secondary);
	padding-block-start: 22px;
	max-inline-size: 42ch;
}

.rw-contact__detail {
	padding-block-start: 24px;
}

.rw-contact__label {
	display: block;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rw-muted);
	margin-block-end: 6px;
}

.rw-contact__value {
	font-size: 15px;
	font-weight: 500;
}

.rw-contact__card {
	background: #fff;
	border-radius: var(--rw-radius-md);
	padding: clamp(22px, 2.4vw, 30px);
	box-shadow: 0 10px 30px rgba(16, 22, 34, 0.05);
}

@media (max-width: 900px) {
	.rw-contact {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------------------
 * Contact Form 7 chrome
 * ------------------------------------------------------------------------- */

.rw-contact__card .wpcf7-form > p {
	margin: 0;
}

.rw-form__legend {
	display: block;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rw-muted);
	margin-block-end: 12px;
}

/* Topic radios rendered as pills. */
.rw-form__topics .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.rw-form__topics .wpcf7-list-item {
	margin: 0;
}

.rw-form__topics .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-radius-pill);
	padding: 10px 16px;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.rw-form__topics .wpcf7-list-item input[type="radio"] {
	appearance: none;
	inline-size: 7px;
	block-size: 7px;
	border-radius: 50%;
	background: var(--rw-clay);
	margin: 0;
	flex: none;
}

.rw-form__topics .wpcf7-list-item label:has(input:checked) {
	background: var(--rw-ink);
	border-color: var(--rw-ink);
	color: #fff;
}

.rw-form__topics .wpcf7-list-item label:has(input:checked) input[type="radio"] {
	background: var(--rw-flame);
}

.rw-form__topics .wpcf7-list-item label:has(input:focus-visible) {
	outline: 2px solid var(--rw-flame);
	outline-offset: 3px;
}

.rw-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
	margin-block-start: 22px;
}

.rw-form__field {
	display: grid;
	gap: 6px;
	min-inline-size: 0;
}

.rw-form__field--wide {
	grid-column: 1 / -1;
}

.rw-form__field > span:first-child {
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rw-muted);
}

.rw-contact__card input[type="text"],
.rw-contact__card input[type="email"],
.rw-contact__card input[type="tel"],
.rw-contact__card textarea {
	inline-size: 100%;
	border: 0;
	border-bottom: 1px solid var(--rw-line);
	background: transparent;
	padding: 10px 0;
	font-family: inherit;
	font-size: 15px;
	color: var(--rw-ink);
	border-radius: 0;
}

.rw-contact__card textarea {
	min-block-size: 96px;
	resize: vertical;
}

.rw-contact__card ::placeholder {
	color: var(--rw-clay);
}

.rw-contact__card input:focus,
.rw-contact__card textarea:focus {
	outline: none;
	border-bottom-color: var(--rw-flame);
}

.rw-form__submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin-block-start: 26px;
}

.rw-contact__card .wpcf7-form button[type="submit"],
.rw-contact__card .wpcf7-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	background: var(--rw-ink);
	color: #fff;
	border: 0;
	border-radius: var(--rw-radius-pill);
	padding: 17px 26px;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.18s ease;
}

.rw-contact__card .wpcf7-form button[type="submit"]::after {
	content: "\2192";
	font-size: 1.05em;
	line-height: 1;
}

.rw-contact__card .wpcf7-form button[type="submit"]:hover {
	background: #1c2537;
}

.rw-form__note {
	font-size: 13px;
	color: var(--rw-muted);
}

.rw-contact__card .wpcf7-not-valid-tip {
	color: #b4341a;
	font-size: 12px;
}

.rw-contact__card .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 12px 16px;
	border-radius: var(--rw-radius-sm);
	border: 1px solid var(--rw-line);
	font-size: 14px;
}

@media (max-width: 600px) {
	.rw-form__row {
		grid-template-columns: minmax(0, 1fr);
	}
}
