/* Rastify homepage motion and interactive surfaces. Content is visible without JS. */
:root {
	--rg-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--rg-motion-ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
	--rg-ease-editorial: cubic-bezier(0.19, 1.0, 0.22, 1.0);
	--rg-ease-tactile: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	--rg-duration-micro: 180ms;
	--rg-duration-tactile: 320ms;
	--rg-duration-reveal: 850ms;
	--rg-duration-curtain: 1100ms;
	--rg-contact-z: 30;
}

/* Global Header Interactive Underline & CTA */
.rg-header .wp-block-navigation-item a {
	position: relative;
	transition: color var(--rg-duration-micro) ease;
}

.rg-header .wp-block-navigation-item a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--wp--preset--color--red, #C30012);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 260ms var(--rg-motion-ease);
}

.rg-header .wp-block-navigation-item a:hover::after,
.rg-header .wp-block-navigation-item a:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
}

.rg-header .wp-block-button .wp-block-button__link {
	transition: transform 200ms var(--rg-motion-ease), box-shadow 200ms var(--rg-motion-ease), background 200ms ease;
}

.rg-header .wp-block-button .wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(195, 0, 18, 0.4);
}

/* Global Text Links Micro-Interaction */
.rg-text-link a {
	display: inline-block;
	transition: transform 240ms var(--rg-motion-ease), color 200ms ease;
}

.rg-text-link a:hover,
.rg-text-link a:focus-visible {
	transform: translateX(4px);
	color: var(--wp--preset--color--red, #C30012) !important;
}

html,
body {
	overflow-x: clip;
}

.wp-site-blocks {
	overflow-x: clip;
}

.rg-line {
	display: block;
}

.rg-home-hero__title {
	white-space: normal;
}

.rg-reveal,
.rg-reveal-stagger > *,
.rg-reveal-image img {
	opacity: 1;
	transform: none;
}

.has-rg-motion .rg-reveal {
	opacity: 0;
	transform: translateY(45px) scale(0.97);
	transition: opacity 800ms var(--rg-motion-ease), transform 900ms var(--rg-motion-ease);
	will-change: opacity, transform;
}

.has-rg-motion .rg-reveal-left {
	transform: translateX(-28px);
}

.has-rg-motion .rg-reveal-right {
	transform: translateX(28px);
}

.has-rg-motion .rg-reveal.is-in-view {
	opacity: 1;
	transform: translate(0, 0);
}

.has-rg-motion .rg-reveal-stagger > * {
	opacity: 0;
	transform: translateY(35px) scale(0.98);
	transition: opacity 750ms var(--rg-motion-ease), transform 850ms var(--rg-motion-ease);
	transition-delay: calc(var(--rg-stagger-index, 0) * 90ms);
	will-change: opacity, transform;
}

.has-rg-motion .rg-reveal-stagger.is-in-view > * {
	opacity: 1;
	transform: translateY(0);
}

.has-rg-motion .rg-reveal-image {
	overflow: hidden;
}

.has-rg-motion .rg-reveal-image img {
	transform: scale(1.045);
	transition: transform 1200ms var(--rg-motion-ease-soft), filter 450ms ease-out;
}

.has-rg-motion .rg-reveal-image.is-in-view img,
.has-rg-motion .is-in-view .rg-reveal-image img {
	transform: scale(1);
}

.rg-home-hero .rg-reveal,
.rg-home-hero .rg-reveal-stagger > * {
	opacity: 1;
	transform: none;
}

.has-rg-motion .rg-home-hero .rg-reveal {
	animation: rg-hero-copy 850ms var(--rg-motion-ease) both;
}

.has-rg-motion .rg-home-hero .rg-reveal:nth-child(3) {
	animation-delay: 140ms;
}

.has-rg-motion .rg-home-hero .rg-reveal:nth-child(4) {
	animation-delay: 240ms;
}

.has-rg-motion .rg-home-hero .wp-block-buttons.rg-reveal {
	animation-delay: 340ms;
}

.has-rg-motion .rg-home-hero__title .rg-line {
	animation: rg-hero-line 900ms var(--rg-motion-ease) both;
}

.has-rg-motion .rg-home-hero__title .rg-line + .rg-line {
	animation-delay: 100ms;
}

@keyframes rg-hero-copy {
	from {
		opacity: 0.72;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes rg-hero-line {
	from {
		opacity: 0.72;
		clip-path: inset(0 0 100% 0);
		transform: translateY(0.18em);
	}
	to {
		opacity: 1;
		clip-path: inset(0 0 0 0);
		transform: translateY(0);
	}
}

/* Hero CTA Button micro-interactions */
.rg-home-hero .wp-block-button__link {
	transition: transform 240ms var(--rg-motion-ease), box-shadow 240ms var(--rg-motion-ease), background-color 200ms ease, border-color 200ms ease;
}

.rg-home-hero .wp-block-button:not(.is-style-rg-ghost) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(195, 0, 18, 0.45);
}

.rg-home-hero .wp-block-button.is-style-rg-ghost .wp-block-button__link:hover {
	transform: translateY(-2px);
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
}

/* Verified stats & Purpose section (matching screenshot i.png) */
.rg-stats {
	padding-block: clamp(3.5rem, 6vw, 5.5rem);
	background: linear-gradient(180deg, #111111 0%, #000000 100%), #111111;
	border-top: 1px solid rgba(195, 0, 18, 0.2);
	border-bottom: 1px solid rgba(195, 0, 18, 0.2);
	color: #ffffff;
	position: relative;
	overflow: hidden;
}

.rg-stats::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -20%;
	width: 80%;
	height: 200%;
	background: radial-gradient(circle, rgba(195, 0, 18, 0.1) 0%, transparent 60%);
	pointer-events: none;
}

.rg-stats-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	position: relative;
	z-index: 1;
}

.rg-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.rg-stat {
	min-width: 0;
	padding: 1.5rem 1.75rem;
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	margin: 0;
	transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.rg-stat:hover {
	background: rgba(195, 0, 18, 0.1);
	border-color: rgba(195, 0, 18, 0.4);
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.rg-stat__number {
	margin: 0 0 0.6rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2.2rem, 3.8vw, 3.2rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #C30012;
}

.rg-stat__label {
	margin: 0;
	max-width: 18ch;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.rg-stats-purpose h2 {
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
	color: #ffffff;
	margin: 0 0 1.25rem;
}

.rg-stats-purpose .rg-lede {
	color: #c0d1df;
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	line-height: 1.65;
	margin: 0 0 2rem;
	max-width: 48ch;
}

.rg-stats-purpose .wp-block-button__link {
	background: rgba(103, 140, 168, 0.35);
	color: #ffffff;
	border: 1px solid rgba(103, 140, 168, 0.5);
	padding: 0.85rem 1.75rem;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.rg-stats-purpose .wp-block-button__link:hover {
	background: #678CA8;
	color: #09253A;
	border-color: #678CA8;
}

/* Certificates, payment and shipping */
.rg-credentials {
	padding-block: clamp(3.5rem, 7vw, 6rem);
	background:
		linear-gradient(180deg, #050505, #0d0d0d 42%, #050505),
		#050505;
	overflow: clip;
}

.rg-credentials__header {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.7fr);
	align-items: end;
	gap: clamp(1.5rem, 4vw, 4rem);
	margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.rg-credentials__header h2 {
	max-width: 18ch;
	margin: 0;
	font-size: clamp(2.2rem, 4.8vw, 5rem);
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.rg-credentials {
	padding: 0;
	margin: 0;
}

.rg-credentials__top-black {
	background: #000000;
	padding: clamp(3rem, 5vw, 5rem) 0 2rem;
}

.rg-credentials__header-box {
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 12px;
	padding: clamp(1rem, 2vw, 1.5rem);
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
}

.rg-credentials__header-box h2 {
	color: #ffffff;
	margin: 0 0 0.5rem 0;
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.rg-credentials__header-box .rg-lede {
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.rg-credential-marquee {
	width: 100%;
	padding-block: 2rem;
	background: #ffffff;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	overflow: hidden;
	position: relative;
	display: flex;
}

.rg-credential-marquee::before,
.rg-credential-marquee::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 120px;
	z-index: 2;
	pointer-events: none;
}

.rg-credential-marquee::before {
	left: 0;
	background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}

.rg-credential-marquee::after {
	right: 0;
	background: linear-gradient(270deg, #ffffff 0%, transparent 100%);
}

.rg-credential-track {
	display: flex;
	width: max-content;
	gap: 3rem;
	align-items: center;
	margin: 0;
	padding-inline: 1rem;
	animation: rg-marquee 30s linear infinite;
}

.rg-credential-marquee:hover .rg-credential-track {
	animation-play-state: paused;
}

.rg-credential-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	height: 70px;
	margin: 0;
	padding: 0 10px;
	background: #ffffff;
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.rg-credential-badge:hover {
	transform: translateY(-3px) scale(1.03);
	border-color: #C30012;
}

.rg-credential-badge img {
	max-height: 52px;
	max-width: 130px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	mix-blend-mode: multiply;
}

.rg-credentials__bottom-black {
	background: #000000;
	padding: 2rem 0 clamp(4rem, 6vw, 6rem);
}

.rg-logistics-grouped {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
}

.rg-logistics-box {
	border: 1px solid #C30012;
	border-radius: 8px;
	padding: 2.5rem 1rem 1.5rem;
	flex: 1 1 400px;
	position: relative;
	margin-top: 1rem;
}

.rg-logistics-box-title {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #000000;
	padding: 0 1rem;
	margin: 0;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	color: #ffffff;
	white-space: nowrap;
	max-width: calc(100% - 2rem);
	text-align: center;
}

@media (max-width: 480px) {
	.rg-logistics-box-title {
		font-size: 0.75rem;
		padding: 0 0.5rem;
		white-space: normal;
		width: max-content;
		max-width: calc(100% - 1rem);
	}
}

.rg-logistics-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	align-items: center;
}

.rg-logistics-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	background: #ffffff;
	border-radius: 6px;
	width: 65px;
	height: 44px;
}

.rg-logistics-badge img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.rg-badge-card {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border-radius: 6px;
	padding: 0.5rem 0.85rem;
	height: 60px;
	min-width: 110px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.rg-badge-card:hover {
	transform: translateY(-3px);
	border-color: #C30012;
	box-shadow: 0 6px 20px rgba(195, 0, 18, 0.3);
}

.rg-badge-card img {
	max-height: 42px;
	max-width: 100px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.rg-logistics-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(1rem, 3vw, 1.5rem);
}

.rg-logistics-card {
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid #3a3a3a;
	background: #0f0f0f;
}

.rg-logistics-card h3 {
	margin: 0 0 1.2rem;
	color: #fff;
	font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.rg-logo-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0;
}

.rg-logo-row p {
	margin: 0;
	padding: 0.75rem 0.95rem;
	min-height: 3.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #2f2f2f;
	background: #fff;
	color: #101010 !important;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.86rem;
	font-weight: 700;
}

@keyframes rg-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@keyframes rg-marquee-vertical {
	from { transform: translateY(0); }
	to { transform: translateY(-50%); }
}

/* Process transition band — replaces the large white separator */
.rg-process-transition-band {
	position: relative;
	padding: clamp(2rem, 3.5vw, 3rem) 0;
	background: linear-gradient(180deg, #000000 0%, #0a0a0a 40%, #111111 100%);
	text-align: center;
	overflow: hidden;
	margin: 0;
}

.rg-process-transition-band::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	width: 120px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #C30012, transparent);
	transition: transform 600ms var(--rg-motion-ease);
}

.has-rg-motion .rg-process-transition-band.is-in-view::before,
.has-rg-motion .is-in-view .rg-process-transition-band::before,
.has-rg-motion .is-in-view.rg-process-transition-band::before {
	transform: translateX(-50%) scaleX(1);
}

.rg-process-label {
	margin: 0;
}

.rg-process-label .rg-caption {
	color: #C30012;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.75rem;
	margin: 0 0 0.6rem;
}

.rg-process-label h2 {
	color: #ffffff;
	font-size: clamp(1.6rem, 2.8vw, 2.4rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	margin: 0;
}

/* Horizontal manufacturing journey */
.rg-horizontal-process {
	position: relative;
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	background: linear-gradient(180deg, #111111 0%, #0a0a0a 15%, #0a0a0a 100%);
}

.rg-process-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.9fr);
	align-items: center;
	gap: clamp(1.5rem, 4vw, 4rem);
	margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.rg-process-intro-content {
	display: flex;
	flex-direction: column;
}

.rg-process-intro-content h2 {
	max-width: 17ch;
	margin: 0 0 1rem;
	font-size: clamp(2.2rem, 4.8vw, 5.2rem);
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.rg-process-intro-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(0,0,0,0.5);
	filter: contrast(1.05);
}

.rg-process-pin {
	margin: 0;
}

.rg-process-viewport {
	position: relative;
	width: min(100% - 2 * var(--rg-gutter), 92rem);
	margin-inline: auto;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 1rem;
	scroll-snap-type: x proximity;
}

.rg-process-track {
	display: flex;
	gap: clamp(1rem, 2vw, 1.5rem);
	width: max-content;
	margin: 0;
	will-change: transform;
}

.rg-process-card {
	position: relative;
	flex: 0 0 clamp(17rem, 29vw, 27rem);
	min-height: clamp(25rem, 50vh, 32rem);
	display: grid;
	grid-template-rows: 1fr auto;
	background: #151515;
	border: 1px solid #333;
	margin: 0;
	overflow: hidden;
	scroll-snap-align: start;
	transition: border-color 260ms ease-out, transform 420ms var(--rg-motion-ease), opacity 300ms ease-out;
}

.rg-process-card__image {
	margin: 0;
	min-height: 0;
}

.rg-process-card__image img {
	width: 100%;
	height: 100%;
	min-height: 15rem;
	object-fit: cover;
	filter: saturate(0.9) contrast(1.03);
	transition: transform 900ms var(--rg-motion-ease), filter 350ms ease-out;
}

.rg-process-card__copy {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: clamp(1.25rem, 2.2vw, 2rem);
	background: linear-gradient(180deg, rgba(21, 21, 21, 0.84), #151515);
}

.rg-process-card__number {
	margin: 0 0 0.9rem;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	color: #bdbdbd;
}

.rg-process-card h3 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.55rem, 2.6vw, 2.35rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: #fff;
}

.rg-process-card p:not(.rg-process-card__number) {
	margin: 0;
	color: #cfcfcf;
	font-size: 0.95rem;
	line-height: 1.6;
}

.rg-process-card.is-active {
	border-color: #9a9a9a;
}

.rg-process-card.is-active img {
	transform: scale(1.035);
	filter: saturate(1) contrast(1.08);
}

.rg-process-meter {
	position: sticky;
	left: 0;
	top: 0;
	height: 2px;
	width: 100%;
	background: #333;
	margin: 0 0 1.25rem;
	overflow: hidden;
}

.rg-process-meter::before {
	content: "";
	display: block;
	height: 100%;
	width: calc(var(--rg-process-progress, 0) * 100%);
	background: var(--wp--preset--color--red);
}

.has-rg-motion .rg-horizontal-process {
	height: var(--rg-process-scroll-height, 320vh);
}

.has-rg-motion .rg-horizontal-process .rg-process-pin {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100svh;
	display: flex;
	align-items: center;
	padding-block: clamp(4rem, 8vh, 6rem);
}

.has-rg-motion .rg-horizontal-process .rg-process-viewport {
	overflow: hidden;
}

.has-rg-motion .rg-horizontal-process .rg-process-track {
	transform: translate3d(calc(var(--rg-process-x, 0px) * -1), 0, 0);
	transition: transform 80ms linear;
}

/* Built for Your Brand (matching screenshot e.png) */
.rg-built__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: end;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.rg-built__header .rg-caption {
	grid-column: 1 / -1;
	margin-bottom: -1rem;
}

.rg-built__header h2 {
	margin: 0;
	font-size: clamp(2.4rem, 5vw, 4.8rem);
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.rg-built-grid-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.rg-built-panel {
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: #111111;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 350ms var(--rg-motion-ease), border-color 350ms ease, box-shadow 350ms ease, opacity 350ms ease;
}

.rg-built-panel:hover {
	transform: translateY(-5px);
	border-color: rgba(195, 0, 18, 0.5);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

@media (min-width: 901px) {
	.rg-built-grid-cards:hover .rg-built-panel:not(:hover) {
		opacity: 0.72;
		transform: scale(0.99);
	}
}

.rg-built-panel__image {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.rg-built-panel__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--rg-motion-ease);
}

.rg-built-panel:hover .rg-built-panel__image img {
	transform: scale(1.045);
}

.rg-built-panel__copy {
	padding: 1.6rem 1.75rem 1.8rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.rg-built-panel h3 {
	font-size: clamp(1.3rem, 1.8vw, 1.6rem);
	font-weight: 650;
	color: #ffffff;
	margin: 0 0 0.6rem;
	letter-spacing: -0.02em;
}

.rg-built-panel p {
	font-size: 0.9375rem;
	color: #c0c0c0;
	line-height: 1.6;
	margin: 0;
}

.rg-text-marquee {
	width: 100%;
	margin-top: clamp(3rem, 5vw, 4rem);
	padding-block: 1rem;
	overflow: hidden;
	position: relative;
	display: flex;
}

.rg-text-marquee::before,
.rg-text-marquee::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100px;
	z-index: 2;
	pointer-events: none;
}

.rg-text-marquee::before {
	left: 0;
	background: linear-gradient(90deg, #f7f9fa 0%, transparent 100%);
}

.rg-text-marquee::after {
	right: 0;
	background: linear-gradient(270deg, #f7f9fa 0%, transparent 100%);
}

.rg-text-marquee-track {
	display: flex;
	width: max-content;
	gap: 1.5rem;
	align-items: center;
	margin: 0;
	padding-inline: 1rem;
	animation: rg-marquee 25s linear infinite;
}

.rg-text-marquee:hover .rg-text-marquee-track {
	animation-play-state: paused;
}

.rg-text-marquee p {
	margin: 0;
	padding: 0.85rem 1.75rem;
	border: 2px solid #000000;
	border-radius: 999px;
	background: transparent;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #000000;
	transition: all 0.25s ease;
	white-space: nowrap;
}

.rg-text-marquee p:hover {
	border-color: #C30012;
	background: rgba(195, 0, 18, 0.05);
	color: #C30012;
	transform: translateY(-2px);
}

.rg-text-marquee span {
	color: #C30012;
	margin-right: 0.5rem;
}

/* Custom Fabric Development (matching screenshot d.png) */
.rg-fabric-section {
	padding-block: clamp(4rem, 7vw, 6.5rem);
	background: linear-gradient(135deg, #091826 0%, #05101a 100%), #091826;
	color: #ffffff;
	border-top: 1px solid rgba(103, 140, 168, 0.15);
	border-bottom: 1px solid rgba(103, 140, 168, 0.15);
}

.rg-fabric-section .rg-fabric-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.rg-fabric-section .rg-fabric__image {
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
	display: flex;
}

.rg-fabric-section .rg-fabric__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--rg-motion-ease);
}

.rg-fabric-section .rg-fabric__image:hover img {
	transform: scale(1.035);
}

.rg-fabric-section .rg-caption {
	color: #C30012;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.rg-fabric-section h2 {
	color: #ffffff;
	font-size: clamp(2.4rem, 5vw, 4.5rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
	margin: 0 0 1.25rem;
}

.rg-fabric-section .rg-lede {
	color: #c4d4e2;
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.65;
	margin-bottom: 2rem;
}

.rg-fabric-section .rg-fabric-specs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 1.75rem;
	margin-bottom: 2.25rem;
}

.rg-fabric-section .rg-fabric-specs > div {
	padding: 0.85rem 1.1rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: transform 260ms var(--rg-motion-ease), border-color 260ms ease, background 260ms ease;
}

.rg-fabric-section .rg-fabric-specs > div:hover {
	transform: translateY(-2px);
	border-color: rgba(195, 0, 18, 0.4);
	background: rgba(255, 255, 255, 0.05);
}

.rg-fabric-section .rg-fabric-specs h3 {
	color: #ffffff;
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0 0 0.4rem;
}

.rg-fabric-section .rg-fabric-specs p {
	color: #a4b8c9;
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0;
}

.rg-fabric-section .wp-block-button__link {
	background: #C30012;
	color: #ffffff;
	border-radius: 6px;
	padding: 0.85rem 1.75rem;
	font-weight: 600;
	transition: all 0.3s ease;
}

.rg-fabric-section .wp-block-button__link:hover {
	background: #e60016;
	box-shadow: 0 8px 25px rgba(195, 0, 18, 0.4);
	transform: translateY(-2px);
}

/* Floating contact - Modern Circular FAB Stack (matches contat button.png) */
.rg-floating-contact {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 52px;
}

.rg-floating-contact__toggle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #111111;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #ffffff;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42), 0 2px 6px rgba(0, 0, 0, 0.2);
	transition: transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1), background 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
	outline: none;
	padding: 0;
	z-index: 2;
}

.rg-floating-contact__toggle:hover {
	transform: scale(1.08);
	background: #1c1c1c;
	border-color: rgba(255, 255, 255, 0.4);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.rg-floating-contact__toggle-icon {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 200ms ease;
}

.rg-floating-contact__toggle-icon svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
	display: block;
}

.rg-floating-contact__toggle-icon--chat {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

.rg-floating-contact__toggle-icon--close {
	opacity: 0;
	transform: rotate(-90deg) scale(0.5);
}

.rg-floating-contact.is-open .rg-floating-contact__toggle-icon--chat {
	opacity: 0;
	transform: rotate(90deg) scale(0.5);
}

.rg-floating-contact.is-open .rg-floating-contact__toggle-icon--close {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

.rg-floating-contact__menu {
	position: absolute;
	bottom: calc(100% + 10px);
	right: 0;
	left: 0;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 220ms ease, visibility 220ms ease;
	z-index: 1;
}

.rg-floating-contact.is-open .rg-floating-contact__menu,
.rg-floating-contact:focus-within .rg-floating-contact__menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.rg-floating-contact__item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.25);
	outline: none;
	padding: 0;
	margin: 0;
	transform: translateY(18px) scale(0.55);
	opacity: 0;
	transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 200ms ease, box-shadow 200ms ease;
}

.rg-floating-contact__item svg {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	display: block;
	transition: transform 200ms ease;
}

.rg-floating-contact__item svg:not([fill="none"]) {
	fill: currentColor;
}

.rg-floating-contact__item svg[fill="none"] {
	fill: none;
}

.rg-floating-contact.is-open .rg-floating-contact__item {
	transform: translateY(0) scale(1);
	opacity: 1;
}

/* Stagger bottom-to-top opening */
.rg-floating-contact.is-open .rg-floating-contact__item:nth-child(5) { transition-delay: 20ms; }
.rg-floating-contact.is-open .rg-floating-contact__item:nth-child(4) { transition-delay: 60ms; }
.rg-floating-contact.is-open .rg-floating-contact__item:nth-child(3) { transition-delay: 100ms; }
.rg-floating-contact.is-open .rg-floating-contact__item:nth-child(2) { transition-delay: 140ms; }
.rg-floating-contact.is-open .rg-floating-contact__item:nth-child(1) { transition-delay: 180ms; }

/* FAB Brand Colors */
/* 1. Call: Electric Green */
.rg-floating-contact__item--call {
	background: #00d664;
}
.rg-floating-contact__item--call:hover {
	transform: translateY(-2px) scale(1.12);
	background: #00ea6d;
	box-shadow: 0 8px 24px rgba(0, 214, 100, 0.6);
}

/* 2. WhatsApp: Official Green */
.rg-floating-contact__item--whatsapp {
	background: #25D366;
}
.rg-floating-contact__item--whatsapp:hover {
	transform: translateY(-2px) scale(1.12);
	background: #2ee672;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

/* 3. Instagram DM: Vibrant Gradient */
.rg-floating-contact__item--ig-dm {
	background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}
.rg-floating-contact__item--ig-dm:hover {
	transform: translateY(-2px) scale(1.12);
	box-shadow: 0 8px 24px rgba(253, 29, 29, 0.6);
}

/* 4. Instagram Profile: Signature Gradient */
.rg-floating-contact__item--instagram {
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.rg-floating-contact__item--instagram:hover {
	transform: translateY(-2px) scale(1.12);
	box-shadow: 0 8px 24px rgba(220, 39, 67, 0.6);
}

/* 5. Email: Coral Red */
.rg-floating-contact__item--email {
	background: #ff4757;
}
.rg-floating-contact__item--email:hover {
	transform: translateY(-2px) scale(1.12);
	background: #ff5e6c;
	box-shadow: 0 8px 24px rgba(255, 71, 87, 0.6);
}

.rg-floating-contact__item:hover svg {
	transform: scale(1.1);
}

/* Desktop Tooltips */
.rg-floating-contact__tooltip {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translateY(-50%) translateX(6px);
	background: rgba(14, 14, 14, 0.95);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #ffffff;
	font-family: var(--wp--preset--font-family--heading, sans-serif);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 0.35rem 0.65rem;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 160ms ease, transform 160ms ease;
}

.rg-floating-contact__tooltip::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -4px;
	transform: translateY(-50%) rotate(45deg);
	width: 6px;
	height: 6px;
	background: rgba(14, 14, 14, 0.95);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.rg-floating-contact__item:hover .rg-floating-contact__tooltip,
.rg-floating-contact__item:focus-visible .rg-floating-contact__tooltip {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

@media (max-width: 900px) {
	.rg-stats__intro,
	.rg-process-intro,
	.rg-process-intro-grid,
	.rg-credentials__header,
	.rg-built__header,
	.rg-built-grid {
		grid-template-columns: 1fr;
	}

	.rg-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rg-logistics-grid {
		grid-template-columns: 1fr;
	}

	.rg-stat:nth-child(2) {
		border-right: 0;
	}

	.rg-stat:nth-child(-n + 2) {
		border-bottom: 1px solid #333;
	}

	.rg-horizontal-process {
		overflow-x: clip;
		overflow-y: visible;
	}

	.rg-process-viewport {
		width: min(100% - 2 * var(--rg-gutter), 42rem);
		max-width: 100%;
	}

	.rg-process-track {
		display: flex;
		width: max-content;
		max-width: none;
		gap: 1rem;
	}

	.rg-process-card {
		flex: 0 0 min(calc(100vw - (2 * var(--rg-gutter))), 42rem);
		min-height: clamp(24rem, calc(100svh - 4.5rem), 34rem);
	}

	.rg-process-card__image img {
		min-height: 0;
	}

	.has-rg-motion .rg-horizontal-process .rg-process-pin {
		padding-block: clamp(1.25rem, 4svh, 2.5rem);
	}
}

@media (max-width: 900px) and (max-height: 500px) {
	.rg-process-card {
		min-height: calc(100svh - 3.5rem);
	}

	.rg-process-card__copy {
		padding: 1rem;
	}

	.rg-process-card h3 {
		font-size: 1.35rem;
	}

	.rg-process-card p:not(.rg-process-card__number) {
		font-size: 0.875rem;
		line-height: 1.45;
	}

	.has-rg-motion .rg-horizontal-process .rg-process-pin {
		padding-block: 0.75rem;
	}
}

@media (max-width: 600px) {
	.rg-stats-grid {
		grid-template-columns: 1fr;
	}

	.rg-stat,
	.rg-stat:nth-child(2) {
		border-right: 0;
		border-bottom: 1px solid #333;
	}

	.rg-stat:last-child {
		border-bottom: 0;
	}

	.rg-floating-contact {
		right: max(16px, env(safe-area-inset-right));
		bottom: max(16px, env(safe-area-inset-bottom));
		width: 48px;
	}

	.rg-floating-contact__toggle {
		width: 48px;
		height: 48px;
	}

	.rg-floating-contact__item {
		width: 44px;
		height: 44px;
	}

	.rg-floating-contact__tooltip {
		display: none;
	}

	.rg-credential-badge {
		min-width: 7rem;
		min-height: 4.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rg-reveal,
	.rg-reveal-stagger > *,
	.rg-reveal-image img,
	.rg-home-hero .rg-reveal,
	.rg-home-hero__title .rg-line,
	.rg-process-card,
	.rg-process-card__image img,
	.rg-credential-track,
	.rg-text-marquee-track,
	.rg-floating-contact__menu,
	.rg-floating-contact__item,
	.rg-cat-block,
	.rg-cat-block__image img,
	.rg-slide,
	.rg-social-icon,
	.rg-logistics-badge,
	.rg-project-guide {
		animation: none !important;
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
		clip-path: none !important;
	}

	.rg-horizontal-process,
	.has-rg-motion .rg-horizontal-process {
		min-height: 0;
	}

	.has-rg-motion .rg-horizontal-process .rg-process-pin {
		position: static;
		min-height: 0;
		display: block;
		padding-block: 0;
	}

	.has-rg-motion .rg-horizontal-process .rg-process-viewport {
		overflow: visible;
	}

	.rg-process-track,
	.has-rg-motion .rg-horizontal-process .rg-process-track {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		max-width: 100%;
		transform: none !important;
	}

	.rg-process-card {
		min-height: 0;
		width: 100%;
		max-width: 100%;
	}

	.rg-process-card__image img {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.rg-process-meter {
		display: none;
	}
}

/* Redesign of Categories Section */
.rg-categories-section {
	background: linear-gradient(180deg, #220002 0%, #0a0a0a 80%, #000000 100%);
	border-top: 1px solid rgba(195, 0, 18, 0.2);
	padding-block: clamp(4rem, 8vw, 8rem);
}

.rg-cat-zigzag {
	display: flex;
	flex-direction: column;
	gap: clamp(4rem, 8vw, 6rem);
}

@media (min-width: 901px) {
	.has-rg-motion .rg-cat-zigzag .rg-cat-block:nth-child(odd) {
		opacity: 0;
		transform: translateX(-24px);
		transition: opacity 800ms var(--rg-motion-ease), transform 900ms var(--rg-motion-ease), border-color 350ms ease, box-shadow 350ms ease;
	}
	.has-rg-motion .rg-cat-zigzag .rg-cat-block:nth-child(even) {
		opacity: 0;
		transform: translateX(24px);
		transition: opacity 800ms var(--rg-motion-ease), transform 900ms var(--rg-motion-ease), border-color 350ms ease, box-shadow 350ms ease;
	}
	.has-rg-motion .rg-cat-zigzag.is-in-view .rg-cat-block,
	.has-rg-motion .rg-cat-block.is-in-view {
		opacity: 1;
		transform: translateX(0);
	}
	.has-rg-motion .rg-cat-zigzag.is-in-view .rg-cat-block:nth-child(2) {
		transition-delay: 120ms;
	}
	.has-rg-motion .rg-cat-zigzag.is-in-view .rg-cat-block:nth-child(3) {
		transition-delay: 240ms;
	}
}

.rg-cat-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 16px;
	overflow: hidden;
	transition: transform 350ms var(--rg-motion-ease), border-color 350ms ease, box-shadow 350ms ease, background 350ms ease;
}

.rg-cat-block:nth-child(even) .rg-cat-block__image {
	order: 2;
}

.rg-cat-block:hover {
	border-color: rgba(195, 0, 18, 0.45);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65), 0 0 25px rgba(195, 0, 18, 0.12);
	transform: translateY(-5px);
}

.rg-cat-block__image {
	margin: 0;
	height: 100%;
	overflow: hidden;
}

.rg-cat-block__image img {
	width: 100%;
	height: 100%;
	min-height: 400px;
	object-fit: cover;
	display: block;
	transition: transform 700ms var(--rg-motion-ease-soft);
}

.rg-cat-block:hover .rg-cat-block__image img {
	transform: scale(1.045);
}

.rg-cat-block__content {
	padding: 3rem;
}

.rg-categories-section .rg-cat__label {
	margin: 0 0 0.5rem;
	color: #C30012;
	font-weight: 700;
	letter-spacing: 0.1em;
	font-size: 0.85rem;
	text-transform: uppercase;
}

.rg-categories-section h3 {
	color: #ffffff;
	font-size: clamp(2rem, 3vw, 2.5rem);
	margin-bottom: 1.5rem;
}

.rg-categories-section p {
	color: rgba(255, 255, 255, 0.65);
	font-size: 1.05rem;
	line-height: 1.6;
}

.rg-categories-section .rg-text-link {
	margin-top: 2rem;
}

@media (max-width: 900px) {
	.rg-cat-block {
		grid-template-columns: 1fr;
	}
	.rg-cat-block:nth-child(even) .rg-cat-block__image {
		order: -1;
	}
	.rg-cat-block__image img {
		min-height: 300px;
	}
	.rg-cat-block__content {
		padding: 2rem;
	}
}

/* Hero Slideshow */
.rg-slideshow {
	position: relative;
	width: 100%;
	height: 100%;
}

.rg-slideshow .rg-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	animation: rg-hero-fade 18s infinite;
}

.rg-slideshow .rg-slide:nth-child(1) {
	animation-delay: 0s;
}

.rg-slideshow .rg-slide:nth-child(2) {
	animation-delay: 6s;
}

.rg-slideshow .rg-slide:nth-child(3) {
	animation-delay: 12s;
}

@keyframes rg-hero-fade {
	0% { opacity: 0; transform: scale(1.04); }
	4% { opacity: 1; transform: scale(1.035); }
	33% { opacity: 1; transform: scale(1.0); }
	38% { opacity: 0; transform: scale(0.99); }
	100% { opacity: 0; transform: scale(0.99); }
}

/* Quality Section */
.rg-quality__photo {
	overflow: hidden;
	border-radius: 6px;
}

.rg-quality__photo img {
	transition: transform 800ms var(--rg-motion-ease-soft);
}

.rg-quality-grid:hover .rg-quality__photo img {
	transform: scale(1.03);
}

/* Logistics & Badges */
.rg-logistics-badge {
	border: 1px solid transparent;
	transition: transform 220ms var(--rg-motion-ease), border-color 220ms ease, box-shadow 220ms ease;
}

.rg-logistics-badge:hover {
	transform: translateY(-3px) scale(1.05);
	border-color: #C30012;
	box-shadow: 0 6px 18px rgba(195, 0, 18, 0.35);
}

/* Final CTA Section */
.rg-final {
	position: relative;
	overflow: hidden;
}

.rg-final .wp-block-button:not(.is-style-rg-ghost) .wp-block-button__link {
	transition: transform 240ms var(--rg-motion-ease), box-shadow 240ms var(--rg-motion-ease), background 200ms ease;
}

.rg-final .wp-block-button:not(.is-style-rg-ghost) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(195, 0, 18, 0.45);
	background: #e60016;
}

.rg-final .wp-block-button.is-style-rg-ghost .wp-block-button__link {
	transition: transform 240ms var(--rg-motion-ease), border-color 200ms ease, background 200ms ease;
}

.rg-final .wp-block-button.is-style-rg-ghost .wp-block-button__link:hover {
	transform: translateY(-2px);
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
}

.rg-project-guide {
	border-radius: 8px;
	transition: border-color 300ms ease, transform 300ms var(--rg-motion-ease), box-shadow 300ms ease;
}

.rg-project-guide:hover {
	border-color: rgba(195, 0, 18, 0.4);
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Global Footer Motion & Interactions */
.rg-footer-social-icons {
	display: flex;
	gap: 0.85rem;
	align-items: center;
}

.rg-social-icon {
	transition: transform 220ms var(--rg-motion-ease), box-shadow 220ms ease;
}

.rg-social-icon svg {
	transition: transform 220ms var(--rg-motion-ease);
}

.rg-footer .rg-text-link a {
	display: inline-block;
	color: #a0a0a0;
	transition: color 200ms ease, transform 200ms var(--rg-motion-ease);
}

.rg-footer .rg-text-link a:hover {
	color: #ffffff;
	transform: translateX(4px);
}
