html:has(body.is-hybrid-drapery) {
  overflow-x: hidden;
}
body.is-hybrid-drapery {
  --hd-gold: #c4a46a;
  --hd-cyan: #38bdf8;
  --hd-plum: #8c6b88;
  overflow-x: hidden;
}
body.is-hybrid-drapery .kpc-page,
body.is-hybrid-drapery .kpc-section,
body.is-hybrid-drapery .kpc-intro-hero,
body.is-hybrid-drapery .kpc-rf-simulator,
body.is-hybrid-drapery .kpc-hd-demo-grid,
body.is-hybrid-drapery canvas {
  max-width: 100%;
  min-width: 0;
}
body.is-hybrid-drapery .kpc-rf-mini-title {
  flex-wrap: wrap;
  gap: 4px;
}

.kpc-hd-hero-photo {
  position: relative;
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  background: #11171c;
}

.kpc-hd-hero-split {
  position: absolute;
  inset: 0 0 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.kpc-hd-hero-split > div {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

body.is-hybrid-drapery .kpc-hd-hero-split img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.kpc-hd-hero-split > div::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(5, 8, 10, 0.82));
  content: "";
}

.kpc-hd-hero-split span {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 11px;
  left: 10px;
  color: #fff5e4;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}

.kpc-hd-hero-split > b {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(196, 164, 106, 0.8);
  border-radius: 50%;
  background: rgba(8, 12, 15, 0.9);
  color: #f3dca7;
  font-size: 22px;
  place-items: center;
  transform: translate(-50%, -50%);
}

.kpc-hd-concept-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.kpc-hd-concept-grid article {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid #33404a;
  border-radius: 15px;
  background: #11171c;
}

.kpc-hd-concept-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.kpc-hd-concept-grid article::after {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(5, 8, 10, 0.9));
  content: "";
}

.kpc-hd-concept-grid article > div {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 16px;
  left: 18px;
}

.kpc-hd-concept-grid b,
.kpc-hd-concept-grid span {
  display: block;
}

.kpc-hd-concept-grid b {
  color: #fff4e2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.kpc-hd-concept-grid span {
  margin-top: 3px;
  color: #bfced6;
  font-size: 11px;
}

.kpc-hd-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.kpc-hd-pair-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid #34414b;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0, rgba(196, 164, 106, 0.1), transparent 24rem),
    #10161b;
}

.kpc-hd-pair-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 3px 13px;
}

.kpc-hd-pair-head > span,
.kpc-hd-demo-head > span {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--hd-gold);
  border-radius: 50%;
  color: #f5dda9;
  font-size: 10px;
  font-weight: 900;
  place-items: center;
}

.kpc-hd-pair-head h3 {
  margin: 0;
  color: #f7eee1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
}

.kpc-hd-pair-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.kpc-hd-pair-images figure {
  position: relative;
  min-width: 0;
  height: 225px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #0a0f13;
}

.kpc-hd-pair-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kpc-hd-pair-images figcaption {
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: 7px;
  padding: 5px;
  border-radius: 5px;
  background: rgba(5, 8, 10, 0.78);
  color: #f8e4bb;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-align: center;
}

.kpc-hd-pair-card > p {
  min-height: 62px;
  margin: 13px 4px 3px;
  color: #bdc9d0;
  font-size: 13px;
  line-height: 1.55;
}

.kpc-hd-order-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  margin-top: 18px;
  padding: 15px 17px;
  border: 1px solid rgba(196, 164, 106, 0.48);
  border-radius: 12px;
  background: rgba(196, 164, 106, 0.07);
}

.kpc-hd-order-note strong {
  color: #f1d9a5;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kpc-hd-order-note p {
  margin: 0;
  color: #c7d0d5;
  font-size: 12px;
}

.kpc-hd-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 28px;
}

.kpc-hd-demo-card {
  min-width: 0;
  padding: 11px;
  border: 1px solid #303c45;
  border-radius: 14px;
  background: #10161b;
}

.kpc-hd-demo-card:nth-child(n + 4) {
  border-color: rgba(140, 107, 136, 0.58);
  background:
    radial-gradient(circle at 50% 0, rgba(140, 107, 136, 0.09), transparent 18rem),
    #10161b;
}

.kpc-hd-demo-head {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 1px 2px 9px;
}

.kpc-hd-demo-head div,
.kpc-hd-demo-head b,
.kpc-hd-demo-head small {
  display: block;
  min-width: 0;
}

.kpc-hd-demo-head b {
  overflow: hidden;
  color: #f6ecde;
  font-size: 10px;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kpc-hd-demo-head small {
  margin-top: 3px;
  color: #86dafa;
  font-size: 9px;
}

.kpc-hd-mini-demo {
  margin-top: 0;
}

.kpc-hd-mini-label {
  display: block;
  margin: 6px 0 4px;
  padding-top: 5px;
  border-top: 1px solid rgba(134, 218, 250, 0.14);
  color: #8ca0ad;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.kpc-hd-stage-badges span:first-child {
  background: rgba(140, 107, 136, 0.92);
}

.kpc-hd-pair-buttons button {
  min-height: 54px;
}

.kpc-hd-pair-buttons small {
  opacity: 0.72;
}

.kpc-hd-control .kpc-rf-segment button[aria-pressed="true"],
.kpc-hd-control .kpc-rf-opening-buttons button[aria-pressed="true"] {
  border-color: #8c6b88;
  background: linear-gradient(180deg, #c9a6c5, #8c6b88);
}

@media (max-width: 1080px) {
  .kpc-hd-demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .kpc-hd-concept-grid,
  .kpc-hd-pair-grid,
  .kpc-hd-demo-grid {
    grid-template-columns: 1fr;
  }

  .kpc-hd-hero-photo {
    min-height: 390px;
  }

  .kpc-hd-order-note {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .kpc-hd-hero-photo {
    min-height: 520px;
  }

  .kpc-hd-hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .kpc-hd-hero-split > b {
    display: none;
  }

  .kpc-hd-pair-images figure {
    height: 175px;
  }

  .kpc-hd-demo-card {
    padding: 8px;
  }
}
