/* ==========================================================================
   Ritect — theme styles (front-end + editor)
   Structure: 1 tokens · 2 base · 3 shared components · 4 header/nav ·
   5 sections (hero → footer) · 6 inner pages · 7 motion · 8 utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--c-tq: var(--wp--preset--color--turquoise, #65a0ab);
	--c-coral: var(--wp--preset--color--coral, #f48689);
	--c-black: var(--wp--preset--color--black, #151515);
	--c-white: var(--wp--preset--color--white, #fff);
	--c-off: var(--wp--preset--color--offwhite, #f8f9f7);
	--c-dt: var(--wp--preset--color--dark-turquoise, #17434c);
	--f-head: var(--wp--preset--font-family--heading);
	--f-body: var(--wp--preset--font-family--body);
	--gutter: var(--wp--custom--gutter, clamp(1rem, 0.4rem + 3vw, 3.5rem));
	--ease: var(--wp--custom--ease, cubic-bezier(0.22, 1, 0.36, 1));
	--radius: var(--wp--custom--radius, 18px);
	--max: 1440px;
	--header-h: 76px;
	--section-pad: clamp(5rem, 3rem + 9vw, 11rem);
	--size-display: var(--wp--preset--font-size--display);
	--size-h2: var(--wp--preset--font-size--xx-large);
	--muted: rgba(21, 21, 21, 0.66);
	--line: rgba(21, 21, 21, 0.16);
	--focus: var(--c-dt);
}

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

body {
	overflow-x: hidden; /* iOS < 16 */
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks > *,
.ritect-main > * {
	margin-block: 0;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
	text-wrap: balance;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
	margin-block: 0;
}

p {
	text-wrap: pretty;
}

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

::selection {
	background: var(--c-coral);
	color: var(--c-black);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	border-radius: 4px;
}

.skip-link.screen-reader-text:focus {
	background: var(--c-coral);
	color: var(--c-black);
	z-index: 100001;
}

/* Section scheme: text colour, muted tones and focus colour follow the background. */
.is-dark {
	background-color: var(--c-black);
	color: var(--c-white);
	--muted: rgba(255, 255, 255, 0.68);
	--line: rgba(255, 255, 255, 0.18);
	--focus: var(--c-coral);
	--btn-outline-hover-bg: var(--c-white);
	--btn-outline-hover-fg: var(--c-black);
	--btn-hover-bg: var(--c-white);
	--btn-hover-fg: var(--c-black);
}

.is-light {
	background-color: var(--c-off);
	color: var(--c-black);
	--muted: rgba(21, 21, 21, 0.68);
	--line: rgba(21, 21, 21, 0.16);
	--focus: var(--c-dt);
	--btn-outline-hover-bg: var(--c-black);
	--btn-outline-hover-fg: var(--c-white);
	--btn-hover-bg: var(--c-black);
	--btn-hover-fg: var(--c-white);
}

/* 3. Shared components ----------------------------------------------------- */
.ritect-container {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto !important;
	padding-inline: var(--gutter);
	box-sizing: border-box;
}

.ritect-section {
	position: relative;
	overflow: hidden; /* iOS < 16 */
	overflow: clip;
	padding-block: var(--section-pad);
}

/* Content always above the decorative rings. */
.ritect-section > :not(.ritect-ring) {
	position: relative;
	z-index: 1;
}

.ritect-section > * + *,
.ritect-container > * + * {
	margin-block-start: 0;
}

/* Eyebrow label with a tiny open circle (gap at the top, like the logo ring). */
.ritect-eyebrow,
.ritect-label {
	font-family: var(--f-head);
	font-weight: 500;
	font-size: 0.8125rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1.3;
	margin: 0;
}

.ritect-eyebrow {
	display: block;
	margin-bottom: clamp(1.25rem, 2.5vw, 2rem) !important;
}

.ritect-eyebrow::before {
	content: "";
	display: inline-block;
	vertical-align: -0.12em;
	margin-right: 0.75em;
	width: 0.9em;
	height: 0.9em;
	border-radius: 50%;
	border: 0.24em solid var(--c-tq);
	border-top-color: transparent;
	box-sizing: border-box;
}

.ritect-eyebrow__sep {
	color: var(--c-coral);
}

.ritect-label {
	color: var(--muted);
	margin-bottom: 1rem;
}

/* Highlighted words: the core “Highlight” format. On light sections the
   dark turquoise highlight gets a coral underline swash. */
mark.has-inline-color {
	background-color: transparent;
	color: inherit;
}

.is-light mark.has-dark-turquoise-color {
	background-image: linear-gradient(var(--c-coral), var(--c-coral));
	background-repeat: no-repeat;
	background-size: 100% 0.09em;
	background-position: 0 94%;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Section headings */
.ritect-section h2.wp-block-heading {
	font-size: var(--size-h2);
}

/* Buttons ------------------------------------------------------------------ */
.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
}

.wp-block-button__link {
	--btn-bg: var(--c-coral);
	--btn-fg: var(--c-black);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.7em;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	text-decoration: none;
	white-space: nowrap;
	background: linear-gradient(var(--btn-hover-bg, var(--c-white)), var(--btn-hover-bg, var(--c-white))) no-repeat left / 0% 100%, var(--btn-bg);
	color: var(--btn-fg);
	transition: background-size 0.55s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
	will-change: transform;
}

.wp-block-button__link::after {
	content: "";
	flex: none;
	width: 1.1em;
	height: 1.1em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.45s var(--ease);
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
	background-size: 100% 100%, auto;
	color: var(--btn-hover-fg, var(--c-black));
}

.wp-block-button__link:hover::after,
.wp-block-button__link:focus-visible::after {
	transform: translateX(0.3em);
}

/* Outline */
.wp-block-button.is-style-outline > .wp-block-button__link {
	--btn-bg: transparent;
	--btn-fg: currentColor;
	background: linear-gradient(var(--btn-outline-hover-bg, var(--c-white)), var(--btn-outline-hover-bg, var(--c-white))) no-repeat left / 0% 100%, transparent;
	color: inherit;
	border: 1.5px solid currentColor;
	padding: calc(1.05em - 1.5px) calc(1.6em - 1.5px);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background-size: 100% 100%, auto;
	color: var(--btn-outline-hover-fg, var(--c-black));
	border-color: var(--btn-outline-hover-bg, var(--c-white));
}

/* Text link with arrow */
.wp-block-button.is-style-arrow-link > .wp-block-button__link {
	background: none;
	color: inherit;
	padding: 0.35em 0;
	border-radius: 0;
	font-size: 1rem;
	overflow: visible;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 100% 1.5px;
	background-position: 0 100%;
}

.wp-block-button.is-style-arrow-link > .wp-block-button__link::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
}

.wp-block-button.is-style-arrow-link > .wp-block-button__link:hover {
	background-size: 0% 1.5px;
	background-position: 100% 100%;
	color: inherit;
}

.wp-block-button.is-style-arrow-link > .wp-block-button__link:hover::after {
	transform: translate(0.15em, -0.15em);
}

/* Read more (archive) */
.ritect-readmore {
	font-family: var(--f-head);
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	gap: 0.5em;
	align-items: center;
}

.ritect-readmore::after {
	content: "→";
	transition: transform 0.4s var(--ease);
}

.ritect-readmore:hover::after {
	transform: translateX(0.3em);
}

/* The Ritect ring ----------------------------------------------------------- */
.ritect-ring {
	--ring-color: var(--c-coral);
	color: var(--ring-color);
	opacity: var(--ring-opacity, 1);
	line-height: 0;
	pointer-events: none;
	width: var(--ring-size, 160px);
	max-width: none;
	flex: none;
}

.ritect-ring__inner {
	transform-origin: 50% 50%;
}

.ritect-ring__inner > div {
	display: contents;
}

.ritect-ring svg {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	overflow: visible;
}

.ritect-ring.is-color-coral { --ring-color: var(--c-coral); }
.ritect-ring.is-color-turquoise { --ring-color: var(--c-tq); }
.ritect-ring.is-color-white { --ring-color: var(--c-white); }
.ritect-ring.is-color-black { --ring-color: var(--c-black); }
.ritect-ring.is-color-dark-turquoise { --ring-color: var(--c-dt); }

.ritect-ring.is-size-xs { --ring-size: 0.62em; }
.ritect-ring.is-size-s { --ring-size: clamp(72px, 9vw, 140px); }
.ritect-ring.is-size-m { --ring-size: clamp(120px, 16vw, 240px); }
.ritect-ring.is-size-l { --ring-size: clamp(220px, 34vw, 560px); }
.ritect-ring.is-size-xl { --ring-size: clamp(320px, 58vw, 940px); }
.ritect-ring.is-size-hero { --ring-size: clamp(440px, 92vw, 1500px); }

.ritect-ring:not(.is-pos-inline) {
	position: absolute;
	z-index: 0;
	margin: 0 !important;
}

.ritect-ring.is-pos-top-right { top: -8%; right: -6%; }
.ritect-ring.is-pos-top-left { top: -8%; left: -6%; }
.ritect-ring.is-pos-bottom-right { bottom: -8%; right: -6%; }
.ritect-ring.is-pos-bottom-left { bottom: -8%; left: -6%; }
.ritect-ring.is-pos-center { top: 50%; left: 50%; translate: -50% -50%; }
.ritect-ring.is-pos-edge-right { top: 50%; right: 0; translate: 46% -50%; }
.ritect-ring.is-pos-edge-left { top: 50%; left: 0; translate: -46% -50%; }

.ritect-ring[data-motion="spin"] .ritect-ring__inner {
	animation: ritect-spin 80s linear infinite;
}

.ritect-ring[data-motion="float"] .ritect-ring__inner {
	animation: ritect-float 9s ease-in-out infinite alternate;
}

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

@keyframes ritect-float {
	from { transform: translate3d(0, -3%, 0) rotate(-6deg); }
	to { transform: translate3d(0, 3%, 0) rotate(6deg); }
}

/* Brand / logo --------------------------------------------------------------- */
.ritect-brand {
	margin: 0;
	line-height: 1;
}

.ritect-brand__link {
	display: inline-flex;
	align-items: center;
	gap: 0.42em;
	color: inherit;
	text-decoration: none;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 1.6rem;
	letter-spacing: -0.04em;
}

.ritect-brand__mark {
	display: block;
	width: 1.05em;
	color: var(--c-coral);
	transition: transform 0.8s var(--ease);
}

.ritect-brand__mark svg {
	display: block;
	width: 100%;
	height: auto;
}

.ritect-brand__link:hover .ritect-brand__mark {
	transform: rotate(180deg);
}

.ritect-brand__logo {
	display: block;
	height: clamp(26px, 2.2vw, 34px);
	width: auto;
	max-width: 160px;
}

.ritect-brand__logo--on-light {
	display: none;
}

.is-on-light .ritect-brand__logo--on-dark {
	display: none;
}

.is-on-light .ritect-brand__logo--on-light {
	display: block;
}

/* 4. Header + navigation ----------------------------------------------------- */
.ritect-site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	color: var(--c-white);
	transition: transform 0.6s var(--ease), color 0.4s var(--ease);
}

.admin-bar .ritect-site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.ritect-site-header.is-on-light {
	color: var(--c-black);
	--focus: var(--c-dt);
	--btn-hover-bg: var(--c-black);
	--btn-hover-fg: var(--c-white);
}

.ritect-site-header:not(.is-on-light) {
	--focus: var(--c-coral);
}

.ritect-site-header.is-hidden:not(:focus-within) {
	transform: translateY(-110%);
}

.ritect-header {
	position: relative;
}

/* Backdrop lives on a pseudo element so the fixed mobile menu is not trapped. */
.ritect-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(21, 21, 21, 0.72);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	opacity: 0;
	transition: opacity 0.4s var(--ease), background-color 0.4s var(--ease);
	pointer-events: none;
}

.is-scrolled .ritect-header::before {
	opacity: 1;
}

.is-on-light .ritect-header::before {
	background: rgba(248, 249, 247, 0.8);
}

.ritect-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
	height: var(--header-h);
	box-sizing: border-box;
}

.ritect-header__inner > * {
	margin: 0 !important;
}

.ritect-header__inner > .ritect-nav {
	margin-left: auto !important;
}

.ritect-header__cta .wp-block-button__link {
	font-size: 0.875rem;
	padding: 0.85em 1.25em;
}

.ritect-nav {
	font-family: var(--f-head);
	font-weight: 500;
	font-size: 0.95rem;
	--navigation-layout-justification-setting: flex-end;
}

.ritect-nav .wp-block-navigation__container {
	gap: clamp(1.25rem, 2.2vw, 2.25rem);
}

.ritect-nav .wp-block-navigation-item__content,
.ritect-footer__nav .wp-block-navigation-item__content {
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 0% 1.5px;
	background-position: 100% 100%;
	transition: background-size 0.45s var(--ease);
	padding-block: 0.25em;
}

.ritect-nav .wp-block-navigation-item__content:hover,
.ritect-footer__nav .wp-block-navigation-item__content:hover {
	background-size: 100% 1.5px;
	background-position: 0 100%;
}

.ritect-nav .wp-block-navigation__responsive-container-open,
.ritect-nav .wp-block-navigation__responsive-container-close {
	color: inherit;
	width: 44px;
	height: 44px;
	place-items: center;
}

.ritect-nav .wp-block-navigation__responsive-container-open svg,
.ritect-nav .wp-block-navigation__responsive-container-close svg {
	width: 30px;
	height: 30px;
}

/* Desktop: Contact sits in the CTA button instead. */
@media (min-width: 1024px) {
	.ritect-nav .ritect-nav__contact {
		display: none;
	}
}

/* Hamburger below 1024px (core switches at 600px; we extend that). */
@media (max-width: 1023.98px) {
	.ritect-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: inline-grid;
	}

	.ritect-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	.ritect-nav .wp-block-navigation__responsive-container:not(.hidden-by-default) .wp-block-navigation__responsive-container-close {
		display: inline-grid;
	}
}

@media (max-width: 599.98px) {
	.ritect-header__cta {
		display: none !important;
	}
}

/* Full-screen menu overlay */
.ritect-nav .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--c-black) !important;
	color: var(--c-white) !important;
	padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
	overflow: auto;
}

.ritect-nav .wp-block-navigation__responsive-container.is-menu-open::before {
	content: "";
	position: absolute;
	right: -30vw;
	bottom: -25vw;
	width: 90vw;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 13vw solid var(--c-tq);
	border-top-color: transparent;
	opacity: 0.9;
	transform: rotate(35deg);
	pointer-events: none;
}

.ritect-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	top: calc(var(--header-h) / 2 - 22px);
	right: var(--gutter);
}

.ritect-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	position: relative;
	align-items: flex-start !important;
	padding-top: 0 !important;
}

.ritect-nav .is-menu-open .wp-block-navigation__container {
	gap: 0.35rem !important;
	align-items: flex-start !important;
}

.ritect-nav .is-menu-open .wp-block-navigation-item {
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(2.25rem, 10vw, 4.5rem) !important;
	line-height: 1.05;
	letter-spacing: -0.04em;
	animation: ritect-menu-in 0.7s var(--ease) both;
}

.ritect-nav .is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: 0.05s; }
.ritect-nav .is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: 0.1s; }
.ritect-nav .is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: 0.15s; }
.ritect-nav .is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: 0.2s; }
.ritect-nav .is-menu-open .wp-block-navigation-item:nth-child(6) { animation-delay: 0.25s; }

@keyframes ritect-menu-in {
	from { opacity: 0; transform: translateY(40%); }
	to { opacity: 1; transform: none; }
}

/* 5. Sections ---------------------------------------------------------------- */

/* 5.1 Hero */
.ritect-hero {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: calc(var(--header-h) + clamp(2rem, 7vh, 5.5rem));
	padding-bottom: clamp(4.5rem, 10vh, 7rem);
}

.ritect-hero__bg-ring.is-pos-edge-left {
	top: 58%;
	translate: -58% -50%;
}

.ritect-hero__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(1rem, 2vw, 2rem);
	align-items: start;
}

.ritect-hero__grid > * {
	margin: 0 !important;
	min-width: 0;
}

.ritect-hero__eyebrow {
	grid-column: 1 / -1;
	grid-row: 1;
	margin-bottom: clamp(1.25rem, 3vw, 2.25rem) !important;
}

.ritect-hero__title {
	grid-column: 1 / -1;
	grid-row: 2;
	position: relative;
	z-index: 2;
	font-size: var(--size-display) !important;
	line-height: 0.9;
	letter-spacing: -0.045em;
}

.ritect-hero__visual {
	grid-column: 9 / -1;
	grid-row: 2 / span 2;
	position: relative;
	z-index: 1;
	margin-top: calc(var(--size-display) * 1.08) !important;
	align-self: start;
}

.ritect-hero__body {
	grid-column: 1 / span 7;
	grid-row: 3;
	padding-top: clamp(1.75rem, 4vw, 3.25rem);
}

.ritect-hero__intro {
	max-width: 34ch;
	color: rgba(255, 255, 255, 0.82);
	margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.5;
}

.ritect-hero__photo {
	position: relative;
	z-index: 1;
	margin: 0;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--c-dt);
}

.ritect-hero__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ritect-hero__visual .ritect-hero__ring {
	--ring-size: 128%;
	top: 46%;
	left: 52%;
	z-index: 0;
}

.ritect-hero__scroll {
	position: absolute !important;
	left: var(--gutter);
	bottom: clamp(1.25rem, 3vh, 2rem);
	margin: 0;
	font-family: var(--f-head);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.ritect-hero__scroll a {
	display: inline-flex;
	align-items: center;
	gap: 0.9em;
	color: var(--muted);
	text-decoration: none;
}

.ritect-hero__scroll a::after {
	content: "";
	width: 3.5rem;
	height: 1px;
	background: currentColor;
	transform-origin: left;
	animation: ritect-scroll-line 2.4s var(--ease) infinite;
}

@keyframes ritect-scroll-line {
	0% { transform: scaleX(0); }
	50% { transform: scaleX(1); transform-origin: left; }
	51% { transform-origin: right; }
	100% { transform: scaleX(0); transform-origin: right; }
}

@media (max-width: 1023.98px) {
	.ritect-hero__visual {
		grid-column: 8 / -1;
		grid-row: 3;
		margin-top: clamp(1.75rem, 4vw, 3.25rem) !important;
	}

	.ritect-hero__body {
		grid-column: 1 / span 7;
	}
}

@media (max-width: 699.98px) {
	.ritect-hero {
		padding-top: calc(var(--header-h) + 2.5rem);
	}

	.ritect-hero__grid {
		display: flex;
		flex-direction: column;
	}

	.ritect-hero__body {
		padding-top: 1.5rem;
	}

	.ritect-hero__visual {
		order: 5;
		width: min(80%, 360px);
		margin: 3.5rem 0 0 auto !important;
	}

	.ritect-hero__scroll {
		display: none;
	}
}

/* 5.2 Statement */
.ritect-statement {
	padding-block: clamp(7rem, 4rem + 14vw, 16rem);
}

.ritect-statement .ritect-ring.is-pos-edge-right {
	translate: 52% -50%;
}

.ritect-statement__title {
	font-size: clamp(2rem, 0.6rem + 6.6vw, 8rem) !important;
	line-height: 0.95;
	max-width: 15ch;
}

.ritect-statement__text {
	max-width: 36ch;
	margin: clamp(2.5rem, 6vw, 5rem) 0 0 auto !important;
	line-height: 1.5;
}

/* 5.3 Work / projects */
.ritect-work {
	padding-top: clamp(3rem, 2rem + 4vw, 6rem);
	counter-reset: project;
}

.ritect-work__head {
	margin-bottom: clamp(3.5rem, 8vw, 7rem) !important;
}

.ritect-work__title {
	max-width: 13ch;
}

.ritect-work__query > * {
	margin: 0 !important;
}

.ritect-work__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid !important;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(1rem, 2.5vw, 2.5rem);
	row-gap: clamp(5rem, 11vw, 11rem);
}

.ritect-work__list > li {
	margin: 0 !important;
	min-width: 0;
	counter-increment: project;
}

.ritect-work__list > li:nth-child(3n + 1) { grid-column: 1 / -1; }
.ritect-work__list > li:nth-child(3n + 2) { grid-column: 1 / span 7; }
.ritect-work__list > li:nth-child(3n + 3) { grid-column: 9 / -1; padding-top: clamp(4rem, 18vw, 18rem); }

.ritect-project {
	display: grid;
	gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

.ritect-project > * {
	margin: 0 !important;
}

.ritect-project__media {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 16 / 9;
	background: var(--c-dt);
	isolation: isolate;
}

.ritect-work__list > li:nth-child(3n + 2) .ritect-project__media { aspect-ratio: 5 / 4; }
.ritect-work__list > li:nth-child(3n + 3) .ritect-project__media { aspect-ratio: 4 / 5; }

.ritect-project__media > .wp-block-post-featured-image {
	position: absolute !important;
	inset: -8% 0;
	margin: 0 !important;
	height: auto !important;
	z-index: 0 !important;
}

.ritect-project__media .wp-block-post-featured-image a,
.ritect-project__media .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.ritect-project__media .wp-block-post-featured-image img {
	transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
}

.ritect-project:hover .ritect-project__media .wp-block-post-featured-image img,
.ritect-project:focus-within .ritect-project__media .wp-block-post-featured-image img {
	transform: scale(1.05);
}

.ritect-project__ring {
	--ring-size: clamp(90px, 13vw, 200px);
	z-index: 2 !important;
	right: -3% !important;
	bottom: -6% !important;
	top: auto !important;
	transition: translate 0.9s var(--ease);
}

.ritect-project:hover .ritect-project__ring {
	translate: -6% -6%;
}

/* Project placeholder (no image yet) */
.ritect-placeholder {
	background: var(--c-dt);
	color: var(--c-white);
}

.ritect-placeholder a {
	position: relative;
	display: grid !important;
	place-items: center;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}

.ritect-placeholder__ring {
	position: absolute;
	width: 70%;
	max-width: 620px;
	color: var(--c-tq);
	opacity: 0.35;
	line-height: 0;
}

.ritect-placeholder__name {
	position: relative;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(2rem, 6vw, 6rem);
	letter-spacing: -0.04em;
	line-height: 0.95;
	text-align: center;
	padding-inline: 1.5rem;
}

.ritect-placeholder__logo {
	position: relative;
	width: auto !important;
	height: auto !important;
	max-width: 50% !important;
	max-height: 40% !important;
	object-fit: contain !important;
}

.ritect-placeholder__note {
	position: absolute;
	left: 1rem;
	top: 12%;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--c-coral);
	color: var(--c-black);
	padding: 0.35em 0.7em;
	border-radius: 99px;
}

.ritect-project__info {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.9rem;
	align-content: start;
}

.ritect-project__info > * {
	margin: 0 !important;
}

.ritect-project__info::before {
	content: counter(project, decimal-leading-zero) " —";
	font-family: var(--f-head);
	font-weight: 500;
	font-size: 0.875rem;
	letter-spacing: 0.12em;
	color: var(--c-dt);
}

.ritect-work__list > li:nth-child(3n + 1) .ritect-project__info {
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	column-gap: clamp(2rem, 6vw, 6rem);
}

.ritect-work__list > li:nth-child(3n + 1) .ritect-project__info::before,
.ritect-work__list > li:nth-child(3n + 1) .ritect-project__head {
	grid-column: 1;
}

.ritect-work__list > li:nth-child(3n + 1) .ritect-project__meta,
.ritect-work__list > li:nth-child(3n + 1) .ritect-project__excerpt,
.ritect-work__list > li:nth-child(3n + 1) .ritect-project__foot {
	grid-column: 2;
}

.ritect-work__list > li:nth-child(3n + 1) .ritect-project__head {
	grid-row: 2 / span 3;
}

.ritect-project__head {
	display: flex;
	align-items: flex-start;
	gap: 0.3em;
	font-size: clamp(2rem, 1rem + 3.6vw, 4.75rem);
}

.ritect-work__list > li:not(:nth-child(3n + 1)) .ritect-project__head {
	font-size: clamp(1.9rem, 1rem + 2.4vw, 3.4rem);
}

.ritect-project__accent {
	margin-top: 0.12em !important;
	transition: transform 0.8s var(--ease);
}

.ritect-project:hover .ritect-project__accent {
	transform: rotate(180deg);
}

.ritect-project__title {
	font-size: 1em !important;
	line-height: 0.95;
	letter-spacing: -0.04em;
	margin: 0 !important;
}

.ritect-project__title a {
	text-decoration: none;
	color: inherit;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 0% 0.06em;
	background-position: 0 92%;
	transition: background-size 0.6s var(--ease);
}

.ritect-project__title a:hover,
.ritect-project__title a:focus-visible {
	background-size: 100% 0.06em;
}

.ritect-project__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	font-family: var(--f-head);
	font-size: 0.95rem;
}

.ritect-project__meta > * {
	margin: 0 !important;
}

.ritect-project__client {
	font-weight: 700;
}

.ritect-project__services {
	color: var(--muted);
}

.ritect-project__excerpt {
	max-width: 46ch;
	line-height: 1.55;
}

.ritect-project__excerpt p {
	margin: 0;
}

.ritect-project__excerpt .wp-block-post-excerpt__more-text {
	display: none;
}

.ritect-project__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
}

.ritect-project__foot > * {
	margin: 0 !important;
}

.ritect-project__logo img,
.ritect-case__logo img {
	display: block;
	width: auto;
	max-height: 56px;
	max-width: 180px;
	object-fit: contain;
}

.ritect-work__more {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: clamp(5rem, 10vw, 9rem) !important;
	padding-top: 2.5rem;
	border-top: 1px solid var(--line);
}

.ritect-work__more > * {
	margin: 0 !important;
}

.ritect-work__note {
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem);
	letter-spacing: -0.03em;
	line-height: 1.1;
	max-width: 22ch;
}

@media (max-width: 781.98px) {
	.ritect-work__list > li:nth-child(n) {
		grid-column: 1 / -1;
		padding-top: 0;
	}

	.ritect-work__list > li:nth-child(n) .ritect-project__media {
		aspect-ratio: 4 / 3;
	}

	.ritect-work__list > li:nth-child(3n + 1) .ritect-project__info {
		grid-template-columns: minmax(0, 1fr);
	}

	.ritect-work__list > li:nth-child(3n + 1) .ritect-project__info > *,
	.ritect-work__list > li:nth-child(3n + 1) .ritect-project__info::before {
		grid-column: 1 !important;
		grid-row: auto !important;
	}
}

/* 5.4 Services */
.ritect-services__head {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(1rem, 2vw, 2rem);
	align-items: end;
	margin-bottom: clamp(3rem, 7vw, 6rem) !important;
}

.ritect-services__head > * {
	margin: 0 !important;
}

.ritect-services__head .ritect-eyebrow {
	grid-column: 1 / -1;
	margin-bottom: 1.5rem !important;
}

.ritect-services__title {
	grid-column: 1 / span 8;
}

.ritect-services__intro {
	grid-column: 9 / -1;
	color: var(--muted);
	max-width: 34ch;
}

.ritect-services__list {
	position: relative;
	border-top: 1px solid var(--line);
}

.ritect-service {
	position: relative;
	display: grid;
	grid-template-columns: clamp(2.5rem, 6vw, 6rem) minmax(0, 1fr) minmax(0, 30ch);
	grid-template-areas:
		"num title desc"
		"num tag desc";
	column-gap: clamp(1rem, 3vw, 3rem);
	align-items: center;
	padding-block: clamp(1.6rem, 3.2vw, 3rem);
	border-bottom: 1px solid var(--line);
}

.ritect-service > * {
	margin: 0 !important;
}

.ritect-service::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(101, 160, 171, 0.14), transparent 70%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.7s var(--ease);
	pointer-events: none;
}

.ritect-service__num {
	grid-area: num;
	align-self: start;
	padding-top: 0.7em;
	font-family: var(--f-head);
	font-size: 0.875rem;
	letter-spacing: 0.12em;
	color: var(--c-tq);
}

.ritect-service__title {
	grid-area: title;
	font-size: clamp(1.7rem, 0.9rem + 3.2vw, 4rem) !important;
	line-height: 1;
	letter-spacing: -0.04em;
	transition: transform 0.7s var(--ease), color 0.4s var(--ease);
}

.ritect-service.is-featured .ritect-service__title {
	font-size: clamp(2.1rem, 0.9rem + 5vw, 6rem) !important;
}

.ritect-service__tag {
	grid-area: tag;
	justify-self: start;
	margin-top: 0.9rem !important;
	font-family: var(--f-head);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-coral);
	border: 1px solid currentColor;
	padding: 0.4em 0.85em;
	border-radius: 99px;
}

.ritect-service__desc {
	grid-area: desc;
	color: var(--muted);
	line-height: 1.55;
}

.ritect-service__visual {
	grid-area: visual;
	display: none;
	margin: 0 !important;
}

.ritect-service__visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Desktop/tablet: list left, sticky image stage right (stage built by JS). */
.ritect-services__stage {
	display: none;
}

@media (min-width: 1024px) {
	.ritect-services__list.has-stage {
		display: grid;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		column-gap: clamp(2.5rem, 5vw, 6rem);
		align-items: start;
		border-top: 0;
	}

	.has-stage > .ritect-service {
		grid-column: 1;
		grid-template-columns: clamp(2.5rem, 5vw, 4.5rem) minmax(0, 1fr);
		grid-template-areas:
			"num title"
			"num tag"
			"num desc";
		row-gap: 0;
	}

	.has-stage > .ritect-service:first-child {
		border-top: 1px solid var(--line);
	}

	.has-stage .ritect-service__title {
		font-size: clamp(1.7rem, 0.8rem + 2.4vw, 3.4rem) !important;
		transition: color 0.5s var(--ease), transform 0.7s var(--ease);
	}

	.has-stage .ritect-service.is-featured .ritect-service__title {
		font-size: clamp(2rem, 0.9rem + 3.1vw, 4.4rem) !important;
	}

	.has-stage .ritect-service__desc {
		margin-top: 0.75rem !important;
		max-width: 44ch;
		transition: color 0.5s var(--ease);
	}

	.has-stage .ritect-service__num {
		padding-top: 0.55em;
		transition: color 0.5s var(--ease);
	}

	.has-stage .ritect-service:not(.is-active) .ritect-service__title {
		color: rgba(255, 255, 255, 0.42);
	}

	.has-stage .ritect-service:not(.is-active) .ritect-service__desc {
		color: rgba(255, 255, 255, 0.5);
	}

	.has-stage .ritect-service.is-active .ritect-service__title {
		transform: translateX(clamp(0.5rem, 1.4vw, 1.5rem));
	}

	.has-stage .ritect-service.is-active::before {
		transform: scaleX(1);
	}

	.has-stage .ritect-service.is-active .ritect-service__num {
		color: var(--c-coral);
	}

	.ritect-services__stage {
		--turn: 0deg;
		display: block;
		grid-column: 2;
		position: sticky;
		top: calc(var(--header-h) + 2.5rem);
		align-self: start;
		margin: 0 !important;
	}

	/* The open ring around the frame turns one step per service. */
	.ritect-services__stage::before {
		content: "";
		position: absolute;
		z-index: 0;
		left: 50%;
		top: 45%;
		width: 116%;
		aspect-ratio: 1;
		border-radius: 50%;
		border: clamp(18px, 2.4vw, 38px) solid var(--c-tq);
		border-top-color: transparent;
		transform: translate(-50%, -50%) rotate(var(--turn));
		transition: transform 1.2s var(--ease);
		pointer-events: none;
	}

	.ritect-services__frame {
		position: relative;
		z-index: 1;
		aspect-ratio: 4 / 5;
		max-height: calc(100vh - var(--header-h) - 9rem);
		border-radius: var(--radius);
		overflow: hidden;
		background: var(--c-dt);
	}

	.ritect-services__frame img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		clip-path: circle(0% at 50% 55%);
		transform: scale(1.12);
		transition: clip-path 0.95s var(--ease), transform 1.4s var(--ease);
	}

	.ritect-services__frame img.is-active {
		clip-path: circle(80% at 50% 55%);
		transform: none;
	}

	.ritect-services__frame img.is-prev {
		clip-path: circle(80% at 50% 55%);
		transform: none;
		transition: none;
	}

	.ritect-services__caption {
		position: relative;
		z-index: 1;
		margin: 1.25rem 0 0;
		font-family: var(--f-head);
		font-size: 0.8125rem;
		font-weight: 500;
		letter-spacing: 0.14em;
		text-transform: uppercase;
		color: var(--muted);
	}
}

/* Touch / small screens: show the visual inline as a thumbnail. */
@media (max-width: 1023.98px) {
	.ritect-service {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"num visual"
			"title visual"
			"tag tag"
			"desc desc";
		row-gap: 0.6rem;
	}

	.ritect-service__num {
		padding-top: 0;
	}

	.ritect-service__visual {
		display: block;
		width: clamp(64px, 18vw, 120px);
		aspect-ratio: 1;
		border-radius: 12px;
		overflow: hidden;
		align-self: center;
	}

	.ritect-service__tag {
		margin-top: 0.2rem !important;
	}

	.ritect-service__desc {
		margin-top: 0.4rem !important;
		max-width: 52ch;
	}

	.ritect-services__title,
	.ritect-services__intro {
		grid-column: 1 / -1;
	}

	.ritect-services__intro {
		margin-top: 1.5rem !important;
	}
}

/* 5.5 Big statement */
.ritect-bigstatement {
	background-color: var(--c-dt);
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	place-items: center;
	text-align: center;
}

.ritect-bigstatement__ring {
	--ring-size: clamp(420px, 88vw, 1300px);
}

.ritect-bigstatement__ring {
	--ring-opacity: 0.55;
}

.ritect-bigstatement__title {
	font-size: clamp(2rem, 0.2rem + 8.6vw, 10rem) !important;
	line-height: 0.92;
	letter-spacing: -0.045em;
}

.ritect-bigstatement__title .r-line {
	display: block;
}

/* 5.6 Marquee band */
.ritect-band {
	background: var(--c-coral);
	color: var(--c-black);
	overflow: hidden; /* iOS < 16 */
	overflow: clip;
}

.ritect-marquee {
	overflow: hidden;
	padding-block: clamp(0.85rem, 1.4vw, 1.25rem);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(1.35rem, 0.9rem + 2.2vw, 3rem);
	letter-spacing: -0.03em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	margin: 0 !important;
}

.ritect-marquee__track {
	display: flex;
	width: max-content;
	animation: ritect-marquee var(--marquee-duration, 40s) linear infinite;
}

.ritect-marquee.is-reverse .ritect-marquee__track {
	animation-direction: reverse;
}

.ritect-marquee__group {
	display: flex;
	align-items: center;
	flex: none;
}

.ritect-marquee__item {
	padding-inline: 0.4em;
}

.ritect-marquee__sep {
	display: inline-block;
	width: 0.62em;
	line-height: 0;
	margin-inline: 0.25em;
}

.ritect-marquee__sep svg {
	width: 100%;
	height: auto;
}

@keyframes ritect-marquee {
	to { transform: translate3d(-50%, 0, 0); }
}

/* 5.7 About */
.ritect-about__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(1rem, 2.5vw, 2.5rem);
	align-items: center;
}

.ritect-about__grid > * {
	margin: 0 !important;
}

.ritect-about__media {
	grid-column: 1 / span 6;
	position: relative;
	padding-bottom: 14%;
}

.ritect-about__media > * {
	margin: 0 !important;
}

.ritect-about__ring {
	--ring-size: 74%;
	top: -9% !important;
	left: -12% !important;
}

.ritect-about__portrait {
	position: relative;
	z-index: 1;
	width: 78%;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	overflow: hidden;
}

.ritect-about__process {
	position: absolute !important;
	z-index: 2;
	right: 0;
	bottom: 0;
	width: 50%;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 0 0 clamp(6px, 0.8vw, 12px) var(--c-off);
}

.ritect-about__portrait img,
.ritect-about__process img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ritect-about__text {
	grid-column: 8 / -1;
}

.ritect-about__text > * {
	margin: 0 0 1.25rem !important;
}

.ritect-about__title {
	font-size: clamp(2rem, 0.9rem + 4vw, 5rem) !important;
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem) !important;
}

.ritect-about__lead {
	line-height: 1.45;
}

.ritect-about__sign {
	margin-top: 2rem !important;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	font-size: 0.95rem;
	color: var(--muted);
}

.ritect-about__sign strong {
	color: var(--c-black);
	font-family: var(--f-head);
}

/* Personal quote in Joram's own words. */
.ritect-about__quote {
	position: relative;
	margin-top: clamp(2rem, 4vw, 3rem) !important;
	padding: clamp(1.5rem, 3vw, 2.25rem) 0 0 !important;
	border: 0;
	border-top: 1px solid var(--line);
}

.ritect-about__quote p {
	margin: 0;
	font-family: var(--f-head);
	font-weight: 500;
	font-size: clamp(1.3rem, 1rem + 1vw, 1.85rem);
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: var(--c-black);
	text-wrap: pretty;
}

.ritect-about__quote p::before {
	content: "\201C";
}

.ritect-about__quote p::after {
	content: "\201D";
}

.ritect-about__quote p::before,
.ritect-about__quote p::after {
	color: var(--c-coral);
	font-weight: 700;
}

.ritect-about__quote cite {
	display: block;
	margin-top: 1.25rem;
	font-style: normal;
	font-size: 0.95rem;
	color: var(--muted);
}

.ritect-about__quote cite strong {
	color: var(--c-black);
	font-family: var(--f-head);
}

@media (max-width: 899.98px) {
	.ritect-about__media,
	.ritect-about__text {
		grid-column: 1 / -1;
	}

	.ritect-about__media {
		margin-bottom: clamp(3rem, 10vw, 5rem) !important;
		max-width: 560px;
	}
}

/* 5.8 Process */
.ritect-process__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(1rem, 2.5vw, 2.5rem);
	align-items: start;
}

.ritect-process__grid > * {
	margin: 0 !important;
}

.ritect-process__head {
	grid-column: 1 / span 5;
	position: sticky;
	top: calc(var(--header-h) + 3rem);
}

.ritect-process__head > * {
	margin-top: 0 !important;
}

.ritect-process__title {
	font-size: clamp(2rem, 0.9rem + 3.6vw, 4.6rem) !important;
}

.ritect-process__ring {
	margin-top: clamp(2rem, 5vw, 4rem) !important;
	--ring-size: clamp(90px, 11vw, 170px);
}

.ritect-process__steps {
	grid-column: 7 / -1;
	position: relative;
	padding-left: clamp(3rem, 5vw, 4.5rem);
	--progress: 0;
}

.ritect-process__steps::before,
.ritect-process__steps::after {
	content: "";
	position: absolute;
	left: calc(clamp(2.25rem, 3vw, 2.75rem) / 2 - 1px);
	top: 2.5rem;
	bottom: 2.5rem;
	width: 2px;
	background: var(--line);
}

.ritect-process__steps::after {
	background: var(--c-coral);
	transform-origin: top;
	transform: scaleY(var(--progress));
}

.no-motion .ritect-process__steps::after,
html:not(.r-motion) .ritect-process__steps::after {
	transform: scaleY(1);
}

.ritect-step {
	position: relative;
	padding-block: clamp(2rem, 4vw, 3.5rem);
	border-bottom: 1px solid var(--line);
}

.ritect-step:last-child {
	border-bottom: 0;
}

.ritect-step > * {
	margin: 0 !important;
}

.ritect-step__num {
	position: absolute !important;
	left: calc(-1 * clamp(3rem, 5vw, 4.5rem));
	top: clamp(2rem, 4vw, 3.5rem);
	z-index: 1;
	width: clamp(2.25rem, 3vw, 2.75rem);
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--c-black);
	border: 2px solid var(--line);
	font-family: var(--f-head);
	font-size: 0.8rem;
	font-weight: 700;
	transition: border-color 0.5s var(--ease), color 0.5s var(--ease), background-color 0.5s var(--ease);
}

.ritect-step.is-active .ritect-step__num {
	border-color: var(--c-coral);
	background: var(--c-coral);
	color: var(--c-black);
}

.ritect-step__title {
	font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem) !important;
	margin-bottom: 0.75rem !important;
}

.ritect-step__text {
	color: var(--muted);
	max-width: 40ch;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.45;
}

@media (max-width: 899.98px) {
	.ritect-process__head,
	.ritect-process__steps {
		grid-column: 1 / -1;
	}

	.ritect-process__head {
		position: relative;
		top: 0;
		margin-bottom: 2.5rem !important;
	}

	.ritect-process__ring {
		display: none;
	}
}

/* 5.9 Contact */
.ritect-contact .ritect-ring.is-pos-edge-left {
	top: 22%;
	translate: -62% -50%;
}

.ritect-contact__head {
	margin-bottom: clamp(3rem, 7vw, 6rem) !important;
}

.ritect-contact__title {
	font-size: clamp(2rem, 0.6rem + 5.2vw, 6.4rem) !important;
	max-width: 17ch;
}

.ritect-contact__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(1rem, 2.5vw, 2.5rem);
	align-items: start;
}

.ritect-contact__grid > * {
	margin: 0 !important;
	min-width: 0;
}

.ritect-contact__aside {
	grid-column: 1 / span 5;
}

.ritect-contact__aside > * {
	margin: 0 0 2rem !important;
	max-width: 30ch;
}

.ritect-contact__grid > .ritect-form {
	grid-column: 7 / -1;
}

@media (max-width: 899.98px) {
	.ritect-contact__aside,
	.ritect-contact__grid > .ritect-form {
		grid-column: 1 / -1;
	}

	.ritect-contact__aside {
		margin-bottom: 2.5rem !important;
	}
}

/* Contact details */
.ritect-details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;
}

.ritect-details a {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	color: inherit;
	text-decoration: none;
}

.ritect-details a span {
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 0% 1.5px;
	background-position: 0 100%;
	transition: background-size 0.45s var(--ease);
}

.ritect-details a:hover span,
.ritect-details a:focus-visible span {
	background-size: 100% 1.5px;
}

.ritect-details .ritect-icon {
	flex: none;
	width: 1.15em;
	height: 1.15em;
}

.ritect-details__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	list-style: none;
	margin: 0.4rem 0 0;
	padding: 0;
}

.ritect-details.is-large .ritect-details__email {
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(1.35rem, 0.9rem + 1.8vw, 2.4rem);
	letter-spacing: -0.03em;
	word-break: break-all;
}

/* Contact form */
.ritect-form {
	--field-line: rgba(21, 21, 21, 0.4);
	--error: #b42318;
}

.is-dark .ritect-form {
	--field-line: rgba(255, 255, 255, 0.45);
	--error: #ffb4ab;
}

.ritect-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 2.5vw, 2rem);
}

.ritect-form__field {
	display: flex;
	flex-direction: column;
	margin: 0;
	min-width: 0;
}

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

.ritect-form__field label {
	font-family: var(--f-head);
	font-weight: 500;
	font-size: 0.8125rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.35rem;
}

.ritect-form__req {
	color: var(--c-coral);
}

.is-light .ritect-form__req {
	color: var(--c-dt);
}

.ritect-form__opt {
	text-transform: none;
	letter-spacing: 0;
	color: var(--muted);
}

.ritect-form input,
.ritect-form select,
.ritect-form textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	font-size: 1.125rem;
	color: inherit;
	background: transparent;
	border: 0;
	border-bottom: 1.5px solid var(--field-line);
	border-radius: 0;
	padding: 0.7rem 0;
	transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}

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

.ritect-form input:focus,
.ritect-form select:focus,
.ritect-form textarea:focus {
	outline: none;
	border-color: var(--focus);
	box-shadow: 0 1.5px 0 0 var(--focus);
}

.ritect-form input:focus-visible,
.ritect-form select:focus-visible,
.ritect-form textarea:focus-visible {
	outline: none;
}

.ritect-form__select {
	position: relative;
	display: block;
}

.ritect-form__select::after {
	content: "";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	width: 0.6rem;
	height: 0.6rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-75%) rotate(45deg);
	pointer-events: none;
}

.ritect-form select {
	padding-right: 2rem;
	cursor: pointer;
}

.ritect-form select option {
	color: var(--c-black);
}

.ritect-form__field.has-error input,
.ritect-form__field.has-error select,
.ritect-form__field.has-error textarea {
	border-color: var(--error);
	box-shadow: 0 1.5px 0 0 var(--error);
}

.ritect-form__error {
	color: var(--error);
	font-size: 0.875rem;
	min-height: 1.3em;
	margin-top: 0.35rem;
}

.ritect-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ritect-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.ritect-form__privacy {
	font-size: 0.875rem;
	color: var(--muted);
	max-width: 36ch;
	margin: 0;
}

.ritect-form__submit {
	--btn-bg: var(--c-coral);
	--btn-fg: var(--c-black);
	display: inline-flex;
	align-items: center;
	gap: 0.75em;
	cursor: pointer;
	border: 0;
	border-radius: 999px;
	padding: 1.15em 1.9em;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.04em;
	background: linear-gradient(var(--btn-hover-bg, var(--c-black)), var(--btn-hover-bg, var(--c-black))) no-repeat left / 0% 100%, var(--btn-bg);
	color: var(--btn-fg);
	transition: background-size 0.55s var(--ease), color 0.35s var(--ease), opacity 0.3s;
}

.ritect-form__submit .ritect-icon {
	width: 1.2em;
	height: 1.2em;
	transition: transform 0.45s var(--ease);
}

.ritect-form__submit:hover,
.ritect-form__submit:focus-visible {
	background-size: 100% 100%, auto;
	color: var(--btn-hover-fg, var(--c-white));
}

.ritect-form__submit:hover .ritect-icon {
	transform: translateX(0.3em);
}

.ritect-form__submit[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.ritect-form.is-sending .ritect-form__submit .ritect-icon,
.ritect-form__form.is-sending .ritect-form__submit .ritect-icon {
	animation: ritect-nudge 0.8s var(--ease) infinite alternate;
}

@keyframes ritect-nudge {
	to { transform: translateX(0.5em); }
}

.ritect-form__status {
	margin-top: 1.25rem;
	font-weight: 500;
}

.ritect-form__status:empty {
	display: none;
}

.ritect-form__status.is-success,
.ritect-form__status.is-error {
	padding: 1rem 1.25rem;
	border-radius: 12px;
	border-left: 4px solid currentColor;
}

.ritect-form__status.is-success {
	background: rgba(101, 160, 171, 0.16);
	color: var(--c-dt);
}

.is-dark .ritect-form__status.is-success {
	color: var(--c-white);
	border-color: var(--c-tq);
}

.ritect-form__status.is-error {
	background: rgba(180, 35, 24, 0.08);
	color: var(--error);
}

@media (max-width: 599.98px) {
	.ritect-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ritect-form__submit {
		width: 100%;
		justify-content: center;
	}
}

/* 5.10 Footer */
.ritect-footer {
	position: relative;
	overflow: hidden; /* iOS < 16 */
	overflow: clip;
	background: var(--c-black);
	color: var(--c-white);
	padding-top: clamp(5rem, 3rem + 7vw, 10rem);
	--muted: rgba(255, 255, 255, 0.66);
	--line: rgba(255, 255, 255, 0.16);
	--focus: var(--c-coral);
	--btn-hover-bg: var(--c-white);
	--btn-hover-fg: var(--c-black);
}

.ritect-footer > :not(.ritect-ring) {
	position: relative;
	z-index: 1;
}

.ritect-footer > * {
	margin-block: 0 !important;
}

.ritect-footer .ritect-ring.is-pos-edge-right {
	top: 34%;
	translate: 55% -50%;
}

.ritect-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	padding-bottom: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--line);
}

.ritect-footer__top > * {
	margin: 0 !important;
}

.ritect-footer__slogan {
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(2.4rem, 0.8rem + 6.4vw, 7.5rem);
	line-height: 0.92;
	letter-spacing: -0.045em;
}

.ritect-footer__cols {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 2.5rem clamp(1.5rem, 4vw, 4rem);
	padding-block: clamp(3rem, 6vw, 5rem);
}

.ritect-footer__cols > * {
	margin: 0 !important;
}

.ritect-footer__col > * {
	margin: 0 0 1rem !important;
}

.ritect-footer__about {
	color: var(--muted);
	max-width: 30ch;
}

.ritect-footer__nav {
	gap: 0.6rem !important;
	font-family: var(--f-head);
	font-weight: 500;
}

.ritect-footer__word {
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(5rem, 1rem + 22vw, 24rem) !important;
	line-height: 0.75;
	letter-spacing: -0.065em;
	text-align: center;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.28);
	margin: 0 0 -0.08em !important;
	user-select: none;
	overflow: hidden;
	padding-top: 0.1em;
}

.ritect-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem 2rem;
	padding-block: 1.5rem 2rem;
	border-top: 1px solid var(--line);
	background: var(--c-black);
	font-size: 0.875rem;
	color: var(--muted);
}

.ritect-footer__bottom > * {
	margin: 0 !important;
}

.ritect-footer-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}

.ritect-footer-meta a,
.ritect-footer__bottom a {
	color: inherit;
}

.ritect-footer-meta a:hover {
	color: var(--c-white);
}

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

	.ritect-footer__cols > :first-child {
		grid-column: 1 / -1;
	}
}

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

/* 6. Inner pages -------------------------------------------------------------- */
.ritect-pagehead {
	padding-top: calc(var(--header-h) + clamp(4rem, 10vw, 9rem));
	padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.ritect-pagehead .ritect-container > * {
	margin: 0 !important;
}

.ritect-pagehead__title,
.ritect-pagehead .wp-block-post-title {
	font-size: clamp(2.2rem, 0.6rem + 6.2vw, 8rem) !important;
	line-height: 0.92;
	letter-spacing: -0.045em;
	max-width: 16ch;
}

.ritect-pagehead .ritect-eyebrow + * {
	margin-top: 0 !important;
}

.ritect-pagehead .wp-block-post-date.ritect-eyebrow {
	margin-bottom: 1.5rem !important;
}

.archive .ritect-only-home,
.search .ritect-only-home {
	display: none;
}

.ritect-prose {
	padding-block: clamp(3rem, 6vw, 6rem) var(--section-pad);
}

.ritect-content {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.6;
}

.ritect-content > * {
	margin-block: 0 1.25em;
}

.ritect-content h2,
.ritect-content h3 {
	margin-block: 1.6em 0.6em !important;
}

.ritect-content h2 {
	font-size: clamp(1.8rem, 1rem + 2.6vw, 3.2rem) !important;
}

.ritect-content a {
	text-decoration-color: var(--c-coral);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}

.ritect-content-wide > * {
	margin-block: 0;
}

.ritect-prose__image {
	margin-bottom: clamp(3rem, 6vw, 5rem) !important;
}

.ritect-prose__image img {
	border-radius: var(--radius);
}

.ritect-case-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, max-content));
	gap: 1.5rem clamp(2rem, 6vw, 6rem);
	margin-top: clamp(2.5rem, 5vw, 4rem) !important;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}

.ritect-case-meta__item > * {
	margin: 0 !important;
}

.ritect-case-meta__item .ritect-label {
	margin-bottom: 0.4rem !important;
}

.ritect-case-meta__item p:not(.ritect-label) {
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 1.15rem;
}

@media (max-width: 699.98px) {
	.ritect-case-meta {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ritect-case {
	padding-top: 0;
}

.ritect-case__visual {
	position: relative;
	margin-top: calc(-1 * clamp(0rem, 4vw, 3rem)) !important;
	margin-bottom: clamp(3rem, 6vw, 6rem) !important;
}

.ritect-case__visual > .wp-block-post-featured-image {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.ritect-case__visual .wp-block-post-featured-image img,
.ritect-case__visual .wp-block-post-featured-image a {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.ritect-case__intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
	gap: 2rem clamp(2rem, 6vw, 6rem);
	align-items: start;
	margin-bottom: clamp(3rem, 6vw, 5rem) !important;
}

.ritect-case__intro > * {
	margin: 0 !important;
}

.ritect-case__intro > :only-child {
	grid-column: 1 / -1;
}

.ritect-case__excerpt {
	font-family: var(--f-head);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.ritect-case__excerpt p {
	margin: 0;
}

@media (max-width: 699.98px) {
	.ritect-case__intro {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ritect-case__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: clamp(4rem, 8vw, 7rem) !important;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem);
}

.ritect-case__nav > * {
	margin: 0 !important;
}

.ritect-case__nav a {
	text-decoration: none;
	color: inherit;
}

.ritect-case__nav a:hover {
	color: var(--c-dt);
}

.ritect-posts .wp-block-post-template {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ritect-post-row {
	padding-block: 2rem;
	border-bottom: 1px solid var(--line);
}

.ritect-post-row > * {
	margin: 0 0 0.6rem !important;
}

.ritect-post-row .wp-block-post-title a {
	text-decoration: none;
	color: inherit;
}

.ritect-pagination {
	margin-top: 3rem !important;
	font-family: var(--f-head);
	gap: 1rem;
}

.ritect-404 {
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	align-items: center;
	padding-top: calc(var(--header-h) + 4rem);
}

.ritect-404 .ritect-container > * {
	margin: 0 0 1.5rem !important;
}

/* 6.1 Service pages (template Dienstpagina) */
.ritect-dienst-head .ritect-container > .ritect-eyebrow {
	margin-bottom: clamp(1rem, 2vw, 1.5rem) !important;
}

.ritect-dienst-head .wp-block-post-title {
	font-size: clamp(2.2rem, 0.8rem + 4.8vw, 6.25rem) !important;
	max-width: 18ch;
}

.ritect-pagehead .ritect-container > .ritect-dienst-head__intro {
	margin-top: clamp(1.5rem, 3vw, 2.5rem) !important;
	max-width: 46ch;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
	color: var(--muted);
}

.ritect-dienst-head__intro p {
	margin: 0;
}

.ritect-pagehead .ritect-container > .ritect-dienst-head__actions {
	margin-top: clamp(2rem, 4vw, 3rem) !important;
}

.ritect-dienst-intro__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(1.5rem, 4vw, 4rem);
	row-gap: 2.5rem;
	align-items: start;
}

.ritect-dienst-intro__grid > * {
	margin: 0 !important;
}

.ritect-dienst-intro__head {
	grid-column: 1 / span 6;
}

.ritect-dienst-intro__title {
	max-width: 14ch;
}

.ritect-dienst-intro__body {
	grid-column: 8 / -1;
	padding-top: 0.4rem;
}

.ritect-dienst-intro__body > * {
	margin: 0 0 1.25em !important;
}

.ritect-dienst-intro__body > :last-child {
	margin-bottom: 0 !important;
}

.ritect-dienst-intro__body p:not(.has-large-font-size) {
	color: var(--muted);
	line-height: 1.6;
}

.ritect-dienst-intro__list {
	list-style: none;
	padding: 0;
	border-top: 1px solid var(--line);
}

.ritect-dienst-intro__list li {
	position: relative;
	padding: 1.1rem 0 1.1rem 2rem;
	border-bottom: 1px solid var(--line);
	line-height: 1.5;
}

.ritect-dienst-intro__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.38rem;
	width: 0.95rem;
	height: 0.95rem;
	border-radius: 50%;
	border: 0.22rem solid var(--c-tq);
	border-top-color: transparent;
	box-sizing: border-box;
	transform: rotate(45deg);
}

.ritect-dienst-intro__list strong {
	font-family: var(--f-head);
	font-weight: 700;
}

@media (max-width: 1023.98px) {
	.ritect-dienst-intro__head,
	.ritect-dienst-intro__body {
		grid-column: 1 / -1;
	}
}

/* FAQ (core/details inside .ritect-faq) */
.ritect-faq__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(1.5rem, 4vw, 4rem);
	row-gap: 2.5rem;
	align-items: start;
}

.ritect-faq__grid > * {
	margin: 0 !important;
}

.ritect-faq__head {
	grid-column: 1 / span 5;
}

.ritect-faq__title {
	max-width: 10ch;
}

.ritect-faq__list {
	grid-column: 6 / -1;
	border-top: 1px solid var(--line);
}

.ritect-faq__list > * {
	margin: 0 !important;
}

.ritect-faq .wp-block-details {
	border-bottom: 1px solid var(--line);
}

.ritect-faq .wp-block-details summary {
	position: relative;
	display: block;
	list-style: none;
	cursor: pointer;
	padding: clamp(1.25rem, 2.2vw, 1.75rem) 3.5rem clamp(1.25rem, 2.2vw, 1.75rem) 0;
	font-family: var(--f-head);
	font-weight: 500;
	font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.6rem);
	line-height: 1.25;
	letter-spacing: -0.02em;
	transition: color 0.3s var(--ease);
}

.ritect-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}

/* Open ring that closes into a full circle when the answer opens. */
.ritect-faq .wp-block-details summary::after {
	content: "";
	position: absolute;
	right: 0.35rem;
	top: 50%;
	width: 1.6rem;
	height: 1.6rem;
	margin-top: -0.8rem;
	border-radius: 50%;
	border: 0.3rem solid var(--c-tq);
	border-top-color: transparent;
	box-sizing: border-box;
	transition: transform 0.6s var(--ease), border-color 0.3s var(--ease);
}

.ritect-faq .wp-block-details[open] summary::after {
	transform: rotate(180deg);
	border-color: var(--c-coral);
}

.ritect-faq .wp-block-details summary:hover {
	color: var(--c-tq);
}

.ritect-faq .wp-block-details > :not(summary) {
	margin: 0 0 1rem;
	max-width: 62ch;
	color: var(--muted);
	line-height: 1.65;
}

.ritect-faq .wp-block-details > :last-child {
	margin-bottom: clamp(1.4rem, 2.4vw, 2rem);
}

@media (max-width: 1023.98px) {
	.ritect-faq__head,
	.ritect-faq__list {
		grid-column: 1 / -1;
	}
}

/* Placeholder notes "[Vul in: …]": only logged-in editors see them. */
.ritect-todo {
	padding: 0.85em 1em;
	border: 2px dashed var(--c-coral);
	border-radius: 10px;
	background: rgba(244, 134, 137, 0.1);
	color: inherit !important;
	font-size: 0.95em;
}

/* Homepage services: the whole row links to the service page. */
.ritect-service__cover {
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: 0 !important;
}

.ritect-service__cover:focus-visible {
	outline-offset: -3px;
}

.ritect-service.has-link .ritect-service__title::after {
	content: "\2192";
	display: inline-block;
	margin-left: 0.3em;
	font-size: 0.55em;
	vertical-align: 0.18em;
	color: var(--c-coral);
	transition: transform 0.5s var(--ease);
}

.ritect-service.has-link:hover .ritect-service__title::after,
.ritect-service.has-link:focus-within .ritect-service__title::after {
	transform: translateX(0.3em);
}

/* 7. Motion --------------------------------------------------------------------- */

/* Hero items are pre-hidden only when JS + motion are available (no flash). */
.r-motion .ritect-hero__eyebrow,
.r-motion .ritect-hero__title,
.r-motion .ritect-hero__intro,
.r-motion .ritect-hero__actions,
.r-motion .ritect-hero__photo,
.r-motion .ritect-hero__ring,
.r-motion:has(.ritect-hero) .ritect-site-header .ritect-header__inner {
	opacity: 0;
}

/* Split text helpers (created by JS). */
.r-w {
	display: inline-block;
	vertical-align: top;
}

.r-mask {
	display: inline-block;
	overflow: hidden; /* iOS < 16 */
	overflow: clip;
	vertical-align: top;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
}

.r-mask > .r-w {
	will-change: transform;
}

@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;
	}

	.ritect-marquee__track {
		animation: none !important;
	}

	.ritect-marquee {
		white-space: normal;
	}

	.ritect-marquee__track,
	.ritect-marquee__group:first-child {
		flex-wrap: wrap;
		width: auto;
	}

	.ritect-marquee__group[aria-hidden="true"] {
		display: none;
	}
}

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

.wp-block-heading.is-style-outline-text {
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 1.5px currentColor;
}

.wp-block-image.is-style-ritect-rounded img {
	border-radius: var(--radius);
}

/* Small screens: decorative rings step further aside so text stays clean. */
@media (max-width: 781.98px) {
	.ritect-ring.is-pos-edge-right,
	.ritect-statement .ritect-ring.is-pos-edge-right,
	.ritect-footer .ritect-ring.is-pos-edge-right {
		translate: 68% -50%;
	}

	.ritect-ring.is-pos-edge-left,
	.ritect-contact .ritect-ring.is-pos-edge-left {
		translate: -68% -50%;
	}

	.ritect-section > .ritect-ring.is-size-xl:not(.is-pos-center),
	.ritect-section > .ritect-ring.is-size-hero:not(.is-pos-center) {
		--ring-opacity: 0.45;
	}

	.ritect-statement .ritect-ring.is-pos-edge-right {
		top: 18%;
	}
}

/* Mobile menu: links left-aligned, starting below the header bar. */
.ritect-nav .wp-block-navigation__responsive-container.is-menu-open {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	padding: 0 !important;
}

.ritect-nav .is-menu-open .wp-block-navigation__responsive-dialog,
.ritect-nav .is-menu-open .wp-block-navigation__responsive-close {
	width: 100%;
	max-width: none;
	margin: 0;
}

.ritect-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem !important;
	justify-content: flex-start !important;
	align-items: flex-start !important;
}

.ritect-nav .is-menu-open .wp-block-navigation__container,
.ritect-nav .is-menu-open .wp-block-navigation-item {
	justify-content: flex-start !important;
	align-items: flex-start !important;
	text-align: left;
}

.ritect-nav .wp-block-navigation__responsive-container.is-menu-open::before {
	right: -48vw;
	bottom: -42vw;
	opacity: 0.85;
}

.ritect-nav .is-menu-open .wp-block-navigation__container {
	margin: 0 !important;
}

/* Colour rhythm: coral is reserved for the hero and key words; the other
   circles alternate between turquoise and white. */
.ritect-hero__eyebrow::before {
	border-color: var(--c-coral);
	border-top-color: transparent;
}

.ritect-work__list > li:nth-child(even) .ritect-project__ring {
	--ring-color: var(--c-tq);
}

.ritect-work__list > li:nth-child(3n) .ritect-project__accent {
	--ring-color: var(--c-dt);
}

/* Project tile with a client logo (no project image yet): light tile, logo large. */
.ritect-placeholder.has-logo {
	background: var(--c-white);
}

.ritect-placeholder.has-logo .ritect-placeholder__ring {
	color: var(--c-tq);
	opacity: 0.16;
}

.ritect-placeholder.has-logo .ritect-placeholder__logo {
	max-width: min(58%, 520px) !important;
	max-height: 46% !important;
	transition: transform 1s var(--ease);
}

.ritect-project:hover .ritect-placeholder.has-logo .ritect-placeholder__logo {
	transform: scale(1.04);
}

.ritect-project__media:has(.ritect-placeholder.has-logo) {
	background: var(--c-white);
	box-shadow: inset 0 0 0 1px var(--line);
}

/* The logo is already on the tile: no need to repeat it under the title. */
.ritect-project:has(.ritect-placeholder.has-logo) .ritect-project__logo {
	display: none;
}

/* ==========================================================================
   Agency layer: intro loader, page curtain, smooth scroll, custom cursor
   ========================================================================== */

/* Lenis (smooth scroll on mouse/trackpad) */
html.lenis,
html.lenis body {
	height: auto;
}

html.lenis {
	scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-stopped {
	overflow: hidden; /* iOS < 16 */
	overflow: clip;
}

/* Loader / curtain: hidden unless the head script flagged it. */
.ritect-loader {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
	pointer-events: none;
}

.r-motion.r-intro .ritect-loader,
.r-motion.r-arrive .ritect-loader,
.r-motion.r-leaving .ritect-loader {
	display: block;
}

.ritect-loader__panel {
	position: absolute;
	inset: 0;
	background: var(--c-dt);
	will-change: transform;
}

.r-leaving .ritect-loader__panel {
	transform: translateY(100%);
}

.ritect-loader__inner {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.ritect-loader__ring,
.ritect-loader__logo {
	grid-area: 1 / 1;
}

.ritect-loader__ring {
	width: clamp(180px, 34vmin, 380px);
	color: var(--c-coral);
	line-height: 0;
}

.ritect-loader__ring svg {
	width: 100%;
	height: auto;
	overflow: visible;
}

.ritect-loader__logo {
	width: clamp(110px, 17vmin, 200px);
	line-height: 0;
}

.ritect-loader__logo img {
	width: 100%;
	height: auto;
}

/* Before GSAP takes over: keep the loader content invisible (no flash). */
.r-intro .ritect-loader__ring,
.r-intro .ritect-loader__logo,
.r-arrive .ritect-loader__inner,
.r-leaving .ritect-loader__inner {
	opacity: 0;
}

/* Custom cursor (only after the first mouse move on a fine pointer). */
html.has-cursor,
html.has-cursor * {
	cursor: none !important;
}

html.has-cursor :is(input:not([type="submit"]):not([type="button"]), textarea, [contenteditable="true"]) {
	cursor: text !important;
}

html.has-cursor select,
html.has-cursor iframe {
	cursor: auto !important;
}

.ritect-cursor {
	position: fixed;
	inset: 0;
	z-index: 99999;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s var(--ease);
}

.ritect-cursor.is-visible {
	opacity: 1;
}

.ritect-cursor__ring,
.ritect-cursor__dot {
	position: fixed;
	left: 0;
	top: 0;
	border-radius: 50%;
	will-change: transform;
}

.ritect-cursor__dot {
	width: 8px;
	height: 8px;
	background: var(--c-coral);
	transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
}

.ritect-cursor__ring {
	width: 38px;
	height: 38px;
	border: 1.5px solid var(--c-tq);
	display: grid;
	place-items: center;
	overflow: hidden;
	transition: width 0.45s var(--ease), height 0.45s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.3s;
}

.ritect-cursor__label {
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	color: var(--c-black);
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.3s var(--ease), transform 0.45s var(--ease);
	white-space: nowrap;
}

.ritect-cursor.is-link .ritect-cursor__ring {
	width: 62px;
	height: 62px;
	background: rgba(101, 160, 171, 0.18);
	border-color: transparent;
}

.ritect-cursor.is-link .ritect-cursor__dot {
	opacity: 0;
}

.ritect-cursor.is-view .ritect-cursor__ring {
	width: 104px;
	height: 104px;
	background: var(--c-coral);
	border-color: var(--c-coral);
}

.ritect-cursor.is-view .ritect-cursor__label {
	opacity: 1;
	transform: none;
}

.ritect-cursor.is-view .ritect-cursor__dot,
.ritect-cursor.is-text .ritect-cursor__ring,
.ritect-cursor.is-text .ritect-cursor__dot {
	opacity: 0;
}

.ritect-cursor.is-down .ritect-cursor__ring {
	width: 30px;
	height: 30px;
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
	.ritect-cursor {
		display: none !important;
	}
}

/* Footer: social media as round icon buttons on the bottom row. */
.ritect-footer__socials .ritect-details__socials {
	margin: 0;
	gap: 0.6rem;
}

.ritect-footer__socials .ritect-details__socials a {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1.5px solid var(--line);
	color: var(--c-white);
	transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}

.ritect-footer__socials .ritect-details__socials a:hover,
.ritect-footer__socials .ritect-details__socials a:focus-visible {
	background: var(--c-coral);
	border-color: var(--c-coral);
	color: var(--c-black);
	transform: translateY(-3px);
}

.ritect-footer__socials .ritect-details__socials a span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.ritect-footer__socials .ritect-icon {
	width: 20px;
	height: 20px;
}

/* Stats band: huge numbers, counter animation (JS), coral "+". */
.ritect-about + .ritect-stats {
	padding-top: 0;
}

.ritect-stats__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 3rem);
}

.ritect-stats__grid > * {
	margin: 0 !important;
}

.ritect-stat {
	border-top: 1px solid var(--line);
	padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.ritect-stat > * {
	margin: 0 !important;
}

.ritect-stat__num {
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(3.4rem, 1.4rem + 7vw, 9.5rem);
	line-height: 0.9;
	letter-spacing: -0.05em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ritect-stat__suffix {
	color: var(--c-tq);
}

.ritect-stat__label {
	margin-top: 0.75rem !important;
	font-family: var(--f-head);
	font-weight: 500;
	font-size: clamp(1rem, 0.9rem + 0.5vw, 1.35rem);
	color: var(--muted);
}

@media (max-width: 699.98px) {
	.ritect-stats__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ritect-stat {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 1rem;
	}

	.ritect-stat__label {
		margin-top: 0 !important;
		text-align: right;
	}
}

/* Touchscreens: comfortable tap targets (min. 44px) without changing the look. */
@media (pointer: coarse) {
	.ritect-brand__link,
	.ritect-details a,
	.ritect-footer__nav .wp-block-navigation-item__content,
	.ritect-footer-meta a,
	.ritect-case-meta .wp-block-button__link,
	.ritect-project__title a,
	.ritect-readmore {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.ritect-footer__nav {
		gap: 0.1rem !important;
	}

	.ritect-details {
		gap: 0.25rem;
	}

	.ritect-details__socials {
		gap: 0.25rem 1.25rem;
	}
}

/* Robot check (“Ik ben geen robot”) */
.ritect-form__robot {
	margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

.ritect-robot {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	min-height: 56px;
	padding: 0.6rem 1.1rem 0.6rem 0.75rem;
	border: 1.5px solid var(--field-line);
	border-radius: 14px;
	cursor: pointer;
	user-select: none;
	transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.ritect-robot__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.ritect-robot__box {
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 2px solid currentColor;
	border-radius: 8px;
	transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.ritect-robot__box .ritect-icon {
	width: 18px;
	height: 18px;
	opacity: 0;
	transform: scale(0.4);
	transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}

/* Busy: the open Ritect circle spins inside the box. */
.ritect-robot__box::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	border: 3px solid var(--c-coral);
	border-top-color: transparent;
	opacity: 0;
}

.ritect-form__robot.is-busy .ritect-robot__box::after {
	opacity: 1;
	animation: ritect-spin 0.8s linear infinite;
}

.ritect-form__robot.is-done .ritect-robot__box {
	background: var(--c-dt);
	border-color: var(--c-dt);
	color: var(--c-white);
}

.ritect-form__robot.is-done .ritect-robot__box .ritect-icon {
	opacity: 1;
	transform: none;
}

.ritect-form__robot.is-done .ritect-robot {
	border-color: var(--c-dt);
}

.ritect-robot__label {
	font-family: var(--f-head);
	font-weight: 500;
}

.ritect-robot__state {
	font-size: 0.875rem;
	color: var(--muted);
}

.ritect-robot__state:not(:empty)::before {
	content: "·";
	margin-right: 0.6rem;
}

.ritect-robot__input:focus-visible + .ritect-robot__box {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

.ritect-form__robot.has-error .ritect-robot,
.ritect-form__robot.is-error .ritect-robot {
	border-color: var(--error);
}

@media (prefers-reduced-motion: reduce) {
	.ritect-form__robot.is-busy .ritect-robot__box::after {
		animation: none;
		border-top-color: var(--c-coral);
		opacity: 0.6;
	}
}

/* Reviews */
.ritect-reviews {
	background-color: var(--c-dt);
}

.ritect-reviews__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	margin-bottom: clamp(2.5rem, 6vw, 4.5rem) !important;
}

.ritect-reviews__head > * {
	margin: 0 !important;
}

.ritect-reviews__title {
	font-size: clamp(2.1rem, 0.9rem + 5vw, 6rem) !important;
	max-width: 12ch;
}

.ritect-reviews__score {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0;
}

.ritect-reviews__score-num {
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
	line-height: 0.9;
	letter-spacing: -0.05em;
}

.ritect-reviews__score-meta {
	display: grid;
	gap: 0.35rem;
	font-size: 0.9rem;
	color: var(--muted);
}

.ritect-stars {
	display: inline-flex;
	gap: 3px;
	color: var(--c-coral);
	line-height: 0;
}

.ritect-reviews__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
}

.ritect-review {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0;
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	transition: transform 0.6s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.ritect-review::before {
	content: "“";
	position: absolute;
	top: 0.1em;
	right: 0.35em;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 6rem;
	line-height: 1;
	color: var(--c-coral);
	opacity: 0.35;
	pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
	.ritect-review:hover {
		transform: translateY(-6px);
		background: rgba(255, 255, 255, 0.09);
		border-color: rgba(244, 134, 137, 0.5);
	}
}

.ritect-review__text {
	margin: 0;
	padding: 0;
	border: 0;
	flex: 1;
}

.ritect-review__text p {
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
}

.ritect-review__author {
	margin: 0;
	display: grid;
	gap: 0.15rem;
}

.ritect-review__author strong {
	font-family: var(--f-head);
	font-size: 1.05rem;
}

.ritect-review__author span,
.ritect-review__source {
	font-size: 0.875rem;
	color: var(--muted);
}

.ritect-review__source {
	margin: 0;
	padding-top: 0.75rem;
	border-top: 1px solid var(--line);
}

.ritect-reviews__more {
	margin-top: clamp(2rem, 4vw, 3rem) !important;
}

@media (max-width: 1023.98px) {
	.ritect-reviews__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Phones: swipe through the reviews. */
@media (max-width: 699.98px) {
	.ritect-reviews__list {
		display: flex;
		gap: 0.9rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		margin-inline: calc(-1 * var(--gutter));
		padding: 0 var(--gutter) 0.75rem;
		scroll-padding-inline: var(--gutter);
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.ritect-reviews__list::-webkit-scrollbar {
		display: none;
	}

	.ritect-review {
		flex: 0 0 86%;
		scroll-snap-align: start;
	}
}

/* ==========================================================================
   Work: calm zigzag (v1.2.1). One project per row, image and text side by
   side, alternating. Overrides the earlier asymmetric layout.
   ========================================================================== */
.ritect-work__list {
	grid-template-columns: minmax(0, 1fr) !important;
	row-gap: clamp(4.5rem, 9vw, 8.5rem);
}

.ritect-work__list > li:nth-child(n) {
	grid-column: 1 / -1;
	padding-top: 0;
}

.ritect-work__list .ritect-project {
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	column-gap: clamp(2rem, 5vw, 5.5rem);
	align-items: center;
}

.ritect-work__list > li:nth-child(even) .ritect-project {
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.ritect-work__list > li:nth-child(even) .ritect-project__media {
	order: 2;
}

.ritect-work__list > li:nth-child(n) .ritect-project__media {
	aspect-ratio: 5 / 4;
}

.ritect-work__list > li:nth-child(n) .ritect-project__info {
	grid-template-columns: minmax(0, 1fr);
	column-gap: 0;
	gap: 1.1rem;
}

.ritect-work__list > li:nth-child(n) .ritect-project__info > *,
.ritect-work__list > li:nth-child(n) .ritect-project__info::before {
	grid-column: 1 !important;
	grid-row: auto !important;
}

.ritect-work__list > li:nth-child(n) .ritect-project__head {
	font-size: clamp(2rem, 1rem + 2.6vw, 3.6rem);
}

.ritect-work__list .ritect-project__meta {
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.9rem 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.ritect-work__list .ritect-project__excerpt {
	max-width: 42ch;
}

/* The client logo is already in the image; keep the text column calm. */
.ritect-work .ritect-project__logo {
	display: none !important;
}

.ritect-project__foot {
	gap: 0.75rem 1.75rem;
	margin-top: 0.4rem !important;
}

/* “Bekijk project”: the main action, as a coral pill. */
.ritect-project__more {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	min-height: 48px;
	padding: 0 1.4em;
	border-radius: 999px;
	background: linear-gradient(var(--c-black), var(--c-black)) no-repeat left / 0% 100%, var(--c-coral);
	color: var(--c-black);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition: background-size 0.55s var(--ease), color 0.35s var(--ease);
}

.ritect-project__more::after {
	content: "";
	width: 1.1em;
	height: 1.1em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.45s var(--ease);
}

.ritect-project__more:hover,
.ritect-project__more:focus-visible {
	background-size: 100% 100%, auto;
	color: var(--c-white);
}

.ritect-project__more:hover::after {
	transform: translateX(0.3em);
}

@media (max-width: 781.98px) {
	.ritect-work__list > li:nth-child(n) .ritect-project {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 1.5rem;
	}

	.ritect-work__list > li:nth-child(even) .ritect-project__media {
		order: 0;
	}

	.ritect-work__list > li:nth-child(n) .ritect-project__media {
		aspect-ratio: 4 / 3;
	}
}

/* Phones & tablets: a steady header (no auto-hide, no costly blur). */
@media (max-width: 1023.98px), (hover: none), (pointer: coarse) {
	.ritect-site-header {
		transition: color 0.3s var(--ease);
		transform: none !important;
	}

	.ritect-header::before {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		background: rgba(21, 21, 21, 0.96);
	}

	.is-on-light .ritect-header::before {
		background: rgba(248, 249, 247, 0.97);
	}
}

/* Cookie banner (Complianz) in the Ritect style. */
body .cmplz-cookiebanner {
	--cmplz_banner_background_color: #f8f9f7;
	--cmplz_banner_border_color: #f8f9f7;
	--cmplz_banner_border_radius: 20px;
	--cmplz_text_color: #151515;
	--cmplz_hyperlink_color: #17434c;
	--cmplz_category_header_always_active_color: #17434c;
	--cmplz_button_border_radius: 999px;
	--cmplz_button_accept_background_color: #f48689;
	--cmplz_button_accept_border_color: #f48689;
	--cmplz_button_accept_text_color: #151515;
	--cmplz_button_deny_background_color: transparent;
	--cmplz_button_deny_border_color: #151515;
	--cmplz_button_deny_text_color: #151515;
	--cmplz_button_settings_background_color: transparent;
	--cmplz_button_settings_border_color: rgba(21, 21, 21, 0.25);
	--cmplz_button_settings_text_color: #151515;
	--cmplz_slider_active_color: #65a0ab;
	font-family: var(--f-body, Inter, sans-serif);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

body .cmplz-cookiebanner .cmplz-title,
body .cmplz-cookiebanner .cmplz-btn {
	font-family: var(--f-head, "Space Grotesk", sans-serif);
	font-weight: 700;
}

/* Navigation: Diensten submenu (v1.6). */
@media (min-width: 1024px) {
	.ritect-nav .wp-block-navigation-submenu .wp-block-navigation__submenu-icon {
		margin-left: 0.3em;
		width: 0.65em;
		height: 0.65em;
	}

	.ritect-nav .wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
		stroke: currentColor;
	}

	.ritect-nav .wp-block-navigation__submenu-container {
		top: calc(100% + 0.6rem) !important;
		left: -1rem !important;
		min-width: 230px !important;
		padding: 0.55rem !important;
		background: var(--c-black) !important;
		color: var(--c-white) !important;
		border: 0 !important;
		border-radius: 18px;
		box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
		gap: 0.1rem;
	}

	/* Invisible bridge so the menu stays open while moving the mouse down. */
	.ritect-nav .wp-block-navigation__submenu-container::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		height: 0.8rem;
	}

	.ritect-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: block;
		width: 100%;
		padding: 0.6rem 0.85rem !important;
		border-radius: 12px;
		background-image: none !important;
		font-size: 0.95rem;
		transition: background-color 0.3s, color 0.3s;
	}

	.ritect-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.ritect-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
		background-color: rgba(255, 255, 255, 0.08);
		color: var(--c-coral);
	}
}

/* Mobile overlay: the services as a compact list under "Diensten". */
.ritect-nav .is-menu-open .wp-block-navigation__submenu-container {
	padding: 0.35rem 0 0.9rem 0.2rem !important;
	gap: 0.35rem !important;
	background: transparent !important;
	border: 0 !important;
}

.ritect-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
	font-family: var(--f-body);
	font-weight: 500;
	font-size: clamp(1.05rem, 4.2vw, 1.4rem) !important;
	letter-spacing: 0;
	line-height: 1.3;
	opacity: 0.8;
	animation: none;
}

.ritect-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.15em 0 !important;
}

/* Over and Contact pages: intro under the title (the page's Samenvatting). */
.ritect-pagehead .ritect-container > .ritect-pagehead__intro {
	margin-top: clamp(1.5rem, 3vw, 2.5rem) !important;
	max-width: 46ch;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
	color: var(--muted);
}

.ritect-pagehead__intro p {
	margin: 0;
}

.ritect-pagehead__intro .wp-block-post-excerpt__more-text {
	display: none;
}

.ritect-nav .wp-block-navigation__responsive-container.is-menu-open {
	overflow-x: hidden;
}

/* WhatsApp button (phones and tablets). */
.ritect-wa {
	display: none;
}

@media (max-width: 1023.98px) {
	.ritect-wa {
		position: fixed;
		right: max(16px, env(safe-area-inset-right));
		bottom: max(16px, env(safe-area-inset-bottom));
		z-index: 90;
		display: grid;
		place-items: center;
		width: 58px;
		height: 58px;
		border-radius: 50%;
		background: #25d366;
		color: #fff;
		box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
		transition: transform 0.3s var(--ease);
	}

	.ritect-wa:active {
		transform: scale(0.94);
	}

	/* Hidden while the full-screen menu is open. */
	.has-modal-open .ritect-wa {
		display: none;
	}
}

@media print {
	.ritect-wa {
		display: none !important;
	}
}

@media (min-width: 700px) and (max-width: 1099.98px) {
	.ritect-case-meta {
		grid-template-columns: repeat(2, minmax(0, max-content));
	}
}

/* ==========================================================================
   Werk (v1.7.0): service filter and a calm three-column grid. Only on the
   Werk page (.ritect-work--grid); the home page keeps its zigzag.
   ========================================================================== */
.ritect-filter {
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.ritect-filter__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.ritect-filter__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 44px;
	padding: 0.55rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	color: var(--c-black);
	font: 600 0.95rem/1.2 var(--f-body);
	cursor: pointer;
	transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.ritect-filter__btn:hover {
	border-color: var(--c-black);
}

.ritect-filter__btn[aria-pressed="true"] {
	background: var(--c-black);
	border-color: var(--c-black);
	color: var(--c-white);
}

.ritect-filter__btn:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}

.ritect-filter__count {
	min-width: 1.6em;
	padding: 0.1em 0.45em;
	border-radius: 999px;
	background: rgba(21, 21, 21, 0.08);
	font-size: 0.8em;
	text-align: center;
}

.ritect-filter__btn[aria-pressed="true"] .ritect-filter__count {
	background: rgba(255, 255, 255, 0.2);
}

.ritect-work--grid .ritect-work__list {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2.25rem) !important;
	row-gap: clamp(2.5rem, 4vw, 3.5rem) !important;
}

.ritect-work--grid .ritect-work__list > li:nth-child(n) {
	grid-column: auto !important;
	padding-top: 0 !important;
}

.ritect-work--grid .ritect-work__list > li[hidden] {
	display: none !important;
}

.ritect-work--grid .ritect-work__list .ritect-project,
.ritect-work--grid .ritect-work__list > li:nth-child(n) .ritect-project {
	display: flex !important;
	flex-direction: column;
	gap: 1.1rem;
	grid-template-columns: none !important;
}

.ritect-work--grid .ritect-work__list > li:nth-child(n) .ritect-project__media {
	flex: none;
	width: 100%;
	order: 0 !important;
	aspect-ratio: 5 / 4 !important;
	border-radius: var(--radius);
	overflow: hidden;
}

.ritect-work--grid .ritect-work__list > li:nth-child(n) .ritect-project__info {
	display: flex !important;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0 !important;
	background: none !important;
	color: inherit !important;
}

.ritect-work--grid .ritect-work__list > li:nth-child(n) .ritect-project__info::before {
	content: none !important;
}

.ritect-work--grid .ritect-project__head {
	display: flex !important;
	align-items: center;
	gap: 0.6rem;
	margin: 0 !important;
}

.ritect-work--grid .ritect-project__title {
	margin: 0 !important;
	font-size: clamp(1.25rem, 1rem + 0.7vw, 1.6rem) !important;
	line-height: 1.15;
}

.ritect-work--grid .ritect-project__meta {
	display: flex !important;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.75rem;
	margin: 0 !important;
}

.ritect-work--grid .ritect-project__meta p {
	margin: 0 !important;
	font-size: 0.95rem;
}

.ritect-work--grid .ritect-project__client {
	display: none;
}

.ritect-work--grid .ritect-project__services {
	color: var(--muted);
}

.ritect-work--grid .ritect-project__year {
	order: -1;
	padding: 0.15em 0.6em;
	border-radius: 999px;
	background: rgba(101, 160, 171, 0.16);
	color: var(--c-dt);
	font-size: 0.8rem !important;
	font-weight: 600;
}

.ritect-work--grid .ritect-project__excerpt,
.ritect-work--grid .ritect-readmore {
	display: none !important;
}

@media (max-width: 1023.98px) {
	.ritect-work--grid .ritect-work__list {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 639.98px) {
	.ritect-work--grid .ritect-work__list {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.ritect-filter__buttons {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
		scrollbar-width: none;
	}

	.ritect-filter__btn {
		flex: none;
	}
}

/* ==========================================================================
   Client logos (v1.7.0): two rows drifting in opposite directions, in grey;
   a logo shows its colour on hover. Pauses on hover, focus or the button,
   and stands still as a wrapped grid for reduced motion.
   ========================================================================== */
.ritect-logos {
	padding-block: var(--section-pad);
	background: var(--c-off);
	color: var(--c-black);
	overflow: hidden;
	overflow: clip;
}

.ritect-logos__head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ritect-logos__head .ritect-eyebrow {
	flex-basis: 100%;
	margin-bottom: 0 !important;
}

.ritect-logos__title {
	margin: 0;
	max-width: 18ch;
	font-family: var(--f-head);
	font-size: var(--size-h2);
	line-height: 1;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.ritect-logos__toggle {
	min-height: 44px;
	padding: 0.55rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	color: var(--c-black);
	font: 600 0.9rem/1.2 var(--f-body);
	cursor: pointer;
}

.ritect-logos__toggle:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}

.ritect-logos__row {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ritect-logos__row + .ritect-logos__row {
	margin-top: clamp(1rem, 2vw, 1.75rem);
}

.ritect-logos__track {
	display: flex;
	width: max-content;
	animation: ritect-marquee var(--logos-duration, 120s) linear infinite;
}

.ritect-logos__row.is-reverse .ritect-logos__track {
	animation-direction: reverse;
}

.ritect-logos:hover .ritect-logos__track,
.ritect-logos:focus-within .ritect-logos__track,
.ritect-logos.is-paused .ritect-logos__track {
	animation-play-state: paused;
}

.ritect-logos__group {
	display: flex;
	align-items: center;
	flex: none;
	gap: clamp(1rem, 2.5vw, 2rem);
	margin: 0;
	padding: 0 clamp(0.5rem, 1.25vw, 1rem);
	list-style: none;
}

.ritect-logos__item {
	display: grid;
	place-items: center;
	width: clamp(120px, 12vw, 168px);
	height: clamp(64px, 6vw, 84px);
	margin: 0;
	padding: 0.5rem;
}

.ritect-logos__img {
	max-width: 100%;
	max-height: clamp(40px, 4.2vw, 60px);
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1) contrast(1.15);
	opacity: 0.75;
	transition: filter 0.35s var(--ease), opacity 0.35s var(--ease);
}

.ritect-logos__img.is-light {
	filter: grayscale(1) invert(1);
}

.ritect-logos__item:hover .ritect-logos__img {
	filter: none;
	opacity: 1;
}

.ritect-logos__item:hover .ritect-logos__img.is-light {
	filter: invert(1);
}

@media (prefers-reduced-motion: reduce) {
	.ritect-logos__toggle,
	.ritect-logos__group[aria-hidden="true"] {
		display: none;
	}

	.ritect-logos__row {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.ritect-logos__track {
		width: auto;
		animation: none !important;
	}

	.ritect-logos__group {
		flex-wrap: wrap;
		justify-content: center;
		flex: 1;
	}
}

/* Google review link in the footer (v1.7.1). */
.ritect-review-link {
	margin-top: 1.5rem !important;
}

.ritect-review-link a {
	display: inline-flex;
	flex-direction: column;
	gap: 0.3rem;
	color: inherit;
	text-decoration: none;
}

.ritect-review-link__stars {
	color: var(--c-coral);
	letter-spacing: 0.15em;
	font-size: 1.05rem;
}

.ritect-review-link__label {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

.ritect-review-link a:hover .ritect-review-link__label,
.ritect-review-link a:focus-visible .ritect-review-link__label {
	text-decoration-color: var(--c-coral);
}

/* Koppelingen (v1.8.0): booking button. */
.ritect-booking {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.ritect-booking__note {
	margin: 0 0 1rem !important;
	color: var(--muted);
}










/* Safari (1.8.9): a solid header instead of a live blur, which Safari has to
   recalculate on every scrolled frame. */
.is-safari .ritect-header::before {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	background: rgba(21, 21, 21, 0.94);
}

.is-safari .is-on-light .ritect-header::before {
	background: rgba(248, 249, 247, 0.96);
}

/* ==========================================================================
   Geselecteerd werk on the home page (v1.9.0): a compact two-column grid
   instead of the tall zigzag. The Werk page (.ritect-work--grid) is untouched.
   ========================================================================== */
.ritect-work:not(.ritect-work--grid) .ritect-work__head {
	margin-bottom: clamp(2rem, 4vw, 3.5rem) !important;
}

.ritect-work:not(.ritect-work--grid) .ritect-work__list {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: clamp(1.5rem, 3vw, 3rem);
	row-gap: clamp(2.75rem, 5vw, 4.5rem);
}

.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(n) {
	grid-column: auto;
	padding-top: 0;
}

/* A light stagger keeps some of the editorial rhythm. */
@media (min-width: 782px) {
	.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(even) {
		margin-top: clamp(2rem, 5vw, 4.5rem) !important;
		margin-bottom: calc(-1 * clamp(2rem, 5vw, 4.5rem)) !important;
	}
}

.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(n) .ritect-project {
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 1.25rem;
}

.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(n) .ritect-project__media {
	order: 0;
}

.ritect-work:not(.ritect-work--grid) .ritect-work__list .ritect-project__meta {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.2rem 1rem;
	padding: 0.6rem 0;
}

.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(n) .ritect-project__media {
	aspect-ratio: 3 / 2;
}

.ritect-work:not(.ritect-work--grid) .ritect-project__ring {
	--ring-size: clamp(64px, 7vw, 112px);
}

.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(n) .ritect-project__info {
	grid-template-columns: minmax(0, 1fr);
	gap: 0.55rem;
}

.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(n) .ritect-project__info > *,
.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(n) .ritect-project__info::before {
	grid-column: 1;
	grid-row: auto;
}

.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(n) .ritect-project__head {
	font-size: clamp(1.6rem, 1rem + 1.5vw, 2.4rem);
}

.ritect-work:not(.ritect-work--grid) .ritect-project__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--muted);
}

.ritect-work:not(.ritect-work--grid) .ritect-project__foot {
	margin-top: 0.35rem !important;
}

.ritect-work:not(.ritect-work--grid) .ritect-work__more {
	margin-top: clamp(4rem, 8vw, 6.5rem) !important;
}

@media (max-width: 781.98px) {
	.ritect-work:not(.ritect-work--grid) .ritect-work__list {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(n) .ritect-project__media {
		aspect-ratio: 16 / 10;
	}

	/* On phones the services line already says what was made. */
	.ritect-work:not(.ritect-work--grid) .ritect-project__excerpt {
		display: none;
	}

	.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(n) .ritect-project {
		gap: 1rem;
	}
}

/* Home (1.9.1): less air between the statement and Geselecteerd werk. */
.ritect-statement:has(+ .ritect-work) {
	padding-bottom: clamp(3.5rem, 6vw, 6rem) !important;
}

.ritect-statement + .ritect-work {
	padding-top: clamp(1.5rem, 3vw, 3rem) !important;
}

/* ==========================================================================
   Werk page (1.9.2): an editorial rhythm instead of identical tiles. The
   filter script gives every visible project a shape (wide, tall or std).
   ========================================================================== */
@media (min-width: 1024px) {
	.ritect-work--grid .ritect-work__list {
		grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
		align-items: start;
	}

	.ritect-work--grid .ritect-work__list > li:nth-child(n) {
		grid-column: span 2 !important;
	}

	.ritect-work--grid .ritect-work__list > li[data-shape="wide"] {
		grid-column: span 4 !important;
	}

	.ritect-work--grid .ritect-work__list > li[data-shape="wide"] .ritect-project__media {
		aspect-ratio: 16 / 10 !important;
	}

	.ritect-work--grid .ritect-work__list > li[data-shape="tall"] .ritect-project__media {
		aspect-ratio: 10 / 13 !important;
	}

	.ritect-work--grid .ritect-work__list > li[data-shape="std"] .ritect-project__media {
		aspect-ratio: 4 / 3 !important;
	}

	.ritect-work--grid .ritect-work__list > li[data-shape="wide"] .ritect-project__title {
		font-size: clamp(1.6rem, 1rem + 1.2vw, 2.2rem) !important;
	}
}

@media (min-width: 640px) and (max-width: 1023.98px) {
	.ritect-work--grid .ritect-work__list > li[data-shape="wide"] {
		grid-column: 1 / -1 !important;
	}

	.ritect-work--grid .ritect-work__list > li[data-shape="wide"] .ritect-project__media {
		aspect-ratio: 16 / 9 !important;
	}

	.ritect-work--grid .ritect-work__list > li:not([data-shape="wide"]) .ritect-project__media {
		aspect-ratio: 4 / 3 !important;
	}
}

@media (max-width: 639.98px) {
	.ritect-work--grid .ritect-work__list > li:nth-child(n) .ritect-project__media {
		aspect-ratio: 4 / 3 !important;
	}
}

.ritect-work--grid .ritect-work__list > li:nth-child(n) .ritect-project {
	align-items: stretch;
}

/* A coral “view” badge slides in on hover. */
.ritect-work--grid .ritect-project__media::after {
	content: "";
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	z-index: 3;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: var(--c-coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151515' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / 1.3rem no-repeat;
	opacity: 0;
	transform: translateY(0.75rem) scale(0.85);
	transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
	pointer-events: none;
}

.ritect-work--grid .ritect-project:hover .ritect-project__media::after,
.ritect-work--grid .ritect-project:focus-within .ritect-project__media::after {
	opacity: 1;
	transform: none;
}

.ritect-work--grid .ritect-project:hover .ritect-project__ring {
	opacity: 0;
}

/* ==========================================================================
   Home, phones (1.9.2): calmer project cards. Image, name, what was made
   and one link; the counter, rings and second link drop out.
   ========================================================================== */
@media (max-width: 781.98px) {
	.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(n) .ritect-project__info::before,
	.ritect-work:not(.ritect-work--grid) .ritect-project__accent,
	.ritect-work:not(.ritect-work--grid) .ritect-project__ring,
	.ritect-work:not(.ritect-work--grid) .ritect-project__links,
	.ritect-work:not(.ritect-work--grid) .ritect-project__client {
		display: none !important;
	}

	.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(n) .ritect-project__info {
		gap: 0.35rem;
	}

	.ritect-work:not(.ritect-work--grid) .ritect-work__list > li:nth-child(n) .ritect-project__head {
		font-size: 1.6rem;
	}

	.ritect-work:not(.ritect-work--grid) .ritect-work__list .ritect-project__meta {
		padding: 0;
		border: 0;
	}

	.ritect-work:not(.ritect-work--grid) .ritect-project__services {
		font-size: 0.95rem;
	}

	.ritect-work:not(.ritect-work--grid) .ritect-project__foot {
		margin-top: 0.25rem !important;
	}

	.ritect-work:not(.ritect-work--grid) .ritect-project__more {
		min-height: auto;
		padding: 0.6em 0 0.2em;
		border-radius: 0;
		background: none;
		color: var(--c-black);
		box-shadow: inset 0 -2px 0 var(--c-coral);
	}

	.ritect-work:not(.ritect-work--grid) .ritect-work__list {
		row-gap: 2.75rem;
	}
}

/* ==========================================================================
   Home (1.9.3): work right under the hero, the client's logo leads each card
   and the cards use arrow links, so the section has one coral button.
   ========================================================================== */
.ritect-hero + .ritect-work {
	padding-top: clamp(4rem, 3rem + 4vw, 7rem);
}

.ritect-work + .ritect-statement {
	padding-top: clamp(4rem, 3rem + 4vw, 7rem) !important;
}

/* The logo plate sits flush in the bottom-left corner, cut into the image. */
.ritect-project__brand {
	position: absolute !important;
	left: 0;
	bottom: 0;
	z-index: 2;
	margin: 0 !important;
	max-width: min(62%, 420px);
	padding: clamp(0.9rem, 0.6rem + 1vw, 1.5rem) clamp(1.1rem, 0.7rem + 1.4vw, 2rem);
	background: var(--c-white);
	border-top-right-radius: var(--radius);
	box-sizing: border-box;
	pointer-events: none;
}

.ritect-project__brand img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: clamp(2.75rem, 1.6rem + 3vw, 4.75rem);
	object-fit: contain;
}

/* The ring stays on the right so it never covers the logo. */
.ritect-work:not(.ritect-work--grid) .ritect-project__ring {
	left: auto !important;
}

/* “Bekijk project” as an arrow link at every width. */
.ritect-work:not(.ritect-work--grid) .ritect-project__more {
	min-height: 44px;
	padding: 0;
	border-radius: 0;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 0.55em) / 100% 1.5px;
	color: var(--c-black);
	box-shadow: none;
	transition: background-size 0.45s var(--ease);
}

.ritect-work:not(.ritect-work--grid) .ritect-project__more:hover,
.ritect-work:not(.ritect-work--grid) .ritect-project__more:focus-visible {
	background-size: 0% 1.5px;
	background-position: 100% calc(100% - 0.55em);
	color: var(--c-black);
}

@media (max-width: 781.98px) {
	.ritect-project__brand {
		max-width: 72%;
	}

	.ritect-project__brand img {
		max-height: 2.6rem;
	}

	.ritect-work:not(.ritect-work--grid) .ritect-project__more {
		min-height: 44px;
		padding: 0;
		box-shadow: none;
	}
}

/* Accessibility (1.9.4): big titles are typed normally and shown in capitals
   here, so screen readers read words instead of spelling letters. */
.is-caps {
	text-transform: uppercase;
}

/* Social links on one line (1.9.4). */
.ritect-details__socials {
	flex-wrap: nowrap;
	gap: 0.5rem 1rem;
}

.ritect-details__socials li {
	white-space: nowrap;
}

@media (max-width: 379.98px) {
	.ritect-details__socials {
		gap: 0.5rem 0.7rem;
		font-size: 0.92rem;
	}
}

/* Werk: more air between the filter and the first project (1.9.4). */
.ritect-work--grid .ritect-filter,
.ritect-filter {
	margin-bottom: clamp(2.75rem, 5vw, 4.5rem) !important;
}

/* ==========================================================================
   Artikelen (1.9.5): image cards, the newest article featured large.
   ========================================================================== */
.ritect-articles .ritect-articles__query > * {
	margin: 0;
}

.ritect-articles__grid {
	list-style: none;
	margin: 0 !important;
	padding: 0;
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(2.5rem, 4vw, 3.75rem) clamp(1.25rem, 2.5vw, 2.25rem);
}

.ritect-articles__grid > li {
	margin: 0 !important;
	min-width: 0;
}

.ritect-article-card {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	height: 100%;
}

.ritect-article-card > *,
.ritect-article-card__body > * {
	margin: 0 !important;
}

.ritect-article-card__image {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--c-dt);
}

.ritect-article-card__image img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 1.1s var(--ease);
}

.ritect-article-card:hover .ritect-article-card__image img {
	transform: scale(1.05);
}

.ritect-article-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.ritect-article-card__meta {
	color: var(--c-dt);
}

.ritect-article-card__title {
	font-size: clamp(1.3rem, 1rem + 0.8vw, 1.75rem) !important;
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.ritect-article-card__title a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 0% 0.07em;
	background-position: 0 95%;
	transition: background-size 0.6s var(--ease);
}

.ritect-article-card:hover .ritect-article-card__title a,
.ritect-article-card__title a:focus-visible {
	background-size: 100% 0.07em;
}

.ritect-article-card__excerpt {
	color: var(--muted);
	line-height: 1.55;
}

.ritect-article-card__excerpt p {
	margin: 0;
}

.ritect-article-card__more {
	align-self: flex-start;
	margin-top: 0.3rem !important;
	padding-bottom: 0.2em;
	color: var(--c-black);
	font-family: var(--f-head);
	font-weight: 700;
	text-decoration: none;
	box-shadow: inset 0 -2px 0 var(--c-coral);
}

.ritect-article-card__more::after {
	content: " →";
}

/* The newest article: wide, image beside the text. */
@media (min-width: 900px) {
	.ritect-articles__grid > li:first-child {
		grid-column: 1 / -1;
	}

	.ritect-articles__grid > li:first-child .ritect-article-card {
		display: grid;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		align-items: center;
		gap: clamp(2rem, 4vw, 4rem);
		padding-bottom: clamp(1rem, 3vw, 2.5rem);
		border-bottom: 1px solid var(--line);
	}

	.ritect-articles__grid > li:first-child .ritect-article-card__title {
		font-size: clamp(1.9rem, 1.2rem + 2vw, 3rem) !important;
		line-height: 1.02;
	}
}

@media (max-width: 1023.98px) {
	.ritect-articles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 639.98px) {
	.ritect-articles__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ritect-articles__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: clamp(4rem, 8vw, 6.5rem) !important;
	padding-top: 2.5rem;
	border-top: 1px solid var(--line);
}

.ritect-articles__cta > * {
	margin: 0 !important;
}

.ritect-articles__cta-text {
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(1.3rem, 1rem + 1.3vw, 2.1rem);
	letter-spacing: -0.03em;
	line-height: 1.12;
	max-width: 26ch;
}

/* Article author box (1.9.7). */
.ritect-author {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem) !important;
	padding: 1.5rem 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.ritect-author > *,
.ritect-author__text > * {
	margin: 0 !important;
}

.ritect-author__photo {
	flex: none;
}

.ritect-author__photo img {
	border-radius: 50%;
}

.ritect-author__text {
	display: grid;
	gap: 0.35rem;
}

.ritect-author__text p:not(.ritect-label) {
	color: var(--muted);
	line-height: 1.55;
}

/* Google score in the hero (1.9.9). */
.ritect-rating {
	margin: 1.5rem 0 0 !important;
	font-size: 0.95rem;
}

.ritect-rating a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: inherit;
	text-decoration: none;
	opacity: 0.85;
	transition: opacity 0.3s var(--ease);
}

.ritect-rating a:hover,
.ritect-rating a:focus-visible {
	opacity: 1;
}

.ritect-rating .ritect-stars {
	display: inline-flex;
	gap: 2px;
	color: var(--c-coral);
}

.ritect-rating .ritect-stars svg {
	width: 16px;
	height: 16px;
}

/* Case → service links (1.9.9). */
.ritect-case-services {
	margin-top: clamp(2.5rem, 5vw, 4rem) !important;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.ritect-case-services > * {
	margin: 0 !important;
}

.ritect-case-services__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.5rem;
	margin-top: 0.6rem !important;
}

.ritect-case-services__link {
	color: var(--c-black);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none;
	box-shadow: inset 0 -2px 0 var(--c-coral);
}

.ritect-case-services__link::after {
	content: " →";
}

/* ==========================================================================
   Service pages: "Wat je precies krijgt" (1.10.0). Title on the left and
   sticky, the details in a readable column on the right.
   ========================================================================== */
.ritect-deliverables__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 6vw, 6rem);
}

@media (min-width: 1024px) {
	.ritect-deliverables__grid {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
		align-items: start;
	}

	.ritect-deliverables__head {
		position: sticky;
		top: calc(var(--header-h, 80px) + 2rem);
	}
}

.ritect-deliverables__grid > *,
.ritect-deliverables__head > * {
	margin: 0 !important;
}

.ritect-deliverables__head {
	display: grid;
	gap: 1rem;
}

.ritect-deliverables__body {
	max-width: 64ch;
	padding: 0 !important;
}

.ritect-deliverables__body h3 {
	margin: clamp(2.25rem, 4vw, 3rem) 0 0.9rem !important;
	font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.7rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.ritect-deliverables__body h3:first-child {
	margin-top: 0 !important;
}

.ritect-deliverables__body p {
	margin: 0 0 1rem;
	line-height: 1.65;
}

.ritect-deliverables__body ul,
.ritect-deliverables__body ol {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.65rem;
}

.ritect-deliverables__body ul li {
	position: relative;
	padding-left: 1.6rem;
	line-height: 1.6;
}

.ritect-deliverables__body ul li::before {
	content: "";
	position: absolute;
	left: 0.15rem;
	top: 0.62em;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	border: 2px solid var(--c-coral);
}

.ritect-deliverables__body ol {
	counter-reset: step;
}

.ritect-deliverables__body ol li {
	position: relative;
	padding: 0.85rem 0 0.85rem 3.1rem;
	border-top: 1px solid var(--line);
	line-height: 1.6;
	counter-increment: step;
}

.ritect-deliverables__body ol li:last-child {
	border-bottom: 1px solid var(--line);
}

.ritect-deliverables__body ol li::before {
	content: counter(step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0.85rem;
	font-family: var(--f-head);
	font-weight: 700;
	color: var(--c-dt);
}

.ritect-deliverables__cta {
	margin-top: clamp(2rem, 4vw, 3rem) !important;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

/* Price comparison table in articles (1.10.0). */
.ritect-price-table {
	margin: 1.5rem 0 2rem;
	overflow-x: auto;
}

.ritect-price-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.ritect-price-table th,
.ritect-price-table td {
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.ritect-price-table thead th {
	background: var(--c-black);
	color: var(--c-white);
	font-family: var(--f-head);
	font-weight: 700;
}

.ritect-price-table td:last-child {
	white-space: nowrap;
	color: var(--c-dt);
	font-weight: 600;
}

.ritect-price-table th,
.ritect-price-table td {
	border-left: 0 !important;
	border-right: 0 !important;
	border-top: 0 !important;
}

/* Phones: each row becomes a small card instead of a sideways-scrolling table. */
@media (max-width: 639.98px) {
	.ritect-price-table thead {
		display: none;
	}

	.ritect-price-table table,
	.ritect-price-table tbody {
		display: block;
	}

	.ritect-price-table tr {
		display: grid;
		gap: 0.3rem;
		padding: 1rem 0;
		border-bottom: 1px solid var(--line);
	}

	.ritect-price-table td {
		padding: 0 !important;
		border: 0 !important;
	}

	.ritect-price-table td:last-child {
		white-space: normal;
	}
}

/* Webdesign page: built vs. maintained (1.10.3). */
.ritect-project__badge {
	justify-self: start;
	margin: 0 !important;
	padding: 0.25em 0.75em;
	border-radius: 999px;
	background: rgba(21, 21, 21, 0.06);
	color: var(--c-black);
	font-family: var(--f-head);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.ritect-project__badge.is-built {
	background: rgba(101, 160, 171, 0.18);
	color: var(--c-dt);
}

/* ==========================================================================
   Contact form (1.11.2): a calm card with readable labels and real fields,
   and a shorter step from the FAQ into the contact section.
   ========================================================================== */
.ritect-faq:has(+ .ritect-contact) {
	padding-bottom: clamp(3rem, 5vw, 5rem) !important;
}

.ritect-faq + .ritect-contact {
	padding-top: clamp(3rem, 5vw, 5rem) !important;
	border-top: 1px solid var(--line);
}

.ritect-form .ritect-form__form {
	padding: clamp(1.25rem, 3vw, 2.25rem);
	border-radius: calc(var(--radius) + 4px);
	background: #fff;
	box-shadow: 0 1px 2px rgba(21, 21, 21, 0.04), 0 12px 32px -12px rgba(21, 21, 21, 0.14);
}

.is-dark .ritect-form .ritect-form__form {
	background: rgba(255, 255, 255, 0.05);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ritect-form__grid {
	gap: 1.1rem 1rem;
}

.ritect-form__field label {
	font-family: var(--f-body);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	margin-bottom: 0.4rem;
}

.ritect-form__opt {
	font-weight: 400;
	font-size: 0.875rem;
}

.ritect-form input,
.ritect-form select,
.ritect-form textarea {
	font-size: 1rem;
	line-height: 1.4;
	padding: 0.75rem 0.9rem;
	border: 1px solid rgba(21, 21, 21, 0.18);
	border-radius: 10px;
	background: var(--c-off);
}

.is-dark .ritect-form input,
.is-dark .ritect-form select,
.is-dark .ritect-form textarea {
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.06);
}

.ritect-form select {
	padding-right: 2.4rem;
}

.ritect-form__select::after {
	right: 0.9rem !important;
}

.ritect-form input:focus,
.ritect-form select:focus,
.ritect-form textarea:focus {
	border-color: var(--c-dt);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(101, 160, 171, 0.25);
}

.ritect-form textarea {
	min-height: 6.5rem;
}

.ritect-form__field.has-error input,
.ritect-form__field.has-error select,
.ritect-form__field.has-error textarea {
	border-color: var(--error);
}

.ritect-form__error:not(:empty) {
	margin-top: 0.35rem;
	font-size: 0.875rem;
}

.ritect-form__robot {
	margin-top: 1.25rem;
}

.ritect-form__footer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(21, 21, 21, 0.08);
}

.is-dark .ritect-form__footer {
	border-top-color: rgba(255, 255, 255, 0.12);
}

.ritect-form__privacy {
	font-size: 0.85rem;
	line-height: 1.5;
}

@media (max-width: 639.98px) {
	.ritect-form .ritect-form__form {
		padding: 1.15rem;
	}

	.ritect-form__submit {
		width: 100%;
		justify-content: center;
	}
}

.ritect-form__error:empty {
	min-height: 0;
	margin: 0 !important;
}
