/* =========================================================
   R&M PLAST
   Desktop stylesheet
========================================================= */

:root {
	--rm-blue: #1596f5;
	--rm-blue-dark: #0877ce;

	--rm-navy: #051522;
	--rm-navy-2: #091d2c;

	--rm-black: #101820;
	--rm-text: #273640;
	--rm-muted: #687782;

	--rm-white: #ffffff;
	--rm-light: #f7f9fb;
	--rm-cool: #f1f5f8;
	--rm-border: #dce4e9;

	--rm-container: 1390px;

	--rm-transition: 0.25s ease;
}


/* =========================================================
   GLOBAL
========================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--rm-white);
	color: var(--rm-text);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

p {
	margin-top: 0;
}

.container {
	width: min(calc(100% - 80px), var(--rm-container));
	margin-inline: auto;
}

.site-main {
	overflow: hidden;
}


/* =========================================================
   TYPOGRAPHY / SECTIONS
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	color: var(--rm-black);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.section {
	padding: 72px 0;
}

.section--white {
	background: var(--rm-white);
}

.section--cool {
	background: var(--rm-cool);
}

.section--dark {
	background: var(--rm-navy);
	color: var(--rm-white);
}

.section-eyebrow {
	margin: 0 0 15px;
	color: var(--rm-blue-dark);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.section-eyebrow--light {
	color: var(--rm-blue);
}

.section-title {
	max-width: 760px;
	margin: 0;
	font-size: clamp(36px, 3.4vw, 56px);
}

.section-title--light {
	color: var(--rm-white);
}

.section-heading {
	display: grid;
	grid-template-columns: 1.5fr 0.7fr;
	gap: 72px;
	align-items: end;
	margin-bottom: 44px;
}

.section-intro {
	max-width: 470px;
	margin: 0;
	color: var(--rm-muted);
	font-size: 17px;
	line-height: 1.55;
}

.section-footer-link {
	margin-top: 30px;
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 25px;
	border: 0;
	border-radius: 3px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition:
		background var(--rm-transition),
		transform var(--rm-transition);
}

.button:hover {
	transform: translateY(-2px);
}

.button--primary {
	background: #066be8;
	color: var(--rm-white);
}

.button--primary:hover {
	background: #075bc0;
}

.text-link {
	display: inline-flex;
	color: var(--rm-blue-dark);
	font-size: 15px;
	font-weight: 700;
	transition:
		color var(--rm-transition),
		transform var(--rm-transition);
}

.text-link:hover {
	transform: translateX(3px);
}

.text-link--light {
	color: var(--rm-blue);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
	position: relative;
	z-index: 100;
	background: rgba(250, 252, 254, 0.98);
	border-bottom: 1px solid #e5e8ea;
}

.site-header__inner {
	width: min(calc(100% - 60px), 1480px);
	height: 80px;
	margin-inline: auto;
	display: flex;
	align-items: center;
}

.site-header__brand {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.site-header__logo {
	width: 92px;
	height: 67px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-header__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(0);
	opacity: 0.72;
}

.site-header__descriptor {
	margin-left: 23px;
	padding-left: 23px;
	border-left: 1px solid #b8c0c7;
	display: flex;
	flex-direction: column;
	justify-content: center;
	white-space: nowrap;
	line-height: 1.25;
}

.site-header__descriptor strong {
	color: #1b232a;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.site-header__descriptor span {
	margin-top: 3px;
	color: #56636c;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: -0.01em;
}

.site-header__nav {
	margin-left: auto;
}

.site-header__menu {
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header__menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header__menu a {
	position: relative;
	display: flex;
	align-items: center;
	height: 80px;
	color: #0d1720;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-header__menu a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 11px;
	height: 3px;
	background: #086fec;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform var(--rm-transition);
}

.site-header__menu a:hover::after,
.site-header__menu .current-menu-item > a::after,
.site-header__menu .current_page_item > a::after {
	transform: scaleX(1);
}

.site-header__actions {
	margin-left: 28px;
	display: flex;
	align-items: center;
	gap: 22px;
}

.site-header__languages {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.site-header__languages a {
	color: #7c8891;
}

.site-header__languages a:hover,
.site-header__languages .is-active {
	color: #0877ce;
}

.site-header__languages span {
	color: #a6afb6;
}

.site-header__separator {
	width: 1px;
	height: 34px;
	background: #89939b;
}

.site-header__cta {
	min-width: 220px;
	height: 54px;
	gap: 16px;
	font-size: 14px;
}

.site-header__cta-icon {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.site-header__toggle,
.mobile-navigation {
	display: none;
}


/* =========================================================
   HERO
========================================================= */

.home-hero {
	position: relative;
	background-color: #061522;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	color: var(--rm-white);
}

.home-hero__overlay {
	position: absolute;
	inset: 0 0 auto 0;
	height: 670px;
	pointer-events: none;
	background:
		linear-gradient(
			90deg,
			rgba(5, 20, 32, 0.90) 0%,
			rgba(5, 20, 32, 0.74) 24%,
			rgba(5, 20, 32, 0.20) 51%,
			rgba(5, 20, 32, 0.02) 80%
		);
}

.home-hero__main {
	position: relative;
	z-index: 2;
	height: 600px;
	display: flex;
	align-items: center;
}

.home-hero__content {
	width: 520px;
	padding-top: 2px;
}

.home-hero__eyebrow {
	margin: 0 0 26px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.home-hero__title {
	display: flex;
	flex-direction: column;
	margin: 0 0 20px;
	color: var(--rm-white);
	font-size: clamp(54px, 4.6vw, 76px);
	font-weight: 800;
	line-height: 0.94;
	letter-spacing: -0.055em;
}

.home-hero__title span {
	display: block;
}

.home-hero__title-accent {
	color: #1999f7;
}

.home-hero__text {
	margin: 0 0 27px;
	color: rgba(255, 255, 255, 0.87);
	font-size: 17px;
	line-height: 1.35;
}

.home-hero__actions {
	display: flex;
	align-items: stretch;
	gap: 24px;
}

.home-hero__cta {
	width: 285px;
	min-height: 59px;
	padding: 0 26px;
	display: flex;
	align-items: center;
	gap: 17px;
	background: #0769ed;
	border-radius: 3px;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
}

.home-hero__cta-mail {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
}

.home-hero__cta-arrow {
	margin-left: auto;
	font-size: 27px;
}

.home-hero__quality {
	display: flex;
	align-items: center;
	gap: 20px;
}

.home-hero__quality > span {
	width: 2px;
	height: 59px;
	background: #1596f5;
}

.home-hero__quality p {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 12px;
	line-height: 1.35;
}


/* =========================================================
   HERO LABELS
========================================================= */

.home-hero__label {
	position: absolute;
	right: 0;
	display: flex;
	align-items: flex-start;
	gap: 18px;
	color: rgba(255, 255, 255, 0.87);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.home-hero__label span {
	width: 2px;
	height: 37px;
	background: #169cf7;
}

.home-hero__label p {
	margin: 0;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.38;
}

.home-hero__label--top {
	top: 47px;
}

.home-hero__label--bottom {
	right: 2px;
	bottom: 22px;
}

.home-hero__label--bottom p {
	font-size: 13px;
	font-weight: 700;
}


/* =========================================================
   TECHNOLOGY BAND
========================================================= */

.home-hero__technologies {
	position: relative;
	z-index: 3;
	margin-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(4, 18, 29, 0.94);
}

.hero-technology-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}

.hero-technology-card {
	position: relative;
	min-height: 158px;
	display: grid;
	grid-template-columns: 1fr 0.95fr;
	overflow: hidden;
	border-right: 1px solid rgba(255, 255, 255, 0.18);
	background: linear-gradient(135deg, #081b2a 0%, #081723 100%);
	transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

@media (hover: hover) and (pointer: fine) {
	.hero-technology-card:hover {
		z-index: 4;
		transform: translateY(-11px);
		border-color: rgba(21, 150, 245, 0.72);
		box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34), 0 0 24px rgba(21, 150, 245, 0.18), inset 0 3px 0 #1596f5;
	}
}

.hero-technology-card:first-child {
	border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-technology-card__content {
	position: relative;
	z-index: 2;
	height: 100%;
	padding: 16px 7px 15px 30px;
}

.hero-technology-card__icon {
	width: 37px;
	height: 37px;
	margin-bottom: 8px;
}

.hero-technology-card__icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: #149af9;
	stroke-width: 1.65;
}

.hero-technology-card__title {
	margin: 0 0 6px;
	color: #fff;
	font-size: 13px;
	line-height: 1.15;
}

.hero-technology-card__title a {
	color: #fff;
}

.hero-technology-card__text {
	max-width: 140px;
	margin: 0;
	color: rgba(255, 255, 255, 0.77);
	font-size: 10.5px;
	line-height: 1.4;
}

.hero-technology-card__arrow {
	position: absolute;
	left: 30px;
	bottom: 8px;
	color: #149af9;
	font-size: 19px;
	line-height: 1;
	transition: transform 0.32s ease, color 0.32s ease;
}

.hero-technology-card__image {
	position: relative;
}

.hero-technology-card__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			90deg,
			#081925 0%,
			rgba(8, 25, 37, 0.35) 40%,
			rgba(8, 25, 37, 0.02) 100%
		);
}

.hero-technology-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease, filter 0.45s ease;
}

@media (hover: hover) and (pointer: fine) {
	.hero-technology-card:hover .hero-technology-card__image img {
		transform: scale(1.07);
		filter: brightness(1.08);
	}

	.hero-technology-card:hover .hero-technology-card__arrow {
		transform: translateX(7px);
		color: #4db5ff;
	}
}


/* =========================================================
   HERO STATS
========================================================= */

.home-hero__stats {
	position: relative;
	z-index: 3;
	background:
		linear-gradient(
			90deg,
			rgba(5, 20, 32, 0.99),
			rgba(9, 30, 45, 0.97)
		);
}

.home-hero__stats-grid {
	min-height: 68px;
	display: grid;
	grid-template-columns: 2fr 0.8fr 1.15fr 1fr 1.45fr;
	align-items: center;
}

.home-hero__company,
.home-hero__statement {
	color: rgba(255, 255, 255, 0.54);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.home-hero__company span {
	margin: 0 13px;
	color: #4b5f6d;
}

.home-hero__stat {
	min-height: 40px;
	padding: 0 26px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.home-hero__stat strong {
	color: #169cf7;
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
}

.home-hero__stat span {
	margin-top: 5px;
	color: rgba(255, 255, 255, 0.51);
	font-size: 9px;
	font-weight: 700;
}

.home-hero__statement {
	padding-left: 38px;
	border-left: 1px solid rgba(255, 255, 255, 0.2);
}


/* =========================================================
   ABOUT
========================================================= */

.home-about {
	padding-top: 68px;
	padding-bottom: 66px;
}

.home-about__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 72px;
	align-items: center;
}

.home-about__media {
	position: relative;
	overflow: hidden;
	min-height: 535px;
	background: var(--rm-cool);
}

.home-about__media::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 110px;
	height: 5px;
	background: var(--rm-blue);
}

.home-about__media img {
	width: 100%;
	height: 100%;
	min-height: 535px;
	object-fit: cover;
}

.home-about__content {
	max-width: 630px;
	transform: translateY(-6px);
}

.home-about__content .section-title {
	max-width: 650px;
	margin-bottom: 22px;
	font-size: clamp(35px, 3.1vw, 52px);
}

.home-about__content > p:not(.section-eyebrow) {
	margin-bottom: 13px;
	color: var(--rm-muted);
	font-size: 16px;
	line-height: 1.5;
}

.capabilities-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 24px 0 25px;
	padding: 0;
	border-top: 1px solid var(--rm-border);
	list-style: none;
}

.capabilities-list li {
	position: relative;
	padding: 11px 10px 11px 22px;
	border-bottom: 1px solid var(--rm-border);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.capabilities-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 17px;
	width: 8px;
	height: 2px;
	background: var(--rm-blue);
}


/* =========================================================
   REFERENCES
========================================================= */

.home-references {
	padding-top: 68px;
	padding-bottom: 66px;
}

.reference-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 20px;
}

.reference-card {
	grid-column: span 4;
	background: var(--rm-white);
	overflow: hidden;
}

.reference-card--large {
	grid-column: span 6;
}

.reference-card__image {
	display: block;
	overflow: hidden;
	background: #e4e9ed;
	aspect-ratio: 1.32 / 1;
}

.reference-card--large .reference-card__image {
	aspect-ratio: 1.5 / 1;
}

.reference-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.reference-card__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 22px;
	border: 1px solid var(--rm-border);
	border-top: 0;
}

.reference-card__title {
	margin: 0;
	font-size: 17px;
}

.reference-card__arrow {
	color: var(--rm-blue-dark);
	font-size: 23px;
}


/* =========================================================
   MACHINERY
========================================================= */

.home-machinery {
	padding-top: 70px;
	padding-bottom: 66px;
}

.home-machinery__heading {
	display: grid;
	grid-template-columns: 1.35fr 0.65fr;
	gap: 76px;
	align-items: end;
	margin-bottom: 40px;
}

.home-machinery .section-title {
	max-width: 690px;
	font-size: clamp(35px, 3.15vw, 53px);
}

.home-machinery__intro {
	color: rgba(255, 255, 255, 0.68);
	font-size: 16px;
	line-height: 1.5;
	transform: translateY(-4px);
}

.home-machinery__intro p {
	margin-bottom: 16px;
}

.machinery-grid {
	display: grid;
	grid-template-columns: 1.55fr 0.725fr 0.725fr;
	gap: 18px;
}

.machinery-card {
	position: relative;
	min-height: 400px;
	overflow: hidden;
	background: var(--rm-navy-2);
}

.machinery-card--primary {
	min-height: 480px;
}

.machinery-card img {
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
}

.machinery-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			0deg,
			rgba(3, 12, 20, 0.74),
			rgba(3, 12, 20, 0) 42%
		);
}

.machinery-card__label {
	position: absolute;
	z-index: 2;
	left: 25px;
	bottom: 22px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}


/* =========================================================
   CONTACT
========================================================= */

.home-contact {
	padding-top: 66px;
	padding-bottom: 58px;
}

.home-contact__grid {
	display: grid;
	grid-template-columns: 0.88fr 1.12fr;
	gap: 86px;
	align-items: start;
}

.home-contact__content .section-title {
	max-width: 640px;
	margin-bottom: 20px;
	font-size: clamp(35px, 3.1vw, 52px);
}

.home-contact__intro {
	max-width: 580px;
	margin-bottom: 28px;
	color: var(--rm-muted);
	font-size: 16px;
	line-height: 1.5;
}

.home-contact__details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 40px;
	padding-top: 22px;
	border-top: 1px solid var(--rm-border);
}

.home-contact__details p {
	margin: 0;
	color: var(--rm-muted);
	font-size: 14px;
	line-height: 1.5;
}

.home-contact__details strong {
	color: var(--rm-black);
}

.home-contact__details a {
	color: var(--rm-muted);
}

.home-contact__details a:hover {
	color: var(--rm-blue-dark);
}

.home-contact__form {
	padding: 32px 40px 34px;
	background: var(--rm-light);
	border: 1px solid var(--rm-border);
}

.contact-form {
	display: grid;
	gap: 18px;
}

.form-row--two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-field {
	display: grid;
	gap: 7px;
}

.form-field label {
	font-size: 13px;
	font-weight: 700;
}

.form-field input,
.form-field textarea {
	width: 100%;
	border: 1px solid #ccd6dd;
	background: #fff;
	color: var(--rm-text);
	outline: none;
}

.form-field input {
	min-height: 48px;
	padding: 0 14px;
}

.form-field textarea {
	min-height: 140px;
	padding: 13px 14px;
	resize: vertical;
}

.contact-form .button {
	justify-self: start;
	min-width: 190px;
}

.form-honeypot {
	position: absolute !important;
	left: -9999px !important;
}


/* =========================================================
   GENERIC PAGE HERO
========================================================= */

.page-hero {
	padding: 82px 0 68px;
	background: var(--rm-light);
	border-bottom: 1px solid var(--rm-border);
}

.page-hero--dark {
	background: var(--rm-navy);
	color: #fff;
}

.page-hero h1 {
	max-width: 920px;
	margin-bottom: 22px;
	font-size: clamp(42px, 4.6vw, 70px);
}

.page-hero--dark h1 {
	color: #fff;
}



/* =========================================================
   TECHNOLOGIES ARCHIVE
========================================================= */

.site-main--technologies .page-hero {
	padding-top: 72px;
	padding-bottom: 54px;
}

.technologies-overview {
	padding: 58px 0 68px;
	background: var(--rm-white);
}

.technologies-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.technology-card {
	min-width: 0;
	background: var(--rm-white);
	border: 1px solid var(--rm-border);
	overflow: hidden;
	transition:
		transform var(--rm-transition),
		box-shadow var(--rm-transition),
		border-color var(--rm-transition);
}

.technology-card:hover {
	transform: translateY(-4px);
	border-color: #cbd8e0;
	box-shadow: 0 18px 38px rgba(11, 34, 50, 0.10);
}

.technology-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.technology-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--rm-cool);
}

.technology-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.technology-card:hover .technology-card__image {
	transform: scale(1.035);
}

.technology-card__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 22px 24px 21px;
}

.technology-card__title {
	margin: 0 0 10px;
	color: var(--rm-black);
	font-size: 21px;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.technology-card__excerpt {
	margin: 0;
	color: var(--rm-muted);
	font-size: 14px;
	line-height: 1.5;
}

.technology-card__arrow {
	margin-top: auto;
	padding-top: 18px;
	color: var(--rm-blue-dark);
	font-size: 22px;
	line-height: 1;
	transition: transform var(--rm-transition);
}

.technology-card:hover .technology-card__arrow {
	transform: translateX(4px);
}


/* =========================================================
   ARCHIVES / CONTENT
========================================================= */

.archive-grid,
.technology-archive-grid,
.reference-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.entry-content,
.single-content {
	max-width: 900px;
	margin-inline: auto;
}

.reference-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.reference-gallery img {
	width: 100%;
	aspect-ratio: 1.3 / 1;
	object-fit: cover;
}



/* =========================================================
   TECHNOLOGY DETAIL
========================================================= */
.site-main--technology{background:var(--rm-white)}
.technology-hero{padding:64px 0;background:var(--rm-light);border-bottom:1px solid var(--rm-border)}
.technology-hero__grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:72px;align-items:center}
.technology-hero__content{max-width:570px}
.technology-hero__title{margin:0 0 22px;color:var(--rm-black);font-size:clamp(44px,4.2vw,68px);line-height:.98;letter-spacing:-.05em}
.technology-hero__lead{max-width:540px;margin:0 0 28px;color:var(--rm-muted);font-size:17px;line-height:1.55}
.technology-hero__media{position:relative;height:430px;overflow:hidden;background:var(--rm-cool)}
.technology-hero__media::after{content:"";position:absolute;left:0;bottom:0;width:105px;height:5px;background:var(--rm-blue)}
.technology-hero__image{width:100%;height:100%;object-fit:cover}
.technology-content{padding:68px 0 72px;background:var(--rm-white)}
.technology-content__inner{display:grid;grid-template-columns:minmax(0,820px) 1fr;gap:90px}
.technology-content__body{max-width:820px}
.technology-content__body h2{margin:44px 0 16px;font-size:clamp(28px,2.4vw,38px);line-height:1.08;letter-spacing:-.035em}
.technology-content__body h2:first-child{margin-top:0}
.technology-content__body h3{margin:32px 0 12px;font-size:23px}
.technology-content__body p,.technology-content__body li{color:var(--rm-text);font-size:17px;line-height:1.7}
.technology-content__body p{margin-bottom:18px}
.technology-content__body ul,.technology-content__body ol{margin:18px 0 24px;padding-left:22px}
.technology-content__body li+li{margin-top:7px}
.technology-content__body a{color:var(--rm-blue-dark);text-decoration:underline;text-underline-offset:3px}
.technology-references{padding:68px 0 74px;background:var(--rm-cool)}
.technology-references .section-heading{grid-template-columns:1fr auto;gap:50px;align-items:end;margin-bottom:38px}
.technology-references .section-title{max-width:760px;font-size:clamp(34px,3vw,50px)}
.technology-references .section-link{display:inline-flex;align-items:center;margin-bottom:7px;color:var(--rm-blue-dark);font-size:15px;font-weight:700;white-space:nowrap;transition:transform var(--rm-transition)}
.technology-references .section-link:hover{transform:translateX(3px)}
.technology-references .references-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.technology-references .reference-card{grid-column:auto;min-width:0;background:var(--rm-white);border:1px solid var(--rm-border);transition:transform var(--rm-transition),box-shadow var(--rm-transition),border-color var(--rm-transition)}
.technology-references .reference-card:hover{transform:translateY(-4px);border-color:#cbd8e0;box-shadow:0 18px 38px rgba(11,34,50,.10)}
.technology-references .reference-card__link{display:flex;flex-direction:column;height:100%}
.technology-references .reference-card__media{overflow:hidden;aspect-ratio:1.38/1;background:#e4e9ed}
.technology-references .reference-card__media img,.technology-references .reference-card__image{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.technology-references .reference-card:hover .reference-card__image{transform:scale(1.025)}
.technology-references .reference-card__content{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;padding:18px 22px}
.technology-references .reference-card__title{margin:0;color:var(--rm-black);font-size:17px;line-height:1.25}
.technology-references .reference-card__arrow{flex:0 0 auto;color:var(--rm-blue-dark);font-size:23px;line-height:1}
.project-cta{padding:58px 0;background:var(--rm-navy);color:var(--rm-white)}
.project-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:60px}
.project-cta__content{max-width:760px}
.project-cta .section-eyebrow{color:var(--rm-blue)}
.project-cta__title{margin:0 0 12px;color:var(--rm-white);font-size:clamp(32px,3vw,48px)}
.project-cta__text{max-width:650px;margin:0;color:rgba(255,255,255,.68);font-size:16px;line-height:1.55}
.project-cta .button{flex:0 0 auto;min-width:190px}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
	background: #061521;
	color: rgba(255, 255, 255, 0.68);
}

.site-footer__inner {
	width: 100%;
}

.site-footer__grid {
	width: min(calc(100% - 80px), var(--rm-container));
	margin-inline: auto;
	padding: 44px 0 38px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 80px;
}

.site-footer__title {
	margin: 0 0 18px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.site-footer__content p {
	margin: 0 0 9px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 14px;
	line-height: 1.55;
}

.site-footer__content strong {
	color: #ffffff;
}

.site-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu li {
	margin: 0 0 7px;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.72);
	transition: color var(--rm-transition);
}

.site-footer a:hover {
	color: #ffffff;
}

.site-footer__bottom {
	width: min(calc(100% - 80px), var(--rm-container));
	min-height: 58px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__copyright {
	margin: 0;
	justify-self: start;
	color: rgba(255, 255, 255, 0.48);
	font-size: 11px;
}

.site-footer__bottom-right {
	display: contents;
}

.site-footer__languages {
	justify-self: center;
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 700;
}

.site-footer__languages a,
.site-footer__languages span {
	color: rgba(255, 255, 255, 0.48);
}

.site-footer__languages .is-active,
.site-footer__languages a:hover {
	color: #ffffff;
}

.site-footer__credit {
	margin: 0;
	justify-self: end;
	color: rgba(255, 255, 255, 0.48);
	font-size: 11px;
}

.site-footer__credit a {
	font-size: inherit;
	color: rgba(255, 255, 255, 0.62);
}

.site-footer__credit a::after {
	content: " →";
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* =========================================================
   TECHNOLOGY DETAIL — PREMIUM REFINEMENT
========================================================= */

.technology-hero {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(135deg, #f8fafc 0%, #eef4f8 55%, #e8f0f5 100%);
}

.technology-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(rgba(9, 37, 57, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(9, 37, 57, 0.035) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 68%);
	mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 68%);
}

.technology-hero__grid {
	position: relative;
	z-index: 1;
}

.technology-hero__content {
	position: relative;
}

.technology-hero__content::before {
	content: "";
	position: absolute;
	left: 0;
	top: -26px;
	width: 54px;
	height: 2px;
	background: var(--rm-blue);
}

.technology-hero__title {
	text-wrap: balance;
}

.technology-hero__media {
	border: 1px solid rgba(25, 70, 98, 0.12);
	box-shadow: 0 24px 70px rgba(6, 28, 43, 0.12);
}

.technology-hero__media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}

.technology-hero__media::after {
	z-index: 2;
	width: 132px;
}

.technology-content {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.technology-content::after {
	content: "";
	position: absolute;
	right: -140px;
	top: 72px;
	width: 520px;
	height: 520px;
	border: 1px solid rgba(10, 49, 75, 0.05);
	border-radius: 50%;
	box-shadow:
		0 0 0 70px rgba(10, 49, 75, 0.025),
		0 0 0 140px rgba(10, 49, 75, 0.018);
	pointer-events: none;
}

.technology-content__inner {
	position: relative;
	z-index: 1;
}

.technology-content__body {
	position: relative;
	padding-left: 30px;
}

.technology-content__body::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	bottom: 2px;
	width: 1px;
	background: linear-gradient(
		to bottom,
		var(--rm-blue) 0%,
		rgba(21, 150, 245, 0.18) 35%,
		rgba(21, 150, 245, 0.05) 100%
	);
}

.technology-content__body h2 {
	position: relative;
}

.technology-content__body h2::before {
	content: "";
	position: absolute;
	left: -30px;
	top: 0.24em;
	width: 7px;
	height: 7px;
	background: var(--rm-blue);
	box-shadow: 0 0 0 5px #ffffff;
}

.technology-content__body strong {
	color: var(--rm-black);
	font-weight: 800;
}

.technology-references {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(180deg, #edf3f7 0%, #e8f0f5 100%);
}

.technology-references::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(135deg, rgba(255,255,255,.34), transparent 36%),
		radial-gradient(circle at 90% 10%, rgba(21,150,245,.075), transparent 28%);
}

.technology-references > .container {
	position: relative;
	z-index: 1;
}

.technology-references .section-heading {
	padding-bottom: 26px;
	border-bottom: 1px solid rgba(10, 49, 75, 0.12);
}

.technology-references .reference-card {
	position: relative;
	box-shadow: 0 10px 30px rgba(7, 31, 47, 0.035);
}

.technology-references .reference-card::after {
	display: none;
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--rm-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--rm-transition);
}

.technology-references .reference-card:hover::after {
	transform: scaleX(1);
}

.technology-references .reference-card__media {
	position: relative;
}

.technology-references .reference-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 70%, rgba(4, 20, 32, 0.06));
}

.technology-references .reference-card__content {
	background: rgba(255,255,255,.96);
}

.project-cta {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(135deg, #061521 0%, #0a2435 100%);
}

.project-cta::before {
	content: "";
	position: absolute;
	right: -80px;
	top: -140px;
	width: 430px;
	height: 430px;
	border: 1px solid rgba(255,255,255,.05);
	border-radius: 50%;
	box-shadow:
		0 0 0 62px rgba(255,255,255,.025),
		0 0 0 124px rgba(255,255,255,.015);
}

.project-cta__inner {
	position: relative;
	z-index: 1;
}


/* =========================================================
   REFERENCE DETAIL — PREMIUM
========================================================= */

.site-main--reference {
	background: var(--rm-white);
}

.reference-hero {
	position: relative;
	overflow: hidden;
	padding: 64px 0;
	background:
		linear-gradient(135deg, #f8fafc 0%, #eef4f8 55%, #e8f0f5 100%);
	border-bottom: 1px solid var(--rm-border);
}

.reference-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(rgba(9, 37, 57, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(9, 37, 57, 0.035) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 68%);
	mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 68%);
}

.reference-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
	gap: 72px;
	align-items: center;
}

.reference-hero__content {
	position: relative;
	max-width: 600px;
}

.reference-hero__content::before {
	content: "";
	position: absolute;
	left: 0;
	top: -26px;
	width: 54px;
	height: 2px;
	background: var(--rm-blue);
}

.reference-hero__title {
	margin: 0 0 22px;
	color: var(--rm-black);
	font-size: clamp(44px, 4.2vw, 68px);
	line-height: .98;
	letter-spacing: -.05em;
	text-wrap: balance;
}

.reference-hero__lead {
	max-width: 570px;
	margin: 0 0 27px;
	color: var(--rm-muted);
	font-size: 17px;
	line-height: 1.55;
}

.reference-technologies {
	padding-top: 20px;
	border-top: 1px solid rgba(10, 49, 75, .12);
}

.reference-technologies__label {
	margin: 0 0 10px;
	color: var(--rm-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.reference-technologies__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.reference-technologies__links a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 7px 12px;
	border: 1px solid rgba(8, 119, 206, .2);
	background: rgba(255,255,255,.72);
	color: var(--rm-blue-dark);
	font-size: 13px;
	font-weight: 700;
	transition:
		background var(--rm-transition),
		border-color var(--rm-transition),
		transform var(--rm-transition);
}

.reference-technologies__links a:hover {
	transform: translateY(-2px);
	background: var(--rm-white);
	border-color: rgba(8, 119, 206, .42);
}

.reference-hero__media {
	position: relative;
	height: 470px;
	overflow: hidden;
	background: var(--rm-white);
	border: 1px solid rgba(25, 70, 98, .12);
	box-shadow: 0 24px 70px rgba(6, 28, 43, .12);
}

.reference-hero__media::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	width: 132px;
	height: 5px;
	background: var(--rm-blue);
}

.reference-hero__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.reference-content {
	position: relative;
	overflow: hidden;
	padding: 62px 0 66px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.reference-content::after {
	content: "";
	position: absolute;
	right: -150px;
	top: 40px;
	width: 500px;
	height: 500px;
	border: 1px solid rgba(10, 49, 75, .045);
	border-radius: 50%;
	box-shadow:
		0 0 0 70px rgba(10, 49, 75, .022),
		0 0 0 140px rgba(10, 49, 75, .014);
	pointer-events: none;
}

.reference-content__inner {
	position: relative;
	z-index: 1;
}

.reference-content__body {
	position: relative;
	max-width: 900px;
	padding-left: 30px;
}

.reference-content__body::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	bottom: 3px;
	width: 1px;
	background: linear-gradient(
		to bottom,
		var(--rm-blue),
		rgba(21,150,245,.18) 60%,
		rgba(21,150,245,.04)
	);
}

.reference-content__body p,
.reference-content__body li {
	color: var(--rm-text);
	font-size: 17px;
	line-height: 1.72;
}

.reference-content__body p:last-child {
	margin-bottom: 0;
}

.reference-content__body h2 {
	margin: 40px 0 15px;
	font-size: clamp(28px, 2.4vw, 38px);
}

.reference-content__body h2:first-child {
	margin-top: 0;
}

.reference-content__body strong {
	color: var(--rm-black);
	font-weight: 800;
}

.reference-gallery {
	padding: 0 0 72px;
	background: #fbfcfd;
}

.reference-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 1180px;
}

.reference-gallery__item {
	position: relative;
	overflow: hidden;
	min-height: 340px;
	background: var(--rm-white);
	border: 1px solid var(--rm-border);
	box-shadow: 0 12px 34px rgba(7,31,47,.045);
}

.reference-gallery__image {
	width: 100%;
	height: 100%;
	min-height: 340px;
	max-height: 560px;
	object-fit: contain;
	transition: transform .45s ease;
}

.reference-gallery__item:hover .reference-gallery__image {
	transform: scale(1.018);
}

.related-references {
	position: relative;
	overflow: hidden;
	padding: 68px 0 74px;
	background:
		linear-gradient(180deg, #edf3f7 0%, #e8f0f5 100%);
}

.related-references::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(135deg, rgba(255,255,255,.34), transparent 36%),
		radial-gradient(circle at 90% 10%, rgba(21,150,245,.075), transparent 28%);
}

.related-references > .container {
	position: relative;
	z-index: 1;
}

.related-references .section-heading {
	grid-template-columns: 1fr auto;
	gap: 50px;
	align-items: end;
	margin-bottom: 38px;
	padding-bottom: 26px;
	border-bottom: 1px solid rgba(10,49,75,.12);
}

.related-references .section-title {
	max-width: 760px;
	font-size: clamp(34px, 3vw, 50px);
}

.related-references .section-link {
	display: inline-flex;
	align-items: center;
	margin-bottom: 7px;
	color: var(--rm-blue-dark);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	transition: transform var(--rm-transition);
}

.related-references .section-link:hover {
	transform: translateX(3px);
}

.related-references .references-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.related-references .reference-card {
	grid-column: auto;
	min-width: 0;
	position: relative;
	background: var(--rm-white);
	border: 1px solid var(--rm-border);
	box-shadow: 0 10px 30px rgba(7,31,47,.035);
	transition:
		transform var(--rm-transition),
		box-shadow var(--rm-transition),
		border-color var(--rm-transition);
}

.related-references .reference-card:hover {
	transform: translateY(-4px);
	border-color: #cbd8e0;
	box-shadow: 0 18px 38px rgba(11,34,50,.10);
}

.related-references .reference-card::after {
	display: none;
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--rm-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--rm-transition);
}

.related-references .reference-card:hover::after {
	transform: scaleX(1);
}

.related-references .reference-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.related-references .reference-card__media {
	overflow: hidden;
	aspect-ratio: 1.38 / 1;
	background: #e4e9ed;
}

.related-references .reference-card__media img,
.related-references .reference-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.related-references .reference-card:hover .reference-card__image {
	transform: scale(1.025);
}

.related-references .reference-card__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 76px;
	padding: 18px 22px;
	background: rgba(255,255,255,.96);
}

.related-references .reference-card__title {
	margin: 0;
	color: var(--rm-black);
	font-size: 17px;
	line-height: 1.25;
}

.related-references .reference-card__arrow {
	flex: 0 0 auto;
	color: var(--rm-blue-dark);
	font-size: 23px;
	line-height: 1;
}


/* =========================================================
   REFERENCE GALLERY — LAYOUT FIX
   Prevent legacy .reference-gallery grid rules from shrinking
   the whole section into one third of the page.
========================================================= */

.reference-gallery {
	display: block;
	grid-template-columns: none;
	gap: 0;
	width: 100%;
}

.reference-gallery > .container {
	width: min(calc(100% - 80px), var(--rm-container));
	margin-inline: auto;
}

.reference-gallery__grid {
	width: 100%;
	max-width: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.reference-gallery__item {
	min-height: 0;
	aspect-ratio: 1.35 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}

.reference-gallery img,
.reference-gallery__image {
	width: 100%;
	height: 100%;
	min-height: 0;
	max-height: none;
	aspect-ratio: auto;
	object-fit: contain;
}


/* =========================================================
   REFERENCE IMAGES — EDGE TO EDGE
========================================================= */

/* Main reference image: fill the media area without white side strips. */
.reference-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Gallery images: remove the artificial white frame/padding. */
.reference-gallery__item {
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.reference-gallery img,
.reference-gallery__image {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}


/* =========================================================
   REFERENCE LIGHTBOX
========================================================= */

.reference-lightbox-trigger {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.reference-lightbox[hidden] {
	display: none !important;
}

.reference-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.18s ease,
		visibility 0.18s ease;
}

.reference-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.reference-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 10, 16, 0.92);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	cursor: zoom-out;
}

.reference-lightbox__dialog {
	position: relative;
	z-index: 1;
	max-width: min(92vw, 1500px);
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.reference-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.reference-lightbox__close {
	position: absolute;
	top: -18px;
	right: -18px;
	z-index: 2;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: rgba(6, 21, 33, 0.94);
	color: #ffffff;
	font-size: 29px;
	font-weight: 300;
	line-height: 1;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
	transition:
		background var(--rm-transition),
		transform var(--rm-transition),
		border-color var(--rm-transition);
}

.reference-lightbox__close:hover,
.reference-lightbox__close:focus-visible {
	background: #0b2a3f;
	border-color: rgba(255, 255, 255, 0.42);
	transform: scale(1.04);
	outline: none;
}

.reference-lightbox-open {
	overflow: hidden;
}


/* =========================================================
   REFERENCES ARCHIVE
========================================================= */

.site-main--references {
	background: var(--rm-white);
}

.site-main--references .page-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 58px;
	background:
		linear-gradient(135deg, #f8fafc 0%, #eef4f8 55%, #e8f0f5 100%);
	border-bottom: 1px solid var(--rm-border);
}

.site-main--references .page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(rgba(9, 37, 57, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(9, 37, 57, 0.035) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 68%);
	mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 68%);
}

.site-main--references .page-hero .container {
	position: relative;
	z-index: 1;
}

.site-main--references .page-hero__title {
	max-width: 900px;
	margin: 0 0 22px;
	color: var(--rm-black);
	font-size: clamp(46px, 4.6vw, 74px);
	line-height: .98;
	letter-spacing: -.05em;
	text-wrap: balance;
}

.site-main--references .page-hero__text {
	max-width: 840px;
	margin: 0;
	color: var(--rm-text);
	font-size: 17px;
	line-height: 1.6;
}

.references-overview {
	position: relative;
	padding: 64px 0 76px;
	background:
		linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.references-grid--archive {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
}

.references-grid--archive .reference-card {
	grid-column: auto;
	position: relative;
	min-width: 0;
	overflow: hidden;
	background: var(--rm-white);
	border: 1px solid var(--rm-border);
	box-shadow: 0 12px 34px rgba(7, 31, 47, 0.045);
	transition:
		transform var(--rm-transition),
		box-shadow var(--rm-transition),
		border-color var(--rm-transition);
}

.references-grid--archive .reference-card:hover {
	transform: translateY(-4px);
	border-color: #cbd8e0;
	box-shadow: 0 20px 46px rgba(7, 31, 47, 0.10);
}

.references-grid--archive .reference-card::after {
	display: none;
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--rm-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--rm-transition);
}

.references-grid--archive .reference-card:hover::after {
	transform: scaleX(1);
}

.references-grid--archive .reference-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.references-grid--archive .reference-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1.38 / 1;
	background: #e7ebee;
}

.references-grid--archive .reference-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 70%, rgba(4, 20, 32, 0.05));
}

.references-grid--archive .reference-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.references-grid--archive .reference-card:hover .reference-card__image {
	transform: scale(1.025);
}

.references-grid--archive .reference-card__content {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"title arrow"
		"tech arrow";
	gap: 7px 18px;
	align-items: center;
	min-height: 104px;
	padding: 19px 22px 20px;
	background: rgba(255,255,255,.98);
}

.references-grid--archive .reference-card__title {
	grid-area: title;
	margin: 0;
	color: var(--rm-black);
	font-size: 18px;
	line-height: 1.22;
	letter-spacing: -.025em;
}

.references-grid--archive .reference-card__technologies {
	grid-area: tech;
	color: var(--rm-muted);
	font-size: 13px;
	line-height: 1.45;
}

.references-grid--archive .reference-card__arrow {
	grid-area: arrow;
	align-self: center;
	color: var(--rm-blue-dark);
	font-size: 24px;
	line-height: 1;
	transition: transform var(--rm-transition);
}

.references-grid--archive .reference-card:hover .reference-card__arrow {
	transform: translateX(4px);
}

.pagination {
	margin-top: 48px;
}

.pagination .page-numbers {
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	list-style: none;
}

.pagination .page-numbers li {
	margin: 0;
	padding: 0;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--rm-border);
	background: var(--rm-white);
	color: var(--rm-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	transition:
		background var(--rm-transition),
		border-color var(--rm-transition),
		color var(--rm-transition),
		transform var(--rm-transition);
}

.pagination .page-numbers a:hover {
	transform: translateY(-2px);
	border-color: rgba(8, 119, 206, .35);
	color: var(--rm-blue-dark);
}

.pagination .page-numbers .current {
	border-color: var(--rm-blue-dark);
	background: var(--rm-blue-dark);
	color: var(--rm-white);
}

@media (max-width: 1100px) {
	.references-grid--archive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.site-main--references .page-hero {
		padding: 52px 0 42px;
	}

	.site-main--references .page-hero__title {
		font-size: clamp(38px, 11vw, 56px);
	}

	.site-main--references .page-hero__text {
		font-size: 16px;
		line-height: 1.55;
	}

	.references-overview {
		padding: 42px 0 56px;
	}

	.references-grid--archive {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.references-grid--archive .reference-card__content {
		min-height: 94px;
		padding: 17px 18px 18px;
	}

	.references-grid--archive .reference-card__title {
		font-size: 17px;
	}

	.references-grid--archive .reference-card__technologies {
		font-size: 12.5px;
	}

	.pagination {
		margin-top: 34px;
	}
}


/* =========================================================
   ABOUT PAGE
========================================================= */

.site-main--about {
	background: var(--rm-white);
}

.site-main--about .page-hero {
	position: relative;
	overflow: hidden;
	padding: 78px 0 68px;
	background:
		linear-gradient(135deg, #f8fafc 0%, #eef4f8 58%, #e8f0f5 100%);
	border-bottom: 1px solid var(--rm-border);
}

.site-main--about .page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(rgba(9, 37, 57, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(9, 37, 57, 0.035) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.58), transparent 72%);
	mask-image: linear-gradient(90deg, rgba(0,0,0,.58), transparent 72%);
}

.site-main--about .page-hero .container {
	position: relative;
	z-index: 1;
}

.site-main--about .page-hero__title {
	max-width: 1180px;
	margin: 0 0 28px;
	font-size: clamp(52px, 5.3vw, 86px);
	line-height: .98;
	letter-spacing: -.055em;
	text-wrap: balance;
}

.site-main--about .page-hero__text {
	max-width: 1080px;
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: var(--rm-text);
}

.about-intro {
	position: relative;
	padding: 76px 0 82px;
	background: var(--rm-white);
}

.about-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(48px, 6vw, 92px);
	align-items: center;
}

.about-intro__media {
	position: relative;
	min-width: 0;
}

.about-intro__media::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--rm-blue);
}

.about-intro__image {
	display: block;
	width: 100%;
	aspect-ratio: 1.42 / 1;
	object-fit: cover;
	box-shadow: 0 24px 58px rgba(6, 29, 44, .12);
}

.about-intro__content {
	position: relative;
	min-width: 0;
	padding-left: 30px;
}

.about-intro__content::before {
	content: "";
	position: absolute;
	top: 2px;
	bottom: 2px;
	left: 0;
	width: 2px;
	background: var(--rm-blue);
}

.about-intro__body {
	max-width: 680px;
	color: var(--rm-text);
	font-size: 16px;
	line-height: 1.72;
}

.about-intro__body > :first-child {
	margin-top: 0;
}

.about-intro__body > :last-child {
	margin-bottom: 0;
}

.about-intro__body h2,
.about-intro__body h3 {
	margin: 0 0 22px;
	color: var(--rm-black);
	font-size: clamp(30px, 2.4vw, 42px);
	line-height: 1.08;
	letter-spacing: -.035em;
}

.about-intro__body p {
	margin: 0 0 20px;
}

.company-capabilities {
	position: relative;
	overflow: hidden;
	padding: 76px 0 84px;
	background:
		linear-gradient(135deg, #f5f8fa 0%, #edf3f7 100%);
	border-top: 1px solid var(--rm-border);
	border-bottom: 1px solid var(--rm-border);
}

.company-capabilities::after {
	content: "";
	position: absolute;
	width: 520px;
	height: 520px;
	right: -210px;
	top: -205px;
	border: 1px solid rgba(7, 113, 196, .10);
	border-radius: 50%;
	box-shadow:
		0 0 0 70px rgba(7, 113, 196, .025),
		0 0 0 140px rgba(7, 113, 196, .018);
	pointer-events: none;
}

.company-capabilities .container {
	position: relative;
	z-index: 1;
}

.company-capabilities .section-heading {
	margin-bottom: 42px;
}

.company-capabilities .section-title {
	max-width: 800px;
	margin-bottom: 0;
}

.company-capabilities__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid #d6e0e6;
	border-left: 1px solid #d6e0e6;
	background: rgba(255,255,255,.45);
}

.company-capabilities__item {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 118px;
	padding: 28px 30px 28px 58px;
	border-right: 1px solid #d6e0e6;
	border-bottom: 1px solid #d6e0e6;
	background: rgba(255,255,255,.74);
	color: var(--rm-black);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	transition:
		background var(--rm-transition),
		transform var(--rm-transition),
		box-shadow var(--rm-transition);
}

.company-capabilities__item::before {
	content: "";
	position: absolute;
	left: 29px;
	top: 50%;
	width: 10px;
	height: 10px;
	background: var(--rm-blue);
	transform: translateY(-50%);
}

.company-capabilities__item:hover {
	z-index: 1;
	background: var(--rm-white);
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(6, 29, 44, .07);
}

.site-main--about .project-cta {
	position: relative;
	overflow: hidden;
}

.site-main--about .project-cta::after {
	content: "";
	position: absolute;
	width: 430px;
	height: 430px;
	right: -110px;
	top: 50%;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 50%;
	transform: translateY(-50%);
	box-shadow:
		0 0 0 60px rgba(255,255,255,.018),
		0 0 0 120px rgba(255,255,255,.012);
	pointer-events: none;
}

.site-main--about .project-cta__inner {
	position: relative;
	z-index: 1;
}

@media (max-width: 1100px) {
	.about-intro__grid {
		grid-template-columns: 1fr 1fr;
		gap: 44px;
	}

	.company-capabilities__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.site-main--about .page-hero {
		padding: 52px 0 44px;
	}

	.site-main--about .page-hero__title {
		font-size: clamp(40px, 11vw, 58px);
	}

	.site-main--about .page-hero__text {
		font-size: 16px;
		line-height: 1.55;
	}

	.about-intro {
		padding: 46px 0 52px;
	}

	.about-intro__grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.about-intro__image {
		aspect-ratio: 1.3 / 1;
	}

	.about-intro__content {
		padding-left: 22px;
	}

	.company-capabilities {
		padding: 50px 0 58px;
	}

	.company-capabilities .section-heading {
		margin-bottom: 30px;
	}

	.company-capabilities__grid {
		grid-template-columns: 1fr;
	}

	.company-capabilities__item {
		min-height: 88px;
		padding: 22px 22px 22px 50px;
		font-size: 16px;
	}

	.company-capabilities__item::before {
		left: 24px;
	}
}


/* =========================================================
   MACHINERY PAGE
========================================================= */

.site-main--machinery {
	background: var(--rm-white);
}

.machinery-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0;
	background:
		radial-gradient(circle at 82% 18%, rgba(24, 126, 196, .15), transparent 34%),
		linear-gradient(135deg, #061722 0%, #0b2435 54%, #0d2d43 100%);
	color: var(--rm-white);
}

.machinery-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 72%);
	mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 72%);
}

.machinery-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(54px, 7vw, 110px);
	align-items: center;
}

.machinery-hero .section-eyebrow {
	color: #50b8ff;
}

.machinery-hero__title {
	max-width: 720px;
	margin: 0 0 28px;
	color: var(--rm-white);
	font-size: clamp(54px, 5.2vw, 86px);
	line-height: .98;
	letter-spacing: -.055em;
}

.machinery-hero__text {
	max-width: 650px;
	margin: 0;
	color: rgba(255,255,255,.78);
	font-size: 18px;
	line-height: 1.65;
}

.machinery-hero__media {
	position: relative;
	min-width: 0;
}

.machinery-hero__media::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--rm-blue);
}

.machinery-hero__image {
	display: block;
	width: 100%;
	aspect-ratio: 1.42 / 1;
	object-fit: cover;
	box-shadow: 0 28px 70px rgba(0,0,0,.3);
}

.machinery-section {
	padding: 82px 0;
	background: var(--rm-white);
}

.machinery-section--alternate {
	background:
		linear-gradient(135deg, #f5f8fa 0%, #edf3f7 100%);
	border-top: 1px solid var(--rm-border);
	border-bottom: 1px solid var(--rm-border);
}

.machinery-section__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: clamp(52px, 7vw, 104px);
	align-items: center;
}

.machinery-section--alternate .machinery-section__grid {
	grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.machinery-section__media {
	position: relative;
	min-width: 0;
}

.machinery-section__media::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--rm-blue);
}

.machinery-section__image {
	display: block;
	width: 100%;
	aspect-ratio: 1.38 / 1;
	object-fit: cover;
	box-shadow: 0 22px 54px rgba(6, 29, 44, .10);
}

.machinery-section__content {
	position: relative;
	padding-left: 30px;
}

.machinery-section__content::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 2px;
	background: var(--rm-blue);
}

.machinery-section__content h2 {
	max-width: 680px;
	margin: 0 0 26px;
	color: var(--rm-black);
	font-size: clamp(34px, 3vw, 50px);
	line-height: 1.05;
	letter-spacing: -.04em;
}

.machinery-section__content p {
	max-width: 700px;
	margin: 0 0 18px;
	color: var(--rm-text);
	font-size: 16px;
	line-height: 1.72;
}

.machinery-section__content p:last-child {
	margin-bottom: 0;
}

.machinery-support {
	position: relative;
	overflow: hidden;
	padding: 70px 0 76px;
	background: #0a1f2d;
	color: var(--rm-white);
}

.machinery-support::after {
	content: "";
	position: absolute;
	width: 520px;
	height: 520px;
	right: -170px;
	top: -200px;
	border: 1px solid rgba(255,255,255,.07);
	border-radius: 50%;
	box-shadow:
		0 0 0 70px rgba(255,255,255,.015),
		0 0 0 140px rgba(255,255,255,.01);
}

.machinery-support__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(52px, 7vw, 100px);
	align-items: end;
}

.machinery-support h2 {
	max-width: 700px;
	margin: 0;
	color: var(--rm-white);
	font-size: clamp(36px, 3.4vw, 56px);
	line-height: 1.04;
	letter-spacing: -.04em;
}

.machinery-support p {
	max-width: 700px;
	margin: 0;
	color: rgba(255,255,255,.76);
	font-size: 17px;
	line-height: 1.7;
}

.site-main--machinery .project-cta {
	border-top: 1px solid rgba(255,255,255,.05);
}

@media (max-width: 1050px) {
	.machinery-hero__inner,
	.machinery-section__grid,
	.machinery-section--alternate .machinery-section__grid,
	.machinery-support__inner {
		grid-template-columns: 1fr;
	}

	.machinery-hero__inner,
	.machinery-section__grid,
	.machinery-support__inner {
		gap: 38px;
	}

	.machinery-section--alternate .machinery-section__content {
		order: 2;
	}

	.machinery-section--alternate .machinery-section__media {
		order: 1;
	}
}

@media (max-width: 760px) {
	.machinery-hero {
		padding: 48px 0 52px;
	}

	.machinery-hero__title {
		font-size: clamp(42px, 12vw, 60px);
	}

	.machinery-hero__text {
		font-size: 16px;
		line-height: 1.55;
	}

	.machinery-section {
		padding: 50px 0;
	}

	.machinery-section__content {
		padding-left: 22px;
	}

	.machinery-section__content h2 {
		font-size: clamp(30px, 9vw, 42px);
	}

	.machinery-section__image,
	.machinery-hero__image {
		aspect-ratio: 1.25 / 1;
	}

	.machinery-support {
		padding: 50px 0 56px;
	}

	.machinery-support p {
		font-size: 16px;
	}
}


/* =========================================================
   CAREER PAGE
========================================================= */

.site-main--career {
	background: var(--rm-white);
}

.site-main--career .page-hero {
	position: relative;
	overflow: hidden;
	padding: 76px 0 68px;
	background:
		linear-gradient(135deg, #f8fafc 0%, #eef4f8 58%, #e8f0f5 100%);
	border-bottom: 1px solid var(--rm-border);
}

.site-main--career .page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(rgba(9, 37, 57, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(9, 37, 57, .035) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.58), transparent 72%);
	mask-image: linear-gradient(90deg, rgba(0,0,0,.58), transparent 72%);
}

.site-main--career .page-hero .container {
	position: relative;
	z-index: 1;
}

.site-main--career .page-hero__title {
	max-width: 1050px;
	margin: 0 0 28px;
	font-size: clamp(52px, 5.3vw, 86px);
	line-height: .98;
	letter-spacing: -.055em;
	text-wrap: balance;
}

.site-main--career .page-hero__text {
	max-width: 850px;
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: var(--rm-text);
}

.career-intro {
	padding: 68px 0 62px;
	background: var(--rm-white);
}

.career-intro__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 72px;
}

.career-intro__body {
	position: relative;
	grid-column: 1 / -1;
	max-width: 1180px;
	padding-left: 30px;
	color: var(--rm-text);
	font-size: 17px;
	line-height: 1.72;
}

.career-intro__body::before {
	content: "";
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: 0;
	width: 2px;
	background: var(--rm-blue);
}

.career-intro__body > :first-child {
	margin-top: 0;
}

.career-intro__body > :last-child {
	margin-bottom: 0;
}

.career-intro__body h2,
.career-intro__body h3 {
	margin: 0 0 22px;
	color: var(--rm-black);
	font-size: clamp(30px, 2.5vw, 42px);
	line-height: 1.08;
	letter-spacing: -.035em;
}

.career-intro__body p {
	margin: 0 0 18px;
}

.career-jobs {
	position: relative;
	overflow: hidden;
	padding: 68px 0 76px;
	background:
		linear-gradient(135deg, #f5f8fa 0%, #edf3f7 100%);
	border-top: 1px solid var(--rm-border);
	border-bottom: 1px solid var(--rm-border);
}

.career-jobs::after {
	content: "";
	position: absolute;
	width: 520px;
	height: 520px;
	right: -210px;
	top: -210px;
	border: 1px solid rgba(7, 113, 196, .10);
	border-radius: 50%;
	box-shadow:
		0 0 0 70px rgba(7, 113, 196, .025),
		0 0 0 140px rgba(7, 113, 196, .018);
	pointer-events: none;
}

.career-jobs .container {
	position: relative;
	z-index: 1;
}

.career-jobs .section-heading {
	margin-bottom: 38px;
}

.career-jobs .section-title {
	margin-bottom: 0;
}

.career-empty {
	position: relative;
	max-width: 1050px;
	padding: 34px 38px 34px 68px;
	background: rgba(255,255,255,.86);
	border: 1px solid #d6e0e6;
	box-shadow: 0 14px 38px rgba(6,29,44,.05);
}

.career-empty::before {
	content: "";
	position: absolute;
	left: 34px;
	top: 42px;
	width: 12px;
	height: 12px;
	background: var(--rm-blue);
}

.career-empty p {
	margin: 0 0 10px;
	color: var(--rm-text);
	font-size: 16px;
	line-height: 1.65;
}

.career-empty p:first-child {
	color: var(--rm-black);
	font-size: 19px;
	font-weight: 700;
}

.career-empty p:last-child {
	margin-bottom: 0;
}

.career-jobs__list {
	display: grid;
	gap: 22px;
}

.job-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) auto;
	gap: 38px;
	align-items: start;
	padding: 32px 34px;
	background: rgba(255,255,255,.9);
	border: 1px solid #d6e0e6;
	box-shadow: 0 14px 38px rgba(6,29,44,.045);
}

.job-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--rm-blue);
}

.job-card__title {
	margin: 0 0 12px;
	color: var(--rm-black);
	font-size: 26px;
	line-height: 1.15;
	letter-spacing: -.03em;
}

.job-card__excerpt,
.job-card__content {
	color: var(--rm-text);
	font-size: 15px;
	line-height: 1.65;
}

.job-card__excerpt {
	margin: 0;
}

.job-card__content > :first-child {
	margin-top: 0;
}

.job-card__content > :last-child {
	margin-bottom: 0;
}

.job-card__footer {
	align-self: center;
}

.career-contact {
	position: relative;
	overflow: hidden;
	padding: 64px 0;
	background: #0a1f2d;
	color: var(--rm-white);
}

.career-contact::after {
	content: "";
	position: absolute;
	width: 420px;
	height: 420px;
	right: -120px;
	top: 50%;
	border: 1px solid rgba(255,255,255,.07);
	border-radius: 50%;
	transform: translateY(-50%);
	box-shadow:
		0 0 0 60px rgba(255,255,255,.015),
		0 0 0 120px rgba(255,255,255,.01);
	pointer-events: none;
}

.career-contact__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
}

.career-contact .section-eyebrow {
	color: #50b8ff;
}

.career-contact__title {
	margin: 0 0 14px;
	color: var(--rm-white);
	font-size: clamp(34px, 3vw, 50px);
	line-height: 1.05;
	letter-spacing: -.04em;
}

.career-contact__text {
	max-width: 720px;
	margin: 0;
	color: rgba(255,255,255,.74);
	font-size: 16px;
	line-height: 1.65;
}

.career-contact .button {
	flex: 0 0 auto;
}

@media (max-width: 1050px) {
	.job-card {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.job-card__footer {
		justify-self: start;
	}
}

@media (max-width: 760px) {
	.site-main--career .page-hero {
		padding: 52px 0 44px;
	}

	.site-main--career .page-hero__title {
		font-size: clamp(40px, 11vw, 58px);
	}

	.site-main--career .page-hero__text {
		font-size: 16px;
		line-height: 1.55;
	}

	.career-intro {
		padding: 44px 0 42px;
	}

	.career-intro__body {
		padding-left: 22px;
		font-size: 16px;
	}

	.career-jobs {
		padding: 48px 0 54px;
	}

	.career-empty {
		padding: 26px 24px 26px 52px;
	}

	.career-empty::before {
		left: 24px;
		top: 34px;
	}

	.job-card {
		padding: 26px 24px 28px;
	}

	.career-contact {
		padding: 48px 0 52px;
	}

	.career-contact__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
	}
}


/* =========================================================
   CONTACT PAGE
========================================================= */

.site-main--contact {
	background: var(--rm-white);
}

.site-main--contact .page-hero {
	position: relative;
	overflow: hidden;
	padding: 76px 0 68px;
	background:
		linear-gradient(135deg, #f8fafc 0%, #eef4f8 58%, #e8f0f5 100%);
	border-bottom: 1px solid var(--rm-border);
}

.site-main--contact .page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(rgba(9, 37, 57, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(9, 37, 57, .035) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.58), transparent 72%);
	mask-image: linear-gradient(90deg, rgba(0,0,0,.58), transparent 72%);
}

.site-main--contact .page-hero::after {
	content: "";
	position: absolute;
	width: 520px;
	height: 520px;
	right: -210px;
	top: -250px;
	border: 1px solid rgba(7, 113, 196, .08);
	border-radius: 50%;
	box-shadow:
		0 0 0 70px rgba(7, 113, 196, .02),
		0 0 0 140px rgba(7, 113, 196, .012);
	pointer-events: none;
}

.site-main--contact .page-hero .container {
	position: relative;
	z-index: 1;
}

.site-main--contact .page-hero__title {
	max-width: 1180px;
	margin: 0 0 28px;
	font-size: clamp(52px, 5.2vw, 86px);
	line-height: .98;
	letter-spacing: -.055em;
	text-wrap: balance;
}

.site-main--contact .page-hero__text {
	max-width: 850px;
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: var(--rm-text);
}

.contact-section {
	padding: 76px 0 82px;
	background: var(--rm-white);
}

.contact-section__grid {
	display: grid;
	grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
	gap: 76px;
	align-items: start;
}

.contact-details {
	position: relative;
	padding: 8px 0 0 30px;
}

.contact-details::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	bottom: 0;
	width: 2px;
	background: var(--rm-blue);
}

.contact-details__title {
	margin: 0 0 36px;
	color: var(--rm-black);
	font-size: clamp(34px, 3vw, 48px);
	line-height: 1.05;
	letter-spacing: -.04em;
}

.contact-details__items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px 34px;
}

.contact-details__item {
	min-width: 0;
	padding-top: 18px;
	border-top: 1px solid var(--rm-border);
}

.contact-details__label {
	display: block;
	margin-bottom: 8px;
	color: var(--rm-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.contact-details__item p {
	margin: 0;
	color: var(--rm-black);
	font-size: 16px;
	line-height: 1.65;
}

.contact-details__item a {
	color: var(--rm-black);
	text-decoration: none;
	transition: color var(--rm-transition);
}

.contact-details__item a:hover,
.contact-details__item a:focus-visible {
	color: var(--rm-blue);
}

.contact-form {
	position: relative;
	padding: 42px 44px 44px;
	background:
		linear-gradient(145deg, #f7fafc 0%, #eef4f8 100%);
	border: 1px solid #d7e1e7;
	box-shadow: 0 18px 48px rgba(6, 29, 44, .07);
}

.contact-form::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--rm-blue);
}

.contact-form__intro {
	margin-bottom: 30px;
}

.contact-form__title {
	margin: 0;
	color: var(--rm-black);
	font-size: clamp(32px, 2.7vw, 44px);
	line-height: 1.08;
	letter-spacing: -.04em;
}

.project-form {
	margin: 0;
}

.project-form__honeypot {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

.project-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 20px;
	margin-bottom: 24px;
}

.project-form__field {
	min-width: 0;
}

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

.project-form__field label {
	display: block;
	margin: 0 0 8px;
	color: var(--rm-black);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.project-form__field input,
.project-form__field textarea {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 14px 15px;
	border: 1px solid #cbd7df;
	border-radius: 0;
	background: #ffffff;
	color: var(--rm-black);
	font: inherit;
	font-size: 15px;
	line-height: 1.5;
	box-shadow: none;
	outline: none;
	transition:
		border-color var(--rm-transition),
		box-shadow var(--rm-transition),
		background var(--rm-transition);
}

.project-form__field input {
	min-height: 50px;
}

.project-form__field textarea {
	min-height: 180px;
	resize: vertical;
}

.project-form__field input:hover,
.project-form__field textarea:hover {
	border-color: #aabcc8;
}

.project-form__field input:focus,
.project-form__field textarea:focus {
	border-color: var(--rm-blue);
	box-shadow: 0 0 0 3px rgba(0, 122, 226, .10);
	background: #ffffff;
}

.project-form .button {
	min-width: 190px;
	min-height: 52px;
}

.form-message {
	margin: 0 0 24px;
	padding: 15px 18px;
	border: 1px solid;
	font-size: 14px;
	line-height: 1.55;
}

.form-message--success {
	background: #edf8f2;
	border-color: #b9dfca;
	color: #145b36;
}

.form-message--error {
	background: #fff3f2;
	border-color: #efc6c2;
	color: #8a2f28;
}

.contact-extra {
	padding: 0 0 72px;
	background: var(--rm-white);
}

.contact-extra__body {
	max-width: 900px;
	color: var(--rm-text);
	font-size: 16px;
	line-height: 1.7;
}

.contact-extra__body > :first-child {
	margin-top: 0;
}

.contact-extra__body > :last-child {
	margin-bottom: 0;
}

@media (max-width: 1050px) {
	.contact-section__grid {
		grid-template-columns: 1fr;
		gap: 54px;
	}

	.contact-details {
		max-width: 820px;
	}

	.contact-form {
		max-width: 900px;
	}
}

@media (max-width: 760px) {
	.site-main--contact .page-hero {
		padding: 52px 0 44px;
	}

	.site-main--contact .page-hero__title {
		font-size: clamp(40px, 11vw, 58px);
	}

	.site-main--contact .page-hero__text {
		font-size: 16px;
		line-height: 1.55;
	}

	.contact-section {
		padding: 48px 0 56px;
	}

	.contact-section__grid {
		gap: 42px;
	}

	.contact-details {
		padding-left: 22px;
	}

	.contact-details__items {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.contact-details__title {
		margin-bottom: 28px;
	}

	.contact-form {
		padding: 30px 22px 32px;
	}

	.project-form__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.project-form__field--full {
		grid-column: auto;
	}

	.project-form__field textarea {
		min-height: 160px;
	}

	.project-form .button {
		width: 100%;
	}
}


/* =========================================================
   HOME HERO TECHNOLOGY CARDS – FULL CARD CLICK AREA
========================================================= */

.hero-technology-card {
	cursor: pointer;
}

.hero-technology-card__content {
	position: static;
}

.hero-technology-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 10;
}

.hero-technology-card:focus-within {
	outline: 2px solid var(--rm-blue);
	outline-offset: -2px;
}


/* =========================================================
   FINAL HEADER + HOME HERO TECHNOLOGY FIXES
========================================================= */

.site-header__descriptor {
	margin-left: 18px;
	padding-left: 18px;
	min-width: 0;
	white-space: normal;
	line-height: 1.2;
}

.site-header__descriptor strong {
	display: block;
	font-size: 12px;
	line-height: 1.2;
}

.site-header__descriptor span {
	display: block;
	max-width: 190px;
	margin-top: 4px;
	font-size: 10px;
	line-height: 1.25;
}

.hero-technology-card {
	min-width: 0;
	height: auto;
}

.hero-technology-card__content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	height: 100%;
	padding: 16px 12px 16px 30px;
}

.hero-technology-card__icon {
	flex: 0 0 auto;
	margin-bottom: 8px;
}

.hero-technology-card__title,
.hero-technology-card__text {
	flex: 0 0 auto;
}

.hero-technology-card__text {
	max-width: 145px;
}

.hero-technology-card__arrow {
	position: static;
	display: block;
	flex: 0 0 auto;
	margin-top: auto;
	padding-top: 10px;
	color: #149af9;
	font-size: 19px;
	line-height: 1;
}

.hero-technology-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 10;
}

@media (min-width: 1025px) {
	.home-hero__technologies,
	.hero-technology-grid {
		width: 100%;
		max-width: 100%;
	}

	.hero-technology-grid {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.hero-technology-card,
	.hero-technology-card:nth-child(5) {
		grid-column: auto;
		min-width: 0;
		grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
	}

	.hero-technology-card__image {
		min-width: 0;
		overflow: hidden;
	}

	.hero-technology-card__image img {
		display: block;
		width: 100%;
		max-width: 100%;
		height: 100%;
		object-fit: cover;
	}
}


/* =========================================================
   FINAL CORRECTION – HEADER + HOME HERO DESKTOP
   2026-09-13
========================================================= */

/* Header descriptor beside logo – larger and typographically consistent */
.site-header__descriptor {
	width: auto;
	min-width: 245px;
	margin-left: 22px;
	padding-left: 22px;
	white-space: nowrap;
	line-height: 1.2;
	font-family: Arial, Helvetica, sans-serif;
}

.site-header__descriptor strong {
	display: block;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.site-header__descriptor span {
	display: block;
	max-width: none;
	margin-top: 4px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

/* The hero already communicates the technology; remove duplicated eyebrow there only */
.home-hero__eyebrow {
	display: none;
}

/* Five desktop service cards must fit completely inside the viewport */
@media (min-width: 1201px) {
	.home-hero__technologies {
		width: 100%;
		max-width: 100vw;
		overflow: hidden;
	}

	.hero-technology-grid {
		display: grid;
		width: 100%;
		max-width: 100%;
		grid-template-columns: repeat(5, 20%);
		gap: 0;
		overflow: hidden;
	}

	.hero-technology-card,
	.hero-technology-card:nth-child(5) {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		grid-column: auto;
		grid-template-columns: minmax(0, 54%) minmax(0, 46%);
	}

	.hero-technology-card__content,
	.hero-technology-card__image {
		min-width: 0;
		max-width: 100%;
	}

	.hero-technology-card__image {
		overflow: hidden;
	}

	.hero-technology-card__image img {
		display: block;
		width: 100%;
		max-width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.hero-technology-card:nth-child(5) {
		border-right: 0;
	}
}

/* =========================================================
   FINAL REFERENCE GALLERY COMPACTION
   2026-09-14
========================================================= */

.reference-gallery__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	max-width: 1180px;
}

.reference-gallery__item {
	min-height: 0;
	aspect-ratio: 1.3 / 1;
}

.reference-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	max-height: none;
	object-fit: contain;
}


/* =========================================================
   MACHINERY PAGE — PHOTO PRESENTATION
========================================================= */
.site-main--machinery{background:var(--rm-white)}
.machinery-hero{padding:64px 0;background:linear-gradient(135deg,#f8fafc 0%,#eef4f8 55%,#e8f0f5 100%);border-bottom:1px solid var(--rm-border)}
.machinery-hero__inner{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:72px;align-items:center}
.machinery-hero__content{position:relative;max-width:590px}
.machinery-hero__content::before{content:"";position:absolute;left:0;top:-26px;width:54px;height:2px;background:var(--rm-blue)}
.machinery-hero__title{margin:0 0 22px;color:var(--rm-black);font-size:clamp(44px,4.2vw,68px);line-height:.98;letter-spacing:-.05em}
.machinery-hero__text{max-width:560px;margin:0;color:var(--rm-muted);font-size:17px;line-height:1.6}
.machinery-hero__media{position:relative;height:470px;overflow:hidden;background:var(--rm-cool);border:1px solid rgba(25,70,98,.12);box-shadow:0 24px 70px rgba(6,28,43,.12)}
.machinery-hero__media::after{content:"";position:absolute;left:0;bottom:0;width:132px;height:5px;background:var(--rm-blue)}
.machinery-hero__image{width:100%;height:100%;object-fit:cover}
.machinery-section{padding:68px 0 72px;background:var(--rm-white)}
.machinery-section--alternate{background:var(--rm-cool)}
.machinery-section__grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:72px;align-items:center}
.machinery-section__content{max-width:620px}
.machinery-section__content h2{margin:0 0 20px;font-size:clamp(34px,3vw,50px)}
.machinery-section__content p:not(.section-eyebrow){margin-bottom:14px;color:var(--rm-text);font-size:16px;line-height:1.65}
.machinery-section__media{height:420px;overflow:hidden;background:#e7edf1;border:1px solid var(--rm-border)}
.machinery-section__image{width:100%;height:100%;object-fit:cover}
.machinery-photo-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:34px}
.machinery-photo-strip img{width:100%;height:220px;object-fit:cover;background:#e7edf1;border:1px solid var(--rm-border)}
.machinery-support{padding:62px 0 70px;background:linear-gradient(135deg,#061521 0%,#0a2435 100%);color:var(--rm-white)}
.machinery-support__inner{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:end}
.machinery-support .section-eyebrow{color:var(--rm-blue)}
.machinery-support h2{max-width:650px;margin:0;color:var(--rm-white);font-size:clamp(34px,3vw,50px)}
.machinery-support__inner>p{max-width:600px;margin:0;color:rgba(255,255,255,.7);font-size:16px;line-height:1.65}
.machinery-photo-strip--support{margin-top:36px}
.machinery-photo-strip--support img{border-color:rgba(255,255,255,.12);background:#0b2537}


/* =========================================================
   MACHINERY PAGE – FINAL EQUIPMENT GALLERY
   2026-09-15
========================================================= */

.machinery-equipment-gallery {
	padding: 82px 0 88px;
	background: #f4f8fb;
	border-top: 1px solid var(--rm-border);
}

.machinery-equipment-gallery__heading {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(52px, 7vw, 100px);
	align-items: end;
	margin-bottom: 38px;
}

.machinery-equipment-gallery__heading h2 {
	max-width: 680px;
	margin: 0;
	color: #0d1720;
	font-size: clamp(36px, 3.4vw, 56px);
	line-height: 1.04;
	letter-spacing: -.04em;
}

.machinery-equipment-gallery__heading > p {
	max-width: 650px;
	margin: 0;
	color: var(--rm-text-muted);
	font-size: 17px;
	line-height: 1.7;
}

.machinery-equipment-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.machinery-equipment-gallery__item {
	margin: 0;
	min-width: 0;
	aspect-ratio: 1.38 / 1;
	overflow: hidden;
	background: #e7edf1;
	border: 1px solid var(--rm-border);
}

.machinery-equipment-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

@media (hover: hover) {
	.machinery-equipment-gallery__item:hover img {
		transform: scale(1.025);
	}
}


/* =========================================================
   HOMEPAGE HERO TECHNOLOGY BAND – DESKTOP WIDTH REFINEMENT
   2026-09-15
========================================================= */

@media (min-width: 1201px) {
	.home-hero__technologies {
		padding-inline: 40px;
	}

	.home-hero__technologies .hero-technology-grid {
		width: min(100%, 1500px);
		margin-inline: auto;
	}
}


/* =========================================================
   HOMEPAGE HERO – PRODUCT VISIBILITY FINAL
   2026-09-15
========================================================= */

@media (min-width: 1201px) {
	/*
	 * Keep the technology band above the fold and reveal more of the formed
	 * plastic part by moving the background crop vertically, rather than
	 * pushing the whole technology section farther down.
	 */
	.home-hero__main {
		height: 650px;
	}

	.home-hero__overlay {
		height: 720px;
	}

	.home-hero {
		background-position: center 72%;
	}

	.home-hero__technologies {
		margin-top: 0;
	}
}

/* =========================================================
   R&M PLAST — FINAL TECHNICAL POLISH V4
   2026-09-15
========================================================= */

/* Home hero microcopy: same compact technical language as the stats strip. */
.home-hero__quality p,
.hero-technology-card__text {
	font-size: 9px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.075em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.home-hero__quality p {
	line-height: 1.55;
	letter-spacing: 0.09em;
}

.hero-technology-card__text {
	max-width: 150px;
}

/* Old grid / rings are replaced by one coherent engineering-line language. */
.technology-content::after,
.reference-content::after,
.company-capabilities::after,
.career-jobs::after {
	display: none !important;
}

/* Sections which receive the technical background. */
.home-about,
.home-contact,
.home-references,
.technologies-overview,
.technology-hero,
.technology-content,
.technology-references,
.references-overview,
.reference-hero,
.reference-content,
.reference-gallery,
.related-references,
.machinery-hero,
.machinery-section,
.machinery-equipment-gallery,
.about-intro,
.company-capabilities,
.career-intro,
.career-jobs,
.career-contact,
.contact-section,
.contact-extra,
.page-hero,
.page-content,
.project-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.home-about > .container,
.home-contact > .container,
.home-references > .container,
.technologies-overview > .container,
.technology-hero > .container,
.technology-content > .container,
.technology-references > .container,
.references-overview > .container,
.reference-hero > .container,
.reference-content > .container,
.reference-gallery > .container,
.related-references > .container,
.machinery-hero > .container,
.machinery-section > .container,
.machinery-equipment-gallery > .container,
.about-intro > .container,
.company-capabilities > .container,
.career-intro > .container,
.career-jobs > .container,
.career-contact > .container,
.contact-section > .container,
.contact-extra > .container,
.page-hero > .container,
.page-content > .container,
.project-cta > .container {
	position: relative;
	z-index: 2;
}

/* Large sparse CAD trace — intentionally extends around imagery, not only corners. */
.home-about::before,
.home-contact::before,
.home-references::before,
.technologies-overview::before,
.technology-hero::before,
.technology-content::before,
.technology-references::before,
.references-overview::before,
.reference-hero::before,
.reference-content::before,
.reference-gallery::before,
.related-references::before,
.machinery-hero::before,
.machinery-section::before,
.machinery-equipment-gallery::before,
.about-intro::before,
.company-capabilities::before,
.career-intro::before,
.career-jobs::before,
.career-contact::before,
.contact-section::before,
.contact-extra::before,
.page-hero::before,
.page-content::before,
.project-cta::before {
	content: "";
	display: block !important;
	position: absolute;
	z-index: 0;
	pointer-events: none;
	right: -95px;
	top: 50%;
	width: min(980px, 68vw);
	height: min(690px, 92%);
	transform: translateY(-50%);
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	background-color: transparent !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 100% 100% !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 980 690'%3E%3Cg fill='none' stroke='%230877ce' stroke-width='1.35'%3E%3Cpath stroke-opacity='.105' d='M980 55H826l-58 58H649l-73 73H458l-53 53H288l-70 70H80L0 389'/%3E%3Cpath stroke-opacity='.075' d='M980 158H871l-69 69H686l-48 48H523l-66 66H337l-51 51H159L28 523'/%3E%3Cpath stroke-opacity='.09' d='M980 302H844l-45 45H681l-71 71H489l-56 56H310l-68 68H103L0 645'/%3E%3Cpath stroke-opacity='.065' d='M862 0v96l-49 49v106l-63 63v98l-55 55v122l-67 67'/%3E%3Cpath stroke-opacity='.08' d='M668 22v95l-53 53v101l-49 49v111l-70 70v126'/%3E%3Cpath stroke-opacity='.055' d='M472 0v87l-42 42v94l-59 59v108l-55 55v116l-64 64'/%3E%3C/g%3E%3Cg fill='%23fff' stroke='%230877ce' stroke-width='1.2'%3E%3Ccircle stroke-opacity='.20' cx='768' cy='113' r='4'/%3E%3Ccircle stroke-opacity='.17' cx='802' cy='227' r='4'/%3E%3Ccircle stroke-opacity='.19' cx='610' cy='418' r='4'/%3E%3Ccircle stroke-opacity='.16' cx='433' cy='474' r='4'/%3E%3Ccircle stroke-opacity='.18' cx='288' cy='309' r='4'/%3E%3C/g%3E%3C/svg%3E") !important;
}

/* Alternate sections enter from the opposite side, so the site does not repeat mechanically. */
.home-references::before,
.technology-references::before,
.related-references::before,
.machinery-section--alternate::before,
.company-capabilities::before,
.career-jobs::before,
.contact-extra::before {
	left: -105px;
	right: auto;
	transform: translateY(-50%) scaleX(-1);
}

/* Light blue surfaces can carry a little more of the blue trace. */
.technologies-overview::before,
.technology-hero::before,
.reference-hero::before,
.page-hero::before,
.machinery-hero::before {
	opacity: .92;
}

/* White surfaces stay quieter but the motif covers a broad area. */
.home-about::before,
.home-contact::before,
.technology-content::before,
.reference-content::before,
.reference-gallery::before,
.machinery-section::before,
.machinery-equipment-gallery::before,
.about-intro::before,
.career-intro::before,
.contact-section::before,
.page-content::before {
	opacity: .68;
}

/* Dark sections: same drawing in blue, without the old giant ring. */
.project-cta::before,
.home-machinery::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 980 690'%3E%3Cg fill='none' stroke='%231596f5' stroke-width='1.35'%3E%3Cpath stroke-opacity='.14' d='M980 55H826l-58 58H649l-73 73H458l-53 53H288l-70 70H80L0 389'/%3E%3Cpath stroke-opacity='.10' d='M980 158H871l-69 69H686l-48 48H523l-66 66H337l-51 51H159L28 523'/%3E%3Cpath stroke-opacity='.12' d='M980 302H844l-45 45H681l-71 71H489l-56 56H310l-68 68H103L0 645'/%3E%3Cpath stroke-opacity='.09' d='M862 0v96l-49 49v106l-63 63v98l-55 55v122l-67 67'/%3E%3Cpath stroke-opacity='.11' d='M668 22v95l-53 53v101l-49 49v111l-70 70v126'/%3E%3C/g%3E%3Cg fill='%23051522' stroke='%231596f5' stroke-width='1.2'%3E%3Ccircle stroke-opacity='.22' cx='768' cy='113' r='4'/%3E%3Ccircle stroke-opacity='.19' cx='610' cy='418' r='4'/%3E%3Ccircle stroke-opacity='.18' cx='433' cy='474' r='4'/%3E%3C/g%3E%3C/svg%3E") !important;
	opacity: .78;
}

.home-machinery {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
.home-machinery > .container { position: relative; z-index: 2; }
.home-machinery::before {
	content: "";
	position: absolute;
	z-index: 0;
	pointer-events: none;
	right: -95px;
	top: 50%;
	width: min(980px, 68vw);
	height: min(690px, 92%);
	transform: translateY(-50%);
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 100% 100% !important;
}

@media (max-width: 768px) {
	.home-hero__quality p,
	.hero-technology-card__text {
		letter-spacing: .055em;
	}

	.home-about::before,
	.home-contact::before,
	.home-references::before,
	.technologies-overview::before,
	.technology-hero::before,
	.technology-content::before,
	.technology-references::before,
	.references-overview::before,
	.reference-hero::before,
	.reference-content::before,
	.reference-gallery::before,
	.related-references::before,
	.machinery-hero::before,
	.machinery-section::before,
	.machinery-equipment-gallery::before,
	.about-intro::before,
	.company-capabilities::before,
	.career-intro::before,
	.career-jobs::before,
	.career-contact::before,
	.contact-section::before,
	.contact-extra::before,
	.page-hero::before,
	.page-content::before,
	.project-cta::before,
	.home-machinery::before {
		width: 560px;
		height: 410px;
		right: -300px;
		left: auto;
		opacity: .48;
	}
}

/* =========================================================
   R&M PLAST — FINAL BACKGROUND PLACEMENT
   Keep the approved line intensity; fill empty visual space.
   ========================================================= */

/* Technology body: move the motif further into the open right side
   and enlarge it without increasing line intensity. */
.technology-content::before {
	right: -15px !important;
	top: 46% !important;
	width: min(1080px, 72vw) !important;
	height: 82% !important;
	opacity: 1 !important;
}

/* Technology gallery: use the otherwise empty right half of the section. */
.technology-gallery {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.technology-gallery > .container {
	position: relative;
	z-index: 2;
}

.technology-gallery::before {
	content: "";
	position: absolute;
	z-index: 0;
	pointer-events: none;
	right: -35px;
	top: 50%;
	transform: translateY(-50%);
	width: min(940px, 62vw);
	height: 88%;
	opacity: 1;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 920 660'%3E%3Cg fill='none' stroke='%230877ce' stroke-width='1.15'%3E%3Cpath stroke-opacity='.070' d='M920 72H790l-52 52H625l-61 61H458l-48 48H296l-71 71H82L0 386'/%3E%3Cpath stroke-opacity='.052' d='M920 165H830l-72 72H650l-46 46H491l-58 58H318l-44 44H149L42 492'/%3E%3Cpath stroke-opacity='.060' d='M920 291H811l-39 39H676l-75 75H488l-47 47H337l-63 63H136L0 617'/%3E%3Cpath stroke-opacity='.045' d='M850 0v95l-43 43v105l-66 66v89l-51 51v128l-69 69'/%3E%3Cpath stroke-opacity='.055' d='M671 34v93l-55 55v88l-43 43v111l-72 72v117'/%3E%3C/g%3E%3Cg fill='%23fff' stroke='%230877ce' stroke-width='1.1'%3E%3Ccircle stroke-opacity='.13' cx='738' cy='124' r='4'/%3E%3Ccircle stroke-opacity='.11' cx='758' cy='237' r='4'/%3E%3Ccircle stroke-opacity='.12' cx='601' cy='405' r='4'/%3E%3Ccircle stroke-opacity='.10' cx='441' cy='452' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

/* Reference/gallery-like white areas: keep motif inside visible empty space. */
.reference-content::before,
.reference-gallery::before {
	right: -20px !important;
	width: min(1000px, 68vw) !important;
	height: 84% !important;
}

/* Machinery and general large white/cool sections:
   make the motif occupy the side gutters rather than hiding outside viewport. */
.machinery-section,
.machinery-gallery,
.about-section,
.contact-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.machinery-section::before,
.machinery-gallery::before,
.about-section::before,
.contact-section::before {
	right: -25px !important;
}

/* Mobile/tablet: decoration remains peripheral and does not sit behind copy. */
@media (max-width: 1024px) {
	.technology-content::before,
	.technology-gallery::before,
	.reference-content::before,
	.reference-gallery::before {
		right: -260px !important;
		width: 720px !important;
		height: 78% !important;
	}
}

@media (max-width: 768px) {
	.technology-content::before,
	.technology-gallery::before,
	.reference-content::before,
	.reference-gallery::before {
		right: -330px !important;
		width: 620px !important;
		opacity: .72 !important;
	}
}
/* =========================================================
   CONTACT PAGE — MAP
========================================================= */

.contact-map {
	padding: 0 0 72px;
	background: var(--rm-white);
}

.contact-map__heading {
	margin-bottom: 24px;
}

.contact-map__title {
	margin: 0;
	color: var(--rm-black);
	font-size: clamp(30px, 2.7vw, 44px);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.contact-map__frame {
	position: relative;
	overflow: hidden;
	height: 430px;
	background: var(--rm-cool);
	border: 1px solid var(--rm-border);
	box-shadow: 0 18px 50px rgba(6, 28, 43, 0.08);
}



.contact-map__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 767px) {
	.contact-map {
		padding-bottom: 54px;
	}

	.contact-map__heading {
		margin-bottom: 18px;
	}

	.contact-map__frame {
		height: 340px;
	}
}

/* =========================================================
   FINAL DESKTOP COSMETICS — HOME REFERENCES + TECHNOLOGY HERO
   2026-09-17
========================================================= */

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
	.home-references .reference-card__image img {
		transition: transform .5s ease;
	}

	.home-references .reference-card:hover .reference-card__image img {
		transform: scale(1.025);
	}
}

/* Remove blue decorative strips attached directly to photo containers. */
.home-about__media::after,
.technology-hero__media::after,
.reference-hero__media::after,
.about-intro__media::after,
.machinery-hero__media::after,
.machinery-section__media::after {
	display: none;
}
