.sculpture-sample #pdHost:has(.profile-intro) {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 22px clamp(28px, 5vw, 72px);
}

.steel-detail .profile-gallery .pd-main img,
.sculpture-sample .profile-catalogue-gallery .pd-main img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 70%;
}

.sculpture-sample .profile-catalogue-gallery .pd-main img { object-fit: contain; object-position: center; }

.profile-gallery #pdImg:is([src$="/01-main-white.webp"],[src*="/01-main-white.webp?"]) { object-fit: contain; }

.profile-gallery.profile-single #pdImg {
  max-height: clamp(380px, 46vw, 565px);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.profile-gallery .sample-thumbs button {
  align-content: start;
}

.profile-intro h1 {
  max-width: 15ch;
  text-wrap: balance;
}

.profile-buy {
  grid-area: brief;
  min-width: 0;
}

.profile-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.profile-facts div {
  display: grid;
  grid-template-columns: minmax(108px, .65fr) minmax(0, 1fr);
  gap: 10px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.profile-facts dt { color: var(--ink-2); }
.profile-facts dd { margin: 0; font-weight: 550; }

.profile-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 18px;
}

.profile-price-label { color: var(--ink-2); font-size: 13px; }
.profile-price-value { font-size: clamp(25px, 2.6vw, 34px); font-weight: 550; line-height: 1.2; }
.profile-price-estimate .profile-price-value { font-size: clamp(24px, 2.3vw, 32px); }
.profile-budget-scope { margin-top: 10px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }

.profile-story {
  margin-top: clamp(10px, 3vw, 28px);
}

.profile-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}

.profile-jump a {
  padding-block: 7px;
  color: var(--ink);
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 5px;
}

.profile-jump a:hover { color: var(--copper); }

.profile-story .profile-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 5vw, 75px);
  scroll-margin-top: calc(var(--hd-h) + var(--browse-h, 0px) + 14px);
}

.profile-story h2 { text-wrap: pretty; }
.profile-story .profile-facts { margin-top: 22px; }
.profile-story .btn { margin-top: 20px; }

.profile-detail-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 28px);
}

.profile-detail-grid .product-detail-image {
  display: block;
  width: 100%;
  padding: 0;
  background: #f9f8f4;
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  overflow: hidden;
  cursor: zoom-in;
}

.profile-detail-grid img,
.profile-detail-grid svg {
  display: block;
  width: 100%;
  height: clamp(290px, 37vw, 430px);
  object-fit: contain;
}

.profile-structure-photo { filter: saturate(.28); }

.profile-structure-dialog {
  position: fixed;
  width: min(960px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--r-img);
  background: #f8f7f3;
  color: var(--ink);
}

.profile-structure-dialog::backdrop { background: rgb(20 26 24 / .86); }

.profile-structure-dialog [data-close-profile-structure] {
  position: absolute;
  inset: 8px 8px auto auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f8f7f3;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.profile-structure-dialog svg {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 28px);
}

.profile-workshop video, .profile-workshop-play {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-img);
}

.profile-workshop-play {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.profile-workshop-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-workshop-play > span {
  position: absolute;
  inset: auto auto 12px 12px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(28, 34, 34, .88);
  color: #fff;
  font-weight: 550;
}

.profile-measurements {
  margin: 12px 0 0;
  padding-inline-start: 20px;
  color: var(--ink-2);
  line-height: 1.55;
}

.profile-measurements li + li { margin-top: 8px; }

.profile-questions details {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.profile-questions summary {
  cursor: pointer;
  font-weight: 550;
}

.profile-questions p { margin-top: 8px; }

.profile-related > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-top: 20px;
}

@media (max-width: 800px) {
  .sculpture-sample #pdHost:has(.profile-intro) {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .profile-story .profile-split, .profile-related > div, .profile-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-story #product-design > figure { order: 1; }
  .profile-story .profile-workshop { order: 1; }
  .profile-gallery.profile-single #pdImg { max-height: min(108vw, 500px); }
  .profile-price .btn { width: 100%; }
  .profile-jump { gap: 0 18px; }
}
