/*
 * OEM V4 static-review layer.
 * Loads after the production OEM stylesheet and contains only the proposed
 * information-architecture, sample-development, and usability changes.
 */

.oem-v4-sample-development {
  overflow: hidden;
  background: #e8eef0;
}

.oem-v4-sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  grid-template-areas:
    "visual copy"
    "visual steps"
    "visual boundary";
  gap: 34px clamp(48px, 6vw, 92px);
  align-items: start;
}

.oem-v4-sample-copy {
  display: block;
  grid-area: copy;
  max-width: 760px;
}

.oem-v4-sample-copy h2 {
  max-width: 720px;
  margin: 0;
  color: var(--v3-ink);
  font-size: clamp(42px, 4.1vw, 58px);
  line-height: 1.01;
  text-wrap: balance;
}

.oem-v4-sample-copy > p:not(.oem-v3-kicker) {
  max-width: 700px;
  margin: 22px 0 0;
  color: #435258;
  font-size: 17px;
  line-height: 1.68;
}

.oem-v4-sample-visual {
  position: relative;
  grid-area: visual;
  align-self: stretch;
  min-height: 760px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #aebbbf;
  background: #cfd8da;
}

.oem-v4-sample-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(8, 17, 20, 0.62) 100%);
  content: "";
  pointer-events: none;
}

.oem-v4-sample-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 760px;
  object-fit: cover;
  object-position: 51% center;
}

.oem-v4-sample-docket {
  position: absolute;
  right: 24px;
  bottom: 74px;
  left: 24px;
  z-index: 2;
  display: grid;
  gap: 7px;
  padding: 19px 22px;
  border-top: 2px solid var(--v3-gold);
  background: rgba(13, 25, 29, 0.9);
  color: #fff;
}

.oem-v4-sample-docket span {
  color: #c8d4d7;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.oem-v4-sample-docket strong {
  font-size: 19px;
  line-height: 1.28;
}

.oem-v4-sample-visual figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
}

.oem-v4-development-steps {
  grid-area: steps;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--v3-ink);
  list-style: none;
}

.oem-v4-development-steps li {
  display: grid;
  grid-template-columns: minmax(180px, 0.76fr) minmax(0, 1.24fr);
  gap: 26px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid #b9c5c8;
}

.oem-v4-development-steps li > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.oem-v4-development-steps li span {
  color: var(--v3-orange);
  font-size: 12px;
  font-weight: 1000;
  line-height: 1.4;
}

.oem-v4-development-steps h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.oem-v4-development-steps p {
  margin: 0;
  color: #4d5b60;
  font-size: 14px;
  line-height: 1.56;
}

.oem-v4-sample-boundary {
  grid-area: boundary;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding-top: 8px;
}

.oem-v4-sample-boundary p {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--v3-teal);
  color: #344247;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.58;
}

.oem-v4-sample-boundary .btn {
  min-height: 48px;
  white-space: nowrap;
}

.oem-v4-commercial-conditions {
  padding: 70px 0;
  color: #fff;
  background: #12282e;
}

.oem-v4-commercial-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: start;
}

.oem-v4-commercial-layout h2 {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: 38px;
  line-height: 1.06;
  text-wrap: balance;
}

.oem-v4-commercial-layout > div > p:not(.oem-v3-kicker) {
  max-width: 620px;
  margin: 20px 0 0;
  color: #c9d5d7;
  font-size: 16px;
  line-height: 1.65;
}

.oem-v4-commercial-layout dl {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.oem-v4-commercial-layout dl > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.56fr) minmax(0, 1.44fr);
  gap: 28px;
  padding: 21px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.oem-v4-commercial-layout dt {
  color: var(--v3-gold);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-transform: uppercase;
}

.oem-v4-commercial-layout dd {
  margin: 0;
  color: #e5ecee;
  font-size: 15px;
  line-height: 1.55;
}

.oem-v3 .oem-v3-form .oem-form-file-note,
.oem-v3-form .oem-form-file-note {
  font-size: 14px;
}

/* Preserve the narrow visual bars while giving each carousel tab a usable hit area. */
.oem-v3-factory-dots {
  gap: 0;
}

.oem-v3-factory-dots button,
.oem-v3-factory-dots button:hover,
.oem-v3-factory-dots button[aria-selected="true"] {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.oem-v3-factory-dots button::before {
  position: absolute;
  top: 20px;
  right: 7px;
  left: 7px;
  height: 4px;
  background: rgba(255, 255, 255, 0.34);
  content: "";
}

.oem-v3-factory-dots button[aria-selected="true"]::before {
  background: var(--v3-gold);
}

@media (max-width: 1100px) {
  .oem-v4-sample-layout {
    grid-template-columns: minmax(0, 0.74fr) minmax(460px, 1.26fr);
    gap: 30px 44px;
  }

  .oem-v4-sample-visual,
  .oem-v4-sample-visual img {
    min-height: 820px;
  }

  .oem-v4-sample-boundary {
    grid-template-columns: 1fr;
  }

  .oem-v4-sample-boundary .btn {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .oem-v4-sample-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "steps"
      "boundary";
    gap: 38px;
  }

  .oem-v4-sample-copy,
  .oem-v4-sample-visual,
  .oem-v4-development-steps,
  .oem-v4-sample-boundary {
    max-width: 720px;
  }

  .oem-v4-sample-copy {
    display: block;
  }

  .oem-v4-sample-visual,
  .oem-v4-sample-visual img {
    aspect-ratio: auto;
    min-height: 520px;
  }

  .oem-v4-development-steps {
    grid-template-columns: 1fr;
  }

  .oem-v4-development-steps li:nth-child(odd),
  .oem-v4-development-steps li:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .oem-v4-commercial-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .oem-v4-sample-copy h2 {
    font-size: 38px;
  }

  .oem-v4-sample-copy > p:not(.oem-v3-kicker) {
    font-size: 16px;
  }

  .oem-v4-sample-visual,
  .oem-v4-sample-visual img {
    min-height: 430px;
  }

  .oem-v4-development-steps li {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0 22px;
  }

  .oem-v4-commercial-conditions {
    padding: 58px 0;
  }

  .oem-v4-commercial-layout h2 {
    font-size: 34px;
  }

  .oem-v4-commercial-layout dl > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

}

@media (max-width: 460px) {
  .oem-v4-sample-layout {
    gap: 30px;
  }

  .oem-v4-sample-copy h2 {
    font-size: 34px;
  }

  .oem-v4-sample-visual,
  .oem-v4-sample-visual img {
    min-height: 390px;
  }

  .oem-v4-sample-docket {
    right: 14px;
    bottom: 84px;
    left: 14px;
    padding: 15px 16px;
  }

  .oem-v4-sample-visual figcaption {
    right: 14px;
    bottom: 16px;
    left: 14px;
  }

  .oem-v4-sample-boundary .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .oem-v3-factory-dots button,
  .oem-v3-factory-dots button:hover,
  .oem-v3-factory-dots button[aria-selected="true"] {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .oem-v3-factory-dots button::before {
    right: 7px;
    left: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oem-v4-sample-development *,
  .oem-v4-commercial-conditions * {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
  }
}
