/*
 * Manufacturing Capabilities V6
 * Real factory imagery, one interactive manufacturing chain, no decorative
 * English and no repeated split-image subpage template.
 */

.page-capabilities {
  --cap6-ink: #071116;
  --cap6-paper: #f3f5f4;
  --cap6-white: #ffffff;
  --cap6-blue: #07579f;
  --cap6-blue-deep: #063a68;
  --cap6-copper: #bf6f3d;
  --cap6-red: #d2342c;
  --cap6-line: #d7ddde;
  --cap6-muted: #66747a;
  --cap6-page: min(1440px, calc(100vw - 64px));
  background: var(--cap6-paper);
}

.page-capabilities.platform-experience .cap-v6-hero {
  position: relative;
  width: var(--cap6-page);
  min-height: 650px;
  margin: 32px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  color: var(--cap6-ink);
  background:
    linear-gradient(125deg, rgba(7, 87, 159, .055), transparent 46%),
    #fff;
  border: 1px solid var(--cap6-line);
  overflow: hidden;
}

.page-capabilities.platform-experience .cap-v6-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--cap6-copper) 0 18%, var(--cap6-blue) 18% 78%, #c5ccce 78%);
}

.page-capabilities.platform-experience .cap-v6-hero-copy,
.page-capabilities.platform-experience .cap-v6-hero > div:first-child {
  width: auto;
  min-height: 650px;
  padding: 70px clamp(46px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.page-capabilities.platform-experience .cap-v6-hero .breadcrumb {
  margin: 0 0 52px;
}

.page-capabilities.platform-experience .cap-v6-hero .eyebrow {
  margin-bottom: 22px;
  color: var(--cap6-blue);
  font-size: 12px;
  letter-spacing: .12em;
}

.page-capabilities.platform-experience .cap-v6-hero h1 {
  max-width: 960px;
  margin: 0;
  color: var(--cap6-ink);
  font-size: clamp(58px, 6vw, 92px);
  font-weight: 620;
  line-height: .98;
  letter-spacing: -.07em;
}

.page-capabilities.platform-experience .cap-v6-hero h1 br {
  display: block;
}

.page-capabilities.platform-experience .cap-v6-hero h1 span {
  display: inline-block;
  margin: 0;
  color: var(--cap6-ink);
}

.page-capabilities.platform-experience .cap-v6-hero .sub-hero-lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: var(--cap6-muted) !important;
  font-size: 16px;
  line-height: 1.9;
}

.cap-v6-hero-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.cap-v6-hero-actions .button {
  min-width: 178px;
  justify-content: space-between;
  background: var(--cap6-red);
}

.cap-v6-text-link {
  padding: 12px 0;
  color: var(--cap6-ink);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid #9ea8ac;
}

.cap-v6-text-link span {
  margin-left: 32px;
}

.cap-v6-hero-rail {
  position: relative;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  background: var(--cap6-ink);
}

.cap-v6-hero-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--cap6-copper);
}

.cap-v6-hero-rail > div {
  padding: 34px 34px 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.cap-v6-hero-rail > div:last-child {
  border-bottom: 0;
}

.cap-v6-hero-rail span {
  margin-bottom: 11px;
  color: #8ebfe2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.cap-v6-hero-rail strong {
  color: #fff;
  font-size: 22px;
  font-weight: 560;
}

.cap-v6-section {
  padding: 136px max(32px, calc((100vw - 1440px) / 2));
}

.cap-v6-heading {
  margin-bottom: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .6fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: end;
}

.cap-v6-heading .eyebrow {
  margin-bottom: 20px;
  color: var(--cap6-blue);
}

.cap-v6-heading h2 {
  max-width: 900px;
  margin: 0;
  color: var(--cap6-ink);
  font-size: clamp(50px, 5.2vw, 78px);
  font-weight: 590;
  line-height: 1.03;
  letter-spacing: -.06em;
}

.cap-v6-heading > p {
  margin: 0 0 8px;
  color: var(--cap6-muted);
  font-size: 14px;
  line-height: 1.9;
}

.cap-v6-chain {
  color: #fff;
  background: var(--cap6-ink);
}

.cap-v6-chain .cap-v6-heading h2 {
  color: #fff;
}

.cap-v6-chain .cap-v6-heading .eyebrow {
  color: #90c7ee;
}

.cap-v6-chain .cap-v6-heading > p {
  color: #aebbc1;
}

.cap-v6-stage-board {
  height: 650px;
  display: flex;
  gap: 2px;
  overflow: hidden;
  background: #1d2a30;
}

.cap-v6-stage {
  min-width: 0;
  flex: 1 1 0;
  transition: flex .72s cubic-bezier(.22, 1, .36, 1);
}

.cap-v6-stage.is-active {
  flex-grow: 2.45;
}

.cap-v6-stage button {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  color: #fff;
  text-align: left;
  background: #101b20;
  border: 0;
  cursor: pointer;
}

.cap-v6-stage button:focus-visible {
  outline: 3px solid #8fcdf8;
  outline-offset: -5px;
}

.cap-v6-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.05);
  transition: transform .9s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}

.cap-v6-stage:nth-child(1) img { object-position: 47% center; }
.cap-v6-stage:nth-child(2) img { object-position: 68% center; }
.cap-v6-stage:nth-child(3) img { object-position: 67% center; }
.cap-v6-stage:nth-child(4) img { object-position: 48% center; }

.cap-v6-stage.is-active img {
  transform: scale(1.035);
  filter: saturate(.92) contrast(1.04);
}

.cap-v6-stage-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 11, 15, .05) 28%, rgba(4, 11, 15, .9) 100%),
    linear-gradient(90deg, rgba(4, 11, 15, .28), transparent 54%);
}

.cap-v6-stage-copy {
  position: absolute;
  right: 32px;
  bottom: 36px;
  left: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cap-v6-stage-copy small {
  margin-bottom: 15px;
  color: #98cef2;
  font-size: 10px;
  font-style: normal;
  font-weight: 720;
  letter-spacing: .1em;
  white-space: nowrap;
}

.cap-v6-stage-copy strong {
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 560;
  line-height: 1.08;
  white-space: nowrap;
}

.cap-v6-stage-copy em {
  max-width: 430px;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: #d7e0e3;
  font-size: 13px;
  font-style: normal;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(12px);
  transition: max-height .45s ease, margin .45s ease, opacity .35s ease .1s, transform .45s ease;
}

.cap-v6-stage.is-active .cap-v6-stage-copy em {
  max-height: 90px;
  margin-top: 18px;
  opacity: 1;
  transform: translateY(0);
}

.cap-v6-routes {
  background: #fff;
}

.cap-v6-heading.is-centered {
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: center;
}

.cap-v6-heading.is-centered h2,
.cap-v6-heading.is-centered > p {
  margin-right: auto;
  margin-left: auto;
}

.cap-v6-heading.is-centered > p {
  max-width: 780px;
}

.cap-v6-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cap-v6-route {
  min-width: 0;
  background: var(--cap6-paper);
  border: 1px solid var(--cap6-line);
}

.cap-v6-route-media {
  position: relative;
  height: 520px;
  display: block;
  overflow: hidden;
  background: #dbe1e1;
}

.cap-v6-route-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(7, 17, 22, .62));
}

.cap-v6-route-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), filter .45s ease;
}

.cap-v6-route:first-child .cap-v6-route-media img { object-position: 65% center; }
.cap-v6-route:last-child .cap-v6-route-media img { object-position: 48% center; }

.cap-v6-route-media > span {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 25px;
  left: 30px;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
}

.cap-v6-route-copy {
  padding: 42px 44px 46px;
}

.cap-v6-route-copy .eyebrow {
  margin: 0 0 15px;
}

.cap-v6-route-copy h3 {
  margin: 0 0 20px;
  color: var(--cap6-ink);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 570;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.cap-v6-route-copy > p:not(.eyebrow) {
  max-width: 590px;
  color: var(--cap6-muted);
  font-size: 14px;
  line-height: 1.85;
}

.cap-v6-route-copy ul {
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--cap6-line);
}

.cap-v6-route-copy li {
  min-height: 49px;
  padding: 14px 0;
  color: #2d3b41;
  font-size: 12px;
  border-bottom: 1px solid var(--cap6-line);
}

.cap-v6-route-copy li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 14px 1px 1px;
  display: inline-block;
  background: var(--cap6-copper);
}

.cap-v6-route-copy > a {
  display: flex;
  justify-content: space-between;
  color: var(--cap6-blue);
  font-size: 13px;
  font-weight: 720;
}

.cap-v6-workshop {
  background: var(--cap6-paper);
}

.cap-v6-workshop-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr 1.15fr;
  gap: 12px;
}

.cap-v6-workshop-card {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  background: #d7dddd;
}

.cap-v6-workshop-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), filter .45s ease;
}

.cap-v6-workshop-card:nth-child(1) img { object-position: 56% center; }
.cap-v6-workshop-card:nth-child(2) img { object-position: 53% center; }
.cap-v6-workshop-card:nth-child(3) img { object-position: 58% center; }
.cap-v6-workshop-card:nth-child(4) img { object-position: center; }

.cap-v6-workshop-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(7, 17, 22, .88) 100%);
}

.cap-v6-workshop-card figcaption {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 27px;
  left: 26px;
  color: #fff;
}

.cap-v6-workshop-card figcaption span {
  font-size: 24px;
  font-weight: 600;
}

.cap-v6-workshop-card figcaption p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: #d1dcdf;
  font-size: 12px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(10px);
  transition: max-height .4s ease, margin .4s ease, opacity .35s ease, transform .4s ease;
}

.cap-v6-output {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7, 87, 159, .25), transparent 48%),
    var(--cap6-ink);
}

.cap-v6-output .cap-v6-heading h2 {
  color: #fff;
}

.cap-v6-output .cap-v6-heading .eyebrow {
  color: #94caf0;
}

.cap-v6-output .cap-v6-heading > p {
  color: #adbac0;
}

.cap-v6-output-ledger {
  border-top: 1px solid rgba(255, 255, 255, .52);
}

.cap-v6-output-ledger article {
  min-height: 128px;
  padding: 24px 8px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  transition: padding .35s ease, background .35s ease;
}

.cap-v6-output-ledger article > span {
  color: #88bfe6;
  font-size: 12px;
  font-weight: 700;
}

.cap-v6-output-ledger h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 560;
}

.cap-v6-output-ledger p {
  margin: 0;
  color: #9eacb2;
  font-size: 13px;
  line-height: 1.7;
}

.cap-v6-output-actions {
  margin-top: 46px;
  display: flex;
  gap: 12px;
}

.cap-v6-output-actions a {
  min-width: 230px;
  min-height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, .28);
}

.cap-v6-cta {
  padding: 92px max(32px, calc((100vw - 1440px) / 2));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
  color: var(--cap6-ink);
  background: #fff;
  border-top: 0;
}

.cap-v6-cta .eyebrow {
  margin-bottom: 17px;
}

.cap-v6-cta h2 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(42px, 4.6vw, 68px);
  font-weight: 590;
  line-height: 1.06;
  letter-spacing: -.055em;
}

.cap-v6-cta .button {
  min-width: 200px;
  flex: 0 0 auto;
  justify-content: space-between;
  background: var(--cap6-red);
}

@media (hover: hover) and (pointer: fine) {
  .cap-v6-route:hover .cap-v6-route-media img,
  .cap-v6-workshop-card:hover img {
    transform: scale(1.075);
    filter: saturate(1) contrast(1.02);
  }

  .cap-v6-workshop-card:hover figcaption p {
    max-height: 90px;
    margin-top: 13px;
    opacity: 1;
    transform: translateY(0);
  }

  .cap-v6-output-ledger article:hover {
    padding-right: 26px;
    padding-left: 26px;
    background: rgba(255, 255, 255, .055);
  }

  .cap-v6-output-actions a:hover {
    color: var(--cap6-ink);
    background: #fff;
  }
}

@media (max-width: 1100px) {
  .page-capabilities.platform-experience .cap-v6-hero {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .page-capabilities.platform-experience .cap-v6-hero h1 {
    font-size: clamp(54px, 7vw, 76px);
  }

  .cap-v6-stage-board {
    height: 560px;
  }

  .cap-v6-route-media {
    height: 430px;
  }

  .cap-v6-workshop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cap-v6-workshop-card {
    min-height: 450px;
  }

  .cap-v6-workshop-card figcaption p {
    max-height: 90px;
    margin-top: 12px;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .page-capabilities {
    --cap6-page: calc(100vw - 24px);
  }

  .page-capabilities.platform-experience .cap-v6-hero {
    margin-top: 12px;
    grid-template-columns: 1fr;
  }

  .page-capabilities.platform-experience .cap-v6-hero-copy,
  .page-capabilities.platform-experience .cap-v6-hero > div:first-child {
    min-height: 0;
    padding: 42px 24px 44px 28px;
  }

  .page-capabilities.platform-experience .cap-v6-hero .breadcrumb {
    margin-bottom: 38px;
  }

  .page-capabilities.platform-experience .cap-v6-hero h1 {
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -.045em;
  }

  .page-capabilities.platform-experience .cap-v6-hero .sub-hero-lead {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.8;
  }

  .cap-v6-hero-actions {
    margin-top: 31px;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .cap-v6-hero-actions .button {
    width: 100%;
  }

  .cap-v6-text-link {
    display: flex;
    justify-content: space-between;
  }

  .cap-v6-hero-rail {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  .cap-v6-hero-rail > div {
    min-height: 118px;
    padding: 22px 18px 20px 22px;
    border-right: 1px solid rgba(255, 255, 255, .13);
  }

  .cap-v6-hero-rail strong {
    font-size: 16px;
  }

  .cap-v6-section {
    padding: 86px 16px;
  }

  .cap-v6-heading,
  .cap-v6-heading.is-centered {
    margin-bottom: 40px;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }

  .cap-v6-heading h2 {
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -.045em;
  }

  .cap-v6-heading.is-centered h2,
  .cap-v6-heading.is-centered > p {
    margin-left: 0;
  }

  .cap-v6-stage-board {
    height: auto;
    display: grid;
    gap: 8px;
    background: transparent;
  }

  .cap-v6-stage,
  .cap-v6-stage.is-active {
    min-height: 360px;
  }

  .cap-v6-stage-copy {
    right: 22px;
    bottom: 25px;
    left: 22px;
  }

  .cap-v6-stage-copy strong {
    font-size: 28px;
  }

  .cap-v6-stage-copy em,
  .cap-v6-stage.is-active .cap-v6-stage-copy em {
    max-height: 90px;
    margin-top: 13px;
    opacity: 1;
    transform: none;
  }

  .cap-v6-route-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cap-v6-route-media {
    height: 330px;
  }

  .cap-v6-route-copy {
    padding: 31px 24px 35px;
  }

  .cap-v6-route-copy h3 {
    font-size: 30px;
  }

  .cap-v6-workshop-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cap-v6-workshop-card {
    min-height: 360px;
  }

  .cap-v6-output-ledger article {
    min-height: 0;
    padding: 25px 0;
    grid-template-columns: 46px 1fr;
    gap: 8px;
  }

  .cap-v6-output-ledger h3 {
    font-size: 20px;
  }

  .cap-v6-output-actions {
    flex-direction: column;
  }

  .cap-v6-output-actions a {
    width: 100%;
  }

  .cap-v6-cta {
    padding: 72px 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 38px;
  }

  .cap-v6-cta h2 {
    font-size: 34px;
    line-height: 1.1;
  }

  .cap-v6-cta .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cap-v6-stage,
  .cap-v6-stage img,
  .cap-v6-route-media img,
  .cap-v6-workshop-card img,
  .cap-v6-workshop-card figcaption p,
  .cap-v6-output-ledger article {
    transition: none;
  }
}
