.product-section {
  padding: 100px 0 90px;
  background: #ebe8e0;
  color: #252634;
  overflow: hidden;
}
.product-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 40px;
}
.product-intro h2 {
  font-size: clamp(34px, 4vw, 55px);
  max-width: 630px;
  letter-spacing: -0.055em;
  line-height: 1.12;
  margin-top: 20px;
}
.product-intro .lead {
  font-size: 16px;
  color: #77717b;
  max-width: 470px;
}
.product-tabs {
  display: grid;
  grid-template-columns: repeat(var(--tab-count, 4), minmax(0, 1fr));
  border-bottom: 1px solid #c5bfc8;
  margin: 0 0 30px;
  gap: 18px;
}
.product-tab {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px 3px;
  color: #89818d;
  font-size: 13px;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.product-tab span {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: #9e91a7;
}
.product-tab[aria-selected="true"] {
  color: #282333;
  font-weight: 650;
}
.product-tab[aria-selected="true"]::after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  background: #877299;
}
.product-tab:hover {
  color: #473750;
}
.product-shot {
  display: block;
  position: relative;
  border: 1px solid #c9c0cb;
  background: #eae7e1;
  text-decoration: none;
  box-shadow: 0 22px 60px #28213013;
  overflow: hidden;
}
.product-shot img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 8/5;
}
.product-shot::after {
  content: "View larger ↗";
  position: absolute;
  right: 17px;
  bottom: 17px;
  color: #5a4b63;
  background: #faf8f3eb;
  border: 1px solid #d1c5d8;
  padding: 10px 13px;
  font-size: 10px;
  backdrop-filter: blur(8px);
  transition:
    background 0.2s,
    transform 0.2s;
}
.product-shot:hover::after {
  background: #fff;
  transform: translateY(-2px);
}
.product-panel[hidden] {
  display: none;
}
.product-panel.is-selected .product-shot {
  animation: product-enter 0.38s ease-out both;
}
.product-caption {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 70px;
  padding-top: 32px;
}
.product-caption :is(h2, h3) {
  font-size: clamp(25px, 2.55vw, 35px);
  letter-spacing: -0.045em;
  line-height: 1.18;
  margin: 12px 0 13px;
  max-width: 490px;
}
.product-caption p:not(.eyebrow) {
  color: #77707d;
  font-size: 14px;
  line-height: 1.8;
  max-width: 560px;
}
.product-evidence {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-evidence li {
  font-size: 13px;
  color: #62556d;
  padding-left: 19px;
  position: relative;
}
.product-evidence li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #9b7eba;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.65em;
}
.product-caption .sample-note {
  font-size: 10px !important;
  color: #74677d !important;
  line-height: 1.6 !important;
}
.product-detail {
  padding: 70px 0 80px;
  background: #ebe8e0;
}
.product-detail .product-caption {
  padding-top: 0;
  padding-bottom: 28px;
}
.product-detail .product-caption :is(h2, h3) {
  font-size: clamp(30px, 3vw, 42px);
}
.product-lightbox {
  padding: 0;
  border: 1px solid #d4cdd8;
  width: min(1600px, 96vw);
  max-width: none;
  max-height: 94vh;
  background: #eae7e1;
  color: #29232f;
  box-shadow: 0 30px 100px #0006;
}
.product-lightbox::backdrop {
  background: #131421d9;
  backdrop-filter: blur(8px);
}
.lightbox-head {
  left: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid #d6cddc;
  font-size: 12px;
  position: sticky;
  top: 0;
  background: #f4f0eafa;
  z-index: 1;
}
.lightbox-head button {
  border: 1px solid #d2c7d7;
  background: transparent;
  font: inherit;
  padding: 9px 15px;
  color: inherit;
  cursor: pointer;
}
.product-lightbox img {
  display: block;
  width: 100%;
  height: auto;
}
.lightbox-foot {
  font-size: 11px;
  padding: 12px 18px;
  color: #887a90;
}
@keyframes product-enter {
  from {
    opacity: 0.35;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
html[data-motion="off"] .product-panel.is-selected .product-shot {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .product-panel.is-selected .product-shot {
    animation: none;
  }
  .product-shot::after,
  .product-tab {
    transition: none;
  }
}
@media (max-width: 800px) {
  .product-section {
    padding: 65px 0;
  }
  .product-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 26px;
  }
  .product-intro h2 {
    max-width: 650px;
  }
  .product-intro .lead {
    max-width: 650px;
  }
  .product-tabs {
    gap: 10px;
  }
  .product-tab {
    font-size: 11px;
    gap: 7px;
    padding: 16px 0;
  }
  .product-caption {
    gap: 30px;
  }
  .product-evidence li {
    font-size: 12px;
  }
  .product-detail {
    padding: 45px 0;
  }
}
@media (max-width: 560px) {
  .product-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
    border-bottom: 0;
    margin-bottom: 22px;
  }
  .product-tab {
    font-size: 12px;
    border-bottom: 1px solid #c5bfc8;
    min-height: 47px;
  }
  .product-caption {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-top: 24px;
  }
  .product-caption :is(h2, h3) {
    font-size: 29px;
  }
  .product-caption p:not(.eyebrow) {
    font-size: 14px;
  }
  .product-evidence {
    margin-bottom: 13px;
    gap: 9px;
  }
  .product-shot::after {
    font-size: 9px;
    right: 9px;
    bottom: 9px;
    padding: 6px 9px;
  }
  .product-lightbox {
    width: 98vw;
  }
  .lightbox-head {
    gap: 12px;
    font-size: 10px;
    padding: 10px;
  }
  .lightbox-head button {
    flex-shrink: 0;
  }
  .product-lightbox img {
    width: 1100px;
    max-width: none;
  }
  .product-lightbox {
    overflow: auto;
  }
  .lightbox-head,
  .lightbox-foot {
    min-width: 100%;
  }
}

.lightbox-hint {
  display: none;
}
@media (max-width: 560px) {
  .lightbox-hint {
    display: block;
    margin-top: 5px;
    color: #74677d;
    font-size: 10px;
  }
}
