/*
 * RvR Xprtise — header and homepage refinement.
 *
 * Load this file after assets/site.css. Homepage rules are scoped to .rvr-home,
 * so the existing styling of inner pages remains intact.
 */

:root {
	--home-section-space: clamp(72px, 8vw, 112px);
	--home-card-gap: 18px;
	--header-logo-width: clamp(150px, 12vw, 196px);
	--header-space: 3px;
}

body.rvr-wordpress-theme {
	overflow-x: clip;
}

/* Header */

.topbar {
	position: relative;
	z-index: 1002;
	background: var(--gold);
	color: var(--black);
}

.topbar-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 24px;
	align-items: center;
	height: 36px;
}

.topbar-inner > span {
	white-space: nowrap;
}

.topbar-center {
	justify-self: center;
}

.topbar-right {
	justify-self: end;
}



/* Homepage foundation and equal section spacing */

.rvr-home {
	background: var(--white);
	color: var(--ink);
	overflow: clip;
}

.rvr-home .home-section {
	margin: 0;
	padding-block: 50px;
}

.rvr-home .home-heading {
	max-width: 850px;
	margin: 0 0 46px;
}

.rvr-home .home-heading-split {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: clamp(44px, 7vw, 90px);
	align-items: end;
	max-width: none;
}

.rvr-home .home-heading h2,
.rvr-home .results-copy h2,
.rvr-home .about-copy h2,
.rvr-home .b2b-grid h2,
.rvr-home .contact-intro h2 {
	margin: 0;
	font-size: clamp(30px, 4.4vw, 40px);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.045em;
}

.rvr-home .home-heading-split > p {
	margin: 0 0 5px;
	color: #000000;
	font-size: 16px;
	line-height: 1.75;
}

/* Hero */

.rvr-home .hero {
	position: relative;
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	min-height: 300px;
	overflow: hidden;
	background: var(--black);
	color: var(--white);
}

.rvr-home .hero-image {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-position: center 52%;
	background-size: cover;
	transform: scale(1.01);
}

.rvr-home .hero-shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(3, 5, 8, 0.94) 0%, rgba(3, 5, 8, 0.72) 43%, rgba(3, 5, 8, 0.22) 76%),
		linear-gradient(0deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.04) 48%);
}

.rvr-home .hero-content {
	position: relative;
	z-index: 2;
	align-self: center;
	padding-left: 76px;
	padding-right: 76px;
	padding-top: 50px;
	padding-bottom: 50px;
}

.rvr-home .hero h1 {
	  margin: 0;
	  width: max-content;
	  font-size: clamp(48px, 7.1vw, 30px);
	  line-height: .93;
	  letter-spacing: -.055em;
	  font-weight: 600;
}

.rvr-home .hero h1 em {
	display: block;
	width: max-content;
	margin-top: 10px;
	color: #000000;
	font-style: normal;
	-webkit-text-stroke: 1px rgba(225, 193, 127, 0.94);
}

.rvr-home .hero-copy {
	max-width: 660px;
	margin: 30px 0 0;
	color: #ffffff;
	font-size: 17px;
	line-height: 1.72;
}

.rvr-home .hero-actions {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-top: 38px;
}

.rvr-home .trust-strip {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
	background: rgba(5, 5, 5, 0.7);
	border: 1px solid rgba(201, 168, 106, 0.42);
	border-bottom: 0;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.rvr-home .trust-strip div {
	min-width: 0;
	padding: 23px 25px;
	border: 0;
	border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.rvr-home .trust-strip div:first-child {
	border-left: 0;
}

.rvr-home .trust-strip div:last-child {
	border-right: 0;
}

/* Service carousel */

.rvr-home .home-services {
	background: var(--ivory);
	color: var(black);
     margin-top: -25Px;	
}

.rvr-home .services-carousel {
	width: 100%;
	min-width: 0;
	margin-top: 0;
}

.rvr-home .carousel-toolbar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto 22px;
}

.rvr-home .carousel-hint {
	margin: 0;
	color: #645d52;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.13em;
	text-align: center;
	text-transform: uppercase;
}

.rvr-home .carousel-controls {
	display: flex;
	gap: 8px;
}

.rvr-home .carousel-control {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #cfc4b5;
	background: var(--white);
	color: var(--ink);
	font-size: 19px;
	cursor: pointer;
	transition: color 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.rvr-home .carousel-control:hover:not(:disabled) {
	border-color: var(--gold);
	background: var(--gold);
	color: var(--black);
}

.rvr-home .carousel-control:disabled {
	opacity: 0.28;
	cursor: default;
}

.rvr-home .service-grid-five {
	display: flex;
	align-items: stretch;
	gap: var(--home-card-gap);
	width: 100%;
	min-width: 0;
	padding: 2px 2px 14px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-padding-inline: 2px;
	scroll-snap-type: x mandatory;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--gold) #ded5c6;
}

.rvr-home .service-grid-five::-webkit-scrollbar {
	height: 5px;
}

.rvr-home .service-grid-five::-webkit-scrollbar-track {
	background: #ded5c6;
}

.rvr-home .service-grid-five::-webkit-scrollbar-thumb {
	background: var(--gold-deep);
}

.rvr-home .service-grid-five .service-card,
.rvr-home .service-grid-five .service-card:nth-child(-n + 2),
.rvr-home .service-grid-five .service-card:nth-last-child(-n + 2),
.rvr-home .service-grid-five .service-card:last-child {
	flex: 0 0 calc((100% - (var(--home-card-gap) * 2)) / 3);
	width: auto;
	min-width: 0;
	max-width: none;
	min-height: 355px;
	padding: 28px;
	grid-column: auto;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.rvr-home .service-card {
	border: 1px solid #d7cdbd;
	background: var(--warm-white);
	box-shadow: none;
}

.rvr-home .service-card:nth-child(even) {
	background: var(--warm-white);
}

.rvr-home .service-grid-five .service-card h3 {
	margin: 42px 0 14px;
	font-size: clamp(24px, 2vw, 29px);
	line-height: 1.08;
}

.rvr-home .service-grid-five .service-card > p {
	color: #000000;
	font-size: 13px;
	line-height: 1.65;
}

.rvr-home .service-grid-five .service-result {
	margin-top: 18px;
	padding-top: 16px;
	color: #3f3931;
	font-size: 11px;
}

.rvr-home .service-grid-five .service-card > a {
	padding-top: 22px;
	font-size: 12px;
}

/* Results */

.rvr-home .home-results {
	background: var(--black);
	color: var(--white);
}

.rvr-home .results-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
	gap: clamp(52px, 8vw, 104px);
	align-items: center;
}

.rvr-home .results-media {
	position: relative;
	min-width: 0;
}

.rvr-home .results-media::before {
	content: "";
	position: absolute;
	top: -16px;
	left: -16px;
	width: 46%;
	height: 46%;
	border-top: 1px solid var(--gold);
	border-left: 1px solid var(--gold);
	pointer-events: none;
}

.rvr-home .results-video {
	display: block;
    width: 500px;
    height: 500px;
	border: 1px solid rgba(201, 168, 106, 0.34);
	background: #0b0b0b;
	object-fit: cover;
	object-position: center;
}

.rvr-home .results-copy > p:not(.eyebrow) {
	margin: 25px 0 0;
	color: rgba(255, 255, 255, 0.67);
	font-size: 16px;
	line-height: 1.78;
}

.rvr-home .results-copy blockquote {
	margin: 30px 0;
	padding: 22px 0 22px 24px;
	border-left: 2px solid var(--gold);
	color: var(--gold-light);
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 500;
	line-height: 1.48;
}

/* About */

.rvr-home .home-about {
	background: var(--ivory);
	color: var(black);
}

.rvr-home .home-about-grid {
	display: grid;
	grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
	gap: clamp(52px, 8vw, 106px);
	align-items: stretch;
}

.rvr-home .specialist-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 520px;
	padding: clamp(34px, 5vw, 58px);
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 16%, rgba(201, 168, 106, 0.24), transparent 31%),
		linear-gradient(145deg, #080808 0%, #17140f 100%);
	color: var(--white);
	border: 1px solid rgba(201, 168, 106, 0.46);
}

.rvr-home .specialist-panel::after {
	content: "";
	position: absolute;
	right: -105px;
	top: -105px;
	width: 270px;
	height: 270px;
	border: 1px solid rgba(201, 168, 106, 0.32);
	border-radius: 50%;
}

.rvr-home .specialist-mark {
	position: top;
	top: 5px;
	left: 42px;
	margin: 0;
	color: var(--gold-light);
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.07em;
}

.rvr-home .specialist-panel strong {
	position: relative;
	z-index: 1;
	display: block;
	max-width: 410px;
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.rvr-home .specialist-panel > span {
	position: relative;
	z-index: 1;
	margin-top: 26px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 11px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.rvr-home .about-copy {
	align-self: center;
}

.rvr-home .about-copy .lead {
	margin: 27px 0 0;
	color: #514b42;
	font-size: 16px;
	line-height: 1.78;
}

.rvr-home .values-list {
	margin-top: 34px;
	border-top: 1px solid #c9bead;
}

.rvr-home .values-list > div {
	display: grid;
	grid-template-columns: minmax(170px, 0.78fr) minmax(0, 1.22fr);
	gap: 28px;
	padding-block: 19px;
	border-bottom: 1px solid #c9bead;
}

.rvr-home .values-list strong {
	font-size: 13px;
}

.rvr-home .values-list span {
	color: #000000;
	font-size: 12px;
	line-height: 1.6;
}

.rvr-home .dark-link {
	margin-top: 32px;
	border-bottom-color: rgba(23, 20, 15, 0.36);
}

/* Audience */

.rvr-home .home-audience {
	background: var(--white);
	color: var(--ink);
}

.rvr-home .home-audience .home-heading {
	max-width: 100%;
}

.rvr-home .audience-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--home-card-gap);
	margin: 0;
}

.rvr-home .audience-grid article {
	min-height: 300px;
	padding: 31px;
}

/* Process */

.rvr-home .home-process {
	background: var(--soft-black);
	color: var(--white);
}

.rvr-home .home-process .home-heading-split > p {
	color: rgba(255, 255, 255, 0.62);
}

.rvr-home .process-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.rvr-home .process-grid article {
	min-height: 220px;
	padding: 30px 25px;
	border-right: 1px solid var(--line);
}

.rvr-home .process-grid article:first-child {
	padding-left: 0;
}

.rvr-home .process-grid article:last-child {
	padding-right: 0;
	border-right: 0;
}

/* Business and contact */

.rvr-home .home-b2b {
	background: #ffffff;
	color: var(--black);
	border-top: 1px solid rgba(201, 168, 106, 0.5);
}

.rvr-home .b2b-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
	gap: clamp(50px, 8vw, 110px);
	align-items: center;
}

.rvr-home .b2b-grid > div:last-child > p {
	margin: 0;
	color: #000000;
	font-size: 16px;
	line-height: 1.76;
}

.rvr-home .button-outline {
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #0c0b09;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .025em;
    transition: .25s ease;
    cursor: pointer;
}

.rvr-home .button-outline:hover {
	background: var(--gold);
	color: var(--black);
}

.rvr-home .home-contact {
	background: var(--warm-white);
	color: var(--ink);
}

.rvr-home .home-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
	gap: clamp(54px, 9vw, 120px);
	align-items: start;
}

.rvr-home .contact-intro > p:last-child {
	max-width: 560px;
	margin: 26px 0 0;
	color: #5a5349;
	font-size: 16px;
	line-height: 1.76;
}

.rvr-home .contact-options-card {
	padding: 0;
	border: 1px solid #cfc4b5;
	background: var(--white);
}

.rvr-home .contact-options-card > a:not(.button) {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	min-height: 74px;
	padding: 16px 22px;
	border-bottom: 1px solid #ddd3c4;
}

.rvr-home .contact-options-card > a:not(.button) > span:first-child {
	color: #766b5d;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rvr-home .contact-options-card > a:not(.button) strong {
	font-size: 14px;
}

.rvr-home .contact-options-card > a:not(.button):hover strong {
	color: var(--gold-deep);
}

.rvr-home .contact-options-card > .button {
	width: calc(100% - 32px);
	margin: 16px;
}

/* Scroll reveal: content remains visible when JavaScript is unavailable. */

.rvr-home [data-reveal] {
	opacity: 1;
	transform: none;
}

.rvr-home [data-reveal].reveal-pending {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rvr-home [data-reveal].reveal-pending.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.rvr-home .audience-grid [data-reveal]:nth-child(2),
.rvr-home .process-grid [data-reveal]:nth-child(2) {
	transition-delay: 70ms;
}

.rvr-home .audience-grid [data-reveal]:nth-child(3),
.rvr-home .process-grid [data-reveal]:nth-child(3) {
	transition-delay: 140ms;
}

.rvr-home .process-grid [data-reveal]:nth-child(4) {
	transition-delay: 210ms;
}

@media (max-width: 1180px) {
	:root {
		--header-logo-width: 150px;
	}

	.topbar-center {
		display: none;
	}

	.topbar-inner {
		grid-template-columns: 1fr auto;
	}

	.site-header .nav-wrap {
		gap: 22px;
	}

	.site-header .desktop-nav {
		gap: 17px;
	}

	.site-header .header-cta {
		min-width: 0;
		padding-inline: 16px;
	}
}

@media (max-width: 960px) {
	.rvr-home .service-grid-five .service-card,
	.rvr-home .service-grid-five .service-card:nth-child(-n + 2),
	.rvr-home .service-grid-five .service-card:nth-last-child(-n + 2),
	.rvr-home .service-grid-five .service-card:last-child {
		flex-basis: calc((100% - var(--home-card-gap)) / 2);
	}

	.rvr-home .results-grid,
	.rvr-home .home-about-grid {
		gap: 48px;
	}

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

	.rvr-home .process-grid article:nth-child(2) {
		border-right: 0;
	}

	.rvr-home .process-grid article:nth-child(n + 3) {
		border-top: 1px solid var(--line);
	}

	.rvr-home .process-grid article:nth-child(3) {
		padding-left: 0;
	}
}

@media (max-width: 860px) {
	.site-header .nav-wrap {
		display: flex;
		justify-content: space-between;
		min-height: 80px;
	}

	.site-header .desktop-nav,
	.site-header .header-cta {
		display: none;
	}

	.site-header .mobile-menu {
		display: block;
		margin-left: auto;
	}

	.site-header .mobile-menu summary {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 7px;
		width: 52px;
		height: 52px;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, 0.38);
		background: #090909;
		cursor: pointer;
	}

	.site-header .mobile-menu summary span {
		display: block;
		width: 24px;
		height: 1px;
		background: var(--white);
		transition: transform 180ms ease;
	}

	.site-header .mobile-menu[open] summary span:first-child {
		transform: translateY(4px) rotate(45deg);
	}

	.site-header .mobile-menu[open] summary span:last-child {
		transform: translateY(-4px) rotate(-45deg);
	}

	.site-header .mobile-menu nav {
		position: absolute;
		top: calc(100% + 14px);
		right: 0;
		z-index: 1005;
		display: flex;
		flex-direction: column;
		width: min(370px, calc(100vw - 32px));
		padding: 12px;
		background: #080808;
		border: 1px solid rgba(201, 168, 106, 0.55);
		box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55);
	}

	.site-header .mobile-menu nav a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 50px;
		padding: 12px 14px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		color: var(--white);
		font-size: 14px;
		font-weight: 600;
	}

	.site-header .mobile-menu nav a[aria-current="page"] {
		color: var(--gold-light);
	}

	.site-header .mobile-menu nav .mobile-menu-cta {
		margin-top: 10px;
		border: 0;
		background: var(--gold);
		color: var(--black);
	}

	.rvr-home .home-heading-split,
	.rvr-home .results-grid,
	.rvr-home .home-about-grid,
	.rvr-home .b2b-grid,
	.rvr-home .home-contact-grid {
		grid-template-columns: 1fr;
	}

	.rvr-home .home-heading-split {
		gap: 24px;
	}

	.rvr-home .results-media {
		max-width: 680px;
	}

	.rvr-home .specialist-panel {
		min-height: 420px;
	}

	.rvr-home .audience-grid {
		grid-template-columns: 1fr;
	}

	.rvr-home .audience-grid article {
		min-height: 260px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 650px) {
	:root {
		--home-section-space: 60px;
		--home-card-gap: 14px;
		--header-logo-width: 126px;
		--header-space: 8px;
	}

	.shell,
	.rvr-home .trust-strip {
		width: min(1180px, calc(100% - 32px));
	}

	.topbar {
		font-size: 10px;
		letter-spacing: 0.11em;
	}

	.topbar-inner {
		display: flex;
		justify-content: center;
		height: 40px;
		text-align: center;
	}

	.topbar-center,
	.topbar-right {
		display: none;
	}

	.site-header .nav-wrap {
		min-height: 74px;
		padding-block: var(--header-space);
	}

	.site-header .mobile-menu summary {
		width: 48px;
		height: 48px;
	}

	.rvr-home .hero {
		min-height: auto;
		grid-template-rows: auto auto;
	}

	.rvr-home .hero-image {
		background-position: 62% center;
	}

	.rvr-home .hero-shade {
		background:
			linear-gradient(90deg, rgba(3, 5, 8, 0.95) 0%, rgba(3, 5, 8, 0.62) 82%),
			linear-gradient(0deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.08) 56%);
	}

	.rvr-home .hero-content {
		padding-block: 34px 30px;
	}

	.rvr-home .hero .eyebrow {
		margin-bottom: 17px;
	}

	.rvr-home .hero h1 {
		font-size: clamp(38px, 11.6vw, 52px);
		line-height: 0.98;
		letter-spacing: -0.05em;
		overflow-wrap: break-word;
	}

	.rvr-home .hero h1 em {
		margin-top: 9px;
		color: var(--gold-light);
		-webkit-text-stroke: 0;
	}

	.rvr-home .hero-copy {
		margin-top: 24px;
		font-size: 15px;
		line-height: 1.65;
	}

	.rvr-home .hero-actions {
		align-items: stretch;
		flex-direction: column;
		gap: 22px;
		margin-top: 30px;
	}

	.rvr-home .hero-actions .button {
		width: 100%;
	}

	.rvr-home .hero-actions .text-link {
		align-self: flex-start;
	}

	.rvr-home .trust-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border-bottom: 0;
	}

	.rvr-home .trust-strip div {
		padding: 18px 16px;
		border-right: 1px solid rgba(255, 255, 255, 0.15);
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	}

	.rvr-home .trust-strip div:nth-child(2n) {
		border-right: 0;
	}

	.rvr-home .home-heading {
		margin-bottom: 34px;
	}

	.rvr-home .home-heading h2,
	.rvr-home .results-copy h2,
	.rvr-home .about-copy h2,
	.rvr-home .b2b-grid h2,
	.rvr-home .contact-intro h2 {
		font-size: clamp(34px, 10vw, 45px);
		line-height: 1.04;
	}

	.rvr-home .home-heading-split > p,
	.rvr-home .results-copy > p:not(.eyebrow),
	.rvr-home .about-copy .lead,
	.rvr-home .b2b-grid > div:last-child > p,
	.rvr-home .contact-intro > p:last-child {
		font-size: 15px;
		line-height: 1.7;
	}

	.rvr-home .carousel-toolbar {
		flex-wrap: wrap;
		gap: 12px;
		width: 100%;
		margin-bottom: 16px;
	}

	.rvr-home .carousel-hint {
		flex: 0 0 100%;
	}

	.rvr-home .service-grid-five .service-card,
	.rvr-home .service-grid-five .service-card:nth-child(-n + 2),
	.rvr-home .service-grid-five .service-card:nth-last-child(-n + 2),
	.rvr-home .service-grid-five .service-card:last-child {
		flex-basis: min(88%, 330px);
		min-height: 360px;
		padding: 24px;
	}

	.rvr-home .results-grid,
	.rvr-home .home-about-grid,
	.rvr-home .b2b-grid,
	.rvr-home .home-contact-grid {
		gap: 38px;
	}

	.rvr-home .results-media::before {
		top: -9px;
		left: -9px;
	}

	.rvr-home .results-video {
		width: 100%;
		aspect-ratio: 4 / 5;
		object-position: center;
	}

	.rvr-home .results-copy blockquote {
		padding-left: 18px;
		font-size: 18px;
	}

	.rvr-home .specialist-panel {
		min-height: 350px;
		padding: 30px;
	}

	.rvr-home .specialist-mark {
		top: 28px;
		left: 28px;
	}

	.rvr-home .values-list > div {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.rvr-home .audience-grid article {
		min-height: 270px;
		padding: 26px;
	}

	.rvr-home .process-grid {
		grid-template-columns: 1fr;
	}

	.rvr-home .process-grid article,
	.rvr-home .process-grid article:first-child,
	.rvr-home .process-grid article:nth-child(3),
	.rvr-home .process-grid article:last-child {
		min-height: 0;
		padding: 25px 0;
		border-top: 0;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.rvr-home .process-grid article:last-child {
		border-bottom: 0;
	}

	.rvr-home .process-grid h3 {
		margin-top: 22px;
	}

	.rvr-home .contact-options-card > a:not(.button) {
		grid-template-columns: 1fr auto;
		gap: 7px 14px;
		min-height: 76px;
		padding: 16px;
	}

	.rvr-home .contact-options-card > a:not(.button) > span:first-child {
		grid-column: 1;
	}

	.rvr-home .contact-options-card > a:not(.button) strong {
		grid-column: 1;
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.rvr-home .contact-options-card > a:not(.button) > span:last-child {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	.rvr-home .contact-options-card > .button {
		width: calc(100% - 24px);
		margin: 12px;
		padding-inline: 15px;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rvr-home *,
	.rvr-home *::before,
	.rvr-home *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
/* Hero tekst kleiner en gecentreerd */



/* Mobiele weergave */
@media (max-width: 650px) {
    .rvr-home .hero h1 {
        max-width: 100%;
        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.05;
    }
}

/* Contactsectie met twee zwevende blokken */
.rvr-home .home-contact {
    background: #f3efe7;
}

.rvr-home .contact-floating-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 38px);
    align-items: stretch;
}

.rvr-home .contact-floating-card {
    position: relative;
    min-width: 0;
    min-height: 430px;
    background: #ffffff;
    border: 1px solid #d8cebf;
    box-shadow: 0 20px 55px rgba(23, 20, 15, 0.10);
    overflow: hidden;
    transition:
        transform 250ms ease,
        box-shadow 250ms ease,
        border-color 250ms ease;
}

.rvr-home .contact-floating-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
}

.rvr-home .contact-floating-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 28px 70px rgba(23, 20, 15, 0.16);
}

/* Linkerblok */
.rvr-home .contact-intro.contact-floating-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 5vw, 68px);
}

.rvr-home .contact-intro.contact-floating-card h2 {
    max-width: 520px;
}

.rvr-home .contact-intro.contact-floating-card > p:last-child {
    max-width: 540px;
    margin-top: 28px;
}

/* Rechterblok */
.rvr-home .contact-options-card.contact-floating-card {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.rvr-home .contact-options-card.contact-floating-card > a:not(.button) {
    flex: 1;
    min-height: 82px;
    padding-inline: clamp(20px, 3vw, 30px);
}

.rvr-home .contact-options-card.contact-floating-card > .button {
    width: calc(100% - 40px);
    margin: 20px;
}

/* Mobiel: blokken onder elkaar */
@media (max-width: 760px) {
    .rvr-home .contact-floating-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rvr-home .contact-floating-card {
        min-height: 0;
    }

    .rvr-home .contact-intro.contact-floating-card {
        padding: 38px 26px;
    }

    .rvr-home .contact-options-card.contact-floating-card > .button {
        width: calc(100% - 24px);
        margin: 12px;
    }
}

/* Afbeelding in het specialistische Over ons-blok */
.rvr-home .specialist-panel--photo {
	background-color: #080808;
	background-image:
		linear-gradient(
			180deg,
			rgba(5, 5, 5, 0.20) 0%,
			rgba(5, 5, 5, 0.42) 45%,
			rgba(5, 5, 5, 0.94) 100%
		),
		var(--specialist-image);

	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Houdt de tekst duidelijk zichtbaar */
/* RvR rechtsboven positioneren */
.rvr-home .specialist-panel--photo .specialist-mark {
	position: absolute;
	top: clamp(28px, 4vw, 46px);
	right: clamp(28px, 4vw, 46px);
	left: auto;
	z-index: 2;
	margin: 0;
	text-align: right;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

/* Overige tekst onderaan houden */
.rvr-home .specialist-panel--photo .eyebrow,
.rvr-home .specialist-panel--photo strong,
.rvr-home .specialist-panel--photo > span {
	position: relative;
	z-index: 2;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

@media (max-width: 650px) {
	.rvr-home .specialist-panel--photo .specialist-mark {
		top: 24px;
		right: 24px;
		font-size: 58px;
	}
}

/* Eventueel een ander uitsnede op mobiel */
@media (max-width: 650px) {
	.rvr-home .specialist-panel--photo {
		background-position: center;
	}
}

.service-grid-five.rvr-auto-track {
	scroll-behavior: auto;
	scroll-snap-type: none;
	cursor: grab;
}

.service-grid-five.rvr-auto-track.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.service-grid-five .is-carousel-clone a {
	pointer-events: none;
}
.service-grid-five.rvr-auto-track {
	scroll-behavior: auto !important;
	scroll-snap-type: none !important;
	cursor: grab;
}

.service-grid-five.rvr-auto-track.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.service-grid-five.rvr-auto-track.is-dragging a {
	pointer-events: none;
}

/* ==================================================
   HOMEPAGE PROCES — CONCEPT B: INTERACTIEVE FOCUSKAART
   ================================================== */

.rvr-home .home-process {
	position: relative;
	background: #eee8dd;
	color: var(--ink);
}

.rvr-home .home-process::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 88% 12%, rgba(201, 168, 106, 0.12), transparent 29%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.20), transparent 42%);
}

.rvr-home .home-process > .shell {
	position: relative;
	z-index: 1;
}

.rvr-home .process-focus {
	display: grid;
	grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(38px, 6vw, 84px);
	align-items: stretch;
}

.rvr-home .process-focus-intro {
	min-width: 0;
}

.rvr-home .process-focus-intro > .eyebrow {
	margin-bottom: 18px;
}

.rvr-home .process-focus-intro > h2 {
	max-width: 9ch;
	margin: 0;
	font-size: clamp(26px, 5.25vw, 42px);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.055em;
}

.rvr-home .process-focus-description {
	max-width: 440px;
	margin: 22px 0 0;
	color: #655e54;
	font-size: 15px;
	line-height: 1.72;
}

.rvr-home .process-focus-tabs {
	display: grid;
	gap: 12px;
	margin-top: clamp(32px, 5vw, 54px);
}

.rvr-home .process-focus-tab {
	width: 100%;
	min-height: 88px;
	padding: 15px 18px 15px 24px;

	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;

	border: 1px solid #d5c9b7;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.78);
	color: var(--ink);
	text-align: left;
	cursor: pointer;

	box-shadow: 0 10px 30px rgba(32, 24, 13, 0.035);
	transition:
		color 240ms ease,
		background-color 240ms ease,
		border-color 240ms ease,
		transform 240ms ease,
		box-shadow 240ms ease;
}

.rvr-home .process-focus-tab:hover {
	transform: translateX(4px);
	border-color: var(--gold);
	box-shadow: 0 15px 34px rgba(32, 24, 13, 0.09);
}

.rvr-home .process-focus-tab.is-active {
	color: var(--white);
	background: #12100d;
	border-color: var(--gold);
	box-shadow: 0 18px 42px rgba(20, 16, 10, 0.16);
}

.rvr-home .process-focus-tab:focus-visible {
	outline: 3px solid rgba(201, 168, 106, 0.58);
	outline-offset: 4px;
}

.rvr-home .process-focus-tab-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 5px;
}

.rvr-home .process-focus-tab-copy small {
	color: #87672f;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
}

.rvr-home .process-focus-tab.is-active .process-focus-tab-copy small {
	color: var(--gold-light);
}

.rvr-home .process-focus-tab-copy strong {
	font-size: clamp(19px, 2vw, 25px);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.rvr-home .process-focus-tab-arrow {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #eee6d8;
	color: #735729;
	font-size: 18px;
	transition: transform 240ms ease, background-color 240ms ease, color 240ms ease;
}

.rvr-home .process-focus-tab.is-active .process-focus-tab-arrow {
	background: var(--gold);
	color: #0c0b09;
}

.rvr-home .process-focus-tab:hover .process-focus-tab-arrow,
.rvr-home .process-focus-tab.is-active .process-focus-tab-arrow {
	transform: translateX(3px);
}

.rvr-home .process-focus-stage {
	position: relative;
	min-width: 0;
	min-height: 650px;
	display: grid;
	overflow: hidden;

	border: 1px solid rgba(201, 168, 106, 0.75);
	border-radius: 28px;
	background:
		radial-gradient(circle at 88% 8%, rgba(201, 168, 106, 0.16), transparent 34%),
		linear-gradient(145deg, #090909 0%, #11100e 100%);
	color: var(--white);
	box-shadow: 0 28px 70px rgba(38, 29, 15, 0.16);
}

.rvr-home .process-focus-stage::before {
	content: "";
	position: absolute;
	top: -210px;
	right: -105px;
	width: 520px;
	height: 520px;
	border: 1px solid rgba(201, 168, 106, 0.12);
	border-radius: 50%;
	box-shadow:
		0 0 0 70px rgba(201, 168, 106, 0.025),
		0 0 0 140px rgba(201, 168, 106, 0.018);
	pointer-events: none;
}

.rvr-home .process-focus-panel {
	position: relative;
	z-index: 1;
	grid-area: 1 / 1;
	min-width: 0;
	min-height: 650px;
	padding: clamp(42px, 5vw, 70px);

	display: flex;
	flex-direction: column;
	align-items: flex-start;

	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(14px);
	transition:
		opacity 260ms ease,
		transform 440ms cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0s linear 440ms;
}

.rvr-home .process-focus-panel.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	transition-delay: 70ms, 70ms, 0s;
}

.rvr-home .process-focus-panel-copy {
	position: relative;
	z-index: 2;
	width: min(100%, 680px);
}

.rvr-home .process-focus-kicker {
	margin: 0;
	color: var(--gold-light);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.rvr-home .process-focus-panel h3 {
	max-width: 12ch;
	margin: 24px 0 0;
	color: var(--white);
	font-size: clamp(32px, 5vw, 37px);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.052em;
}

.rvr-home .process-focus-lead {
	max-width: 640px;
	margin: 27px 0 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: clamp(15px, 1.6vw, 18px);
	line-height: 1.72;
}

.rvr-home .process-focus-details {
	width: min(100%, 680px);
	margin-top: 34px;
	padding-top: 27px;
	border-top: 1px solid rgba(201, 168, 106, 0.30);
}

.rvr-home .process-focus-details > strong {
	display: block;
	margin-bottom: 20px;
	color: var(--gold-light);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.rvr-home .process-focus-details ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.rvr-home .process-focus-details li {
	position: relative;
	padding-left: 25px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 14px;
	line-height: 1.55;
}

.rvr-home .process-focus-details li::before {
	content: "✓";
	position: absolute;
	top: 0;
	left: 0;
	color: var(--gold-light);
	font-weight: 700;
}

.rvr-home .process-focus-cta {
	position: relative;
	z-index: 3;
	width: min(100%, 390px);
	min-height: 64px;
	margin-top: auto;
	padding: 10px 11px 10px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border: 1px solid var(--gold);
	border-radius: 999px;
	background: var(--gold);
	color: #0b0b0a;
	font-size: 13px;
	font-weight: 700;
	transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.rvr-home .process-focus-cta > span:last-child {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #0b0b0a;
	color: var(--gold-light);
	font-size: 18px;
	transition: transform 220ms ease;
}

.rvr-home .process-focus-cta:hover {
	transform: translateY(-3px);
	background: var(--gold-light);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.rvr-home .process-focus-cta:hover > span:last-child {
	transform: translateX(3px);
}

.rvr-home .process-focus-cta:focus-visible {
	outline: 3px solid var(--gold-light);
	outline-offset: 4px;
}

.rvr-home .process-focus-watermark {
	position: absolute;
	right: clamp(25px, 4vw, 56px);
	bottom: clamp(22px, 3vw, 42px);
	z-index: 0;
	color: rgba(235, 228, 215, 0.14);
	font-size: clamp(75px, 9vw, 126px);
	font-weight: 600;
	line-height: 0.8;
	letter-spacing: -0.07em;
	pointer-events: none;
}

@media (max-width: 1050px) {
	.rvr-home .process-focus {
		grid-template-columns: minmax(275px, 0.82fr) minmax(0, 1.18fr);
		gap: 30px;
	}

	.rvr-home .process-focus-stage,
	.rvr-home .process-focus-panel {
		min-height: 620px;
	}

	.rvr-home .process-focus-panel {
		padding: 42px 36px;
	}
}

@media (max-width: 860px) {
	.rvr-home .process-focus {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.rvr-home .process-focus-intro > h2 {
		max-width: 13ch;
	}

	.rvr-home .process-focus-description {
		max-width: 620px;
	}

	.rvr-home .process-focus-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 32px;
	}

	.rvr-home .process-focus-stage,
	.rvr-home .process-focus-panel {
		min-height: 590px;
	}
}

@media (max-width: 650px) {
	.rvr-home .home-process {
		padding-block: 58px;
	}

	.rvr-home .process-focus {
		gap: 26px;
	}

	.rvr-home .process-focus-intro > .eyebrow {
		margin-bottom: 14px;
	}

	.rvr-home .process-focus-intro > h2 {
		max-width: 11ch;
		font-size: clamp(38px, 11.6vw, 49px);
		line-height: 1;
	}

	.rvr-home .process-focus-description {
		margin-top: 18px;
		font-size: 14px;
	}

	.rvr-home .process-focus-tabs {
		grid-template-columns: 1fr;
		gap: 9px;
		margin-top: 26px;
	}

	.rvr-home .process-focus-tab {
		min-height: 72px;
		padding: 12px 13px 12px 18px;
		border-radius: 14px;
	}

	.rvr-home .process-focus-tab-copy {
		gap: 3px;
	}

	.rvr-home .process-focus-tab-copy strong {
		font-size: 20px;
	}

	.rvr-home .process-focus-tab-arrow {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.rvr-home .process-focus-stage {
		min-height: 555px;
		border-radius: 20px;
	}

	.rvr-home .process-focus-stage::before {
		top: -170px;
		right: -150px;
		width: 400px;
		height: 400px;
	}

	.rvr-home .process-focus-panel {
		min-height: 555px;
		padding: 30px 22px 24px;
	}

	.rvr-home .process-focus-kicker {
		max-width: calc(100% - 68px);
		font-size: 9px;
	}

	.rvr-home .process-focus-panel h3 {
		margin-top: 20px;
		font-size: clamp(36px, 11vw, 48px);
	}

	.rvr-home .process-focus-lead {
		margin-top: 21px;
		font-size: 14px;
		line-height: 1.62;
	}

	.rvr-home .process-focus-details {
		margin-top: 24px;
		padding-top: 21px;
	}

	.rvr-home .process-focus-details > strong {
		margin-bottom: 15px;
		font-size: 9px;
	}

	.rvr-home .process-focus-details ul {
		gap: 10px;
	}

	.rvr-home .process-focus-details li {
		padding-left: 22px;
		font-size: 12px;
	}

	.rvr-home .process-focus-cta {
		width: 100%;
		min-height: 58px;
		padding-left: 18px;
		font-size: 11px;
	}

	.rvr-home .process-focus-cta > span:last-child {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.rvr-home .process-focus-watermark {
		top: 24px;
		right: 22px;
		bottom: auto;
		font-size: 58px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rvr-home .process-focus-tab,
	.rvr-home .process-focus-tab-arrow,
	.rvr-home .process-focus-panel,
	.rvr-home .process-focus-cta,
	.rvr-home .process-focus-cta > span:last-child {
		transition: none !important;
	}
}

/* ==================================================
   VERKLEINDE HEADER TIJDENS SCROLLEN
   ================================================== */

.site-header {
	transition:
		background-color 0.35s ease,
		box-shadow 0.35s ease;
}

.site-header .nav-wrap {
	transition:
		min-height 0.4s ease,
		padding 0.4s ease,
		gap 0.4s ease;
}

.site-header .brand-logo {
	overflow: hidden;
	opacity: 1;
	transform: translateY(0) scale(1);
	transition:
		width 0.4s ease,
		max-width 0.4s ease,
		flex-basis 0.4s ease,
		opacity 0.25s ease,
		transform 0.4s ease,
		visibility 0s linear 0s;
}

/* Eventuele intakeknop vloeiend verbergen */
.site-header .header-cta,
.site-header .nav-wrap > .button-small {
	max-width: 320px;
	overflow: hidden;
	opacity: 1;
	transition:
		max-width 0.35s ease,
		min-width 0.35s ease,
		padding 0.35s ease,
		opacity 0.2s ease,
		transform 0.35s ease;
}

/* Compacte header */
.site-header.is-compact {
	background: rgba(5, 5, 5, 0.98);
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

.site-header.is-compact .nav-wrap {
	min-height: 64px;
	padding-top: 8px;
	padding-bottom: 8px;
	justify-content: center;
}

.site-header {
	--compact-logo-width: 72px;
}

/* Logo verkleinen tijdens scrollen */
.site-header.is-compact .brand-logo {
	width: var(--compact-logo-width) !important;
	max-width: var(--compact-logo-width) !important;
	flex: 0 0 var(--compact-logo-width) !important;
	margin: 0 !important;

	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.site-header.is-compact .brand-logo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 52px;
	object-fit: contain;
}

/* Menu in het midden plaatsen */
.site-header.is-compact .desktop-nav {
	margin-left: auto;
	margin-right: auto;
}

/* Intakeknop verbergen: alleen het menu blijft over */
.site-header.is-compact .header-cta,
.site-header.is-compact .nav-wrap > .button-small {
	min-width: 0;
	max-width: 0;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
	border-width: 0;
	opacity: 0;
	pointer-events: none;
	transform: translateX(15px);
}

/* Mobiel: alleen de hamburgerknop behouden */
@media (max-width: 750px) {
	.site-header.is-compact .nav-wrap {
		min-height: 56px;
		padding-top: 6px;
		padding-bottom: 6px;
		justify-content: flex-end;
	}

	.site-header.is-compact .mobile-menu {
		margin-left: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-header,
	.site-header .nav-wrap,
	.site-header .brand-logo,
	.site-header .header-cta,
	.site-header .nav-wrap > .button-small {
		transition: none !important;
	}
}
/* ==================================================
   AUTOPLAY CAROUSEL – SAFARI / EDGE FIX
   ================================================== */

.service-grid-five.rvr-auto-track {
	scroll-behavior: auto !important;
	scroll-snap-type: none !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

.service-grid-five.rvr-auto-track > .service-card {
	scroll-snap-align: none !important;
	scroll-snap-stop: normal !important;
}

/* ==================================================
   AUTOPLAY CAROUSEL – SAFARI / EDGE FIX
   ================================================== */

.service-grid-five.rvr-auto-track {
	scroll-behavior: auto !important;
	scroll-snap-type: none !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

.service-grid-five.rvr-auto-track > .service-card {
	scroll-snap-align: none !important;
	scroll-snap-stop: normal !important;
}