.matching {
  display: grid;
  grid-template: "plate intro" auto "plate links" auto / minmax(0, .88fr) minmax(0, 1fr);
  align-content: center;
  align-items: end;
  column-gap: clamp(42px, 7.4vw, 118px);
  row-gap: clamp(22px, 2.4vw, 38px);
  padding-block: clamp(64px, 7.6vw, 120px);
}
.plate-photo {
  grid-area: plate;
  align-self: center;
  min-width: 0;
}
.matching-studio { position: relative; overflow: hidden; border-radius: var(--photo-radius, 14px); background: #dfdfda; contain: paint; }
.matching-studio img { display: block; width: 100%; height: auto; will-change: transform, opacity; backface-visibility: hidden; }
.matching-studio .studio-macro {
  position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; pointer-events: none;
}
.matching-studio small {
  position: absolute;
  inset-inline-start: 12px;
  inset-block-end: 12px;
  padding: 4px 8px; border-radius: 3px;
  background: rgb(250 249 244 / .94);
  color: #403f3b;
  font: 12px/1.4 var(--font-body);
}
.plate-photo figcaption {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 0 16px; padding: 4px 2px 0;
  color: var(--brand-ink);
}
.plate-code {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; width: fit-content;
  color: inherit; font: clamp(14px, 1.12vw, 19px)/1.3 var(--font-code);
}
.plate-code .arr { --len: 13px; color: #872b3b; }
.plate-code:is(:hover,:focus-visible) { color: #872b3b; }
.plate-code:is(:hover,:focus-visible) bdi { text-decoration: underline; text-underline-offset: .25em; }
.plate-source {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-sub);
  font: 14px/1.35 var(--font-body); text-decoration: underline; text-underline-offset: .25em;
}
.plate-source:is(:hover, :focus-visible) { color: #872b3b; }
.plate-photo figcaption a:focus-visible { outline: 2px solid var(--brand-focus); outline-offset: 2px; }
.matching-intro {
  grid-area: intro;
  padding-block-start: 5px;
}
.matching-intro .display {
  max-width: 15ch;
  font-size: clamp(48px, 5.2vw, 86px);
  overflow-wrap: anywhere;
}
.matching-intro p, .factory-copy p, .sales-tools > p {
  font: 400 clamp(16px, 1.15vw, 19px)/1.55 var(--font-body);
}
.matching-intro p { max-width: 45ch; margin-top: 17px; color: var(--brand-sub); }
.matching-links {
  grid-area: links;
  align-self: start;
  display: grid;
  border-top: 1px solid #aaa9a0;
}
.matching-links .guide-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 51px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--brand-line);
  font-size: clamp(16px, 1.18vw, 20px);
}
.matching-links .arr { --len: 22px; margin-inline-end: 7px; color: #902535; }
.matching-links .guide-row:is(:hover, :focus-visible) { color: #852536; background: #f3efea; }
:dir(rtl) .matching-links .arr, :dir(rtl) .factory-copy .arr, :dir(rtl) .contact-request .arr { rotate: 180deg; }

.factory { background: #202325; color: #faf8f2; }
.factory-inner { padding-block: clamp(60px, 6.6vw, 106px); }
.factory-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr);
  align-items: end;
  gap: clamp(30px, 5.4vw, 86px);
  margin-bottom: clamp(30px, 3.3vw, 53px);
}
.factory-heading .display, .sales-copy .display { font-size: clamp(44px, 5vw, 78px); overflow-wrap: anywhere; }
.factory-metrics {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px clamp(16px, 2.5vw, 36px);
  margin-bottom: clamp(26px, 3vw, 44px);
  padding-block: clamp(18px, 2vw, 28px);
  border-block: 1px solid #414648;
}
.factory-metrics > div {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; min-width: 0;
}
.factory-metrics dd {
  font: 400 clamp(26px, 2.6vw, 42px)/1.08 var(--font-code);
  letter-spacing: -.03em; color: #fff8ef; font-variant-numeric: tabular-nums;
}
html:lang(ar) .factory-metrics dd { letter-spacing: 0; }
.factory-metrics dt {
  font-size: 13px; line-height: 1.4; color: #b9bab3;
}
@media (max-width: 760px) {
  .factory-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
}
.factory-copy { max-width: 43ch; }
.factory-copy p { color: #d9d8d3; }
.factory-copy .text-link, .contact-location.text-link {
  min-height: 44px;
  padding-block: 9px 6px;
  border-color: currentColor;
}
.factory-copy .text-link { margin-top: 9px; }
.factory-copy .text-link:is(:hover, :focus-visible) { color: #fff; }
.factory :focus-visible { outline-color: #fff7e8; }
.plant-spread {
  display: grid;
  grid-template:
    "machine aisle" minmax(120px, 1fr)
    "machine front" minmax(120px, 1fr)
    "machine inspection" minmax(120px, 1fr) / minmax(0, 1.7fr) minmax(0, 1fr);
  min-height: clamp(410px, 36vw, 600px);
  gap: 0 clamp(18px, 2.5vw, 40px);
}
.plant-machine { grid-area: machine; }
.plant-aisle { grid-area: aisle; }
.plant-front { grid-area: front; }
.plant-inspection { grid-area: inspection; }
.plant-photo {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  color: #fff;
}
.plant-photo:is(:hover, :focus-visible) { color: #fff; }
.plant-photo:focus-visible { outline-offset: -3px; }
.plant-photo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.plant-machine { border-radius: var(--photo-radius, 14px); background: #363a3a; }
.plant-machine img, .plant-machine::after {
  position: absolute;
  inset: 0;
}
.plant-machine img { z-index: -2; object-position: 51% 47%; will-change: transform; backface-visibility: hidden; }
.plant-machine::after {
  z-index: -1;
  background: linear-gradient(to top, rgb(9 15 18 / .81), rgb(9 15 18 / .22) 30%, transparent 59%);
  content: "";
}
.plant-photo:not(.plant-machine) {
  grid-template-columns: minmax(90px, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  padding-block: 11px;
}
.plant-front, .plant-inspection { border-top: 1px solid #505452; }
.plant-photo:not(.plant-machine) img {
  position: absolute;
  grid-column: 1 / 2;
  inset-block: 11px;
  inset-inline-start: 0;
  height: calc(100% - 22px); border-radius: var(--thumb-radius, 7px);
}
.plant-aisle img { object-position: 50% 48%; }
.plant-front img { object-position: 48% 57%; }
.plant-inspection img { object-position: 46% 41%; }
.plant-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-width: 0;
}
.plant-photo:not(.plant-machine) .plant-caption { grid-column: 2; }
.plant-caption strong {
  font: 400 clamp(16px, 1.35vw, 23px)/1.2 var(--font-body);
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.plant-machine .plant-caption {
  align-self: end;
  align-items: end;
  padding: clamp(20px, 2.55vw, 40px);
}
.plant-machine strong { font: 400 clamp(44px, 4.6vw, 77px)/1 var(--font-display); letter-spacing: -.025em; }
.plant-caption small {
  display: block;
  margin-top: 10px;
  font: 400 clamp(12px, .95vw, 15px)/1.4 var(--font-code);
}
.plant-expand {
  position: relative;
  flex: none;
  width: 27px;
  height: 27px;
  color: #e0e0d8;
}
.plant-machine .plant-expand {
  width: 38px; height: 38px; border: 1px solid rgb(255 252 242 / .65);
  border-radius: 50%; color: #fff; background: rgb(20 24 22 / .28);
}
.plant-expand::before, .plant-expand::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.plant-expand::after { transform: translate(-50%, -50%) rotate(90deg); }
.plant-machine:is(:hover, :focus-visible) .plant-expand { background: #fbfaf6; color: #202325; border-color: #fbfaf6; }
.plant-photo:not(.plant-machine):is(:hover, :focus-visible) .plant-expand { color: #fff; }
.plant-photo:not(.plant-machine):is(:hover, :focus-visible) strong { text-decoration: underline; text-underline-offset: .18em; }
.plant-viewer { border-radius: var(--photo-radius, 14px); }

.sales-contact { background: #701e31; color: #fff8ef; }
.contact-inner {
  display: grid;
  grid-template: "heading form" auto "channels form" auto / minmax(0, 1fr) minmax(0, .96fr);
  gap: clamp(30px, 4vw, 64px) clamp(36px, 7.6vw, 122px);
  padding-block: clamp(64px, 7.6vw, 120px);
}
.sales-copy { grid-area: heading; }
.sales-copy .display { max-width: 11ch; }
.contact-location { margin-top: 20px; }
.sales-contact .contact-location:is(:hover, :focus-visible), .sales-channels a:is(:hover, :focus-visible) { color: white; }
.sales-contact :focus-visible { outline-color: #fff7e8; }
.sales-tools {
  grid-area: form;
  align-self: center;
  min-width: 0;
}
.sales-tools > p { max-width: 44ch; color: #fff5ee; }
.contact-request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(70px, .35fr);
  gap: 26px clamp(14px, 1.8vw, 28px); align-items: end;
  margin-top: clamp(24px, 2.6vw, 40px);
}
.contact-request label, .sales-channels span { display: block; font-size: 14px; line-height: 1.4; }
.contact-request label { min-width: 0; color: #f0d3d7; overflow-wrap: anywhere; }
.contact-request input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin-top: 4px;
  padding: 5px 2px;
  border: 0;
  border-bottom: 1px solid #c3909a;
  border-radius: 0;
  background: transparent;
  color: #fff8ef; caret-color: #fff8ef; color-scheme: dark;
  font: 400 clamp(17px, 1.38vw, 23px)/1.45 var(--font-code);
}
.contact-request input::placeholder { color: #e7c3ca; opacity: 1; }
.contact-request input:focus-visible { outline: 2px solid #fff1e4; outline-offset: 3px; }
.contact-request button {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  justify-self: start; max-width: 100%;
  min-height: 50px; padding: 10px 19px;
  border: 0; border-radius: var(--thumb-radius, 7px);
  background: #faf3e8;
  color: #5b1a29;
  font: 700 16px/1.35 var(--font-body);
  text-align: start;
  cursor: pointer;
}
.contact-request button .arr { --len: 19px; }
.contact-request button:is(:hover, :focus-visible) { background: white; color: #5b1226; }
.contact-request button:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.contact-request button:active { background: #e7d7c7; }
.sales-channels { grid-area: channels; align-self: end; display: grid; border-top: 1px solid #ab6f7c; }
.sales-channels > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 10px;
  padding-block: 5px;
  border-bottom: 1px solid #ab6f7c;
}
.sales-channels span { color: #f0dae0; }
.sales-channels a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: clamp(16px, 1.27vw, 21px);
  letter-spacing: -.025em;
}
.sales-channels .arr { --len: 12px; }
.sales-phone-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; }
.sales-phone-links a { white-space: nowrap; }
.sales-phone-links .sales-chat { font-size: 14px; text-decoration: underline; text-underline-offset: .2em; }
.sales-channels a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 900px) {
  .matching { grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); column-gap: 30px; }
  .factory-heading .display, .sales-copy .display { font-size: clamp(47px, 7vw, 64px); }
  .plant-spread { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .contact-inner { column-gap: 30px; }
}
@media (max-width: 700px) {
  .matching {
    grid-template: "intro" auto "plate" auto "links" auto / minmax(0, 1fr);
    gap: 22px;
    padding-block: 48px;
  }
  .matching-intro .display { font-size: clamp(42px, 10vw, 58px); }
  .matching-intro p { margin-top: 12px; }
  .factory-inner { padding-block: 48px; }
  .factory-heading { grid-template-columns: minmax(0, 1fr); gap: 17px; margin-bottom: 24px; }
  .factory-copy .text-link { margin-top: 4px; }
  .plant-spread {
    grid-template: "machine" auto "aisle" auto "front" auto "inspection" auto / minmax(0, 1fr);
    min-height: 0;
  }
  .plant-machine { aspect-ratio: 1.42; margin-bottom: 16px; }
  .plant-machine .plant-caption { padding: 17px; }
  .plant-machine strong { font-size: clamp(35px, 9vw, 48px); }
  .plant-caption small { margin-top: 4px; }
  .plant-photo:not(.plant-machine) {
    grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
    gap: 14px;
    min-height: 86px;
    padding-block: 12px;
  }
  .plant-expand { width: 26px; height: 26px; }
  .contact-inner {
    grid-template: "heading" auto "form" auto "channels" auto / minmax(0, 1fr);
    gap: 26px;
    padding-block: 48px;
  }
  .sales-copy .display { max-width: none; }
  .contact-location { margin-top: 8px; }
  .contact-request { margin-top: 22px; gap: 20px 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  .guide-row, .plant-expand, .contact-request button, .contact-request button .arr { transition: background-color .18s ease, color .18s ease; }
}
