:root {
	--rimech-forest: #2e5b36;
	--rimech-forest-dark: #1f4227;
	--rimech-charcoal: #343434;
	--rimech-ink: #171a18;
	--rimech-mist: #f5f5f2;
	--rimech-white: #fff;
	--rimech-accent: #a9d18e;
	--rimech-border: rgba(52, 52, 52, 0.18);
	--rimech-shadow: 0 22px 60px rgba(11, 24, 14, 0.13);
	--rimech-radius: 16px;
	--rimech-content: 1320px;
	--rimech-gutter: clamp(1.25rem, 3.4vw, 3.5rem);
	--rimech-section: clamp(4.5rem, 7vw, 7.5rem);
	--rimech-font: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: hidden;
	color: var(--rimech-charcoal);
	background: var(--rimech-white);
	font-family: var(--rimech-font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.menu-is-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--rimech-forest);
}

button,
input,
textarea,
select {
	font: inherit;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	color: var(--rimech-ink);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(3rem, 7vw, 6.2rem);
}

h2 {
	font-size: clamp(2.25rem, 4.3vw, 4rem);
}

h3 {
	font-size: clamp(1.4rem, 2.3vw, 2rem);
}

p {
	margin: 0 0 1.25em;
}

:focus-visible {
	outline: 3px solid #b8ef65;
	outline-offset: 4px;
}

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

.screen-reader-text:focus {
	position: fixed;
	z-index: 100000;
	top: 1rem;
	left: 1rem;
	width: auto;
	height: auto;
	padding: 0.8rem 1rem;
	clip: auto;
	color: var(--rimech-white);
	background: var(--rimech-ink);
}

.site-header {
	position: relative;
	z-index: 100;
	padding: 0 var(--rimech-gutter);
	border-bottom: 1px solid rgba(52, 52, 52, 0.09);
	background: var(--rimech-white);
}

.admin-bar .site-header {
	top: 0;
}

.site-header__inner {
	display: grid;
	grid-template-columns: minmax(190px, 260px) 1fr auto;
	gap: 2rem;
	align-items: center;
	width: min(100%, var(--rimech-content));
	min-height: 112px;
	margin: 0 auto;
	padding: 0;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	width: min(100%, 260px);
}

.site-logo img,
.site-logo .custom-logo {
	width: auto;
	max-width: 100%;
	height: 70px;
	object-fit: contain;
}

.site-logo .custom-logo-link {
	display: flex;
}

.site-navigation .menu,
.footer-menu,
.site-footer .menu {
	display: flex;
	gap: clamp(1rem, 2vw, 2.2rem);
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-navigation .menu {
	justify-content: center;
}

.site-navigation__mobile-actions {
	display: none;
}

.site-navigation a {
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.11em;
}

.site-navigation a::after {
	position: absolute;
	right: 0;
	bottom: -0.45rem;
	left: 0;
	height: 2px;
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	background: var(--rimech-forest);
	transition: transform 180ms ease;
}

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

.site-header__actions {
	display: flex;
	gap: 0.65rem;
	align-items: center;
}

.header-phone {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	color: var(--rimech-white);
	background: var(--rimech-forest);
	text-decoration: none;
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 0.7rem;
	border: 0;
	background: transparent;
	color: var(--rimech-ink);
	cursor: pointer;
}

.menu-toggle__label {
	text-transform: uppercase;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.menu-toggle__lines {
	display: grid;
	gap: 6px;
	width: 27px;
}

.menu-toggle__lines span {
	display: block;
	width: 100%;
	height: 2px;
	background: currentColor;
	transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child {
	transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child {
	transform: translateY(-4px) rotate(-45deg);
}

.button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.45rem;
	border: 1px solid transparent;
	border-radius: 100px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button:hover,
.wp-block-button__link:hover {
	transform: translateY(-2px);
}

.button--small {
	min-height: 42px;
	padding: 0.6rem 1.1rem;
	font-size: 0.69rem;
}

.button--outline {
	border-color: var(--rimech-charcoal);
	color: var(--rimech-charcoal);
	background: transparent;
}

.button--outline:hover {
	color: var(--rimech-white);
	background: var(--rimech-charcoal);
}

.button--light {
	border-color: var(--rimech-white);
	color: var(--rimech-ink);
	background: var(--rimech-white);
}

.button--light:hover {
	color: var(--rimech-white);
	background: transparent;
}

.button--dark,
.wp-block-button__link {
	color: var(--rimech-white);
	background: var(--rimech-forest);
}

.button--dark:hover,
.wp-block-button__link:hover {
	color: var(--rimech-white);
	background: var(--rimech-forest-dark);
}

.page-hero {
	position: relative;
	display: flex;
	min-height: clamp(580px, 72svh, 780px);
	padding: clamp(4.5rem, 8vw, 7.5rem) var(--rimech-gutter);
	overflow: hidden;
	isolation: isolate;
	color: var(--rimech-white);
	background: var(--rimech-ink) var(--hero-image) center / cover no-repeat;
}

.page-hero--home {
	min-height: clamp(640px, 78svh, 840px);
}

.page-hero__overlay {
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(12, 18, 13, 0.82) 0%, rgba(12, 18, 13, 0.42) 52%, rgba(12, 18, 13, 0.1) 100%),
		linear-gradient(0deg, rgba(12, 18, 13, 0.44), transparent 45%);
}

.page-hero__content {
	align-self: center;
	width: min(100%, var(--rimech-content));
	margin: 0 auto;
}

.page-hero__eyebrow,
.eyebrow {
	margin: 0 0 1.1rem;
	color: var(--rimech-accent);
	text-transform: uppercase;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.17em;
}

.page-hero h1 {
	max-width: 820px;
	margin-bottom: 1.5rem;
	color: var(--rimech-white);
	font-size: clamp(3.25rem, 5.8vw, 5.5rem);
}

.page-hero__text {
	max-width: 660px;
	margin-bottom: 2rem;
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	font-weight: 300;
	line-height: 1.45;
}

.page-hero__scroll {
	position: absolute;
	right: var(--rimech-gutter);
	bottom: 2.5rem;
	margin: 0;
	text-transform: uppercase;
	font-size: 0.67rem;
	letter-spacing: 0.14em;
}

.site-main {
	min-width: 0;
}

.page-content > * {
	margin-right: auto;
	margin-left: auto;
}

.page-content > :not(.alignfull):not(.alignwide) {
	width: min(calc(100% - (2 * var(--rimech-gutter))), 800px);
}

.page-content > .alignwide {
	width: min(calc(100% - (2 * var(--rimech-gutter))), var(--rimech-content));
}

.page-content > .alignfull {
	width: 100%;
}

.page-content > .wp-block-group,
.page-content > .wp-block-cover,
.page-content > .wp-block-columns {
	margin-top: 0;
	margin-bottom: 0;
}

.rimech-section,
.section {
	padding: var(--rimech-section) var(--rimech-gutter);
}

.rimech-section > *,
.section > * {
	width: min(100%, var(--rimech-content));
	margin-right: auto;
	margin-left: auto;
}

.rimech-section--mist {
	background: var(--rimech-mist);
}

.rimech-section--dark {
	color: rgba(255, 255, 255, 0.82);
	background: var(--rimech-ink);
}

.rimech-section--dark h2,
.rimech-section--dark h3 {
	color: var(--rimech-white);
}

.rimech-section--green {
	color: rgba(255, 255, 255, 0.9);
	background: var(--rimech-forest);
}

.rimech-section--green h2,
.rimech-section--green h3,
.rimech-section--green .eyebrow {
	color: var(--rimech-white);
}

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

.rimech-statement-card {
	max-width: 1120px;
	margin-right: auto;
	margin-left: auto;
	padding: clamp(2.25rem, 5vw, 4rem);
	border: 1px solid var(--rimech-forest);
	border-radius: var(--rimech-radius);
	text-align: center;
}

.rimech-section--statement .rimech-lead {
	margin-right: auto;
	margin-left: auto;
}

.rimech-split,
.wp-block-columns.rimech-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: center;
}

.rimech-split img {
	width: 100%;
	min-height: 460px;
	border-radius: var(--rimech-radius);
	box-shadow: var(--rimech-shadow);
	object-fit: cover;
}

.rimech-lead {
	max-width: 950px;
	font-size: clamp(1.35rem, 2.5vw, 2.1rem);
	font-weight: 300;
	line-height: 1.38;
	letter-spacing: -0.02em;
}

.rimech-card-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.2rem;
}

.rimech-card {
	position: relative;
	min-height: 360px;
	padding: 2rem;
	overflow: hidden;
	border-radius: var(--rimech-radius);
	color: var(--rimech-white);
	background: var(--rimech-ink);
}

.rimech-card::before {
	position: absolute;
	z-index: 0;
	inset: 0;
	content: "";
	background: linear-gradient(0deg, rgba(12, 18, 13, 0.88), rgba(12, 18, 13, 0.08));
}

.rimech-card > * {
	position: relative;
	z-index: 1;
}

.rimech-card h3 {
	margin-top: 8rem;
	color: var(--rimech-white);
}

.rimech-card--plain {
	min-height: 0;
	color: var(--rimech-charcoal);
	background: var(--rimech-white);
	box-shadow: 0 16px 50px rgba(11, 24, 14, 0.08);
}

.rimech-card--plain::before {
	display: none;
}

.rimech-card--plain h3 {
	margin-top: 0;
	color: var(--rimech-ink);
}

.rimech-card--plain figure {
	margin: -2rem -2rem 1.5rem;
}

.rimech-card--plain img {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--rimech-radius) var(--rimech-radius) 0 0;
	object-fit: cover;
}

.rimech-sector-showcase {
	position: relative;
	isolation: isolate;
	color: rgba(255, 255, 255, 0.9);
	background:
		linear-gradient(90deg, rgba(16, 21, 17, 0.84), rgba(16, 21, 17, 0.36)),
		url("../images/source/424e12_8bb746c3cae442798e54b3b239eda693~mv2.webp") center / cover no-repeat;
}

.rimech-sector-showcase h2,
.rimech-sector-showcase .eyebrow {
	color: var(--rimech-white);
}

.rimech-sector-showcase .rimech-card--plain {
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: var(--rimech-ink);
	background: rgba(255, 255, 255, 0.82);
	box-shadow: none;
	backdrop-filter: blur(10px);
}

.rimech-process .rimech-card-grid {
	margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.rimech-process .rimech-card--plain {
	padding-top: 1.5rem;
	border-top: 4px solid var(--rimech-forest);
	border-radius: 0 0 var(--rimech-radius) var(--rimech-radius);
	box-shadow: 0 12px 35px rgba(11, 24, 14, 0.07);
}

.rimech-process .rimech-card--plain h3 {
	color: var(--rimech-forest);
	font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

.rimech-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 3rem;
	margin-bottom: 2rem;
}

.rimech-gallery__item figure {
	height: 100%;
	margin: 0;
}

.rimech-gallery__item img {
	width: 100%;
	height: 100%;
	min-height: 360px;
	border-radius: var(--rimech-radius);
	object-fit: cover;
}

.rimech-gallery__item:nth-child(even) {
	margin-top: 2.5rem;
}

.rimech-capability-strip {
	padding-top: clamp(3.5rem, 5vw, 5rem);
	padding-bottom: clamp(3.5rem, 5vw, 5rem);
}

.rimech-capability-strip .rimech-card-grid {
	margin-top: 2rem;
}

.rimech-capability-strip .rimech-card--plain {
	border: 1px solid var(--rimech-border);
	box-shadow: none;
}

.rimech-split--feature img {
	min-height: 560px;
}

.rimech-services-story {
	display: grid;
	gap: clamp(5rem, 9vw, 9rem);
}

.rimech-services-story > * {
	margin-top: 0;
	margin-bottom: 0;
}

.rimech-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--rimech-border);
	border-radius: var(--rimech-radius);
	background: var(--rimech-border);
	overflow: hidden;
}

.rimech-stat {
	padding: 2.2rem;
	background: var(--rimech-white);
}

.rimech-stat strong {
	display: block;
	color: var(--rimech-forest);
	font-size: clamp(2.2rem, 4vw, 4rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.05em;
}

.rimech-stat span {
	display: block;
	margin-top: 0.8rem;
	font-size: 0.9rem;
}

.section__header {
	display: grid;
	grid-template-columns: 1fr minmax(250px, 0.5fr);
	gap: 2rem;
	align-items: end;
	margin-bottom: 3rem;
}

.section__header .eyebrow {
	grid-column: 1 / -1;
	margin-bottom: 0;
}

.section__header h2,
.section__header p {
	margin-bottom: 0;
}

.jobs-section {
	background: var(--rimech-mist);
}

.jobs-list {
	display: grid;
	gap: 1rem;
	width: min(calc(100% - (2 * var(--rimech-gutter))), var(--rimech-content));
	margin: 0 auto;
}

.job-card {
	display: flex;
	gap: 2rem;
	align-items: center;
	justify-content: space-between;
	padding: clamp(1.5rem, 4vw, 2.8rem);
	border: 1px solid var(--rimech-border);
	border-radius: var(--rimech-radius);
	background: var(--rimech-white);
}

.job-card h2,
.job-card h3 {
	margin-bottom: 0.5rem;
}

.job-card h2 a,
.job-card h3 a {
	text-decoration: none;
}

.job-card p:last-child {
	margin-bottom: 0;
}

.job-card__meta {
	margin-bottom: 0.5rem;
	color: var(--rimech-forest);
	text-transform: uppercase;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.13em;
}

.application-section {
	display: grid;
	grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	width: 100%;
	padding: var(--rimech-section) var(--rimech-gutter);
	background: var(--rimech-white);
}

.application-section > * {
	width: min(100%, 820px);
}

.application-section__intro {
	justify-self: end;
	max-width: 430px;
}

.application-section__intro h2 {
	font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.application-form {
	display: grid;
	gap: 1.6rem;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--rimech-border);
	border-radius: var(--rimech-radius);
	background: var(--rimech-mist);
	box-shadow: 0 18px 60px rgba(11, 24, 14, 0.08);
}

.application-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.4rem;
}

.application-field {
	display: grid;
	gap: 0.45rem;
}

.application-field label {
	color: var(--rimech-ink);
	font-size: 0.92rem;
	font-weight: 700;
}

.application-field input:not([type="checkbox"]):not([type="file"]),
.application-field select,
.application-field textarea,
.application-field input[type="file"] {
	width: 100%;
	min-height: 52px;
	padding: 0.75rem 0.9rem;
	border: 1px solid rgba(52, 52, 52, 0.34);
	border-radius: 8px;
	color: var(--rimech-ink);
	background: var(--rimech-white);
}

.application-field textarea {
	resize: vertical;
}

.application-field input[aria-invalid="true"],
.application-field select[aria-invalid="true"],
.application-field textarea[aria-invalid="true"] {
	border-color: #a32121;
	box-shadow: 0 0 0 2px rgba(163, 33, 33, 0.12);
}

.application-field__optional,
.application-field__description,
.application-form__required {
	color: rgba(52, 52, 52, 0.72);
	font-size: 0.84rem;
	font-weight: 400;
}

.application-field__description,
.application-form__required {
	margin: 0;
}

.application-field__error {
	margin: 0;
	color: #8b1717;
	font-size: 0.88rem;
	font-weight: 700;
}

.application-field--consent label {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.75rem;
	align-items: start;
	font-weight: 400;
}

.application-field--consent input {
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.15rem;
}

.application-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.application-notice {
	align-self: start;
	padding: 1.5rem 1.75rem;
	border-left: 5px solid var(--rimech-forest);
	border-radius: 8px;
	background: #edf6ed;
}

.application-notice h3 {
	margin-bottom: 0.6rem;
}

.application-notice p:last-child,
.application-notice ul:last-child {
	margin-bottom: 0;
}

.application-notice--error {
	border-color: #a32121;
	background: #fff1f1;
}

.application-notice--error a {
	color: #701313;
}

.contact-section {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: center;
}

.contact-section > * {
	width: 100%;
}

.contact-section__image img {
	width: 100%;
	min-height: 700px;
	border-radius: var(--rimech-radius);
	object-fit: cover;
}

.contact-section__content h2 {
	font-size: clamp(2rem, 4vw, 3.8rem);
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 3rem;
}

.contact-card {
	display: grid;
	align-content: start;
	padding: 1.5rem;
	border-top: 1px solid var(--rimech-border);
}

.contact-card h3 {
	font-size: 1.15rem;
	letter-spacing: -0.02em;
}

.contact-card a {
	overflow-wrap: anywhere;
}

.site-footer {
	padding: 0 var(--rimech-gutter) 1.5rem;
	color: var(--rimech-charcoal);
	background: var(--rimech-forest);
}

.site-footer a {
	color: inherit;
}

.site-footer a:hover {
	color: var(--rimech-forest);
}

.site-footer .button--light {
	color: var(--rimech-white);
	background: transparent;
}

.site-footer .button--light:hover {
	color: var(--rimech-forest);
	background: var(--rimech-white);
}

.site-footer__cta {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	align-items: center;
	justify-content: center;
	width: min(100%, var(--rimech-content));
	margin: 0 auto;
	padding: clamp(3rem, 6vw, 5.5rem) 0;
	text-align: center;
}

.site-footer__cta h2 {
	margin: 0;
	color: var(--rimech-white);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr repeat(3, 1fr);
	gap: clamp(2rem, 5vw, 5rem);
	width: min(100%, var(--rimech-content));
	margin: 0 auto;
	padding: clamp(2.5rem, 5vw, 4.5rem);
	border-radius: 24px 24px 0 0;
	background: var(--rimech-white);
}

.site-footer__brand img {
	width: 80px;
	height: 86px;
	margin-bottom: 1.5rem;
	object-fit: contain;
}

.footer-heading {
	color: var(--rimech-forest);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
}

.site-footer address {
	font-style: normal;
}

.footer-menu,
.site-footer .menu {
	display: grid;
	gap: 0.45rem;
}

.footer-menu a,
.site-footer .menu a {
	text-decoration: none;
}

.site-footer__legal {
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	width: min(100%, var(--rimech-content));
	margin: 0 auto;
	padding: 1.5rem clamp(2.5rem, 5vw, 4.5rem);
	border-top: 1px solid var(--rimech-border);
	border-radius: 0 0 24px 24px;
	background: var(--rimech-white);
	font-size: 0.78rem;
}

.site-footer__legal p {
	margin: 0;
}

.site-footer__legal nav {
	display: flex;
	gap: 1.5rem;
}

.site-main--standard {
	min-height: 70vh;
	padding: clamp(10rem, 16vw, 13rem) var(--rimech-gutter) var(--rimech-section);
}

.standard-header,
.standard-article,
.content-list,
.job-detail,
.not-found {
	width: min(100%, 980px);
	margin: 0 auto;
}

.standard-header,
.job-detail__header {
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--rimech-border);
}

.standard-article,
.job-detail__content {
	font-size: 1.08rem;
}

.content-list {
	display: grid;
	gap: 1.5rem;
	margin-top: 3rem;
}

.content-card {
	padding: 2rem;
	border: 1px solid var(--rimech-border);
	border-radius: var(--rimech-radius);
}

.job-detail__content {
	padding: 4rem 0;
}

.job-detail__apply {
	padding: clamp(2rem, 5vw, 4rem);
	border-radius: var(--rimech-radius);
	background: var(--rimech-mist);
}

.not-found {
	text-align: center;
}

@media (max-width: 1120px) {
	.site-header__inner {
		grid-template-columns: 210px 1fr auto;
	}

	.site-navigation .menu {
		gap: 1rem;
	}

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

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

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

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

	.site-header {
		padding: 0 1rem;
	}

	.site-header__inner {
		grid-template-columns: minmax(150px, 1fr) auto auto;
		gap: 0.6rem;
		min-height: 82px;
		padding: 0.5rem 0.6rem 0.5rem 1rem;
	}

	.site-logo img,
	.site-logo .custom-logo {
		height: 44px;
	}

	.menu-toggle {
		display: inline-flex;
		justify-content: center;
		min-width: 48px;
		min-height: 48px;
	}

	.site-navigation {
		position: fixed;
		z-index: 99;
		top: 82px;
		right: 1rem;
		bottom: auto;
		left: 1rem;
		display: flex;
		flex-direction: column;
		gap: 1.25rem;
		align-items: center;
		justify-content: center;
		max-height: calc(100dvh - 98px);
		padding: 1.25rem;
		overflow-y: auto;
		border: 1px solid var(--rimech-border);
		border-radius: 0 0 18px 18px;
		visibility: hidden;
		opacity: 0;
		background: rgba(255, 255, 255, 0.99);
		box-shadow: 0 24px 60px rgba(11, 24, 14, 0.2);
		transition: opacity 180ms ease;
	}

	.site-navigation[data-open="true"] {
		visibility: visible;
		opacity: 1;
	}

	.site-navigation .menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
		width: 100%;
	}

	.site-navigation__mobile-actions {
		display: flex;
		justify-content: center;
		width: min(100%, 320px);
	}

	.site-navigation__mobile-actions .button {
		width: 100%;
		color: var(--rimech-white);
		background: var(--rimech-forest);
	}

	.site-navigation a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		padding: 0.7rem 0.85rem;
		border-radius: 10px;
		background: var(--rimech-mist);
		font-size: 1rem;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-align: center;
		text-transform: uppercase;
	}

	.site-navigation a::after {
		display: none;
	}

	.site-header__actions .button {
		display: none;
	}

	.header-phone {
		display: inline-flex;
		width: 48px;
		height: 48px;
	}

	.rimech-split,
	.wp-block-columns.rimech-split,
	.contact-section {
		grid-template-columns: 1fr;
	}

	.rimech-split img,
	.contact-section__image img {
		min-height: 420px;
	}

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

	.section__header {
		grid-template-columns: 1fr;
	}

	.section__header .eyebrow {
		grid-column: auto;
	}

	.application-section {
		grid-template-columns: 1fr;
	}

	.application-section__intro {
		justify-self: start;
		max-width: 760px;
	}
}

@media (max-width: 640px) {
	:root {
		--rimech-gutter: 1rem;
		--rimech-section: 3.75rem;
	}

	body {
		font-size: 16px;
	}

	.site-header__inner {
		grid-template-columns: minmax(125px, 1fr) auto auto;
		gap: 0.35rem;
		min-height: 88px;
		padding-left: 0.25rem;
	}

	.site-logo {
		max-width: 180px;
	}

	.site-logo img,
	.site-logo .custom-logo {
		height: 52px;
	}

	.menu-toggle__label {
		display: none;
	}

	.menu-toggle {
		min-width: 50px;
		padding: 0.65rem;
		border: 1px solid var(--rimech-accent);
	}

	.site-navigation {
		top: 88px;
		gap: 1rem;
		padding: 1rem;
	}

	.site-navigation .menu {
		gap: 0.4rem;
	}

	.page-hero {
		min-height: clamp(520px, 64svh, 620px);
		padding-top: 3.75rem;
		padding-bottom: 3.75rem;
	}

	.page-hero--home {
		min-height: clamp(560px, 70svh, 650px);
	}

	.page-hero__overlay {
		background: linear-gradient(0deg, rgba(12, 18, 13, 0.9), rgba(12, 18, 13, 0.18));
	}

	.page-hero h1 {
		margin-bottom: 1.15rem;
		font-size: clamp(2.65rem, 13vw, 3.9rem);
	}

	.page-hero__eyebrow,
	.eyebrow {
		margin-bottom: 0.8rem;
		letter-spacing: 0.14em;
	}

	.page-hero__text {
		margin-bottom: 1.5rem;
		font-size: 1rem;
	}

	.page-hero__scroll {
		display: none;
	}

	.rimech-card-grid,
	.rimech-stats,
	.contact-grid,
	.site-footer__grid,
	.rimech-gallery {
		grid-template-columns: 1fr;
	}

	.rimech-statement-card {
		padding: 2.25rem 1.25rem;
	}

	.rimech-split img,
	.contact-section__image img {
		min-height: 300px;
	}

	.rimech-service-detail__media {
		order: -1;
	}

	.rimech-card {
		min-height: 0;
		padding: 1.4rem;
	}

	.rimech-card--plain figure {
		margin: -1.4rem -1.4rem 1.25rem;
	}

	.rimech-sector-showcase .rimech-card--plain {
		min-height: 180px;
	}

	.rimech-process .rimech-card--plain {
		min-height: 0;
		padding-top: 1.25rem;
		padding-bottom: 1.25rem;
	}

	.rimech-gallery__item:nth-child(even) {
		margin-top: 0;
	}

	.rimech-gallery__item img {
		min-height: 300px;
	}

	.job-card,
	.site-footer__legal {
		align-items: flex-start;
		flex-direction: column;
	}

	.job-card .button {
		width: 100%;
	}

	.application-form__grid {
		grid-template-columns: 1fr;
		gap: 1.1rem;
	}

	.application-section {
		gap: 2rem;
	}

	.application-form {
		gap: 1.25rem;
		padding: 1.25rem;
		border-radius: 12px;
		box-shadow: 0 12px 35px rgba(11, 24, 14, 0.07);
	}

	.application-field input:not([type="checkbox"]):not([type="file"]),
	.application-field select,
	.application-field textarea,
	.application-field input[type="file"] {
		min-height: 56px;
		font-size: 16px;
	}

	.application-field input[type="file"] {
		display: block;
		padding: 0.65rem;
		line-height: 2;
	}

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

	.site-footer__legal nav {
		flex-wrap: wrap;
	}

	.site-footer__cta {
		gap: 1.5rem;
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}

	.site-footer__grid,
	.site-footer__legal {
		padding-right: 1.5rem;
		padding-left: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
