/* OEM showcase: black surfaces, white line icons, CPS orange accents. */
body.content--production { --header-height: clamp(70px, 5.625vw, 108px); padding-top: var(--header-height); background: #000; }
body.content--production .site-header { background: #000; }
.production-showcase { --production-orange: #e95400; background: #000; color: #fff; }
.production-showcase *, .production-showcase *::before, .production-showcase *::after { box-sizing: border-box; }
.production-container { width: min(77.5%, 1490px); margin-inline: auto; }
.production-showcase button, .production-showcase a { -webkit-tap-highlight-color: transparent; }
.production-showcase a:focus-visible, .production-showcase button:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
/* Fragment navigation focuses the panel; do not frame the entire gallery. */
.production-panel:focus { outline: none; }
.production-stage { position: relative; height: calc(100svh - var(--header-height)); min-height: 500px; overflow: hidden; background: #101010; }
.production-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .75s ease, visibility .75s; }
.production-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.production-slide__poster, .production-slide__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.production-slide__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / 42%), rgb(0 0 0 / 10%) 75%); }
.production-slide__content { position: relative; z-index: 2; padding-inline: 5.5%; }
.production-slide__content h1, .production-slide__content h2 { max-width: 900px; margin: 0 0 30px; color: #fff; font-size: clamp(38px, 4.2vw, 80px); font-weight: 600; line-height: 1.2; letter-spacing: .08em; overflow-wrap: anywhere; text-shadow: none; }
:lang(ru) .production-slide__content h2 { font-size: clamp(32px, 3.3vw, 64px); }
.production-learn-more { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 13px 34px; border-radius: 30px; background: var(--production-orange); color: #fff; font-size: 18px; font-weight: 500; letter-spacing: .08em; text-decoration: none; }
.production-learn-more:hover { background: #ca4900; color: #fff; }
.production-arrow { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 48px; height: 64px; padding: 10px; border: 0; color: #fff; background: transparent; cursor: pointer; transform: translateY(-50%); }
.production-arrow:hover { color: var(--production-orange); }
.production-arrow svg { width: 28px; height: 32px; fill: currentColor; }
.production-arrow--prev { left: 8.5%; }
.production-arrow--next { right: 8.5%; }
.production-pagination { position: absolute; z-index: 2; bottom: 42px; left: 50%; display: flex; justify-content: center; transform: translateX(-50%); }
.production-dot { position: relative; display: block; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.production-dot::after { content: ""; position: absolute; inset: 9px; background: #fff; opacity: .8; border-radius: 50%; }
.production-dot.is-active::after { background: var(--production-orange); opacity: 1; }
.production-playback { position: absolute; z-index: 2; bottom: 38px; right: 10%; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / 55%); border-radius: 50%; background: rgb(0 0 0 / 25%); color: #fff; font-size: 18px; cursor: pointer; }
.production-banner { margin: 0; overflow: hidden; }
.production-banner > img { display: block; width: 100%; height: clamp(260px, 31.25vw, 600px); object-fit: cover; }
.production-icon-library { position: absolute; pointer-events: none; }
.production-nav { position: sticky; top: var(--header-height); z-index: 20; padding: 38px 0 22px; background: rgb(0 0 0 / 97%); }
.production-tabs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 16px; }
.production-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px; min-width: 0; padding: 8px 2px 20px; color: #fff; text-align: center; text-decoration: none; }
.production-tab svg { flex-shrink: 0; width: 58px; height: 58px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.production-tab span { font-size: 14px; line-height: 1.4; font-weight: 400; overflow-wrap: anywhere; }
.production-tab::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 32px; height: 3px; background: transparent; transform: translateX(-50%); }
.production-tab.is-active::after, .production-tab:hover::after { background: var(--production-orange); }
.production-tab:visited, .production-tab:hover { color: #fff; }
.production-tab:hover svg { transform: translateY(-3px); }
.production-panels { padding-top: 26px; padding-bottom: 64px; }
.production-panel { scroll-margin-top: calc(var(--header-height) + 180px); }
.production-panel[hidden] { display: none !important; }
.production-panel + .production-panel { margin-top: 60px; }
.production-showcase.is-initialized .production-panel { margin-top: 0; }
.production-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.production-gallery figure { min-width: 0; margin: 0; overflow: hidden; border-radius: 4px; background: #121212; }
.production-gallery a { display: block; overflow: hidden; }
.production-gallery figcaption { padding: 12px; color: #fff; font-size: 14px; text-align: center; }
.production-gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.production-gallery a:hover img { transform: scale(1.025); }
.production-gallery__lead { grid-column: 1 / -1; }
.production-gallery__lead img { aspect-ratio: 3.2 / 1; }
.production-gallery--factory figure:not(:first-child) img { aspect-ratio: 338 / 400; }
.production-gallery--research { grid-template-columns: 1.08fr 1fr; }
.production-gallery--research .production-gallery__lead { grid-column: 1; grid-row: span 2; }
.production-gallery--research .production-gallery__lead img { aspect-ratio: auto; object-fit: contain; }
.production-gallery--research figure:not(:first-child) img { aspect-ratio: 1118 / 682; }
.production-gallery--workshop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.production-gallery--workshop .production-gallery__lead { grid-column: span 2; grid-row: span 2; }
.production-gallery--workshop .production-gallery__lead img { aspect-ratio: auto; }
.production-gallery--systems { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.production-gallery--precision { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.production-gallery--portrait { display: block; }
.production-gallery--portrait figure { width: min(100%, 752px); margin-inline: auto; background: #000; }
.production-gallery--portrait img { height: auto; max-height: 680px; aspect-ratio: auto; object-fit: contain; }
.production-gallery--three, .production-gallery--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.production-gallery--three .production-gallery__lead img { aspect-ratio: 2 / 1; }
.production-gallery--pair .production-gallery__lead { grid-column: auto; }
.production-gallery--pair img { aspect-ratio: 3 / 2; }
.production-gallery--processes .production-gallery__lead img { aspect-ratio: 2 / 1; }
.production-gallery--workshop a { height: 100%; }
.production-gallery--systems img { object-fit: contain; background: #f5f6f7; }
.production-gallery--systems .production-gallery__lead img { aspect-ratio: 3 / 1; }
.production-copy { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 38px; padding: 0 0 42px; border-bottom: 1px solid #282828; }
.production-copy h2 { margin: 0; color: #fff; font-size: clamp(22px, 1.65vw, 30px); font-weight: 500; line-height: 1.4; }
.production-copy p { margin: 0 0 14px; color: #bbb; font-size: 16px; line-height: 1.8; }
.production-copy p:last-child { margin-bottom: 0; }
.production-copy__part h2, .production-copy__part h3 { margin: 0 0 18px; color: #fff; font-size: clamp(22px, 1.65vw, 30px); font-weight: 500; line-height: 1.4; }
.production-copy__part + .production-copy__part { margin-top: 14px; }
.production-copy .production-copy__subtitle { color: #fff; }
.production-highlights { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 20px 0 0; list-style: none; }
.production-highlights li { padding: 10px 16px; border: 1px solid #333; color: #ddd; font-size: 14px; line-height: 1.5; }
.production-overview-link { display: inline-block; margin-top: 32px; color: #ccc; font-size: 14px; text-decoration: underline; text-underline-offset: 6px; }
.production-overview-link:hover { color: #fff; }
@media (max-width: 1200px) {
  .production-container { width: 88%; }
  .production-tabs { gap: 10px; }
  .production-tab svg { width: 46px; height: 46px; }
  .production-arrow--prev { left: 2%; }
  .production-arrow--next { right: 2%; }
  .production-slide__content { padding-inline: 5%; }
  .production-nav { padding-top: 26px; }
  .production-tab span { font-size: 14px; }
}
@media (max-width: 900px) {
  .production-nav { padding: 18px 0 14px; }
  .production-tabs { display: flex; gap: 20px; width: 100%; padding-inline: 6%; padding-bottom: 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #555 #000; }
  .production-tab { flex: 0 0 104px; padding-bottom: 16px; }
  .production-tab span { overflow-wrap: anywhere; }
  .production-copy { grid-template-columns: 1fr; gap: 18px; }
  .production-gallery { gap: 10px; }
  .production-panel { scroll-margin-top: calc(var(--header-height) + 155px); }
}
@media (max-width: 600px) {
  body.content--production { --header-height: 60px; }
  .production-container { width: 92%; }
  .production-stage { min-height: 480px; height: calc(85svh - var(--header-height)); max-height: 800px; }
  .production-slide__content { padding-inline: 8%; }
  .production-slide__content h1, .production-slide__content h2 { font-size: 36px; letter-spacing: .04em; margin-bottom: 24px; }
  :lang(ru) .production-slide__content h2 { font-size: 28px; }
  .production-learn-more { padding: 12px 24px; font-size: 16px; }
  .production-arrow { width: 34px; padding: 8px; }
  .production-arrow svg { width: 18px; height: 24px; }
  .production-arrow--prev { left: 1%; }
  .production-arrow--next { right: 1%; }
  .production-pagination { bottom: 22px; }
  .production-dot { width: 26px; height: 30px; }
  .production-dot::after { inset: 10px 8px; }
  .production-playback { right: 5%; bottom: 58px; width: 36px; height: 36px; }
  .production-banner > img { height: 240px; }
  .production-tabs { width: 100%; padding-inline: 4%; gap: 12px; }
  .production-tab { flex-basis: 100px; gap: 8px; }
  .production-tab svg { width: 40px; height: 40px; }
  .production-tab span { font-size: 14px; }
  .production-panels { padding-top: 14px; padding-bottom: 40px; }
  .production-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .production-gallery__lead img { aspect-ratio: 2 / 1; }
  .production-gallery--research .production-gallery__lead { grid-column: 1; }
  .production-gallery--research figure:not(:first-child) img { aspect-ratio: auto; }
  .production-gallery--workshop .production-gallery__lead { grid-column: 1 / -1; grid-row: auto; }
  .production-gallery--workshop .production-gallery__lead img { aspect-ratio: 3 / 2; }
  .production-gallery--workshop figure:last-child, .production-gallery--systems figure:last-child { grid-column: 1 / -1; }
  .production-gallery--systems .production-gallery__lead img { aspect-ratio: 2 / 1; }
  .production-copy { margin-top: 26px; padding-bottom: 28px; gap: 14px; }
  .production-copy p { font-size: 16px; line-height: 1.75; }
}
@media (prefers-reduced-motion: reduce) {
  .production-showcase *, .production-showcase *::after { transition: none !important; scroll-behavior: auto !important; }
}
