/* Furniture OEM infographic based on the supplied reference */
main#top > .furniture-oem-visual {
  --f-oem-navy: #001f42;
  --f-oem-blue: #06365f;
  --f-oem-gold: #c89432;
  --f-oem-line: #dce0e3;
  position: relative;
  padding: clamp(62px, 6vw, 92px) 0 clamp(66px, 7vw, 102px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(202, 154, 63, .055), transparent 28%),
    linear-gradient(180deg, #fff, #fcfcfb);
  color: var(--f-oem-navy);
}

main#top > .furniture-oem-visual::before {
  content: none;
}

.furniture-oem-visual__inner {
  width: min(calc(100% - 44px), 1480px);
  margin-inline: auto;
}

.furniture-oem-visual__header {
  margin-bottom: 26px;
  text-align: center;
}

main#top > .furniture-oem-visual .furniture-oem-visual__header > p:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin: 0;
  color: var(--f-oem-gold);
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.8vw, 29px);
  font-weight: 500;
  letter-spacing: .06em;
}

.furniture-oem-visual__header > p:first-child span {
  width: 56px;
  height: 1px;
  background: var(--f-oem-gold);
}

main#top > .furniture-oem-visual .furniture-oem-visual__header h2 {
  margin: 14px 0 0;
  color: var(--f-oem-navy);
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.65vw, 56px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .07em;
  text-align: center;
}

main#top > .furniture-oem-visual .furniture-oem-visual__lead {
  margin: 10px 0 0;
  color: #252d36;
  font-size: clamp(15px, 1.22vw, 19px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .03em;
  text-align: center;
}

.furniture-oem-visual__cards {
  display: grid;
  gap: 14px;
}

.furniture-oem-card {
  display: grid;
  grid-template-columns: minmax(238px, 282px) minmax(0, 1fr);
  gap: clamp(22px, 2.5vw, 38px);
  align-items: center;
  min-width: 0;
  padding: clamp(24px, 2.2vw, 34px) clamp(24px, 2.35vw, 36px);
  border: 1px solid #dfe2e4;
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 15px rgba(18, 38, 57, .035);
}

.furniture-oem-card__copy {
  align-self: start;
}

.furniture-oem-card__number {
  display: block;
  margin-bottom: 14px;
  color: var(--f-oem-gold);
  font-family: var(--font-en);
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 500;
  line-height: 1;
}

.furniture-oem-card__copy h3 {
  margin: 0;
  color: var(--f-oem-navy);
  font-family: var(--font-heading);
  font-size: clamp(22px, 1.8vw, 27px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .055em;
}

main#top > .furniture-oem-visual .furniture-oem-card__copy p {
  margin: 18px 0 0;
  color: #1f2933;
  font-size: clamp(13px, 1.02vw, 16px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .025em;
}

.furniture-build-flow {
  display: grid;
  grid-template-columns:
    minmax(150px, 1.08fr) 28px
    minmax(200px, 1.28fr) 28px
    minmax(150px, 1fr) 28px
    minmax(138px, .86fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.furniture-oem-scroll {
  min-width: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 31, 66, .24) transparent;
}

.furniture-build-flow__stage {
  position: relative;
  min-width: 0;
  text-align: center;
}

.furniture-build-flow__stage h4 {
  margin: 0 0 12px;
  color: var(--f-oem-navy);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .03em;
}

.furniture-reference-photo {
  position: relative;
  height: 220px;
}

.furniture-reference-photo img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  object-position: 62% center;
  box-shadow: 0 12px 24px rgba(17, 34, 48, .11);
}

.furniture-flow-arrow,
.furniture-space-arrow {
  position: relative;
  display: block;
  width: 100%;
  height: 26px;
  background: linear-gradient(90deg, var(--f-oem-blue), var(--f-oem-navy));
  clip-path: polygon(0 25%, 62% 25%, 62% 0, 100% 50%, 62% 100%, 62% 75%, 0 75%);
}

.furniture-build-flow__specs::before {
  content: "";
  position: absolute;
  inset: 22px -10px -8px;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 169, 75, .18), transparent 67%);
  pointer-events: none;
}

.furniture-spec-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 10px;
}

.furniture-spec-grid > div {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--f-oem-navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.furniture-spec-grid svg {
  width: 64px;
  height: 64px;
  padding: 14px;
  border: 1px solid rgba(1, 31, 65, .27);
  border-radius: 50%;
  background: rgba(255, 255, 255, .86);
}

.furniture-spec-grid > div:nth-child(3n + 1) svg {
  border-color: rgba(200, 148, 50, .65);
}

.furniture-spec-grid svg,
.furniture-room-plan svg,
.furniture-project-conditions svg,
.furniture-delivery-badge svg,
.furniture-oem-visual__summary svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.furniture-build-flow__sample {
  display: grid;
  grid-template-columns: 1fr .58fr;
  grid-template-rows: auto 126px 72px;
  gap: 8px;
}

.furniture-build-flow__sample h4 {
  grid-column: 1 / -1;
}

.furniture-sample-materials {
  grid-column: 1 / -1;
  width: 100%;
  height: 126px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(17, 34, 48, .09);
}

.furniture-sample-chair {
  grid-column: 2;
  width: 100%;
  height: 84px;
  margin-top: -15px;
  object-fit: contain;
  filter: drop-shadow(0 7px 7px rgba(16, 32, 48, .16));
}

.furniture-finished-product {
  position: relative;
  display: grid;
  height: 238px;
  place-items: center;
}

.furniture-finished-product img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 12px rgba(16, 32, 48, .15));
}

.furniture-oem-card--space {
  min-height: 350px;
}

.furniture-space-map {
  display: grid;
  grid-template-columns: minmax(290px, 1.6fr) 30px minmax(190px, .84fr) 36px minmax(176px, .68fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.furniture-room-plan {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  height: auto;
  margin: 0;
}

.furniture-room-plan > img {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(18, 38, 57, .13);
}

.room-item {
  position: relative;
  display: grid;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 62px;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 7px 5px 6px;
  border: 1px solid var(--f-oem-navy);
  border-radius: 7px;
  background: #fff;
  color: var(--f-oem-navy);
  box-shadow: 0 4px 10px rgba(17, 34, 48, .06);
}

.room-item::after {
  content: none;
}

.room-item svg {
  width: 26px;
  height: 26px;
  transform: none;
}

.room-item b {
  position: static;
  width: 100%;
  color: var(--f-oem-navy);
  font-size: 10px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  transform: none;
}

.room-item--bed,
.room-item--desk,
.room-item--chair,
.room-item--night,
.room-item--storage,
.room-item--sofa,
.room-item--table {
  inset: auto;
}

.furniture-plus {
  color: var(--f-oem-navy);
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 500;
  text-align: center;
}

.furniture-project-conditions {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #dfe2e4;
  border-radius: 10px;
  background: #fff;
  list-style: none;
}

.furniture-project-conditions li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  color: var(--f-oem-navy);
}

.furniture-project-conditions svg {
  width: 38px;
  height: 38px;
  color: var(--f-oem-gold);
}

.furniture-project-conditions strong,
.furniture-project-conditions span {
  display: block;
}

.furniture-project-conditions strong {
  font-size: 14px;
  line-height: 1.3;
}

.furniture-project-conditions span {
  margin-top: 3px;
  color: #5a6470;
  font-size: 10px;
  line-height: 1.35;
}

.furniture-delivery-badge {
  display: grid;
  width: 176px;
  height: 176px;
  place-content: center;
  justify-items: center;
  gap: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 22%, #0b4778, var(--f-oem-navy) 68%);
  color: #fff;
  text-align: center;
  box-shadow: 0 16px 30px rgba(0, 31, 66, .18);
}

.furniture-delivery-badge svg {
  width: 54px;
  height: 54px;
  color: var(--f-oem-gold);
}

.furniture-delivery-badge strong {
  font-size: 14px;
  line-height: 1.3;
}

.furniture-delivery-badge span {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

main#top > .furniture-oem-visual .furniture-oem-visual__summary {
  display: flex;
  width: min(100% - 130px, 1020px);
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 18px auto 0;
  padding: 10px 28px;
  border: 1px solid rgba(200, 148, 50, .72);
  border-radius: 10px;
  color: var(--f-oem-navy);
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.25vw, 19px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .025em;
  text-align: center;
}

.furniture-oem-visual__summary svg {
  width: 58px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--f-oem-gold);
  stroke-width: 2.4;
}

@media (max-width: 1180px) {
  .furniture-oem-scroll {
    overflow-x: auto;
  }

  .furniture-oem-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .furniture-build-flow {
    min-width: 0;
  }

  .furniture-space-map {
    min-width: 0;
  }

}

@media (max-width: 820px) {
  .furniture-oem-visual__inner {
    width: min(calc(100% - 26px), 1480px);
  }

  main#top > .furniture-oem-visual .furniture-oem-visual__header > p:first-child {
    gap: 16px;
    font-size: 17px;
  }

  .furniture-oem-visual__header > p:first-child span {
    width: 28px;
  }

  main#top > .furniture-oem-visual .furniture-oem-visual__header h2 {
    font-size: clamp(28px, 8.3vw, 40px);
    letter-spacing: .035em;
  }

  .furniture-oem-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding: 22px 18px 26px;
  }

  .furniture-oem-card__copy {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .furniture-oem-card__number {
    grid-row: 1 / 3;
    margin: 0;
    font-size: 42px;
  }

  .furniture-oem-card__copy h3 {
    font-size: 23px;
  }

  .furniture-oem-card__copy h3 br {
    display: none;
  }

  main#top > .furniture-oem-visual .furniture-oem-card__copy p {
    grid-column: 2;
    margin-top: 3px;
    font-size: 13px;
  }

  .furniture-build-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
  }

  .furniture-space-map {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    min-width: 0;
  }

  .furniture-oem-scroll {
    overflow: visible;
  }

  .furniture-flow-arrow,
  .furniture-space-arrow {
    width: 44px;
    margin-inline: auto;
    transform: rotate(90deg);
  }

  .furniture-reference-photo,
  .furniture-finished-product {
    height: 210px;
  }

  .furniture-build-flow__sample {
    grid-template-rows: auto 126px 72px;
  }

  .furniture-room-plan {
    width: 100%;
  }

  .furniture-build-flow__specs::before {
    inset-inline: 0;
  }

  main#top > .furniture-oem-visual .furniture-oem-visual__summary {
    width: 100%;
    padding-inline: 16px;
    font-size: 13px;
  }
}

/* Furniture OEM: sketch input and multiple identical units communicate mass production. */
.furniture-reference-photo img {
  object-position: center;
}

.furniture-finished-product--mass img {
  inset: auto;
  width: 72%;
  height: 82%;
  object-fit: contain;
}

.furniture-finished-product--mass img:nth-child(1) {
  z-index: 3;
  right: -2%;
  bottom: 0;
}

.furniture-finished-product--mass img:nth-child(2) {
  z-index: 2;
  right: 18%;
  bottom: 8%;
  opacity: .92;
  transform: scale(.88);
}

.furniture-finished-product--mass img:nth-child(3) {
  z-index: 1;
  right: 36%;
  bottom: 15%;
  opacity: .78;
  transform: scale(.76);
}

.furniture-room-plan--icons-only {
  align-content: center;
  min-height: 292px;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid rgba(18, 41, 71, .14);
  border-radius: var(--card-radius);
  background:
    linear-gradient(135deg, rgba(247, 244, 236, .82), rgba(255, 255, 255, .96)),
    var(--paper-grain);
}

.furniture-room-plan--icons-only .room-item {
  min-height: 98px;
  background: rgba(255, 255, 255, .92);
}
