/* Photographic part selector */
.part-deck {
  min-width: 0;
  background: #f5f8fa;
  color: var(--ink);
  box-shadow: 0 22px 52px #03142245;
}
.plate-image {
  aspect-ratio: 1.72;
  overflow: hidden;
  background: #bdc5ca;
}
.plate-image img, .route-view .factory-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plates figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}
.plates figcaption strong {
  display: block;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.14;
  font-weight: 640;
}
.plates figcaption p { margin-top: 3px; font-size: 15px; line-height: 1.35; color: #475e70; }
.plate-link {
  color: #174f95;
  font-weight: 650;
  white-space: nowrap;
  padding-block: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.plate-link:hover { color: #093773; }
.plate-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #bfcdd7; }
.plate-choices button {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  background: #e2e9ee;
  color: #28465d;
  border: 0;
  border-bottom: 4px solid transparent;
  font-size: 15px;
  line-height: 1.12;
  min-height: 58px;
  padding: 8px;
  transition: background .2s, border-color .2s;
}
.plate-choices button + button { border-left: 1px solid #c9d5de; }
.plate-choices button img { width: 39px; height: 32px; object-fit: cover; }
.plate-choices button:hover { background: #f1f5f8; }
.plate-choices button[aria-pressed="true"] { background: white; color: #11478d; border-bottom-color: var(--blue); font-weight: 650; }
.plate-choices button:focus-visible { outline-offset: -4px; }
.fact-strip a { font-weight: 590; font-size: clamp(18px, 1.9vw, 28px); line-height: 1.24; }
.fact-strip a:hover { color: #134fa2; text-decoration: underline; text-underline-offset: 5px; }

/* Two assembly entry points and a browsable manufacturing sequence */
.application-entry { padding-block: clamp(48px, 6vw, 92px); }
.application-pair { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 36px); }
.application-pair > a {
  position: relative;
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  color: #152f46;
  border-top: 2px solid #38628a;
  background: #edf2f5;
  overflow: hidden;
}
.application-pair a > div { padding: clamp(19px, 2vw, 32px); }
.application-pair h3 { font-size: clamp(23px, 2.2vw, 34px); line-height: 1.08; }
.application-pair p { margin: 10px 0 20px; color: #4a6071; line-height: 1.4; }
.application-pair a span { color: #124f9c; font-weight: 650; }
.application-pair img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; }
.application-pair a:hover span, .application-pair a:focus-visible span { text-decoration: underline; text-underline-offset: 4px; }
.route-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid #afc2d0; }
.route-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid #c0ced7;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 570;
  line-height: 1.2;
  transition: color .2s, padding .2s;
}
.route-list a span { color: #2766a2; }
.route-list a:is(:hover, :focus-visible) { color: #1052a8; padding-left: 12px; }
.route-view .factory-full img { aspect-ratio: 4/3; background: #c4cdd3; }
.route-view .factory-full figcaption { min-height: 1.3em; }

/* Differing reading environments for workshop, assembly and editorial pages */
.workshop-cover { color: white; background: linear-gradient(118deg, #0a2238, #123d5a); border-color: #25435a; }
.workshop-cover .crumb, .workshop-cover figcaption { color: #c9d9e5; }
.workshop-cover .crumb a { color: #a9cfff; }
.workshop-cover .split > div > p.lead { color: #dbe7ef; }
.application-cover { background: linear-gradient(110deg, #f8fafc, #e1eaf2 77%); }
.application-cover figure { border-bottom: 3px solid #175bc3; }
.application-cover figure figcaption { padding: 0 0 9px; }
.reference-cover { background: #f6f7f5; padding-bottom: clamp(32px, 4vw, 64px); }
.reference-cover .split { grid-template-columns: minmax(0, 1.23fr) minmax(0, .77fr); }
.reference-cover h1 { font-size: clamp(42px, 4.7vw, 72px); }
.reference-cover figure img { max-height: 350px; object-fit: cover; }
.reference-nav {
  display: flex;
  align-items: baseline;
  gap: 6px clamp(20px, 3vw, 42px);
  padding-block: 18px;
  border-bottom: 1px solid #bfd0dd;
  flex-wrap: wrap;
}
.reference-nav span { color: #3a5367; font-weight: 650; }
.reference-nav a { color: #154f92; text-decoration: underline; text-underline-offset: 4px; padding-block: 7px; }
.finish-photos { position: relative; aspect-ratio: 1.52; background: #a4adb4; --split: 50%; }
.finish-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finish-photos .finish-left { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.finish-photos input { margin: 0; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.finish-photos:focus-within { outline: 3px solid #1769ff; outline-offset: 4px; }
.finish-handle { position: absolute; left: clamp(1px, var(--split), calc(100% - 1px)); top: 0; height: 100%; width: 2px; background: #fff; box-shadow: 1px 0 3px #0d263a9c; font-size: 0; pointer-events: none; }
.finish-handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid white;
  color: white;
  background: #123d60;
  border-radius: 50%;
  font-size: 22px;
}
.finish-labels { display: flex; justify-content: space-between; padding-top: 10px; font-weight: 640; color: #23435c; }
@media (max-width: 960px) {
  .plate-choices button img { display: none; }
  .application-pair > a { grid-template-columns: 1fr; grid-template-rows: auto 138px; }
  .application-pair img { min-height: 0; object-position: center 48%; }
}
@media (max-width: 700px) {
  .reference-cover .split { grid-template-columns: minmax(0, 1fr); }
  .reference-nav { display: grid; gap: 2px; }
  .reference-nav a { padding-block: 8px; }
  .plate-image { aspect-ratio: 1.85; }
  .plates figcaption { padding: 10px 13px; align-items: flex-start; }
  .plates figcaption p { font-size: 14px; }
  .plate-link { font-size: 14px; }
  .plate-choices button { font-size: 14px; min-height: 46px; }
  .fact-strip a { font-size: 16px; }
  .application-pair { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .application-pair > a { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-rows: auto; }
  .application-pair img { min-height: 100%; }
  .route-view .factory-full img { aspect-ratio: 1.76; }
}
@media print {
  .reference-nav, .plate-choices { display: none; }
  .workshop-cover { color: #122e46; }
  .workshop-cover .split > div > p.lead, .workshop-cover figcaption { color: #20394a; }
}

.capability-route { align-items: start; }
.capability-route .route-list { margin-top: 0; }
.capability-route .route-list a { min-height: 80px; }
.capability-route .route-list strong { font-weight: 620; }
.capability-route .route-list small { display: block; font-size: 16px; line-height: 1.36; font-weight: 400; margin-top: 4px; color: #516779; }
.quality-grid .text-link { font-size: 15px; margin-top: 12px; }
.inspection-picker { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 86px); }
.inspection-picker .eyebrow { margin-bottom: 14px; }
.inspection-picker h2 { max-width: 13ch; }
.inspection-picker > div > p:not(.eyebrow) { color: #455e72; margin-top: 18px; font-size: 18px; line-height: 1.5; }
.inspection-choice { border-top: 1px solid #b6c9d8; }
.inspection-choice:last-child { border-bottom: 1px solid #b6c9d8; }
.inspection-choice summary { list-style: none; display: flex; justify-content: space-between; gap: 10px; padding: 19px 4px; font-size: clamp(19px, 2vw, 27px); font-weight: 600; line-height: 1.15; cursor: pointer; }
.inspection-choice summary::-webkit-details-marker { display: none; }
.inspection-choice summary span { color: #235ca6; transition: transform .2s; }
.inspection-choice[open] summary span { transform: rotate(45deg); }
.inspection-choice[open] summary { color: #145194; }
.inspection-choice > div { padding: 0 6px 24px 18px; border-left: 2px solid #89b6e1; margin: 0 0 16px 4px; }
.inspection-choice h3 { font-size: 23px; }
.inspection-choice p { margin: 9px 0 12px; line-height: 1.5; font-size: 17px; color: #435d71; }
@media (max-width: 700px) { .inspection-picker { grid-template-columns: minmax(0, 1fr); } }
@media print { .finish-section { display: block !important; } }

/* Each application has a direct entry from the home page. */
@media (min-width: 761px) {
  .application-pair { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .application-pair > a { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
  .application-pair img { height: clamp(140px, 14vw, 210px); min-height: 0; object-fit: contain; background: #e8eef1; }
}
.robot-study { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: clamp(24px, 5vw, 90px); padding-block: clamp(36px, 5vw, 82px); }
.robot-study h2 { margin-block: .25em; font-size: clamp(32px, 4.1vw, 58px); line-height: 1.04; }
.robot-study p { line-height: 1.5; color: #40586c; }
.robot-study .sample-choices { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.robot-study [hidden] { display: none; }
.sample-choices button { border: 1px solid #91a7b7; padding: 10px 14px; background: white; color: #193c57; font: inherit; cursor: pointer; }
.sample-choices button[aria-pressed="true"] { background: #143b5a; border-color: #143b5a; color: white; }
.sample-choices button:focus-visible { outline: 3px solid #377ed0; outline-offset: 2px; }
.sample-panels figure { background: #e9eef1; margin: 0; border-bottom: 3px solid #2466a8; }
.sample-panels img { display: block; width: 100%; height: clamp(160px, 18vw, 255px); object-fit: contain; padding: 12px; }
.sample-panels figcaption { display: block; padding: 12px 20px 18px; color: #17364c; background: #f4f7f8; }
.sample-panels figcaption p { margin-top: 4px; }
.application-cover:has(+ .robot-study) figure img { background: #e9eef1; max-height: 345px; object-fit: contain; }
@media (max-width: 760px) { .robot-study { grid-template-columns: 1fr; } }
