:root {
  --black: #090d10;
  --panel: #0f1519;
  --panel-2: #151c20;
  --text: #f6f5f2;
  --muted: #aeb7bc;
  --red: #f13238;
  --red-dark: #9f1820;
  --amber: #ffae21;
  --white-line: #fdfdf8;
  --border: rgba(255, 255, 255, 0.14);
  --mouse-x: 50vw;
  --mouse-y: 50vh;
  --line-px: 22px;
  --stripe-duration: 1.9s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--black);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select {
  font: inherit;
}

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

.page-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.05);
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--amber), #fff);
  transform: scaleX(0);
  transform-origin: left center;
}

html[dir="rtl"] .page-progress span {
  transform-origin: right center;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 360px;
  height: 360px;
  pointer-events: none;
  z-index: 4;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 50, 56, 0.15), rgba(241, 50, 56, 0) 68%);
  transform: translate(calc(var(--mouse-x) - 180px), calc(var(--mouse-y) - 180px));
  transition: transform 80ms linear;
  mix-blend-mode: screen;
}

.moving-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, transparent, black 34%, transparent 92%);
  animation: gridDrive 8s linear infinite;
}

@keyframes gridDrive {
  to {
    background-position: 0 68px, 0 0;
  }
}

.rm-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 68px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: clamp(22px, 5vw, 70px);
  padding: 0 clamp(18px, 4vw, 54px);
  background: rgba(7, 10, 12, 0.45);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rm-header.scrolled {
  background: rgba(7, 10, 12, 0.9);
}

.rm-brand img {
  width: clamp(98px, 9vw, 126px);
  height: auto;
}

.rm-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: clamp(20px, 3vw, 42px);
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  text-transform: uppercase;
}

.rm-nav a {
  position: relative;
  padding: 10px 0;
}

.rm-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 220ms ease;
}

.rm-nav a:hover::after {
  transform: scaleX(1);
}

.rm-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-link {
  padding: 10px 15px;
  font-size: 13px;
  border: 1px solid var(--border);
}

.lang-toggle {
  min-width: 48px;
  height: 42px;
  padding: 0 12px;
  color: var(--text);
  cursor: pointer;
  background: var(--red);
  border: 0;
}

.rm-hero {
  position: relative;
  min-height: 100vh;
  min-height: 820px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 106px clamp(22px, 6vw, 86px) 130px;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(90deg, rgba(6, 9, 12, 0.97) 0%, rgba(6, 9, 12, 0.86) 34%, rgba(6, 9, 12, 0.3) 66%, rgba(6, 9, 12, 0.55) 100%),
    linear-gradient(0deg, rgba(6, 9, 12, 0.85), transparent 48%),
    url("assets/road-marking/hero-road-marking.jpg");
  background-position: center, center, center right;
  background-size: cover;
  transform: scale(1.05);
  animation: cinematicPush 16s ease-in-out infinite alternate;
}

html[dir="rtl"] .hero-photo {
  transform: scaleX(-1) scale(1.05);
}

@keyframes cinematicPush {
  to {
    transform: scale(1.1) translateX(-1%);
  }
}

html[dir="rtl"] .hero-photo {
  animation: cinematicPushRtl 16s ease-in-out infinite alternate;
}

@keyframes cinematicPushRtl {
  to {
    transform: scaleX(-1) scale(1.1) translateX(-1%);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.overline {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
  text-transform: uppercase;
}

.rm-hero h1 {
  margin: 0 0 24px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(82px, 11vw, 156px);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[dir="rtl"] .rm-hero h1 {
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 1.15;
}

.hero-copy {
  max-width: 510px;
  margin: 0 0 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  font-weight: 600;
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease;
}

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

.action-primary {
  color: white;
  background: var(--red);
}

.action-ghost {
  border: 1px solid rgba(255, 255, 255, 0.27);
}

.hero-stats {
  position: absolute;
  left: clamp(22px, 6vw, 86px);
  right: clamp(22px, 6vw, 86px);
  bottom: 30px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 730px;
  border-top: 1px solid var(--border);
}

html[dir="rtl"] .hero-stats {
  left: auto;
}

.hero-stats div {
  padding: 18px 26px 0 0;
}

html[dir="rtl"] .hero-stats div {
  padding: 18px 0 0 26px;
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 46px;
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.road-perspective {
  position: absolute;
  bottom: -18%;
  right: -10%;
  width: 64%;
  height: 68%;
  z-index: -1;
  perspective: 520px;
  transform: rotate(-8deg);
  opacity: 0.7;
}

html[dir="rtl"] .road-perspective {
  right: auto;
  left: -10%;
  transform: scaleX(-1) rotate(-8deg);
}

.track-line {
  position: absolute;
  bottom: 0;
  width: 16px;
  height: 135%;
  background: repeating-linear-gradient(to top, #fff 0 48px, transparent 48px 108px);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
  transform: rotateX(56deg);
  animation: roadRun 1.4s linear infinite;
}

.line-a {
  right: 23%;
}

.line-b {
  right: 36%;
  opacity: 0.35;
}

@keyframes roadRun {
  to {
    background-position-y: 108px;
  }
}

.beacon-orbit {
  position: absolute;
  right: 25%;
  top: 30%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 174, 33, 0.65);
  border-radius: 50%;
  animation: beaconRing 2s ease-out infinite;
}

html[dir="rtl"] .beacon-orbit {
  right: auto;
  left: 25%;
}

@keyframes beaconRing {
  0% {
    transform: scale(0.2);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.visual-label {
  position: absolute;
  right: clamp(22px, 5vw, 66px);
  bottom: 28px;
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  text-transform: uppercase;
}

html[dir="rtl"] .visual-label {
  right: auto;
  left: clamp(22px, 5vw, 66px);
}

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  color: var(--black);
  background: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  white-space: nowrap;
}

.ticker div {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px 0;
  animation: tickerDrive 23s linear infinite;
}

.ticker i {
  display: inline-block;
  width: 54px;
  height: 7px;
  background: #fff;
  transform: skewX(-32deg);
}

@keyframes tickerDrive {
  to {
    transform: translateX(-50%);
  }
}

.rm-section {
  position: relative;
  z-index: 1;
  padding: clamp(66px, 8vw, 112px) clamp(20px, 6vw, 86px);
}

.section-title {
  max-width: 760px;
  margin: 0 0 clamp(34px, 5vw, 56px);
}

.section-title h2,
.process-lead h2,
.lineup-copy h2,
.contact-band h2 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.98;
  text-transform: uppercase;
}

html[dir="rtl"] .section-title h2,
html[dir="rtl"] .process-lead h2,
html[dir="rtl"] .lineup-copy h2,
html[dir="rtl"] .contact-band h2 {
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.25;
  text-transform: none;
}

.machines {
  background: #0c1114;
}

.machine-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.machine-tab {
  position: relative;
  min-height: 86px;
  padding: 15px 18px;
  color: var(--muted);
  text-align: start;
  cursor: pointer;
  background: var(--panel-2);
  border: 1px solid var(--border);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.machine-tab strong,
.machine-tab span {
  display: block;
}

.machine-tab strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
}

.machine-tab span {
  font-size: 12px;
}

.machine-tab.active {
  color: white;
  background: #221316;
  border-color: var(--red);
}

.machine-tab.active::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline: 0;
  height: 3px;
  background: var(--red);
}

.machine-display {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.machine-media {
  position: sticky;
  top: 108px;
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--border);
}

.machine-media img {
  width: 100%;
  height: min(630px, 66vh);
  object-fit: cover;
  background: #0b1014;
}

html[dir="rtl"] .machine-media img {
  transform: scaleX(-1);
}

.machine-media figcaption {
  padding: 13px 16px;
  color: var(--muted);
  font-size: 12px;
  background: #0c1114;
}

.machine-code {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.machine-details h3 {
  margin: 0 0 18px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1;
  text-transform: uppercase;
}

html[dir="rtl"] .machine-details h3 {
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
  text-transform: none;
}

.machine-description {
  margin: 0 0 29px;
  color: var(--muted);
  line-height: 1.75;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--border);
}

.spec-grid div {
  padding: 15px 15px 15px 0;
  border-bottom: 1px solid var(--border);
}

html[dir="rtl"] .spec-grid div {
  padding: 15px 0 15px 15px;
}

.spec-grid dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.spec-grid dd {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

.reference-note {
  margin: 28px 0 0;
  padding: 16px;
  color: #d7c4be;
  font-size: 13px;
  line-height: 1.6;
  background: rgba(241, 50, 56, 0.09);
  border-inline-start: 3px solid var(--red);
}

.simulator {
  background: #090d10;
}

.sim-layout {
  display: grid;
  grid-template-columns: minmax(300px, 370px) minmax(480px, 1fr);
  gap: clamp(22px, 4vw, 42px);
}

.control-panel {
  display: grid;
  gap: 28px;
  padding: clamp(22px, 3vw, 31px);
  background: var(--panel);
  border: 1px solid var(--border);
}

.control-panel label,
.control-panel fieldset {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.control-panel label > span,
.control-panel legend {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.control-panel output {
  float: right;
  color: white;
  font-weight: 600;
}

html[dir="rtl"] .control-panel output {
  float: left;
}

.control-panel select {
  width: 100%;
  padding: 13px 42px 13px 14px;
  color: #fff;
  background: #181f24;
  border: 1px solid var(--border);
}

.control-panel input[type="range"] {
  width: 100%;
  accent-color: var(--red);
}

.pattern-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pattern-buttons button {
  min-height: 44px;
  padding: 0 10px;
  color: var(--muted);
  cursor: pointer;
  background: #181f24;
  border: 1px solid var(--border);
}

.pattern-buttons button.active {
  color: #fff;
  border-color: var(--red);
  background: rgba(241, 50, 56, 0.15);
}

.config-readout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.config-readout div {
  padding: 13px;
  background: #181f24;
}

.config-readout span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.config-readout strong {
  font-size: 14px;
}

.road-stage {
  position: relative;
  min-height: 616px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 14%, rgba(255, 174, 33, 0.17), transparent 25%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.04), transparent 30%),
    repeating-linear-gradient(78deg, rgba(255, 255, 255, 0.015) 0 2px, transparent 2px 7px),
    #101519;
  border: 1px solid var(--border);
}

.road-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--stage-x, 60%) var(--stage-y, 40%), rgba(241, 50, 56, 0.14), transparent 32%);
}

.stage-label {
  position: absolute;
  top: 26px;
  left: 28px;
  right: 28px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.stage-label strong {
  color: #fff;
}

.stage-lights {
  position: absolute;
  right: 16%;
  top: 18%;
  width: 20px;
  height: 20px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--amber), 0 0 80px 36px rgba(255, 174, 33, 0.2);
  animation: beaconFlash 1.1s steps(2) infinite;
}

@keyframes beaconFlash {
  50% {
    opacity: 0.28;
  }
}

.stripe-bed {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 19%;
  height: 168px;
  transform: perspective(610px) rotateX(46deg) rotateZ(-5deg);
}

html[dir="rtl"] .stripe-bed {
  transform: perspective(610px) rotateX(46deg) rotateZ(5deg) scaleX(-1);
}

.stripe {
  position: absolute;
  left: 0;
  right: 0;
  top: 60px;
  height: var(--line-px);
  background: var(--white-line);
  box-shadow: 0 0 11px rgba(255, 255, 255, 0.6);
  transform-origin: right center;
  animation: stripeLay var(--stripe-duration) ease-out infinite;
}

.stripe-secondary {
  top: calc(60px + var(--line-px) + 26px);
  opacity: 0;
}

@keyframes stripeLay {
  0% {
    transform: scaleX(0.03);
    opacity: 0.4;
  }
  72%,
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.road-stage[data-pattern="dash"] .stripe-main {
  background: repeating-linear-gradient(90deg, var(--white-line) 0 116px, transparent 116px 170px);
}

.road-stage[data-pattern="double"] .stripe-secondary {
  opacity: 1;
}

.road-stage[data-pattern="parking"] .stripe-main {
  top: 28px;
  height: calc(var(--line-px) * 0.72);
  background:
    linear-gradient(90deg, transparent 0 18%, #fff 18% 20%, transparent 20% 44%, #fff 44% 46%, transparent 46% 70%, #fff 70% 72%, transparent 72%),
    #fff;
}

.road-stage[data-pattern="parking"] .stripe-secondary {
  opacity: 1;
  top: 112px;
  height: calc(var(--line-px) * 0.72);
  background: #fff;
}

.beads {
  position: absolute;
  top: 56px;
  left: 8%;
  right: 12%;
  height: calc(var(--line-px) + 8px);
  opacity: 0.64;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.96) 1px, transparent 2px);
  background-size: 17px 13px;
  animation: beadGlint 1.2s linear infinite;
}

@keyframes beadGlint {
  to {
    background-position: 17px 0;
  }
}

.sim-machine {
  position: absolute;
  right: 11%;
  bottom: 34%;
  width: clamp(170px, 23vw, 272px);
  height: 162px;
  animation: machineHover 3.2s ease-in-out infinite;
}

html[dir="rtl"] .sim-machine {
  right: auto;
  left: 11%;
  transform: scaleX(-1);
}

@keyframes machineHover {
  50% {
    translate: 0 -3px;
  }
}

.machine-body {
  position: absolute;
  right: 23px;
  bottom: 35px;
  width: 150px;
  height: 82px;
  background: linear-gradient(125deg, #ffce26, #da6d0a);
  box-shadow: 0 16px 20px rgba(0, 0, 0, 0.5);
}

[data-machine="round"] .machine-body {
  width: 92px;
  border-radius: 46px 46px 7px 7px;
  background: linear-gradient(90deg, #adb5b9, #fff, #929a9d);
}

[data-machine="square"] .machine-body {
  width: 112px;
  background: linear-gradient(100deg, #adb5b9, #f3f3f3, #939b9d);
}

[data-machine="cold"] .machine-body {
  height: 52px;
  bottom: 44px;
  width: 132px;
  background: linear-gradient(130deg, #1266bd, #49a1ed);
}

[data-machine="ride"] .machine-body {
  width: 174px;
  height: 92px;
}

.machine-wheel {
  position: absolute;
  bottom: 18px;
  width: 36px;
  height: 36px;
  background: #101010;
  border: 7px solid #2d3437;
  border-radius: 50%;
}

.wheel-front {
  left: 32px;
}

.wheel-back {
  right: 30px;
}

.paint-head {
  position: absolute;
  left: 3px;
  bottom: 28px;
  width: 45px;
  height: 10px;
  background: #afb8bd;
}

.paint-head::after {
  content: "";
  position: absolute;
  left: -6px;
  top: 9px;
  width: 52px;
  height: 3px;
  background: white;
  filter: drop-shadow(0 0 6px white);
}

.machine-beacon {
  position: absolute;
  right: 63px;
  bottom: 118px;
  width: 11px;
  height: 13px;
  background: var(--amber);
  border-radius: 7px 7px 2px 2px;
  box-shadow: 0 0 24px var(--amber);
}

.stage-meter {
  position: absolute;
  bottom: 30px;
  left: 30px;
  display: flex;
  align-items: baseline;
  gap: 15px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.stage-meter strong {
  color: white;
  font-size: 22px;
}

.process-band {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.88fr 1fr 1fr;
  gap: 16px;
  padding: 0 clamp(20px, 6vw, 86px) clamp(70px, 9vw, 110px);
}

.process-lead {
  align-self: center;
  padding-inline-end: clamp(12px, 3vw, 34px);
}

.process-lead p:not(.overline),
.lineup-copy p:not(.overline) {
  color: var(--muted);
  line-height: 1.75;
}

.process-image {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
}

.process-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.process-image:hover img {
  transform: scale(1.045);
}

html[dir="rtl"] .process-image img {
  transform: scaleX(-1);
}

html[dir="rtl"] .process-image:hover img {
  transform: scaleX(-1) scale(1.045);
}

.process-image figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  background: rgba(6, 9, 12, 0.72);
}

.source-material {
  padding-top: 0;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.material-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
}

.material-grid img {
  width: 100%;
  height: clamp(260px, 31vw, 390px);
  object-fit: cover;
  background: #0b1014;
  transition: transform 500ms ease;
}

.material-grid figure:hover img {
  transform: scale(1.045);
}

html[dir="rtl"] .material-grid img {
  transform: scaleX(-1);
}

html[dir="rtl"] .material-grid figure:hover img {
  transform: scaleX(-1) scale(1.045);
}

.material-grid figcaption {
  min-height: 72px;
  padding: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.lineup {
  position: relative;
  z-index: 1;
  min-height: min(72vh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(44px, 8vw, 92px) clamp(20px, 6vw, 86px);
  overflow: hidden;
}

.lineup > img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45);
}

html[dir="rtl"] .lineup > img {
  transform: scaleX(-1);
}

.lineup::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 9, 12, 0.88), rgba(6, 9, 12, 0.16));
}

html[dir="rtl"] .lineup::after {
  background: linear-gradient(-90deg, rgba(6, 9, 12, 0.88), rgba(6, 9, 12, 0.16));
}

.lineup-copy {
  max-width: 570px;
}

.visual-label.inline {
  position: static;
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 11px;
  background: rgba(0, 0, 0, 0.45);
}

.contact-band {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(390px, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 82px);
  padding: clamp(55px, 7vw, 82px) clamp(20px, 6vw, 86px);
  background: #13181b;
  border-top: 3px solid var(--red);
}

.contact-copy > p:not(.overline) {
  margin: 22px 0 30px;
  max-width: 500px;
  color: var(--muted);
  line-height: 1.7;
}

.rm-inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  padding: clamp(22px, 4vw, 34px);
  background: #090d10;
  border: 1px solid var(--border);
}

.rm-inquiry-form label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.rm-inquiry-form .wide,
.rm-inquiry-form button,
.rm-form-status {
  grid-column: 1 / -1;
}

.rm-inquiry-form input,
.rm-inquiry-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: #171d21;
  border: 1px solid var(--border);
}

.rm-inquiry-form textarea {
  min-height: 114px;
  resize: vertical;
}

.rm-inquiry-form input:focus,
.rm-inquiry-form textarea:focus {
  outline: 1px solid var(--red);
  border-color: var(--red);
}

.rm-form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.rm-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 6vw, 86px);
  color: var(--muted);
  background: #070a0c;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.rm-footer img {
  width: 188px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .rm-nav {
    display: none;
  }

  .rm-header {
    justify-content: space-between;
  }

  .machine-selector,
  .material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .machine-display,
  .sim-layout {
    grid-template-columns: 1fr;
  }

  .machine-media {
    position: static;
  }

  .road-stage {
    min-height: 520px;
  }

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

  .process-lead {
    grid-column: 1 / -1;
    margin-bottom: 26px;
  }

  .contact-band {
    grid-template-columns: 1fr;
  }

  .rm-inquiry-form {
    max-width: 700px;
  }
}

@media (max-width: 700px) {
  .rm-header {
    height: 58px;
    padding: 0 14px;
  }

  .rm-brand img {
    width: 92px;
  }

  .home-link {
    display: none;
  }

  .rm-hero {
    min-height: 760px;
    padding: 92px 20px 150px;
    align-items: start;
  }

  .hero-photo {
    background-image:
      linear-gradient(0deg, rgba(6, 9, 12, 0.97) 15%, rgba(6, 9, 12, 0.4) 65%, rgba(6, 9, 12, 0.64)),
      url("assets/road-marking/hero-road-marking.jpg");
    background-position: center, 68% center;
  }

  .rm-hero h1 {
    font-size: clamp(66px, 24vw, 88px);
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    bottom: 46px;
    gap: 10px;
  }

  .hero-stats div {
    padding: 14px 7px 0 0;
  }

  .hero-stats strong {
    font-size: 36px;
  }

  .hero-stats span {
    font-size: 11px;
  }

  .visual-label {
    bottom: 16px;
  }

  .beacon-orbit,
  .road-perspective {
    display: none;
  }

  .machine-selector,
  .spec-grid,
  .process-band,
  .material-grid {
    grid-template-columns: 1fr;
  }

  .machine-display {
    grid-template-columns: 1fr;
  }

  .machine-media img {
    height: auto;
    max-height: 520px;
  }

  .sim-layout {
    grid-template-columns: 1fr;
  }

  .road-stage {
    min-height: 430px;
  }

  .sim-machine {
    right: 3%;
    bottom: 39%;
  }

  html[dir="rtl"] .sim-machine {
    left: 3%;
  }

  .process-image,
  .process-image img {
    min-height: 280px;
  }

  .material-grid img {
    height: auto;
    max-height: 560px;
  }

  .lineup {
    min-height: 530px;
  }

  .contact-band,
  .rm-footer {
    display: block;
  }

  .contact-actions {
    margin-top: 28px;
  }

  .rm-inquiry-form {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .rm-footer img {
    margin-bottom: 15px;
  }

  .cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .cursor-glow {
    display: none;
  }
}
