/* A single portrait and compact, readable feature descriptions. */
#avatar.avatar-showcase {
  padding-block: clamp(52px, 7vw, 96px);
  background: #e9e1d5;
  color: #342b24;
  overflow: clip;
}
#avatar.avatar-showcase .band__inner { color: inherit; }
#avatar.avatar-showcase .avatar-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 64px;
  align-items: end;
  max-width: none;
  margin: 0 0 40px;
}
#avatar.avatar-showcase .avatar-intro .eyebrow {
  grid-column: 1 / -1;
  color: #715d4a;
}
#avatar.avatar-showcase .avatar-intro h2 {
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  line-height: 1.02;
  font-weight: 650;
  max-width: 8em;
  color: #342b24;
}
#avatar.avatar-showcase .avatar-intro .lead {
  color: #71604f;
  max-width: 27em;
  padding-bottom: 4px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}
#avatar.avatar-showcase .avatar-showcase__layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 82px);
  margin-top: 0;
  align-items: center;
}
#avatar.avatar-showcase .avatar-showcase__portrait {
  position: relative;
  top: auto;
  padding: 20px 20px 18px;
  border: 1px solid rgba(105, 78, 50, .15);
  border-radius: 30px;
  background: #ded2c3;
  overflow: hidden;
  isolation: isolate;
}
.avatar-showcase__studio {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 50% 42%, #f9f2e7 0, #e9dece 46%, #cab6a1 100%);
}
.avatar-showcase__studio::after {
  content: "";
  position: absolute;
  inset: auto -30% -10%;
  height: 27%;
  border: 1px solid rgba(122, 96, 73, .2);
  border-radius: 50%;
  background: rgba(250, 243, 230, .22);
}
#avatar .avatar-showcase__caption {
  justify-self: start;
  margin-bottom: 4px;
  color: #786652;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .05em;
}
#avatar.avatar-showcase .figure__stage {
  height: clamp(410px, 60svh, 600px);
  max-width: 100%;
  margin-top: 4px;
  border-radius: 18px;
  touch-action: pan-y pinch-zoom;
}
#avatar.avatar-showcase .figure__stage:focus-visible {
  outline: 2px solid #77563e;
  outline-offset: 4px;
}
#avatar.avatar-showcase .figure__frames { z-index: 1; }
#avatar.avatar-showcase .figure__shadow {
  bottom: 2%;
  left: 15%;
  right: 15%;
  height: 4%;
  opacity: .5;
}
#avatar.avatar-showcase .figure__controls:not([hidden]) {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 4px;
  width: min(100%, 246px);
  margin-top: 12px;
  padding: 4px;
  border: 1px solid rgba(112, 83, 57, .17);
  border-radius: 99px;
  background: rgba(255, 251, 245, .72);
  box-shadow: 0 5px 14px rgba(62, 40, 23, .06);
}
#avatar.avatar-showcase .figure__controls button {
  min-height: 44px;
  padding: 6px;
  border: none;
  border-radius: 99px;
  background: transparent;
  color: #5b4432;
  font: inherit;
  font-size: .86rem;
  font-weight: 600;
}
#avatar.avatar-showcase .figure__controls button:is(:hover, :focus-visible) {
  background: #eadbca;
}
#avatar.avatar-showcase .avatar-showcase__help {
  color: #6d5a47;
  margin-top: 12px;
  text-align: center;
  font-size: .78rem;
}
.avatar-showcase__features { min-width: 0; }
.avatar-showcase__note {
  margin-bottom: 18px;
  color: #776552;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}
#avatar .avatar-feature {
  border-top: 1px solid rgba(107, 82, 58, .2);
}
#avatar .avatar-feature summary {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
  letter-spacing: -.02em;
}
#avatar .avatar-feature summary::-webkit-details-marker { display: none; }
#avatar .avatar-feature summary span {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(111, 85, 61, .24);
  color: #75614e;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}
#avatar .avatar-feature[open] summary span { transform: rotate(45deg); }
.avatar-feature__body {
  display: grid;
  gap: 16px;
  padding: 0 40px 24px 0;
  color: #75614e;
  font-size: .98rem;
  line-height: 1.6;
}
#avatar .avatar-feature__body .btn {
  justify-self: start;
  min-height: 44px;
  padding: 8px 16px;
  color: #5b4432;
  background: rgba(255, 249, 238, .55);
  border-color: rgba(111, 85, 61, .2);
  font-size: .9rem;
}
#avatar .avatar-feature .hair-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  padding: 2px 0;
  mask-image: none;
  -webkit-mask-image: none;
}
#avatar .avatar-feature .hair-strip button {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  box-shadow: none;
  background: #f4eadd;
}
#avatar .avatar-feature .hair-badge {
  position: static;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  background: rgba(255, 249, 238, .55);
  box-shadow: none;
  animation: none;
}
#avatar .avatar-feature .hair-badge img { width: 44px; height: 44px; transform: none; }
#avatar .avatar-feature .hair-badge figcaption { max-width: none; color: #75614e; text-align: left; font-size: .78rem; }
.avatar-showcase__link {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  min-height: 44px;
  margin-top: 24px;
  color: #62462f;
  font-size: .94rem;
  font-weight: 600;
  text-underline-offset: .26em;
}

@media (max-width: 759px) {
  #avatar.avatar-showcase .avatar-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 28px;
  }
  #avatar.avatar-showcase .avatar-intro h2 { max-width: none; font-size: clamp(2.4rem, 10vw, 3.1rem); }
  #avatar.avatar-showcase .avatar-intro .lead { max-width: 30em; }
  #avatar.avatar-showcase .avatar-showcase__layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  #avatar.avatar-showcase .avatar-showcase__portrait { padding: 16px 16px 18px; border-radius: 24px; }
  #avatar.avatar-showcase .figure__stage { height: clamp(355px, 50svh, 440px); }
  #avatar .avatar-feature summary { padding-block: 18px; }
  .avatar-feature__body { padding-right: 12px; font-size: .95rem; }
  .avatar-showcase__note { margin-bottom: 14px; }
  .avatar-showcase__link { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  #avatar .avatar-feature summary span { transition: none; }
}

@media (forced-colors: active) {
  #avatar.avatar-showcase,
  #avatar.avatar-showcase .avatar-showcase__portrait { color: CanvasText; background: Canvas; }
  .avatar-showcase__studio { display: none; }
  #avatar.avatar-showcase .avatar-intro h2,
  #avatar.avatar-showcase .avatar-intro .lead,
  #avatar .avatar-feature summary,
  #avatar .avatar-feature__body { color: CanvasText; }
}
