:root {
	--rvn-background: #f8fafc;
	--rvn-foreground: #0f172a;
	--rvn-accent-300: #67e8f9;
	--rvn-accent-500: #06b6d4;
	--rvn-accent-600: #0891b2;
	--rvn-accent-50: #ecfeff;
	--rvn-slate-200: #e2e8f0;
	--rvn-slate-500: #64748b;
	--rvn-slate-600: #475569;
	--rvn-slate-700: #334155;
	--rvn-accent-surface-border: #334155;
	--rvn-hero-width: 80%;
	--rvn-hero-content-width: 77.67%;
	--rvn-hero-media-width: 22.33%;
	--rvn-hero-gradient: linear-gradient(155deg, #0f172a 0%, #111827 58%, #1e293b 100%);
}

body {
	background-color: var(--rvn-background);
	color: var(--rvn-foreground);
}

html {
	background-color: var(--rvn-background);
}

.wp-site-blocks,
main.wp-block-group {
	background-color: var(--rvn-background);
}

.rvn-hero,
.accent-surface {
	background: var(--rvn-hero-gradient);
	border: 1px solid var(--rvn-accent-surface-border);
	border-radius: 1.5rem;
	margin-left: auto;
	margin-right: auto;
	max-width: none;
	padding: 2rem;
	width: var(--rvn-hero-width);
}

.rvn-hero.is-layout-constrained > .rvn-hero__columns,
.rvn-hero.is-layout-constrained > .wp-block-columns,
.rvn-hero > .rvn-hero__columns,
.rvn-hero > .wp-block-columns {
	margin-inline: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

.rvn-hero__columns {
	align-items: flex-start;
	gap: 2rem;
	margin: 0;
	width: 100%;
}

.rvn-hero__content {
	box-sizing: border-box;
	flex: 1 1 var(--rvn-hero-content-width);
	max-width: var(--rvn-hero-content-width);
	padding-left: 10%;
	padding-right: 1rem;
	text-align: left;
	width: var(--rvn-hero-content-width);
}

.rvn-hero__content .rvn-hero__eyebrow,
.rvn-hero__content .rvn-hero__title,
.rvn-hero__content .rvn-hero__lead {
	margin-inline: 0;
	max-width: none;
	width: 100%;
}

.rvn-hero__media {
	align-self: flex-start;
	flex: 1 1 var(--rvn-hero-media-width);
	max-width: var(--rvn-hero-media-width);
	width: var(--rvn-hero-media-width);
}

.rvn-hero__linkedin {
	margin: 0.75rem 0 0;
	text-align: center;
}

.rvn-hero__linkedin-link {
	align-items: center;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(103, 232, 249, 0.45);
	border-radius: 9999px;
	color: var(--rvn-accent-300);
	display: inline-flex;
	height: 2.5rem;
	justify-content: center;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	width: 2.5rem;
}

.rvn-hero__linkedin-link:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: var(--rvn-accent-300);
	color: #ffffff;
	transform: translateY(-1px);
}

.rvn-hero__linkedin-icon {
	display: block;
	filter: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(746%) hue-rotate(141deg) brightness(101%) contrast(101%);
	height: 1.25rem;
	width: 1.25rem;
}

@media (min-width: 782px) {

	.rvn-hero,
	.accent-surface {
		padding: 3rem;
	}
}

.rvn-hero__eyebrow {
	color: var(--rvn-accent-300);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin: 0 0 1rem;
	max-width: none;
	text-transform: uppercase;
}

.rvn-hero__eyebrow strong {
	color: var(--rvn-accent-300);
	font-weight: 700;
}

.rvn-hero__title {
	color: #ffffff;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 1.5rem;
	max-width: none;
}

.rvn-hero__lead {
	color: var(--rvn-slate-200);
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.75;
	margin: 0;
	max-width: none;
}

.rvn-hero__cta {
	margin-top: 2rem;
}

.rvn-hero__cta .wp-block-button__link {
	background-color: var(--rvn-accent-600);
	border: none;
	border-radius: 9999px;
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.rvn-hero__cta .wp-block-button__link:hover {
	background-color: var(--rvn-accent-500);
	color: #ffffff;
}

.rvn-featured-projects {
	background: transparent;
	margin-inline: auto;
	margin-top: clamp(2.5rem, 5vw, 5rem);
	max-width: none;
	padding: 0;
	width: var(--rvn-hero-width);
}

.rvn-featured-projects__title {
	color: var(--rvn-foreground);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.rvn-testimonials {
	margin-inline: auto;
	margin-top: clamp(2.5rem, 5vw, 5rem);
	max-width: none;
	padding: 0;
	text-align: center;
	width: 50%;
}

.rvn-testimonials__title {
	color: var(--rvn-foreground);
	font-size: 48px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.rvn-testimonials__subtitle {
	color: var(--rvn-slate-600);
	font-size: 1.125rem;
	line-height: 1.75;
	margin: 0.75rem 0 0;
}

.rvn-beyond-work {
	margin-inline: auto;
	margin-top: clamp(2.5rem, 5vw, 5rem);
	max-width: none;
	padding: 0;
	text-align: left;
	width: var(--rvn-hero-width);
}

.rvn-beyond-work__title {
	color: var(--rvn-foreground);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
	text-align: left;
}

.rvn-beyond-work__subtitle {
	color: var(--rvn-slate-600);
	font-size: 1.125rem;
	line-height: 1.75;
	margin: 0;
}

.rvn-beyond-work__intro {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 0.75rem;
}

.rvn-beyond-work__arrow-link {
	align-items: center;
	border: 1px solid var(--rvn-slate-200);
	border-radius: 9999px;
	color: var(--rvn-accent-600);
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 0.875rem;
	font-weight: 600;
	gap: 0.5rem;
	height: 2.75rem;
	justify-content: center;
	padding: 0 1.25rem;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rvn-beyond-work__arrow-link:hover {
	background-color: var(--rvn-accent-600);
	border-color: var(--rvn-accent-600);
	color: #ffffff;
	transform: translateX(4px);
}

.rvn-beyond-work__arrow-label {
	line-height: 1;
}

.rvn-beyond-work__arrow {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1;
}

.rvn-beyond-work-layout {
	align-items: stretch;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	margin-top: 2rem;
	width: 100%;
}

.rvn-beyond-work-grid {
	display: grid;
	gap: 1.25rem;
	grid-column: 1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
}

.rvn-beyond-work__item {
	min-width: 0;
}

.rvn-beyond-work__flip {
	cursor: pointer;
	height: 100%;
	min-height: 14rem;
	perspective: 1000px;
	width: 100%;
}

.rvn-beyond-work__flip-inner {
	height: 100%;
	min-height: 14rem;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
	width: 100%;
}

.rvn-beyond-work__flip:hover .rvn-beyond-work__flip-inner {
	transform: rotateY(180deg);
}

.rvn-beyond-work__face {
	backface-visibility: hidden;
	border-radius: 1rem;
	height: 100%;
	inset: 0;
	overflow: hidden;
	position: absolute;
	width: 100%;
}

.rvn-beyond-work__face--back {
	transform: rotateY(180deg);
}

.rvn-beyond-work__photo,
.rvn-beyond-work__video {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.rvn-beyond-work__tagline {
	background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.82) 100%);
	bottom: 0;
	box-sizing: border-box;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 600;
	left: 0;
	line-height: 1.4;
	margin: 0;
	padding: 2.5rem 1rem 1rem;
	position: absolute;
	right: 0;
}

.rvn-beyond-work__content {
	background: #ffffff;
	border: 1px solid var(--rvn-slate-200);
	border-radius: 1rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	min-height: 14rem;
	padding: 1.25rem;
}

.rvn-beyond-work__item-title {
	color: var(--rvn-foreground);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
}

.rvn-beyond-work__description {
	color: var(--rvn-slate-600);
	font-size: 0.875rem;
	line-height: 1.6;
	margin: 0.625rem 0 0;
}

@media (prefers-reduced-motion: reduce) {

	.rvn-beyond-work__flip-inner {
		transition: none;
	}
}

.rvn-testimonials-carousel {
	align-items: center;
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
	width: 100%;
}

.rvn-testimonials-carousel__viewport {
	display: grid;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
}

.rvn-testimonials-carousel__control {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--rvn-accent-600);
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	justify-content: center;
	padding: 0;
	transition: color 0.2s ease;
}

.rvn-testimonials-carousel__control:hover {
	color: var(--rvn-accent-500);
}

.rvn-testimonials-carousel__chevron {
	color: inherit;
	font-size: 5.625rem;
	font-weight: 600;
	line-height: 1;
	margin: 0;
}

.rvn-testimonials-carousel__quote {
	border: 0;
	color: var(--rvn-slate-700);
	font-size: 1.125rem;
	grid-area: 1 / 1;
	line-height: 1.75;
	margin: 0;
	opacity: 0;
	padding: 0;
	transition: opacity 0.6s ease;
}

.rvn-testimonials-carousel__quote p {
	margin: 0;
}

.rvn-testimonials-carousel__quote.is-active {
	opacity: 1;
}

.rvn-project-grid,
.rvn-project-grid.wp-block-columns {
	align-items: stretch;
	gap: 1.25rem;
	margin-inline: 0 !important;
	margin-top: 1.5rem;
	max-width: none !important;
	width: 100%;
}

.rvn-project-grid--dynamic {
	align-items: stretch;
	display: grid;
	grid-auto-rows: 1fr;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rvn-project-grid--dynamic .rvn-project-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.rvn-project-grid__column,
.rvn-project-grid .wp-block-column {
	display: flex;
	flex-direction: column;
}

.rvn-project-grid .rvn-project-card {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: 100%;
	width: 100%;
}

.rvn-project-card {
	background: #ffffff;
	border: 1px solid var(--rvn-slate-200);
	border-radius: 1rem;
	box-sizing: border-box;
	padding: 1.25rem;
}

.rvn-project-card__category {
	color: var(--rvn-slate-500);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin: 0;
	text-transform: uppercase;
}

.rvn-project-card__title {
	color: var(--rvn-foreground);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
	margin: 0.5rem 0 0;
}

.rvn-project-card__summary {
	color: var(--rvn-slate-600);
	font-size: 0.875rem;
	line-height: 1.5;
	margin: 0.75rem 0 0;
}

.rvn-project-card__outcome {
	color: #334155;
	font-size: 0.875rem;
	line-height: 1.5;
	margin: 0.75rem 0 0;
}

.rvn-project-card__outcome strong {
	font-weight: 600;
}

.rvn-project-card__link {
	margin: 0;
	margin-top: auto;
	padding-top: 1rem;
}

.rvn-project-card__link a {
	color: var(--rvn-foreground);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.rvn-project-card__link a:hover {
	color: var(--rvn-slate-600);
}

.rvn-projects-page {
	margin-inline: auto;
	max-width: none;
	width: 100%;
}

.rvn-projects-page__intro {
	color: var(--rvn-slate-600);
	font-size: 1.125rem;
	line-height: 1.75;
	margin: 1rem 0 0;
	max-width: 48rem;
}

.rvn-project-grid--portfolio {
	align-items: stretch;
	display: grid;
	grid-auto-rows: 1fr;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 2.5rem;
}

.rvn-project-grid--portfolio .rvn-project-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.rvn-project-card--portfolio {
	padding: 1.5rem;
}

.rvn-project-card__featured {
	color: var(--rvn-slate-500);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin: 0.75rem 0 0;
	text-transform: uppercase;
}

@media (max-width: 781px) {

	.rvn-testimonials {
		width: 100%;
	}

	.rvn-project-grid--dynamic {
		grid-template-columns: 1fr;
	}

	.rvn-project-grid--portfolio {
		grid-template-columns: 1fr;
	}
}

.rvn-cv {
	margin-inline: auto;
	margin-top: clamp(2.5rem, 5vw, 5rem);
	max-width: none;
	padding: 0;
	width: var(--rvn-hero-width);
}

.rvn-cv__title {
	color: var(--rvn-foreground);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.rvn-cv__cta {
	margin: 3.75rem 0 0;
	text-align: center;
}

.rvn-cv__cta-link {
	background-color: var(--rvn-accent-600);
	border-radius: 9999px;
	color: #ffffff;
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.rvn-cv__cta-link:hover {
	background-color: var(--rvn-accent-500);
	color: #ffffff;
}

.rvn-cv-timeline {
	margin-top: 2rem;
	position: relative;
}

.rvn-cv-timeline__track {
	background: linear-gradient(
		90deg,
		var(--rvn-accent-600) 0%,
		var(--rvn-accent-500) 50%,
		var(--rvn-accent-300) 100%
	);
	border-radius: 9999px;
	height: 3px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0.6875rem;
	z-index: 0;
}

.rvn-cv-timeline__items {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 1;
}

.rvn-cv-timeline__item {
	display: flex;
	flex-direction: column;
}

.rvn-cv-timeline__marker {
	background: #ffffff;
	border: 3px solid var(--rvn-accent-600);
	border-radius: 9999px;
	box-shadow: 0 0 0 6px var(--rvn-accent-50);
	flex-shrink: 0;
	height: 1rem;
	margin-inline: auto;
	width: 1rem;
}

.rvn-cv-timeline__flip {
	background: transparent;
	border: 0;
	cursor: pointer;
	flex: 1 1 auto;
	margin-top: 1.25rem;
	min-height: 11.5rem;
	padding: 0;
	perspective: 1000px;
	text-align: left;
	width: 100%;
}

.rvn-cv-timeline__flip:focus-visible {
	outline: 2px solid var(--rvn-accent-500);
	outline-offset: 4px;
}

.rvn-cv-timeline__flip-inner {
	display: block;
	height: 100%;
	min-height: 11.5rem;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
	width: 100%;
}

.rvn-cv-timeline__flip:hover .rvn-cv-timeline__flip-inner,
.rvn-cv-timeline__flip.is-flipped .rvn-cv-timeline__flip-inner {
	transform: rotateY(180deg);
}

.rvn-cv-timeline__face {
	backface-visibility: hidden;
	border-radius: 1rem;
	height: 100%;
	inset: 0;
	overflow: hidden;
	position: absolute;
	width: 100%;
}

.rvn-cv-timeline__face--back {
	transform: rotateY(180deg);
}

.rvn-cv-timeline__photo {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.rvn-cv-timeline__card {
	background: #ffffff;
	border: 1px solid var(--rvn-slate-200);
	border-radius: 1rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 11.5rem;
	padding: 1.25rem;
	position: relative;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.rvn-cv-timeline__tap-icon {
	color: var(--rvn-accent-600);
	height: 1.375rem;
	opacity: 0.9;
	position: absolute;
	right: 1rem;
	top: 1rem;
	width: 1.375rem;
}

.rvn-cv-timeline__tap-icon svg {
	display: block;
	height: 100%;
	width: 100%;
}

.rvn-cv-timeline__flip:hover .rvn-cv-timeline__card,
.rvn-cv-timeline__flip:focus-visible .rvn-cv-timeline__card {
	border-color: var(--rvn-accent-500);
	box-shadow: 0 16px 40px rgba(8, 145, 178, 0.16);
	transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {

	.rvn-cv-timeline__flip-inner {
		transition: none;
	}
}

.rvn-cv-timeline__period {
	color: var(--rvn-accent-600);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0;
	text-transform: uppercase;
}

.rvn-cv-timeline__title {
	color: var(--rvn-foreground);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	margin: 0.5rem 0 0;
}

.rvn-cv-timeline__description {
	color: var(--rvn-slate-600);
	font-size: 0.875rem;
	line-height: 1.6;
	margin: 0.625rem 0 0;
}

@media (max-width: 781px) {

	.rvn-cv-timeline {
		margin-top: 1.5rem;
	}

	.rvn-cv-timeline__track {
		display: none;
	}

	.rvn-cv-timeline__items {
		display: flex;
		gap: 1rem;
		overflow-x: auto;
		padding-bottom: 0.5rem;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.rvn-cv-timeline__item {
		flex: 0 0 82%;
		scroll-snap-align: start;
	}

	.rvn-cv-timeline__marker {
		margin-inline: 0;
	}

	.rvn-beyond-work-layout {
		grid-template-columns: 1fr;
	}

	.rvn-beyond-work-grid {
		grid-column: auto;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.rvn-hero__image {
	margin: 0;
}

.rvn-hero__image img {
	aspect-ratio: 4 / 5;
	border-radius: 1rem;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 781px) {

	.rvn-hero__columns {
		flex-direction: column;
	}

	.rvn-hero__content,
	.rvn-hero__media {
		flex-basis: 100% !important;
		max-width: 100%;
	}

	.rvn-hero__content {
		padding-left: 0;
	}
}
