/*
 * Homepage motion and interaction layer.
 * Progressive by design: all content is visible before JavaScript runs.
 */

:root {
  --rv-motion-fast: 160ms;
  --rv-motion-standard: 380ms;
  --rv-motion-complex: 720ms;
  --rv-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rv-m2-charcoal: #121716;
  --rv-m2-forest: #244b44;
  --rv-m2-mint: #dce9e4;
  --rv-m2-warm: #fff7f1;
  --rv-m2-border: rgba(21, 21, 21, 0.13);
}

.rv-m2-motion-section {
  position: relative;
  isolation: isolate;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-motion-section > * {
  transition:
    opacity var(--rv-motion-standard) var(--rv-motion-ease),
    transform var(--rv-motion-standard) var(--rv-motion-ease);
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-motion-section[data-rv-motion-state="pending"] > * {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-motion-section[data-rv-motion-state="visible"] > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.rv-m2-hero {
  min-height: clamp(650px, 80vh, 760px) !important;
  overflow: hidden;
}

.rv-m2-hero::before {
  z-index: 1;
  background:
    radial-gradient(circle at 80% 28%, rgba(38, 95, 83, 0.36), transparent 35%),
    linear-gradient(90deg, rgba(8, 12, 11, 0.96) 0%, rgba(8, 12, 11, 0.84) 48%, rgba(8, 12, 11, 0.45) 100%),
    linear-gradient(0deg, rgba(8, 12, 11, 0.8) 0%, transparent 45%);
  pointer-events: none;
}

.rv-m2-hero::after {
  z-index: 3;
}

.rv-m2-hero .wp-block-cover__background {
  opacity: 0.16 !important;
}

.rv-m2-hero__picture {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.rv-m2-hero__picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-m2-hero .wp-block-cover__inner-container {
  width: min(calc(100% - 40px), var(--rv-max));
  margin-inline: auto;
}

.rv-m2-hero__inner,
.wp-block-columns.rv-m2-hero__inner {
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr) !important;
  align-items: center !important;
  gap: clamp(38px, 6vw, 84px) !important;
  width: 100%;
}

.rv-m2-hero h1 {
  max-width: 880px !important;
  text-wrap: balance;
}

.rv-m2-hero .hero__copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
}

.rv-m2-hero .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rv-m2-hero-map {
  position: relative;
  display: grid;
  gap: 0;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.rv-m2-hero-map::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--rv-copper), #ffd0b8 52%, var(--rv-sage));
  content: "";
}

.rv-m2-hero-map span {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  min-height: 64px;
  padding: 8px 0;
  color: var(--rv-white);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 850;
}

.rv-m2-hero-map span:not(:last-of-type)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 42px;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  content: "";
}

.rv-m2-hero-map b {
  color: #ffb28e;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.rv-m2-hero-map small {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.rv-m2-proof-section {
  padding-block: clamp(24px, 3vw, 38px) !important;
  border-bottom: 1px solid var(--rv-m2-border);
}

.rv-m2-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.rv-m2-proof__item {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 10px clamp(20px, 3vw, 38px);
  gap: 8px;
}

.rv-m2-proof__item:first-child {
  padding-left: 0;
}

.rv-m2-proof__item:not(:last-child) {
  border-right: 1px solid var(--rv-m2-border);
}

.rv-m2-proof__item strong {
  color: var(--rv-ink);
  font-family: var(--rv-serif);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.1;
}

.rv-m2-proof__item span {
  max-width: 330px;
  color: rgba(21, 21, 21, 0.66);
  font-size: 13px;
  line-height: 1.55;
}

.rv-m2-path-section .section-heading,
.rv-m2-compare-section .section-heading,
.rv-m2-services-section .section-heading,
.rv-m2-area-section .section-heading,
.rv-m2-faq-section .section-heading,
.rv-m2-process-section .section-heading {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.rv-m2-paths {
  gap: clamp(16px, 2vw, 24px);
}

.rv-m2-paths .lane-choice-card {
	grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr);
	grid-template-areas:
		"eyebrow visual"
		"title visual"
		"copy copy"
		"list list"
		"action action";
	min-height: 430px;
	border-radius: 16px;
	box-shadow: 0 18px 50px rgba(15, 20, 18, 0.08);
}

.rv-m2-paths .lane-choice-card__eyebrow {
	grid-area: eyebrow;
}

.rv-m2-paths .lane-choice-card > strong {
	grid-area: title;
	align-self: end;
}

.rv-m2-paths .lane-choice-card > p {
	grid-area: copy;
}

.rv-m2-paths .lane-choice-card > ul {
	grid-area: list;
}

.rv-m2-paths .lane-choice-card__action {
	display: flex;
	grid-area: action;
	align-items: center;
	justify-content: space-between;
	justify-self: stretch;
	min-height: 56px;
	padding: 15px 18px;
	border: 1px solid #a33f18;
	border-radius: 12px;
	background: #a33f18;
	box-shadow: 0 10px 24px rgba(163, 63, 24, 0.2);
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.rv-m2-paths .lane-choice-card__action > span:last-child {
	font-size: 22px;
	line-height: 1;
	transition: transform 160ms ease;
}

.rv-m2-paths .lane-choice-card--commercial .lane-choice-card__action {
	border-color: #315d55;
	background: #315d55;
	box-shadow: 0 10px 24px rgba(49, 93, 85, 0.2);
}

.rv-m2-paths .lane-choice-card:hover .lane-choice-card__action > span:last-child,
.rv-m2-paths .lane-choice-card:focus-visible .lane-choice-card__action > span:last-child {
	transform: translateX(4px);
}

.rv-m2-paths .lane-choice-card__visual {
	position: relative;
	z-index: 1;
	display: grid;
	grid-area: visual;
	align-self: start;
	justify-self: end;
	width: min(100%, 190px);
	min-width: 150px;
	padding: 12px 12px 10px;
	border: 1px solid rgba(21, 21, 21, 0.11);
	border-radius: 13px;
	background:
		linear-gradient(rgba(49, 93, 85, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(49, 93, 85, 0.055) 1px, transparent 1px),
		linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(237, 243, 240, 0.9));
	background-size: 18px 18px, 18px 18px, auto;
	box-shadow: 0 12px 28px rgba(18, 31, 27, 0.08);
}

.rv-m2-paths .lane-choice-card__visual svg {
	display: block;
	width: 100%;
	height: auto;
}

.rv-m2-paths .lane-choice-card__visual > span {
	color: rgba(21, 21, 21, 0.58);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-align: right;
	text-transform: uppercase;
}

.lane-choice-card__visual-surface {
	fill: rgba(255, 255, 255, 0.68);
	stroke: rgba(21, 21, 21, 0.09);
	stroke-width: 2;
}

.lane-choice-card__visual-line,
.lane-choice-card__visual-detail {
	fill: none;
	stroke: var(--rv-sage);
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lane-choice-card__visual-line {
	stroke-width: 4;
}

.lane-choice-card__visual-detail {
	stroke: rgba(49, 93, 85, 0.46);
	stroke-width: 3;
}

.lane-choice-card__visual-accent {
	fill: rgba(255, 90, 20, 0.16);
	stroke: var(--rv-copper);
	stroke-width: 3;
}

.lane-choice-card__visual--commercial .lane-choice-card__visual-accent {
	fill: rgba(49, 93, 85, 0.15);
	stroke: var(--rv-sage);
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-path-section[data-rv-motion-state="pending"] .lane-choice-card__visual-line {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-path-section[data-rv-motion-state="visible"] .lane-choice-card__visual-line {
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 900ms var(--rv-motion-ease) 220ms;
}

.rv-m2-paths .lane-choice-card::after {
  position: absolute;
  right: -56px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border: 34px solid rgba(255, 90, 20, 0.075);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.rv-m2-paths .lane-choice-card--commercial::after {
  border-color: rgba(55, 94, 87, 0.09);
}

.rv-m2-paths .lane-choice-card:hover,
.rv-m2-paths .lane-choice-card:focus-visible {
  transform: translateY(-4px);
}

.rv-m2-media-copy,
.wp-block-columns.rv-m2-media-copy,
.rv-m2-contact-grid,
.wp-block-columns.rv-m2-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
}

.rv-m2-story-section.section--dark {
	position: relative;
	overflow: clip;
	background:
		radial-gradient(circle at 92% 5%, rgba(76, 137, 125, 0.23), transparent 34rem),
		linear-gradient(135deg, #10100f 0%, #191b19 58%, #1f3934 100%);
}

.rv-m2-story-section.section--dark::before {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 72px 72px;
	content: "";
	pointer-events: none;
}

.rv-m2-story-section > .rv-container {
	position: relative;
	z-index: 1;
}

.rv-m2-story-heading {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
	gap: 28px clamp(48px, 8vw, 118px);
	align-items: end;
	margin-bottom: clamp(34px, 5vw, 62px);
}

.rv-m2-story-heading__title,
.rv-m2-story-heading__copy {
	display: grid;
	gap: 16px;
}

.rv-m2-story-heading .eyebrow,
.rv-m2-story-heading h2 {
	color: var(--rv-white);
}

.rv-m2-story-heading h2 {
	max-width: 760px;
	margin: 0;
	font-family: var(--rv-serif);
	font-size: clamp(40px, 5.2vw, 68px);
	line-height: 0.98;
	text-wrap: balance;
}

.rv-m2-story-heading__copy > p {
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: clamp(16px, 1.6vw, 19px);
	line-height: 1.65;
}

.rv-m2-story-heading__copy .check-list {
	margin: 2px 0 0;
}

.rv-m2-story-heading__copy .check-list li {
	color: rgba(255, 255, 255, 0.84);
}

.rv-m2-story {
	display: grid;
	grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
	grid-template-areas:
		"tabs panels"
		"tabs controls";
	gap: 0 18px;
	padding: clamp(14px, 2vw, 22px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.07);
	box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
	backdrop-filter: blur(12px);
}

.rv-m2-story__tabs {
	display: grid;
	grid-area: tabs;
	align-content: stretch;
	gap: 8px;
}

.rv-m2-story__tabs button {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-height: 68px;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	background: rgba(8, 12, 11, 0.2);
	color: rgba(255, 255, 255, 0.68);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background var(--rv-motion-fast) ease, border-color var(--rv-motion-fast) ease, color var(--rv-motion-fast) ease, transform var(--rv-motion-fast) ease;
}

.rv-m2-story__tabs button > span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-size: 10px;
	font-weight: 900;
}

.rv-m2-story__tabs button > strong {
	font-size: 13px;
	line-height: 1.25;
}

.rv-m2-story__tabs button[aria-selected="true"] {
	border-color: rgba(255, 137, 83, 0.68);
	background: linear-gradient(135deg, rgba(255, 90, 20, 0.18), rgba(255, 255, 255, 0.08));
	color: var(--rv-white);
	transform: translateX(4px);
}

.rv-m2-story__tabs button[aria-selected="true"] > span {
	border-color: var(--rv-copper-dark);
	background: var(--rv-copper-dark);
}

.rv-m2-story__panels {
	grid-area: panels;
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	background: linear-gradient(145deg, #f9faf8, #e9f0ed);
}

.rv-m2-story__panels > article[hidden] {
	display: none !important;
}

.rv-m2-story__panels > article {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.68fr);
	min-height: 390px;
}

.rv-m2-story__visual {
	display: grid;
	place-items: center;
	min-width: 0;
	padding: clamp(18px, 3vw, 34px);
	background:
		linear-gradient(rgba(49, 93, 85, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(49, 93, 85, 0.055) 1px, transparent 1px);
	background-size: 28px 28px;
}

.rv-m2-story__visual svg {
	display: block;
	width: min(100%, 640px);
	height: auto;
}

.rv-m2-story__paper {
	fill: rgba(255, 255, 255, 0.88);
	stroke: rgba(32, 63, 57, 0.17);
	stroke-width: 2;
}

.rv-m2-story__surface {
	fill: rgba(49, 93, 85, 0.1);
	stroke: rgba(49, 93, 85, 0.2);
	stroke-width: 2;
}

.rv-m2-story__draw,
.rv-m2-story__detail,
.rv-m2-story__accent {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rv-m2-story__draw {
	stroke: var(--rv-sage);
	stroke-width: 5;
}

.rv-m2-story__detail {
	stroke: rgba(49, 93, 85, 0.42);
	stroke-width: 3;
}

.rv-m2-story__accent {
	stroke: var(--rv-copper);
	stroke-width: 5;
}

.rv-m2-story__pulse {
	fill: rgba(255, 90, 20, 0.14);
	stroke: var(--rv-copper);
	stroke-width: 3;
}

.rv-m2-story__copy {
	display: grid;
	align-content: center;
	gap: 14px;
	padding: clamp(28px, 4vw, 48px);
	border-left: 1px solid rgba(49, 93, 85, 0.16);
	background: rgba(255, 255, 255, 0.76);
}

.rv-m2-story__copy > span {
	color: #a33f18 !important;
	font-size: 11px;
	font-weight: 950;
	letter-spacing: 0.12em;
}

.rv-m2-story-section .rv-m2-story__copy h3 {
	margin: 0;
	color: var(--rv-ink) !important;
	font-family: var(--rv-serif);
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 1;
	text-wrap: balance;
}

.rv-m2-story__copy p {
	margin: 0;
	color: rgba(21, 21, 21, 0.76) !important;
	font-size: 15px;
	line-height: 1.65;
}

.rv-m2-story__controls {
	display: grid;
	grid-template-columns: auto auto minmax(120px, 1fr) auto;
	grid-area: controls;
	align-items: center;
	gap: 10px;
	padding: 14px 4px 0;
}

.rv-m2-story__controls button {
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(8, 12, 11, 0.38);
	color: var(--rv-white);
	font: inherit;
	font-size: 12px;
	font-weight: 900;
	cursor: pointer;
}

.rv-m2-story__controls .rv-m2-story__play {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-color: var(--rv-copper-dark);
	background: var(--rv-copper-dark);
}

.rv-m2-story__play[aria-pressed="true"] > span {
	font-size: 0;
}

.rv-m2-story__play[aria-pressed="true"] > span::before {
	content: "Ⅱ";
	font-size: 11px;
}

.rv-m2-story__controls > span {
	color: rgba(255, 255, 255, 0.65);
	font-size: 11px;
	font-weight: 800;
	text-align: center;
}

.rv-m2-story__controls button:hover {
	border-color: rgba(255, 151, 103, 0.9);
	transform: translateY(-1px);
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-story__panels > article:not([hidden]) {
	animation: rv-m2-story-enter 420ms var(--rv-motion-ease) both;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-story__panels > article:not([hidden]) .rv-m2-story__draw {
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
	animation: rv-m2-story-draw 900ms var(--rv-motion-ease) both 120ms;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-story__panels > article:not([hidden]) .rv-m2-story__pulse {
	animation: rv-m2-story-pulse 760ms var(--rv-motion-ease) both 560ms;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-story__panels > article:not([hidden]) .rv-m2-story__pulse--delay {
	animation-delay: 720ms;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-story__panels > article:not([hidden]) .rv-m2-story__pulse--late {
	animation-delay: 860ms;
}

@keyframes rv-m2-story-enter {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes rv-m2-story-draw {
	from { stroke-dashoffset: 1; }
	to { stroke-dashoffset: 0; }
}

@keyframes rv-m2-story-pulse {
	from { opacity: 0; transform: scale(0.72); transform-origin: center; }
	to { opacity: 1; transform: scale(1); transform-origin: center; }
}

.rv-m2-process-section h2 {
  color: var(--rv-white);
}

.rv-m2-disclosure {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
  line-height: 1.6;
}

.rv-m2-disclosure strong {
  color: rgba(255, 255, 255, 0.92);
}

.rv-m2-compare {
  display: grid;
  gap: 18px;
}

.rv-m2-compare__tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  justify-self: center;
  width: min(100%, 620px);
  padding: 6px;
  border: 1px solid var(--rv-m2-border);
  border-radius: 999px;
  background: #eeece7;
}

.rv-m2-compare__tabs button,
.rv-m2-compare__controls button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(21, 21, 21, 0.7);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition:
    background var(--rv-motion-fast) ease,
    color var(--rv-motion-fast) ease,
    transform var(--rv-motion-fast) ease;
}

.rv-m2-compare__tabs button[aria-selected="true"] {
  background: var(--rv-m2-charcoal);
  color: var(--rv-white);
  box-shadow: 0 8px 20px rgba(15, 20, 18, 0.16);
}

.rv-m2-compare__stage {
  overflow: hidden;
  border: 1px solid var(--rv-m2-border);
  border-radius: 20px;
  background: var(--rv-m2-charcoal);
  box-shadow: 0 30px 80px rgba(17, 25, 22, 0.14);
}

.rv-m2-compare__stage [role="tabpanel"][hidden] {
  display: none !important;
}

.rv-m2-compare__stage figure {
  position: relative;
  display: grid;
  min-height: 0;
  margin: 0;
}

.rv-m2-compare__image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 8.4;
  overflow: hidden;
}

.rv-m2-compare__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-m2-compare__image::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.rv-m2-compare__image--before img {
  filter: saturate(0.82) brightness(0.93) contrast(1.03);
}

.rv-m2-compare__image--before::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
}

.rv-m2-compare__image--during img {
  filter: saturate(0.9) brightness(0.96) contrast(1.02);
}

.rv-m2-compare__image--during::after {
	background: radial-gradient(circle at 74% 28%, rgba(255, 198, 151, 0.1), transparent 23%);
}

.rv-m2-compare__image--after img {
  filter: saturate(1.04) contrast(1.02);
}

.rv-m2-compare__stage figcaption {
  display: grid;
  grid-template-columns: minmax(210px, 0.58fr) minmax(0, 1.42fr);
  align-items: center;
  gap: 24px;
  min-height: 110px;
  padding: 22px clamp(22px, 4vw, 42px);
  background: var(--rv-m2-charcoal);
  color: rgba(255, 255, 255, 0.74);
}

.rv-m2-compare__stage figcaption strong {
  color: var(--rv-white);
  font-family: var(--rv-serif);
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.12;
}

.rv-m2-compare__stage figcaption span {
  font-size: 14px;
  line-height: 1.65;
}

.rv-m2-compare__controls {
  display: grid;
  grid-template-columns: minmax(130px, auto) minmax(180px, 1fr) minmax(130px, auto);
  align-items: center;
  gap: 12px;
}

.rv-m2-compare__controls button {
  padding-inline: 18px;
  border: 1px solid var(--rv-m2-border);
  background: var(--rv-white);
  color: var(--rv-ink);
}

.rv-m2-compare__controls button:hover {
  border-color: var(--rv-copper);
  color: var(--rv-copper-dark);
  transform: translateY(-1px);
}

.rv-m2-compare__controls span {
  color: rgba(21, 21, 21, 0.64);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.rv-m2-compare > .rv-m2-disclosure {
  max-width: 900px;
  margin-inline: auto;
  color: rgba(21, 21, 21, 0.62);
  text-align: center;
}

.rv-m2-compare > .rv-m2-disclosure strong {
  color: var(--rv-ink);
}

.rv-m2-services-section.rv-layout-service-showcase .service-grid:not(.related-grid):not(.related-post-grid) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rv-m2-services-section .service-card {
  overflow: hidden;
  border: 1px solid var(--rv-m2-border);
  border-radius: 14px;
  background: var(--rv-white);
  box-shadow: 0 16px 44px rgba(15, 20, 18, 0.075);
  transition:
    border-color var(--rv-motion-fast) ease,
    box-shadow var(--rv-motion-fast) ease,
    transform var(--rv-motion-fast) ease;
}

.rv-m2-services-section .service-card:hover {
  border-color: rgba(255, 90, 20, 0.42);
  box-shadow: 0 24px 54px rgba(15, 20, 18, 0.13);
  transform: translateY(-3px);
}

.rv-m2-process {
  margin: 0;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.rv-m2-process svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.rv-m2-process__track,
.rv-m2-process__progress {
  fill: none;
  stroke-linecap: round;
  stroke-width: 9;
}

.rv-m2-process__track {
  stroke: rgba(255, 255, 255, 0.14);
}

.rv-m2-process__progress {
  stroke: var(--rv-copper);
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.rv-m2-process__node {
  opacity: 1;
}

.rv-m2-process__node circle {
  fill: var(--rv-m2-forest);
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 3;
}

.rv-m2-process__node text {
  fill: var(--rv-white);
  font-size: 19px;
  font-weight: 900;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-process-section[data-rv-motion-state="pending"] .rv-m2-process__progress {
  stroke-dashoffset: 1;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-process-section[data-rv-motion-state="visible"] .rv-m2-process__progress {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset var(--rv-motion-complex) var(--rv-motion-ease) 80ms;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-process-section[data-rv-motion-state="pending"] .rv-m2-process__node {
  opacity: 0;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-process-section[data-rv-motion-state="visible"] .rv-m2-process__node {
  opacity: 1;
  transition: opacity var(--rv-motion-fast) ease;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-process-section[data-rv-motion-state="visible"] .rv-m2-process__node--1 {
  transition-delay: 160ms;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-process-section[data-rv-motion-state="visible"] .rv-m2-process__node--2 {
  transition-delay: 280ms;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-process-section[data-rv-motion-state="visible"] .rv-m2-process__node--3 {
  transition-delay: 400ms;
}

html.rv-motion-enhanced:not(.rv-reduced-motion) .rv-m2-process-section[data-rv-motion-state="visible"] .rv-m2-process__node--4 {
  transition-delay: 520ms;
}

.rv-m2-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin: -6px 0 0;
  padding: 0;
  list-style: none;
}

.rv-m2-process__steps li {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.rv-m2-process__steps strong {
  color: var(--rv-white);
  font-size: 16px;
}

.rv-m2-process__steps span,
.rv-m2-process figcaption {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 1.55;
}

.rv-m2-process figcaption {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rv-m2-area-section .city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.rv-m2-area-section .city-grid li {
  min-width: 0;
}

.rv-m2-area-section .city-grid a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--rv-m2-border);
  border-radius: 8px;
  background: var(--rv-white);
  color: var(--rv-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.rv-m2-area-section .city-grid a:hover {
  border-color: rgba(255, 90, 20, 0.48);
  color: var(--rv-copper-dark);
}

.rv-m2-faq-section .faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rv-m2-faq-section .faq-item {
  border-radius: 10px;
}

.rv-m2-contact-section {
  padding-bottom: max(clamp(72px, 8vw, 108px), calc(78px + env(safe-area-inset-bottom, 0px))) !important;
}

.rv-m2-contact-grid,
.wp-block-columns.rv-m2-contact-grid {
  grid-template-columns: minmax(0, 0.74fr) minmax(380px, 1fr);
  align-items: start;
}

.rv-m2-contact-grid > .wp-block-column:first-child {
  position: sticky;
  top: calc(var(--rv-header-height) + 28px);
}

.rv-m2-contact-grid h2 {
  margin: 0;
  font-family: var(--rv-serif);
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.02;
  text-wrap: balance;
}

.rv-m2-contact-grid .estimate-column {
  min-width: 0;
}

.rv-m2-contact-grid .lead-card {
  box-shadow: 0 28px 70px rgba(15, 20, 18, 0.13);
}

.rv-m2-story button:focus-visible,
.rv-m2-compare button:focus-visible,
.rv-m2-area-section a:focus-visible {
  outline: 3px solid #ff8a52;
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .rv-m2-hero__inner,
  .wp-block-columns.rv-m2-hero__inner,
  .rv-m2-media-copy,
  .wp-block-columns.rv-m2-media-copy,
  .rv-m2-contact-grid,
  .wp-block-columns.rv-m2-contact-grid {
    grid-template-columns: 1fr !important;
  }

  .rv-m2-hero__map-column {
    width: min(100%, 720px);
  }

	.rv-m2-media-copy {
		gap: 36px;
	}

	.rv-m2-story-heading {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.rv-m2-story {
		grid-template-columns: 1fr;
		grid-template-areas:
			"tabs"
			"panels"
			"controls";
		gap: 14px;
	}

	.rv-m2-story__tabs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.rv-m2-story__tabs button {
		grid-template-columns: 1fr;
		justify-items: center;
		min-height: 88px;
		text-align: center;
	}

	.rv-m2-story__tabs button[aria-selected="true"] {
		transform: translateY(-3px);
	}

  .rv-m2-services-section.rv-layout-service-showcase .service-grid:not(.related-grid):not(.related-post-grid),
  .rv-m2-area-section .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rv-m2-contact-grid > .wp-block-column:first-child {
    position: static;
  }
}

@media (max-width: 768px) {
  .rv-m2-hero {
    min-height: 0 !important;
  }

  .rv-m2-hero .wp-block-cover__inner-container {
    width: min(calc(100% - 32px), var(--rv-max));
  }

  .rv-m2-hero h1 {
    font-size: clamp(42px, 11vw, 58px) !important;
    line-height: 0.98 !important;
  }

  .rv-m2-proof {
    grid-template-columns: 1fr;
  }

  .rv-m2-proof__item,
  .rv-m2-proof__item:first-child {
    padding: 18px 0;
  }

  .rv-m2-proof__item:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--rv-m2-border);
  }

  /* Keep the consultation explanation before the form. The shared compact
     split layout otherwise moves every estimate column ahead of its context. */
  .rv-m2-contact-grid.split > .estimate-column {
    order: 0;
  }

	.rv-m2-compare__image {
		aspect-ratio: 4 / 3;
	}

	.rv-m2-story__panels > article {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.rv-m2-story__visual {
		min-height: 280px;
	}

	.rv-m2-story__copy {
		border-top: 1px solid rgba(49, 93, 85, 0.16);
		border-left: 0;
	}

  .rv-m2-compare__stage figcaption {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rv-m2-process {
    padding: 26px 20px;
  }

  .rv-m2-process svg {
    display: none;
  }

  .rv-m2-process__steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
    counter-reset: rv-m2-step;
  }

  .rv-m2-process__steps li {
    position: relative;
    min-height: 74px;
    padding: 4px 0 22px 54px;
    counter-increment: rv-m2-step;
  }

  .rv-m2-process__steps li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: var(--rv-m2-forest);
    color: var(--rv-white);
    content: counter(rv-m2-step);
    font-size: 13px;
    font-weight: 900;
  }

  .rv-m2-process__steps li:not(:last-child)::after {
    position: absolute;
    top: 36px;
    bottom: 0;
    left: 17px;
    width: 2px;
    background: rgba(255, 90, 20, 0.7);
    content: "";
  }

  .rv-m2-faq-section .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .rv-m2-hero .hero__actions,
  .rv-m2-hero .hero__actions .wp-block-button,
  .rv-m2-hero .hero__actions .wp-block-button__link {
    width: 100%;
  }

  .rv-m2-hero .hero__actions .wp-block-button__link {
    justify-content: center;
  }

  .rv-m2-hero-map {
    padding: 20px;
  }

  .rv-m2-paths,
  .rv-m2-area-section .city-grid {
    grid-template-columns: 1fr;
  }

  /* The shared service-showcase pattern becomes a horizontal carousel on
     small screens. M2 intentionally keeps this short six-card set in the
     ordinary document flow so every service is visible without an unlabeled
     swipe interaction. */
  .rv-m2-services-section.rv-layout-service-showcase .service-grid:not(.related-grid):not(.related-post-grid) {
    grid-template-columns: 1fr;
    grid-auto-columns: auto;
    grid-auto-flow: row;
    padding: 0;
    overflow-x: visible;
    overscroll-behavior-inline: auto;
    scroll-padding-inline: 0;
    scroll-snap-type: none;
    scrollbar-width: auto;
  }

  .rv-m2-services-section.rv-layout-service-showcase .service-card {
    scroll-snap-align: none;
  }

	.rv-m2-paths .lane-choice-card {
		grid-template-columns: 1fr;
		grid-template-areas:
			"eyebrow"
			"visual"
			"title"
			"copy"
			"list"
			"action";
		min-height: 0;
	}

	.rv-m2-paths .lane-choice-card__visual {
		justify-self: stretch;
		width: 100%;
		max-height: 170px;
		overflow: hidden;
	}

	.rv-m2-paths .lane-choice-card__visual svg {
		width: min(100%, 260px);
		margin-inline: auto;
	}

	.rv-m2-story {
		padding: 10px;
		border-radius: 16px;
	}

	.rv-m2-story__tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rv-m2-story__tabs button {
		grid-template-columns: 32px minmax(0, 1fr);
		justify-items: start;
		min-height: 62px;
		padding: 9px;
		text-align: left;
	}

	.rv-m2-story__tabs button > span {
		width: 30px;
		height: 30px;
	}

	.rv-m2-story__tabs button > strong {
		font-size: 11px;
	}

	.rv-m2-story__visual {
		min-height: 230px;
		padding: 10px;
	}

	.rv-m2-story__copy {
		padding: 26px 22px;
	}

	.rv-m2-story__controls {
		grid-template-columns: 1fr 1fr;
	}

	.rv-m2-story__controls > span {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.rv-m2-story__controls > button:last-child {
		grid-column: 2;
	}

	.rv-m2-story__controls .rv-m2-story__play {
		grid-column: 1 / -1;
		grid-row: 3;
		justify-content: center;
  }
  .rv-m2-compare__tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 14px;
  }

  .rv-m2-compare__tabs button {
    min-width: 0;
    padding-inline: 5px;
    border-radius: 10px;
  }

  .rv-m2-compare__controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rv-m2-compare__controls span {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 28px;
  }

  .rv-m2-contact-grid,
  .wp-block-columns.rv-m2-contact-grid {
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .rv-m2-hero .wp-block-cover__inner-container {
    width: min(calc(100% - 24px), var(--rv-max));
  }

  .rv-m2-hero-map span {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 56px;
    font-size: 14px;
  }

  .rv-m2-hero-map span:not(:last-of-type)::after {
    left: 34px;
  }
  .rv-m2-compare__tabs button,
  .rv-m2-compare__controls button {
    font-size: 12px;
  }
}

html.rv-reduced-motion .rv-m2-motion-section > *,
html.rv-reduced-motion .rv-m2-process__progress,
html.rv-reduced-motion .rv-m2-process__node,
html.rv-reduced-motion .rv-m2-story *,
html.rv-reduced-motion .rv-m2-compare button,
html.rv-reduced-motion .rv-m2-services-section .service-card,
html.rv-reduced-motion .rv-m2-paths .lane-choice-card {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html.rv-reduced-motion .rv-m2-process__progress {
  stroke-dashoffset: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .rv-m2-motion-section > *,
  .rv-m2-process__progress,
  .rv-m2-process__node,
	.rv-m2-story *,
  .rv-m2-compare button,
  .rv-m2-services-section .service-card,
  .rv-m2-paths .lane-choice-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .rv-m2-process__progress {
    stroke-dashoffset: 0 !important;
  }
}
